@steamsets/client-ts 0.3.1 → 0.3.2

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 (42) hide show
  1. package/README.md +4 -0
  2. package/docs/sdks/account/README.md +87 -0
  3. package/docs/sdks/settings/README.md +87 -0
  4. package/funcs/accountAccountV1SettingsUploadImages.d.ts +13 -0
  5. package/funcs/accountAccountV1SettingsUploadImages.d.ts.map +1 -0
  6. package/funcs/accountAccountV1SettingsUploadImages.js +96 -0
  7. package/funcs/accountAccountV1SettingsUploadImages.js.map +1 -0
  8. package/funcs/settingsAccountV1SettingsUploadImages.d.ts +13 -0
  9. package/funcs/settingsAccountV1SettingsUploadImages.d.ts.map +1 -0
  10. package/funcs/settingsAccountV1SettingsUploadImages.js +96 -0
  11. package/funcs/settingsAccountV1SettingsUploadImages.js.map +1 -0
  12. package/lib/config.d.ts +2 -2
  13. package/lib/config.js +2 -2
  14. package/models/components/index.d.ts +2 -0
  15. package/models/components/index.d.ts.map +1 -1
  16. package/models/components/index.js +2 -0
  17. package/models/components/index.js.map +1 -1
  18. package/models/components/v1uploadimagesrequestbody.d.ts +29 -0
  19. package/models/components/v1uploadimagesrequestbody.d.ts.map +1 -0
  20. package/models/components/v1uploadimagesrequestbody.js +51 -0
  21. package/models/components/v1uploadimagesrequestbody.js.map +1 -0
  22. package/models/components/v1uploaedimage.d.ts +74 -0
  23. package/models/components/v1uploaedimage.d.ts.map +1 -0
  24. package/models/components/v1uploaedimage.js +77 -0
  25. package/models/components/v1uploaedimage.js.map +1 -0
  26. package/package.json +1 -1
  27. package/sdk/account.d.ts +4 -0
  28. package/sdk/account.d.ts.map +1 -1
  29. package/sdk/account.js +7 -0
  30. package/sdk/account.js.map +1 -1
  31. package/sdk/settings.d.ts +4 -0
  32. package/sdk/settings.d.ts.map +1 -1
  33. package/sdk/settings.js +7 -0
  34. package/sdk/settings.js.map +1 -1
  35. package/src/funcs/accountAccountV1SettingsUploadImages.ts +130 -0
  36. package/src/funcs/settingsAccountV1SettingsUploadImages.ts +130 -0
  37. package/src/lib/config.ts +2 -2
  38. package/src/models/components/index.ts +2 -0
  39. package/src/models/components/v1uploadimagesrequestbody.ts +54 -0
  40. package/src/models/components/v1uploaedimage.ts +87 -0
  41. package/src/sdk/account.ts +11 -0
  42. package/src/sdk/settings.ts +11 -0
