@unified-api/typescript-sdk 2.62.0 → 2.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,9 +26,46 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CommerceMetadata$ = exports.CommerceMetadata$outboundSchema = exports.CommerceMetadata$inboundSchema = exports.CommerceMetadataValue$ = exports.CommerceMetadataValue$outboundSchema = exports.CommerceMetadataValue$inboundSchema = exports.CommerceMetadataExtraData$ = exports.CommerceMetadataExtraData$outboundSchema = exports.CommerceMetadataExtraData$inboundSchema = void 0;
29
+ exports.CommerceMetadataSchemasValue2$outboundSchema = exports.CommerceMetadataSchemasValue2$inboundSchema = exports.CommerceMetadataSchemas3$ = exports.CommerceMetadataSchemas3$outboundSchema = exports.CommerceMetadataSchemas3$inboundSchema = exports.CommerceMetadataSchemasValue32$ = exports.CommerceMetadataSchemasValue32$outboundSchema = exports.CommerceMetadataSchemasValue32$inboundSchema = exports.CommerceMetadataSchemas4$ = exports.CommerceMetadataSchemas4$outboundSchema = exports.CommerceMetadataSchemas4$inboundSchema = exports.CommerceMetadataSchemasValue42$ = exports.CommerceMetadataSchemasValue42$outboundSchema = exports.CommerceMetadataSchemasValue42$inboundSchema = exports.CommerceMetadataSchemas5$ = exports.CommerceMetadataSchemas5$outboundSchema = exports.CommerceMetadataSchemas5$inboundSchema = exports.CommerceMetadataSchemasValue52$ = exports.CommerceMetadataSchemasValue52$outboundSchema = exports.CommerceMetadataSchemasValue52$inboundSchema = exports.CommerceMetadataExtraData$ = exports.CommerceMetadataExtraData$outboundSchema = exports.CommerceMetadataExtraData$inboundSchema = exports.CommerceMetadata1$ = exports.CommerceMetadata1$outboundSchema = exports.CommerceMetadata1$inboundSchema = exports.CommerceMetadata2$ = exports.CommerceMetadata2$outboundSchema = exports.CommerceMetadata2$inboundSchema = exports.CommerceMetadataSchemasExtraData22$ = exports.CommerceMetadataSchemasExtraData22$outboundSchema = exports.CommerceMetadataSchemasExtraData22$inboundSchema = exports.CommerceMetadata3$ = exports.CommerceMetadata3$outboundSchema = exports.CommerceMetadata3$inboundSchema = exports.CommerceMetadataSchemasExtraData32$ = exports.CommerceMetadataSchemasExtraData32$outboundSchema = exports.CommerceMetadataSchemasExtraData32$inboundSchema = exports.CommerceMetadata4$ = exports.CommerceMetadata4$outboundSchema = exports.CommerceMetadata4$inboundSchema = exports.CommerceMetadataSchemasExtraData2$ = exports.CommerceMetadataSchemasExtraData2$outboundSchema = exports.CommerceMetadataSchemasExtraData2$inboundSchema = exports.CommerceMetadata5$ = exports.CommerceMetadata5$outboundSchema = exports.CommerceMetadata5$inboundSchema = exports.CommerceMetadataSchemasExtraData52$ = exports.CommerceMetadataSchemasExtraData52$outboundSchema = exports.CommerceMetadataSchemasExtraData52$inboundSchema = void 0;
30
+ exports.CommerceMetadata$ = exports.CommerceMetadata$outboundSchema = exports.CommerceMetadata$inboundSchema = exports.CommerceMetadataValue$ = exports.CommerceMetadataValue$outboundSchema = exports.CommerceMetadataValue$inboundSchema = exports.CommerceMetadataSchemas1$ = exports.CommerceMetadataSchemas1$outboundSchema = exports.CommerceMetadataSchemas1$inboundSchema = exports.CommerceMetadataSchemas2$ = exports.CommerceMetadataSchemas2$outboundSchema = exports.CommerceMetadataSchemas2$inboundSchema = exports.CommerceMetadataSchemasValue2$ = void 0;
31
+ exports.commerceMetadataSchemasExtraData52ToJSON = commerceMetadataSchemasExtraData52ToJSON;
32
+ exports.commerceMetadataSchemasExtraData52FromJSON = commerceMetadataSchemasExtraData52FromJSON;
33
+ exports.commerceMetadata5ToJSON = commerceMetadata5ToJSON;
34
+ exports.commerceMetadata5FromJSON = commerceMetadata5FromJSON;
35
+ exports.commerceMetadataSchemasExtraData2ToJSON = commerceMetadataSchemasExtraData2ToJSON;
36
+ exports.commerceMetadataSchemasExtraData2FromJSON = commerceMetadataSchemasExtraData2FromJSON;
37
+ exports.commerceMetadata4ToJSON = commerceMetadata4ToJSON;
38
+ exports.commerceMetadata4FromJSON = commerceMetadata4FromJSON;
39
+ exports.commerceMetadataSchemasExtraData32ToJSON = commerceMetadataSchemasExtraData32ToJSON;
40
+ exports.commerceMetadataSchemasExtraData32FromJSON = commerceMetadataSchemasExtraData32FromJSON;
41
+ exports.commerceMetadata3ToJSON = commerceMetadata3ToJSON;
42
+ exports.commerceMetadata3FromJSON = commerceMetadata3FromJSON;
43
+ exports.commerceMetadataSchemasExtraData22ToJSON = commerceMetadataSchemasExtraData22ToJSON;
44
+ exports.commerceMetadataSchemasExtraData22FromJSON = commerceMetadataSchemasExtraData22FromJSON;
45
+ exports.commerceMetadata2ToJSON = commerceMetadata2ToJSON;
46
+ exports.commerceMetadata2FromJSON = commerceMetadata2FromJSON;
47
+ exports.commerceMetadata1ToJSON = commerceMetadata1ToJSON;
48
+ exports.commerceMetadata1FromJSON = commerceMetadata1FromJSON;
30
49
  exports.commerceMetadataExtraDataToJSON = commerceMetadataExtraDataToJSON;
