@steamsets/client-ts 0.8.1 → 0.8.2
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 +24 -28
- package/docs/sdks/account/README.md +96 -185
- package/docs/sdks/connection/README.md +24 -28
- package/docs/sdks/data/README.md +8 -9
- package/docs/sdks/liveness/README.md +2 -2
- package/docs/sdks/location/README.md +8 -9
- package/docs/sdks/session/README.md +18 -20
- package/docs/sdks/settings/README.md +46 -128
- package/funcs/accountAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionConnect.js +5 -12
- package/funcs/accountAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionDeleteConnection.js +5 -12
- package/funcs/accountAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionUpdateConnection.js +5 -12
- package/funcs/accountAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/accountAccountV1ConnectionVerifyConnection.js +5 -12
- package/funcs/accountAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts +1 -1
- package/funcs/accountAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/accountAccountV1GetStaff.js +5 -12
- package/funcs/accountAccountV1GetStaff.js.map +1 -1
- package/funcs/accountAccountV1SessionCreate.js +3 -3
- package/funcs/accountAccountV1SessionCreate.js.map +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts +1 -1
- package/funcs/accountAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionDelete.js +5 -12
- package/funcs/accountAccountV1SessionDelete.js.map +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts +1 -1
- package/funcs/accountAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SessionGet.js +5 -12
- package/funcs/accountAccountV1SessionGet.js.map +1 -1
- package/funcs/accountAccountV1SessionLogin.js +3 -3
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsDeleteImages.js +5 -12
- package/funcs/accountAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts +1 -1
- package/funcs/accountAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsGet.js +5 -12
- 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 +5 -12
- package/funcs/accountAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdate.js +5 -12
- package/funcs/accountAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUpdateImage.js +5 -12
- package/funcs/accountAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsUploadImages.js +5 -12
- package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/accountAccountV1SettingsVerfyEmail.js +5 -12
- package/funcs/accountAccountV1SettingsVerfyEmail.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionConnect.js +5 -12
- package/funcs/connectionAccountV1ConnectionConnect.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js +5 -12
- package/funcs/connectionAccountV1ConnectionDeleteConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js +5 -12
- package/funcs/connectionAccountV1ConnectionUpdateConnection.js.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.d.ts.map +1 -1
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js +5 -12
- package/funcs/connectionAccountV1ConnectionVerifyConnection.js.map +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts +1 -1
- package/funcs/dataAccountV1GetStaff.d.ts.map +1 -1
- package/funcs/dataAccountV1GetStaff.js +5 -12
- package/funcs/dataAccountV1GetStaff.js.map +1 -1
- package/funcs/livenessLiveness.js +3 -3
- package/funcs/livenessLiveness.js.map +1 -1
- package/funcs/locationLocation.d.ts +1 -1
- package/funcs/locationLocation.d.ts.map +1 -1
- package/funcs/locationLocation.js +5 -12
- package/funcs/locationLocation.js.map +1 -1
- package/funcs/sessionAccountV1SessionCreate.js +3 -3
- package/funcs/sessionAccountV1SessionCreate.js.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts +1 -1
- package/funcs/sessionAccountV1SessionDelete.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionDelete.js +5 -12
- package/funcs/sessionAccountV1SessionDelete.js.map +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts +1 -1
- package/funcs/sessionAccountV1SessionGet.d.ts.map +1 -1
- package/funcs/sessionAccountV1SessionGet.js +5 -12
- package/funcs/sessionAccountV1SessionGet.js.map +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +3 -3
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsDeleteImages.js +5 -12
- package/funcs/settingsAccountV1SettingsDeleteImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsGet.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsGet.js +5 -12
- 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 +5 -12
- package/funcs/settingsAccountV1SettingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdate.js +5 -12
- package/funcs/settingsAccountV1SettingsUpdate.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUpdateImage.js +5 -12
- package/funcs/settingsAccountV1SettingsUpdateImage.js.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsUploadImages.js +5 -12
- package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.d.ts.map +1 -1
- package/funcs/settingsAccountV1SettingsVerfyEmail.js +5 -12
- package/funcs/settingsAccountV1SettingsVerfyEmail.js.map +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/security.js +3 -3
- package/lib/security.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- 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/operations/accountv1connectionconnect.d.ts +0 -23
- package/models/operations/accountv1connectionconnect.d.ts.map +1 -1
- package/models/operations/accountv1connectionconnect.js +1 -20
- package/models/operations/accountv1connectionconnect.js.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.d.ts +0 -23
- package/models/operations/accountv1connectiondeleteconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectiondeleteconnection.js +1 -20
- package/models/operations/accountv1connectiondeleteconnection.js.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.d.ts +0 -23
- package/models/operations/accountv1connectionupdateconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionupdateconnection.js +1 -20
- package/models/operations/accountv1connectionupdateconnection.js.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.d.ts +0 -23
- package/models/operations/accountv1connectionverifyconnection.d.ts.map +1 -1
- package/models/operations/accountv1connectionverifyconnection.js +1 -20
- package/models/operations/accountv1connectionverifyconnection.js.map +1 -1
- package/models/operations/accountv1getstaff.d.ts +0 -23
- package/models/operations/accountv1getstaff.d.ts.map +1 -1
- package/models/operations/accountv1getstaff.js +1 -20
- package/models/operations/accountv1getstaff.js.map +1 -1
- package/models/operations/accountv1sessiondelete.d.ts +0 -23
- package/models/operations/accountv1sessiondelete.d.ts.map +1 -1
- package/models/operations/accountv1sessiondelete.js +1 -20
- package/models/operations/accountv1sessiondelete.js.map +1 -1
- package/models/operations/accountv1sessionget.d.ts +0 -23
- package/models/operations/accountv1sessionget.d.ts.map +1 -1
- package/models/operations/accountv1sessionget.js +1 -20
- package/models/operations/accountv1sessionget.js.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +0 -23
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsdeleteimages.js +1 -20
- package/models/operations/accountv1settingsdeleteimages.js.map +1 -1
- package/models/operations/accountv1settingsget.d.ts +0 -23
- package/models/operations/accountv1settingsget.d.ts.map +1 -1
- package/models/operations/accountv1settingsget.js +1 -20
- package/models/operations/accountv1settingsget.js.map +1 -1
- package/models/operations/accountv1settingssendemailverification.d.ts +0 -23
- package/models/operations/accountv1settingssendemailverification.d.ts.map +1 -1
- package/models/operations/accountv1settingssendemailverification.js +1 -20
- package/models/operations/accountv1settingssendemailverification.js.map +1 -1
- package/models/operations/accountv1settingsupdate.d.ts +0 -23
- package/models/operations/accountv1settingsupdate.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdate.js +1 -20
- package/models/operations/accountv1settingsupdate.js.map +1 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +0 -23
- package/models/operations/accountv1settingsupdateimage.d.ts.map +1 -1
- package/models/operations/accountv1settingsupdateimage.js +1 -20
- package/models/operations/accountv1settingsupdateimage.js.map +1 -1
- package/models/operations/accountv1settingsuploadimages.d.ts +0 -23
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsuploadimages.js +1 -20
- package/models/operations/accountv1settingsuploadimages.js.map +1 -1
- package/models/operations/accountv1settingsverfyemail.d.ts +0 -23
- package/models/operations/accountv1settingsverfyemail.d.ts.map +1 -1
- package/models/operations/accountv1settingsverfyemail.js +1 -20
- package/models/operations/accountv1settingsverfyemail.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/location.d.ts +0 -23
- package/models/operations/location.d.ts.map +1 -1
- package/models/operations/location.js +1 -20
- package/models/operations/location.js.map +1 -1
- package/package.json +1 -2
- package/sdk/account.d.ts +14 -18
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +28 -35
- package/sdk/account.js.map +1 -1
- package/sdk/connection.d.ts +4 -4
- package/sdk/connection.d.ts.map +1 -1
- package/sdk/connection.js +8 -8
- package/sdk/connection.js.map +1 -1
- package/sdk/data.d.ts +1 -1
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +2 -2
- package/sdk/data.js.map +1 -1
- package/sdk/location.d.ts +1 -1
- package/sdk/location.d.ts.map +1 -1
- package/sdk/location.js +2 -2
- package/sdk/location.js.map +1 -1
- package/sdk/session.d.ts +2 -2
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +4 -4
- package/sdk/session.js.map +1 -1
- package/sdk/settings.d.ts +7 -11
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +14 -21
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1ConnectionConnect.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionDeleteConnection.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionUpdateConnection.ts +5 -13
- package/src/funcs/accountAccountV1ConnectionVerifyConnection.ts +5 -13
- package/src/funcs/accountAccountV1GetStaff.ts +5 -13
- package/src/funcs/accountAccountV1SessionCreate.ts +3 -3
- package/src/funcs/accountAccountV1SessionDelete.ts +5 -13
- package/src/funcs/accountAccountV1SessionGet.ts +5 -13
- package/src/funcs/accountAccountV1SessionLogin.ts +3 -3
- package/src/funcs/accountAccountV1SettingsDeleteImages.ts +5 -13
- package/src/funcs/accountAccountV1SettingsGet.ts +5 -13
- package/src/funcs/accountAccountV1SettingsSendEmailVerification.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUpdate.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUpdateImage.ts +5 -13
- package/src/funcs/accountAccountV1SettingsUploadImages.ts +5 -13
- package/src/funcs/accountAccountV1SettingsVerfyEmail.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionConnect.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionDeleteConnection.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionUpdateConnection.ts +5 -13
- package/src/funcs/connectionAccountV1ConnectionVerifyConnection.ts +5 -13
- package/src/funcs/dataAccountV1GetStaff.ts +5 -13
- package/src/funcs/livenessLiveness.ts +3 -3
- package/src/funcs/locationLocation.ts +5 -13
- package/src/funcs/sessionAccountV1SessionCreate.ts +3 -3
- package/src/funcs/sessionAccountV1SessionDelete.ts +5 -13
- package/src/funcs/sessionAccountV1SessionGet.ts +5 -13
- package/src/funcs/sessionAccountV1SessionLogin.ts +3 -3
- package/src/funcs/settingsAccountV1SettingsDeleteImages.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsGet.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsSendEmailVerification.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUpdate.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUpdateImage.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsUploadImages.ts +5 -13
- package/src/funcs/settingsAccountV1SettingsVerfyEmail.ts +5 -13
- package/src/lib/config.ts +4 -4
- package/src/lib/security.ts +3 -3
- package/src/models/components/index.ts +0 -1
- package/src/models/components/security.ts +4 -4
- package/src/models/operations/accountv1connectionconnect.ts +0 -41
- package/src/models/operations/accountv1connectiondeleteconnection.ts +0 -44
- package/src/models/operations/accountv1connectionupdateconnection.ts +0 -44
- package/src/models/operations/accountv1connectionverifyconnection.ts +0 -44
- package/src/models/operations/accountv1getstaff.ts +0 -40
- package/src/models/operations/accountv1sessiondelete.ts +0 -40
- package/src/models/operations/accountv1sessionget.ts +0 -40
- package/src/models/operations/accountv1settingsdeleteimages.ts +0 -42
- package/src/models/operations/accountv1settingsget.ts +0 -40
- package/src/models/operations/accountv1settingssendemailverification.ts +0 -45
- package/src/models/operations/accountv1settingsupdate.ts +0 -40
- package/src/models/operations/accountv1settingsupdateimage.ts +0 -42
- package/src/models/operations/accountv1settingsuploadimages.ts +0 -42
- package/src/models/operations/accountv1settingsverfyemail.ts +0 -42
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/location.ts +0 -40
- package/src/sdk/account.ts +0 -43
- package/src/sdk/connection.ts +0 -8
- package/src/sdk/data.ts +0 -2
- package/src/sdk/location.ts +0 -2
- package/src/sdk/session.ts +0 -4
- package/src/sdk/settings.ts +0 -29
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts +0 -13
- package/funcs/accountAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
- package/funcs/accountAccountV1SettingsGenerateApiKey.js +0 -92
- package/funcs/accountAccountV1SettingsGenerateApiKey.js.map +0 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts +0 -13
- package/funcs/settingsAccountV1SettingsGenerateApiKey.d.ts.map +0 -1
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js +0 -92
- package/funcs/settingsAccountV1SettingsGenerateApiKey.js.map +0 -1
- package/models/components/v1generateapikeyresponsebody.d.ts +0 -33
- package/models/components/v1generateapikeyresponsebody.d.ts.map +0 -1
- package/models/components/v1generateapikeyresponsebody.js +0 -61
- package/models/components/v1generateapikeyresponsebody.js.map +0 -1
- package/models/operations/accountv1settingsgenerateapikey.d.ts +0 -54
- package/models/operations/accountv1settingsgenerateapikey.d.ts.map +0 -1
- package/models/operations/accountv1settingsgenerateapikey.js +0 -85
- package/models/operations/accountv1settingsgenerateapikey.js.map +0 -1
- package/src/funcs/accountAccountV1SettingsGenerateApiKey.ts +0 -120
- package/src/funcs/settingsAccountV1SettingsGenerateApiKey.ts +0 -120
- package/src/models/components/v1generateapikeyresponsebody.ts +0 -64
- package/src/models/operations/accountv1settingsgenerateapikey.ts +0 -114
package/src/sdk/settings.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { settingsAccountV1SettingsDeleteImages } from "../funcs/settingsAccountV1SettingsDeleteImages.js";
|
|
6
|
-
import { settingsAccountV1SettingsGenerateApiKey } from "../funcs/settingsAccountV1SettingsGenerateApiKey.js";
|
|
7
6
|
import { settingsAccountV1SettingsGet } from "../funcs/settingsAccountV1SettingsGet.js";
|
|
8
7
|
import { settingsAccountV1SettingsSendEmailVerification } from "../funcs/settingsAccountV1SettingsSendEmailVerification.js";
|
|
9
8
|
import { settingsAccountV1SettingsUpdate } from "../funcs/settingsAccountV1SettingsUpdate.js";
|
|
@@ -21,27 +20,11 @@ export class Settings extends ClientSDK {
|
|
|
21
20
|
*/
|
|
22
21
|
async accountV1SettingsDeleteImages(
|
|
23
22
|
request: components.V1DeleteImagesRequestBody,
|
|
24
|
-
security: operations.AccountV1SettingsDeleteImagesSecurity,
|
|
25
23
|
options?: RequestOptions,
|
|
26
24
|
): Promise<operations.AccountV1SettingsDeleteImagesResponse> {
|
|
27
25
|
return unwrapAsync(settingsAccountV1SettingsDeleteImages(
|
|
28
26
|
this,
|
|
29
27
|
request,
|
|
30
|
-
security,
|
|
31
|
-
options,
|
|
32
|
-
));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Generate a new API key for the account
|
|
37
|
-
*/
|
|
38
|
-
async accountV1SettingsGenerateApiKey(
|
|
39
|
-
security: operations.AccountV1SettingsGenerateApiKeySecurity,
|
|
40
|
-
options?: RequestOptions,
|
|
41
|
-
): Promise<operations.AccountV1SettingsGenerateApiKeyResponse> {
|
|
42
|
-
return unwrapAsync(settingsAccountV1SettingsGenerateApiKey(
|
|
43
|
-
this,
|
|
44
|
-
security,
|
|
45
28
|
options,
|
|
46
29
|
));
|
|
47
30
|
}
|
|
@@ -50,12 +33,10 @@ export class Settings extends ClientSDK {
|
|
|
50
33
|
* Gets all settings for the account
|
|
51
34
|
*/
|
|
52
35
|
async accountV1SettingsGet(
|
|
53
|
-
security: operations.AccountV1SettingsGetSecurity,
|
|
54
36
|
options?: RequestOptions,
|
|
55
37
|
): Promise<operations.AccountV1SettingsGetResponse> {
|
|
56
38
|
return unwrapAsync(settingsAccountV1SettingsGet(
|
|
57
39
|
this,
|
|
58
|
-
security,
|
|
59
40
|
options,
|
|
60
41
|
));
|
|
61
42
|
}
|
|
@@ -65,13 +46,11 @@ export class Settings extends ClientSDK {
|
|
|
65
46
|
*/
|
|
66
47
|
async accountV1SettingsSendEmailVerification(
|
|
67
48
|
request: operations.AccountV1SettingsSendEmailVerificationRequest,
|
|
68
|
-
security: operations.AccountV1SettingsSendEmailVerificationSecurity,
|
|
69
49
|
options?: RequestOptions,
|
|
70
50
|
): Promise<operations.AccountV1SettingsSendEmailVerificationResponse> {
|
|
71
51
|
return unwrapAsync(settingsAccountV1SettingsSendEmailVerification(
|
|
72
52
|
this,
|
|
73
53
|
request,
|
|
74
|
-
security,
|
|
75
54
|
options,
|
|
76
55
|
));
|
|
77
56
|
}
|
|
@@ -81,13 +60,11 @@ export class Settings extends ClientSDK {
|
|
|
81
60
|
*/
|
|
82
61
|
async accountV1SettingsUpdateImage(
|
|
83
62
|
request: components.V1UpdateImageRequestBody,
|
|
84
|
-
security: operations.AccountV1SettingsUpdateImageSecurity,
|
|
85
63
|
options?: RequestOptions,
|
|
86
64
|
): Promise<operations.AccountV1SettingsUpdateImageResponse> {
|
|
87
65
|
return unwrapAsync(settingsAccountV1SettingsUpdateImage(
|
|
88
66
|
this,
|
|
89
67
|
request,
|
|
90
|
-
security,
|
|
91
68
|
options,
|
|
92
69
|
));
|
|
93
70
|
}
|
|
@@ -97,13 +74,11 @@ export class Settings extends ClientSDK {
|
|
|
97
74
|
*/
|
|
98
75
|
async accountV1SettingsUpdate(
|
|
99
76
|
request: operations.AccountV1SettingsUpdateRequest,
|
|
100
|
-
security: operations.AccountV1SettingsUpdateSecurity,
|
|
101
77
|
options?: RequestOptions,
|
|
102
78
|
): Promise<operations.AccountV1SettingsUpdateResponse> {
|
|
103
79
|
return unwrapAsync(settingsAccountV1SettingsUpdate(
|
|
104
80
|
this,
|
|
105
81
|
request,
|
|
106
|
-
security,
|
|
107
82
|
options,
|
|
108
83
|
));
|
|
109
84
|
}
|
|
@@ -113,13 +88,11 @@ export class Settings extends ClientSDK {
|
|
|
113
88
|
*/
|
|
114
89
|
async accountV1SettingsUploadImages(
|
|
115
90
|
request: components.V1UploadImagesRequestBody,
|
|
116
|
-
security: operations.AccountV1SettingsUploadImagesSecurity,
|
|
117
91
|
options?: RequestOptions,
|
|
118
92
|
): Promise<operations.AccountV1SettingsUploadImagesResponse> {
|
|
119
93
|
return unwrapAsync(settingsAccountV1SettingsUploadImages(
|
|
120
94
|
this,
|
|
121
95
|
request,
|
|
122
|
-
security,
|
|
123
96
|
options,
|
|
124
97
|
));
|
|
125
98
|
}
|
|
@@ -129,13 +102,11 @@ export class Settings extends ClientSDK {
|
|
|
129
102
|
*/
|
|
130
103
|
async accountV1SettingsVerfyEmail(
|
|
131
104
|
request: components.V1VerifyEmailRequestBody,
|
|
132
|
-
security: operations.AccountV1SettingsVerfyEmailSecurity,
|
|
133
105
|
options?: RequestOptions,
|
|
134
106
|
): Promise<operations.AccountV1SettingsVerfyEmailResponse> {
|
|
135
107
|
return unwrapAsync(settingsAccountV1SettingsVerfyEmail(
|
|
136
108
|
this,
|
|
137
109
|
request,
|
|
138
|
-
security,
|
|
139
110
|
options,
|
|
140
111
|
));
|
|
141
112
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SteamSetsCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { Result } from "../types/fp.js";
|
|
9
|
-
/**
|
|
10
|
-
* Generate a new API key for the account
|
|
11
|
-
*/
|
|
12
|
-
export declare function accountAccountV1SettingsGenerateApiKey(client$: SteamSetsCore, security: operations.AccountV1SettingsGenerateApiKeySecurity, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsGenerateApiKeyResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
|
-
//# sourceMappingURL=accountAccountV1SettingsGenerateApiKey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1SettingsGenerateApiKey.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsGenerateApiKey.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,sCAAsC,CAC1D,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,UAAU,CAAC,uCAAuC,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA8EA"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.accountAccountV1SettingsGenerateApiKey = accountAccountV1SettingsGenerateApiKey;
|
|
30
|
-
const m$ = __importStar(require("../lib/matchers.js"));
|
|
31
|
-
const security_js_1 = require("../lib/security.js");
|
|
32
|
-
const url_js_1 = require("../lib/url.js");
|
|
33
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
34
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
35
|
-
/**
|
|
36
|
-
* Generate a new API key for the account
|
|
37
|
-
*/
|
|
38
|
-
async function accountAccountV1SettingsGenerateApiKey(client$, security, options) {
|
|
39
|
-
const path$ = (0, url_js_1.pathToFunc)("/account.v1.AccountService/GenerateApiKey")();
|
|
40
|
-
const headers$ = new Headers({
|
|
41
|
-
Accept: "application/json",
|
|
42
|
-
});
|
|
43
|
-
const security$ = [
|
|
44
|
-
[
|
|
45
|
-
{
|
|
46
|
-
fieldName: "Authorization",
|
|
47
|
-
type: "http:bearer",
|
|
48
|
-
value: security === null || security === void 0 ? void 0 : security.session,
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
];
|
|
52
|
-
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
53
|
-
const context = {
|
|
54
|
-
operationID: "account.v1.settings.generate-api-key",
|
|
55
|
-
oAuth2Scopes: [],
|
|
56
|
-
securitySource: security,
|
|
57
|
-
};
|
|
58
|
-
const requestRes = client$.createRequest$(context, {
|
|
59
|
-
security: securitySettings$,
|
|
60
|
-
method: "POST",
|
|
61
|
-
path: path$,
|
|
62
|
-
headers: headers$,
|
|
63
|
-
uaHeader: "x-speakeasy-user-agent",
|
|
64
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client$.options$.timeoutMs || -1,
|
|
65
|
-
}, options);
|
|
66
|
-
if (!requestRes.ok) {
|
|
67
|
-
return requestRes;
|
|
68
|
-
}
|
|
69
|
-
const request$ = requestRes.value;
|
|
70
|
-
const doResult = await client$.do$(request$, {
|
|
71
|
-
context,
|
|
72
|
-
errorCodes: ["404", "429", "4XX", "500", "5XX"],
|
|
73
|
-
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
74
|
-
|| client$.options$.retryConfig,
|
|
75
|
-
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
76
|
-
});
|
|
77
|
-
if (!doResult.ok) {
|
|
78
|
-
return doResult;
|
|
79
|
-
}
|
|
80
|
-
const response = doResult.value;
|
|
81
|
-
const responseFields$ = {
|
|
82
|
-
HttpMeta: { Response: response, Request: request$ },
|
|
83
|
-
};
|
|
84
|
-
const [result$] = await m$.match(m$.json(200, operations.AccountV1SettingsGenerateApiKeyResponse$inboundSchema, { key: "V1GenerateApiKeyResponseBody" }), m$.jsonErr([404, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
85
|
-
ctype: "application/problem+json",
|
|
86
|
-
}), m$.fail(["4XX", "5XX"]))(response, request$, { extraFields: responseFields$ });
|
|
87
|
-
if (!result$.ok) {
|
|
88
|
-
return result$;
|
|
89
|
-
}
|
|
90
|
-
return result$;
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=accountAccountV1SettingsGenerateApiKey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1SettingsGenerateApiKey.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsGenerateApiKey.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SteamSetsCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { Result } from "../types/fp.js";
|
|
9
|
-
/**
|
|
10
|
-
* Generate a new API key for the account
|
|
11
|
-
*/
|
|
12
|
-
export declare function settingsAccountV1SettingsGenerateApiKey(client$: SteamSetsCore, security: operations.AccountV1SettingsGenerateApiKeySecurity, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsGenerateApiKeyResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
|
-
//# sourceMappingURL=settingsAccountV1SettingsGenerateApiKey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settingsAccountV1SettingsGenerateApiKey.d.ts","sourceRoot":"","sources":["../src/funcs/settingsAccountV1SettingsGenerateApiKey.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,uCAAuC,CAC3D,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,UAAU,CAAC,uCAAuC,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA8EA"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.settingsAccountV1SettingsGenerateApiKey = settingsAccountV1SettingsGenerateApiKey;
|
|
30
|
-
const m$ = __importStar(require("../lib/matchers.js"));
|
|
31
|
-
const security_js_1 = require("../lib/security.js");
|
|
32
|
-
const url_js_1 = require("../lib/url.js");
|
|
33
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
34
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
35
|
-
/**
|
|
36
|
-
* Generate a new API key for the account
|
|
37
|
-
*/
|
|
38
|
-
async function settingsAccountV1SettingsGenerateApiKey(client$, security, options) {
|
|
39
|
-
const path$ = (0, url_js_1.pathToFunc)("/account.v1.AccountService/GenerateApiKey")();
|
|
40
|
-
const headers$ = new Headers({
|
|
41
|
-
Accept: "application/json",
|
|
42
|
-
});
|
|
43
|
-
const security$ = [
|
|
44
|
-
[
|
|
45
|
-
{
|
|
46
|
-
fieldName: "Authorization",
|
|
47
|
-
type: "http:bearer",
|
|
48
|
-
value: security === null || security === void 0 ? void 0 : security.session,
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
];
|
|
52
|
-
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
53
|
-
const context = {
|
|
54
|
-
operationID: "account.v1.settings.generate-api-key",
|
|
55
|
-
oAuth2Scopes: [],
|
|
56
|
-
securitySource: security,
|
|
57
|
-
};
|
|
58
|
-
const requestRes = client$.createRequest$(context, {
|
|
59
|
-
security: securitySettings$,
|
|
60
|
-
method: "POST",
|
|
61
|
-
path: path$,
|
|
62
|
-
headers: headers$,
|
|
63
|
-
uaHeader: "x-speakeasy-user-agent",
|
|
64
|
-
timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client$.options$.timeoutMs || -1,
|
|
65
|
-
}, options);
|
|
66
|
-
if (!requestRes.ok) {
|
|
67
|
-
return requestRes;
|
|
68
|
-
}
|
|
69
|
-
const request$ = requestRes.value;
|
|
70
|
-
const doResult = await client$.do$(request$, {
|
|
71
|
-
context,
|
|
72
|
-
errorCodes: ["404", "429", "4XX", "500", "5XX"],
|
|
73
|
-
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
74
|
-
|| client$.options$.retryConfig,
|
|
75
|
-
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
|
|
76
|
-
});
|
|
77
|
-
if (!doResult.ok) {
|
|
78
|
-
return doResult;
|
|
79
|
-
}
|
|
80
|
-
const response = doResult.value;
|
|
81
|
-
const responseFields$ = {
|
|
82
|
-
HttpMeta: { Response: response, Request: request$ },
|
|
83
|
-
};
|
|
84
|
-
const [result$] = await m$.match(m$.json(200, operations.AccountV1SettingsGenerateApiKeyResponse$inboundSchema, { key: "V1GenerateApiKeyResponseBody" }), m$.jsonErr([404, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
85
|
-
ctype: "application/problem+json",
|
|
86
|
-
}), m$.fail(["4XX", "5XX"]))(response, request$, { extraFields: responseFields$ });
|
|
87
|
-
if (!result$.ok) {
|
|
88
|
-
return result$;
|
|
89
|
-
}
|
|
90
|
-
return result$;
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=settingsAccountV1SettingsGenerateApiKey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settingsAccountV1SettingsGenerateApiKey.js","sourceRoot":"","sources":["../src/funcs/settingsAccountV1SettingsGenerateApiKey.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export type V1GenerateApiKeyResponseBody = {
|
|
3
|
-
/**
|
|
4
|
-
* A URL to the JSON Schema for this object.
|
|
5
|
-
*/
|
|
6
|
-
dollarSchema?: string | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* The generated API Key
|
|
9
|
-
*/
|
|
10
|
-
key: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const V1GenerateApiKeyResponseBody$inboundSchema: z.ZodType<V1GenerateApiKeyResponseBody, z.ZodTypeDef, unknown>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type V1GenerateApiKeyResponseBody$Outbound = {
|
|
16
|
-
$schema?: string | undefined;
|
|
17
|
-
key: string;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const V1GenerateApiKeyResponseBody$outboundSchema: z.ZodType<V1GenerateApiKeyResponseBody$Outbound, z.ZodTypeDef, V1GenerateApiKeyResponseBody>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace V1GenerateApiKeyResponseBody$ {
|
|
26
|
-
/** @deprecated use `V1GenerateApiKeyResponseBody$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodType<V1GenerateApiKeyResponseBody, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @deprecated use `V1GenerateApiKeyResponseBody$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodType<V1GenerateApiKeyResponseBody$Outbound, z.ZodTypeDef, V1GenerateApiKeyResponseBody>;
|
|
30
|
-
/** @deprecated use `V1GenerateApiKeyResponseBody$Outbound` instead. */
|
|
31
|
-
type Outbound = V1GenerateApiKeyResponseBody$Outbound;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=v1generateapikeyresponsebody.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1generateapikeyresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1generateapikeyresponsebody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAQ5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.V1GenerateApiKeyResponseBody$ = exports.V1GenerateApiKeyResponseBody$outboundSchema = exports.V1GenerateApiKeyResponseBody$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
/** @internal */
|
|
33
|
-
exports.V1GenerateApiKeyResponseBody$inboundSchema = z.object({
|
|
34
|
-
$schema: z.string().optional(),
|
|
35
|
-
key: z.string(),
|
|
36
|
-
}).transform((v) => {
|
|
37
|
-
return (0, primitives_js_1.remap)(v, {
|
|
38
|
-
"$schema": "dollarSchema",
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
/** @internal */
|
|
42
|
-
exports.V1GenerateApiKeyResponseBody$outboundSchema = z.object({
|
|
43
|
-
dollarSchema: z.string().optional(),
|
|
44
|
-
key: z.string(),
|
|
45
|
-
}).transform((v) => {
|
|
46
|
-
return (0, primitives_js_1.remap)(v, {
|
|
47
|
-
dollarSchema: "$schema",
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
-
*/
|
|
54
|
-
var V1GenerateApiKeyResponseBody$;
|
|
55
|
-
(function (V1GenerateApiKeyResponseBody$) {
|
|
56
|
-
/** @deprecated use `V1GenerateApiKeyResponseBody$inboundSchema` instead. */
|
|
57
|
-
V1GenerateApiKeyResponseBody$.inboundSchema = exports.V1GenerateApiKeyResponseBody$inboundSchema;
|
|
58
|
-
/** @deprecated use `V1GenerateApiKeyResponseBody$outboundSchema` instead. */
|
|
59
|
-
V1GenerateApiKeyResponseBody$.outboundSchema = exports.V1GenerateApiKeyResponseBody$outboundSchema;
|
|
60
|
-
})(V1GenerateApiKeyResponseBody$ || (exports.V1GenerateApiKeyResponseBody$ = V1GenerateApiKeyResponseBody$ = {}));
|
|
61
|
-
//# sourceMappingURL=v1generateapikeyresponsebody.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v1generateapikeyresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1generateapikeyresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAa1D,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,cAAc;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,SAAS;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
export type AccountV1SettingsGenerateApiKeySecurity = {
|
|
4
|
-
session: string;
|
|
5
|
-
};
|
|
6
|
-
export type AccountV1SettingsGenerateApiKeyResponse = {
|
|
7
|
-
httpMeta: components.HTTPMetadata;
|
|
8
|
-
/**
|
|
9
|
-
* OK
|
|
10
|
-
*/
|
|
11
|
-
v1GenerateApiKeyResponseBody?: components.V1GenerateApiKeyResponseBody | undefined;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const AccountV1SettingsGenerateApiKeySecurity$inboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeySecurity, z.ZodTypeDef, unknown>;
|
|
15
|
-
/** @internal */
|
|
16
|
-
export type AccountV1SettingsGenerateApiKeySecurity$Outbound = {
|
|
17
|
-
session: string;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const AccountV1SettingsGenerateApiKeySecurity$outboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeySecurity$Outbound, z.ZodTypeDef, AccountV1SettingsGenerateApiKeySecurity>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace AccountV1SettingsGenerateApiKeySecurity$ {
|
|
26
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeySecurity$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeySecurity, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeySecurity$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeySecurity$Outbound, z.ZodTypeDef, AccountV1SettingsGenerateApiKeySecurity>;
|
|
30
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeySecurity$Outbound` instead. */
|
|
31
|
-
type Outbound = AccountV1SettingsGenerateApiKeySecurity$Outbound;
|
|
32
|
-
}
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const AccountV1SettingsGenerateApiKeyResponse$inboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
35
|
-
/** @internal */
|
|
36
|
-
export type AccountV1SettingsGenerateApiKeyResponse$Outbound = {
|
|
37
|
-
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
-
V1GenerateApiKeyResponseBody?: components.V1GenerateApiKeyResponseBody$Outbound | undefined;
|
|
39
|
-
};
|
|
40
|
-
/** @internal */
|
|
41
|
-
export declare const AccountV1SettingsGenerateApiKeyResponse$outboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeyResponse$Outbound, z.ZodTypeDef, AccountV1SettingsGenerateApiKeyResponse>;
|
|
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 declare namespace AccountV1SettingsGenerateApiKeyResponse$ {
|
|
47
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeyResponse$inboundSchema` instead. */
|
|
48
|
-
const inboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
49
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeyResponse$outboundSchema` instead. */
|
|
50
|
-
const outboundSchema: z.ZodType<AccountV1SettingsGenerateApiKeyResponse$Outbound, z.ZodTypeDef, AccountV1SettingsGenerateApiKeyResponse>;
|
|
51
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeyResponse$Outbound` instead. */
|
|
52
|
-
type Outbound = AccountV1SettingsGenerateApiKeyResponse$Outbound;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=accountv1settingsgenerateapikey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountv1settingsgenerateapikey.d.ts","sourceRoot":"","sources":["../../src/models/operations/accountv1settingsgenerateapikey.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,4BAA4B,CAAC,EACzB,UAAU,CAAC,4BAA4B,GACvC,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAGvC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE;AAED,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,4BAA4B,CAAC,EACzB,UAAU,CAAC,qCAAqC,GAChD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAUvC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AccountV1SettingsGenerateApiKeyResponse$ = exports.AccountV1SettingsGenerateApiKeyResponse$outboundSchema = exports.AccountV1SettingsGenerateApiKeyResponse$inboundSchema = exports.AccountV1SettingsGenerateApiKeySecurity$ = exports.AccountV1SettingsGenerateApiKeySecurity$outboundSchema = exports.AccountV1SettingsGenerateApiKeySecurity$inboundSchema = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const components = __importStar(require("../components/index.js"));
|
|
33
|
-
/** @internal */
|
|
34
|
-
exports.AccountV1SettingsGenerateApiKeySecurity$inboundSchema = z.object({
|
|
35
|
-
session: z.string(),
|
|
36
|
-
});
|
|
37
|
-
/** @internal */
|
|
38
|
-
exports.AccountV1SettingsGenerateApiKeySecurity$outboundSchema = z.object({
|
|
39
|
-
session: z.string(),
|
|
40
|
-
});
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
var AccountV1SettingsGenerateApiKeySecurity$;
|
|
46
|
-
(function (AccountV1SettingsGenerateApiKeySecurity$) {
|
|
47
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeySecurity$inboundSchema` instead. */
|
|
48
|
-
AccountV1SettingsGenerateApiKeySecurity$.inboundSchema = exports.AccountV1SettingsGenerateApiKeySecurity$inboundSchema;
|
|
49
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeySecurity$outboundSchema` instead. */
|
|
50
|
-
AccountV1SettingsGenerateApiKeySecurity$.outboundSchema = exports.AccountV1SettingsGenerateApiKeySecurity$outboundSchema;
|
|
51
|
-
})(AccountV1SettingsGenerateApiKeySecurity$ || (exports.AccountV1SettingsGenerateApiKeySecurity$ = AccountV1SettingsGenerateApiKeySecurity$ = {}));
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.AccountV1SettingsGenerateApiKeyResponse$inboundSchema = z.object({
|
|
54
|
-
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
55
|
-
V1GenerateApiKeyResponseBody: components
|
|
56
|
-
.V1GenerateApiKeyResponseBody$inboundSchema.optional(),
|
|
57
|
-
}).transform((v) => {
|
|
58
|
-
return (0, primitives_js_1.remap)(v, {
|
|
59
|
-
"HttpMeta": "httpMeta",
|
|
60
|
-
"V1GenerateApiKeyResponseBody": "v1GenerateApiKeyResponseBody",
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
/** @internal */
|
|
64
|
-
exports.AccountV1SettingsGenerateApiKeyResponse$outboundSchema = z.object({
|
|
65
|
-
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
66
|
-
v1GenerateApiKeyResponseBody: components
|
|
67
|
-
.V1GenerateApiKeyResponseBody$outboundSchema.optional(),
|
|
68
|
-
}).transform((v) => {
|
|
69
|
-
return (0, primitives_js_1.remap)(v, {
|
|
70
|
-
httpMeta: "HttpMeta",
|
|
71
|
-
v1GenerateApiKeyResponseBody: "V1GenerateApiKeyResponseBody",
|
|
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
|
-
var AccountV1SettingsGenerateApiKeyResponse$;
|
|
79
|
-
(function (AccountV1SettingsGenerateApiKeyResponse$) {
|
|
80
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeyResponse$inboundSchema` instead. */
|
|
81
|
-
AccountV1SettingsGenerateApiKeyResponse$.inboundSchema = exports.AccountV1SettingsGenerateApiKeyResponse$inboundSchema;
|
|
82
|
-
/** @deprecated use `AccountV1SettingsGenerateApiKeyResponse$outboundSchema` instead. */
|
|
83
|
-
AccountV1SettingsGenerateApiKeyResponse$.outboundSchema = exports.AccountV1SettingsGenerateApiKeyResponse$outboundSchema;
|
|
84
|
-
})(AccountV1SettingsGenerateApiKeyResponse$ || (exports.AccountV1SettingsGenerateApiKeyResponse$ = AccountV1SettingsGenerateApiKeyResponse$ = {}));
|
|
85
|
-
//# sourceMappingURL=accountv1settingsgenerateapikey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountv1settingsgenerateapikey.js","sourceRoot":"","sources":["../../src/models/operations/accountv1settingsgenerateapikey.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,mEAAqD;AAgBrD,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,sDAAsD,GAI/D,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,6DAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,8DAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,wDAAxC,wCAAwC,QASxD;AAED,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,4BAA4B,EAAE,UAAU;SACrC,0CAA0C,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,8BAA8B,EAAE,8BAA8B;KAC/D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,sDAAsD,GAI/D,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,4BAA4B,EAAE,UAAU;SACrC,2CAA2C,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,4BAA4B,EAAE,8BAA8B;KAC7D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,6DAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,8DAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,wDAAxC,wCAAwC,QASxD"}
|