@steamsets/client-ts 0.11.2 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +9 -0
  2. package/docs/sdks/developer/README.md +261 -0
  3. package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts +14 -0
  4. package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts.map +1 -0
  5. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js +97 -0
  6. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js.map +1 -0
  7. package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts +14 -0
  8. package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts.map +1 -0
  9. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js +97 -0
  10. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js.map +1 -0
  11. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts +14 -0
  12. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts.map +1 -0
  13. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js +97 -0
  14. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js.map +1 -0
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/models/components/developerapp.d.ts +88 -0
  18. package/models/components/developerapp.d.ts.map +1 -0
  19. package/models/components/developerapp.js +83 -0
  20. package/models/components/developerapp.js.map +1 -0
  21. package/models/components/index.d.ts +7 -0
  22. package/models/components/index.d.ts.map +1 -1
  23. package/models/components/index.js +7 -0
  24. package/models/components/index.js.map +1 -1
  25. package/models/components/resource.d.ts +3 -0
  26. package/models/components/resource.d.ts.map +1 -1
  27. package/models/components/resource.js +1 -0
  28. package/models/components/resource.js.map +1 -1
  29. package/models/components/v1accountdeveloperappdeleterequestbody.d.ts +28 -0
  30. package/models/components/v1accountdeveloperappdeleterequestbody.d.ts.map +1 -0
  31. package/models/components/v1accountdeveloperappdeleterequestbody.js +50 -0
  32. package/models/components/v1accountdeveloperappdeleterequestbody.js.map +1 -0
  33. package/models/components/v1accountdeveloperappdeleteresponsebody.d.ts +28 -0
  34. package/models/components/v1accountdeveloperappdeleteresponsebody.d.ts.map +1 -0
  35. package/models/components/v1accountdeveloperappdeleteresponsebody.js +59 -0
  36. package/models/components/v1accountdeveloperappdeleteresponsebody.js.map +1 -0
  37. package/models/components/v1accountdeveloperappupdaterequestbody.d.ts +48 -0
  38. package/models/components/v1accountdeveloperappupdaterequestbody.d.ts.map +1 -0
  39. package/models/components/v1accountdeveloperappupdaterequestbody.js +58 -0
  40. package/models/components/v1accountdeveloperappupdaterequestbody.js.map +1 -0
  41. package/models/components/v1accountdeveloperappupdateresponsebody.d.ts +33 -0
  42. package/models/components/v1accountdeveloperappupdateresponsebody.d.ts.map +1 -0
  43. package/models/components/v1accountdeveloperappupdateresponsebody.js +61 -0
  44. package/models/components/v1accountdeveloperappupdateresponsebody.js.map +1 -0
  45. package/models/components/v1developerappcreaterequestbody.d.ts +83 -0
  46. package/models/components/v1developerappcreaterequestbody.d.ts.map +1 -0
  47. package/models/components/v1developerappcreaterequestbody.js +82 -0
  48. package/models/components/v1developerappcreaterequestbody.js.map +1 -0
  49. package/models/components/v1developerappcreateresponsebody.d.ts +33 -0
  50. package/models/components/v1developerappcreateresponsebody.d.ts.map +1 -0
  51. package/models/components/v1developerappcreateresponsebody.js +61 -0
  52. package/models/components/v1developerappcreateresponsebody.js.map +1 -0
  53. package/models/components/v1getsettingsbody.d.ts +6 -5
  54. package/models/components/v1getsettingsbody.d.ts.map +1 -1
  55. package/models/components/v1getsettingsbody.js +3 -2
  56. package/models/components/v1getsettingsbody.js.map +1 -1
  57. package/models/operations/accountv1settingsdeveloperappcreate.d.ts +31 -0
  58. package/models/operations/accountv1settingsdeveloperappcreate.d.ts.map +1 -0
  59. package/models/operations/accountv1settingsdeveloperappcreate.js +66 -0
  60. package/models/operations/accountv1settingsdeveloperappcreate.js.map +1 -0
  61. package/models/operations/accountv1settingsdeveloperappdelete.d.ts +31 -0
  62. package/models/operations/accountv1settingsdeveloperappdelete.d.ts.map +1 -0
  63. package/models/operations/accountv1settingsdeveloperappdelete.js +66 -0
  64. package/models/operations/accountv1settingsdeveloperappdelete.js.map +1 -0
  65. package/models/operations/accountv1settingsdeveloperappupdate.d.ts +31 -0
  66. package/models/operations/accountv1settingsdeveloperappupdate.d.ts.map +1 -0
  67. package/models/operations/accountv1settingsdeveloperappupdate.js +66 -0
  68. package/models/operations/accountv1settingsdeveloperappupdate.js.map +1 -0
  69. package/models/operations/index.d.ts +3 -0
  70. package/models/operations/index.d.ts.map +1 -1
  71. package/models/operations/index.js +3 -0
  72. package/models/operations/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/sdk/developer.d.ts +18 -0
  75. package/sdk/developer.d.ts.map +1 -0
  76. package/sdk/developer.js +33 -0
  77. package/sdk/developer.js.map +1 -0
  78. package/sdk/sdk.d.ts +3 -0
  79. package/sdk/sdk.d.ts.map +1 -1
  80. package/sdk/sdk.js +5 -0
  81. package/sdk/sdk.js.map +1 -1
  82. package/src/funcs/developerAccountV1SettingsDeveloperAppCreate.ts +132 -0
  83. package/src/funcs/developerAccountV1SettingsDeveloperAppDelete.ts +134 -0
  84. package/src/funcs/developerAccountV1SettingsDeveloperAppUpdate.ts +134 -0
  85. package/src/lib/config.ts +2 -2
  86. package/src/models/components/developerapp.ts +120 -0
  87. package/src/models/components/index.ts +7 -0
  88. package/src/models/components/resource.ts +1 -0
  89. package/src/models/components/v1accountdeveloperappdeleterequestbody.ts +50 -0
  90. package/src/models/components/v1accountdeveloperappdeleteresponsebody.ts +59 -0
  91. package/src/models/components/v1accountdeveloperappupdaterequestbody.ts +78 -0
  92. package/src/models/components/v1accountdeveloperappupdateresponsebody.ts +66 -0
  93. package/src/models/components/v1developerappcreaterequestbody.ts +109 -0
  94. package/src/models/components/v1developerappcreateresponsebody.ts +64 -0
  95. package/src/models/components/v1getsettingsbody.ts +13 -7
  96. package/src/models/operations/accountv1settingsdeveloperappcreate.ts +74 -0
  97. package/src/models/operations/accountv1settingsdeveloperappdelete.ts +76 -0
  98. package/src/models/operations/accountv1settingsdeveloperappupdate.ts +76 -0
  99. package/src/models/operations/index.ts +3 -0
  100. package/src/sdk/developer.ts +55 -0
  101. package/src/sdk/sdk.ts +6 -0
