From 10b3ce9ba6ba974a800e567ed8dc285fe9cf5967 Mon Sep 17 00:00:00 2001 From: Zaid Arshad Date: Tue, 28 May 2024 23:37:38 -0400 Subject: [PATCH] chore: lint --- .../api/lib/generated/api-typings/index.ts | 3 +- .../api-typings/v1/structs/Webhook.ts | 8 +- .../lib/generated/api-typings/v1/webhook.ts | 8 +- .../api/lib/generated/api-typings/v1/ws.ts | 73 +------- .../api/lib/generated/router/GuildedRouter.ts | 171 +++--------------- .../api/lib/generated/router/core/ApiError.ts | 28 +-- .../router/core/ApiRequestOptions.ts | 39 +--- .../generated/router/core/BaseHttpRequest.ts | 10 +- .../generated/router/core/FetchHttpRequest.ts | 12 +- .../api/lib/generated/router/core/OpenAPI.ts | 25 +-- .../api/lib/generated/router/core/request.ts | 41 ++--- packages/api/lib/generated/router/index.ts | 162 ++++++++--------- 12 files changed, 161 insertions(+), 419 deletions(-) diff --git a/packages/api/lib/generated/api-typings/index.ts b/packages/api/lib/generated/api-typings/index.ts index fb0d5430..789dc649 100644 --- a/packages/api/lib/generated/api-typings/index.ts +++ b/packages/api/lib/generated/api-typings/index.ts @@ -7,6 +7,5 @@ export type JSON = T["application/json"]; export type WSSchema = components["schemas"][T]; export type WSContent = { content: JSONContent }; -export type WSPayload = - components["responses"][T]["content"]["application/json"]; +export type WSPayload = components["responses"][T]["content"]["application/json"]; export type WSPacket = SkeletonWSPayload & { d: WSPayload }; diff --git a/packages/api/lib/generated/api-typings/v1/structs/Webhook.ts b/packages/api/lib/generated/api-typings/v1/structs/Webhook.ts index 3af631ac..55209c02 100644 --- a/packages/api/lib/generated/api-typings/v1/structs/Webhook.ts +++ b/packages/api/lib/generated/api-typings/v1/structs/Webhook.ts @@ -1,7 +1,5 @@ export type WebhookContentPayload = { - botId: - | string - | null; + botId: string | null; channelId: string; content: APIContent; createdAt: string; @@ -18,9 +16,7 @@ export type APIContent = { type APILeaf = { marks: APIMark[]; - object: - | string - | "leaf"; + object: string | "leaf"; text: string; }; diff --git a/packages/api/lib/generated/api-typings/v1/webhook.ts b/packages/api/lib/generated/api-typings/v1/webhook.ts index 97a0be79..be702665 100644 --- a/packages/api/lib/generated/api-typings/v1/webhook.ts +++ b/packages/api/lib/generated/api-typings/v1/webhook.ts @@ -9,13 +9,7 @@ export type RESTPostWebhookBody = { avatar_url?: string; content?: string; embeds?: APIEmbed[]; - payload_json?: Pick< - RESTPostWebhookBody, - | "avatar_url" - | "content" - | "embeds" - | "username" - >; + payload_json?: Pick; username?: string; }; diff --git a/packages/api/lib/generated/api-typings/v1/ws.ts b/packages/api/lib/generated/api-typings/v1/ws.ts index 81be3f06..518027f4 100644 --- a/packages/api/lib/generated/api-typings/v1/ws.ts +++ b/packages/api/lib/generated/api-typings/v1/ws.ts @@ -16,21 +16,13 @@ export type components = { * @description An operation code corresponding to the nature of the sent message (for example, success, failure, etc.) * @enum {integer} */ - op: - | 0 - | 1 - | 2 - | 8 - | 9; + op: 0 | 1 | 2 | 8 | 9; /** * Data * * @description Data of any form depending on the underlying event */ - d?: Record< - string, - never - >; + d?: Record; /** * Message ID * @@ -110,9 +102,7 @@ export type components = { * @description The type of chat message. "system" messages are generated by Guilded, while "default" messages are user or bot-generated. * @enum {string} */ - type: - | "default" - | "system"; + type: "default" | "system"; /** * Server ID * @@ -369,20 +359,7 @@ export type components = { * @description The type of social link that Guilded supports. Depending on this value, `handle` or `serviceId` may or may not be present * @enum {string} */ - type: - | "bnet" - | "epic" - | "facebook" - | "origin" - | "patreon" - | "psn" - | "roblox" - | "steam" - | "switch" - | "twitch" - | "twitter" - | "xbox" - | "youtube"; + type: "bnet" | "epic" | "facebook" | "origin" | "patreon" | "psn" | "roblox" | "steam" | "switch" | "twitch" | "twitter" | "xbox" | "youtube"; /** * User ID * @@ -1274,9 +1251,7 @@ export type components = { * @description The type of user. If this property is absent, it can assumed to be of type `user` * @enum {string} */ - type?: - | "bot" - | "user"; + type?: "bot" | "user"; /** * User name * @@ -1325,9 +1300,7 @@ export type components = { * @description The type of user. If this property is absent, it can assumed to be of type `user` * @enum {string} */ - type?: - | "bot" - | "user"; + type?: "bot" | "user"; /** * User name * @@ -1400,17 +1373,7 @@ export type components = { * @description The type of channel. This will determine what routes to use for creating content in a channel. For example, if this "chat", then one must use the routes for creating channel messages * @enum {string} */ - type: - | "announcements" - | "calendar" - | "chat" - | "docs" - | "forums" - | "list" - | "media" - | "scheduling" - | "stream" - | "voice"; + type: "announcements" | "calendar" | "chat" | "docs" | "forums" | "list" | "media" | "scheduling" | "stream" | "voice"; /** @description The name of the channel */ name: string; /** @description The topic of the channel */ @@ -1509,15 +1472,7 @@ export type components = { * @description The type of server designated from the server's settings page * @enum {string} */ - type?: - | "clan" - | "community" - | "friends" - | "guild" - | "organization" - | "other" - | "streaming" - | "team"; + type?: "clan" | "community" | "friends" | "guild" | "organization" | "other" | "streaming" | "team"; /** * Server name * @@ -1864,13 +1819,7 @@ export type components = { * @description The status of the RSVP * @enum {string} */ - status: - | "declined" - | "going" - | "invited" - | "maybe" - | "not responded" - | "waitlisted"; + status: "declined" | "going" | "invited" | "maybe" | "not responded" | "waitlisted"; /** * Created by * @@ -2461,9 +2410,7 @@ export type components = { * * @description The nickname that was just updated for the user */ - nickname?: - | string - | null; + nickname?: string | null; }; }; }; diff --git a/packages/api/lib/generated/router/GuildedRouter.ts b/packages/api/lib/generated/router/GuildedRouter.ts index bda0f9bc..564588c1 100644 --- a/packages/api/lib/generated/router/GuildedRouter.ts +++ b/packages/api/lib/generated/router/GuildedRouter.ts @@ -63,148 +63,35 @@ export class GuildedRouter { public readonly request: BaseHttpRequest; - constructor( - rest: RestManager, - ) { - this.request = - new FetchHttpRequest( - rest, - ); + constructor(rest: RestManager) { + this.request = new FetchHttpRequest(rest); - this.announcementComments = - new AnnouncementCommentsService( - this - .request, - ); - this.announcements = - new AnnouncementsService( - this - .request, - ); - this.calendarEventComments = - new CalendarEventCommentsService( - this - .request, - ); - this.calendarEvents = - new CalendarEventsService( - this - .request, - ); - this.calendarEventSeries = - new CalendarEventSeriesService( - this - .request, - ); - this.categories = - new CategoriesService( - this - .request, - ); - this.channels = - new ChannelsService( - this - .request, - ); - this.chat = - new ChatService( - this - .request, - ); - this.docComments = - new DocCommentsService( - this - .request, - ); - this.docs = - new DocsService( - this - .request, - ); - this.forumComments = - new ForumCommentsService( - this - .request, - ); - this.forums = - new ForumsService( - this - .request, - ); - this.groupMembership = - new GroupMembershipService( - this - .request, - ); - this.groups = - new GroupsService( - this - .request, - ); - this.listItems = - new ListItemsService( - this - .request, - ); - this.memberBans = - new MemberBansService( - this - .request, - ); - this.members = - new MembersService( - this - .request, - ); - this.reactions = - new ReactionsService( - this - .request, - ); - this.roleMembership = - new RoleMembershipService( - this - .request, - ); - this.roles = - new RolesService( - this - .request, - ); - this.servers = - new ServersService( - this - .request, - ); - this.serverXp = - new ServerXpService( - this - .request, - ); - this.socialLinks = - new SocialLinksService( - this - .request, - ); - this.users = - new UsersService( - this - .request, - ); - this.userStatus = - new UserStatusService( - this - .request, - ); - this.webhook = - new WebhookService( - this - .request, - ); - this.serverSubscriptions = - new ServerSubscriptionService( - this - .request, - ); + this.announcementComments = new AnnouncementCommentsService(this.request); + this.announcements = new AnnouncementsService(this.request); + this.calendarEventComments = new CalendarEventCommentsService(this.request); + this.calendarEvents = new CalendarEventsService(this.request); + this.calendarEventSeries = new CalendarEventSeriesService(this.request); + this.categories = new CategoriesService(this.request); + this.channels = new ChannelsService(this.request); + this.chat = new ChatService(this.request); + this.docComments = new DocCommentsService(this.request); + this.docs = new DocsService(this.request); + this.forumComments = new ForumCommentsService(this.request); + this.forums = new ForumsService(this.request); + this.groupMembership = new GroupMembershipService(this.request); + this.groups = new GroupsService(this.request); + this.listItems = new ListItemsService(this.request); + this.memberBans = new MemberBansService(this.request); + this.members = new MembersService(this.request); + this.reactions = new ReactionsService(this.request); + this.roleMembership = new RoleMembershipService(this.request); + this.roles = new RolesService(this.request); + this.servers = new ServersService(this.request); + this.serverXp = new ServerXpService(this.request); + this.socialLinks = new SocialLinksService(this.request); + this.users = new UsersService(this.request); + this.userStatus = new UserStatusService(this.request); + this.webhook = new WebhookService(this.request); + this.serverSubscriptions = new ServerSubscriptionService(this.request); } } diff --git a/packages/api/lib/generated/router/core/ApiError.ts b/packages/api/lib/generated/router/core/ApiError.ts index 5e0d5cdd..3411fe2e 100644 --- a/packages/api/lib/generated/router/core/ApiError.ts +++ b/packages/api/lib/generated/router/core/ApiError.ts @@ -10,26 +10,14 @@ export class ApiError extends Error { public readonly body: any; public readonly request: ApiRequestOptions; - constructor( - request: ApiRequestOptions, - response: ApiResult, - message: string, - ) { - super( - message, - ); + constructor(request: ApiRequestOptions, response: ApiResult, message: string) { + super(message); - this.name = - "ApiError"; - this.url = - response.url; - this.status = - response.status; - this.statusText = - response.statusText; - this.body = - response.body; - this.request = - request; + this.name = "ApiError"; + this.url = response.url; + this.status = response.status; + this.statusText = response.statusText; + this.body = response.body; + this.request = request; } } diff --git a/packages/api/lib/generated/router/core/ApiRequestOptions.ts b/packages/api/lib/generated/router/core/ApiRequestOptions.ts index e2e11e4b..4a45fbfb 100644 --- a/packages/api/lib/generated/router/core/ApiRequestOptions.ts +++ b/packages/api/lib/generated/router/core/ApiRequestOptions.ts @@ -1,40 +1,15 @@ /* istanbul ignore file */ /* eslint-disable */ export type ApiRequestOptions = { - readonly method: - | "GET" - | "PUT" - | "POST" - | "DELETE" - | "OPTIONS" - | "HEAD" - | "PATCH"; + readonly method: "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH"; readonly url: string; - readonly path?: Record< - string, - any - >; - readonly cookies?: Record< - string, - any - >; - readonly headers?: Record< - string, - any - >; - readonly query?: Record< - string, - any - >; - readonly formData?: Record< - string, - any - >; + readonly path?: Record; + readonly cookies?: Record; + readonly headers?: Record; + readonly query?: Record; + readonly formData?: Record; readonly body?: any; readonly mediaType?: string; readonly responseHeader?: string; - readonly errors?: Record< - number, - string - >; + readonly errors?: Record; }; diff --git a/packages/api/lib/generated/router/core/BaseHttpRequest.ts b/packages/api/lib/generated/router/core/BaseHttpRequest.ts index d5a2243d..d0c54769 100644 --- a/packages/api/lib/generated/router/core/BaseHttpRequest.ts +++ b/packages/api/lib/generated/router/core/BaseHttpRequest.ts @@ -5,13 +5,7 @@ import type { ApiRequestOptions } from "./ApiRequestOptions"; import type { CancelablePromise } from "./CancelablePromise"; export abstract class BaseHttpRequest { - constructor( - public readonly rest: RestManager, - ) {} + constructor(public readonly rest: RestManager) {} - public abstract request< - T, - >( - options: ApiRequestOptions, - ): CancelablePromise; + public abstract request(options: ApiRequestOptions): CancelablePromise; } diff --git a/packages/api/lib/generated/router/core/FetchHttpRequest.ts b/packages/api/lib/generated/router/core/FetchHttpRequest.ts index e21e8a58..7f80ce41 100644 --- a/packages/api/lib/generated/router/core/FetchHttpRequest.ts +++ b/packages/api/lib/generated/router/core/FetchHttpRequest.ts @@ -13,15 +13,7 @@ export class FetchHttpRequest extends BaseHttpRequest { * @returns CancelablePromise * @throws ApiError */ - public override request< - T, - >( - options: ApiRequestOptions, - ): CancelablePromise { - return __request( - this - .rest, - options, - ); + public override request(options: ApiRequestOptions): CancelablePromise { + return __request(this.rest, options); } } diff --git a/packages/api/lib/generated/router/core/OpenAPI.ts b/packages/api/lib/generated/router/core/OpenAPI.ts index 481cde80..295ae70e 100644 --- a/packages/api/lib/generated/router/core/OpenAPI.ts +++ b/packages/api/lib/generated/router/core/OpenAPI.ts @@ -9,25 +9,12 @@ export type OpenAPIConfig = { BASE: string; VERSION: string; WITH_CREDENTIALS: boolean; - CREDENTIALS: - | "include" - | "omit" - | "same-origin"; - TOKEN?: - | string - | Resolver; - USERNAME?: - | string - | Resolver; - PASSWORD?: - | string - | Resolver; - HEADERS?: - | Headers - | Resolver; - ENCODE_PATH?: ( - path: string, - ) => string; + CREDENTIALS: "include" | "omit" | "same-origin"; + TOKEN?: string | Resolver; + USERNAME?: string | Resolver; + PASSWORD?: string | Resolver; + HEADERS?: Headers | Resolver; + ENCODE_PATH?: (path: string) => string; }; export const OpenAPI: OpenAPIConfig = { diff --git a/packages/api/lib/generated/router/core/request.ts b/packages/api/lib/generated/router/core/request.ts index 35a60b41..40899cfd 100644 --- a/packages/api/lib/generated/router/core/request.ts +++ b/packages/api/lib/generated/router/core/request.ts @@ -4,38 +4,21 @@ import { RestManager } from "../../../rest/RestManager"; import type { ApiRequestOptions } from "./ApiRequestOptions"; export function request(rest: RestManager, options: ApiRequestOptions) { - let formattedPath = - options.url; - if ( - options.path - ) { + let formattedPath = options.url; + if (options.path) { for (const key in options.path) { - formattedPath = - formattedPath.replace( - `{${key}}`, - options - .path[ - key - ], - ); + formattedPath = formattedPath.replace(`{${key}}`, options.path[key]); } } return rest - .make( - { - method: options.method, - headers: options.headers, - isFormData: false, - path: formattedPath, - query: options.query, - body: options.body, - }, - ) - .then( - ( - x, - ) => - x[1] as T, - ); + .make({ + method: options.method, + headers: options.headers, + isFormData: false, + path: formattedPath, + query: options.query, + body: options.body, + }) + .then((x) => x[1] as T); } diff --git a/packages/api/lib/generated/router/index.ts b/packages/api/lib/generated/router/index.ts index 9649535b..25ba3439 100644 --- a/packages/api/lib/generated/router/index.ts +++ b/packages/api/lib/generated/router/index.ts @@ -2,87 +2,87 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ -export { GuildedRouter } from './GuildedRouter'; +export { GuildedRouter } from "./GuildedRouter"; -export { ApiError } from './core/ApiError'; -export { BaseHttpRequest } from './core/BaseHttpRequest'; -export { CancelablePromise, CancelError } from './core/CancelablePromise'; -export { OpenAPI } from './core/OpenAPI'; -export type { OpenAPIConfig } from './core/OpenAPI'; +export { ApiError } from "./core/ApiError"; +export { BaseHttpRequest } from "./core/BaseHttpRequest"; +export { CancelablePromise, CancelError } from "./core/CancelablePromise"; +export { OpenAPI } from "./core/OpenAPI"; +export type { OpenAPIConfig } from "./core/OpenAPI"; -export type { Announcement as AnnouncementPayload } from './models/Announcement'; -export type { AnnouncementComment as AnnouncementCommentPayload } from './models/AnnouncementComment'; -export type { AnnouncementCommentReaction as AnnouncementCommentReactionPayload } from './models/AnnouncementCommentReaction'; -export type { AnnouncementReaction as AnnouncementReactionPayload } from './models/AnnouncementReaction'; -export type { CalendarEvent as CalendarEventPayload } from './models/CalendarEvent'; -export type { CalendarEventComment as CalendarEventCommentPayload } from './models/CalendarEventComment'; -export type { CalendarEventCommentReaction as CalendarEventCommentReactionPayload } from './models/CalendarEventCommentReaction'; -export type { CalendarEventReaction as CalendarEventReactionPayload } from './models/CalendarEventReaction'; -export type { CalendarEventRsvp as CalendarEventRsvpPayload } from './models/CalendarEventRsvp'; -export type { CalendarEventSeries as CalendarEventSeriesPayload } from './models/CalendarEventSeries'; -export type { Category as CategoryPayload } from './models/Category'; -export type { ChannelCategoryRolePermission as ChannelCategoryRolePermissionPayload } from './models/ChannelCategoryRolePermission'; -export type { ChannelCategoryUserPermission as ChannelCategoryUserPermissionPayload } from './models/ChannelCategoryUserPermission'; -export type { ChannelRolePermission as ChannelRolePermissionPayload } from './models/ChannelRolePermission'; -export type { ChannelUserPermission as ChannelUserPermissionPayload } from './models/ChannelUserPermission'; -export type { ChatEmbed as ChatEmbedPayload } from './models/ChatEmbed'; -export type { ChatMessage as ChatMessagePayload } from './models/ChatMessage'; -export type { ChatMessageReaction as ChatMessageReactionPayload } from './models/ChatMessageReaction'; -export type { Doc as DocPayload } from './models/Doc'; -export type { DocComment as DocCommentPayload } from './models/DocComment'; -export type { DocCommentReaction as DocCommentReactionPayload } from './models/DocCommentReaction'; -export type { DocReaction as DocReactionPayload } from './models/DocReaction'; -export type { Emote as EmotePayload } from './models/Emote'; -export type { ForumTopic as ForumTopicPayload } from './models/ForumTopic'; -export type { ForumTopicComment as ForumTopicCommentPayload } from './models/ForumTopicComment'; -export type { ForumTopicCommentReaction as ForumTopicCommentReactionPayload } from './models/ForumTopicCommentReaction'; -export type { ForumTopicReaction as ForumTopicReactionPayload } from './models/ForumTopicReaction'; -export type { ForumTopicSummary as ForumTopicSummaryPayload } from './models/ForumTopicSummary'; -export type { Group as GroupPayload } from './models/Group'; -export type { ListItem as ListItemPayload } from './models/ListItem'; -export type { ListItemSummary as ListItemSummaryPayload } from './models/ListItemSummary'; -export type { Mentions as MentionsPayload } from './models/Mentions'; -export type { Role as RolePayload } from './models/Role'; -export type { Server as ServerPayload } from './models/Server'; -export type { ServerChannel as ServerChannelPayload } from './models/ServerChannel'; -export type { ServerMember as ServerMemberPayload } from './models/ServerMember'; -export type { ServerMemberBan as ServerMemberBanPayload } from './models/ServerMemberBan'; -export type { ServerMemberPermissions as ServerMemberPermissionsPayload } from './models/ServerMemberPermissions'; -export type { ServerMemberSummary as ServerMemberSummaryPayload } from './models/ServerMemberSummary'; -export type { ServerSubscriptionTier as ServerSubscriptionTierPayload } from './models/ServerSubscriptionTier'; -export type { SocialLink as SocialLinkPayload } from './models/SocialLink'; -export type { UrlSignature as UrlSignaturePayload } from './models/UrlSignature'; -export type { User as UserPayload } from './models/User'; -export type { UserStatus as UserStatusPayload } from './models/UserStatus'; -export type { UserSummary as UserSummaryPayload } from './models/UserSummary'; -export type { Webhook as WebhookPayload } from './models/Webhook'; +export type { Announcement as AnnouncementPayload } from "./models/Announcement"; +export type { AnnouncementComment as AnnouncementCommentPayload } from "./models/AnnouncementComment"; +export type { AnnouncementCommentReaction as AnnouncementCommentReactionPayload } from "./models/AnnouncementCommentReaction"; +export type { AnnouncementReaction as AnnouncementReactionPayload } from "./models/AnnouncementReaction"; +export type { CalendarEvent as CalendarEventPayload } from "./models/CalendarEvent"; +export type { CalendarEventComment as CalendarEventCommentPayload } from "./models/CalendarEventComment"; +export type { CalendarEventCommentReaction as CalendarEventCommentReactionPayload } from "./models/CalendarEventCommentReaction"; +export type { CalendarEventReaction as CalendarEventReactionPayload } from "./models/CalendarEventReaction"; +export type { CalendarEventRsvp as CalendarEventRsvpPayload } from "./models/CalendarEventRsvp"; +export type { CalendarEventSeries as CalendarEventSeriesPayload } from "./models/CalendarEventSeries"; +export type { Category as CategoryPayload } from "./models/Category"; +export type { ChannelCategoryRolePermission as ChannelCategoryRolePermissionPayload } from "./models/ChannelCategoryRolePermission"; +export type { ChannelCategoryUserPermission as ChannelCategoryUserPermissionPayload } from "./models/ChannelCategoryUserPermission"; +export type { ChannelRolePermission as ChannelRolePermissionPayload } from "./models/ChannelRolePermission"; +export type { ChannelUserPermission as ChannelUserPermissionPayload } from "./models/ChannelUserPermission"; +export type { ChatEmbed as ChatEmbedPayload } from "./models/ChatEmbed"; +export type { ChatMessage as ChatMessagePayload } from "./models/ChatMessage"; +export type { ChatMessageReaction as ChatMessageReactionPayload } from "./models/ChatMessageReaction"; +export type { Doc as DocPayload } from "./models/Doc"; +export type { DocComment as DocCommentPayload } from "./models/DocComment"; +export type { DocCommentReaction as DocCommentReactionPayload } from "./models/DocCommentReaction"; +export type { DocReaction as DocReactionPayload } from "./models/DocReaction"; +export type { Emote as EmotePayload } from "./models/Emote"; +export type { ForumTopic as ForumTopicPayload } from "./models/ForumTopic"; +export type { ForumTopicComment as ForumTopicCommentPayload } from "./models/ForumTopicComment"; +export type { ForumTopicCommentReaction as ForumTopicCommentReactionPayload } from "./models/ForumTopicCommentReaction"; +export type { ForumTopicReaction as ForumTopicReactionPayload } from "./models/ForumTopicReaction"; +export type { ForumTopicSummary as ForumTopicSummaryPayload } from "./models/ForumTopicSummary"; +export type { Group as GroupPayload } from "./models/Group"; +export type { ListItem as ListItemPayload } from "./models/ListItem"; +export type { ListItemSummary as ListItemSummaryPayload } from "./models/ListItemSummary"; +export type { Mentions as MentionsPayload } from "./models/Mentions"; +export type { Role as RolePayload } from "./models/Role"; +export type { Server as ServerPayload } from "./models/Server"; +export type { ServerChannel as ServerChannelPayload } from "./models/ServerChannel"; +export type { ServerMember as ServerMemberPayload } from "./models/ServerMember"; +export type { ServerMemberBan as ServerMemberBanPayload } from "./models/ServerMemberBan"; +export type { ServerMemberPermissions as ServerMemberPermissionsPayload } from "./models/ServerMemberPermissions"; +export type { ServerMemberSummary as ServerMemberSummaryPayload } from "./models/ServerMemberSummary"; +export type { ServerSubscriptionTier as ServerSubscriptionTierPayload } from "./models/ServerSubscriptionTier"; +export type { SocialLink as SocialLinkPayload } from "./models/SocialLink"; +export type { UrlSignature as UrlSignaturePayload } from "./models/UrlSignature"; +export type { User as UserPayload } from "./models/User"; +export type { UserStatus as UserStatusPayload } from "./models/UserStatus"; +export type { UserSummary as UserSummaryPayload } from "./models/UserSummary"; +export type { Webhook as WebhookPayload } from "./models/Webhook"; -export { AnnouncementCommentsService } from './services/AnnouncementCommentsService'; -export { AnnouncementsService } from './services/AnnouncementsService'; -export { CalendarEventCommentsService } from './services/CalendarEventCommentsService'; -export { CalendarEventsService } from './services/CalendarEventsService'; -export { CalendarEventSeriesService } from './services/CalendarEventSeriesService'; -export { CategoriesService } from './services/CategoriesService'; -export { ChannelsService } from './services/ChannelsService'; -export { ChatService } from './services/ChatService'; -export { DocCommentsService } from './services/DocCommentsService'; -export { DocsService } from './services/DocsService'; -export { ForumCommentsService } from './services/ForumCommentsService'; -export { ForumsService } from './services/ForumsService'; -export { GroupMembershipService } from './services/GroupMembershipService'; -export { GroupsService } from './services/GroupsService'; -export { ListItemsService } from './services/ListItemsService'; -export { MemberBansService } from './services/MemberBansService'; -export { MembersService } from './services/MembersService'; -export { PermissionOverrideService } from './services/PermissionOverrideService'; -export { ReactionsService } from './services/ReactionsService'; -export { RoleMembershipService } from './services/RoleMembershipService'; -export { RolesService } from './services/RolesService'; -export { ServersService } from './services/ServersService'; -export { ServerSubscriptionService } from './services/ServerSubscriptionService'; -export { ServerXpService } from './services/ServerXpService'; -export { SocialLinksService } from './services/SocialLinksService'; -export { UrlSignatureService } from './services/UrlSignatureService'; -export { UsersService } from './services/UsersService'; -export { UserStatusService } from './services/UserStatusService'; -export { WebhookService } from './services/WebhookService'; +export { AnnouncementCommentsService } from "./services/AnnouncementCommentsService"; +export { AnnouncementsService } from "./services/AnnouncementsService"; +export { CalendarEventCommentsService } from "./services/CalendarEventCommentsService"; +export { CalendarEventsService } from "./services/CalendarEventsService"; +export { CalendarEventSeriesService } from "./services/CalendarEventSeriesService"; +export { CategoriesService } from "./services/CategoriesService"; +export { ChannelsService } from "./services/ChannelsService"; +export { ChatService } from "./services/ChatService"; +export { DocCommentsService } from "./services/DocCommentsService"; +export { DocsService } from "./services/DocsService"; +export { ForumCommentsService } from "./services/ForumCommentsService"; +export { ForumsService } from "./services/ForumsService"; +export { GroupMembershipService } from "./services/GroupMembershipService"; +export { GroupsService } from "./services/GroupsService"; +export { ListItemsService } from "./services/ListItemsService"; +export { MemberBansService } from "./services/MemberBansService"; +export { MembersService } from "./services/MembersService"; +export { PermissionOverrideService } from "./services/PermissionOverrideService"; +export { ReactionsService } from "./services/ReactionsService"; +export { RoleMembershipService } from "./services/RoleMembershipService"; +export { RolesService } from "./services/RolesService"; +export { ServersService } from "./services/ServersService"; +export { ServerSubscriptionService } from "./services/ServerSubscriptionService"; +export { ServerXpService } from "./services/ServerXpService"; +export { SocialLinksService } from "./services/SocialLinksService"; +export { UrlSignatureService } from "./services/UrlSignatureService"; +export { UsersService } from "./services/UsersService"; +export { UserStatusService } from "./services/UserStatusService"; +export { WebhookService } from "./services/WebhookService";