31
50
  exports.commerceMetadataExtraDataFromJSON = commerceMetadataExtraDataFromJSON;
51
+ exports.commerceMetadataSchemasValue52ToJSON = commerceMetadataSchemasValue52ToJSON;
52
+ exports.commerceMetadataSchemasValue52FromJSON = commerceMetadataSchemasValue52FromJSON;
53
+ exports.commerceMetadataSchemas5ToJSON = commerceMetadataSchemas5ToJSON;
54
+ exports.commerceMetadataSchemas5FromJSON = commerceMetadataSchemas5FromJSON;
55
+ exports.commerceMetadataSchemasValue42ToJSON = commerceMetadataSchemasValue42ToJSON;
56
+ exports.commerceMetadataSchemasValue42FromJSON = commerceMetadataSchemasValue42FromJSON;
57
+ exports.commerceMetadataSchemas4ToJSON = commerceMetadataSchemas4ToJSON;
58
+ exports.commerceMetadataSchemas4FromJSON = commerceMetadataSchemas4FromJSON;
59
+ exports.commerceMetadataSchemasValue32ToJSON = commerceMetadataSchemasValue32ToJSON;
60
+ exports.commerceMetadataSchemasValue32FromJSON = commerceMetadataSchemasValue32FromJSON;
61
+ exports.commerceMetadataSchemas3ToJSON = commerceMetadataSchemas3ToJSON;
62
+ exports.commerceMetadataSchemas3FromJSON = commerceMetadataSchemas3FromJSON;
63
+ exports.commerceMetadataSchemasValue2ToJSON = commerceMetadataSchemasValue2ToJSON;
64
+ exports.commerceMetadataSchemasValue2FromJSON = commerceMetadataSchemasValue2FromJSON;
65
+ exports.commerceMetadataSchemas2ToJSON = commerceMetadataSchemas2ToJSON;
66
+ exports.commerceMetadataSchemas2FromJSON = commerceMetadataSchemas2FromJSON;
67
+ exports.commerceMetadataSchemas1ToJSON = commerceMetadataSchemas1ToJSON;
68
+ exports.commerceMetadataSchemas1FromJSON = commerceMetadataSchemas1FromJSON;
32
69
  exports.commerceMetadataValueToJSON = commerceMetadataValueToJSON;
33
70
  exports.commerceMetadataValueFromJSON = commerceMetadataValueFromJSON;
34
71
  exports.commerceMetadataToJSON = commerceMetadataToJSON;
@@ -37,9 +74,258 @@ const z = __importStar(require("zod"));
37
74
  const primitives_js_1 = require("../../../lib/primitives.js");
38
75
  const schemas_js_1 = require("../../../lib/schemas.js");
39
76
  /** @internal */
40
- exports.CommerceMetadataExtraData$inboundSchema = z.object({});
77
+ exports.CommerceMetadataSchemasExtraData52$inboundSchema = z.object({});
41
78
  /** @internal */
