@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.
@@ -8,36 +8,556 @@ import { safeParse } from "../../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
- export type ExtraData = {};
11
+ export type AtsMetadataSchemasExtraData2 = {};
12
12
 
13
- export type Value = {};
13
+ export type Five = AtsMetadataSchemasExtraData2 | Array<any>;
14
+
15
+ export type AtsMetadataSchemas2 = {};
16
+
17
+ export type Four = AtsMetadataSchemas2 | boolean;
18
+
19
+ export type AtsMetadataSchemasExtraData32 = {};
20
+
21
+ export type Three = AtsMetadataSchemasExtraData32 | number;
22
+
23
+ export type AtsMetadataSchemasExtraData22 = {};
24
+
25
+ export type Two = AtsMetadataSchemasExtraData22 | string;
26
+
27
+ export type One = {};
28
+
29
+ export type ExtraData =
30
+ | One
31
+ | AtsMetadataSchemasExtraData22
32
+ | string
33
+ | AtsMetadataSchemasExtraData32
34
+ | number
35
+ | AtsMetadataSchemas2
36
+ | boolean
37
+ | AtsMetadataSchemasExtraData2
38
+ | Array<any>;
39
+
40
+ export type AtsMetadataSchemasValue52 = {};
41
+
42
+ export type AtsMetadata5 = AtsMetadataSchemasValue52 | Array<any>;
43
+
44
+ export type AtsMetadataSchemasValue42 = {};
45
+
46
+ export type AtsMetadata4 = AtsMetadataSchemasValue42 | boolean;
47
+
48
+ export type AtsMetadataSchemasValue32 = {};
49
+
50
+ export type AtsMetadata3 = AtsMetadataSchemasValue32 | number;
51
+
52
+ export type AtsMetadataSchemasValue2 = {};
53
+
54
+ export type AtsMetadata2 = AtsMetadataSchemasValue2 | string;
55
+
56
+ export type AtsMetadata1 = {};
57
+
58
+ export type Value =
59
+ | AtsMetadata1
60
+ | AtsMetadataSchemasValue2
61
+ | string
62
+ | AtsMetadataSchemasValue32
63
+ | number
64
+ | AtsMetadataSchemasValue42
65
+ | boolean
66
+ | AtsMetadataSchemasValue52
67
+ | Array<any>;
14
68
 
15
69
  export type AtsMetadata = {
16
- extraData?: ExtraData | undefined;
70
+ extraData?:
71
+ | One
72
+ | AtsMetadataSchemasExtraData22
73
+ | string
74
+ | AtsMetadataSchemasExtraData32
75
+ | number
76
+ | AtsMetadataSchemas2
77
+ | boolean
78
+ | AtsMetadataSchemasExtraData2
79
+ | Array<any>
80
+ | undefined;
17
81
  id?: string | undefined;
18
82
  key?: string | undefined;
19
83
  namespace?: string | undefined;
20
84
  slug?: string | undefined;
21
85
  type?: string | undefined;
22
- value?: Value | undefined;
86
+ value?:
87
+ | AtsMetadata1
88
+ | AtsMetadataSchemasValue2
89
+ | string
90
+ | AtsMetadataSchemasValue32
91
+ | number
92
+ | AtsMetadataSchemasValue42
93
+ | boolean
94
+ | AtsMetadataSchemasValue52
95
+ | Array<any>
96
+ | undefined;
23
97
  };
24
98
 
