@orq-ai/node 3.2.0-rc.26 → 3.2.0-rc.27

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 +59 -59
  2. package/bin/mcp-server.js.map +24 -24
  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/createcontact.js +2 -2
  10. package/models/operations/createdataset.js +2 -2
  11. package/models/operations/createdatasetitem.js +2 -2
  12. package/models/operations/createprompt.d.ts +4 -4
  13. package/models/operations/createprompt.d.ts.map +1 -1
  14. package/models/operations/createprompt.js +4 -4
  15. package/models/operations/createprompt.js.map +1 -1
  16. package/models/operations/fileget.js +2 -2
  17. package/models/operations/filelist.js +2 -2
  18. package/models/operations/fileupload.js +2 -2
  19. package/models/operations/getallprompts.d.ts +4 -4
  20. package/models/operations/getallprompts.d.ts.map +1 -1
  21. package/models/operations/getallprompts.js +4 -4
  22. package/models/operations/getallprompts.js.map +1 -1
  23. package/models/operations/getoneprompt.d.ts +4 -4
  24. package/models/operations/getoneprompt.d.ts.map +1 -1
  25. package/models/operations/getoneprompt.js +4 -4
  26. package/models/operations/getoneprompt.js.map +1 -1
  27. package/models/operations/getpromptversion.d.ts +4 -4
  28. package/models/operations/getpromptversion.d.ts.map +1 -1
  29. package/models/operations/getpromptversion.js +4 -4
  30. package/models/operations/getpromptversion.js.map +1 -1
  31. package/models/operations/listdatasetdatapoints.js +2 -2
  32. package/models/operations/listdatasets.js +2 -2
  33. package/models/operations/listpromptversions.d.ts +4 -4
  34. package/models/operations/listpromptversions.d.ts.map +1 -1
  35. package/models/operations/listpromptversions.js +4 -4
  36. package/models/operations/listpromptversions.js.map +1 -1
  37. package/models/operations/retrievedatapoint.js +2 -2
  38. package/models/operations/retrievedataset.js +2 -2
  39. package/models/operations/updatedatapoint.js +2 -2
  40. package/models/operations/updatedataset.js +2 -2
  41. package/models/operations/updateprompt.d.ts +8 -8
  42. package/models/operations/updateprompt.d.ts.map +1 -1
  43. package/models/operations/updateprompt.js +8 -8
  44. package/models/operations/updateprompt.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/lib/config.ts +2 -2
  47. package/src/mcp-server/mcp-server.ts +1 -1
  48. package/src/mcp-server/server.ts +1 -1
  49. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  50. package/src/models/operations/createcontact.ts +2 -2
  51. package/src/models/operations/createdataset.ts +2 -2
  52. package/src/models/operations/createdatasetitem.ts +2 -2
  53. package/src/models/operations/createprompt.ts +8 -8
  54. package/src/models/operations/fileget.ts +2 -2
  55. package/src/models/operations/filelist.ts +2 -2
  56. package/src/models/operations/fileupload.ts +2 -2
  57. package/src/models/operations/getallprompts.ts +8 -8
  58. package/src/models/operations/getoneprompt.ts +8 -8
  59. package/src/models/operations/getpromptversion.ts +8 -8
  60. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  61. package/src/models/operations/listdatasets.ts +2 -2
  62. package/src/models/operations/listpromptversions.ts +8 -8
  63. package/src/models/operations/retrievedatapoint.ts +2 -2
  64. package/src/models/operations/retrievedataset.ts +2 -2
  65. package/src/models/operations/updatedatapoint.ts +2 -2
  66. package/src/models/operations/updatedataset.ts +2 -2
  67. package/src/models/operations/updateprompt.ts +16 -16
@@ -1649,7 +1649,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
1649
1649
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
1650
1650
  .optional(),
1651
1651
  updated: z.string().datetime({ offset: true }).default(
1652
- "2025-03-04T21:45:15.768Z",
1652
+ "2025-03-04T22:54:38.560Z",
1653
1653
  ).transform(v => new Date(v)),
