@orq-ai/node 4.2.3 → 4.2.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.
Files changed (155) hide show
  1. package/examples/package-lock.json +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/conversationresponse.js +1 -1
  6. package/models/components/conversationwithmessagesresponse.js +1 -1
  7. package/models/components/partdoneevent.js +1 -1
  8. package/models/components/reasoningpart.js +1 -1
  9. package/models/operations/createcontact.js +1 -1
  10. package/models/operations/createconversation.js +1 -1
  11. package/models/operations/createconversationresponse.js +2 -2
  12. package/models/operations/createdataset.js +1 -1
  13. package/models/operations/createdatasetitem.js +4 -4
  14. package/models/operations/createdatasource.js +1 -1
  15. package/models/operations/createeval.js +14 -14
  16. package/models/operations/createidentity.js +1 -1
  17. package/models/operations/createtool.js +6 -6
  18. package/models/operations/fileget.js +1 -1
  19. package/models/operations/filelist.js +1 -1
  20. package/models/operations/fileupload.js +1 -1
  21. package/models/operations/generateconversationname.js +1 -1
  22. package/models/operations/getalltools.js +6 -6
  23. package/models/operations/getevals.js +14 -14
  24. package/models/operations/listdatasetdatapoints.js +4 -4
  25. package/models/operations/listdatasets.js +1 -1
  26. package/models/operations/listdatasources.js +1 -1
  27. package/models/operations/listidentities.js +1 -1
  28. package/models/operations/retrievedatapoint.js +4 -4
  29. package/models/operations/retrievedataset.js +1 -1
  30. package/models/operations/retrievedatasource.js +1 -1
  31. package/models/operations/retrieveidentity.js +1 -1
  32. package/models/operations/retrievetool.js +6 -6
  33. package/models/operations/runagent.js +1 -1
  34. package/models/operations/streamrunagent.js +1 -1
  35. package/models/operations/updateconversation.js +1 -1
  36. package/models/operations/updatedatapoint.js +4 -4
  37. package/models/operations/updatedataset.js +1 -1
  38. package/models/operations/updatedatasource.js +1 -1
  39. package/models/operations/updateeval.js +14 -14
  40. package/models/operations/updateidentity.js +1 -1
  41. package/models/operations/updatetool.js +7 -7
  42. package/package.json +1 -1
  43. package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
  44. package/packages/orq-rc/examples/package-lock.json +1 -1
  45. package/packages/orq-rc/jsr.json +1 -1
  46. package/packages/orq-rc/package-lock.json +2 -2
  47. package/packages/orq-rc/package.json +1 -1
  48. package/packages/orq-rc/src/funcs/contactsCreate.ts +7 -14
  49. package/packages/orq-rc/src/lib/config.ts +2 -2
  50. package/packages/orq-rc/src/models/components/conversationresponse.ts +1 -1
  51. package/packages/orq-rc/src/models/components/conversationwithmessagesresponse.ts +1 -1
  52. package/packages/orq-rc/src/models/components/index.ts +1 -0
  53. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +11 -0
  54. package/packages/orq-rc/src/models/components/partdoneevent.ts +1 -1
  55. package/packages/orq-rc/src/models/components/publiccontact.ts +3 -1
  56. package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
  57. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  58. package/packages/orq-rc/src/models/errors/index.ts +0 -3
  59. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +11 -78
  60. package/packages/orq-rc/src/models/operations/createcompletion.ts +11 -75
  61. package/packages/orq-rc/src/models/operations/createcontact.ts +3 -9
  62. package/packages/orq-rc/src/models/operations/createconversation.ts +1 -1
  63. package/packages/orq-rc/src/models/operations/createconversationresponse.ts +2 -2
  64. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  65. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  66. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  67. package/packages/orq-rc/src/models/operations/createembedding.ts +11 -75
  68. package/packages/orq-rc/src/models/operations/createeval.ts +14 -14
  69. package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
  70. package/packages/orq-rc/src/models/operations/createimage.ts +11 -75
  71. package/packages/orq-rc/src/models/operations/createimageedit.ts +11 -75
  72. package/packages/orq-rc/src/models/operations/createimagevariation.ts +11 -77
  73. package/packages/orq-rc/src/models/operations/creatererank.ts +11 -75
  74. package/packages/orq-rc/src/models/operations/createspeech.ts +11 -75
  75. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  76. package/packages/orq-rc/src/models/operations/createtranscription.ts +11 -75
  77. package/packages/orq-rc/src/models/operations/createtranslation.ts +11 -75
  78. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -0
  79. package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -0
  80. package/packages/orq-rc/src/models/operations/fileget.ts +1 -1
  81. package/packages/orq-rc/src/models/operations/filelist.ts +1 -1
  82. package/packages/orq-rc/src/models/operations/fileupload.ts +1 -1
  83. package/packages/orq-rc/src/models/operations/generateconversationname.ts +1 -1
  84. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  85. package/packages/orq-rc/src/models/operations/getevals.ts +35 -39
  86. package/packages/orq-rc/src/models/operations/index.ts +0 -4
  87. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  88. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  89. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  90. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  91. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  92. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  93. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  94. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
  95. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  96. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  97. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  98. package/packages/orq-rc/src/models/operations/updateconversation.ts +1 -1
  99. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  100. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  101. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  102. package/packages/orq-rc/src/models/operations/updateeval.ts +14 -14
  103. package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
  104. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  105. package/packages/orq-rc/src/sdk/contacts.ts +3 -85
  106. package/src/lib/config.ts +2 -2
  107. package/src/models/components/conversationresponse.ts +1 -1
  108. package/src/models/components/conversationwithmessagesresponse.ts +1 -1
  109. package/src/models/components/partdoneevent.ts +1 -1
  110. package/src/models/components/reasoningpart.ts +1 -1
  111. package/src/models/operations/createcontact.ts +1 -1
  112. package/src/models/operations/createconversation.ts +1 -1
  113. package/src/models/operations/createconversationresponse.ts +2 -2
  114. package/src/models/operations/createdataset.ts +1 -1
  115. package/src/models/operations/createdatasetitem.ts +4 -4
  116. package/src/models/operations/createdatasource.ts +1 -1
  117. package/src/models/operations/createeval.ts +14 -14
  118. package/src/models/operations/createidentity.ts +1 -1
  119. package/src/models/operations/createtool.ts +6 -6
  120. package/src/models/operations/fileget.ts +1 -1
  121. package/src/models/operations/filelist.ts +1 -1
  122. package/src/models/operations/fileupload.ts +1 -1
  123. package/src/models/operations/generateconversationname.ts +1 -1
  124. package/src/models/operations/getalltools.ts +6 -6
  125. package/src/models/operations/getevals.ts +14 -14
  126. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  127. package/src/models/operations/listdatasets.ts +1 -1
  128. package/src/models/operations/listdatasources.ts +1 -1
  129. package/src/models/operations/listidentities.ts +1 -1
  130. package/src/models/operations/retrievedatapoint.ts +4 -4
  131. package/src/models/operations/retrievedataset.ts +1 -1
  132. package/src/models/operations/retrievedatasource.ts +1 -1
  133. package/src/models/operations/retrieveidentity.ts +1 -1
  134. package/src/models/operations/retrievetool.ts +6 -6
  135. package/src/models/operations/runagent.ts +1 -1
  136. package/src/models/operations/streamrunagent.ts +1 -1
  137. package/src/models/operations/updateconversation.ts +1 -1
  138. package/src/models/operations/updatedatapoint.ts +4 -4
  139. package/src/models/operations/updatedataset.ts +1 -1
  140. package/src/models/operations/updatedatasource.ts +1 -1
  141. package/src/models/operations/updateeval.ts +14 -14
  142. package/src/models/operations/updateidentity.ts +1 -1
  143. package/src/models/operations/updatetool.ts +7 -7
  144. package/packages/orq-rc/examples/feedbackCreate.example.ts +0 -32
  145. package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -178
  146. package/packages/orq-rc/src/funcs/contactsList.ts +0 -172
  147. package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -177
  148. package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -178
  149. package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -62
  150. package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -62
  151. package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -54
  152. package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -34
  153. package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -274
  154. package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -117
  155. package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -188