99
+ /** @internal */
100
+ export const AtsMetadataSchemasExtraData2$inboundSchema: z.ZodType<
101
+ AtsMetadataSchemasExtraData2,
102
+ z.ZodTypeDef,
103
+ unknown
104
+ > = z.object({});
105
+
106
+ /** @internal */
107
+ export type AtsMetadataSchemasExtraData2$Outbound = {};
108
+
109
+ /** @internal */
110
+ export const AtsMetadataSchemasExtraData2$outboundSchema: z.ZodType<
111
+ AtsMetadataSchemasExtraData2$Outbound,
112
+ z.ZodTypeDef,
113
+ AtsMetadataSchemasExtraData2
114
+ > = z.object({});
115
+
116
+ /**
117
+ * @internal
118
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
119
+ */
120
+ export namespace AtsMetadataSchemasExtraData2$ {
121
+ /** @deprecated use `AtsMetadataSchemasExtraData2$inboundSchema` instead. */
122
+ export const inboundSchema = AtsMetadataSchemasExtraData2$inboundSchema;
123
+ /** @deprecated use `AtsMetadataSchemasExtraData2$outboundSchema` instead. */
124
+ export const outboundSchema = AtsMetadataSchemasExtraData2$outboundSchema;
125
+ /** @deprecated use `AtsMetadataSchemasExtraData2$Outbound` instead. */
126
+ export type Outbound = AtsMetadataSchemasExtraData2$Outbound;
127
+ }
128
+
129
+ export function atsMetadataSchemasExtraData2ToJSON(
130
+ atsMetadataSchemasExtraData2: AtsMetadataSchemasExtraData2,
131
+ ): string {
132
+ return JSON.stringify(
133
+ AtsMetadataSchemasExtraData2$outboundSchema.parse(
134
+ atsMetadataSchemasExtraData2,
135
+ ),
136
+ );
137
+ }
138
+
139
+ export function atsMetadataSchemasExtraData2FromJSON(
140
+ jsonString: string,
141
+ ): SafeParseResult<AtsMetadataSchemasExtraData2, SDKValidationError> {
142
+ return safeParse(
143
+ jsonString,
144
+ (x) => AtsMetadataSchemasExtraData2$inboundSchema.parse(JSON.parse(x)),
145
+ `Failed to parse 'AtsMetadataSchemasExtraData2' from JSON`,
146
+ );
147
+ }
148
+
149
+ /** @internal */
150
+ export const Five$inboundSchema: z.ZodType<Five, z.ZodTypeDef, unknown> = z
151
+ .union([
152
+ z.lazy(() => AtsMetadataSchemasExtraData2$inboundSchema),
153
+ z.array(z.any()),
154
+ ]);
155
+
156
+ /** @internal */
157
+ export type Five$Outbound = AtsMetadataSchemasExtraData2$Outbound | Array<any>;
158
+
159
+ /** @internal */
160
+ export const Five$outboundSchema: z.ZodType<Five$Outbound, z.ZodTypeDef, Five> =
161
+ z.union([
162
+ z.lazy(() => AtsMetadataSchemasExtraData2$outboundSchema),
163
+ z.array(z.any()),
164
+ ]);
165
+
166
+ /**
167
+ * @internal
168
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
169
+ */
170
+ export namespace Five$ {
171
+ /** @deprecated use `Five$inboundSchema` instead. */
172
+ export const inboundSchema = Five$inboundSchema;
173
+ /** @deprecated use `Five$outboundSchema` instead. */
174
+ export const outboundSchema = Five$outboundSchema;
175
+ /** @deprecated use `Five$Outbound` instead. */
176
+ export type Outbound = Five$Outbound;
177
+ }
178
+
179
+ export function fiveToJSON(five: Five): string {
180
+ return JSON.stringify(Five$outboundSchema.parse(five));
181
+ }
182
+
183
+ export function fiveFromJSON(
184
+ jsonString: string,
185
+ ): SafeParseResult<Five, SDKValidationError> {
186
+ return safeParse(
187
+ jsonString,
188
+ (x) => Five$inboundSchema.parse(JSON.parse(x)),
189
+ `Failed to parse 'Five' from JSON`,
190
+ );
191
+ }
192
+
193
+ /** @internal */
194
+ export const AtsMetadataSchemas2$inboundSchema: z.ZodType<
195
+ AtsMetadataSchemas2,
196
+ z.ZodTypeDef,
197
+ unknown
198
+ > = z.object({});
199
+
200
+ /** @internal */
201
+ export type AtsMetadataSchemas2$Outbound = {};
202
+
203
+ /** @internal */
204
+ export const AtsMetadataSchemas2$outboundSchema: z.ZodType<
205
+ AtsMetadataSchemas2$Outbound,
206
+ z.ZodTypeDef,
207
+ AtsMetadataSchemas2
208
+ > = z.object({});
209
+
210
+ /**
211
+ * @internal
212
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
213
+ */
214
+ export namespace AtsMetadataSchemas2$ {
215
+ /** @deprecated use `AtsMetadataSchemas2$inboundSchema` instead. */
216
+ export const inboundSchema = AtsMetadataSchemas2$inboundSchema;
217
+ /** @deprecated use `AtsMetadataSchemas2$outboundSchema` instead. */
218
+ export const outboundSchema = AtsMetadataSchemas2$outboundSchema;
219
+ /** @deprecated use `AtsMetadataSchemas2$Outbound` instead. */
220
+ export type Outbound = AtsMetadataSchemas2$Outbound;
221
+ }
222
+
223
+ export function atsMetadataSchemas2ToJSON(
224
+ atsMetadataSchemas2: AtsMetadataSchemas2,
225
+ ): string {
226
+ return JSON.stringify(
227
+ AtsMetadataSchemas2$outboundSchema.parse(atsMetadataSchemas2),
228
+ );
229
+ }
230
+
231
+ export function atsMetadataSchemas2FromJSON(
232
+ jsonString: string,
233
+ ): SafeParseResult<AtsMetadataSchemas2, SDKValidationError> {
234
+ return safeParse(
235
+ jsonString,
236
+ (x) => AtsMetadataSchemas2$inboundSchema.parse(JSON.parse(x)),
237
+ `Failed to parse 'AtsMetadataSchemas2' from JSON`,
238
+ );
239
+ }
240
+
241
+ /** @internal */
242
+ export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
243
+ .union([z.lazy(() => AtsMetadataSchemas2$inboundSchema), z.boolean()]);
244
+
245
+ /** @internal */
246
+ export type Four$Outbound = AtsMetadataSchemas2$Outbound | boolean;
247
+
248
+ /** @internal */
249
+ export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
250
+ z.union([z.lazy(() => AtsMetadataSchemas2$outboundSchema), z.boolean()]);
251
+
252
+ /**
253
+ * @internal
254
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
255
+ */
256
+ export namespace Four$ {
257
+ /** @deprecated use `Four$inboundSchema` instead. */
258
+ export const inboundSchema = Four$inboundSchema;
259
+ /** @deprecated use `Four$outboundSchema` instead. */
260
+ export const outboundSchema = Four$outboundSchema;
261
+ /** @deprecated use `Four$Outbound` instead. */
262
+ export type Outbound = Four$Outbound;
263
+ }
264
+
265
+ export function fourToJSON(four: Four): string {
266
+ return JSON.stringify(Four$outboundSchema.parse(four));
267
+ }
268
+
269
+ export function fourFromJSON(
270
+ jsonString: string,
271
+ ): SafeParseResult<Four, SDKValidationError> {
272
+ return safeParse(
273
+ jsonString,
274
+ (x) => Four$inboundSchema.parse(JSON.parse(x)),
275
+ `Failed to parse 'Four' from JSON`,
276
+ );
277
+ }
278
+
279
+ /** @internal */
280
+ export const AtsMetadataSchemasExtraData32$inboundSchema: z.ZodType<
281
+ AtsMetadataSchemasExtraData32,
282
+ z.ZodTypeDef,
283
+ unknown
284
+ > = z.object({});
285
+
286
+ /** @internal */
287
+ export type AtsMetadataSchemasExtraData32$Outbound = {};
288
+
289
+ /** @internal */
290
+ export const AtsMetadataSchemasExtraData32$outboundSchema: z.ZodType<
291
+ AtsMetadataSchemasExtraData32$Outbound,
292
+ z.ZodTypeDef,
293
+ AtsMetadataSchemasExtraData32
294
+ > = z.object({});
295
+
296
+ /**
297
+ * @internal
298
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
299
+ */
300
+ export namespace AtsMetadataSchemasExtraData32$ {
301
+ /** @deprecated use `AtsMetadataSchemasExtraData32$inboundSchema` instead. */
302
+ export const inboundSchema = AtsMetadataSchemasExtraData32$inboundSchema;
303
+ /** @deprecated use `AtsMetadataSchemasExtraData32$outboundSchema` instead. */
304
+ export const outboundSchema = AtsMetadataSchemasExtraData32$outboundSchema;
305
+ /** @deprecated use `AtsMetadataSchemasExtraData32$Outbound` instead. */
306
+ export type Outbound = AtsMetadataSchemasExtraData32$Outbound;
307
+ }
308
+
309
+ export function atsMetadataSchemasExtraData32ToJSON(
310
+ atsMetadataSchemasExtraData32: AtsMetadataSchemasExtraData32,
311
+ ): string {
312
+ return JSON.stringify(
313
+ AtsMetadataSchemasExtraData32$outboundSchema.parse(
314
+ atsMetadataSchemasExtraData32,
315
+ ),
316
+ );
317
+ }
318
+
319
+ export function atsMetadataSchemasExtraData32FromJSON(
320
+ jsonString: string,
321
+ ): SafeParseResult<AtsMetadataSchemasExtraData32, SDKValidationError> {
322
+ return safeParse(
323
+ jsonString,
324
+ (x) => AtsMetadataSchemasExtraData32$inboundSchema.parse(JSON.parse(x)),
325
+ `Failed to parse 'AtsMetadataSchemasExtraData32' from JSON`,
326
+ );
327
+ }
328
+
329
+ /** @internal */
330
+ export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
331
+ .union([
332
+ z.lazy(() => AtsMetadataSchemasExtraData32$inboundSchema),
333
+ z.number(),
334
+ ]);
335
+
336
+ /** @internal */
337
+ export type Three$Outbound = AtsMetadataSchemasExtraData32$Outbound | number;
338
+
339
+ /** @internal */
340
+ export const Three$outboundSchema: z.ZodType<
341
+ Three$Outbound,
342
+ z.ZodTypeDef,
343
+ Three
344
+ > = z.union([
345
+ z.lazy(() => AtsMetadataSchemasExtraData32$outboundSchema),
346
+ z.number(),
347
+ ]);
348
+
349
+ /**
350
+ * @internal
351
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
352
+ */
353
+ export namespace Three$ {
354
+ /** @deprecated use `Three$inboundSchema` instead. */
355
+ export const inboundSchema = Three$inboundSchema;
356
+ /** @deprecated use `Three$outboundSchema` instead. */
357
+ export const outboundSchema = Three$outboundSchema;
358
+ /** @deprecated use `Three$Outbound` instead. */
359
+ export type Outbound = Three$Outbound;
360
+ }
361
+
362
+ export function threeToJSON(three: Three): string {
363
+ return JSON.stringify(Three$outboundSchema.parse(three));
364
+ }
365
+
366
+ export function threeFromJSON(
367
+ jsonString: string,
368
+ ): SafeParseResult<Three, SDKValidationError> {
369
+ return safeParse(
370
+ jsonString,
371
+ (x) => Three$inboundSchema.parse(JSON.parse(x)),
372
+ `Failed to parse 'Three' from JSON`,
373
+ );
374
+ }
375
+
376
+ /** @internal */
377
+ export const AtsMetadataSchemasExtraData22$inboundSchema: z.ZodType<
378
+ AtsMetadataSchemasExtraData22,
379
+ z.ZodTypeDef,
380
+ unknown
381
+ > = z.object({});
382
+
383
+ /** @internal */
384
+ export type AtsMetadataSchemasExtraData22$Outbound = {};
385
+
386
+ /** @internal */
387
+ export const AtsMetadataSchemasExtraData22$outboundSchema: z.ZodType<
388
+ AtsMetadataSchemasExtraData22$Outbound,
389
+ z.ZodTypeDef,
390
+ AtsMetadataSchemasExtraData22
391
+ > = z.object({});
392
+
393
+ /**
394
+ * @internal
395
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
396
+ */
397
+ export namespace AtsMetadataSchemasExtraData22$ {
398
+ /** @deprecated use `AtsMetadataSchemasExtraData22$inboundSchema` instead. */
399
+ export const inboundSchema = AtsMetadataSchemasExtraData22$inboundSchema;
400
+ /** @deprecated use `AtsMetadataSchemasExtraData22$outboundSchema` instead. */
401
+ export const outboundSchema = AtsMetadataSchemasExtraData22$outboundSchema;
402
+ /** @deprecated use `AtsMetadataSchemasExtraData22$Outbound` instead. */
403
+ export type Outbound = AtsMetadataSchemasExtraData22$Outbound;
404
+ }
405
+
406
+ export function atsMetadataSchemasExtraData22ToJSON(
407
+ atsMetadataSchemasExtraData22: AtsMetadataSchemasExtraData22,
408
+ ): string {
409
+ return JSON.stringify(
410
+ AtsMetadataSchemasExtraData22$outboundSchema.parse(
411
+ atsMetadataSchemasExtraData22,
412
+ ),
413
+ );
414
+ }
415
+
416
+ export function atsMetadataSchemasExtraData22FromJSON(
417
+ jsonString: string,
418
+ ): SafeParseResult<AtsMetadataSchemasExtraData22, SDKValidationError> {
419
+ return safeParse(
420
+ jsonString,
421
+ (x) => AtsMetadataSchemasExtraData22$inboundSchema.parse(JSON.parse(x)),
422
+ `Failed to parse 'AtsMetadataSchemasExtraData22' from JSON`,
423
+ );
424
+ }
425
+
426
+ /** @internal */
427
+ export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z.union(
428
+ [z.lazy(() => AtsMetadataSchemasExtraData22$inboundSchema), z.string()],
429
+ );
430
+
431
+ /** @internal */
432
+ export type Two$Outbound = AtsMetadataSchemasExtraData22$Outbound | string;
433
+
434
+ /** @internal */
435
+ export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
436
+ .union([
437
+ z.lazy(() => AtsMetadataSchemasExtraData22$outboundSchema),
438
+ z.string(),
439
+ ]);
440
+
441
+ /**
442
+ * @internal
443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
444
+ */
445
+ export namespace Two$ {
446
+ /** @deprecated use `Two$inboundSchema` instead. */
447
+ export const inboundSchema = Two$inboundSchema;
448
+ /** @deprecated use `Two$outboundSchema` instead. */
449
+ export const outboundSchema = Two$outboundSchema;
450
+ /** @deprecated use `Two$Outbound` instead. */
451
+ export type Outbound = Two$Outbound;
452
+ }
453
+
454
+ export function twoToJSON(two: Two): string {
455
+ return JSON.stringify(Two$outboundSchema.parse(two));
456
+ }
457
+
458
+ export function twoFromJSON(
459
+ jsonString: string,
460
+ ): SafeParseResult<Two, SDKValidationError> {
461
+ return safeParse(
462
+ jsonString,
463
+ (x) => Two$inboundSchema.parse(JSON.parse(x)),
464
+ `Failed to parse 'Two' from JSON`,
465
+ );
466
+ }
467
+
468
+ /** @internal */
469
+ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
470
+ .object({});
471
+
472
+ /** @internal */
473
+ export type One$Outbound = {};
474
+
475
+ /** @internal */
476
+ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
477
+ .object({});
478
+
479
+ /**
480
+ * @internal
481
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
482
+ */
483
+ export namespace One$ {
484
+ /** @deprecated use `One$inboundSchema` instead. */
485
+ export const inboundSchema = One$inboundSchema;
486
+ /** @deprecated use `One$outboundSchema` instead. */
487
+ export const outboundSchema = One$outboundSchema;
488
+ /** @deprecated use `One$Outbound` instead. */
489
+ export type Outbound = One$Outbound;
490
+ }
491
+
492
+ export function oneToJSON(one: One): string {
493
+ return JSON.stringify(One$outboundSchema.parse(one));
494
+ }
495
+
496
+ export function oneFromJSON(
497
+ jsonString: string,
498
+ ): SafeParseResult<One, SDKValidationError> {
499
+ return safeParse(
500
+ jsonString,
501
+ (x) => One$inboundSchema.parse(JSON.parse(x)),
502
+ `Failed to parse 'One' from JSON`,
503
+ );
504
+ }
505
+
25
506
  /** @internal */
