@steamsets/client-ts 0.17.3 → 0.17.4
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 +2 -5
- package/README.md +17 -34
- package/docs/sdks/account/README.md +72 -0
- package/docs/sdks/internal/README.md +72 -0
- package/funcs/accountAccountV1AblyAuthenticate.d.ts +10 -0
- package/funcs/accountAccountV1AblyAuthenticate.d.ts.map +1 -0
- package/funcs/accountAccountV1AblyAuthenticate.js +102 -0
- package/funcs/accountAccountV1AblyAuthenticate.js.map +1 -0
- package/funcs/internalAccountV1AblyAuthenticate.d.ts +10 -0
- package/funcs/internalAccountV1AblyAuthenticate.d.ts.map +1 -0
- package/funcs/internalAccountV1AblyAuthenticate.js +102 -0
- package/funcs/internalAccountV1AblyAuthenticate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- 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/v1accountablyauthenticatebody.d.ts +46 -0
- package/models/components/v1accountablyauthenticatebody.d.ts.map +1 -0
- package/models/components/v1accountablyauthenticatebody.js +82 -0
- package/models/components/v1accountablyauthenticatebody.js.map +1 -0
- package/models/operations/accountv1ablyauthenticate.d.ts +35 -0
- package/models/operations/accountv1ablyauthenticate.d.ts.map +1 -0
- package/models/operations/accountv1ablyauthenticate.js +75 -0
- package/models/operations/accountv1ablyauthenticate.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +1 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +4 -0
- package/sdk/account.js.map +1 -1
- package/sdk/internal.d.ts +1 -0
- package/sdk/internal.d.ts.map +1 -1
- package/sdk/internal.js +4 -0
- package/sdk/internal.js.map +1 -1
- package/sdk/sdk.d.ts +4 -4
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +6 -6
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountAccountV1AblyAuthenticate.ts +132 -0
- package/src/funcs/internalAccountV1AblyAuthenticate.ts +132 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +1 -0
- package/src/models/components/v1accountablyauthenticatebody.ts +108 -0
- package/src/models/operations/accountv1ablyauthenticate.ts +94 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/account.ts +10 -0
- package/src/sdk/internal.ts +10 -0
- package/src/sdk/sdk.ts +10 -10
package/FUNCTIONS.md
CHANGED
|
@@ -20,7 +20,7 @@ specific category of applications.
|
|
|
20
20
|
|
|
21
21
|
```typescript
|
|
22
22
|
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
23
|
-
import {
|
|
23
|
+
import { accountAccountV1AblyAuthenticate } from "@steamsets/client-ts/funcs/accountAccountV1AblyAuthenticate.js";
|
|
24
24
|
import { SDKValidationError } from "@steamsets/client-ts/models/errors/sdkvalidationerror.js";
|
|
25
25
|
|
|
26
26
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
@@ -30,10 +30,7 @@ const steamSets = new SteamSetsCore({
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
async function run() {
|
|
33
|
-
const res = await
|
|
34
|
-
badgeId: "bdg_123",
|
|
35
|
-
bookmark: true,
|
|
36
|
-
});
|
|
33
|
+
const res = await accountAccountV1AblyAuthenticate(steamSets);
|
|
37
34
|
|
|
38
35
|
switch (true) {
|
|
39
36
|
case res.ok:
|
package/README.md
CHANGED
|
@@ -53,10 +53,7 @@ const steamSets = new SteamSets({
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
async function run() {
|
|
56
|
-
const result = await steamSets.
|
|
57
|
-
badgeId: "bdg_123",
|
|
58
|
-
bookmark: true,
|
|
59
|
-
});
|
|
56
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
60
57
|
|
|
61
58
|
// Handle the result
|
|
62
59
|
console.log(result);
|
|
@@ -75,6 +72,7 @@ run();
|
|
|
75
72
|
|
|
76
73
|
### [account](docs/sdks/account/README.md)
|
|
77
74
|
|
|
75
|
+
* [accountV1AblyAuthenticate](docs/sdks/account/README.md#accountv1ablyauthenticate)
|
|
78
76
|
* [createDeveloperApp](docs/sdks/account/README.md#createdeveloperapp)
|
|
79
77
|
* [deleteDeveloperApp](docs/sdks/account/README.md#deletedeveloperapp)
|
|
80
78
|
* [deleteImages](docs/sdks/account/README.md#deleteimages)
|
|
@@ -163,6 +161,7 @@ run();
|
|
|
163
161
|
|
|
164
162
|
### [internal](docs/sdks/internal/README.md)
|
|
165
163
|
|
|
164
|
+
* [accountV1AblyAuthenticate](docs/sdks/internal/README.md#accountv1ablyauthenticate)
|
|
166
165
|
* [createDeveloperApp](docs/sdks/internal/README.md#createdeveloperapp)
|
|
167
166
|
* [deleteDeveloperApp](docs/sdks/internal/README.md#deletedeveloperapp)
|
|
168
167
|
* [deleteImages](docs/sdks/internal/README.md#deleteimages)
|
|
@@ -229,10 +228,7 @@ const steamSets = new SteamSets({
|
|
|
229
228
|
});
|
|
230
229
|
|
|
231
230
|
async function run() {
|
|
232
|
-
const result = await steamSets.
|
|
233
|
-
badgeId: "bdg_123",
|
|
234
|
-
bookmark: true,
|
|
235
|
-
}, {
|
|
231
|
+
const result = await steamSets.account.accountV1AblyAuthenticate({
|
|
236
232
|
retries: {
|
|
237
233
|
strategy: "backoff",
|
|
238
234
|
backoff: {
|
|
@@ -272,10 +268,7 @@ const steamSets = new SteamSets({
|
|
|
272
268
|
});
|
|
273
269
|
|
|
274
270
|
async function run() {
|
|
275
|
-
const result = await steamSets.
|
|
276
|
-
badgeId: "bdg_123",
|
|
277
|
-
bookmark: true,
|
|
278
|
-
});
|
|
271
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
279
272
|
|
|
280
273
|
// Handle the result
|
|
281
274
|
console.log(result);
|
|
@@ -289,13 +282,13 @@ run();
|
|
|
289
282
|
<!-- Start Error Handling [errors] -->
|
|
290
283
|
## Error Handling
|
|
291
284
|
|
|
292
|
-
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `
|
|
285
|
+
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `accountV1AblyAuthenticate` method may throw the following errors:
|
|
293
286
|
|
|
294
|
-
| Error Type | Status Code
|
|
295
|
-
| ----------------- |
|
|
296
|
-
| errors.ErrorModel | 403
|
|
297
|
-
| errors.ErrorModel | 500
|
|
298
|
-
| errors.SDKError | 4XX, 5XX
|
|
287
|
+
| Error Type | Status Code | Content Type |
|
|
288
|
+
| ----------------- | ----------- | ------------------------ |
|
|
289
|
+
| errors.ErrorModel | 403 | application/problem+json |
|
|
290
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
291
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
299
292
|
|
|
300
293
|
If the method throws an error and it is not captured by the known errors, it will default to throwing a `SDKError`.
|
|
301
294
|
|
|
@@ -313,10 +306,7 @@ const steamSets = new SteamSets({
|
|
|
313
306
|
async function run() {
|
|
314
307
|
let result;
|
|
315
308
|
try {
|
|
316
|
-
result = await steamSets.
|
|
317
|
-
badgeId: "bdg_123",
|
|
318
|
-
bookmark: true,
|
|
319
|
-
});
|
|
309
|
+
result = await steamSets.account.accountV1AblyAuthenticate();
|
|
320
310
|
|
|
321
311
|
// Handle the result
|
|
322
312
|
console.log(result);
|
|
@@ -388,10 +378,7 @@ const steamSets = new SteamSets({
|
|
|
388
378
|
});
|
|
389
379
|
|
|
390
380
|
async function run() {
|
|
391
|
-
const result = await steamSets.
|
|
392
|
-
badgeId: "bdg_123",
|
|
393
|
-
bookmark: true,
|
|
394
|
-
});
|
|
381
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
395
382
|
|
|
396
383
|
// Handle the result
|
|
397
384
|
console.log(result);
|
|
@@ -413,10 +400,7 @@ const steamSets = new SteamSets({
|
|
|
413
400
|
});
|
|
414
401
|
|
|
415
402
|
async function run() {
|
|
416
|
-
const result = await steamSets.
|
|
417
|
-
badgeId: "bdg_123",
|
|
418
|
-
bookmark: true,
|
|
419
|
-
});
|
|
403
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
420
404
|
|
|
421
405
|
// Handle the result
|
|
422
406
|
console.log(result);
|
|
@@ -496,10 +480,7 @@ const steamSets = new SteamSets({
|
|
|
496
480
|
});
|
|
497
481
|
|
|
498
482
|
async function run() {
|
|
499
|
-
const result = await steamSets.
|
|
500
|
-
badgeId: "bdg_123",
|
|
501
|
-
bookmark: true,
|
|
502
|
-
});
|
|
483
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
503
484
|
|
|
504
485
|
// Handle the result
|
|
505
486
|
console.log(result);
|
|
@@ -570,6 +551,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
570
551
|
|
|
571
552
|
<summary>Available standalone functions</summary>
|
|
572
553
|
|
|
554
|
+
- [`accountAccountV1AblyAuthenticate`](docs/sdks/account/README.md#accountv1ablyauthenticate)
|
|
573
555
|
- [`accountAccountV1GetMeta`](docs/sdks/account/README.md#accountv1getmeta)
|
|
574
556
|
- [`accountCreateDeveloperApp`](docs/sdks/account/README.md#createdeveloperapp)
|
|
575
557
|
- [`accountDeleteDeveloperApp`](docs/sdks/account/README.md#deletedeveloperapp)
|
|
@@ -622,6 +604,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
622
604
|
- [`imagesGet`](docs/sdks/images/README.md#get)
|
|
623
605
|
- [`imagesUpdate`](docs/sdks/images/README.md#update)
|
|
624
606
|
- [`imagesUploadImages`](docs/sdks/images/README.md#uploadimages)
|
|
607
|
+
- [`internalAccountV1AblyAuthenticate`](docs/sdks/internal/README.md#accountv1ablyauthenticate)
|
|
625
608
|
- [`internalAccountV1GetMeta`](docs/sdks/internal/README.md#accountv1getmeta)
|
|
626
609
|
- [`internalCheck`](docs/sdks/internal/README.md#check) - Liveness check
|
|
627
610
|
- [`internalCreateDeveloperApp`](docs/sdks/internal/README.md#createdeveloperapp)
|
|
@@ -7,6 +7,7 @@ All Requests related to account(s) are grouped here.
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
+
* [accountV1AblyAuthenticate](#accountv1ablyauthenticate)
|
|
10
11
|
* [createDeveloperApp](#createdeveloperapp)
|
|
11
12
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
12
13
|
* [deleteImages](#deleteimages)
|
|
@@ -22,6 +23,77 @@ All Requests related to account(s) are grouped here.
|
|
|
22
23
|
* [uploadImages](#uploadimages)
|
|
23
24
|
* [getAccount](#getaccount)
|
|
24
25
|
|
|
26
|
+
## accountV1AblyAuthenticate
|
|
27
|
+
|
|
28
|
+
### Example Usage
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
32
|
+
|
|
33
|
+
const steamSets = new SteamSets({
|
|
34
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
async function run() {
|
|
38
|
+
const result = await steamSets.account.accountV1AblyAuthenticate();
|
|
39
|
+
|
|
40
|
+
// Handle the result
|
|
41
|
+
console.log(result);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
run();
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Standalone function
|
|
48
|
+
|
|
49
|
+
The standalone function version of this method:
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
53
|
+
import { accountAccountV1AblyAuthenticate } from "@steamsets/client-ts/funcs/accountAccountV1AblyAuthenticate.js";
|
|
54
|
+
|
|
55
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
56
|
+
// You can create one instance of it to use across an application.
|
|
57
|
+
const steamSets = new SteamSetsCore({
|
|
58
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
async function run() {
|
|
62
|
+
const res = await accountAccountV1AblyAuthenticate(steamSets);
|
|
63
|
+
|
|
64
|
+
if (!res.ok) {
|
|
65
|
+
throw res.error;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const { value: result } = res;
|
|
69
|
+
|
|
70
|
+
// Handle the result
|
|
71
|
+
console.log(result);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
run();
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Parameters
|
|
78
|
+
|
|
79
|
+
| Parameter | Type | Required | Description |
|
|
80
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
81
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
82
|
+
| `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. |
|
|
83
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
84
|
+
|
|
85
|
+
### Response
|
|
86
|
+
|
|
87
|
+
**Promise\<[operations.AccountV1AblyAuthenticateResponse](../../models/operations/accountv1ablyauthenticateresponse.md)\>**
|
|
88
|
+
|
|
89
|
+
### Errors
|
|
90
|
+
|
|
91
|
+
| Error Type | Status Code | Content Type |
|
|
92
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
93
|
+
| errors.ErrorModel | 403 | application/problem+json |
|
|
94
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
95
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
96
|
+
|
|
25
97
|
## createDeveloperApp
|
|
26
98
|
|
|
27
99
|
### Example Usage
|
|
@@ -7,6 +7,7 @@ There requests are just document for documentations sake, they are not meant to
|
|
|
7
7
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
|
+
* [accountV1AblyAuthenticate](#accountv1ablyauthenticate)
|
|
10
11
|
* [createDeveloperApp](#createdeveloperapp)
|
|
11
12
|
* [deleteDeveloperApp](#deletedeveloperapp)
|
|
12
13
|
* [deleteImages](#deleteimages)
|
|
@@ -18,6 +19,77 @@ There requests are just document for documentations sake, they are not meant to
|
|
|
18
19
|
* [getTags](#gettags)
|
|
19
20
|
* [check](#check) - Liveness check
|
|
20
21
|
|
|
22
|
+
## accountV1AblyAuthenticate
|
|
23
|
+
|
|
24
|
+
### Example Usage
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
28
|
+
|
|
29
|
+
const steamSets = new SteamSets({
|
|
30
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
async function run() {
|
|
34
|
+
const result = await steamSets.internal.accountV1AblyAuthenticate();
|
|
35
|
+
|
|
36
|
+
// Handle the result
|
|
37
|
+
console.log(result);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
run();
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Standalone function
|
|
44
|
+
|
|
45
|
+
The standalone function version of this method:
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
49
|
+
import { internalAccountV1AblyAuthenticate } from "@steamsets/client-ts/funcs/internalAccountV1AblyAuthenticate.js";
|
|
50
|
+
|
|
51
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
52
|
+
// You can create one instance of it to use across an application.
|
|
53
|
+
const steamSets = new SteamSetsCore({
|
|
54
|
+
token: "<YOUR_BEARER_TOKEN_HERE>",
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
async function run() {
|
|
58
|
+
const res = await internalAccountV1AblyAuthenticate(steamSets);
|
|
59
|
+
|
|
60
|
+
if (!res.ok) {
|
|
61
|
+
throw res.error;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const { value: result } = res;
|
|
65
|
+
|
|
66
|
+
// Handle the result
|
|
67
|
+
console.log(result);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
run();
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Parameters
|
|
74
|
+
|
|
75
|
+
| Parameter | Type | Required | Description |
|
|
76
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
77
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
78
|
+
| `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. |
|
|
79
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
80
|
+
|
|
81
|
+
### Response
|
|
82
|
+
|
|
83
|
+
**Promise\<[operations.AccountV1AblyAuthenticateResponse](../../models/operations/accountv1ablyauthenticateresponse.md)\>**
|
|
84
|
+
|
|
85
|
+
### Errors
|
|
86
|
+
|
|
87
|
+
| Error Type | Status Code | Content Type |
|
|
88
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
89
|
+
| errors.ErrorModel | 403 | application/problem+json |
|
|
90
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
91
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
92
|
+
|
|
21
93
|
## createDeveloperApp
|
|
22
94
|
|
|
23
95
|
### Example Usage
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare function accountAccountV1AblyAuthenticate(client: SteamSetsCore, options?: RequestOptions): Promise<Result<operations.AccountV1AblyAuthenticateResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
+
//# sourceMappingURL=accountAccountV1AblyAuthenticate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1AblyAuthenticate.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1AblyAuthenticate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,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,wBAAsB,gCAAgC,CACpD,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,iCAAiC,EAC1C,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA4FA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.accountAccountV1AblyAuthenticate = accountAccountV1AblyAuthenticate;
|
|
30
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
31
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
32
|
+
const security_js_1 = require("../lib/security.js");
|
|
33
|
+
const url_js_1 = require("../lib/url.js");
|
|
34
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
35
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
36
|
+
async function accountAccountV1AblyAuthenticate(client, options) {
|
|
37
|
+
const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/AblyAuthenticate")();
|
|
38
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
39
|
+
Accept: "application/json",
|
|
40
|
+
}));
|
|
41
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
|
|
42
|
+
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
43
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
44
|
+
const context = {
|
|
45
|
+
operationID: "account.v1.ably-authenticate",
|
|
46
|
+
oAuth2Scopes: [],
|
|
47
|
+
resolvedSecurity: requestSecurity,
|
|
48
|
+
securitySource: client._options.token,
|
|
49
|
+
retryConfig: options?.retries
|
|
50
|
+
|| client._options.retryConfig
|
|
51
|
+
|| {
|
|
52
|
+
strategy: "backoff",
|
|
53
|
+
backoff: {
|
|
54
|
+
initialInterval: 500,
|
|
55
|
+
maxInterval: 5000,
|
|
56
|
+
exponent: 1.5,
|
|
57
|
+
maxElapsedTime: 60000,
|
|
58
|
+
},
|
|
59
|
+
retryConnectionErrors: true,
|
|
60
|
+
}
|
|
61
|
+
|| { strategy: "none" },
|
|
62
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
63
|
+
};
|
|
64
|
+
const requestRes = client._createRequest(context, {
|
|
65
|
+
security: requestSecurity,
|
|
66
|
+
method: "POST",
|
|
67
|
+
baseURL: options?.serverURL,
|
|
68
|
+
path: path,
|
|
69
|
+
headers: headers,
|
|
70
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
71
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
72
|
+
}, options);
|
|
73
|
+
if (!requestRes.ok) {
|
|
74
|
+
return requestRes;
|
|
75
|
+
}
|
|
76
|
+
const req = requestRes.value;
|
|
77
|
+
const doResult = await client._do(req, {
|
|
78
|
+
context,
|
|
79
|
+
errorCodes: ["403", "4XX", "500", "5XX"],
|
|
80
|
+
retryConfig: context.retryConfig,
|
|
81
|
+
retryCodes: context.retryCodes,
|
|
82
|
+
});
|
|
83
|
+
if (!doResult.ok) {
|
|
84
|
+
return doResult;
|
|
85
|
+
}
|
|
86
|
+
const response = doResult.value;
|
|
87
|
+
const responseFields = {
|
|
88
|
+
HttpMeta: { Response: response, Request: req },
|
|
89
|
+
};
|
|
90
|
+
const [result] = await M.match(M.json(200, operations.AccountV1AblyAuthenticateResponse$inboundSchema, {
|
|
91
|
+
key: "V1AccountAblyAuthenticateBody",
|
|
92
|
+
}), M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
93
|
+
ctype: "application/problem+json",
|
|
94
|
+
}), M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
95
|
+
ctype: "application/problem+json",
|
|
96
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97
|
+
if (!result.ok) {
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
100
|
+
return result;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=accountAccountV1AblyAuthenticate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountAccountV1AblyAuthenticate.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1AblyAuthenticate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,4EA4GC;AA9HD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,gCAAgC,CACpD,MAAqB,EACrB,OAAwB;IAexB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,6CAA6C,CAAC,EAAE,CAAC;IAEzE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,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,CAAC;IACpE,MAAM,eAAe,GAAG,IAAA,mCAAqB,EAAC,aAAa,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG;QACd,WAAW,EAAE,8BAA8B;QAC3C,YAAY,EAAE,EAAE;QAEhB,gBAAgB,EAAE,eAAe;QAEjC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK;QACrC,WAAW,EAAE,OAAO,EAAE,OAAO;eACxB,MAAM,CAAC,QAAQ,CAAC,WAAW;eAC3B;gBACD,QAAQ,EAAE,SAAS;gBACnB,OAAO,EAAE;oBACP,eAAe,EAAE,GAAG;oBACpB,WAAW,EAAE,IAAI;oBACjB,QAAQ,EAAE,GAAG;oBACb,cAAc,EAAE,KAAK;iBACtB;gBACD,qBAAq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E,UAAU,CAAC,+CAA+C,EAAE;QACtE,GAAG,EAAE,+BAA+B;KACrC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9C,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9C,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare function internalAccountV1AblyAuthenticate(client: SteamSetsCore, options?: RequestOptions): Promise<Result<operations.AccountV1AblyAuthenticateResponse, errors.ErrorModel | errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
+
//# sourceMappingURL=internalAccountV1AblyAuthenticate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internalAccountV1AblyAuthenticate.d.ts","sourceRoot":"","sources":["../src/funcs/internalAccountV1AblyAuthenticate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,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,wBAAsB,iCAAiC,CACrD,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,iCAAiC,EAC1C,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA4FA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.internalAccountV1AblyAuthenticate = internalAccountV1AblyAuthenticate;
|
|
30
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
31
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
32
|
+
const security_js_1 = require("../lib/security.js");
|
|
33
|
+
const url_js_1 = require("../lib/url.js");
|
|
34
|
+
const errors = __importStar(require("../models/errors/index.js"));
|
|
35
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
36
|
+
async function internalAccountV1AblyAuthenticate(client, options) {
|
|
37
|
+
const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/AblyAuthenticate")();
|
|
38
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
39
|
+
Accept: "application/json",
|
|
40
|
+
}));
|
|
41
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
|
|
42
|
+
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
43
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
44
|
+
const context = {
|
|
45
|
+
operationID: "account.v1.ably-authenticate",
|
|
46
|
+
oAuth2Scopes: [],
|
|
47
|
+
resolvedSecurity: requestSecurity,
|
|
48
|
+
securitySource: client._options.token,
|
|
49
|
+
retryConfig: options?.retries
|
|
50
|
+
|| client._options.retryConfig
|
|
51
|
+
|| {
|
|
52
|
+
strategy: "backoff",
|
|
53
|
+
backoff: {
|
|
54
|
+
initialInterval: 500,
|
|
55
|
+
maxInterval: 5000,
|
|
56
|
+
exponent: 1.5,
|
|
57
|
+
maxElapsedTime: 60000,
|
|
58
|
+
},
|
|
59
|
+
retryConnectionErrors: true,
|
|
60
|
+
}
|
|
61
|
+
|| { strategy: "none" },
|
|
62
|
+
retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
|
|
63
|
+
};
|
|
64
|
+
const requestRes = client._createRequest(context, {
|
|
65
|
+
security: requestSecurity,
|
|
66
|
+
method: "POST",
|
|
67
|
+
baseURL: options?.serverURL,
|
|
68
|
+
path: path,
|
|
69
|
+
headers: headers,
|
|
70
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
71
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
72
|
+
}, options);
|
|
73
|
+
if (!requestRes.ok) {
|
|
74
|
+
return requestRes;
|
|
75
|
+
}
|
|
76
|
+
const req = requestRes.value;
|
|
77
|
+
const doResult = await client._do(req, {
|
|
78
|
+
context,
|
|
79
|
+
errorCodes: ["403", "4XX", "500", "5XX"],
|
|
80
|
+
retryConfig: context.retryConfig,
|
|
81
|
+
retryCodes: context.retryCodes,
|
|
82
|
+
});
|
|
83
|
+
if (!doResult.ok) {
|
|
84
|
+
return doResult;
|
|
85
|
+
}
|
|
86
|
+
const response = doResult.value;
|
|
87
|
+
const responseFields = {
|
|
88
|
+
HttpMeta: { Response: response, Request: req },
|
|
89
|
+
};
|
|
90
|
+
const [result] = await M.match(M.json(200, operations.AccountV1AblyAuthenticateResponse$inboundSchema, {
|
|
91
|
+
key: "V1AccountAblyAuthenticateBody",
|
|
92
|
+
}), M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
93
|
+
ctype: "application/problem+json",
|
|
94
|
+
}), M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
95
|
+
ctype: "application/problem+json",
|
|
96
|
+
}), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97
|
+
if (!result.ok) {
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
100
|
+
return result;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=internalAccountV1AblyAuthenticate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internalAccountV1AblyAuthenticate.js","sourceRoot":"","sources":["../src/funcs/internalAccountV1AblyAuthenticate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,8EA4GC;AA9HD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,iCAAiC,CACrD,MAAqB,EACrB,OAAwB;IAexB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,6CAA6C,CAAC,EAAE,CAAC;IAEzE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,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,CAAC;IACpE,MAAM,eAAe,GAAG,IAAA,mCAAqB,EAAC,aAAa,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG;QACd,WAAW,EAAE,8BAA8B;QAC3C,YAAY,EAAE,EAAE;QAEhB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E,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,+CAA+C,EAAE;QACtE,GAAG,EAAE,+BAA+B;KACrC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9C,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9C,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "1.0.0";
|
|
30
|
-
readonly sdkVersion: "0.17.
|
|
30
|
+
readonly sdkVersion: "0.17.4";
|
|
31
31
|
readonly genVersion: "2.506.0";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.17.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.17.4 2.506.0 1.0.0 @steamsets/client-ts";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
|
|
|
29
29
|
exports.SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
31
|
openapiDocVersion: "1.0.0",
|
|
32
|
-
sdkVersion: "0.17.
|
|
32
|
+
sdkVersion: "0.17.4",
|
|
33
33
|
genVersion: "2.506.0",
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 0.17.
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 0.17.4 2.506.0 1.0.0 @steamsets/client-ts",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -32,6 +32,7 @@ export * from "./session.js";
|
|
|
32
32
|
export * from "./setremovecolortag.js";
|
|
33
33
|
export * from "./setremovedesigntag.js";
|
|
34
34
|
export * from "./state.js";
|
|
35
|
+
export * from "./v1accountablyauthenticatebody.js";
|
|
35
36
|
export * from "./v1accountapp.js";
|
|
36
37
|
export * from "./v1accountbadgebookmark.js";
|
|
37
38
|
export * from "./v1accountbadgebookmarkrequestbody.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,YAAY,CAAC;AAC3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAA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