@orq-ai/node 4.10.17 → 4.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/funcs/datasetsList.js +0 -2
- package/funcs/datasetsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +3 -3
- package/lib/env.js.map +1 -1
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js +28 -13
- package/lib/event-streams.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/models/components/modelmetadata.d.ts +0 -2
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +0 -4
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoning.d.ts +2 -40
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +3 -26
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +2 -40
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +3 -28
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +4 -298
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +9 -163
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +4 -81
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +7 -45
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/creatememorystore.d.ts +3 -3
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +2 -2
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +12 -225
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -124
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +4 -349
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +4 -195
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +4 -70
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +8 -43
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +8 -74
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +8 -43
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +1 -1
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +1 -1
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +4 -140
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -79
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +4 -140
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -79
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -140
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -78
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +0 -140
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -79
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.d.ts +0 -10
- package/models/operations/listdatasets.d.ts.map +1 -1
- package/models/operations/listdatasets.js +1 -4
- package/models/operations/listdatasets.js.map +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +1 -1
- package/models/operations/listpromptversions.d.ts +4 -140
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -79
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +0 -140
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -81
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievememorystore.d.ts +1 -1
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +1 -1
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +0 -154
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -80
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +0 -154
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -82
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +4 -298
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +9 -162
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatememorystore.d.ts +3 -3
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +2 -2
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +12 -225
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +14 -125
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/funcs/budgetsCheck.ts +162 -0
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/budgetsDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/budgetsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +169 -0
- package/packages/orq-rc/src/funcs/budgetsList.ts +175 -0
- package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +174 -0
- package/packages/orq-rc/src/funcs/budgetsUpdate.ts +171 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/encodings.ts +1 -1
- package/packages/orq-rc/src/lib/env.ts +7 -3
- package/packages/orq-rc/src/lib/event-streams.ts +31 -13
- package/packages/orq-rc/src/lib/matchers.ts +1 -1
- package/packages/orq-rc/src/lib/primitives.ts +16 -0
- package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +66 -0
- package/packages/orq-rc/src/models/components/budget.ts +102 -0
- package/packages/orq-rc/src/models/components/budgetlimits.ts +76 -0
- package/packages/orq-rc/src/models/components/budgetmatch.ts +56 -0
- package/packages/orq-rc/src/models/components/budgetperiod.ts +23 -0
- package/packages/orq-rc/src/models/components/budgetrejection.ts +48 -0
- package/packages/orq-rc/src/models/components/budgetscope.ts +150 -0
- package/packages/orq-rc/src/models/components/budgetscopekind.ts +22 -0
- package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +111 -0
- package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +62 -0
- package/packages/orq-rc/src/models/components/createbudgetrequest.ts +109 -0
- package/packages/orq-rc/src/models/components/createbudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/dimensioninfo.ts +43 -0
- package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +67 -0
- package/packages/orq-rc/src/models/components/getbudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/identity.ts +9 -9
- package/packages/orq-rc/src/models/components/identitybudgetscope.ts +66 -0
- package/packages/orq-rc/src/models/components/index.ts +27 -0
- package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/modelbudgetscope.ts +67 -0
- package/packages/orq-rc/src/models/components/projectbudgetscope.ts +63 -0
- package/packages/orq-rc/src/models/components/providerbudgetscope.ts +57 -0
- package/packages/orq-rc/src/models/components/ratelimit.ts +62 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
- package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +94 -0
- package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +46 -0
- package/packages/orq-rc/src/models/operations/budgetdelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/budgetget.ts +39 -0
- package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +41 -0
- package/packages/orq-rc/src/models/operations/budgetlist.ts +102 -0
- package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +48 -0
- package/packages/orq-rc/src/models/operations/budgetupdate.ts +44 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +6 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/budgets.ts +154 -0
- package/packages/orq-rc/src/sdk/feedback.ts +1 -4
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/datasetsList.ts +0 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +1 -1
- package/src/lib/env.ts +7 -3
- package/src/lib/event-streams.ts +31 -13
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/models/components/modelmetadata.ts +0 -6
- package/src/models/components/reasoning.ts +4 -50
- package/src/models/components/reasoningparam.ts +4 -48
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +8 -460
- package/src/models/operations/createchatcompletion.ts +10 -129
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/creatememorystore.ts +5 -5
- package/src/models/operations/createprompt.ts +27 -356
- package/src/models/operations/createrouterresponse.ts +8 -532
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +8 -105
- package/src/models/operations/deployments.ts +16 -113
- package/src/models/operations/getallmemorystores.ts +2 -2
- package/src/models/operations/getallprompts.ts +8 -210
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +8 -208
- package/src/models/operations/getpromptversion.ts +8 -212
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +0 -215
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -14
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +1 -1
- package/src/models/operations/listpromptversions.ts +8 -212
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +0 -222
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievememorystore.ts +2 -2
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -236
- package/src/models/operations/streamrunagent.ts +1 -242
- package/src/models/operations/updateagent.ts +9 -464
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatememorystore.ts +5 -5
- package/src/models/operations/updateprompt.ts +27 -356
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/packages/orq-rc/src/lib/dlv.ts +0 -53
- package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
|
@@ -166,68 +166,6 @@ export type GetAllPromptsPromptsResponseFormat =
|
|
|
166
166
|
| GetAllPromptsResponseFormat5
|
|
167
167
|
| GetAllPromptsResponseFormat6;
|
|
168
168
|
|
|
169
|
-
/**
|
|
170
|
-
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
171
|
-
*/
|
|
172
|
-
export const GetAllPromptsPromptsResponse200Type = {
|
|
173
|
-
Ephemeral: "ephemeral",
|
|
174
|
-
} as const;
|
|
175
|
-
/**
|
|
176
|
-
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
177
|
-
*/
|
|
178
|
-
export type GetAllPromptsPromptsResponse200Type = ClosedEnum<
|
|
179
|
-
typeof GetAllPromptsPromptsResponse200Type
|
|
180
|
-
>;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
184
|
-
*
|
|
185
|
-
* @remarks
|
|
186
|
-
*
|
|
187
|
-
* - `5m`: 5 minutes
|
|
188
|
-
* - `1h`: 1 hour
|
|
189
|
-
*
|
|
190
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
191
|
-
*/
|
|
192
|
-
export const GetAllPromptsPromptsTtl = {
|
|
193
|
-
Fivem: "5m",
|
|
194
|
-
Oneh: "1h",
|
|
195
|
-
} as const;
|
|
196
|
-
/**
|
|
197
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
198
|
-
*
|
|
199
|
-
* @remarks
|
|
200
|
-
*
|
|
201
|
-
* - `5m`: 5 minutes
|
|
202
|
-
* - `1h`: 1 hour
|
|
203
|
-
*
|
|
204
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
205
|
-
*/
|
|
206
|
-
export type GetAllPromptsPromptsTtl = ClosedEnum<
|
|
207
|
-
typeof GetAllPromptsPromptsTtl
|
|
208
|
-
>;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
212
|
-
*/
|
|
213
|
-
export type GetAllPromptsPromptsCacheControl = {
|
|
214
|
-
/**
|
|
215
|
-
* Create a cache control breakpoint. Accepts only the value "ephemeral".
|
|
216
|
-
*/
|
|
217
|
-
type: GetAllPromptsPromptsResponse200Type;
|
|
218
|
-
/**
|
|
219
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
220
|
-
*
|
|
221
|
-
* @remarks
|
|
222
|
-
*
|
|
223
|
-
* - `5m`: 5 minutes
|
|
224
|
-
* - `1h`: 1 hour
|
|
225
|
-
*
|
|
226
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
227
|
-
*/
|
|
228
|
-
ttl: GetAllPromptsPromptsTtl;
|
|
229
|
-
};
|
|
230
|
-
|
|
231
169
|
/**
|
|
232
170
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
233
171
|
*/
|
|
@@ -374,10 +312,6 @@ export type GetAllPromptsModelParameters = {
|
|
|
374
312
|
| GetAllPromptsResponseFormat6
|
|
375
313
|
| null
|
|
376
314
|
| undefined;
|
|
377
|
-
/**
|
|
378
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
379
|
-
*/
|
|
380
|
-
cacheControl?: GetAllPromptsPromptsCacheControl | null | undefined;
|
|
381
315
|
/**
|
|
382
316
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
383
317
|
*/
|
|
@@ -532,11 +466,11 @@ export type GetAllPromptsContent =
|
|
|
532
466
|
| string
|
|
533
467
|
| Array<GetAllPrompts21 | GetAllPrompts22 | GetAllPrompts23>;
|
|
534
468
|
|
|
535
|
-
export const
|
|
469
|
+
export const GetAllPromptsPromptsResponseType = {
|
|
536
470
|
Function: "function",
|
|
537
471
|
} as const;
|
|
538
|
-
export type
|
|
539
|
-
typeof
|
|
472
|
+
export type GetAllPromptsPromptsResponseType = ClosedEnum<
|
|
473
|
+
typeof GetAllPromptsPromptsResponseType
|
|
540
474
|
>;
|
|
541
475
|
|
|
542
476
|
export type GetAllPromptsFunction = {
|
|
@@ -550,7 +484,7 @@ export type GetAllPromptsFunction = {
|
|
|
550
484
|
export type GetAllPromptsToolCalls = {
|
|
551
485
|
id?: string | undefined;
|
|
552
486
|
index?: number | undefined;
|
|
553
|
-
type:
|
|
487
|
+
type: GetAllPromptsPromptsResponseType;
|
|
554
488
|
function: GetAllPromptsFunction;
|
|
555
489
|
};
|
|
556
490
|
|
|
@@ -921,66 +855,6 @@ export type GetAllPromptsTimeout = {
|
|
|
921
855
|
callTimeout: number;
|
|
922
856
|
};
|
|
923
857
|
|
|
924
|
-
/**
|
|
925
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
926
|
-
*/
|
|
927
|
-
export const GetAllPromptsPromptsResponseType = {
|
|
928
|
-
Ephemeral: "ephemeral",
|
|
929
|
-
} as const;
|
|
930
|
-
/**
|
|
931
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
932
|
-
*/
|
|
933
|
-
export type GetAllPromptsPromptsResponseType = ClosedEnum<
|
|
934
|
-
typeof GetAllPromptsPromptsResponseType
|
|
935
|
-
>;
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
939
|
-
*
|
|
940
|
-
* @remarks
|
|
941
|
-
*
|
|
942
|
-
* - `5m`: 5 minutes
|
|
943
|
-
* - `1h`: 1 hour
|
|
944
|
-
*
|
|
945
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
946
|
-
*/
|
|
947
|
-
export const GetAllPromptsTtl = {
|
|
948
|
-
Fivem: "5m",
|
|
949
|
-
Oneh: "1h",
|
|
950
|
-
} as const;
|
|
951
|
-
/**
|
|
952
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
953
|
-
*
|
|
954
|
-
* @remarks
|
|
955
|
-
*
|
|
956
|
-
* - `5m`: 5 minutes
|
|
957
|
-
* - `1h`: 1 hour
|
|
958
|
-
*
|
|
959
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
960
|
-
*/
|
|
961
|
-
export type GetAllPromptsTtl = ClosedEnum<typeof GetAllPromptsTtl>;
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
965
|
-
*/
|
|
966
|
-
export type GetAllPromptsCacheControl = {
|
|
967
|
-
/**
|
|
968
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
969
|
-
*/
|
|
970
|
-
type: GetAllPromptsPromptsResponseType;
|
|
971
|
-
/**
|
|
972
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
973
|
-
*
|
|
974
|
-
* @remarks
|
|
975
|
-
*
|
|
976
|
-
* - `5m`: 5 minutes
|
|
977
|
-
* - `1h`: 1 hour
|
|
978
|
-
*
|
|
979
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
980
|
-
*/
|
|
981
|
-
ttl: GetAllPromptsTtl;
|
|
982
|
-
};
|
|
983
|
-
|
|
984
858
|
export type GetAllPromptsContentPromptsResponse2002 =
|
|
985
859
|
components.TextContentPartSchema;
|
|
986
860
|
|
|
@@ -1444,14 +1318,6 @@ export type GetAllPromptsPromptField = {
|
|
|
1444
1318
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
1445
1319
|
*/
|
|
1446
1320
|
timeout?: GetAllPromptsTimeout | undefined;
|
|
1447
|
-
/**
|
|
1448
|
-
* Provider-level prompt caching configuration applied to the request. Creates a cache control breakpoint covering the request content. Only supported by `Anthropic` Claude models.
|
|
1449
|
-
*/
|
|
1450
|
-
cacheControl?: GetAllPromptsCacheControl | undefined;
|
|
1451
|
-
/**
|
|
1452
|
-
* Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the legacy `user` field for prompt caching.
|
|
1453
|
-
*/
|
|
1454
|
-
promptCacheKey?: string | undefined;
|
|
1455
1321
|
/**
|
|
1456
1322
|
* Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
|
|
1457
1323
|
*/
|
|
@@ -1773,36 +1639,6 @@ export function getAllPromptsPromptsResponseFormatFromJSON(
|
|
|
1773
1639
|
);
|
|
1774
1640
|
}
|
|
1775
1641
|
|
|
1776
|
-
/** @internal */
|
|
1777
|
-
export const GetAllPromptsPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
|
|
1778
|
-
typeof GetAllPromptsPromptsResponse200Type
|
|
1779
|
-
> = z.nativeEnum(GetAllPromptsPromptsResponse200Type);
|
|
1780
|
-
|
|
1781
|
-
/** @internal */
|
|
1782
|
-
export const GetAllPromptsPromptsTtl$inboundSchema: z.ZodNativeEnum<
|
|
1783
|
-
typeof GetAllPromptsPromptsTtl
|
|
1784
|
-
> = z.nativeEnum(GetAllPromptsPromptsTtl);
|
|
1785
|
-
|
|
1786
|
-
/** @internal */
|
|
1787
|
-
export const GetAllPromptsPromptsCacheControl$inboundSchema: z.ZodType<
|
|
1788
|
-
GetAllPromptsPromptsCacheControl,
|
|
1789
|
-
z.ZodTypeDef,
|
|
1790
|
-
unknown
|
|
1791
|
-
> = z.object({
|
|
1792
|
-
type: GetAllPromptsPromptsResponse200Type$inboundSchema,
|
|
1793
|
-
ttl: GetAllPromptsPromptsTtl$inboundSchema.default("5m"),
|
|
1794
|
-
});
|
|
1795
|
-
|
|
1796
|
-
export function getAllPromptsPromptsCacheControlFromJSON(
|
|
1797
|
-
jsonString: string,
|
|
1798
|
-
): SafeParseResult<GetAllPromptsPromptsCacheControl, SDKValidationError> {
|
|
1799
|
-
return safeParse(
|
|
1800
|
-
jsonString,
|
|
1801
|
-
(x) => GetAllPromptsPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
1802
|
-
`Failed to parse 'GetAllPromptsPromptsCacheControl' from JSON`,
|
|
1803
|
-
);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
1642
|
/** @internal */
|
|
1807
1643
|
export const GetAllPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<
|
|
1808
1644
|
typeof GetAllPromptsPhotoRealVersion
|
|
@@ -1856,9 +1692,6 @@ export const GetAllPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
1856
1692
|
GetAllPromptsResponseFormat6$inboundSchema,
|
|
1857
1693
|
]),
|
|
1858
1694
|
).optional(),
|
|
1859
|
-
cacheControl: z.nullable(
|
|
1860
|
-
z.lazy(() => GetAllPromptsPromptsCacheControl$inboundSchema),
|
|
1861
|
-
).optional(),
|
|
1862
1695
|
photoRealVersion: GetAllPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
1863
1696
|
encoding_format: GetAllPromptsEncodingFormat$inboundSchema.optional(),
|
|
1864
1697
|
reasoningEffort: GetAllPromptsPromptsReasoningEffort$inboundSchema.optional(),
|
|
@@ -2048,9 +1881,9 @@ export function getAllPromptsContentFromJSON(
|
|
|
2048
1881
|
}
|
|
2049
1882
|
|
|
2050
1883
|
/** @internal */
|
|
2051
|
-
export const
|
|
2052
|
-
|
|
2053
|
-
|
|
1884
|
+
export const GetAllPromptsPromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
1885
|
+
typeof GetAllPromptsPromptsResponseType
|
|
1886
|
+
> = z.nativeEnum(GetAllPromptsPromptsResponseType);
|
|
2054
1887
|
|
|
2055
1888
|
/** @internal */
|
|
2056
1889
|
export const GetAllPromptsFunction$inboundSchema: z.ZodType<
|
|
@@ -2080,7 +1913,7 @@ export const GetAllPromptsToolCalls$inboundSchema: z.ZodType<
|
|
|
2080
1913
|
> = z.object({
|
|
2081
1914
|
id: z.string().optional(),
|
|
2082
1915
|
index: z.number().optional(),
|
|
2083
|
-
type:
|
|
1916
|
+
type: GetAllPromptsPromptsResponseType$inboundSchema,
|
|
2084
1917
|
function: z.lazy(() => GetAllPromptsFunction$inboundSchema),
|
|
2085
1918
|
});
|
|
2086
1919
|
|
|
@@ -2656,36 +2489,6 @@ export function getAllPromptsTimeoutFromJSON(
|
|
|
2656
2489
|
);
|
|
2657
2490
|
}
|
|
2658
2491
|
|
|
2659
|
-
/** @internal */
|
|
2660
|
-
export const GetAllPromptsPromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
2661
|
-
typeof GetAllPromptsPromptsResponseType
|
|
2662
|
-
> = z.nativeEnum(GetAllPromptsPromptsResponseType);
|
|
2663
|
-
|
|
2664
|
-
/** @internal */
|
|
2665
|
-
export const GetAllPromptsTtl$inboundSchema: z.ZodNativeEnum<
|
|
2666
|
-
typeof GetAllPromptsTtl
|
|
2667
|
-
> = z.nativeEnum(GetAllPromptsTtl);
|
|
2668
|
-
|
|
2669
|
-
/** @internal */
|
|
2670
|
-
export const GetAllPromptsCacheControl$inboundSchema: z.ZodType<
|
|
2671
|
-
GetAllPromptsCacheControl,
|
|
2672
|
-
z.ZodTypeDef,
|
|
2673
|
-
unknown
|
|
2674
|
-
> = z.object({
|
|
2675
|
-
type: GetAllPromptsPromptsResponseType$inboundSchema,
|
|
2676
|
-
ttl: GetAllPromptsTtl$inboundSchema.default("5m"),
|
|
2677
|
-
});
|
|
2678
|
-
|
|
2679
|
-
export function getAllPromptsCacheControlFromJSON(
|
|
2680
|
-
jsonString: string,
|
|
2681
|
-
): SafeParseResult<GetAllPromptsCacheControl, SDKValidationError> {
|
|
2682
|
-
return safeParse(
|
|
2683
|
-
jsonString,
|
|
2684
|
-
(x) => GetAllPromptsCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
2685
|
-
`Failed to parse 'GetAllPromptsCacheControl' from JSON`,
|
|
2686
|
-
);
|
|
2687
|
-
}
|
|
2688
|
-
|
|
2689
2492
|
/** @internal */
|
|
2690
2493
|
export const GetAllPromptsContentPromptsResponse2002$inboundSchema: z.ZodType<
|
|
2691
2494
|
GetAllPromptsContentPromptsResponse2002,
|
|
@@ -3235,9 +3038,6 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3235
3038
|
load_balancer: z.lazy(() => GetAllPromptsLoadBalancer1$inboundSchema)
|
|
3236
3039
|
.optional(),
|
|
3237
3040
|
timeout: z.lazy(() => GetAllPromptsTimeout$inboundSchema).optional(),
|
|
3238
|
-
cache_control: z.lazy(() => GetAllPromptsCacheControl$inboundSchema)
|
|
3239
|
-
.optional(),
|
|
3240
|
-
prompt_cache_key: z.string().optional(),
|
|
3241
3041
|
messages: z.array(
|
|
3242
3042
|
z.union([
|
|
3243
3043
|
z.lazy(() => GetAllPromptsMessagesSystemMessage$inboundSchema),
|
|
@@ -3263,8 +3063,6 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3263
3063
|
"tool_choice": "toolChoice",
|
|
3264
3064
|
"parallel_tool_calls": "parallelToolCalls",
|
|
3265
3065
|
"load_balancer": "loadBalancer",
|
|
3266
|
-
"cache_control": "cacheControl",
|
|
3267
|
-
"prompt_cache_key": "promptCacheKey",
|
|
3268
3066
|
});
|
|
3269
3067
|
});
|
|
3270
3068
|
|
|
@@ -767,7 +767,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
767
767
|
z.ZodTypeDef,
|
|
768
768
|
unknown
|
|
769
769
|
> = z.object({
|
|
770
|
-
_id: z.string().default("
|
|
770
|
+
_id: z.string().default("tool_01KTY2WP9BK38MH05WGW76ZPQ2"),
|
|
771
771
|
path: z.string(),
|
|
772
772
|
key: z.string(),
|
|
773
773
|
display_name: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
864
864
|
z.ZodTypeDef,
|
|
865
865
|
unknown
|
|
866
866
|
> = z.object({
|
|
867
|
-
id: z.string().default("
|
|
867
|
+
id: z.string().default("01KTY2WP9ACP5MT4R6TFDXGRF7"),
|
|
868
868
|
name: z.string(),
|
|
869
869
|
description: z.string().optional(),
|
|
870
870
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KTY2WP99KZHDXH290Y093ATZ"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1102,7 +1102,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1102
1102
|
z.ZodTypeDef,
|
|
1103
1103
|
unknown
|
|
1104
1104
|
> = z.object({
|
|
1105
|
-
_id: z.string().default("
|
|
1105
|
+
_id: z.string().default("tool_01KTY2WP96JJY84Z0SZ2QMJP6S"),
|
|
1106
1106
|
path: z.string(),
|
|
1107
1107
|
key: z.string(),
|
|
1108
1108
|
display_name: z.string().optional(),
|
|
@@ -1195,7 +1195,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1195
1195
|
z.ZodTypeDef,
|
|
1196
1196
|
unknown
|
|
1197
1197
|
> = z.object({
|
|
1198
|
-
_id: z.string().default("
|
|
1198
|
+
_id: z.string().default("tool_01KTY2WP943X5DF36GVX4TH598"),
|
|
1199
1199
|
path: z.string(),
|
|
1200
1200
|
key: z.string(),
|
|
1201
1201
|
display_name: z.string().optional(),
|
|
@@ -1297,7 +1297,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1297
1297
|
z.ZodTypeDef,
|
|
1298
1298
|
unknown
|
|
1299
1299
|
> = z.object({
|
|
1300
|
-
_id: z.string().default("
|
|
1300
|
+
_id: z.string().default("tool_01KTY2WP92BA7XV845AZKRKTW7"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|
|
@@ -1070,8 +1070,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1070
1070
|
> = z.object({
|
|
1071
1071
|
_id: z.string(),
|
|
1072
1072
|
description: z.string(),
|
|
1073
|
-
created: z.string().default("2026-06-
|
|
1074
|
-
updated: z.string().default("2026-06-
|
|
1073
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
1074
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
1075
1075
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1076
1076
|
guardrail_config: z.nullable(
|
|
1077
1077
|
z.union([
|
|
@@ -1252,8 +1252,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1252
1252
|
> = z.object({
|
|
1253
1253
|
_id: z.string(),
|
|
1254
1254
|
description: z.string(),
|
|
1255
|
-
created: z.string().default("2026-06-
|
|
1256
|
-
updated: z.string().default("2026-06-
|
|
1255
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
1256
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
1257
1257
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1258
1258
|
guardrail_config: z.nullable(
|
|
1259
1259
|
z.union([
|
|
@@ -2084,8 +2084,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2084
2084
|
> = z.object({
|
|
2085
2085
|
_id: z.string(),
|
|
2086
2086
|
description: z.string(),
|
|
2087
|
-
created: z.string().default("2026-06-
|
|
2088
|
-
updated: z.string().default("2026-06-
|
|
2087
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2088
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2089
2089
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2090
2090
|
guardrail_config: z.nullable(
|
|
2091
2091
|
z.union([
|
|
@@ -2268,8 +2268,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2268
2268
|
> = z.object({
|
|
2269
2269
|
_id: z.string(),
|
|
2270
2270
|
description: z.string(),
|
|
2271
|
-
created: z.string().default("2026-06-
|
|
2272
|
-
updated: z.string().default("2026-06-
|
|
2271
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2272
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2273
2273
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2274
2274
|
guardrail_config: z.nullable(
|
|
2275
2275
|
z.union([
|
|
@@ -2448,8 +2448,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2448
2448
|
> = z.object({
|
|
2449
2449
|
_id: z.string(),
|
|
2450
2450
|
description: z.string(),
|
|
2451
|
-
created: z.string().default("2026-06-
|
|
2452
|
-
updated: z.string().default("2026-06-
|
|
2451
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2452
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2453
2453
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2454
2454
|
guardrail_config: z.nullable(
|
|
2455
2455
|
z.union([
|
|
@@ -2640,8 +2640,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2640
2640
|
> = z.object({
|
|
2641
2641
|
_id: z.string(),
|
|
2642
2642
|
description: z.string(),
|
|
2643
|
-
created: z.string().default("2026-06-
|
|
2644
|
-
updated: z.string().default("2026-06-
|
|
2643
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2644
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
2645
2645
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2646
2646
|
guardrail_config: z.nullable(
|
|
2647
2647
|
z.union([
|
|
@@ -3008,8 +3008,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
3008
3008
|
> = z.object({
|
|
3009
3009
|
_id: z.string(),
|
|
3010
3010
|
description: z.string(),
|
|
3011
|
-
created: z.string().default("2026-06-
|
|
3012
|
-
updated: z.string().default("2026-06-
|
|
3011
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
3012
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
3013
3013
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3014
3014
|
guardrail_config: z.nullable(
|
|
3015
3015
|
z.union([
|
|
@@ -3221,8 +3221,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3221
3221
|
> = z.object({
|
|
3222
3222
|
_id: z.string(),
|
|
3223
3223
|
description: z.string(),
|
|
3224
|
-
created: z.string().default("2026-06-
|
|
3225
|
-
updated: z.string().default("2026-06-
|
|
3224
|
+
created: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
3225
|
+
updated: z.string().default("2026-06-12T14:13:07.880Z"),
|
|
3226
3226
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3227
3227
|
guardrail_config: z.nullable(
|
|
3228
3228
|
z.union([
|