@orq-ai/node 3.10.17 → 3.10.20
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
|
@@ -1415,7 +1415,7 @@ export type DeploymentGetConfigFormat = ClosedEnum<
|
|
|
1415
1415
|
>;
|
|
1416
1416
|
|
|
1417
1417
|
export const DeploymentGetConfigResponseFormatDeploymentsType = {
|
|
1418
|
-
|
|
1418
|
+
Text: "text",
|
|
1419
1419
|
} as const;
|
|
1420
1420
|
export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
|
|
1421
1421
|
typeof DeploymentGetConfigResponseFormatDeploymentsType
|
|
@@ -1426,31 +1426,31 @@ export type DeploymentGetConfigResponseFormat3 = {
|
|
|
1426
1426
|
};
|
|
1427
1427
|
|
|
1428
1428
|
export const DeploymentGetConfigResponseFormatType = {
|
|
1429
|
-
|
|
1429
|
+
JsonObject: "json_object",
|
|
1430
1430
|
} as const;
|
|
1431
1431
|
export type DeploymentGetConfigResponseFormatType = ClosedEnum<
|
|
1432
1432
|
typeof DeploymentGetConfigResponseFormatType
|
|
1433
1433
|
>;
|
|
1434
1434
|
|
|
1435
|
-
export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
1436
|
-
name: string;
|
|
1437
|
-
strict?: boolean | undefined;
|
|
1438
|
-
schema: { [k: string]: any };
|
|
1439
|
-
};
|
|
1440
|
-
|
|
1441
1435
|
export type DeploymentGetConfigResponseFormat2 = {
|
|
1442
1436
|
type: DeploymentGetConfigResponseFormatType;
|
|
1443
|
-
jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
|
|
1444
1437
|
};
|
|
1445
1438
|
|
|
1446
1439
|
export const DeploymentGetConfigResponseFormatDeploymentsResponseType = {
|
|
1447
|
-
|
|
1440
|
+
JsonSchema: "json_schema",
|
|
1448
1441
|
} as const;
|
|
1449
1442
|
export type DeploymentGetConfigResponseFormatDeploymentsResponseType =
|
|
1450
1443
|
ClosedEnum<typeof DeploymentGetConfigResponseFormatDeploymentsResponseType>;
|
|
1451
1444
|
|
|
1445
|
+
export type DeploymentGetConfigResponseFormatJsonSchema = {
|
|
1446
|
+
name: string;
|
|
1447
|
+
strict?: boolean | undefined;
|
|
1448
|
+
schema: { [k: string]: any };
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1452
1451
|
export type DeploymentGetConfigResponseFormat1 = {
|
|
1453
1452
|
type: DeploymentGetConfigResponseFormatDeploymentsResponseType;
|
|
1453
|
+
jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
|
|
1454
1454
|
};
|
|
1455
1455
|
|
|
1456
1456
|
/**
|
|
@@ -1465,8 +1465,8 @@ export type DeploymentGetConfigResponseFormat1 = {
|
|
|
1465
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.
|
|
1466
1466
|
*/
|
|
1467
1467
|
export type DeploymentGetConfigResponseFormat =
|
|
1468
|
-
| DeploymentGetConfigResponseFormat2
|
|
1469
1468
|
| DeploymentGetConfigResponseFormat1
|
|
1469
|
+
| DeploymentGetConfigResponseFormat2
|
|
1470
1470
|
| DeploymentGetConfigResponseFormat3;
|
|
1471
1471
|
|
|
1472
1472
|
/**
|
|
@@ -1592,8 +1592,8 @@ export type ParametersT = {
|
|
|
1592
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.
|
|
1593
1593
|
*/
|
|
1594
1594
|
responseFormat?:
|
|
1595
|
-
| DeploymentGetConfigResponseFormat2
|
|
1596
1595
|
| DeploymentGetConfigResponseFormat1
|
|
1596
|
+
| DeploymentGetConfigResponseFormat2
|
|
1597
1597
|
| DeploymentGetConfigResponseFormat3
|
|
1598
1598
|
| null
|
|
1599
1599
|
| undefined;
|
|
@@ -8761,79 +8761,6 @@ export namespace DeploymentGetConfigResponseFormatType$ {
|
|
|
8761
8761
|
DeploymentGetConfigResponseFormatType$outboundSchema;
|
|
8762
8762
|
}
|
|
8763
8763
|
|
|
8764
|
-
/** @internal */
|
|
8765
|
-
export const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema:
|
|
8766
|
-
z.ZodType<
|
|
8767
|
-
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8768
|
-
z.ZodTypeDef,
|
|
8769
|
-
unknown
|
|
8770
|
-
> = z.object({
|
|
8771
|
-
name: z.string(),
|
|
8772
|
-
strict: z.boolean().optional(),
|
|
8773
|
-
schema: z.record(z.any()),
|
|
8774
|
-
});
|
|
8775
|
-
|
|
8776
|
-
/** @internal */
|
|
8777
|
-
export type DeploymentGetConfigResponseFormatJsonSchema$Outbound = {
|
|
8778
|
-
name: string;
|
|
8779
|
-
strict?: boolean | undefined;
|
|
8780
|
-
schema: { [k: string]: any };
|
|
8781
|
-
};
|
|
8782
|
-
|
|
8783
|
-
/** @internal */
|
|
8784
|
-
export const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema:
|
|
8785
|
-
z.ZodType<
|
|
8786
|
-
DeploymentGetConfigResponseFormatJsonSchema$Outbound,
|
|
8787
|
-
z.ZodTypeDef,
|
|
8788
|
-
DeploymentGetConfigResponseFormatJsonSchema
|
|
8789
|
-
> = z.object({
|
|
8790
|
-
name: z.string(),
|
|
8791
|
-
strict: z.boolean().optional(),
|
|
8792
|
-
schema: z.record(z.any()),
|
|
8793
|
-
});
|
|
8794
|
-
|
|
8795
|
-
/**
|
|
8796
|
-
* @internal
|
|
8797
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8798
|
-
*/
|
|
8799
|
-
export namespace DeploymentGetConfigResponseFormatJsonSchema$ {
|
|
8800
|
-
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$inboundSchema` instead. */
|
|
8801
|
-
export const inboundSchema =
|
|
8802
|
-
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema;
|
|
8803
|
-
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$outboundSchema` instead. */
|
|
8804
|
-
export const outboundSchema =
|
|
8805
|
-
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema;
|
|
8806
|
-
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$Outbound` instead. */
|
|
8807
|
-
export type Outbound = DeploymentGetConfigResponseFormatJsonSchema$Outbound;
|
|
8808
|
-
}
|
|
8809
|
-
|
|
8810
|
-
export function deploymentGetConfigResponseFormatJsonSchemaToJSON(
|
|
8811
|
-
deploymentGetConfigResponseFormatJsonSchema:
|
|
8812
|
-
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8813
|
-
): string {
|
|
8814
|
-
return JSON.stringify(
|
|
8815
|
-
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema.parse(
|
|
8816
|
-
deploymentGetConfigResponseFormatJsonSchema,
|
|
8817
|
-
),
|
|
8818
|
-
);
|
|
8819
|
-
}
|
|
8820
|
-
|
|
8821
|
-
export function deploymentGetConfigResponseFormatJsonSchemaFromJSON(
|
|
8822
|
-
jsonString: string,
|
|
8823
|
-
): SafeParseResult<
|
|
8824
|
-
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8825
|
-
SDKValidationError
|
|
8826
|
-
> {
|
|
8827
|
-
return safeParse(
|
|
8828
|
-
jsonString,
|
|
8829
|
-
(x) =>
|
|
8830
|
-
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema.parse(
|
|
8831
|
-
JSON.parse(x),
|
|
8832
|
-
),
|
|
8833
|
-
`Failed to parse 'DeploymentGetConfigResponseFormatJsonSchema' from JSON`,
|
|
8834
|
-
);
|
|
8835
|
-
}
|
|
8836
|
-
|
|
8837
8764
|
/** @internal */
|
|
8838
8765
|
export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
|
|
8839
8766
|
DeploymentGetConfigResponseFormat2,
|
|
@@ -8841,19 +8768,11 @@ export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
|
|
|
8841
8768
|
unknown
|
|
8842
8769
|
> = z.object({
|
|
8843
8770
|
type: DeploymentGetConfigResponseFormatType$inboundSchema,
|
|
8844
|
-
json_schema: z.lazy(() =>
|
|
8845
|
-
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
|
|
8846
|
-
),
|
|
8847
|
-
}).transform((v) => {
|
|
8848
|
-
return remap$(v, {
|
|
8849
|
-
"json_schema": "jsonSchema",
|
|
8850
|
-
});
|
|
8851
8771
|
});
|
|
8852
8772
|
|
|
8853
8773
|
/** @internal */
|
|
8854
8774
|
export type DeploymentGetConfigResponseFormat2$Outbound = {
|
|
8855
8775
|
type: string;
|
|
8856
|
-
json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
|
|
8857
8776
|
};
|
|
8858
8777
|
|
|
8859
8778
|
/** @internal */
|
|
@@ -8863,13 +8782,6 @@ export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
|
|
|
8863
8782
|
DeploymentGetConfigResponseFormat2
|
|
8864
8783
|
> = z.object({
|
|
8865
8784
|
type: DeploymentGetConfigResponseFormatType$outboundSchema,
|
|
8866
|
-
jsonSchema: z.lazy(() =>
|
|
8867
|
-
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
|
|
8868
|
-
),
|
|
8869
|
-
}).transform((v) => {
|
|
8870
|
-
return remap$(v, {
|
|
8871
|
-
jsonSchema: "json_schema",
|
|
8872
|
-
});
|
|
8873
8785
|
});
|
|
8874
8786
|
|
|
8875
8787
|
/**
|
|
@@ -8932,6 +8844,79 @@ export namespace DeploymentGetConfigResponseFormatDeploymentsResponseType$ {
|
|
|
8932
8844
|
DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema;
|
|
8933
8845
|
}
|
|
8934
8846
|
|
|
8847
|
+
/** @internal */
|
|
8848
|
+
export const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema:
|
|
8849
|
+
z.ZodType<
|
|
8850
|
+
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8851
|
+
z.ZodTypeDef,
|
|
8852
|
+
unknown
|
|
8853
|
+
> = z.object({
|
|
8854
|
+
name: z.string(),
|
|
8855
|
+
strict: z.boolean().optional(),
|
|
8856
|
+
schema: z.record(z.any()),
|
|
8857
|
+
});
|
|
8858
|
+
|
|
8859
|
+
/** @internal */
|
|
8860
|
+
export type DeploymentGetConfigResponseFormatJsonSchema$Outbound = {
|
|
8861
|
+
name: string;
|
|
8862
|
+
strict?: boolean | undefined;
|
|
8863
|
+
schema: { [k: string]: any };
|
|
8864
|
+
};
|
|
8865
|
+
|
|
8866
|
+
/** @internal */
|
|
8867
|
+
export const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema:
|
|
8868
|
+
z.ZodType<
|
|
8869
|
+
DeploymentGetConfigResponseFormatJsonSchema$Outbound,
|
|
8870
|
+
z.ZodTypeDef,
|
|
8871
|
+
DeploymentGetConfigResponseFormatJsonSchema
|
|
8872
|
+
> = z.object({
|
|
8873
|
+
name: z.string(),
|
|
8874
|
+
strict: z.boolean().optional(),
|
|
8875
|
+
schema: z.record(z.any()),
|
|
8876
|
+
});
|
|
8877
|
+
|
|
8878
|
+
/**
|
|
8879
|
+
* @internal
|
|
8880
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8881
|
+
*/
|
|
8882
|
+
export namespace DeploymentGetConfigResponseFormatJsonSchema$ {
|
|
8883
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$inboundSchema` instead. */
|
|
8884
|
+
export const inboundSchema =
|
|
8885
|
+
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema;
|
|
8886
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$outboundSchema` instead. */
|
|
8887
|
+
export const outboundSchema =
|
|
8888
|
+
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema;
|
|
8889
|
+
/** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$Outbound` instead. */
|
|
8890
|
+
export type Outbound = DeploymentGetConfigResponseFormatJsonSchema$Outbound;
|
|
8891
|
+
}
|
|
8892
|
+
|
|
8893
|
+
export function deploymentGetConfigResponseFormatJsonSchemaToJSON(
|
|
8894
|
+
deploymentGetConfigResponseFormatJsonSchema:
|
|
8895
|
+
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8896
|
+
): string {
|
|
8897
|
+
return JSON.stringify(
|
|
8898
|
+
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema.parse(
|
|
8899
|
+
deploymentGetConfigResponseFormatJsonSchema,
|
|
8900
|
+
),
|
|
8901
|
+
);
|
|
8902
|
+
}
|
|
8903
|
+
|
|
8904
|
+
export function deploymentGetConfigResponseFormatJsonSchemaFromJSON(
|
|
8905
|
+
jsonString: string,
|
|
8906
|
+
): SafeParseResult<
|
|
8907
|
+
DeploymentGetConfigResponseFormatJsonSchema,
|
|
8908
|
+
SDKValidationError
|
|
8909
|
+
> {
|
|
8910
|
+
return safeParse(
|
|
8911
|
+
jsonString,
|
|
8912
|
+
(x) =>
|
|
8913
|
+
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema.parse(
|
|
8914
|
+
JSON.parse(x),
|
|
8915
|
+
),
|
|
8916
|
+
`Failed to parse 'DeploymentGetConfigResponseFormatJsonSchema' from JSON`,
|
|
8917
|
+
);
|
|
8918
|
+
}
|
|
8919
|
+
|
|
8935
8920
|
/** @internal */
|
|
8936
8921
|
export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
|
|
8937
8922
|
DeploymentGetConfigResponseFormat1,
|
|
@@ -8939,11 +8924,19 @@ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
|
|
|
8939
8924
|
unknown
|
|
8940
8925
|
> = z.object({
|
|
8941
8926
|
type: DeploymentGetConfigResponseFormatDeploymentsResponseType$inboundSchema,
|
|
8927
|
+
json_schema: z.lazy(() =>
|
|
8928
|
+
DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
|
|
8929
|
+
),
|
|
8930
|
+
}).transform((v) => {
|
|
8931
|
+
return remap$(v, {
|
|
8932
|
+
"json_schema": "jsonSchema",
|
|
8933
|
+
});
|
|
8942
8934
|
});
|
|
8943
8935
|
|
|
8944
8936
|
/** @internal */
|
|
8945
8937
|
export type DeploymentGetConfigResponseFormat1$Outbound = {
|
|
8946
8938
|
type: string;
|
|
8939
|
+
json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
|
|
8947
8940
|
};
|
|
8948
8941
|
|
|
8949
8942
|
/** @internal */
|
|
@@ -8953,6 +8946,13 @@ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
|
|
|
8953
8946
|
DeploymentGetConfigResponseFormat1
|
|
8954
8947
|
> = z.object({
|
|
8955
8948
|
type: DeploymentGetConfigResponseFormatDeploymentsResponseType$outboundSchema,
|
|
8949
|
+
jsonSchema: z.lazy(() =>
|
|
8950
|
+
DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
|
|
8951
|
+
),
|
|
8952
|
+
}).transform((v) => {
|
|
8953
|
+
return remap$(v, {
|
|
8954
|
+
jsonSchema: "json_schema",
|
|
8955
|
+
});
|
|
8956
8956
|
});
|
|
8957
8957
|
|
|
8958
8958
|
/**
|
|
@@ -8996,15 +8996,15 @@ export const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<
|
|
|
8996
8996
|
z.ZodTypeDef,
|
|
8997
8997
|
unknown
|
|
8998
8998
|
> = z.union([
|
|
8999
|
-
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9000
8999
|
z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
|
|
9000
|
+
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9001
9001
|
z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
|
|
9002
9002
|
]);
|
|
9003
9003
|
|
|
9004
9004
|
/** @internal */
|
|
9005
9005
|
export type DeploymentGetConfigResponseFormat$Outbound =
|
|
9006
|
-
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9007
9006
|
| DeploymentGetConfigResponseFormat1$Outbound
|
|
9007
|
+
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9008
9008
|
| DeploymentGetConfigResponseFormat3$Outbound;
|
|
9009
9009
|
|
|
9010
9010
|
/** @internal */
|
|
@@ -9013,8 +9013,8 @@ export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
|
|
|
9013
9013
|
z.ZodTypeDef,
|
|
9014
9014
|
DeploymentGetConfigResponseFormat
|
|
9015
9015
|
> = z.union([
|
|
9016
|
-
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9017
9016
|
z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
|
|
9017
|
+
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9018
9018
|
z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
|
|
9019
9019
|
]);
|
|
9020
9020
|
|
|
@@ -9160,8 +9160,8 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
9160
9160
|
style: z.string().optional(),
|
|
9161
9161
|
responseFormat: z.nullable(
|
|
9162
9162
|
z.union([
|
|
9163
|
-
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9164
9163
|
z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
|
|
9164
|
+
z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
|
|
9165
9165
|
z.lazy(() => DeploymentGetConfigResponseFormat3$inboundSchema),
|
|
9166
9166
|
]),
|
|
9167
9167
|
).optional(),
|
|
@@ -9192,8 +9192,8 @@ export type ParametersT$Outbound = {
|
|
|
9192
9192
|
quality?: string | undefined;
|
|
9193
9193
|
style?: string | undefined;
|
|
9194
9194
|
responseFormat?:
|
|
9195
|
-
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9196
9195
|
| DeploymentGetConfigResponseFormat1$Outbound
|
|
9196
|
+
| DeploymentGetConfigResponseFormat2$Outbound
|
|
9197
9197
|
| DeploymentGetConfigResponseFormat3$Outbound
|
|
9198
9198
|
| null
|
|
9199
9199
|
| undefined;
|
|
@@ -9224,8 +9224,8 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
9224
9224
|
style: z.string().optional(),
|
|
9225
9225
|
responseFormat: z.nullable(
|
|
9226
9226
|
z.union([
|
|
9227
|
-
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9228
9227
|
z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
|
|
9228
|
+
z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
|
|
9229
9229
|
z.lazy(() => DeploymentGetConfigResponseFormat3$outboundSchema),
|
|
9230
9230
|
]),
|
|
9231
9231
|
).optional(),
|
|
@@ -124,7 +124,7 @@ export const DeploymentsFormat = {
|
|
|
124
124
|
export type DeploymentsFormat = ClosedEnum<typeof DeploymentsFormat>;
|
|
125
125
|
|
|
126
126
|
export const DeploymentsResponseFormatDeploymentsType = {
|
|
127
|
-
|
|
127
|
+
Text: "text",
|
|
128
128
|
} as const;
|
|
129
129
|
export type DeploymentsResponseFormatDeploymentsType = ClosedEnum<
|
|
130
130
|
typeof DeploymentsResponseFormatDeploymentsType
|
|
@@ -135,32 +135,32 @@ export type DeploymentsResponseFormat3 = {
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
export const DeploymentsResponseFormatType = {
|
|
138
|
-
|
|
138
|
+
JsonObject: "json_object",
|
|
139
139
|
} as const;
|
|
140
140
|
export type DeploymentsResponseFormatType = ClosedEnum<
|
|
141
141
|
typeof DeploymentsResponseFormatType
|
|
142
142
|
>;
|
|
143
143
|
|
|
144
|
-
export type DeploymentsResponseFormatJsonSchema = {
|
|
145
|
-
name: string;
|
|
146
|
-
strict?: boolean | undefined;
|
|
147
|
-
schema: { [k: string]: any };
|
|
148
|
-
};
|
|
149
|
-
|
|
150
144
|
export type DeploymentsResponseFormat2 = {
|
|
151
145
|
type: DeploymentsResponseFormatType;
|
|
152
|
-
jsonSchema: DeploymentsResponseFormatJsonSchema;
|
|
153
146
|
};
|
|
154
147
|
|
|
155
148
|
export const DeploymentsResponseFormatDeploymentsResponseType = {
|
|
156
|
-
|
|
149
|
+
JsonSchema: "json_schema",
|
|
157
150
|
} as const;
|
|
158
151
|
export type DeploymentsResponseFormatDeploymentsResponseType = ClosedEnum<
|
|
159
152
|
typeof DeploymentsResponseFormatDeploymentsResponseType
|
|
160
153
|
>;
|
|
161
154
|
|
|
155
|
+
export type DeploymentsResponseFormatJsonSchema = {
|
|
156
|
+
name: string;
|
|
157
|
+
strict?: boolean | undefined;
|
|
158
|
+
schema: { [k: string]: any };
|
|
159
|
+
};
|
|
160
|
+
|
|
162
161
|
export type DeploymentsResponseFormat1 = {
|
|
163
162
|
type: DeploymentsResponseFormatDeploymentsResponseType;
|
|
163
|
+
jsonSchema: DeploymentsResponseFormatJsonSchema;
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
/**
|
|
@@ -175,8 +175,8 @@ export type DeploymentsResponseFormat1 = {
|
|
|
175
175
|
* 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.
|
|
176
176
|
*/
|
|
177
177
|
export type DeploymentsResponseFormat =
|
|
178
|
-
| DeploymentsResponseFormat2
|
|
179
178
|
| DeploymentsResponseFormat1
|
|
179
|
+
| DeploymentsResponseFormat2
|
|
180
180
|
| DeploymentsResponseFormat3;
|
|
181
181
|
|
|
182
182
|
/**
|
|
@@ -300,8 +300,8 @@ export type DeploymentsModelParameters = {
|
|
|
300
300
|
* 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.
|
|
301
301
|
*/
|
|
302
302
|
responseFormat?:
|
|
303
|
-
| DeploymentsResponseFormat2
|
|
304
303
|
| DeploymentsResponseFormat1
|
|
304
|
+
| DeploymentsResponseFormat2
|
|
305
305
|
| DeploymentsResponseFormat3
|
|
306
306
|
| null
|
|
307
307
|
| undefined;
|
|
@@ -1001,71 +1001,6 @@ export namespace DeploymentsResponseFormatType$ {
|
|
|
1001
1001
|
export const outboundSchema = DeploymentsResponseFormatType$outboundSchema;
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
export const DeploymentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
1006
|
-
DeploymentsResponseFormatJsonSchema,
|
|
1007
|
-
z.ZodTypeDef,
|
|
1008
|
-
unknown
|
|
1009
|
-
> = z.object({
|
|
1010
|
-
name: z.string(),
|
|
1011
|
-
strict: z.boolean().optional(),
|
|
1012
|
-
schema: z.record(z.any()),
|
|
1013
|
-
});
|
|
1014
|
-
|
|
1015
|
-
/** @internal */
|
|
1016
|
-
export type DeploymentsResponseFormatJsonSchema$Outbound = {
|
|
1017
|
-
name: string;
|
|
1018
|
-
strict?: boolean | undefined;
|
|
1019
|
-
schema: { [k: string]: any };
|
|
1020
|
-
};
|
|
1021
|
-
|
|
1022
|
-
/** @internal */
|
|
1023
|
-
export const DeploymentsResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
1024
|
-
DeploymentsResponseFormatJsonSchema$Outbound,
|
|
1025
|
-
z.ZodTypeDef,
|
|
1026
|
-
DeploymentsResponseFormatJsonSchema
|
|
1027
|
-
> = z.object({
|
|
1028
|
-
name: z.string(),
|
|
1029
|
-
strict: z.boolean().optional(),
|
|
1030
|
-
schema: z.record(z.any()),
|
|
1031
|
-
});
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* @internal
|
|
1035
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1036
|
-
*/
|
|
1037
|
-
export namespace DeploymentsResponseFormatJsonSchema$ {
|
|
1038
|
-
/** @deprecated use `DeploymentsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1039
|
-
export const inboundSchema =
|
|
1040
|
-
DeploymentsResponseFormatJsonSchema$inboundSchema;
|
|
1041
|
-
/** @deprecated use `DeploymentsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1042
|
-
export const outboundSchema =
|
|
1043
|
-
DeploymentsResponseFormatJsonSchema$outboundSchema;
|
|
1044
|
-
/** @deprecated use `DeploymentsResponseFormatJsonSchema$Outbound` instead. */
|
|
1045
|
-
export type Outbound = DeploymentsResponseFormatJsonSchema$Outbound;
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
export function deploymentsResponseFormatJsonSchemaToJSON(
|
|
1049
|
-
deploymentsResponseFormatJsonSchema: DeploymentsResponseFormatJsonSchema,
|
|
1050
|
-
): string {
|
|
1051
|
-
return JSON.stringify(
|
|
1052
|
-
DeploymentsResponseFormatJsonSchema$outboundSchema.parse(
|
|
1053
|
-
deploymentsResponseFormatJsonSchema,
|
|
1054
|
-
),
|
|
1055
|
-
);
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export function deploymentsResponseFormatJsonSchemaFromJSON(
|
|
1059
|
-
jsonString: string,
|
|
1060
|
-
): SafeParseResult<DeploymentsResponseFormatJsonSchema, SDKValidationError> {
|
|
1061
|
-
return safeParse(
|
|
1062
|
-
jsonString,
|
|
1063
|
-
(x) =>
|
|
1064
|
-
DeploymentsResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1065
|
-
`Failed to parse 'DeploymentsResponseFormatJsonSchema' from JSON`,
|
|
1066
|
-
);
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
1004
|
/** @internal */
|
|
1070
1005
|
export const DeploymentsResponseFormat2$inboundSchema: z.ZodType<
|
|
1071
1006
|
DeploymentsResponseFormat2,
|
|
@@ -1073,17 +1008,11 @@ export const DeploymentsResponseFormat2$inboundSchema: z.ZodType<
|
|
|
1073
1008
|
unknown
|
|
1074
1009
|
> = z.object({
|
|
1075
1010
|
type: DeploymentsResponseFormatType$inboundSchema,
|
|
1076
|
-
json_schema: z.lazy(() => DeploymentsResponseFormatJsonSchema$inboundSchema),
|
|
1077
|
-
}).transform((v) => {
|
|
1078
|
-
return remap$(v, {
|
|
1079
|
-
"json_schema": "jsonSchema",
|
|
1080
|
-
});
|
|
1081
1011
|
});
|
|
1082
1012
|
|
|
1083
1013
|
/** @internal */
|
|
1084
1014
|
export type DeploymentsResponseFormat2$Outbound = {
|
|
1085
1015
|
type: string;
|
|
1086
|
-
json_schema: DeploymentsResponseFormatJsonSchema$Outbound;
|
|
1087
1016
|
};
|
|
1088
1017
|
|
|
1089
1018
|
/** @internal */
|
|
@@ -1093,11 +1022,6 @@ export const DeploymentsResponseFormat2$outboundSchema: z.ZodType<
|
|
|
1093
1022
|
DeploymentsResponseFormat2
|
|
1094
1023
|
> = z.object({
|
|
1095
1024
|
type: DeploymentsResponseFormatType$outboundSchema,
|
|
1096
|
-
jsonSchema: z.lazy(() => DeploymentsResponseFormatJsonSchema$outboundSchema),
|
|
1097
|
-
}).transform((v) => {
|
|
1098
|
-
return remap$(v, {
|
|
1099
|
-
jsonSchema: "json_schema",
|
|
1100
|
-
});
|
|
1101
1025
|
});
|
|
1102
1026
|
|
|
1103
1027
|
/**
|
|
@@ -1154,6 +1078,71 @@ export namespace DeploymentsResponseFormatDeploymentsResponseType$ {
|
|
|
1154
1078
|
DeploymentsResponseFormatDeploymentsResponseType$outboundSchema;
|
|
1155
1079
|
}
|
|
1156
1080
|
|
|
1081
|
+
/** @internal */
|
|
1082
|
+
export const DeploymentsResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
1083
|
+
DeploymentsResponseFormatJsonSchema,
|
|
1084
|
+
z.ZodTypeDef,
|
|
1085
|
+
unknown
|
|
1086
|
+
> = z.object({
|
|
1087
|
+
name: z.string(),
|
|
1088
|
+
strict: z.boolean().optional(),
|
|
1089
|
+
schema: z.record(z.any()),
|
|
1090
|
+
});
|
|
1091
|
+
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
export type DeploymentsResponseFormatJsonSchema$Outbound = {
|
|
1094
|
+
name: string;
|
|
1095
|
+
strict?: boolean | undefined;
|
|
1096
|
+
schema: { [k: string]: any };
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
/** @internal */
|
|
1100
|
+
export const DeploymentsResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
1101
|
+
DeploymentsResponseFormatJsonSchema$Outbound,
|
|
1102
|
+
z.ZodTypeDef,
|
|
1103
|
+
DeploymentsResponseFormatJsonSchema
|
|
1104
|
+
> = z.object({
|
|
1105
|
+
name: z.string(),
|
|
1106
|
+
strict: z.boolean().optional(),
|
|
1107
|
+
schema: z.record(z.any()),
|
|
1108
|
+
});
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* @internal
|
|
1112
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1113
|
+
*/
|
|
1114
|
+
export namespace DeploymentsResponseFormatJsonSchema$ {
|
|
1115
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1116
|
+
export const inboundSchema =
|
|
1117
|
+
DeploymentsResponseFormatJsonSchema$inboundSchema;
|
|
1118
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1119
|
+
export const outboundSchema =
|
|
1120
|
+
DeploymentsResponseFormatJsonSchema$outboundSchema;
|
|
1121
|
+
/** @deprecated use `DeploymentsResponseFormatJsonSchema$Outbound` instead. */
|
|
1122
|
+
export type Outbound = DeploymentsResponseFormatJsonSchema$Outbound;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export function deploymentsResponseFormatJsonSchemaToJSON(
|
|
1126
|
+
deploymentsResponseFormatJsonSchema: DeploymentsResponseFormatJsonSchema,
|
|
1127
|
+
): string {
|
|
1128
|
+
return JSON.stringify(
|
|
1129
|
+
DeploymentsResponseFormatJsonSchema$outboundSchema.parse(
|
|
1130
|
+
deploymentsResponseFormatJsonSchema,
|
|
1131
|
+
),
|
|
1132
|
+
);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
export function deploymentsResponseFormatJsonSchemaFromJSON(
|
|
1136
|
+
jsonString: string,
|
|
1137
|
+
): SafeParseResult<DeploymentsResponseFormatJsonSchema, SDKValidationError> {
|
|
1138
|
+
return safeParse(
|
|
1139
|
+
jsonString,
|
|
1140
|
+
(x) =>
|
|
1141
|
+
DeploymentsResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1142
|
+
`Failed to parse 'DeploymentsResponseFormatJsonSchema' from JSON`,
|
|
1143
|
+
);
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1157
1146
|
/** @internal */
|
|
1158
1147
|
export const DeploymentsResponseFormat1$inboundSchema: z.ZodType<
|
|
1159
1148
|
DeploymentsResponseFormat1,
|
|
@@ -1161,11 +1150,17 @@ export const DeploymentsResponseFormat1$inboundSchema: z.ZodType<
|
|
|
1161
1150
|
unknown
|
|
1162
1151
|
> = z.object({
|
|
1163
1152
|
type: DeploymentsResponseFormatDeploymentsResponseType$inboundSchema,
|
|
1153
|
+
json_schema: z.lazy(() => DeploymentsResponseFormatJsonSchema$inboundSchema),
|
|
1154
|
+
}).transform((v) => {
|
|
1155
|
+
return remap$(v, {
|
|
1156
|
+
"json_schema": "jsonSchema",
|
|
1157
|
+
});
|
|
1164
1158
|
});
|
|
1165
1159
|
|
|
1166
1160
|
/** @internal */
|
|
1167
1161
|
export type DeploymentsResponseFormat1$Outbound = {
|
|
1168
1162
|
type: string;
|
|
1163
|
+
json_schema: DeploymentsResponseFormatJsonSchema$Outbound;
|
|
1169
1164
|
};
|
|
1170
1165
|
|
|
1171
1166
|
/** @internal */
|
|
@@ -1175,6 +1170,11 @@ export const DeploymentsResponseFormat1$outboundSchema: z.ZodType<
|
|
|
1175
1170
|
DeploymentsResponseFormat1
|
|
1176
1171
|
> = z.object({
|
|
1177
1172
|
type: DeploymentsResponseFormatDeploymentsResponseType$outboundSchema,
|
|
1173
|
+
jsonSchema: z.lazy(() => DeploymentsResponseFormatJsonSchema$outboundSchema),
|
|
1174
|
+
}).transform((v) => {
|
|
1175
|
+
return remap$(v, {
|
|
1176
|
+
jsonSchema: "json_schema",
|
|
1177
|
+
});
|
|
1178
1178
|
});
|
|
1179
1179
|
|
|
1180
1180
|
/**
|
|
@@ -1214,15 +1214,15 @@ export const DeploymentsResponseFormat$inboundSchema: z.ZodType<
|
|
|
1214
1214
|
z.ZodTypeDef,
|
|
1215
1215
|
unknown
|
|
1216
1216
|
> = z.union([
|
|
1217
|
-
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1218
1217
|
z.lazy(() => DeploymentsResponseFormat1$inboundSchema),
|
|
1218
|
+
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1219
1219
|
z.lazy(() => DeploymentsResponseFormat3$inboundSchema),
|
|
1220
1220
|
]);
|
|
1221
1221
|
|
|
1222
1222
|
/** @internal */
|
|
1223
1223
|
export type DeploymentsResponseFormat$Outbound =
|
|
1224
|
-
| DeploymentsResponseFormat2$Outbound
|
|
1225
1224
|
| DeploymentsResponseFormat1$Outbound
|
|
1225
|
+
| DeploymentsResponseFormat2$Outbound
|
|
1226
1226
|
| DeploymentsResponseFormat3$Outbound;
|
|
1227
1227
|
|
|
1228
1228
|
/** @internal */
|
|
@@ -1231,8 +1231,8 @@ export const DeploymentsResponseFormat$outboundSchema: z.ZodType<
|
|
|
1231
1231
|
z.ZodTypeDef,
|
|
1232
1232
|
DeploymentsResponseFormat
|
|
1233
1233
|
> = z.union([
|
|
1234
|
-
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1235
1234
|
z.lazy(() => DeploymentsResponseFormat1$outboundSchema),
|
|
1235
|
+
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1236
1236
|
z.lazy(() => DeploymentsResponseFormat3$outboundSchema),
|
|
1237
1237
|
]);
|
|
1238
1238
|
|
|
@@ -1371,8 +1371,8 @@ export const DeploymentsModelParameters$inboundSchema: z.ZodType<
|
|
|
1371
1371
|
style: z.string().optional(),
|
|
1372
1372
|
responseFormat: z.nullable(
|
|
1373
1373
|
z.union([
|
|
1374
|
-
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1375
1374
|
z.lazy(() => DeploymentsResponseFormat1$inboundSchema),
|
|
1375
|
+
z.lazy(() => DeploymentsResponseFormat2$inboundSchema),
|
|
1376
1376
|
z.lazy(() => DeploymentsResponseFormat3$inboundSchema),
|
|
1377
1377
|
]),
|
|
1378
1378
|
).optional(),
|
|
@@ -1402,8 +1402,8 @@ export type DeploymentsModelParameters$Outbound = {
|
|
|
1402
1402
|
quality?: string | undefined;
|
|
1403
1403
|
style?: string | undefined;
|
|
1404
1404
|
responseFormat?:
|
|
1405
|
-
| DeploymentsResponseFormat2$Outbound
|
|
1406
1405
|
| DeploymentsResponseFormat1$Outbound
|
|
1406
|
+
| DeploymentsResponseFormat2$Outbound
|
|
1407
1407
|
| DeploymentsResponseFormat3$Outbound
|
|
1408
1408
|
| null
|
|
1409
1409
|
| undefined;
|
|
@@ -1434,8 +1434,8 @@ export const DeploymentsModelParameters$outboundSchema: z.ZodType<
|
|
|
1434
1434
|
style: z.string().optional(),
|
|
1435
1435
|
responseFormat: z.nullable(
|
|
1436
1436
|
z.union([
|
|
1437
|
-
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1438
1437
|
z.lazy(() => DeploymentsResponseFormat1$outboundSchema),
|
|
1438
|
+
z.lazy(() => DeploymentsResponseFormat2$outboundSchema),
|
|
1439
1439
|
z.lazy(() => DeploymentsResponseFormat3$outboundSchema),
|
|
1440
1440
|
]),
|
|
1441
1441
|
).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-14T08:03:50.460Z",
|
|
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-14T08:03:50.460Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|