@orq-ai/node 4.8.0-rc.7 → 4.8.0-rc.8
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/README.md +78 -39
- package/funcs/guardrailRulesCreate.d.ts +17 -0
- package/funcs/guardrailRulesCreate.d.ts.map +1 -0
- package/funcs/guardrailRulesCreate.js +114 -0
- package/funcs/guardrailRulesCreate.js.map +1 -0
- package/funcs/guardrailRulesDelete.d.ts +17 -0
- package/funcs/guardrailRulesDelete.d.ts.map +1 -0
- package/funcs/guardrailRulesDelete.js +117 -0
- package/funcs/guardrailRulesDelete.js.map +1 -0
- package/funcs/guardrailRulesGet.d.ts +17 -0
- package/funcs/guardrailRulesGet.d.ts.map +1 -0
- package/funcs/guardrailRulesGet.js +116 -0
- package/funcs/guardrailRulesGet.js.map +1 -0
- package/funcs/guardrailRulesList.d.ts +17 -0
- package/funcs/guardrailRulesList.d.ts.map +1 -0
- package/funcs/guardrailRulesList.js +120 -0
- package/funcs/guardrailRulesList.js.map +1 -0
- package/funcs/guardrailRulesUpdate.d.ts +17 -0
- package/funcs/guardrailRulesUpdate.d.ts.map +1 -0
- package/funcs/guardrailRulesUpdate.js +117 -0
- package/funcs/guardrailRulesUpdate.js.map +1 -0
- package/funcs/policiesCreate.d.ts +17 -0
- package/funcs/policiesCreate.d.ts.map +1 -0
- package/funcs/policiesCreate.js +114 -0
- package/funcs/policiesCreate.js.map +1 -0
- package/funcs/policiesDelete.d.ts +17 -0
- package/funcs/policiesDelete.d.ts.map +1 -0
- package/funcs/policiesDelete.js +120 -0
- package/funcs/policiesDelete.js.map +1 -0
- package/funcs/policiesGet.d.ts +17 -0
- package/funcs/policiesGet.d.ts.map +1 -0
- package/funcs/policiesGet.js +119 -0
- package/funcs/policiesGet.js.map +1 -0
- package/funcs/policiesList.d.ts +17 -0
- package/funcs/policiesList.d.ts.map +1 -0
- package/funcs/policiesList.js +120 -0
- package/funcs/policiesList.js.map +1 -0
- package/funcs/policiesUpdate.d.ts +17 -0
- package/funcs/policiesUpdate.d.ts.map +1 -0
- package/funcs/policiesUpdate.js +120 -0
- package/funcs/policiesUpdate.js.map +1 -0
- package/funcs/routingRulesCreate.d.ts +17 -0
- package/funcs/routingRulesCreate.d.ts.map +1 -0
- package/funcs/routingRulesCreate.js +114 -0
- package/funcs/routingRulesCreate.js.map +1 -0
- package/funcs/routingRulesDelete.d.ts +17 -0
- package/funcs/routingRulesDelete.d.ts.map +1 -0
- package/funcs/routingRulesDelete.js +120 -0
- package/funcs/routingRulesDelete.js.map +1 -0
- package/funcs/routingRulesGet.d.ts +17 -0
- package/funcs/routingRulesGet.d.ts.map +1 -0
- package/funcs/routingRulesGet.js +119 -0
- package/funcs/routingRulesGet.js.map +1 -0
- package/funcs/routingRulesList.d.ts +17 -0
- package/funcs/routingRulesList.d.ts.map +1 -0
- package/funcs/routingRulesList.js +120 -0
- package/funcs/routingRulesList.js.map +1 -0
- package/funcs/routingRulesUpdate.d.ts +17 -0
- package/funcs/routingRulesUpdate.d.ts.map +1 -0
- package/funcs/routingRulesUpdate.js +120 -0
- package/funcs/routingRulesUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentstartedstreamingevent.d.ts +4 -4
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +5 -5
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/budgetlimit.d.ts +41 -0
- package/models/components/budgetlimit.d.ts.map +1 -0
- package/models/components/budgetlimit.js +81 -0
- package/models/components/budgetlimit.js.map +1 -0
- package/models/components/evaluatorref.d.ts +34 -0
- package/models/components/evaluatorref.d.ts.map +1 -0
- package/models/components/evaluatorref.js +86 -0
- package/models/components/evaluatorref.js.map +1 -0
- package/models/components/expression.d.ts +23 -0
- package/models/components/expression.d.ts.map +1 -0
- package/models/components/expression.js +60 -0
- package/models/components/expression.js.map +1 -0
- package/models/components/guardrailref.d.ts +30 -0
- package/models/components/guardrailref.d.ts.map +1 -0
- package/models/components/guardrailref.js +79 -0
- package/models/components/guardrailref.js.map +1 -0
- package/models/components/guardrailruledocument.d.ts +23 -0
- package/models/components/guardrailruledocument.d.ts.map +1 -0
- package/models/components/guardrailruledocument.js +74 -0
- package/models/components/guardrailruledocument.js.map +1 -0
- package/models/components/index.d.ts +13 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -0
- package/models/components/index.js.map +1 -1
- package/models/components/limits.d.ts +24 -0
- package/models/components/limits.d.ts.map +1 -0
- package/models/components/limits.js +66 -0
- package/models/components/limits.js.map +1 -0
- package/models/components/modelref.d.ts +21 -0
- package/models/components/modelref.d.ts.map +1 -0
- package/models/components/modelref.js +71 -0
- package/models/components/modelref.js.map +1 -0
- package/models/components/modelsconfig.d.ts +31 -0
- package/models/components/modelsconfig.d.ts.map +1 -0
- package/models/components/modelsconfig.js +70 -0
- package/models/components/modelsconfig.js.map +1 -0
- package/models/components/policydocument.d.ts +28 -0
- package/models/components/policydocument.d.ts.map +1 -0
- package/models/components/policydocument.js +81 -0
- package/models/components/policydocument.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/requestlimit.d.ts +31 -0
- package/models/components/requestlimit.d.ts.map +1 -0
- package/models/components/requestlimit.js +70 -0
- package/models/components/requestlimit.js.map +1 -0
- package/models/components/retryconfig.d.ts +19 -0
- package/models/components/retryconfig.d.ts.map +1 -0
- package/models/components/retryconfig.js +69 -0
- package/models/components/retryconfig.js.map +1 -0
- package/models/components/routingruledocument.d.ts +23 -0
- package/models/components/routingruledocument.d.ts.map +1 -0
- package/models/components/routingruledocument.js +75 -0
- package/models/components/routingruledocument.js.map +1 -0
- package/models/components/tokenlimit.d.ts +31 -0
- package/models/components/tokenlimit.d.ts.map +1 -0
- package/models/components/tokenlimit.js +70 -0
- package/models/components/tokenlimit.js.map +1 -0
- package/models/operations/createcontact.js +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/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/guardrailrulecreate.d.ts +50 -0
- package/models/operations/guardrailrulecreate.d.ts.map +1 -0
- package/models/operations/guardrailrulecreate.js +94 -0
- package/models/operations/guardrailrulecreate.js.map +1 -0
- package/models/operations/guardrailruledelete.d.ts +15 -0
- package/models/operations/guardrailruledelete.d.ts.map +1 -0
- package/models/operations/guardrailruledelete.js +54 -0
- package/models/operations/guardrailruledelete.js.map +1 -0
- package/models/operations/guardrailruleget.d.ts +38 -0
- package/models/operations/guardrailruleget.d.ts.map +1 -0
- package/models/operations/guardrailruleget.js +86 -0
- package/models/operations/guardrailruleget.js.map +1 -0
- package/models/operations/guardrailrulelist.d.ts +41 -0
- package/models/operations/guardrailrulelist.d.ts.map +1 -0
- package/models/operations/guardrailrulelist.js +75 -0
- package/models/operations/guardrailrulelist.js.map +1 -0
- package/models/operations/guardrailruleupdate.d.ts +60 -0
- package/models/operations/guardrailruleupdate.d.ts.map +1 -0
- package/models/operations/guardrailruleupdate.js +105 -0
- package/models/operations/guardrailruleupdate.js.map +1 -0
- package/models/operations/index.d.ts +15 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +15 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/policycreate.d.ts +57 -0
- package/models/operations/policycreate.d.ts.map +1 -0
- package/models/operations/policycreate.js +103 -0
- package/models/operations/policycreate.js.map +1 -0
- package/models/operations/policydelete.d.ts +15 -0
- package/models/operations/policydelete.d.ts.map +1 -0
- package/models/operations/policydelete.js +54 -0
- package/models/operations/policydelete.js.map +1 -0
- package/models/operations/policyget.d.ts +41 -0
- package/models/operations/policyget.d.ts.map +1 -0
- package/models/operations/policyget.js +91 -0
- package/models/operations/policyget.js.map +1 -0
- package/models/operations/policylist.d.ts +41 -0
- package/models/operations/policylist.d.ts.map +1 -0
- package/models/operations/policylist.js +75 -0
- package/models/operations/policylist.js.map +1 -0
- package/models/operations/policyupdate.d.ts +67 -0
- package/models/operations/policyupdate.d.ts.map +1 -0
- package/models/operations/policyupdate.js +114 -0
- package/models/operations/policyupdate.js.map +1 -0
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/routingrulecreate.d.ts +50 -0
- package/models/operations/routingrulecreate.d.ts.map +1 -0
- package/models/operations/routingrulecreate.js +94 -0
- package/models/operations/routingrulecreate.js.map +1 -0
- package/models/operations/routingruledelete.d.ts +15 -0
- package/models/operations/routingruledelete.d.ts.map +1 -0
- package/models/operations/routingruledelete.js +54 -0
- package/models/operations/routingruledelete.js.map +1 -0
- package/models/operations/routingruleget.d.ts +38 -0
- package/models/operations/routingruleget.d.ts.map +1 -0
- package/models/operations/routingruleget.js +86 -0
- package/models/operations/routingruleget.js.map +1 -0
- package/models/operations/routingrulelist.d.ts +41 -0
- package/models/operations/routingrulelist.d.ts.map +1 -0
- package/models/operations/routingrulelist.js +75 -0
- package/models/operations/routingrulelist.js.map +1 -0
- package/models/operations/routingruleupdate.d.ts +60 -0
- package/models/operations/routingruleupdate.d.ts.map +1 -0
- package/models/operations/routingruleupdate.js +106 -0
- package/models/operations/routingruleupdate.js.map +1 -0
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +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/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/guardrailrules.d.ts +40 -0
- package/sdk/guardrailrules.d.ts.map +1 -0
- package/sdk/guardrailrules.js +62 -0
- package/sdk/guardrailrules.js.map +1 -0
- package/sdk/policies.d.ts +40 -0
- package/sdk/policies.d.ts.map +1 -0
- package/sdk/policies.js +62 -0
- package/sdk/policies.js.map +1 -0
- package/sdk/routingrules.d.ts +40 -0
- package/sdk/routingrules.d.ts.map +1 -0
- package/sdk/routingrules.js +62 -0
- package/sdk/routingrules.js.map +1 -0
- package/sdk/sdk.d.ts +9 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +12 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/guardrailRulesCreate.ts +161 -0
- package/src/funcs/guardrailRulesDelete.ts +170 -0
- package/src/funcs/guardrailRulesGet.ts +168 -0
- package/src/funcs/guardrailRulesList.ts +170 -0
- package/src/funcs/guardrailRulesUpdate.ts +170 -0
- package/src/funcs/policiesCreate.ts +160 -0
- package/src/funcs/policiesDelete.ts +166 -0
- package/src/funcs/policiesGet.ts +165 -0
- package/src/funcs/policiesList.ts +168 -0
- package/src/funcs/policiesUpdate.ts +166 -0
- package/src/funcs/routingRulesCreate.ts +161 -0
- package/src/funcs/routingRulesDelete.ts +166 -0
- package/src/funcs/routingRulesGet.ts +165 -0
- package/src/funcs/routingRulesList.ts +168 -0
- package/src/funcs/routingRulesUpdate.ts +166 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentstartedstreamingevent.ts +9 -6
- package/src/models/components/budgetlimit.ts +83 -0
- package/src/models/components/evaluatorref.ts +89 -0
- package/src/models/components/expression.ts +51 -0
- package/src/models/components/guardrailref.ts +75 -0
- package/src/models/components/guardrailruledocument.ts +66 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/limits.ts +70 -0
- package/src/models/components/modelref.ts +64 -0
- package/src/models/components/modelsconfig.ts +73 -0
- package/src/models/components/policydocument.ts +76 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/requestlimit.ts +69 -0
- package/src/models/components/retryconfig.ts +60 -0
- package/src/models/components/routingruledocument.ts +67 -0
- package/src/models/components/tokenlimit.ts +69 -0
- package/src/models/operations/createcontact.ts +1 -1
- 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/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/guardrailrulecreate.ts +124 -0
- package/src/models/operations/guardrailruledelete.ts +39 -0
- package/src/models/operations/guardrailruleget.ts +102 -0
- package/src/models/operations/guardrailrulelist.ts +94 -0
- package/src/models/operations/guardrailruleupdate.ts +153 -0
- package/src/models/operations/index.ts +15 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/policycreate.ts +138 -0
- package/src/models/operations/policydelete.ts +39 -0
- package/src/models/operations/policyget.ts +110 -0
- package/src/models/operations/policylist.ts +94 -0
- package/src/models/operations/policyupdate.ts +167 -0
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- 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/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/routingrulecreate.ts +124 -0
- package/src/models/operations/routingruledelete.ts +39 -0
- package/src/models/operations/routingruleget.ts +102 -0
- package/src/models/operations/routingrulelist.ts +94 -0
- package/src/models/operations/routingruleupdate.ts +154 -0
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- 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/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/guardrailrules.ts +99 -0
- package/src/sdk/policies.ts +99 -0
- package/src/sdk/routingrules.ts +99 -0
- package/src/sdk/sdk.ts +18 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { EvaluatorRef, EvaluatorRef$inboundSchema } from "./evaluatorref.js";
|
|
11
|
+
import { Limits, Limits$inboundSchema } from "./limits.js";
|
|
12
|
+
import { ModelsConfig, ModelsConfig$inboundSchema } from "./modelsconfig.js";
|
|
13
|
+
import { RetryConfig, RetryConfig$inboundSchema } from "./retryconfig.js";
|
|
14
|
+
|
|
15
|
+
export type PolicyDocument = {
|
|
16
|
+
id: string;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
createdById: string;
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
displayName: string;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
evaluators?: Array<EvaluatorRef> | null | undefined;
|
|
23
|
+
limits?: Limits | undefined;
|
|
24
|
+
modelsConfig?: ModelsConfig | undefined;
|
|
25
|
+
projectId: string;
|
|
26
|
+
retryConfig?: RetryConfig | undefined;
|
|
27
|
+
slug: string;
|
|
28
|
+
timeout: number;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
updatedById: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const PolicyDocument$inboundSchema: z.ZodType<
|
|
35
|
+
PolicyDocument,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
_id: z.string(),
|
|
40
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
41
|
+
created_by_id: z.string(),
|
|
42
|
+
description: z.string().optional(),
|
|
43
|
+
display_name: z.string(),
|
|
44
|
+
enabled: z.boolean(),
|
|
45
|
+
evaluators: z.nullable(z.array(EvaluatorRef$inboundSchema)).optional(),
|
|
46
|
+
limits: Limits$inboundSchema.optional(),
|
|
47
|
+
models_config: ModelsConfig$inboundSchema.optional(),
|
|
48
|
+
project_id: z.string(),
|
|
49
|
+
retry_config: RetryConfig$inboundSchema.optional(),
|
|
50
|
+
slug: z.string(),
|
|
51
|
+
timeout: z.number().int(),
|
|
52
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
53
|
+
updated_by_id: z.string(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
"_id": "id",
|
|
57
|
+
"created_at": "createdAt",
|
|
58
|
+
"created_by_id": "createdById",
|
|
59
|
+
"display_name": "displayName",
|
|
60
|
+
"models_config": "modelsConfig",
|
|
61
|
+
"project_id": "projectId",
|
|
62
|
+
"retry_config": "retryConfig",
|
|
63
|
+
"updated_at": "updatedAt",
|
|
64
|
+
"updated_by_id": "updatedById",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export function policyDocumentFromJSON(
|
|
69
|
+
jsonString: string,
|
|
70
|
+
): SafeParseResult<PolicyDocument, SDKValidationError> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) => PolicyDocument$inboundSchema.parse(JSON.parse(x)),
|
|
74
|
+
`Failed to parse 'PolicyDocument' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kp31w2kpm7t46k4m9ssvctcg"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const RequestLimitPeriod = {
|
|
12
|
+
Hour: "hour",
|
|
13
|
+
Day: "day",
|
|
14
|
+
Week: "week",
|
|
15
|
+
Month: "month",
|
|
16
|
+
} as const;
|
|
17
|
+
export type RequestLimitPeriod = ClosedEnum<typeof RequestLimitPeriod>;
|
|
18
|
+
|
|
19
|
+
export type RequestLimit = {
|
|
20
|
+
amount: number;
|
|
21
|
+
period: RequestLimitPeriod;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const RequestLimitPeriod$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof RequestLimitPeriod
|
|
27
|
+
> = z.nativeEnum(RequestLimitPeriod);
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const RequestLimitPeriod$outboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof RequestLimitPeriod
|
|
31
|
+
> = RequestLimitPeriod$inboundSchema;
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const RequestLimit$inboundSchema: z.ZodType<
|
|
35
|
+
RequestLimit,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
amount: z.number().int(),
|
|
40
|
+
period: RequestLimitPeriod$inboundSchema,
|
|
41
|
+
});
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type RequestLimit$Outbound = {
|
|
44
|
+
amount: number;
|
|
45
|
+
period: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const RequestLimit$outboundSchema: z.ZodType<
|
|
50
|
+
RequestLimit$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
RequestLimit
|
|
53
|
+
> = z.object({
|
|
54
|
+
amount: z.number().int(),
|
|
55
|
+
period: RequestLimitPeriod$outboundSchema,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function requestLimitToJSON(requestLimit: RequestLimit): string {
|
|
59
|
+
return JSON.stringify(RequestLimit$outboundSchema.parse(requestLimit));
|
|
60
|
+
}
|
|
61
|
+
export function requestLimitFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<RequestLimit, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => RequestLimit$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'RequestLimit' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RetryConfig = {
|
|
12
|
+
count: number;
|
|
13
|
+
onCodes?: Array<number> | null | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const RetryConfig$inboundSchema: z.ZodType<
|
|
18
|
+
RetryConfig,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
count: z.number().int(),
|
|
23
|
+
on_codes: z.nullable(z.array(z.number().int())).optional(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"on_codes": "onCodes",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type RetryConfig$Outbound = {
|
|
31
|
+
count: number;
|
|
32
|
+
on_codes?: Array<number> | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const RetryConfig$outboundSchema: z.ZodType<
|
|
37
|
+
RetryConfig$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
RetryConfig
|
|
40
|
+
> = z.object({
|
|
41
|
+
count: z.number().int(),
|
|
42
|
+
onCodes: z.nullable(z.array(z.number().int())).optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
onCodes: "on_codes",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function retryConfigToJSON(retryConfig: RetryConfig): string {
|
|
50
|
+
return JSON.stringify(RetryConfig$outboundSchema.parse(retryConfig));
|
|
51
|
+
}
|
|
52
|
+
export function retryConfigFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<RetryConfig, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => RetryConfig$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'RetryConfig' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import { Expression, Expression$inboundSchema } from "./expression.js";
|
|
11
|
+
import { ModelsConfig, ModelsConfig$inboundSchema } from "./modelsconfig.js";
|
|
12
|
+
|
|
13
|
+
export type RoutingRuleDocument = {
|
|
14
|
+
id: string;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
createdById: string;
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
displayName: string;
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
expression?: Expression | undefined;
|
|
21
|
+
modelsConfig?: ModelsConfig | undefined;
|
|
22
|
+
priority: number;
|
|
23
|
+
projectId: string;
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
updatedById: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const RoutingRuleDocument$inboundSchema: z.ZodType<
|
|
30
|
+
RoutingRuleDocument,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
_id: z.string(),
|
|
35
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
36
|
+
created_by_id: z.string(),
|
|
37
|
+
description: z.string().optional(),
|
|
38
|
+
display_name: z.string(),
|
|
39
|
+
enabled: z.boolean(),
|
|
40
|
+
expression: Expression$inboundSchema.optional(),
|
|
41
|
+
models_config: ModelsConfig$inboundSchema.optional(),
|
|
42
|
+
priority: z.number().int(),
|
|
43
|
+
project_id: z.string(),
|
|
44
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
45
|
+
updated_by_id: z.string(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
"_id": "id",
|
|
49
|
+
"created_at": "createdAt",
|
|
50
|
+
"created_by_id": "createdById",
|
|
51
|
+
"display_name": "displayName",
|
|
52
|
+
"models_config": "modelsConfig",
|
|
53
|
+
"project_id": "projectId",
|
|
54
|
+
"updated_at": "updatedAt",
|
|
55
|
+
"updated_by_id": "updatedById",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function routingRuleDocumentFromJSON(
|
|
60
|
+
jsonString: string,
|
|
61
|
+
): SafeParseResult<RoutingRuleDocument, SDKValidationError> {
|
|
62
|
+
return safeParse(
|
|
63
|
+
jsonString,
|
|
64
|
+
(x) => RoutingRuleDocument$inboundSchema.parse(JSON.parse(x)),
|
|
65
|
+
`Failed to parse 'RoutingRuleDocument' from JSON`,
|
|
66
|
+
);
|
|
67
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const TokenLimitPeriod = {
|
|
12
|
+
Hour: "hour",
|
|
13
|
+
Day: "day",
|
|
14
|
+
Week: "week",
|
|
15
|
+
Month: "month",
|
|
16
|
+
} as const;
|
|
17
|
+
export type TokenLimitPeriod = ClosedEnum<typeof TokenLimitPeriod>;
|
|
18
|
+
|
|
19
|
+
export type TokenLimit = {
|
|
20
|
+
amount: number;
|
|
21
|
+
period: TokenLimitPeriod;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const TokenLimitPeriod$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof TokenLimitPeriod
|
|
27
|
+
> = z.nativeEnum(TokenLimitPeriod);
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const TokenLimitPeriod$outboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof TokenLimitPeriod
|
|
31
|
+
> = TokenLimitPeriod$inboundSchema;
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const TokenLimit$inboundSchema: z.ZodType<
|
|
35
|
+
TokenLimit,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
amount: z.number().int(),
|
|
40
|
+
period: TokenLimitPeriod$inboundSchema,
|
|
41
|
+
});
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type TokenLimit$Outbound = {
|
|
44
|
+
amount: number;
|
|
45
|
+
period: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const TokenLimit$outboundSchema: z.ZodType<
|
|
50
|
+
TokenLimit$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
TokenLimit
|
|
53
|
+
> = z.object({
|
|
54
|
+
amount: z.number().int(),
|
|
55
|
+
period: TokenLimitPeriod$outboundSchema,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function tokenLimitToJSON(tokenLimit: TokenLimit): string {
|
|
59
|
+
return JSON.stringify(TokenLimit$outboundSchema.parse(tokenLimit));
|
|
60
|
+
}
|
|
61
|
+
export function tokenLimitFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<TokenLimit, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => TokenLimit$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'TokenLimit' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-04-
|
|
137
|
+
"2026-04-13T09:13:12.294Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-04-
|
|
141
|
+
"2026-04-13T09:13:12.294Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-04-
|
|
2358
|
+
"2026-04-13T09:13:29.739Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-04-
|
|
2403
|
+
"2026-04-13T09:13:29.739Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-04-
|
|
2449
|
+
"2026-04-13T09:13:29.738Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-04-
|
|
2532
|
+
"2026-04-13T09:13:12.294Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KP31W39XMQSRM7796N858AMN"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2724,8 +2724,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2724
2724
|
> = z.object({
|
|
2725
2725
|
_id: z.string(),
|
|
2726
2726
|
description: z.string(),
|
|
2727
|
-
created: z.string().default("2026-04-
|
|
2728
|
-
updated: z.string().default("2026-04-
|
|
2727
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
2728
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
2729
2729
|
guardrail_config: z.nullable(
|
|
2730
2730
|
z.union([
|
|
2731
2731
|
z.lazy(() =>
|
|
@@ -2913,8 +2913,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2913
2913
|
.object({
|
|
2914
2914
|
_id: z.string(),
|
|
2915
2915
|
description: z.string(),
|
|
2916
|
-
created: z.string().default("2026-04-
|
|
2917
|
-
updated: z.string().default("2026-04-
|
|
2916
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
2917
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
2918
2918
|
guardrail_config: z.nullable(
|
|
2919
2919
|
z.union([
|
|
2920
2920
|
z.lazy(() =>
|
|
@@ -3743,8 +3743,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3743
3743
|
> = z.object({
|
|
3744
3744
|
_id: z.string(),
|
|
3745
3745
|
description: z.string(),
|
|
3746
|
-
created: z.string().default("2026-04-
|
|
3747
|
-
updated: z.string().default("2026-04-
|
|
3746
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
3747
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
3748
3748
|
guardrail_config: z.nullable(
|
|
3749
3749
|
z.union([
|
|
3750
3750
|
z.lazy(() =>
|
|
@@ -3962,8 +3962,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3962
3962
|
> = z.object({
|
|
3963
3963
|
_id: z.string(),
|
|
3964
3964
|
description: z.string(),
|
|
3965
|
-
created: z.string().default("2026-04-
|
|
3966
|
-
updated: z.string().default("2026-04-
|
|
3965
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
3966
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
3967
3967
|
guardrail_config: z.nullable(
|
|
3968
3968
|
z.union([
|
|
3969
3969
|
z.lazy(() =>
|
|
@@ -4144,8 +4144,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4144
4144
|
> = z.object({
|
|
4145
4145
|
_id: z.string(),
|
|
4146
4146
|
description: z.string(),
|
|
4147
|
-
created: z.string().default("2026-04-
|
|
4148
|
-
updated: z.string().default("2026-04-
|
|
4147
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4148
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4149
4149
|
guardrail_config: z.nullable(
|
|
4150
4150
|
z.union([
|
|
4151
4151
|
z.lazy(() =>
|
|
@@ -4322,8 +4322,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4322
4322
|
> = z.object({
|
|
4323
4323
|
_id: z.string(),
|
|
4324
4324
|
description: z.string(),
|
|
4325
|
-
created: z.string().default("2026-04-
|
|
4326
|
-
updated: z.string().default("2026-04-
|
|
4325
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4326
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4327
4327
|
guardrail_config: z.nullable(
|
|
4328
4328
|
z.union([
|
|
4329
4329
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4694,8 +4694,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
4694
4694
|
> = z.object({
|
|
4695
4695
|
_id: z.string(),
|
|
4696
4696
|
description: z.string(),
|
|
4697
|
-
created: z.string().default("2026-04-
|
|
4698
|
-
updated: z.string().default("2026-04-
|
|
4697
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4698
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4699
4699
|
guardrail_config: z.nullable(
|
|
4700
4700
|
z.union([
|
|
4701
4701
|
z.lazy(() =>
|
|
@@ -4910,8 +4910,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4910
4910
|
> = z.object({
|
|
4911
4911
|
_id: z.string(),
|
|
4912
4912
|
description: z.string(),
|
|
4913
|
-
created: z.string().default("2026-04-
|
|
4914
|
-
updated: z.string().default("2026-04-
|
|
4913
|
+
created: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4914
|
+
updated: z.string().default("2026-04-13T09:13:14.806Z"),
|
|
4915
4915
|
guardrail_config: z.nullable(
|
|
4916
4916
|
z.union([
|
|
4917
4917
|
z.lazy(() =>
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-04-
|
|
142
|
+
"2026-04-13T09:13:12.294Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -1902,7 +1902,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1902
1902
|
z.ZodTypeDef,
|
|
1903
1903
|
unknown
|
|
1904
1904
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1905
|
+
_id: z.string().default("tool_01KP31W35D74CMCFDY4Y4A7R8T"),
|
|
1906
1906
|
path: z.string(),
|
|
1907
1907
|
key: z.string(),
|
|
1908
1908
|
display_name: z.string().optional(),
|
|
@@ -1999,7 +1999,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1999
1999
|
z.ZodTypeDef,
|
|
2000
2000
|
unknown
|
|
2001
2001
|
> = z.object({
|
|
2002
|
-
id: z.string().default("
|
|
2002
|
+
id: z.string().default("01KP31W35C1DWBJ7SMW0G9MBJM"),
|
|
2003
2003
|
name: z.string(),
|
|
2004
2004
|
description: z.string().optional(),
|
|
2005
2005
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2055,7 +2055,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2055
2055
|
z.ZodTypeDef,
|
|
2056
2056
|
unknown
|
|
2057
2057
|
> = z.object({
|
|
2058
|
-
_id: z.string().default("
|
|
2058
|
+
_id: z.string().default("tool_01KP31W35B9G2DFHAZ1Q4N8WFF"),
|
|
2059
2059
|
path: z.string(),
|
|
2060
2060
|
key: z.string(),
|
|
2061
2061
|
display_name: z.string().optional(),
|
|
@@ -2241,7 +2241,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2241
2241
|
z.ZodTypeDef,
|
|
2242
2242
|
unknown
|
|
2243
2243
|
> = z.object({
|
|
2244
|
-
_id: z.string().default("
|
|
2244
|
+
_id: z.string().default("tool_01KP31W359JGHH0HBPYGRCVNDM"),
|
|
2245
2245
|
path: z.string(),
|
|
2246
2246
|
key: z.string(),
|
|
2247
2247
|
display_name: z.string().optional(),
|
|
@@ -2334,7 +2334,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2334
2334
|
z.ZodTypeDef,
|
|
2335
2335
|
unknown
|
|
2336
2336
|
> = z.object({
|
|
2337
|
-
_id: z.string().default("
|
|
2337
|
+
_id: z.string().default("tool_01KP31W357BV0XNPD61975DD2W"),
|
|
2338
2338
|
path: z.string(),
|
|
2339
2339
|
key: z.string(),
|
|
2340
2340
|
display_name: z.string().optional(),
|
|
@@ -2435,7 +2435,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2435
2435
|
z.ZodTypeDef,
|
|
2436
2436
|
unknown
|
|
2437
2437
|
> = z.object({
|
|
2438
|
-
_id: z.string().default("
|
|
2438
|
+
_id: z.string().default("tool_01KP31W3564HC76QFZCFAY80SS"),
|
|
2439
2439
|
path: z.string(),
|
|
2440
2440
|
key: z.string(),
|
|
2441
2441
|
display_name: z.string().optional(),
|
|
@@ -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_01KP31W34MTZB7EE0F00T5MXEK"),
|
|
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("01KP31W34KHWKSNS72AJBQEWR7"),
|
|
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_01KP31W34JXSHRY64E1E39PVG8"),
|
|
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_01KP31W34GNWYBXHBN0DQBAGDY"),
|
|
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_01KP31W34E4QCKNRB1QVSVGZTN"),
|
|
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_01KP31W34DRD74FT40Z1XQXAV7"),
|
|
1301
1301
|
path: z.string(),
|
|
1302
1302
|
key: z.string(),
|
|
1303
1303
|
display_name: z.string().optional(),
|