package/README.md CHANGED
@@ -93,6 +93,7 @@ run();
93
93
  * [accountV1ConnectionUpdateConnection](docs/sdks/account/README.md#accountv1connectionupdateconnection) - Make a connection visible/invisible
94
94
  * [accountV1SettingsUpdateImage](docs/sdks/account/README.md#accountv1settingsupdateimage) - Update one of the uploaded images
95
95
  * [accountV1SettingsUpdate](docs/sdks/account/README.md#accountv1settingsupdate) - Update settings for the logged in account
96
+ * [accountV1SettingsUploadImages](docs/sdks/account/README.md#accountv1settingsuploadimages) - Multi Upload Endpoint for images
96
97
  * [accountV1ConnectionVerifyConnection](docs/sdks/account/README.md#accountv1connectionverifyconnection) - Verify a domain connection only atm
97
98
  * [accountV1SettingsVerfyEmail](docs/sdks/account/README.md#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
98
99
 
@@ -111,6 +112,7 @@ run();
111
112
  * [accountV1SettingsSendEmailVerification](docs/sdks/settings/README.md#accountv1settingssendemailverification) - Resend the verification code for an email
112
113
  * [accountV1SettingsUpdateImage](docs/sdks/settings/README.md#accountv1settingsupdateimage) - Update one of the uploaded images
113
114
  * [accountV1SettingsUpdate](docs/sdks/settings/README.md#accountv1settingsupdate) - Update settings for the logged in account
115
+ * [accountV1SettingsUploadImages](docs/sdks/settings/README.md#accountv1settingsuploadimages) - Multi Upload Endpoint for images
114
116
  * [accountV1SettingsVerfyEmail](docs/sdks/settings/README.md#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
115
117
 
116
118
  ### [session](docs/sdks/session/README.md)
@@ -441,6 +443,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
441
443
  - [accountAccountV1SettingsSendEmailVerification](docs/sdks/account/README.md#accountv1settingssendemailverification)
442
444
  - [accountAccountV1SettingsUpdateImage](docs/sdks/account/README.md#accountv1settingsupdateimage)
443
445
  - [accountAccountV1SettingsUpdate](docs/sdks/account/README.md#accountv1settingsupdate)
446
+ - [accountAccountV1SettingsUploadImages](docs/sdks/account/README.md#accountv1settingsuploadimages)
444
447
  - [accountAccountV1SettingsVerfyEmail](docs/sdks/account/README.md#accountv1settingsverfyemail)
445
448
  - [connectionAccountV1ConnectionConnect](docs/sdks/connection/README.md#accountv1connectionconnect)
446
449
  - [connectionAccountV1ConnectionDeleteConnection](docs/sdks/connection/README.md#accountv1connectiondeleteconnection)
@@ -456,6 +459,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
456
459
  - [settingsAccountV1SettingsSendEmailVerification](docs/sdks/settings/README.md#accountv1settingssendemailverification)
457
460
  - [settingsAccountV1SettingsUpdateImage](docs/sdks/settings/README.md#accountv1settingsupdateimage)
458
461
  - [settingsAccountV1SettingsUpdate](docs/sdks/settings/README.md#accountv1settingsupdate)
462
+ - [settingsAccountV1SettingsUploadImages](docs/sdks/settings/README.md#accountv1settingsuploadimages)
459
463
  - [settingsAccountV1SettingsVerfyEmail](docs/sdks/settings/README.md#accountv1settingsverfyemail)
460
464
 
461
465
 
@@ -21,6 +21,7 @@ Account related operations
21
21
  * [accountV1ConnectionUpdateConnection](#accountv1connectionupdateconnection) - Make a connection visible/invisible
22
22
  * [accountV1SettingsUpdateImage](#accountv1settingsupdateimage) - Update one of the uploaded images
23
23
  * [accountV1SettingsUpdate](#accountv1settingsupdate) - Update settings for the logged in account
24
+ * [accountV1SettingsUploadImages](#accountv1settingsuploadimages) - Multi Upload Endpoint for images
24
25
  * [accountV1ConnectionVerifyConnection](#accountv1connectionverifyconnection) - Verify a domain connection only atm
25
26
  * [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
26
27
 
@@ -1151,6 +1152,92 @@ run();
1151
1152
  | errors.ErrorModel | 422,429,500 | application/problem+json |
1152
1153
  | errors.SDKError | 4xx-5xx | */* |
1153
1154
 
1155
+ ## accountV1SettingsUploadImages
1156
+
1157
+ Multi Upload Endpoint for images
1158
+
1159
+ ### Example Usage
1160
+
1161
+ ```typescript
1162
+ import { SteamSets } from "@steamsets/client-ts";
1163
+
1164
+ const steamSets = new SteamSets({
1165
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1166
+ });
1167
+
1168
+ async function run() {
1169
+ await steamSets.account.accountV1SettingsUploadImages({
1170
+ images: [
1171
+ {
1172
+ data: "base64_encoded_image",
1173
+ type: "avatar",
1174
+ },
1175
+ ],
1176
+ });
1177
+
1178
+
1179
+ }
1180
+
1181
+ run();
1182
+ ```
1183
+
1184
+
1185
+ ### Standalone function
1186
+
1187
+ The standalone function version of this method:
1188
+
1189
+ ```typescript
1190
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
1191
+ import { accountAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs/accountAccountV1SettingsUploadImages.js";
1192
+
1193
+ // Use `SteamSetsCore` for best tree-shaking performance.
1194
+ // You can create one instance of it to use across an application.
1195
+ const steamSets = new SteamSetsCore({
1196
+ session: "<YOUR_BEARER_TOKEN_HERE>",
1197
+ });
1198
+
1199
+ async function run() {
1200
+ const res = await accountAccountV1SettingsUploadImages(steamSets, {
1201
+ images: [
1202
+ {
1203
+ data: "base64_encoded_image",
1204
+ type: "avatar",
1205
+ },
1206
+ ],
1207
+ });
1208
+
1209
+ if (!res.ok) {
1210
+ throw res.error;
1211
+ }
1212
+
1213
+ const { value: result } = res;
1214
+
1215
+
1216
+ }
1217
+
1218
+ run();
1219
+ ```
1220
+
1221
+ ### Parameters
1222
+
1223
+ | Parameter | Type | Required | Description |
1224
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1225
+ | `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
1226
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1227
+ | `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. |
1228
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1229
+
1230
+
1231
+ ### Response
1232
+
1233
+ **Promise\<void\>**
1234
+ ### Errors
1235
+
1236
+ | Error Object | Status Code | Content Type |
1237
+ | ------------------------ | ------------------------ | ------------------------ |
1238
+ | errors.ErrorModel | 422,500 | application/problem+json |
1239
+ | errors.SDKError | 4xx-5xx | */* |
1240
+
1154
1241
  ## accountV1ConnectionVerifyConnection
1155
1242
 
1156
1243
  Verify a domain connection only atm
@@ -9,6 +9,7 @@
9
9
  * [accountV1SettingsSendEmailVerification](#accountv1settingssendemailverification) - Resend the verification code for an email
10
10
  * [accountV1SettingsUpdateImage](#accountv1settingsupdateimage) - Update one of the uploaded images
11
11
  * [accountV1SettingsUpdate](#accountv1settingsupdate) - Update settings for the logged in account
12
+ * [accountV1SettingsUploadImages](#accountv1settingsuploadimages) - Multi Upload Endpoint for images
12
13
  * [accountV1SettingsVerfyEmail](#accountv1settingsverfyemail) - Verify the email by passing in the code the user should've gotten
13
14
 
14
15
  ## accountV1SettingsDeleteImages
@@ -503,6 +504,92 @@ run();
503
504
  | errors.ErrorModel | 422,429,500 | application/problem+json |
504
505
  | errors.SDKError | 4xx-5xx | */* |
505
506
 
507
+ ## accountV1SettingsUploadImages
508
+
509
+ Multi Upload Endpoint for images
510
+
511
+ ### Example Usage
512
+
513
+ ```typescript
514
+ import { SteamSets } from "@steamsets/client-ts";
515
+
516
+ const steamSets = new SteamSets({
517
+ session: "<YOUR_BEARER_TOKEN_HERE>",
518
+ });
519
+
520
+ async function run() {
521
+ await steamSets.settings.accountV1SettingsUploadImages({
522
+ images: [
523
+ {
524
+ data: "base64_encoded_image",
525
+ type: "avatar",
526
+ },
527
+ ],
528
+ });
529
+
530
+
531
+ }
532
+
533
+ run();
534
+ ```
535
+
536
+
537
+ ### Standalone function
538
+
539
+ The standalone function version of this method:
540
+
541
+ ```typescript
542
+ import { SteamSetsCore } from "@steamsets/client-ts/core.js";
543
+ import { settingsAccountV1SettingsUploadImages } from "@steamsets/client-ts/funcs/settingsAccountV1SettingsUploadImages.js";
544
+
545
+ // Use `SteamSetsCore` for best tree-shaking performance.
546
+ // You can create one instance of it to use across an application.
547
+ const steamSets = new SteamSetsCore({
548
+ session: "<YOUR_BEARER_TOKEN_HERE>",
549
+ });
550
+
551
+ async function run() {
552
+ const res = await settingsAccountV1SettingsUploadImages(steamSets, {
553
+ images: [
554
+ {
555
+ data: "base64_encoded_image",
556
+ type: "avatar",
557
+ },
558
+ ],
559
+ });
560
+
561
+ if (!res.ok) {
562
+ throw res.error;
563
+ }
564
+
565
+ const { value: result } = res;
566
+
567
+
568
+ }
569
+
570
+ run();
571
+ ```
572
+
573
+ ### Parameters
574
+
575
+ | Parameter | Type | Required | Description |
576
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
577
+ | `request` | [components.V1UploadImagesRequestBody](../../models/components/v1uploadimagesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
578
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
579
+ | `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. |
580
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
581
+
582
+
583
+ ### Response
584
+
585
+ **Promise\<void\>**
586
+ ### Errors
587
+
588
+ | Error Object | Status Code | Content Type |
589
+ | ------------------------ | ------------------------ | ------------------------ |
590
+ | errors.ErrorModel | 422,500 | application/problem+json |
591
+ | errors.SDKError | 4xx-5xx | */* |
592
+
506
593
  ## accountV1SettingsVerfyEmail
507
594
 
508
595
  Verify the email by passing in the code the user should've gotten
@@ -0,0 +1,13 @@
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 { Result } from "../types/fp.js";
9
+ /**
10
+ * Multi Upload Endpoint for images
11
+ */
12
+ export declare function accountAccountV1SettingsUploadImages(client$: SteamSetsCore, request: components.V1UploadImagesRequestBody, options?: RequestOptions): Promise<Result<void, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
13
+ //# sourceMappingURL=accountAccountV1SettingsUploadImages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountAccountV1SettingsUploadImages.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsUploadImages.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,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;GAEG;AACH,wBAAsB,oCAAoC,CACtD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,IAAI,EACF,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CACpB,CACJ,CAqFA"}
@@ -0,0 +1,96 @@
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.accountAccountV1SettingsUploadImages = accountAccountV1SettingsUploadImages;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const m$ = __importStar(require("../lib/matchers.js"));
32
+ const schemas$ = __importStar(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 z = __importStar(require("zod"));
38
+ /**
39
+ * Multi Upload Endpoint for images
40
+ */
41
+ async function accountAccountV1SettingsUploadImages(client$, request, options) {
42
+ const input$ = request;
43
+ const parsed$ = schemas$.safeParse(input$, (value$) => components.V1UploadImagesRequestBody$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/UploadImages")();
50
+ const headers$ = new Headers({
51
+ "Content-Type": "application/json",
52
+ Accept: "application/problem+json",
53
+ });
54
+ const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
55
+ const security$ = session$ == null ? {} : { session: session$ };
56
+ const context = {
57
+ operationID: "account.v1.settings.upload-images",
58
+ oAuth2Scopes: [],
59
+ securitySource: client$.options$.session,
60
+ };
61
+ const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
62
+ const requestRes = client$.createRequest$(context, {
63
+ security: securitySettings$,
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 request$ = requestRes.value;
75
+ const doResult = await client$.do$(request$, {
76
+ context,
77
+ errorCodes: ["422", "4XX", "500", "5XX"],
78
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries) || client$.options$.retryConfig,
79
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
80
+ });
81
+ if (!doResult.ok) {
82
+ return doResult;
83
+ }
84
+ const response = doResult.value;
85
+ const responseFields$ = {
86
+ HttpMeta: { Response: response, Request: request$ },
87
+ };
88
+ const [result$] = await m$.match(m$.nil(204, z.void()), m$.jsonErr([422, 500], errors.ErrorModel$inboundSchema, {
89
+ ctype: "application/problem+json",
90
+ }), m$.fail(["4XX", "5XX"]))(response, { extraFields: responseFields$ });
91
+ if (!result$.ok) {
92
+ return result$;
93
+ }
94
+ return result$;
95
+ }
96
+ //# sourceMappingURL=accountAccountV1SettingsUploadImages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountAccountV1SettingsUploadImages.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SettingsUploadImages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,oFAqGC;AA5HD,sDAAgE;AAChE,uDAAyC;AACzC,4DAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAIpD,uCAAyB;AAEzB;;GAEG;AACI,KAAK,UAAU,oCAAoC,CACtD,OAAsB,EACtB,OAA6C,EAC7C,OAAwB;IAcxB,MAAM,MAAM,GAAG,OAAO,CAAC;IAEvB,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAC9B,MAAM,EACN,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,wCAAwC,CAAC,KAAK,CAAC,MAAM,CAAC,EAC7E,yB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C;QACd,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
@@ -0,0 +1,13 @@
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 { Result } from "../types/fp.js";
9
+ /**
10
+ * Multi Upload Endpoint for images
11
+ */
12
+ export declare function settingsAccountV1SettingsUploadImages(client$: SteamSetsCore, request: components.V1UploadImagesRequestBody, options?: RequestOptions): Promise<Result<void, errors.ErrorModel | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
13
+ //# sourceMappingURL=settingsAccountV1SettingsUploadImages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settingsAccountV1SettingsUploadImages.d.ts","sourceRoot":"","sources":["../src/funcs/settingsAccountV1SettingsUploadImages.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,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACxB,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;GAEG;AACH,wBAAsB,qCAAqC,CACvD,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CACN,MAAM,CACF,IAAI,EACF,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CACpB,CACJ,CAqFA"}
@@ -0,0 +1,96 @@
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.settingsAccountV1SettingsUploadImages = settingsAccountV1SettingsUploadImages;
30
+ const encodings_js_1 = require("../lib/encodings.js");
31
+ const m$ = __importStar(require("../lib/matchers.js"));
32
+ const schemas$ = __importStar(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 z = __importStar(require("zod"));
38
+ /**
39
+ * Multi Upload Endpoint for images
40
+ */
41
+ async function settingsAccountV1SettingsUploadImages(client$, request, options) {
42
+ const input$ = request;
43
+ const parsed$ = schemas$.safeParse(input$, (value$) => components.V1UploadImagesRequestBody$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/UploadImages")();
50
+ const headers$ = new Headers({
51
+ "Content-Type": "application/json",
52
+ Accept: "application/problem+json",
53
+ });
54
+ const session$ = await (0, security_js_1.extractSecurity)(client$.options$.session);
55
+ const security$ = session$ == null ? {} : { session: session$ };
56
+ const context = {
57
+ operationID: "account.v1.settings.upload-images",
58
+ oAuth2Scopes: [],
59
+ securitySource: client$.options$.session,
60
+ };
61
+ const securitySettings$ = (0, security_js_1.resolveGlobalSecurity)(security$);
62
+ const requestRes = client$.createRequest$(context, {
63
+ security: securitySettings$,
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 request$ = requestRes.value;
75
+ const doResult = await client$.do$(request$, {
76
+ context,
77
+ errorCodes: ["422", "4XX", "500", "5XX"],
78
+ retryConfig: (options === null || options === void 0 ? void 0 : options.retries) || client$.options$.retryConfig,
79
+ retryCodes: (options === null || options === void 0 ? void 0 : options.retryCodes) || ["429", "500", "502", "503", "504"],
80
+ });
81
+ if (!doResult.ok) {
82
+ return doResult;
83
+ }
84
+ const response = doResult.value;
85
+ const responseFields$ = {
86
+ HttpMeta: { Response: response, Request: request$ },
87
+ };
88
+ const [result$] = await m$.match(m$.nil(204, z.void()), m$.jsonErr([422, 500], errors.ErrorModel$inboundSchema, {
89
+ ctype: "application/problem+json",
90
+ }), m$.fail(["4XX", "5XX"]))(response, { extraFields: responseFields$ });
91
+ if (!result$.ok) {
92
+ return result$;
93
+ }
94
+ return result$;
95
+ }
96
+ //# sourceMappingURL=settingsAccountV1SettingsUploadImages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settingsAccountV1SettingsUploadImages.js","sourceRoot":"","sources":["../src/funcs/settingsAccountV1SettingsUploadImages.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,sFAqGC;AA5HD,sDAAgE;AAChE,uDAAyC;AACzC,4DAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAQ5D,kEAAoD;AAIpD,uCAAyB;AAEzB;;GAEG;AACI,KAAK,UAAU,qCAAqC,CACvD,OAAsB,EACtB,OAA6C,EAC7C,OAAwB;IAcxB,MAAM,MAAM,GAAG,OAAO,CAAC;IAEvB,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAC9B,MAAM,EACN,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,wCAAwC,CAAC,KAAK,CAAC,MAAM,CAAC,EAC7E,yBAAyB,CAC5B,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QACd,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;IAC/B,MAAM,KAAK,GAAG,IAAA,yBAAW,EAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAE/D,MAAM,KAAK,GAAG,IAAA,mBAAU,EAAC,yCAAyC,CAAC,EAAE,CA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O,CAAE,OAAO,KAAI,OAAO,CAAC,QAAQ,CAAC,WAAW;QAC7D,UAAU,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,KAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACzE,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,QAAQ,CAAC;IACpB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,eAAe,GAAG;QACpB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;KACtD,CAAC;IAEF,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,EAAE,CAAC,KAAK,CAW5B,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EACrB,EAAE,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE;QACpD,KAAK,EAAE,0BAA0B;KACpC,CAAC,EACF,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAC1B,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,CAAC;IAC9C,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QACd,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC"}
package/lib/config.d.ts CHANGED
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.3.1";
30
+ readonly sdkVersion: "0.3.2";
31
31
  readonly genVersion: "2.402.5";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.3.1 2.402.5 1.0.0 @steamsets/client-ts";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.3.2 2.402.5 1.0.0 @steamsets/client-ts";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -27,8 +27,8 @@ function serverURLFromOptions(options) {
27
27
  exports.SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "1.0.0",
30
- sdkVersion: "0.3.1",
30
+ sdkVersion: "0.3.2",
31
31
  genVersion: "2.402.5",
32
- userAgent: "speakeasy-sdk/typescript 0.3.1 2.402.5 1.0.0 @steamsets/client-ts",
32
+ userAgent: "speakeasy-sdk/typescript 0.3.2 2.402.5 1.0.0 @steamsets/client-ts",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
@@ -31,6 +31,8 @@ export * from "./v1updateimagerequestbody.js";
31
31
  export * from "./v1updateimageresponsebody.js";
32
32
  export * from "./v1updatesettingsrequestbody.js";
33
33
  export * from "./v1updatesettingsresponsebody.js";
34
+ export * from "./v1uploadimagesrequestbody.js";
35
+ export * from "./v1uploaedimage.js";
34
36
  export * from "./v1verifyconnectionrequestbody.js";
35
37
  export * from "./v1verifyconnectionresponsebody.js";
36
38
  export * from "./v1verifyemailrequestbody.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iCAAiC,CAAC;AAChD,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC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AAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC"}
@@ -50,6 +50,8 @@ __exportStar(require("./v1updateimagerequestbody.js"), exports);
50
50
  __exportStar(require("./v1updateimageresponsebody.js"), exports);
51
51
  __exportStar(require("./v1updatesettingsrequestbody.js"), exports);
52
52
  __exportStar(require("./v1updatesettingsresponsebody.js"), exports);
53
+ __exportStar(require("./v1uploadimagesrequestbody.js"), exports);
54
+ __exportStar(require("./v1uploaedimage.js"), exports);
53
55
  __exportStar(require("./v1verifyconnectionrequestbody.js"), exports);
54
56
  __exportStar(require("./v1verifyconnectionresponsebody.js"), exports);
55
57
  __exportStar(require("./v1verifyemailrequestbody.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,wDAAsC;AACtC,gDAA8B;AAC9B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,kEAAgD;AAChD,6CAA2B;AAC3B,+CAA6B;AAC7B,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,qEAAmD;AACnD,sEAAoD;AACpD,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAChD,mEAAiD;AACjD,oEAAkD;AAClD,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,wDAAsC;AACtC,gDAA8B;AAC9B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,kEAAgD;AAChD,6CAA2B;AAC3B,+CAA6B;AAC7B,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,qEAAmD;AACnD,sEAAoD;AACpD,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAChD,mEAAiD;AACjD,oEAAkD;AAClD,wDAAsC;AACtC,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,iEAA+C;AAC/C,sDAAoC;AACpC,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,iEAA+C"}
@@ -0,0 +1,29 @@
1
+ import { V1UploaedImage, V1UploaedImage$Outbound } from "./v1uploaedimage.js";
2
+ import * as z from "zod";
3
+ export type V1UploadImagesRequestBody = {
4
+ /**
5
+ * The images to upload
6
+ */
7
+ images: Array<V1UploaedImage> | null;
8
+ };
9
+ /** @internal */
10
+ export declare const V1UploadImagesRequestBody$inboundSchema: z.ZodType<V1UploadImagesRequestBody, z.ZodTypeDef, unknown>;
11
+ /** @internal */
12
+ export type V1UploadImagesRequestBody$Outbound = {
13
+ images: Array<V1UploaedImage$Outbound> | null;
14
+ };
15
+ /** @internal */
16
+ export declare const V1UploadImagesRequestBody$outboundSchema: z.ZodType<V1UploadImagesRequestBody$Outbound, z.ZodTypeDef, V1UploadImagesRequestBody>;
17
+ /**
18
+ * @internal
19
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
20
+ */
21
+ export declare namespace V1UploadImagesRequestBody$ {
22
+ /** @deprecated use `V1UploadImagesRequestBody$inboundSchema` instead. */
23
+ const inboundSchema: z.ZodType<V1UploadImagesRequestBody, z.ZodTypeDef, unknown>;
24
+ /** @deprecated use `V1UploadImagesRequestBody$outboundSchema` instead. */
25
+ const outboundSchema: z.ZodType<V1UploadImagesRequestBody$Outbound, z.ZodTypeDef, V1UploadImagesRequestBody>;
26
+ /** @deprecated use `V1UploadImagesRequestBody$Outbound` instead. */
27
+ type Outbound = V1UploadImagesRequestBody$Outbound;
28
+ }
29
+ //# sourceMappingURL=v1uploadimagesrequestbody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1uploadimagesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1uploadimagesrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,cAAc,EAEd,uBAAuB,EAE1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG;IACpC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC3D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC7C,MAAM,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC5D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAG3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IACxC,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC7D"}
@@ -0,0 +1,51 @@
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.V1UploadImagesRequestBody$ = exports.V1UploadImagesRequestBody$outboundSchema = exports.V1UploadImagesRequestBody$inboundSchema = void 0;
30
+ const v1uploaedimage_js_1 = require("./v1uploaedimage.js");
31
+ const z = __importStar(require("zod"));
32
+ /** @internal */
33
+ exports.V1UploadImagesRequestBody$inboundSchema = z.object({
34
+ images: z.nullable(z.array(v1uploaedimage_js_1.V1UploaedImage$inboundSchema)),
35
+ });
36
+ /** @internal */
37
+ exports.V1UploadImagesRequestBody$outboundSchema = z.object({
38
+ images: z.nullable(z.array(v1uploaedimage_js_1.V1UploaedImage$outboundSchema)),
39
+ });
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ var V1UploadImagesRequestBody$;
45
+ (function (V1UploadImagesRequestBody$) {
46
+ /** @deprecated use `V1UploadImagesRequestBody$inboundSchema` instead. */
47
+ V1UploadImagesRequestBody$.inboundSchema = exports.V1UploadImagesRequestBody$inboundSchema;
48
+ /** @deprecated use `V1UploadImagesRequestBody$outboundSchema` instead. */
49
+ V1UploadImagesRequestBody$.outboundSchema = exports.V1UploadImagesRequestBody$outboundSchema;
50
+ })(V1UploadImagesRequestBody$ || (exports.V1UploadImagesRequestBody$ = V1UploadImagesRequestBody$ = {}));
51
+ //# sourceMappingURL=v1uploadimagesrequestbody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1uploadimagesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1uploadimagesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAK6B;AAC7B,uCAAyB;AASzB,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACT,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gDAA4B,CAAC,CAAC;CAC5D,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACT,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,iDAA6B,CAAC,CAAC;CAC7D,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACvC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAG3E,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}