26
507
  export const ExtraData$inboundSchema: z.ZodType<
27
508
  ExtraData,
28
509
  z.ZodTypeDef,
29
510
  unknown
30
- > = z.object({});
511
+ > = z.union([
512
+ z.lazy(() => One$inboundSchema),
513
+ z.union([
514
+ z.lazy(() => AtsMetadataSchemasExtraData22$inboundSchema),
515
+ z.string(),
516
+ ]),
517
+ z.union([
518
+ z.lazy(() => AtsMetadataSchemasExtraData32$inboundSchema),
519
+ z.number(),
520
+ ]),
521
+ z.union([z.lazy(() => AtsMetadataSchemas2$inboundSchema), z.boolean()]),
522
+ z.union([
523
+ z.lazy(() => AtsMetadataSchemasExtraData2$inboundSchema),
524
+ z.array(z.any()),
525
+ ]),
526
+ ]);
31
527
 
32
528
  /** @internal */
33
- export type ExtraData$Outbound = {};
529
+ export type ExtraData$Outbound =
530
+ | One$Outbound
531
+ | AtsMetadataSchemasExtraData22$Outbound
532
+ | string
533
+ | AtsMetadataSchemasExtraData32$Outbound
534
+ | number
535
+ | AtsMetadataSchemas2$Outbound
536
+ | boolean
537
+ | AtsMetadataSchemasExtraData2$Outbound
538
+ | Array<any>;
34
539
 