42
- exports.CommerceMetadataExtraData$outboundSchema = z.object({});
79
+ exports.CommerceMetadataSchemasExtraData52$outboundSchema = z.object({});
80
+ /**
81
+ * @internal
82
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
+ */
84
+ var CommerceMetadataSchemasExtraData52$;
85
+ (function (CommerceMetadataSchemasExtraData52$) {
86
+ /** @deprecated use `CommerceMetadataSchemasExtraData52$inboundSchema` instead. */
87
+ CommerceMetadataSchemasExtraData52$.inboundSchema = exports.CommerceMetadataSchemasExtraData52$inboundSchema;
88
+ /** @deprecated use `CommerceMetadataSchemasExtraData52$outboundSchema` instead. */
89
+ CommerceMetadataSchemasExtraData52$.outboundSchema = exports.CommerceMetadataSchemasExtraData52$outboundSchema;
90
+ })(CommerceMetadataSchemasExtraData52$ || (exports.CommerceMetadataSchemasExtraData52$ = CommerceMetadataSchemasExtraData52$ = {}));
91
+ function commerceMetadataSchemasExtraData52ToJSON(commerceMetadataSchemasExtraData52) {
92
+ return JSON.stringify(exports.CommerceMetadataSchemasExtraData52$outboundSchema.parse(commerceMetadataSchemasExtraData52));
93
+ }
94
+ function commerceMetadataSchemasExtraData52FromJSON(jsonString) {
95
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasExtraData52$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasExtraData52' from JSON`);
96
+ }
97
+ /** @internal */
98
+ exports.CommerceMetadata5$inboundSchema = z.union([
99
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$inboundSchema),
100
+ z.array(z.any()),
101
+ ]);
102
+ /** @internal */
103
+ exports.CommerceMetadata5$outboundSchema = z.union([
104
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$outboundSchema),
105
+ z.array(z.any()),
106
+ ]);
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ var CommerceMetadata5$;
112
+ (function (CommerceMetadata5$) {
113
+ /** @deprecated use `CommerceMetadata5$inboundSchema` instead. */
114
+ CommerceMetadata5$.inboundSchema = exports.CommerceMetadata5$inboundSchema;
115
+ /** @deprecated use `CommerceMetadata5$outboundSchema` instead. */
116
+ CommerceMetadata5$.outboundSchema = exports.CommerceMetadata5$outboundSchema;
117
+ })(CommerceMetadata5$ || (exports.CommerceMetadata5$ = CommerceMetadata5$ = {}));
118
+ function commerceMetadata5ToJSON(commerceMetadata5) {
119
+ return JSON.stringify(exports.CommerceMetadata5$outboundSchema.parse(commerceMetadata5));
120
+ }
121
+ function commerceMetadata5FromJSON(jsonString) {
122
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadata5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadata5' from JSON`);
123
+ }
124
+ /** @internal */
125
+ exports.CommerceMetadataSchemasExtraData2$inboundSchema = z.object({});
126
+ /** @internal */
127
+ exports.CommerceMetadataSchemasExtraData2$outboundSchema = z.object({});
128
+ /**
129
+ * @internal
130
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
131
+ */
132
+ var CommerceMetadataSchemasExtraData2$;
133
+ (function (CommerceMetadataSchemasExtraData2$) {
134
+ /** @deprecated use `CommerceMetadataSchemasExtraData2$inboundSchema` instead. */
135
+ CommerceMetadataSchemasExtraData2$.inboundSchema = exports.CommerceMetadataSchemasExtraData2$inboundSchema;
136
+ /** @deprecated use `CommerceMetadataSchemasExtraData2$outboundSchema` instead. */
137
+ CommerceMetadataSchemasExtraData2$.outboundSchema = exports.CommerceMetadataSchemasExtraData2$outboundSchema;
138
+ })(CommerceMetadataSchemasExtraData2$ || (exports.CommerceMetadataSchemasExtraData2$ = CommerceMetadataSchemasExtraData2$ = {}));
139
+ function commerceMetadataSchemasExtraData2ToJSON(commerceMetadataSchemasExtraData2) {
140
+ return JSON.stringify(exports.CommerceMetadataSchemasExtraData2$outboundSchema.parse(commerceMetadataSchemasExtraData2));
141
+ }
142
+ function commerceMetadataSchemasExtraData2FromJSON(jsonString) {
143
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasExtraData2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasExtraData2' from JSON`);
144
+ }
145
+ /** @internal */
146
+ exports.CommerceMetadata4$inboundSchema = z.union([
147
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$inboundSchema),
148
+ z.boolean(),
149
+ ]);
150
+ /** @internal */
151
+ exports.CommerceMetadata4$outboundSchema = z.union([
152
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$outboundSchema),
153
+ z.boolean(),
154
+ ]);
155
+ /**
156
+ * @internal
157
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
158
+ */
159
+ var CommerceMetadata4$;
160
+ (function (CommerceMetadata4$) {
161
+ /** @deprecated use `CommerceMetadata4$inboundSchema` instead. */
162
+ CommerceMetadata4$.inboundSchema = exports.CommerceMetadata4$inboundSchema;
163
+ /** @deprecated use `CommerceMetadata4$outboundSchema` instead. */
164
+ CommerceMetadata4$.outboundSchema = exports.CommerceMetadata4$outboundSchema;
165
+ })(CommerceMetadata4$ || (exports.CommerceMetadata4$ = CommerceMetadata4$ = {}));
166
+ function commerceMetadata4ToJSON(commerceMetadata4) {
167
+ return JSON.stringify(exports.CommerceMetadata4$outboundSchema.parse(commerceMetadata4));
168
+ }
169
+ function commerceMetadata4FromJSON(jsonString) {
170
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadata4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadata4' from JSON`);
171
+ }
172
+ /** @internal */
173
+ exports.CommerceMetadataSchemasExtraData32$inboundSchema = z.object({});
174
+ /** @internal */
175
+ exports.CommerceMetadataSchemasExtraData32$outboundSchema = z.object({});
176
+ /**
177
+ * @internal
178
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
179
+ */
180
+ var CommerceMetadataSchemasExtraData32$;
181
+ (function (CommerceMetadataSchemasExtraData32$) {
182
+ /** @deprecated use `CommerceMetadataSchemasExtraData32$inboundSchema` instead. */
183
+ CommerceMetadataSchemasExtraData32$.inboundSchema = exports.CommerceMetadataSchemasExtraData32$inboundSchema;
184
+ /** @deprecated use `CommerceMetadataSchemasExtraData32$outboundSchema` instead. */
185
+ CommerceMetadataSchemasExtraData32$.outboundSchema = exports.CommerceMetadataSchemasExtraData32$outboundSchema;
186
+ })(CommerceMetadataSchemasExtraData32$ || (exports.CommerceMetadataSchemasExtraData32$ = CommerceMetadataSchemasExtraData32$ = {}));
187
+ function commerceMetadataSchemasExtraData32ToJSON(commerceMetadataSchemasExtraData32) {
188
+ return JSON.stringify(exports.CommerceMetadataSchemasExtraData32$outboundSchema.parse(commerceMetadataSchemasExtraData32));
189
+ }
190
+ function commerceMetadataSchemasExtraData32FromJSON(jsonString) {
191
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasExtraData32$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasExtraData32' from JSON`);
192
+ }
193
+ /** @internal */
194
+ exports.CommerceMetadata3$inboundSchema = z.union([
195
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$inboundSchema),
196
+ z.number(),
197
+ ]);
198
+ /** @internal */
199
+ exports.CommerceMetadata3$outboundSchema = z.union([
200
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$outboundSchema),
201
+ z.number(),
202
+ ]);
203
+ /**
204
+ * @internal
205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
206
+ */
207
+ var CommerceMetadata3$;
208
+ (function (CommerceMetadata3$) {
209
+ /** @deprecated use `CommerceMetadata3$inboundSchema` instead. */
210
+ CommerceMetadata3$.inboundSchema = exports.CommerceMetadata3$inboundSchema;
211
+ /** @deprecated use `CommerceMetadata3$outboundSchema` instead. */
212
+ CommerceMetadata3$.outboundSchema = exports.CommerceMetadata3$outboundSchema;
213
+ })(CommerceMetadata3$ || (exports.CommerceMetadata3$ = CommerceMetadata3$ = {}));
214
+ function commerceMetadata3ToJSON(commerceMetadata3) {
215
+ return JSON.stringify(exports.CommerceMetadata3$outboundSchema.parse(commerceMetadata3));
216
+ }
217
+ function commerceMetadata3FromJSON(jsonString) {
218
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadata3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadata3' from JSON`);
219
+ }
220
+ /** @internal */
221
+ exports.CommerceMetadataSchemasExtraData22$inboundSchema = z.object({});
222
+ /** @internal */
223
+ exports.CommerceMetadataSchemasExtraData22$outboundSchema = z.object({});
224
+ /**
225
+ * @internal
226
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
227
+ */
228
+ var CommerceMetadataSchemasExtraData22$;
229
+ (function (CommerceMetadataSchemasExtraData22$) {
230
+ /** @deprecated use `CommerceMetadataSchemasExtraData22$inboundSchema` instead. */
231
+ CommerceMetadataSchemasExtraData22$.inboundSchema = exports.CommerceMetadataSchemasExtraData22$inboundSchema;
232
+ /** @deprecated use `CommerceMetadataSchemasExtraData22$outboundSchema` instead. */
233
+ CommerceMetadataSchemasExtraData22$.outboundSchema = exports.CommerceMetadataSchemasExtraData22$outboundSchema;
234
+ })(CommerceMetadataSchemasExtraData22$ || (exports.CommerceMetadataSchemasExtraData22$ = CommerceMetadataSchemasExtraData22$ = {}));
235
+ function commerceMetadataSchemasExtraData22ToJSON(commerceMetadataSchemasExtraData22) {
236
+ return JSON.stringify(exports.CommerceMetadataSchemasExtraData22$outboundSchema.parse(commerceMetadataSchemasExtraData22));
237
+ }
238
+ function commerceMetadataSchemasExtraData22FromJSON(jsonString) {
239
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasExtraData22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasExtraData22' from JSON`);
240
+ }
241
+ /** @internal */
242
+ exports.CommerceMetadata2$inboundSchema = z.union([
243
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$inboundSchema),
244
+ z.string(),
245
+ ]);
246
+ /** @internal */
247
+ exports.CommerceMetadata2$outboundSchema = z.union([
248
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$outboundSchema),
249
+ z.string(),
250
+ ]);
251
+ /**
252
+ * @internal
253
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
254
+ */
255
+ var CommerceMetadata2$;
256
+ (function (CommerceMetadata2$) {
257
+ /** @deprecated use `CommerceMetadata2$inboundSchema` instead. */
258
+ CommerceMetadata2$.inboundSchema = exports.CommerceMetadata2$inboundSchema;
259
+ /** @deprecated use `CommerceMetadata2$outboundSchema` instead. */
260
+ CommerceMetadata2$.outboundSchema = exports.CommerceMetadata2$outboundSchema;
261
+ })(CommerceMetadata2$ || (exports.CommerceMetadata2$ = CommerceMetadata2$ = {}));
262
+ function commerceMetadata2ToJSON(commerceMetadata2) {
263
+ return JSON.stringify(exports.CommerceMetadata2$outboundSchema.parse(commerceMetadata2));
264
+ }
265
+ function commerceMetadata2FromJSON(jsonString) {
266
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadata2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadata2' from JSON`);
267
+ }
268
+ /** @internal */
269
+ exports.CommerceMetadata1$inboundSchema = z.object({});
270
+ /** @internal */
271
+ exports.CommerceMetadata1$outboundSchema = z.object({});
272
+ /**
273
+ * @internal
274
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
275
+ */
276
+ var CommerceMetadata1$;
277
+ (function (CommerceMetadata1$) {
278
+ /** @deprecated use `CommerceMetadata1$inboundSchema` instead. */
279
+ CommerceMetadata1$.inboundSchema = exports.CommerceMetadata1$inboundSchema;
280
+ /** @deprecated use `CommerceMetadata1$outboundSchema` instead. */
281
+ CommerceMetadata1$.outboundSchema = exports.CommerceMetadata1$outboundSchema;
282
+ })(CommerceMetadata1$ || (exports.CommerceMetadata1$ = CommerceMetadata1$ = {}));
283
+ function commerceMetadata1ToJSON(commerceMetadata1) {
284
+ return JSON.stringify(exports.CommerceMetadata1$outboundSchema.parse(commerceMetadata1));
285
+ }
286
+ function commerceMetadata1FromJSON(jsonString) {
287
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadata1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadata1' from JSON`);
288
+ }
289
+ /** @internal */
290
+ exports.CommerceMetadataExtraData$inboundSchema = z.union([
291
+ z.lazy(() => exports.CommerceMetadata1$inboundSchema),
292
+ z.union([
293
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$inboundSchema),
294
+ z.string(),
295
+ ]),
296
+ z.union([
297
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$inboundSchema),
298
+ z.number(),
299
+ ]),
300
+ z.union([
301
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$inboundSchema),
302
+ z.boolean(),
303
+ ]),
304
+ z.union([
305
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$inboundSchema),
306
+ z.array(z.any()),
307
+ ]),
308
+ ]);
309
+ /** @internal */
310
+ exports.CommerceMetadataExtraData$outboundSchema = z.union([
311
+ z.lazy(() => exports.CommerceMetadata1$outboundSchema),
312
+ z.union([
313
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$outboundSchema),
314
+ z.string(),
315
+ ]),
316
+ z.union([
317
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$outboundSchema),
318
+ z.number(),
319
+ ]),
320
+ z.union([
321
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$outboundSchema),
322
+ z.boolean(),
323
+ ]),
324
+ z.union([
325
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$outboundSchema),
326
+ z.array(z.any()),
327
+ ]),
328
+ ]);
43
329
  /**
44
330
  * @internal
45
331
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -58,9 +344,258 @@ function commerceMetadataExtraDataFromJSON(jsonString) {
58
344
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataExtraData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataExtraData' from JSON`);
59
345
  }
60
346
  /** @internal */
