@steamsets/client-ts 0.10.4 → 0.11.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/README.md +9 -0
- package/docs/sdks/account/README.md +69 -69
- package/docs/sdks/app/README.md +6 -6
- package/docs/sdks/badge/README.md +371 -0
- package/docs/sdks/connection/README.md +12 -12
- package/docs/sdks/data/README.md +24 -24
- package/docs/sdks/leaderboard/README.md +3 -3
- package/docs/sdks/liveness/README.md +3 -3
- package/docs/sdks/location/README.md +3 -3
- package/docs/sdks/public/README.md +21 -21
- package/docs/sdks/session/README.md +12 -12
- package/docs/sdks/settings/README.md +21 -21
- package/funcs/badgeBadgeV1Search.d.ts +14 -0
- package/funcs/badgeBadgeV1Search.d.ts.map +1 -0
- package/funcs/badgeBadgeV1Search.js +97 -0
- package/funcs/badgeBadgeV1Search.js.map +1 -0
- package/funcs/badgeBadgeV1Tag.d.ts +14 -0
- package/funcs/badgeBadgeV1Tag.d.ts.map +1 -0
- package/funcs/badgeBadgeV1Tag.js +99 -0
- package/funcs/badgeBadgeV1Tag.js.map +1 -0
- package/funcs/badgeBadgeV1Tags.d.ts +14 -0
- package/funcs/badgeBadgeV1Tags.d.ts.map +1 -0
- package/funcs/badgeBadgeV1Tags.js +90 -0
- package/funcs/badgeBadgeV1Tags.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/accountinfobody.d.ts +10 -0
- package/models/components/accountinfobody.d.ts.map +1 -1
- package/models/components/accountinfobody.js +4 -0
- package/models/components/accountinfobody.js.map +1 -1
- package/models/components/badgesearch.d.ts +86 -0
- package/models/components/badgesearch.d.ts.map +1 -0
- package/models/components/badgesearch.js +70 -0
- package/models/components/badgesearch.js.map +1 -0
- package/models/components/colortag.d.ts +37 -0
- package/models/components/colortag.d.ts.map +1 -0
- package/models/components/colortag.js +83 -0
- package/models/components/colortag.js.map +1 -0
- package/models/components/designtag.d.ts +27 -0
- package/models/components/designtag.d.ts.map +1 -0
- package/models/components/designtag.js +63 -0
- package/models/components/designtag.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/role.d.ts +11 -0
- package/models/components/role.d.ts.map +1 -1
- package/models/components/role.js +4 -0
- package/models/components/role.js.map +1 -1
- package/models/components/setdesigntag.d.ts +33 -0
- package/models/components/setdesigntag.d.ts.map +1 -0
- package/models/components/setdesigntag.js +52 -0
- package/models/components/setdesigntag.js.map +1 -0
- package/models/components/v1badgetagrequestbody.d.ts +39 -0
- package/models/components/v1badgetagrequestbody.d.ts.map +1 -0
- package/models/components/v1badgetagrequestbody.js +55 -0
- package/models/components/v1badgetagrequestbody.js.map +1 -0
- package/models/components/v1badgetagresponsebody.d.ts +28 -0
- package/models/components/v1badgetagresponsebody.d.ts.map +1 -0
- package/models/components/v1badgetagresponsebody.js +59 -0
- package/models/components/v1badgetagresponsebody.js.map +1 -0
- package/models/components/v1badgetagsrequestbody.d.ts +21 -0
- package/models/components/v1badgetagsrequestbody.d.ts.map +1 -0
- package/models/components/v1badgetagsrequestbody.js +46 -0
- package/models/components/v1badgetagsrequestbody.js.map +1 -0
- package/models/components/v1badgetagsresponsebody.d.ts +40 -0
- package/models/components/v1badgetagsresponsebody.d.ts.map +1 -0
- package/models/components/v1badgetagsresponsebody.js +65 -0
- package/models/components/v1badgetagsresponsebody.js.map +1 -0
- package/models/errors/errormodel.d.ts +0 -6
- package/models/errors/errormodel.d.ts.map +1 -1
- package/models/errors/errormodel.js +0 -3
- package/models/errors/errormodel.js.map +1 -1
- package/models/operations/badgev1search.d.ts +26 -0
- package/models/operations/badgev1search.d.ts.map +1 -0
- package/models/operations/badgev1search.js +60 -0
- package/models/operations/badgev1search.js.map +1 -0
- package/models/operations/badgev1tag.d.ts +31 -0
- package/models/operations/badgev1tag.d.ts.map +1 -0
- package/models/operations/badgev1tag.js +66 -0
- package/models/operations/badgev1tag.js.map +1 -0
- package/models/operations/badgev1tags.d.ts +31 -0
- package/models/operations/badgev1tags.d.ts.map +1 -0
- package/models/operations/badgev1tags.js +66 -0
- package/models/operations/badgev1tags.js.map +1 -0
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/badge.d.ts +18 -0
- package/sdk/badge.d.ts.map +1 -0
- package/sdk/badge.js +33 -0
- package/sdk/badge.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/badgeBadgeV1Search.ts +127 -0
- package/src/funcs/badgeBadgeV1Tag.ts +129 -0
- package/src/funcs/badgeBadgeV1Tags.ts +116 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/accountinfobody.ts +16 -0
- package/src/models/components/badgesearch.ts +118 -0
- package/src/models/components/colortag.ts +90 -0
- package/src/models/components/designtag.ts +60 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/role.ts +9 -0
- package/src/models/components/setdesigntag.ts +55 -0
- package/src/models/components/v1badgetagrequestbody.ts +68 -0
- package/src/models/components/v1badgetagresponsebody.ts +57 -0
- package/src/models/components/v1badgetagsrequestbody.ts +37 -0
- package/src/models/components/v1badgetagsresponsebody.ts +83 -0
- package/src/models/errors/errormodel.ts +0 -6
- package/src/models/operations/badgev1search.ts +55 -0
- package/src/models/operations/badgev1tag.ts +68 -0
- package/src/models/operations/badgev1tags.ts +68 -0
- package/src/models/operations/index.ts +3 -0
- package/src/sdk/badge.ts +55 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
# Badge
|
|
2
|
+
(*badge*)
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
### Available Operations
|
|
7
|
+
|
|
8
|
+
* [badgeV1Tags](#badgev1tags) - Get all availiable badge tags
|
|
9
|
+
* [badgeV1Search](#badgev1search) - Search for badges
|
|
10
|
+
* [badgeV1Tag](#badgev1tag) - Tag a badge
|
|
11
|
+
|
|
12
|
+
## badgeV1Tags
|
|
13
|
+
|
|
14
|
+
Get all availiable badge tags
|
|
15
|
+
|
|
16
|
+
### Example Usage
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
20
|
+
|
|
21
|
+
const steamSets = new SteamSets({
|
|
22
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
async function run() {
|
|
26
|
+
const result = await steamSets.badge.badgeV1Tags({});
|
|
27
|
+
|
|
28
|
+
// Handle the result
|
|
29
|
+
console.log(result);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
run();
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Standalone function
|
|
36
|
+
|
|
37
|
+
The standalone function version of this method:
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
41
|
+
import { badgeBadgeV1Tags } from "@steamsets/client-ts/funcs/badgeBadgeV1Tags.js";
|
|
42
|
+
|
|
43
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
44
|
+
// You can create one instance of it to use across an application.
|
|
45
|
+
const steamSets = new SteamSetsCore({
|
|
46
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
async function run() {
|
|
50
|
+
const res = await badgeBadgeV1Tags(steamSets, {});
|
|
51
|
+
|
|
52
|
+
if (!res.ok) {
|
|
53
|
+
throw res.error;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const { value: result } = res;
|
|
57
|
+
|
|
58
|
+
// Handle the result
|
|
59
|
+
console.log(result);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
run();
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Parameters
|
|
66
|
+
|
|
67
|
+
| Parameter | Type | Required | Description |
|
|
68
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
69
|
+
| `request` | [components.V1BadgeTagsRequestBody](../../models/components/v1badgetagsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
70
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
71
|
+
| `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. |
|
|
72
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
73
|
+
|
|
74
|
+
### Response
|
|
75
|
+
|
|
76
|
+
**Promise\<[operations.BadgeV1TagsResponse](../../models/operations/badgev1tagsresponse.md)\>**
|
|
77
|
+
|
|
78
|
+
### Errors
|
|
79
|
+
|
|
80
|
+
| Error Object | Status Code | Content Type |
|
|
81
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
82
|
+
| errors.ErrorModel | 403,404,422,500 | application/problem+json |
|
|
83
|
+
| errors.SDKError | 4xx-5xx | */* |
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## badgeV1Search
|
|
87
|
+
|
|
88
|
+
Search for badges
|
|
89
|
+
|
|
90
|
+
### Example Usage
|
|
91
|
+
|
|
92
|
+
```typescript
|
|
93
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
94
|
+
|
|
95
|
+
const steamSets = new SteamSets({
|
|
96
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
async function run() {
|
|
100
|
+
const result = await steamSets.badge.badgeV1Search({
|
|
101
|
+
appId: 123456,
|
|
102
|
+
appIds: [
|
|
103
|
+
444,
|
|
104
|
+
730,
|
|
105
|
+
],
|
|
106
|
+
badgeId: "bdg_123",
|
|
107
|
+
badgeIds: [
|
|
108
|
+
"bdg_123",
|
|
109
|
+
"bdg_456",
|
|
110
|
+
],
|
|
111
|
+
colorSearch: [
|
|
112
|
+
{
|
|
113
|
+
"key": [
|
|
114
|
+
"<value>",
|
|
115
|
+
"<value>",
|
|
116
|
+
"<value>",
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
isEvent: true,
|
|
121
|
+
isFoil: true,
|
|
122
|
+
isSale: true,
|
|
123
|
+
limit: 10,
|
|
124
|
+
offset: 0,
|
|
125
|
+
typeSearch: [
|
|
126
|
+
{
|
|
127
|
+
"key": [
|
|
128
|
+
"<value>",
|
|
129
|
+
],
|
|
130
|
+
"key1": [
|
|
131
|
+
"<value>",
|
|
132
|
+
],
|
|
133
|
+
"key2": [
|
|
134
|
+
"<value>",
|
|
135
|
+
"<value>",
|
|
136
|
+
"<value>",
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"key": [
|
|
141
|
+
"<value>",
|
|
142
|
+
],
|
|
143
|
+
"key1": [
|
|
144
|
+
"<value>",
|
|
145
|
+
"<value>",
|
|
146
|
+
"<value>",
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
// Handle the result
|
|
153
|
+
console.log(result);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
run();
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Standalone function
|
|
160
|
+
|
|
161
|
+
The standalone function version of this method:
|
|
162
|
+
|
|
163
|
+
```typescript
|
|
164
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
165
|
+
import { badgeBadgeV1Search } from "@steamsets/client-ts/funcs/badgeBadgeV1Search.js";
|
|
166
|
+
|
|
167
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
168
|
+
// You can create one instance of it to use across an application.
|
|
169
|
+
const steamSets = new SteamSetsCore({
|
|
170
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
async function run() {
|
|
174
|
+
const res = await badgeBadgeV1Search(steamSets, {
|
|
175
|
+
appId: 123456,
|
|
176
|
+
appIds: [
|
|
177
|
+
444,
|
|
178
|
+
730,
|
|
179
|
+
],
|
|
180
|
+
badgeId: "bdg_123",
|
|
181
|
+
badgeIds: [
|
|
182
|
+
"bdg_123",
|
|
183
|
+
"bdg_456",
|
|
184
|
+
],
|
|
185
|
+
colorSearch: [
|
|
186
|
+
{
|
|
187
|
+
"key": [
|
|
188
|
+
"<value>",
|
|
189
|
+
"<value>",
|
|
190
|
+
"<value>",
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
isEvent: true,
|
|
195
|
+
isFoil: true,
|
|
196
|
+
isSale: true,
|
|
197
|
+
limit: 10,
|
|
198
|
+
offset: 0,
|
|
199
|
+
typeSearch: [
|
|
200
|
+
{
|
|
201
|
+
"key": [
|
|
202
|
+
"<value>",
|
|
203
|
+
],
|
|
204
|
+
"key1": [
|
|
205
|
+
"<value>",
|
|
206
|
+
],
|
|
207
|
+
"key2": [
|
|
208
|
+
"<value>",
|
|
209
|
+
"<value>",
|
|
210
|
+
"<value>",
|
|
211
|
+
],
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"key": [
|
|
215
|
+
"<value>",
|
|
216
|
+
],
|
|
217
|
+
"key1": [
|
|
218
|
+
"<value>",
|
|
219
|
+
"<value>",
|
|
220
|
+
"<value>",
|
|
221
|
+
],
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
if (!res.ok) {
|
|
227
|
+
throw res.error;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
const { value: result } = res;
|
|
231
|
+
|
|
232
|
+
// Handle the result
|
|
233
|
+
console.log(result);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
run();
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Parameters
|
|
240
|
+
|
|
241
|
+
| Parameter | Type | Required | Description |
|
|
242
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
243
|
+
| `request` | [components.BadgeSearch](../../models/components/badgesearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
244
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
245
|
+
| `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. |
|
|
246
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
247
|
+
|
|
248
|
+
### Response
|
|
249
|
+
|
|
250
|
+
**Promise\<[operations.BadgeV1SearchResponse](../../models/operations/badgev1searchresponse.md)\>**
|
|
251
|
+
|
|
252
|
+
### Errors
|
|
253
|
+
|
|
254
|
+
| Error Object | Status Code | Content Type |
|
|
255
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
256
|
+
| errors.ErrorModel | 403,404,422,500 | application/problem+json |
|
|
257
|
+
| errors.SDKError | 4xx-5xx | */* |
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
## badgeV1Tag
|
|
261
|
+
|
|
262
|
+
Tag a badge
|
|
263
|
+
|
|
264
|
+
### Example Usage
|
|
265
|
+
|
|
266
|
+
```typescript
|
|
267
|
+
import { SteamSets } from "@steamsets/client-ts";
|
|
268
|
+
|
|
269
|
+
const steamSets = new SteamSets({
|
|
270
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
async function run() {
|
|
274
|
+
const result = await steamSets.badge.badgeV1Tag({
|
|
275
|
+
badgeId: "bdg_123",
|
|
276
|
+
colors: [
|
|
277
|
+
922516,
|
|
278
|
+
416016,
|
|
279
|
+
],
|
|
280
|
+
designs: [
|
|
281
|
+
{
|
|
282
|
+
id: 1,
|
|
283
|
+
name: "cat",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
id: 1,
|
|
287
|
+
name: "cat",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
id: 1,
|
|
291
|
+
name: "cat",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
// Handle the result
|
|
297
|
+
console.log(result);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
run();
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### Standalone function
|
|
304
|
+
|
|
305
|
+
The standalone function version of this method:
|
|
306
|
+
|
|
307
|
+
```typescript
|
|
308
|
+
import { SteamSetsCore } from "@steamsets/client-ts/core.js";
|
|
309
|
+
import { badgeBadgeV1Tag } from "@steamsets/client-ts/funcs/badgeBadgeV1Tag.js";
|
|
310
|
+
|
|
311
|
+
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
312
|
+
// You can create one instance of it to use across an application.
|
|
313
|
+
const steamSets = new SteamSetsCore({
|
|
314
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
315
|
+
});
|
|
316
|
+
|
|
317
|
+
async function run() {
|
|
318
|
+
const res = await badgeBadgeV1Tag(steamSets, {
|
|
319
|
+
badgeId: "bdg_123",
|
|
320
|
+
colors: [
|
|
321
|
+
922516,
|
|
322
|
+
416016,
|
|
323
|
+
],
|
|
324
|
+
designs: [
|
|
325
|
+
{
|
|
326
|
+
id: 1,
|
|
327
|
+
name: "cat",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
id: 1,
|
|
331
|
+
name: "cat",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
id: 1,
|
|
335
|
+
name: "cat",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
});
|
|
339
|
+
|
|
340
|
+
if (!res.ok) {
|
|
341
|
+
throw res.error;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
const { value: result } = res;
|
|
345
|
+
|
|
346
|
+
// Handle the result
|
|
347
|
+
console.log(result);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
run();
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
### Parameters
|
|
354
|
+
|
|
355
|
+
| Parameter | Type | Required | Description |
|
|
356
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
357
|
+
| `request` | [components.V1BadgeTagRequestBody](../../models/components/v1badgetagrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
358
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
359
|
+
| `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. |
|
|
360
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
361
|
+
|
|
362
|
+
### Response
|
|
363
|
+
|
|
364
|
+
**Promise\<[operations.BadgeV1TagResponse](../../models/operations/badgev1tagresponse.md)\>**
|
|
365
|
+
|
|
366
|
+
### Errors
|
|
367
|
+
|
|
368
|
+
| Error Object | Status Code | Content Type |
|
|
369
|
+
| ------------------------ | ------------------------ | ------------------------ |
|
|
370
|
+
| errors.ErrorModel | 403,404,422,500 | application/problem+json |
|
|
371
|
+
| errors.SDKError | 4xx-5xx | */* |
|
|
@@ -30,9 +30,9 @@ async function run() {
|
|
|
30
30
|
code: "123456",
|
|
31
31
|
provider: "discord",
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
// Handle the result
|
|
35
|
-
console.log(result)
|
|
35
|
+
console.log(result);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
run();
|
|
@@ -65,7 +65,7 @@ async function run() {
|
|
|
65
65
|
const { value: result } = res;
|
|
66
66
|
|
|
67
67
|
// Handle the result
|
|
68
|
-
console.log(result)
|
|
68
|
+
console.log(result);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
run();
|
|
@@ -109,9 +109,9 @@ async function run() {
|
|
|
109
109
|
const result = await steamSets.connection.accountV1ConnectionDeleteConnection({
|
|
110
110
|
connectionId: "123456",
|
|
111
111
|
});
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
// Handle the result
|
|
114
|
-
console.log(result)
|
|
114
|
+
console.log(result);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
run();
|
|
@@ -143,7 +143,7 @@ async function run() {
|
|
|
143
143
|
const { value: result } = res;
|
|
144
144
|
|
|
145
145
|
// Handle the result
|
|
146
|
-
console.log(result)
|
|
146
|
+
console.log(result);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
run();
|
|
@@ -188,9 +188,9 @@ async function run() {
|
|
|
188
188
|
connectionId: "123456",
|
|
189
189
|
hidden: true,
|
|
190
190
|
});
|
|
191
|
-
|
|
191
|
+
|
|
192
192
|
// Handle the result
|
|
193
|
-
console.log(result)
|
|
193
|
+
console.log(result);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
run();
|
|
@@ -223,7 +223,7 @@ async function run() {
|
|
|
223
223
|
const { value: result } = res;
|
|
224
224
|
|
|
225
225
|
// Handle the result
|
|
226
|
-
console.log(result)
|
|
226
|
+
console.log(result);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
run();
|
|
@@ -267,9 +267,9 @@ async function run() {
|
|
|
267
267
|
const result = await steamSets.connection.accountV1ConnectionVerifyConnection({
|
|
268
268
|
connectionId: "123456",
|
|
269
269
|
});
|
|
270
|
-
|
|
270
|
+
|
|
271
271
|
// Handle the result
|
|
272
|
-
console.log(result)
|
|
272
|
+
console.log(result);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
run();
|
|
@@ -301,7 +301,7 @@ async function run() {
|
|
|
301
301
|
const { value: result } = res;
|
|
302
302
|
|
|
303
303
|
// Handle the result
|
|
304
|
-
console.log(result)
|
|
304
|
+
console.log(result);
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
run();
|
package/docs/sdks/data/README.md
CHANGED
|
@@ -31,9 +31,9 @@ const steamSets = new SteamSets({
|
|
|
31
31
|
|
|
32
32
|
async function run() {
|
|
33
33
|
const result = await steamSets.data.accountV1GetApps({});
|
|
34
|
-
|
|
34
|
+
|
|
35
35
|
// Handle the result
|
|
36
|
-
console.log(result)
|
|
36
|
+
console.log(result);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
run();
|
|
@@ -63,7 +63,7 @@ async function run() {
|
|
|
63
63
|
const { value: result } = res;
|
|
64
64
|
|
|
65
65
|
// Handle the result
|
|
66
|
-
console.log(result)
|
|
66
|
+
console.log(result);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
run();
|
|
@@ -105,9 +105,9 @@ const steamSets = new SteamSets({
|
|
|
105
105
|
|
|
106
106
|
async function run() {
|
|
107
107
|
const result = await steamSets.data.accountV1GetBadges({});
|
|
108
|
-
|
|
108
|
+
|
|
109
109
|
// Handle the result
|
|
110
|
-
console.log(result)
|
|
110
|
+
console.log(result);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
run();
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
const { value: result } = res;
|
|
138
138
|
|
|
139
139
|
// Handle the result
|
|
140
|
-
console.log(result)
|
|
140
|
+
console.log(result);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
run();
|
|
@@ -179,9 +179,9 @@ const steamSets = new SteamSets({
|
|
|
179
179
|
|
|
180
180
|
async function run() {
|
|
181
181
|
const result = await steamSets.data.accountV1GetDataPoints({});
|
|
182
|
-
|
|
182
|
+
|
|
183
183
|
// Handle the result
|
|
184
|
-
console.log(result)
|
|
184
|
+
console.log(result);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
run();
|
|
@@ -211,7 +211,7 @@ async function run() {
|
|
|
211
211
|
const { value: result } = res;
|
|
212
212
|
|
|
213
213
|
// Handle the result
|
|
214
|
-
console.log(result)
|
|
214
|
+
console.log(result);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
run();
|
|
@@ -253,9 +253,9 @@ const steamSets = new SteamSets({
|
|
|
253
253
|
|
|
254
254
|
async function run() {
|
|
255
255
|
const result = await steamSets.data.accountV1GetFriends({});
|
|
256
|
-
|
|
256
|
+
|
|
257
257
|
// Handle the result
|
|
258
|
-
console.log(result)
|
|
258
|
+
console.log(result);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
run();
|
|
@@ -285,7 +285,7 @@ async function run() {
|
|
|
285
285
|
const { value: result } = res;
|
|
286
286
|
|
|
287
287
|
// Handle the result
|
|
288
|
-
console.log(result)
|
|
288
|
+
console.log(result);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
run();
|
|
@@ -327,9 +327,9 @@ const steamSets = new SteamSets({
|
|
|
327
327
|
|
|
328
328
|
async function run() {
|
|
329
329
|
const result = await steamSets.data.accountV1GetInfo({});
|
|
330
|
-
|
|
330
|
+
|
|
331
331
|
// Handle the result
|
|
332
|
-
console.log(result)
|
|
332
|
+
console.log(result);
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
run();
|
|
@@ -359,7 +359,7 @@ async function run() {
|
|
|
359
359
|
const { value: result } = res;
|
|
360
360
|
|
|
361
361
|
// Handle the result
|
|
362
|
-
console.log(result)
|
|
362
|
+
console.log(result);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
run();
|
|
@@ -401,9 +401,9 @@ const steamSets = new SteamSets({
|
|
|
401
401
|
|
|
402
402
|
async function run() {
|
|
403
403
|
const result = await steamSets.data.accountV1GetLeaderboardHistory({});
|
|
404
|
-
|
|
404
|
+
|
|
405
405
|
// Handle the result
|
|
406
|
-
console.log(result)
|
|
406
|
+
console.log(result);
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
run();
|
|
@@ -433,7 +433,7 @@ async function run() {
|
|
|
433
433
|
const { value: result } = res;
|
|
434
434
|
|
|
435
435
|
// Handle the result
|
|
436
|
-
console.log(result)
|
|
436
|
+
console.log(result);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
run();
|
|
@@ -475,9 +475,9 @@ const steamSets = new SteamSets({
|
|
|
475
475
|
|
|
476
476
|
async function run() {
|
|
477
477
|
const result = await steamSets.data.accountV1GetStaff();
|
|
478
|
-
|
|
478
|
+
|
|
479
479
|
// Handle the result
|
|
480
|
-
console.log(result)
|
|
480
|
+
console.log(result);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
run();
|
|
@@ -507,7 +507,7 @@ async function run() {
|
|
|
507
507
|
const { value: result } = res;
|
|
508
508
|
|
|
509
509
|
// Handle the result
|
|
510
|
-
console.log(result)
|
|
510
|
+
console.log(result);
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
run();
|
|
@@ -550,9 +550,9 @@ async function run() {
|
|
|
550
550
|
const result = await steamSets.data.accountV1Queue({
|
|
551
551
|
id: 730,
|
|
552
552
|
});
|
|
553
|
-
|
|
553
|
+
|
|
554
554
|
// Handle the result
|
|
555
|
-
console.log(result)
|
|
555
|
+
console.log(result);
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
run();
|
|
@@ -584,7 +584,7 @@ async function run() {
|
|
|
584
584
|
const { value: result } = res;
|
|
585
585
|
|
|
586
586
|
// Handle the result
|
|
587
|
-
console.log(result)
|
|
587
|
+
console.log(result);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
run();
|
|
@@ -35,9 +35,9 @@ async function run() {
|
|
|
35
35
|
},
|
|
36
36
|
start: 1,
|
|
37
37
|
});
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
// Handle the result
|
|
40
|
-
console.log(result)
|
|
40
|
+
console.log(result);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
run();
|
|
@@ -80,7 +80,7 @@ async function run() {
|
|
|
80
80
|
const { value: result } = res;
|
|
81
81
|
|
|
82
82
|
// Handle the result
|
|
83
|
-
console.log(result)
|
|
83
|
+
console.log(result);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
run();
|
|
@@ -24,9 +24,9 @@ const steamSets = new SteamSets({
|
|
|
24
24
|
|
|
25
25
|
async function run() {
|
|
26
26
|
const result = await steamSets.liveness.liveness();
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
// Handle the result
|
|
29
|
-
console.log(result)
|
|
29
|
+
console.log(result);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
run();
|
|
@@ -56,7 +56,7 @@ async function run() {
|
|
|
56
56
|
const { value: result } = res;
|
|
57
57
|
|
|
58
58
|
// Handle the result
|
|
59
|
-
console.log(result)
|
|
59
|
+
console.log(result);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
run();
|
|
@@ -22,9 +22,9 @@ const steamSets = new SteamSets({
|
|
|
22
22
|
|
|
23
23
|
async function run() {
|
|
24
24
|
const result = await steamSets.location.location();
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
// Handle the result
|
|
27
|
-
console.log(result)
|
|
27
|
+
console.log(result);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
run();
|
|
@@ -54,7 +54,7 @@ async function run() {
|
|
|
54
54
|
const { value: result } = res;
|
|
55
55
|
|
|
56
56
|
// Handle the result
|
|
57
|
-
console.log(result)
|
|
57
|
+
console.log(result);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
run();
|