35
540
  /** @internal */
36
541
  export const ExtraData$outboundSchema: z.ZodType<
37
542
  ExtraData$Outbound,
38
543
  z.ZodTypeDef,
39
544
  ExtraData
40
- > = z.object({});
545
+ > = z.union([
546
+ z.lazy(() => One$outboundSchema),
547
+ z.union([
548
+ z.lazy(() => AtsMetadataSchemasExtraData22$outboundSchema),
549
+ z.string(),
550
+ ]),
551
+ z.union([
552
+ z.lazy(() => AtsMetadataSchemasExtraData32$outboundSchema),
553
+ z.number(),
554
+ ]),
555
+ z.union([z.lazy(() => AtsMetadataSchemas2$outboundSchema), z.boolean()]),
556
+ z.union([
557
+ z.lazy(() => AtsMetadataSchemasExtraData2$outboundSchema),
558
+ z.array(z.any()),
559
+ ]),
560
+ ]);
41
561
 
42
562
  /**
43
563
  * @internal
@@ -66,19 +586,492 @@ export function extraDataFromJSON(
66
586
  );
67
587
  }
68
588
 
589
+ /** @internal */
590
+ export const AtsMetadataSchemasValue52$inboundSchema: z.ZodType<
591
+ AtsMetadataSchemasValue52,
592
+ z.ZodTypeDef,
593
+ unknown
594
+ > = z.object({});
595
+
596
+ /** @internal */
597
+ export type AtsMetadataSchemasValue52$Outbound = {};
598
+
599
+ /** @internal */
600
+ export const AtsMetadataSchemasValue52$outboundSchema: z.ZodType<
601
+ AtsMetadataSchemasValue52$Outbound,
602
+ z.ZodTypeDef,
603
+ AtsMetadataSchemasValue52
604
+ > = z.object({});
605
+
606
+ /**
607
+ * @internal
608
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
609
+ */
610
+ export namespace AtsMetadataSchemasValue52$ {
611
+ /** @deprecated use `AtsMetadataSchemasValue52$inboundSchema` instead. */
612
+ export const inboundSchema = AtsMetadataSchemasValue52$inboundSchema;
613
+ /** @deprecated use `AtsMetadataSchemasValue52$outboundSchema` instead. */
614
+ export const outboundSchema = AtsMetadataSchemasValue52$outboundSchema;
615
+ /** @deprecated use `AtsMetadataSchemasValue52$Outbound` instead. */
616
+ export type Outbound = AtsMetadataSchemasValue52$Outbound;
617
+ }
618
+
619
+ export function atsMetadataSchemasValue52ToJSON(
620
+ atsMetadataSchemasValue52: AtsMetadataSchemasValue52,
621
+ ): string {
622
+ return JSON.stringify(
623
+ AtsMetadataSchemasValue52$outboundSchema.parse(atsMetadataSchemasValue52),
624
+ );
625
+ }
626
+
627
+ export function atsMetadataSchemasValue52FromJSON(
628
+ jsonString: string,
629
+ ): SafeParseResult<AtsMetadataSchemasValue52, SDKValidationError> {
630
+ return safeParse(
631
+ jsonString,
632
+ (x) => AtsMetadataSchemasValue52$inboundSchema.parse(JSON.parse(x)),
633
+ `Failed to parse 'AtsMetadataSchemasValue52' from JSON`,
634
+ );
635
+ }
636
+
637
+ /** @internal */
638
+ export const AtsMetadata5$inboundSchema: z.ZodType<
639
+ AtsMetadata5,
640
+ z.ZodTypeDef,
641
+ unknown
642
+ > = z.union([
643
+ z.lazy(() => AtsMetadataSchemasValue52$inboundSchema),
644
+ z.array(z.any()),
645
+ ]);
646
+
647
+ /** @internal */
648
+ export type AtsMetadata5$Outbound =
649
+ | AtsMetadataSchemasValue52$Outbound
650
+ | Array<any>;
651
+
652
+ /** @internal */
653
+ export const AtsMetadata5$outboundSchema: z.ZodType<
654
+ AtsMetadata5$Outbound,
655
+ z.ZodTypeDef,
656
+ AtsMetadata5
657
+ > = z.union([
658
+ z.lazy(() => AtsMetadataSchemasValue52$outboundSchema),
659
+ z.array(z.any()),
660
+ ]);
661
+
662
+ /**
663
+ * @internal
664
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
665
+ */
666
+ export namespace AtsMetadata5$ {
667
+ /** @deprecated use `AtsMetadata5$inboundSchema` instead. */
668
+ export const inboundSchema = AtsMetadata5$inboundSchema;
669
+ /** @deprecated use `AtsMetadata5$outboundSchema` instead. */
670
+ export const outboundSchema = AtsMetadata5$outboundSchema;
671
+ /** @deprecated use `AtsMetadata5$Outbound` instead. */
672
+ export type Outbound = AtsMetadata5$Outbound;
673
+ }
674
+
675
+ export function atsMetadata5ToJSON(atsMetadata5: AtsMetadata5): string {
676
+ return JSON.stringify(AtsMetadata5$outboundSchema.parse(atsMetadata5));
677
+ }
678
+
679
+ export function atsMetadata5FromJSON(
680
+ jsonString: string,
681
+ ): SafeParseResult<AtsMetadata5, SDKValidationError> {
682
+ return safeParse(
683
+ jsonString,
684
+ (x) => AtsMetadata5$inboundSchema.parse(JSON.parse(x)),
685
+ `Failed to parse 'AtsMetadata5' from JSON`,
686
+ );
687
+ }
688
+
689
+ /** @internal */
690
+ export const AtsMetadataSchemasValue42$inboundSchema: z.ZodType<
691
+ AtsMetadataSchemasValue42,
692
+ z.ZodTypeDef,
693
+ unknown
694
+ > = z.object({});
695
+
696
+ /** @internal */
697
+ export type AtsMetadataSchemasValue42$Outbound = {};
698
+
699
+ /** @internal */
700
+ export const AtsMetadataSchemasValue42$outboundSchema: z.ZodType<
701
+ AtsMetadataSchemasValue42$Outbound,
702
+ z.ZodTypeDef,
703
+ AtsMetadataSchemasValue42
704
+ > = z.object({});
705
+
706
+ /**
707
+ * @internal
708
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
709
+ */
710
+ export namespace AtsMetadataSchemasValue42$ {
711
+ /** @deprecated use `AtsMetadataSchemasValue42$inboundSchema` instead. */
712
+ export const inboundSchema = AtsMetadataSchemasValue42$inboundSchema;
713
+ /** @deprecated use `AtsMetadataSchemasValue42$outboundSchema` instead. */
714
+ export const outboundSchema = AtsMetadataSchemasValue42$outboundSchema;
715
+ /** @deprecated use `AtsMetadataSchemasValue42$Outbound` instead. */
716
+ export type Outbound = AtsMetadataSchemasValue42$Outbound;
717
+ }
718
+
719
+ export function atsMetadataSchemasValue42ToJSON(
720
+ atsMetadataSchemasValue42: AtsMetadataSchemasValue42,
721
+ ): string {
722
+ return JSON.stringify(
723
+ AtsMetadataSchemasValue42$outboundSchema.parse(atsMetadataSchemasValue42),
724
+ );
725
+ }
726
+
727
+ export function atsMetadataSchemasValue42FromJSON(
728
+ jsonString: string,
729
+ ): SafeParseResult<AtsMetadataSchemasValue42, SDKValidationError> {
730
+ return safeParse(
731
+ jsonString,
732
+ (x) => AtsMetadataSchemasValue42$inboundSchema.parse(JSON.parse(x)),
733
+ `Failed to parse 'AtsMetadataSchemasValue42' from JSON`,
734
+ );
735
+ }
736
+
737
+ /** @internal */
738
+ export const AtsMetadata4$inboundSchema: z.ZodType<
739
+ AtsMetadata4,
740
+ z.ZodTypeDef,
741
+ unknown
742
+ > = z.union([
743
+ z.lazy(() => AtsMetadataSchemasValue42$inboundSchema),
744
+ z.boolean(),
745
+ ]);
746
+
747
+ /** @internal */
748
+ export type AtsMetadata4$Outbound =
749
+ | AtsMetadataSchemasValue42$Outbound
750
+ | boolean;
751
+
752
+ /** @internal */
753
+ export const AtsMetadata4$outboundSchema: z.ZodType<
754
+ AtsMetadata4$Outbound,
755
+ z.ZodTypeDef,
756
+ AtsMetadata4
757
+ > = z.union([
758
+ z.lazy(() => AtsMetadataSchemasValue42$outboundSchema),
759
+ z.boolean(),
760
+ ]);
761
+
762
+ /**
763
+ * @internal
764
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
765
+ */
766
+ export namespace AtsMetadata4$ {
767
+ /** @deprecated use `AtsMetadata4$inboundSchema` instead. */
768
+ export const inboundSchema = AtsMetadata4$inboundSchema;
769
+ /** @deprecated use `AtsMetadata4$outboundSchema` instead. */
770
+ export const outboundSchema = AtsMetadata4$outboundSchema;
771
+ /** @deprecated use `AtsMetadata4$Outbound` instead. */
772
+ export type Outbound = AtsMetadata4$Outbound;
773
+ }
774
+
775
+ export function atsMetadata4ToJSON(atsMetadata4: AtsMetadata4): string {
776
+ return JSON.stringify(AtsMetadata4$outboundSchema.parse(atsMetadata4));
777
+ }
778
+
779
+ export function atsMetadata4FromJSON(
780
+ jsonString: string,
781
+ ): SafeParseResult<AtsMetadata4, SDKValidationError> {
782
+ return safeParse(
783
+ jsonString,
784
+ (x) => AtsMetadata4$inboundSchema.parse(JSON.parse(x)),
785
+ `Failed to parse 'AtsMetadata4' from JSON`,
786
+ );
787
+ }
788
+
789
+ /** @internal */
790
+ export const AtsMetadataSchemasValue32$inboundSchema: z.ZodType<
791
+ AtsMetadataSchemasValue32,
792
+ z.ZodTypeDef,
793
+ unknown
794
+ > = z.object({});
795
+
796
+ /** @internal */
797
+ export type AtsMetadataSchemasValue32$Outbound = {};
798
+
799
+ /** @internal */
800
+ export const AtsMetadataSchemasValue32$outboundSchema: z.ZodType<
801
+ AtsMetadataSchemasValue32$Outbound,
802
+ z.ZodTypeDef,
803
+ AtsMetadataSchemasValue32
804
+ > = z.object({});
805
+
806
+ /**
807
+ * @internal
808
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
809
+ */
810
+ export namespace AtsMetadataSchemasValue32$ {
811
+ /** @deprecated use `AtsMetadataSchemasValue32$inboundSchema` instead. */
812
+ export const inboundSchema = AtsMetadataSchemasValue32$inboundSchema;
813
+ /** @deprecated use `AtsMetadataSchemasValue32$outboundSchema` instead. */
814
+ export const outboundSchema = AtsMetadataSchemasValue32$outboundSchema;
815
+ /** @deprecated use `AtsMetadataSchemasValue32$Outbound` instead. */
816
+ export type Outbound = AtsMetadataSchemasValue32$Outbound;
817
+ }
818
+
819
+ export function atsMetadataSchemasValue32ToJSON(
820
+ atsMetadataSchemasValue32: AtsMetadataSchemasValue32,
821
+ ): string {
822
+ return JSON.stringify(
823
+ AtsMetadataSchemasValue32$outboundSchema.parse(atsMetadataSchemasValue32),
824
+ );
825
+ }
826
+
827
+ export function atsMetadataSchemasValue32FromJSON(
828
+ jsonString: string,
829
+ ): SafeParseResult<AtsMetadataSchemasValue32, SDKValidationError> {
830
+ return safeParse(
831
+ jsonString,
832
+ (x) => AtsMetadataSchemasValue32$inboundSchema.parse(JSON.parse(x)),
833
+ `Failed to parse 'AtsMetadataSchemasValue32' from JSON`,
834
+ );
835
+ }
836
+
837
+ /** @internal */
838
+ export const AtsMetadata3$inboundSchema: z.ZodType<
839
+ AtsMetadata3,
840
+ z.ZodTypeDef,
841
+ unknown
842
+ > = z.union([
843
+ z.lazy(() => AtsMetadataSchemasValue32$inboundSchema),
844
+ z.number(),
845
+ ]);
846
+
847
+ /** @internal */
848
+ export type AtsMetadata3$Outbound = AtsMetadataSchemasValue32$Outbound | number;
849
+
850
+ /** @internal */
851
+ export const AtsMetadata3$outboundSchema: z.ZodType<
852
+ AtsMetadata3$Outbound,
853
+ z.ZodTypeDef,
854
+ AtsMetadata3
855
+ > = z.union([
856
+ z.lazy(() => AtsMetadataSchemasValue32$outboundSchema),
857
+ z.number(),
858
+ ]);
859
+
860
+ /**
861
+ * @internal
862
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
863
+ */
864
+ export namespace AtsMetadata3$ {
865
+ /** @deprecated use `AtsMetadata3$inboundSchema` instead. */
866
+ export const inboundSchema = AtsMetadata3$inboundSchema;
867
+ /** @deprecated use `AtsMetadata3$outboundSchema` instead. */
868
+ export const outboundSchema = AtsMetadata3$outboundSchema;
869
+ /** @deprecated use `AtsMetadata3$Outbound` instead. */
870
+ export type Outbound = AtsMetadata3$Outbound;
871
+ }
872
+
873
+ export function atsMetadata3ToJSON(atsMetadata3: AtsMetadata3): string {
874
+ return JSON.stringify(AtsMetadata3$outboundSchema.parse(atsMetadata3));
875
+ }
876
+
877
+ export function atsMetadata3FromJSON(
878
+ jsonString: string,
879
+ ): SafeParseResult<AtsMetadata3, SDKValidationError> {
880
+ return safeParse(
881
+ jsonString,
882
+ (x) => AtsMetadata3$inboundSchema.parse(JSON.parse(x)),
883
+ `Failed to parse 'AtsMetadata3' from JSON`,
884
+ );
885
+ }
886
+
887
+ /** @internal */
888
+ export const AtsMetadataSchemasValue2$inboundSchema: z.ZodType<
889
+ AtsMetadataSchemasValue2,
890
+ z.ZodTypeDef,
891
+ unknown
892
+ > = z.object({});
893
+
894
+ /** @internal */
895
+ export type AtsMetadataSchemasValue2$Outbound = {};
896
+
897
+ /** @internal */
898
+ export const AtsMetadataSchemasValue2$outboundSchema: z.ZodType<
899
+ AtsMetadataSchemasValue2$Outbound,
900
+ z.ZodTypeDef,
901
+ AtsMetadataSchemasValue2
902
+ > = z.object({});
903
+
904
+ /**
905
+ * @internal
906
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
907
+ */
908
+ export namespace AtsMetadataSchemasValue2$ {
909
+ /** @deprecated use `AtsMetadataSchemasValue2$inboundSchema` instead. */
910
+ export const inboundSchema = AtsMetadataSchemasValue2$inboundSchema;
911
+ /** @deprecated use `AtsMetadataSchemasValue2$outboundSchema` instead. */
912
+ export const outboundSchema = AtsMetadataSchemasValue2$outboundSchema;
913
+ /** @deprecated use `AtsMetadataSchemasValue2$Outbound` instead. */
914
+ export type Outbound = AtsMetadataSchemasValue2$Outbound;
915
+ }
916
+
917
+ export function atsMetadataSchemasValue2ToJSON(
918
+ atsMetadataSchemasValue2: AtsMetadataSchemasValue2,
919
+ ): string {
920
+ return JSON.stringify(
921
+ AtsMetadataSchemasValue2$outboundSchema.parse(atsMetadataSchemasValue2),
922
+ );
923
+ }
924
+
925
+ export function atsMetadataSchemasValue2FromJSON(
926
+ jsonString: string,
927
+ ): SafeParseResult<AtsMetadataSchemasValue2, SDKValidationError> {
928
+ return safeParse(
929
+ jsonString,
930
+ (x) => AtsMetadataSchemasValue2$inboundSchema.parse(JSON.parse(x)),
931
+ `Failed to parse 'AtsMetadataSchemasValue2' from JSON`,
932
+ );
933
+ }
934
+
935
+ /** @internal */
936
+ export const AtsMetadata2$inboundSchema: z.ZodType<
937
+ AtsMetadata2,
938
+ z.ZodTypeDef,
939
+ unknown
940
+ > = z.union([z.lazy(() => AtsMetadataSchemasValue2$inboundSchema), z.string()]);
941
+
942
+ /** @internal */
943
+ export type AtsMetadata2$Outbound = AtsMetadataSchemasValue2$Outbound | string;
944
+
945
+ /** @internal */
946
+ export const AtsMetadata2$outboundSchema: z.ZodType<
947
+ AtsMetadata2$Outbound,
948
+ z.ZodTypeDef,
949
+ AtsMetadata2
950
+ > = z.union([
951
+ z.lazy(() => AtsMetadataSchemasValue2$outboundSchema),
952
+ z.string(),
953
+ ]);
954
+
955
+ /**
956
+ * @internal
957
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
958
+ */
959
+ export namespace AtsMetadata2$ {
960
+ /** @deprecated use `AtsMetadata2$inboundSchema` instead. */
961
+ export const inboundSchema = AtsMetadata2$inboundSchema;
962
+ /** @deprecated use `AtsMetadata2$outboundSchema` instead. */
963
+ export const outboundSchema = AtsMetadata2$outboundSchema;
964
+ /** @deprecated use `AtsMetadata2$Outbound` instead. */
965
+ export type Outbound = AtsMetadata2$Outbound;
966
+ }
967
+
968
+ export function atsMetadata2ToJSON(atsMetadata2: AtsMetadata2): string {
969
+ return JSON.stringify(AtsMetadata2$outboundSchema.parse(atsMetadata2));
970
+ }
971
+
972
+ export function atsMetadata2FromJSON(
973
+ jsonString: string,
974
+ ): SafeParseResult<AtsMetadata2, SDKValidationError> {
975
+ return safeParse(
976
+ jsonString,
977
+ (x) => AtsMetadata2$inboundSchema.parse(JSON.parse(x)),
978
+ `Failed to parse 'AtsMetadata2' from JSON`,
979
+ );
980
+ }
981
+
982
+ /** @internal */
983
+ export const AtsMetadata1$inboundSchema: z.ZodType<
984
+ AtsMetadata1,
985
+ z.ZodTypeDef,
986
+ unknown
987
+ > = z.object({});
988
+
989
+ /** @internal */
990
+ export type AtsMetadata1$Outbound = {};
991
+
992
+ /** @internal */
993
+ export const AtsMetadata1$outboundSchema: z.ZodType<
994
+ AtsMetadata1$Outbound,
995
+ z.ZodTypeDef,
996
+ AtsMetadata1
997
+ > = z.object({});
998
+
999
+ /**
1000
+ * @internal
1001
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1002
+ */
1003
+ export namespace AtsMetadata1$ {
1004
+ /** @deprecated use `AtsMetadata1$inboundSchema` instead. */
1005
+ export const inboundSchema = AtsMetadata1$inboundSchema;
1006
+ /** @deprecated use `AtsMetadata1$outboundSchema` instead. */
1007
+ export const outboundSchema = AtsMetadata1$outboundSchema;
1008
+ /** @deprecated use `AtsMetadata1$Outbound` instead. */
1009
+ export type Outbound = AtsMetadata1$Outbound;
1010
+ }
1011
+
1012
+ export function atsMetadata1ToJSON(atsMetadata1: AtsMetadata1): string {
1013
+ return JSON.stringify(AtsMetadata1$outboundSchema.parse(atsMetadata1));
1014
+ }
1015
+
1016
+ export function atsMetadata1FromJSON(
1017
+ jsonString: string,
1018
+ ): SafeParseResult<AtsMetadata1, SDKValidationError> {
1019
+ return safeParse(
1020
+ jsonString,
1021
+ (x) => AtsMetadata1$inboundSchema.parse(JSON.parse(x)),
1022
+ `Failed to parse 'AtsMetadata1' from JSON`,
1023
+ );
1024
+ }
1025
+
69
1026
  /** @internal */
