@steamsets/client-ts 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -37
- package/docs/sdks/account/README.md +122 -36
- package/docs/sdks/connection/README.md +4 -4
- package/docs/sdks/liveness/README.md +1 -1
- package/docs/sdks/session/README.md +84 -10
- package/docs/sdks/settings/README.md +18 -14
- package/funcs/accountAccountV1ConnectionConnect.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +5 -2
- package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +2 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -2
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetApps.d.ts +2 -2
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +11 -5
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +2 -2
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +11 -5
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.d.ts +13 -0
- package/funcs/accountAccountV1SessionCreate.d.ts.map +1 -0
- package/funcs/accountAccountV1SessionCreate.js +112 -0
- package/funcs/accountAccountV1SessionCreate.js.map +1 -0
- package/funcs/accountAccountV1SessionDelete.d.ts +2 -1
- package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionDelete.js +5 -2
- package/funcs/accountAccountV1SessionDelete.js.map +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts +2 -2
- package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionGet.js +4 -2
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.d.ts +1 -2
- package/funcs/accountAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +9 -15
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +2 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js +5 -2
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +2 -2
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +5 -3
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts +2 -2
- package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGet.js +4 -2
- package/funcs/accountAccountV1SettingsGet.js.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsSendEmailVerification.js +2 -3
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -2
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +4 -3
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +2 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js +5 -2
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +2 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.js +3 -3
- package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +2 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -2
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +5 -2
- package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +2 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -2
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/livenessLiveness.d.ts +2 -2
- package/funcs/livenessLiveness.d.ts.map +1 -1
- package/funcs/livenessLiveness.js +2 -2
- package/funcs/livenessLiveness.js.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.d.ts +13 -0
- package/funcs/sessionAccountV1SessionCreate.d.ts.map +1 -0
- package/funcs/sessionAccountV1SessionCreate.js +112 -0
- package/funcs/sessionAccountV1SessionCreate.js.map +1 -0
- package/funcs/sessionAccountV1SessionDelete.d.ts +2 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.js +5 -2
- package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts +2 -2
- package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionGet.js +4 -2
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.d.ts +1 -2
- package/funcs/sessionAccountV1SessionLogin.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +9 -15
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -2
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +2 -2
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +5 -3
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +2 -2
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.js +4 -2
- package/funcs/settingsAccountV1SettingsGet.js.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js +2 -3
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -2
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +4 -3
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -2
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js +3 -3
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +2 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -2
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/matchers.d.ts +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +10 -14
- package/lib/matchers.js.map +1 -1
- package/models/components/accountsearchvanitystruct.d.ts +4 -4
- package/models/components/accountsearchvanitystruct.d.ts.map +1 -1
- package/models/components/accountsearchvanitystruct.js +4 -4
- package/models/components/accountsearchvanitystruct.js.map +1 -1
- package/models/components/httpmetadata.d.ts +33 -0
- package/models/components/httpmetadata.d.ts.map +1 -0
- package/models/components/httpmetadata.js +71 -0
- package/models/components/httpmetadata.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/security.d.ts +2 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +2 -2
- package/models/components/security.js.map +1 -1
- package/models/components/v1createsessionbody.d.ts +33 -0
- package/models/components/v1createsessionbody.d.ts.map +1 -0
- package/models/components/v1createsessionbody.js +65 -0
- package/models/components/v1createsessionbody.js.map +1 -0
- package/models/errors/sdkerror.d.ts +8 -5
- package/models/errors/sdkerror.d.ts.map +1 -1
- package/models/errors/sdkerror.js +3 -9
- package/models/errors/sdkerror.js.map +1 -1
- package/models/operations/accountv1connectionconnect.d.ts +31 -0
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -0
- package/models/operations/accountv1connectionconnect.js +68 -0
- package/models/operations/accountv1connectionconnect.js.map +1 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts +31 -0
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectiondeleteconnection.js +68 -0
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts +31 -0
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectionupdateconnection.js +68 -0
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts +31 -0
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -0
- package/models/operations/accountv1connectionverifyconnection.js +68 -0
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -0
- package/models/operations/accountv1getapps.d.ts +56 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -0
- package/models/operations/accountv1getapps.js +103 -0
- package/models/operations/accountv1getapps.js.map +1 -0
- package/models/operations/accountv1getbadges.d.ts +56 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -0
- package/models/operations/accountv1getbadges.js +103 -0
- package/models/operations/accountv1getbadges.js.map +1 -0
- package/models/operations/accountv1sessioncreate.d.ts +60 -0
- package/models/operations/accountv1sessioncreate.d.ts.map +1 -0
- package/models/operations/accountv1sessioncreate.js +111 -0
- package/models/operations/accountv1sessioncreate.js.map +1 -0
- package/models/operations/accountv1sessiondelete.d.ts +31 -0
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -0
- package/models/operations/accountv1sessiondelete.js +68 -0
- package/models/operations/accountv1sessiondelete.js.map +1 -0
- package/models/operations/accountv1sessionget.d.ts +31 -0
- package/models/operations/accountv1sessionget.d.ts.map +1 -0
- package/models/operations/accountv1sessionget.js +68 -0
- package/models/operations/accountv1sessionget.js.map +1 -0
- package/models/operations/accountv1sessionlogin.d.ts +27 -22
- package/models/operations/accountv1sessionlogin.d.ts.map +1 -1
- package/models/operations/accountv1sessionlogin.js +36 -20
- package/models/operations/accountv1sessionlogin.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +31 -0
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -0
- package/models/operations/accountv1settingsdeleteimages.js +68 -0
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -0
- package/models/operations/accountv1settingsgenerateapikey.d.ts +31 -0
- package/models/operations/accountv1settingsgenerateapikey.d.ts.map +1 -0
- package/models/operations/accountv1settingsgenerateapikey.js +68 -0
- package/models/operations/accountv1settingsgenerateapikey.js.map +1 -0
- package/models/operations/accountv1settingsget.d.ts +31 -0
- package/models/operations/accountv1settingsget.d.ts.map +1 -0
- package/models/operations/accountv1settingsget.js +68 -0
- package/models/operations/accountv1settingsget.js.map +1 -0
- package/models/operations/accountv1settingssendemailverification.d.ts +24 -0
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +33 -1
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +28 -0
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +36 -1
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +31 -0
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -0
- package/models/operations/accountv1settingsupdateimage.js +68 -0
- package/models/operations/accountv1settingsupdateimage.js.map +1 -0
- package/models/operations/accountv1settingsuploadimages.d.ts +26 -0
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -0
- package/models/operations/accountv1settingsuploadimages.js +64 -0
- package/models/operations/accountv1settingsuploadimages.js.map +1 -0
- package/models/operations/accountv1settingsverfyemail.d.ts +31 -0
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -0
- package/models/operations/accountv1settingsverfyemail.js +68 -0
- package/models/operations/accountv1settingsverfyemail.js.map +1 -0
- package/models/operations/index.d.ts +16 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +16 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/liveness.d.ts +31 -0
- package/models/operations/liveness.d.ts.map +1 -0
- package/models/operations/liveness.js +68 -0
- package/models/operations/liveness.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +21 -17
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +9 -2
- package/sdk/account.js.map +1 -1
- package/sdk/connection.d.ts +5 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js.map +1 -1
- package/sdk/liveness.d.ts +2 -2
- package/sdk/liveness.d.ts.map +1 -1
- package/sdk/session.d.ts +7 -3
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +9 -2
- package/sdk/session.js.map +1 -1
- package/sdk/settings.d.ts +8 -8
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +7 -4
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +7 -4
- package/src/funcs/accountAccountV1GetApps.ts +15 -9
- package/src/funcs/accountAccountV1GetBadges.ts +15 -9
- package/src/funcs/accountAccountV1SessionCreate.ts +146 -0
- package/src/funcs/accountAccountV1SessionDelete.ts +7 -4
- package/src/funcs/accountAccountV1SessionGet.ts +7 -5
- package/src/funcs/accountAccountV1SessionLogin.ts +11 -18
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +7 -4
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +7 -5
- package/src/funcs/accountAccountV1SettingsGet.ts +7 -5
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +4 -5
- package/src/funcs/accountAccountV1SettingsUpdate.ts +6 -5
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +7 -4
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -5
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +7 -4
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +7 -4
- package/src/funcs/livenessLiveness.ts +5 -5
- package/src/funcs/sessionAccountV1SessionCreate.ts +146 -0
- package/src/funcs/sessionAccountV1SessionDelete.ts +7 -4
- package/src/funcs/sessionAccountV1SessionGet.ts +7 -5
- package/src/funcs/sessionAccountV1SessionLogin.ts +11 -18
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +7 -4
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +7 -5
- package/src/funcs/settingsAccountV1SettingsGet.ts +7 -5
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +4 -5
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +6 -5
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +7 -4
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -5
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +7 -4
- package/src/lib/config.ts +2 -2
- package/src/lib/matchers.ts +12 -19
- package/src/models/components/accountsearchvanitystruct.ts +8 -8
- package/src/models/components/httpmetadata.ts +70 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/security.ts +4 -4
- package/src/models/components/v1createsessionbody.ts +68 -0
- package/src/models/errors/sdkerror.ts +9 -13
- package/src/models/operations/accountv1connectionconnect.ts +68 -0
- package/src/models/operations/accountv1connectiondeleteconnection.ts +70 -0
- package/src/models/operations/accountv1connectionupdateconnection.ts +70 -0
- package/src/models/operations/accountv1connectionverifyconnection.ts +70 -0
- package/src/models/operations/accountv1getapps.ts +126 -0
- package/src/models/operations/accountv1getbadges.ts +126 -0
- package/src/models/operations/accountv1sessioncreate.ts +138 -0
- package/src/models/operations/accountv1sessiondelete.ts +70 -0
- package/src/models/operations/accountv1sessionget.ts +68 -0
- package/src/models/operations/accountv1sessionlogin.ts +59 -38
- package/src/models/operations/accountv1settingsdeleteimages.ts +68 -0
- package/src/models/operations/accountv1settingsgenerateapikey.ts +70 -0
- package/src/models/operations/accountv1settingsget.ts +68 -0
- package/src/models/operations/accountv1settingssendemailverification.ts +53 -0
- package/src/models/operations/accountv1settingsupdate.ts +63 -0
- package/src/models/operations/accountv1settingsupdateimage.ts +68 -0
- package/src/models/operations/accountv1settingsuploadimages.ts +59 -0
- package/src/models/operations/accountv1settingsverfyemail.ts +68 -0
- package/src/models/operations/index.ts +16 -0
- package/src/models/operations/liveness.ts +64 -0
- package/src/sdk/account.ts +35 -21
- package/src/sdk/connection.ts +5 -4
- package/src/sdk/liveness.ts +2 -2
- package/src/sdk/session.ts +17 -5
- package/src/sdk/settings.ts +10 -8
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
import * as errors from "../models/errors/index.js";
|
|
21
21
|
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
22
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
+
import * as operations from "../models/operations/index.js";
|
|
23
24
|
import { Result } from "../types/fp.js";
|
|
24
25
|
|
|
25
26
|
/**
|
|
@@ -31,7 +32,7 @@ export async function settingsAccountV1SettingsVerfyEmail(
|
|
|
31
32
|
options?: RequestOptions
|
|
32
33
|
): Promise<
|
|
33
34
|
Result<
|
|
34
|
-
|
|
35
|
+
operations.AccountV1SettingsVerfyEmailResponse,
|
|
35
36
|
| errors.ErrorModel
|
|
36
37
|
| SDKError
|
|
37
38
|
| SDKValidationError
|
|
@@ -105,7 +106,7 @@ export async function settingsAccountV1SettingsVerfyEmail(
|
|
|
105
106
|
};
|
|
106
107
|
|
|
107
108
|
const [result$] = await m$.match<
|
|
108
|
-
|
|
109
|
+
operations.AccountV1SettingsVerfyEmailResponse,
|
|
109
110
|
| errors.ErrorModel
|
|
110
111
|
| SDKError
|
|
111
112
|
| SDKValidationError
|
|
@@ -115,12 +116,14 @@ export async function settingsAccountV1SettingsVerfyEmail(
|
|
|
115
116
|
| RequestTimeoutError
|
|
116
117
|
| ConnectionError
|
|
117
118
|
>(
|
|
118
|
-
m$.json(200,
|
|
119
|
+
m$.json(200, operations.AccountV1SettingsVerfyEmailResponse$inboundSchema, {
|
|
120
|
+
key: "V1VerifyEmailResponseBody",
|
|
121
|
+
}),
|
|
119
122
|
m$.jsonErr([404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
120
123
|
ctype: "application/problem+json",
|
|
121
124
|
}),
|
|
122
125
|
m$.fail(["4XX", "5XX"])
|
|
123
|
-
)(response, { extraFields: responseFields$ });
|
|
126
|
+
)(response, request$, { extraFields: responseFields$ });
|
|
124
127
|
if (!result$.ok) {
|
|
125
128
|
return result$;
|
|
126
129
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
52
52
|
export const SDK_METADATA = {
|
|
53
53
|
language: "typescript",
|
|
54
54
|
openapiDocVersion: "1.0.0",
|
|
55
|
-
sdkVersion: "0.
|
|
55
|
+
sdkVersion: "0.5.0",
|
|
56
56
|
genVersion: "2.404.3",
|
|
57
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
57
|
+
userAgent: "speakeasy-sdk/typescript 0.5.0 2.404.3 1.0.0 @steamsets/client-ts",
|
|
58
58
|
} as const;
|
package/src/lib/matchers.ts
CHANGED
|
@@ -143,6 +143,8 @@ export type MatchedValue<Matchers> = Matchers extends Matcher<infer T, any>[] ?
|
|
|
143
143
|
export type MatchedError<Matchers> = Matchers extends Matcher<any, infer E>[] ? E : never;
|
|
144
144
|
export type MatchFunc<T, E> = (
|
|
145
145
|
response: Response,
|
|
146
|
+
request: Request,
|
|
147
|
+
|
|
146
148
|
options?: { resultKey?: string; extraFields?: Record<string, unknown> }
|
|
147
149
|
) => Promise<[result: Result<T, E>, raw: unknown]>;
|
|
148
150
|
|
|
@@ -151,6 +153,8 @@ export function match<T, E>(
|
|
|
151
153
|
): MatchFunc<T, E | SDKError | SDKValidationError> {
|
|
152
154
|
return async function matchFunc(
|
|
153
155
|
response: Response,
|
|
156
|
+
request: Request,
|
|
157
|
+
|
|
154
158
|
options?: { resultKey?: string; extraFields?: Record<string, unknown> }
|
|
155
159
|
): Promise<[result: Result<T, E | SDKError | SDKValidationError>, raw: unknown]> {
|
|
156
160
|
let raw: unknown;
|
|
@@ -168,17 +172,16 @@ export function match<T, E>(
|
|
|
168
172
|
}
|
|
169
173
|
|
|
170
174
|
if (!matcher) {
|
|
171
|
-
|
|
175
|
+
await discardResponseBody(response);
|
|
172
176
|
return [
|
|
173
177
|
{
|
|
174
178
|
ok: false,
|
|
175
|
-
error: new SDKError(
|
|
176
|
-
"Unexpected API response status or content-type",
|
|
179
|
+
error: new SDKError("Unexpected API response status or content-type", {
|
|
177
180
|
response,
|
|
178
|
-
|
|
179
|
-
),
|
|
181
|
+
request,
|
|
182
|
+
}),
|
|
180
183
|
},
|
|
181
|
-
|
|
184
|
+
raw,
|
|
182
185
|
];
|
|
183
186
|
}
|
|
184
187
|
|
|
@@ -203,7 +206,7 @@ export function match<T, E>(
|
|
|
203
206
|
raw = await discardResponseBody(response);
|
|
204
207
|
break;
|
|
205
208
|
case "fail":
|
|
206
|
-
raw = await response
|
|
209
|
+
raw = await discardResponseBody(response);
|
|
207
210
|
break;
|
|
208
211
|
default:
|
|
209
212
|
encoding satisfies never;
|
|
@@ -212,14 +215,7 @@ export function match<T, E>(
|
|
|
212
215
|
|
|
213
216
|
if (matcher.enc === "fail") {
|
|
214
217
|
return [
|
|
215
|
-
{
|
|
216
|
-
ok: false,
|
|
217
|
-
error: new SDKError(
|
|
218
|
-
"API error occurred",
|
|
219
|
-
response,
|
|
220
|
-
typeof raw === "string" ? raw : ""
|
|
221
|
-
),
|
|
222
|
-
},
|
|
218
|
+
{ ok: false, error: new SDKError("API error occurred", { response, request }) },
|
|
223
219
|
raw,
|
|
224
220
|
];
|
|
225
221
|
}
|
|
@@ -239,14 +235,11 @@ export function match<T, E>(
|
|
|
239
235
|
...(matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null),
|
|
240
236
|
[resultKey]: raw,
|
|
241
237
|
};
|
|
242
|
-
} else
|
|
238
|
+
} else {
|
|
243
239
|
data = {
|
|
244
240
|
...options?.extraFields,
|
|
245
241
|
...(matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null),
|
|
246
|
-
...(isPlainObject(raw) ? raw : null),
|
|
247
242
|
};
|
|
248
|
-
} else {
|
|
249
|
-
data = raw;
|
|
250
243
|
}
|
|
251
244
|
|
|
252
245
|
if ("err" in matcher) {
|
|
@@ -21,11 +21,11 @@ export type AccountSearchVanityStruct = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Which type of vanity to search for
|
|
23
23
|
*/
|
|
24
|
-
type
|
|
24
|
+
type: Type;
|
|
25
25
|
/**
|
|
26
26
|
* Vanity to search for
|
|
27
27
|
*/
|
|
28
|
-
value
|
|
28
|
+
value: string;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
/** @internal */
|
|
@@ -51,14 +51,14 @@ export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
|
|
|
51
51
|
z.ZodTypeDef,
|
|
52
52
|
unknown
|
|
53
53
|
> = z.object({
|
|
54
|
-
type: Type$inboundSchema
|
|
55
|
-
value: z.string()
|
|
54
|
+
type: Type$inboundSchema,
|
|
55
|
+
value: z.string(),
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
export type AccountSearchVanityStruct$Outbound = {
|
|
60
|
-
type
|
|
61
|
-
value
|
|
60
|
+
type: string;
|
|
61
|
+
value: string;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
@@ -67,8 +67,8 @@ export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
|
|
|
67
67
|
z.ZodTypeDef,
|
|
68
68
|
AccountSearchVanityStruct
|
|
69
69
|
> = z.object({
|
|
70
|
-
type: Type$outboundSchema
|
|
71
|
-
value: z.string()
|
|
70
|
+
type: Type$outboundSchema,
|
|
71
|
+
value: z.string(),
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
/**
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
|
|
8
|
+
export type HTTPMetadata = {
|
|
9
|
+
/**
|
|
10
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
11
|
+
*/
|
|
12
|
+
response: Response;
|
|
13
|
+
/**
|
|
14
|
+
* Raw HTTP request; suitable for debugging
|
|
15
|
+
*/
|
|
16
|
+
request: Request;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const HTTPMetadata$inboundSchema: z.ZodType<HTTPMetadata, z.ZodTypeDef, unknown> = z
|
|
21
|
+
.object({
|
|
22
|
+
Response: z.instanceof(Response),
|
|
23
|
+
Request: z.instanceof(Request),
|
|
24
|
+
})
|
|
25
|
+
.transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
Response: "response",
|
|
28
|
+
Request: "request",
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type HTTPMetadata$Outbound = {
|
|
34
|
+
Response: never;
|
|
35
|
+
Request: never;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const HTTPMetadata$outboundSchema: z.ZodType<
|
|
40
|
+
HTTPMetadata$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
HTTPMetadata
|
|
43
|
+
> = z
|
|
44
|
+
.object({
|
|
45
|
+
response: z.instanceof(Response).transform(() => {
|
|
46
|
+
throw new Error("Response cannot be serialized");
|
|
47
|
+
}),
|
|
48
|
+
request: z.instanceof(Request).transform(() => {
|
|
49
|
+
throw new Error("Response cannot be serialized");
|
|
50
|
+
}),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
response: "Response",
|
|
55
|
+
request: "Request",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace HTTPMetadata$ {
|
|
64
|
+
/** @deprecated use `HTTPMetadata$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = HTTPMetadata$inboundSchema;
|
|
66
|
+
/** @deprecated use `HTTPMetadata$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = HTTPMetadata$outboundSchema;
|
|
68
|
+
/** @deprecated use `HTTPMetadata$Outbound` instead. */
|
|
69
|
+
export type Outbound = HTTPMetadata$Outbound;
|
|
70
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./accountsearchvanitystruct.js";
|
|
|
8
8
|
export * from "./connection.js";
|
|
9
9
|
export * from "./emailnotification.js";
|
|
10
10
|
export * from "./errordetail.js";
|
|
11
|
+
export * from "./httpmetadata.js";
|
|
11
12
|
export * from "./image.js";
|
|
12
13
|
export * from "./item.js";
|
|
13
14
|
export * from "./loginrequestbody.js";
|
|
@@ -21,6 +22,7 @@ export * from "./v1badge.js";
|
|
|
21
22
|
export * from "./v1badgesresponsebody.js";
|
|
22
23
|
export * from "./v1connectrequestbody.js";
|
|
23
24
|
export * from "./v1connectresponsebody.js";
|
|
25
|
+
export * from "./v1createsessionbody.js";
|
|
24
26
|
export * from "./v1deleteconnectionrequestbody.js";
|
|
25
27
|
export * from "./v1deleteconnectionresponsebody.js";
|
|
26
28
|
export * from "./v1deleteimagesrequestbody.js";
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
|
|
7
7
|
export type Security = {
|
|
8
|
-
session
|
|
8
|
+
session: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
/** @internal */
|
|
12
12
|
export const Security$inboundSchema: z.ZodType<Security, z.ZodTypeDef, unknown> = z.object({
|
|
13
|
-
session: z.string()
|
|
13
|
+
session: z.string(),
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
/** @internal */
|
|
17
17
|
export type Security$Outbound = {
|
|
18
|
-
session
|
|
18
|
+
session: string;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
/** @internal */
|
|
22
22
|
export const Security$outboundSchema: z.ZodType<Security$Outbound, z.ZodTypeDef, Security> =
|
|
23
23
|
z.object({
|
|
24
|
-
session: z.string()
|
|
24
|
+
session: z.string(),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
|
|
8
|
+
export type V1CreateSessionBody = {
|
|
9
|
+
/**
|
|
10
|
+
* A URL to the JSON Schema for this object.
|
|
11
|
+
*/
|
|
12
|
+
dollarSchema?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The session id
|
|
15
|
+
*/
|
|
16
|
+
sessionId: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const V1CreateSessionBody$inboundSchema: z.ZodType<
|
|
21
|
+
V1CreateSessionBody,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z
|
|
25
|
+
.object({
|
|
26
|
+
$schema: z.string().optional(),
|
|
27
|
+
sessionId: z.string(),
|
|
28
|
+
})
|
|
29
|
+
.transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
$schema: "dollarSchema",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type V1CreateSessionBody$Outbound = {
|
|
37
|
+
$schema?: string | undefined;
|
|
38
|
+
sessionId: string;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const V1CreateSessionBody$outboundSchema: z.ZodType<
|
|
43
|
+
V1CreateSessionBody$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
V1CreateSessionBody
|
|
46
|
+
> = z
|
|
47
|
+
.object({
|
|
48
|
+
dollarSchema: z.string().optional(),
|
|
49
|
+
sessionId: z.string(),
|
|
50
|
+
})
|
|
51
|
+
.transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
dollarSchema: "$schema",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export namespace V1CreateSessionBody$ {
|
|
62
|
+
/** @deprecated use `V1CreateSessionBody$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = V1CreateSessionBody$inboundSchema;
|
|
64
|
+
/** @deprecated use `V1CreateSessionBody$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = V1CreateSessionBody$outboundSchema;
|
|
66
|
+
/** @deprecated use `V1CreateSessionBody$Outbound` instead. */
|
|
67
|
+
export type Outbound = V1CreateSessionBody$Outbound;
|
|
68
|
+
}
|
|
@@ -3,22 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export class SDKError extends Error {
|
|
6
|
-
public readonly statusCode: number;
|
|
7
|
-
public readonly contentType: string;
|
|
8
|
-
|
|
9
6
|
constructor(
|
|
10
7
|
message: string,
|
|
11
|
-
public readonly
|
|
12
|
-
|
|
8
|
+
public readonly httpMeta: {
|
|
9
|
+
response: Response;
|
|
10
|
+
request: Request;
|
|
11
|
+
}
|
|
13
12
|
) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.statusCode = statusCode;
|
|
21
|
-
this.contentType = contentType;
|
|
13
|
+
super(
|
|
14
|
+
`${message}: Status ${httpMeta.response.status} Content-Type ${
|
|
15
|
+
httpMeta.response.headers.get("content-type") || ""
|
|
16
|
+
}`
|
|
17
|
+
);
|
|
22
18
|
|
|
23
19
|
this.name = "SDKError";
|
|
24
20
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
import * as z from "zod";
|
|
8
|
+
|
|
9
|
+
export type AccountV1ConnectionConnectResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1ConnectResponseBody?: components.V1ConnectResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1ConnectionConnectResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1ConnectionConnectResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1ConnectResponseBody: components.V1ConnectResponseBody$inboundSchema.optional(),
|
|
26
|
+
})
|
|
27
|
+
.transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
HttpMeta: "httpMeta",
|
|
30
|
+
V1ConnectResponseBody: "v1ConnectResponseBody",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type AccountV1ConnectionConnectResponse$Outbound = {
|
|
36
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
37
|
+
V1ConnectResponseBody?: components.V1ConnectResponseBody$Outbound | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const AccountV1ConnectionConnectResponse$outboundSchema: z.ZodType<
|
|
42
|
+
AccountV1ConnectionConnectResponse$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
AccountV1ConnectionConnectResponse
|
|
45
|
+
> = z
|
|
46
|
+
.object({
|
|
47
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
48
|
+
v1ConnectResponseBody: components.V1ConnectResponseBody$outboundSchema.optional(),
|
|
49
|
+
})
|
|
50
|
+
.transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
httpMeta: "HttpMeta",
|
|
53
|
+
v1ConnectResponseBody: "V1ConnectResponseBody",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export namespace AccountV1ConnectionConnectResponse$ {
|
|
62
|
+
/** @deprecated use `AccountV1ConnectionConnectResponse$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = AccountV1ConnectionConnectResponse$inboundSchema;
|
|
64
|
+
/** @deprecated use `AccountV1ConnectionConnectResponse$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = AccountV1ConnectionConnectResponse$outboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1ConnectionConnectResponse$Outbound` instead. */
|
|
67
|
+
export type Outbound = AccountV1ConnectionConnectResponse$Outbound;
|
|
68
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
import * as z from "zod";
|
|
8
|
+
|
|
9
|
+
export type AccountV1ConnectionDeleteConnectionResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1DeleteConnectionResponseBody?: components.V1DeleteConnectionResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1ConnectionDeleteConnectionResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1ConnectionDeleteConnectionResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1DeleteConnectionResponseBody:
|
|
26
|
+
components.V1DeleteConnectionResponseBody$inboundSchema.optional(),
|
|
27
|
+
})
|
|
28
|
+
.transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
HttpMeta: "httpMeta",
|
|
31
|
+
V1DeleteConnectionResponseBody: "v1DeleteConnectionResponseBody",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type AccountV1ConnectionDeleteConnectionResponse$Outbound = {
|
|
37
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
+
V1DeleteConnectionResponseBody?: components.V1DeleteConnectionResponseBody$Outbound | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1ConnectionDeleteConnectionResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1ConnectionDeleteConnectionResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1ConnectionDeleteConnectionResponse
|
|
46
|
+
> = z
|
|
47
|
+
.object({
|
|
48
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
49
|
+
v1DeleteConnectionResponseBody:
|
|
50
|
+
components.V1DeleteConnectionResponseBody$outboundSchema.optional(),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
httpMeta: "HttpMeta",
|
|
55
|
+
v1DeleteConnectionResponseBody: "V1DeleteConnectionResponseBody",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace AccountV1ConnectionDeleteConnectionResponse$ {
|
|
64
|
+
/** @deprecated use `AccountV1ConnectionDeleteConnectionResponse$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = AccountV1ConnectionDeleteConnectionResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1ConnectionDeleteConnectionResponse$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = AccountV1ConnectionDeleteConnectionResponse$outboundSchema;
|
|
68
|
+
/** @deprecated use `AccountV1ConnectionDeleteConnectionResponse$Outbound` instead. */
|
|
69
|
+
export type Outbound = AccountV1ConnectionDeleteConnectionResponse$Outbound;
|
|
70
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
import * as z from "zod";
|
|
8
|
+
|
|
9
|
+
export type AccountV1ConnectionUpdateConnectionResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1UpdateConnectionResponseBody?: components.V1UpdateConnectionResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1ConnectionUpdateConnectionResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1ConnectionUpdateConnectionResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1UpdateConnectionResponseBody:
|
|
26
|
+
components.V1UpdateConnectionResponseBody$inboundSchema.optional(),
|
|
27
|
+
})
|
|
28
|
+
.transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
HttpMeta: "httpMeta",
|
|
31
|
+
V1UpdateConnectionResponseBody: "v1UpdateConnectionResponseBody",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type AccountV1ConnectionUpdateConnectionResponse$Outbound = {
|
|
37
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
+
V1UpdateConnectionResponseBody?: components.V1UpdateConnectionResponseBody$Outbound | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1ConnectionUpdateConnectionResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1ConnectionUpdateConnectionResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1ConnectionUpdateConnectionResponse
|
|
46
|
+
> = z
|
|
47
|
+
.object({
|
|
48
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
49
|
+
v1UpdateConnectionResponseBody:
|
|
50
|
+
components.V1UpdateConnectionResponseBody$outboundSchema.optional(),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
httpMeta: "HttpMeta",
|
|
55
|
+
v1UpdateConnectionResponseBody: "V1UpdateConnectionResponseBody",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace AccountV1ConnectionUpdateConnectionResponse$ {
|
|
64
|
+
/** @deprecated use `AccountV1ConnectionUpdateConnectionResponse$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = AccountV1ConnectionUpdateConnectionResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1ConnectionUpdateConnectionResponse$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = AccountV1ConnectionUpdateConnectionResponse$outboundSchema;
|
|
68
|
+
/** @deprecated use `AccountV1ConnectionUpdateConnectionResponse$Outbound` instead. */
|
|
69
|
+
export type Outbound = AccountV1ConnectionUpdateConnectionResponse$Outbound;
|
|
70
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
import * as z from "zod";
|
|
8
|
+
|
|
9
|
+
export type AccountV1ConnectionVerifyConnectionResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1VerifyConnectionResponseBody?: components.V1VerifyConnectionResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1ConnectionVerifyConnectionResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1ConnectionVerifyConnectionResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1VerifyConnectionResponseBody:
|
|
26
|
+
components.V1VerifyConnectionResponseBody$inboundSchema.optional(),
|
|
27
|
+
})
|
|
28
|
+
.transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
HttpMeta: "httpMeta",
|
|
31
|
+
V1VerifyConnectionResponseBody: "v1VerifyConnectionResponseBody",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type AccountV1ConnectionVerifyConnectionResponse$Outbound = {
|
|
37
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
+
V1VerifyConnectionResponseBody?: components.V1VerifyConnectionResponseBody$Outbound | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1ConnectionVerifyConnectionResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1ConnectionVerifyConnectionResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1ConnectionVerifyConnectionResponse
|
|
46
|
+
> = z
|
|
47
|
+
.object({
|
|
48
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
49
|
+
v1VerifyConnectionResponseBody:
|
|
50
|
+
components.V1VerifyConnectionResponseBody$outboundSchema.optional(),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
httpMeta: "HttpMeta",
|
|
55
|
+
v1VerifyConnectionResponseBody: "V1VerifyConnectionResponseBody",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace AccountV1ConnectionVerifyConnectionResponse$ {
|
|
64
|
+
/** @deprecated use `AccountV1ConnectionVerifyConnectionResponse$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = AccountV1ConnectionVerifyConnectionResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1ConnectionVerifyConnectionResponse$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = AccountV1ConnectionVerifyConnectionResponse$outboundSchema;
|
|
68
|
+
/** @deprecated use `AccountV1ConnectionVerifyConnectionResponse$Outbound` instead. */
|
|
69
|
+
export type Outbound = AccountV1ConnectionVerifyConnectionResponse$Outbound;
|
|
70
|
+
}
|