@orq-ai/node 3.1.0-rc.27 → 3.1.0-rc.29
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createprompt.d.ts +117 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +87 -9
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createpromptsnippet.d.ts +117 -0
- package/models/operations/createpromptsnippet.d.ts.map +1 -1
- package/models/operations/createpromptsnippet.js +86 -9
- package/models/operations/createpromptsnippet.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +39 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +29 -4
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +39 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +28 -3
- 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/findonebykeypromptsnippet.d.ts +78 -0
- package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -1
- package/models/operations/findonebykeypromptsnippet.js +62 -7
- package/models/operations/findonebykeypromptsnippet.js.map +1 -1
- package/models/operations/findonepromptsnippet.d.ts +78 -0
- package/models/operations/findonepromptsnippet.d.ts.map +1 -1
- package/models/operations/findonepromptsnippet.js +61 -7
- package/models/operations/findonepromptsnippet.js.map +1 -1
- package/models/operations/getallprompts.d.ts +78 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +58 -7
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/updateprompt.d.ts +117 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +87 -9
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatepromptsnippet.d.ts +117 -0
- package/models/operations/updatepromptsnippet.d.ts.map +1 -1
- package/models/operations/updatepromptsnippet.js +88 -9
- package/models/operations/updatepromptsnippet.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createprompt.ts +136 -2
- package/src/models/operations/createpromptsnippet.ts +137 -2
- package/src/models/operations/deploymentgetconfig.ts +44 -0
- package/src/models/operations/deployments.ts +43 -0
- 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/findonebykeypromptsnippet.ts +102 -2
- package/src/models/operations/findonepromptsnippet.ts +99 -2
- package/src/models/operations/getallprompts.ts +91 -2
- package/src/models/operations/updateprompt.ts +136 -2
- package/src/models/operations/updatepromptsnippet.ts +148 -2
|
@@ -157,6 +157,21 @@ export type GetAllPromptsEncodingFormat = ClosedEnum<
|
|
|
157
157
|
typeof GetAllPromptsEncodingFormat
|
|
158
158
|
>;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
162
|
+
*/
|
|
163
|
+
export const GetAllPromptsReasoningEffort = {
|
|
164
|
+
Low: "low",
|
|
165
|
+
Medium: "medium",
|
|
166
|
+
High: "high",
|
|
167
|
+
} as const;
|
|
168
|
+
/**
|
|
169
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
170
|
+
*/
|
|
171
|
+
export type GetAllPromptsReasoningEffort = ClosedEnum<
|
|
172
|
+
typeof GetAllPromptsReasoningEffort
|
|
173
|
+
>;
|
|
174
|
+
|
|
160
175
|
/**
|
|
161
176
|
* Model Parameters: Not all parameters apply to every model
|
|
162
177
|
*/
|
|
@@ -233,6 +248,10 @@ export type GetAllPromptsModelParameters = {
|
|
|
233
248
|
* The format to return the embeddings
|
|
234
249
|
*/
|
|
235
250
|
encodingFormat?: GetAllPromptsEncodingFormat | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
253
|
+
*/
|
|
254
|
+
reasoningEffort?: GetAllPromptsReasoningEffort | undefined;
|
|
236
255
|
};
|
|
237
256
|
|
|
238
257
|
export const GetAllPromptsProvider = {
|
|
@@ -564,6 +583,21 @@ export type GetAllPromptsPromptsEncodingFormat = ClosedEnum<
|
|
|
564
583
|
typeof GetAllPromptsPromptsEncodingFormat
|
|
565
584
|
>;
|
|
566
585
|
|
|
586
|
+
/**
|
|
587
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
588
|
+
*/
|
|
589
|
+
export const GetAllPromptsPromptsReasoningEffort = {
|
|
590
|
+
Low: "low",
|
|
591
|
+
Medium: "medium",
|
|
592
|
+
High: "high",
|
|
593
|
+
} as const;
|
|
594
|
+
/**
|
|
595
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
596
|
+
*/
|
|
597
|
+
export type GetAllPromptsPromptsReasoningEffort = ClosedEnum<
|
|
598
|
+
typeof GetAllPromptsPromptsReasoningEffort
|
|
599
|
+
>;
|
|
600
|
+
|
|
567
601
|
/**
|
|
568
602
|
* Model Parameters: Not all parameters apply to every model
|
|
569
603
|
*/
|
|
@@ -640,6 +674,10 @@ export type GetAllPromptsPromptsModelParameters = {
|
|
|
640
674
|
* The format to return the embeddings
|
|
641
675
|
*/
|
|
642
676
|
encodingFormat?: GetAllPromptsPromptsEncodingFormat | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
679
|
+
*/
|
|
680
|
+
reasoningEffort?: GetAllPromptsPromptsReasoningEffort | undefined;
|
|
643
681
|
};
|
|
644
682
|
|
|
645
683
|
export const GetAllPromptsPromptsProvider = {
|
|
@@ -1535,6 +1573,27 @@ export namespace GetAllPromptsEncodingFormat$ {
|
|
|
1535
1573
|
export const outboundSchema = GetAllPromptsEncodingFormat$outboundSchema;
|
|
1536
1574
|
}
|
|
1537
1575
|
|
|
1576
|
+
/** @internal */
|
|
1577
|
+
export const GetAllPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
1578
|
+
typeof GetAllPromptsReasoningEffort
|
|
1579
|
+
> = z.nativeEnum(GetAllPromptsReasoningEffort);
|
|
1580
|
+
|
|
1581
|
+
/** @internal */
|
|
1582
|
+
export const GetAllPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
1583
|
+
typeof GetAllPromptsReasoningEffort
|
|
1584
|
+
> = GetAllPromptsReasoningEffort$inboundSchema;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* @internal
|
|
1588
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1589
|
+
*/
|
|
1590
|
+
export namespace GetAllPromptsReasoningEffort$ {
|
|
1591
|
+
/** @deprecated use `GetAllPromptsReasoningEffort$inboundSchema` instead. */
|
|
1592
|
+
export const inboundSchema = GetAllPromptsReasoningEffort$inboundSchema;
|
|
1593
|
+
/** @deprecated use `GetAllPromptsReasoningEffort$outboundSchema` instead. */
|
|
1594
|
+
export const outboundSchema = GetAllPromptsReasoningEffort$outboundSchema;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1538
1597
|
/** @internal */
|
|
1539
1598
|
export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
1540
1599
|
GetAllPromptsModelParameters,
|
|
@@ -1561,6 +1620,7 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
1561
1620
|
).optional(),
|
|
1562
1621
|
photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
1563
1622
|
encoding_format: GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
1623
|
+
reasoningEffort: GetAllPromptsReasoningEffort$inboundSchema.optional(),
|
|
1564
1624
|
}).transform((v) => {
|
|
1565
1625
|
return remap$(v, {
|
|
1566
1626
|
"encoding_format": "encodingFormat",
|
|
@@ -1588,6 +1648,7 @@ export type GetAllPromptsModelParameters$Outbound = {
|
|
|
1588
1648
|
| undefined;
|
|
1589
1649
|
photoRealVersion?: string | undefined;
|
|
1590
1650
|
encoding_format?: string | undefined;
|
|
1651
|
+
reasoningEffort?: string | undefined;
|
|
1591
1652
|
};
|
|
1592
1653
|
|
|
1593
1654
|
/** @internal */
|
|
@@ -1616,6 +1677,7 @@ export const GetAllPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
1616
1677
|
).optional(),
|
|
1617
1678
|
photoRealVersion: GetAllPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
1618
1679
|
encodingFormat: GetAllPromptsEncodingFormat$outboundSchema.optional(),
|
|
1680
|
+
reasoningEffort: GetAllPromptsReasoningEffort$outboundSchema.optional(),
|
|
1619
1681
|
}).transform((v) => {
|
|
1620
1682
|
return remap$(v, {
|
|
1621
1683
|
encodingFormat: "encoding_format",
|
|
@@ -2901,6 +2963,29 @@ export namespace GetAllPromptsPromptsEncodingFormat$ {
|
|
|
2901
2963
|
GetAllPromptsPromptsEncodingFormat$outboundSchema;
|
|
2902
2964
|
}
|
|
2903
2965
|
|
|
2966
|
+
/** @internal */
|
|
2967
|
+
export const GetAllPromptsPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
2968
|
+
typeof GetAllPromptsPromptsReasoningEffort
|
|
2969
|
+
> = z.nativeEnum(GetAllPromptsPromptsReasoningEffort);
|
|
2970
|
+
|
|
2971
|
+
/** @internal */
|
|
2972
|
+
export const GetAllPromptsPromptsReasoningEffort$outboundSchema:
|
|
2973
|
+
z.ZodNativeEnum<typeof GetAllPromptsPromptsReasoningEffort> =
|
|
2974
|
+
GetAllPromptsPromptsReasoningEffort$inboundSchema;
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* @internal
|
|
2978
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2979
|
+
*/
|
|
2980
|
+
export namespace GetAllPromptsPromptsReasoningEffort$ {
|
|
2981
|
+
/** @deprecated use `GetAllPromptsPromptsReasoningEffort$inboundSchema` instead. */
|
|
2982
|
+
export const inboundSchema =
|
|
2983
|
+
GetAllPromptsPromptsReasoningEffort$inboundSchema;
|
|
2984
|
+
/** @deprecated use `GetAllPromptsPromptsReasoningEffort$outboundSchema` instead. */
|
|
2985
|
+
export const outboundSchema =
|
|
2986
|
+
GetAllPromptsPromptsReasoningEffort$outboundSchema;
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2904
2989
|
/** @internal */
|
|
2905
2990
|
export const GetAllPromptsPromptsModelParameters$inboundSchema: z.ZodType<
|
|
2906
2991
|
GetAllPromptsPromptsModelParameters,
|
|
@@ -2928,6 +3013,7 @@ export const GetAllPromptsPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
2928
3013
|
photoRealVersion: GetAllPromptsPromptsPhotoRealVersion$inboundSchema
|
|
2929
3014
|
.optional(),
|
|
2930
3015
|
encoding_format: GetAllPromptsPromptsEncodingFormat$inboundSchema.optional(),
|
|
3016
|
+
reasoningEffort: GetAllPromptsPromptsReasoningEffort$inboundSchema.optional(),
|
|
2931
3017
|
}).transform((v) => {
|
|
2932
3018
|
return remap$(v, {
|
|
2933
3019
|
"encoding_format": "encodingFormat",
|
|
@@ -2955,6 +3041,7 @@ export type GetAllPromptsPromptsModelParameters$Outbound = {
|
|
|
2955
3041
|
| undefined;
|
|
2956
3042
|
photoRealVersion?: string | undefined;
|
|
2957
3043
|
encoding_format?: string | undefined;
|
|
3044
|
+
reasoningEffort?: string | undefined;
|
|
2958
3045
|
};
|
|
2959
3046
|
|
|
2960
3047
|
/** @internal */
|
|
@@ -2984,6 +3071,8 @@ export const GetAllPromptsPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
2984
3071
|
photoRealVersion: GetAllPromptsPromptsPhotoRealVersion$outboundSchema
|
|
2985
3072
|
.optional(),
|
|
2986
3073
|
encodingFormat: GetAllPromptsPromptsEncodingFormat$outboundSchema.optional(),
|
|
3074
|
+
reasoningEffort: GetAllPromptsPromptsReasoningEffort$outboundSchema
|
|
3075
|
+
.optional(),
|
|
2987
3076
|
}).transform((v) => {
|
|
2988
3077
|
return remap$(v, {
|
|
2989
3078
|
encodingFormat: "encoding_format",
|
|
@@ -3967,7 +4056,7 @@ export const GetAllPromptsData$inboundSchema: z.ZodType<
|
|
|
3967
4056
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3968
4057
|
.optional(),
|
|
3969
4058
|
updated: z.string().datetime({ offset: true }).default(
|
|
3970
|
-
"2025-
|
|
4059
|
+
"2025-02-03T06:31:29.908Z",
|
|
3971
4060
|
).transform(v => new Date(v)),
|
|
3972
4061
|
type: GetAllPromptsType$inboundSchema,
|
|
3973
4062
|
versions: z.array(z.lazy(() => GetAllPromptsVersions$inboundSchema)),
|
|
@@ -4015,7 +4104,7 @@ export const GetAllPromptsData$outboundSchema: z.ZodType<
|
|
|
4015
4104
|
promptConfig: z.lazy(() => GetAllPromptsPromptConfig$outboundSchema),
|
|
4016
4105
|
metadata: z.lazy(() => GetAllPromptsMetadata$outboundSchema),
|
|
4017
4106
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
4018
|
-
updated: z.date().default(() => new Date("2025-
|
|
4107
|
+
updated: z.date().default(() => new Date("2025-02-03T06:31:29.908Z"))
|
|
4019
4108
|
.transform(v => v.toISOString()),
|
|
4020
4109
|
type: GetAllPromptsType$outboundSchema,
|
|
4021
4110
|
versions: z.array(z.lazy(() => GetAllPromptsVersions$outboundSchema)),
|
|
@@ -130,6 +130,21 @@ export type UpdatePromptEncodingFormat = ClosedEnum<
|
|
|
130
130
|
typeof UpdatePromptEncodingFormat
|
|
131
131
|
>;
|
|
132
132
|
|
|
133
|
+
/**
|
|
134
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
135
|
+
*/
|
|
136
|
+
export const UpdatePromptReasoningEffort = {
|
|
137
|
+
Low: "low",
|
|
138
|
+
Medium: "medium",
|
|
139
|
+
High: "high",
|
|
140
|
+
} as const;
|
|
141
|
+
/**
|
|
142
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
143
|
+
*/
|
|
144
|
+
export type UpdatePromptReasoningEffort = ClosedEnum<
|
|
145
|
+
typeof UpdatePromptReasoningEffort
|
|
146
|
+
>;
|
|
147
|
+
|
|
133
148
|
/**
|
|
134
149
|
* Model Parameters: Not all parameters apply to every model
|
|
135
150
|
*/
|
|
@@ -206,6 +221,10 @@ export type UpdatePromptModelParameters = {
|
|
|
206
221
|
* The format to return the embeddings
|
|
207
222
|
*/
|
|
208
223
|
encodingFormat?: UpdatePromptEncodingFormat | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
226
|
+
*/
|
|
227
|
+
reasoningEffort?: UpdatePromptReasoningEffort | undefined;
|
|
209
228
|
};
|
|
210
229
|
|
|
211
230
|
export const UpdatePromptProvider = {
|
|
@@ -549,6 +568,21 @@ export type UpdatePromptPromptsEncodingFormat = ClosedEnum<
|
|
|
549
568
|
typeof UpdatePromptPromptsEncodingFormat
|
|
550
569
|
>;
|
|
551
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
573
|
+
*/
|
|
574
|
+
export const UpdatePromptPromptsReasoningEffort = {
|
|
575
|
+
Low: "low",
|
|
576
|
+
Medium: "medium",
|
|
577
|
+
High: "high",
|
|
578
|
+
} as const;
|
|
579
|
+
/**
|
|
580
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
581
|
+
*/
|
|
582
|
+
export type UpdatePromptPromptsReasoningEffort = ClosedEnum<
|
|
583
|
+
typeof UpdatePromptPromptsReasoningEffort
|
|
584
|
+
>;
|
|
585
|
+
|
|
552
586
|
/**
|
|
553
587
|
* Model Parameters: Not all parameters apply to every model
|
|
554
588
|
*/
|
|
@@ -625,6 +659,10 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
625
659
|
* The format to return the embeddings
|
|
626
660
|
*/
|
|
627
661
|
encodingFormat?: UpdatePromptPromptsEncodingFormat | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
664
|
+
*/
|
|
665
|
+
reasoningEffort?: UpdatePromptPromptsReasoningEffort | undefined;
|
|
628
666
|
};
|
|
629
667
|
|
|
630
668
|
export const UpdatePromptPromptsProvider = {
|
|
@@ -974,6 +1012,21 @@ export type UpdatePromptPromptsResponseEncodingFormat = ClosedEnum<
|
|
|
974
1012
|
typeof UpdatePromptPromptsResponseEncodingFormat
|
|
975
1013
|
>;
|
|
976
1014
|
|
|
1015
|
+
/**
|
|
1016
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1017
|
+
*/
|
|
1018
|
+
export const UpdatePromptPromptsResponseReasoningEffort = {
|
|
1019
|
+
Low: "low",
|
|
1020
|
+
Medium: "medium",
|
|
1021
|
+
High: "high",
|
|
1022
|
+
} as const;
|
|
1023
|
+
/**
|
|
1024
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1025
|
+
*/
|
|
1026
|
+
export type UpdatePromptPromptsResponseReasoningEffort = ClosedEnum<
|
|
1027
|
+
typeof UpdatePromptPromptsResponseReasoningEffort
|
|
1028
|
+
>;
|
|
1029
|
+
|
|
977
1030
|
/**
|
|
978
1031
|
* Model Parameters: Not all parameters apply to every model
|
|
979
1032
|
*/
|
|
@@ -1050,6 +1103,10 @@ export type UpdatePromptPromptsResponseModelParameters = {
|
|
|
1050
1103
|
* The format to return the embeddings
|
|
1051
1104
|
*/
|
|
1052
1105
|
encodingFormat?: UpdatePromptPromptsResponseEncodingFormat | undefined;
|
|
1106
|
+
/**
|
|
1107
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1108
|
+
*/
|
|
1109
|
+
reasoningEffort?: UpdatePromptPromptsResponseReasoningEffort | undefined;
|
|
1053
1110
|
};
|
|
1054
1111
|
|
|
1055
1112
|
export const UpdatePromptPromptsResponseProvider = {
|
|
@@ -1773,6 +1830,27 @@ export namespace UpdatePromptEncodingFormat$ {
|
|
|
1773
1830
|
export const outboundSchema = UpdatePromptEncodingFormat$outboundSchema;
|
|
1774
1831
|
}
|
|
1775
1832
|
|
|
1833
|
+
/** @internal */
|
|
1834
|
+
export const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
1835
|
+
typeof UpdatePromptReasoningEffort
|
|
1836
|
+
> = z.nativeEnum(UpdatePromptReasoningEffort);
|
|
1837
|
+
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
export const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
1840
|
+
typeof UpdatePromptReasoningEffort
|
|
1841
|
+
> = UpdatePromptReasoningEffort$inboundSchema;
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* @internal
|
|
1845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1846
|
+
*/
|
|
1847
|
+
export namespace UpdatePromptReasoningEffort$ {
|
|
1848
|
+
/** @deprecated use `UpdatePromptReasoningEffort$inboundSchema` instead. */
|
|
1849
|
+
export const inboundSchema = UpdatePromptReasoningEffort$inboundSchema;
|
|
1850
|
+
/** @deprecated use `UpdatePromptReasoningEffort$outboundSchema` instead. */
|
|
1851
|
+
export const outboundSchema = UpdatePromptReasoningEffort$outboundSchema;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1776
1854
|
/** @internal */
|
|
1777
1855
|
export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
1778
1856
|
UpdatePromptModelParameters,
|
|
@@ -1799,6 +1877,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1799
1877
|
).optional(),
|
|
1800
1878
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
1801
1879
|
encoding_format: UpdatePromptEncodingFormat$inboundSchema.optional(),
|
|
1880
|
+
reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
|
|
1802
1881
|
}).transform((v) => {
|
|
1803
1882
|
return remap$(v, {
|
|
1804
1883
|
"encoding_format": "encodingFormat",
|
|
@@ -1826,6 +1905,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1826
1905
|
| undefined;
|
|
1827
1906
|
photoRealVersion?: string | undefined;
|
|
1828
1907
|
encoding_format?: string | undefined;
|
|
1908
|
+
reasoningEffort?: string | undefined;
|
|
1829
1909
|
};
|
|
1830
1910
|
|
|
1831
1911
|
/** @internal */
|
|
@@ -1854,6 +1934,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1854
1934
|
).optional(),
|
|
1855
1935
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
1856
1936
|
encodingFormat: UpdatePromptEncodingFormat$outboundSchema.optional(),
|
|
1937
|
+
reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
|
|
1857
1938
|
}).transform((v) => {
|
|
1858
1939
|
return remap$(v, {
|
|
1859
1940
|
encodingFormat: "encoding_format",
|
|
@@ -3306,6 +3387,28 @@ export namespace UpdatePromptPromptsEncodingFormat$ {
|
|
|
3306
3387
|
UpdatePromptPromptsEncodingFormat$outboundSchema;
|
|
3307
3388
|
}
|
|
3308
3389
|
|
|
3390
|
+
/** @internal */
|
|
3391
|
+
export const UpdatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
3392
|
+
typeof UpdatePromptPromptsReasoningEffort
|
|
3393
|
+
> = z.nativeEnum(UpdatePromptPromptsReasoningEffort);
|
|
3394
|
+
|
|
3395
|
+
/** @internal */
|
|
3396
|
+
export const UpdatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
3397
|
+
typeof UpdatePromptPromptsReasoningEffort
|
|
3398
|
+
> = UpdatePromptPromptsReasoningEffort$inboundSchema;
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* @internal
|
|
3402
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3403
|
+
*/
|
|
3404
|
+
export namespace UpdatePromptPromptsReasoningEffort$ {
|
|
3405
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$inboundSchema` instead. */
|
|
3406
|
+
export const inboundSchema = UpdatePromptPromptsReasoningEffort$inboundSchema;
|
|
3407
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$outboundSchema` instead. */
|
|
3408
|
+
export const outboundSchema =
|
|
3409
|
+
UpdatePromptPromptsReasoningEffort$outboundSchema;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3309
3412
|
/** @internal */
|
|
3310
3413
|
export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
3311
3414
|
UpdatePromptPromptsModelParameters,
|
|
@@ -3333,6 +3436,7 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3333
3436
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
3334
3437
|
.optional(),
|
|
3335
3438
|
encoding_format: UpdatePromptPromptsEncodingFormat$inboundSchema.optional(),
|
|
3439
|
+
reasoningEffort: UpdatePromptPromptsReasoningEffort$inboundSchema.optional(),
|
|
3336
3440
|
}).transform((v) => {
|
|
3337
3441
|
return remap$(v, {
|
|
3338
3442
|
"encoding_format": "encodingFormat",
|
|
@@ -3360,6 +3464,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3360
3464
|
| undefined;
|
|
3361
3465
|
photoRealVersion?: string | undefined;
|
|
3362
3466
|
encoding_format?: string | undefined;
|
|
3467
|
+
reasoningEffort?: string | undefined;
|
|
3363
3468
|
};
|
|
3364
3469
|
|
|
3365
3470
|
/** @internal */
|
|
@@ -3389,6 +3494,7 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3389
3494
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|
|
3390
3495
|
.optional(),
|
|
3391
3496
|
encodingFormat: UpdatePromptPromptsEncodingFormat$outboundSchema.optional(),
|
|
3497
|
+
reasoningEffort: UpdatePromptPromptsReasoningEffort$outboundSchema.optional(),
|
|
3392
3498
|
}).transform((v) => {
|
|
3393
3499
|
return remap$(v, {
|
|
3394
3500
|
encodingFormat: "encoding_format",
|
|
@@ -4740,6 +4846,29 @@ export namespace UpdatePromptPromptsResponseEncodingFormat$ {
|
|
|
4740
4846
|
UpdatePromptPromptsResponseEncodingFormat$outboundSchema;
|
|
4741
4847
|
}
|
|
4742
4848
|
|
|
4849
|
+
/** @internal */
|
|
4850
|
+
export const UpdatePromptPromptsResponseReasoningEffort$inboundSchema:
|
|
4851
|
+
z.ZodNativeEnum<typeof UpdatePromptPromptsResponseReasoningEffort> = z
|
|
4852
|
+
.nativeEnum(UpdatePromptPromptsResponseReasoningEffort);
|
|
4853
|
+
|
|
4854
|
+
/** @internal */
|
|
4855
|
+
export const UpdatePromptPromptsResponseReasoningEffort$outboundSchema:
|
|
4856
|
+
z.ZodNativeEnum<typeof UpdatePromptPromptsResponseReasoningEffort> =
|
|
4857
|
+
UpdatePromptPromptsResponseReasoningEffort$inboundSchema;
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* @internal
|
|
4861
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4862
|
+
*/
|
|
4863
|
+
export namespace UpdatePromptPromptsResponseReasoningEffort$ {
|
|
4864
|
+
/** @deprecated use `UpdatePromptPromptsResponseReasoningEffort$inboundSchema` instead. */
|
|
4865
|
+
export const inboundSchema =
|
|
4866
|
+
UpdatePromptPromptsResponseReasoningEffort$inboundSchema;
|
|
4867
|
+
/** @deprecated use `UpdatePromptPromptsResponseReasoningEffort$outboundSchema` instead. */
|
|
4868
|
+
export const outboundSchema =
|
|
4869
|
+
UpdatePromptPromptsResponseReasoningEffort$outboundSchema;
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4743
4872
|
/** @internal */
|
|
4744
4873
|
export const UpdatePromptPromptsResponseModelParameters$inboundSchema:
|
|
4745
4874
|
z.ZodType<UpdatePromptPromptsResponseModelParameters, z.ZodTypeDef, unknown> =
|
|
@@ -4770,6 +4899,8 @@ export const UpdatePromptPromptsResponseModelParameters$inboundSchema:
|
|
|
4770
4899
|
UpdatePromptPromptsResponsePhotoRealVersion$inboundSchema.optional(),
|
|
4771
4900
|
encoding_format: UpdatePromptPromptsResponseEncodingFormat$inboundSchema
|
|
4772
4901
|
.optional(),
|
|
4902
|
+
reasoningEffort: UpdatePromptPromptsResponseReasoningEffort$inboundSchema
|
|
4903
|
+
.optional(),
|
|
4773
4904
|
}).transform((v) => {
|
|
4774
4905
|
return remap$(v, {
|
|
4775
4906
|
"encoding_format": "encodingFormat",
|
|
@@ -4797,6 +4928,7 @@ export type UpdatePromptPromptsResponseModelParameters$Outbound = {
|
|
|
4797
4928
|
| undefined;
|
|
4798
4929
|
photoRealVersion?: string | undefined;
|
|
4799
4930
|
encoding_format?: string | undefined;
|
|
4931
|
+
reasoningEffort?: string | undefined;
|
|
4800
4932
|
};
|
|
4801
4933
|
|
|
4802
4934
|
/** @internal */
|
|
@@ -4828,6 +4960,8 @@ export const UpdatePromptPromptsResponseModelParameters$outboundSchema:
|
|
|
4828
4960
|
.optional(),
|
|
4829
4961
|
encodingFormat: UpdatePromptPromptsResponseEncodingFormat$outboundSchema
|
|
4830
4962
|
.optional(),
|
|
4963
|
+
reasoningEffort: UpdatePromptPromptsResponseReasoningEffort$outboundSchema
|
|
4964
|
+
.optional(),
|
|
4831
4965
|
}).transform((v) => {
|
|
4832
4966
|
return remap$(v, {
|
|
4833
4967
|
encodingFormat: "encoding_format",
|
|
@@ -5884,7 +6018,7 @@ export const UpdatePromptResponseBody$inboundSchema: z.ZodType<
|
|
|
5884
6018
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5885
6019
|
.optional(),
|
|
5886
6020
|
updated: z.string().datetime({ offset: true }).default(
|
|
5887
|
-
"2025-
|
|
6021
|
+
"2025-02-03T06:31:29.908Z",
|
|
5888
6022
|
).transform(v => new Date(v)),
|
|
5889
6023
|
type: UpdatePromptPromptsType$inboundSchema,
|
|
5890
6024
|
versions: z.array(z.lazy(() => UpdatePromptVersions$inboundSchema)),
|
|
@@ -5932,7 +6066,7 @@ export const UpdatePromptResponseBody$outboundSchema: z.ZodType<
|
|
|
5932
6066
|
promptConfig: z.lazy(() => UpdatePromptPromptsPromptConfig$outboundSchema),
|
|
5933
6067
|
metadata: z.lazy(() => UpdatePromptPromptsMetadata$outboundSchema),
|
|
5934
6068
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5935
|
-
updated: z.date().default(() => new Date("2025-
|
|
6069
|
+
updated: z.date().default(() => new Date("2025-02-03T06:31:29.908Z"))
|
|
5936
6070
|
.transform(v => v.toISOString()),
|
|
5937
6071
|
type: UpdatePromptPromptsType$outboundSchema,
|
|
5938
6072
|
versions: z.array(z.lazy(() => UpdatePromptVersions$outboundSchema)),
|