@orq-ai/node 3.10.16 → 3.10.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/bin/mcp-server.js +608 -378
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createdatasource.js +2 -2
  13. package/models/operations/createeval.js +16 -16
  14. package/models/operations/createprompt.d.ts +163 -69
  15. package/models/operations/createprompt.d.ts.map +1 -1
  16. package/models/operations/createprompt.js +196 -96
  17. package/models/operations/createprompt.js.map +1 -1
  18. package/models/operations/deploymentgetconfig.d.ts +82 -35
  19. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  20. package/models/operations/deploymentgetconfig.js +106 -57
  21. package/models/operations/deploymentgetconfig.js.map +1 -1
  22. package/models/operations/deployments.d.ts +82 -35
  23. package/models/operations/deployments.d.ts.map +1 -1
  24. package/models/operations/deployments.js +99 -49
  25. package/models/operations/deployments.js.map +1 -1
  26. package/models/operations/fileget.js +2 -2
  27. package/models/operations/filelist.js +2 -2
  28. package/models/operations/fileupload.js +2 -2
  29. package/models/operations/getallprompts.d.ts +81 -34
  30. package/models/operations/getallprompts.d.ts.map +1 -1
  31. package/models/operations/getallprompts.js +99 -49
  32. package/models/operations/getallprompts.js.map +1 -1
  33. package/models/operations/getevals.js +28 -28
  34. package/models/operations/getoneprompt.d.ts +81 -34
  35. package/models/operations/getoneprompt.d.ts.map +1 -1
  36. package/models/operations/getoneprompt.js +99 -49
  37. package/models/operations/getoneprompt.js.map +1 -1
  38. package/models/operations/getpromptversion.d.ts +81 -34
  39. package/models/operations/getpromptversion.d.ts.map +1 -1
  40. package/models/operations/getpromptversion.js +100 -50
  41. package/models/operations/getpromptversion.js.map +1 -1
  42. package/models/operations/listcontacts.js +2 -2
  43. package/models/operations/listdatasetdatapoints.js +2 -2
  44. package/models/operations/listdatasets.js +2 -2
  45. package/models/operations/listdatasources.js +2 -2
  46. package/models/operations/listpromptversions.d.ts +81 -34
  47. package/models/operations/listpromptversions.d.ts.map +1 -1
  48. package/models/operations/listpromptversions.js +99 -50
  49. package/models/operations/listpromptversions.js.map +1 -1
  50. package/models/operations/retrievecontact.js +2 -2
  51. package/models/operations/retrievedatapoint.js +2 -2
  52. package/models/operations/retrievedataset.js +2 -2
  53. package/models/operations/retrievedatasource.js +2 -2
  54. package/models/operations/updatecontact.js +2 -2
  55. package/models/operations/updatedatapoint.js +2 -2
  56. package/models/operations/updatedataset.js +2 -2
  57. package/models/operations/updatedatasource.js +2 -2
  58. package/models/operations/updateeval.js +16 -16
  59. package/models/operations/updateprompt.d.ts +162 -68
  60. package/models/operations/updateprompt.d.ts.map +1 -1
  61. package/models/operations/updateprompt.js +197 -97
  62. package/models/operations/updateprompt.js.map +1 -1
  63. package/package.json +1 -1
  64. package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
  65. package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
  66. package/packages/orq-rc/examples/package-lock.json +1 -1
  67. package/packages/orq-rc/jsr.json +1 -1
  68. package/packages/orq-rc/package-lock.json +2 -2
  69. package/packages/orq-rc/package.json +1 -1
  70. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +5 -4
  71. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
  72. package/packages/orq-rc/src/lib/config.ts +3 -3
  73. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  74. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  75. package/packages/orq-rc/src/models/operations/createchunk.ts +54 -44
  76. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +46 -63
  79. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  81. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  85. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  87. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  88. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  89. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  91. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  95. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  96. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  98. package/packages/orq-rc/src/sdk/datasets.ts +1 -1
  99. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  100. package/src/lib/config.ts +3 -3
  101. package/src/mcp-server/mcp-server.ts +1 -1
  102. package/src/mcp-server/server.ts +1 -1
  103. package/src/models/operations/createcontact.ts +2 -2
  104. package/src/models/operations/createdataset.ts +2 -2
  105. package/src/models/operations/createdatasetitem.ts +2 -2
  106. package/src/models/operations/createdatasource.ts +2 -2
  107. package/src/models/operations/createeval.ts +16 -16
  108. package/src/models/operations/createprompt.ts +347 -141
  109. package/src/models/operations/deploymentgetconfig.ts +173 -72
  110. package/src/models/operations/deployments.ts +168 -72
  111. package/src/models/operations/fileget.ts +2 -2
  112. package/src/models/operations/filelist.ts +2 -2
  113. package/src/models/operations/fileupload.ts +2 -2
  114. package/src/models/operations/getallprompts.ts +169 -71
  115. package/src/models/operations/getevals.ts +28 -28
  116. package/src/models/operations/getoneprompt.ts +169 -71
  117. package/src/models/operations/getpromptversion.ts +168 -70
  118. package/src/models/operations/listcontacts.ts +2 -2
  119. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  120. package/src/models/operations/listdatasets.ts +2 -2
  121. package/src/models/operations/listdatasources.ts +2 -2
  122. package/src/models/operations/listpromptversions.ts +170 -71
  123. package/src/models/operations/retrievecontact.ts +2 -2
  124. package/src/models/operations/retrievedatapoint.ts +2 -2
  125. package/src/models/operations/retrievedataset.ts +2 -2
  126. package/src/models/operations/retrievedatasource.ts +2 -2
  127. package/src/models/operations/updatecontact.ts +2 -2
  128. package/src/models/operations/updatedatapoint.ts +2 -2
  129. package/src/models/operations/updatedataset.ts +2 -2
  130. package/src/models/operations/updatedatasource.ts +2 -2
  131. package/src/models/operations/updateeval.ts +16 -16
  132. package/src/models/operations/updateprompt.ts +347 -141
