@orq-ai/node 4.1.10 → 4.1.11
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/bin/mcp-server.js +222 -222
- package/bin/mcp-server.js.map +40 -40
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getevals.js +28 -28
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +2 -11
- package/packages/orq-rc/src/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts → conversationsCreateConversationResponse.ts} +34 -38
- package/packages/orq-rc/src/funcs/conversationsList.ts +6 -1
- package/packages/orq-rc/src/funcs/conversationsRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +6 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +6 -5
- package/packages/orq-rc/src/funcs/toolsCreate.ts +2 -11
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/sdks.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +3 -3
- package/packages/orq-rc/src/mcp-server/tools/conversationsCreateConversationResponse.ts +39 -0
- package/packages/orq-rc/src/mcp-server/tools/conversationsList.ts +2 -0
- package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +16 -1
- package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +16 -1
- package/packages/orq-rc/src/models/components/agentresponsemessage.ts +16 -1
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +16 -1
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +16 -1
- package/packages/orq-rc/src/models/components/conversationresponse.ts +26 -26
- package/packages/orq-rc/src/models/components/conversationwithmessagesresponse.ts +226 -0
- package/packages/orq-rc/src/models/components/errorpart.ts +58 -0
- package/packages/orq-rc/src/models/components/index.ts +4 -0
- package/packages/orq-rc/src/models/components/messageresponse.ts +217 -0
- package/packages/orq-rc/src/models/components/partdoneevent.ts +2 -2
- package/packages/orq-rc/src/models/components/publiccontact.ts +1 -1
- package/packages/orq-rc/src/models/components/reasoningpart.ts +2 -2
- package/packages/orq-rc/src/models/components/responsestartedevent.ts +14 -0
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +1 -0
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +1 -0
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +1 -0
- package/packages/orq-rc/src/models/components/usermessagerequest.ts +194 -0
- package/packages/orq-rc/src/models/errors/index.ts +0 -2
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +40 -0
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +122 -5
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +110 -7
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createconversation.ts +59 -36
- package/packages/orq-rc/src/models/operations/createconversationresponse.ts +794 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +48 -40
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createimage.ts +105 -5
- package/packages/orq-rc/src/models/operations/creatememory.ts +3 -15
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +7 -7
- package/packages/orq-rc/src/models/operations/createtool.ts +12 -12
- package/packages/orq-rc/src/models/operations/deletememory.ts +6 -6
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +6 -6
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/generateconversationname.ts +27 -27
- package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -8
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +12 -12
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +4 -4
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +4 -4
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +4 -4
- package/packages/orq-rc/src/models/operations/index.ts +1 -1
- package/packages/orq-rc/src/models/operations/invokeagent.ts +128 -5
- package/packages/orq-rc/src/models/operations/listagents.ts +20 -0
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listconversations.ts +10 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +53 -53
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/parse.ts +157 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +22 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveconversation.ts +0 -197
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememory.ts +9 -14
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +6 -6
- package/packages/orq-rc/src/models/operations/retrievetool.ts +12 -12
- package/packages/orq-rc/src/models/operations/runagent.ts +130 -7
- package/packages/orq-rc/src/models/operations/streamagent.ts +120 -5
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +122 -7
- package/packages/orq-rc/src/models/operations/updateagent.ts +20 -0
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateconversation.ts +39 -33
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatememory.ts +9 -32
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +6 -6
- package/packages/orq-rc/src/models/operations/updatetool.ts +14 -14
- package/packages/orq-rc/src/sdk/conversations.ts +23 -1
- package/packages/orq-rc/src/sdk/evaluators.ts +0 -18
- package/packages/orq-rc/src/sdk/internal.ts +28 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/packages/orq-rc/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +0 -40
- package/packages/orq-rc/src/models/errors/createagentrequest.ts +0 -67
- package/packages/orq-rc/src/models/errors/getv2evaluatorsidversionsversionid.ts +0 -69
- package/packages/orq-rc/src/models/operations/getv2evaluatorsidversionsversionid.ts +0 -193
|
@@ -403,12 +403,12 @@ export type ListDatasetDatapointsEvaluationsEvaluationType = ClosedEnum<
|
|
|
403
403
|
typeof ListDatasetDatapointsEvaluationsEvaluationType
|
|
404
404
|
>;
|
|
405
405
|
|
|
406
|
-
export const
|
|
406
|
+
export const ListDatasetDatapointsEvaluationsDatasetsSource = {
|
|
407
407
|
Orq: "orq",
|
|
408
408
|
External: "external",
|
|
409
409
|
} as const;
|
|
410
|
-
export type
|
|
411
|
-
typeof
|
|
410
|
+
export type ListDatasetDatapointsEvaluationsDatasetsSource = ClosedEnum<
|
|
411
|
+
typeof ListDatasetDatapointsEvaluationsDatasetsSource
|
|
412
412
|
>;
|
|
413
413
|
|
|
414
414
|
export type ListDatasetDatapointsEvaluations3 = {
|
|
@@ -424,7 +424,7 @@ export type ListDatasetDatapointsEvaluations3 = {
|
|
|
424
424
|
* The unique identifier of the human review
|
|
425
425
|
*/
|
|
426
426
|
humanReviewId: string;
|
|
427
|
-
source?:
|
|
427
|
+
source?: ListDatasetDatapointsEvaluationsDatasetsSource | undefined;
|
|
428
428
|
/**
|
|
429
429
|
* The unique identifier of the user who reviewed the item
|
|
430
430
|
*/
|
|
@@ -451,12 +451,12 @@ export type ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType =
|
|
|
451
451
|
typeof ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType
|
|
452
452
|
>;
|
|
453
453
|
|
|
454
|
-
export const
|
|
454
|
+
export const ListDatasetDatapointsEvaluationsSource = {
|
|
455
455
|
Orq: "orq",
|
|
456
456
|
External: "external",
|
|
457
457
|
} as const;
|
|
458
|
-
export type
|
|
459
|
-
typeof
|
|
458
|
+
export type ListDatasetDatapointsEvaluationsSource = ClosedEnum<
|
|
459
|
+
typeof ListDatasetDatapointsEvaluationsSource
|
|
460
460
|
>;
|
|
461
461
|
|
|
462
462
|
export type ListDatasetDatapointsEvaluations2 = {
|
|
@@ -473,7 +473,7 @@ export type ListDatasetDatapointsEvaluations2 = {
|
|
|
473
473
|
* The unique identifier of the human review
|
|
474
474
|
*/
|
|
475
475
|
humanReviewId: string;
|
|
476
|
-
source?:
|
|
476
|
+
source?: ListDatasetDatapointsEvaluationsSource | undefined;
|
|
477
477
|
/**
|
|
478
478
|
* The unique identifier of the user who reviewed the item
|
|
479
479
|
*/
|
|
@@ -499,12 +499,12 @@ export type ListDatasetDatapointsEvaluationsDatasetsEvaluationType = ClosedEnum<
|
|
|
499
499
|
typeof ListDatasetDatapointsEvaluationsDatasetsEvaluationType
|
|
500
500
|
>;
|
|
501
501
|
|
|
502
|
-
export const
|
|
502
|
+
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource = {
|
|
503
503
|
Orq: "orq",
|
|
504
504
|
External: "external",
|
|
505
505
|
} as const;
|
|
506
|
-
export type
|
|
507
|
-
typeof
|
|
506
|
+
export type ListDatasetDatapointsEvaluationsDatasetsResponseSource = ClosedEnum<
|
|
507
|
+
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
508
508
|
>;
|
|
509
509
|
|
|
510
510
|
export type ListDatasetDatapointsEvaluations1 = {
|
|
@@ -520,7 +520,7 @@ export type ListDatasetDatapointsEvaluations1 = {
|
|
|
520
520
|
* The unique identifier of the human review
|
|
521
521
|
*/
|
|
522
522
|
humanReviewId: string;
|
|
523
|
-
source?:
|
|
523
|
+
source?: ListDatasetDatapointsEvaluationsDatasetsResponseSource | undefined;
|
|
524
524
|
/**
|
|
525
525
|
* The unique identifier of the user who reviewed the item
|
|
526
526
|
*/
|
|
@@ -1939,14 +1939,13 @@ export const ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema:
|
|
|
1939
1939
|
ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema;
|
|
1940
1940
|
|
|
1941
1941
|
/** @internal */
|
|
1942
|
-
export const
|
|
1943
|
-
z.ZodNativeEnum<typeof
|
|
1944
|
-
|
|
1945
|
-
);
|
|
1942
|
+
export const ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema:
|
|
1943
|
+
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsSource> = z
|
|
1944
|
+
.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsSource);
|
|
1946
1945
|
/** @internal */
|
|
1947
|
-
export const
|
|
1948
|
-
z.ZodNativeEnum<typeof
|
|
1949
|
-
|
|
1946
|
+
export const ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema:
|
|
1947
|
+
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsSource> =
|
|
1948
|
+
ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema;
|
|
1950
1949
|
|
|
1951
1950
|
/** @internal */
|
|
1952
1951
|
export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
@@ -1957,10 +1956,12 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1957
1956
|
id: z.string(),
|
|
1958
1957
|
evaluation_type: ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema,
|
|
1959
1958
|
human_review_id: z.string(),
|
|
1960
|
-
source:
|
|
1959
|
+
source: ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema.default(
|
|
1960
|
+
"orq",
|
|
1961
|
+
),
|
|
1961
1962
|
reviewed_by_id: z.string(),
|
|
1962
1963
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1963
|
-
"2026-01-
|
|
1964
|
+
"2026-01-13T10:29:35.273Z",
|
|
1964
1965
|
).transform(v => new Date(v)),
|
|
1965
1966
|
type: z.literal("string_array"),
|
|
1966
1967
|
values: z.array(z.string()),
|
|
@@ -1993,9 +1994,11 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
1993
1994
|
id: z.string(),
|
|
1994
1995
|
evaluationType: ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema,
|
|
1995
1996
|
humanReviewId: z.string(),
|
|
1996
|
-
source:
|
|
1997
|
+
source: ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema.default(
|
|
1998
|
+
"orq",
|
|
1999
|
+
),
|
|
1997
2000
|
reviewedById: z.string(),
|
|
1998
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
2001
|
+
reviewedAt: z.date().default(() => new Date("2026-01-13T10:29:35.273Z"))
|
|
1999
2002
|
.transform(v => v.toISOString()),
|
|
2000
2003
|
type: z.literal("string_array"),
|
|
2001
2004
|
values: z.array(z.string()),
|
|
@@ -2042,15 +2045,14 @@ export const ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outb
|
|
|
2042
2045
|
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema;
|
|
2043
2046
|
|
|
2044
2047
|
/** @internal */
|
|
2045
|
-
export const
|
|
2046
|
-
z.ZodNativeEnum<
|
|
2047
|
-
|
|
2048
|
-
|
|
2048
|
+
export const ListDatasetDatapointsEvaluationsSource$inboundSchema:
|
|
2049
|
+
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsSource> = z.nativeEnum(
|
|
2050
|
+
ListDatasetDatapointsEvaluationsSource,
|
|
2051
|
+
);
|
|
2049
2052
|
/** @internal */
|
|
2050
|
-
export const
|
|
2051
|
-
z.ZodNativeEnum<
|
|
2052
|
-
|
|
2053
|
-
> = ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema;
|
|
2053
|
+
export const ListDatasetDatapointsEvaluationsSource$outboundSchema:
|
|
2054
|
+
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsSource> =
|
|
2055
|
+
ListDatasetDatapointsEvaluationsSource$inboundSchema;
|
|
2054
2056
|
|
|
2055
2057
|
/** @internal */
|
|
2056
2058
|
export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
@@ -2062,11 +2064,10 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
2062
2064
|
evaluation_type:
|
|
2063
2065
|
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema,
|
|
2064
2066
|
human_review_id: z.string(),
|
|
2065
|
-
source:
|
|
2066
|
-
.default("orq"),
|
|
2067
|
+
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
2067
2068
|
reviewed_by_id: z.string(),
|
|
2068
2069
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2069
|
-
"2026-01-
|
|
2070
|
+
"2026-01-13T10:29:35.272Z",
|
|
2070
2071
|
).transform(v => new Date(v)),
|
|
2071
2072
|
type: z.literal("number"),
|
|
2072
2073
|
value: z.number(),
|
|
@@ -2100,10 +2101,9 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
2100
2101
|
evaluationType:
|
|
2101
2102
|
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outboundSchema,
|
|
2102
2103
|
humanReviewId: z.string(),
|
|
2103
|
-
source:
|
|
2104
|
-
.default("orq"),
|
|
2104
|
+
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
2105
2105
|
reviewedById: z.string(),
|
|
2106
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
2106
|
+
reviewedAt: z.date().default(() => new Date("2026-01-13T10:29:35.272Z"))
|
|
2107
2107
|
.transform(v => v.toISOString()),
|
|
2108
2108
|
type: z.literal("number"),
|
|
2109
2109
|
value: z.number(),
|
|
@@ -2147,13 +2147,15 @@ export const ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSche
|
|
|
2147
2147
|
> = ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema;
|
|
2148
2148
|
|
|
2149
2149
|
/** @internal */
|
|
2150
|
-
export const
|
|
2151
|
-
z.ZodNativeEnum<
|
|
2152
|
-
|
|
2150
|
+
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema:
|
|
2151
|
+
z.ZodNativeEnum<
|
|
2152
|
+
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
2153
|
+
> = z.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsResponseSource);
|
|
2153
2154
|
/** @internal */
|
|
2154
|
-
export const
|
|
2155
|
-
z.ZodNativeEnum<
|
|
2156
|
-
|
|
2155
|
+
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema:
|
|
2156
|
+
z.ZodNativeEnum<
|
|
2157
|
+
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
2158
|
+
> = ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema;
|
|
2157
2159
|
|
|
2158
2160
|
/** @internal */
|
|
2159
2161
|
export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
@@ -2165,12 +2167,11 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
2165
2167
|
evaluation_type:
|
|
2166
2168
|
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema,
|
|
2167
2169
|
human_review_id: z.string(),
|
|
2168
|
-
source:
|
|
2169
|
-
"orq",
|
|
2170
|
-
),
|
|
2170
|
+
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema
|
|
2171
|
+
.default("orq"),
|
|
2171
2172
|
reviewed_by_id: z.string(),
|
|
2172
2173
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2173
|
-
"2026-01-
|
|
2174
|
+
"2026-01-13T10:29:35.271Z",
|
|
2174
2175
|
).transform(v => new Date(v)),
|
|
2175
2176
|
type: z.literal("string"),
|
|
2176
2177
|
value: z.string(),
|
|
@@ -2204,11 +2205,10 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
2204
2205
|
evaluationType:
|
|
2205
2206
|
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSchema,
|
|
2206
2207
|
humanReviewId: z.string(),
|
|
2207
|
-
source:
|
|
2208
|
-
"orq",
|
|
2209
|
-
),
|
|
2208
|
+
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
2209
|
+
.default("orq"),
|
|
2210
2210
|
reviewedById: z.string(),
|
|
2211
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
2211
|
+
reviewedAt: z.date().default(() => new Date("2026-01-13T10:29:35.271Z"))
|
|
2212
2212
|
.transform(v => v.toISOString()),
|
|
2213
2213
|
type: z.literal("string"),
|
|
2214
2214
|
value: z.string(),
|
|
@@ -2321,7 +2321,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2321
2321
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2322
2322
|
.optional(),
|
|
2323
2323
|
updated: z.string().datetime({ offset: true }).default(
|
|
2324
|
-
"2026-01-
|
|
2324
|
+
"2026-01-13T10:29:20.072Z",
|
|
2325
2325
|
).transform(v => new Date(v)),
|
|
2326
2326
|
}).transform((v) => {
|
|
2327
2327
|
return remap$(v, {
|
|
@@ -2399,7 +2399,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2399
2399
|
createdById: z.string().optional(),
|
|
2400
2400
|
updatedById: z.string().optional(),
|
|
2401
2401
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2402
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
2402
|
+
updated: z.date().default(() => new Date("2026-01-13T10:29:20.072Z"))
|
|
2403
2403
|
.transform(v => v.toISOString()),
|
|
2404
2404
|
}).transform((v) => {
|
|
2405
2405
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2026-01-
|
|
214
|
+
"2026-01-13T10:29:20.072Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
250
250
|
createdById: z.string().optional(),
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
253
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
253
|
+
updated: z.date().default(() => new Date("2026-01-13T10:29:20.072Z"))
|
|
254
254
|
.transform(v => v.toISOString()),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -224,7 +224,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
224
224
|
z.ZodTypeDef,
|
|
225
225
|
unknown
|
|
226
226
|
> = z.object({
|
|
227
|
-
_id: z.string().default("
|
|
227
|
+
_id: z.string().default("01KEVEEQTCZXDGBY370FVJYNT3"),
|
|
228
228
|
display_name: z.string(),
|
|
229
229
|
description: z.string().optional(),
|
|
230
230
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -267,7 +267,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
267
267
|
z.ZodTypeDef,
|
|
268
268
|
ListDatasourcesData
|
|
269
269
|
> = z.object({
|
|
270
|
-
id: z.string().default("
|
|
270
|
+
id: z.string().default("01KEVEEQTCZXDGBY370FVJYNT3"),
|
|
271
271
|
displayName: z.string(),
|
|
272
272
|
description: z.string().optional(),
|
|
273
273
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -9,6 +9,64 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Return format: chunks (with metadata) or texts (plain strings)
|
|
14
|
+
*/
|
|
15
|
+
export const ParseChunkingRequestChunkingRequestRequestBodyReturnType = {
|
|
16
|
+
Chunks: "chunks",
|
|
17
|
+
Texts: "texts",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Return format: chunks (with metadata) or texts (plain strings)
|
|
21
|
+
*/
|
|
22
|
+
export type ParseChunkingRequestChunkingRequestRequestBodyReturnType =
|
|
23
|
+
ClosedEnum<typeof ParseChunkingRequestChunkingRequestRequestBodyReturnType>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* High-performance SIMD-optimized byte-level chunking. Best for large files (>1MB) where speed and memory efficiency are critical. 2x faster and 3x less memory than token-based chunking.
|
|
27
|
+
*/
|
|
28
|
+
export type FastChunkerStrategy = {
|
|
29
|
+
/**
|
|
30
|
+
* The text content to be chunked
|
|
31
|
+
*/
|
|
32
|
+
text: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to include metadata for each chunk
|
|
35
|
+
*/
|
|
36
|
+
metadata?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Return format: chunks (with metadata) or texts (plain strings)
|
|
39
|
+
*/
|
|
40
|
+
returnType?:
|
|
41
|
+
| ParseChunkingRequestChunkingRequestRequestBodyReturnType
|
|
42
|
+
| undefined;
|
|
43
|
+
strategy: "fast";
|
|
44
|
+
/**
|
|
45
|
+
* Target chunk size in bytes
|
|
46
|
+
*/
|
|
47
|
+
targetSize?: number | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Single-byte delimiter characters. Each character is treated as a separate delimiter (e.g., ".?!" splits on period, question mark, or exclamation). Use escaped sequences for special chars.
|
|
50
|
+
*/
|
|
51
|
+
delimiters?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Multi-byte pattern for splitting (e.g., "▁" for SentencePiece tokenizers). Takes precedence over delimiters if set.
|
|
54
|
+
*/
|
|
55
|
+
pattern?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Attach delimiter to start of next chunk instead of end of current chunk
|
|
58
|
+
*/
|
|
59
|
+
prefix?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* When true, splits at the START of consecutive delimiter runs, keeping the run with the following chunk (e.g., splits before "\n\n\n" not in the middle)
|
|
62
|
+
*/
|
|
63
|
+
consecutive?: boolean | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Search forward if no delimiter found in backward search window
|
|
66
|
+
*/
|
|
67
|
+
forwardFallback?: boolean | undefined;
|
|
68
|
+
};
|
|
69
|
+
|
|
12
70
|
/**
|
|
13
71
|
* Return format: chunks (with metadata) or texts (plain strings)
|
|
14
72
|
*/
|
|
@@ -278,7 +336,8 @@ export type ParseChunkingRequest =
|
|
|
278
336
|
| SentenceChunkerStrategy
|
|
279
337
|
| RecursiveChunkerStrategy
|
|
280
338
|
| SemanticChunkerStrategy
|
|
281
|
-
| AgenticChunkerStrategy
|
|
339
|
+
| AgenticChunkerStrategy
|
|
340
|
+
| FastChunkerStrategy;
|
|
282
341
|
|
|
283
342
|
export type ParseMetadata = {
|
|
284
343
|
startIndex: number | null;
|
|
@@ -305,6 +364,99 @@ export type ParseResponseBody = {
|
|
|
305
364
|
chunks: Array<Chunks>;
|
|
306
365
|
};
|
|
307
366
|
|
|
367
|
+
/** @internal */
|
|
368
|
+
export const ParseChunkingRequestChunkingRequestRequestBodyReturnType$inboundSchema:
|
|
369
|
+
z.ZodNativeEnum<
|
|
370
|
+
typeof ParseChunkingRequestChunkingRequestRequestBodyReturnType
|
|
371
|
+
> = z.nativeEnum(ParseChunkingRequestChunkingRequestRequestBodyReturnType);
|
|
372
|
+
/** @internal */
|
|
373
|
+
export const ParseChunkingRequestChunkingRequestRequestBodyReturnType$outboundSchema:
|
|
374
|
+
z.ZodNativeEnum<
|
|
375
|
+
typeof ParseChunkingRequestChunkingRequestRequestBodyReturnType
|
|
376
|
+
> = ParseChunkingRequestChunkingRequestRequestBodyReturnType$inboundSchema;
|
|
377
|
+
|
|
378
|
+
/** @internal */
|
|
379
|
+
export const FastChunkerStrategy$inboundSchema: z.ZodType<
|
|
380
|
+
FastChunkerStrategy,
|
|
381
|
+
z.ZodTypeDef,
|
|
382
|
+
unknown
|
|
383
|
+
> = z.object({
|
|
384
|
+
text: z.string(),
|
|
385
|
+
metadata: z.boolean().default(true),
|
|
386
|
+
return_type:
|
|
387
|
+
ParseChunkingRequestChunkingRequestRequestBodyReturnType$inboundSchema
|
|
388
|
+
.default("chunks"),
|
|
389
|
+
strategy: z.literal("fast"),
|
|
390
|
+
target_size: z.number().int().default(4096),
|
|
391
|
+
delimiters: z.string().default("\n.?"),
|
|
392
|
+
pattern: z.string().optional(),
|
|
393
|
+
prefix: z.boolean().default(false),
|
|
394
|
+
consecutive: z.boolean().default(false),
|
|
395
|
+
forward_fallback: z.boolean().default(false),
|
|
396
|
+
}).transform((v) => {
|
|
397
|
+
return remap$(v, {
|
|
398
|
+
"return_type": "returnType",
|
|
399
|
+
"target_size": "targetSize",
|
|
400
|
+
"forward_fallback": "forwardFallback",
|
|
401
|
+
});
|
|
402
|
+
});
|
|
403
|
+
/** @internal */
|
|
404
|
+
export type FastChunkerStrategy$Outbound = {
|
|
405
|
+
text: string;
|
|
406
|
+
metadata: boolean;
|
|
407
|
+
return_type: string;
|
|
408
|
+
strategy: "fast";
|
|
409
|
+
target_size: number;
|
|
410
|
+
delimiters: string;
|
|
411
|
+
pattern?: string | undefined;
|
|
412
|
+
prefix: boolean;
|
|
413
|
+
consecutive: boolean;
|
|
414
|
+
forward_fallback: boolean;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/** @internal */
|
|
418
|
+
export const FastChunkerStrategy$outboundSchema: z.ZodType<
|
|
419
|
+
FastChunkerStrategy$Outbound,
|
|
420
|
+
z.ZodTypeDef,
|
|
421
|
+
FastChunkerStrategy
|
|
422
|
+
> = z.object({
|
|
423
|
+
text: z.string(),
|
|
424
|
+
metadata: z.boolean().default(true),
|
|
425
|
+
returnType:
|
|
426
|
+
ParseChunkingRequestChunkingRequestRequestBodyReturnType$outboundSchema
|
|
427
|
+
.default("chunks"),
|
|
428
|
+
strategy: z.literal("fast"),
|
|
429
|
+
targetSize: z.number().int().default(4096),
|
|
430
|
+
delimiters: z.string().default("\n.?"),
|
|
431
|
+
pattern: z.string().optional(),
|
|
432
|
+
prefix: z.boolean().default(false),
|
|
433
|
+
consecutive: z.boolean().default(false),
|
|
434
|
+
forwardFallback: z.boolean().default(false),
|
|
435
|
+
}).transform((v) => {
|
|
436
|
+
return remap$(v, {
|
|
437
|
+
returnType: "return_type",
|
|
438
|
+
targetSize: "target_size",
|
|
439
|
+
forwardFallback: "forward_fallback",
|
|
440
|
+
});
|
|
441
|
+
});
|
|
442
|
+
|
|
443
|
+
export function fastChunkerStrategyToJSON(
|
|
444
|
+
fastChunkerStrategy: FastChunkerStrategy,
|
|
445
|
+
): string {
|
|
446
|
+
return JSON.stringify(
|
|
447
|
+
FastChunkerStrategy$outboundSchema.parse(fastChunkerStrategy),
|
|
448
|
+
);
|
|
449
|
+
}
|
|
450
|
+
export function fastChunkerStrategyFromJSON(
|
|
451
|
+
jsonString: string,
|
|
452
|
+
): SafeParseResult<FastChunkerStrategy, SDKValidationError> {
|
|
453
|
+
return safeParse(
|
|
454
|
+
jsonString,
|
|
455
|
+
(x) => FastChunkerStrategy$inboundSchema.parse(JSON.parse(x)),
|
|
456
|
+
`Failed to parse 'FastChunkerStrategy' from JSON`,
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
308
460
|
/** @internal */
|
|
309
461
|
export const ParseChunkingRequestChunkingRequestReturnType$inboundSchema:
|
|
310
462
|
z.ZodNativeEnum<typeof ParseChunkingRequestChunkingRequestReturnType> = z
|
|
@@ -775,6 +927,7 @@ export const ParseChunkingRequest$inboundSchema: z.ZodType<
|
|
|
775
927
|
z.lazy(() => RecursiveChunkerStrategy$inboundSchema),
|
|
776
928
|
z.lazy(() => SemanticChunkerStrategy$inboundSchema),
|
|
777
929
|
z.lazy(() => AgenticChunkerStrategy$inboundSchema),
|
|
930
|
+
z.lazy(() => FastChunkerStrategy$inboundSchema),
|
|
778
931
|
]);
|
|
779
932
|
/** @internal */
|
|
780
933
|
export type ParseChunkingRequest$Outbound =
|
|
@@ -782,7 +935,8 @@ export type ParseChunkingRequest$Outbound =
|
|
|
782
935
|
| SentenceChunkerStrategy$Outbound
|
|
783
936
|
| RecursiveChunkerStrategy$Outbound
|
|
784
937
|
| SemanticChunkerStrategy$Outbound
|
|
785
|
-
| AgenticChunkerStrategy$Outbound
|
|
938
|
+
| AgenticChunkerStrategy$Outbound
|
|
939
|
+
| FastChunkerStrategy$Outbound;
|
|
786
940
|
|
|
787
941
|
/** @internal */
|
|
788
942
|
export const ParseChunkingRequest$outboundSchema: z.ZodType<
|
|
@@ -795,6 +949,7 @@ export const ParseChunkingRequest$outboundSchema: z.ZodType<
|
|
|
795
949
|
z.lazy(() => RecursiveChunkerStrategy$outboundSchema),
|
|
796
950
|
z.lazy(() => SemanticChunkerStrategy$outboundSchema),
|
|
797
951
|
z.lazy(() => AgenticChunkerStrategy$outboundSchema),
|
|
952
|
+
z.lazy(() => FastChunkerStrategy$outboundSchema),
|
|
798
953
|
]);
|
|
799
954
|
|
|
800
955
|
export function parseChunkingRequestToJSON(
|
|
@@ -1019,6 +1019,15 @@ export type RetrieveAgentRequestKnowledgeBases = {
|
|
|
1019
1019
|
knowledgeId: string;
|
|
1020
1020
|
};
|
|
1021
1021
|
|
|
1022
|
+
export const RetrieveAgentRequestSource = {
|
|
1023
|
+
Internal: "internal",
|
|
1024
|
+
External: "external",
|
|
1025
|
+
Experiment: "experiment",
|
|
1026
|
+
} as const;
|
|
1027
|
+
export type RetrieveAgentRequestSource = ClosedEnum<
|
|
1028
|
+
typeof RetrieveAgentRequestSource
|
|
1029
|
+
>;
|
|
1030
|
+
|
|
1022
1031
|
/**
|
|
1023
1032
|
* Agent successfully retrieved. Returns the complete agent manifest with all configuration details, including models, tools, knowledge bases, and execution settings.
|
|
1024
1033
|
*/
|
|
@@ -1073,6 +1082,7 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1073
1082
|
* Agent knowledge bases reference
|
|
1074
1083
|
*/
|
|
1075
1084
|
knowledgeBases?: Array<RetrieveAgentRequestKnowledgeBases> | undefined;
|
|
1085
|
+
source?: RetrieveAgentRequestSource | undefined;
|
|
1076
1086
|
};
|
|
1077
1087
|
|
|
1078
1088
|
/** @internal */
|
|
@@ -3897,6 +3907,15 @@ export function retrieveAgentRequestKnowledgeBasesFromJSON(
|
|
|
3897
3907
|
);
|
|
3898
3908
|
}
|
|
3899
3909
|
|
|
3910
|
+
/** @internal */
|
|
3911
|
+
export const RetrieveAgentRequestSource$inboundSchema: z.ZodNativeEnum<
|
|
3912
|
+
typeof RetrieveAgentRequestSource
|
|
3913
|
+
> = z.nativeEnum(RetrieveAgentRequestSource);
|
|
3914
|
+
/** @internal */
|
|
3915
|
+
export const RetrieveAgentRequestSource$outboundSchema: z.ZodNativeEnum<
|
|
3916
|
+
typeof RetrieveAgentRequestSource
|
|
3917
|
+
> = RetrieveAgentRequestSource$inboundSchema;
|
|
3918
|
+
|
|
3900
3919
|
/** @internal */
|
|
3901
3920
|
export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
3902
3921
|
RetrieveAgentRequestResponseBody,
|
|
@@ -3930,6 +3949,7 @@ export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
3930
3949
|
knowledge_bases: z.array(
|
|
3931
3950
|
z.lazy(() => RetrieveAgentRequestKnowledgeBases$inboundSchema),
|
|
3932
3951
|
).optional(),
|
|
3952
|
+
source: RetrieveAgentRequestSource$inboundSchema.optional(),
|
|
3933
3953
|
}).transform((v) => {
|
|
3934
3954
|
return remap$(v, {
|
|
3935
3955
|
"_id": "id",
|
|
@@ -3972,6 +3992,7 @@ export type RetrieveAgentRequestResponseBody$Outbound = {
|
|
|
3972
3992
|
knowledge_bases?:
|
|
3973
3993
|
| Array<RetrieveAgentRequestKnowledgeBases$Outbound>
|
|
3974
3994
|
| undefined;
|
|
3995
|
+
source?: string | undefined;
|
|
3975
3996
|
};
|
|
3976
3997
|
|
|
3977
3998
|
/** @internal */
|
|
@@ -4008,6 +4029,7 @@ export const RetrieveAgentRequestResponseBody$outboundSchema: z.ZodType<
|
|
|
4008
4029
|
knowledgeBases: z.array(
|
|
4009
4030
|
z.lazy(() => RetrieveAgentRequestKnowledgeBases$outboundSchema),
|
|
4010
4031
|
).optional(),
|
|
4032
|
+
source: RetrieveAgentRequestSource$outboundSchema.optional(),
|
|
4011
4033
|
}).transform((v) => {
|
|
4012
4034
|
return remap$(v, {
|
|
4013
4035
|
id: "_id",
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"2026-01-
|
|
115
|
+
"2026-01-13T10:29:20.072Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
152
|
+
updated: z.date().default(() => new Date("2026-01-13T10:29:20.072Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|