@rudderhq/shared 0.4.6-canary.9 → 0.5.0

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 (85) hide show
  1. package/dist/agent-run.d.ts +3 -0
  2. package/dist/agent-run.d.ts.map +1 -1
  3. package/dist/agent-run.js +60 -8
  4. package/dist/agent-run.js.map +1 -1
  5. package/dist/agent-run.test.js +74 -1
  6. package/dist/agent-run.test.js.map +1 -1
  7. package/dist/browser-shortcuts.d.ts +16 -0
  8. package/dist/browser-shortcuts.d.ts.map +1 -0
  9. package/dist/browser-shortcuts.js +49 -0
  10. package/dist/browser-shortcuts.js.map +1 -0
  11. package/dist/browser-shortcuts.test.d.ts +2 -0
  12. package/dist/browser-shortcuts.test.d.ts.map +1 -0
  13. package/dist/browser-shortcuts.test.js +37 -0
  14. package/dist/browser-shortcuts.test.js.map +1 -0
  15. package/dist/chat-inline-visuals.d.ts +35 -0
  16. package/dist/chat-inline-visuals.d.ts.map +1 -0
  17. package/dist/chat-inline-visuals.js +167 -0
  18. package/dist/chat-inline-visuals.js.map +1 -0
  19. package/dist/chat-inline-visuals.test.d.ts +2 -0
  20. package/dist/chat-inline-visuals.test.d.ts.map +1 -0
  21. package/dist/chat-inline-visuals.test.js +112 -0
  22. package/dist/chat-inline-visuals.test.js.map +1 -0
  23. package/dist/chat-work-manifest.d.ts +1 -1
  24. package/dist/chat-work-manifest.d.ts.map +1 -1
  25. package/dist/chat-work-manifest.js +110 -2
  26. package/dist/chat-work-manifest.js.map +1 -1
  27. package/dist/chat-work-manifest.test.js +54 -0
  28. package/dist/chat-work-manifest.test.js.map +1 -1
  29. package/dist/constants.d.ts +4 -0
  30. package/dist/constants.d.ts.map +1 -1
  31. package/dist/constants.js +2 -0
  32. package/dist/constants.js.map +1 -1
  33. package/dist/index.d.ts +8 -5
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +7 -4
  36. package/dist/index.js.map +1 -1
  37. package/dist/organization-skill-reference.d.ts +4 -1
  38. package/dist/organization-skill-reference.d.ts.map +1 -1
  39. package/dist/organization-skill-reference.js +29 -7
  40. package/dist/organization-skill-reference.js.map +1 -1
  41. package/dist/organization-skill-reference.test.js +17 -2
  42. package/dist/organization-skill-reference.test.js.map +1 -1
  43. package/dist/types/chat.d.ts +158 -5
  44. package/dist/types/chat.d.ts.map +1 -1
  45. package/dist/types/cost.d.ts +2 -0
  46. package/dist/types/cost.d.ts.map +1 -1
  47. package/dist/types/heartbeat.d.ts +10 -0
  48. package/dist/types/heartbeat.d.ts.map +1 -1
  49. package/dist/types/index.d.ts +4 -4
  50. package/dist/types/index.d.ts.map +1 -1
  51. package/dist/types/organization.d.ts +12 -1
  52. package/dist/types/organization.d.ts.map +1 -1
  53. package/dist/types/run-intelligence.d.ts +28 -0
  54. package/dist/types/run-intelligence.d.ts.map +1 -1
  55. package/dist/validators/adapter-skills.d.ts +6 -6
  56. package/dist/validators/agent.d.ts +12 -12
  57. package/dist/validators/approval.d.ts +2 -2
  58. package/dist/validators/automation.d.ts +60 -60
  59. package/dist/validators/budget.d.ts +4 -4
  60. package/dist/validators/calendar.d.ts +16 -16
  61. package/dist/validators/chat.d.ts +213 -72
  62. package/dist/validators/chat.d.ts.map +1 -1
  63. package/dist/validators/chat.js +170 -0
  64. package/dist/validators/chat.js.map +1 -1
  65. package/dist/validators/chat.test.js +71 -1
  66. package/dist/validators/chat.test.js.map +1 -1
  67. package/dist/validators/cost.d.ts +4 -4
  68. package/dist/validators/finance.d.ts +8 -8
  69. package/dist/validators/goal.d.ts +3 -3
  70. package/dist/validators/index.d.ts +2 -2
  71. package/dist/validators/index.d.ts.map +1 -1
  72. package/dist/validators/index.js +2 -2
  73. package/dist/validators/index.js.map +1 -1
  74. package/dist/validators/issue.d.ts +20 -20
  75. package/dist/validators/organization-portability.d.ts +96 -96
  76. package/dist/validators/organization-skill.d.ts +48 -48
  77. package/dist/validators/organization.d.ts +15 -0
  78. package/dist/validators/organization.d.ts.map +1 -1
  79. package/dist/validators/organization.js +6 -0
  80. package/dist/validators/organization.js.map +1 -1
  81. package/dist/validators/plugin.d.ts +2 -2
  82. package/dist/validators/project.d.ts +19 -19
  83. package/dist/validators/resource.d.ts +12 -12
  84. package/dist/validators/work-product.d.ts +12 -12
  85. package/package.json +1 -1