@@ -1414,22 +1414,22 @@ export type DeploymentGetConfigFormat = ClosedEnum<
1414
1414
  typeof DeploymentGetConfigFormat
1415
1415
  >;
1416
1416
 
1417
- export const DeploymentGetConfigResponseFormatType = {
1417
+ export const DeploymentGetConfigResponseFormatDeploymentsType = {
1418
1418
  JsonObject: "json_object",
1419
1419
  } as const;
1420
- export type DeploymentGetConfigResponseFormatType = ClosedEnum<
1421
- typeof DeploymentGetConfigResponseFormatType
1420
+ export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
1421
+ typeof DeploymentGetConfigResponseFormatDeploymentsType
1422
1422
  >;
1423
1423
 
1424
- export type DeploymentGetConfigResponseFormat2 = {
1425
- type: DeploymentGetConfigResponseFormatType;
1424
+ export type DeploymentGetConfigResponseFormat3 = {
1425
+ type: DeploymentGetConfigResponseFormatDeploymentsType;
1426
1426
  };
1427
1427
 
1428
- export const DeploymentGetConfigResponseFormatDeploymentsType = {
1428
+ export const DeploymentGetConfigResponseFormatType = {
1429
1429
  JsonSchema: "json_schema",
1430
1430
  } as const;
1431
- export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
1432
- typeof DeploymentGetConfigResponseFormatDeploymentsType
1431
+ export type DeploymentGetConfigResponseFormatType = ClosedEnum<
1432
+ typeof DeploymentGetConfigResponseFormatType
1433
1433
  >;
1434
1434
 
1435
1435
  export type DeploymentGetConfigResponseFormatJsonSchema = {
@@ -1438,11 +1438,21 @@ export type DeploymentGetConfigResponseFormatJsonSchema = {
1438
1438
  schema: { [k: string]: any };
1439
1439
  };
1440
1440
 
1441
- export type DeploymentGetConfigResponseFormat1 = {
1442
- type: DeploymentGetConfigResponseFormatDeploymentsType;
1441
+ export type DeploymentGetConfigResponseFormat2 = {
1442
+ type: DeploymentGetConfigResponseFormatType;
1443
1443
  jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
1444
1444
  };
1445
1445
 
1446
+ export const DeploymentGetConfigResponseFormatDeploymentsResponseType = {
1447
+ Text: "text",
1448
+ } as const;
1449
+ export type DeploymentGetConfigResponseFormatDeploymentsResponseType =
1450
+ ClosedEnum<typeof DeploymentGetConfigResponseFormatDeploymentsResponseType>;
1451
+
1452
+ export type DeploymentGetConfigResponseFormat1 = {
1453
+ type: DeploymentGetConfigResponseFormatDeploymentsResponseType;
1454
+ };
1455
+
1446
1456
  /**
1447
1457
  * An object specifying the format that the model must output.
1448
1458
  *
@@ -1455,8 +1465,9 @@ export type DeploymentGetConfigResponseFormat1 = {
1455
1465
  * 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.
1456
1466
  */
1457
1467
  export type DeploymentGetConfigResponseFormat =
1468
+ | DeploymentGetConfigResponseFormat2
1458
1469
  | DeploymentGetConfigResponseFormat1
1459
- | DeploymentGetConfigResponseFormat2;
1470
+ | DeploymentGetConfigResponseFormat3;
1460
1471
 
1461
1472
  /**
1462
1473
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -1581,8 +1592,9 @@ export type ParametersT = {
1581
1592
  * 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.
1582
1593
  */
1583
1594
  responseFormat?:
1584
- | DeploymentGetConfigResponseFormat1
1585
1595
  | DeploymentGetConfigResponseFormat2
1596
+ | DeploymentGetConfigResponseFormat1
1597
+ | DeploymentGetConfigResponseFormat3
1586
1598
  | null
1587
1599
  | undefined;
1588
1600
  /**
@@ -8645,108 +8657,108 @@ export namespace DeploymentGetConfigFormat$ {
8645
8657
  }
8646
8658
 
8647
8659
  /** @internal */
8648
- export const DeploymentGetConfigResponseFormatType$inboundSchema:
8649
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> = z.nativeEnum(
8650
- DeploymentGetConfigResponseFormatType,
8651
- );
8660
+ export const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema:
8661
+ z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> = z
8662
+ .nativeEnum(DeploymentGetConfigResponseFormatDeploymentsType);
8652
8663
 
8653
8664
  /** @internal */
8654
- export const DeploymentGetConfigResponseFormatType$outboundSchema:
8655
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> =
8656
- DeploymentGetConfigResponseFormatType$inboundSchema;
8665
+ export const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema:
8666
+ z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> =
8667
+ DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
8657
8668
 
8658
8669
  /**
8659
8670
  * @internal
8660
8671
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8661
8672
  */
8662
- export namespace DeploymentGetConfigResponseFormatType$ {
8663
- /** @deprecated use `DeploymentGetConfigResponseFormatType$inboundSchema` instead. */
8673
+ export namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
8674
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
8664
8675
  export const inboundSchema =
8665
- DeploymentGetConfigResponseFormatType$inboundSchema;
8666
- /** @deprecated use `DeploymentGetConfigResponseFormatType$outboundSchema` instead. */
8676
+ DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
8677
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
8667
8678
  export const outboundSchema =
8668
- DeploymentGetConfigResponseFormatType$outboundSchema;
8679
+ DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
8669
8680
  }
8670
8681
 
8671
8682
  /** @internal */
8672
- export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
8673
- DeploymentGetConfigResponseFormat2,
8683
+ export const DeploymentGetConfigResponseFormat3$inboundSchema: z.ZodType<
8684
+ DeploymentGetConfigResponseFormat3,
8674
8685
  z.ZodTypeDef,
8675
8686
  unknown
8676
8687
  > = z.object({
8677
- type: DeploymentGetConfigResponseFormatType$inboundSchema,
8688
+ type: DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
8678
8689
  });
8679
8690
 
8680
8691
  /** @internal */
8681
- export type DeploymentGetConfigResponseFormat2$Outbound = {
8692
+ export type DeploymentGetConfigResponseFormat3$Outbound = {
8682
8693
  type: string;
8683
8694
  };
8684
8695
 
8685
8696
  /** @internal */
8686
- export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
8687
- DeploymentGetConfigResponseFormat2$Outbound,
8697
+ export const DeploymentGetConfigResponseFormat3$outboundSchema: z.ZodType<
8698
+ DeploymentGetConfigResponseFormat3$Outbound,
8688
8699
  z.ZodTypeDef,
8689
- DeploymentGetConfigResponseFormat2
8700
+ DeploymentGetConfigResponseFormat3
8690
8701
  > = z.object({
8691
- type: DeploymentGetConfigResponseFormatType$outboundSchema,
8702
+ type: DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema,
8692
8703
  });
8693
8704
 
8694
8705
  /**
8695
8706
  * @internal
8696
8707
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8697
8708
  */
8698
- export namespace DeploymentGetConfigResponseFormat2$ {
8699
- /** @deprecated use `DeploymentGetConfigResponseFormat2$inboundSchema` instead. */
8700
- export const inboundSchema = DeploymentGetConfigResponseFormat2$inboundSchema;
8701
- /** @deprecated use `DeploymentGetConfigResponseFormat2$outboundSchema` instead. */
8709
+ export namespace DeploymentGetConfigResponseFormat3$ {
8710
+ /** @deprecated use `DeploymentGetConfigResponseFormat3$inboundSchema` instead. */
8711
+ export const inboundSchema = DeploymentGetConfigResponseFormat3$inboundSchema;
8712
+ /** @deprecated use `DeploymentGetConfigResponseFormat3$outboundSchema` instead. */
8702
8713
  export const outboundSchema =
8703
- DeploymentGetConfigResponseFormat2$outboundSchema;
8704
- /** @deprecated use `DeploymentGetConfigResponseFormat2$Outbound` instead. */
8705
- export type Outbound = DeploymentGetConfigResponseFormat2$Outbound;
8714
+ DeploymentGetConfigResponseFormat3$outboundSchema;
8715
+ /** @deprecated use `DeploymentGetConfigResponseFormat3$Outbound` instead. */
8716
+ export type Outbound = DeploymentGetConfigResponseFormat3$Outbound;
8706
8717
  }
8707
8718
 
8708
- export function deploymentGetConfigResponseFormat2ToJSON(
8709
- deploymentGetConfigResponseFormat2: DeploymentGetConfigResponseFormat2,
8719
+ export function deploymentGetConfigResponseFormat3ToJSON(
8720
+ deploymentGetConfigResponseFormat3: DeploymentGetConfigResponseFormat3,
8710
8721
  ): string {
8711
8722
  return JSON.stringify(
8712
- DeploymentGetConfigResponseFormat2$outboundSchema.parse(
8713
- deploymentGetConfigResponseFormat2,
8723
+ DeploymentGetConfigResponseFormat3$outboundSchema.parse(
8724
+ deploymentGetConfigResponseFormat3,
8714
8725
  ),
8715
8726
  );
8716
8727
  }
8717
8728
 
8718
- export function deploymentGetConfigResponseFormat2FromJSON(
8729
+ export function deploymentGetConfigResponseFormat3FromJSON(
8719
8730
  jsonString: string,
8720
- ): SafeParseResult<DeploymentGetConfigResponseFormat2, SDKValidationError> {
8731
+ ): SafeParseResult<DeploymentGetConfigResponseFormat3, SDKValidationError> {
8721
8732
  return safeParse(
8722
8733
  jsonString,
8723
8734
  (x) =>
8724
- DeploymentGetConfigResponseFormat2$inboundSchema.parse(JSON.parse(x)),
8725
- `Failed to parse 'DeploymentGetConfigResponseFormat2' from JSON`,
8735
+ DeploymentGetConfigResponseFormat3$inboundSchema.parse(JSON.parse(x)),
8736
+ `Failed to parse 'DeploymentGetConfigResponseFormat3' from JSON`,
8726
8737
  );
8727
8738
  }
8728
8739
 
8729
8740
  /** @internal */
8730
- export const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema:
8731
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> = z
8732
- .nativeEnum(DeploymentGetConfigResponseFormatDeploymentsType);
8741
+ export const DeploymentGetConfigResponseFormatType$inboundSchema:
8742
+ z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> = z.nativeEnum(
8743
+ DeploymentGetConfigResponseFormatType,
8744
+ );
8733
8745
 
8734
8746
  /** @internal */
8735
- export const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema:
8736
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> =
8737
- DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
8747
+ export const DeploymentGetConfigResponseFormatType$outboundSchema:
8748
+ z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> =
8749
+ DeploymentGetConfigResponseFormatType$inboundSchema;
8738
8750
 
8739
8751
  /**
8740
8752
  * @internal
8741
8753
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8742
8754
  */
8743
- export namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
8744
- /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
8755
+ export namespace DeploymentGetConfigResponseFormatType$ {
8756
+ /** @deprecated use `DeploymentGetConfigResponseFormatType$inboundSchema` instead. */
8745
8757
  export const inboundSchema =
8746
- DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
8747
- /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
8758
+ DeploymentGetConfigResponseFormatType$inboundSchema;
8759
+ /** @deprecated use `DeploymentGetConfigResponseFormatType$outboundSchema` instead. */
8748
8760
  export const outboundSchema =
8749
- DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
8761
+ DeploymentGetConfigResponseFormatType$outboundSchema;
8750
8762
  }
8751
8763
 
8752
8764
  /** @internal */
@@ -8823,12 +8835,12 @@ export function deploymentGetConfigResponseFormatJsonSchemaFromJSON(
8823
8835
  }
8824
8836
 
8825
8837
  /** @internal */
8826
- export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
8827
- DeploymentGetConfigResponseFormat1,
8838
+ export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
8839
+ DeploymentGetConfigResponseFormat2,
8828
8840
  z.ZodTypeDef,
8829
8841
  unknown
8830
8842
  > = z.object({
8831
- type: DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
8843
+ type: DeploymentGetConfigResponseFormatType$inboundSchema,
8832
8844
  json_schema: z.lazy(() =>
8833
8845
  DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
8834
8846
  ),
@@ -8839,18 +8851,18 @@ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
8839
8851
  });
8840
8852
 
8841
8853
  /** @internal */
8842
- export type DeploymentGetConfigResponseFormat1$Outbound = {
8854
+ export type DeploymentGetConfigResponseFormat2$Outbound = {
8843
8855
  type: string;
8844
8856
  json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
8845
8857
  };
8846
8858
 
8847
8859
  /** @internal */
8848
- export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
8849
- DeploymentGetConfigResponseFormat1$Outbound,
8860
+ export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
8861
+ DeploymentGetConfigResponseFormat2$Outbound,
8850
8862
  z.ZodTypeDef,
8851
- DeploymentGetConfigResponseFormat1
8863
+ DeploymentGetConfigResponseFormat2
8852
8864
  > = z.object({
8853
- type: DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema,
8865
+ type: DeploymentGetConfigResponseFormatType$outboundSchema,
8854
8866
  jsonSchema: z.lazy(() =>
8855
8867
  DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
8856
8868
  ),
@@ -8860,6 +8872,89 @@ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
8860
8872
  });
8861
8873
  });
8862
8874
 
8875
+ /**
8876
+ * @internal
8877
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8878
+ */
8879
+ export namespace DeploymentGetConfigResponseFormat2$ {
8880
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$inboundSchema` instead. */
8881
+ export const inboundSchema = DeploymentGetConfigResponseFormat2$inboundSchema;
8882
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$outboundSchema` instead. */
8883
+ export const outboundSchema =
8884
+ DeploymentGetConfigResponseFormat2$outboundSchema;
8885
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$Outbound` instead. */
8886
+ export type Outbound = DeploymentGetConfigResponseFormat2$Outbound;
8887
+ }
8888
+
8889
+ export function deploymentGetConfigResponseFormat2ToJSON(
8890
+ deploymentGetConfigResponseFormat2: DeploymentGetConfigResponseFormat2,
8891
+ ): string {
8892
+ return JSON.stringify(
8893
+ DeploymentGetConfigResponseFormat2$outboundSchema.parse(
8894
+ deploymentGetConfigResponseFormat2,
8895
+ ),
8896
+ );
8897
+ }
8898
+
8899
+ export function deploymentGetConfigResponseFormat2FromJSON(
8900
+ jsonString: string,
8901
+ ): SafeParseResult<DeploymentGetConfigResponseFormat2, SDKValidationError> {
8902
+ return safeParse(
8903
+ jsonString,
8904
+ (x) =>
8905
+ DeploymentGetConfigResponseFormat2$inboundSchema.parse(JSON.parse(x)),
8906
+ `Failed to parse 'DeploymentGetConfigResponseFormat2' from JSON`,
8907
+ );
8908
+ }
8909
+
8910
+ /** @internal */
8911
+ export const DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema:
8912
+ z.ZodNativeEnum<
8913
+ typeof DeploymentGetConfigResponseFormatDeploymentsResponseType
8914
+ > = z.nativeEnum(DeploymentGetConfigResponseFormatDeploymentsResponseType);
8915
+
8916
+ /** @internal */
8917
+ export const DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema:
8918
+ z.ZodNativeEnum<
8919
+ typeof DeploymentGetConfigResponseFormatDeploymentsResponseType
8920
+ > = DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema;
8921
+
8922
+ /**
8923
+ * @internal
8924
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8925
+ */
8926
+ export namespace DeploymentGetConfigResponseFormatDeploymentsResponseType$ {
8927
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema` instead. */
8928
+ export const inboundSchema =
8929
+ DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema;
8930
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema` instead. */
8931
+ export const outboundSchema =
8932
+ DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema;
8933
+ }
8934
+
8935
+ /** @internal */
8936
+ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
8937
+ DeploymentGetConfigResponseFormat1,
8938
+ z.ZodTypeDef,
8939
+ unknown
8940
+ > = z.object({
8941
+ type: DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema,
8942
+ });
8943
+
8944
+ /** @internal */
8945
+ export type DeploymentGetConfigResponseFormat1$Outbound = {
8946
+ type: string;
8947
+ };
8948
+
8949
+ /** @internal */
8950
+ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
8951
+ DeploymentGetConfigResponseFormat1$Outbound,
8952
+ z.ZodTypeDef,
8953
+ DeploymentGetConfigResponseFormat1
8954
+ > = z.object({
8955
+ type: DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema,
8956
+ });
8957
+
8863
8958
  /**
8864
8959
  * @internal
8865
8960
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -8901,14 +8996,16 @@ export const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<
8901
8996
  z.ZodTypeDef,
8902
8997
  unknown
8903
8998
  > = z.union([
8904
- z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
8905
8999
  z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
9000
+ z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
9001
+ z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
8906
9002
  ]);
8907
9003
 
8908
9004
  /** @internal */
8909
9005
  export type DeploymentGetConfigResponseFormat$Outbound =
9006
+ | DeploymentGetConfigResponseFormat2$Outbound
8910
9007
  | DeploymentGetConfigResponseFormat1$Outbound
8911
- | DeploymentGetConfigResponseFormat2$Outbound;
9008
+ | DeploymentGetConfigResponseFormat3$Outbound;
8912
9009
 
8913
9010
  /** @internal */
8914
9011
  export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
@@ -8916,8 +9013,9 @@ export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
8916
9013
  z.ZodTypeDef,
8917
9014
  DeploymentGetConfigResponseFormat
8918
9015
  > = z.union([
8919
- z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
8920
9016
  z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
9017
+ z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
9018
+ z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
8921
9019
  ]);
8922
9020
 
8923
9021
  /**
@@ -9062,8 +9160,9 @@ export const ParametersT$inboundSchema: z.ZodType<
9062
9160
  style: z.string().optional(),
9063
9161
  responseFormat: z.nullable(
9064
9162
  z.union([
9065
- z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
9066
9163
  z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
9164
+ z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
9165
+ z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
9067
9166
  ]),
9068
9167
  ).optional(),
9069
9168
  photoRealVersion: DeploymentGetConfigPhotoRealVersion$inboundSchema
@@ -9093,8 +9192,9 @@ export type ParametersT$Outbound = {
9093
9192
  quality?: string | undefined;
9094
9193
  style?: string | undefined;
9095
9194
  responseFormat?:
9096
- | DeploymentGetConfigResponseFormat1$Outbound
9097
9195
  | DeploymentGetConfigResponseFormat2$Outbound
9196
+ | DeploymentGetConfigResponseFormat1$Outbound
9197
+ | DeploymentGetConfigResponseFormat3$Outbound
9098
9198
  | null
9099
9199
  | undefined;
9100
9200
  photoRealVersion?: string | undefined;
@@ -9124,8 +9224,9 @@ export const ParametersT$outboundSchema: z.ZodType<
9124
9224
  style: z.string().optional(),
9125
9225
  responseFormat: z.nullable(
9126
9226
  z.union([
9127
- z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
9128
9227
  z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
9228
+ z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
9229
+ z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
9129
9230
  ]),
9130
9231
  ).optional(),
9131
9232
  photoRealVersion: DeploymentGetConfigPhotoRealVersion$outboundSchema