@orq-ai/node 3.8.0-rc.26 → 3.8.0-rc.28

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 (88) hide show
  1. package/bin/mcp-server.js +150 -163
  2. package/bin/mcp-server.js.map +34 -34
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/security.d.ts +2 -2
  7. package/lib/security.d.ts.map +1 -1
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  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/createeval.js +16 -16
  15. package/models/operations/createprompt.d.ts +6 -6
  16. package/models/operations/createprompt.d.ts.map +1 -1
  17. package/models/operations/createprompt.js +6 -6
  18. package/models/operations/createprompt.js.map +1 -1
  19. package/models/operations/fileget.js +2 -2
  20. package/models/operations/filelist.js +2 -2
  21. package/models/operations/fileupload.js +2 -2
  22. package/models/operations/getallprompts.d.ts +4 -4
  23. package/models/operations/getallprompts.d.ts.map +1 -1
  24. package/models/operations/getallprompts.js +4 -4
  25. package/models/operations/getallprompts.js.map +1 -1
  26. package/models/operations/getevals.js +28 -28
  27. package/models/operations/getoneprompt.d.ts +4 -4
  28. package/models/operations/getoneprompt.d.ts.map +1 -1
  29. package/models/operations/getoneprompt.js +4 -4
  30. package/models/operations/getoneprompt.js.map +1 -1
  31. package/models/operations/getpromptversion.d.ts +4 -4
  32. package/models/operations/getpromptversion.d.ts.map +1 -1
  33. package/models/operations/getpromptversion.js +4 -4
  34. package/models/operations/getpromptversion.js.map +1 -1
  35. package/models/operations/listcontacts.js +2 -2
  36. package/models/operations/listdatasetdatapoints.js +2 -2
  37. package/models/operations/listdatasets.js +2 -2
  38. package/models/operations/listdatasources.js +2 -2
  39. package/models/operations/listpromptversions.d.ts +4 -4
  40. package/models/operations/listpromptversions.d.ts.map +1 -1
  41. package/models/operations/listpromptversions.js +4 -4
  42. package/models/operations/listpromptversions.js.map +1 -1
  43. package/models/operations/retrievecontact.js +2 -2
  44. package/models/operations/retrievedatapoint.js +2 -2
  45. package/models/operations/retrievedataset.js +2 -2
  46. package/models/operations/retrievedatasource.js +2 -2
  47. package/models/operations/updatecontact.js +2 -2
  48. package/models/operations/updatedatapoint.js +2 -2
  49. package/models/operations/updatedataset.js +2 -2
  50. package/models/operations/updatedatasource.js +2 -2
  51. package/models/operations/updateeval.js +16 -16
  52. package/models/operations/updateprompt.d.ts +15 -74
  53. package/models/operations/updateprompt.d.ts.map +1 -1
  54. package/models/operations/updateprompt.js +27 -52
  55. package/models/operations/updateprompt.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/lib/config.ts +3 -3
  58. package/src/lib/security.ts +2 -2
  59. package/src/mcp-server/mcp-server.ts +1 -1
  60. package/src/mcp-server/server.ts +1 -1
  61. package/src/models/operations/createcontact.ts +2 -2
  62. package/src/models/operations/createdataset.ts +2 -2
  63. package/src/models/operations/createdatasetitem.ts +2 -2
  64. package/src/models/operations/createdatasource.ts +2 -2
  65. package/src/models/operations/createeval.ts +16 -16
  66. package/src/models/operations/createprompt.ts +12 -12
  67. package/src/models/operations/fileget.ts +2 -2
  68. package/src/models/operations/filelist.ts +2 -2
  69. package/src/models/operations/fileupload.ts +2 -2
  70. package/src/models/operations/getallprompts.ts +8 -8
  71. package/src/models/operations/getevals.ts +28 -28
  72. package/src/models/operations/getoneprompt.ts +8 -8
  73. package/src/models/operations/getpromptversion.ts +8 -8
  74. package/src/models/operations/listcontacts.ts +2 -2
  75. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  76. package/src/models/operations/listdatasets.ts +2 -2
  77. package/src/models/operations/listdatasources.ts +2 -2
  78. package/src/models/operations/listpromptversions.ts +8 -8
  79. package/src/models/operations/retrievecontact.ts +2 -2
  80. package/src/models/operations/retrievedatapoint.ts +2 -2
  81. package/src/models/operations/retrievedataset.ts +2 -2
  82. package/src/models/operations/retrievedatasource.ts +2 -2
  83. package/src/models/operations/updatecontact.ts +2 -2
  84. package/src/models/operations/updatedatapoint.ts +2 -2
  85. package/src/models/operations/updatedataset.ts +2 -2
  86. package/src/models/operations/updatedatasource.ts +2 -2
  87. package/src/models/operations/updateeval.ts +16 -16
  88. package/src/models/operations/updateprompt.ts +33 -78
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
250
250
  file_name: z.string(),