@@ -68,38 +68,6 @@ export type CreateTranscriptionRetry = {
68
68
  onCodes?: Array<number> | undefined;
69
69
  };
70
70
 
71
- /**
72
- * @deprecated Use identity instead. Information about the contact making the request.
73
- *
74
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
75
- */
76
- export type CreateTranscriptionContact = {
77
- /**
78
- * Unique identifier for the contact
79
- */
80
- id: string;
81
- /**
82
- * Display name of the contact
83
- */
84
- displayName?: string | undefined;
85
- /**
86
- * Email address of the contact
87
- */
88
- email?: string | undefined;
89
- /**
90
- * A hash of key/value pairs containing any other data about the contact
91
- */
92
- metadata?: Array<{ [k: string]: any }> | undefined;
93
- /**
94
- * URL to the contact's avatar or logo
95
- */
96
- logoUrl?: string | undefined;
97
- /**
98
- * A list of tags associated with the contact
99
- */
100
- tags?: Array<string> | undefined;
101
- };
102
-
103
71
  export const CreateTranscriptionLoadBalancerType = {
104
72
  WeightBased: "weight_based",
105
73
  } as const;
@@ -154,8 +122,13 @@ export type CreateTranscriptionOrq = {
154
122
  /**
155
123
  * Information about the identity making the request. If the identity does not exist, it will be created automatically.
156
124
  */
157
- identity?: components.PublicContact | undefined;
158
- contact?: CreateTranscriptionContact | undefined;
125
+ identity?: components.PublicIdentity | undefined;
126
+ /**
127
+ * @deprecated Use identity instead. Information about the contact making the request.
128
+ *
129
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
130
+ */
131
+ contact?: components.PublicContact | undefined;
159
132
  /**
160
133
  * Array of models with weights for load balancing requests
161
134
  */
@@ -333,43 +306,6 @@ export function createTranscriptionRetryToJSON(
333
306
  );
334
307
  }
