@steamsets/client-ts 0.7.1 → 0.8.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 +36 -3
- package/docs/sdks/account/README.md +146 -36
- package/docs/sdks/app/README.md +14 -0
- package/docs/sdks/connection/README.md +24 -8
- package/docs/sdks/data/README.md +57 -4
- package/docs/sdks/liveness/README.md +6 -2
- package/docs/sdks/location/README.md +6 -2
- package/docs/sdks/public/README.md +51 -2
- package/docs/sdks/session/README.md +24 -8
- package/docs/sdks/settings/README.md +48 -16
- package/funcs/accountAccountV1GetApps.d.ts +1 -1
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +17 -5
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +17 -5
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/accountAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/accountAccountV1GetDataPoints.js +17 -5
- package/funcs/accountAccountV1GetDataPoints.js.map +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/accountAccountV1GetFriends.js +17 -5
- package/funcs/accountAccountV1GetFriends.js.map +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts +1 -1
- package/funcs/accountAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/accountAccountV1GetInfo.js +17 -5
- package/funcs/accountAccountV1GetInfo.js.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/appAccountV1Queue.d.ts +1 -1
- package/funcs/appAccountV1Queue.d.ts.map +1 -1
- package/funcs/appAccountV1Queue.js +17 -5
- package/funcs/appAccountV1Queue.js.map +1 -1
- package/funcs/appAppV1Get.d.ts +1 -1
- package/funcs/appAppV1Get.d.ts.map +1 -1
- package/funcs/appAppV1Get.js +17 -5
- package/funcs/appAppV1Get.js.map +1 -1
- package/funcs/dataAccountV1GetApps.d.ts +1 -1
- package/funcs/dataAccountV1GetApps.d.ts.map +1 -1
- package/funcs/dataAccountV1GetApps.js +17 -5
- package/funcs/dataAccountV1GetApps.js.map +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts +1 -1
- package/funcs/dataAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/dataAccountV1GetBadges.js +17 -5
- package/funcs/dataAccountV1GetBadges.js.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/dataAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/dataAccountV1GetDataPoints.js +17 -5
- package/funcs/dataAccountV1GetDataPoints.js.map +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts +1 -1
- package/funcs/dataAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/dataAccountV1GetFriends.js +17 -5
- package/funcs/dataAccountV1GetFriends.js.map +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts +1 -1
- package/funcs/dataAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/dataAccountV1GetInfo.js +17 -5
- package/funcs/dataAccountV1GetInfo.js.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/dataAccountV1Queue.d.ts +1 -1
- package/funcs/dataAccountV1Queue.d.ts.map +1 -1
- package/funcs/dataAccountV1Queue.js +17 -5
- package/funcs/dataAccountV1Queue.js.map +1 -1
- package/funcs/publicAccountV1GetApps.d.ts +1 -1
- package/funcs/publicAccountV1GetApps.d.ts.map +1 -1
- package/funcs/publicAccountV1GetApps.js +17 -5
- package/funcs/publicAccountV1GetApps.js.map +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts +1 -1
- package/funcs/publicAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/publicAccountV1GetBadges.js +17 -5
- package/funcs/publicAccountV1GetBadges.js.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts +1 -1
- package/funcs/publicAccountV1GetDataPoints.d.ts.map +1 -1
- package/funcs/publicAccountV1GetDataPoints.js +17 -5
- package/funcs/publicAccountV1GetDataPoints.js.map +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts +1 -1
- package/funcs/publicAccountV1GetFriends.d.ts.map +1 -1
- package/funcs/publicAccountV1GetFriends.js +17 -5
- package/funcs/publicAccountV1GetFriends.js.map +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts +1 -1
- package/funcs/publicAccountV1GetInfo.d.ts.map +1 -1
- package/funcs/publicAccountV1GetInfo.js +17 -5
- package/funcs/publicAccountV1GetInfo.js.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicAccountV1GetLeaderboardHistory.js +17 -5
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -1
- package/funcs/publicAccountV1Queue.d.ts +1 -1
- package/funcs/publicAccountV1Queue.d.ts.map +1 -1
- package/funcs/publicAccountV1Queue.js +17 -5
- package/funcs/publicAccountV1Queue.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/operations/accountv1getapps.d.ts +25 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -1
- package/models/operations/accountv1getapps.js +22 -1
- package/models/operations/accountv1getapps.js.map +1 -1
- package/models/operations/accountv1getbadges.d.ts +25 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -1
- package/models/operations/accountv1getbadges.js +22 -1
- package/models/operations/accountv1getbadges.js.map +1 -1
- package/models/operations/accountv1getdatapoints.d.ts +25 -0
- package/models/operations/accountv1getdatapoints.d.ts.map +1 -1
- package/models/operations/accountv1getdatapoints.js +22 -1
- package/models/operations/accountv1getdatapoints.js.map +1 -1
- package/models/operations/accountv1getfriends.d.ts +25 -0
- package/models/operations/accountv1getfriends.d.ts.map +1 -1
- package/models/operations/accountv1getfriends.js +22 -1
- package/models/operations/accountv1getfriends.js.map +1 -1
- package/models/operations/accountv1getinfo.d.ts +25 -0
- package/models/operations/accountv1getinfo.d.ts.map +1 -1
- package/models/operations/accountv1getinfo.js +22 -1
- package/models/operations/accountv1getinfo.js.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.d.ts +25 -0
- package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -1
- package/models/operations/accountv1getleaderboardhistory.js +22 -1
- package/models/operations/accountv1getleaderboardhistory.js.map +1 -1
- package/models/operations/accountv1queue.d.ts +25 -0
- package/models/operations/accountv1queue.d.ts.map +1 -1
- package/models/operations/accountv1queue.js +22 -1
- package/models/operations/accountv1queue.js.map +1 -1
- package/models/operations/appv1get.d.ts +25 -0
- package/models/operations/appv1get.d.ts.map +1 -1
- package/models/operations/appv1get.js +22 -1
- package/models/operations/appv1get.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +6 -6
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +12 -12
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +2 -2
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +4 -4
- package/sdk/app.js.map +1 -1
- package/sdk/data.d.ts +7 -7
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +14 -14
- package/sdk/data.js.map +1 -1
- package/sdk/public.d.ts +7 -7
- package/sdk/public.d.ts.map +1 -1
- package/sdk/public.js +14 -14
- package/sdk/public.js.map +1 -1
- package/src/funcs/accountAccountV1GetApps.ts +18 -5
- package/src/funcs/accountAccountV1GetBadges.ts +18 -5
- package/src/funcs/accountAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/accountAccountV1GetFriends.ts +18 -5
- package/src/funcs/accountAccountV1GetInfo.ts +18 -5
- package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/appAccountV1Queue.ts +18 -5
- package/src/funcs/appAppV1Get.ts +18 -5
- package/src/funcs/dataAccountV1GetApps.ts +18 -5
- package/src/funcs/dataAccountV1GetBadges.ts +18 -5
- package/src/funcs/dataAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/dataAccountV1GetFriends.ts +18 -5
- package/src/funcs/dataAccountV1GetInfo.ts +18 -5
- package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/dataAccountV1Queue.ts +18 -5
- package/src/funcs/publicAccountV1GetApps.ts +18 -5
- package/src/funcs/publicAccountV1GetBadges.ts +18 -5
- package/src/funcs/publicAccountV1GetDataPoints.ts +18 -5
- package/src/funcs/publicAccountV1GetFriends.ts +18 -5
- package/src/funcs/publicAccountV1GetInfo.ts +18 -5
- package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +18 -5
- package/src/funcs/publicAccountV1Queue.ts +18 -5
- package/src/lib/config.ts +2 -2
- package/src/models/operations/accountv1getapps.ts +44 -0
- package/src/models/operations/accountv1getbadges.ts +44 -0
- package/src/models/operations/accountv1getdatapoints.ts +44 -0
- package/src/models/operations/accountv1getfriends.ts +44 -0
- package/src/models/operations/accountv1getinfo.ts +44 -0
- package/src/models/operations/accountv1getleaderboardhistory.ts +46 -0
- package/src/models/operations/accountv1queue.ts +44 -0
- package/src/models/operations/appv1get.ts +44 -0
- package/src/sdk/account.ts +12 -0
- package/src/sdk/app.ts +4 -0
- package/src/sdk/data.ts +14 -0
- package/src/sdk/public.ts +14 -0
|
@@ -29,6 +29,9 @@ const steamSets = new SteamSets();
|
|
|
29
29
|
async function run() {
|
|
30
30
|
const result = await steamSets.public.accountV1GetApps({
|
|
31
31
|
accountSearch: {},
|
|
32
|
+
}, {
|
|
33
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
34
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
32
35
|
});
|
|
33
36
|
|
|
34
37
|
// Handle the result
|
|
@@ -53,6 +56,9 @@ const steamSets = new SteamSetsCore();
|
|
|
53
56
|
async function run() {
|
|
54
57
|
const res = await publicAccountV1GetApps(steamSets, {
|
|
55
58
|
accountSearch: {},
|
|
59
|
+
}, {
|
|
60
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
61
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
56
62
|
});
|
|
57
63
|
|
|
58
64
|
if (!res.ok) {
|
|
@@ -73,6 +79,7 @@ run();
|
|
|
73
79
|
| Parameter | Type | Required | Description |
|
|
74
80
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
75
81
|
| `request` | [operations.AccountV1GetAppsRequest](../../models/operations/accountv1getappsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
82
|
+
| `security` | [operations.AccountV1GetAppsSecurity](../../models/operations/accountv1getappssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
76
83
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
77
84
|
| `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. |
|
|
78
85
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -103,6 +110,9 @@ const steamSets = new SteamSets();
|
|
|
103
110
|
async function run() {
|
|
104
111
|
const result = await steamSets.public.accountV1GetBadges({
|
|
105
112
|
accountSearch: {},
|
|
113
|
+
}, {
|
|
114
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
115
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
106
116
|
});
|
|
107
117
|
|
|
108
118
|
// Handle the result
|
|
@@ -127,6 +137,9 @@ const steamSets = new SteamSetsCore();
|
|
|
127
137
|
async function run() {
|
|
128
138
|
const res = await publicAccountV1GetBadges(steamSets, {
|
|
129
139
|
accountSearch: {},
|
|
140
|
+
}, {
|
|
141
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
142
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
130
143
|
});
|
|
131
144
|
|
|
132
145
|
if (!res.ok) {
|
|
@@ -147,6 +160,7 @@ run();
|
|
|
147
160
|
| Parameter | Type | Required | Description |
|
|
148
161
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
149
162
|
| `request` | [operations.AccountV1GetBadgesRequest](../../models/operations/accountv1getbadgesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
163
|
+
| `security` | [operations.AccountV1GetBadgesSecurity](../../models/operations/accountv1getbadgessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
150
164
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
151
165
|
| `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. |
|
|
152
166
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -177,6 +191,9 @@ const steamSets = new SteamSets();
|
|
|
177
191
|
async function run() {
|
|
178
192
|
const result = await steamSets.public.accountV1GetDataPoints({
|
|
179
193
|
accountSearch: {},
|
|
194
|
+
}, {
|
|
195
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
196
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
180
197
|
});
|
|
181
198
|
|
|
182
199
|
// Handle the result
|
|
@@ -201,6 +218,9 @@ const steamSets = new SteamSetsCore();
|
|
|
201
218
|
async function run() {
|
|
202
219
|
const res = await publicAccountV1GetDataPoints(steamSets, {
|
|
203
220
|
accountSearch: {},
|
|
221
|
+
}, {
|
|
222
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
223
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
204
224
|
});
|
|
205
225
|
|
|
206
226
|
if (!res.ok) {
|
|
@@ -221,6 +241,7 @@ run();
|
|
|
221
241
|
| Parameter | Type | Required | Description |
|
|
222
242
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
223
243
|
| `request` | [operations.AccountV1GetDataPointsRequest](../../models/operations/accountv1getdatapointsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
244
|
+
| `security` | [operations.AccountV1GetDataPointsSecurity](../../models/operations/accountv1getdatapointssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
224
245
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
225
246
|
| `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. |
|
|
226
247
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -251,6 +272,9 @@ const steamSets = new SteamSets();
|
|
|
251
272
|
async function run() {
|
|
252
273
|
const result = await steamSets.public.accountV1GetFriends({
|
|
253
274
|
accountSearch: {},
|
|
275
|
+
}, {
|
|
276
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
277
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
254
278
|
});
|
|
255
279
|
|
|
256
280
|
// Handle the result
|
|
@@ -275,6 +299,9 @@ const steamSets = new SteamSetsCore();
|
|
|
275
299
|
async function run() {
|
|
276
300
|
const res = await publicAccountV1GetFriends(steamSets, {
|
|
277
301
|
accountSearch: {},
|
|
302
|
+
}, {
|
|
303
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
304
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
278
305
|
});
|
|
279
306
|
|
|
280
307
|
if (!res.ok) {
|
|
@@ -295,6 +322,7 @@ run();
|
|
|
295
322
|
| Parameter | Type | Required | Description |
|
|
296
323
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
297
324
|
| `request` | [operations.AccountV1GetFriendsRequest](../../models/operations/accountv1getfriendsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
325
|
+
| `security` | [operations.AccountV1GetFriendsSecurity](../../models/operations/accountv1getfriendssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
298
326
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
299
327
|
| `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. |
|
|
300
328
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -323,7 +351,10 @@ import { SteamSets } from "@steamsets/client-ts";
|
|
|
323
351
|
const steamSets = new SteamSets();
|
|
324
352
|
|
|
325
353
|
async function run() {
|
|
326
|
-
const result = await steamSets.public.accountV1GetInfo({}
|
|
354
|
+
const result = await steamSets.public.accountV1GetInfo({}, {
|
|
355
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
356
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
357
|
+
});
|
|
327
358
|
|
|
328
359
|
// Handle the result
|
|
329
360
|
console.log(result)
|
|
@@ -345,7 +376,10 @@ import { publicAccountV1GetInfo } from "@steamsets/client-ts/funcs/publicAccount
|
|
|
345
376
|
const steamSets = new SteamSetsCore();
|
|
346
377
|
|
|
347
378
|
async function run() {
|
|
348
|
-
const res = await publicAccountV1GetInfo(steamSets, {}
|
|
379
|
+
const res = await publicAccountV1GetInfo(steamSets, {}, {
|
|
380
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
381
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
382
|
+
});
|
|
349
383
|
|
|
350
384
|
if (!res.ok) {
|
|
351
385
|
throw res.error;
|
|
@@ -365,6 +399,7 @@ run();
|
|
|
365
399
|
| Parameter | Type | Required | Description |
|
|
366
400
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
367
401
|
| `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
402
|
+
| `security` | [operations.AccountV1GetInfoSecurity](../../models/operations/accountv1getinfosecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
368
403
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
369
404
|
| `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. |
|
|
370
405
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -395,6 +430,9 @@ const steamSets = new SteamSets();
|
|
|
395
430
|
async function run() {
|
|
396
431
|
const result = await steamSets.public.accountV1GetLeaderboardHistory({
|
|
397
432
|
accountSearch: {},
|
|
433
|
+
}, {
|
|
434
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
435
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
398
436
|
});
|
|
399
437
|
|
|
400
438
|
// Handle the result
|
|
@@ -419,6 +457,9 @@ const steamSets = new SteamSetsCore();
|
|
|
419
457
|
async function run() {
|
|
420
458
|
const res = await publicAccountV1GetLeaderboardHistory(steamSets, {
|
|
421
459
|
accountSearch: {},
|
|
460
|
+
}, {
|
|
461
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
462
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
422
463
|
});
|
|
423
464
|
|
|
424
465
|
if (!res.ok) {
|
|
@@ -439,6 +480,7 @@ run();
|
|
|
439
480
|
| Parameter | Type | Required | Description |
|
|
440
481
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
441
482
|
| `request` | [operations.AccountV1GetLeaderboardHistoryRequest](../../models/operations/accountv1getleaderboardhistoryrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
483
|
+
| `security` | [operations.AccountV1GetLeaderboardHistorySecurity](../../models/operations/accountv1getleaderboardhistorysecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
442
484
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
443
485
|
| `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. |
|
|
444
486
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -471,6 +513,9 @@ async function run() {
|
|
|
471
513
|
appSearch: {
|
|
472
514
|
id: 730,
|
|
473
515
|
},
|
|
516
|
+
}, {
|
|
517
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
518
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
474
519
|
});
|
|
475
520
|
|
|
476
521
|
// Handle the result
|
|
@@ -497,6 +542,9 @@ async function run() {
|
|
|
497
542
|
appSearch: {
|
|
498
543
|
id: 730,
|
|
499
544
|
},
|
|
545
|
+
}, {
|
|
546
|
+
apiKey: "<YOUR_API_KEY_HERE>",
|
|
547
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
500
548
|
});
|
|
501
549
|
|
|
502
550
|
if (!res.ok) {
|
|
@@ -517,6 +565,7 @@ run();
|
|
|
517
565
|
| Parameter | Type | Required | Description |
|
|
518
566
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
519
567
|
| `request` | [operations.AccountV1QueueRequest](../../models/operations/accountv1queuerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
568
|
+
| `security` | [operations.AccountV1QueueSecurity](../../models/operations/accountv1queuesecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
520
569
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
521
570
|
| `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. |
|
|
522
571
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -19,7 +19,9 @@ Create a new session for non logged in users
|
|
|
19
19
|
```typescript
|
|
20
20
|
import { SteamSets } from "@steamsets/client-ts";
|
|
21
21
|
|
|
22
|
-
const steamSets = new SteamSets(
|
|
22
|
+
const steamSets = new SteamSets({
|
|
23
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
24
|
+
});
|
|
23
25
|
|
|
24
26
|
async function run() {
|
|
25
27
|
const result = await steamSets.session.accountV1SessionCreate({});
|
|
@@ -41,7 +43,9 @@ import { sessionAccountV1SessionCreate } from "@steamsets/client-ts/funcs/sessio
|
|
|
41
43
|
|
|
42
44
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
43
45
|
// You can create one instance of it to use across an application.
|
|
44
|
-
const steamSets = new SteamSetsCore(
|
|
46
|
+
const steamSets = new SteamSetsCore({
|
|
47
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
48
|
+
});
|
|
45
49
|
|
|
46
50
|
async function run() {
|
|
47
51
|
const res = await sessionAccountV1SessionCreate(steamSets, {});
|
|
@@ -89,7 +93,9 @@ Deletes a session, can also be used to logout
|
|
|
89
93
|
```typescript
|
|
90
94
|
import { SteamSets } from "@steamsets/client-ts";
|
|
91
95
|
|
|
92
|
-
const steamSets = new SteamSets(
|
|
96
|
+
const steamSets = new SteamSets({
|
|
97
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
98
|
+
});
|
|
93
99
|
|
|
94
100
|
async function run() {
|
|
95
101
|
const result = await steamSets.session.accountV1SessionDelete({
|
|
@@ -113,7 +119,9 @@ import { sessionAccountV1SessionDelete } from "@steamsets/client-ts/funcs/sessio
|
|
|
113
119
|
|
|
114
120
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
115
121
|
// You can create one instance of it to use across an application.
|
|
116
|
-
const steamSets = new SteamSetsCore(
|
|
122
|
+
const steamSets = new SteamSetsCore({
|
|
123
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
124
|
+
});
|
|
117
125
|
|
|
118
126
|
async function run() {
|
|
119
127
|
const res = await sessionAccountV1SessionDelete(steamSets, {
|
|
@@ -163,7 +171,9 @@ Gets all session data
|
|
|
163
171
|
```typescript
|
|
164
172
|
import { SteamSets } from "@steamsets/client-ts";
|
|
165
173
|
|
|
166
|
-
const steamSets = new SteamSets(
|
|
174
|
+
const steamSets = new SteamSets({
|
|
175
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
176
|
+
});
|
|
167
177
|
|
|
168
178
|
async function run() {
|
|
169
179
|
const result = await steamSets.session.accountV1SessionGet();
|
|
@@ -185,7 +195,9 @@ import { sessionAccountV1SessionGet } from "@steamsets/client-ts/funcs/sessionAc
|
|
|
185
195
|
|
|
186
196
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
187
197
|
// You can create one instance of it to use across an application.
|
|
188
|
-
const steamSets = new SteamSetsCore(
|
|
198
|
+
const steamSets = new SteamSetsCore({
|
|
199
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
200
|
+
});
|
|
189
201
|
|
|
190
202
|
async function run() {
|
|
191
203
|
const res = await sessionAccountV1SessionGet(steamSets);
|
|
@@ -232,7 +244,9 @@ Logs a user in and creates a new session
|
|
|
232
244
|
```typescript
|
|
233
245
|
import { SteamSets } from "@steamsets/client-ts";
|
|
234
246
|
|
|
235
|
-
const steamSets = new SteamSets(
|
|
247
|
+
const steamSets = new SteamSets({
|
|
248
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
249
|
+
});
|
|
236
250
|
|
|
237
251
|
async function run() {
|
|
238
252
|
const result = await steamSets.session.accountV1SessionLogin({
|
|
@@ -267,7 +281,9 @@ import { sessionAccountV1SessionLogin } from "@steamsets/client-ts/funcs/session
|
|
|
267
281
|
|
|
268
282
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
269
283
|
// You can create one instance of it to use across an application.
|
|
270
|
-
const steamSets = new SteamSetsCore(
|
|
284
|
+
const steamSets = new SteamSetsCore({
|
|
285
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
286
|
+
});
|
|
271
287
|
|
|
272
288
|
async function run() {
|
|
273
289
|
const res = await sessionAccountV1SessionLogin(steamSets, {
|
|
@@ -23,7 +23,9 @@ Delete mulitple imagest
|
|
|
23
23
|
```typescript
|
|
24
24
|
import { SteamSets } from "@steamsets/client-ts";
|
|
25
25
|
|
|
26
|
-
const steamSets = new SteamSets(
|
|
26
|
+
const steamSets = new SteamSets({
|
|
27
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
28
|
+
});
|
|
27
29
|
|
|
28
30
|
async function run() {
|
|
29
31
|
const result = await steamSets.settings.accountV1SettingsDeleteImages({
|
|
@@ -49,7 +51,9 @@ import { settingsAccountV1SettingsDeleteImages } from "@steamsets/client-ts/func
|
|
|
49
51
|
|
|
50
52
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
51
53
|
// You can create one instance of it to use across an application.
|
|
52
|
-
const steamSets = new SteamSetsCore(
|
|
54
|
+
const steamSets = new SteamSetsCore({
|
|
55
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
56
|
+
});
|
|
53
57
|
|
|
54
58
|
async function run() {
|
|
55
59
|
const res = await settingsAccountV1SettingsDeleteImages(steamSets, {
|
|
@@ -101,7 +105,9 @@ Generate a new API key for the account
|
|
|
101
105
|
```typescript
|
|
102
106
|
import { SteamSets } from "@steamsets/client-ts";
|
|
103
107
|
|
|
104
|
-
const steamSets = new SteamSets(
|
|
108
|
+
const steamSets = new SteamSets({
|
|
109
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
110
|
+
});
|
|
105
111
|
|
|
106
112
|
async function run() {
|
|
107
113
|
const result = await steamSets.settings.accountV1SettingsGenerateApiKey();
|
|
@@ -123,7 +129,9 @@ import { settingsAccountV1SettingsGenerateApiKey } from "@steamsets/client-ts/fu
|
|
|
123
129
|
|
|
124
130
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
125
131
|
// You can create one instance of it to use across an application.
|
|
126
|
-
const steamSets = new SteamSetsCore(
|
|
132
|
+
const steamSets = new SteamSetsCore({
|
|
133
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
134
|
+
});
|
|
127
135
|
|
|
128
136
|
async function run() {
|
|
129
137
|
const res = await settingsAccountV1SettingsGenerateApiKey(steamSets);
|
|
@@ -170,7 +178,9 @@ Gets all settings for the account
|
|
|
170
178
|
```typescript
|
|
171
179
|
import { SteamSets } from "@steamsets/client-ts";
|
|
172
180
|
|
|
173
|
-
const steamSets = new SteamSets(
|
|
181
|
+
const steamSets = new SteamSets({
|
|
182
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
183
|
+
});
|
|
174
184
|
|
|
175
185
|
async function run() {
|
|
176
186
|
const result = await steamSets.settings.accountV1SettingsGet();
|
|
@@ -192,7 +202,9 @@ import { settingsAccountV1SettingsGet } from "@steamsets/client-ts/funcs/setting
|
|
|
192
202
|
|
|
193
203
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
194
204
|
// You can create one instance of it to use across an application.
|
|
195
|
-
const steamSets = new SteamSetsCore(
|
|
205
|
+
const steamSets = new SteamSetsCore({
|
|
206
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
207
|
+
});
|
|
196
208
|
|
|
197
209
|
async function run() {
|
|
198
210
|
const res = await settingsAccountV1SettingsGet(steamSets);
|
|
@@ -239,7 +251,9 @@ Resend the verification code for an email
|
|
|
239
251
|
```typescript
|
|
240
252
|
import { SteamSets } from "@steamsets/client-ts";
|
|
241
253
|
|
|
242
|
-
const steamSets = new SteamSets(
|
|
254
|
+
const steamSets = new SteamSets({
|
|
255
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
256
|
+
});
|
|
243
257
|
|
|
244
258
|
async function run() {
|
|
245
259
|
const result = await steamSets.settings.accountV1SettingsSendEmailVerification({});
|
|
@@ -261,7 +275,9 @@ import { settingsAccountV1SettingsSendEmailVerification } from "@steamsets/clien
|
|
|
261
275
|
|
|
262
276
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
263
277
|
// You can create one instance of it to use across an application.
|
|
264
|
-
const steamSets = new SteamSetsCore(
|
|
278
|
+
const steamSets = new SteamSetsCore({
|
|
279
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
280
|
+
});
|
|
265
281
|
|
|
266
282
|
async function run() {
|
|
267
283
|
const res = await settingsAccountV1SettingsSendEmailVerification(steamSets, {});
|
|
@@ -309,7 +325,9 @@ Update one of the uploaded images
|
|
|
309
325
|
```typescript
|
|
310
326
|
import { SteamSets } from "@steamsets/client-ts";
|
|
311
327
|
|
|
312
|
-
const steamSets = new SteamSets(
|
|
328
|
+
const steamSets = new SteamSets({
|
|
329
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
330
|
+
});
|
|
313
331
|
|
|
314
332
|
async function run() {
|
|
315
333
|
const result = await steamSets.settings.accountV1SettingsUpdateImage({
|
|
@@ -334,7 +352,9 @@ import { settingsAccountV1SettingsUpdateImage } from "@steamsets/client-ts/funcs
|
|
|
334
352
|
|
|
335
353
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
336
354
|
// You can create one instance of it to use across an application.
|
|
337
|
-
const steamSets = new SteamSetsCore(
|
|
355
|
+
const steamSets = new SteamSetsCore({
|
|
356
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
357
|
+
});
|
|
338
358
|
|
|
339
359
|
async function run() {
|
|
340
360
|
const res = await settingsAccountV1SettingsUpdateImage(steamSets, {
|
|
@@ -385,7 +405,9 @@ Update settings for the logged in account
|
|
|
385
405
|
```typescript
|
|
386
406
|
import { SteamSets } from "@steamsets/client-ts";
|
|
387
407
|
|
|
388
|
-
const steamSets = new SteamSets(
|
|
408
|
+
const steamSets = new SteamSets({
|
|
409
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
410
|
+
});
|
|
389
411
|
|
|
390
412
|
async function run() {
|
|
391
413
|
const result = await steamSets.settings.accountV1SettingsUpdate({
|
|
@@ -423,7 +445,9 @@ import { settingsAccountV1SettingsUpdate } from "@steamsets/client-ts/funcs/sett
|
|
|
423
445
|
|
|
424
446
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
425
447
|
// You can create one instance of it to use across an application.
|
|
426
|
-
const steamSets = new SteamSetsCore(
|
|
448
|
+
const steamSets = new SteamSetsCore({
|
|
449
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
450
|
+
});
|
|
427
451
|
|
|
428
452
|
async function run() {
|
|
429
453
|
const res = await settingsAccountV1SettingsUpdate(steamSets, {
|
|
@@ -487,7 +511,9 @@ Multi Upload Endpoint for images
|
|
|
487
511
|
```typescript
|
|
488
512
|
import { SteamSets } from "@steamsets/client-ts";
|
|
489
513
|
|
|
490
|
-
const steamSets = new SteamSets(
|
|
514
|
+
const steamSets = new SteamSets({
|
|
515
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
516
|
+
});
|
|
491
517
|
|
|
492
518
|
async function run() {
|
|
493
519
|
const result = await steamSets.settings.accountV1SettingsUploadImages({
|
|
@@ -516,7 +542,9 @@ import { settingsAccountV1SettingsUploadImages } from "@steamsets/client-ts/func
|
|
|
516
542
|
|
|
517
543
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
518
544
|
// You can create one instance of it to use across an application.
|
|
519
|
-
const steamSets = new SteamSetsCore(
|
|
545
|
+
const steamSets = new SteamSetsCore({
|
|
546
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
547
|
+
});
|
|
520
548
|
|
|
521
549
|
async function run() {
|
|
522
550
|
const res = await settingsAccountV1SettingsUploadImages(steamSets, {
|
|
@@ -571,7 +599,9 @@ Verify the email by passing in the code the user should've gotten
|
|
|
571
599
|
```typescript
|
|
572
600
|
import { SteamSets } from "@steamsets/client-ts";
|
|
573
601
|
|
|
574
|
-
const steamSets = new SteamSets(
|
|
602
|
+
const steamSets = new SteamSets({
|
|
603
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
604
|
+
});
|
|
575
605
|
|
|
576
606
|
async function run() {
|
|
577
607
|
const result = await steamSets.settings.accountV1SettingsVerfyEmail({
|
|
@@ -595,7 +625,9 @@ import { settingsAccountV1SettingsVerfyEmail } from "@steamsets/client-ts/funcs/
|
|
|
595
625
|
|
|
596
626
|
// Use `SteamSetsCore` for best tree-shaking performance.
|
|
597
627
|
// You can create one instance of it to use across an application.
|
|
598
|
-
const steamSets = new SteamSetsCore(
|
|
628
|
+
const steamSets = new SteamSetsCore({
|
|
629
|
+
session: "<YOUR_BEARER_TOKEN_HERE>",
|
|
630
|
+
});
|
|
599
631
|
|
|
600
632
|
async function run() {
|
|
601
633
|
const res = await settingsAccountV1SettingsVerfyEmail(steamSets, {
|
|
@@ -9,5 +9,5 @@ import { Result } from "../types/fp.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* Get Account Apps
|
|
11
11
|
*/
|
|
12
|
-
export declare function accountAccountV1GetApps(client$: SteamSetsCore, request: operations.AccountV1GetAppsRequest, options?: RequestOptions): Promise<Result<operations.AccountV1GetAppsResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
12
|
+
export declare function accountAccountV1GetApps(client$: SteamSetsCore, request: operations.AccountV1GetAppsRequest, security: operations.AccountV1GetAppsSecurity, options?: RequestOptions): Promise<Result<operations.AccountV1GetAppsResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
13
|
//# sourceMappingURL=accountAccountV1GetApps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1GetApps.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetApps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,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,
|
|
1
|
+
{"version":3,"file":"accountAccountV1GetApps.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetApps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,QAAQ,EAAE,UAAU,CAAC,wBAAwB,EAC7C,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,CAyGA"}
|
|
@@ -37,7 +37,7 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
37
37
|
/**
|
|
38
38
|
* Get Account Apps
|
|
39
39
|
*/
|
|
40
|
-
async function accountAccountV1GetApps(client$, request, options) {
|
|
40
|
+
async function accountAccountV1GetApps(client$, request, security, options) {
|
|
41
41
|
const input$ = request;
|
|
42
42
|
const parsed$ = schemas$.safeParse(input$, (value$) => operations.AccountV1GetAppsRequest$outboundSchema.parse(value$), "Input validation failed");
|
|
43
43
|
if (!parsed$.ok) {
|
|
@@ -55,14 +55,26 @@ async function accountAccountV1GetApps(client$, request, options) {
|
|
|
55
55
|
}),
|
|
56
56
|
"X-Forwarded-For": (0, encodings_js_1.encodeSimple)("X-Forwarded-For", payload$["X-Forwarded-For"], { explode: false, charEncoding: "none" }),
|
|
57
57
|
});
|
|
58
|
-
const
|
|
59
|
-
|
|
58
|
+
const security$ = [
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
fieldName: "api-key",
|
|
62
|
+
type: "apiKey:header",
|
|
63
|
+
value: security === null || security === void 0 ? void 0 : security.apiKey,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
fieldName: "Authorization",
|
|
67
|
+
type: "http:bearer",
|
|
68
|
+
value: security === null || security === void 0 ? void 0 : security.session,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
];
|
|
72
|
+
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
60
73
|
const context = {
|
|
61
74
|
operationID: "account.v1.getApps",
|
|
62
75
|
oAuth2Scopes: [],
|
|
63
|
-
securitySource:
|
|
76
|
+
securitySource: security,
|
|
64
77
|
};
|
|
65
|
-
const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
|
|
66
78
|
const requestRes = client$.createRequest$(context, {
|
|
67
79
|
security: securitySettings$,
|
|
68
80
|
method: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1GetApps.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetApps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,
|
|
1
|
+
{"version":3,"file":"accountAccountV1GetApps.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetApps.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,0DA0HC;AAnJD,sDAG6B;AAC7B,uDAAyC;AACzC,4DAA8C;AAE9C,oDAAoE;AACpE,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAG5D;;GAEG;AACI,KAAK,UAAU,uBAAuB,CAC3C,OAAsB,EACtB,OAA2C,EAC3C,QAA6C,EAC7C,OAAwB;IAcxB,MAAM,MAAM,GAAG,OAAO,CAAC;IAEvB,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAChC,MAAM,EACN,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,sCAAsC,CAAC,KAAK,CAAC,MAAM,CAAC,EAC3E,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;IAC/B,MAAM,KAAK,GAAG,IAAA,yBAAW,EAAC,MAAM,EAAE,QAAQ,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAE7E,MAAM,KAAK,GAAG,IAAA,mBAAU,EAAC,oCAAoC,CAAC,EAAE,CAAC;IAEjE,MAAM,QAAQ,GAAG,IAAI,OAAO,CAAC;QAC3B,cAAc,EAAE,kBAAkB;QAClC,MAAM,EAAE,kBAAkB;QAC1B,YAAY,EAAE,IAAA,2BAAa,EAAC,YAAY,EAAE,QAAQ,CAAC,YAAY,CAAC,EAAE;YAChE,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,MAAM;SACrB,CAAC;QACF,iBAAiB,EAAE,IAAA,2BAAa,EAC9B,iBAAiB,EACjB,QAAQ,CAAC,iBAAiB,CAAC,EAC3B,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,CACzC;KACF,CAAC,CAAC;IAEH,MAAM,SAAS,GAAsB;QACnC;YACE;gBACE,SAAS,EAAE,SAAS;gBACpB,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM;aACxB;YACD;gBACE,SAAS,EAAE,eAAe;gBAC1B,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO;aACzB;SACF;KACF,CAAC;IACF,MAAM,iBAAiB,GAAG,IAAA,6BAAe,EAAC,GAAG,SAAS,CAAC,CAAC;IACxD,MAAM,OAAO,GAAG;QACd,WAAW,EAAE,oBAAoB;QACjC,YAAY,EAAE,EAAE;QAChB,cAAc,EAAE,QAAQ;KACzB,CAAC;IAEF,MAAM,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE;QACjD,QAAQ,EAAE,iBAAiB;QAC3B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,QAAQ;QACjB,IAAI,EAAE,KAAK;QACX,QAAQ,EAAE,wBAAwB;QAClC,SAAS,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,KAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC;KAClE,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC;IAElC,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE;QAC3C,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;QACtD,WAAW,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO;eACxB,OAAO,CAAC,QAAQ,CAAC,WAAW;QACjC,UAAU,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,KAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACvE,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,eAAe,GAAG;QACtB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;KACpD,CAAC;IAEF,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,EAAE,CAAC,KAAK,CAW9B,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,sCAAsC,EAAE;QAC9D,GAAG,EAAE,4BAA4B;KAClC,CAAC,EACF,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAChE,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CACxB,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAAC;IACxD,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -9,5 +9,5 @@ import { Result } from "../types/fp.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* Get Account Badges
|
|
11
11
|
*/
|
|
12
|
-
export declare function accountAccountV1GetBadges(client$: SteamSetsCore, request: operations.AccountV1GetBadgesRequest, options?: RequestOptions): Promise<Result<operations.AccountV1GetBadgesResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
12
|
+
export declare function accountAccountV1GetBadges(client$: SteamSetsCore, request: operations.AccountV1GetBadgesRequest, security: operations.AccountV1GetBadgesSecurity, options?: RequestOptions): Promise<Result<operations.AccountV1GetBadgesResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
13
13
|
//# sourceMappingURL=accountAccountV1GetBadges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountV1GetBadges.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetBadges.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,
|
|
1
|
+
{"version":3,"file":"accountAccountV1GetBadges.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetBadges.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,QAAQ,EAAE,UAAU,CAAC,0BAA0B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA0GA"}
|
|
@@ -37,7 +37,7 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
37
37
|
/**
|
|
38
38
|
* Get Account Badges
|
|
39
39
|
*/
|
|
40
|
-
async function accountAccountV1GetBadges(client$, request, options) {
|
|
40
|
+
async function accountAccountV1GetBadges(client$, request, security, options) {
|
|
41
41
|
const input$ = request;
|
|
42
42
|
const parsed$ = schemas$.safeParse(input$, (value$) => operations.AccountV1GetBadgesRequest$outboundSchema.parse(value$), "Input validation failed");
|
|
43
43
|
if (!parsed$.ok) {
|
|
@@ -55,14 +55,26 @@ async function accountAccountV1GetBadges(client$, request, options) {
|
|
|
55
55
|
}),
|
|
56
56
|
"X-Forwarded-For": (0, encodings_js_1.encodeSimple)("X-Forwarded-For", payload$["X-Forwarded-For"], { explode: false, charEncoding: "none" }),
|
|
57
57
|
});
|
|
58
|
-
const
|
|
59
|
-
|
|
58
|
+
const security$ = [
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
fieldName: "api-key",
|
|
62
|
+
type: "apiKey:header",
|
|
63
|
+
value: security === null || security === void 0 ? void 0 : security.apiKey,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
fieldName: "Authorization",
|
|
67
|
+
type: "http:bearer",
|
|
68
|
+
value: security === null || security === void 0 ? void 0 : security.session,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
];
|
|
72
|
+
const securitySettings$ = (0, security_js_1.resolveSecurity)(...security$);
|
|
60
73
|
const context = {
|
|
61
74
|
operationID: "account.v1.getBadges",
|
|
62
75
|
oAuth2Scopes: [],
|
|
63
|
-
securitySource:
|
|
76
|
+
securitySource: security,
|
|
64
77
|
};
|
|
65
|
-
const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
|
|
66
78
|
const requestRes = client$.createRequest$(context, {
|
|
67
79
|
security: securitySettings$,
|
|
68
80
|
method: "POST",
|