61
- exports.CommerceMetadataValue$inboundSchema = z.object({});
347
+ exports.CommerceMetadataSchemasValue52$inboundSchema = z.object({});
348
+ /** @internal */
349
+ exports.CommerceMetadataSchemasValue52$outboundSchema = z.object({});
350
+ /**
351
+ * @internal
352
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
353
+ */
354
+ var CommerceMetadataSchemasValue52$;
355
+ (function (CommerceMetadataSchemasValue52$) {
356
+ /** @deprecated use `CommerceMetadataSchemasValue52$inboundSchema` instead. */
357
+ CommerceMetadataSchemasValue52$.inboundSchema = exports.CommerceMetadataSchemasValue52$inboundSchema;
358
+ /** @deprecated use `CommerceMetadataSchemasValue52$outboundSchema` instead. */
359
+ CommerceMetadataSchemasValue52$.outboundSchema = exports.CommerceMetadataSchemasValue52$outboundSchema;
360
+ })(CommerceMetadataSchemasValue52$ || (exports.CommerceMetadataSchemasValue52$ = CommerceMetadataSchemasValue52$ = {}));
361
+ function commerceMetadataSchemasValue52ToJSON(commerceMetadataSchemasValue52) {
362
+ return JSON.stringify(exports.CommerceMetadataSchemasValue52$outboundSchema.parse(commerceMetadataSchemasValue52));
363
+ }
364
+ function commerceMetadataSchemasValue52FromJSON(jsonString) {
365
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasValue52$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasValue52' from JSON`);
366
+ }
367
+ /** @internal */
368
+ exports.CommerceMetadataSchemas5$inboundSchema = z.union([
369
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$inboundSchema),
370
+ z.array(z.any()),
371
+ ]);
372
+ /** @internal */
373
+ exports.CommerceMetadataSchemas5$outboundSchema = z.union([
374
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$outboundSchema),
375
+ z.array(z.any()),
376
+ ]);
377
+ /**
378
+ * @internal
379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
+ */
381
+ var CommerceMetadataSchemas5$;
382
+ (function (CommerceMetadataSchemas5$) {
383
+ /** @deprecated use `CommerceMetadataSchemas5$inboundSchema` instead. */
384
+ CommerceMetadataSchemas5$.inboundSchema = exports.CommerceMetadataSchemas5$inboundSchema;
385
+ /** @deprecated use `CommerceMetadataSchemas5$outboundSchema` instead. */
386
+ CommerceMetadataSchemas5$.outboundSchema = exports.CommerceMetadataSchemas5$outboundSchema;
387
+ })(CommerceMetadataSchemas5$ || (exports.CommerceMetadataSchemas5$ = CommerceMetadataSchemas5$ = {}));
388
+ function commerceMetadataSchemas5ToJSON(commerceMetadataSchemas5) {
389
+ return JSON.stringify(exports.CommerceMetadataSchemas5$outboundSchema.parse(commerceMetadataSchemas5));
390
+ }
391
+ function commerceMetadataSchemas5FromJSON(jsonString) {
392
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemas5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemas5' from JSON`);
393
+ }
394
+ /** @internal */
395
+ exports.CommerceMetadataSchemasValue42$inboundSchema = z.object({});
396
+ /** @internal */
397
+ exports.CommerceMetadataSchemasValue42$outboundSchema = z.object({});
398
+ /**
399
+ * @internal
400
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
401
+ */
402
+ var CommerceMetadataSchemasValue42$;
403
+ (function (CommerceMetadataSchemasValue42$) {
404
+ /** @deprecated use `CommerceMetadataSchemasValue42$inboundSchema` instead. */
405
+ CommerceMetadataSchemasValue42$.inboundSchema = exports.CommerceMetadataSchemasValue42$inboundSchema;
406
+ /** @deprecated use `CommerceMetadataSchemasValue42$outboundSchema` instead. */
407
+ CommerceMetadataSchemasValue42$.outboundSchema = exports.CommerceMetadataSchemasValue42$outboundSchema;
408
+ })(CommerceMetadataSchemasValue42$ || (exports.CommerceMetadataSchemasValue42$ = CommerceMetadataSchemasValue42$ = {}));
409
+ function commerceMetadataSchemasValue42ToJSON(commerceMetadataSchemasValue42) {
410
+ return JSON.stringify(exports.CommerceMetadataSchemasValue42$outboundSchema.parse(commerceMetadataSchemasValue42));
411
+ }
412
+ function commerceMetadataSchemasValue42FromJSON(jsonString) {
413
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasValue42$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasValue42' from JSON`);
414
+ }
415
+ /** @internal */
416
+ exports.CommerceMetadataSchemas4$inboundSchema = z.union([
417
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$inboundSchema),
418
+ z.boolean(),
419
+ ]);
420
+ /** @internal */
421
+ exports.CommerceMetadataSchemas4$outboundSchema = z.union([
422
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$outboundSchema),
423
+ z.boolean(),
424
+ ]);
425
+ /**
426
+ * @internal
427
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
428
+ */
429
+ var CommerceMetadataSchemas4$;
430
+ (function (CommerceMetadataSchemas4$) {
431
+ /** @deprecated use `CommerceMetadataSchemas4$inboundSchema` instead. */
432
+ CommerceMetadataSchemas4$.inboundSchema = exports.CommerceMetadataSchemas4$inboundSchema;
433
+ /** @deprecated use `CommerceMetadataSchemas4$outboundSchema` instead. */
434
+ CommerceMetadataSchemas4$.outboundSchema = exports.CommerceMetadataSchemas4$outboundSchema;
435
+ })(CommerceMetadataSchemas4$ || (exports.CommerceMetadataSchemas4$ = CommerceMetadataSchemas4$ = {}));
436
+ function commerceMetadataSchemas4ToJSON(commerceMetadataSchemas4) {
437
+ return JSON.stringify(exports.CommerceMetadataSchemas4$outboundSchema.parse(commerceMetadataSchemas4));
438
+ }
439
+ function commerceMetadataSchemas4FromJSON(jsonString) {
440
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemas4' from JSON`);
441
+ }
442
+ /** @internal */
443
+ exports.CommerceMetadataSchemasValue32$inboundSchema = z.object({});
444
+ /** @internal */
445
+ exports.CommerceMetadataSchemasValue32$outboundSchema = z.object({});
446
+ /**
447
+ * @internal
448
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
449
+ */
450
+ var CommerceMetadataSchemasValue32$;
451
+ (function (CommerceMetadataSchemasValue32$) {
452
+ /** @deprecated use `CommerceMetadataSchemasValue32$inboundSchema` instead. */
453
+ CommerceMetadataSchemasValue32$.inboundSchema = exports.CommerceMetadataSchemasValue32$inboundSchema;
454
+ /** @deprecated use `CommerceMetadataSchemasValue32$outboundSchema` instead. */
455
+ CommerceMetadataSchemasValue32$.outboundSchema = exports.CommerceMetadataSchemasValue32$outboundSchema;
456
+ })(CommerceMetadataSchemasValue32$ || (exports.CommerceMetadataSchemasValue32$ = CommerceMetadataSchemasValue32$ = {}));
457
+ function commerceMetadataSchemasValue32ToJSON(commerceMetadataSchemasValue32) {
458
+ return JSON.stringify(exports.CommerceMetadataSchemasValue32$outboundSchema.parse(commerceMetadataSchemasValue32));
459
+ }
460
+ function commerceMetadataSchemasValue32FromJSON(jsonString) {
461
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasValue32$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasValue32' from JSON`);
462
+ }
463
+ /** @internal */
464
+ exports.CommerceMetadataSchemas3$inboundSchema = z.union([
465
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$inboundSchema),
466
+ z.number(),
467
+ ]);
468
+ /** @internal */
469
+ exports.CommerceMetadataSchemas3$outboundSchema = z.union([
470
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$outboundSchema),
471
+ z.number(),
472
+ ]);
473
+ /**
474
+ * @internal
475
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
476
+ */
477
+ var CommerceMetadataSchemas3$;
478
+ (function (CommerceMetadataSchemas3$) {
479
+ /** @deprecated use `CommerceMetadataSchemas3$inboundSchema` instead. */
480
+ CommerceMetadataSchemas3$.inboundSchema = exports.CommerceMetadataSchemas3$inboundSchema;
481
+ /** @deprecated use `CommerceMetadataSchemas3$outboundSchema` instead. */
482
+ CommerceMetadataSchemas3$.outboundSchema = exports.CommerceMetadataSchemas3$outboundSchema;
483
+ })(CommerceMetadataSchemas3$ || (exports.CommerceMetadataSchemas3$ = CommerceMetadataSchemas3$ = {}));
484
+ function commerceMetadataSchemas3ToJSON(commerceMetadataSchemas3) {
485
+ return JSON.stringify(exports.CommerceMetadataSchemas3$outboundSchema.parse(commerceMetadataSchemas3));
486
+ }
487
+ function commerceMetadataSchemas3FromJSON(jsonString) {
488
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemas3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemas3' from JSON`);
489
+ }
490
+ /** @internal */
491
+ exports.CommerceMetadataSchemasValue2$inboundSchema = z.object({});
492
+ /** @internal */
493
+ exports.CommerceMetadataSchemasValue2$outboundSchema = z.object({});
494
+ /**
495
+ * @internal
496
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
497
+ */
498
+ var CommerceMetadataSchemasValue2$;
499
+ (function (CommerceMetadataSchemasValue2$) {
500
+ /** @deprecated use `CommerceMetadataSchemasValue2$inboundSchema` instead. */
501
+ CommerceMetadataSchemasValue2$.inboundSchema = exports.CommerceMetadataSchemasValue2$inboundSchema;
502
+ /** @deprecated use `CommerceMetadataSchemasValue2$outboundSchema` instead. */
503
+ CommerceMetadataSchemasValue2$.outboundSchema = exports.CommerceMetadataSchemasValue2$outboundSchema;
504
+ })(CommerceMetadataSchemasValue2$ || (exports.CommerceMetadataSchemasValue2$ = CommerceMetadataSchemasValue2$ = {}));
505
+ function commerceMetadataSchemasValue2ToJSON(commerceMetadataSchemasValue2) {
506
+ return JSON.stringify(exports.CommerceMetadataSchemasValue2$outboundSchema.parse(commerceMetadataSchemasValue2));
507
+ }
508
+ function commerceMetadataSchemasValue2FromJSON(jsonString) {
509
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemasValue2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemasValue2' from JSON`);
510
+ }
511
+ /** @internal */
512
+ exports.CommerceMetadataSchemas2$inboundSchema = z.union([
513
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$inboundSchema),
514
+ z.string(),
515
+ ]);
516
+ /** @internal */
517
+ exports.CommerceMetadataSchemas2$outboundSchema = z.union([
518
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$outboundSchema),
519
+ z.string(),
520
+ ]);
521
+ /**
522
+ * @internal
523
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
524
+ */
525
+ var CommerceMetadataSchemas2$;
526
+ (function (CommerceMetadataSchemas2$) {
527
+ /** @deprecated use `CommerceMetadataSchemas2$inboundSchema` instead. */
528
+ CommerceMetadataSchemas2$.inboundSchema = exports.CommerceMetadataSchemas2$inboundSchema;
529
+ /** @deprecated use `CommerceMetadataSchemas2$outboundSchema` instead. */
530
+ CommerceMetadataSchemas2$.outboundSchema = exports.CommerceMetadataSchemas2$outboundSchema;
531
+ })(CommerceMetadataSchemas2$ || (exports.CommerceMetadataSchemas2$ = CommerceMetadataSchemas2$ = {}));
532
+ function commerceMetadataSchemas2ToJSON(commerceMetadataSchemas2) {
533
+ return JSON.stringify(exports.CommerceMetadataSchemas2$outboundSchema.parse(commerceMetadataSchemas2));
534
+ }
535
+ function commerceMetadataSchemas2FromJSON(jsonString) {
536
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemas2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemas2' from JSON`);
537
+ }
538
+ /** @internal */
539
+ exports.CommerceMetadataSchemas1$inboundSchema = z.object({});
540
+ /** @internal */
541
+ exports.CommerceMetadataSchemas1$outboundSchema = z.object({});
542
+ /**
543
+ * @internal
544
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
545
+ */
546
+ var CommerceMetadataSchemas1$;
547
+ (function (CommerceMetadataSchemas1$) {
548
+ /** @deprecated use `CommerceMetadataSchemas1$inboundSchema` instead. */
549
+ CommerceMetadataSchemas1$.inboundSchema = exports.CommerceMetadataSchemas1$inboundSchema;
550
+ /** @deprecated use `CommerceMetadataSchemas1$outboundSchema` instead. */
551
+ CommerceMetadataSchemas1$.outboundSchema = exports.CommerceMetadataSchemas1$outboundSchema;
552
+ })(CommerceMetadataSchemas1$ || (exports.CommerceMetadataSchemas1$ = CommerceMetadataSchemas1$ = {}));
553
+ function commerceMetadataSchemas1ToJSON(commerceMetadataSchemas1) {
554
+ return JSON.stringify(exports.CommerceMetadataSchemas1$outboundSchema.parse(commerceMetadataSchemas1));
555
+ }
556
+ function commerceMetadataSchemas1FromJSON(jsonString) {
557
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CommerceMetadataSchemas1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CommerceMetadataSchemas1' from JSON`);
558
+ }
559
+ /** @internal */
560
+ exports.CommerceMetadataValue$inboundSchema = z.union([
561
+ z.lazy(() => exports.CommerceMetadataSchemas1$inboundSchema),
562
+ z.union([
563
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$inboundSchema),
564
+ z.string(),
565
+ ]),
566
+ z.union([
567
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$inboundSchema),
568
+ z.number(),
569
+ ]),
570
+ z.union([
571
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$inboundSchema),
572
+ z.boolean(),
573
+ ]),
574
+ z.union([
575
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$inboundSchema),
576
+ z.array(z.any()),
577
+ ]),
578
+ ]);
62
579
  /** @internal */
