@orq-ai/node 3.3.0-rc.32 → 3.3.0-rc.33

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.
Files changed (67) hide show
  1. package/bin/mcp-server.js +73 -73
  2. package/bin/mcp-server.js.map +27 -27
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/operations/bulkcreatedatapoints.js +2 -2
  9. package/models/operations/createchunk.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +2 -2
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createknowledge.d.ts +4 -10
  15. package/models/operations/createknowledge.d.ts.map +1 -1
  16. package/models/operations/createknowledge.js +8 -8
  17. package/models/operations/createknowledge.js.map +1 -1
  18. package/models/operations/fileget.js +2 -2
  19. package/models/operations/filelist.js +2 -2
  20. package/models/operations/fileupload.js +2 -2
  21. package/models/operations/getoneknowledge.d.ts +4 -10
  22. package/models/operations/getoneknowledge.d.ts.map +1 -1
  23. package/models/operations/getoneknowledge.js +8 -8
  24. package/models/operations/getoneknowledge.js.map +1 -1
  25. package/models/operations/listdatasetdatapoints.js +2 -2
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/listknowledgebases.d.ts +4 -10
  29. package/models/operations/listknowledgebases.d.ts.map +1 -1
  30. package/models/operations/listknowledgebases.js +8 -8
  31. package/models/operations/listknowledgebases.js.map +1 -1
  32. package/models/operations/retrievedatapoint.js +2 -2
  33. package/models/operations/retrievedataset.js +2 -2
  34. package/models/operations/retrievedatasource.js +2 -2
  35. package/models/operations/updatedatapoint.js +2 -2
  36. package/models/operations/updatedataset.js +2 -2
  37. package/models/operations/updatedatasource.js +2 -2
  38. package/models/operations/updateknowledge.d.ts +4 -10
  39. package/models/operations/updateknowledge.d.ts.map +1 -1
  40. package/models/operations/updateknowledge.js +8 -8
  41. package/models/operations/updateknowledge.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/lib/config.ts +2 -2
  44. package/src/mcp-server/mcp-server.ts +1 -1
  45. package/src/mcp-server/server.ts +1 -1
  46. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  47. package/src/models/operations/createchunk.ts +2 -2
  48. package/src/models/operations/createcontact.ts +2 -2
  49. package/src/models/operations/createdataset.ts +2 -2
  50. package/src/models/operations/createdatasetitem.ts +2 -2
  51. package/src/models/operations/createdatasource.ts +2 -2
  52. package/src/models/operations/createknowledge.ts +12 -18
  53. package/src/models/operations/fileget.ts +2 -2
  54. package/src/models/operations/filelist.ts +2 -2
  55. package/src/models/operations/fileupload.ts +2 -2
  56. package/src/models/operations/getoneknowledge.ts +12 -18
  57. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  58. package/src/models/operations/listdatasets.ts +2 -2
  59. package/src/models/operations/listdatasources.ts +2 -2
  60. package/src/models/operations/listknowledgebases.ts +12 -18
  61. package/src/models/operations/retrievedatapoint.ts +2 -2
  62. package/src/models/operations/retrievedataset.ts +2 -2
  63. package/src/models/operations/retrievedatasource.ts +2 -2
  64. package/src/models/operations/updatedatapoint.ts +2 -2
  65. package/src/models/operations/updatedataset.ts +2 -2
  66. package/src/models/operations/updatedatasource.ts +2 -2
  67. package/src/models/operations/updateknowledge.ts +12 -18