335
308
 
336
- /** @internal */
337
- export type CreateTranscriptionContact$Outbound = {
338
- id: string;
339
- display_name?: string | undefined;
340
- email?: string | undefined;
341
- metadata?: Array<{ [k: string]: any }> | undefined;
342
- logo_url?: string | undefined;
343
- tags?: Array<string> | undefined;
344
- };
345
-
346
- /** @internal */
347
- export const CreateTranscriptionContact$outboundSchema: z.ZodType<
348
- CreateTranscriptionContact$Outbound,
349
- z.ZodTypeDef,
350
- CreateTranscriptionContact
351
- > = z.object({
352
- id: z.string(),
353
- displayName: z.string().optional(),
354
- email: z.string().optional(),
355
- metadata: z.array(z.record(z.any())).optional(),
356
- logoUrl: z.string().optional(),
357
- tags: z.array(z.string()).optional(),
358
- }).transform((v) => {
359
- return remap$(v, {
360
- displayName: "display_name",
361
- logoUrl: "logo_url",
362
- });
363
- });
364
-
365
- export function createTranscriptionContactToJSON(
366
- createTranscriptionContact: CreateTranscriptionContact,
367
- ): string {
368
- return JSON.stringify(
369
- CreateTranscriptionContact$outboundSchema.parse(createTranscriptionContact),
370
- );
371
- }
372
-
373
309
  /** @internal */
374
310
  export const CreateTranscriptionLoadBalancerType$outboundSchema:
