From 373ef756877182ac286034b844ce1c968c556138 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 15 Aug 2024 11:33:12 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.369.0 --- .devcontainer/setup.sh | 2 +- .speakeasy/gen.lock | 4 +-- .speakeasy/gen.yaml | 4 +-- FUNCTIONS.md | 6 ++-- README.md | 30 +++++++++---------- RELEASES.md | 12 +++++++- USAGE.md | 2 +- docs/models/components/actionrow.md | 2 +- docs/models/components/actionrowcomponents.md | 2 +- ...ationcommandinteractionmetadataresponse.md | 2 +- ...ionintegrationtypeconfigurationresponse.md | 2 +- .../applicationoauth2installparamsresponse.md | 2 +- docs/models/components/applicationresponse.md | 2 +- .../basecreatemessagecreaterequest.md | 2 +- .../components/basicapplicationresponse.md | 2 +- .../models/components/basicmessageresponse.md | 2 +- .../basicmessageresponsecomponents.md | 2 +- ...basicmessageresponseinteractionmetadata.md | 2 +- .../components/basicmessageresponsenonce.md | 2 +- .../basicmessageresponsestickers.md | 2 +- docs/models/components/button.md | 2 +- docs/models/components/bynweekdayresponse.md | 2 +- .../channelpermissionoverwriterequest.md | 2 +- .../channelpermissionoverwriteresponse.md | 2 +- docs/models/components/channels.md | 2 +- docs/models/components/channelselect.md | 2 +- .../components/channelselectdefaultvalue.md | 2 +- docs/models/components/components.md | 2 +- .../components/createdthreadresponse.md | 2 +- .../components/createforumthreadrequest.md | 2 +- .../components/creategroupdminviterequest.md | 2 +- .../components/createguildinviterequest.md | 2 +- .../createtextthreadwithoutmessagerequest.md | 2 +- .../defaultreactionemojiresponse.md | 2 +- docs/models/components/defaultvalues.md | 2 +- docs/models/components/emoji.md | 2 +- docs/models/components/errordetails.md | 2 +- docs/models/components/errort.md | 2 +- docs/models/components/forumtagresponse.md | 2 +- .../models/components/friendinviteresponse.md | 2 +- .../components/groupdminviteresponse.md | 2 +- .../models/components/guildchannelresponse.md | 2 +- docs/models/components/guildinviteresponse.md | 2 +- docs/models/components/guildmemberresponse.md | 2 +- .../guildproductpurchaseresponse.md | 2 +- docs/models/components/guildroleresponse.md | 2 +- .../components/guildroletagsresponse.md | 2 +- .../models/components/guildstickerresponse.md | 2 +- docs/models/components/innererrors.md | 2 +- docs/models/components/inputtext.md | 2 +- docs/models/components/interactionmetadata.md | 2 +- .../components/inviteapplicationresponse.md | 2 +- .../invitechannelrecipientresponse.md | 2 +- .../components/invitechannelresponse.md | 2 +- docs/models/components/inviteguildresponse.md | 2 +- .../components/invitestageinstanceresponse.md | 2 +- docs/models/components/mentionableselect.md | 2 +- .../components/messageactivityresponse.md | 2 +- .../messageallowedmentionsrequest.md | 2 +- .../components/messageattachmentrequest.md | 2 +- .../components/messageattachmentresponse.md | 2 +- docs/models/components/messagecallresponse.md | 2 +- .../messagecomponentactionrowresponse.md | 2 +- .../messagecomponentbuttonresponse.md | 2 +- .../messagecomponentchannelselectresponse.md | 2 +- .../messagecomponentemojiresponse.md | 2 +- .../messagecomponentinputtextresponse.md | 2 +- ...agecomponentinteractionmetadataresponse.md | 2 +- ...ssagecomponentmentionableselectresponse.md | 2 +- .../messagecomponentroleselectresponse.md | 2 +- .../messagecomponentstringselectresponse.md | 2 +- .../messagecomponentuserselectresponse.md | 2 +- .../models/components/messagecreaterequest.md | 2 +- .../components/messagecreaterequestnonce.md | 2 +- .../components/messageeditrequestpartial.md | 2 +- .../components/messageembedauthorresponse.md | 2 +- .../components/messageembedfieldresponse.md | 2 +- .../components/messageembedfooterresponse.md | 2 +- .../components/messageembedimageresponse.md | 2 +- .../messageembedproviderresponse.md | 2 +- .../models/components/messageembedresponse.md | 2 +- .../components/messageembedvideoresponse.md | 2 +- .../components/messageinteractionresponse.md | 2 +- .../messagementionchannelresponse.md | 2 +- .../messagereactioncountdetailsresponse.md | 2 +- .../messagereactionemojiresponse.md | 2 +- .../components/messagereactionresponse.md | 2 +- .../components/messagereferencerequest.md | 2 +- .../components/messagereferenceresponse.md | 2 +- docs/models/components/messageresponse.md | 2 +- .../components/messageresponsecomponents.md | 2 +- .../messagerolesubscriptiondataresponse.md | 2 +- .../components/messagestickeritemresponse.md | 2 +- .../modalsubmitinteractionmetadataresponse.md | 2 +- docs/models/components/nonce.md | 2 +- .../privatechannelrequestpartial.md | 2 +- .../components/privatechannelresponse.md | 2 +- .../components/privategroupchannelresponse.md | 2 +- .../purchasenotificationresponse.md | 2 +- .../components/recurrenceruleresponse.md | 2 +- .../components/resolvedobjectsresponse.md | 2 +- docs/models/components/richembed.md | 2 +- docs/models/components/richembedauthor.md | 2 +- docs/models/components/richembedfield.md | 2 +- docs/models/components/richembedfooter.md | 2 +- docs/models/components/richembedimage.md | 2 +- docs/models/components/richembedprovider.md | 2 +- docs/models/components/richembedthumbnail.md | 2 +- docs/models/components/richembedvideo.md | 2 +- docs/models/components/roleselect.md | 2 +- .../components/roleselectdefaultvalue.md | 2 +- .../components/scheduledeventresponse.md | 2 +- .../components/scheduledeventuserresponse.md | 2 +- docs/models/components/security.md | 2 +- docs/models/components/selectoption.md | 2 +- .../models/components/selectoptionresponse.md | 2 +- .../components/standardstickerresponse.md | 2 +- docs/models/components/stickers.md | 2 +- docs/models/components/stringselect.md | 2 +- .../models/components/threadmemberresponse.md | 2 +- .../components/threadmetadataresponse.md | 2 +- docs/models/components/threadresponse.md | 2 +- .../triggeringinteractionmetadata.md | 2 +- .../updatedefaultreactionemojirequest.md | 2 +- .../updateguildchannelrequestpartial.md | 2 +- .../components/updatethreadrequestpartial.md | 2 +- .../components/updatethreadtagrequest.md | 2 +- .../useravatardecorationresponse.md | 2 +- docs/models/components/userresponse.md | 2 +- docs/models/components/userselect.md | 2 +- .../components/userselectdefaultvalue.md | 2 +- docs/models/errors/errorresponse.md | 2 +- .../operations/createchannelinviterequest.md | 2 +- .../createchannelinviterequestbody.md | 2 +- .../createchannelinviteresponsebody.md | 2 +- .../models/operations/createmessagerequest.md | 2 +- docs/models/operations/createthreadrequest.md | 2 +- .../operations/createthreadrequestbody.md | 2 +- .../models/operations/deletechannelrequest.md | 2 +- .../operations/deletechannelresponsebody.md | 2 +- .../models/operations/deletemessagerequest.md | 2 +- docs/models/operations/getchannelrequest.md | 2 +- .../operations/getchannelresponsebody.md | 2 +- docs/models/operations/getmessagerequest.md | 2 +- .../operations/listchannelinvitesrequest.md | 2 +- docs/models/operations/listmessagesrequest.md | 2 +- docs/models/operations/responsebody.md | 2 +- .../models/operations/updatechannelrequest.md | 2 +- .../operations/updatechannelrequestbody.md | 2 +- .../operations/updatechannelresponsebody.md | 2 +- .../models/operations/updatemessagerequest.md | 2 +- docs/sdks/channelinvites/README.md | 12 ++++---- docs/sdks/channels/README.md | 18 +++++------ docs/sdks/messages/README.md | 30 +++++++++---------- docs/sdks/threads/README.md | 6 ++-- jsr.json | 4 +-- package-lock.json | 8 ++--- package.json | 4 +-- src/lib/config.ts | 4 +-- 159 files changed, 222 insertions(+), 212 deletions(-) diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index 9f06cce..070c94f 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -10,7 +10,7 @@ mkdir samples npm install npm install -g ts-node npm link -npm link discord +npm link @speakeasy-sdks/discord TS_CONFIG_CONTENT=$(cat <", @@ -145,7 +145,7 @@ Some of the endpoints in this SDK support retries. If you use the SDK without a To change the default retry strategy for a single API call, simply provide a retryConfig object to the call: ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -181,7 +181,7 @@ run(); If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization: ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ retryConfig: { @@ -226,8 +226,8 @@ Validation errors can also occur when either method arguments or data returned f ```typescript -import { Discord } from "discord"; -import { SDKValidationError } from "discord/models/errors"; +import { Discord } from "@speakeasy-sdks/discord"; +import { SDKValidationError } from "@speakeasy-sdks/discord/models/errors"; const discord = new Discord({ botToken: "", @@ -280,7 +280,7 @@ You can override the default server globally by passing a server index to the `s | 0 | `https://discord.com/api/v10` | None | ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ serverIdx: 0, @@ -307,7 +307,7 @@ run(); The default server can also be overridden globally by passing a URL to the `serverURL` optional parameter when initializing the SDK client instance. For example: ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ serverURL: "https://discord.com/api/v10", @@ -347,8 +347,8 @@ custom header and a timeout to requests and how to use the `"requestError"` hook to log errors: ```typescript -import { Discord } from "discord"; -import { HTTPClient } from "discord/lib/http"; +import { Discord } from "@speakeasy-sdks/discord"; +import { HTTPClient } from "@speakeasy-sdks/discord/lib/http"; const httpClient = new HTTPClient({ // fetcher takes a function that has the same signature as native `fetch`. @@ -391,7 +391,7 @@ This SDK supports the following security scheme globally: To authenticate with the API the `botToken` parameter must be set when initializing the SDK client instance. For example: ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -421,7 +421,7 @@ To log HTTP requests and responses, you can pass a logger that matches `console` > Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production. ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const sdk = new Discord({ debugLogger: console }); ``` diff --git a/RELEASES.md b/RELEASES.md index fabf653..7ca9a59 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -16,4 +16,14 @@ Based on: ### Generated - [typescript v1] . ### Releases -- [NPM v1] https://www.npmjs.com/package/discord/v/1 - . \ No newline at end of file +- [NPM v1] https://www.npmjs.com/package/discord/v/1 - . + +## 2024-08-15 11:32:08 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.369.0 (2.399.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.1] . +### Releases +- [NPM v1.1] https://www.npmjs.com/package/@speakeasy-sdks/discord/v/1.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index d9dbd2e..7a13612 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1,6 +1,6 @@ ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", diff --git a/docs/models/components/actionrow.md b/docs/models/components/actionrow.md index b5dbe4e..f80eeeb 100644 --- a/docs/models/components/actionrow.md +++ b/docs/models/components/actionrow.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ActionRow } from "discord/models/components"; +import { ActionRow } from "@speakeasy-sdks/discord/models/components"; let value: ActionRow = { components: [], diff --git a/docs/models/components/actionrowcomponents.md b/docs/models/components/actionrowcomponents.md index 6c947ed..6a761c5 100644 --- a/docs/models/components/actionrowcomponents.md +++ b/docs/models/components/actionrowcomponents.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ActionRowComponents } from "discord/models/components"; +import { ActionRowComponents } from "@speakeasy-sdks/discord/models/components"; let value: ActionRowComponents = { customId: "", diff --git a/docs/models/components/applicationcommandinteractionmetadataresponse.md b/docs/models/components/applicationcommandinteractionmetadataresponse.md index 417e623..5cae47b 100644 --- a/docs/models/components/applicationcommandinteractionmetadataresponse.md +++ b/docs/models/components/applicationcommandinteractionmetadataresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ApplicationCommandInteractionMetadataResponse } from "discord/models/components"; +import { ApplicationCommandInteractionMetadataResponse } from "@speakeasy-sdks/discord/models/components"; let value: ApplicationCommandInteractionMetadataResponse = { id: "", diff --git a/docs/models/components/applicationintegrationtypeconfigurationresponse.md b/docs/models/components/applicationintegrationtypeconfigurationresponse.md index 0bac896..a16d4ee 100644 --- a/docs/models/components/applicationintegrationtypeconfigurationresponse.md +++ b/docs/models/components/applicationintegrationtypeconfigurationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ApplicationIntegrationTypeConfigurationResponse } from "discord/models/components"; +import { ApplicationIntegrationTypeConfigurationResponse } from "@speakeasy-sdks/discord/models/components"; let value: ApplicationIntegrationTypeConfigurationResponse = {}; ``` diff --git a/docs/models/components/applicationoauth2installparamsresponse.md b/docs/models/components/applicationoauth2installparamsresponse.md index f42d2a7..ab46a56 100644 --- a/docs/models/components/applicationoauth2installparamsresponse.md +++ b/docs/models/components/applicationoauth2installparamsresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ApplicationOAuth2InstallParamsResponse } from "discord/models/components"; +import { ApplicationOAuth2InstallParamsResponse } from "@speakeasy-sdks/discord/models/components"; let value: ApplicationOAuth2InstallParamsResponse = { scopes: [""], diff --git a/docs/models/components/applicationresponse.md b/docs/models/components/applicationresponse.md index 05eb190..6d4d1fb 100644 --- a/docs/models/components/applicationresponse.md +++ b/docs/models/components/applicationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ApplicationResponse } from "discord/models/components"; +import { ApplicationResponse } from "@speakeasy-sdks/discord/models/components"; let value: ApplicationResponse = { id: "", diff --git a/docs/models/components/basecreatemessagecreaterequest.md b/docs/models/components/basecreatemessagecreaterequest.md index fd966b5..6946257 100644 --- a/docs/models/components/basecreatemessagecreaterequest.md +++ b/docs/models/components/basecreatemessagecreaterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BaseCreateMessageCreateRequest } from "discord/models/components"; +import { BaseCreateMessageCreateRequest } from "@speakeasy-sdks/discord/models/components"; let value: BaseCreateMessageCreateRequest = {}; ``` diff --git a/docs/models/components/basicapplicationresponse.md b/docs/models/components/basicapplicationresponse.md index 65ec94b..28aa165 100644 --- a/docs/models/components/basicapplicationresponse.md +++ b/docs/models/components/basicapplicationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicApplicationResponse } from "discord/models/components"; +import { BasicApplicationResponse } from "@speakeasy-sdks/discord/models/components"; let value: BasicApplicationResponse = { id: "", diff --git a/docs/models/components/basicmessageresponse.md b/docs/models/components/basicmessageresponse.md index 8b65f49..daa7c67 100644 --- a/docs/models/components/basicmessageresponse.md +++ b/docs/models/components/basicmessageresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicMessageResponse } from "discord/models/components"; +import { BasicMessageResponse } from "@speakeasy-sdks/discord/models/components"; let value: BasicMessageResponse = { content: "", diff --git a/docs/models/components/basicmessageresponsecomponents.md b/docs/models/components/basicmessageresponsecomponents.md index 773f2ec..3ce707d 100644 --- a/docs/models/components/basicmessageresponsecomponents.md +++ b/docs/models/components/basicmessageresponsecomponents.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicMessageResponseComponents } from "discord/models/components"; +import { BasicMessageResponseComponents } from "@speakeasy-sdks/discord/models/components"; let value: BasicMessageResponseComponents = { id: 528895, diff --git a/docs/models/components/basicmessageresponseinteractionmetadata.md b/docs/models/components/basicmessageresponseinteractionmetadata.md index 1aac266..426c9b9 100644 --- a/docs/models/components/basicmessageresponseinteractionmetadata.md +++ b/docs/models/components/basicmessageresponseinteractionmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicMessageResponseInteractionMetadata } from "discord/models/components"; +import { BasicMessageResponseInteractionMetadata } from "@speakeasy-sdks/discord/models/components"; let value: BasicMessageResponseInteractionMetadata = { id: "", diff --git a/docs/models/components/basicmessageresponsenonce.md b/docs/models/components/basicmessageresponsenonce.md index dd68b1c..2c832f4 100644 --- a/docs/models/components/basicmessageresponsenonce.md +++ b/docs/models/components/basicmessageresponsenonce.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicMessageResponseNonce } from "discord/models/components"; +import { BasicMessageResponseNonce } from "@speakeasy-sdks/discord/models/components"; let value: BasicMessageResponseNonce = ""; ``` diff --git a/docs/models/components/basicmessageresponsestickers.md b/docs/models/components/basicmessageresponsestickers.md index 6cf78cc..8b07641 100644 --- a/docs/models/components/basicmessageresponsestickers.md +++ b/docs/models/components/basicmessageresponsestickers.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BasicMessageResponseStickers } from "discord/models/components"; +import { BasicMessageResponseStickers } from "@speakeasy-sdks/discord/models/components"; let value: BasicMessageResponseStickers = { id: "", diff --git a/docs/models/components/button.md b/docs/models/components/button.md index 9ee2517..ae2276d 100644 --- a/docs/models/components/button.md +++ b/docs/models/components/button.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Button } from "discord/models/components"; +import { Button } from "@speakeasy-sdks/discord/models/components"; let value: Button = {}; ``` diff --git a/docs/models/components/bynweekdayresponse.md b/docs/models/components/bynweekdayresponse.md index af69742..1f333e9 100644 --- a/docs/models/components/bynweekdayresponse.md +++ b/docs/models/components/bynweekdayresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ByNWeekdayResponse } from "discord/models/components"; +import { ByNWeekdayResponse } from "@speakeasy-sdks/discord/models/components"; let value: ByNWeekdayResponse = { n: 979587, diff --git a/docs/models/components/channelpermissionoverwriterequest.md b/docs/models/components/channelpermissionoverwriterequest.md index 47d1455..0ff556e 100644 --- a/docs/models/components/channelpermissionoverwriterequest.md +++ b/docs/models/components/channelpermissionoverwriterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ChannelPermissionOverwriteRequest } from "discord/models/components"; +import { ChannelPermissionOverwriteRequest } from "@speakeasy-sdks/discord/models/components"; let value: ChannelPermissionOverwriteRequest = { id: "", diff --git a/docs/models/components/channelpermissionoverwriteresponse.md b/docs/models/components/channelpermissionoverwriteresponse.md index dd0750e..ecdade9 100644 --- a/docs/models/components/channelpermissionoverwriteresponse.md +++ b/docs/models/components/channelpermissionoverwriteresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ChannelPermissionOverwriteResponse } from "discord/models/components"; +import { ChannelPermissionOverwriteResponse } from "@speakeasy-sdks/discord/models/components"; let value: ChannelPermissionOverwriteResponse = { id: "", diff --git a/docs/models/components/channels.md b/docs/models/components/channels.md index fbb5d4b..0b328fb 100644 --- a/docs/models/components/channels.md +++ b/docs/models/components/channels.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Channels } from "discord/models/components"; +import { Channels } from "@speakeasy-sdks/discord/models/components"; let value: Channels = { id: "", diff --git a/docs/models/components/channelselect.md b/docs/models/components/channelselect.md index c3c2b86..b52dd3d 100644 --- a/docs/models/components/channelselect.md +++ b/docs/models/components/channelselect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ChannelSelect } from "discord/models/components"; +import { ChannelSelect } from "@speakeasy-sdks/discord/models/components"; let value: ChannelSelect = { customId: "", diff --git a/docs/models/components/channelselectdefaultvalue.md b/docs/models/components/channelselectdefaultvalue.md index fce1a61..4b11a8a 100644 --- a/docs/models/components/channelselectdefaultvalue.md +++ b/docs/models/components/channelselectdefaultvalue.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ChannelSelectDefaultValue } from "discord/models/components"; +import { ChannelSelectDefaultValue } from "@speakeasy-sdks/discord/models/components"; let value: ChannelSelectDefaultValue = { id: "", diff --git a/docs/models/components/components.md b/docs/models/components/components.md index 392bfce..1451375 100644 --- a/docs/models/components/components.md +++ b/docs/models/components/components.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Components } from "discord/models/components"; +import { Components } from "@speakeasy-sdks/discord/models/components"; let value: Components = { id: 581850, diff --git a/docs/models/components/createdthreadresponse.md b/docs/models/components/createdthreadresponse.md index 9ad14ae..7bc2efb 100644 --- a/docs/models/components/createdthreadresponse.md +++ b/docs/models/components/createdthreadresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreatedThreadResponse } from "discord/models/components"; +import { CreatedThreadResponse } from "@speakeasy-sdks/discord/models/components"; let value: CreatedThreadResponse = { id: "", diff --git a/docs/models/components/createforumthreadrequest.md b/docs/models/components/createforumthreadrequest.md index b6b903b..4b05c2c 100644 --- a/docs/models/components/createforumthreadrequest.md +++ b/docs/models/components/createforumthreadrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateForumThreadRequest } from "discord/models/components"; +import { CreateForumThreadRequest } from "@speakeasy-sdks/discord/models/components"; let value: CreateForumThreadRequest = { name: "", diff --git a/docs/models/components/creategroupdminviterequest.md b/docs/models/components/creategroupdminviterequest.md index 278653a..c705495 100644 --- a/docs/models/components/creategroupdminviterequest.md +++ b/docs/models/components/creategroupdminviterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateGroupDMInviteRequest } from "discord/models/components"; +import { CreateGroupDMInviteRequest } from "@speakeasy-sdks/discord/models/components"; let value: CreateGroupDMInviteRequest = {}; ``` diff --git a/docs/models/components/createguildinviterequest.md b/docs/models/components/createguildinviterequest.md index 6db1cdd..d4bb9e2 100644 --- a/docs/models/components/createguildinviterequest.md +++ b/docs/models/components/createguildinviterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateGuildInviteRequest } from "discord/models/components"; +import { CreateGuildInviteRequest } from "@speakeasy-sdks/discord/models/components"; let value: CreateGuildInviteRequest = {}; ``` diff --git a/docs/models/components/createtextthreadwithoutmessagerequest.md b/docs/models/components/createtextthreadwithoutmessagerequest.md index d84d86f..191c0d6 100644 --- a/docs/models/components/createtextthreadwithoutmessagerequest.md +++ b/docs/models/components/createtextthreadwithoutmessagerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateTextThreadWithoutMessageRequest } from "discord/models/components"; +import { CreateTextThreadWithoutMessageRequest } from "@speakeasy-sdks/discord/models/components"; let value: CreateTextThreadWithoutMessageRequest = { name: "", diff --git a/docs/models/components/defaultreactionemojiresponse.md b/docs/models/components/defaultreactionemojiresponse.md index fdb135c..073fb2b 100644 --- a/docs/models/components/defaultreactionemojiresponse.md +++ b/docs/models/components/defaultreactionemojiresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DefaultReactionEmojiResponse } from "discord/models/components"; +import { DefaultReactionEmojiResponse } from "@speakeasy-sdks/discord/models/components"; let value: DefaultReactionEmojiResponse = {}; ``` diff --git a/docs/models/components/defaultvalues.md b/docs/models/components/defaultvalues.md index 5130ba7..1644f8d 100644 --- a/docs/models/components/defaultvalues.md +++ b/docs/models/components/defaultvalues.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DefaultValues } from "discord/models/components"; +import { DefaultValues } from "@speakeasy-sdks/discord/models/components"; let value: DefaultValues = { id: "", diff --git a/docs/models/components/emoji.md b/docs/models/components/emoji.md index d12c60d..b4ee0ee 100644 --- a/docs/models/components/emoji.md +++ b/docs/models/components/emoji.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Emoji } from "discord/models/components"; +import { Emoji } from "@speakeasy-sdks/discord/models/components"; let value: Emoji = { name: "", diff --git a/docs/models/components/errordetails.md b/docs/models/components/errordetails.md index c2f4461..fb97027 100644 --- a/docs/models/components/errordetails.md +++ b/docs/models/components/errordetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ErrorDetails } from "discord/models/components"; +import { ErrorDetails } from "@speakeasy-sdks/discord/models/components"; let value: ErrorDetails = { errors: [ diff --git a/docs/models/components/errort.md b/docs/models/components/errort.md index 8719abe..c967121 100644 --- a/docs/models/components/errort.md +++ b/docs/models/components/errort.md @@ -5,7 +5,7 @@ A single error, either for an API response or a specific field. ## Example Usage ```typescript -import { ErrorT } from "discord/models/components"; +import { ErrorT } from "@speakeasy-sdks/discord/models/components"; let value: ErrorT = { code: 509624, diff --git a/docs/models/components/forumtagresponse.md b/docs/models/components/forumtagresponse.md index 080fb27..ed9bff1 100644 --- a/docs/models/components/forumtagresponse.md +++ b/docs/models/components/forumtagresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ForumTagResponse } from "discord/models/components"; +import { ForumTagResponse } from "@speakeasy-sdks/discord/models/components"; let value: ForumTagResponse = { id: "", diff --git a/docs/models/components/friendinviteresponse.md b/docs/models/components/friendinviteresponse.md index caa2f21..b0512ab 100644 --- a/docs/models/components/friendinviteresponse.md +++ b/docs/models/components/friendinviteresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { FriendInviteResponse } from "discord/models/components"; +import { FriendInviteResponse } from "@speakeasy-sdks/discord/models/components"; let value: FriendInviteResponse = { code: "", diff --git a/docs/models/components/groupdminviteresponse.md b/docs/models/components/groupdminviteresponse.md index 7cbe50e..f0cceb3 100644 --- a/docs/models/components/groupdminviteresponse.md +++ b/docs/models/components/groupdminviteresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GroupDMInviteResponse } from "discord/models/components"; +import { GroupDMInviteResponse } from "@speakeasy-sdks/discord/models/components"; let value: GroupDMInviteResponse = { code: "", diff --git a/docs/models/components/guildchannelresponse.md b/docs/models/components/guildchannelresponse.md index efaf1d9..12d4423 100644 --- a/docs/models/components/guildchannelresponse.md +++ b/docs/models/components/guildchannelresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildChannelResponse } from "discord/models/components"; +import { GuildChannelResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildChannelResponse = { id: "", diff --git a/docs/models/components/guildinviteresponse.md b/docs/models/components/guildinviteresponse.md index 315bd17..ca080db 100644 --- a/docs/models/components/guildinviteresponse.md +++ b/docs/models/components/guildinviteresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildInviteResponse } from "discord/models/components"; +import { GuildInviteResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildInviteResponse = { code: "", diff --git a/docs/models/components/guildmemberresponse.md b/docs/models/components/guildmemberresponse.md index a9d0711..79b559b 100644 --- a/docs/models/components/guildmemberresponse.md +++ b/docs/models/components/guildmemberresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildMemberResponse } from "discord/models/components"; +import { GuildMemberResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildMemberResponse = { flags: 105907, diff --git a/docs/models/components/guildproductpurchaseresponse.md b/docs/models/components/guildproductpurchaseresponse.md index ac90c58..b1f8f28 100644 --- a/docs/models/components/guildproductpurchaseresponse.md +++ b/docs/models/components/guildproductpurchaseresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildProductPurchaseResponse } from "discord/models/components"; +import { GuildProductPurchaseResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildProductPurchaseResponse = { listingId: "", diff --git a/docs/models/components/guildroleresponse.md b/docs/models/components/guildroleresponse.md index 3f9f2dd..77f334a 100644 --- a/docs/models/components/guildroleresponse.md +++ b/docs/models/components/guildroleresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildRoleResponse } from "discord/models/components"; +import { GuildRoleResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildRoleResponse = { id: "", diff --git a/docs/models/components/guildroletagsresponse.md b/docs/models/components/guildroletagsresponse.md index 157fad9..990c3a3 100644 --- a/docs/models/components/guildroletagsresponse.md +++ b/docs/models/components/guildroletagsresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildRoleTagsResponse } from "discord/models/components"; +import { GuildRoleTagsResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildRoleTagsResponse = {}; ``` diff --git a/docs/models/components/guildstickerresponse.md b/docs/models/components/guildstickerresponse.md index a4f3797..f353bb7 100644 --- a/docs/models/components/guildstickerresponse.md +++ b/docs/models/components/guildstickerresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GuildStickerResponse } from "discord/models/components"; +import { GuildStickerResponse } from "@speakeasy-sdks/discord/models/components"; let value: GuildStickerResponse = { id: "", diff --git a/docs/models/components/innererrors.md b/docs/models/components/innererrors.md index 2282dec..e321695 100644 --- a/docs/models/components/innererrors.md +++ b/docs/models/components/innererrors.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InnerErrors } from "discord/models/components"; +import { InnerErrors } from "@speakeasy-sdks/discord/models/components"; let value: InnerErrors = { errors: [ diff --git a/docs/models/components/inputtext.md b/docs/models/components/inputtext.md index eda645c..9019abb 100644 --- a/docs/models/components/inputtext.md +++ b/docs/models/components/inputtext.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InputText } from "discord/models/components"; +import { InputText } from "@speakeasy-sdks/discord/models/components"; let value: InputText = { customId: "", diff --git a/docs/models/components/interactionmetadata.md b/docs/models/components/interactionmetadata.md index 82288b4..6dfb5a1 100644 --- a/docs/models/components/interactionmetadata.md +++ b/docs/models/components/interactionmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InteractionMetadata } from "discord/models/components"; +import { InteractionMetadata } from "@speakeasy-sdks/discord/models/components"; let value: InteractionMetadata = { id: "", diff --git a/docs/models/components/inviteapplicationresponse.md b/docs/models/components/inviteapplicationresponse.md index 4b6bba9..7d7fd55 100644 --- a/docs/models/components/inviteapplicationresponse.md +++ b/docs/models/components/inviteapplicationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InviteApplicationResponse } from "discord/models/components"; +import { InviteApplicationResponse } from "@speakeasy-sdks/discord/models/components"; let value: InviteApplicationResponse = { id: "", diff --git a/docs/models/components/invitechannelrecipientresponse.md b/docs/models/components/invitechannelrecipientresponse.md index 1b75e9b..7e6e061 100644 --- a/docs/models/components/invitechannelrecipientresponse.md +++ b/docs/models/components/invitechannelrecipientresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InviteChannelRecipientResponse } from "discord/models/components"; +import { InviteChannelRecipientResponse } from "@speakeasy-sdks/discord/models/components"; let value: InviteChannelRecipientResponse = { username: "Ivah3", diff --git a/docs/models/components/invitechannelresponse.md b/docs/models/components/invitechannelresponse.md index c269e03..e73b511 100644 --- a/docs/models/components/invitechannelresponse.md +++ b/docs/models/components/invitechannelresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InviteChannelResponse } from "discord/models/components"; +import { InviteChannelResponse } from "@speakeasy-sdks/discord/models/components"; let value: InviteChannelResponse = { id: "", diff --git a/docs/models/components/inviteguildresponse.md b/docs/models/components/inviteguildresponse.md index c31dc59..b8008c0 100644 --- a/docs/models/components/inviteguildresponse.md +++ b/docs/models/components/inviteguildresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InviteGuildResponse } from "discord/models/components"; +import { InviteGuildResponse } from "@speakeasy-sdks/discord/models/components"; let value: InviteGuildResponse = { id: "", diff --git a/docs/models/components/invitestageinstanceresponse.md b/docs/models/components/invitestageinstanceresponse.md index 157c18e..5d4445e 100644 --- a/docs/models/components/invitestageinstanceresponse.md +++ b/docs/models/components/invitestageinstanceresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { InviteStageInstanceResponse } from "discord/models/components"; +import { InviteStageInstanceResponse } from "@speakeasy-sdks/discord/models/components"; let value: InviteStageInstanceResponse = { topic: "", diff --git a/docs/models/components/mentionableselect.md b/docs/models/components/mentionableselect.md index 1644fdc..1e9732e 100644 --- a/docs/models/components/mentionableselect.md +++ b/docs/models/components/mentionableselect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MentionableSelect } from "discord/models/components"; +import { MentionableSelect } from "@speakeasy-sdks/discord/models/components"; let value: MentionableSelect = { customId: "", diff --git a/docs/models/components/messageactivityresponse.md b/docs/models/components/messageactivityresponse.md index 8f5e354..91eaed9 100644 --- a/docs/models/components/messageactivityresponse.md +++ b/docs/models/components/messageactivityresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageActivityResponse } from "discord/models/components"; +import { MessageActivityResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageActivityResponse = {}; ``` diff --git a/docs/models/components/messageallowedmentionsrequest.md b/docs/models/components/messageallowedmentionsrequest.md index f14c92a..893109a 100644 --- a/docs/models/components/messageallowedmentionsrequest.md +++ b/docs/models/components/messageallowedmentionsrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageAllowedMentionsRequest } from "discord/models/components"; +import { MessageAllowedMentionsRequest } from "@speakeasy-sdks/discord/models/components"; let value: MessageAllowedMentionsRequest = {}; ``` diff --git a/docs/models/components/messageattachmentrequest.md b/docs/models/components/messageattachmentrequest.md index 61bede3..d46cf79 100644 --- a/docs/models/components/messageattachmentrequest.md +++ b/docs/models/components/messageattachmentrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageAttachmentRequest } from "discord/models/components"; +import { MessageAttachmentRequest } from "@speakeasy-sdks/discord/models/components"; let value: MessageAttachmentRequest = { id: "", diff --git a/docs/models/components/messageattachmentresponse.md b/docs/models/components/messageattachmentresponse.md index 623a523..bd3423f 100644 --- a/docs/models/components/messageattachmentresponse.md +++ b/docs/models/components/messageattachmentresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageAttachmentResponse } from "discord/models/components"; +import { MessageAttachmentResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageAttachmentResponse = { id: "", diff --git a/docs/models/components/messagecallresponse.md b/docs/models/components/messagecallresponse.md index c915949..45ed426 100644 --- a/docs/models/components/messagecallresponse.md +++ b/docs/models/components/messagecallresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageCallResponse } from "discord/models/components"; +import { MessageCallResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageCallResponse = { participants: [""], diff --git a/docs/models/components/messagecomponentactionrowresponse.md b/docs/models/components/messagecomponentactionrowresponse.md index f12d879..4c8b068 100644 --- a/docs/models/components/messagecomponentactionrowresponse.md +++ b/docs/models/components/messagecomponentactionrowresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentActionRowResponse } from "discord/models/components"; +import { MessageComponentActionRowResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentActionRowResponse = { id: 253291, diff --git a/docs/models/components/messagecomponentbuttonresponse.md b/docs/models/components/messagecomponentbuttonresponse.md index 77fe343..430e8c9 100644 --- a/docs/models/components/messagecomponentbuttonresponse.md +++ b/docs/models/components/messagecomponentbuttonresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentButtonResponse } from "discord/models/components"; +import { MessageComponentButtonResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentButtonResponse = { id: 414369, diff --git a/docs/models/components/messagecomponentchannelselectresponse.md b/docs/models/components/messagecomponentchannelselectresponse.md index 874adad..25b1ffa 100644 --- a/docs/models/components/messagecomponentchannelselectresponse.md +++ b/docs/models/components/messagecomponentchannelselectresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentChannelSelectResponse } from "discord/models/components"; +import { MessageComponentChannelSelectResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentChannelSelectResponse = { id: 466311, diff --git a/docs/models/components/messagecomponentemojiresponse.md b/docs/models/components/messagecomponentemojiresponse.md index 8c4513f..cb08746 100644 --- a/docs/models/components/messagecomponentemojiresponse.md +++ b/docs/models/components/messagecomponentemojiresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentEmojiResponse } from "discord/models/components"; +import { MessageComponentEmojiResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentEmojiResponse = { name: "", diff --git a/docs/models/components/messagecomponentinputtextresponse.md b/docs/models/components/messagecomponentinputtextresponse.md index 83e6aec..3ab7cc4 100644 --- a/docs/models/components/messagecomponentinputtextresponse.md +++ b/docs/models/components/messagecomponentinputtextresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentInputTextResponse } from "discord/models/components"; +import { MessageComponentInputTextResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentInputTextResponse = { id: 474697, diff --git a/docs/models/components/messagecomponentinteractionmetadataresponse.md b/docs/models/components/messagecomponentinteractionmetadataresponse.md index 27fcedc..327db84 100644 --- a/docs/models/components/messagecomponentinteractionmetadataresponse.md +++ b/docs/models/components/messagecomponentinteractionmetadataresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentInteractionMetadataResponse } from "discord/models/components"; +import { MessageComponentInteractionMetadataResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentInteractionMetadataResponse = { id: "", diff --git a/docs/models/components/messagecomponentmentionableselectresponse.md b/docs/models/components/messagecomponentmentionableselectresponse.md index 5eec3d3..8374320 100644 --- a/docs/models/components/messagecomponentmentionableselectresponse.md +++ b/docs/models/components/messagecomponentmentionableselectresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentMentionableSelectResponse } from "discord/models/components"; +import { MessageComponentMentionableSelectResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentMentionableSelectResponse = { id: 244425, diff --git a/docs/models/components/messagecomponentroleselectresponse.md b/docs/models/components/messagecomponentroleselectresponse.md index 8c40197..6df8228 100644 --- a/docs/models/components/messagecomponentroleselectresponse.md +++ b/docs/models/components/messagecomponentroleselectresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentRoleSelectResponse } from "discord/models/components"; +import { MessageComponentRoleSelectResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentRoleSelectResponse = { id: 623510, diff --git a/docs/models/components/messagecomponentstringselectresponse.md b/docs/models/components/messagecomponentstringselectresponse.md index 00b3203..864096b 100644 --- a/docs/models/components/messagecomponentstringselectresponse.md +++ b/docs/models/components/messagecomponentstringselectresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentStringSelectResponse } from "discord/models/components"; +import { MessageComponentStringSelectResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentStringSelectResponse = { id: 158969, diff --git a/docs/models/components/messagecomponentuserselectresponse.md b/docs/models/components/messagecomponentuserselectresponse.md index 35f8e99..830bfc4 100644 --- a/docs/models/components/messagecomponentuserselectresponse.md +++ b/docs/models/components/messagecomponentuserselectresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageComponentUserSelectResponse } from "discord/models/components"; +import { MessageComponentUserSelectResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageComponentUserSelectResponse = { id: 338007, diff --git a/docs/models/components/messagecreaterequest.md b/docs/models/components/messagecreaterequest.md index 1e1f037..d7150fc 100644 --- a/docs/models/components/messagecreaterequest.md +++ b/docs/models/components/messagecreaterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageCreateRequest } from "discord/models/components"; +import { MessageCreateRequest } from "@speakeasy-sdks/discord/models/components"; let value: MessageCreateRequest = {}; ``` diff --git a/docs/models/components/messagecreaterequestnonce.md b/docs/models/components/messagecreaterequestnonce.md index 640419c..30927a4 100644 --- a/docs/models/components/messagecreaterequestnonce.md +++ b/docs/models/components/messagecreaterequestnonce.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageCreateRequestNonce } from "discord/models/components"; +import { MessageCreateRequestNonce } from "@speakeasy-sdks/discord/models/components"; let value: MessageCreateRequestNonce = ""; ``` diff --git a/docs/models/components/messageeditrequestpartial.md b/docs/models/components/messageeditrequestpartial.md index 14bb882..9213610 100644 --- a/docs/models/components/messageeditrequestpartial.md +++ b/docs/models/components/messageeditrequestpartial.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEditRequestPartial } from "discord/models/components"; +import { MessageEditRequestPartial } from "@speakeasy-sdks/discord/models/components"; let value: MessageEditRequestPartial = {}; ``` diff --git a/docs/models/components/messageembedauthorresponse.md b/docs/models/components/messageembedauthorresponse.md index d5418e8..474529b 100644 --- a/docs/models/components/messageembedauthorresponse.md +++ b/docs/models/components/messageembedauthorresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedAuthorResponse } from "discord/models/components"; +import { MessageEmbedAuthorResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedAuthorResponse = { name: "", diff --git a/docs/models/components/messageembedfieldresponse.md b/docs/models/components/messageembedfieldresponse.md index 76efbbf..a206d17 100644 --- a/docs/models/components/messageembedfieldresponse.md +++ b/docs/models/components/messageembedfieldresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedFieldResponse } from "discord/models/components"; +import { MessageEmbedFieldResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedFieldResponse = { name: "", diff --git a/docs/models/components/messageembedfooterresponse.md b/docs/models/components/messageembedfooterresponse.md index 9017191..ed6cb66 100644 --- a/docs/models/components/messageembedfooterresponse.md +++ b/docs/models/components/messageembedfooterresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedFooterResponse } from "discord/models/components"; +import { MessageEmbedFooterResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedFooterResponse = { text: "", diff --git a/docs/models/components/messageembedimageresponse.md b/docs/models/components/messageembedimageresponse.md index 948a323..83c2d20 100644 --- a/docs/models/components/messageembedimageresponse.md +++ b/docs/models/components/messageembedimageresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedImageResponse } from "discord/models/components"; +import { MessageEmbedImageResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedImageResponse = {}; ``` diff --git a/docs/models/components/messageembedproviderresponse.md b/docs/models/components/messageembedproviderresponse.md index 53ebea0..6da5782 100644 --- a/docs/models/components/messageembedproviderresponse.md +++ b/docs/models/components/messageembedproviderresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedProviderResponse } from "discord/models/components"; +import { MessageEmbedProviderResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedProviderResponse = { name: "", diff --git a/docs/models/components/messageembedresponse.md b/docs/models/components/messageembedresponse.md index 45b0489..b3584a5 100644 --- a/docs/models/components/messageembedresponse.md +++ b/docs/models/components/messageembedresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedResponse } from "discord/models/components"; +import { MessageEmbedResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedResponse = { type: "", diff --git a/docs/models/components/messageembedvideoresponse.md b/docs/models/components/messageembedvideoresponse.md index 04c666c..018dba3 100644 --- a/docs/models/components/messageembedvideoresponse.md +++ b/docs/models/components/messageembedvideoresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageEmbedVideoResponse } from "discord/models/components"; +import { MessageEmbedVideoResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageEmbedVideoResponse = {}; ``` diff --git a/docs/models/components/messageinteractionresponse.md b/docs/models/components/messageinteractionresponse.md index 112faad..6fcdf5c 100644 --- a/docs/models/components/messageinteractionresponse.md +++ b/docs/models/components/messageinteractionresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageInteractionResponse } from "discord/models/components"; +import { MessageInteractionResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageInteractionResponse = { id: "", diff --git a/docs/models/components/messagementionchannelresponse.md b/docs/models/components/messagementionchannelresponse.md index da53513..1a02749 100644 --- a/docs/models/components/messagementionchannelresponse.md +++ b/docs/models/components/messagementionchannelresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageMentionChannelResponse } from "discord/models/components"; +import { MessageMentionChannelResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageMentionChannelResponse = { id: "", diff --git a/docs/models/components/messagereactioncountdetailsresponse.md b/docs/models/components/messagereactioncountdetailsresponse.md index 497d182..9d3b945 100644 --- a/docs/models/components/messagereactioncountdetailsresponse.md +++ b/docs/models/components/messagereactioncountdetailsresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageReactionCountDetailsResponse } from "discord/models/components"; +import { MessageReactionCountDetailsResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageReactionCountDetailsResponse = { burst: 96098, diff --git a/docs/models/components/messagereactionemojiresponse.md b/docs/models/components/messagereactionemojiresponse.md index 275d79a..39fac69 100644 --- a/docs/models/components/messagereactionemojiresponse.md +++ b/docs/models/components/messagereactionemojiresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageReactionEmojiResponse } from "discord/models/components"; +import { MessageReactionEmojiResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageReactionEmojiResponse = {}; ``` diff --git a/docs/models/components/messagereactionresponse.md b/docs/models/components/messagereactionresponse.md index ac9d835..da29ce7 100644 --- a/docs/models/components/messagereactionresponse.md +++ b/docs/models/components/messagereactionresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageReactionResponse } from "discord/models/components"; +import { MessageReactionResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageReactionResponse = { emoji: {}, diff --git a/docs/models/components/messagereferencerequest.md b/docs/models/components/messagereferencerequest.md index 7297391..6ef4129 100644 --- a/docs/models/components/messagereferencerequest.md +++ b/docs/models/components/messagereferencerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageReferenceRequest } from "discord/models/components"; +import { MessageReferenceRequest } from "@speakeasy-sdks/discord/models/components"; let value: MessageReferenceRequest = { messageId: "", diff --git a/docs/models/components/messagereferenceresponse.md b/docs/models/components/messagereferenceresponse.md index c787051..797c8d7 100644 --- a/docs/models/components/messagereferenceresponse.md +++ b/docs/models/components/messagereferenceresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageReferenceResponse } from "discord/models/components"; +import { MessageReferenceResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageReferenceResponse = { channelId: "", diff --git a/docs/models/components/messageresponse.md b/docs/models/components/messageresponse.md index c1cb607..d134948 100644 --- a/docs/models/components/messageresponse.md +++ b/docs/models/components/messageresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageResponse } from "discord/models/components"; +import { MessageResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageResponse = { content: "", diff --git a/docs/models/components/messageresponsecomponents.md b/docs/models/components/messageresponsecomponents.md index f8eabb9..28700dd 100644 --- a/docs/models/components/messageresponsecomponents.md +++ b/docs/models/components/messageresponsecomponents.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageResponseComponents } from "discord/models/components"; +import { MessageResponseComponents } from "@speakeasy-sdks/discord/models/components"; let value: MessageResponseComponents = { id: 592845, diff --git a/docs/models/components/messagerolesubscriptiondataresponse.md b/docs/models/components/messagerolesubscriptiondataresponse.md index cb31992..a7226b8 100644 --- a/docs/models/components/messagerolesubscriptiondataresponse.md +++ b/docs/models/components/messagerolesubscriptiondataresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageRoleSubscriptionDataResponse } from "discord/models/components"; +import { MessageRoleSubscriptionDataResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageRoleSubscriptionDataResponse = { roleSubscriptionListingId: "", diff --git a/docs/models/components/messagestickeritemresponse.md b/docs/models/components/messagestickeritemresponse.md index 40db568..650e11e 100644 --- a/docs/models/components/messagestickeritemresponse.md +++ b/docs/models/components/messagestickeritemresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { MessageStickerItemResponse } from "discord/models/components"; +import { MessageStickerItemResponse } from "@speakeasy-sdks/discord/models/components"; let value: MessageStickerItemResponse = { id: "", diff --git a/docs/models/components/modalsubmitinteractionmetadataresponse.md b/docs/models/components/modalsubmitinteractionmetadataresponse.md index 042d43b..34cad52 100644 --- a/docs/models/components/modalsubmitinteractionmetadataresponse.md +++ b/docs/models/components/modalsubmitinteractionmetadataresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ModalSubmitInteractionMetadataResponse } from "discord/models/components"; +import { ModalSubmitInteractionMetadataResponse } from "@speakeasy-sdks/discord/models/components"; let value: ModalSubmitInteractionMetadataResponse = { id: "", diff --git a/docs/models/components/nonce.md b/docs/models/components/nonce.md index 0c4a83c..0a87b38 100644 --- a/docs/models/components/nonce.md +++ b/docs/models/components/nonce.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Nonce } from "discord/models/components"; +import { Nonce } from "@speakeasy-sdks/discord/models/components"; let value: Nonce = ""; ``` diff --git a/docs/models/components/privatechannelrequestpartial.md b/docs/models/components/privatechannelrequestpartial.md index 77aa5d9..3703015 100644 --- a/docs/models/components/privatechannelrequestpartial.md +++ b/docs/models/components/privatechannelrequestpartial.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrivateChannelRequestPartial } from "discord/models/components"; +import { PrivateChannelRequestPartial } from "@speakeasy-sdks/discord/models/components"; let value: PrivateChannelRequestPartial = {}; ``` diff --git a/docs/models/components/privatechannelresponse.md b/docs/models/components/privatechannelresponse.md index 310770f..bc0ed01 100644 --- a/docs/models/components/privatechannelresponse.md +++ b/docs/models/components/privatechannelresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrivateChannelResponse } from "discord/models/components"; +import { PrivateChannelResponse } from "@speakeasy-sdks/discord/models/components"; let value: PrivateChannelResponse = { id: "", diff --git a/docs/models/components/privategroupchannelresponse.md b/docs/models/components/privategroupchannelresponse.md index 585ab51..0c4dc31 100644 --- a/docs/models/components/privategroupchannelresponse.md +++ b/docs/models/components/privategroupchannelresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PrivateGroupChannelResponse } from "discord/models/components"; +import { PrivateGroupChannelResponse } from "@speakeasy-sdks/discord/models/components"; let value: PrivateGroupChannelResponse = { id: "", diff --git a/docs/models/components/purchasenotificationresponse.md b/docs/models/components/purchasenotificationresponse.md index 44d5981..9f31cbd 100644 --- a/docs/models/components/purchasenotificationresponse.md +++ b/docs/models/components/purchasenotificationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { PurchaseNotificationResponse } from "discord/models/components"; +import { PurchaseNotificationResponse } from "@speakeasy-sdks/discord/models/components"; let value: PurchaseNotificationResponse = {}; ``` diff --git a/docs/models/components/recurrenceruleresponse.md b/docs/models/components/recurrenceruleresponse.md index 91b2a99..f4235d9 100644 --- a/docs/models/components/recurrenceruleresponse.md +++ b/docs/models/components/recurrenceruleresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RecurrenceRuleResponse } from "discord/models/components"; +import { RecurrenceRuleResponse } from "@speakeasy-sdks/discord/models/components"; let value: RecurrenceRuleResponse = { start: new Date("2022-11-06T22:57:15.343Z"), diff --git a/docs/models/components/resolvedobjectsresponse.md b/docs/models/components/resolvedobjectsresponse.md index ab32d7c..2c4cbd5 100644 --- a/docs/models/components/resolvedobjectsresponse.md +++ b/docs/models/components/resolvedobjectsresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResolvedObjectsResponse } from "discord/models/components"; +import { ResolvedObjectsResponse } from "@speakeasy-sdks/discord/models/components"; let value: ResolvedObjectsResponse = { users: { diff --git a/docs/models/components/richembed.md b/docs/models/components/richembed.md index 78e551e..e42490d 100644 --- a/docs/models/components/richembed.md +++ b/docs/models/components/richembed.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbed } from "discord/models/components"; +import { RichEmbed } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbed = {}; ``` diff --git a/docs/models/components/richembedauthor.md b/docs/models/components/richembedauthor.md index 5f2532f..8b7237a 100644 --- a/docs/models/components/richembedauthor.md +++ b/docs/models/components/richembedauthor.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedAuthor } from "discord/models/components"; +import { RichEmbedAuthor } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedAuthor = {}; ``` diff --git a/docs/models/components/richembedfield.md b/docs/models/components/richembedfield.md index 4422ebf..2ac980d 100644 --- a/docs/models/components/richembedfield.md +++ b/docs/models/components/richembedfield.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedField } from "discord/models/components"; +import { RichEmbedField } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedField = { name: "", diff --git a/docs/models/components/richembedfooter.md b/docs/models/components/richembedfooter.md index 8d87a07..fd724ea 100644 --- a/docs/models/components/richembedfooter.md +++ b/docs/models/components/richembedfooter.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedFooter } from "discord/models/components"; +import { RichEmbedFooter } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedFooter = {}; ``` diff --git a/docs/models/components/richembedimage.md b/docs/models/components/richembedimage.md index cff8d1e..55ed450 100644 --- a/docs/models/components/richembedimage.md +++ b/docs/models/components/richembedimage.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedImage } from "discord/models/components"; +import { RichEmbedImage } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedImage = {}; ``` diff --git a/docs/models/components/richembedprovider.md b/docs/models/components/richembedprovider.md index 541851d..e3e5a45 100644 --- a/docs/models/components/richembedprovider.md +++ b/docs/models/components/richembedprovider.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedProvider } from "discord/models/components"; +import { RichEmbedProvider } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedProvider = {}; ``` diff --git a/docs/models/components/richembedthumbnail.md b/docs/models/components/richembedthumbnail.md index 1ef22f7..d8b4880 100644 --- a/docs/models/components/richembedthumbnail.md +++ b/docs/models/components/richembedthumbnail.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedThumbnail } from "discord/models/components"; +import { RichEmbedThumbnail } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedThumbnail = {}; ``` diff --git a/docs/models/components/richembedvideo.md b/docs/models/components/richembedvideo.md index 68f5cb9..260bcba 100644 --- a/docs/models/components/richembedvideo.md +++ b/docs/models/components/richembedvideo.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RichEmbedVideo } from "discord/models/components"; +import { RichEmbedVideo } from "@speakeasy-sdks/discord/models/components"; let value: RichEmbedVideo = {}; ``` diff --git a/docs/models/components/roleselect.md b/docs/models/components/roleselect.md index fc2d35b..66266d2 100644 --- a/docs/models/components/roleselect.md +++ b/docs/models/components/roleselect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RoleSelect } from "discord/models/components"; +import { RoleSelect } from "@speakeasy-sdks/discord/models/components"; let value: RoleSelect = { customId: "", diff --git a/docs/models/components/roleselectdefaultvalue.md b/docs/models/components/roleselectdefaultvalue.md index 15ec03d..4046c3d 100644 --- a/docs/models/components/roleselectdefaultvalue.md +++ b/docs/models/components/roleselectdefaultvalue.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { RoleSelectDefaultValue } from "discord/models/components"; +import { RoleSelectDefaultValue } from "@speakeasy-sdks/discord/models/components"; let value: RoleSelectDefaultValue = { id: "", diff --git a/docs/models/components/scheduledeventresponse.md b/docs/models/components/scheduledeventresponse.md index ee52033..cfcb603 100644 --- a/docs/models/components/scheduledeventresponse.md +++ b/docs/models/components/scheduledeventresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ScheduledEventResponse } from "discord/models/components"; +import { ScheduledEventResponse } from "@speakeasy-sdks/discord/models/components"; let value: ScheduledEventResponse = { id: "", diff --git a/docs/models/components/scheduledeventuserresponse.md b/docs/models/components/scheduledeventuserresponse.md index 9363ec1..92f2979 100644 --- a/docs/models/components/scheduledeventuserresponse.md +++ b/docs/models/components/scheduledeventuserresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ScheduledEventUserResponse } from "discord/models/components"; +import { ScheduledEventUserResponse } from "@speakeasy-sdks/discord/models/components"; let value: ScheduledEventUserResponse = { guildScheduledEventId: "", diff --git a/docs/models/components/security.md b/docs/models/components/security.md index 7c1b3e4..8c10804 100644 --- a/docs/models/components/security.md +++ b/docs/models/components/security.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Security } from "discord/models/components"; +import { Security } from "@speakeasy-sdks/discord/models/components"; let value: Security = { botToken: "", diff --git a/docs/models/components/selectoption.md b/docs/models/components/selectoption.md index 77af922..58206e1 100644 --- a/docs/models/components/selectoption.md +++ b/docs/models/components/selectoption.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SelectOption } from "discord/models/components"; +import { SelectOption } from "@speakeasy-sdks/discord/models/components"; let value: SelectOption = { label: "", diff --git a/docs/models/components/selectoptionresponse.md b/docs/models/components/selectoptionresponse.md index aabef39..0f731c3 100644 --- a/docs/models/components/selectoptionresponse.md +++ b/docs/models/components/selectoptionresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { SelectOptionResponse } from "discord/models/components"; +import { SelectOptionResponse } from "@speakeasy-sdks/discord/models/components"; let value: SelectOptionResponse = { label: "", diff --git a/docs/models/components/standardstickerresponse.md b/docs/models/components/standardstickerresponse.md index e0a8628..c2bcba1 100644 --- a/docs/models/components/standardstickerresponse.md +++ b/docs/models/components/standardstickerresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { StandardStickerResponse } from "discord/models/components"; +import { StandardStickerResponse } from "@speakeasy-sdks/discord/models/components"; let value: StandardStickerResponse = { id: "", diff --git a/docs/models/components/stickers.md b/docs/models/components/stickers.md index 434bae9..0f8233d 100644 --- a/docs/models/components/stickers.md +++ b/docs/models/components/stickers.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Stickers } from "discord/models/components"; +import { Stickers } from "@speakeasy-sdks/discord/models/components"; let value: Stickers = { id: "", diff --git a/docs/models/components/stringselect.md b/docs/models/components/stringselect.md index 2547276..0add5f9 100644 --- a/docs/models/components/stringselect.md +++ b/docs/models/components/stringselect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { StringSelect } from "discord/models/components"; +import { StringSelect } from "@speakeasy-sdks/discord/models/components"; let value: StringSelect = { customId: "", diff --git a/docs/models/components/threadmemberresponse.md b/docs/models/components/threadmemberresponse.md index c7b35eb..6fbd01e 100644 --- a/docs/models/components/threadmemberresponse.md +++ b/docs/models/components/threadmemberresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ThreadMemberResponse } from "discord/models/components"; +import { ThreadMemberResponse } from "@speakeasy-sdks/discord/models/components"; let value: ThreadMemberResponse = { id: "", diff --git a/docs/models/components/threadmetadataresponse.md b/docs/models/components/threadmetadataresponse.md index ffb0870..0bfbdea 100644 --- a/docs/models/components/threadmetadataresponse.md +++ b/docs/models/components/threadmetadataresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ThreadMetadataResponse } from "discord/models/components"; +import { ThreadMetadataResponse } from "@speakeasy-sdks/discord/models/components"; let value: ThreadMetadataResponse = { archived: false, diff --git a/docs/models/components/threadresponse.md b/docs/models/components/threadresponse.md index 9549788..4f41cee 100644 --- a/docs/models/components/threadresponse.md +++ b/docs/models/components/threadresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ThreadResponse } from "discord/models/components"; +import { ThreadResponse } from "@speakeasy-sdks/discord/models/components"; let value: ThreadResponse = { id: "", diff --git a/docs/models/components/triggeringinteractionmetadata.md b/docs/models/components/triggeringinteractionmetadata.md index c03d388..a5774e1 100644 --- a/docs/models/components/triggeringinteractionmetadata.md +++ b/docs/models/components/triggeringinteractionmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TriggeringInteractionMetadata } from "discord/models/components"; +import { TriggeringInteractionMetadata } from "@speakeasy-sdks/discord/models/components"; let value: TriggeringInteractionMetadata = { id: "", diff --git a/docs/models/components/updatedefaultreactionemojirequest.md b/docs/models/components/updatedefaultreactionemojirequest.md index 07ee5b6..01bb12f 100644 --- a/docs/models/components/updatedefaultreactionemojirequest.md +++ b/docs/models/components/updatedefaultreactionemojirequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateDefaultReactionEmojiRequest } from "discord/models/components"; +import { UpdateDefaultReactionEmojiRequest } from "@speakeasy-sdks/discord/models/components"; let value: UpdateDefaultReactionEmojiRequest = {}; ``` diff --git a/docs/models/components/updateguildchannelrequestpartial.md b/docs/models/components/updateguildchannelrequestpartial.md index 142d64c..b9c3a4b 100644 --- a/docs/models/components/updateguildchannelrequestpartial.md +++ b/docs/models/components/updateguildchannelrequestpartial.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateGuildChannelRequestPartial } from "discord/models/components"; +import { UpdateGuildChannelRequestPartial } from "@speakeasy-sdks/discord/models/components"; let value: UpdateGuildChannelRequestPartial = {}; ``` diff --git a/docs/models/components/updatethreadrequestpartial.md b/docs/models/components/updatethreadrequestpartial.md index 57dab7c..68dbcbb 100644 --- a/docs/models/components/updatethreadrequestpartial.md +++ b/docs/models/components/updatethreadrequestpartial.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateThreadRequestPartial } from "discord/models/components"; +import { UpdateThreadRequestPartial } from "@speakeasy-sdks/discord/models/components"; let value: UpdateThreadRequestPartial = {}; ``` diff --git a/docs/models/components/updatethreadtagrequest.md b/docs/models/components/updatethreadtagrequest.md index db1af7c..96ba7ae 100644 --- a/docs/models/components/updatethreadtagrequest.md +++ b/docs/models/components/updatethreadtagrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateThreadTagRequest } from "discord/models/components"; +import { UpdateThreadTagRequest } from "@speakeasy-sdks/discord/models/components"; let value: UpdateThreadTagRequest = { name: "", diff --git a/docs/models/components/useravatardecorationresponse.md b/docs/models/components/useravatardecorationresponse.md index fad19fb..b5af7c9 100644 --- a/docs/models/components/useravatardecorationresponse.md +++ b/docs/models/components/useravatardecorationresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserAvatarDecorationResponse } from "discord/models/components"; +import { UserAvatarDecorationResponse } from "@speakeasy-sdks/discord/models/components"; let value: UserAvatarDecorationResponse = {}; ``` diff --git a/docs/models/components/userresponse.md b/docs/models/components/userresponse.md index 3c31e68..8788573 100644 --- a/docs/models/components/userresponse.md +++ b/docs/models/components/userresponse.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserResponse } from "discord/models/components"; +import { UserResponse } from "@speakeasy-sdks/discord/models/components"; let value: UserResponse = { id: "", diff --git a/docs/models/components/userselect.md b/docs/models/components/userselect.md index 98e174e..0ec939e 100644 --- a/docs/models/components/userselect.md +++ b/docs/models/components/userselect.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserSelect } from "discord/models/components"; +import { UserSelect } from "@speakeasy-sdks/discord/models/components"; let value: UserSelect = { customId: "", diff --git a/docs/models/components/userselectdefaultvalue.md b/docs/models/components/userselectdefaultvalue.md index bab7177..0b8b1ae 100644 --- a/docs/models/components/userselectdefaultvalue.md +++ b/docs/models/components/userselectdefaultvalue.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UserSelectDefaultValue } from "discord/models/components"; +import { UserSelectDefaultValue } from "@speakeasy-sdks/discord/models/components"; let value: UserSelectDefaultValue = { id: "", diff --git a/docs/models/errors/errorresponse.md b/docs/models/errors/errorresponse.md index 6b40261..c3b528a 100644 --- a/docs/models/errors/errorresponse.md +++ b/docs/models/errors/errorresponse.md @@ -5,7 +5,7 @@ Errors object returned by the Discord API ## Example Usage ```typescript -import { ErrorResponse } from "discord/models/errors"; +import { ErrorResponse } from "@speakeasy-sdks/discord/models/errors"; // No examples available for this model ``` diff --git a/docs/models/operations/createchannelinviterequest.md b/docs/models/operations/createchannelinviterequest.md index 90d1a96..8d32a03 100644 --- a/docs/models/operations/createchannelinviterequest.md +++ b/docs/models/operations/createchannelinviterequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateChannelInviteRequest } from "discord/models/operations"; +import { CreateChannelInviteRequest } from "@speakeasy-sdks/discord/models/operations"; let value: CreateChannelInviteRequest = { channelId: "", diff --git a/docs/models/operations/createchannelinviterequestbody.md b/docs/models/operations/createchannelinviterequestbody.md index e4a1cbb..b2b2ed1 100644 --- a/docs/models/operations/createchannelinviterequestbody.md +++ b/docs/models/operations/createchannelinviterequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateChannelInviteRequestBody } from "discord/models/operations"; +import { CreateChannelInviteRequestBody } from "@speakeasy-sdks/discord/models/operations"; let value: CreateChannelInviteRequestBody = {}; ``` diff --git a/docs/models/operations/createchannelinviteresponsebody.md b/docs/models/operations/createchannelinviteresponsebody.md index abc5e1b..1858392 100644 --- a/docs/models/operations/createchannelinviteresponsebody.md +++ b/docs/models/operations/createchannelinviteresponsebody.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { CreateChannelInviteResponseBody } from "discord/models/operations"; +import { CreateChannelInviteResponseBody } from "@speakeasy-sdks/discord/models/operations"; let value: CreateChannelInviteResponseBody = { code: "", diff --git a/docs/models/operations/createmessagerequest.md b/docs/models/operations/createmessagerequest.md index a7ec072..69a4408 100644 --- a/docs/models/operations/createmessagerequest.md +++ b/docs/models/operations/createmessagerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateMessageRequest } from "discord/models/operations"; +import { CreateMessageRequest } from "@speakeasy-sdks/discord/models/operations"; let value: CreateMessageRequest = { channelId: "", diff --git a/docs/models/operations/createthreadrequest.md b/docs/models/operations/createthreadrequest.md index 392faa4..5e73dbc 100644 --- a/docs/models/operations/createthreadrequest.md +++ b/docs/models/operations/createthreadrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateThreadRequest } from "discord/models/operations"; +import { CreateThreadRequest } from "@speakeasy-sdks/discord/models/operations"; let value: CreateThreadRequest = { channelId: "", diff --git a/docs/models/operations/createthreadrequestbody.md b/docs/models/operations/createthreadrequestbody.md index 23c9962..25aeede 100644 --- a/docs/models/operations/createthreadrequestbody.md +++ b/docs/models/operations/createthreadrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { CreateThreadRequestBody } from "discord/models/operations"; +import { CreateThreadRequestBody } from "@speakeasy-sdks/discord/models/operations"; let value: CreateThreadRequestBody = { name: "", diff --git a/docs/models/operations/deletechannelrequest.md b/docs/models/operations/deletechannelrequest.md index 71084cc..e30a76d 100644 --- a/docs/models/operations/deletechannelrequest.md +++ b/docs/models/operations/deletechannelrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteChannelRequest } from "discord/models/operations"; +import { DeleteChannelRequest } from "@speakeasy-sdks/discord/models/operations"; let value: DeleteChannelRequest = { channelId: "", diff --git a/docs/models/operations/deletechannelresponsebody.md b/docs/models/operations/deletechannelresponsebody.md index d7704bc..176b2a0 100644 --- a/docs/models/operations/deletechannelresponsebody.md +++ b/docs/models/operations/deletechannelresponsebody.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { DeleteChannelResponseBody } from "discord/models/operations"; +import { DeleteChannelResponseBody } from "@speakeasy-sdks/discord/models/operations"; let value: DeleteChannelResponseBody = { id: "", diff --git a/docs/models/operations/deletemessagerequest.md b/docs/models/operations/deletemessagerequest.md index 7461b8a..66f72e0 100644 --- a/docs/models/operations/deletemessagerequest.md +++ b/docs/models/operations/deletemessagerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { DeleteMessageRequest } from "discord/models/operations"; +import { DeleteMessageRequest } from "@speakeasy-sdks/discord/models/operations"; let value: DeleteMessageRequest = { channelId: "", diff --git a/docs/models/operations/getchannelrequest.md b/docs/models/operations/getchannelrequest.md index 22bacb4..24f87ce 100644 --- a/docs/models/operations/getchannelrequest.md +++ b/docs/models/operations/getchannelrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetChannelRequest } from "discord/models/operations"; +import { GetChannelRequest } from "@speakeasy-sdks/discord/models/operations"; let value: GetChannelRequest = { channelId: "", diff --git a/docs/models/operations/getchannelresponsebody.md b/docs/models/operations/getchannelresponsebody.md index c86a3a3..8d7b063 100644 --- a/docs/models/operations/getchannelresponsebody.md +++ b/docs/models/operations/getchannelresponsebody.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { GetChannelResponseBody } from "discord/models/operations"; +import { GetChannelResponseBody } from "@speakeasy-sdks/discord/models/operations"; let value: GetChannelResponseBody = { id: "", diff --git a/docs/models/operations/getmessagerequest.md b/docs/models/operations/getmessagerequest.md index 42cf81e..5a0590b 100644 --- a/docs/models/operations/getmessagerequest.md +++ b/docs/models/operations/getmessagerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { GetMessageRequest } from "discord/models/operations"; +import { GetMessageRequest } from "@speakeasy-sdks/discord/models/operations"; let value: GetMessageRequest = { channelId: "", diff --git a/docs/models/operations/listchannelinvitesrequest.md b/docs/models/operations/listchannelinvitesrequest.md index 6c7d403..3ce121c 100644 --- a/docs/models/operations/listchannelinvitesrequest.md +++ b/docs/models/operations/listchannelinvitesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListChannelInvitesRequest } from "discord/models/operations"; +import { ListChannelInvitesRequest } from "@speakeasy-sdks/discord/models/operations"; let value: ListChannelInvitesRequest = { channelId: "", diff --git a/docs/models/operations/listmessagesrequest.md b/docs/models/operations/listmessagesrequest.md index e911690..ad7949a 100644 --- a/docs/models/operations/listmessagesrequest.md +++ b/docs/models/operations/listmessagesrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ListMessagesRequest } from "discord/models/operations"; +import { ListMessagesRequest } from "@speakeasy-sdks/discord/models/operations"; let value: ListMessagesRequest = { channelId: "", diff --git a/docs/models/operations/responsebody.md b/docs/models/operations/responsebody.md index f6aded9..95b425f 100644 --- a/docs/models/operations/responsebody.md +++ b/docs/models/operations/responsebody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBody } from "discord/models/operations"; +import { ResponseBody } from "@speakeasy-sdks/discord/models/operations"; let value: ResponseBody = { code: "", diff --git a/docs/models/operations/updatechannelrequest.md b/docs/models/operations/updatechannelrequest.md index 26975d3..6ba822e 100644 --- a/docs/models/operations/updatechannelrequest.md +++ b/docs/models/operations/updatechannelrequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateChannelRequest } from "discord/models/operations"; +import { UpdateChannelRequest } from "@speakeasy-sdks/discord/models/operations"; let value: UpdateChannelRequest = { channelId: "", diff --git a/docs/models/operations/updatechannelrequestbody.md b/docs/models/operations/updatechannelrequestbody.md index 697073c..0c6ab63 100644 --- a/docs/models/operations/updatechannelrequestbody.md +++ b/docs/models/operations/updatechannelrequestbody.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateChannelRequestBody } from "discord/models/operations"; +import { UpdateChannelRequestBody } from "@speakeasy-sdks/discord/models/operations"; let value: UpdateChannelRequestBody = {}; ``` diff --git a/docs/models/operations/updatechannelresponsebody.md b/docs/models/operations/updatechannelresponsebody.md index 98a93a8..3b5d2e3 100644 --- a/docs/models/operations/updatechannelresponsebody.md +++ b/docs/models/operations/updatechannelresponsebody.md @@ -5,7 +5,7 @@ ## Example Usage ```typescript -import { UpdateChannelResponseBody } from "discord/models/operations"; +import { UpdateChannelResponseBody } from "@speakeasy-sdks/discord/models/operations"; let value: UpdateChannelResponseBody = { id: "", diff --git a/docs/models/operations/updatemessagerequest.md b/docs/models/operations/updatemessagerequest.md index fbfbcd9..195ac08 100644 --- a/docs/models/operations/updatemessagerequest.md +++ b/docs/models/operations/updatemessagerequest.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { UpdateMessageRequest } from "discord/models/operations"; +import { UpdateMessageRequest } from "@speakeasy-sdks/discord/models/operations"; let value: UpdateMessageRequest = { channelId: "", diff --git a/docs/sdks/channelinvites/README.md b/docs/sdks/channelinvites/README.md index 0a803ab..824fb67 100644 --- a/docs/sdks/channelinvites/README.md +++ b/docs/sdks/channelinvites/README.md @@ -11,7 +11,7 @@ ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -35,8 +35,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { channelInvitesList } from "discord/funcs/channelInvitesList.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { channelInvitesList } from "@speakeasy-sdks/discord/funcs/channelInvitesList.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -87,7 +87,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -112,8 +112,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { channelInvitesCreate } from "discord/funcs/channelInvitesCreate.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { channelInvitesCreate } from "@speakeasy-sdks/discord/funcs/channelInvitesCreate.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. diff --git a/docs/sdks/channels/README.md b/docs/sdks/channels/README.md index 77d324c..4c73b8c 100644 --- a/docs/sdks/channels/README.md +++ b/docs/sdks/channels/README.md @@ -12,7 +12,7 @@ ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -36,8 +36,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { channelsGet } from "discord/funcs/channelsGet.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { channelsGet } from "@speakeasy-sdks/discord/funcs/channelsGet.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -88,7 +88,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -112,8 +112,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { channelsDelete } from "discord/funcs/channelsDelete.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { channelsDelete } from "@speakeasy-sdks/discord/funcs/channelsDelete.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -164,7 +164,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -189,8 +189,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { channelsUpdate } from "discord/funcs/channelsUpdate.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { channelsUpdate } from "@speakeasy-sdks/discord/funcs/channelsUpdate.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. diff --git a/docs/sdks/messages/README.md b/docs/sdks/messages/README.md index 255c1b9..a0df63e 100644 --- a/docs/sdks/messages/README.md +++ b/docs/sdks/messages/README.md @@ -14,7 +14,7 @@ ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -39,8 +39,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { messagesGet } from "discord/funcs/messagesGet.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { messagesGet } from "@speakeasy-sdks/discord/funcs/messagesGet.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -92,7 +92,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -116,8 +116,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { messagesDelete } from "discord/funcs/messagesDelete.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { messagesDelete } from "@speakeasy-sdks/discord/funcs/messagesDelete.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -168,7 +168,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -194,8 +194,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { messagesUpdate } from "discord/funcs/messagesUpdate.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { messagesUpdate } from "@speakeasy-sdks/discord/funcs/messagesUpdate.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -248,7 +248,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -272,8 +272,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { messagesList } from "discord/funcs/messagesList.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { messagesList } from "@speakeasy-sdks/discord/funcs/messagesList.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -324,7 +324,7 @@ run(); ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -349,8 +349,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { messagesCreate } from "discord/funcs/messagesCreate.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { messagesCreate } from "@speakeasy-sdks/discord/funcs/messagesCreate.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. diff --git a/docs/sdks/threads/README.md b/docs/sdks/threads/README.md index 7dcc3d5..d988b63 100644 --- a/docs/sdks/threads/README.md +++ b/docs/sdks/threads/README.md @@ -10,7 +10,7 @@ ### Example Usage ```typescript -import { Discord } from "discord"; +import { Discord } from "@speakeasy-sdks/discord"; const discord = new Discord({ botToken: "", @@ -38,8 +38,8 @@ run(); The standalone function version of this method: ```typescript -import { DiscordCore } from "discord/core.js"; -import { threadsCreate } from "discord/funcs/threadsCreate.js"; +import { DiscordCore } from "@speakeasy-sdks/discord/core.js"; +import { threadsCreate } from "@speakeasy-sdks/discord/funcs/threadsCreate.js"; // Use `DiscordCore` for best tree-shaking performance. // You can create one instance of it to use across an application. diff --git a/jsr.json b/jsr.json index 415ce86..c826a41 100644 --- a/jsr.json +++ b/jsr.json @@ -1,8 +1,8 @@ { - "name": "discord", - "version": "1", + "name": "@speakeasy-sdks/discord", + "version": "1.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 112142a..1e38610 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "discord", - "version": "1", + "name": "@speakeasy-sdks/discord", + "version": "1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "discord", - "version": "1", + "name": "@speakeasy-sdks/discord", + "version": "1.1", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index 4d0bf91..2ed6f0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "discord", - "version": "1", + "name": "@speakeasy-sdks/discord", + "version": "1.1", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index 69804c5..038141b 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "10", - sdkVersion: "1", + sdkVersion: "1.1", genVersion: "2.399.0", - userAgent: "speakeasy-sdk/typescript 1 2.399.0 10 discord", + userAgent: "speakeasy-sdk/typescript 1.1 2.399.0 10 @speakeasy-sdks/discord", } as const;