@steamsets/client-ts 0.12.7 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -15
- package/docs/sdks/meta/README.md +153 -0
- package/docs/sdks/steamsets/README.md +1 -148
- package/funcs/accountDeleteImages.d.ts.map +1 -1
- package/funcs/accountDeleteImages.js +17 -14
- package/funcs/accountDeleteImages.js.map +1 -1
- package/funcs/accountGetApps.d.ts.map +1 -1
- package/funcs/accountGetApps.js +17 -14
- package/funcs/accountGetApps.js.map +1 -1
- package/funcs/accountGetBadges.d.ts.map +1 -1
- package/funcs/accountGetBadges.js +17 -14
- package/funcs/accountGetBadges.js.map +1 -1
- package/funcs/accountGetDataPoints.d.ts.map +1 -1
- package/funcs/accountGetDataPoints.js +17 -14
- package/funcs/accountGetDataPoints.js.map +1 -1
- package/funcs/accountGetFriends.d.ts.map +1 -1
- package/funcs/accountGetFriends.js +17 -14
- package/funcs/accountGetFriends.js.map +1 -1
- package/funcs/accountGetInfo.d.ts.map +1 -1
- package/funcs/accountGetInfo.js +17 -14
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/accountGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountGetLeaderboardHistory.js +17 -14
- package/funcs/accountGetLeaderboardHistory.js.map +1 -1
- package/funcs/accountGetStaff.d.ts.map +1 -1
- package/funcs/accountGetStaff.js +17 -14
- package/funcs/accountGetStaff.js.map +1 -1
- package/funcs/accountSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountSendEmailVerification.js +17 -14
- package/funcs/accountSendEmailVerification.js.map +1 -1
- package/funcs/accountUpdateImage.d.ts.map +1 -1
- package/funcs/accountUpdateImage.js +17 -14
- package/funcs/accountUpdateImage.js.map +1 -1
- package/funcs/accountUploadImages.d.ts.map +1 -1
- package/funcs/accountUploadImages.js +17 -14
- package/funcs/accountUploadImages.js.map +1 -1
- package/funcs/accountVerifyEmail.d.ts.map +1 -1
- package/funcs/accountVerifyEmail.js +17 -14
- package/funcs/accountVerifyEmail.js.map +1 -1
- package/funcs/accountsQueue.d.ts.map +1 -1
- package/funcs/accountsQueue.js +17 -14
- package/funcs/accountsQueue.js.map +1 -1
- package/funcs/adminAdminV1UpdateResources.d.ts.map +1 -1
- package/funcs/adminAdminV1UpdateResources.js +17 -14
- package/funcs/adminAdminV1UpdateResources.js.map +1 -1
- package/funcs/adminAdminV1UpdateRoles.d.ts.map +1 -1
- package/funcs/adminAdminV1UpdateRoles.js +17 -14
- package/funcs/adminAdminV1UpdateRoles.js.map +1 -1
- package/funcs/adminGetAccount.d.ts.map +1 -1
- package/funcs/adminGetAccount.js +17 -14
- package/funcs/adminGetAccount.js.map +1 -1
- package/funcs/badgeGetTags.d.ts.map +1 -1
- package/funcs/badgeGetTags.js +17 -14
- package/funcs/badgeGetTags.js.map +1 -1
- package/funcs/badgesTag.d.ts.map +1 -1
- package/funcs/badgesTag.js +17 -14
- package/funcs/badgesTag.js.map +1 -1
- package/funcs/connectionDelete.d.ts.map +1 -1
- package/funcs/connectionDelete.js +17 -14
- package/funcs/connectionDelete.js.map +1 -1
- package/funcs/connectionUpdate.d.ts.map +1 -1
- package/funcs/connectionUpdate.js +17 -14
- package/funcs/connectionUpdate.js.map +1 -1
- package/funcs/connectionVerify.d.ts.map +1 -1
- package/funcs/connectionVerify.js +17 -14
- package/funcs/connectionVerify.js.map +1 -1
- package/funcs/connectionsConnect.d.ts.map +1 -1
- package/funcs/connectionsConnect.js +17 -14
- package/funcs/connectionsConnect.js.map +1 -1
- package/funcs/dataGetApps.d.ts.map +1 -1
- package/funcs/dataGetApps.js +17 -14
- package/funcs/dataGetApps.js.map +1 -1
- package/funcs/dataGetBadges.d.ts.map +1 -1
- package/funcs/dataGetBadges.js +17 -14
- package/funcs/dataGetBadges.js.map +1 -1
- package/funcs/dataGetDataPoints.d.ts.map +1 -1
- package/funcs/dataGetDataPoints.js +17 -14
- package/funcs/dataGetDataPoints.js.map +1 -1
- package/funcs/dataGetFriends.d.ts.map +1 -1
- package/funcs/dataGetFriends.js +17 -14
- package/funcs/dataGetFriends.js.map +1 -1
- package/funcs/dataGetInfo.d.ts.map +1 -1
- package/funcs/dataGetInfo.js +17 -14
- package/funcs/dataGetInfo.js.map +1 -1
- package/funcs/dataGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataGetLeaderboardHistory.js +17 -14
- package/funcs/dataGetLeaderboardHistory.js.map +1 -1
- package/funcs/dataGetStaff.d.ts.map +1 -1
- package/funcs/dataGetStaff.js +17 -14
- package/funcs/dataGetStaff.js.map +1 -1
- package/funcs/developerCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/developerCreateDeveloperApp.js +17 -14
- package/funcs/developerCreateDeveloperApp.js.map +1 -1
- package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/developerDeleteDeveloperApp.js +17 -14
- package/funcs/developerDeleteDeveloperApp.js.map +1 -1
- package/funcs/developerUpdateApp.d.ts.map +1 -1
- package/funcs/developerUpdateApp.js +17 -14
- package/funcs/developerUpdateApp.js.map +1 -1
- package/funcs/leaderboardGetAccount.d.ts.map +1 -1
- package/funcs/leaderboardGetAccount.js +17 -14
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetBadges.d.ts.map +1 -1
- package/funcs/leaderboardGetBadges.js +17 -14
- package/funcs/leaderboardGetBadges.js.map +1 -1
- package/funcs/leaderboardGetGroup.d.ts.map +1 -1
- package/funcs/leaderboardGetGroup.js +17 -14
- package/funcs/leaderboardGetGroup.js.map +1 -1
- package/funcs/livenessCheck.d.ts.map +1 -1
- package/funcs/livenessCheck.js +17 -14
- package/funcs/livenessCheck.js.map +1 -1
- package/funcs/locationsGet.d.ts.map +1 -1
- package/funcs/locationsGet.js +17 -14
- package/funcs/locationsGet.js.map +1 -1
- package/funcs/{accountV1GetMeta.d.ts → metaAccountV1GetEmbed.d.ts} +2 -2
- package/funcs/metaAccountV1GetEmbed.d.ts.map +1 -0
- package/funcs/{accountV1GetEmbed.js → metaAccountV1GetEmbed.js} +20 -17
- package/funcs/metaAccountV1GetEmbed.js.map +1 -0
- package/funcs/{accountV1GetEmbed.d.ts → metaAccountV1GetMeta.d.ts} +2 -2
- package/funcs/metaAccountV1GetMeta.d.ts.map +1 -0
- package/funcs/{accountV1GetMeta.js → metaAccountV1GetMeta.js} +20 -17
- package/funcs/metaAccountV1GetMeta.js.map +1 -0
- package/funcs/publicGetApps.d.ts.map +1 -1
- package/funcs/publicGetApps.js +17 -14
- package/funcs/publicGetApps.js.map +1 -1
- package/funcs/publicGetBadges.d.ts.map +1 -1
- package/funcs/publicGetBadges.js +17 -14
- package/funcs/publicGetBadges.js.map +1 -1
- package/funcs/publicGetDataPoints.d.ts.map +1 -1
- package/funcs/publicGetDataPoints.js +17 -14
- package/funcs/publicGetDataPoints.js.map +1 -1
- package/funcs/publicGetFriends.d.ts.map +1 -1
- package/funcs/publicGetFriends.js +17 -14
- package/funcs/publicGetFriends.js.map +1 -1
- package/funcs/publicGetInfo.d.ts.map +1 -1
- package/funcs/publicGetInfo.js +17 -14
- package/funcs/publicGetInfo.js.map +1 -1
- package/funcs/publicGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicGetLeaderboardHistory.js +17 -14
- package/funcs/publicGetLeaderboardHistory.js.map +1 -1
- package/funcs/sessionCreate.d.ts.map +1 -1
- package/funcs/sessionCreate.js +17 -14
- package/funcs/sessionCreate.js.map +1 -1
- package/funcs/sessionLogin.d.ts.map +1 -1
- package/funcs/sessionLogin.js +17 -14
- package/funcs/sessionLogin.js.map +1 -1
- package/funcs/sessionsDelete.d.ts.map +1 -1
- package/funcs/sessionsDelete.js +17 -14
- package/funcs/sessionsDelete.js.map +1 -1
- package/funcs/sessionsGet.d.ts.map +1 -1
- package/funcs/sessionsGet.js +17 -14
- package/funcs/sessionsGet.js.map +1 -1
- package/funcs/settingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsDeleteImages.js +17 -14
- package/funcs/settingsDeleteImages.js.map +1 -1
- package/funcs/settingsGet.d.ts.map +1 -1
- package/funcs/settingsGet.js +17 -14
- package/funcs/settingsGet.js.map +1 -1
- package/funcs/settingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/settingsSendEmailVerification.js +17 -14
- package/funcs/settingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsUpdate.d.ts.map +1 -1
- package/funcs/settingsUpdate.js +17 -14
- package/funcs/settingsUpdate.js.map +1 -1
- package/funcs/settingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsUpdateImage.js +17 -14
- package/funcs/settingsUpdateImage.js.map +1 -1
- package/funcs/settingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsUploadImages.js +17 -14
- package/funcs/settingsUploadImages.js.map +1 -1
- package/funcs/settingsVerifyEmail.d.ts.map +1 -1
- package/funcs/settingsVerifyEmail.js +17 -14
- package/funcs/settingsVerifyEmail.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/retries.d.ts +20 -0
- package/lib/retries.d.ts.map +1 -1
- package/lib/retries.js +51 -26
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts +2 -2
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +14 -12
- package/lib/sdks.js.map +1 -1
- package/models/components/chosenrole.d.ts +104 -0
- package/models/components/chosenrole.d.ts.map +1 -0
- package/models/components/chosenrole.js +87 -0
- package/models/components/chosenrole.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1getsettingsbody.d.ts +3 -0
- package/models/components/v1getsettingsbody.d.ts.map +1 -1
- package/models/components/v1getsettingsbody.js +3 -0
- package/models/components/v1getsettingsbody.js.map +1 -1
- package/package.json +1 -1
- package/sdk/meta.d.ts +8 -0
- package/sdk/meta.d.ts.map +1 -0
- package/sdk/meta.js +20 -0
- package/sdk/meta.js.map +1 -0
- package/sdk/sdk.d.ts +4 -5
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -9
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountDeleteImages.ts +18 -14
- package/src/funcs/accountGetApps.ts +18 -14
- package/src/funcs/accountGetBadges.ts +18 -14
- package/src/funcs/accountGetDataPoints.ts +18 -14
- package/src/funcs/accountGetFriends.ts +18 -14
- package/src/funcs/accountGetInfo.ts +18 -14
- package/src/funcs/accountGetLeaderboardHistory.ts +18 -14
- package/src/funcs/accountGetStaff.ts +18 -14
- package/src/funcs/accountSendEmailVerification.ts +18 -14
- package/src/funcs/accountUpdateImage.ts +18 -14
- package/src/funcs/accountUploadImages.ts +18 -14
- package/src/funcs/accountVerifyEmail.ts +18 -14
- package/src/funcs/accountsQueue.ts +18 -14
- package/src/funcs/adminAdminV1UpdateResources.ts +18 -14
- package/src/funcs/adminAdminV1UpdateRoles.ts +18 -14
- package/src/funcs/adminGetAccount.ts +18 -14
- package/src/funcs/badgeGetTags.ts +18 -14
- package/src/funcs/badgesTag.ts +18 -14
- package/src/funcs/connectionDelete.ts +18 -14
- package/src/funcs/connectionUpdate.ts +18 -14
- package/src/funcs/connectionVerify.ts +18 -14
- package/src/funcs/connectionsConnect.ts +18 -14
- package/src/funcs/dataGetApps.ts +18 -14
- package/src/funcs/dataGetBadges.ts +18 -14
- package/src/funcs/dataGetDataPoints.ts +18 -14
- package/src/funcs/dataGetFriends.ts +18 -14
- package/src/funcs/dataGetInfo.ts +18 -14
- package/src/funcs/dataGetLeaderboardHistory.ts +18 -14
- package/src/funcs/dataGetStaff.ts +18 -14
- package/src/funcs/developerCreateDeveloperApp.ts +18 -14
- package/src/funcs/developerDeleteDeveloperApp.ts +18 -14
- package/src/funcs/developerUpdateApp.ts +18 -14
- package/src/funcs/leaderboardGetAccount.ts +18 -14
- package/src/funcs/leaderboardGetBadges.ts +18 -14
- package/src/funcs/leaderboardGetGroup.ts +18 -14
- package/src/funcs/livenessCheck.ts +18 -14
- package/src/funcs/locationsGet.ts +18 -14
- package/src/funcs/{accountV1GetEmbed.ts → metaAccountV1GetEmbed.ts} +19 -15
- package/src/funcs/{accountV1GetMeta.ts → metaAccountV1GetMeta.ts} +19 -15
- package/src/funcs/publicGetApps.ts +18 -14
- package/src/funcs/publicGetBadges.ts +18 -14
- package/src/funcs/publicGetDataPoints.ts +18 -14
- package/src/funcs/publicGetFriends.ts +18 -14
- package/src/funcs/publicGetInfo.ts +18 -14
- package/src/funcs/publicGetLeaderboardHistory.ts +18 -14
- package/src/funcs/sessionCreate.ts +18 -14
- package/src/funcs/sessionLogin.ts +18 -14
- package/src/funcs/sessionsDelete.ts +18 -14
- package/src/funcs/sessionsGet.ts +18 -14
- package/src/funcs/settingsDeleteImages.ts +18 -14
- package/src/funcs/settingsGet.ts +18 -14
- package/src/funcs/settingsSendEmailVerification.ts +18 -14
- package/src/funcs/settingsUpdate.ts +18 -14
- package/src/funcs/settingsUpdateImage.ts +18 -14
- package/src/funcs/settingsUploadImages.ts +18 -14
- package/src/funcs/settingsVerifyEmail.ts +18 -14
- package/src/hooks/types.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/retries.ts +63 -31
- package/src/lib/sdks.ts +19 -15
- package/src/models/components/chosenrole.ts +96 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/v1getsettingsbody.ts +10 -0
- package/src/sdk/meta.ts +34 -0
- package/src/sdk/sdk.ts +7 -28
- package/funcs/accountV1GetEmbed.d.ts.map +0 -1
- package/funcs/accountV1GetEmbed.js.map +0 -1
- package/funcs/accountV1GetMeta.d.ts.map +0 -1
- package/funcs/accountV1GetMeta.js.map +0 -1
package/README.md
CHANGED
|
@@ -53,7 +53,10 @@ const steamSets = new SteamSets({
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
async function run() {
|
|
56
|
-
const result = await steamSets.
|
|
56
|
+
const result = await steamSets.connections.connect({
|
|
57
|
+
code: "123456",
|
|
58
|
+
provider: "discord",
|
|
59
|
+
});
|
|
57
60
|
|
|
58
61
|
// Handle the result
|
|
59
62
|
console.log(result);
|
|
@@ -143,6 +146,11 @@ run();
|
|
|
143
146
|
|
|
144
147
|
* [get](docs/sdks/locations/README.md#get)
|
|
145
148
|
|
|
149
|
+
### [meta](docs/sdks/meta/README.md)
|
|
150
|
+
|
|
151
|
+
* [accountV1GetEmbed](docs/sdks/meta/README.md#accountv1getembed)
|
|
152
|
+
* [accountV1GetMeta](docs/sdks/meta/README.md#accountv1getmeta)
|
|
153
|
+
|
|
146
154
|
### [public](docs/sdks/public/README.md)
|
|
147
155
|
|
|
148
156
|
* [getApps](docs/sdks/public/README.md#getapps)
|
|
@@ -172,10 +180,6 @@ run();
|
|
|
172
180
|
* [uploadImages](docs/sdks/settings/README.md#uploadimages)
|
|
173
181
|
* [verifyEmail](docs/sdks/settings/README.md#verifyemail)
|
|
174
182
|
|
|
175
|
-
### [SteamSets SDK](docs/sdks/steamsets/README.md)
|
|
176
|
-
|
|
177
|
-
* [accountV1GetEmbed](docs/sdks/steamsets/README.md#accountv1getembed)
|
|
178
|
-
* [accountV1GetMeta](docs/sdks/steamsets/README.md#accountv1getmeta)
|
|
179
183
|
|
|
180
184
|
</details>
|
|
181
185
|
<!-- End Available Resources and Operations [operations] -->
|
|
@@ -194,7 +198,10 @@ const steamSets = new SteamSets({
|
|
|
194
198
|
});
|
|
195
199
|
|
|
196
200
|
async function run() {
|
|
197
|
-
const result = await steamSets.
|
|
201
|
+
const result = await steamSets.connections.connect({
|
|
202
|
+
code: "123456",
|
|
203
|
+
provider: "discord",
|
|
204
|
+
}, {
|
|
198
205
|
retries: {
|
|
199
206
|
strategy: "backoff",
|
|
200
207
|
backoff: {
|
|
@@ -234,7 +241,10 @@ const steamSets = new SteamSets({
|
|
|
234
241
|
});
|
|
235
242
|
|
|
236
243
|
async function run() {
|
|
237
|
-
const result = await steamSets.
|
|
244
|
+
const result = await steamSets.connections.connect({
|
|
245
|
+
code: "123456",
|
|
246
|
+
provider: "discord",
|
|
247
|
+
});
|
|
238
248
|
|
|
239
249
|
// Handle the result
|
|
240
250
|
console.log(result);
|
|
@@ -260,11 +270,11 @@ If a HTTP request fails, an operation my also throw an error from the `models/er
|
|
|
260
270
|
| InvalidRequestError | Any input used to create a request is invalid |
|
|
261
271
|
| UnexpectedClientError | Unrecognised or unexpected error |
|
|
262
272
|
|
|
263
|
-
In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `
|
|
273
|
+
In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `connect` method may throw the following errors:
|
|
264
274
|
|
|
265
275
|
| Error Type | Status Code | Content Type |
|
|
266
276
|
| ------------------------ | ------------------------ | ------------------------ |
|
|
267
|
-
| errors.ErrorModel |
|
|
277
|
+
| errors.ErrorModel | 400, 422, 500 | application/problem+json |
|
|
268
278
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
269
279
|
|
|
270
280
|
```typescript
|
|
@@ -281,7 +291,10 @@ const steamSets = new SteamSets({
|
|
|
281
291
|
async function run() {
|
|
282
292
|
let result;
|
|
283
293
|
try {
|
|
284
|
-
result = await steamSets.
|
|
294
|
+
result = await steamSets.connections.connect({
|
|
295
|
+
code: "123456",
|
|
296
|
+
provider: "discord",
|
|
297
|
+
});
|
|
285
298
|
|
|
286
299
|
// Handle the result
|
|
287
300
|
console.log(result);
|
|
@@ -334,7 +347,10 @@ const steamSets = new SteamSets({
|
|
|
334
347
|
});
|
|
335
348
|
|
|
336
349
|
async function run() {
|
|
337
|
-
const result = await steamSets.
|
|
350
|
+
const result = await steamSets.connections.connect({
|
|
351
|
+
code: "123456",
|
|
352
|
+
provider: "discord",
|
|
353
|
+
});
|
|
338
354
|
|
|
339
355
|
// Handle the result
|
|
340
356
|
console.log(result);
|
|
@@ -358,7 +374,10 @@ const steamSets = new SteamSets({
|
|
|
358
374
|
});
|
|
359
375
|
|
|
360
376
|
async function run() {
|
|
361
|
-
const result = await steamSets.
|
|
377
|
+
const result = await steamSets.connections.connect({
|
|
378
|
+
code: "123456",
|
|
379
|
+
provider: "discord",
|
|
380
|
+
});
|
|
362
381
|
|
|
363
382
|
// Handle the result
|
|
364
383
|
console.log(result);
|
|
@@ -438,7 +457,10 @@ const steamSets = new SteamSets({
|
|
|
438
457
|
});
|
|
439
458
|
|
|
440
459
|
async function run() {
|
|
441
|
-
const result = await steamSets.
|
|
460
|
+
const result = await steamSets.connections.connect({
|
|
461
|
+
code: "123456",
|
|
462
|
+
provider: "discord",
|
|
463
|
+
});
|
|
442
464
|
|
|
443
465
|
// Handle the result
|
|
444
466
|
console.log(result);
|
|
@@ -521,8 +543,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
521
543
|
- [`accountsQueue`](docs/sdks/accounts/README.md#queue)
|
|
522
544
|
- [`accountUpdateImage`](docs/sdks/account/README.md#updateimage)
|
|
523
545
|
- [`accountUploadImages`](docs/sdks/account/README.md#uploadimages)
|
|
524
|
-
- [`accountV1GetEmbed`](docs/sdks/steamsets/README.md#accountv1getembed)
|
|
525
|
-
- [`accountV1GetMeta`](docs/sdks/steamsets/README.md#accountv1getmeta)
|
|
526
546
|
- [`accountVerifyEmail`](docs/sdks/account/README.md#verifyemail)
|
|
527
547
|
- [`adminAdminV1UpdateResources`](docs/sdks/admin/README.md#adminv1updateresources)
|
|
528
548
|
- [`adminAdminV1UpdateRoles`](docs/sdks/admin/README.md#adminv1updateroles)
|
|
@@ -548,6 +568,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
548
568
|
- [`leaderboardGetGroup`](docs/sdks/leaderboard/README.md#getgroup)
|
|
549
569
|
- [`livenessCheck`](docs/sdks/liveness/README.md#check) - Liveness check
|
|
550
570
|
- [`locationsGet`](docs/sdks/locations/README.md#get)
|
|
571
|
+
- [`metaAccountV1GetEmbed`](docs/sdks/meta/README.md#accountv1getembed)
|
|
572
|
+
- [`metaAccountV1GetMeta`](docs/sdks/meta/README.md#accountv1getmeta)
|
|
551
573
|
- [`publicGetApps`](docs/sdks/public/README.md#getapps)
|
|
552
574
|
- [`publicGetBadges`](docs/sdks/public/README.md#getbadges)
|
|
553
575
|
- [`publicGetDataPoints`](docs/sdks/public/README.md#getdatapoints)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Meta
|
|
2
|
+
(*meta*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
Seo related operations, mostly public endpoints that return images/text
|
|
7
|
+
|
|
8
|
+
### Available Operations
|
|
9
|
+
|
|
10
|
+
* [accountV1GetEmbed](#accountv1getembed)
|
|
11
|
+
* [accountV1GetMeta](#accountv1getmeta)
|
|
12
|
+
|
|
13
|
+
## accountV1GetEmbed
|
|
14
|
+
|
|
15
|
+
### Example Usage
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
19
|
+
|
|
20
|
+
const steamSets = new SteamSets({
|
|
21
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
async function run() {
|
|
25
|
+
const result = await steamSets.meta.accountV1GetEmbed({});
|
|
26
|
+
|
|
27
|
+
// Handle the result
|
|
28
|
+
console.log(result);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
run();
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Standalone function
|
|
35
|
+
|
|
36
|
+
The standalone function version of this method:
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
40
|
+
import { metaAccountV1GetEmbed } from "@steamsets/client-ts/funcs/metaAccountV1GetEmbed.js";
|
|
41
|
+
|
|
42
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
|
+
// You can create one instance of it to use across an application.
|
|
44
|
+
const steamSets = new SteamSetsCore({
|
|
45
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
async function run() {
|
|
49
|
+
const res = await metaAccountV1GetEmbed(steamSets, {});
|
|
50
|
+
|
|
51
|
+
if (!res.ok) {
|
|
52
|
+
throw res.error;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const { value: result } = res;
|
|
56
|
+
|
|
57
|
+
// Handle the result
|
|
58
|
+
console.log(result);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
run();
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Parameter | Type | Required | Description |
|
|
67
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
68
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
69
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
70
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
71
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
72
|
+
|
|
73
|
+
### Response
|
|
74
|
+
|
|
75
|
+
**Promise\<[operations.AccountV1GetEmbedResponse](../../models/operations/accountv1getembedresponse.md)\>**
|
|
76
|
+
|
|
77
|
+
### Errors
|
|
78
|
+
|
|
79
|
+
| Error Type | Status Code | Content Type |
|
|
80
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
81
|
+
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
82
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
83
|
+
|
|
84
|
+
## accountV1GetMeta
|
|
85
|
+
|
|
86
|
+
### Example Usage
|
|
87
|
+
|
|
88
|
+
```typescript
|
|
89
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
90
|
+
|
|
91
|
+
const steamSets = new SteamSets({
|
|
92
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
async function run() {
|
|
96
|
+
const result = await steamSets.meta.accountV1GetMeta({});
|
|
97
|
+
|
|
98
|
+
// Handle the result
|
|
99
|
+
console.log(result);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
run();
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Standalone function
|
|
106
|
+
|
|
107
|
+
The standalone function version of this method:
|
|
108
|
+
|
|
109
|
+
```typescript
|
|
110
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
111
|
+
import { metaAccountV1GetMeta } from "@steamsets/client-ts/funcs/metaAccountV1GetMeta.js";
|
|
112
|
+
|
|
113
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
114
|
+
// You can create one instance of it to use across an application.
|
|
115
|
+
const steamSets = new SteamSetsCore({
|
|
116
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
async function run() {
|
|
120
|
+
const res = await metaAccountV1GetMeta(steamSets, {});
|
|
121
|
+
|
|
122
|
+
if (!res.ok) {
|
|
123
|
+
throw res.error;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const { value: result } = res;
|
|
127
|
+
|
|
128
|
+
// Handle the result
|
|
129
|
+
console.log(result);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
run();
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Parameters
|
|
136
|
+
|
|
137
|
+
| Parameter | Type | Required | Description |
|
|
138
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
139
|
+
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
140
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
141
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
142
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
143
|
+
|
|
144
|
+
### Response
|
|
145
|
+
|
|
146
|
+
**Promise\<[operations.AccountV1GetMetaResponse](../../models/operations/accountv1getmetaresponse.md)\>**
|
|
147
|
+
|
|
148
|
+
### Errors
|
|
149
|
+
|
|
150
|
+
| Error Type | Status Code | Content Type |
|
|
151
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
152
|
+
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
153
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,150 +1,3 @@
|
|
|
1
1
|
# SteamSets SDK
|
|
2
2
|
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
### Available Operations
|
|
6
|
-
|
|
7
|
-
* [accountV1GetEmbed](#accountv1getembed)
|
|
8
|
-
* [accountV1GetMeta](#accountv1getmeta)
|
|
9
|
-
|
|
10
|
-
## accountV1GetEmbed
|
|
11
|
-
|
|
12
|
-
### Example Usage
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
16
|
-
|
|
17
|
-
const steamSets = new SteamSets({
|
|
18
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
async function run() {
|
|
22
|
-
const result = await steamSets.accountV1GetEmbed({});
|
|
23
|
-
|
|
24
|
-
// Handle the result
|
|
25
|
-
console.log(result);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
run();
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Standalone function
|
|
32
|
-
|
|
33
|
-
The standalone function version of this method:
|
|
34
|
-
|
|
35
|
-
```typescript
|
|
36
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
37
|
-
import { accountV1GetEmbed } from "@steamsets/client-ts/funcs/accountV1GetEmbed.js";
|
|
38
|
-
|
|
39
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
40
|
-
// You can create one instance of it to use across an application.
|
|
41
|
-
const steamSets = new SteamSetsCore({
|
|
42
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
async function run() {
|
|
46
|
-
const res = await accountV1GetEmbed(steamSets, {});
|
|
47
|
-
|
|
48
|
-
if (!res.ok) {
|
|
49
|
-
throw res.error;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const { value: result } = res;
|
|
53
|
-
|
|
54
|
-
// Handle the result
|
|
55
|
-
console.log(result);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
run();
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Parameters
|
|
62
|
-
|
|
63
|
-
| Parameter | Type | Required | Description |
|
|
64
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
65
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
66
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
67
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
68
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
69
|
-
|
|
70
|
-
### Response
|
|
71
|
-
|
|
72
|
-
**Promise\<[operations.AccountV1GetEmbedResponse](../../models/operations/accountv1getembedresponse.md)\>**
|
|
73
|
-
|
|
74
|
-
### Errors
|
|
75
|
-
|
|
76
|
-
| Error Type | Status Code | Content Type |
|
|
77
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
78
|
-
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
79
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
80
|
-
|
|
81
|
-
## accountV1GetMeta
|
|
82
|
-
|
|
83
|
-
### Example Usage
|
|
84
|
-
|
|
85
|
-
```typescript
|
|
86
|
-
import { SteamSets } from "@steamsets/client-ts";
|
|
87
|
-
|
|
88
|
-
const steamSets = new SteamSets({
|
|
89
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
async function run() {
|
|
93
|
-
const result = await steamSets.accountV1GetMeta({});
|
|
94
|
-
|
|
95
|
-
// Handle the result
|
|
96
|
-
console.log(result);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
run();
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Standalone function
|
|
103
|
-
|
|
104
|
-
The standalone function version of this method:
|
|
105
|
-
|
|
106
|
-
```typescript
|
|
107
|
-
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
108
|
-
import { accountV1GetMeta } from "@steamsets/client-ts/funcs/accountV1GetMeta.js";
|
|
109
|
-
|
|
110
|
-
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
111
|
-
// You can create one instance of it to use across an application.
|
|
112
|
-
const steamSets = new SteamSetsCore({
|
|
113
|
-
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
async function run() {
|
|
117
|
-
const res = await accountV1GetMeta(steamSets, {});
|
|
118
|
-
|
|
119
|
-
if (!res.ok) {
|
|
120
|
-
throw res.error;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
const { value: result } = res;
|
|
124
|
-
|
|
125
|
-
// Handle the result
|
|
126
|
-
console.log(result);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
run();
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### Parameters
|
|
133
|
-
|
|
134
|
-
| Parameter | Type | Required | Description |
|
|
135
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
136
|
-
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
137
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
138
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
139
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
140
|
-
|
|
141
|
-
### Response
|
|
142
|
-
|
|
143
|
-
**Promise\<[operations.AccountV1GetMetaResponse](../../models/operations/accountv1getmetaresponse.md)\>**
|
|
144
|
-
|
|
145
|
-
### Errors
|
|
146
|
-
|
|
147
|
-
| Error Type | Status Code | Content Type |
|
|
148
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
149
|
-
| errors.ErrorModel | 403, 404, 422, 429, 500 | application/problem+json |
|
|
150
|
-
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
3
|
+
## Overview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountDeleteImages.d.ts","sourceRoot":"","sources":["../src/funcs/accountDeleteImages.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,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,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,qCAAqC,EAC9C,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,
|
|
1
|
+
{"version":3,"file":"accountDeleteImages.d.ts","sourceRoot":"","sources":["../src/funcs/accountDeleteImages.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,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,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,qCAAqC,EAC9C,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAkGA"}
|
|
@@ -49,12 +49,26 @@ async function accountDeleteImages(client, request, options) {
|
|
|
49
49
|
});
|
|
50
50
|
const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
|
|
51
51
|
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
52
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
52
53
|
const context = {
|
|
53
54
|
operationID: "account.v1.settings.delete-images",
|
|
54
55
|
oAuth2Scopes: [],
|
|
55
56
|
securitySource: client._options.token,
|
|
57
|
+
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
58
|
+
|| client._options.retryConfig
|
|
59
|
+
|| {
|
|
60
|
+
strategy: "backoff",
|
|
61
|
+
backoff: {
|
|
62
|
+
initialInterval: 500,
|
|
63
|
+
maxInterval: 60000,
|
|
64
|
+
exponent: 1.5,
|
|
65
|
+
maxElapsedTime: 3600000,
|
|
66
|
+
},
|
|
67
|
+
retryConnectionErrors: true,
|
|
68
|
+
}
|
|
69
|
+
|| { strategy: "none" },
|
|
70
|
+
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["500", "501", "502", "503", "504"],
|
|
56
71
|
};
|
|
57
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
58
72
|
const requestRes = client._createRequest(context, {
|
|
59
73
|
security: requestSecurity,
|
|
60
74
|
method: "POST",
|
|
@@ -71,19 +85,8 @@ async function accountDeleteImages(client, request, options) {
|
|
|
71
85
|
const doResult = await client._do(req, {
|
|
72
86
|
context,
|
|
73
87
|
errorCodes: ["404", "422", "4XX", "500", "5XX"],
|
|
74
|
-
retryConfig:
|
|
75
|
-
|
|
76
|
-
|| {
|
|
77
|
-
strategy: "backoff",
|
|
78
|
-
backoff: {
|
|
79
|
-
initialInterval: 500,
|
|
80
|
-
maxInterval: 60000,
|
|
81
|
-
exponent: 1.5,
|
|
82
|
-
maxElapsedTime: 3600000,
|
|
83
|
-
},
|
|
84
|
-
retryConnectionErrors: true,
|
|
85
|
-
},
|
|
86
|
-
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["500", "501", "502", "503", "504"],
|
|
88
|
+
retryConfig: context.retryConfig,
|
|
89
|
+
retryCodes: context.retryCodes,
|
|
87
90
|
});
|
|
88
91
|
if (!doResult.ok) {
|
|
89
92
|
return doResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountDeleteImages.js","sourceRoot":"","sources":["../src/funcs/accountDeleteImages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAuBH,
|
|
1
|
+
{"version":3,"file":"accountDeleteImages.js","sourceRoot":"","sources":["../src/funcs/accountDeleteImages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAuBH,kDAkHC;AAtID,sDAAiD;AACjD,sDAAwC;AACxC,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,mBAAmB,CACvC,MAAqB,EACrB,OAA6C,EAC7C,OAAwB;IAcxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,wCAAwC,CAAC,KAAK,CAAC,KAAK,CAAC,EAC3E,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAA,yBAAU,EAAC,MAAM,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAE5D,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,yCAAyC,CAAC,EAAE,CAAC;IAErE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC;QAC1B,cAAc,EAAE,kBAAkB;QAClC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CA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AAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAsB,cAAc,CAClC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,aAAa,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAgGA"}
|
package/funcs/accountGetApps.js
CHANGED
|
@@ -49,12 +49,26 @@ async function accountGetApps(client, request, options) {
|
|
|
49
49
|
});
|
|
50
50
|
const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
|
|
51
51
|
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
52
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
52
53
|
const context = {
|
|
53
54
|
operationID: "account.v1.getApps",
|
|
54
55
|
oAuth2Scopes: [],
|
|
55
56
|
securitySource: client._options.token,
|
|
57
|
+
retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
|
|
58
|
+
|| client._options.retryConfig
|
|
59
|
+
|| {
|
|
60
|
+
strategy: "backoff",
|
|
61
|
+
backoff: {
|
|
62
|
+
initialInterval: 500,
|
|
63
|
+
maxInterval: 60000,
|
|
64
|
+
exponent: 1.5,
|
|
65
|
+
maxElapsedTime: 3600000,
|
|
66
|
+
},
|
|
67
|
+
retryConnectionErrors: true,
|
|
68
|
+
}
|
|
69
|
+
|| { strategy: "none" },
|
|
70
|
+
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["500", "501", "502", "503", "504"],
|
|
56
71
|
};
|
|
57
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
58
72
|
const requestRes = client._createRequest(context, {
|
|
59
73
|
security: requestSecurity,
|
|
60
74
|
method: "POST",
|
|
@@ -71,19 +85,8 @@ async function accountGetApps(client, request, options) {
|
|
|
71
85
|
const doResult = await client._do(req, {
|
|
72
86
|
context,
|
|
73
87
|
errorCodes: ["400", "403", "404", "422", "4XX", "500", "5XX"],
|
|
74
|
-
retryConfig:
|
|
75
|
-
|
|
76
|
-
|| {
|
|
77
|
-
strategy: "backoff",
|
|
78
|
-
backoff: {
|
|
79
|
-
initialInterval: 500,
|
|
80
|
-
maxInterval: 60000,
|
|
81
|
-
exponent: 1.5,
|
|
82
|
-
maxElapsedTime: 3600000,
|
|
83
|
-
},
|
|
84
|
-
retryConnectionErrors: true,
|
|
85
|
-
},
|
|
86
|
-
retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["500", "501", "502", "503", "504"],
|
|
88
|
+
retryConfig: context.retryConfig,
|
|
89
|
+
retryCodes: context.retryCodes,
|
|
87
90
|
});
|
|
88
91
|
if (!doResult.ok) {
|
|
89
92
|
return doResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountGetApps.js","sourceRoot":"","sources":["../src/funcs/accountGetApps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAuBH,
|
|
1
|
+
{"version":3,"file":"accountGetApps.js","sourceRoot":"","sources":["../src/funcs/accountGetApps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAuBH,wCAgHC;AApID,sDAAiD;AACjD,sDAAwC;AACxC,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,cAAc,CAClC,MAAqB,EACrB,OAAiC,EACjC,OAAwB;IAcxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,4BAA4B,CAAC,KAAK,CAAC,KAAK,CAAC,EAC/D,yBAAyB,CAC1B,CAAC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