375
311
  z.ZodNativeEnum<typeof CreateTranscriptionLoadBalancerType> = z.nativeEnum(
@@ -482,8 +418,8 @@ export type CreateTranscriptionOrq$Outbound = {
482
418
  name?: string | undefined;
483
419
  fallbacks?: Array<CreateTranscriptionFallbacks$Outbound> | undefined;
484
420
  retry?: CreateTranscriptionRetry$Outbound | undefined;
485
- identity?: components.PublicContact$Outbound | undefined;
486
- contact?: CreateTranscriptionContact$Outbound | undefined;
421
+ identity?: components.PublicIdentity$Outbound | undefined;
422
+ contact?: components.PublicContact$Outbound | undefined;
487
423
  load_balancer?: CreateTranscriptionLoadBalancer1$Outbound | undefined;
488
424
  timeout?: CreateTranscriptionTimeout$Outbound | undefined;
489
425
  };
@@ -498,8 +434,8 @@ export const CreateTranscriptionOrq$outboundSchema: z.ZodType<
498
434
  fallbacks: z.array(z.lazy(() => CreateTranscriptionFallbacks$outboundSchema))
499
435
  .optional(),
500
436
  retry: z.lazy(() => CreateTranscriptionRetry$outboundSchema).optional(),
501
- identity: components.PublicContact$outboundSchema.optional(),
502
- contact: z.lazy(() => CreateTranscriptionContact$outboundSchema).optional(),
437
+ identity: components.PublicIdentity$outboundSchema.optional(),
438
+ contact: components.PublicContact$outboundSchema.optional(),
503
439
  loadBalancer: z.lazy(() => CreateTranscriptionLoadBalancer1$outboundSchema)
504
440
  .optional(),
505
441
  timeout: z.lazy(() => CreateTranscriptionTimeout$outboundSchema).optional(),
@@ -64,38 +64,6 @@ export type CreateTranslationRetry = {
64
64
  onCodes?: Array<number> | undefined;
65
65
  };
66
66
 
67
- /**
68
- * @deprecated Use identity instead. Information about the contact making the request.
69
- *
70
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
71
- */
72
- export type CreateTranslationContact = {
73
- /**
74
- * Unique identifier for the contact
75
- */
76
- id: string;
77
- /**
78
- * Display name of the contact
79
- */
80
- displayName?: string | undefined;
81
- /**
82
- * Email address of the contact
83
- */
84
- email?: string | undefined;
85
- /**
86
- * A hash of key/value pairs containing any other data about the contact
87
- */
88
- metadata?: Array<{ [k: string]: any }> | undefined;
89
- /**
90
- * URL to the contact's avatar or logo
91
- */
92
- logoUrl?: string | undefined;
93
- /**
94
- * A list of tags associated with the contact
95
- */
96
- tags?: Array<string> | undefined;
97
- };
98
-
99
67
  export const CreateTranslationLoadBalancerType = {
100
68
  WeightBased: "weight_based",
101
69
  } as const;
@@ -150,8 +118,13 @@ export type CreateTranslationOrq = {
150
118
  /**
151
119
  * Information about the identity making the request. If the identity does not exist, it will be created automatically.
152
120
  */
153
- identity?: components.PublicContact | undefined;
154
- contact?: CreateTranslationContact | undefined;
121
+ identity?: components.PublicIdentity | undefined;
122
+ /**
123
+ * @deprecated Use identity instead. Information about the contact making the request.
124
+ *
125
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
126
+ */
127
+ contact?: components.PublicContact | undefined;
155
128
  /**
156
129
  * Array of models with weights for load balancing requests
157
130
  */
@@ -315,43 +288,6 @@ export function createTranslationRetryToJSON(
315
288
  );
316
289
  }
317
290
 
318
- /** @internal */
319
- export type CreateTranslationContact$Outbound = {
320
- id: string;
321
- display_name?: string | undefined;
322
- email?: string | undefined;
323
- metadata?: Array<{ [k: string]: any }> | undefined;
324
- logo_url?: string | undefined;
325
- tags?: Array<string> | undefined;
326
- };
327
-
328
- /** @internal */
329
- export const CreateTranslationContact$outboundSchema: z.ZodType<
330
- CreateTranslationContact$Outbound,
331
- z.ZodTypeDef,
332
- CreateTranslationContact
333
- > = z.object({
334
- id: z.string(),
335
- displayName: z.string().optional(),
336
- email: z.string().optional(),
337
- metadata: z.array(z.record(z.any())).optional(),
338
- logoUrl: z.string().optional(),
339
- tags: z.array(z.string()).optional(),
340
- }).transform((v) => {
341
- return remap$(v, {
342
- displayName: "display_name",
343
- logoUrl: "logo_url",
344
- });
345
- });
346
-
347
- export function createTranslationContactToJSON(
348
- createTranslationContact: CreateTranslationContact,
349
- ): string {
350
- return JSON.stringify(
351
- CreateTranslationContact$outboundSchema.parse(createTranslationContact),
352
- );
353
- }
354
-
355
291
  /** @internal */
356
292
  export const CreateTranslationLoadBalancerType$outboundSchema: z.ZodNativeEnum<
357
293
  typeof CreateTranslationLoadBalancerType
@@ -463,8 +399,8 @@ export type CreateTranslationOrq$Outbound = {
463
399
  name?: string | undefined;
464
400
  fallbacks?: Array<CreateTranslationFallbacks$Outbound> | undefined;
465
401
  retry?: CreateTranslationRetry$Outbound | undefined;
466
- identity?: components.PublicContact$Outbound | undefined;
467
- contact?: CreateTranslationContact$Outbound | undefined;
402
+ identity?: components.PublicIdentity$Outbound | undefined;
403
+ contact?: components.PublicContact$Outbound | undefined;
468
404
  load_balancer?: CreateTranslationLoadBalancer1$Outbound | undefined;
469
405
  timeout?: CreateTranslationTimeout$Outbound | undefined;
470
406
  };
@@ -479,8 +415,8 @@ export const CreateTranslationOrq$outboundSchema: z.ZodType<
479
415
  fallbacks: z.array(z.lazy(() => CreateTranslationFallbacks$outboundSchema))
480
416
  .optional(),
481
417
  retry: z.lazy(() => CreateTranslationRetry$outboundSchema).optional(),
482
- identity: components.PublicContact$outboundSchema.optional(),
483
- contact: z.lazy(() => CreateTranslationContact$outboundSchema).optional(),
418
+ identity: components.PublicIdentity$outboundSchema.optional(),
419
+ contact: components.PublicContact$outboundSchema.optional(),
484
420
  loadBalancer: z.lazy(() => CreateTranslationLoadBalancer1$outboundSchema)
485
421
  .optional(),
486
422
  timeout: z.lazy(() => CreateTranslationTimeout$outboundSchema).optional(),
@@ -1089,6 +1089,10 @@ export type DeploymentGetConfigRequestBody = {
1089
1089
  | MessagesToolMessage
1090
1090
  >
1091
1091
  | undefined;
1092
+ /**
1093
+ * Information about the identity making the request. If the identity does not exist, it will be created automatically.
1094
+ */
1095
+ identity?: components.PublicIdentity | undefined;
1092
1096
  /**
1093
1097
  * A list of file IDs that are associated with the deployment request.
1094
1098
  */
@@ -3867,6 +3871,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
3867
3871
  | MessagesToolMessage$Outbound
3868
3872
  >
3869
3873
  | undefined;
3874
+ identity?: components.PublicIdentity$Outbound | undefined;
3870
3875
  file_ids?: Array<string> | undefined;
3871
3876
  metadata?: { [k: string]: any } | undefined;
3872
3877
  extra_params?: { [k: string]: any } | undefined;
@@ -3914,6 +3919,7 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
3914
3919
  z.lazy(() => MessagesToolMessage$outboundSchema),
3915
3920
  ]),
