@steamsets/client-ts 0.13.7 → 0.14.1
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/FUNCTIONS.md +107 -0
- package/README.md +33 -19
- package/RUNTIMES.md +22 -0
- package/docs/sdks/account/README.md +93 -12
- package/docs/sdks/images/README.md +332 -0
- package/docs/sdks/session/README.md +2 -2
- package/docs/sdks/settings/README.md +0 -256
- package/docs/sdks/steamsets/README.md +3 -1
- package/funcs/accountAccountV1GetBadgeBookmarks.js +3 -3
- package/funcs/accountAccountV1GetBadgeBookmarks.js.map +1 -1
- package/funcs/accountAccountV1ImagesGet.d.ts +10 -0
- package/funcs/accountAccountV1ImagesGet.d.ts.map +1 -0
- package/funcs/accountAccountV1ImagesGet.js +98 -0
- package/funcs/accountAccountV1ImagesGet.js.map +1 -0
- package/funcs/{settingsUploadImages.d.ts → accountAccountV1ImagesUpdate.d.ts} +2 -2
- package/funcs/accountAccountV1ImagesUpdate.d.ts.map +1 -0
- package/funcs/{accountUpdateImage.js → accountAccountV1ImagesUpdate.js} +9 -9
- package/funcs/accountAccountV1ImagesUpdate.js.map +1 -0
- package/funcs/accountDeleteImages.d.ts +1 -1
- package/funcs/accountDeleteImages.d.ts.map +1 -1
- package/funcs/accountDeleteImages.js +7 -5
- package/funcs/accountDeleteImages.js.map +1 -1
- package/funcs/accountGetApps.js +3 -3
- package/funcs/accountGetApps.js.map +1 -1
- package/funcs/accountGetBadges.js +3 -3
- package/funcs/accountGetBadges.js.map +1 -1
- package/funcs/accountGetDataPoints.js +3 -3
- package/funcs/accountGetDataPoints.js.map +1 -1
- package/funcs/accountGetFriends.js +3 -3
- package/funcs/accountGetFriends.js.map +1 -1
- package/funcs/accountGetInfo.js +3 -3
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/accountGetLeaderboardHistory.js +3 -3
- package/funcs/accountGetLeaderboardHistory.js.map +1 -1
- package/funcs/accountGetStaff.js +3 -3
- package/funcs/accountGetStaff.js.map +1 -1
- package/funcs/accountSendEmailVerification.js +3 -3
- package/funcs/accountSendEmailVerification.js.map +1 -1
- package/funcs/accountUploadImages.d.ts +1 -1
- package/funcs/accountUploadImages.d.ts.map +1 -1
- package/funcs/accountUploadImages.js +7 -5
- package/funcs/accountUploadImages.js.map +1 -1
- package/funcs/accountVerifyEmail.js +3 -3
- package/funcs/accountVerifyEmail.js.map +1 -1
- package/funcs/accountsQueue.js +3 -3
- package/funcs/accountsQueue.js.map +1 -1
- package/funcs/adminAdminV1GetEvents.js +3 -3
- package/funcs/adminAdminV1GetEvents.js.map +1 -1
- package/funcs/adminAdminV1UpdateEvent.js +3 -3
- package/funcs/adminAdminV1UpdateEvent.js.map +1 -1
- package/funcs/adminAdminV1UpdateResources.js +3 -3
- package/funcs/adminAdminV1UpdateResources.js.map +1 -1
- package/funcs/adminAdminV1UpdateRoles.js +3 -3
- package/funcs/adminAdminV1UpdateRoles.js.map +1 -1
- package/funcs/adminGetAccount.js +3 -3
- package/funcs/adminGetAccount.js.map +1 -1
- package/funcs/badgeAccountV1BookmarkBadge.js +3 -3
- package/funcs/badgeAccountV1BookmarkBadge.js.map +1 -1
- package/funcs/badgeAccountV1GetBadgeBookmarks.js +3 -3
- package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +1 -1
- package/funcs/badgeGetTags.js +3 -3
- package/funcs/badgeGetTags.js.map +1 -1
- package/funcs/badgesTag.js +3 -3
- package/funcs/badgesTag.js.map +1 -1
- package/funcs/connectionDelete.js +3 -3
- package/funcs/connectionDelete.js.map +1 -1
- package/funcs/connectionUpdate.js +3 -3
- package/funcs/connectionUpdate.js.map +1 -1
- package/funcs/connectionVerify.js +3 -3
- package/funcs/connectionVerify.js.map +1 -1
- package/funcs/connectionsConnect.js +3 -3
- package/funcs/connectionsConnect.js.map +1 -1
- package/funcs/dataGetApps.js +3 -3
- package/funcs/dataGetApps.js.map +1 -1
- package/funcs/dataGetBadges.js +3 -3
- package/funcs/dataGetBadges.js.map +1 -1
- package/funcs/dataGetDataPoints.js +3 -3
- package/funcs/dataGetDataPoints.js.map +1 -1
- package/funcs/dataGetFriends.js +3 -3
- package/funcs/dataGetFriends.js.map +1 -1
- package/funcs/dataGetInfo.js +3 -3
- package/funcs/dataGetInfo.js.map +1 -1
- package/funcs/dataGetLeaderboardHistory.js +3 -3
- package/funcs/dataGetLeaderboardHistory.js.map +1 -1
- package/funcs/dataGetStaff.js +3 -3
- package/funcs/dataGetStaff.js.map +1 -1
- package/funcs/developerCreateDeveloperApp.js +3 -3
- package/funcs/developerCreateDeveloperApp.js.map +1 -1
- package/funcs/developerDeleteDeveloperApp.js +3 -3
- package/funcs/developerDeleteDeveloperApp.js.map +1 -1
- package/funcs/developerUpdateApp.js +3 -3
- package/funcs/developerUpdateApp.js.map +1 -1
- package/funcs/imagesAccountV1ImagesGet.d.ts +10 -0
- package/funcs/imagesAccountV1ImagesGet.d.ts.map +1 -0
- package/funcs/imagesAccountV1ImagesGet.js +98 -0
- package/funcs/imagesAccountV1ImagesGet.js.map +1 -0
- package/funcs/{settingsDeleteImages.d.ts → imagesAccountV1ImagesUpdate.d.ts} +2 -2
- package/funcs/imagesAccountV1ImagesUpdate.d.ts.map +1 -0
- package/funcs/{settingsUpdateImage.js → imagesAccountV1ImagesUpdate.js} +9 -9
- package/funcs/imagesAccountV1ImagesUpdate.js.map +1 -0
- package/funcs/{accountUpdateImage.d.ts → imagesDeleteImages.d.ts} +2 -2
- package/funcs/{accountUpdateImage.d.ts.map → imagesDeleteImages.d.ts.map} +1 -1
- package/funcs/{settingsDeleteImages.js → imagesDeleteImages.js} +10 -8
- package/funcs/imagesDeleteImages.js.map +1 -0
- package/funcs/{settingsUpdateImage.d.ts → imagesUploadImages.d.ts} +2 -2
- package/funcs/imagesUploadImages.d.ts.map +1 -0
- package/funcs/{settingsUploadImages.js → imagesUploadImages.js} +10 -8
- package/funcs/imagesUploadImages.js.map +1 -0
- package/funcs/leaderboardGetAccount.js +3 -3
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetBadges.js +3 -3
- package/funcs/leaderboardGetBadges.js.map +1 -1
- package/funcs/leaderboardGetGroup.js +3 -3
- package/funcs/leaderboardGetGroup.js.map +1 -1
- package/funcs/livenessCheck.js +3 -3
- package/funcs/livenessCheck.js.map +1 -1
- package/funcs/locationsGet.js +3 -3
- package/funcs/locationsGet.js.map +1 -1
- package/funcs/metaAccountV1GetEmbed.js +3 -3
- package/funcs/metaAccountV1GetEmbed.js.map +1 -1
- package/funcs/metaAccountV1GetMeta.js +3 -3
- package/funcs/metaAccountV1GetMeta.js.map +1 -1
- package/funcs/publicGetApps.js +3 -3
- package/funcs/publicGetApps.js.map +1 -1
- package/funcs/publicGetBadges.js +3 -3
- package/funcs/publicGetBadges.js.map +1 -1
- package/funcs/publicGetDataPoints.js +3 -3
- package/funcs/publicGetDataPoints.js.map +1 -1
- package/funcs/publicGetFriends.js +3 -3
- package/funcs/publicGetFriends.js.map +1 -1
- package/funcs/publicGetInfo.js +3 -3
- package/funcs/publicGetInfo.js.map +1 -1
- package/funcs/publicGetLeaderboardHistory.js +3 -3
- package/funcs/publicGetLeaderboardHistory.js.map +1 -1
- package/funcs/sessionCreate.js +3 -3
- package/funcs/sessionCreate.js.map +1 -1
- package/funcs/sessionLogin.js +3 -3
- package/funcs/sessionLogin.js.map +1 -1
- package/funcs/sessionsDelete.js +3 -3
- package/funcs/sessionsDelete.js.map +1 -1
- package/funcs/sessionsGet.js +3 -3
- package/funcs/sessionsGet.js.map +1 -1
- package/funcs/settingsGet.js +3 -3
- package/funcs/settingsGet.js.map +1 -1
- package/funcs/settingsSendEmailVerification.js +3 -3
- package/funcs/settingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsUpdate.js +3 -3
- package/funcs/settingsUpdate.js.map +1 -1
- package/funcs/settingsVerifyEmail.js +3 -3
- package/funcs/settingsVerifyEmail.js.map +1 -1
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js +18 -0
- package/hooks/hooks.js.map +1 -1
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/primitives.d.ts +2 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +53 -0
- package/lib/primitives.js.map +1 -1
- package/models/components/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/v1getimagesresponsebody.d.ts +38 -0
- package/models/components/v1getimagesresponsebody.d.ts.map +1 -0
- package/models/components/v1getimagesresponsebody.js +71 -0
- package/models/components/v1getimagesresponsebody.js.map +1 -0
- package/models/components/v1getsettingsbody.d.ts +2 -6
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +0 -3
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/models/components/v1updateimage.d.ts +37 -0
- package/models/components/v1updateimage.d.ts.map +1 -0
- package/models/components/v1updateimage.js +61 -0
- package/models/components/v1updateimage.js.map +1 -0
- package/models/components/v1updateimagerequestbody.d.ts +4 -8
- package/models/components/v1updateimagerequestbody.d.ts.map +1 -1
- package/models/components/v1updateimagerequestbody.js +3 -4
- package/models/components/v1updateimagerequestbody.js.map +1 -1
- package/models/components/v1updateimageresponsebody.d.ts +0 -5
- package/models/components/v1updateimageresponsebody.d.ts.map +1 -1
- package/models/components/v1updateimageresponsebody.js +0 -2
- package/models/components/v1updateimageresponsebody.js.map +1 -1
- package/models/components/v1updatesettingsrequestbody.d.ts +0 -6
- package/models/components/v1updatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1updatesettingsrequestbody.js +0 -3
- package/models/components/v1updatesettingsrequestbody.js.map +1 -1
- package/models/operations/accountv1imagesdelete.d.ts +35 -0
- package/models/operations/accountv1imagesdelete.d.ts.map +1 -0
- package/models/operations/{accountv1settingsdeleteimages.js → accountv1imagesdelete.js} +17 -17
- package/models/operations/accountv1imagesdelete.js.map +1 -0
- package/models/operations/accountv1imagesget.d.ts +35 -0
- package/models/operations/accountv1imagesget.d.ts.map +1 -0
- package/models/operations/accountv1imagesget.js +75 -0
- package/models/operations/accountv1imagesget.js.map +1 -0
- package/models/operations/accountv1imagesupdate.d.ts +35 -0
- package/models/operations/accountv1imagesupdate.d.ts.map +1 -0
- package/models/operations/{accountv1settingsupdateimage.js → accountv1imagesupdate.js} +17 -17
- package/models/operations/accountv1imagesupdate.js.map +1 -0
- package/models/operations/accountv1imagesupload.d.ts +35 -0
- package/models/operations/accountv1imagesupload.d.ts.map +1 -0
- package/models/operations/{accountv1settingsuploadimages.js → accountv1imagesupload.js} +17 -17
- package/models/operations/accountv1imagesupload.js.map +1 -0
- package/models/operations/index.d.ts +4 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -3
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +4 -3
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +7 -3
- package/sdk/account.js.map +1 -1
- package/sdk/images.d.ts +10 -0
- package/sdk/images.d.ts.map +1 -0
- package/sdk/images.js +28 -0
- package/sdk/images.js.map +1 -0
- package/sdk/sdk.d.ts +5 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +7 -2
- package/sdk/sdk.js.map +1 -1
- package/sdk/settings.d.ts +0 -3
- package/sdk/settings.d.ts.map +1 -1
- package/sdk/settings.js +0 -12
- package/sdk/settings.js.map +1 -1
- package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +3 -3
- package/src/funcs/accountAccountV1ImagesGet.ts +124 -0
- package/src/funcs/{accountUpdateImage.ts → accountAccountV1ImagesUpdate.ts} +9 -9
- package/src/funcs/accountDeleteImages.ts +9 -11
- package/src/funcs/accountGetApps.ts +3 -3
- package/src/funcs/accountGetBadges.ts +3 -3
- package/src/funcs/accountGetDataPoints.ts +3 -3
- package/src/funcs/accountGetFriends.ts +3 -3
- package/src/funcs/accountGetInfo.ts +3 -3
- package/src/funcs/accountGetLeaderboardHistory.ts +3 -3
- package/src/funcs/accountGetStaff.ts +3 -3
- package/src/funcs/accountSendEmailVerification.ts +3 -3
- package/src/funcs/accountUploadImages.ts +9 -11
- package/src/funcs/accountVerifyEmail.ts +3 -3
- package/src/funcs/accountsQueue.ts +3 -3
- package/src/funcs/adminAdminV1GetEvents.ts +3 -3
- package/src/funcs/adminAdminV1UpdateEvent.ts +3 -3
- package/src/funcs/adminAdminV1UpdateResources.ts +3 -3
- package/src/funcs/adminAdminV1UpdateRoles.ts +3 -3
- package/src/funcs/adminGetAccount.ts +3 -3
- package/src/funcs/badgeAccountV1BookmarkBadge.ts +3 -3
- package/src/funcs/badgeAccountV1GetBadgeBookmarks.ts +3 -3
- package/src/funcs/badgeGetTags.ts +3 -3
- package/src/funcs/badgesTag.ts +3 -3
- package/src/funcs/connectionDelete.ts +3 -3
- package/src/funcs/connectionUpdate.ts +3 -3
- package/src/funcs/connectionVerify.ts +3 -3
- package/src/funcs/connectionsConnect.ts +3 -3
- package/src/funcs/dataGetApps.ts +3 -3
- package/src/funcs/dataGetBadges.ts +3 -3
- package/src/funcs/dataGetDataPoints.ts +3 -3
- package/src/funcs/dataGetFriends.ts +3 -3
- package/src/funcs/dataGetInfo.ts +3 -3
- package/src/funcs/dataGetLeaderboardHistory.ts +3 -3
- package/src/funcs/dataGetStaff.ts +3 -3
- package/src/funcs/developerCreateDeveloperApp.ts +3 -3
- package/src/funcs/developerDeleteDeveloperApp.ts +3 -3
- package/src/funcs/developerUpdateApp.ts +3 -3
- package/src/funcs/imagesAccountV1ImagesGet.ts +124 -0
- package/src/funcs/{settingsUpdateImage.ts → imagesAccountV1ImagesUpdate.ts} +9 -9
- package/src/funcs/{settingsDeleteImages.ts → imagesDeleteImages.ts} +10 -12
- package/src/funcs/{settingsUploadImages.ts → imagesUploadImages.ts} +10 -12
- package/src/funcs/leaderboardGetAccount.ts +3 -3
- package/src/funcs/leaderboardGetBadges.ts +3 -3
- package/src/funcs/leaderboardGetGroup.ts +3 -3
- package/src/funcs/livenessCheck.ts +3 -3
- package/src/funcs/locationsGet.ts +3 -3
- package/src/funcs/metaAccountV1GetEmbed.ts +3 -3
- package/src/funcs/metaAccountV1GetMeta.ts +3 -3
- package/src/funcs/publicGetApps.ts +3 -3
- package/src/funcs/publicGetBadges.ts +3 -3
- package/src/funcs/publicGetDataPoints.ts +3 -3
- package/src/funcs/publicGetFriends.ts +3 -3
- package/src/funcs/publicGetInfo.ts +3 -3
- package/src/funcs/publicGetLeaderboardHistory.ts +3 -3
- package/src/funcs/sessionCreate.ts +3 -3
- package/src/funcs/sessionLogin.ts +3 -3
- package/src/funcs/sessionsDelete.ts +3 -3
- package/src/funcs/sessionsGet.ts +3 -3
- package/src/funcs/settingsGet.ts +3 -3
- package/src/funcs/settingsSendEmailVerification.ts +3 -3
- package/src/funcs/settingsUpdate.ts +3 -3
- package/src/funcs/settingsVerifyEmail.ts +3 -3
- package/src/hooks/hooks.ts +20 -0
- package/src/hooks/types.ts +7 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/primitives.ts +62 -0
- package/src/models/components/index.ts +2 -1
- package/src/models/components/v1getimagesresponsebody.ts +91 -0
- package/src/models/components/v1getsettingsbody.ts +2 -13
- package/src/models/components/v1updateimage.ts +72 -0
- package/src/models/components/v1updateimagerequestbody.ts +11 -12
- package/src/models/components/v1updateimageresponsebody.ts +0 -7
- package/src/models/components/v1updatesettingsrequestbody.ts +0 -13
- package/src/models/operations/{accountv1settingsdeleteimages.ts → accountv1imagesdelete.ts} +22 -25
- package/src/models/operations/accountv1imagesget.ts +89 -0
- package/src/models/operations/{accountv1settingsupdateimage.ts → accountv1imagesupdate.ts} +22 -25
- package/src/models/operations/{accountv1settingsuploadimages.ts → accountv1imagesupload.ts} +22 -25
- package/src/models/operations/index.ts +4 -3
- package/src/sdk/account.ts +16 -6
- package/src/sdk/images.ts +56 -0
- package/src/sdk/sdk.ts +9 -3
- package/src/sdk/settings.ts +0 -36
- package/src/types/operations.ts +11 -5
- package/types/operations.d.ts +5 -3
- package/types/operations.d.ts.map +1 -1
- package/types/operations.js +3 -0
- package/types/operations.js.map +1 -1
- package/funcs/accountUpdateImage.js.map +0 -1
- package/funcs/settingsDeleteImages.d.ts.map +0 -1
- package/funcs/settingsDeleteImages.js.map +0 -1
- package/funcs/settingsUpdateImage.d.ts.map +0 -1
- package/funcs/settingsUpdateImage.js.map +0 -1
- package/funcs/settingsUploadImages.d.ts.map +0 -1
- package/funcs/settingsUploadImages.js.map +0 -1
- package/models/components/emailnotification.d.ts +0 -66
- package/models/components/emailnotification.d.ts.map +0 -1
- package/models/components/emailnotification.js +0 -82
- package/models/components/emailnotification.js.map +0 -1
- package/models/operations/accountv1settingsdeleteimages.d.ts +0 -35
- package/models/operations/accountv1settingsdeleteimages.d.ts.map +0 -1
- package/models/operations/accountv1settingsdeleteimages.js.map +0 -1
- package/models/operations/accountv1settingsupdateimage.d.ts +0 -35
- package/models/operations/accountv1settingsupdateimage.d.ts.map +0 -1
- package/models/operations/accountv1settingsupdateimage.js.map +0 -1
- package/models/operations/accountv1settingsuploadimages.d.ts +0 -35
- package/models/operations/accountv1settingsuploadimages.d.ts.map +0 -1
- package/models/operations/accountv1settingsuploadimages.js.map +0 -1
- package/src/models/components/emailnotification.ts +0 -109
|
@@ -29,7 +29,7 @@ export async function accountUploadImages(
|
|
|
29
29
|
options?: RequestOptions,
|
|
30
30
|
): Promise<
|
|
31
31
|
Result<
|
|
32
|
-
operations.
|
|
32
|
+
operations.AccountV1ImagesUploadResponse,
|
|
33
33
|
| errors.ErrorModel
|
|
34
34
|
| SDKError
|
|
35
35
|
| SDKValidationError
|
|
@@ -63,7 +63,7 @@ export async function accountUploadImages(
|
|
|
63
63
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
64
64
|
|
|
65
65
|
const context = {
|
|
66
|
-
operationID: "account.v1.
|
|
66
|
+
operationID: "account.v1.images.upload",
|
|
67
67
|
oAuth2Scopes: [],
|
|
68
68
|
|
|
69
69
|
resolvedSecurity: requestSecurity,
|
|
@@ -75,14 +75,14 @@ export async function accountUploadImages(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -115,7 +115,7 @@ export async function accountUploadImages(
|
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
const [result] = await M.match<
|
|
118
|
-
operations.
|
|
118
|
+
operations.AccountV1ImagesUploadResponse,
|
|
119
119
|
| errors.ErrorModel
|
|
120
120
|
| SDKError
|
|
121
121
|
| SDKValidationError
|
|
@@ -125,11 +125,9 @@ export async function accountUploadImages(
|
|
|
125
125
|
| RequestTimeoutError
|
|
126
126
|
| ConnectionError
|
|
127
127
|
>(
|
|
128
|
-
M.json(
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
{ key: "V1UploadImagesResponseBody" },
|
|
132
|
-
),
|
|
128
|
+
M.json(200, operations.AccountV1ImagesUploadResponse$inboundSchema, {
|
|
129
|
+
key: "V1UploadImagesResponseBody",
|
|
130
|
+
}),
|
|
133
131
|
M.jsonErr([422, 500], errors.ErrorModel$inboundSchema, {
|
|
134
132
|
ctype: "application/problem+json",
|
|
135
133
|
}),
|
|
@@ -75,14 +75,14 @@ export async function accountVerifyEmail(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function accountsQueue(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -59,14 +59,14 @@ export async function adminAdminV1GetEvents(
|
|
|
59
59
|
strategy: "backoff",
|
|
60
60
|
backoff: {
|
|
61
61
|
initialInterval: 500,
|
|
62
|
-
maxInterval:
|
|
62
|
+
maxInterval: 5000,
|
|
63
63
|
exponent: 1.5,
|
|
64
|
-
maxElapsedTime:
|
|
64
|
+
maxElapsedTime: 60000,
|
|
65
65
|
},
|
|
66
66
|
retryConnectionErrors: true,
|
|
67
67
|
}
|
|
68
68
|
|| { strategy: "none" },
|
|
69
|
-
retryCodes: options?.retryCodes || ["
|
|
69
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function adminAdminV1UpdateEvent(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function adminAdminV1UpdateResources(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function adminAdminV1UpdateRoles(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function adminGetAccount(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function badgeAccountV1BookmarkBadge(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -62,14 +62,14 @@ export async function badgeAccountV1GetBadgeBookmarks(
|
|
|
62
62
|
strategy: "backoff",
|
|
63
63
|
backoff: {
|
|
64
64
|
initialInterval: 500,
|
|
65
|
-
maxInterval:
|
|
65
|
+
maxInterval: 5000,
|
|
66
66
|
exponent: 1.5,
|
|
67
|
-
maxElapsedTime:
|
|
67
|
+
maxElapsedTime: 60000,
|
|
68
68
|
},
|
|
69
69
|
retryConnectionErrors: true,
|
|
70
70
|
}
|
|
71
71
|
|| { strategy: "none" },
|
|
72
|
-
retryCodes: options?.retryCodes || ["
|
|
72
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
const requestRes = client._createRequest(context, {
|
|
@@ -62,14 +62,14 @@ export async function badgeGetTags(
|
|
|
62
62
|
strategy: "backoff",
|
|
63
63
|
backoff: {
|
|
64
64
|
initialInterval: 500,
|
|
65
|
-
maxInterval:
|
|
65
|
+
maxInterval: 5000,
|
|
66
66
|
exponent: 1.5,
|
|
67
|
-
maxElapsedTime:
|
|
67
|
+
maxElapsedTime: 60000,
|
|
68
68
|
},
|
|
69
69
|
retryConnectionErrors: true,
|
|
70
70
|
}
|
|
71
71
|
|| { strategy: "none" },
|
|
72
|
-
retryCodes: options?.retryCodes || ["
|
|
72
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
const requestRes = client._createRequest(context, {
|
package/src/funcs/badgesTag.ts
CHANGED
|
@@ -75,14 +75,14 @@ export async function badgesTag(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function connectionDelete(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function connectionUpdate(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function connectionVerify(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function connectionsConnect(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
package/src/funcs/dataGetApps.ts
CHANGED
|
@@ -75,14 +75,14 @@ export async function dataGetApps(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function dataGetBadges(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function dataGetDataPoints(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function dataGetFriends(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
package/src/funcs/dataGetInfo.ts
CHANGED
|
@@ -75,14 +75,14 @@ export async function dataGetInfo(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -75,14 +75,14 @@ export async function dataGetLeaderboardHistory(
|
|
|
75
75
|
strategy: "backoff",
|
|
76
76
|
backoff: {
|
|
77
77
|
initialInterval: 500,
|
|
78
|
-
maxInterval:
|
|
78
|
+
maxInterval: 5000,
|
|
79
79
|
exponent: 1.5,
|
|
80
|
-
maxElapsedTime:
|
|
80
|
+
maxElapsedTime: 60000,
|
|
81
81
|
},
|
|
82
82
|
retryConnectionErrors: true,
|
|
83
83
|
}
|
|
84
84
|
|| { strategy: "none" },
|
|
85
|
-
retryCodes: options?.retryCodes || ["
|
|
85
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const requestRes = client._createRequest(context, {
|
|
@@ -59,14 +59,14 @@ export async function dataGetStaff(
|
|
|
59
59
|
strategy: "backoff",
|
|
60
60
|
backoff: {
|
|
61
61
|
initialInterval: 500,
|
|
62
|
-
maxInterval:
|
|
62
|
+
maxInterval: 5000,
|
|
63
63
|
exponent: 1.5,
|
|
64
|
-
maxElapsedTime:
|
|
64
|
+
maxElapsedTime: 60000,
|
|
65
65
|
},
|
|
66
66
|
retryConnectionErrors: true,
|
|
67
67
|
}
|
|
68
68
|
|| { strategy: "none" },
|
|
69
|
-
retryCodes: options?.retryCodes || ["
|
|
69
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
const requestRes = client._createRequest(context, {
|
|
@@ -76,14 +76,14 @@ export async function developerCreateDeveloperApp(
|
|
|
76
76
|
strategy: "backoff",
|
|
77
77
|
backoff: {
|
|
78
78
|
initialInterval: 500,
|
|
79
|
-
maxInterval:
|
|
79
|
+
maxInterval: 5000,
|
|
80
80
|
exponent: 1.5,
|
|
81
|
-
maxElapsedTime:
|
|
81
|
+
maxElapsedTime: 60000,
|
|
82
82
|
},
|
|
83
83
|
retryConnectionErrors: true,
|
|
84
84
|
}
|
|
85
85
|
|| { strategy: "none" },
|
|
86
|
-
retryCodes: options?.retryCodes || ["
|
|
86
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
const requestRes = client._createRequest(context, {
|
|
@@ -78,14 +78,14 @@ export async function developerDeleteDeveloperApp(
|
|
|
78
78
|
strategy: "backoff",
|
|
79
79
|
backoff: {
|
|
80
80
|
initialInterval: 500,
|
|
81
|
-
maxInterval:
|
|
81
|
+
maxInterval: 5000,
|
|
82
82
|
exponent: 1.5,
|
|
83
|
-
maxElapsedTime:
|
|
83
|
+
maxElapsedTime: 60000,
|
|
84
84
|
},
|
|
85
85
|
retryConnectionErrors: true,
|
|
86
86
|
}
|
|
87
87
|
|| { strategy: "none" },
|
|
88
|
-
retryCodes: options?.retryCodes || ["
|
|
88
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
const requestRes = client._createRequest(context, {
|
|
@@ -78,14 +78,14 @@ export async function developerUpdateApp(
|
|
|
78
78
|
strategy: "backoff",
|
|
79
79
|
backoff: {
|
|
80
80
|
initialInterval: 500,
|
|
81
|
-
maxInterval:
|
|
81
|
+
maxInterval: 5000,
|
|
82
82
|
exponent: 1.5,
|
|
83
|
-
maxElapsedTime:
|
|
83
|
+
maxElapsedTime: 60000,
|
|
84
84
|
},
|
|
85
85
|
retryConnectionErrors: true,
|
|
86
86
|
}
|
|
87
87
|
|| { strategy: "none" },
|
|
88
|
-
retryCodes: options?.retryCodes || ["
|
|
88
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
const requestRes = client._createRequest(context, {
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteamSetsCore } from "../core.js";
|
|
6
|
+
import * as M from "../lib/matchers.js";
|
|
7
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
9
|
+
import { pathToFunc } from "../lib/url.js";
|
|
10
|
+
import {
|
|
11
|
+
ConnectionError,
|
|
12
|
+
InvalidRequestError,
|
|
13
|
+
RequestAbortedError,
|
|
14
|
+
RequestTimeoutError,
|
|
15
|
+
UnexpectedClientError,
|
|
16
|
+
} from "../models/errors/httpclienterrors.js";
|
|
17
|
+
import * as errors from "../models/errors/index.js";
|
|
18
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
19
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
20
|
+
import * as operations from "../models/operations/index.js";
|
|
21
|
+
import { Result } from "../types/fp.js";
|
|
22
|
+
|
|
23
|
+
export async function imagesAccountV1ImagesGet(
|
|
24
|
+
client: SteamSetsCore,
|
|
25
|
+
options?: RequestOptions,
|
|
26
|
+
): Promise<
|
|
27
|
+
Result<
|
|
28
|
+
operations.AccountV1ImagesGetResponse,
|
|
29
|
+
| errors.ErrorModel
|
|
30
|
+
| SDKError
|
|
31
|
+
| SDKValidationError
|
|
32
|
+
| UnexpectedClientError
|
|
33
|
+
| InvalidRequestError
|
|
34
|
+
| RequestAbortedError
|
|
35
|
+
| RequestTimeoutError
|
|
36
|
+
| ConnectionError
|
|
37
|
+
>
|
|
38
|
+
> {
|
|
39
|
+
const path = pathToFunc("/account.v1.AccountService/GetImages")();
|
|
40
|
+
|
|
41
|
+
const headers = new Headers({
|
|
42
|
+
Accept: "application/json",
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
const secConfig = await extractSecurity(client._options.token);
|
|
46
|
+
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
47
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48
|
+
|
|
49
|
+
const context = {
|
|
50
|
+
operationID: "account.v1.images.get",
|
|
51
|
+
oAuth2Scopes: [],
|
|
52
|
+
|
|
53
|
+
resolvedSecurity: requestSecurity,
|
|
54
|
+
|
|
55
|
+
securitySource: client._options.token,
|
|
56
|
+
retryConfig: options?.retries
|
|
57
|
+
|| client._options.retryConfig
|
|
58
|
+
|| {
|
|
59
|
+
strategy: "backoff",
|
|
60
|
+
backoff: {
|
|
61
|
+
initialInterval: 500,
|
|
62
|
+
maxInterval: 5000,
|
|
63
|
+
exponent: 1.5,
|
|
64
|
+
maxElapsedTime: 60000,
|
|
65
|
+
},
|
|
66
|
+
retryConnectionErrors: true,
|
|
67
|
+
}
|
|
68
|
+
|| { strategy: "none" },
|
|
69
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const requestRes = client._createRequest(context, {
|
|
73
|
+
security: requestSecurity,
|
|
74
|
+
method: "POST",
|
|
75
|
+
path: path,
|
|
76
|
+
headers: headers,
|
|
77
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
78
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
79
|
+
}, options);
|
|
80
|
+
if (!requestRes.ok) {
|
|
81
|
+
return requestRes;
|
|
82
|
+
}
|
|
83
|
+
const req = requestRes.value;
|
|
84
|
+
|
|
85
|
+
const doResult = await client._do(req, {
|
|
86
|
+
context,
|
|
87
|
+
errorCodes: ["4XX", "500", "5XX"],
|
|
88
|
+
retryConfig: context.retryConfig,
|
|
89
|
+
retryCodes: context.retryCodes,
|
|
90
|
+
});
|
|
91
|
+
if (!doResult.ok) {
|
|
92
|
+
return doResult;
|
|
93
|
+
}
|
|
94
|
+
const response = doResult.value;
|
|
95
|
+
|
|
96
|
+
const responseFields = {
|
|
97
|
+
HttpMeta: { Response: response, Request: req },
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
const [result] = await M.match<
|
|
101
|
+
operations.AccountV1ImagesGetResponse,
|
|
102
|
+
| errors.ErrorModel
|
|
103
|
+
| SDKError
|
|
104
|
+
| SDKValidationError
|
|
105
|
+
| UnexpectedClientError
|
|
106
|
+
| InvalidRequestError
|
|
107
|
+
| RequestAbortedError
|
|
108
|
+
| RequestTimeoutError
|
|
109
|
+
| ConnectionError
|
|
110
|
+
>(
|
|
111
|
+
M.json(200, operations.AccountV1ImagesGetResponse$inboundSchema, {
|
|
112
|
+
key: "V1GetImagesResponseBody",
|
|
113
|
+
}),
|
|
114
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
115
|
+
ctype: "application/problem+json",
|
|
116
|
+
}),
|
|
117
|
+
M.fail(["4XX", "5XX"]),
|
|
118
|
+
)(response, req, { extraFields: responseFields });
|
|
119
|
+
if (!result.ok) {
|
|
120
|
+
return result;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return result;
|
|
124
|
+
}
|