package/README.md CHANGED
@@ -127,6 +127,12 @@ run();
127
127
  * [accountV1GetStaff](docs/sdks/data/README.md#accountv1getstaff) - Get Staff Members and their info
128
128
  * [accountV1Queue](docs/sdks/data/README.md#accountv1queue) - Queue a app for processing
129
129
 
130
+ ### [developer](docs/sdks/developer/README.md)
131
+
132
+ * [accountV1SettingsDeveloperAppCreate](docs/sdks/developer/README.md#accountv1settingsdeveloperappcreate) - Add a new Developer App to the account
133
+ * [accountV1SettingsDeveloperAppDelete](docs/sdks/developer/README.md#accountv1settingsdeveloperappdelete) - Delete a developer app from the account
134
+ * [accountV1SettingsDeveloperAppUpdate](docs/sdks/developer/README.md#accountv1settingsdeveloperappupdate) - Update the developer app/re-generate the api key
135
+
130
136
  ### [leaderboard](docs/sdks/leaderboard/README.md)
131
137
 
132
138
  * [leaderboardV1GetAccount](docs/sdks/leaderboard/README.md#leaderboardv1getaccount) - Get an leaderboard for accounts
@@ -545,6 +551,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
545
551
  - [dataAccountV1GetLeaderboardHistory](docs/sdks/data/README.md#accountv1getleaderboardhistory)
546
552
  - [dataAccountV1GetStaff](docs/sdks/data/README.md#accountv1getstaff)
547
553
  - [dataAccountV1Queue](docs/sdks/data/README.md#accountv1queue)
554
+ - [developerAccountV1SettingsDeveloperAppCreate](docs/sdks/developer/README.md#accountv1settingsdeveloperappcreate)
555
+ - [developerAccountV1SettingsDeveloperAppDelete](docs/sdks/developer/README.md#accountv1settingsdeveloperappdelete)
556
+ - [developerAccountV1SettingsDeveloperAppUpdate](docs/sdks/developer/README.md#accountv1settingsdeveloperappupdate)
548
557
  - [leaderboardLeaderboardV1GetAccount](docs/sdks/leaderboard/README.md#leaderboardv1getaccount)
549
558
  - [livenessLiveness](docs/sdks/liveness/README.md#liveness)
550
559
  - [locationLocation](docs/sdks/location/README.md#location)
@@ -0,0 +1,261 @@
1
+ # Developer
2
+ (*developer*)
3
+
4
+ ## Overview
5
+
6
+ Developer App related operations
7
+
8
+ ### Available Operations
9
+
10
+ * [accountV1SettingsDeveloperAppCreate](#accountv1settingsdeveloperappcreate) - Add a new Developer App to the account
11
+ * [accountV1SettingsDeveloperAppDelete](#accountv1settingsdeveloperappdelete) - Delete a developer app from the account
12
+ * [accountV1SettingsDeveloperAppUpdate](#accountv1settingsdeveloperappupdate) - Update the developer app/re-generate the api key
13
+
14
+ ## accountV1SettingsDeveloperAppCreate
15
+
16
+ Add a new Developer App to the account
17
+
18
+ ### Example Usage
19
+
20
+ ```typescript
21
+ import { SteamSets } from "@steamsets/client-ts";
22
+
23
+ const steamSets = new SteamSets({
24
+ session: "<YOUR_BEARER_TOKEN_HERE>",
25
+ });
26
+
27
+ async function run() {
28
+ const result = await steamSets.developer.accountV1SettingsDeveloperAppCreate({
29
+ description: "Your App Description",
30
+ environment: "production",
31
+ generateKey: true,
32
+ icon: "https://yoururl.com/icon.png",
33
+ name: "Your App",
34
+ });
35
+
36
+ // Handle the result
37
+ console.log(result);
38
+ }
39
+
40
+ run();
41
+ ```
42
+
43
+ ### Standalone function
44
+
45
+ The standalone function version of this method:
46
+
47
+ ```typescript
48
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
49
+ import { developerAccountV1SettingsDeveloperAppCreate } from "@steamsets/client-ts/funcs/developerAccountV1SettingsDeveloperAppCreate.js";
50
+
51
+ // Use `SteamSetsCore` for best tree-shaking performance.
52
+ // You can create one instance of it to use across an application.
53
+ const steamSets = new SteamSetsCore({
54
+ session: "<YOUR_BEARER_TOKEN_HERE>",
55
+ });
56
+
57
+ async function run() {
58
+ const res = await developerAccountV1SettingsDeveloperAppCreate(steamSets, {
59
+ description: "Your App Description",
60
+ environment: "production",
61
+ generateKey: true,
62
+ icon: "https://yoururl.com/icon.png",
63
+ name: "Your App",
64
+ });
65
+
66
+ if (!res.ok) {
67
+ throw res.error;
68
+ }
69
+
70
+ const { value: result } = res;
71
+
72
+ // Handle the result
73
+ console.log(result);
74
+ }
75
+
76
+ run();
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ | Parameter | Type | Required | Description |
82
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
83
+ | `request` | [components.V1DeveloperAppCreateRequestBody](../../models/components/v1developerappcreaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
84
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
85
+ | `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. |
86
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
87
+
88
+ ### Response
89
+
90
+ **Promise\<[operations.AccountV1SettingsDeveloperAppCreateResponse](../../models/operations/accountv1settingsdeveloperappcreateresponse.md)\>**
91
+
92
+ ### Errors
93
+
94
+ | Error Object | Status Code | Content Type |
95
+ | ------------------------ | ------------------------ | ------------------------ |
96
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
97
+ | errors.SDKError | 4xx-5xx | */* |
98
+
99
+
100
+ ## accountV1SettingsDeveloperAppDelete
101
+
102
+ Delete a developer app from the account
103
+
104
+ ### Example Usage
105
+
106
+ ```typescript
107
+ import { SteamSets } from "@steamsets/client-ts";
108
+
109
+ const steamSets = new SteamSets({
110
+ session: "<YOUR_BEARER_TOKEN_HERE>",
111
+ });
112
+
113
+ async function run() {
114
+ const result = await steamSets.developer.accountV1SettingsDeveloperAppDelete({
115
+ publicId: "da_123456",
116
+ });
117
+
118
+ // Handle the result
119
+ console.log(result);
120
+ }
121
+
122
+ run();
123
+ ```
124
+
125
+ ### Standalone function
126
+
127
+ The standalone function version of this method:
128
+
129
+ ```typescript
130
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
131
+ import { developerAccountV1SettingsDeveloperAppDelete } from "@steamsets/client-ts/funcs/developerAccountV1SettingsDeveloperAppDelete.js";
132
+
133
+ // Use `SteamSetsCore` for best tree-shaking performance.
134
+ // You can create one instance of it to use across an application.
135
+ const steamSets = new SteamSetsCore({
136
+ session: "<YOUR_BEARER_TOKEN_HERE>",
137
+ });
138
+
139
+ async function run() {
140
+ const res = await developerAccountV1SettingsDeveloperAppDelete(steamSets, {
141
+ publicId: "da_123456",
142
+ });
143
+
144
+ if (!res.ok) {
145
+ throw res.error;
146
+ }
147
+
148
+ const { value: result } = res;
149
+
150
+ // Handle the result
151
+ console.log(result);
152
+ }
153
+
154
+ run();
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ | Parameter | Type | Required | Description |
160
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
161
+ | `request` | [components.V1AccountDeveloperAppDeleteRequestBody](../../models/components/v1accountdeveloperappdeleterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
162
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
163
+ | `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. |
164
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
165
+
166
+ ### Response
167
+
168
+ **Promise\<[operations.AccountV1SettingsDeveloperAppDeleteResponse](../../models/operations/accountv1settingsdeveloperappdeleteresponse.md)\>**
169
+
170
+ ### Errors
171
+
172
+ | Error Object | Status Code | Content Type |
173
+ | ------------------------ | ------------------------ | ------------------------ |
174
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
175
+ | errors.SDKError | 4xx-5xx | */* |
176
+
177
+
178
+ ## accountV1SettingsDeveloperAppUpdate
179
+
180
+ Update the developer app/re-generate the api key
181
+
182
+ ### Example Usage
183
+
184
+ ```typescript
185
+ import { SteamSets } from "@steamsets/client-ts";
186
+
187
+ const steamSets = new SteamSets({
188
+ session: "<YOUR_BEARER_TOKEN_HERE>",
189
+ });
190
+
191
+ async function run() {
192
+ const result = await steamSets.developer.accountV1SettingsDeveloperAppUpdate({
193
+ description: "My App Description",
194
+ icon: "https://yoururl.com/icon.png",
195
+ name: "My App",
196
+ publicId: "da_123456",
197
+ regenerate: true,
198
+ });
199
+
200
+ // Handle the result
201
+ console.log(result);
202
+ }
203
+
204
+ run();
205
+ ```
206
+
207
+ ### Standalone function
208
+
209
+ The standalone function version of this method:
210
+
211
+ ```typescript
212
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
213
+ import { developerAccountV1SettingsDeveloperAppUpdate } from "@steamsets/client-ts/funcs/developerAccountV1SettingsDeveloperAppUpdate.js";
214
+
215
+ // Use `SteamSetsCore` for best tree-shaking performance.
216
+ // You can create one instance of it to use across an application.
217
+ const steamSets = new SteamSetsCore({
218
+ session: "<YOUR_BEARER_TOKEN_HERE>",
219
+ });
220
+
221
+ async function run() {
222
+ const res = await developerAccountV1SettingsDeveloperAppUpdate(steamSets, {
223
+ description: "My App Description",
224
+ icon: "https://yoururl.com/icon.png",
225
+ name: "My App",
226
+ publicId: "da_123456",
227
+ regenerate: true,
228
+ });
229
+
230
+ if (!res.ok) {
231
+ throw res.error;
232
+ }
233
+
234
+ const { value: result } = res;
235
+
236
+ // Handle the result
237
+ console.log(result);
238
+ }
239
+
240
+ run();
241
+ ```
242
+
243
+ ### Parameters
244
+
245
+ | Parameter | Type | Required | Description |
246
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
247
+ | `request` | [components.V1AccountDeveloperAppUpdateRequestBody](../../models/components/v1accountdeveloperappupdaterequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
248
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
249
+ | `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. |
250
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
251
+
252
+ ### Response
253
+
254
+ **Promise\<[operations.AccountV1SettingsDeveloperAppUpdateResponse](../../models/operations/accountv1settingsdeveloperappupdateresponse.md)\>**
255
+
256
+ ### Errors
257
+
258
+ | Error Object | Status Code | Content Type |
259
+ | ------------------------ | ------------------------ | ------------------------ |
260
+ | errors.ErrorModel | 404,422,429,500 | application/problem+json |
261
+ | errors.SDKError | 4xx-5xx | */* |
@@ -0,0 +1,14 @@
1
+ import { SteamSetsCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import * as errors from "../models/errors/index.js";
6
+ import { SDKError } from "../models/errors/sdkerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { Result } from "../types/fp.js";
10
+ /**
11
+ * Add a new Developer App to the account
12
+ */
13
+ export declare function developerAccountV1SettingsDeveloperAppCreate(client: SteamSetsCore, request: components.V1DeveloperAppCreateRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsDeveloperAppCreateResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
14
+ //# sourceMappingURL=developerAccountV1SettingsDeveloperAppCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developerAccountV1SettingsDeveloperAppCreate.d.ts","sourceRoot":"","sources":["../src/funcs/developerAccountV1SettingsDeveloperAppCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,4CAA4C,CAChE,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
@@ -0,0 +1,97 @@
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.developerAccountV1SettingsDeveloperAppCreate = developerAccountV1SettingsDeveloperAppCreate;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const M = __importStar(require("../lib/matchers.js"));
32
+ const schemas_js_1 = require("../lib/schemas.js");
33
+ const security_js_1 = require("../lib/security.js");
34
+ const url_js_1 = require("../lib/url.js");
35
+ const components = __importStar(require("../models/components/index.js"));
36
+ const errors = __importStar(require("../models/errors/index.js"));
37
+ const operations = __importStar(require("../models/operations/index.js"));
38
+ /**
39
+ * Add a new Developer App to the account
40
+ */
41
+ async function developerAccountV1SettingsDeveloperAppCreate(client, request, options) {
42
+ const input = request;
43
+ const parsed = (0, schemas_js_1.safeParse)(input, (value) => components.V1DeveloperAppCreateRequestBody$outboundSchema.parse(value), "Input validation failed");
44
+ if (!parsed.ok) {
45
+ return parsed;
46
+ }
47
+ const payload = parsed.value;
48
+ const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
49
+ const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/CreateDeveloperApp")();
50
+ const headers = new Headers({
51
+ "Content-Type": "application/json",
52
+ Accept: "application/json",
53
+ });
54
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.session);
55
+ const securityInput = secConfig == null ? {} : { session: secConfig };
56
+ const context = {
57
+ operationID: "account.v1.settings.developer-app-create",
58
+ oAuth2Scopes: [],
59
+ securitySource: client._options.session,
60
+ };
61
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
62
+ const requestRes = client._createRequest(context, {
63
+ security: requestSecurity,
64
+ method: "POST",
65
+ path: path,
66
+ headers: headers,
67
+ body: body,
68
+ uaHeader: "x-speakeasy-user-agent",
69
+ timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
70
+ }, options);
71
+ if (!requestRes.ok) {
72
+ return requestRes;
73
+ }
74
+ const req = requestRes.value;
75
+ const doResult = await client._do(req, {
76
+ context,
77
+ errorCodes: ["404", "422", "429", "4XX", "500", "5XX"],
78
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
79
+ || client._options.retryConfig,
80
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
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.AccountV1SettingsDeveloperAppCreateResponse$inboundSchema, { key: "V1DeveloperAppCreateResponseBody" }), M.jsonErr([404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
90
+ ctype: "application/problem+json",
91
+ }), M.fail(["4XX", "5XX"]))(response, req, { extraFields: responseFields });
92
+ if (!result.ok) {
93
+ return result;
94
+ }
95
+ return result;
96
+ }
97
+ //# sourceMappingURL=developerAccountV1SettingsDeveloperAppCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developerAccountV1SettingsDeveloperAppCreate.js","sourceRoot":"","sources":["../src/funcs/developerAccountV1SettingsDeveloperAppCreate.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,14 @@
1
+ import { SteamSetsCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import * as errors from "../models/errors/index.js";
6
+ import { SDKError } from "../models/errors/sdkerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { Result } from "../types/fp.js";
10
+ /**
11
+ * Delete a developer app from the account
12
+ */
13
+ export declare function developerAccountV1SettingsDeveloperAppDelete(client: SteamSetsCore, request: components.V1AccountDeveloperAppDeleteRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsDeveloperAppDeleteResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
14
+ //# sourceMappingURL=developerAccountV1SettingsDeveloperAppDelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developerAccountV1SettingsDeveloperAppDelete.d.ts","sourceRoot":"","sources":["../src/funcs/developerAccountV1SettingsDeveloperAppDelete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,4CAA4C,CAChE,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAyFA"}
@@ -0,0 +1,97 @@
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.developerAccountV1SettingsDeveloperAppDelete = developerAccountV1SettingsDeveloperAppDelete;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const M = __importStar(require("../lib/matchers.js"));
32
+ const schemas_js_1 = require("../lib/schemas.js");
33
+ const security_js_1 = require("../lib/security.js");
34
+ const url_js_1 = require("../lib/url.js");
35
+ const components = __importStar(require("../models/components/index.js"));
36
+ const errors = __importStar(require("../models/errors/index.js"));
37
+ const operations = __importStar(require("../models/operations/index.js"));
38
+ /**
39
+ * Delete a developer app from the account
40
+ */
41
+ async function developerAccountV1SettingsDeveloperAppDelete(client, request, options) {
42
+ const input = request;
43
+ const parsed = (0, schemas_js_1.safeParse)(input, (value) => components.V1AccountDeveloperAppDeleteRequestBody$outboundSchema.parse(value), "Input validation failed");
44
+ if (!parsed.ok) {
45
+ return parsed;
46
+ }
47
+ const payload = parsed.value;
48
+ const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
49
+ const path = (0, url_js_1.pathToFunc)("/account.v1.AccountService/DeleteDeveloperApp")();
50
+ const headers = new Headers({
51
+ "Content-Type": "application/json",
52
+ Accept: "application/json",
53
+ });
54
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.session);
55
+ const securityInput = secConfig == null ? {} : { session: secConfig };
56
+ const context = {
57
+ operationID: "account.v1.settings.developer-app-delete",
58
+ oAuth2Scopes: [],
59
+ securitySource: client._options.session,
60
+ };
61
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
62
+ const requestRes = client._createRequest(context, {
63
+ security: requestSecurity,
64
+ method: "POST",
65
+ path: path,
66
+ headers: headers,
67
+ body: body,
68
+ uaHeader: "x-speakeasy-user-agent",
69
+ timeoutMs: (options === null || options === void 0 ? void 0 : options.timeoutMs) || client._options.timeoutMs || -1,
70
+ }, options);
71
+ if (!requestRes.ok) {
72
+ return requestRes;
73
+ }
74
+ const req = requestRes.value;
75
+ const doResult = await client._do(req, {
76
+ context,
77
+ errorCodes: ["404", "422", "429", "4XX", "500", "5XX"],
78
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries)
79
+ || client._options.retryConfig,
80
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
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.AccountV1SettingsDeveloperAppDeleteResponse$inboundSchema, { key: "V1AccountDeveloperAppDeleteResponseBody" }), M.jsonErr([404, 422, 429, 500], errors.ErrorModel$inboundSchema, {
90
+ ctype: "application/problem+json",
91
+ }), M.fail(["4XX", "5XX"]))(response, req, { extraFields: responseFields });
92
+ if (!result.ok) {
93
+ return result;
94
+ }
95
+ return result;
96
+ }
97
+ //# sourceMappingURL=developerAccountV1SettingsDeveloperAppDelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developerAccountV1SettingsDeveloperAppDelete.js","sourceRoot":"","sources":["../src/funcs/developerAccountV1SettingsDeveloperAppDelete.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,14 @@
1
+ import { SteamSetsCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import * as errors from "../models/errors/index.js";
6
+ import { SDKError } from "../models/errors/sdkerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { Result } from "../types/fp.js";
10
+ /**
11
+ * Update the developer app/re-generate the api key
12
+ */
13
+ export declare function developerAccountV1SettingsDeveloperAppUpdate(client: SteamSetsCore, request: components.V1AccountDeveloperAppUpdateRequestBody, options?: RequestOptions): Promise<Result<operations.AccountV1SettingsDeveloperAppUpdateResponse, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
14
+ //# sourceMappingURL=developerAccountV1SettingsDeveloperAppUpdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"developerAccountV1SettingsDeveloperAppUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/developerAccountV1SettingsDeveloperAppUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAsB,4CAA4C,CAChE,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,2CAA2C,EACpD,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAyFA"}