@orq-ai/node 3.10.17 → 3.10.19
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 +382 -382
- package/bin/mcp-server.js.map +35 -35
- package/examples/contactsCreate.example.ts +1 -1
- 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 +94 -94
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +98 -98
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +47 -47
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +49 -49
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +47 -47
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +49 -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 +47 -47
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +50 -50
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +47 -47
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +49 -49
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +47 -47
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +49 -49
- 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 +47 -47
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +49 -49
- 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 +94 -94
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +99 -99
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/contacts/README.md +1 -1
- package/packages/orq-rc/examples/contactsCreate.example.ts +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/contactsCreate.ts +1 -1
- 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/mcp-server/tools/contactsCreate.ts +1 -1
- 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 +2 -2
- 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/createprompt.ts +246 -40
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +121 -20
- package/packages/orq-rc/src/models/operations/deployments.ts +115 -19
- 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/getallprompts.ts +100 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +100 -2
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +100 -2
- 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/listpromptversions.ts +101 -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/models/operations/updateprompt.ts +210 -4
- package/packages/orq-rc/src/sdk/contacts.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 +179 -179
- package/src/models/operations/deploymentgetconfig.ts +106 -106
- package/src/models/operations/deployments.ts +94 -94
- 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 +98 -98
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +94 -94
- package/src/models/operations/getpromptversion.ts +104 -104
- 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 +103 -103
- 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 +183 -183
|
@@ -1414,6 +1414,17 @@ export type DeploymentGetConfigFormat = ClosedEnum<
|
|
|
1414
1414
|
typeof DeploymentGetConfigFormat
|
|
1415
1415
|
>;
|
|
1416
1416
|
|
|
1417
|
+
export const DeploymentGetConfigResponseFormatDeploymentsType = {
|
|
1418
|
+
Text: "text",
|
|
1419
|
+
} as const;
|
|
1420
|
+
export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
|
|
1421
|
+
typeof DeploymentGetConfigResponseFormatDeploymentsType
|
|
1422
|
+
>;
|
|
1423
|
+
|
|
1424
|
+
export type DeploymentGetConfigResponseFormat3 = {
|
|
1425
|
+
type: DeploymentGetConfigResponseFormatDeploymentsType;
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1417
1428
|
export const DeploymentGetConfigResponseFormatType = {
|
|
1418
1429
|
JsonObject: "json_object",
|
|
1419
1430
|
} as const;
|
|
@@ -1425,12 +1436,11 @@ export type DeploymentGetConfigResponseFormat2 = {
|
|
|
1425
1436
|
type: DeploymentGetConfigResponseFormatType;
|
|
1426
1437
|
};
|
|
1427
1438
|
|
|
1428
|
-
export const
|
|
1439
|
+
export const DeploymentGetConfigResponseFormatDeploymentsResponseType = {
|
|
1429
1440
|
JsonSchema: "json_schema",
|
|
1430
1441
|
} as const;
|
|
1431
|
-
export type
|
|
1432
|
-
typeof
|
|
1433
|
-
>;
|
|
1442
|
+
export type DeploymentGetConfigResponseFormatDeploymentsResponseType =
|
|
1443
|
+
ClosedEnum<typeof DeploymentGetConfigResponseFormatDeploymentsResponseType>;
|
|
1434
1444
|
|
|
1435
1445
|
export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
1436
1446
|
name: string;
|
|
@@ -1439,7 +1449,7 @@ export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
|
1439
1449
|
};
|
|
1440
1450
|
|
|
1441
1451
|
export type DeploymentGetConfigResponseFormat1 = {
|
|
1442
|
-
type:
|
|
1452
|
+
type: DeploymentGetConfigResponseFormatDeploymentsResponseType;
|
|
1443
1453
|
jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
|
|
1444
1454
|
};
|
|
1445
1455
|
|
|
@@ -1456,7 +1466,8 @@ export type DeploymentGetConfigResponseFormat1 = {
|
|
|
1456
1466
|
*/
|
|
1457
1467
|
export type DeploymentGetConfigResponseFormat =
|
|
1458
1468
|
| DeploymentGetConfigResponseFormat1
|
|
1459
|
-
| DeploymentGetConfigResponseFormat2
|
|
1469
|
+
| 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
|
|
@@ -1583,6 +1594,7 @@ export type ParametersT = {
|
|
|
1583
1594
|
responseFormat?:
|
|
1584
1595
|
| DeploymentGetConfigResponseFormat1
|
|
1585
1596
|
| DeploymentGetConfigResponseFormat2
|
|
1597
|
+
| DeploymentGetConfigResponseFormat3
|
|
1586
1598
|
| null
|
|
1587
1599
|
| undefined;
|
|
1588
1600
|
/**
|
|
@@ -8644,6 +8656,87 @@ export namespace DeploymentGetConfigFormat$ {
|
|
|
8644
8656
|
export const outboundSchema = DeploymentGetConfigFormat$outboundSchema;
|
|
8645
8657
|
}
|
|
8646
8658
|
|
|
8659
|
+
/** @internal */
|
|
8660
|
+
export const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema:
|
|
8661
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> = z
|
|
8662
|
+
.nativeEnum(DeploymentGetConfigResponseFormatDeploymentsType);
|
|
8663
|
+
|
|
8664
|
+
/** @internal */
|
|
8665
|
+
export const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema:
|
|
8666
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> =
|
|
8667
|
+
DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
|
|
8668
|
+
|
|
8669
|
+
/**
|
|
8670
|
+
* @internal
|
|
8671
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8672
|
+
*/
|
|
8673
|
+
export namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
|
|
8674
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
|
|
8675
|
+
export const inboundSchema =
|
|
8676
|
+
DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
|
|
8677
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
|
|
8678
|
+
export const outboundSchema =
|
|
8679
|
+
DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8682
|
+
/** @internal */
|
|
8683
|
+
export const DeploymentGetConfigResponseFormat3$inboundSchema: z.ZodType<
|
|
8684
|
+
DeploymentGetConfigResponseFormat3,
|
|
8685
|
+
z.ZodTypeDef,
|
|
8686
|
+
unknown
|
|
8687
|
+
> = z.object({
|
|
8688
|
+
type: DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
|
|
8689
|
+
});
|
|
8690
|
+
|
|
8691
|
+
/** @internal */
|
|
8692
|
+
export type DeploymentGetConfigResponseFormat3$Outbound = {
|
|
8693
|
+
type: string;
|
|
8694
|
+
};
|
|
8695
|
+
|
|
8696
|
+
/** @internal */
|
|
8697
|
+
export const DeploymentGetConfigResponseFormat3$outboundSchema: z.ZodType<
|
|
8698
|
+
DeploymentGetConfigResponseFormat3$Outbound,
|
|
8699
|
+
z.ZodTypeDef,
|
|
8700
|
+
DeploymentGetConfigResponseFormat3
|
|
8701
|
+
> = z.object({
|
|
8702
|
+
type: DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema,
|
|
8703
|
+
});
|
|
8704
|
+
|
|
8705
|
+
/**
|
|
8706
|
+
* @internal
|
|
8707
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8708
|
+
*/
|
|
8709
|
+
export namespace DeploymentGetConfigResponseFormat3$ {
|
|
8710
|
+
/** @deprecated use `DeploymentGetConfigResponseFormat3$inboundSchema` instead. */
|
|
8711
|
+
export const inboundSchema = DeploymentGetConfigResponseFormat3$inboundSchema;
|
|
8712
|
+
/** @deprecated use `DeploymentGetConfigResponseFormat3$outboundSchema` instead. */
|
|
8713
|
+
export const outboundSchema =
|
|
8714
|
+
DeploymentGetConfigResponseFormat3$outboundSchema;
|
|
8715
|
+
/** @deprecated use `DeploymentGetConfigResponseFormat3$Outbound` instead. */
|
|
8716
|
+
export type Outbound = DeploymentGetConfigResponseFormat3$Outbound;
|
|
8717
|
+
}
|
|
8718
|
+
|
|
8719
|
+
export function deploymentGetConfigResponseFormat3ToJSON(
|
|
8720
|
+
deploymentGetConfigResponseFormat3: DeploymentGetConfigResponseFormat3,
|
|
8721
|
+
): string {
|
|
8722
|
+
return JSON.stringify(
|
|
8723
|
+
DeploymentGetConfigResponseFormat3$outboundSchema.parse(
|
|
8724
|
+
deploymentGetConfigResponseFormat3,
|
|
8725
|
+
),
|
|
8726
|
+
);
|
|
8727
|
+
}
|
|
8728
|
+
|
|
8729
|
+
export function deploymentGetConfigResponseFormat3FromJSON(
|
|
8730
|
+
jsonString: string,
|
|
8731
|
+
): SafeParseResult<DeploymentGetConfigResponseFormat3, SDKValidationError> {
|
|
8732
|
+
return safeParse(
|
|
8733
|
+
jsonString,
|
|
8734
|
+
(x) =>
|
|
8735
|
+
DeploymentGetConfigResponseFormat3$inboundSchema.parse(JSON.parse(x)),
|
|
8736
|
+
`Failed to parse 'DeploymentGetConfigResponseFormat3' from JSON`,
|
|
8737
|
+
);
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8647
8740
|
/** @internal */
|
|
8648
8741
|
export const DeploymentGetConfigResponseFormatType$inboundSchema:
|
|
8649
8742
|
z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType> = z.nativeEnum(
|
|
@@ -8727,26 +8820,28 @@ export function deploymentGetConfigResponseFormat2FromJSON(
|
|
|
8727
8820
|
}
|
|
8728
8821
|
|
|
8729
8822
|
/** @internal */
|
|
8730
|
-
export const
|
|
8731
|
-
z.ZodNativeEnum<
|
|
8732
|
-
|
|
8823
|
+
export const DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema:
|
|
8824
|
+
z.ZodNativeEnum<
|
|
8825
|
+
typeof DeploymentGetConfigResponseFormatDeploymentsResponseType
|
|
8826
|
+
> = z.nativeEnum(DeploymentGetConfigResponseFormatDeploymentsResponseType);
|
|
8733
8827
|
|
|
8734
8828
|
/** @internal */
|
|
8735
|
-
export const
|
|
8736
|
-
z.ZodNativeEnum<
|
|
8737
|
-
|
|
8829
|
+
export const DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema:
|
|
8830
|
+
z.ZodNativeEnum<
|
|
8831
|
+
typeof DeploymentGetConfigResponseFormatDeploymentsResponseType
|
|
8832
|
+
> = DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema;
|
|
8738
8833
|
|
|
8739
8834
|
/**
|
|
8740
8835
|
* @internal
|
|
8741
8836
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8742
8837
|
*/
|
|
8743
|
-
export namespace
|
|
8744
|
-
/** @deprecated use `
|
|
8838
|
+
export namespace DeploymentGetConfigResponseFormatDeploymentsResponseType$ {
|
|
8839
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema` instead. */
|
|
8745
8840
|
export const inboundSchema =
|
|
8746
|
-
|
|
8747
|
-
/** @deprecated use `
|
|
8841
|
+
DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema;
|
|
8842
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema` instead. */
|
|
8748
8843
|
export const outboundSchema =
|
|
8749
|
-
|
|
8844
|
+
DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema;
|
|
8750
8845
|
}
|
|
8751
8846
|
|
|
8752
8847
|
/** @internal */
|
|
@@ -8828,7 +8923,7 @@ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
|
|
|
8828
8923
|
z.ZodTypeDef,
|
|
8829
8924
|
unknown
|
|
8830
8925
|
> = z.object({
|
|
8831
|
-
type:
|
|
8926
|
+
type: DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema,
|
|
8832
8927
|
json_schema: z.lazy(() =>
|
|
8833
8928
|
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
|
|
8834
8929
|
),
|
|
@@ -8850,7 +8945,7 @@ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
|
|
|
8850
8945
|
z.ZodTypeDef,
|
|
8851
8946
|
DeploymentGetConfigResponseFormat1
|
|
8852
8947
|
> = z.object({
|
|
8853
|
-
type:
|
|
8948
|
+
type: DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema,
|
|
8854
8949
|
jsonSchema: z.lazy(() =>
|
|
8855
8950
|
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
|
|
8856
8951
|
),
|
|
@@ -8903,12 +8998,14 @@ export const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<
|
|
|
8903
8998
|
> = z.union([
|
|
8904
8999
|
z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
|
|
8905
9000
|
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9001
|
+
z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
|
|
8906
9002
|
]);
|
|
8907
9003
|
|
|
8908
9004
|
/** @internal */
|
|
8909
9005
|
export type DeploymentGetConfigResponseFormat$Outbound =
|
|
8910
9006
|
| DeploymentGetConfigResponseFormat1$Outbound
|
|
8911
|
-
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9007
|
+
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9008
|
+
| DeploymentGetConfigResponseFormat3$Outbound;
|
|
8912
9009
|
|
|
8913
9010
|
/** @internal */
|
|
8914
9011
|
export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -8918,6 +9015,7 @@ export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
|
|
|
8918
9015
|
> = z.union([
|
|
8919
9016
|
z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
|
|
8920
9017
|
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9018
|
+
z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
|
|
8921
9019
|
]);
|
|
8922
9020
|
|
|
8923
9021
|
/**
|
|
@@ -9064,6 +9162,7 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
9064
9162
|
z.union([
|
|
9065
9163
|
z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
|
|
9066
9164
|
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9165
|
+
z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
|
|
9067
9166
|
]),
|
|
9068
9167
|
).optional(),
|
|
9069
9168
|
photoRealVersion: DeploymentGetConfigPhotoRealVersion$inboundSchema
|
|
@@ -9095,6 +9194,7 @@ export type ParametersT$Outbound = {
|
|
|
9095
9194
|
responseFormat?:
|
|
9096
9195
|
| DeploymentGetConfigResponseFormat1$Outbound
|
|
9097
9196
|
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9197
|
+
| DeploymentGetConfigResponseFormat3$Outbound
|
|
9098
9198
|
| null
|
|
9099
9199
|
| undefined;
|
|
9100
9200
|
photoRealVersion?: string | undefined;
|
|
@@ -9126,6 +9226,7 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
9126
9226
|
z.union([
|
|
9127
9227
|
z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
|
|
9128
9228
|
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9229
|
+
z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
|
|
9129
9230
|
]),
|
|
9130
9231
|
).optional(),
|
|
9131
9232
|
photoRealVersion: DeploymentGetConfigPhotoRealVersion$outboundSchema
|
|
@@ -123,6 +123,17 @@ export const DeploymentsFormat = {
|
|
|
123
123
|
*/
|
|
124
124
|
export type DeploymentsFormat = ClosedEnum<typeof DeploymentsFormat>;
|
|
125
125
|
|
|
126
|
+
export const DeploymentsResponseFormatDeploymentsType = {
|
|
127
|
+
Text: "text",
|
|
128
|
+
} as const;
|
|
129
|
+
export type DeploymentsResponseFormatDeploymentsType = ClosedEnum<
|
|
130
|
+
typeof DeploymentsResponseFormatDeploymentsType
|
|
131
|
+
>;
|
|
132
|
+
|
|
133
|
+
export type DeploymentsResponseFormat3 = {
|
|
134
|
+
type: DeploymentsResponseFormatDeploymentsType;
|
|
135
|
+
};
|
|
136
|
+
|
|
126
137
|
export const DeploymentsResponseFormatType = {
|
|
127
138
|
JsonObject: "json_object",
|
|
128
139
|
} as const;
|
|
@@ -134,11 +145,11 @@ export type DeploymentsResponseFormat2 = {
|
|
|
134
145
|
type: DeploymentsResponseFormatType;
|
|
135
146
|
};
|
|
136
147
|
|
|
137
|
-
export const
|
|
148
|
+
export const DeploymentsResponseFormatDeploymentsResponseType = {
|
|
138
149
|
JsonSchema: "json_schema",
|
|
139
150
|
} as const;
|
|
140
|
-
export type
|
|
141
|
-
typeof
|
|
151
|
+
export type DeploymentsResponseFormatDeploymentsResponseType = ClosedEnum<
|
|
152
|
+
typeof DeploymentsResponseFormatDeploymentsResponseType
|
|
142
153
|
>;
|
|
143
154
|
|
|
144
155
|
export type DeploymentsResponseFormatJsonSchema = {
|
|
@@ -148,7 +159,7 @@ export type DeploymentsResponseFormatJsonSchema = {
|
|
|
148
159
|
};
|
|
149
160
|
|
|
150
161
|
export type DeploymentsResponseFormat1 = {
|
|
151
|
-
type:
|
|
162
|
+
type: DeploymentsResponseFormatDeploymentsResponseType;
|
|
152
163
|
jsonSchema: DeploymentsResponseFormatJsonSchema;
|
|
153
164
|
};
|
|
154
165
|
|
|
@@ -165,7 +176,8 @@ export type DeploymentsResponseFormat1 = {
|
|
|
165
176
|
*/
|
|
166
177
|
export type DeploymentsResponseFormat =
|
|
167
178
|
| DeploymentsResponseFormat1
|
|
168
|
-
| DeploymentsResponseFormat2
|
|
179
|
+
| DeploymentsResponseFormat2
|
|
180
|
+
| DeploymentsResponseFormat3;
|
|
169
181
|
|
|
170
182
|
/**
|
|
171
183
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -290,6 +302,7 @@ export type DeploymentsModelParameters = {
|
|
|
290
302
|
responseFormat?:
|
|
291
303
|
| DeploymentsResponseFormat1
|
|
292
304
|
| DeploymentsResponseFormat2
|
|
305
|
+
| DeploymentsResponseFormat3
|
|
293
306
|
| null
|
|
294
307
|
| undefined;
|
|
295
308
|
/**
|
|
@@ -890,6 +903,83 @@ export namespace DeploymentsFormat$ {
|
|
|
890
903
|
export const outboundSchema = DeploymentsFormat$outboundSchema;
|
|
891
904
|
}
|
|
892
905
|
|
|
906
|
+
/** @internal */
|
|
907
|
+
export const DeploymentsResponseFormatDeploymentsType$inboundSchema:
|
|
908
|
+
z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsType> = z
|
|
909
|
+
.nativeEnum(DeploymentsResponseFormatDeploymentsType);
|
|
910
|
+
|
|
911
|
+
/** @internal */
|
|
912
|
+
export const DeploymentsResponseFormatDeploymentsType$outboundSchema:
|
|
913
|
+
z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsType> =
|
|
914
|
+
DeploymentsResponseFormatDeploymentsType$inboundSchema;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @internal
|
|
918
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
919
|
+
*/
|
|
920
|
+
export namespace DeploymentsResponseFormatDeploymentsType$ {
|
|
921
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsType$inboundSchema` instead. */
|
|
922
|
+
export const inboundSchema =
|
|
923
|
+
DeploymentsResponseFormatDeploymentsType$inboundSchema;
|
|
924
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsType$outboundSchema` instead. */
|
|
925
|
+
export const outboundSchema =
|
|
926
|
+
DeploymentsResponseFormatDeploymentsType$outboundSchema;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/** @internal */
|
|
930
|
+
export const DeploymentsResponseFormat3$inboundSchema: z.ZodType<
|
|
931
|
+
DeploymentsResponseFormat3,
|
|
932
|
+
z.ZodTypeDef,
|
|
933
|
+
unknown
|
|
934
|
+
> = z.object({
|
|
935
|
+
type: DeploymentsResponseFormatDeploymentsType$inboundSchema,
|
|
936
|
+
});
|
|
937
|
+
|
|
938
|
+
/** @internal */
|
|
939
|
+
export type DeploymentsResponseFormat3$Outbound = {
|
|
940
|
+
type: string;
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
/** @internal */
|
|
944
|
+
export const DeploymentsResponseFormat3$outboundSchema: z.ZodType<
|
|
945
|
+
DeploymentsResponseFormat3$Outbound,
|
|
946
|
+
z.ZodTypeDef,
|
|
947
|
+
DeploymentsResponseFormat3
|
|
948
|
+
> = z.object({
|
|
949
|
+
type: DeploymentsResponseFormatDeploymentsType$outboundSchema,
|
|
950
|
+
});
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* @internal
|
|
954
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
955
|
+
*/
|
|
956
|
+
export namespace DeploymentsResponseFormat3$ {
|
|
957
|
+
/** @deprecated use `DeploymentsResponseFormat3$inboundSchema` instead. */
|
|
958
|
+
export const inboundSchema = DeploymentsResponseFormat3$inboundSchema;
|
|
959
|
+
/** @deprecated use `DeploymentsResponseFormat3$outboundSchema` instead. */
|
|
960
|
+
export const outboundSchema = DeploymentsResponseFormat3$outboundSchema;
|
|
961
|
+
/** @deprecated use `DeploymentsResponseFormat3$Outbound` instead. */
|
|
962
|
+
export type Outbound = DeploymentsResponseFormat3$Outbound;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export function deploymentsResponseFormat3ToJSON(
|
|
966
|
+
deploymentsResponseFormat3: DeploymentsResponseFormat3,
|
|
967
|
+
): string {
|
|
968
|
+
return JSON.stringify(
|
|
969
|
+
DeploymentsResponseFormat3$outboundSchema.parse(deploymentsResponseFormat3),
|
|
970
|
+
);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
export function deploymentsResponseFormat3FromJSON(
|
|
974
|
+
jsonString: string,
|
|
975
|
+
): SafeParseResult<DeploymentsResponseFormat3, SDKValidationError> {
|
|
976
|
+
return safeParse(
|
|
977
|
+
jsonString,
|
|
978
|
+
(x) => DeploymentsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
|
|
979
|
+
`Failed to parse 'DeploymentsResponseFormat3' from JSON`,
|
|
980
|
+
);
|
|
981
|
+
}
|
|
982
|
+
|
|
893
983
|
/** @internal */
|
|
894
984
|
export const DeploymentsResponseFormatType$inboundSchema: z.ZodNativeEnum<
|
|
895
985
|
typeof DeploymentsResponseFormatType
|
|
@@ -966,26 +1056,26 @@ export function deploymentsResponseFormat2FromJSON(
|
|
|
966
1056
|
}
|
|
967
1057
|
|
|
968
1058
|
/** @internal */
|
|
969
|
-
export const
|
|
970
|
-
z.ZodNativeEnum<typeof
|
|
971
|
-
.nativeEnum(
|
|
1059
|
+
export const DeploymentsResponseFormatDeploymentsResponseType$inboundSchema:
|
|
1060
|
+
z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsResponseType> = z
|
|
1061
|
+
.nativeEnum(DeploymentsResponseFormatDeploymentsResponseType);
|
|
972
1062
|
|
|
973
1063
|
/** @internal */
|
|
974
|
-
export const
|
|
975
|
-
z.ZodNativeEnum<typeof
|
|
976
|
-
|
|
1064
|
+
export const DeploymentsResponseFormatDeploymentsResponseType$outboundSchema:
|
|
1065
|
+
z.ZodNativeEnum<typeof DeploymentsResponseFormatDeploymentsResponseType> =
|
|
1066
|
+
DeploymentsResponseFormatDeploymentsResponseType$inboundSchema;
|
|
977
1067
|
|
|
978
1068
|
/**
|
|
979
1069
|
* @internal
|
|
980
1070
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
981
1071
|
*/
|
|
982
|
-
export namespace
|
|
983
|
-
/** @deprecated use `
|
|
1072
|
+
export namespace DeploymentsResponseFormatDeploymentsResponseType$ {
|
|
1073
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsResponseType$inboundSchema` instead. */
|
|
984
1074
|
export const inboundSchema =
|
|
985
|
-
|
|
986
|
-
/** @deprecated use `
|
|
1075
|
+
DeploymentsResponseFormatDeploymentsResponseType$inboundSchema;
|
|
1076
|
+
/** @deprecated use `DeploymentsResponseFormatDeploymentsResponseType$outboundSchema` instead. */
|
|
987
1077
|
export const outboundSchema =
|
|
988
|
-
|
|
1078
|
+
DeploymentsResponseFormatDeploymentsResponseType$outboundSchema;
|
|
989
1079
|
}
|
|
990
1080
|
|
|
991
1081
|
/** @internal */
|
|
@@ -1059,7 +1149,7 @@ export const DeploymentsResponseFormat1$inboundSchema: z.ZodType<
|
|
|
1059
1149
|
z.ZodTypeDef,
|
|
1060
1150
|
unknown
|
|
1061
1151
|
> = z.object({
|
|
1062
|
-
type:
|
|
1152
|
+
type: DeploymentsResponseFormatDeploymentsResponseType$inboundSchema,
|
|
1063
1153
|
json_schema: z.lazy(() => DeploymentsResponseFormatJsonSchema$inboundSchema),
|
|
1064
1154
|
}).transform((v) => {
|
|
1065
1155
|
return remap$(v, {
|
|
@@ -1079,7 +1169,7 @@ export const DeploymentsResponseFormat1$outboundSchema: z.ZodType<
|
|
|
1079
1169
|
z.ZodTypeDef,
|
|
1080
1170
|
DeploymentsResponseFormat1
|
|
1081
1171
|
> = z.object({
|
|
1082
|
-
type:
|
|
1172
|
+
type: DeploymentsResponseFormatDeploymentsResponseType$outboundSchema,
|
|
1083
1173
|
jsonSchema: z.lazy(() => DeploymentsResponseFormatJsonSchema$outboundSchema),
|
|
1084
1174
|
}).transform((v) => {
|
|
1085
1175
|
return remap$(v, {
|
|
@@ -1126,12 +1216,14 @@ export const DeploymentsResponseFormat$inboundSchema: z.ZodType<
|
|
|
1126
1216
|
> = z.union([
|
|
1127
1217
|
z.lazy(() => DeploymentsResponseFormat1$inboundSchema),
|
|
1128
1218
|
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1219
|
+
z.lazy(() => DeploymentsResponseFormat3$inboundSchema),
|
|
1129
1220
|
]);
|
|
1130
1221
|
|
|
1131
1222
|
/** @internal */
|
|
1132
1223
|
export type DeploymentsResponseFormat$Outbound =
|
|
1133
1224
|
| DeploymentsResponseFormat1$Outbound
|
|
1134
|
-
| DeploymentsResponseFormat2$Outbound
|
|
1225
|
+
| DeploymentsResponseFormat2$Outbound
|
|
1226
|
+
| DeploymentsResponseFormat3$Outbound;
|
|
1135
1227
|
|
|
1136
1228
|
/** @internal */
|
|
1137
1229
|
export const DeploymentsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1141,6 +1233,7 @@ export const DeploymentsResponseFormat$outboundSchema: z.ZodType<
|
|
|
1141
1233
|
> = z.union([
|
|
1142
1234
|
z.lazy(() => DeploymentsResponseFormat1$outboundSchema),
|
|
1143
1235
|
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1236
|
+
z.lazy(() => DeploymentsResponseFormat3$outboundSchema),
|
|
1144
1237
|
]);
|
|
1145
1238
|
|
|
1146
1239
|
/**
|
|
@@ -1280,6 +1373,7 @@ export const DeploymentsModelParameters$inboundSchema: z.ZodType<
|
|
|
1280
1373
|
z.union([
|
|
1281
1374
|
z.lazy(() => DeploymentsResponseFormat1$inboundSchema),
|
|
1282
1375
|
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1376
|
+
z.lazy(() => DeploymentsResponseFormat3$inboundSchema),
|
|
1283
1377
|
]),
|
|
1284
1378
|
).optional(),
|
|
1285
1379
|
photoRealVersion: DeploymentsPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1310,6 +1404,7 @@ export type DeploymentsModelParameters$Outbound = {
|
|
|
1310
1404
|
responseFormat?:
|
|
1311
1405
|
| DeploymentsResponseFormat1$Outbound
|
|
1312
1406
|
| DeploymentsResponseFormat2$Outbound
|
|
1407
|
+
| DeploymentsResponseFormat3$Outbound
|
|
1313
1408
|
| null
|
|
1314
1409
|
| undefined;
|
|
1315
1410
|
photoRealVersion?: string | undefined;
|
|
@@ -1341,6 +1436,7 @@ export const DeploymentsModelParameters$outboundSchema: z.ZodType<
|
|
|
1341
1436
|
z.union([
|
|
1342
1437
|
z.lazy(() => DeploymentsResponseFormat1$outboundSchema),
|
|
1343
1438
|
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1439
|
+
z.lazy(() => DeploymentsResponseFormat3$outboundSchema),
|
|
1344
1440
|
]),
|
|
1345
1441
|
).optional(),
|
|
1346
1442
|
photoRealVersion: DeploymentsPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-08-
|
|
149
|
+
"2025-08-13T09:41:46.449Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-08-
|
|
183
|
+
created: z.date().default(() => new Date("2025-08-13T09:41:46.449Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-08-
|
|
199
|
+
"2025-08-13T09:41:46.449Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-08-
|
|
233
|
+
created: z.date().default(() => new Date("2025-08-13T09:41:46.449Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-08-
|
|
253
|
+
"2025-08-13T09:41:46.449Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-08-
|
|
287
|
+
created: z.date().default(() => new Date("2025-08-13T09:41:46.449Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|