1654
1654
  }).transform((v) => {
1655
1655
  return remap$(v, {
@@ -1693,7 +1693,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
1693
1693
  createdById: z.string().optional(),
1694
1694
  updatedById: z.string().optional(),
1695
1695
  created: z.date().transform(v => v.toISOString()).optional(),
1696
- updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
1696
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
1697
1697
  .transform(v => v.toISOString()),
1698
1698
  }).transform((v) => {
1699
1699
  return remap$(v, {
@@ -888,8 +888,8 @@ export type CreatePromptResponseBody = {
888
888
  domainId: string;
889
889
  created: string;
890
890
  updated: string;
891
- createdById?: string | undefined;
892
- updatedById?: string | undefined;
891
+ createdById?: string | null | undefined;
892
+ updatedById?: string | null | undefined;
893
893
  /**
894
894
  * The prompt’s name, meant to be displayable in the UI.
895
895
  */
@@ -3722,8 +3722,8 @@ export const CreatePromptResponseBody$inboundSchema: z.ZodType<
3722
3722
  domain_id: z.string(),
3723
3723
  created: z.string(),
3724
3724
  updated: z.string(),
3725
- created_by_id: z.string().optional(),
3726
- updated_by_id: z.string().optional(),
3725
+ created_by_id: z.nullable(z.string()).optional(),
3726
+ updated_by_id: z.nullable(z.string()).optional(),
3727
3727
  display_name: z.string(),
3728
3728
  description: z.nullable(z.string()).optional(),
3729
3729
  prompt_config: z.lazy(() => CreatePromptPromptsPromptConfig$inboundSchema),
@@ -3747,8 +3747,8 @@ export type CreatePromptResponseBody$Outbound = {
3747
3747
  domain_id: string;
3748
3748
  created: string;
3749
3749
  updated: string;
3750
- created_by_id?: string | undefined;
3751
- updated_by_id?: string | undefined;
3750
+ created_by_id?: string | null | undefined;
3751
+ updated_by_id?: string | null | undefined;
3752
3752
  display_name: string;
3753
3753
  description?: string | null | undefined;
3754
3754
  prompt_config: CreatePromptPromptsPromptConfig$Outbound;
@@ -3767,8 +3767,8 @@ export const CreatePromptResponseBody$outboundSchema: z.ZodType<
3767
3767
  domainId: z.string(),
3768
3768
  created: z.string(),
3769
3769
  updated: z.string(),
3770
- createdById: z.string().optional(),
3771
- updatedById: z.string().optional(),
3770
+ createdById: z.nullable(z.string()).optional(),
3771
+ updatedById: z.nullable(z.string()).optional(),
3772
3772
  displayName: z.string(),
3773
3773
  description: z.nullable(z.string()).optional(),
3774
3774
  promptConfig: z.lazy(() => CreatePromptPromptsPromptConfig$outboundSchema),
@@ -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-03-04T21:45:16.894Z",
149
+ "2025-03-04T22:54:39.742Z",
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-03-04T21:45:16.894Z"))
183
+ created: z.date().default(() => new Date("2025-03-04T22:54:39.742Z"))
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-03-04T21:45:16.894Z",
199
+ "2025-03-04T22:54:39.742Z",
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-03-04T21:45:16.894Z"))
233
+ created: z.date().default(() => new Date("2025-03-04T22:54:39.742Z"))
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-03-04T21:45:16.894Z",
250
+ "2025-03-04T22:54:39.742Z",
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-03-04T21:45:16.894Z"))
284
+ created: z.date().default(() => new Date("2025-03-04T22:54:39.742Z"))
285
285
  .transform(v => v.toISOString()),
286
286
  }).transform((v) => {
287
287
  return remap$(v, {
@@ -460,8 +460,8 @@ export type GetAllPromptsData = {
460
460
  domainId: string;
461
461
  created: string;
462
462
  updated: string;
463
- createdById?: string | undefined;
464
- updatedById?: string | undefined;
463
+ createdById?: string | null | undefined;
464
+ updatedById?: string | null | undefined;
465
465
  /**
466
466
  * The prompt’s name, meant to be displayable in the UI.
467
467
  */
@@ -1961,8 +1961,8 @@ export const GetAllPromptsData$inboundSchema: z.ZodType<
1961
1961
  domain_id: z.string(),
1962
1962
  created: z.string(),
1963
1963
  updated: z.string(),
1964
- created_by_id: z.string().optional(),
1965
- updated_by_id: z.string().optional(),
1964
+ created_by_id: z.nullable(z.string()).optional(),
1965
+ updated_by_id: z.nullable(z.string()).optional(),
1966
1966
  display_name: z.string(),
1967
1967
  description: z.nullable(z.string()).optional(),
1968
1968
  prompt_config: z.lazy(() => GetAllPromptsPromptConfig$inboundSchema),
@@ -1986,8 +1986,8 @@ export type GetAllPromptsData$Outbound = {
1986
1986
  domain_id: string;
1987
1987
  created: string;
1988
1988
  updated: string;
1989
- created_by_id?: string | undefined;
1990
- updated_by_id?: string | undefined;
1989
+ created_by_id?: string | null | undefined;
1990
+ updated_by_id?: string | null | undefined;
1991
1991
  display_name: string;
1992
1992
  description?: string | null | undefined;
1993
1993
  prompt_config: GetAllPromptsPromptConfig$Outbound;
@@ -2006,8 +2006,8 @@ export const GetAllPromptsData$outboundSchema: z.ZodType<
2006
2006
  domainId: z.string(),
2007
2007
  created: z.string(),
2008
2008
  updated: z.string(),
2009
- createdById: z.string().optional(),
2010
- updatedById: z.string().optional(),
2009
+ createdById: z.nullable(z.string()).optional(),
2010
+ updatedById: z.nullable(z.string()).optional(),
2011
2011
  displayName: z.string(),
2012
2012
  description: z.nullable(z.string()).optional(),
2013
2013
  promptConfig: z.lazy(() => GetAllPromptsPromptConfig$outboundSchema),
@@ -450,8 +450,8 @@ export type GetOnePromptResponseBody = {
450
450
  domainId: string;
451
451
  created: string;
452
452
  updated: string;
453
- createdById?: string | undefined;
454
- updatedById?: string | undefined;
453
+ createdById?: string | null | undefined;
454
+ updatedById?: string | null | undefined;
455
455
  /**
456
456
  * The prompt’s name, meant to be displayable in the UI.
457
457
  */
@@ -1895,8 +1895,8 @@ export const GetOnePromptResponseBody$inboundSchema: z.ZodType<
1895
1895
  domain_id: z.string(),
1896
1896
  created: z.string(),
1897
1897
  updated: z.string(),
1898
- created_by_id: z.string().optional(),
1899
- updated_by_id: z.string().optional(),
1898
+ created_by_id: z.nullable(z.string()).optional(),
1899
+ updated_by_id: z.nullable(z.string()).optional(),
1900
1900
  display_name: z.string(),
1901
1901
  description: z.nullable(z.string()).optional(),
1902
1902
  prompt_config: z.lazy(() => GetOnePromptPromptConfig$inboundSchema),
@@ -1920,8 +1920,8 @@ export type GetOnePromptResponseBody$Outbound = {
1920
1920
  domain_id: string;
1921
1921
  created: string;
1922
1922
  updated: string;
1923
- created_by_id?: string | undefined;
1924
- updated_by_id?: string | undefined;
1923
+ created_by_id?: string | null | undefined;
1924
+ updated_by_id?: string | null | undefined;
1925
1925
  display_name: string;
1926
1926
  description?: string | null | undefined;
1927
1927
  prompt_config: GetOnePromptPromptConfig$Outbound;
@@ -1940,8 +1940,8 @@ export const GetOnePromptResponseBody$outboundSchema: z.ZodType<
1940
1940
  domainId: z.string(),
1941
1941
  created: z.string(),
1942
1942
  updated: z.string(),
1943
- createdById: z.string().optional(),
1944
- updatedById: z.string().optional(),
1943
+ createdById: z.nullable(z.string()).optional(),
1944
+ updatedById: z.nullable(z.string()).optional(),
1945
1945
  displayName: z.string(),
1946
1946
  description: z.nullable(z.string()).optional(),
1947
1947
  promptConfig: z.lazy(() => GetOnePromptPromptConfig$outboundSchema),
@@ -452,8 +452,8 @@ export type GetPromptVersionMetadata = {
452
452
  */
453
453
  export type GetPromptVersionResponseBody = {
454
454
  id: string;
455
- createdById?: string | undefined;
456
- updatedById?: string | undefined;
455
+ createdById?: string | null | undefined;
456
+ updatedById?: string | null | undefined;
457
457
  /**
458
458
  * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
459
459
  */
@@ -1905,8 +1905,8 @@ export const GetPromptVersionResponseBody$inboundSchema: z.ZodType<
1905
1905
  unknown
1906
1906
  > = z.object({
1907
1907
  _id: z.string(),
1908
- created_by_id: z.string().optional(),
1909
- updated_by_id: z.string().optional(),
1908
+ created_by_id: z.nullable(z.string()).optional(),
1909
+ updated_by_id: z.nullable(z.string()).optional(),
1910
1910
  description: z.nullable(z.string()).optional(),
1911
1911
  prompt_config: z.lazy(() => GetPromptVersionPromptConfig$inboundSchema),
1912
1912
  metadata: z.lazy(() => GetPromptVersionMetadata$inboundSchema).optional(),
@@ -1923,8 +1923,8 @@ export const GetPromptVersionResponseBody$inboundSchema: z.ZodType<
1923
1923
  /** @internal */
1924
1924
  export type GetPromptVersionResponseBody$Outbound = {
1925
1925
  _id: string;
1926
- created_by_id?: string | undefined;
1927
- updated_by_id?: string | undefined;
1926
+ created_by_id?: string | null | undefined;
1927
+ updated_by_id?: string | null | undefined;
1928
1928
  description?: string | null | undefined;
1929
1929
  prompt_config: GetPromptVersionPromptConfig$Outbound;
1930
1930
  metadata?: GetPromptVersionMetadata$Outbound | undefined;
@@ -1938,8 +1938,8 @@ export const GetPromptVersionResponseBody$outboundSchema: z.ZodType<
1938
1938
  GetPromptVersionResponseBody
1939
1939
  > = z.object({
1940
1940
  id: z.string(),
1941
- createdById: z.string().optional(),
1942
- updatedById: z.string().optional(),
1941
+ createdById: z.nullable(z.string()).optional(),
1942
+ updatedById: z.nullable(z.string()).optional(),
1943
1943
  description: z.nullable(z.string()).optional(),
1944
1944
  promptConfig: z.lazy(() => GetPromptVersionPromptConfig$outboundSchema),
1945
1945
  metadata: z.lazy(() => GetPromptVersionMetadata$outboundSchema).optional(),
@@ -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-03-04T21:45:15.768Z",
915
+ "2025-03-04T22:54:38.560Z",
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-03-04T21:45:15.768Z"))
958
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
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-03-04T21:45:15.768Z",
256
+ "2025-03-04T22:54:38.560Z",
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-03-04T21:45:15.768Z"))
296
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
297
297
  .transform(v => v.toISOString()),
298
298
  }).transform((v) => {
299
299
  return remap$(v, {
@@ -467,8 +467,8 @@ export type ListPromptVersionsMetadata = {
467
467
 
468
468
  export type ListPromptVersionsData = {
469
469
  id: string;
470
- createdById?: string | undefined;
471
- updatedById?: string | undefined;
470
+ createdById?: string | null | undefined;
471
+ updatedById?: string | null | undefined;
472
472
  /**
473
473
  * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
474
474
  */
@@ -1971,8 +1971,8 @@ export const ListPromptVersionsData$inboundSchema: z.ZodType<
1971
1971
  unknown
1972
1972
  > = z.object({
1973
1973
  _id: z.string(),
1974
- created_by_id: z.string().optional(),
1975
- updated_by_id: z.string().optional(),
1974
+ created_by_id: z.nullable(z.string()).optional(),
1975
+ updated_by_id: z.nullable(z.string()).optional(),
1976
1976
  description: z.nullable(z.string()).optional(),
1977
1977
  prompt_config: z.lazy(() => ListPromptVersionsPromptConfig$inboundSchema),
1978
1978
  metadata: z.lazy(() => ListPromptVersionsMetadata$inboundSchema).optional(),
@@ -1989,8 +1989,8 @@ export const ListPromptVersionsData$inboundSchema: z.ZodType<
1989
1989
  /** @internal */
1990
1990
  export type ListPromptVersionsData$Outbound = {
1991
1991
  _id: string;
1992
- created_by_id?: string | undefined;
1993
- updated_by_id?: string | undefined;
1992
+ created_by_id?: string | null | undefined;
1993
+ updated_by_id?: string | null | undefined;
1994
1994
  description?: string | null | undefined;
1995
1995
  prompt_config: ListPromptVersionsPromptConfig$Outbound;
1996
1996
  metadata?: ListPromptVersionsMetadata$Outbound | undefined;
@@ -2004,8 +2004,8 @@ export const ListPromptVersionsData$outboundSchema: z.ZodType<
2004
2004
  ListPromptVersionsData
2005
2005
  > = z.object({
2006
2006
  id: z.string(),
2007
- createdById: z.string().optional(),
2008
- updatedById: z.string().optional(),
2007
+ createdById: z.nullable(z.string()).optional(),
2008
+ updatedById: z.nullable(z.string()).optional(),
2009
2009
  description: z.nullable(z.string()).optional(),
2010
2010
  promptConfig: z.lazy(() => ListPromptVersionsPromptConfig$outboundSchema),
2011
2011
  metadata: z.lazy(() => ListPromptVersionsMetadata$outboundSchema).optional(),
@@ -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-03-04T21:45:15.768Z",
837
+ "2025-03-04T22:54:38.560Z",
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-03-04T21:45:15.768Z"))
880
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
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-03-04T21:45:15.768Z",
204
+ "2025-03-04T22:54:38.560Z",
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-03-04T21:45:15.768Z"))
244
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
245
245
  .transform(v => v.toISOString()),
246
246
  }).transform((v) => {
247
247
  return remap$(v, {
@@ -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-03-04T21:45:15.768Z",
1641
+ "2025-03-04T22:54:38.560Z",
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-03-04T21:45:15.768Z"))
1685
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
1686
1686
  .transform(v => v.toISOString()),
1687
1687
  }).transform((v) => {
1688
1688
  return remap$(v, {
@@ -283,7 +283,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
283
283
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
284
284
  .optional(),
285
285
  updated: z.string().datetime({ offset: true }).default(
286
- "2025-03-04T21:45:15.768Z",
286
+ "2025-03-04T22:54:38.560Z",
287
287
  ).transform(v => new Date(v)),
288
288
  }).transform((v) => {
289
289
  return remap$(v, {
@@ -328,7 +328,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
328
328
  parentId: z.string().optional(),
329
329
  version: z.string().optional(),
330
330
  created: z.date().transform(v => v.toISOString()).optional(),
331
- updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
331
+ updated: z.date().default(() => new Date("2025-03-04T22:54:38.560Z"))
332
332
  .transform(v => v.toISOString()),
333
333
  }).transform((v) => {
334
334
  return remap$(v, {
@@ -405,8 +405,8 @@ export type UpdatePromptRequestBody = {
405
405
  domainId?: string | undefined;
406
406
  created?: string | undefined;
407
407
  updated?: string | undefined;
408
- createdById?: string | undefined;
409
- updatedById?: string | undefined;
408
+ createdById?: string | null | undefined;
409
+ updatedById?: string | null | undefined;
410
410
  /**
411
411
  * The prompt’s name, meant to be displayable in the UI.
412
412
  */
@@ -874,8 +874,8 @@ export type UpdatePromptResponseBody = {
874
874
  domainId: string;
875
875
  created: string;
876
876
  updated: string;
877
- createdById?: string | undefined;
878
- updatedById?: string | undefined;
877
+ createdById?: string | null | undefined;
878
+ updatedById?: string | null | undefined;
879
879
  /**
880
880
  * The prompt’s name, meant to be displayable in the UI.
881
881
  */
@@ -2185,8 +2185,8 @@ export const UpdatePromptRequestBody$inboundSchema: z.ZodType<
2185
2185
  domain_id: z.string().optional(),
2186
2186
  created: z.string().optional(),
2187
2187
  updated: z.string().optional(),
2188
- created_by_id: z.string().optional(),
2189
- updated_by_id: z.string().optional(),
2188
+ created_by_id: z.nullable(z.string()).optional(),
2189
+ updated_by_id: z.nullable(z.string()).optional(),
2190
2190
  display_name: z.string().optional(),
2191
2191
  description: z.nullable(z.string()).optional(),
2192
2192
  prompt_config: z.lazy(() => PromptConfig$inboundSchema).optional(),
@@ -2207,8 +2207,8 @@ export type UpdatePromptRequestBody$Outbound = {
2207
2207
  domain_id?: string | undefined;
2208
2208
  created?: string | undefined;
2209
2209
  updated?: string | undefined;
2210
- created_by_id?: string | undefined;
2211
- updated_by_id?: string | undefined;
2210
+ created_by_id?: string | null | undefined;
2211
+ updated_by_id?: string | null | undefined;
2212
2212
  display_name?: string | undefined;
2213
2213
  description?: string | null | undefined;
2214
2214
  prompt_config?: PromptConfig$Outbound | undefined;
@@ -2225,8 +2225,8 @@ export const UpdatePromptRequestBody$outboundSchema: z.ZodType<
2225
2225
  domainId: z.string().optional(),
2226
2226
  created: z.string().optional(),
2227
2227
  updated: z.string().optional(),
2228
- createdById: z.string().optional(),
2229
- updatedById: z.string().optional(),
2228
+ createdById: z.nullable(z.string()).optional(),
2229
+ updatedById: z.nullable(z.string()).optional(),
2230
2230
  displayName: z.string().optional(),
2231
2231
  description: z.nullable(z.string()).optional(),
2232
2232
  promptConfig: z.lazy(() => PromptConfig$outboundSchema).optional(),
@@ -3737,8 +3737,8 @@ export const UpdatePromptResponseBody$inboundSchema: z.ZodType<
3737
3737
  domain_id: z.string(),
3738
3738
  created: z.string(),
3739
3739
  updated: z.string(),
3740
- created_by_id: z.string().optional(),
3741
- updated_by_id: z.string().optional(),
3740
+ created_by_id: z.nullable(z.string()).optional(),
3741
+ updated_by_id: z.nullable(z.string()).optional(),
3742
3742
  display_name: z.string(),
3743
3743
  description: z.nullable(z.string()).optional(),
3744
3744
  prompt_config: z.lazy(() => UpdatePromptPromptConfig$inboundSchema),
@@ -3762,8 +3762,8 @@ export type UpdatePromptResponseBody$Outbound = {
3762
3762
  domain_id: string;
3763
3763
  created: string;
3764
3764
  updated: string;
3765
- created_by_id?: string | undefined;
3766
- updated_by_id?: string | undefined;
3765
+ created_by_id?: string | null | undefined;
3766
+ updated_by_id?: string | null | undefined;
3767
3767
  display_name: string;
3768
3768
  description?: string | null | undefined;
3769
3769
  prompt_config: UpdatePromptPromptConfig$Outbound;
@@ -3782,8 +3782,8 @@ export const UpdatePromptResponseBody$outboundSchema: z.ZodType<
3782
3782
  domainId: z.string(),
3783
3783
  created: z.string(),
3784
3784
  updated: z.string(),
3785
- createdById: z.string().optional(),
3786
- updatedById: z.string().optional(),
3785
+ createdById: z.nullable(z.string()).optional(),
3786
+ updatedById: z.nullable(z.string()).optional(),
3787
3787
  displayName: z.string(),
3788
3788
  description: z.nullable(z.string()).optional(),
3789
3789
  promptConfig: z.lazy(() => UpdatePromptPromptConfig$outboundSchema),