@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.
- package/bin/mcp-server.js +608 -378
- package/bin/mcp-server.js.map +35 -35
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/createprompt.d.ts +163 -69
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +196 -96
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +82 -35
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +106 -57
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +82 -35
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +99 -49
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +81 -34
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +99 -49
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +81 -34
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +99 -49
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +81 -34
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +100 -50
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +81 -34
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +99 -50
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +162 -68
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +197 -97
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
- package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/operations/createchunk.ts +54 -44
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +46 -63
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/sdk/datasets.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createprompt.ts +347 -141
- package/src/models/operations/deploymentgetconfig.ts +173 -72
- package/src/models/operations/deployments.ts +168 -72
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getallprompts.ts +169 -71
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +169 -71
- package/src/models/operations/getpromptversion.ts +168 -70
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +170 -71
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- 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
|
|
1417
|
+
export const DeploymentGetConfigResponseFormatDeploymentsType = {
|
|
1418
1418
|
JsonObject: "json_object",
|
|
1419
1419
|
} as const;
|
|
1420
|
-
export type
|
|
1421
|
-
typeof
|
|
1420
|
+
export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
|
|
1421
|
+
typeof DeploymentGetConfigResponseFormatDeploymentsType
|
|
1422
1422
|
>;
|
|
1423
1423
|
|
|
1424
|
-
export type
|
|
1425
|
-
type:
|
|
1424
|
+
export type DeploymentGetConfigResponseFormat3 = {
|
|
1425
|
+
type: DeploymentGetConfigResponseFormatDeploymentsType;
|
|
1426
1426
|
};
|
|
1427
1427
|
|
|
1428
|
-
export const
|
|
1428
|
+
export const DeploymentGetConfigResponseFormatType = {
|
|
1429
1429
|
JsonSchema: "json_schema",
|
|
1430
1430
|
} as const;
|
|
1431
|
-
export type
|
|
1432
|
-
typeof
|
|
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
|
|
1442
|
-
type:
|
|
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
|
-
|
|
|
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
|
|
8649
|
-
z.ZodNativeEnum<typeof
|
|
8650
|
-
|
|
8651
|
-
);
|
|
8660
|
+
export const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema:
|
|
8661
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> = z
|
|
8662
|
+
.nativeEnum(DeploymentGetConfigResponseFormatDeploymentsType);
|
|
8652
8663
|
|
|
8653
8664
|
/** @internal */
|
|
8654
|
-
export const
|
|
8655
|
-
z.ZodNativeEnum<typeof
|
|
8656
|
-
|
|
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
|
|
8663
|
-
/** @deprecated use `
|
|
8673
|
+
export namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
|
|
8674
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
|
|
8664
8675
|
export const inboundSchema =
|
|
8665
|
-
|
|
8666
|
-
/** @deprecated use `
|
|
8676
|
+
DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
|
|
8677
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
|
|
8667
8678
|
export const outboundSchema =
|
|
8668
|
-
|
|
8679
|
+
DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
|
|
8669
8680
|
}
|
|
8670
8681
|
|
|
8671
8682
|
/** @internal */
|
|
8672
|
-
export const
|
|
8673
|
-
|
|
8683
|
+
export const DeploymentGetConfigResponseFormat3$inboundSchema: z.ZodType<
|
|
8684
|
+
DeploymentGetConfigResponseFormat3,
|
|
8674
8685
|
z.ZodTypeDef,
|
|
8675
8686
|
unknown
|
|
8676
8687
|
> = z.object({
|
|
8677
|
-
type:
|
|
8688
|
+
type: DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
|
|
8678
8689
|
});
|
|
8679
8690
|
|
|
8680
8691
|
/** @internal */
|
|
8681
|
-
export type
|
|
8692
|
+
export type DeploymentGetConfigResponseFormat3$Outbound = {
|
|
8682
8693
|
type: string;
|
|
8683
8694
|
};
|
|
8684
8695
|
|
|
8685
8696
|
/** @internal */
|
|
8686
|
-
export const
|
|
8687
|
-
|
|
8697
|
+
export const DeploymentGetConfigResponseFormat3$outboundSchema: z.ZodType<
|
|
8698
|
+
DeploymentGetConfigResponseFormat3$Outbound,
|
|
8688
8699
|
z.ZodTypeDef,
|
|
8689
|
-
|
|
8700
|
+
DeploymentGetConfigResponseFormat3
|
|
8690
8701
|
> = z.object({
|
|
8691
|
-
type:
|
|
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
|
|
8699
|
-
/** @deprecated use `
|
|
8700
|
-
export const inboundSchema =
|
|
8701
|
-
/** @deprecated use `
|
|
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
|
-
|
|
8704
|
-
/** @deprecated use `
|
|
8705
|
-
export type Outbound =
|
|
8714
|
+
DeploymentGetConfigResponseFormat3$outboundSchema;
|
|
8715
|
+
/** @deprecated use `DeploymentGetConfigResponseFormat3$Outbound` instead. */
|
|
8716
|
+
export type Outbound = DeploymentGetConfigResponseFormat3$Outbound;
|
|
8706
8717
|
}
|
|
8707
8718
|
|
|
8708
|
-
export function
|
|
8709
|
-
|
|
8719
|
+
export function deploymentGetConfigResponseFormat3ToJSON(
|
|
8720
|
+
deploymentGetConfigResponseFormat3: DeploymentGetConfigResponseFormat3,
|
|
8710
8721
|
): string {
|
|
8711
8722
|
return JSON.stringify(
|
|
8712
|
-
|
|
8713
|
-
|
|
8723
|
+
DeploymentGetConfigResponseFormat3$outboundSchema.parse(
|
|
8724
|
+
deploymentGetConfigResponseFormat3,
|
|
8714
8725
|
),
|
|
8715
8726
|
);
|
|
8716
8727
|
}
|
|
8717
8728
|
|
|
8718
|
-
export function
|
|
8729
|
+
export function deploymentGetConfigResponseFormat3FromJSON(
|
|
8719
8730
|
jsonString: string,
|
|
8720
|
-
): SafeParseResult<
|
|
8731
|
+
): SafeParseResult<DeploymentGetConfigResponseFormat3, SDKValidationError> {
|
|
8721
8732
|
return safeParse(
|
|
8722
8733
|
jsonString,
|
|
8723
8734
|
(x) =>
|
|
8724
|
-
|
|
8725
|
-
`Failed to parse '
|
|
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
|
|
8731
|
-
z.ZodNativeEnum<typeof
|
|
8732
|
-
|
|
8741
|
+
export const DeploymentGetConfigResponseFormatType$inboundSchema:
|
|
8742
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> = z.nativeEnum(
|
|
8743
|
+
DeploymentGetConfigResponseFormatType,
|
|
8744
|
+
);
|
|
8733
8745
|
|
|
8734
8746
|
/** @internal */
|
|
8735
|
-
export const
|
|
8736
|
-
z.ZodNativeEnum<typeof
|
|
8737
|
-
|
|
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
|
|
8744
|
-
/** @deprecated use `
|
|
8755
|
+
export namespace DeploymentGetConfigResponseFormatType$ {
|
|
8756
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatType$inboundSchema` instead. */
|
|
8745
8757
|
export const inboundSchema =
|
|
8746
|
-
|
|
8747
|
-
/** @deprecated use `
|
|
8758
|
+
DeploymentGetConfigResponseFormatType$inboundSchema;
|
|
8759
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatType$outboundSchema` instead. */
|
|
8748
8760
|
export const outboundSchema =
|
|
8749
|
-
|
|
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
|
|
8827
|
-
|
|
8838
|
+
export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
|
|
8839
|
+
DeploymentGetConfigResponseFormat2,
|
|
8828
8840
|
z.ZodTypeDef,
|
|
8829
8841
|
unknown
|
|
8830
8842
|
> = z.object({
|
|
8831
|
-
type:
|
|
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
|
|
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
|
|
8849
|
-
|
|
8860
|
+
export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
|
|
8861
|
+
DeploymentGetConfigResponseFormat2$Outbound,
|
|
8850
8862
|
z.ZodTypeDef,
|
|
8851
|
-
|
|
8863
|
+
DeploymentGetConfigResponseFormat2
|
|
8852
8864
|
> = z.object({
|
|
8853
|
-
type:
|
|
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
|
-
|
|
|
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
|