@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
|
@@ -0,0 +1,126 @@
|
|
|
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 AccountV1GetAppsRequest = {
|
|
10
|
+
xForwardedFor?: string | undefined;
|
|
11
|
+
accountSearch: components.AccountSearch;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type AccountV1GetAppsResponse = {
|
|
15
|
+
httpMeta: components.HTTPMetadata;
|
|
16
|
+
/**
|
|
17
|
+
* OK
|
|
18
|
+
*/
|
|
19
|
+
v1AccountsAppsResponseBody?: components.V1AccountsAppsResponseBody | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AccountV1GetAppsRequest$inboundSchema: z.ZodType<
|
|
24
|
+
AccountV1GetAppsRequest,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z
|
|
28
|
+
.object({
|
|
29
|
+
"X-Forwarded-For": z.string().optional(),
|
|
30
|
+
AccountSearch: components.AccountSearch$inboundSchema,
|
|
31
|
+
})
|
|
32
|
+
.transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"X-Forwarded-For": "xForwardedFor",
|
|
35
|
+
AccountSearch: "accountSearch",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type AccountV1GetAppsRequest$Outbound = {
|
|
41
|
+
"X-Forwarded-For"?: string | undefined;
|
|
42
|
+
AccountSearch: components.AccountSearch$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const AccountV1GetAppsRequest$outboundSchema: z.ZodType<
|
|
47
|
+
AccountV1GetAppsRequest$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
AccountV1GetAppsRequest
|
|
50
|
+
> = z
|
|
51
|
+
.object({
|
|
52
|
+
xForwardedFor: z.string().optional(),
|
|
53
|
+
accountSearch: components.AccountSearch$outboundSchema,
|
|
54
|
+
})
|
|
55
|
+
.transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
xForwardedFor: "X-Forwarded-For",
|
|
58
|
+
accountSearch: "AccountSearch",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export namespace AccountV1GetAppsRequest$ {
|
|
67
|
+
/** @deprecated use `AccountV1GetAppsRequest$inboundSchema` instead. */
|
|
68
|
+
export const inboundSchema = AccountV1GetAppsRequest$inboundSchema;
|
|
69
|
+
/** @deprecated use `AccountV1GetAppsRequest$outboundSchema` instead. */
|
|
70
|
+
export const outboundSchema = AccountV1GetAppsRequest$outboundSchema;
|
|
71
|
+
/** @deprecated use `AccountV1GetAppsRequest$Outbound` instead. */
|
|
72
|
+
export type Outbound = AccountV1GetAppsRequest$Outbound;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const AccountV1GetAppsResponse$inboundSchema: z.ZodType<
|
|
77
|
+
AccountV1GetAppsResponse,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
unknown
|
|
80
|
+
> = z
|
|
81
|
+
.object({
|
|
82
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
83
|
+
V1AccountsAppsResponseBody: components.V1AccountsAppsResponseBody$inboundSchema.optional(),
|
|
84
|
+
})
|
|
85
|
+
.transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
HttpMeta: "httpMeta",
|
|
88
|
+
V1AccountsAppsResponseBody: "v1AccountsAppsResponseBody",
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export type AccountV1GetAppsResponse$Outbound = {
|
|
94
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
95
|
+
V1AccountsAppsResponseBody?: components.V1AccountsAppsResponseBody$Outbound | undefined;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const AccountV1GetAppsResponse$outboundSchema: z.ZodType<
|
|
100
|
+
AccountV1GetAppsResponse$Outbound,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
AccountV1GetAppsResponse
|
|
103
|
+
> = z
|
|
104
|
+
.object({
|
|
105
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
106
|
+
v1AccountsAppsResponseBody: components.V1AccountsAppsResponseBody$outboundSchema.optional(),
|
|
107
|
+
})
|
|
108
|
+
.transform((v) => {
|
|
109
|
+
return remap$(v, {
|
|
110
|
+
httpMeta: "HttpMeta",
|
|
111
|
+
v1AccountsAppsResponseBody: "V1AccountsAppsResponseBody",
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
+
*/
|
|
119
|
+
export namespace AccountV1GetAppsResponse$ {
|
|
120
|
+
/** @deprecated use `AccountV1GetAppsResponse$inboundSchema` instead. */
|
|
121
|
+
export const inboundSchema = AccountV1GetAppsResponse$inboundSchema;
|
|
122
|
+
/** @deprecated use `AccountV1GetAppsResponse$outboundSchema` instead. */
|
|
123
|
+
export const outboundSchema = AccountV1GetAppsResponse$outboundSchema;
|
|
124
|
+
/** @deprecated use `AccountV1GetAppsResponse$Outbound` instead. */
|
|
125
|
+
export type Outbound = AccountV1GetAppsResponse$Outbound;
|
|
126
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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 AccountV1GetBadgesRequest = {
|
|
10
|
+
xForwardedFor?: string | undefined;
|
|
11
|
+
accountSearch: components.AccountSearch;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type AccountV1GetBadgesResponse = {
|
|
15
|
+
httpMeta: components.HTTPMetadata;
|
|
16
|
+
/**
|
|
17
|
+
* OK
|
|
18
|
+
*/
|
|
19
|
+
v1BadgesResponseBody?: components.V1BadgesResponseBody | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AccountV1GetBadgesRequest$inboundSchema: z.ZodType<
|
|
24
|
+
AccountV1GetBadgesRequest,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z
|
|
28
|
+
.object({
|
|
29
|
+
"X-Forwarded-For": z.string().optional(),
|
|
30
|
+
AccountSearch: components.AccountSearch$inboundSchema,
|
|
31
|
+
})
|
|
32
|
+
.transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"X-Forwarded-For": "xForwardedFor",
|
|
35
|
+
AccountSearch: "accountSearch",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type AccountV1GetBadgesRequest$Outbound = {
|
|
41
|
+
"X-Forwarded-For"?: string | undefined;
|
|
42
|
+
AccountSearch: components.AccountSearch$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const AccountV1GetBadgesRequest$outboundSchema: z.ZodType<
|
|
47
|
+
AccountV1GetBadgesRequest$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
AccountV1GetBadgesRequest
|
|
50
|
+
> = z
|
|
51
|
+
.object({
|
|
52
|
+
xForwardedFor: z.string().optional(),
|
|
53
|
+
accountSearch: components.AccountSearch$outboundSchema,
|
|
54
|
+
})
|
|
55
|
+
.transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
xForwardedFor: "X-Forwarded-For",
|
|
58
|
+
accountSearch: "AccountSearch",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export namespace AccountV1GetBadgesRequest$ {
|
|
67
|
+
/** @deprecated use `AccountV1GetBadgesRequest$inboundSchema` instead. */
|
|
68
|
+
export const inboundSchema = AccountV1GetBadgesRequest$inboundSchema;
|
|
69
|
+
/** @deprecated use `AccountV1GetBadgesRequest$outboundSchema` instead. */
|
|
70
|
+
export const outboundSchema = AccountV1GetBadgesRequest$outboundSchema;
|
|
71
|
+
/** @deprecated use `AccountV1GetBadgesRequest$Outbound` instead. */
|
|
72
|
+
export type Outbound = AccountV1GetBadgesRequest$Outbound;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const AccountV1GetBadgesResponse$inboundSchema: z.ZodType<
|
|
77
|
+
AccountV1GetBadgesResponse,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
unknown
|
|
80
|
+
> = z
|
|
81
|
+
.object({
|
|
82
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
83
|
+
V1BadgesResponseBody: components.V1BadgesResponseBody$inboundSchema.optional(),
|
|
84
|
+
})
|
|
85
|
+
.transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
HttpMeta: "httpMeta",
|
|
88
|
+
V1BadgesResponseBody: "v1BadgesResponseBody",
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export type AccountV1GetBadgesResponse$Outbound = {
|
|
94
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
95
|
+
V1BadgesResponseBody?: components.V1BadgesResponseBody$Outbound | undefined;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const AccountV1GetBadgesResponse$outboundSchema: z.ZodType<
|
|
100
|
+
AccountV1GetBadgesResponse$Outbound,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
AccountV1GetBadgesResponse
|
|
103
|
+
> = z
|
|
104
|
+
.object({
|
|
105
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
106
|
+
v1BadgesResponseBody: components.V1BadgesResponseBody$outboundSchema.optional(),
|
|
107
|
+
})
|
|
108
|
+
.transform((v) => {
|
|
109
|
+
return remap$(v, {
|
|
110
|
+
httpMeta: "HttpMeta",
|
|
111
|
+
v1BadgesResponseBody: "V1BadgesResponseBody",
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
+
*/
|
|
119
|
+
export namespace AccountV1GetBadgesResponse$ {
|
|
120
|
+
/** @deprecated use `AccountV1GetBadgesResponse$inboundSchema` instead. */
|
|
121
|
+
export const inboundSchema = AccountV1GetBadgesResponse$inboundSchema;
|
|
122
|
+
/** @deprecated use `AccountV1GetBadgesResponse$outboundSchema` instead. */
|
|
123
|
+
export const outboundSchema = AccountV1GetBadgesResponse$outboundSchema;
|
|
124
|
+
/** @deprecated use `AccountV1GetBadgesResponse$Outbound` instead. */
|
|
125
|
+
export type Outbound = AccountV1GetBadgesResponse$Outbound;
|
|
126
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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 AccountV1SessionCreateRequest = {
|
|
10
|
+
userAgent?: string | undefined;
|
|
11
|
+
xForwardedFor?: string | undefined;
|
|
12
|
+
xFingerprint?: string | undefined;
|
|
13
|
+
xSigned?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type AccountV1SessionCreateResponse = {
|
|
17
|
+
httpMeta: components.HTTPMetadata;
|
|
18
|
+
/**
|
|
19
|
+
* OK
|
|
20
|
+
*/
|
|
21
|
+
v1CreateSessionBody?: components.V1CreateSessionBody | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const AccountV1SessionCreateRequest$inboundSchema: z.ZodType<
|
|
26
|
+
AccountV1SessionCreateRequest,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z
|
|
30
|
+
.object({
|
|
31
|
+
"User-Agent": z.string().optional(),
|
|
32
|
+
"X-Forwarded-For": z.string().optional(),
|
|
33
|
+
"X-Fingerprint": z.string().optional(),
|
|
34
|
+
"X-Signed": z.string().optional(),
|
|
35
|
+
})
|
|
36
|
+
.transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
"User-Agent": "userAgent",
|
|
39
|
+
"X-Forwarded-For": "xForwardedFor",
|
|
40
|
+
"X-Fingerprint": "xFingerprint",
|
|
41
|
+
"X-Signed": "xSigned",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type AccountV1SessionCreateRequest$Outbound = {
|
|
47
|
+
"User-Agent"?: string | undefined;
|
|
48
|
+
"X-Forwarded-For"?: string | undefined;
|
|
49
|
+
"X-Fingerprint"?: string | undefined;
|
|
50
|
+
"X-Signed"?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const AccountV1SessionCreateRequest$outboundSchema: z.ZodType<
|
|
55
|
+
AccountV1SessionCreateRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
AccountV1SessionCreateRequest
|
|
58
|
+
> = z
|
|
59
|
+
.object({
|
|
60
|
+
userAgent: z.string().optional(),
|
|
61
|
+
xForwardedFor: z.string().optional(),
|
|
62
|
+
xFingerprint: z.string().optional(),
|
|
63
|
+
xSigned: z.string().optional(),
|
|
64
|
+
})
|
|
65
|
+
.transform((v) => {
|
|
66
|
+
return remap$(v, {
|
|
67
|
+
userAgent: "User-Agent",
|
|
68
|
+
xForwardedFor: "X-Forwarded-For",
|
|
69
|
+
xFingerprint: "X-Fingerprint",
|
|
70
|
+
xSigned: "X-Signed",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
+
*/
|
|
78
|
+
export namespace AccountV1SessionCreateRequest$ {
|
|
79
|
+
/** @deprecated use `AccountV1SessionCreateRequest$inboundSchema` instead. */
|
|
80
|
+
export const inboundSchema = AccountV1SessionCreateRequest$inboundSchema;
|
|
81
|
+
/** @deprecated use `AccountV1SessionCreateRequest$outboundSchema` instead. */
|
|
82
|
+
export const outboundSchema = AccountV1SessionCreateRequest$outboundSchema;
|
|
83
|
+
/** @deprecated use `AccountV1SessionCreateRequest$Outbound` instead. */
|
|
84
|
+
export type Outbound = AccountV1SessionCreateRequest$Outbound;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const AccountV1SessionCreateResponse$inboundSchema: z.ZodType<
|
|
89
|
+
AccountV1SessionCreateResponse,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = z
|
|
93
|
+
.object({
|
|
94
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
95
|
+
V1CreateSessionBody: components.V1CreateSessionBody$inboundSchema.optional(),
|
|
96
|
+
})
|
|
97
|
+
.transform((v) => {
|
|
98
|
+
return remap$(v, {
|
|
99
|
+
HttpMeta: "httpMeta",
|
|
100
|
+
V1CreateSessionBody: "v1CreateSessionBody",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export type AccountV1SessionCreateResponse$Outbound = {
|
|
106
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
107
|
+
V1CreateSessionBody?: components.V1CreateSessionBody$Outbound | undefined;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/** @internal */
|
|
111
|
+
export const AccountV1SessionCreateResponse$outboundSchema: z.ZodType<
|
|
112
|
+
AccountV1SessionCreateResponse$Outbound,
|
|
113
|
+
z.ZodTypeDef,
|
|
114
|
+
AccountV1SessionCreateResponse
|
|
115
|
+
> = z
|
|
116
|
+
.object({
|
|
117
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
118
|
+
v1CreateSessionBody: components.V1CreateSessionBody$outboundSchema.optional(),
|
|
119
|
+
})
|
|
120
|
+
.transform((v) => {
|
|
121
|
+
return remap$(v, {
|
|
122
|
+
httpMeta: "HttpMeta",
|
|
123
|
+
v1CreateSessionBody: "V1CreateSessionBody",
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
130
|
+
*/
|
|
131
|
+
export namespace AccountV1SessionCreateResponse$ {
|
|
132
|
+
/** @deprecated use `AccountV1SessionCreateResponse$inboundSchema` instead. */
|
|
133
|
+
export const inboundSchema = AccountV1SessionCreateResponse$inboundSchema;
|
|
134
|
+
/** @deprecated use `AccountV1SessionCreateResponse$outboundSchema` instead. */
|
|
135
|
+
export const outboundSchema = AccountV1SessionCreateResponse$outboundSchema;
|
|
136
|
+
/** @deprecated use `AccountV1SessionCreateResponse$Outbound` instead. */
|
|
137
|
+
export type Outbound = AccountV1SessionCreateResponse$Outbound;
|
|
138
|
+
}
|
|
@@ -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 AccountV1SessionDeleteResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1DeleteSessionResponseBody?: components.V1DeleteSessionResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1SessionDeleteResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1SessionDeleteResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1DeleteSessionResponseBody:
|
|
26
|
+
components.V1DeleteSessionResponseBody$inboundSchema.optional(),
|
|
27
|
+
})
|
|
28
|
+
.transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
HttpMeta: "httpMeta",
|
|
31
|
+
V1DeleteSessionResponseBody: "v1DeleteSessionResponseBody",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type AccountV1SessionDeleteResponse$Outbound = {
|
|
37
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
+
V1DeleteSessionResponseBody?: components.V1DeleteSessionResponseBody$Outbound | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1SessionDeleteResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1SessionDeleteResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1SessionDeleteResponse
|
|
46
|
+
> = z
|
|
47
|
+
.object({
|
|
48
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
49
|
+
v1DeleteSessionResponseBody:
|
|
50
|
+
components.V1DeleteSessionResponseBody$outboundSchema.optional(),
|
|
51
|
+
})
|
|
52
|
+
.transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
httpMeta: "HttpMeta",
|
|
55
|
+
v1DeleteSessionResponseBody: "V1DeleteSessionResponseBody",
|
|
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 AccountV1SessionDeleteResponse$ {
|
|
64
|
+
/** @deprecated use `AccountV1SessionDeleteResponse$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = AccountV1SessionDeleteResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1SessionDeleteResponse$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = AccountV1SessionDeleteResponse$outboundSchema;
|
|
68
|
+
/** @deprecated use `AccountV1SessionDeleteResponse$Outbound` instead. */
|
|
69
|
+
export type Outbound = AccountV1SessionDeleteResponse$Outbound;
|
|
70
|
+
}
|
|
@@ -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 AccountV1SessionGetResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1GetSessionBody?: components.V1GetSessionBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1SessionGetResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1SessionGetResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z
|
|
23
|
+
.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
V1GetSessionBody: components.V1GetSessionBody$inboundSchema.optional(),
|
|
26
|
+
})
|
|
27
|
+
.transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
HttpMeta: "httpMeta",
|
|
30
|
+
V1GetSessionBody: "v1GetSessionBody",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type AccountV1SessionGetResponse$Outbound = {
|
|
36
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
37
|
+
V1GetSessionBody?: components.V1GetSessionBody$Outbound | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const AccountV1SessionGetResponse$outboundSchema: z.ZodType<
|
|
42
|
+
AccountV1SessionGetResponse$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
AccountV1SessionGetResponse
|
|
45
|
+
> = z
|
|
46
|
+
.object({
|
|
47
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
48
|
+
v1GetSessionBody: components.V1GetSessionBody$outboundSchema.optional(),
|
|
49
|
+
})
|
|
50
|
+
.transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
httpMeta: "HttpMeta",
|
|
53
|
+
v1GetSessionBody: "V1GetSessionBody",
|
|
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 AccountV1SessionGetResponse$ {
|
|
62
|
+
/** @deprecated use `AccountV1SessionGetResponse$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = AccountV1SessionGetResponse$inboundSchema;
|
|
64
|
+
/** @deprecated use `AccountV1SessionGetResponse$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = AccountV1SessionGetResponse$outboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1SessionGetResponse$Outbound` instead. */
|
|
67
|
+
export type Outbound = AccountV1SessionGetResponse$Outbound;
|
|
68
|
+
}
|
|
@@ -6,52 +6,20 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import * as components from "../components/index.js";
|
|
7
7
|
import * as z from "zod";
|
|
8
8
|
|
|
9
|
-
export type AccountV1SessionLoginSecurity = {
|
|
10
|
-
anonymous: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
9
|
export type AccountV1SessionLoginRequest = {
|
|
14
10
|
userAgent?: string | undefined;
|
|
15
11
|
xForwardedFor?: string | undefined;
|
|
16
12
|
loginRequestBody: components.LoginRequestBody;
|
|
17
13
|
};
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
anonymous: z.string(),
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type AccountV1SessionLoginSecurity$Outbound = {
|
|
30
|
-
anonymous: string;
|
|
15
|
+
export type AccountV1SessionLoginResponse = {
|
|
16
|
+
httpMeta: components.HTTPMetadata;
|
|
17
|
+
/**
|
|
18
|
+
* OK
|
|
19
|
+
*/
|
|
20
|
+
v1LoginResponseBody?: components.V1LoginResponseBody | undefined;
|
|
31
21
|
};
|
|
32
22
|
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const AccountV1SessionLoginSecurity$outboundSchema: z.ZodType<
|
|
35
|
-
AccountV1SessionLoginSecurity$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
AccountV1SessionLoginSecurity
|
|
38
|
-
> = z.object({
|
|
39
|
-
anonymous: z.string(),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
-
*/
|
|
46
|
-
export namespace AccountV1SessionLoginSecurity$ {
|
|
47
|
-
/** @deprecated use `AccountV1SessionLoginSecurity$inboundSchema` instead. */
|
|
48
|
-
export const inboundSchema = AccountV1SessionLoginSecurity$inboundSchema;
|
|
49
|
-
/** @deprecated use `AccountV1SessionLoginSecurity$outboundSchema` instead. */
|
|
50
|
-
export const outboundSchema = AccountV1SessionLoginSecurity$outboundSchema;
|
|
51
|
-
/** @deprecated use `AccountV1SessionLoginSecurity$Outbound` instead. */
|
|
52
|
-
export type Outbound = AccountV1SessionLoginSecurity$Outbound;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
23
|
/** @internal */
|
|
56
24
|
export const AccountV1SessionLoginRequest$inboundSchema: z.ZodType<
|
|
57
25
|
AccountV1SessionLoginRequest,
|
|
@@ -109,3 +77,56 @@ export namespace AccountV1SessionLoginRequest$ {
|
|
|
109
77
|
/** @deprecated use `AccountV1SessionLoginRequest$Outbound` instead. */
|
|
110
78
|
export type Outbound = AccountV1SessionLoginRequest$Outbound;
|
|
111
79
|
}
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const AccountV1SessionLoginResponse$inboundSchema: z.ZodType<
|
|
83
|
+
AccountV1SessionLoginResponse,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
unknown
|
|
86
|
+
> = z
|
|
87
|
+
.object({
|
|
88
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
89
|
+
V1LoginResponseBody: components.V1LoginResponseBody$inboundSchema.optional(),
|
|
90
|
+
})
|
|
91
|
+
.transform((v) => {
|
|
92
|
+
return remap$(v, {
|
|
93
|
+
HttpMeta: "httpMeta",
|
|
94
|
+
V1LoginResponseBody: "v1LoginResponseBody",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type AccountV1SessionLoginResponse$Outbound = {
|
|
100
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
101
|
+
V1LoginResponseBody?: components.V1LoginResponseBody$Outbound | undefined;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const AccountV1SessionLoginResponse$outboundSchema: z.ZodType<
|
|
106
|
+
AccountV1SessionLoginResponse$Outbound,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
AccountV1SessionLoginResponse
|
|
109
|
+
> = z
|
|
110
|
+
.object({
|
|
111
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
112
|
+
v1LoginResponseBody: components.V1LoginResponseBody$outboundSchema.optional(),
|
|
113
|
+
})
|
|
114
|
+
.transform((v) => {
|
|
115
|
+
return remap$(v, {
|
|
116
|
+
httpMeta: "HttpMeta",
|
|
117
|
+
v1LoginResponseBody: "V1LoginResponseBody",
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
124
|
+
*/
|
|
125
|
+
export namespace AccountV1SessionLoginResponse$ {
|
|
126
|
+
/** @deprecated use `AccountV1SessionLoginResponse$inboundSchema` instead. */
|
|
127
|
+
export const inboundSchema = AccountV1SessionLoginResponse$inboundSchema;
|
|
128
|
+
/** @deprecated use `AccountV1SessionLoginResponse$outboundSchema` instead. */
|
|
129
|
+
export const outboundSchema = AccountV1SessionLoginResponse$outboundSchema;
|
|
130
|
+
/** @deprecated use `AccountV1SessionLoginResponse$Outbound` instead. */
|
|
131
|
+
export type Outbound = AccountV1SessionLoginResponse$Outbound;
|
|
132
|
+
}
|