3916
3921
  ).optional(),
3922
+ identity: components.PublicIdentity$outboundSchema.optional(),
3917
3923
  fileIds: z.array(z.string()).optional(),
3918
3924
  metadata: z.record(z.any()).optional(),
3919
3925
  extraParams: z.record(z.any()).optional(),
@@ -1118,6 +1118,10 @@ export type DeploymentStreamRequestBody = {
1118
1118
  | DeploymentStreamMessagesToolMessage
1119
1119
  >
1120
1120
  | undefined;
1121
+ /**
1122
+ * Information about the identity making the request. If the identity does not exist, it will be created automatically.
1123
+ */
1124
+ identity?: components.PublicIdentity | undefined;
1121
1125
  /**
1122
1126
  * A list of file IDs that are associated with the deployment request.
1123
1127
  */
@@ -4095,6 +4099,7 @@ export type DeploymentStreamRequestBody$Outbound = {
4095
4099
  | DeploymentStreamMessagesToolMessage$Outbound
4096
4100
  >
4097
4101
  | undefined;
4102
+ identity?: components.PublicIdentity$Outbound | undefined;
4098
4103
  file_ids?: Array<string> | undefined;
4099
4104
  metadata?: { [k: string]: any } | undefined;
4100
4105
  extra_params?: { [k: string]: any } | undefined;
@@ -4146,6 +4151,7 @@ export const DeploymentStreamRequestBody$outboundSchema: z.ZodType<
4146
4151
  z.lazy(() => DeploymentStreamMessagesToolMessage$outboundSchema),
4147
4152
  ]),
4148
4153
  ).optional(),
4154
+ identity: components.PublicIdentity$outboundSchema.optional(),
4149
4155
  fileIds: z.array(z.string()).optional(),
4150
4156
  metadata: z.record(z.any()).optional(),
4151
4157
  extraParams: z.record(z.any()).optional(),
@@ -94,7 +94,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
94
94
  file_name: z.string(),
95
95
  workspace_id: z.string(),
96
96
  created: z.string().datetime({ offset: true }).default(
97
- "2026-01-23T09:49:05.510Z",
97
+ "2026-01-24T23:05:35.297Z",
98
98
  ).transform(v => new Date(v)),
