@orq-ai/node 4.10.2 → 4.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/createfilerequest.d.ts +1 -1
- package/models/components/reasoningpart.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/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +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/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- 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/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/filesDelete.ts +3 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/apikey.ts +19 -19
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +4 -4
- package/packages/orq-rc/src/models/components/createapikeyresponse.ts +4 -4
- package/packages/orq-rc/src/models/components/createfilerequest.ts +15 -6
- package/packages/orq-rc/src/models/components/createfileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/createidentityrequest.ts +27 -3
- package/packages/orq-rc/src/models/components/createidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/createprojectrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/createskillrequest.ts +3 -3
- package/packages/orq-rc/src/models/components/createskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/file.ts +24 -12
- package/packages/orq-rc/src/models/components/getapikeyresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/getfileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/getprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/getskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/identity.ts +55 -10
- package/packages/orq-rc/src/models/components/identitymetrics.ts +20 -8
- package/packages/orq-rc/src/models/components/listapikeysresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/listfilesresponse.ts +15 -6
- package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +18 -6
- package/packages/orq-rc/src/models/components/listprojectsresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/listskillsresponse.ts +6 -6
- package/packages/orq-rc/src/models/components/project.ts +16 -16
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/singleproject.ts +7 -4
- package/packages/orq-rc/src/models/components/skill.ts +25 -25
- package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +1 -8
- package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/updatefilerequest.ts +6 -7
- package/packages/orq-rc/src/models/components/updatefileresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/updateidentityrequest.ts +18 -3
- package/packages/orq-rc/src/models/components/updateidentityresponse.ts +5 -2
- package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -11
- package/packages/orq-rc/src/models/components/updateprojectresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -7
- package/packages/orq-rc/src/models/components/updateskillresponse.ts +2 -2
- package/packages/orq-rc/src/models/components/userowner.ts +7 -4
- package/packages/orq-rc/src/models/operations/createdataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +6 -6
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createknowledge.ts +4 -4
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +4 -4
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deleteidentity.ts +3 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/filecontent.ts +3 -0
- package/packages/orq-rc/src/models/operations/filedelete.ts +3 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +3 -0
- package/packages/orq-rc/src/models/operations/filelist.ts +15 -0
- package/packages/orq-rc/src/models/operations/fileupdate.ts +3 -0
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +4 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- 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/getoneknowledge.ts +4 -4
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- 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/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
- package/packages/orq-rc/src/models/operations/listidentities.ts +24 -0
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +4 -4
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- 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 +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +3 -3
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +6 -0
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +4 -4
- 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 +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +3 -0
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +4 -4
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/files.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/createfilerequest.ts +1 -1
- package/src/models/components/reasoningpart.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/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- 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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- 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/retrievetool.ts +6 -6
- 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/updatetool.ts +7 -7
|
@@ -187,7 +187,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
187
187
|
}
|
|
188
188
|
/** @internal */
|
|
189
189
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("tool_01KTBKJNW575S259990TCHS780"),
|
|
191
191
|
path: z.string(),
|
|
192
192
|
key: z.string(),
|
|
193
193
|
display_name: z.string().optional(),
|
|
@@ -240,7 +240,7 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
240
240
|
}
|
|
241
241
|
/** @internal */
|
|
242
242
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
243
|
-
id: z.string().default("
|
|
243
|
+
id: z.string().default("01KTBKJNW4CGD8RSDRA6MHSQ24"),
|
|
244
244
|
name: z.string(),
|
|
245
245
|
description: z.string().optional(),
|
|
246
246
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -270,7 +270,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
270
270
|
}
|
|
271
271
|
/** @internal */
|
|
272
272
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
273
|
-
_id: z.string().default("
|
|
273
|
+
_id: z.string().default("tool_01KTBKJNW39SACZQ2HKDB7718G"),
|
|
274
274
|
path: z.string(),
|
|
275
275
|
key: z.string(),
|
|
276
276
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01KTBKJNW0MJ5FW9M6ANFD9RFH"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -407,7 +407,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
407
407
|
}
|
|
408
408
|
/** @internal */
|
|
409
409
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
410
|
-
_id: z.string().default("
|
|
410
|
+
_id: z.string().default("tool_01KTBKJNVZ69G7B3SF8DPTA7VX"),
|
|
411
411
|
path: z.string(),
|
|
412
412
|
key: z.string(),
|
|
413
413
|
display_name: z.string().optional(),
|
|
@@ -461,7 +461,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
461
461
|
}
|
|
462
462
|
/** @internal */
|
|
463
463
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
464
|
-
_id: z.string().default("
|
|
464
|
+
_id: z.string().default("tool_01KTBKJNVXGGBP3X356QSYC4GK"),
|
|
465
465
|
path: z.string(),
|
|
466
466
|
key: z.string(),
|
|
467
467
|
display_name: z.string().optional(),
|
|
@@ -1000,7 +1000,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
/** @internal */
|
|
1002
1002
|
exports.Tools$outboundSchema = z.object({
|
|
1003
|
-
id: z.string().default("
|
|
1003
|
+
id: z.string().default("01KTBKJNJMTH6E05ZKJQZDMGN9"),
|
|
1004
1004
|
name: z.string(),
|
|
1005
1005
|
description: z.string().optional(),
|
|
1006
1006
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -963,7 +963,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
963
963
|
}
|
|
964
964
|
/** @internal */
|
|
965
965
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
966
|
-
id: z.string().default("
|
|
966
|
+
id: z.string().default("01KTBKJNN67YQQW7Q2G83QRPDC"),
|
|
967
967
|
name: z.string(),
|
|
968
968
|
description: z.string().optional(),
|
|
969
969
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -745,7 +745,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
745
745
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
746
746
|
.default("orq"),
|
|
747
747
|
reviewed_by_id: z.string(),
|
|
748
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-05T09:59:38.330Z").transform(v => new Date(v)),
|
|
749
749
|
type: z.literal("string_array"),
|
|
750
750
|
values: z.array(z.string()),
|
|
751
751
|
}).transform((v) => {
|
|
@@ -772,7 +772,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
772
772
|
human_review_id: z.string(),
|
|
773
773
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
774
774
|
reviewed_by_id: z.string(),
|
|
775
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-05T09:59:38.329Z").transform(v => new Date(v)),
|
|
776
776
|
type: z.literal("number"),
|
|
777
777
|
value: z.number(),
|
|
778
778
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
798
798
|
human_review_id: z.string(),
|
|
799
799
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
800
800
|
reviewed_by_id: z.string(),
|
|
801
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-05T09:59:38.328Z").transform(v => new Date(v)),
|
|
802
802
|
type: z.literal("string"),
|
|
803
803
|
value: z.string(),
|
|
804
804
|
}).transform((v) => {
|
|
@@ -845,7 +845,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
845
845
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
846
846
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
847
847
|
.optional(),
|
|
848
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-05T09:59:24.919Z").transform(v => new Date(v)),
|
|
849
849
|
}).transform((v) => {
|
|
850
850
|
return (0, primitives_js_1.remap)(v, {
|
|
851
851
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-05T09:59:24.919Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -80,7 +80,7 @@ function updateDatasourceRequestToJSON(updateDatasourceRequest) {
|
|
|
80
80
|
exports.UpdateDatasourceStatus$inboundSchema = z.nativeEnum(exports.UpdateDatasourceStatus);
|
|
81
81
|
/** @internal */
|
|
82
82
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
83
|
-
_id: z.string().default("
|
|
83
|
+
_id: z.string().default("01KTBKJNZ5CAAW4MY5CYE4SXYK"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.nullable(z.string()).optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -526,8 +526,8 @@ exports.UpdateEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema
|
|
|
526
526
|
exports.ResponseBodyTypescript$inboundSchema = z.object({
|
|
527
527
|
_id: z.string(),
|
|
528
528
|
description: z.string(),
|
|
529
|
-
created: z.string().default("2026-06-
|
|
530
|
-
updated: z.string().default("2026-06-
|
|
529
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
530
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
531
531
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
532
532
|
guardrail_config: z.nullable(z.union([
|
|
533
533
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
@@ -613,8 +613,8 @@ exports.ResponseBodyRagasMetric$inboundSchema = z.nativeEnum(exports.ResponseBod
|
|
|
613
613
|
exports.ResponseBodyRagas$inboundSchema = z.object({
|
|
614
614
|
_id: z.string(),
|
|
615
615
|
description: z.string(),
|
|
616
|
-
created: z.string().default("2026-06-
|
|
617
|
-
updated: z.string().default("2026-06-
|
|
616
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
617
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
618
618
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
619
619
|
guardrail_config: z.nullable(z.union([
|
|
620
620
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
@@ -972,8 +972,8 @@ function responseBodyFunctionParamsFromJSON(jsonString) {
|
|
|
972
972
|
exports.ResponseBodyFunction$inboundSchema = z.object({
|
|
973
973
|
_id: z.string(),
|
|
974
974
|
description: z.string(),
|
|
975
|
-
created: z.string().default("2026-06-
|
|
976
|
-
updated: z.string().default("2026-06-
|
|
975
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
976
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
977
977
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
978
978
|
guardrail_config: z.nullable(z.union([
|
|
979
979
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -1089,8 +1089,8 @@ exports.UpdateEvalResponseBodyEvalsResponseType$inboundSchema = z
|
|
|
1089
1089
|
exports.UpdateEvalResponseBodyPython$inboundSchema = z.object({
|
|
1090
1090
|
_id: z.string(),
|
|
1091
1091
|
description: z.string(),
|
|
1092
|
-
created: z.string().default("2026-06-
|
|
1093
|
-
updated: z.string().default("2026-06-
|
|
1092
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1093
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1094
1094
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1095
1095
|
guardrail_config: z.nullable(z.union([
|
|
1096
1096
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -1172,8 +1172,8 @@ exports.ResponseBodyMethod$inboundSchema = z.nativeEnum(exports.ResponseBodyMeth
|
|
|
1172
1172
|
exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
1173
1173
|
_id: z.string(),
|
|
1174
1174
|
description: z.string(),
|
|
1175
|
-
created: z.string().default("2026-06-
|
|
1176
|
-
updated: z.string().default("2026-06-
|
|
1175
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1176
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1177
1177
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1178
1178
|
guardrail_config: z.nullable(z.union([
|
|
1179
1179
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -1256,8 +1256,8 @@ exports.UpdateEvalResponseBodyType$inboundSchema = z.nativeEnum(exports.UpdateEv
|
|
|
1256
1256
|
exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
1257
1257
|
_id: z.string(),
|
|
1258
1258
|
description: z.string(),
|
|
1259
|
-
created: z.string().default("2026-06-
|
|
1260
|
-
updated: z.string().default("2026-06-
|
|
1259
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1260
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1261
1261
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1262
1262
|
guardrail_config: z.nullable(z.union([
|
|
1263
1263
|
z.lazy(() => exports.UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -1424,8 +1424,8 @@ function updateEvalLLMJuryFromJSON(jsonString) {
|
|
|
1424
1424
|
exports.UpdateEvalLlm2$inboundSchema = z.object({
|
|
1425
1425
|
_id: z.string(),
|
|
1426
1426
|
description: z.string(),
|
|
1427
|
-
created: z.string().default("2026-06-
|
|
1428
|
-
updated: z.string().default("2026-06-
|
|
1427
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1428
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1429
1429
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1430
1430
|
guardrail_config: z.nullable(z.union([
|
|
1431
1431
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
@@ -1524,8 +1524,8 @@ function updateEvalLLMCategoricalLabelsFromJSON(jsonString) {
|
|
|
1524
1524
|
exports.UpdateEvalLlm1$inboundSchema = z.object({
|
|
1525
1525
|
_id: z.string(),
|
|
1526
1526
|
description: z.string(),
|
|
1527
|
-
created: z.string().default("2026-06-
|
|
1528
|
-
updated: z.string().default("2026-06-
|
|
1527
|
+
created: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1528
|
+
updated: z.string().default("2026-06-05T09:59:25.885Z"),
|
|
1529
1529
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1530
1530
|
guardrail_config: z.nullable(z.union([
|
|
1531
1531
|
z.lazy(() => exports.UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
@@ -371,7 +371,7 @@ function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema
|
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
exports.RequestBodyTools$outboundSchema = z.object({
|
|
374
|
-
id: z.string().default("
|
|
374
|
+
id: z.string().default("01KTBKJNVGHK77G6A27SHJMJS9"),
|
|
375
375
|
name: z.string(),
|
|
376
376
|
description: z.string().optional(),
|
|
377
377
|
schema: z.lazy(() => exports.UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -666,7 +666,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
666
666
|
}
|
|
667
667
|
/** @internal */
|
|
668
668
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
669
|
-
_id: z.string().default("
|
|
669
|
+
_id: z.string().default("tool_01KTBKJNV7ET8RZ1K5BJR3ZE6N"),
|
|
670
670
|
path: z.string(),
|
|
671
671
|
key: z.string(),
|
|
672
672
|
display_name: z.string().optional(),
|
|
@@ -719,7 +719,7 @@ function updateToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
719
719
|
}
|
|
720
720
|
/** @internal */
|
|
721
721
|
exports.UpdateToolResponseBodyTools$inboundSchema = z.object({
|
|
722
|
-
id: z.string().default("
|
|
722
|
+
id: z.string().default("01KTBKJNV6VM7ZWZRKDRHG7SE9"),
|
|
723
723
|
name: z.string(),
|
|
724
724
|
description: z.string().optional(),
|
|
725
725
|
schema: z.lazy(() => exports.UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -749,7 +749,7 @@ function updateToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
749
749
|
}
|
|
750
750
|
/** @internal */
|
|
751
751
|
exports.UpdateToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
752
|
-
_id: z.string().default("
|
|
752
|
+
_id: z.string().default("tool_01KTBKJNV494W16M90GGHBH7JY"),
|
|
753
753
|
path: z.string(),
|
|
754
754
|
key: z.string(),
|
|
755
755
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
836
836
|
}
|
|
837
837
|
/** @internal */
|
|
838
838
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
839
|
-
_id: z.string().default("
|
|
839
|
+
_id: z.string().default("tool_01KTBKJNV1DT5BYF6V9AYVXSCV"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
display_name: z.string().optional(),
|
|
@@ -886,7 +886,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
886
886
|
}
|
|
887
887
|
/** @internal */
|
|
888
888
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
889
|
-
_id: z.string().default("
|
|
889
|
+
_id: z.string().default("tool_01KTBKJNTYZE88MKGS2GTG65TZ"),
|
|
890
890
|
path: z.string(),
|
|
891
891
|
key: z.string(),
|
|
892
892
|
display_name: z.string().optional(),
|
|
@@ -940,7 +940,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
940
940
|
}
|
|
941
941
|
/** @internal */
|
|
942
942
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
943
|
-
_id: z.string().default("
|
|
943
|
+
_id: z.string().default("tool_01KTBKJNTWS8CNE91F4BNQAA6H"),
|
|
944
944
|
path: z.string(),
|
|
945
945
|
key: z.string(),
|
|
946
946
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.
|
|
61
|
+
sdkVersion: "4.11.0-rc.1",
|
|
62
62
|
genVersion: "2.893.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.11.0-rc.1 2.893.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -33,27 +33,27 @@ export type ApiKey = {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* `sk-orq-<id>-<secret>`.
|
|
35
35
|
*/
|
|
36
|
-
apiKeyId
|
|
36
|
+
apiKeyId: string;
|
|
37
37
|
/**
|
|
38
38
|
* Human-readable name shown in the dashboard.
|
|
39
39
|
*/
|
|
40
|
-
name
|
|
40
|
+
name: string;
|
|
41
41
|
/**
|
|
42
42
|
* Owner attribution (drives lifecycle).
|
|
43
43
|
*/
|
|
44
|
-
owner
|
|
44
|
+
owner: ApiKeyOwner;
|
|
45
45
|
/**
|
|
46
46
|
* Project authorization scope.
|
|
47
47
|
*/
|
|
48
|
-
projectScope
|
|
49
|
-
permissionMode
|
|
48
|
+
projectScope: ProjectScope;
|
|
49
|
+
permissionMode: PermissionMode;
|
|
50
50
|
/**
|
|
51
51
|
* Per-domain access map. Only populated when `permission_mode` is
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
54
|
* `PERMISSION_MODE_RESTRICTED`. The authoritative list of valid
|
|
55
55
|
* keys and the per-domain read / write semantics are exposed at
|
|
56
|
-
* runtime via the
|
|
56
|
+
* runtime via the capability catalog endpoint.
|
|
57
57
|
*
|
|
58
58
|
* Valid keys are the Domain.id values in the capability catalog —
|
|
59
59
|
* see libs/catalog/orq/apikeys/v1/catalog.textpb for the canonical
|
|
@@ -71,8 +71,8 @@ export type ApiKey = {
|
|
|
71
71
|
* @remarks
|
|
72
72
|
* to expose.
|
|
73
73
|
*/
|
|
74
|
-
tokenPrefix
|
|
75
|
-
status
|
|
74
|
+
tokenPrefix: string;
|
|
75
|
+
status: ApiKeyStatus;
|
|
76
76
|
/**
|
|
77
77
|
* Audit: user who created the key. Optional. Distinct from
|
|
78
78
|
*
|
|
@@ -88,11 +88,11 @@ export type ApiKey = {
|
|
|
88
88
|
/**
|
|
89
89
|
* Time the key was created.
|
|
90
90
|
*/
|
|
91
|
-
createdAt
|
|
91
|
+
createdAt: Date;
|
|
92
92
|
/**
|
|
93
93
|
* Time the key was last updated.
|
|
94
94
|
*/
|
|
95
|
-
updatedAt
|
|
95
|
+
updatedAt: Date;
|
|
96
96
|
/**
|
|
97
97
|
* Last authenticated use. Updated via NATS debounce + 1% sampler.
|
|
98
98
|
*/
|
|
@@ -117,22 +117,22 @@ export type ApiKey = {
|
|
|
117
117
|
/** @internal */
|
|
118
118
|
export const ApiKey$inboundSchema: z.ZodType<ApiKey, z.ZodTypeDef, unknown> = z
|
|
119
119
|
.object({
|
|
120
|
-
api_key_id: z.string()
|
|
121
|
-
name: z.string()
|
|
122
|
-
owner: ApiKeyOwner$inboundSchema
|
|
123
|
-
project_scope: ProjectScope$inboundSchema
|
|
124
|
-
permission_mode: PermissionMode$inboundSchema
|
|
120
|
+
api_key_id: z.string(),
|
|
121
|
+
name: z.string(),
|
|
122
|
+
owner: ApiKeyOwner$inboundSchema,
|
|
123
|
+
project_scope: ProjectScope$inboundSchema,
|
|
124
|
+
permission_mode: PermissionMode$inboundSchema,
|
|
125
125
|
access: z.record(z.number().int()).optional(),
|
|
126
|
-
token_prefix: z.string()
|
|
127
|
-
status: ApiKeyStatus$inboundSchema
|
|
126
|
+
token_prefix: z.string(),
|
|
127
|
+
status: ApiKeyStatus$inboundSchema,
|
|
128
128
|
created_by_id: z.string().optional(),
|
|
129
129
|
updated_by_id: z.string().optional(),
|
|
130
130
|
created_at: z.string().datetime({ offset: true }).transform(v =>
|
|
131
131
|
new Date(v)
|
|
132
|
-
)
|
|
132
|
+
),
|
|
133
133
|
updated_at: z.string().datetime({ offset: true }).transform(v =>
|
|
134
134
|
new Date(v)
|
|
135
|
-
)
|
|
135
|
+
),
|
|
136
136
|
last_used_at: z.string().datetime({ offset: true }).transform(v =>
|
|
137
137
|
new Date(v)
|
|
138
138
|
).optional(),
|
|
@@ -23,7 +23,7 @@ export type CreateApiKeyRequest = {
|
|
|
23
23
|
/**
|
|
24
24
|
* Human-readable name. Required.
|
|
25
25
|
*/
|
|
26
|
-
name
|
|
26
|
+
name: string;
|
|
27
27
|
/**
|
|
28
28
|
* Owner attribution. Defaults to service_account when omitted.
|
|
29
29
|
*/
|
|
@@ -39,7 +39,7 @@ export type CreateApiKeyRequest = {
|
|
|
39
39
|
* @remarks
|
|
40
40
|
* `PERMISSION_MODE_RESTRICTED`. See `ApiKey.access` for the full
|
|
41
41
|
* catalog of valid keys (Domain.id) and AccessLevel string values,
|
|
42
|
-
* or fetch the live catalog via the
|
|
42
|
+
* or fetch the live catalog via the capability catalog endpoint.
|
|
43
43
|
*/
|
|
44
44
|
access?: { [k: string]: number } | undefined;
|
|
45
45
|
/**
|
|
@@ -54,7 +54,7 @@ export type CreateApiKeyRequest = {
|
|
|
54
54
|
|
|
55
55
|
/** @internal */
|
|
56
56
|
export type CreateApiKeyRequest$Outbound = {
|
|
57
|
-
name
|
|
57
|
+
name: string;
|
|
58
58
|
owner?: ApiKeyOwner$Outbound | undefined;
|
|
59
59
|
project_scope?: ProjectScope$Outbound | undefined;
|
|
60
60
|
permission_mode?: string | undefined;
|
|
@@ -68,7 +68,7 @@ export const CreateApiKeyRequest$outboundSchema: z.ZodType<
|
|
|
68
68
|
z.ZodTypeDef,
|
|
69
69
|
CreateApiKeyRequest
|
|
70
70
|
> = z.object({
|
|
71
|
-
name: z.string()
|
|
71
|
+
name: z.string(),
|
|
72
72
|
owner: ApiKeyOwner$outboundSchema.optional(),
|
|
73
73
|
projectScope: ProjectScope$outboundSchema.optional(),
|
|
74
74
|
permissionMode: PermissionMode$outboundSchema.optional(),
|
|
@@ -13,7 +13,7 @@ export type CreateApiKeyResponse = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Newly minted api-key record.
|
|
15
15
|
*/
|
|
16
|
-
apiKey
|
|
16
|
+
apiKey: ApiKey;
|
|
17
17
|
/**
|
|
18
18
|
* Raw bearer token in the form `sk-orq-<api_key_id>-<secret>`.
|
|
19
19
|
*
|
|
@@ -21,7 +21,7 @@ export type CreateApiKeyResponse = {
|
|
|
21
21
|
* Returned ONCE; the API never exposes this value again. Clients
|
|
22
22
|
* must persist it immediately on receipt.
|
|
23
23
|
*/
|
|
24
|
-
token
|
|
24
|
+
token: string;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
/** @internal */
|
|
@@ -30,8 +30,8 @@ export const CreateApiKeyResponse$inboundSchema: z.ZodType<
|
|
|
30
30
|
z.ZodTypeDef,
|
|
31
31
|
unknown
|
|
32
32
|
> = z.object({
|
|
33
|
-
api_key: ApiKey$inboundSchema
|
|
34
|
-
token: z.string()
|
|
33
|
+
api_key: ApiKey$inboundSchema,
|
|
34
|
+
token: z.string(),
|
|
35
35
|
}).transform((v) => {
|
|
36
36
|
return remap$(v, {
|
|
37
37
|
"api_key": "apiKey",
|
|
@@ -7,9 +7,18 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { FilePurpose, FilePurpose$outboundSchema } from "./filepurpose.js";
|
|
8
8
|
|
|
9
9
|
export type CreateFileRequest = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Name to store for the uploaded file, including extension when available.
|
|
12
|
+
*/
|
|
13
|
+
filename: string;
|
|
14
|
+
/**
|
|
15
|
+
* Base64-encoded file contents.
|
|
16
|
+
*/
|
|
17
|
+
content: string;
|
|
12
18
|
purpose?: FilePurpose | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* MIME type of the uploaded content, for example `application/pdf`.
|
|
21
|
+
*/
|
|
13
22
|
contentType?: string | undefined;
|
|
14
23
|
/**
|
|
15
24
|
* Project the file is created in. Optional for project-scoped API keys (defaults to the key's bound project); required for workspace-scoped callers.
|
|
@@ -19,8 +28,8 @@ export type CreateFileRequest = {
|
|
|
19
28
|
|
|
20
29
|
/** @internal */
|
|
21
30
|
export type CreateFileRequest$Outbound = {
|
|
22
|
-
filename
|
|
23
|
-
content
|
|
31
|
+
filename: string;
|
|
32
|
+
content: string;
|
|
24
33
|
purpose?: string | undefined;
|
|
25
34
|
content_type?: string | undefined;
|
|
26
35
|
project_id?: string | undefined;
|
|
@@ -32,8 +41,8 @@ export const CreateFileRequest$outboundSchema: z.ZodType<
|
|
|
32
41
|
z.ZodTypeDef,
|
|
33
42
|
CreateFileRequest
|
|
34
43
|
> = z.object({
|
|
35
|
-
filename: z.string()
|
|
36
|
-
content: z.string()
|
|
44
|
+
filename: z.string(),
|
|
45
|
+
content: z.string(),
|
|
37
46
|
purpose: FilePurpose$outboundSchema.optional(),
|
|
38
47
|
contentType: z.string().optional(),
|
|
39
48
|
projectId: z.string().optional(),
|
|
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
import { FileT, FileT$inboundSchema } from "./file.js";
|
|
10
10
|
|
|
11
11
|
export type CreateFileResponse = {
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Newly created file.
|
|
14
|
+
*/
|
|
15
|
+
file: FileT;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
/** @internal */
|
|
@@ -18,7 +21,7 @@ export const CreateFileResponse$inboundSchema: z.ZodType<
|
|
|
18
21
|
z.ZodTypeDef,
|
|
19
22
|
unknown
|
|
20
23
|
> = z.object({
|
|
21
|
-
file: FileT$inboundSchema
|
|
24
|
+
file: FileT$inboundSchema,
|
|
22
25
|
});
|
|
23
26
|
|
|
24
27
|
export function createFileResponseFromJSON(
|
|
@@ -5,14 +5,38 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Custom JSON metadata stored with the identity.
|
|
10
|
+
*/
|
|
8
11
|
export type CreateIdentityRequestMetadata = {};
|
|
9
12
|
|
|
10
13
|
export type CreateIdentityRequest = {
|
|
11
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Customer-provided stable identifier for this identity. Must be unique
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* within the workspace.
|
|
19
|
+
*/
|
|
20
|
+
externalId: string;
|
|
21
|
+
/**
|
|
22
|
+
* Human-readable display name for the identity.
|
|
23
|
+
*/
|
|
12
24
|
displayName?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Email address associated with the identity.
|
|
27
|
+
*/
|
|
13
28
|
email?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* URL of the identity avatar image.
|
|
31
|
+
*/
|
|
14
32
|
avatarUrl?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Free-form labels used to organize and filter identities.
|
|
35
|
+
*/
|
|
15
36
|
tags?: Array<string> | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Custom JSON metadata stored with the identity.
|
|
39
|
+
*/
|
|
16
40
|
metadata?: CreateIdentityRequestMetadata | undefined;
|
|
17
41
|
};
|
|
18
42
|
|
|
@@ -38,7 +62,7 @@ export function createIdentityRequestMetadataToJSON(
|
|
|
38
62
|
|
|
39
63
|
/** @internal */
|
|
40
64
|
export type CreateIdentityRequest$Outbound = {
|
|
41
|
-
external_id
|
|
65
|
+
external_id: string;
|
|
42
66
|
display_name?: string | undefined;
|
|
43
67
|
email?: string | undefined;
|
|
44
68
|
avatar_url?: string | undefined;
|
|
@@ -52,7 +76,7 @@ export const CreateIdentityRequest$outboundSchema: z.ZodType<
|
|
|
52
76
|
z.ZodTypeDef,
|
|
53
77
|
CreateIdentityRequest
|
|
54
78
|
> = z.object({
|
|
55
|
-
externalId: z.string()
|
|
79
|
+
externalId: z.string(),
|
|
56
80
|
displayName: z.string().optional(),
|
|
57
81
|
email: z.string().optional(),
|
|
58
82
|
avatarUrl: z.string().optional(),
|
|
@@ -9,7 +9,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
import { Identity, Identity$inboundSchema } from "./identity.js";
|
|
10
10
|
|
|
11
11
|
export type CreateIdentityResponse = {
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Newly created identity.
|
|
14
|
+
*/
|
|
15
|
+
identity: Identity;
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
/** @internal */
|
|
@@ -18,7 +21,7 @@ export const CreateIdentityResponse$inboundSchema: z.ZodType<
|
|
|
18
21
|
z.ZodTypeDef,
|
|
19
22
|
unknown
|
|
20
23
|
> = z.object({
|
|
21
|
-
identity: Identity$inboundSchema
|
|
24
|
+
identity: Identity$inboundSchema,
|
|
22
25
|
});
|
|
23
26
|
|
|
24
27
|
export function createIdentityResponseFromJSON(
|
|
@@ -8,7 +8,7 @@ export type CreateProjectRequest = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Project name. Names must be non-empty and at most 128 characters.
|
|
10
10
|
*/
|
|
11
|
-
name
|
|
11
|
+
name: string;
|
|
12
12
|
/**
|
|
13
13
|
* Team identifiers to associate with the project.
|
|
14
14
|
*/
|
|
@@ -21,7 +21,7 @@ export type CreateProjectRequest = {
|
|
|
21
21
|
|
|
22
22
|
/** @internal */
|
|
23
23
|
export type CreateProjectRequest$Outbound = {
|
|
24
|
-
name
|
|
24
|
+
name: string;
|
|
25
25
|
teams?: Array<string> | undefined;
|
|
26
26
|
description?: string | undefined;
|
|
27
27
|
};
|
|
@@ -32,7 +32,7 @@ export const CreateProjectRequest$outboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
CreateProjectRequest
|
|
34
34
|
> = z.object({
|
|
35
|
-
name: z.string()
|
|
35
|
+
name: z.string(),
|
|
36
36
|
teams: z.array(z.string()).optional(),
|
|
37
37
|
description: z.string().optional(),
|
|
38
38
|
});
|
|
@@ -12,7 +12,7 @@ export type CreateProjectResponse = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Newly created project.
|
|
14
14
|
*/
|
|
15
|
-
project
|
|
15
|
+
project: Project;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
/** @internal */
|
|
@@ -21,7 +21,7 @@ export const CreateProjectResponse$inboundSchema: z.ZodType<
|
|
|
21
21
|
z.ZodTypeDef,
|
|
22
22
|
unknown
|
|
23
23
|
> = z.object({
|
|
24
|
-
project: Project$inboundSchema
|
|
24
|
+
project: Project$inboundSchema,
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export function createProjectResponseFromJSON(
|