70
1027
  export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
71
- .object({});
1028
+ .union([
1029
+ z.lazy(() => AtsMetadata1$inboundSchema),
1030
+ z.union([z.lazy(() => AtsMetadataSchemasValue2$inboundSchema), z.string()]),
1031
+ z.union([
1032
+ z.lazy(() => AtsMetadataSchemasValue32$inboundSchema),
1033
+ z.number(),
1034
+ ]),
1035
+ z.union([
1036
+ z.lazy(() => AtsMetadataSchemasValue42$inboundSchema),
1037
+ z.boolean(),
1038
+ ]),
1039
+ z.union([
1040
+ z.lazy(() => AtsMetadataSchemasValue52$inboundSchema),
1041
+ z.array(z.any()),
1042
+ ]),
1043
+ ]);
72
1044
 
73
1045
  /** @internal */
74
- export type Value$Outbound = {};
1046
+ export type Value$Outbound =
1047
+ | AtsMetadata1$Outbound
1048
+ | AtsMetadataSchemasValue2$Outbound
1049
+ | string
1050
+ | AtsMetadataSchemasValue32$Outbound
1051
+ | number
1052
+ | AtsMetadataSchemasValue42$Outbound
1053
+ | boolean
1054
+ | AtsMetadataSchemasValue52$Outbound
1055
+ | Array<any>;
75
1056
 
