@orq-ai/node 4.15.0-rc.6 → 4.15.0-rc.7
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 +42 -28
- package/funcs/auditLogsQuery.d.ts +17 -0
- package/funcs/auditLogsQuery.d.ts.map +1 -0
- package/funcs/auditLogsQuery.js +115 -0
- package/funcs/auditLogsQuery.js.map +1 -0
- package/funcs/workspacesGet.d.ts +18 -0
- package/funcs/workspacesGet.d.ts.map +1 -0
- package/funcs/workspacesGet.js +121 -0
- package/funcs/workspacesGet.js.map +1 -0
- package/funcs/workspacesList.d.ts +18 -0
- package/funcs/workspacesList.d.ts.map +1 -0
- package/funcs/workspacesList.js +121 -0
- package/funcs/workspacesList.js.map +1 -0
- package/funcs/workspacesUpdate.d.ts +18 -0
- package/funcs/workspacesUpdate.d.ts.map +1 -0
- package/funcs/workspacesUpdate.js +124 -0
- package/funcs/workspacesUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/auditlog.d.ts +60 -0
- package/models/components/auditlog.d.ts.map +1 -0
- package/models/components/auditlog.js +83 -0
- package/models/components/auditlog.js.map +1 -0
- package/models/components/auditlogfilter.d.ts +33 -0
- package/models/components/auditlogfilter.d.ts.map +1 -0
- package/models/components/auditlogfilter.js +52 -0
- package/models/components/auditlogfilter.js.map +1 -0
- package/models/components/auditlogfilterquery.d.ts +29 -0
- package/models/components/auditlogfilterquery.d.ts.map +1 -0
- package/models/components/auditlogfilterquery.js +52 -0
- package/models/components/auditlogfilterquery.js.map +1 -0
- package/models/components/auditlogpagination.d.ts +28 -0
- package/models/components/auditlogpagination.d.ts.map +1 -0
- package/models/components/auditlogpagination.js +57 -0
- package/models/components/auditlogpagination.js.map +1 -0
- package/models/components/auditlogsort.d.ts +23 -0
- package/models/components/auditlogsort.d.ts.map +1 -0
- package/models/components/{policyprofileidlist.js → auditlogsort.js} +8 -7
- package/models/components/auditlogsort.js.map +1 -0
- package/models/components/budgetmatch.d.ts +1 -7
- package/models/components/budgetmatch.d.ts.map +1 -1
- package/models/components/budgetmatch.js.map +1 -1
- package/models/components/budgetscope.d.ts +1 -14
- package/models/components/budgetscope.d.ts.map +1 -1
- package/models/components/budgetscope.js +0 -3
- package/models/components/budgetscope.js.map +1 -1
- package/models/components/budgetscopekind.d.ts +0 -1
- package/models/components/budgetscopekind.d.ts.map +1 -1
- package/models/components/budgetscopekind.js +0 -1
- package/models/components/budgetscopekind.js.map +1 -1
- package/models/components/budgetscoperestresponse.d.ts +1 -13
- package/models/components/budgetscoperestresponse.d.ts.map +1 -1
- package/models/components/budgetscoperestresponse.js +0 -2
- package/models/components/budgetscoperestresponse.js.map +1 -1
- package/models/components/getworkspaceresponse.d.ts +11 -0
- package/models/components/getworkspaceresponse.d.ts.map +1 -0
- package/models/components/{factorybudgetscoperestresponse.js → getworkspaceresponse.js} +8 -7
- package/models/components/getworkspaceresponse.js.map +1 -0
- package/models/components/index.d.ts +16 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listworkspacesresponse.d.ts +13 -0
- package/models/components/listworkspacesresponse.d.ts.map +1 -0
- package/models/components/{factorybudgetscope.js → listworkspacesresponse.js} +11 -20
- package/models/components/listworkspacesresponse.js.map +1 -0
- package/models/components/queryauditlogsrequest.d.ts +31 -0
- package/models/components/queryauditlogsrequest.d.ts.map +1 -0
- package/models/components/queryauditlogsrequest.js +54 -0
- package/models/components/queryauditlogsrequest.js.map +1 -0
- package/models/components/queryauditlogsresponse.d.ts +25 -0
- package/models/components/queryauditlogsresponse.d.ts.map +1 -0
- package/models/components/queryauditlogsresponse.js +60 -0
- package/models/components/queryauditlogsresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/updateworkspacerequest.d.ts +29 -0
- package/models/components/updateworkspacerequest.d.ts.map +1 -0
- package/models/components/updateworkspacerequest.js +69 -0
- package/models/components/updateworkspacerequest.js.map +1 -0
- package/models/components/updateworkspaceresponse.d.ts +11 -0
- package/models/components/updateworkspaceresponse.d.ts.map +1 -0
- package/models/components/updateworkspaceresponse.js +51 -0
- package/models/components/updateworkspaceresponse.js.map +1 -0
- package/models/components/updateworkspacesettingsrequest.d.ts +0 -3
- package/models/components/updateworkspacesettingsrequest.d.ts.map +1 -1
- package/models/components/updateworkspacesettingsrequest.js +0 -3
- package/models/components/updateworkspacesettingsrequest.js.map +1 -1
- package/models/components/value.d.ts +13 -0
- package/models/components/value.d.ts.map +1 -0
- package/models/components/value.js +50 -0
- package/models/components/value.js.map +1 -0
- package/models/components/workspace.d.ts +33 -0
- package/models/components/workspace.d.ts.map +1 -0
- package/models/components/workspace.js +88 -0
- package/models/components/workspace.js.map +1 -0
- package/models/components/workspacecapabilities.d.ts +11 -0
- package/models/components/workspacecapabilities.d.ts.map +1 -0
- package/models/components/workspacecapabilities.js +51 -0
- package/models/components/workspacecapabilities.js.map +1 -0
- package/models/components/workspaceorganization.d.ts +11 -0
- package/models/components/workspaceorganization.d.ts.map +1 -0
- package/models/components/workspaceorganization.js +51 -0
- package/models/components/workspaceorganization.js.map +1 -0
- package/models/components/workspacesettings.d.ts +0 -1
- package/models/components/workspacesettings.d.ts.map +1 -1
- package/models/components/workspacesettings.js +0 -2
- package/models/components/workspacesettings.js.map +1 -1
- package/models/components/workspacesettingsfields.d.ts +39 -0
- package/models/components/workspacesettingsfields.d.ts.map +1 -0
- package/models/components/workspacesettingsfields.js +99 -0
- package/models/components/workspacesettingsfields.js.map +1 -0
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/models/operations/workspaceget.d.ts +12 -0
- package/models/operations/workspaceget.d.ts.map +1 -0
- package/models/operations/workspaceget.js +49 -0
- package/models/operations/workspaceget.js.map +1 -0
- package/models/operations/workspacelist.d.ts +16 -0
- package/models/operations/workspacelist.d.ts.map +1 -0
- package/models/operations/workspacelist.js +57 -0
- package/models/operations/workspacelist.js.map +1 -0
- package/models/operations/workspaceupdate.d.ts +15 -0
- package/models/operations/workspaceupdate.d.ts.map +1 -0
- package/models/operations/workspaceupdate.js +56 -0
- package/models/operations/workspaceupdate.js.map +1 -0
- package/package.json +1 -1
- package/sdk/auditlogs.d.ts +12 -0
- package/sdk/auditlogs.d.ts.map +1 -0
- package/sdk/auditlogs.js +22 -0
- package/sdk/auditlogs.js.map +1 -0
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/workspaces.d.ts +27 -0
- package/sdk/workspaces.d.ts.map +1 -0
- package/sdk/workspaces.js +42 -0
- package/sdk/workspaces.js.map +1 -0
- package/src/funcs/auditLogsQuery.ts +162 -0
- package/src/funcs/workspacesGet.ts +168 -0
- package/src/funcs/workspacesList.ts +170 -0
- package/src/funcs/workspacesUpdate.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/auditlog.ts +122 -0
- package/src/models/components/auditlogfilter.ts +51 -0
- package/src/models/components/auditlogfilterquery.ts +54 -0
- package/src/models/components/auditlogpagination.ts +55 -0
- package/src/models/components/auditlogsort.ts +39 -0
- package/src/models/components/budgetmatch.ts +1 -7
- package/src/models/components/budgetscope.ts +1 -21
- package/src/models/components/budgetscopekind.ts +0 -1
- package/src/models/components/budgetscoperestresponse.ts +1 -17
- package/src/models/components/getworkspaceresponse.ts +32 -0
- package/src/models/components/index.ts +16 -3
- package/src/models/components/listworkspacesresponse.ts +41 -0
- package/src/models/components/queryauditlogsrequest.ts +64 -0
- package/src/models/components/queryauditlogsresponse.ts +55 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/updateworkspacerequest.ts +81 -0
- package/src/models/components/updateworkspaceresponse.ts +32 -0
- package/src/models/components/updateworkspacesettingsrequest.ts +0 -9
- package/src/models/components/value.ts +20 -0
- package/src/models/components/workspace.ts +116 -0
- package/src/models/components/workspacecapabilities.ts +33 -0
- package/src/models/components/workspaceorganization.ts +33 -0
- package/src/models/components/workspacesettings.ts +0 -3
- package/src/models/components/workspacesettingsfields.ts +135 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/models/operations/workspaceget.ts +31 -0
- package/src/models/operations/workspacelist.ts +43 -0
- package/src/models/operations/workspaceupdate.ts +40 -0
- package/src/sdk/auditlogs.ts +27 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/workspaces.ts +64 -0
- package/models/components/factorybudgetscope.d.ts +0 -23
- package/models/components/factorybudgetscope.d.ts.map +0 -1
- package/models/components/factorybudgetscope.js.map +0 -1
- package/models/components/factorybudgetscoperestresponse.d.ts +0 -16
- package/models/components/factorybudgetscoperestresponse.d.ts.map +0 -1
- package/models/components/factorybudgetscoperestresponse.js.map +0 -1
- package/models/components/policyprofileidlist.d.ts +0 -12
- package/models/components/policyprofileidlist.d.ts.map +0 -1
- package/models/components/policyprofileidlist.js.map +0 -1
- package/src/models/components/factorybudgetscope.ts +0 -66
- package/src/models/components/factorybudgetscoperestresponse.ts +0 -37
- package/src/models/components/policyprofileidlist.ts +0 -31
|
@@ -1585,7 +1585,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
1585
1585
|
explanation: z.string().optional(),
|
|
1586
1586
|
reviewed_by_id: z.string(),
|
|
1587
1587
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1588
|
-
"2026-08-
|
|
1588
|
+
"2026-08-31T07:26:15.072Z",
|
|
1589
1589
|
).transform(v => new Date(v)),
|
|
1590
1590
|
type: z.literal("string_array"),
|
|
1591
1591
|
values: z.array(z.string()),
|
|
@@ -1685,7 +1685,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
1685
1685
|
explanation: z.string().optional(),
|
|
1686
1686
|
reviewed_by_id: z.string(),
|
|
1687
1687
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1688
|
-
"2026-08-
|
|
1688
|
+
"2026-08-31T07:26:15.072Z",
|
|
1689
1689
|
).transform(v => new Date(v)),
|
|
1690
1690
|
type: z.literal("boolean"),
|
|
1691
1691
|
value: z.boolean(),
|
|
@@ -1783,7 +1783,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1783
1783
|
explanation: z.string().optional(),
|
|
1784
1784
|
reviewed_by_id: z.string(),
|
|
1785
1785
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1786
|
-
"2026-08-
|
|
1786
|
+
"2026-08-31T07:26:15.071Z",
|
|
1787
1787
|
).transform(v => new Date(v)),
|
|
1788
1788
|
type: z.literal("number"),
|
|
1789
1789
|
value: z.number(),
|
|
@@ -1871,7 +1871,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1871
1871
|
explanation: z.string().optional(),
|
|
1872
1872
|
reviewed_by_id: z.string(),
|
|
1873
1873
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1874
|
-
"2026-08-
|
|
1874
|
+
"2026-08-31T07:26:15.071Z",
|
|
1875
1875
|
).transform(v => new Date(v)),
|
|
1876
1876
|
type: z.literal("string"),
|
|
1877
1877
|
value: z.string(),
|
|
@@ -1952,7 +1952,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1952
1952
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1953
1953
|
.optional(),
|
|
1954
1954
|
updated: z.string().datetime({ offset: true }).default(
|
|
1955
|
-
"2026-08-
|
|
1955
|
+
"2026-08-31T07:26:08.091Z",
|
|
1956
1956
|
).transform(v => new Date(v)),
|
|
1957
1957
|
}).transform((v) => {
|
|
1958
1958
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-08-
|
|
129
|
+
"2026-08-31T07:26:08.091Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M1BBCBGKJ8NQTDEHDH99BBCG"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M1BBCBGJAGHQXDZXE5AXR06C"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M1BBCBGJRSK4WVVHXK1Y774J"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M1BBCBGHRPD5H5AMV7MRWA6C"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3898,7 +3898,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3898
3898
|
z.ZodTypeDef,
|
|
3899
3899
|
Tools
|
|
3900
3900
|
> = z.object({
|
|
3901
|
-
id: z.string().default("
|
|
3901
|
+
id: z.string().default("01M1BBCBE71SSSP29HBX33QJ1E"),
|
|
3902
3902
|
name: z.string(),
|
|
3903
3903
|
description: z.string().optional(),
|
|
3904
3904
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3957,7 +3957,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3957
3957
|
z.ZodTypeDef,
|
|
3958
3958
|
AgentToolInputRunTools
|
|
3959
3959
|
> = z.object({
|
|
3960
|
-
id: z.string().default("
|
|
3960
|
+
id: z.string().default("01M1BBCBESP0377N45TCTK2748"),
|
|
3961
3961
|
name: z.string(),
|
|
3962
3962
|
description: z.string().optional(),
|
|
3963
3963
|
schema: z.lazy(() =>
|
|
@@ -2760,7 +2760,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2760
2760
|
explanation: z.string().optional(),
|
|
2761
2761
|
reviewed_by_id: z.string(),
|
|
2762
2762
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2763
|
-
"2026-08-
|
|
2763
|
+
"2026-08-31T07:26:15.083Z",
|
|
2764
2764
|
).transform(v => new Date(v)),
|
|
2765
2765
|
type: z.literal("string_array"),
|
|
2766
2766
|
values: z.array(z.string()),
|
|
@@ -2860,7 +2860,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2860
2860
|
explanation: z.string().optional(),
|
|
2861
2861
|
reviewed_by_id: z.string(),
|
|
2862
2862
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2863
|
-
"2026-08-
|
|
2863
|
+
"2026-08-31T07:26:15.082Z",
|
|
2864
2864
|
).transform(v => new Date(v)),
|
|
2865
2865
|
type: z.literal("boolean"),
|
|
2866
2866
|
value: z.boolean(),
|
|
@@ -2957,7 +2957,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2957
2957
|
explanation: z.string().optional(),
|
|
2958
2958
|
reviewed_by_id: z.string(),
|
|
2959
2959
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2960
|
-
"2026-08-
|
|
2960
|
+
"2026-08-31T07:26:15.082Z",
|
|
2961
2961
|
).transform(v => new Date(v)),
|
|
2962
2962
|
type: z.literal("number"),
|
|
2963
2963
|
value: z.number(),
|
|
@@ -3046,7 +3046,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3046
3046
|
explanation: z.string().optional(),
|
|
3047
3047
|
reviewed_by_id: z.string(),
|
|
3048
3048
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3049
|
-
"2026-08-
|
|
3049
|
+
"2026-08-31T07:26:15.082Z",
|
|
3050
3050
|
).transform(v => new Date(v)),
|
|
3051
3051
|
type: z.literal("string"),
|
|
3052
3052
|
value: z.string(),
|
|
@@ -3131,7 +3131,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3131
3131
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3132
3132
|
.optional(),
|
|
3133
3133
|
updated: z.string().datetime({ offset: true }).default(
|
|
3134
|
-
"2026-08-
|
|
3134
|
+
"2026-08-31T07:26:08.091Z",
|
|
3135
3135
|
).transform(v => new Date(v)),
|
|
3136
3136
|
}).transform((v) => {
|
|
3137
3137
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-08-
|
|
185
|
+
"2026-08-31T07:26:08.091Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M1BBCBGCV8ZS6DH7P15QAG95"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M1BBCBGB8QXSF5B1J0VMRRD1"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M1BBCBGBQQJMB5QVNHJ4BWD9"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M1BBCBGAVH7J3Y1435BC9WWR"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type WorkspaceGetRequest = {
|
|
8
|
+
key: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type WorkspaceGetRequest$Outbound = {
|
|
13
|
+
key: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const WorkspaceGetRequest$outboundSchema: z.ZodType<
|
|
18
|
+
WorkspaceGetRequest$Outbound,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
WorkspaceGetRequest
|
|
21
|
+
> = z.object({
|
|
22
|
+
key: z.string(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function workspaceGetRequestToJSON(
|
|
26
|
+
workspaceGetRequest: WorkspaceGetRequest,
|
|
27
|
+
): string {
|
|
28
|
+
return JSON.stringify(
|
|
29
|
+
WorkspaceGetRequest$outboundSchema.parse(workspaceGetRequest),
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
|
|
8
|
+
export type WorkspaceListRequest = {
|
|
9
|
+
limit?: number | undefined;
|
|
10
|
+
startingAfter?: string | undefined;
|
|
11
|
+
endingBefore?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type WorkspaceListRequest$Outbound = {
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
starting_after?: string | undefined;
|
|
18
|
+
ending_before?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const WorkspaceListRequest$outboundSchema: z.ZodType<
|
|
23
|
+
WorkspaceListRequest$Outbound,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
WorkspaceListRequest
|
|
26
|
+
> = z.object({
|
|
27
|
+
limit: z.number().int().optional(),
|
|
28
|
+
startingAfter: z.string().optional(),
|
|
29
|
+
endingBefore: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
startingAfter: "starting_after",
|
|
33
|
+
endingBefore: "ending_before",
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export function workspaceListRequestToJSON(
|
|
38
|
+
workspaceListRequest: WorkspaceListRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
WorkspaceListRequest$outboundSchema.parse(workspaceListRequest),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type WorkspaceUpdateRequest = {
|
|
10
|
+
key: string;
|
|
11
|
+
updateWorkspaceRequest: components.UpdateWorkspaceRequest;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type WorkspaceUpdateRequest$Outbound = {
|
|
16
|
+
key: string;
|
|
17
|
+
UpdateWorkspaceRequest: components.UpdateWorkspaceRequest$Outbound;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const WorkspaceUpdateRequest$outboundSchema: z.ZodType<
|
|
22
|
+
WorkspaceUpdateRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
WorkspaceUpdateRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
key: z.string(),
|
|
27
|
+
updateWorkspaceRequest: components.UpdateWorkspaceRequest$outboundSchema,
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
updateWorkspaceRequest: "UpdateWorkspaceRequest",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function workspaceUpdateRequestToJSON(
|
|
35
|
+
workspaceUpdateRequest: WorkspaceUpdateRequest,
|
|
36
|
+
): string {
|
|
37
|
+
return JSON.stringify(
|
|
38
|
+
WorkspaceUpdateRequest$outboundSchema.parse(workspaceUpdateRequest),
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { auditLogsQuery } from "../funcs/auditLogsQuery.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as components from "../models/components/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class AuditLogs extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Query audit logs
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Queries audit logs from your workspace with filters, sorting, and cursor pagination.
|
|
16
|
+
*/
|
|
17
|
+
async query(
|
|
18
|
+
request: components.QueryAuditLogsRequest,
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): Promise<components.QueryAuditLogsResponse> {
|
|
21
|
+
return unwrapAsync(auditLogsQuery(
|
|
22
|
+
this,
|
|
23
|
+
request,
|
|
24
|
+
options,
|
|
25
|
+
));
|
|
26
|
+
}
|
|
27
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { Alerts } from "./alerts.js";
|
|
|
8
8
|
import { AnnotationQueues } from "./annotationqueues.js";
|
|
9
9
|
import { Annotations } from "./annotations.js";
|
|
10
10
|
import { ApiKeys } from "./apikeys.js";
|
|
11
|
+
import { AuditLogs } from "./auditlogs.js";
|
|
11
12
|
import { Budgets } from "./budgets.js";
|
|
12
13
|
import { Chunking } from "./chunking.js";
|
|
13
14
|
import { Datasets } from "./datasets.js";
|
|
@@ -42,6 +43,7 @@ import { SmartRouters } from "./smartrouters.js";
|
|
|
42
43
|
import { Tools } from "./tools.js";
|
|
43
44
|
import { Traces } from "./traces.js";
|
|
44
45
|
import { Webhooks } from "./webhooks.js";
|
|
46
|
+
import { Workspaces } from "./workspaces.js";
|
|
45
47
|
import { WorkspaceSecurity } from "./workspacesecurity.js";
|
|
46
48
|
import { WorkspaceSettings } from "./workspacesettings.js";
|
|
47
49
|
|
|
@@ -146,6 +148,11 @@ export class Orq extends ClientSDK {
|
|
|
146
148
|
return (this._apiKeys ??= new ApiKeys(this._options));
|
|
147
149
|
}
|
|
148
150
|
|
|
151
|
+
private _auditLogs?: AuditLogs;
|
|
152
|
+
get auditLogs(): AuditLogs {
|
|
153
|
+
return (this._auditLogs ??= new AuditLogs(this._options));
|
|
154
|
+
}
|
|
155
|
+
|
|
149
156
|
private _budgets?: Budgets;
|
|
150
157
|
get budgets(): Budgets {
|
|
151
158
|
return (this._budgets ??= new Budgets(this._options));
|
|
@@ -216,6 +223,11 @@ export class Orq extends ClientSDK {
|
|
|
216
223
|
return (this._webhooks ??= new Webhooks(this._options));
|
|
217
224
|
}
|
|
218
225
|
|
|
226
|
+
private _workspaces?: Workspaces;
|
|
227
|
+
get workspaces(): Workspaces {
|
|
228
|
+
return (this._workspaces ??= new Workspaces(this._options));
|
|
229
|
+
}
|
|
230
|
+
|
|
219
231
|
private _workspaceSecurity?: WorkspaceSecurity;
|
|
220
232
|
get workspaceSecurity(): WorkspaceSecurity {
|
|
221
233
|
return (this._workspaceSecurity ??= new WorkspaceSecurity(this._options));
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { workspacesGet } from "../funcs/workspacesGet.js";
|
|
6
|
+
import { workspacesList } from "../funcs/workspacesList.js";
|
|
7
|
+
import { workspacesUpdate } from "../funcs/workspacesUpdate.js";
|
|
8
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
|
+
import * as components from "../models/components/index.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
|
|
13
|
+
export class Workspaces extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* List workspaces
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Returns workspaces the caller can access. A user session lists every membership. A management key lists only the workspace bound to the key. Project keys are rejected.
|
|
19
|
+
*/
|
|
20
|
+
async list(
|
|
21
|
+
request?: operations.WorkspaceListRequest | undefined,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<components.ListWorkspacesResponse> {
|
|
24
|
+
return unwrapAsync(workspacesList(
|
|
25
|
+
this,
|
|
26
|
+
request,
|
|
27
|
+
options,
|
|
28
|
+
));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a workspace
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Retrieves a workspace by its key. A user session must be a member and does not need a workspace-scoped token. A management key may only retrieve the workspace bound to the key.
|
|
36
|
+
*/
|
|
37
|
+
async get(
|
|
38
|
+
request: operations.WorkspaceGetRequest,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): Promise<components.GetWorkspaceResponse> {
|
|
41
|
+
return unwrapAsync(workspacesGet(
|
|
42
|
+
this,
|
|
43
|
+
request,
|
|
44
|
+
options,
|
|
45
|
+
));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Update a workspace
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Partially updates a workspace. Omit a field to leave it unchanged. Set `archived` to true to archive, false to restore. The workspace key cannot be changed.
|
|
53
|
+
*/
|
|
54
|
+
async update(
|
|
55
|
+
request: operations.WorkspaceUpdateRequest,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<components.UpdateWorkspaceResponse> {
|
|
58
|
+
return unwrapAsync(workspacesUpdate(
|
|
59
|
+
this,
|
|
60
|
+
request,
|
|
61
|
+
options,
|
|
62
|
+
));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
/**
|
|
5
|
-
* Per-factory cap. Matches requests whose api key carries the label
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* `factory=<factory_id>` (keys minted for agent sessions of that factory).
|
|
9
|
-
*/
|
|
10
|
-
export type FactoryBudgetScope = {
|
|
11
|
-
factoryId: string;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const FactoryBudgetScope$inboundSchema: z.ZodType<FactoryBudgetScope, z.ZodTypeDef, unknown>;
|
|
15
|
-
/** @internal */
|
|
16
|
-
export type FactoryBudgetScope$Outbound = {
|
|
17
|
-
factory_id: string;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const FactoryBudgetScope$outboundSchema: z.ZodType<FactoryBudgetScope$Outbound, z.ZodTypeDef, FactoryBudgetScope>;
|
|
21
|
-
export declare function factoryBudgetScopeToJSON(factoryBudgetScope: FactoryBudgetScope): string;
|
|
22
|
-
export declare function factoryBudgetScopeFromJSON(jsonString: string): SafeParseResult<FactoryBudgetScope, SDKValidationError>;
|
|
23
|
-
//# sourceMappingURL=factorybudgetscope.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factorybudgetscope.d.ts","sourceRoot":"","sources":["../../src/models/components/factorybudgetscope.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAOlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factorybudgetscope.js","sourceRoot":"","sources":["../../src/models/components/factorybudgetscope.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDH,4DAMC;AACD,gEAQC;AA7DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
/**
|
|
5
|
-
* Per-factory cap. Matches requests whose api key carries the label
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* `factory=<factory_id>` (keys minted for agent sessions of that factory).
|
|
9
|
-
*/
|
|
10
|
-
export type FactoryBudgetScopeRestResponse = {
|
|
11
|
-
factoryId: string;
|
|
12
|
-
};
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare const FactoryBudgetScopeRestResponse$inboundSchema: z.ZodType<FactoryBudgetScopeRestResponse, z.ZodTypeDef, unknown>;
|
|
15
|
-
export declare function factoryBudgetScopeRestResponseFromJSON(jsonString: string): SafeParseResult<FactoryBudgetScopeRestResponse, SDKValidationError>;
|
|
16
|
-
//# sourceMappingURL=factorybudgetscoperestresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factorybudgetscoperestresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/factorybudgetscoperestresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;GAKG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factorybudgetscoperestresponse.js","sourceRoot":"","sources":["../../src/models/components/factorybudgetscoperestresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,wFAQC;AAhCD,0CAA4B;AAC5B,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,SAAgB,sCAAsC,CACpD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oDAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type PolicyProfileIdList = {
|
|
3
|
-
ids?: Array<string> | undefined;
|
|
4
|
-
};
|
|
5
|
-
/** @internal */
|
|
6
|
-
export type PolicyProfileIdList$Outbound = {
|
|
7
|
-
ids?: Array<string> | undefined;
|
|
8
|
-
};
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const PolicyProfileIdList$outboundSchema: z.ZodType<PolicyProfileIdList$Outbound, z.ZodTypeDef, PolicyProfileIdList>;
|
|
11
|
-
export declare function policyProfileIdListToJSON(policyProfileIdList: PolicyProfileIdList): string;
|
|
12
|
-
//# sourceMappingURL=policyprofileidlist.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"policyprofileidlist.d.ts","sourceRoot":"","sources":["../../src/models/components/policyprofileidlist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAGnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"policyprofileidlist.js","sourceRoot":"","sources":["../../src/models/components/policyprofileidlist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,8DAMC;AA1BD,0CAA4B;AAW5B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
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
|
-
/**
|
|
12
|
-
* Per-factory cap. Matches requests whose api key carries the label
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* `factory=<factory_id>` (keys minted for agent sessions of that factory).
|
|
16
|
-
*/
|
|
17
|
-
export type FactoryBudgetScope = {
|
|
18
|
-
factoryId: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const FactoryBudgetScope$inboundSchema: z.ZodType<
|
|
23
|
-
FactoryBudgetScope,
|
|
24
|
-
z.ZodTypeDef,
|
|
25
|
-
unknown
|
|
26
|
-
> = z.object({
|
|
27
|
-
factory_id: z.string(),
|
|
28
|
-
}).transform((v) => {
|
|
29
|
-
return remap$(v, {
|
|
30
|
-
"factory_id": "factoryId",
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type FactoryBudgetScope$Outbound = {
|
|
35
|
-
factory_id: string;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const FactoryBudgetScope$outboundSchema: z.ZodType<
|
|
40
|
-
FactoryBudgetScope$Outbound,
|
|
41
|
-
z.ZodTypeDef,
|
|
42
|
-
FactoryBudgetScope
|
|
43
|
-
> = z.object({
|
|
44
|
-
factoryId: z.string(),
|
|
45
|
-
}).transform((v) => {
|
|
46
|
-
return remap$(v, {
|
|
47
|
-
factoryId: "factory_id",
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
export function factoryBudgetScopeToJSON(
|
|
52
|
-
factoryBudgetScope: FactoryBudgetScope,
|
|
53
|
-
): string {
|
|
54
|
-
return JSON.stringify(
|
|
55
|
-
FactoryBudgetScope$outboundSchema.parse(factoryBudgetScope),
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
export function factoryBudgetScopeFromJSON(
|
|
59
|
-
jsonString: string,
|
|
60
|
-
): SafeParseResult<FactoryBudgetScope, SDKValidationError> {
|
|
61
|
-
return safeParse(
|
|
62
|
-
jsonString,
|
|
63
|
-
(x) => FactoryBudgetScope$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
-
`Failed to parse 'FactoryBudgetScope' from JSON`,
|
|
65
|
-
);
|
|
66
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Per-factory cap. Matches requests whose api key carries the label
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* `factory=<factory_id>` (keys minted for agent sessions of that factory).
|
|
15
|
-
*/
|
|
16
|
-
export type FactoryBudgetScopeRestResponse = {
|
|
17
|
-
factoryId: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const FactoryBudgetScopeRestResponse$inboundSchema: z.ZodType<
|
|
22
|
-
FactoryBudgetScopeRestResponse,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
factoryId: z.string(),
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export function factoryBudgetScopeRestResponseFromJSON(
|
|
30
|
-
jsonString: string,
|
|
31
|
-
): SafeParseResult<FactoryBudgetScopeRestResponse, SDKValidationError> {
|
|
32
|
-
return safeParse(
|
|
33
|
-
jsonString,
|
|
34
|
-
(x) => FactoryBudgetScopeRestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
-
`Failed to parse 'FactoryBudgetScopeRestResponse' from JSON`,
|
|
36
|
-
);
|
|
37
|
-
}
|