@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
|
@@ -15,17 +15,17 @@ export declare const UpdatePromptFormat: {
|
|
|
15
15
|
* Only supported on `image` models.
|
|
16
16
|
*/
|
|
17
17
|
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const UpdatePromptResponseFormatPromptsRequestType: {
|
|
19
19
|
readonly JsonObject: "json_object";
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
22
|
-
export type
|
|
23
|
-
type:
|
|
21
|
+
export type UpdatePromptResponseFormatPromptsRequestType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
|
|
22
|
+
export type UpdatePromptResponseFormat3 = {
|
|
23
|
+
type: UpdatePromptResponseFormatPromptsRequestType;
|
|
24
24
|
};
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const UpdatePromptResponseFormatPromptsType: {
|
|
26
26
|
readonly JsonSchema: "json_schema";
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
28
|
+
export type UpdatePromptResponseFormatPromptsType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
29
29
|
export type ResponseFormatJsonSchema = {
|
|
30
30
|
name: string;
|
|
31
31
|
strict?: boolean | undefined;
|
|
@@ -33,9 +33,16 @@ export type ResponseFormatJsonSchema = {
|
|
|
33
33
|
[k: string]: any;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
+
export type UpdatePromptResponseFormat2 = {
|
|
37
|
+
type: UpdatePromptResponseFormatPromptsType;
|
|
38
|
+
jsonSchema: ResponseFormatJsonSchema;
|
|
39
|
+
};
|
|
40
|
+
export declare const UpdatePromptResponseFormatType: {
|
|
41
|
+
readonly Text: "text";
|
|
42
|
+
};
|
|
43
|
+
export type UpdatePromptResponseFormatType = ClosedEnum<typeof UpdatePromptResponseFormatType>;
|
|
36
44
|
export type UpdatePromptResponseFormat1 = {
|
|
37
45
|
type: UpdatePromptResponseFormatType;
|
|
38
|
-
jsonSchema: ResponseFormatJsonSchema;
|
|
39
46
|
};
|
|
40
47
|
/**
|
|
41
48
|
* An object specifying the format that the model must output.
|
|
@@ -48,7 +55,7 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
48
55
|
*
|
|
49
56
|
* 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.
|
|
50
57
|
*/
|
|
51
|
-
export type UpdatePromptResponseFormat = UpdatePromptResponseFormat1 |
|
|
58
|
+
export type UpdatePromptResponseFormat = UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1 | UpdatePromptResponseFormat3;
|
|
52
59
|
/**
|
|
53
60
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
54
61
|
*/
|
|
@@ -159,7 +166,7 @@ export type UpdatePromptModelParameters = {
|
|
|
159
166
|
*
|
|
160
167
|
* 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.
|
|
161
168
|
*/
|
|
162
|
-
responseFormat?: UpdatePromptResponseFormat1 |
|
|
169
|
+
responseFormat?: UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1 | UpdatePromptResponseFormat3 | null | undefined;
|
|
163
170
|
/**
|
|
164
171
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
165
172
|
*/
|
|
@@ -441,17 +448,17 @@ export declare const UpdatePromptPromptsFormat: {
|
|
|
441
448
|
* Only supported on `image` models.
|
|
442
449
|
*/
|
|
443
450
|
export type UpdatePromptPromptsFormat = ClosedEnum<typeof UpdatePromptPromptsFormat>;
|
|
444
|
-
export declare const
|
|
451
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType: {
|
|
445
452
|
readonly JsonObject: "json_object";
|
|
446
453
|
};
|
|
447
|
-
export type
|
|
448
|
-
export type
|
|
449
|
-
type:
|
|
454
|
+
export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
455
|
+
export type UpdatePromptResponseFormatPrompts3 = {
|
|
456
|
+
type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType;
|
|
450
457
|
};
|
|
451
|
-
export declare const
|
|
458
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type: {
|
|
452
459
|
readonly JsonSchema: "json_schema";
|
|
453
460
|
};
|
|
454
|
-
export type
|
|
461
|
+
export type UpdatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
455
462
|
export type UpdatePromptResponseFormatJsonSchema = {
|
|
456
463
|
name: string;
|
|
457
464
|
strict?: boolean | undefined;
|
|
@@ -459,9 +466,16 @@ export type UpdatePromptResponseFormatJsonSchema = {
|
|
|
459
466
|
[k: string]: any;
|
|
460
467
|
};
|
|
461
468
|
};
|
|
469
|
+
export type UpdatePromptResponseFormatPrompts2 = {
|
|
470
|
+
type: UpdatePromptResponseFormatPromptsResponse200Type;
|
|
471
|
+
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
472
|
+
};
|
|
473
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType: {
|
|
474
|
+
readonly Text: "text";
|
|
475
|
+
};
|
|
476
|
+
export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
462
477
|
export type UpdatePromptResponseFormatPrompts1 = {
|
|
463
478
|
type: UpdatePromptResponseFormatPromptsResponseType;
|
|
464
|
-
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
465
479
|
};
|
|
466
480
|
/**
|
|
467
481
|
* An object specifying the format that the model must output.
|
|
@@ -474,7 +488,7 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
474
488
|
*
|
|
475
489
|
* 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.
|
|
476
490
|
*/
|
|
477
|
-
export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatPrompts1 |
|
|
491
|
+
export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts3;
|
|
478
492
|
/**
|
|
479
493
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
480
494
|
*/
|
|
@@ -585,7 +599,7 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
585
599
|
*
|
|
586
600
|
* 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.
|
|
587
601
|
*/
|
|
588
|
-
responseFormat?: UpdatePromptResponseFormatPrompts1 |
|
|
602
|
+
responseFormat?: UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts1 | UpdatePromptResponseFormatPrompts3 | null | undefined;
|
|
589
603
|
/**
|
|
590
604
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
591
605
|
*/
|
|
@@ -871,59 +885,59 @@ export declare namespace UpdatePromptFormat$ {
|
|
|
871
885
|
}>;
|
|
872
886
|
}
|
|
873
887
|
/** @internal */
|
|
874
|
-
export declare const
|
|
888
|
+
export declare const UpdatePromptResponseFormatPromptsRequestType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
|
|
875
889
|
/** @internal */
|
|
876
|
-
export declare const
|
|
890
|
+
export declare const UpdatePromptResponseFormatPromptsRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType>;
|
|
877
891
|
/**
|
|
878
892
|
* @internal
|
|
879
893
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
880
894
|
*/
|
|
881
|
-
export declare namespace
|
|
882
|
-
/** @deprecated use `
|
|
895
|
+
export declare namespace UpdatePromptResponseFormatPromptsRequestType$ {
|
|
896
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsRequestType$inboundSchema` instead. */
|
|
883
897
|
const inboundSchema: z.ZodNativeEnum<{
|
|
884
898
|
readonly JsonObject: "json_object";
|
|
885
899
|
}>;
|
|
886
|
-
/** @deprecated use `
|
|
900
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsRequestType$outboundSchema` instead. */
|
|
887
901
|
const outboundSchema: z.ZodNativeEnum<{
|
|
888
902
|
readonly JsonObject: "json_object";
|
|
889
903
|
}>;
|
|
890
904
|
}
|
|
891
905
|
/** @internal */
|
|
892
|
-
export declare const
|
|
906
|
+
export declare const UpdatePromptResponseFormat3$inboundSchema: z.ZodType<UpdatePromptResponseFormat3, z.ZodTypeDef, unknown>;
|
|
893
907
|
/** @internal */
|
|
894
|
-
export type
|
|
908
|
+
export type UpdatePromptResponseFormat3$Outbound = {
|
|
895
909
|
type: string;
|
|
896
910
|
};
|
|
897
911
|
/** @internal */
|
|
898
|
-
export declare const
|
|
912
|
+
export declare const UpdatePromptResponseFormat3$outboundSchema: z.ZodType<UpdatePromptResponseFormat3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat3>;
|
|
899
913
|
/**
|
|
900
914
|
* @internal
|
|
901
915
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
902
916
|
*/
|
|
903
|
-
export declare namespace
|
|
904
|
-
/** @deprecated use `
|
|
905
|
-
const inboundSchema: z.ZodType<
|
|
906
|
-
/** @deprecated use `
|
|
907
|
-
const outboundSchema: z.ZodType<
|
|
908
|
-
/** @deprecated use `
|
|
909
|
-
type Outbound =
|
|
917
|
+
export declare namespace UpdatePromptResponseFormat3$ {
|
|
918
|
+
/** @deprecated use `UpdatePromptResponseFormat3$inboundSchema` instead. */
|
|
919
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat3, z.ZodTypeDef, unknown>;
|
|
920
|
+
/** @deprecated use `UpdatePromptResponseFormat3$outboundSchema` instead. */
|
|
921
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat3>;
|
|
922
|
+
/** @deprecated use `UpdatePromptResponseFormat3$Outbound` instead. */
|
|
923
|
+
type Outbound = UpdatePromptResponseFormat3$Outbound;
|
|
910
924
|
}
|
|
911
|
-
export declare function
|
|
912
|
-
export declare function
|
|
925
|
+
export declare function updatePromptResponseFormat3ToJSON(updatePromptResponseFormat3: UpdatePromptResponseFormat3): string;
|
|
926
|
+
export declare function updatePromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat3, SDKValidationError>;
|
|
913
927
|
/** @internal */
|
|
914
|
-
export declare const
|
|
928
|
+
export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
915
929
|
/** @internal */
|
|
916
|
-
export declare const
|
|
930
|
+
export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
917
931
|
/**
|
|
918
932
|
* @internal
|
|
919
933
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
920
934
|
*/
|
|
921
|
-
export declare namespace
|
|
922
|
-
/** @deprecated use `
|
|
935
|
+
export declare namespace UpdatePromptResponseFormatPromptsType$ {
|
|
936
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
923
937
|
const inboundSchema: z.ZodNativeEnum<{
|
|
924
938
|
readonly JsonSchema: "json_schema";
|
|
925
939
|
}>;
|
|
926
|
-
/** @deprecated use `
|
|
940
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
927
941
|
const outboundSchema: z.ZodNativeEnum<{
|
|
928
942
|
readonly JsonSchema: "json_schema";
|
|
929
943
|
}>;
|
|
@@ -955,11 +969,51 @@ export declare namespace ResponseFormatJsonSchema$ {
|
|
|
955
969
|
export declare function responseFormatJsonSchemaToJSON(responseFormatJsonSchema: ResponseFormatJsonSchema): string;
|
|
956
970
|
export declare function responseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError>;
|
|
957
971
|
/** @internal */
|
|
972
|
+
export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
973
|
+
/** @internal */
|
|
974
|
+
export type UpdatePromptResponseFormat2$Outbound = {
|
|
975
|
+
type: string;
|
|
976
|
+
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
977
|
+
};
|
|
978
|
+
/** @internal */
|
|
979
|
+
export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
980
|
+
/**
|
|
981
|
+
* @internal
|
|
982
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
983
|
+
*/
|
|
984
|
+
export declare namespace UpdatePromptResponseFormat2$ {
|
|
985
|
+
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
986
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
987
|
+
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
988
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
989
|
+
/** @deprecated use `UpdatePromptResponseFormat2$Outbound` instead. */
|
|
990
|
+
type Outbound = UpdatePromptResponseFormat2$Outbound;
|
|
991
|
+
}
|
|
992
|
+
export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
|
|
993
|
+
export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
|
|
994
|
+
/** @internal */
|
|
995
|
+
export declare const UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
996
|
+
/** @internal */
|
|
997
|
+
export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
998
|
+
/**
|
|
999
|
+
* @internal
|
|
1000
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1001
|
+
*/
|
|
1002
|
+
export declare namespace UpdatePromptResponseFormatType$ {
|
|
1003
|
+
/** @deprecated use `UpdatePromptResponseFormatType$inboundSchema` instead. */
|
|
1004
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1005
|
+
readonly Text: "text";
|
|
1006
|
+
}>;
|
|
1007
|
+
/** @deprecated use `UpdatePromptResponseFormatType$outboundSchema` instead. */
|
|
1008
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1009
|
+
readonly Text: "text";
|
|
1010
|
+
}>;
|
|
1011
|
+
}
|
|
1012
|
+
/** @internal */
|
|
958
1013
|
export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
959
1014
|
/** @internal */
|
|
960
1015
|
export type UpdatePromptResponseFormat1$Outbound = {
|
|
961
1016
|
type: string;
|
|
962
|
-
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
963
1017
|
};
|
|
964
1018
|
/** @internal */
|
|
965
1019
|
export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
@@ -980,7 +1034,7 @@ export declare function updatePromptResponseFormat1FromJSON(jsonString: string):
|
|
|
980
1034
|
/** @internal */
|
|
981
1035
|
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
982
1036
|
/** @internal */
|
|
983
|
-
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat1$Outbound |
|
|
1037
|
+
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat3$Outbound;
|
|
984
1038
|
/** @internal */
|
|
985
1039
|
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
986
1040
|
/**
|
|
@@ -1099,7 +1153,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1099
1153
|
dimensions?: string | undefined;
|
|
1100
1154
|
quality?: string | undefined;
|
|
1101
1155
|
style?: string | undefined;
|
|
1102
|
-
responseFormat?: UpdatePromptResponseFormat1$Outbound |
|
|
1156
|
+
responseFormat?: UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound | UpdatePromptResponseFormat3$Outbound | null | undefined;
|
|
1103
1157
|
photoRealVersion?: string | undefined;
|
|
1104
1158
|
encoding_format?: string | undefined;
|
|
1105
1159
|
reasoningEffort?: string | undefined;
|
|
@@ -1782,59 +1836,59 @@ export declare namespace UpdatePromptPromptsFormat$ {
|
|
|
1782
1836
|
}>;
|
|
1783
1837
|
}
|
|
1784
1838
|
/** @internal */
|
|
1785
|
-
export declare const
|
|
1839
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
1786
1840
|
/** @internal */
|
|
1787
|
-
export declare const
|
|
1841
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
1788
1842
|
/**
|
|
1789
1843
|
* @internal
|
|
1790
1844
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1791
1845
|
*/
|
|
1792
|
-
export declare namespace
|
|
1793
|
-
/** @deprecated use `
|
|
1846
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$ {
|
|
1847
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1794
1848
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1795
1849
|
readonly JsonObject: "json_object";
|
|
1796
1850
|
}>;
|
|
1797
|
-
/** @deprecated use `
|
|
1851
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1798
1852
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1799
1853
|
readonly JsonObject: "json_object";
|
|
1800
1854
|
}>;
|
|
1801
1855
|
}
|
|
1802
1856
|
/** @internal */
|
|
1803
|
-
export declare const
|
|
1857
|
+
export declare const UpdatePromptResponseFormatPrompts3$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
|
|
1804
1858
|
/** @internal */
|
|
1805
|
-
export type
|
|
1859
|
+
export type UpdatePromptResponseFormatPrompts3$Outbound = {
|
|
1806
1860
|
type: string;
|
|
1807
1861
|
};
|
|
1808
1862
|
/** @internal */
|
|
1809
|
-
export declare const
|
|
1863
|
+
export declare const UpdatePromptResponseFormatPrompts3$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts3>;
|
|
1810
1864
|
/**
|
|
1811
1865
|
* @internal
|
|
1812
1866
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1813
1867
|
*/
|
|
1814
|
-
export declare namespace
|
|
1815
|
-
/** @deprecated use `
|
|
1816
|
-
const inboundSchema: z.ZodType<
|
|
1817
|
-
/** @deprecated use `
|
|
1818
|
-
const outboundSchema: z.ZodType<
|
|
1819
|
-
/** @deprecated use `
|
|
1820
|
-
type Outbound =
|
|
1868
|
+
export declare namespace UpdatePromptResponseFormatPrompts3$ {
|
|
1869
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$inboundSchema` instead. */
|
|
1870
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3, z.ZodTypeDef, unknown>;
|
|
1871
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$outboundSchema` instead. */
|
|
1872
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts3$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts3>;
|
|
1873
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$Outbound` instead. */
|
|
1874
|
+
type Outbound = UpdatePromptResponseFormatPrompts3$Outbound;
|
|
1821
1875
|
}
|
|
1822
|
-
export declare function
|
|
1823
|
-
export declare function
|
|
1876
|
+
export declare function updatePromptResponseFormatPrompts3ToJSON(updatePromptResponseFormatPrompts3: UpdatePromptResponseFormatPrompts3): string;
|
|
1877
|
+
export declare function updatePromptResponseFormatPrompts3FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts3, SDKValidationError>;
|
|
1824
1878
|
/** @internal */
|
|
1825
|
-
export declare const
|
|
1879
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
1826
1880
|
/** @internal */
|
|
1827
|
-
export declare const
|
|
1881
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
1828
1882
|
/**
|
|
1829
1883
|
* @internal
|
|
1830
1884
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1831
1885
|
*/
|
|
1832
|
-
export declare namespace
|
|
1833
|
-
/** @deprecated use `
|
|
1886
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponse200Type$ {
|
|
1887
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
1834
1888
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1835
1889
|
readonly JsonSchema: "json_schema";
|
|
1836
1890
|
}>;
|
|
1837
|
-
/** @deprecated use `
|
|
1891
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
1838
1892
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1839
1893
|
readonly JsonSchema: "json_schema";
|
|
1840
1894
|
}>;
|
|
@@ -1866,11 +1920,51 @@ export declare namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
|
1866
1920
|
export declare function updatePromptResponseFormatJsonSchemaToJSON(updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema): string;
|
|
1867
1921
|
export declare function updatePromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
1868
1922
|
/** @internal */
|
|
1923
|
+
export declare const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1924
|
+
/** @internal */
|
|
1925
|
+
export type UpdatePromptResponseFormatPrompts2$Outbound = {
|
|
1926
|
+
type: string;
|
|
1927
|
+
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1928
|
+
};
|
|
1929
|
+
/** @internal */
|
|
1930
|
+
export declare const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
1931
|
+
/**
|
|
1932
|
+
* @internal
|
|
1933
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1934
|
+
*/
|
|
1935
|
+
export declare namespace UpdatePromptResponseFormatPrompts2$ {
|
|
1936
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
1937
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1938
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
1939
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
1940
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
1941
|
+
type Outbound = UpdatePromptResponseFormatPrompts2$Outbound;
|
|
1942
|
+
}
|
|
1943
|
+
export declare function updatePromptResponseFormatPrompts2ToJSON(updatePromptResponseFormatPrompts2: UpdatePromptResponseFormatPrompts2): string;
|
|
1944
|
+
export declare function updatePromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
1945
|
+
/** @internal */
|
|
1946
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
1947
|
+
/** @internal */
|
|
1948
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
1949
|
+
/**
|
|
1950
|
+
* @internal
|
|
1951
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1952
|
+
*/
|
|
1953
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponseType$ {
|
|
1954
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
1955
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1956
|
+
readonly Text: "text";
|
|
1957
|
+
}>;
|
|
1958
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
1959
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1960
|
+
readonly Text: "text";
|
|
1961
|
+
}>;
|
|
1962
|
+
}
|
|
1963
|
+
/** @internal */
|
|
1869
1964
|
export declare const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
1870
1965
|
/** @internal */
|
|
1871
1966
|
export type UpdatePromptResponseFormatPrompts1$Outbound = {
|
|
1872
1967
|
type: string;
|
|
1873
|
-
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1874
1968
|
};
|
|
1875
1969
|
/** @internal */
|
|
1876
1970
|
export declare const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
@@ -1891,7 +1985,7 @@ export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: s
|
|
|
1891
1985
|
/** @internal */
|
|
1892
1986
|
export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1893
1987
|
/** @internal */
|
|
1894
|
-
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts1$Outbound |
|
|
1988
|
+
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts3$Outbound;
|
|
1895
1989
|
/** @internal */
|
|
1896
1990
|
export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
1897
1991
|
/**
|
|
@@ -2010,7 +2104,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
2010
2104
|
dimensions?: string | undefined;
|
|
2011
2105
|
quality?: string | undefined;
|
|
2012
2106
|
style?: string | undefined;
|
|
2013
|
-
responseFormat?: UpdatePromptResponseFormatPrompts1$Outbound |
|
|
2107
|
+
responseFormat?: UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound | UpdatePromptResponseFormatPrompts3$Outbound | null | undefined;
|
|
2014
2108
|
photoRealVersion?: string | undefined;
|
|
2015
2109
|
encoding_format?: string | undefined;
|
|
2016
2110
|
reasoningEffort?: string | undefined;
|