76
1057
  /** @internal */
77
1058
  export const Value$outboundSchema: z.ZodType<
78
1059
  Value$Outbound,
79
1060
  z.ZodTypeDef,
80
1061
  Value
81
- > = z.object({});
1062
+ > = z.union([
1063
+ z.lazy(() => AtsMetadata1$outboundSchema),
1064
+ z.union([z.lazy(() => AtsMetadataSchemasValue2$outboundSchema), z.string()]),
1065
+ z.union([z.lazy(() => AtsMetadataSchemasValue32$outboundSchema), z.number()]),
1066
+ z.union([
1067
+ z.lazy(() => AtsMetadataSchemasValue42$outboundSchema),
1068
+ z.boolean(),
1069
+ ]),
1070
+ z.union([
1071
+ z.lazy(() => AtsMetadataSchemasValue52$outboundSchema),
1072
+ z.array(z.any()),
1073
+ ]),
1074
+ ]);
82
1075
 
83
1076
  /**
84
1077
  * @internal
@@ -113,13 +1106,43 @@ export const AtsMetadata$inboundSchema: z.ZodType<
113
1106
  z.ZodTypeDef,
114
1107
  unknown
115
1108
  > = z.object({
116
- extra_data: z.lazy(() => ExtraData$inboundSchema).optional(),
1109
+ extra_data: z.union([
1110
+ z.lazy(() => One$inboundSchema),
1111
+ z.union([
1112
+ z.lazy(() => AtsMetadataSchemasExtraData22$inboundSchema),
1113
+ z.string(),
1114
+ ]),
1115
+ z.union([
1116
+ z.lazy(() => AtsMetadataSchemasExtraData32$inboundSchema),
1117
+ z.number(),
1118
+ ]),
1119
+ z.union([z.lazy(() => AtsMetadataSchemas2$inboundSchema), z.boolean()]),
1120
+ z.union([
1121
+ z.lazy(() => AtsMetadataSchemasExtraData2$inboundSchema),
1122
+ z.array(z.any()),
1123
+ ]),
1124
+ ]).optional(),
117
1125
  id: z.string().optional(),
118
1126
  key: z.string().optional(),
119
1127
  namespace: z.string().optional(),
120
1128
  slug: z.string().optional(),
121
1129
  type: z.string().optional(),
122
- value: z.lazy(() => Value$inboundSchema).optional(),
1130
+ value: z.union([
1131
+ z.lazy(() => AtsMetadata1$inboundSchema),
1132
+ z.union([z.lazy(() => AtsMetadataSchemasValue2$inboundSchema), z.string()]),
1133
+ z.union([
1134
+ z.lazy(() => AtsMetadataSchemasValue32$inboundSchema),
1135
+ z.number(),
1136
+ ]),
1137
+ z.union([
1138
+ z.lazy(() => AtsMetadataSchemasValue42$inboundSchema),
1139
+ z.boolean(),
1140
+ ]),
1141
+ z.union([
1142
+ z.lazy(() => AtsMetadataSchemasValue52$inboundSchema),
1143
+ z.array(z.any()),
1144
+ ]),
1145
+ ]).optional(),
123
1146
  }).transform((v) => {
124
1147
  return remap$(v, {
125
1148
  "extra_data": "extraData",
@@ -128,13 +1151,33 @@ export const AtsMetadata$inboundSchema: z.ZodType<
128
1151
 
129
1152
  /** @internal */
