@orq-ai/node 1.31.1 → 1.31.11
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.
- package/README.md +17 -45
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/bulkfileupload.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/deploymentgetconfig.d.ts +96 -96
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +135 -136
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +49 -46
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +63 -61
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +53 -53
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +67 -66
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileupload.js +2 -2
- package/models/operations/index.d.ts +0 -9
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -9
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/sdk.d.ts +0 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -10
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/bulkfileupload.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/deploymentgetconfig.ts +188 -255
- package/src/models/operations/deploymentinvoke.ts +81 -95
- package/src/models/operations/deployments.ts +88 -101
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/index.ts +0 -9
- package/src/sdk/sdk.ts +0 -12
- package/docs/sdks/prompt/README.md +0 -6
- package/docs/sdks/prompts/README.md +0 -533
- package/docs/sdks/snippets/README.md +0 -84
- package/docs/sdks/templates/README.md +0 -80
- package/funcs/promptSnippetsFindOne.d.ts +0 -12
- package/funcs/promptSnippetsFindOne.d.ts.map +0 -1
- package/funcs/promptSnippetsFindOne.js +0 -107
- package/funcs/promptSnippetsFindOne.js.map +0 -1
- package/funcs/promptTemplatesGetAll.d.ts +0 -12
- package/funcs/promptTemplatesGetAll.d.ts.map +0 -1
- package/funcs/promptTemplatesGetAll.js +0 -107
- package/funcs/promptTemplatesGetAll.js.map +0 -1
- package/funcs/promptsCreate.d.ts +0 -12
- package/funcs/promptsCreate.d.ts.map +0 -1
- package/funcs/promptsCreate.js +0 -104
- package/funcs/promptsCreate.js.map +0 -1
- package/funcs/promptsCreateVersion.d.ts +0 -12
- package/funcs/promptsCreateVersion.d.ts.map +0 -1
- package/funcs/promptsCreateVersion.js +0 -108
- package/funcs/promptsCreateVersion.js.map +0 -1
- package/funcs/promptsDelete.d.ts +0 -12
- package/funcs/promptsDelete.d.ts.map +0 -1
- package/funcs/promptsDelete.js +0 -108
- package/funcs/promptsDelete.js.map +0 -1
- package/funcs/promptsDuplicate.d.ts +0 -12
- package/funcs/promptsDuplicate.d.ts.map +0 -1
- package/funcs/promptsDuplicate.js +0 -108
- package/funcs/promptsDuplicate.js.map +0 -1
- package/funcs/promptsGetAll.d.ts +0 -12
- package/funcs/promptsGetAll.d.ts.map +0 -1
- package/funcs/promptsGetAll.js +0 -107
- package/funcs/promptsGetAll.js.map +0 -1
- package/funcs/promptsGetOne.d.ts +0 -12
- package/funcs/promptsGetOne.d.ts.map +0 -1
- package/funcs/promptsGetOne.js +0 -108
- package/funcs/promptsGetOne.js.map +0 -1
- package/funcs/promptsUpdate.d.ts +0 -13
- package/funcs/promptsUpdate.d.ts.map +0 -1
- package/funcs/promptsUpdate.js +0 -112
- package/funcs/promptsUpdate.js.map +0 -1
- package/models/errors/updateprompt.d.ts +0 -36
- package/models/errors/updateprompt.d.ts.map +0 -1
- package/models/errors/updateprompt.js +0 -79
- package/models/errors/updateprompt.js.map +0 -1
- package/models/operations/createprompt.d.ts +0 -2035
- package/models/operations/createprompt.d.ts.map +0 -1
- package/models/operations/createprompt.js +0 -1853
- package/models/operations/createprompt.js.map +0 -1
- package/models/operations/createpromptversion.d.ts +0 -2001
- package/models/operations/createpromptversion.d.ts.map +0 -1
- package/models/operations/createpromptversion.js +0 -1848
- package/models/operations/createpromptversion.js.map +0 -1
- package/models/operations/deleteprompt.d.ts +0 -32
- package/models/operations/deleteprompt.d.ts.map +0 -1
- package/models/operations/deleteprompt.js +0 -69
- package/models/operations/deleteprompt.js.map +0 -1
- package/models/operations/duplicateprompt.d.ts +0 -32
- package/models/operations/duplicateprompt.d.ts.map +0 -1
- package/models/operations/duplicateprompt.js +0 -69
- package/models/operations/duplicateprompt.js.map +0 -1
- package/models/operations/findonepromptsnippet.d.ts +0 -6278
- package/models/operations/findonepromptsnippet.d.ts.map +0 -1
- package/models/operations/findonepromptsnippet.js +0 -5891
- package/models/operations/findonepromptsnippet.js.map +0 -1
- package/models/operations/getallprompts.d.ts +0 -6613
- package/models/operations/getallprompts.d.ts.map +0 -1
- package/models/operations/getallprompts.js +0 -6161
- package/models/operations/getallprompts.js.map +0 -1
- package/models/operations/getallprompttemplates.d.ts +0 -6607
- package/models/operations/getallprompttemplates.d.ts.map +0 -1
- package/models/operations/getallprompttemplates.js +0 -6225
- package/models/operations/getallprompttemplates.js.map +0 -1
- package/models/operations/getoneprompt.d.ts +0 -32
- package/models/operations/getoneprompt.d.ts.map +0 -1
- package/models/operations/getoneprompt.js +0 -69
- package/models/operations/getoneprompt.js.map +0 -1
- package/models/operations/updateprompt.d.ts +0 -7251
- package/models/operations/updateprompt.d.ts.map +0 -1
- package/models/operations/updateprompt.js +0 -6678
- package/models/operations/updateprompt.js.map +0 -1
- package/sdk/prompt.d.ts +0 -10
- package/sdk/prompt.d.ts.map +0 -1
- package/sdk/prompt.js +0 -21
- package/sdk/prompt.js.map +0 -1
- package/sdk/prompts.d.ts +0 -33
- package/sdk/prompts.d.ts.map +0 -1
- package/sdk/prompts.js +0 -61
- package/sdk/prompts.js.map +0 -1
- package/sdk/snippets.d.ts +0 -9
- package/sdk/snippets.d.ts.map +0 -1
- package/sdk/snippets.js +0 -19
- package/sdk/snippets.js.map +0 -1
- package/sdk/templates.d.ts +0 -9
- package/sdk/templates.d.ts.map +0 -1
- package/sdk/templates.js +0 -19
- package/sdk/templates.js.map +0 -1
- package/src/funcs/promptSnippetsFindOne.ts +0 -127
- package/src/funcs/promptTemplatesGetAll.ts +0 -129
- package/src/funcs/promptsCreate.ts +0 -123
- package/src/funcs/promptsCreateVersion.ts +0 -128
- package/src/funcs/promptsDelete.ts +0 -127
- package/src/funcs/promptsDuplicate.ts +0 -127
- package/src/funcs/promptsGetAll.ts +0 -127
- package/src/funcs/promptsGetOne.ts +0 -127
- package/src/funcs/promptsUpdate.ts +0 -135
- package/src/models/errors/updateprompt.ts +0 -71
- package/src/models/operations/createprompt.ts +0 -3455
- package/src/models/operations/createpromptversion.ts +0 -3697
- package/src/models/operations/deleteprompt.ts +0 -69
- package/src/models/operations/duplicateprompt.ts +0 -69
- package/src/models/operations/findonepromptsnippet.ts +0 -13629
- package/src/models/operations/getallprompts.ts +0 -13390
- package/src/models/operations/getallprompttemplates.ts +0 -13690
- package/src/models/operations/getoneprompt.ts +0 -69
- package/src/models/operations/updateprompt.ts +0 -14407
- package/src/sdk/prompt.ts +0 -19
- package/src/sdk/prompts.ts +0 -114
- package/src/sdk/snippets.ts +0 -24
- package/src/sdk/templates.ts +0 -24
|
@@ -416,7 +416,7 @@ export type DeploymentGetConfigMessages = {
|
|
|
416
416
|
/**
|
|
417
417
|
* Only supported on `image` models.
|
|
418
418
|
*/
|
|
419
|
-
export const
|
|
419
|
+
export const Format = {
|
|
420
420
|
Url: "url",
|
|
421
421
|
B64Json: "b64_json",
|
|
422
422
|
Text: "text",
|
|
@@ -425,23 +425,19 @@ export const DeploymentGetConfigFormat = {
|
|
|
425
425
|
/**
|
|
426
426
|
* Only supported on `image` models.
|
|
427
427
|
*/
|
|
428
|
-
export type
|
|
429
|
-
typeof DeploymentGetConfigFormat
|
|
430
|
-
>;
|
|
428
|
+
export type Format = ClosedEnum<typeof Format>;
|
|
431
429
|
|
|
432
430
|
/**
|
|
433
431
|
* Only supported on `image` models.
|
|
434
432
|
*/
|
|
435
|
-
export const
|
|
433
|
+
export const Quality = {
|
|
436
434
|
Standard: "standard",
|
|
437
435
|
Hd: "hd",
|
|
438
436
|
} as const;
|
|
439
437
|
/**
|
|
440
438
|
* Only supported on `image` models.
|
|
441
439
|
*/
|
|
442
|
-
export type
|
|
443
|
-
typeof DeploymentGetConfigQuality
|
|
444
|
-
>;
|
|
440
|
+
export type Quality = ClosedEnum<typeof Quality>;
|
|
445
441
|
|
|
446
442
|
export const DeploymentGetConfigResponseFormatType = {
|
|
447
443
|
JsonObject: "json_object",
|
|
@@ -450,26 +446,24 @@ export type DeploymentGetConfigResponseFormatType = ClosedEnum<
|
|
|
450
446
|
typeof DeploymentGetConfigResponseFormatType
|
|
451
447
|
>;
|
|
452
448
|
|
|
453
|
-
export type
|
|
449
|
+
export type ResponseFormat2 = {
|
|
454
450
|
type: DeploymentGetConfigResponseFormatType;
|
|
455
451
|
};
|
|
456
452
|
|
|
457
|
-
export const
|
|
453
|
+
export const ResponseFormatType = {
|
|
458
454
|
JsonSchema: "json_schema",
|
|
459
455
|
} as const;
|
|
460
|
-
export type
|
|
461
|
-
typeof DeploymentGetConfigResponseFormatDeploymentsType
|
|
462
|
-
>;
|
|
456
|
+
export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
|
|
463
457
|
|
|
464
|
-
export type
|
|
458
|
+
export type JsonSchema = {
|
|
465
459
|
name: string;
|
|
466
460
|
strict: boolean;
|
|
467
461
|
schema: { [k: string]: any };
|
|
468
462
|
};
|
|
469
463
|
|
|
470
|
-
export type
|
|
471
|
-
type:
|
|
472
|
-
jsonSchema:
|
|
464
|
+
export type ResponseFormat1 = {
|
|
465
|
+
type: ResponseFormatType;
|
|
466
|
+
jsonSchema: JsonSchema;
|
|
473
467
|
};
|
|
474
468
|
|
|
475
469
|
/**
|
|
@@ -483,37 +477,31 @@ export type DeploymentGetConfigResponseFormat1 = {
|
|
|
483
477
|
*
|
|
484
478
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
485
479
|
*/
|
|
486
|
-
export type
|
|
487
|
-
| DeploymentGetConfigResponseFormat2
|
|
488
|
-
| DeploymentGetConfigResponseFormat1;
|
|
480
|
+
export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
|
|
489
481
|
|
|
490
482
|
/**
|
|
491
483
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
492
484
|
*/
|
|
493
|
-
export const
|
|
485
|
+
export const PhotoRealVersion = {
|
|
494
486
|
V1: "v1",
|
|
495
487
|
V2: "v2",
|
|
496
488
|
} as const;
|
|
497
489
|
/**
|
|
498
490
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
499
491
|
*/
|
|
500
|
-
export type
|
|
501
|
-
typeof DeploymentGetConfigPhotoRealVersion
|
|
502
|
-
>;
|
|
492
|
+
export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
|
|
503
493
|
|
|
504
494
|
/**
|
|
505
495
|
* The format to return the embeddings
|
|
506
496
|
*/
|
|
507
|
-
export const
|
|
497
|
+
export const EncodingFormat = {
|
|
508
498
|
Float: "float",
|
|
509
499
|
Base64: "base64",
|
|
510
500
|
} as const;
|
|
511
501
|
/**
|
|
512
502
|
* The format to return the embeddings
|
|
513
503
|
*/
|
|
514
|
-
export type
|
|
515
|
-
typeof DeploymentGetConfigEncodingFormat
|
|
516
|
-
>;
|
|
504
|
+
export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
|
|
517
505
|
|
|
518
506
|
/**
|
|
519
507
|
* Model Parameters: Not all parameters apply to every model
|
|
@@ -554,7 +542,7 @@ export type ParametersT = {
|
|
|
554
542
|
/**
|
|
555
543
|
* Only supported on `image` models.
|
|
556
544
|
*/
|
|
557
|
-
format?:
|
|
545
|
+
format?: Format | undefined;
|
|
558
546
|
/**
|
|
559
547
|
* Only supported on `image` models.
|
|
560
548
|
*/
|
|
@@ -562,7 +550,7 @@ export type ParametersT = {
|
|
|
562
550
|
/**
|
|
563
551
|
* Only supported on `image` models.
|
|
564
552
|
*/
|
|
565
|
-
quality?:
|
|
553
|
+
quality?: Quality | undefined;
|
|
566
554
|
/**
|
|
567
555
|
* Only supported on `image` models.
|
|
568
556
|
*/
|
|
@@ -578,19 +566,15 @@ export type ParametersT = {
|
|
|
578
566
|
*
|
|
579
567
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
580
568
|
*/
|
|
581
|
-
responseFormat?:
|
|
582
|
-
| DeploymentGetConfigResponseFormat2
|
|
583
|
-
| DeploymentGetConfigResponseFormat1
|
|
584
|
-
| null
|
|
585
|
-
| undefined;
|
|
569
|
+
responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
|
|
586
570
|
/**
|
|
587
571
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
588
572
|
*/
|
|
589
|
-
photoRealVersion?:
|
|
573
|
+
photoRealVersion?: PhotoRealVersion | undefined;
|
|
590
574
|
/**
|
|
591
575
|
* The format to return the embeddings
|
|
592
576
|
*/
|
|
593
|
-
encodingFormat?:
|
|
577
|
+
encodingFormat?: EncodingFormat | undefined;
|
|
594
578
|
};
|
|
595
579
|
|
|
596
580
|
/**
|
|
@@ -2686,45 +2670,41 @@ export function deploymentGetConfigMessagesFromJSON(
|
|
|
2686
2670
|
}
|
|
2687
2671
|
|
|
2688
2672
|
/** @internal */
|
|
2689
|
-
export const
|
|
2690
|
-
|
|
2691
|
-
> = z.nativeEnum(DeploymentGetConfigFormat);
|
|
2673
|
+
export const Format$inboundSchema: z.ZodNativeEnum<typeof Format> = z
|
|
2674
|
+
.nativeEnum(Format);
|
|
2692
2675
|
|
|
2693
2676
|
/** @internal */
|
|
2694
|
-
export const
|
|
2695
|
-
|
|
2696
|
-
> = DeploymentGetConfigFormat$inboundSchema;
|
|
2677
|
+
export const Format$outboundSchema: z.ZodNativeEnum<typeof Format> =
|
|
2678
|
+
Format$inboundSchema;
|
|
2697
2679
|
|
|
2698
2680
|
/**
|
|
2699
2681
|
* @internal
|
|
2700
2682
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2701
2683
|
*/
|
|
2702
|
-
export namespace
|
|
2703
|
-
/** @deprecated use `
|
|
2704
|
-
export const inboundSchema =
|
|
2705
|
-
/** @deprecated use `
|
|
2706
|
-
export const outboundSchema =
|
|
2684
|
+
export namespace Format$ {
|
|
2685
|
+
/** @deprecated use `Format$inboundSchema` instead. */
|
|
2686
|
+
export const inboundSchema = Format$inboundSchema;
|
|
2687
|
+
/** @deprecated use `Format$outboundSchema` instead. */
|
|
2688
|
+
export const outboundSchema = Format$outboundSchema;
|
|
2707
2689
|
}
|
|
2708
2690
|
|
|
2709
2691
|
/** @internal */
|
|
2710
|
-
export const
|
|
2711
|
-
|
|
2712
|
-
> = z.nativeEnum(DeploymentGetConfigQuality);
|
|
2692
|
+
export const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality> = z
|
|
2693
|
+
.nativeEnum(Quality);
|
|
2713
2694
|
|
|
2714
2695
|
/** @internal */
|
|
2715
|
-
export const
|
|
2716
|
-
|
|
2717
|
-
> = DeploymentGetConfigQuality$inboundSchema;
|
|
2696
|
+
export const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality> =
|
|
2697
|
+
Quality$inboundSchema;
|
|
2718
2698
|
|
|
2719
2699
|
/**
|
|
2720
2700
|
* @internal
|
|
2721
2701
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2722
2702
|
*/
|
|
2723
|
-
export namespace
|
|
2724
|
-
/** @deprecated use `
|
|
2725
|
-
export const inboundSchema =
|
|
2726
|
-
/** @deprecated use `
|
|
2727
|
-
export const outboundSchema =
|
|
2703
|
+
export namespace Quality$ {
|
|
2704
|
+
/** @deprecated use `Quality$inboundSchema` instead. */
|
|
2705
|
+
export const inboundSchema = Quality$inboundSchema;
|
|
2706
|
+
/** @deprecated use `Quality$outboundSchema` instead. */
|
|
2707
|
+
export const outboundSchema = Quality$outboundSchema;
|
|
2728
2708
|
}
|
|
2729
2709
|
|
|
2730
2710
|
/** @internal */
|
|
@@ -2752,8 +2732,8 @@ export namespace DeploymentGetConfigResponseFormatType$ {
|
|
|
2752
2732
|
}
|
|
2753
2733
|
|
|
2754
2734
|
/** @internal */
|
|
2755
|
-
export const
|
|
2756
|
-
|
|
2735
|
+
export const ResponseFormat2$inboundSchema: z.ZodType<
|
|
2736
|
+
ResponseFormat2,
|
|
2757
2737
|
z.ZodTypeDef,
|
|
2758
2738
|
unknown
|
|
2759
2739
|
> = z.object({
|
|
@@ -2761,15 +2741,15 @@ export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
|
|
|
2761
2741
|
});
|
|
2762
2742
|
|
|
2763
2743
|
/** @internal */
|
|
2764
|
-
export type
|
|
2744
|
+
export type ResponseFormat2$Outbound = {
|
|
2765
2745
|
type: string;
|
|
2766
2746
|
};
|
|
2767
2747
|
|
|
2768
2748
|
/** @internal */
|
|
2769
|
-
export const
|
|
2770
|
-
|
|
2749
|
+
export const ResponseFormat2$outboundSchema: z.ZodType<
|
|
2750
|
+
ResponseFormat2$Outbound,
|
|
2771
2751
|
z.ZodTypeDef,
|
|
2772
|
-
|
|
2752
|
+
ResponseFormat2
|
|
2773
2753
|
> = z.object({
|
|
2774
2754
|
type: DeploymentGetConfigResponseFormatType$outboundSchema,
|
|
2775
2755
|
});
|
|
@@ -2778,143 +2758,116 @@ export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
|
|
|
2778
2758
|
* @internal
|
|
2779
2759
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2780
2760
|
*/
|
|
2781
|
-
export namespace
|
|
2782
|
-
/** @deprecated use `
|
|
2783
|
-
export const inboundSchema =
|
|
2784
|
-
/** @deprecated use `
|
|
2785
|
-
export const outboundSchema =
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
export type Outbound = DeploymentGetConfigResponseFormat2$Outbound;
|
|
2761
|
+
export namespace ResponseFormat2$ {
|
|
2762
|
+
/** @deprecated use `ResponseFormat2$inboundSchema` instead. */
|
|
2763
|
+
export const inboundSchema = ResponseFormat2$inboundSchema;
|
|
2764
|
+
/** @deprecated use `ResponseFormat2$outboundSchema` instead. */
|
|
2765
|
+
export const outboundSchema = ResponseFormat2$outboundSchema;
|
|
2766
|
+
/** @deprecated use `ResponseFormat2$Outbound` instead. */
|
|
2767
|
+
export type Outbound = ResponseFormat2$Outbound;
|
|
2789
2768
|
}
|
|
2790
2769
|
|
|
2791
|
-
export function
|
|
2792
|
-
|
|
2770
|
+
export function responseFormat2ToJSON(
|
|
2771
|
+
responseFormat2: ResponseFormat2,
|
|
2793
2772
|
): string {
|
|
2794
|
-
return JSON.stringify(
|
|
2795
|
-
DeploymentGetConfigResponseFormat2$outboundSchema.parse(
|
|
2796
|
-
deploymentGetConfigResponseFormat2,
|
|
2797
|
-
),
|
|
2798
|
-
);
|
|
2773
|
+
return JSON.stringify(ResponseFormat2$outboundSchema.parse(responseFormat2));
|
|
2799
2774
|
}
|
|
2800
2775
|
|
|
2801
|
-
export function
|
|
2776
|
+
export function responseFormat2FromJSON(
|
|
2802
2777
|
jsonString: string,
|
|
2803
|
-
): SafeParseResult<
|
|
2778
|
+
): SafeParseResult<ResponseFormat2, SDKValidationError> {
|
|
2804
2779
|
return safeParse(
|
|
2805
2780
|
jsonString,
|
|
2806
|
-
(x) =>
|
|
2807
|
-
|
|
2808
|
-
`Failed to parse 'DeploymentGetConfigResponseFormat2' from JSON`,
|
|
2781
|
+
(x) => ResponseFormat2$inboundSchema.parse(JSON.parse(x)),
|
|
2782
|
+
`Failed to parse 'ResponseFormat2' from JSON`,
|
|
2809
2783
|
);
|
|
2810
2784
|
}
|
|
2811
2785
|
|
|
2812
2786
|
/** @internal */
|
|
2813
|
-
export const
|
|
2814
|
-
|
|
2815
|
-
|
|
2787
|
+
export const ResponseFormatType$inboundSchema: z.ZodNativeEnum<
|
|
2788
|
+
typeof ResponseFormatType
|
|
2789
|
+
> = z.nativeEnum(ResponseFormatType);
|
|
2816
2790
|
|
|
2817
2791
|
/** @internal */
|
|
2818
|
-
export const
|
|
2819
|
-
|
|
2820
|
-
|
|
2792
|
+
export const ResponseFormatType$outboundSchema: z.ZodNativeEnum<
|
|
2793
|
+
typeof ResponseFormatType
|
|
2794
|
+
> = ResponseFormatType$inboundSchema;
|
|
2821
2795
|
|
|
2822
2796
|
/**
|
|
2823
2797
|
* @internal
|
|
2824
2798
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2825
2799
|
*/
|
|
2826
|
-
export namespace
|
|
2827
|
-
/** @deprecated use `
|
|
2828
|
-
export const inboundSchema =
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
export const outboundSchema =
|
|
2832
|
-
DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
|
|
2800
|
+
export namespace ResponseFormatType$ {
|
|
2801
|
+
/** @deprecated use `ResponseFormatType$inboundSchema` instead. */
|
|
2802
|
+
export const inboundSchema = ResponseFormatType$inboundSchema;
|
|
2803
|
+
/** @deprecated use `ResponseFormatType$outboundSchema` instead. */
|
|
2804
|
+
export const outboundSchema = ResponseFormatType$outboundSchema;
|
|
2833
2805
|
}
|
|
2834
2806
|
|
|
2835
2807
|
/** @internal */
|
|
2836
|
-
export const
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
});
|
|
2808
|
+
export const JsonSchema$inboundSchema: z.ZodType<
|
|
2809
|
+
JsonSchema,
|
|
2810
|
+
z.ZodTypeDef,
|
|
2811
|
+
unknown
|
|
2812
|
+
> = z.object({
|
|
2813
|
+
name: z.string(),
|
|
2814
|
+
strict: z.boolean(),
|
|
2815
|
+
schema: z.record(z.any()),
|
|
2816
|
+
});
|
|
2846
2817
|
|
|
2847
2818
|
/** @internal */
|
|
2848
|
-
export type
|
|
2819
|
+
export type JsonSchema$Outbound = {
|
|
2849
2820
|
name: string;
|
|
2850
2821
|
strict: boolean;
|
|
2851
2822
|
schema: { [k: string]: any };
|
|
2852
2823
|
};
|
|
2853
2824
|
|
|
2854
2825
|
/** @internal */
|
|
2855
|
-
export const
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
});
|
|
2826
|
+
export const JsonSchema$outboundSchema: z.ZodType<
|
|
2827
|
+
JsonSchema$Outbound,
|
|
2828
|
+
z.ZodTypeDef,
|
|
2829
|
+
JsonSchema
|
|
2830
|
+
> = z.object({
|
|
2831
|
+
name: z.string(),
|
|
2832
|
+
strict: z.boolean(),
|
|
2833
|
+
schema: z.record(z.any()),
|
|
2834
|
+
});
|
|
2865
2835
|
|
|
2866
2836
|
/**
|
|
2867
2837
|
* @internal
|
|
2868
2838
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2869
2839
|
*/
|
|
2870
|
-
export namespace
|
|
2871
|
-
/** @deprecated use `
|
|
2872
|
-
export const inboundSchema =
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$Outbound` instead. */
|
|
2878
|
-
export type Outbound = DeploymentGetConfigResponseFormatJsonSchema$Outbound;
|
|
2840
|
+
export namespace JsonSchema$ {
|
|
2841
|
+
/** @deprecated use `JsonSchema$inboundSchema` instead. */
|
|
2842
|
+
export const inboundSchema = JsonSchema$inboundSchema;
|
|
2843
|
+
/** @deprecated use `JsonSchema$outboundSchema` instead. */
|
|
2844
|
+
export const outboundSchema = JsonSchema$outboundSchema;
|
|
2845
|
+
/** @deprecated use `JsonSchema$Outbound` instead. */
|
|
2846
|
+
export type Outbound = JsonSchema$Outbound;
|
|
2879
2847
|
}
|
|
2880
2848
|
|
|
2881
|
-
export function
|
|
2882
|
-
|
|
2883
|
-
DeploymentGetConfigResponseFormatJsonSchema,
|
|
2884
|
-
): string {
|
|
2885
|
-
return JSON.stringify(
|
|
2886
|
-
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema.parse(
|
|
2887
|
-
deploymentGetConfigResponseFormatJsonSchema,
|
|
2888
|
-
),
|
|
2889
|
-
);
|
|
2849
|
+
export function jsonSchemaToJSON(jsonSchema: JsonSchema): string {
|
|
2850
|
+
return JSON.stringify(JsonSchema$outboundSchema.parse(jsonSchema));
|
|
2890
2851
|
}
|
|
2891
2852
|
|
|
2892
|
-
export function
|
|
2853
|
+
export function jsonSchemaFromJSON(
|
|
2893
2854
|
jsonString: string,
|
|
2894
|
-
): SafeParseResult<
|
|
2895
|
-
DeploymentGetConfigResponseFormatJsonSchema,
|
|
2896
|
-
SDKValidationError
|
|
2897
|
-
> {
|
|
2855
|
+
): SafeParseResult<JsonSchema, SDKValidationError> {
|
|
2898
2856
|
return safeParse(
|
|
2899
2857
|
jsonString,
|
|
2900
|
-
(x) =>
|
|
2901
|
-
|
|
2902
|
-
JSON.parse(x),
|
|
2903
|
-
),
|
|
2904
|
-
`Failed to parse 'DeploymentGetConfigResponseFormatJsonSchema' from JSON`,
|
|
2858
|
+
(x) => JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
2859
|
+
`Failed to parse 'JsonSchema' from JSON`,
|
|
2905
2860
|
);
|
|
2906
2861
|
}
|
|
2907
2862
|
|
|
2908
2863
|
/** @internal */
|
|
2909
|
-
export const
|
|
2910
|
-
|
|
2864
|
+
export const ResponseFormat1$inboundSchema: z.ZodType<
|
|
2865
|
+
ResponseFormat1,
|
|
2911
2866
|
z.ZodTypeDef,
|
|
2912
2867
|
unknown
|
|
2913
2868
|
> = z.object({
|
|
2914
|
-
type:
|
|
2915
|
-
json_schema: z.lazy(() =>
|
|
2916
|
-
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
|
|
2917
|
-
),
|
|
2869
|
+
type: ResponseFormatType$inboundSchema,
|
|
2870
|
+
json_schema: z.lazy(() => JsonSchema$inboundSchema),
|
|
2918
2871
|
}).transform((v) => {
|
|
2919
2872
|
return remap$(v, {
|
|
2920
2873
|
"json_schema": "jsonSchema",
|
|
@@ -2922,21 +2875,19 @@ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
|
|
|
2922
2875
|
});
|
|
2923
2876
|
|
|
2924
2877
|
/** @internal */
|
|
2925
|
-
export type
|
|
2878
|
+
export type ResponseFormat1$Outbound = {
|
|
2926
2879
|
type: string;
|
|
2927
|
-
json_schema:
|
|
2880
|
+
json_schema: JsonSchema$Outbound;
|
|
2928
2881
|
};
|
|
2929
2882
|
|
|
2930
2883
|
/** @internal */
|
|
2931
|
-
export const
|
|
2932
|
-
|
|
2884
|
+
export const ResponseFormat1$outboundSchema: z.ZodType<
|
|
2885
|
+
ResponseFormat1$Outbound,
|
|
2933
2886
|
z.ZodTypeDef,
|
|
2934
|
-
|
|
2887
|
+
ResponseFormat1
|
|
2935
2888
|
> = z.object({
|
|
2936
|
-
type:
|
|
2937
|
-
jsonSchema: z.lazy(() =>
|
|
2938
|
-
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
|
|
2939
|
-
),
|
|
2889
|
+
type: ResponseFormatType$outboundSchema,
|
|
2890
|
+
jsonSchema: z.lazy(() => JsonSchema$outboundSchema),
|
|
2940
2891
|
}).transform((v) => {
|
|
2941
2892
|
return remap$(v, {
|
|
2942
2893
|
jsonSchema: "json_schema",
|
|
@@ -2947,139 +2898,123 @@ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
|
|
|
2947
2898
|
* @internal
|
|
2948
2899
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2949
2900
|
*/
|
|
2950
|
-
export namespace
|
|
2951
|
-
/** @deprecated use `
|
|
2952
|
-
export const inboundSchema =
|
|
2953
|
-
/** @deprecated use `
|
|
2954
|
-
export const outboundSchema =
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
export type Outbound = DeploymentGetConfigResponseFormat1$Outbound;
|
|
2901
|
+
export namespace ResponseFormat1$ {
|
|
2902
|
+
/** @deprecated use `ResponseFormat1$inboundSchema` instead. */
|
|
2903
|
+
export const inboundSchema = ResponseFormat1$inboundSchema;
|
|
2904
|
+
/** @deprecated use `ResponseFormat1$outboundSchema` instead. */
|
|
2905
|
+
export const outboundSchema = ResponseFormat1$outboundSchema;
|
|
2906
|
+
/** @deprecated use `ResponseFormat1$Outbound` instead. */
|
|
2907
|
+
export type Outbound = ResponseFormat1$Outbound;
|
|
2958
2908
|
}
|
|
2959
2909
|
|
|
2960
|
-
export function
|
|
2961
|
-
|
|
2910
|
+
export function responseFormat1ToJSON(
|
|
2911
|
+
responseFormat1: ResponseFormat1,
|
|
2962
2912
|
): string {
|
|
2963
|
-
return JSON.stringify(
|
|
2964
|
-
DeploymentGetConfigResponseFormat1$outboundSchema.parse(
|
|
2965
|
-
deploymentGetConfigResponseFormat1,
|
|
2966
|
-
),
|
|
2967
|
-
);
|
|
2913
|
+
return JSON.stringify(ResponseFormat1$outboundSchema.parse(responseFormat1));
|
|
2968
2914
|
}
|
|
2969
2915
|
|
|
2970
|
-
export function
|
|
2916
|
+
export function responseFormat1FromJSON(
|
|
2971
2917
|
jsonString: string,
|
|
2972
|
-
): SafeParseResult<
|
|
2918
|
+
): SafeParseResult<ResponseFormat1, SDKValidationError> {
|
|
2973
2919
|
return safeParse(
|
|
2974
2920
|
jsonString,
|
|
2975
|
-
(x) =>
|
|
2976
|
-
|
|
2977
|
-
`Failed to parse 'DeploymentGetConfigResponseFormat1' from JSON`,
|
|
2921
|
+
(x) => ResponseFormat1$inboundSchema.parse(JSON.parse(x)),
|
|
2922
|
+
`Failed to parse 'ResponseFormat1' from JSON`,
|
|
2978
2923
|
);
|
|
2979
2924
|
}
|
|
2980
2925
|
|
|
2981
2926
|
/** @internal */
|
|
2982
|
-
export const
|
|
2983
|
-
|
|
2927
|
+
export const ResponseFormat$inboundSchema: z.ZodType<
|
|
2928
|
+
ResponseFormat,
|
|
2984
2929
|
z.ZodTypeDef,
|
|
2985
2930
|
unknown
|
|
2986
2931
|
> = z.union([
|
|
2987
|
-
z.lazy(() =>
|
|
2988
|
-
z.lazy(() =>
|
|
2932
|
+
z.lazy(() => ResponseFormat2$inboundSchema),
|
|
2933
|
+
z.lazy(() => ResponseFormat1$inboundSchema),
|
|
2989
2934
|
]);
|
|
2990
2935
|
|
|
2991
2936
|
/** @internal */
|
|
2992
|
-
export type
|
|
2993
|
-
|
|
|
2994
|
-
|
|
|
2937
|
+
export type ResponseFormat$Outbound =
|
|
2938
|
+
| ResponseFormat2$Outbound
|
|
2939
|
+
| ResponseFormat1$Outbound;
|
|
2995
2940
|
|
|
2996
2941
|
/** @internal */
|
|
2997
|
-
export const
|
|
2998
|
-
|
|
2942
|
+
export const ResponseFormat$outboundSchema: z.ZodType<
|
|
2943
|
+
ResponseFormat$Outbound,
|
|
2999
2944
|
z.ZodTypeDef,
|
|
3000
|
-
|
|
2945
|
+
ResponseFormat
|
|
3001
2946
|
> = z.union([
|
|
3002
|
-
z.lazy(() =>
|
|
3003
|
-
z.lazy(() =>
|
|
2947
|
+
z.lazy(() => ResponseFormat2$outboundSchema),
|
|
2948
|
+
z.lazy(() => ResponseFormat1$outboundSchema),
|
|
3004
2949
|
]);
|
|
3005
2950
|
|
|
3006
2951
|
/**
|
|
3007
2952
|
* @internal
|
|
3008
2953
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3009
2954
|
*/
|
|
3010
|
-
export namespace
|
|
3011
|
-
/** @deprecated use `
|
|
3012
|
-
export const inboundSchema =
|
|
3013
|
-
/** @deprecated use `
|
|
3014
|
-
export const outboundSchema =
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
export type Outbound = DeploymentGetConfigResponseFormat$Outbound;
|
|
2955
|
+
export namespace ResponseFormat$ {
|
|
2956
|
+
/** @deprecated use `ResponseFormat$inboundSchema` instead. */
|
|
2957
|
+
export const inboundSchema = ResponseFormat$inboundSchema;
|
|
2958
|
+
/** @deprecated use `ResponseFormat$outboundSchema` instead. */
|
|
2959
|
+
export const outboundSchema = ResponseFormat$outboundSchema;
|
|
2960
|
+
/** @deprecated use `ResponseFormat$Outbound` instead. */
|
|
2961
|
+
export type Outbound = ResponseFormat$Outbound;
|
|
3018
2962
|
}
|
|
3019
2963
|
|
|
3020
|
-
export function
|
|
3021
|
-
|
|
3022
|
-
): string {
|
|
3023
|
-
return JSON.stringify(
|
|
3024
|
-
DeploymentGetConfigResponseFormat$outboundSchema.parse(
|
|
3025
|
-
deploymentGetConfigResponseFormat,
|
|
3026
|
-
),
|
|
3027
|
-
);
|
|
2964
|
+
export function responseFormatToJSON(responseFormat: ResponseFormat): string {
|
|
2965
|
+
return JSON.stringify(ResponseFormat$outboundSchema.parse(responseFormat));
|
|
3028
2966
|
}
|
|
3029
2967
|
|
|
3030
|
-
export function
|
|
2968
|
+
export function responseFormatFromJSON(
|
|
3031
2969
|
jsonString: string,
|
|
3032
|
-
): SafeParseResult<
|
|
2970
|
+
): SafeParseResult<ResponseFormat, SDKValidationError> {
|
|
3033
2971
|
return safeParse(
|
|
3034
2972
|
jsonString,
|
|
3035
|
-
(x) =>
|
|
3036
|
-
`Failed to parse '
|
|
2973
|
+
(x) => ResponseFormat$inboundSchema.parse(JSON.parse(x)),
|
|
2974
|
+
`Failed to parse 'ResponseFormat' from JSON`,
|
|
3037
2975
|
);
|
|
3038
2976
|
}
|
|
3039
2977
|
|
|
3040
2978
|
/** @internal */
|
|
3041
|
-
export const
|
|
3042
|
-
typeof
|
|
3043
|
-
> = z.nativeEnum(
|
|
2979
|
+
export const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<
|
|
2980
|
+
typeof PhotoRealVersion
|
|
2981
|
+
> = z.nativeEnum(PhotoRealVersion);
|
|
3044
2982
|
|
|
3045
2983
|
/** @internal */
|
|
3046
|
-
export const
|
|
3047
|
-
|
|
3048
|
-
|
|
2984
|
+
export const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<
|
|
2985
|
+
typeof PhotoRealVersion
|
|
2986
|
+
> = PhotoRealVersion$inboundSchema;
|
|
3049
2987
|
|
|
3050
2988
|
/**
|
|
3051
2989
|
* @internal
|
|
3052
2990
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3053
2991
|
*/
|
|
3054
|
-
export namespace
|
|
3055
|
-
/** @deprecated use `
|
|
3056
|
-
export const inboundSchema =
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
export const outboundSchema =
|
|
3060
|
-
DeploymentGetConfigPhotoRealVersion$outboundSchema;
|
|
2992
|
+
export namespace PhotoRealVersion$ {
|
|
2993
|
+
/** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
|
|
2994
|
+
export const inboundSchema = PhotoRealVersion$inboundSchema;
|
|
2995
|
+
/** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
|
|
2996
|
+
export const outboundSchema = PhotoRealVersion$outboundSchema;
|
|
3061
2997
|
}
|
|
3062
2998
|
|
|
3063
2999
|
/** @internal */
|
|
3064
|
-
export const
|
|
3065
|
-
typeof
|
|
3066
|
-
> = z.nativeEnum(
|
|
3000
|
+
export const EncodingFormat$inboundSchema: z.ZodNativeEnum<
|
|
3001
|
+
typeof EncodingFormat
|
|
3002
|
+
> = z.nativeEnum(EncodingFormat);
|
|
3067
3003
|
|
|
3068
3004
|
/** @internal */
|
|
3069
|
-
export const
|
|
3070
|
-
typeof
|
|
3071
|
-
> =
|
|
3005
|
+
export const EncodingFormat$outboundSchema: z.ZodNativeEnum<
|
|
3006
|
+
typeof EncodingFormat
|
|
3007
|
+
> = EncodingFormat$inboundSchema;
|
|
3072
3008
|
|
|
3073
3009
|
/**
|
|
3074
3010
|
* @internal
|
|
3075
3011
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3076
3012
|
*/
|
|
3077
|
-
export namespace
|
|
3078
|
-
/** @deprecated use `
|
|
3079
|
-
export const inboundSchema =
|
|
3080
|
-
/** @deprecated use `
|
|
3081
|
-
export const outboundSchema =
|
|
3082
|
-
DeploymentGetConfigEncodingFormat$outboundSchema;
|
|
3013
|
+
export namespace EncodingFormat$ {
|
|
3014
|
+
/** @deprecated use `EncodingFormat$inboundSchema` instead. */
|
|
3015
|
+
export const inboundSchema = EncodingFormat$inboundSchema;
|
|
3016
|
+
/** @deprecated use `EncodingFormat$outboundSchema` instead. */
|
|
3017
|
+
export const outboundSchema = EncodingFormat$outboundSchema;
|
|
3083
3018
|
}
|
|
3084
3019
|
|
|
3085
3020
|
/** @internal */
|
|
@@ -3096,19 +3031,18 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
3096
3031
|
presencePenalty: z.number().optional(),
|
|
3097
3032
|
numImages: z.number().optional(),
|
|
3098
3033
|
seed: z.number().optional(),
|
|
3099
|
-
format:
|
|
3034
|
+
format: Format$inboundSchema.optional(),
|
|
3100
3035
|
dimensions: z.string().optional(),
|
|
3101
|
-
quality:
|
|
3036
|
+
quality: Quality$inboundSchema.optional(),
|
|
3102
3037
|
style: z.string().optional(),
|
|
3103
3038
|
responseFormat: z.nullable(
|
|
3104
3039
|
z.union([
|
|
3105
|
-
z.lazy(() =>
|
|
3106
|
-
z.lazy(() =>
|
|
3040
|
+
z.lazy(() => ResponseFormat2$inboundSchema),
|
|
3041
|
+
z.lazy(() => ResponseFormat1$inboundSchema),
|
|
3107
3042
|
]),
|
|
3108
3043
|
).optional(),
|
|
3109
|
-
photoRealVersion:
|
|
3110
|
-
|
|
3111
|
-
encoding_format: DeploymentGetConfigEncodingFormat$inboundSchema.optional(),
|
|
3044
|
+
photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
|
|
3045
|
+
encoding_format: EncodingFormat$inboundSchema.optional(),
|
|
3112
3046
|
}).transform((v) => {
|
|
3113
3047
|
return remap$(v, {
|
|
3114
3048
|
"encoding_format": "encodingFormat",
|
|
@@ -3130,8 +3064,8 @@ export type ParametersT$Outbound = {
|
|
|
3130
3064
|
quality?: string | undefined;
|
|
3131
3065
|
style?: string | undefined;
|
|
3132
3066
|
responseFormat?:
|
|
3133
|
-
|
|
|
3134
|
-
|
|
|
3067
|
+
| ResponseFormat2$Outbound
|
|
3068
|
+
| ResponseFormat1$Outbound
|
|
3135
3069
|
| null
|
|
3136
3070
|
| undefined;
|
|
3137
3071
|
photoRealVersion?: string | undefined;
|
|
@@ -3152,19 +3086,18 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
3152
3086
|
presencePenalty: z.number().optional(),
|
|
3153
3087
|
numImages: z.number().optional(),
|
|
3154
3088
|
seed: z.number().optional(),
|
|
3155
|
-
format:
|
|
3089
|
+
format: Format$outboundSchema.optional(),
|
|
3156
3090
|
dimensions: z.string().optional(),
|
|
3157
|
-
quality:
|
|
3091
|
+
quality: Quality$outboundSchema.optional(),
|
|
3158
3092
|
style: z.string().optional(),
|
|
3159
3093
|
responseFormat: z.nullable(
|
|
3160
3094
|
z.union([
|
|
3161
|
-
z.lazy(() =>
|
|
3162
|
-
z.lazy(() =>
|
|
3095
|
+
z.lazy(() => ResponseFormat2$outboundSchema),
|
|
3096
|
+
z.lazy(() => ResponseFormat1$outboundSchema),
|
|
3163
3097
|
]),
|
|
3164
3098
|
).optional(),
|
|
3165
|
-
photoRealVersion:
|
|
3166
|
-
|
|
3167
|
-
encodingFormat: DeploymentGetConfigEncodingFormat$outboundSchema.optional(),
|
|
3099
|
+
photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
|
|
3100
|
+
encodingFormat: EncodingFormat$outboundSchema.optional(),
|
|
3168
3101
|
}).transform((v) => {
|
|
3169
3102
|
return remap$(v, {
|
|
3170
3103
|
encodingFormat: "encoding_format",
|