63
- exports.CommerceMetadataValue$outboundSchema = z.object({});
580
+ exports.CommerceMetadataValue$outboundSchema = z.union([
581
+ z.lazy(() => exports.CommerceMetadataSchemas1$outboundSchema),
582
+ z.union([
583
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$outboundSchema),
584
+ z.string(),
585
+ ]),
586
+ z.union([
587
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$outboundSchema),
588
+ z.number(),
589
+ ]),
590
+ z.union([
591
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$outboundSchema),
592
+ z.boolean(),
593
+ ]),
594
+ z.union([
595
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$outboundSchema),
596
+ z.array(z.any()),
597
+ ]),
598
+ ]);
64
599
  /**
65
600
  * @internal
66
601
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -80,13 +615,49 @@ function commerceMetadataValueFromJSON(jsonString) {
80
615
  }
81
616
  /** @internal */
82
617
  exports.CommerceMetadata$inboundSchema = z.object({
83
- extra_data: z.lazy(() => exports.CommerceMetadataExtraData$inboundSchema).optional(),
618
+ extra_data: z.union([
619
+ z.lazy(() => exports.CommerceMetadata1$inboundSchema),
620
+ z.union([
621
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$inboundSchema),
622
+ z.string(),
623
+ ]),
624
+ z.union([
625
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$inboundSchema),
626
+ z.number(),
627
+ ]),
628
+ z.union([
629
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$inboundSchema),
630
+ z.boolean(),
631
+ ]),
632
+ z.union([
633
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$inboundSchema),
634
+ z.array(z.any()),
635
+ ]),
636
+ ]).optional(),
84
637
  id: z.string().optional(),