130
1153
  export type AtsMetadata$Outbound = {
131
- extra_data?: ExtraData$Outbound | undefined;
1154
+ extra_data?:
1155
+ | One$Outbound
1156
+ | AtsMetadataSchemasExtraData22$Outbound
1157
+ | string
1158
+ | AtsMetadataSchemasExtraData32$Outbound
1159
+ | number
1160
+ | AtsMetadataSchemas2$Outbound
1161
+ | boolean
1162
+ | AtsMetadataSchemasExtraData2$Outbound
1163
+ | Array<any>
1164
+ | undefined;
132
1165
  id?: string | undefined;
133
1166
  key?: string | undefined;
134
1167
  namespace?: string | undefined;
135
1168
  slug?: string | undefined;
136
1169
  type?: string | undefined;
137
- value?: Value$Outbound | undefined;
1170
+ value?:
1171
+ | AtsMetadata1$Outbound
1172
+ | AtsMetadataSchemasValue2$Outbound
1173
+ | string
1174
+ | AtsMetadataSchemasValue32$Outbound
1175
+ | number
1176
+ | AtsMetadataSchemasValue42$Outbound
1177
+ | boolean
1178
+ | AtsMetadataSchemasValue52$Outbound
1179
+ | Array<any>
1180
+ | undefined;
138
1181
  };
