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