85
638
  key: z.string().optional(),
86
639
  namespace: z.string().optional(),
87
640
  slug: z.string().optional(),
88
641
  type: z.string().optional(),
89
- value: z.lazy(() => exports.CommerceMetadataValue$inboundSchema).optional(),
642
+ value: z.union([
643
+ z.lazy(() => exports.CommerceMetadataSchemas1$inboundSchema),
644
+ z.union([
645
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$inboundSchema),
646
+ z.string(),
647
+ ]),
648
+ z.union([
649
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$inboundSchema),
650
+ z.number(),
651
+ ]),
652
+ z.union([
653
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$inboundSchema),
654
+ z.boolean(),
655
+ ]),
656
+ z.union([
657
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$inboundSchema),
658
+ z.array(z.any()),
659
+ ]),
660
+ ]).optional(),
90
661
  }).transform((v) => {
91
662
  return (0, primitives_js_1.remap)(v, {
92
663
  "extra_data": "extraData",
@@ -94,13 +665,49 @@ exports.CommerceMetadata$inboundSchema = z.object({
94
665
  });
95
666
  /** @internal */
96
667
  exports.CommerceMetadata$outboundSchema = z.object({
97
- extraData: z.lazy(() => exports.CommerceMetadataExtraData$outboundSchema).optional(),
668
+ extraData: z.union([
669
+ z.lazy(() => exports.CommerceMetadata1$outboundSchema),
670
+ z.union([
671
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData22$outboundSchema),
672
+ z.string(),
673
+ ]),
674
+ z.union([
675
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData32$outboundSchema),
676
+ z.number(),
677
+ ]),
678
+ z.union([
679
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData2$outboundSchema),
680
+ z.boolean(),
681
+ ]),
682
+ z.union([
683
+ z.lazy(() => exports.CommerceMetadataSchemasExtraData52$outboundSchema),
684
+ z.array(z.any()),
685
+ ]),
686
+ ]).optional(),
98
687
  id: z.string().optional(),
99
688
  key: z.string().optional(),
100
689
  namespace: z.string().optional(),
101
690
  slug: z.string().optional(),
102
691
  type: z.string().optional(),
103
- value: z.lazy(() => exports.CommerceMetadataValue$outboundSchema).optional(),
692
+ value: z.union([
693
+ z.lazy(() => exports.CommerceMetadataSchemas1$outboundSchema),
694
+ z.union([
695
+ z.lazy(() => exports.CommerceMetadataSchemasValue2$outboundSchema),
696
+ z.string(),
697
+ ]),
698
+ z.union([
699
+ z.lazy(() => exports.CommerceMetadataSchemasValue32$outboundSchema),
700
+ z.number(),
701
+ ]),
702
+ z.union([
703
+ z.lazy(() => exports.CommerceMetadataSchemasValue42$outboundSchema),
704
+ z.boolean(),
705
+ ]),
706
+ z.union([
707
+ z.lazy(() => exports.CommerceMetadataSchemasValue52$outboundSchema),
708
+ z.array(z.any()),
709
+ ]),
710
+ ]).optional(),
104
711
  }).transform((v) => {
105
712
  return (0, primitives_js_1.remap)(v, {
106
713
  extraData: "extra_data",