@@ -134,10 +134,6 @@ export type CreateKnowledgeResponseBody = {
134
134
  * The unique identifier of the knowledge base.
135
135
  */
136
136
  id: string;
137
- /**
138
- * The id of the resource
139
- */
140
- createdById: string;
141
137
  /**
142
138
  * The creation date of the knowledge base.
143
139
  */
@@ -162,10 +158,8 @@ export type CreateKnowledgeResponseBody = {
162
158
  * The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
163
159
  */
164
160
  retrievalSettings?: CreateKnowledgeRetrievalSettings | undefined;
165
- /**
166
- * The id of the resource
167
- */
168
- updateById: string;
161
+ createdById?: string | null | undefined;
162
+ updatedById?: string | null | undefined;
169
163
  /**
170
164
  * The last update date of the knowledge base.
171
165
  */
@@ -587,7 +581,6 @@ export const CreateKnowledgeResponseBody$inboundSchema: z.ZodType<
587
581
  unknown
588
582
  > = z.object({
589
583
  _id: z.string(),
590
- created_by_id: z.string(),
591
584
  created: z.string(),
592
585
  description: z.string().optional(),
593
586
  key: z.string(),
@@ -596,28 +589,29 @@ export const CreateKnowledgeResponseBody$inboundSchema: z.ZodType<
596
589
  retrieval_settings: z.lazy(() =>
597
590
  CreateKnowledgeRetrievalSettings$inboundSchema
598
591
  ).optional(),
599
- update_by_id: z.string(),
592
+ created_by_id: z.nullable(z.string()).optional(),
593
+ updated_by_id: z.nullable(z.string()).optional(),
600
594
  updated: z.string(),
601
595
  }).transform((v) => {
602
596
  return remap$(v, {
603
597
  "_id": "id",
604
- "created_by_id": "createdById",
605
598
  "retrieval_settings": "retrievalSettings",
606
- "update_by_id": "updateById",
599
+ "created_by_id": "createdById",
600
+ "updated_by_id": "updatedById",
607
601
  });
608
602
  });
609
603
 
610
604
  /** @internal */
611
605
  export type CreateKnowledgeResponseBody$Outbound = {
612
606
  _id: string;
613
- created_by_id: string;
614
607
  created: string;
615
608
  description?: string | undefined;
616
609
  key: string;
617
610
  model: string;
618
611
  path?: string | undefined;
619
612
  retrieval_settings?: CreateKnowledgeRetrievalSettings$Outbound | undefined;
620
- update_by_id: string;
613
+ created_by_id?: string | null | undefined;
614
+ updated_by_id?: string | null | undefined;
621
615
  updated: string;
622
616
  };
623
617
 
@@ -628,7 +622,6 @@ export const CreateKnowledgeResponseBody$outboundSchema: z.ZodType<
628
622
  CreateKnowledgeResponseBody
629
623
  > = z.object({
630
624
  id: z.string(),
631
- createdById: z.string(),
632
625
  created: z.string(),
633
626
  description: z.string().optional(),
634
627
  key: z.string(),
@@ -637,14 +630,15 @@ export const CreateKnowledgeResponseBody$outboundSchema: z.ZodType<
637
630
  retrievalSettings: z.lazy(() =>
638
631
  CreateKnowledgeRetrievalSettings$outboundSchema
639
632
  ).optional(),
640
- updateById: z.string(),
633
+ createdById: z.nullable(z.string()).optional(),
634
+ updatedById: z.nullable(z.string()).optional(),
641
635
  updated: z.string(),
642
636
  }).transform((v) => {
643
637
  return remap$(v, {
644
638
  id: "_id",
645
- createdById: "created_by_id",
646
639
  retrievalSettings: "retrieval_settings",
647
- updateById: "update_by_id",
640
+ createdById: "created_by_id",
641
+ updatedById: "updated_by_id",
648
642
  });
649
643
  });
650
644
 
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
146
146
  file_name: z.string(),
147
147
  workspace_id: z.string(),
148
148
  created: z.string().datetime({ offset: true }).default(
149
- "2025-04-03T11:24:15.585Z",
149
+ "2025-04-03T11:44:02.141Z",
150
150
  ).transform(v => new Date(v)),
151
151
  }).transform((v) => {
152
152
  return remap$(v, {
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
180
180
  bytes: z.number(),
181
181
  fileName: z.string(),
182
182
  workspaceId: z.string(),
183
- created: z.date().default(() => new Date("2025-04-03T11:24:15.585Z"))
183
+ created: z.date().default(() => new Date("2025-04-03T11:44:02.141Z"))
184
184
  .transform(v => v.toISOString()),
185
185
  }).transform((v) => {
186
186
  return remap$(v, {
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
196
196
  file_name: z.string(),
197
197
  workspace_id: z.string(),
198
198
  created: z.string().datetime({ offset: true }).default(
199
- "2025-04-03T11:24:15.585Z",
199
+ "2025-04-03T11:44:02.141Z",
200
200
  ).transform(v => new Date(v)),
201
201
  }).transform((v) => {
202
202
  return remap$(v, {
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
230
230
  bytes: z.number(),
231
231
  fileName: z.string(),
232
232
  workspaceId: z.string(),
233
- created: z.date().default(() => new Date("2025-04-03T11:24:15.585Z"))
233
+ created: z.date().default(() => new Date("2025-04-03T11:44:02.141Z"))
234
234
  .transform(v => v.toISOString()),
235
235
  }).transform((v) => {
236
236
  return remap$(v, {
@@ -247,7 +247,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
247
247
  file_name: z.string(),
248
248
  workspace_id: z.string(),
249
249
  created: z.string().datetime({ offset: true }).default(
250
- "2025-04-03T11:24:15.585Z",
250
+ "2025-04-03T11:44:02.141Z",
251
251
  ).transform(v => new Date(v)),
252
252
  }).transform((v) => {
253
253
  return remap$(v, {
@@ -281,7 +281,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
281
281
  bytes: z.number(),
282
282
  fileName: z.string(),
283
283
  workspaceId: z.string(),
284
- created: z.date().default(() => new Date("2025-04-03T11:24:15.585Z"))
284
+ created: z.date().default(() => new Date("2025-04-03T11:44:02.141Z"))
285
285
  .transform(v => v.toISOString()),
286
286
  }).transform((v) => {
287
287
  return remap$(v, {
@@ -75,10 +75,6 @@ export type GetOneKnowledgeResponseBody = {
75
75
  * The unique identifier of the knowledge base.
76
76
  */
77
77
  id: string;
78
- /**
79
- * The id of the resource
80
- */
81
- createdById: string;
82
78
  /**
83
79
  * The creation date of the knowledge base.
84
80
  */
@@ -103,10 +99,8 @@ export type GetOneKnowledgeResponseBody = {
103
99
  * The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
104
100
  */
105
101
  retrievalSettings?: GetOneKnowledgeRetrievalSettings | undefined;
106
- /**
107
- * The id of the resource
108
- */
109
- updateById: string;
102
+ createdById?: string | null | undefined;
103
+ updatedById?: string | null | undefined;
110
104
  /**
111
105
  * The last update date of the knowledge base.
112
106
  */
@@ -355,7 +349,6 @@ export const GetOneKnowledgeResponseBody$inboundSchema: z.ZodType<
355
349
  unknown
356
350
  > = z.object({
357
351
  _id: z.string(),
358
- created_by_id: z.string(),
359
352
  created: z.string(),
360
353
  description: z.string().optional(),
361
354
  key: z.string(),
@@ -364,28 +357,29 @@ export const GetOneKnowledgeResponseBody$inboundSchema: z.ZodType<
364
357
  retrieval_settings: z.lazy(() =>
365
358
  GetOneKnowledgeRetrievalSettings$inboundSchema
366
359
  ).optional(),
367
- update_by_id: z.string(),
360
+ created_by_id: z.nullable(z.string()).optional(),
361
+ updated_by_id: z.nullable(z.string()).optional(),
368
362
  updated: z.string(),
369
363
  }).transform((v) => {
370
364
  return remap$(v, {
371
365
  "_id": "id",
372
- "created_by_id": "createdById",
373
366
  "retrieval_settings": "retrievalSettings",
374
- "update_by_id": "updateById",
367
+ "created_by_id": "createdById",
368
+ "updated_by_id": "updatedById",
375
369
  });
376
370
  });
377
371
 
378
372
  /** @internal */
379
373
  export type GetOneKnowledgeResponseBody$Outbound = {
380
374
  _id: string;
381
- created_by_id: string;
382
375
  created: string;
383
376
  description?: string | undefined;
384
377
  key: string;
385
378
  model: string;
386
379
  path?: string | undefined;
387
380
  retrieval_settings?: GetOneKnowledgeRetrievalSettings$Outbound | undefined;
388
- update_by_id: string;
381
+ created_by_id?: string | null | undefined;
382
+ updated_by_id?: string | null | undefined;
389
383
  updated: string;
390
384
  };
391
385
 
@@ -396,7 +390,6 @@ export const GetOneKnowledgeResponseBody$outboundSchema: z.ZodType<
396
390
  GetOneKnowledgeResponseBody
397
391
  > = z.object({
398
392
  id: z.string(),
399
- createdById: z.string(),
400
393
  created: z.string(),
401
394
  description: z.string().optional(),
402
395
  key: z.string(),
@@ -405,14 +398,15 @@ export const GetOneKnowledgeResponseBody$outboundSchema: z.ZodType<
405
398
  retrievalSettings: z.lazy(() =>
406
399
  GetOneKnowledgeRetrievalSettings$outboundSchema
407
400
  ).optional(),
408
- updateById: z.string(),
401
+ createdById: z.nullable(z.string()).optional(),
402
+ updatedById: z.nullable(z.string()).optional(),
409
403
  updated: z.string(),
410
404
  }).transform((v) => {
411
405
  return remap$(v, {
412
406
  id: "_id",
413
- createdById: "created_by_id",
414
407
  retrievalSettings: "retrieval_settings",
415
- updateById: "update_by_id",
408
+ createdById: "created_by_id",
409
+ updatedById: "updated_by_id",
416
410
  });
417
411
  });
418
412
 
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
912
912
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
913
913
  .optional(),
914
914
  updated: z.string().datetime({ offset: true }).default(
915
- "2025-04-03T11:24:14.050Z",
915
+ "2025-04-03T11:44:00.596Z",
916
916
  ).transform(v => new Date(v)),
917
917
  }).transform((v) => {
918
918
  return remap$(v, {
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
955
955
  createdById: z.string().optional(),
956
956
  updatedById: z.string().optional(),
957
957
  created: z.date().transform(v => v.toISOString()).optional(),
958
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
958
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
959
959
  .transform(v => v.toISOString()),
960
960
  }).transform((v) => {
961
961
  return remap$(v, {
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
253
253
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
254
254
  .optional(),
255
255
  updated: z.string().datetime({ offset: true }).default(
256
- "2025-04-03T11:24:14.050Z",
256
+ "2025-04-03T11:44:00.596Z",
257
257
  ).transform(v => new Date(v)),
258
258
  }).transform((v) => {
259
259
  return remap$(v, {
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
293
293
  updatedById: z.string().optional(),
294
294
  metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
295
295
  created: z.date().transform(v => v.toISOString()).optional(),
296
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
296
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
297
297
  .transform(v => v.toISOString()),
298
298
  }).transform((v) => {
299
299
  return remap$(v, {
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
278
278
  z.ZodTypeDef,
279
279
  unknown
280
280
  > = z.object({
281
- _id: z.string().default("01JQXPA4JTV5JJ9EG57EERTXXJ"),
281
+ _id: z.string().default("01JQXQEBB75ZQ1QSC3GP9KDFRV"),
282
282
  display_name: z.string(),
283
283
  description: z.string().optional(),
284
284
  status: ListDatasourcesStatus$inboundSchema,
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
322
322
  z.ZodTypeDef,
323
323
  ListDatasourcesData
324
324
  > = z.object({
325
- id: z.string().default("01JQXPA4JTV5JJ9EG57EERTXXJ"),
325
+ id: z.string().default("01JQXQEBB75ZQ1QSC3GP9KDFRV"),
326
326
  displayName: z.string(),
327
327
  description: z.string().optional(),
328
328
  status: ListDatasourcesStatus$outboundSchema,
@@ -90,10 +90,6 @@ export type ListKnowledgeBasesData = {
90
90
  * The unique identifier of the knowledge base.
91
91
  */
92
92
  id: string;
93
- /**
94
- * The id of the resource
95
- */
96
- createdById: string;
97
93
  /**
98
94
  * The creation date of the knowledge base.
99
95
  */
@@ -118,10 +114,8 @@ export type ListKnowledgeBasesData = {
118
114
  * The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
119
115
  */
120
116
  retrievalSettings?: ListKnowledgeBasesRetrievalSettings | undefined;
121
- /**
122
- * The id of the resource
123
- */
124
- updateById: string;
117
+ createdById?: string | null | undefined;
118
+ updatedById?: string | null | undefined;
125
119
  /**
126
120
  * The last update date of the knowledge base.
127
121
  */
@@ -411,7 +405,6 @@ export const ListKnowledgeBasesData$inboundSchema: z.ZodType<
411
405
  unknown
412
406
  > = z.object({
413
407
  _id: z.string(),
414
- created_by_id: z.string(),
415
408
  created: z.string(),
416
409
  description: z.string().optional(),
417
410
  key: z.string(),
@@ -420,28 +413,29 @@ export const ListKnowledgeBasesData$inboundSchema: z.ZodType<
420
413
  retrieval_settings: z.lazy(() =>
421
414
  ListKnowledgeBasesRetrievalSettings$inboundSchema
422
415
  ).optional(),
423
- update_by_id: z.string(),
416
+ created_by_id: z.nullable(z.string()).optional(),
417
+ updated_by_id: z.nullable(z.string()).optional(),
424
418
  updated: z.string(),
425
419
  }).transform((v) => {
426
420
  return remap$(v, {
427
421
  "_id": "id",
428
- "created_by_id": "createdById",
429
422
  "retrieval_settings": "retrievalSettings",
430
- "update_by_id": "updateById",
423
+ "created_by_id": "createdById",
424
+ "updated_by_id": "updatedById",
431
425
  });
432
426
  });
433
427
 
434
428
  /** @internal */
435
429
  export type ListKnowledgeBasesData$Outbound = {
436
430
  _id: string;
437
- created_by_id: string;
438
431
  created: string;
439
432
  description?: string | undefined;
440
433
  key: string;
441
434
  model: string;
442
435
  path?: string | undefined;
443
436
  retrieval_settings?: ListKnowledgeBasesRetrievalSettings$Outbound | undefined;
444
- update_by_id: string;
437
+ created_by_id?: string | null | undefined;
438
+ updated_by_id?: string | null | undefined;
445
439
  updated: string;
446
440
  };
447
441
 
@@ -452,7 +446,6 @@ export const ListKnowledgeBasesData$outboundSchema: z.ZodType<
452
446
  ListKnowledgeBasesData
453
447
  > = z.object({
454
448
  id: z.string(),
455
- createdById: z.string(),
456
449
  created: z.string(),
457
450
  description: z.string().optional(),
458
451
  key: z.string(),
@@ -461,14 +454,15 @@ export const ListKnowledgeBasesData$outboundSchema: z.ZodType<
461
454
  retrievalSettings: z.lazy(() =>
462
455
  ListKnowledgeBasesRetrievalSettings$outboundSchema
463
456
  ).optional(),
464
- updateById: z.string(),
457
+ createdById: z.nullable(z.string()).optional(),
458
+ updatedById: z.nullable(z.string()).optional(),
465
459
  updated: z.string(),
466
460
  }).transform((v) => {
467
461
  return remap$(v, {
468
462
  id: "_id",
469
- createdById: "created_by_id",
470
463
  retrievalSettings: "retrieval_settings",
471
- updateById: "update_by_id",
464
+ createdById: "created_by_id",
465
+ updatedById: "updated_by_id",
472
466
  });
473
467
  });
474
468
 
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
834
834
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
835
835
  .optional(),
836
836
  updated: z.string().datetime({ offset: true }).default(
837
- "2025-04-03T11:24:14.050Z",
837
+ "2025-04-03T11:44:00.596Z",
838
838
  ).transform(v => new Date(v)),
839
839
  }).transform((v) => {
840
840
  return remap$(v, {
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
877
877
  createdById: z.string().optional(),
878
878
  updatedById: z.string().optional(),
879
879
  created: z.date().transform(v => v.toISOString()).optional(),
880
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
880
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
881
881
  .transform(v => v.toISOString()),
882
882
  }).transform((v) => {
883
883
  return remap$(v, {
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
201
201
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
202
202
  .optional(),
203
203
  updated: z.string().datetime({ offset: true }).default(
204
- "2025-04-03T11:24:14.050Z",
204
+ "2025-04-03T11:44:00.596Z",
205
205
  ).transform(v => new Date(v)),
206
206
  }).transform((v) => {
207
207
  return remap$(v, {
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
241
241
  updatedById: z.string().optional(),
242
242
  metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
243
243
  created: z.date().transform(v => v.toISOString()).optional(),
244
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
244
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
245
245
  .transform(v => v.toISOString()),
246
246
  }).transform((v) => {
247
247
  return remap$(v, {
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
172
172
  z.ZodTypeDef,
173
173
  unknown
174
174
  > = z.object({
175
- _id: z.string().default("01JQXPA4JVNC5GB78N92VV13SQ"),
175
+ _id: z.string().default("01JQXQEBB8JHBJMM8YY0X2KSQG"),
176
176
  display_name: z.string(),
177
177
  description: z.string().optional(),
178
178
  status: RetrieveDatasourceStatus$inboundSchema,
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
216
216
  z.ZodTypeDef,
217
217
  RetrieveDatasourceResponseBody
218
218
  > = z.object({
219
- id: z.string().default("01JQXPA4JVNC5GB78N92VV13SQ"),
219
+ id: z.string().default("01JQXQEBB8JHBJMM8YY0X2KSQG"),
220
220
  displayName: z.string(),
221
221
  description: z.string().optional(),
222
222
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -1638,7 +1638,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
1638
1638
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1639
1639
  .optional(),
1640
1640
  updated: z.string().datetime({ offset: true }).default(
1641
- "2025-04-03T11:24:14.050Z",
1641
+ "2025-04-03T11:44:00.596Z",
1642
1642
  ).transform(v => new Date(v)),
1643
1643
  }).transform((v) => {
1644
1644
  return remap$(v, {
@@ -1682,7 +1682,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
1682
1682
  createdById: z.string().optional(),
1683
1683
  updatedById: z.string().optional(),
1684
1684
  created: z.date().transform(v => v.toISOString()).optional(),
1685
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
1685
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
1686
1686
  .transform(v => v.toISOString()),
1687
1687
  }).transform((v) => {
1688
1688
  return remap$(v, {
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
302
302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
303
303
  .optional(),
304
304
  updated: z.string().datetime({ offset: true }).default(
305
- "2025-04-03T11:24:14.050Z",
305
+ "2025-04-03T11:44:00.596Z",
306
306
  ).transform(v => new Date(v)),
307
307
  }).transform((v) => {
308
308
  return remap$(v, {
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
347
347
  parentId: z.string().optional(),
348
348
  version: z.string().optional(),
349
349
  created: z.date().transform(v => v.toISOString()).optional(),
350
- updated: z.date().default(() => new Date("2025-04-03T11:24:14.050Z"))
350
+ updated: z.date().default(() => new Date("2025-04-03T11:44:00.596Z"))
351
351
  .transform(v => v.toISOString()),
352
352
  }).transform((v) => {
353
353
  return remap$(v, {
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
244
244
  z.ZodTypeDef,
245
245
  unknown
246
246
  > = z.object({
247
- _id: z.string().default("01JQXPA4JXA1FHXCBRFW1M385K"),
247
+ _id: z.string().default("01JQXQEBBAB8S0FB1VGKH4AV4R"),
248
248
  display_name: z.string(),
249
249
  description: z.string().optional(),
250
250
  status: UpdateDatasourceStatus$inboundSchema,
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
288
288
  z.ZodTypeDef,
289
289
  UpdateDatasourceResponseBody
290
290
  > = z.object({
291
- id: z.string().default("01JQXPA4JXA1FHXCBRFW1M385K"),
291
+ id: z.string().default("01JQXQEBBAB8S0FB1VGKH4AV4R"),
292
292
  displayName: z.string(),
293
293
  description: z.string().optional(),
294
294
  status: UpdateDatasourceStatus$outboundSchema,
@@ -146,10 +146,6 @@ export type UpdateKnowledgeResponseBody = {
146
146
  * The unique identifier of the knowledge base.
147
147
  */
148
148
  id: string;
149
- /**
150
- * The id of the resource
151
- */
152
- createdById: string;
153
149
  /**
154
150
  * The creation date of the knowledge base.
155
151
  */
@@ -174,10 +170,8 @@ export type UpdateKnowledgeResponseBody = {
174
170
  * The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
175
171
  */
176
172
  retrievalSettings?: UpdateKnowledgeKnowledgeRetrievalSettings | undefined;
177
- /**
178
- * The id of the resource
179
- */
180
- updateById: string;
173
+ createdById?: string | null | undefined;
174
+ updatedById?: string | null | undefined;
181
175
  /**
182
176
  * The last update date of the knowledge base.
183
177
  */
@@ -699,7 +693,6 @@ export const UpdateKnowledgeResponseBody$inboundSchema: z.ZodType<
699
693
  unknown
700
694
  > = z.object({
701
695
  _id: z.string(),
702
- created_by_id: z.string(),
703
696
  created: z.string(),
704
697
  description: z.string().optional(),
705
698
  key: z.string(),
@@ -708,21 +701,21 @@ export const UpdateKnowledgeResponseBody$inboundSchema: z.ZodType<
708
701
  retrieval_settings: z.lazy(() =>
709
702
  UpdateKnowledgeKnowledgeRetrievalSettings$inboundSchema
710
703
  ).optional(),
711
- update_by_id: z.string(),
704
+ created_by_id: z.nullable(z.string()).optional(),
705
+ updated_by_id: z.nullable(z.string()).optional(),
712
706
  updated: z.string(),
713
707
  }).transform((v) => {
714
708
  return remap$(v, {
715
709
  "_id": "id",
716
- "created_by_id": "createdById",
717
710
  "retrieval_settings": "retrievalSettings",
718
- "update_by_id": "updateById",
711
+ "created_by_id": "createdById",
712
+ "updated_by_id": "updatedById",
719
713
  });
720
714
  });
721
715
 
722
716
  /** @internal */
723
717
  export type UpdateKnowledgeResponseBody$Outbound = {
724
718
  _id: string;
725
- created_by_id: string;
726
719
  created: string;
727
720
  description?: string | undefined;
728
721
  key: string;
@@ -731,7 +724,8 @@ export type UpdateKnowledgeResponseBody$Outbound = {
731
724
  retrieval_settings?:
732
725
  | UpdateKnowledgeKnowledgeRetrievalSettings$Outbound
733
726
  | undefined;
734
- update_by_id: string;
727
+ created_by_id?: string | null | undefined;
728
+ updated_by_id?: string | null | undefined;
735
729
  updated: string;
736
730
  };
737
731
 
@@ -742,7 +736,6 @@ export const UpdateKnowledgeResponseBody$outboundSchema: z.ZodType<
742
736
  UpdateKnowledgeResponseBody
743
737
  > = z.object({
744
738
  id: z.string(),
745
- createdById: z.string(),
746
739
  created: z.string(),
747
740
  description: z.string().optional(),
748
741
  key: z.string(),
@@ -751,14 +744,15 @@ export const UpdateKnowledgeResponseBody$outboundSchema: z.ZodType<
751
744
  retrievalSettings: z.lazy(() =>
752
745
  UpdateKnowledgeKnowledgeRetrievalSettings$outboundSchema
753
746
  ).optional(),
754
- updateById: z.string(),
747
+ createdById: z.nullable(z.string()).optional(),
748
+ updatedById: z.nullable(z.string()).optional(),
755
749
  updated: z.string(),
756
750
  }).transform((v) => {
757
751
  return remap$(v, {
758
752
  id: "_id",
759
- createdById: "created_by_id",
760
753
  retrievalSettings: "retrieval_settings",
761
- updateById: "update_by_id",
754
+ createdById: "created_by_id",
755
+ updatedById: "updated_by_id",
762
756
  });
763
757
  });
764
758