@steamsets/client-ts 0.14.11 → 0.14.13

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.
Files changed (78) hide show
  1. package/README.md +8 -0
  2. package/docs/sdks/account/README.md +142 -0
  3. package/docs/sdks/badge/README.md +71 -0
  4. package/docs/sdks/data/README.md +71 -0
  5. package/funcs/accountAccountV1GetOwnedBadges.d.ts +10 -0
  6. package/funcs/accountAccountV1GetOwnedBadges.d.ts.map +1 -0
  7. package/funcs/accountAccountV1GetOwnedBadges.js +99 -0
  8. package/funcs/accountAccountV1GetOwnedBadges.js.map +1 -0
  9. package/funcs/accountStatsV1StatsGet.d.ts +10 -0
  10. package/funcs/accountStatsV1StatsGet.d.ts.map +1 -0
  11. package/funcs/accountStatsV1StatsGet.js +99 -0
  12. package/funcs/accountStatsV1StatsGet.js.map +1 -0
  13. package/funcs/badgeAccountV1GetOwnedBadges.d.ts +10 -0
  14. package/funcs/badgeAccountV1GetOwnedBadges.d.ts.map +1 -0
  15. package/funcs/badgeAccountV1GetOwnedBadges.js +99 -0
  16. package/funcs/badgeAccountV1GetOwnedBadges.js.map +1 -0
  17. package/funcs/dataStatsV1StatsGet.d.ts +10 -0
  18. package/funcs/dataStatsV1StatsGet.d.ts.map +1 -0
  19. package/funcs/dataStatsV1StatsGet.js +99 -0
  20. package/funcs/dataStatsV1StatsGet.js.map +1 -0
  21. package/lib/config.d.ts +3 -3
  22. package/lib/config.js +3 -3
  23. package/models/components/index.d.ts +3 -0
  24. package/models/components/index.d.ts.map +1 -1
  25. package/models/components/index.js +3 -0
  26. package/models/components/index.js.map +1 -1
  27. package/models/components/v1accountbadgeownedbadge.d.ts +47 -0
  28. package/models/components/v1accountbadgeownedbadge.d.ts.map +1 -0
  29. package/models/components/v1accountbadgeownedbadge.js +65 -0
  30. package/models/components/v1accountbadgeownedbadge.js.map +1 -0
  31. package/models/components/v1accountbadgeownedbadgesresponsebody.d.ts +35 -0
  32. package/models/components/v1accountbadgeownedbadgesresponsebody.d.ts.map +1 -0
  33. package/models/components/v1accountbadgeownedbadgesresponsebody.js +71 -0
  34. package/models/components/v1accountbadgeownedbadgesresponsebody.js.map +1 -0
  35. package/models/components/v1stats.d.ts +137 -0
  36. package/models/components/v1stats.d.ts.map +1 -0
  37. package/models/components/v1stats.js +110 -0
  38. package/models/components/v1stats.js.map +1 -0
  39. package/models/operations/accountv1getownedbadges.d.ts +35 -0
  40. package/models/operations/accountv1getownedbadges.d.ts.map +1 -0
  41. package/models/operations/accountv1getownedbadges.js +75 -0
  42. package/models/operations/accountv1getownedbadges.js.map +1 -0
  43. package/models/operations/index.d.ts +2 -0
  44. package/models/operations/index.d.ts.map +1 -1
  45. package/models/operations/index.js +2 -0
  46. package/models/operations/index.js.map +1 -1
  47. package/models/operations/statsv1statsget.d.ts +35 -0
  48. package/models/operations/statsv1statsget.d.ts.map +1 -0
  49. package/models/operations/statsv1statsget.js +73 -0
  50. package/models/operations/statsv1statsget.js.map +1 -0
  51. package/package.json +1 -1
  52. package/sdk/account.d.ts +2 -0
  53. package/sdk/account.d.ts.map +1 -1
  54. package/sdk/account.js +8 -0
  55. package/sdk/account.js.map +1 -1
  56. package/sdk/badge.d.ts +1 -0
  57. package/sdk/badge.d.ts.map +1 -1
  58. package/sdk/badge.js +4 -0
  59. package/sdk/badge.js.map +1 -1
  60. package/sdk/data.d.ts +1 -0
  61. package/sdk/data.d.ts.map +1 -1
  62. package/sdk/data.js +4 -0
  63. package/sdk/data.js.map +1 -1
  64. package/src/funcs/accountAccountV1GetOwnedBadges.ts +125 -0
  65. package/src/funcs/accountStatsV1StatsGet.ts +125 -0
  66. package/src/funcs/badgeAccountV1GetOwnedBadges.ts +125 -0
  67. package/src/funcs/dataStatsV1StatsGet.ts +125 -0
  68. package/src/lib/config.ts +3 -3
  69. package/src/models/components/index.ts +3 -0
  70. package/src/models/components/v1accountbadgeownedbadge.ts +90 -0
  71. package/src/models/components/v1accountbadgeownedbadgesresponsebody.ts +93 -0
  72. package/src/models/components/v1stats.ts +218 -0
  73. package/src/models/operations/accountv1getownedbadges.ts +95 -0
  74. package/src/models/operations/index.ts +2 -0
  75. package/src/models/operations/statsv1statsget.ts +85 -0
  76. package/src/sdk/account.ts +20 -0
  77. package/src/sdk/badge.ts +10 -0
  78. package/src/sdk/data.ts +10 -0