251
251
  workspace_id: z.string(),
252
252
  created: z.string().datetime({ offset: true }).default(
253
- "2025-06-13T11:58:13.378Z",
253
+ "2025-06-15T12:39:13.075Z",
254
254
  ).transform(v => new Date(v)),
255
255
  }).transform((v) => {
256
256
  return remap$(v, {
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
284
284
  bytes: z.number(),
285
285
  fileName: z.string(),
286
286
  workspaceId: z.string(),
287
- created: z.date().default(() => new Date("2025-06-13T11:58:13.378Z"))
287
+ created: z.date().default(() => new Date("2025-06-15T12:39:13.075Z"))
288
288
  .transform(v => v.toISOString()),
289
289
  }).transform((v) => {
290
290
  return remap$(v, {
@@ -412,11 +412,11 @@ export type GetAllPromptsPromptConfig = {
412
412
  /**
413
413
  * The id of the resource
414
414
  */
415
- modelDbId?: string | undefined;
415
+ modelDbId?: string | null | undefined;
416
416
  /**
417
417
  * The modality of the model
418
418
  */
419
- modelType?: GetAllPromptsModelType | undefined;
419
+ modelType?: GetAllPromptsModelType | null | undefined;
420
420
  /**
421
421
  * Model Parameters: Not all parameters apply to every model
422
422
  */
@@ -1928,8 +1928,8 @@ export const GetAllPromptsPromptConfig$inboundSchema: z.ZodType<
1928
1928
  > = z.object({
1929
1929
  stream: z.boolean().optional(),
1930
1930
  model: z.string().optional(),
1931
- model_db_id: z.string().optional(),
1932
- model_type: GetAllPromptsModelType$inboundSchema.optional(),
1931
+ model_db_id: z.nullable(z.string()).optional(),
1932
+ model_type: z.nullable(GetAllPromptsModelType$inboundSchema).optional(),
1933
1933
  model_parameters: z.lazy(() => GetAllPromptsModelParameters$inboundSchema)
1934
1934
  .optional(),
1935
1935
  provider: GetAllPromptsProvider$inboundSchema.optional(),
@@ -1949,8 +1949,8 @@ export const GetAllPromptsPromptConfig$inboundSchema: z.ZodType<
1949
1949
  export type GetAllPromptsPromptConfig$Outbound = {
1950
1950
  stream?: boolean | undefined;
1951
1951
  model?: string | undefined;
1952
- model_db_id?: string | undefined;
1953
- model_type?: string | undefined;
1952
+ model_db_id?: string | null | undefined;
1953
+ model_type?: string | null | undefined;
1954
1954
  model_parameters?: GetAllPromptsModelParameters$Outbound | undefined;
1955
1955
  provider?: string | undefined;
1956
1956
  integration_id?: string | null | undefined;
@@ -1966,8 +1966,8 @@ export const GetAllPromptsPromptConfig$outboundSchema: z.ZodType<
1966
1966
  > = z.object({
1967
1967
  stream: z.boolean().optional(),
1968
1968
  model: z.string().optional(),
1969
- modelDbId: z.string().optional(),
1970
- modelType: GetAllPromptsModelType$outboundSchema.optional(),
1969
+ modelDbId: z.nullable(z.string()).optional(),
1970
+ modelType: z.nullable(GetAllPromptsModelType$outboundSchema).optional(),
1971
1971
  modelParameters: z.lazy(() => GetAllPromptsModelParameters$outboundSchema)
1972
1972
  .optional(),
1973
1973
  provider: GetAllPromptsProvider$outboundSchema.optional(),
@@ -1372,8 +1372,8 @@ export const Typescript$inboundSchema: z.ZodType<
1372
1372
  > = z.object({
1373
1373
  _id: z.string(),
1374
1374
  description: z.string(),
1375
- created: z.string().default("2025-06-13T11:58:12.581Z"),
1376
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
1375
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
1376
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
1377
1377
  guardrail_config: z.union([
1378
1378
  z.lazy(() =>
1379
1379
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
@@ -1416,8 +1416,8 @@ export const Typescript$outboundSchema: z.ZodType<
1416
1416
  > = z.object({
1417
1417
  id: z.string(),
1418
1418
  description: z.string(),
1419
- created: z.string().default("2025-06-13T11:58:12.581Z"),
1420
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
1419
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
1420
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
1421
1421
  guardrailConfig: z.union([
1422
1422
  z.lazy(() =>
1423
1423
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
@@ -1813,8 +1813,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
1813
1813
  .object({
1814
1814
  _id: z.string(),
1815
1815
  description: z.string(),
1816
- created: z.string().default("2025-06-13T11:58:12.581Z"),
1817
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
1816
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
1817
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
1818
1818
  guardrail_config: z.union([
1819
1819
  z.lazy(() =>
1820
1820
  GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema
@@ -1857,8 +1857,8 @@ export const Ragas$outboundSchema: z.ZodType<
1857
1857
  > = z.object({
1858
1858
  id: z.string(),
1859
1859
  description: z.string(),
1860
- created: z.string().default("2025-06-13T11:58:12.581Z"),
1861
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
1860
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
1861
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
1862
1862
  guardrailConfig: z.union([
1863
1863
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
1864
1864
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
@@ -4221,8 +4221,8 @@ export const DataFunction$inboundSchema: z.ZodType<
4221
4221
  > = z.object({
4222
4222
  _id: z.string(),
4223
4223
  description: z.string(),
4224
- created: z.string().default("2025-06-13T11:58:12.581Z"),
4225
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
4224
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
4225
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
4226
4226
  guardrail_config: z.union([
4227
4227
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
4228
4228
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
@@ -4310,8 +4310,8 @@ export const DataFunction$outboundSchema: z.ZodType<
4310
4310
  > = z.object({
4311
4311
  id: z.string(),
4312
4312
  description: z.string(),
4313
- created: z.string().default("2025-06-13T11:58:12.581Z"),
4314
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
4313
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
4314
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
4315
4315
  guardrailConfig: z.union([
4316
4316
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
4317
4317
  z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
@@ -4682,8 +4682,8 @@ export const DataPython$inboundSchema: z.ZodType<
4682
4682
  > = z.object({
4683
4683
  _id: z.string(),
4684
4684
  description: z.string(),
4685
- created: z.string().default("2025-06-13T11:58:12.581Z"),
4686
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
4685
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
4686
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
4687
4687
  guardrail_config: z.union([
4688
4688
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
4689
4689
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
@@ -4721,8 +4721,8 @@ export const DataPython$outboundSchema: z.ZodType<
4721
4721
  > = z.object({
4722
4722
  id: z.string(),
4723
4723
  description: z.string(),
4724
- created: z.string().default("2025-06-13T11:58:12.581Z"),
4725
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
4724
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
4725
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
4726
4726
  guardrailConfig: z.union([
4727
4727
  z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
4728
4728
  z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
@@ -5068,8 +5068,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
5068
5068
  > = z.object({
5069
5069
  _id: z.string(),
5070
5070
  description: z.string(),
5071
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5072
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5071
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5072
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5073
5073
  guardrail_config: z.union([
5074
5074
  z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
5075
5075
  z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
@@ -5113,8 +5113,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
5113
5113
  > = z.object({
5114
5114
  id: z.string(),
5115
5115
  description: z.string(),
5116
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5117
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5116
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5117
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5118
5118
  guardrailConfig: z.union([
5119
5119
  z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
5120
5120
  z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
@@ -5479,8 +5479,8 @@ export const DataJSON$inboundSchema: z.ZodType<
5479
5479
  > = z.object({
5480
5480
  _id: z.string(),
5481
5481
  description: z.string(),
5482
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5483
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5482
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5483
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5484
5484
  guardrail_config: z.union([
5485
5485
  z.lazy(() =>
5486
5486
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
@@ -5522,8 +5522,8 @@ export const DataJSON$outboundSchema: z.ZodType<
5522
5522
  > = z.object({
5523
5523
  id: z.string(),
5524
5524
  description: z.string(),
5525
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5526
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5525
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5526
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5527
5527
  guardrailConfig: z.union([
5528
5528
  z.lazy(() =>
5529
5529
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema
@@ -5905,8 +5905,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
5905
5905
  z.object({
5906
5906
  _id: z.string(),
5907
5907
  description: z.string(),
5908
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5909
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5908
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5909
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5910
5910
  guardrail_config: z.union([
5911
5911
  z.lazy(() =>
5912
5912
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
@@ -5950,8 +5950,8 @@ export const DataLLM$outboundSchema: z.ZodType<
5950
5950
  > = z.object({
5951
5951
  id: z.string(),
5952
5952
  description: z.string(),
5953
- created: z.string().default("2025-06-13T11:58:12.581Z"),
5954
- updated: z.string().default("2025-06-13T11:58:12.581Z"),
5953
+ created: z.string().default("2025-06-15T12:39:12.311Z"),
5954
+ updated: z.string().default("2025-06-15T12:39:12.311Z"),
5955
5955
  guardrailConfig: z.union([
5956
5956
  z.lazy(() =>
5957
5957
  GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
@@ -399,11 +399,11 @@ export type GetOnePromptPromptConfig = {
399
399
  /**
400
400
  * The id of the resource
401
401
  */
402
- modelDbId?: string | undefined;
402
+ modelDbId?: string | null | undefined;
403
403
  /**
404
404
  * The modality of the model
405
405
  */
406
- modelType?: GetOnePromptModelType | undefined;
406
+ modelType?: GetOnePromptModelType | null | undefined;
407
407
  /**
408
408
  * Model Parameters: Not all parameters apply to every model
409
409
  */
@@ -1857,8 +1857,8 @@ export const GetOnePromptPromptConfig$inboundSchema: z.ZodType<
1857
1857
  > = z.object({
1858
1858
  stream: z.boolean().optional(),
1859
1859
  model: z.string().optional(),
1860
- model_db_id: z.string().optional(),
1861
- model_type: GetOnePromptModelType$inboundSchema.optional(),
1860
+ model_db_id: z.nullable(z.string()).optional(),
1861
+ model_type: z.nullable(GetOnePromptModelType$inboundSchema).optional(),
1862
1862
  model_parameters: z.lazy(() => GetOnePromptModelParameters$inboundSchema)
1863
1863
  .optional(),
1864
1864
  provider: GetOnePromptProvider$inboundSchema.optional(),
@@ -1878,8 +1878,8 @@ export const GetOnePromptPromptConfig$inboundSchema: z.ZodType<
1878
1878
  export type GetOnePromptPromptConfig$Outbound = {
1879
1879
  stream?: boolean | undefined;
1880
1880
  model?: string | undefined;
1881
- model_db_id?: string | undefined;
1882
- model_type?: string | undefined;
1881
+ model_db_id?: string | null | undefined;
1882
+ model_type?: string | null | undefined;
1883
1883
  model_parameters?: GetOnePromptModelParameters$Outbound | undefined;
1884
1884
  provider?: string | undefined;
1885
1885
  integration_id?: string | null | undefined;
@@ -1895,8 +1895,8 @@ export const GetOnePromptPromptConfig$outboundSchema: z.ZodType<
1895
1895
  > = z.object({
1896
1896
  stream: z.boolean().optional(),
1897
1897
  model: z.string().optional(),
1898
- modelDbId: z.string().optional(),
1899
- modelType: GetOnePromptModelType$outboundSchema.optional(),
1898
+ modelDbId: z.nullable(z.string()).optional(),
1899
+ modelType: z.nullable(GetOnePromptModelType$outboundSchema).optional(),
1900
1900
  modelParameters: z.lazy(() => GetOnePromptModelParameters$outboundSchema)
1901
1901
  .optional(),
1902
1902
  provider: GetOnePromptProvider$outboundSchema.optional(),
@@ -402,11 +402,11 @@ export type GetPromptVersionPromptConfig = {
402
402
  /**
403
403
  * The id of the resource
404
404
  */
405
- modelDbId?: string | undefined;
405
+ modelDbId?: string | null | undefined;
406
406
  /**
407
407
  * The modality of the model
408
408
  */
409
- modelType?: GetPromptVersionModelType | undefined;
409
+ modelType?: GetPromptVersionModelType | null | undefined;
410
410
  /**
411
411
  * Model Parameters: Not all parameters apply to every model
412
412
  */
@@ -1877,8 +1877,8 @@ export const GetPromptVersionPromptConfig$inboundSchema: z.ZodType<
1877
1877
  > = z.object({
1878
1878
  stream: z.boolean().optional(),
1879
1879
  model: z.string().optional(),
1880
- model_db_id: z.string().optional(),
1881
- model_type: GetPromptVersionModelType$inboundSchema.optional(),
1880
+ model_db_id: z.nullable(z.string()).optional(),
1881
+ model_type: z.nullable(GetPromptVersionModelType$inboundSchema).optional(),
1882
1882
  model_parameters: z.lazy(() => GetPromptVersionModelParameters$inboundSchema)
1883
1883
  .optional(),
1884
1884
  provider: GetPromptVersionProvider$inboundSchema.optional(),
@@ -1898,8 +1898,8 @@ export const GetPromptVersionPromptConfig$inboundSchema: z.ZodType<
1898
1898
  export type GetPromptVersionPromptConfig$Outbound = {
1899
1899
  stream?: boolean | undefined;
1900
1900
  model?: string | undefined;
1901
- model_db_id?: string | undefined;
1902
- model_type?: string | undefined;
1901
+ model_db_id?: string | null | undefined;
1902
+ model_type?: string | null | undefined;
1903
1903
  model_parameters?: GetPromptVersionModelParameters$Outbound | undefined;
1904
1904
  provider?: string | undefined;
1905
1905
  integration_id?: string | null | undefined;
@@ -1915,8 +1915,8 @@ export const GetPromptVersionPromptConfig$outboundSchema: z.ZodType<
1915
1915
  > = z.object({
1916
1916
  stream: z.boolean().optional(),
1917
1917
  model: z.string().optional(),
1918
- modelDbId: z.string().optional(),
1919
- modelType: GetPromptVersionModelType$outboundSchema.optional(),
1918
+ modelDbId: z.nullable(z.string()).optional(),
1919
+ modelType: z.nullable(GetPromptVersionModelType$outboundSchema).optional(),
1920
1920
  modelParameters: z.lazy(() => GetPromptVersionModelParameters$outboundSchema)
1921
1921
  .optional(),
1922
1922
  provider: GetPromptVersionProvider$outboundSchema.optional(),
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
345
345
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
346
346
  .optional(),
347
347
  updated: z.string().datetime({ offset: true }).default(
348
- "2025-06-13T11:58:10.339Z",
348
+ "2025-06-15T12:39:10.053Z",
349
349
  ).transform(v => new Date(v)),
350
350
  metrics: z.lazy(() => Metrics$inboundSchema),
351
351
  }).transform((v) => {
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
382
382
  tags: z.array(z.string()).optional(),
383
383
  metadata: z.record(z.any()).optional(),
384
384
  created: z.date().transform(v => v.toISOString()).optional(),
385
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
385
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
386
386
  .transform(v => v.toISOString()),
387
387
  metrics: z.lazy(() => Metrics$outboundSchema),
388
388
  }).transform((v) => {
@@ -2602,7 +2602,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2602
2602
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2603
2603
  .optional(),
2604
2604
  updated: z.string().datetime({ offset: true }).default(
2605
- "2025-06-13T11:58:10.339Z",
2605
+ "2025-06-15T12:39:10.053Z",
2606
2606
  ).transform(v => new Date(v)),
2607
2607
  }).transform((v) => {
2608
2608
  return remap$(v, {
@@ -2664,7 +2664,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
2664
2664
  createdById: z.string().optional(),
2665
2665
  updatedById: z.string().optional(),
2666
2666
  created: z.date().transform(v => v.toISOString()).optional(),
2667
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
2667
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
2668
2668
  .transform(v => v.toISOString()),
2669
2669
  }).transform((v) => {
2670
2670
  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-06-13T11:58:10.339Z",
256
+ "2025-06-15T12:39:10.053Z",
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-06-13T11:58:10.339Z"))
296
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
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("01JXMJFBNZG7ZR5Z3D00NC3GM8"),
281
+ _id: z.string().default("01JXSSKVV409XPBYM8R3MC61XF"),
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("01JXMJFBNZG7ZR5Z3D00NC3GM8"),
325
+ id: z.string().default("01JXSSKVV409XPBYM8R3MC61XF"),
326
326
  displayName: z.string(),
327
327
  description: z.string().optional(),
328
328
  status: ListDatasourcesStatus$outboundSchema,
@@ -418,11 +418,11 @@ export type ListPromptVersionsPromptConfig = {
418
418
  /**
419
419
  * The id of the resource
420
420
  */
421
- modelDbId?: string | undefined;
421
+ modelDbId?: string | null | undefined;
422
422
  /**
423
423
  * The modality of the model
424
424
  */
425
- modelType?: ListPromptVersionsModelType | undefined;
425
+ modelType?: ListPromptVersionsModelType | null | undefined;
426
426
  /**
427
427
  * Model Parameters: Not all parameters apply to every model
428
428
  */
@@ -1939,8 +1939,8 @@ export const ListPromptVersionsPromptConfig$inboundSchema: z.ZodType<
1939
1939
  > = z.object({
1940
1940
  stream: z.boolean().optional(),
1941
1941
  model: z.string().optional(),
1942
- model_db_id: z.string().optional(),
1943
- model_type: ListPromptVersionsModelType$inboundSchema.optional(),
1942
+ model_db_id: z.nullable(z.string()).optional(),
1943
+ model_type: z.nullable(ListPromptVersionsModelType$inboundSchema).optional(),
1944
1944
  model_parameters: z.lazy(() =>
1945
1945
  ListPromptVersionsModelParameters$inboundSchema
1946
1946
  ).optional(),
@@ -1961,8 +1961,8 @@ export const ListPromptVersionsPromptConfig$inboundSchema: z.ZodType<
1961
1961
  export type ListPromptVersionsPromptConfig$Outbound = {
1962
1962
  stream?: boolean | undefined;
1963
1963
  model?: string | undefined;
1964
- model_db_id?: string | undefined;
1965
- model_type?: string | undefined;
1964
+ model_db_id?: string | null | undefined;
1965
+ model_type?: string | null | undefined;
1966
1966
  model_parameters?: ListPromptVersionsModelParameters$Outbound | undefined;
1967
1967
  provider?: string | undefined;
1968
1968
  integration_id?: string | null | undefined;
@@ -1978,8 +1978,8 @@ export const ListPromptVersionsPromptConfig$outboundSchema: z.ZodType<
1978
1978
  > = z.object({
1979
1979
  stream: z.boolean().optional(),
1980
1980
  model: z.string().optional(),
1981
- modelDbId: z.string().optional(),
1982
- modelType: ListPromptVersionsModelType$outboundSchema.optional(),
1981
+ modelDbId: z.nullable(z.string()).optional(),
1982
+ modelType: z.nullable(ListPromptVersionsModelType$outboundSchema).optional(),
1983
1983
  modelParameters: z.lazy(() =>
1984
1984
  ListPromptVersionsModelParameters$outboundSchema
1985
1985
  ).optional(),
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
127
127
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
128
128
  .optional(),
129
129
  updated: z.string().datetime({ offset: true }).default(
130
- "2025-06-13T11:58:10.339Z",
130
+ "2025-06-15T12:39:10.053Z",
131
131
  ).transform(v => new Date(v)),
132
132
  }).transform((v) => {
133
133
  return remap$(v, {
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
165
165
  tags: z.array(z.string()).optional(),
166
166
  metadata: z.record(z.any()).optional(),
167
167
  created: z.date().transform(v => v.toISOString()).optional(),
168
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
168
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
169
169
  .transform(v => v.toISOString()),
170
170
  }).transform((v) => {
171
171
  return remap$(v, {
@@ -2481,7 +2481,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
2481
2481
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2482
2482
  .optional(),
2483
2483
  updated: z.string().datetime({ offset: true }).default(
2484
- "2025-06-13T11:58:10.339Z",
2484
+ "2025-06-15T12:39:10.053Z",
2485
2485
  ).transform(v => new Date(v)),
2486
2486
  }).transform((v) => {
2487
2487
  return remap$(v, {
@@ -2539,7 +2539,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
2539
2539
  createdById: z.string().optional(),
2540
2540
  updatedById: z.string().optional(),
2541
2541
  created: z.date().transform(v => v.toISOString()).optional(),
2542
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
2542
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
2543
2543
  .transform(v => v.toISOString()),
2544
2544
  }).transform((v) => {
2545
2545
  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-06-13T11:58:10.339Z",
204
+ "2025-06-15T12:39:10.053Z",
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-06-13T11:58:10.339Z"))
244
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
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("01JXMJFBNZMX9CX4V31BPPK4D2"),
175
+ _id: z.string().default("01JXSSKVV5DQZMVHNYSY709EDY"),
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("01JXMJFBNZMX9CX4V31BPPK4D2"),
219
+ id: z.string().default("01JXSSKVV5DQZMVHNYSY709EDY"),
220
220
  displayName: z.string(),
221
221
  description: z.string().optional(),
222
222
  status: RetrieveDatasourceStatus$outboundSchema,
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
244
244
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
245
245
  .optional(),
246
246
  updated: z.string().datetime({ offset: true }).default(
247
- "2025-06-13T11:58:10.339Z",
247
+ "2025-06-15T12:39:10.053Z",
248
248
  ).transform(v => new Date(v)),
249
249
  }).transform((v) => {
250
250
  return remap$(v, {
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
282
282
  tags: z.array(z.string()).optional(),
283
283
  metadata: z.record(z.any()).optional(),
284
284
  created: z.date().transform(v => v.toISOString()).optional(),
285
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
285
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
286
286
  .transform(v => v.toISOString()),
287
287
  }).transform((v) => {
288
288
  return remap$(v, {
@@ -5044,7 +5044,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
5044
5044
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
5045
5045
  .optional(),
5046
5046
  updated: z.string().datetime({ offset: true }).default(
5047
- "2025-06-13T11:58:10.339Z",
5047
+ "2025-06-15T12:39:10.053Z",
5048
5048
  ).transform(v => new Date(v)),
5049
5049
  }).transform((v) => {
5050
5050
  return remap$(v, {
@@ -5106,7 +5106,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
5106
5106
  createdById: z.string().optional(),
5107
5107
  updatedById: z.string().optional(),
5108
5108
  created: z.date().transform(v => v.toISOString()).optional(),
5109
- updated: z.date().default(() => new Date("2025-06-13T11:58:10.339Z"))
5109
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
5110
5110
  .transform(v => v.toISOString()),
5111
5111
  }).transform((v) => {
5112
5112
  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-06-13T11:58:10.339Z",
305
+ "2025-06-15T12:39:10.053Z",
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-06-13T11:58:10.339Z"))
350
+ updated: z.date().default(() => new Date("2025-06-15T12:39:10.053Z"))
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("01JXMJFBP1B5SWFA8S3Q0QW8DG"),
247
+ _id: z.string().default("01JXSSKVV6F1F1S5TNK26QMFQM"),
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("01JXMJFBP1B5SWFA8S3Q0QW8DG"),
291
+ id: z.string().default("01JXSSKVV6F1F1S5TNK26QMFQM"),
292
292
  displayName: z.string(),
293
293
  description: z.string().optional(),
294
294
  status: UpdateDatasourceStatus$outboundSchema,