139
1182
 
140
1183
  /** @internal */
@@ -143,13 +1186,46 @@ export const AtsMetadata$outboundSchema: z.ZodType<
143
1186
  z.ZodTypeDef,
144
1187
  AtsMetadata
145
1188
  > = z.object({
146
- extraData: z.lazy(() => ExtraData$outboundSchema).optional(),
1189
+ extraData: z.union([
1190
+ z.lazy(() => One$outboundSchema),
1191
+ z.union([
1192
+ z.lazy(() => AtsMetadataSchemasExtraData22$outboundSchema),
1193
+ z.string(),
1194
+ ]),
1195
+ z.union([
1196
+ z.lazy(() => AtsMetadataSchemasExtraData32$outboundSchema),
1197
+ z.number(),
1198
+ ]),
1199
+ z.union([z.lazy(() => AtsMetadataSchemas2$outboundSchema), z.boolean()]),
1200
+ z.union([
1201
+ z.lazy(() => AtsMetadataSchemasExtraData2$outboundSchema),
1202
+ z.array(z.any()),
1203
+ ]),
1204
+ ]).optional(),
147
1205
  id: z.string().optional(),
148
1206
  key: z.string().optional(),
149
1207
  namespace: z.string().optional(),
150
1208
  slug: z.string().optional(),
151
1209
  type: z.string().optional(),
152
- value: z.lazy(() => Value$outboundSchema).optional(),
1210
+ value: z.union([
1211
+ z.lazy(() => AtsMetadata1$outboundSchema),
1212
+ z.union([
1213
+ z.lazy(() => AtsMetadataSchemasValue2$outboundSchema),
1214
+ z.string(),
1215
+ ]),
1216
+ z.union([
1217
+ z.lazy(() => AtsMetadataSchemasValue32$outboundSchema),
1218
+ z.number(),
1219
+ ]),
1220
+ z.union([
1221
+ z.lazy(() => AtsMetadataSchemasValue42$outboundSchema),
1222
+ z.boolean(),
1223
+ ]),
1224
+ z.union([
1225
+ z.lazy(() => AtsMetadataSchemasValue52$outboundSchema),
1226
+ z.array(z.any()),
1227
+ ]),
1228
+ ]).optional(),
153
1229
  }).transform((v) => {
154
1230
  return remap$(v, {
155
1231
  extraData: "extra_data",