package/README.md CHANGED
@@ -84,11 +84,13 @@ run();
84
84
  * [accountV1ImagesGet](docs/sdks/account/README.md#accountv1imagesget)
85
85
  * [getInfo](docs/sdks/account/README.md#getinfo)
86
86
  * [getLeaderboardHistory](docs/sdks/account/README.md#getleaderboardhistory)
87
+ * [accountV1GetOwnedBadges](docs/sdks/account/README.md#accountv1getownedbadges)
87
88
  * [getStaff](docs/sdks/account/README.md#getstaff)
88
89
  * [sendEmailVerification](docs/sdks/account/README.md#sendemailverification)
89
90
  * [accountV1ImagesUpdate](docs/sdks/account/README.md#accountv1imagesupdate)
90
91
  * [uploadImages](docs/sdks/account/README.md#uploadimages)
91
92
  * [verifyEmail](docs/sdks/account/README.md#verifyemail)
93
+ * [statsV1StatsGet](docs/sdks/account/README.md#statsv1statsget)
92
94
 
93
95
  ### [accounts](docs/sdks/accounts/README.md)
94
96
 
@@ -106,6 +108,7 @@ run();
106
108
 
107
109
  * [accountV1BookmarkBadge](docs/sdks/badge/README.md#accountv1bookmarkbadge)
108
110
  * [accountV1GetBadgeBookmarks](docs/sdks/badge/README.md#accountv1getbadgebookmarks)
111
+ * [accountV1GetOwnedBadges](docs/sdks/badge/README.md#accountv1getownedbadges)
109
112
  * [getTags](docs/sdks/badge/README.md#gettags)
110
113
  * [badgeV1Search](docs/sdks/badge/README.md#badgev1search)
111
114
 
@@ -132,6 +135,7 @@ run();
132
135
  * [getInfo](docs/sdks/data/README.md#getinfo)
133
136
  * [getLeaderboardHistory](docs/sdks/data/README.md#getleaderboardhistory)
134
137
  * [getStaff](docs/sdks/data/README.md#getstaff)
138
+ * [statsV1StatsGet](docs/sdks/data/README.md#statsv1statsget)
135
139
 
136
140
  ### [developer](docs/sdks/developer/README.md)
137
141
 
@@ -540,6 +544,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
540
544
  <summary>Available standalone functions</summary>
541
545
 
542
546
  - [`accountAccountV1GetBadgeBookmarks`](docs/sdks/account/README.md#accountv1getbadgebookmarks)
547
+ - [`accountAccountV1GetOwnedBadges`](docs/sdks/account/README.md#accountv1getownedbadges)
543
548
  - [`accountAccountV1ImagesGet`](docs/sdks/account/README.md#accountv1imagesget)
544
549
  - [`accountAccountV1ImagesUpdate`](docs/sdks/account/README.md#accountv1imagesupdate)
545
550
  - [`accountDeleteImages`](docs/sdks/account/README.md#deleteimages)
@@ -552,6 +557,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
552
557
  - [`accountGetStaff`](docs/sdks/account/README.md#getstaff)
553
558
  - [`accountSendEmailVerification`](docs/sdks/account/README.md#sendemailverification)
554
559
  - [`accountsQueue`](docs/sdks/accounts/README.md#queue)
560
+ - [`accountStatsV1StatsGet`](docs/sdks/account/README.md#statsv1statsget)
555
561
  - [`accountUploadImages`](docs/sdks/account/README.md#uploadimages)
556
562
  - [`accountVerifyEmail`](docs/sdks/account/README.md#verifyemail)
557
563
  - [`adminAdminV1GetEvents`](docs/sdks/admin/README.md#adminv1getevents)
@@ -561,6 +567,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
561
567
  - [`adminGetAccount`](docs/sdks/admin/README.md#getaccount)
562
568
  - [`badgeAccountV1BookmarkBadge`](docs/sdks/badge/README.md#accountv1bookmarkbadge)
563
569
  - [`badgeAccountV1GetBadgeBookmarks`](docs/sdks/badge/README.md#accountv1getbadgebookmarks)
570
+ - [`badgeAccountV1GetOwnedBadges`](docs/sdks/badge/README.md#accountv1getownedbadges)
564
571
  - [`badgeBadgeV1Search`](docs/sdks/badge/README.md#badgev1search)
565
572
  - [`badgeGetTags`](docs/sdks/badge/README.md#gettags)
566
573
  - [`badgesTag`](docs/sdks/badges/README.md#tag)
@@ -575,6 +582,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
575
582
  - [`dataGetInfo`](docs/sdks/data/README.md#getinfo)
576
583
  - [`dataGetLeaderboardHistory`](docs/sdks/data/README.md#getleaderboardhistory)
577
584
  - [`dataGetStaff`](docs/sdks/data/README.md#getstaff)
585
+ - [`dataStatsV1StatsGet`](docs/sdks/data/README.md#statsv1statsget)
578
586
  - [`developerCreateDeveloperApp`](docs/sdks/developer/README.md#createdeveloperapp)
579
587
  - [`developerDeleteDeveloperApp`](docs/sdks/developer/README.md#deletedeveloperapp)
580
588
  - [`developerUpdateApp`](docs/sdks/developer/README.md#updateapp)
@@ -16,11 +16,13 @@ Account related operations
16
16
  * [accountV1ImagesGet](#accountv1imagesget)
17
17
  * [getInfo](#getinfo)
18
18
  * [getLeaderboardHistory](#getleaderboardhistory)
19
+ * [accountV1GetOwnedBadges](#accountv1getownedbadges)
19
20
  * [getStaff](#getstaff)
20
21
  * [sendEmailVerification](#sendemailverification)
21
22
  * [accountV1ImagesUpdate](#accountv1imagesupdate)
22
23
  * [uploadImages](#uploadimages)
23
24
  * [verifyEmail](#verifyemail)
25
+ * [statsV1StatsGet](#statsv1statsget)
24
26
 
25
27
  ## deleteImages
26
28
 
@@ -669,6 +671,76 @@ run();
669
671
  | errors.ErrorModel | 400, 403, 404, 422, 500 | application/problem+json |
670
672
  | errors.SDKError | 4XX, 5XX | \*/\* |
671
673
 
674
+ ## accountV1GetOwnedBadges
675
+
676
+ ### Example Usage
677
+
678
+ ```typescript
679
+ import { SteamSets } from "@steamsets/client-ts";
680
+
681
+ const steamSets = new SteamSets({
682
+ token: "<YOUR_BEARER_TOKEN_HERE>",
683
+ });
684
+
685
+ async function run() {
686
+ const result = await steamSets.account.accountV1GetOwnedBadges();
687
+
688
+ // Handle the result
689
+ console.log(result);
690
+ }
691
+
692
+ run();
693
+ ```
694
+
695
+ ### Standalone function
696
+
697
+ The standalone function version of this method:
698
+
699
+ ```typescript
700
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
701
+ import { accountAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/accountAccountV1GetOwnedBadges.js";
702
+
703
+ // Use `SteamSetsCore` for best tree-shaking performance.
704
+ // You can create one instance of it to use across an application.
705
+ const steamSets = new SteamSetsCore({
706
+ token: "<YOUR_BEARER_TOKEN_HERE>",
707
+ });
708
+
709
+ async function run() {
710
+ const res = await accountAccountV1GetOwnedBadges(steamSets);
711
+
712
+ if (!res.ok) {
713
+ throw res.error;
714
+ }
715
+
716
+ const { value: result } = res;
717
+
718
+ // Handle the result
719
+ console.log(result);
720
+ }
721
+
722
+ run();
723
+ ```
724
+
725
+ ### Parameters
726
+
727
+ | Parameter | Type | Required | Description |
728
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
729
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
730
+ | `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. |
731
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
732
+
733
+ ### Response
734
+
735
+ **Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
736
+
737
+ ### Errors
738
+
739
+ | Error Type | Status Code | Content Type |
740
+ | ------------------------ | ------------------------ | ------------------------ |
741
+ | errors.ErrorModel | 403, 404, 500 | application/problem+json |
742
+ | errors.SDKError | 4XX, 5XX | \*/\* |
743
+
672
744
  ## getStaff
673
745
 
674
746
  ### Example Usage
@@ -1053,4 +1125,74 @@ run();
1053
1125
  | Error Type | Status Code | Content Type |
1054
1126
  | ------------------------ | ------------------------ | ------------------------ |
1055
1127
  | errors.ErrorModel | 404, 422, 429, 500 | application/problem+json |
1128
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1129
+
1130
+ ## statsV1StatsGet
1131
+
1132
+ ### Example Usage
1133
+
1134
+ ```typescript
1135
+ import { SteamSets } from "@steamsets/client-ts";
1136
+
1137
+ const steamSets = new SteamSets({
1138
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1139
+ });
1140
+
1141
+ async function run() {
1142
+ const result = await steamSets.account.statsV1StatsGet();
1143
+
1144
+ // Handle the result
1145
+ console.log(result);
1146
+ }
1147
+
1148
+ run();
1149
+ ```
1150
+
1151
+ ### Standalone function
1152
+
1153
+ The standalone function version of this method:
1154
+
1155
+ ```typescript
1156
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1157
+ import { accountStatsV1StatsGet } from "@steamsets/client-ts/funcs/accountStatsV1StatsGet.js";
1158
+
1159
+ // Use `SteamSetsCore` for best tree-shaking performance.
1160
+ // You can create one instance of it to use across an application.
1161
+ const steamSets = new SteamSetsCore({
1162
+ token: "<YOUR_BEARER_TOKEN_HERE>",
1163
+ });
1164
+
1165
+ async function run() {
1166
+ const res = await accountStatsV1StatsGet(steamSets);
1167
+
1168
+ if (!res.ok) {
1169
+ throw res.error;
1170
+ }
1171
+
1172
+ const { value: result } = res;
1173
+
1174
+ // Handle the result
1175
+ console.log(result);
1176
+ }
1177
+
1178
+ run();
1179
+ ```
1180
+
1181
+ ### Parameters
1182
+
1183
+ | Parameter | Type | Required | Description |
1184
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1185
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1186
+ | `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. |
1187
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1188
+
1189
+ ### Response
1190
+
1191
+ **Promise\<[operations.StatsV1StatsGetResponse](../../models/operations/statsv1statsgetresponse.md)\>**
1192
+
1193
+ ### Errors
1194
+
1195
+ | Error Type | Status Code | Content Type |
1196
+ | ------------------------ | ------------------------ | ------------------------ |
1197
+ | errors.ErrorModel | 404, 429, 500 | application/problem+json |
1056
1198
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -7,6 +7,7 @@
7
7
 
8
8
  * [accountV1BookmarkBadge](#accountv1bookmarkbadge)
9
9
  * [accountV1GetBadgeBookmarks](#accountv1getbadgebookmarks)
10
+ * [accountV1GetOwnedBadges](#accountv1getownedbadges)
10
11
  * [getTags](#gettags)
11
12
  * [badgeV1Search](#badgev1search)
12
13
 
@@ -157,6 +158,76 @@ run();
157
158
  | errors.ErrorModel | 403, 404, 500 | application/problem+json |
158
159
  | errors.SDKError | 4XX, 5XX | \*/\* |
159
160
 
161
+ ## accountV1GetOwnedBadges
162
+
163
+ ### Example Usage
164
+
165
+ ```typescript
166
+ import { SteamSets } from "@steamsets/client-ts";
167
+
168
+ const steamSets = new SteamSets({
169
+ token: "<YOUR_BEARER_TOKEN_HERE>",
170
+ });
171
+
172
+ async function run() {
173
+ const result = await steamSets.badge.accountV1GetOwnedBadges();
174
+
175
+ // Handle the result
176
+ console.log(result);
177
+ }
178
+
179
+ run();
180
+ ```
181
+
182
+ ### Standalone function
183
+
184
+ The standalone function version of this method:
185
+
186
+ ```typescript
187
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
188
+ import { badgeAccountV1GetOwnedBadges } from "@steamsets/client-ts/funcs/badgeAccountV1GetOwnedBadges.js";
189
+
190
+ // Use `SteamSetsCore` for best tree-shaking performance.
191
+ // You can create one instance of it to use across an application.
192
+ const steamSets = new SteamSetsCore({
193
+ token: "<YOUR_BEARER_TOKEN_HERE>",
194
+ });
195
+
196
+ async function run() {
197
+ const res = await badgeAccountV1GetOwnedBadges(steamSets);
198
+
199
+ if (!res.ok) {
200
+ throw res.error;
201
+ }
202
+
203
+ const { value: result } = res;
204
+
205
+ // Handle the result
206
+ console.log(result);
207
+ }
208
+
209
+ run();
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ | Parameter | Type | Required | Description |
215
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
216
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
217
+ | `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. |
218
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
219
+
220
+ ### Response
221
+
222
+ **Promise\<[operations.AccountV1GetOwnedBadgesResponse](../../models/operations/accountv1getownedbadgesresponse.md)\>**
223
+
224
+ ### Errors
225
+
226
+ | Error Type | Status Code | Content Type |
227
+ | ------------------------ | ------------------------ | ------------------------ |
228
+ | errors.ErrorModel | 403, 404, 500 | application/problem+json |
229
+ | errors.SDKError | 4XX, 5XX | \*/\* |
230
+
160
231
  ## getTags
161
232
 
162
233
  ### Example Usage
@@ -14,6 +14,7 @@ This is actual data seen by others then yourself
14
14
  * [getInfo](#getinfo)
15
15
  * [getLeaderboardHistory](#getleaderboardhistory)
16
16
  * [getStaff](#getstaff)
17
+ * [statsV1StatsGet](#statsv1statsget)
17
18
 
18
19
  ## getApps
19
20
 
@@ -506,6 +507,76 @@ run();
506
507
 
507
508
  ### Errors
508
509
 
510
+ | Error Type | Status Code | Content Type |
511
+ | ------------------------ | ------------------------ | ------------------------ |
512
+ | errors.ErrorModel | 404, 429, 500 | application/problem+json |
513
+ | errors.SDKError | 4XX, 5XX | \*/\* |
514
+
515
+ ## statsV1StatsGet
516
+
517
+ ### Example Usage
518
+
519
+ ```typescript
520
+ import { SteamSets } from "@steamsets/client-ts";
521
+
522
+ const steamSets = new SteamSets({
523
+ token: "<YOUR_BEARER_TOKEN_HERE>",
524
+ });
525
+
526
+ async function run() {
527
+ const result = await steamSets.data.statsV1StatsGet();
528
+
529
+ // Handle the result
530
+ console.log(result);
531
+ }
532
+
533
+ run();
534
+ ```
535
+
536
+ ### Standalone function
537
+
538
+ The standalone function version of this method:
539
+
540
+ ```typescript
541
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
542
+ import { dataStatsV1StatsGet } from "@steamsets/client-ts/funcs/dataStatsV1StatsGet.js";
543
+
544
+ // Use `SteamSetsCore` for best tree-shaking performance.
545
+ // You can create one instance of it to use across an application.
546
+ const steamSets = new SteamSetsCore({
547
+ token: "<YOUR_BEARER_TOKEN_HERE>",
548
+ });
549
+
550
+ async function run() {
551
+ const res = await dataStatsV1StatsGet(steamSets);
552
+
553
+ if (!res.ok) {
554
+ throw res.error;
555
+ }
556
+
557
+ const { value: result } = res;
558
+
559
+ // Handle the result
560
+ console.log(result);
561
+ }
562
+
563
+ run();
564
+ ```
565
+
566
+ ### Parameters
567
+
568
+ | Parameter | Type | Required | Description |
569
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
570
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
571
+ | `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. |
572
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
573
+
574
+ ### Response
575
+
576
+ **Promise\<[operations.StatsV1StatsGetResponse](../../models/operations/statsv1statsgetresponse.md)\>**
577
+
578
+ ### Errors
579
+
509
580
  | Error Type | Status Code | Content Type |
510
581
  | ------------------------ | ------------------------ | ------------------------ |
511
582
  | errors.ErrorModel | 404, 429, 500 | application/problem+json |
@@ -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 accountAccountV1GetOwnedBadges(client: SteamSetsCore, options?: RequestOptions): Promise<Result<operations.AccountV1GetOwnedBadgesResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
10
+ //# sourceMappingURL=accountAccountV1GetOwnedBadges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountAccountV1GetOwnedBadges.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetOwnedBadges.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,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,8BAA8B,CAClD,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,+BAA+B,EACxC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
@@ -0,0 +1,99 @@
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.accountAccountV1GetOwnedBadges = accountAccountV1GetOwnedBadges;
30
+ const M = __importStar(require("../lib/matchers.js"));
31
+ const security_js_1 = require("../lib/security.js");
32
+ const url_js_1 = require("../lib/url.js");
33
+ const errors = __importStar(require("../models/errors/index.js"));
34
+ const operations = __importStar(require("../models/operations/index.js"));
35
+ async function accountAccountV1GetOwnedBadges(client, options) {
36
+ const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/GetOwnedBadges")();
37
+ const headers = new Headers({
38
+ Accept: "application/json",
39
+ });
40
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
41
+ const securityInput = secConfig == null ? {} : { token: secConfig };
42
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
43
+ const context = {
44
+ operationID: "account.v1.getOwnedBadges",
45
+ oAuth2Scopes: [],
46
+ resolvedSecurity: requestSecurity,
47
+ securitySource: client._options.token,
48
+ retryConfig: options?.retries
49
+ || client._options.retryConfig
50
+ || {
51
+ strategy: "backoff",
52
+ backoff: {
53
+ initialInterval: 500,
54
+ maxInterval: 5000,
55
+ exponent: 1.5,
56
+ maxElapsedTime: 60000,
57
+ },
58
+ retryConnectionErrors: true,
59
+ }
60
+ || { strategy: "none" },
61
+ retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
62
+ };
63
+ const requestRes = client._createRequest(context, {
64
+ security: requestSecurity,
65
+ method: "POST",
66
+ baseURL: options?.serverURL,
67
+ path: path,
68
+ headers: headers,
69
+ uaHeader: "x-speakeasy-user-agent",
70
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
71
+ }, options);
72
+ if (!requestRes.ok) {
73
+ return requestRes;
74
+ }
75
+ const req = requestRes.value;
76
+ const doResult = await client._do(req, {
77
+ context,
78
+ errorCodes: ["403", "404", "4XX", "500", "5XX"],
79
+ retryConfig: context.retryConfig,
80
+ retryCodes: context.retryCodes,
81
+ });
82
+ if (!doResult.ok) {
83
+ return doResult;
84
+ }
85
+ const response = doResult.value;
86
+ const responseFields = {
87
+ HttpMeta: { Response: response, Request: req },
88
+ };
89
+ const [result] = await M.match(M.json(200, operations.AccountV1GetOwnedBadgesResponse$inboundSchema, {
90
+ key: "V1AccountBadgeOwnedBadgesResponseBody",
91
+ }), M.jsonErr([403, 404, 500], errors.ErrorModel$inboundSchema, {
92
+ ctype: "application/problem+json",
93
+ }), M.fail(["4XX", "5XX"]))(response, req, { extraFields: responseFields });
94
+ if (!result.ok) {
95
+ return result;
96
+ }
97
+ return result;
98
+ }
99
+ //# sourceMappingURL=accountAccountV1GetOwnedBadges.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountAccountV1GetOwnedBadges.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1GetOwnedBadges.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAoBH,wEAsGC;AAvHD,sDAAwC;AAExC,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,8BAA8B,CAClD,MAAqB,EACrB,OAAwB;IAcxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,2CAA2C,CAAC,EAAE,CAAC;IAEvE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC;QAC1B,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IACpE,MAAM,eAAe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,KAAK,CAAC;QAC/C,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,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,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,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,6CAA6C,EAAE;QACpE,GAAG,EAAE,uCAAuC;KAC7C,CAAC,EACF,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC1D,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CACvB,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 accountStatsV1StatsGet(client: SteamSetsCore, options?: RequestOptions): Promise<Result<operations.StatsV1StatsGetResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
10
+ //# sourceMappingURL=accountStatsV1StatsGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountStatsV1StatsGet.d.ts","sourceRoot":"","sources":["../src/funcs/accountStatsV1StatsGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,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,sBAAsB,CAC1C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uBAAuB,EAChC,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
@@ -0,0 +1,99 @@
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.accountStatsV1StatsGet = accountStatsV1StatsGet;
30
+ const M = __importStar(require("../lib/matchers.js"));
31
+ const security_js_1 = require("../lib/security.js");
32
+ const url_js_1 = require("../lib/url.js");
33
+ const errors = __importStar(require("../models/errors/index.js"));
34
+ const operations = __importStar(require("../models/operations/index.js"));
35
+ async function accountStatsV1StatsGet(client, options) {
36
+ const path = (0, url_js_1.pathToFunc)("/stats.v1.StatsService/GetStats")();
37
+ const headers = new Headers({
38
+ Accept: "application/json",
39
+ });
40
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.token);
41
+ const securityInput = secConfig == null ? {} : { token: secConfig };
42
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
43
+ const context = {
44
+ operationID: "stats.v1.stats.get",
45
+ oAuth2Scopes: [],
46
+ resolvedSecurity: requestSecurity,
47
+ securitySource: client._options.token,
48
+ retryConfig: options?.retries
49
+ || client._options.retryConfig
50
+ || {
51
+ strategy: "backoff",
52
+ backoff: {
53
+ initialInterval: 500,
54
+ maxInterval: 5000,
55
+ exponent: 1.5,
56
+ maxElapsedTime: 60000,
57
+ },
58
+ retryConnectionErrors: true,
59
+ }
60
+ || { strategy: "none" },
61
+ retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
62
+ };
63
+ const requestRes = client._createRequest(context, {
64
+ security: requestSecurity,
65
+ method: "POST",
66
+ baseURL: options?.serverURL,
67
+ path: path,
68
+ headers: headers,
69
+ uaHeader: "x-speakeasy-user-agent",
70
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
71
+ }, options);
72
+ if (!requestRes.ok) {
73
+ return requestRes;
74
+ }
75
+ const req = requestRes.value;
76
+ const doResult = await client._do(req, {
77
+ context,
78
+ errorCodes: ["404", "429", "4XX", "500", "5XX"],
79
+ retryConfig: context.retryConfig,
80
+ retryCodes: context.retryCodes,
81
+ });
82
+ if (!doResult.ok) {
83
+ return doResult;
84
+ }
85
+ const response = doResult.value;
86
+ const responseFields = {
87
+ HttpMeta: { Response: response, Request: req },
88
+ };
89
+ const [result] = await M.match(M.json(200, operations.StatsV1StatsGetResponse$inboundSchema, {
90
+ key: "V1Stats",
91
+ }), M.jsonErr([404, 429, 500], errors.ErrorModel$inboundSchema, {
92
+ ctype: "application/problem+json",
93
+ }), M.fail(["4XX", "5XX"]))(response, req, { extraFields: responseFields });
94
+ if (!result.ok) {
95
+ return result;
96
+ }
97
+ return result;
98
+ }
99
+ //# sourceMappingURL=accountStatsV1StatsGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountStatsV1StatsGet.js","sourceRoot":"","sources":["../src/funcs/accountStatsV1StatsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAoBH,wDAsGC;AAvHD,sDAAwC;AAExC,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,sBAAsB,CAC1C,MAAqB,EACrB,OAAwB;IAcxB,MAAM,IAAI,GAAG,IAAA,mB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