99
99
  }).transform((v) => {
100
100
  return remap$(v, {
@@ -125,7 +125,7 @@ export const FileListData$inboundSchema: z.ZodType<
125
125
  file_name: z.string(),
126
126
  workspace_id: z.string(),
127
127
  created: z.string().datetime({ offset: true }).default(
128
- "2026-01-23T09:49:05.510Z",
128
+ "2026-01-24T23:05:35.297Z",
129
129
  ).transform(v => new Date(v)),
130
130
  }).transform((v) => {
131
131
  return remap$(v, {
@@ -148,7 +148,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
148
148
  file_name: z.string(),
149
149
  workspace_id: z.string(),
150
150
  created: z.string().datetime({ offset: true }).default(
151
- "2026-01-23T09:49:05.510Z",
151
+ "2026-01-24T23:05:35.297Z",
152
152
  ).transform(v => new Date(v)),
153
153
  }).transform((v) => {
154
154
  return remap$(v, {
@@ -180,7 +180,7 @@ export const GenerateConversationNameResponseBody$inboundSchema: z.ZodType<
180
180
  z.ZodTypeDef,
181
181
  unknown
182
182
  > = z.object({
183
- _id: z.string().default("conv_01kfn442kzpms7rn4xzt9pxyzv"),
183
+ _id: z.string().default("conv_01kfs437myc66mw5yq6gsyv3jp"),
184
184
  kind: GenerateConversationNameKind$inboundSchema,
185
185
  displayName: z.string(),
186
186
  createdAt: z.number(),
@@ -768,7 +768,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
768
768
  z.ZodTypeDef,
769
769
  unknown
770
770
  > = z.object({
771
- _id: z.string().default("tool_01KFN44300RWV5933CNG64RDG5"),
771
+ _id: z.string().default("tool_01KFS437ZZTNEE384Z90983PXP"),
772
772
  path: z.string(),
773
773
  key: z.string(),
774
774
  display_name: z.string().optional(),
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
867
867
  z.ZodTypeDef,
868
868
  unknown
869
869
  > = z.object({
870
- id: z.string().default("01KFN442ZZZNSP424NGBZVF3YF"),
870
+ id: z.string().default("01KFS437ZY2ARY6XMGQ7KQE07G"),
871
871
  name: z.string(),
872
872
  description: z.string().optional(),
873
873
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -918,7 +918,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
918
918
  z.ZodTypeDef,
919
919
  unknown
920
920
  > = z.object({
921
- _id: z.string().default("tool_01KFN442ZXRB1YNMPXSM83WT5M"),
921
+ _id: z.string().default("tool_01KFS437ZXV8Y2776M7Y4JEM1E"),
922
922
  path: z.string(),
923
923
  key: z.string(),
924
924
  display_name: z.string().optional(),
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1105
1105
  z.ZodTypeDef,
1106
1106
  unknown
1107
1107
  > = z.object({
1108
- _id: z.string().default("tool_01KFN442ZT1B0MVVPCS665PQTW"),
1108
+ _id: z.string().default("tool_01KFS437ZV6B6PE7CPFTTWR99Y"),
1109
1109
  path: z.string(),
1110
1110
  key: z.string(),
1111
1111
  display_name: z.string().optional(),
@@ -1200,7 +1200,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1200
1200
  z.ZodTypeDef,
1201
1201
  unknown
1202
1202
  > = z.object({
1203
- _id: z.string().default("tool_01KFN442ZRB4K38WJQKAW6887Q"),
1203
+ _id: z.string().default("tool_01KFS437ZT3B1NHZHEACD2ZKBA"),
1204
1204
  path: z.string(),
1205
1205
  key: z.string(),
1206
1206
  display_name: z.string().optional(),
@@ -1304,7 +1304,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1304
1304
  z.ZodTypeDef,
1305
1305
  unknown
1306
1306
  > = z.object({
1307
- _id: z.string().default("tool_01KFN442ZQ1VZQFQJYMSVV1W9T"),
1307
+ _id: z.string().default("tool_01KFS437ZSMYAAVZSSAYCZ31XC"),
1308
1308
  path: z.string(),
1309
1309
  key: z.string(),
1310
1310
  display_name: z.string().optional(),
@@ -24,10 +24,10 @@ export type GetEvalsRequest = {
24
24
  endingBefore?: string | undefined;
25
25
  };
26
26
 
27
- export const GetEvalsObject = {
27
+ export const ObjectT = {
28
28
  List: "list",
29
29
  } as const;
30
- export type GetEvalsObject = ClosedEnum<typeof GetEvalsObject>;
30
+ export type ObjectT = ClosedEnum<typeof ObjectT>;
31
31
 
32
32
  export const GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONOperator = {
33
33
  Eq: "eq",
@@ -588,7 +588,7 @@ export type DataLLM = {
588
588
  model: string;
589
589
  };
590
590
 
591
- export type GetEvalsData =
591
+ export type Data =
592
592
  | DataLLM
593
593
  | DataJSON
594
594
  | DataHTTP
@@ -601,7 +601,7 @@ export type GetEvalsData =
601
601
  * Returns a list of evals
602
602
  */
603
603
  export type GetEvalsResponseBody = {
604
- object: GetEvalsObject;
604
+ object: ObjectT;
605
605
  data: Array<
606
606
  | DataLLM
607
607
  | DataJSON
@@ -644,9 +644,8 @@ export function getEvalsRequestToJSON(
644
644
  }
645
645
 
646
646
  /** @internal */
647
- export const GetEvalsObject$inboundSchema: z.ZodNativeEnum<
648
- typeof GetEvalsObject
649
- > = z.nativeEnum(GetEvalsObject);
647
+ export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
648
+ .nativeEnum(ObjectT);
650
649
 
651
650
  /** @internal */
652
651
  export const GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONOperator$inboundSchema:
@@ -760,8 +759,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
760
759
  > = z.object({
761
760
  _id: z.string(),
762
761
  description: z.string(),
763
- created: z.string().default("2026-01-23T09:49:04.371Z"),
764
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
762
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
763
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
765
764
  guardrail_config: z.union([
766
765
  z.lazy(() =>
767
766
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
@@ -902,8 +901,8 @@ export const DataRagas$inboundSchema: z.ZodType<
902
901
  > = z.object({
903
902
  _id: z.string(),
904
903
  description: z.string(),
905
- created: z.string().default("2026-01-23T09:49:04.371Z"),
906
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
904
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
905
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
907
906
  guardrail_config: z.union([
908
907
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
909
908
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
@@ -1703,8 +1702,8 @@ export const DataFunction$inboundSchema: z.ZodType<
1703
1702
  > = z.object({
1704
1703
  _id: z.string(),
1705
1704
  description: z.string(),
1706
- created: z.string().default("2026-01-23T09:49:04.371Z"),
1707
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
1705
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
1706
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
1708
1707
  guardrail_config: z.union([
1709
1708
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
1710
1709
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
@@ -1852,8 +1851,8 @@ export const DataPython$inboundSchema: z.ZodType<
1852
1851
  > = z.object({
1853
1852
  _id: z.string(),
1854
1853
  description: z.string(),
1855
- created: z.string().default("2026-01-23T09:49:04.371Z"),
1856
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
1854
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
1855
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
1857
1856
  guardrail_config: z.union([
1858
1857
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
1859
1858
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
@@ -1968,8 +1967,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
1968
1967
  > = z.object({
1969
1968
  _id: z.string(),
1970
1969
  description: z.string(),
1971
- created: z.string().default("2026-01-23T09:49:04.371Z"),
1972
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
1970
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
1971
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
1973
1972
  guardrail_config: z.union([
1974
1973
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
1975
1974
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
@@ -2103,8 +2102,8 @@ export const DataJSON$inboundSchema: z.ZodType<
2103
2102
  > = z.object({
2104
2103
  _id: z.string(),
2105
2104
  description: z.string(),
2106
- created: z.string().default("2026-01-23T09:49:04.371Z"),
2107
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
2105
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
2106
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
2108
2107
  guardrail_config: z.union([
2109
2108
  z.lazy(() =>
2110
2109
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
@@ -2242,8 +2241,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
2242
2241
  z.object({
2243
2242
  _id: z.string(),
2244
2243
  description: z.string(),
2245
- created: z.string().default("2026-01-23T09:49:04.371Z"),
2246
- updated: z.string().default("2026-01-23T09:49:04.371Z"),
2244
+ created: z.string().default("2026-01-24T23:05:33.746Z"),
2245
+ updated: z.string().default("2026-01-24T23:05:33.746Z"),
2247
2246
  guardrail_config: z.union([
2248
2247
  z.lazy(() =>
2249
2248
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
@@ -2274,27 +2273,24 @@ export function dataLLMFromJSON(
2274
2273
  }
2275
2274
 
2276
2275
  /** @internal */
2277
- export const GetEvalsData$inboundSchema: z.ZodType<
2278
- GetEvalsData,
2279
- z.ZodTypeDef,
2280
- unknown
2281
- > = z.union([
2282
- z.lazy(() => DataLLM$inboundSchema),
2283
- z.lazy(() => DataJSON$inboundSchema),
2284
- z.lazy(() => DataHTTP$inboundSchema),
2285
- z.lazy(() => DataPython$inboundSchema),
2286
- z.lazy(() => DataFunction$inboundSchema),
2287
- z.lazy(() => DataRagas$inboundSchema),
2288
- z.lazy(() => DataTypescript$inboundSchema),
2289
- ]);
2276
+ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
2277
+ .union([
2278
+ z.lazy(() => DataLLM$inboundSchema),
2279
+ z.lazy(() => DataJSON$inboundSchema),
2280
+ z.lazy(() => DataHTTP$inboundSchema),
2281
+ z.lazy(() => DataPython$inboundSchema),
2282
+ z.lazy(() => DataFunction$inboundSchema),
2283
+ z.lazy(() => DataRagas$inboundSchema),
2284
+ z.lazy(() => DataTypescript$inboundSchema),
2285
+ ]);
2290
2286
 
2291
- export function getEvalsDataFromJSON(
2287
+ export function dataFromJSON(
2292
2288
  jsonString: string,
2293
- ): SafeParseResult<GetEvalsData, SDKValidationError> {
2289
+ ): SafeParseResult<Data, SDKValidationError> {
2294
2290
  return safeParse(
2295
2291
  jsonString,
2296
- (x) => GetEvalsData$inboundSchema.parse(JSON.parse(x)),
2297
- `Failed to parse 'GetEvalsData' from JSON`,
2292
+ (x) => Data$inboundSchema.parse(JSON.parse(x)),
2293
+ `Failed to parse 'Data' from JSON`,
2298
2294
  );
2299
2295
  }
2300
2296
 
@@ -2304,7 +2300,7 @@ export const GetEvalsResponseBody$inboundSchema: z.ZodType<
2304
2300
  z.ZodTypeDef,
2305
2301
  unknown
2306
2302
  > = z.object({
2307
- object: GetEvalsObject$inboundSchema,
2303
+ object: ObjectT$inboundSchema,
2308
2304
  data: z.array(
2309
2305
  z.union([
2310
2306
  z.lazy(() => DataLLM$inboundSchema),
@@ -36,7 +36,6 @@ export * from "./createtranslation.js";
36
36
  export * from "./deleteagent.js";
37
37
  export * from "./deletechunk.js";
38
38
  export * from "./deletechunks.js";
39
- export * from "./deletecontact.js";
40
39
  export * from "./deleteconversation.js";
41
40
  export * from "./deletedatapoint.js";
42
41
  export * from "./deletedataset.js";
@@ -78,7 +77,6 @@ export * from "./invokeeval.js";
78
77
  export * from "./listagents.js";
79
78
  export * from "./listchunks.js";
80
79
  export * from "./listchunkspaginated.js";
81
- export * from "./listcontacts.js";
82
80
  export * from "./listconversations.js";
83
81
  export * from "./listdatasetdatapoints.js";
84
82
  export * from "./listdatasets.js";
@@ -91,7 +89,6 @@ export * from "./parse.js";
91
89
  export * from "./postv2routerocr.js";
92
90
  export * from "./remoteconfigsgetconfig.js";
93
91
  export * from "./retrieveagentrequest.js";
94
- export * from "./retrievecontact.js";
95
92
  export * from "./retrieveconversation.js";
96
93
  export * from "./retrievedatapoint.js";
97
94
  export * from "./retrievedataset.js";
@@ -107,7 +104,6 @@ export * from "./streamagent.js";
107
104
  export * from "./streamrunagent.js";
108
105
  export * from "./updateagent.js";
109
106
  export * from "./updatechunk.js";
110
- export * from "./updatecontact.js";
111
107
  export * from "./updateconversation.js";
112
108
  export * from "./updatedatapoint.js";
113
109
  export * from "./updatedataset.js";
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1270
1270
  ),
1271
1271
  reviewed_by_id: z.string(),
1272
1272
  reviewed_at: z.string().datetime({ offset: true }).default(
1273
- "2026-01-23T09:49:16.044Z",
1273
+ "2026-01-24T23:05:46.007Z",
1274
1274
  ).transform(v => new Date(v)),
1275
1275
  type: z.literal("string_array"),
1276
1276
  values: z.array(z.string()),
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1320
1320
  source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
1321
1321
  reviewed_by_id: z.string(),
1322
1322
  reviewed_at: z.string().datetime({ offset: true }).default(
1323
- "2026-01-23T09:49:16.043Z",
1323
+ "2026-01-24T23:05:45.999Z",
1324
1324
  ).transform(v => new Date(v)),
1325
1325
  type: z.literal("number"),
1326
1326
  value: z.number(),
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1369
1369
  .default("orq"),
1370
1370
  reviewed_by_id: z.string(),
1371
1371
  reviewed_at: z.string().datetime({ offset: true }).default(
1372
- "2026-01-23T09:49:16.040Z",
1372
+ "2026-01-24T23:05:45.999Z",
1373
1373
  ).transform(v => new Date(v)),
1374
1374
  type: z.literal("string"),
1375
1375
  value: z.string(),
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
1448
1448
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1449
1449
  .optional(),
1450
1450
  updated: z.string().datetime({ offset: true }).default(
1451
- "2026-01-23T09:49:01.865Z",
1451
+ "2026-01-24T23:05:31.950Z",
1452
1452
  ).transform(v => new Date(v)),
1453
1453
  }).transform((v) => {
1454
1454
  return remap$(v, {
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
156
156
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
157
157
  .optional(),
158
158
  updated: z.string().datetime({ offset: true }).default(
159
- "2026-01-23T09:49:01.865Z",
159
+ "2026-01-24T23:05:31.950Z",
160
160
  ).transform(v => new Date(v)),
161
161
  }).transform((v) => {
162
162
  return remap$(v, {
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
176
176
  z.ZodTypeDef,
177
177
  unknown
178
178
  > = z.object({
179
- _id: z.string().default("01KFN4436ADJTM6A4NQXDR152F"),
179
+ _id: z.string().default("01KFS438634JTAPHJVBACA3QTT"),
180
180
  display_name: z.string(),
181
181
  description: z.string().optional(),
182
182
  status: ListDatasourcesStatus$inboundSchema,
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
227
227
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
228
228
  .optional(),
229
229
  updated: z.string().datetime({ offset: true }).default(
230
- "2026-01-23T09:49:01.865Z",
230
+ "2026-01-24T23:05:31.950Z",
231
231
  ).transform(v => new Date(v)),
232
232
  metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
233
233
  }).transform((v) => {