@@ -300,7 +300,7 @@ export declare const createProjectSchema: z.ZodObject<{
300
300
  note: z.ZodNullable<z.ZodOptional<z.ZodString>>;
301
301
  sortOrder: z.ZodOptional<z.ZodNumber>;
302
302
  }, "strict", z.ZodTypeAny, {
303
- kind: "url" | "file" | "directory" | "connector_object";
303
+ kind: "file" | "url" | "directory" | "connector_object";
304
304
  name: string;
305
305
  sourceType: "external" | "library";
306
306
  locator: string;
@@ -310,7 +310,7 @@ export declare const createProjectSchema: z.ZodObject<{
310
310
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
311
311
  note?: string | null | undefined;
312
312
  }, {
313
- kind: "url" | "file" | "directory" | "connector_object";
313
+ kind: "file" | "url" | "directory" | "connector_object";
314
314
  name: string;
315
315
  locator: string;
316
316
  description?: string | null | undefined;
@@ -320,7 +320,7 @@ export declare const createProjectSchema: z.ZodObject<{
320
320
  sourceType?: "external" | "library" | undefined;
321
321
  note?: string | null | undefined;
322
322
  }>, {
323
- kind: "url" | "file" | "directory" | "connector_object";
323
+ kind: "file" | "url" | "directory" | "connector_object";
324
324
  name: string;
325
325
  sourceType: "external" | "library";
326
326
  locator: string;
@@ -330,7 +330,7 @@ export declare const createProjectSchema: z.ZodObject<{
330
330
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
331
331
  note?: string | null | undefined;
332
332
  }, {
333
- kind: "url" | "file" | "directory" | "connector_object";
333
+ kind: "file" | "url" | "directory" | "connector_object";
334
334
  name: string;
335
335
  locator: string;
336
336
  description?: string | null | undefined;
@@ -345,7 +345,7 @@ export declare const createProjectSchema: z.ZodObject<{
345
345
  status: "backlog" | "in_progress" | "cancelled" | "planned" | "completed";
346
346
  name: string;
347
347
  color?: string | null | undefined;
348
- icon?: "brain" | "rocket" | "code" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
348
+ icon?: "code" | "brain" | "rocket" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
349
349
  description?: string | null | undefined;
350
350
  goalId?: string | null | undefined;
351
351
  targetDate?: string | null | undefined;
@@ -377,7 +377,7 @@ export declare const createProjectSchema: z.ZodObject<{
377
377
  note?: string | null | undefined;
378
378
  }[] | undefined;
379
379
  newResources?: {
380
- kind: "url" | "file" | "directory" | "connector_object";
380
+ kind: "file" | "url" | "directory" | "connector_object";
381
381
  name: string;
382
382
  sourceType: "external" | "library";
383
383
  locator: string;
@@ -390,9 +390,9 @@ export declare const createProjectSchema: z.ZodObject<{
390
390
  archivedAt?: string | null | undefined;
391
391
  }, {
392
392
  name: string;
393
- color?: string | null | undefined;
394
- icon?: "brain" | "rocket" | "code" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
395
393
  status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
394
+ color?: string | null | undefined;
395
+ icon?: "code" | "brain" | "rocket" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
396
396
  description?: string | null | undefined;
397
397
  goalId?: string | null | undefined;
398
398
  targetDate?: string | null | undefined;
@@ -424,7 +424,7 @@ export declare const createProjectSchema: z.ZodObject<{
424
424
  note?: string | null | undefined;
425
425
  }[] | undefined;
426
426
  newResources?: {
427
- kind: "url" | "file" | "directory" | "connector_object";
427
+ kind: "file" | "url" | "directory" | "connector_object";
428
428
  name: string;
429
429
  locator: string;
430
430
  description?: string | null | undefined;
@@ -544,7 +544,7 @@ export declare const updateProjectSchema: z.ZodObject<{
544
544
  note: z.ZodNullable<z.ZodOptional<z.ZodString>>;
545
545
  sortOrder: z.ZodOptional<z.ZodNumber>;
546
546
  }, "strict", z.ZodTypeAny, {
547
- kind: "url" | "file" | "directory" | "connector_object";
547
+ kind: "file" | "url" | "directory" | "connector_object";
548
548
  name: string;
549
549
  sourceType: "external" | "library";
550
550
  locator: string;
@@ -554,7 +554,7 @@ export declare const updateProjectSchema: z.ZodObject<{
554
554
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
555
555
  note?: string | null | undefined;
556
556
  }, {
557
- kind: "url" | "file" | "directory" | "connector_object";
557
+ kind: "file" | "url" | "directory" | "connector_object";
558
558
  name: string;
559
559
  locator: string;
560
560
  description?: string | null | undefined;
@@ -564,7 +564,7 @@ export declare const updateProjectSchema: z.ZodObject<{
564
564
  sourceType?: "external" | "library" | undefined;
565
565
  note?: string | null | undefined;
566
566
  }>, {
567
- kind: "url" | "file" | "directory" | "connector_object";
567
+ kind: "file" | "url" | "directory" | "connector_object";
568
568
  name: string;
569
569
  sourceType: "external" | "library";
570
570
  locator: string;
@@ -574,7 +574,7 @@ export declare const updateProjectSchema: z.ZodObject<{
574
574
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
575
575
  note?: string | null | undefined;
576
576
  }, {
577
- kind: "url" | "file" | "directory" | "connector_object";
577
+ kind: "file" | "url" | "directory" | "connector_object";
578
578
  name: string;
579
579
  locator: string;
580
580
  description?: string | null | undefined;
@@ -586,9 +586,9 @@ export declare const updateProjectSchema: z.ZodObject<{
586
586
  }>, "many">>>;
587
587
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
588
588
  }, "strip", z.ZodTypeAny, {
589
- color?: string | null | undefined;
590
- icon?: "brain" | "rocket" | "code" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
591
589
  status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
590
+ color?: string | null | undefined;
591
+ icon?: "code" | "brain" | "rocket" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
592
592
  description?: string | null | undefined;
593
593
  name?: string | undefined;
594
594
  goalId?: string | null | undefined;
@@ -621,7 +621,7 @@ export declare const updateProjectSchema: z.ZodObject<{
621
621
  note?: string | null | undefined;
622
622
  }[] | undefined;
623
623
  newResources?: {
624
- kind: "url" | "file" | "directory" | "connector_object";
624
+ kind: "file" | "url" | "directory" | "connector_object";
625
625
  name: string;
626
626
  sourceType: "external" | "library";
627
627
  locator: string;
@@ -633,9 +633,9 @@ export declare const updateProjectSchema: z.ZodObject<{
633
633
  }[] | undefined;
634
634
  archivedAt?: string | null | undefined;
635
635
  }, {
636
- color?: string | null | undefined;
637
- icon?: "brain" | "rocket" | "code" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
638
636
  status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
637
+ color?: string | null | undefined;
638
+ icon?: "code" | "brain" | "rocket" | "terminal" | "shield" | "wrench" | "lightbulb" | "heart" | "database" | "globe" | "package" | "target" | "folder" | "dollar" | "book" | "graduation-cap" | "pencil" | "pen-tool" | "braces" | "music" | "popcorn" | "paintbrush" | "palette" | "stethoscope" | "clover" | "flower" | "briefcase" | "chart" | "dumbbell" | "notebook" | "scale" | "plane" | "home" | "tree-palm" | "gift" | "paw-print" | "flask" | "megaphone" | "users" | "calendar" | null | undefined;
639
639
  description?: string | null | undefined;
640
640
  name?: string | undefined;
641
641
  goalId?: string | null | undefined;
@@ -668,7 +668,7 @@ export declare const updateProjectSchema: z.ZodObject<{
668
668
  note?: string | null | undefined;
669
669
  }[] | undefined;
670
670
  newResources?: {
671
- kind: "url" | "file" | "directory" | "connector_object";
671
+ kind: "file" | "url" | "directory" | "connector_object";
672
672
  name: string;
673
673
  locator: string;
674
674
  description?: string | null | undefined;
@@ -10,28 +10,28 @@ export declare const createOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
10
10
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
11
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- kind: "url" | "file" | "directory" | "connector_object";
13
+ kind: "file" | "url" | "directory" | "connector_object";
14
14
  name: string;
15
15
  sourceType: "external" | "library";
16
16
  locator: string;
17
17
  description?: string | null | undefined;
18
18
  metadata?: Record<string, unknown> | null | undefined;
19
19
  }, {
20
- kind: "url" | "file" | "directory" | "connector_object";
20
+ kind: "file" | "url" | "directory" | "connector_object";
21
21
  name: string;
22
22
  locator: string;
23
23
  description?: string | null | undefined;
24
24
  metadata?: Record<string, unknown> | null | undefined;
25
25
  sourceType?: "external" | "library" | undefined;
26
26
  }>, {
27
- kind: "url" | "file" | "directory" | "connector_object";
27
+ kind: "file" | "url" | "directory" | "connector_object";
28
28
  name: string;
29
29
  sourceType: "external" | "library";
30
30
  locator: string;
31
31
  description?: string | null | undefined;
32
32
  metadata?: Record<string, unknown> | null | undefined;
33
33
  }, {
34
- kind: "url" | "file" | "directory" | "connector_object";
34
+ kind: "file" | "url" | "directory" | "connector_object";
35
35
  name: string;
36
36
  locator: string;
37
37
  description?: string | null | undefined;
@@ -47,28 +47,28 @@ export declare const updateOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
47
47
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
48
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
49
  }, "strict", z.ZodTypeAny, {
50
- kind?: "url" | "file" | "directory" | "connector_object" | undefined;
50
+ kind?: "file" | "url" | "directory" | "connector_object" | undefined;
51
51
  description?: string | null | undefined;
52
52
  name?: string | undefined;
53
53
  metadata?: Record<string, unknown> | null | undefined;
54
54
  sourceType?: "external" | "library" | undefined;
55
55
  locator?: string | undefined;
56
56
  }, {
57
- kind?: "url" | "file" | "directory" | "connector_object" | undefined;
57
+ kind?: "file" | "url" | "directory" | "connector_object" | undefined;
58
58
  description?: string | null | undefined;
59
59
  name?: string | undefined;
60
60
  metadata?: Record<string, unknown> | null | undefined;
61
61
  sourceType?: "external" | "library" | undefined;
62
62
  locator?: string | undefined;
63
63
  }>, {
64
- kind?: "url" | "file" | "directory" | "connector_object" | undefined;
64
+ kind?: "file" | "url" | "directory" | "connector_object" | undefined;
65
65
  description?: string | null | undefined;
66
66
  name?: string | undefined;
67
67
  metadata?: Record<string, unknown> | null | undefined;
68
68
  sourceType?: "external" | "library" | undefined;
69
69
  locator?: string | undefined;
70
70
  }, {
71
- kind?: "url" | "file" | "directory" | "connector_object" | undefined;
71
+ kind?: "file" | "url" | "directory" | "connector_object" | undefined;
72
72
  description?: string | null | undefined;
73
73
  name?: string | undefined;
74
74
  metadata?: Record<string, unknown> | null | undefined;
@@ -119,7 +119,7 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
119
119
  note: z.ZodNullable<z.ZodOptional<z.ZodString>>;
120
120
  sortOrder: z.ZodOptional<z.ZodNumber>;
121
121
  }, "strict", z.ZodTypeAny, {
122
- kind: "url" | "file" | "directory" | "connector_object";
122
+ kind: "file" | "url" | "directory" | "connector_object";
123
123
  name: string;
124
124
  sourceType: "external" | "library";
125
125
  locator: string;
@@ -129,7 +129,7 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
129
129
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
130
130
  note?: string | null | undefined;
131
131
  }, {
132
- kind: "url" | "file" | "directory" | "connector_object";
132
+ kind: "file" | "url" | "directory" | "connector_object";
133
133
  name: string;
134
134
  locator: string;
135
135
  description?: string | null | undefined;
@@ -139,7 +139,7 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
139
139
  sourceType?: "external" | "library" | undefined;
140
140
  note?: string | null | undefined;
141
141
  }>, {
142
- kind: "url" | "file" | "directory" | "connector_object";
142
+ kind: "file" | "url" | "directory" | "connector_object";
143
143
  name: string;
144
144
  sourceType: "external" | "library";
145
145
  locator: string;
@@ -149,7 +149,7 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
149
149
  role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
150
150
  note?: string | null | undefined;
151
151
  }, {
152
- kind: "url" | "file" | "directory" | "connector_object";
152
+ kind: "file" | "url" | "directory" | "connector_object";
153
153
  name: string;
154
154
  locator: string;
155
155
  description?: string | null | undefined;
@@ -21,8 +21,8 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
21
21
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
22
  createdByRunId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23
23
  }, "strip", z.ZodTypeAny, {
24
- title: string;
25
24
  status: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft";
25
+ title: string;
26
26
  type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document";
27
27
  provider: string;
28
28
  isPrimary: boolean;
@@ -30,10 +30,10 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
30
30
  healthStatus: "unknown" | "healthy" | "unhealthy";
31
31
  projectId?: string | null | undefined;
32
32
  url?: string | null | undefined;
33
- runWorkspaceId?: string | null | undefined;
34
- executionWorkspaceId?: string | null | undefined;
35
33
  metadata?: Record<string, unknown> | null | undefined;
36
34
  summary?: string | null | undefined;
35
+ runWorkspaceId?: string | null | undefined;
36
+ executionWorkspaceId?: string | null | undefined;
37
37
  runtimeServiceId?: string | null | undefined;
38
38
  externalId?: string | null | undefined;
39
39
  createdByRunId?: string | null | undefined;
@@ -41,13 +41,13 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
41
41
  title: string;
42
42
  type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document";
43
43
  provider: string;
44
- projectId?: string | null | undefined;
45
44
  status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
45
+ projectId?: string | null | undefined;
46
46
  url?: string | null | undefined;
47
- runWorkspaceId?: string | null | undefined;
48
- executionWorkspaceId?: string | null | undefined;
49
47
  metadata?: Record<string, unknown> | null | undefined;
50
48
  summary?: string | null | undefined;
49
+ runWorkspaceId?: string | null | undefined;
50
+ executionWorkspaceId?: string | null | undefined;
51
51
  isPrimary?: boolean | undefined;
52
52
  runtimeServiceId?: string | null | undefined;
53
53
  externalId?: string | null | undefined;
@@ -74,16 +74,16 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
74
74
  metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
75
75
  createdByRunId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
+ status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
77
78
  projectId?: string | null | undefined;
78
79
  title?: string | undefined;
79
- status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
80
80
  url?: string | null | undefined;
81
81
  type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document" | undefined;
82
+ metadata?: Record<string, unknown> | null | undefined;
83
+ summary?: string | null | undefined;
82
84
  provider?: string | undefined;
83
85
  runWorkspaceId?: string | null | undefined;
84
86
  executionWorkspaceId?: string | null | undefined;
85
- metadata?: Record<string, unknown> | null | undefined;
86
- summary?: string | null | undefined;
87
87
  isPrimary?: boolean | undefined;
88
88
  runtimeServiceId?: string | null | undefined;
89
89
  externalId?: string | null | undefined;
@@ -91,16 +91,16 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
91
91
  healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
92
92
  createdByRunId?: string | null | undefined;
93
93
  }, {
94
+ status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
94
95
  projectId?: string | null | undefined;
95
96
  title?: string | undefined;
96
- status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
97
97
  url?: string | null | undefined;
98
98
  type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document" | undefined;
99
+ metadata?: Record<string, unknown> | null | undefined;
100
+ summary?: string | null | undefined;
99
101
  provider?: string | undefined;
100
102
  runWorkspaceId?: string | null | undefined;
101
103
  executionWorkspaceId?: string | null | undefined;
102
- metadata?: Record<string, unknown> | null | undefined;
103
- summary?: string | null | undefined;
104
104
  isPrimary?: boolean | undefined;
105
105
  runtimeServiceId?: string | null | undefined;
106
106
  externalId?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudderhq/shared",
3
- "version": "0.4.6-canary.9",
3
+ "version": "0.5.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {