@rudderhq/shared 0.4.2-canary.0 → 0.4.2-canary.2

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 (42) hide show
  1. package/dist/constants.d.ts +12 -0
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +6 -0
  4. package/dist/constants.js.map +1 -1
  5. package/dist/index.d.ts +3 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +2 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/organization-skill-reference.d.ts +1 -1
  10. package/dist/organization-skill-reference.d.ts.map +1 -1
  11. package/dist/organization-skill-reference.js +0 -2
  12. package/dist/organization-skill-reference.js.map +1 -1
  13. package/dist/types/custom-integration.d.ts +68 -0
  14. package/dist/types/custom-integration.d.ts.map +1 -0
  15. package/dist/types/custom-integration.js +2 -0
  16. package/dist/types/custom-integration.js.map +1 -0
  17. package/dist/types/index.d.ts +1 -0
  18. package/dist/types/index.d.ts.map +1 -1
  19. package/dist/validators/automation.d.ts +12 -12
  20. package/dist/validators/budget.d.ts +2 -2
  21. package/dist/validators/calendar.d.ts +32 -32
  22. package/dist/validators/chat.d.ts +15 -15
  23. package/dist/validators/custom-integration.d.ts +135 -0
  24. package/dist/validators/custom-integration.d.ts.map +1 -0
  25. package/dist/validators/custom-integration.js +45 -0
  26. package/dist/validators/custom-integration.js.map +1 -0
  27. package/dist/validators/finance.d.ts +4 -4
  28. package/dist/validators/goal.d.ts +9 -9
  29. package/dist/validators/index.d.ts +1 -0
  30. package/dist/validators/index.d.ts.map +1 -1
  31. package/dist/validators/index.js +1 -0
  32. package/dist/validators/index.js.map +1 -1
  33. package/dist/validators/issue.d.ts +3 -3
  34. package/dist/validators/organization-portability.d.ts +91 -91
  35. package/dist/validators/organization-skill.d.ts +72 -72
  36. package/dist/validators/organization.d.ts +6 -6
  37. package/dist/validators/plugin.d.ts +86 -86
  38. package/dist/validators/project.d.ts +3 -3
  39. package/dist/validators/resource.d.ts +4 -4
  40. package/dist/validators/secret.d.ts +18 -18
  41. package/dist/validators/work-product.d.ts +4 -4
  42. package/package.json +1 -1
@@ -390,8 +390,8 @@ export declare const createProjectSchema: z.ZodObject<{
390
390
  archivedAt?: string | null | undefined;
391
391
  }, {
392
392
  name: string;
393
- status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
394
393
  description?: string | null | undefined;
394
+ status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
395
395
  goalId?: string | null | undefined;
396
396
  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;
397
397
  targetDate?: 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
+ description?: string | null | undefined;
589
590
  status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
590
591
  name?: string | undefined;
591
- description?: string | null | undefined;
592
592
  goalId?: string | null | undefined;
593
593
  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;
594
594
  targetDate?: string | null | undefined;
@@ -633,9 +633,9 @@ export declare const updateProjectSchema: z.ZodObject<{
633
633
  }[] | undefined;
634
634
  archivedAt?: string | null | undefined;
635
635
  }, {
636
+ description?: string | null | undefined;
636
637
  status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined;
637
638
  name?: string | undefined;
638
- description?: string | null | undefined;
639
639
  goalId?: string | null | undefined;
640
640
  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;
641
641
  targetDate?: string | null | undefined;
@@ -48,29 +48,29 @@ export declare const updateOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
48
48
  metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
49
49
  }, "strict", z.ZodTypeAny, {
50
50
  kind?: "file" | "directory" | "url" | "connector_object" | undefined;
51
- name?: string | undefined;
52
51
  description?: string | null | undefined;
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
57
  kind?: "file" | "directory" | "url" | "connector_object" | undefined;
58
- name?: string | undefined;
59
58
  description?: string | null | undefined;
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
64
  kind?: "file" | "directory" | "url" | "connector_object" | undefined;
65
- name?: string | undefined;
66
65
  description?: string | null | undefined;
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
71
  kind?: "file" | "directory" | "url" | "connector_object" | undefined;
72
- name?: string | undefined;
73
72
  description?: string | null | undefined;
73
+ name?: string | undefined;
74
74
  metadata?: Record<string, unknown> | null | undefined;
75
75
  sourceType?: "external" | "library" | undefined;
76
76
  locator?: string | undefined;
@@ -3,67 +3,67 @@ export declare const envBindingPlainSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"plain">;
4
4
  value: z.ZodString;
5
5
  }, "strip", z.ZodTypeAny, {
6
- type: "plain";
7
6
  value: string;
8
- }, {
9
7
  type: "plain";
8
+ }, {
10
9
  value: string;
10
+ type: "plain";
11
11
  }>;
12
12
  export declare const envBindingSecretRefSchema: z.ZodObject<{
13
13
  type: z.ZodLiteral<"secret_ref">;
14
14
  secretId: z.ZodString;
15
15
  version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- secretId: string;
18
17
  type: "secret_ref";
18
+ secretId: string;
19
19
  version?: number | "latest" | undefined;
20
20
  }, {
21
- secretId: string;
22
21
  type: "secret_ref";
22
+ secretId: string;
23
23
  version?: number | "latest" | undefined;
24
24
  }>;
25
25
  export declare const envBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
26
26
  type: z.ZodLiteral<"plain">;
27
27
  value: z.ZodString;
28
28
  }, "strip", z.ZodTypeAny, {
29
- type: "plain";
30
29
  value: string;
31
- }, {
32
30
  type: "plain";
31
+ }, {
33
32
  value: string;
33
+ type: "plain";
34
34
  }>, z.ZodObject<{
35
35
  type: z.ZodLiteral<"secret_ref">;
36
36
  secretId: z.ZodString;
37
37
  version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- secretId: string;
40
39
  type: "secret_ref";
40
+ secretId: string;
41
41
  version?: number | "latest" | undefined;
42
42
  }, {
43
- secretId: string;
44
43
  type: "secret_ref";
44
+ secretId: string;
45
45
  version?: number | "latest" | undefined;
46
46
  }>]>;
47
47
  export declare const envConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
48
48
  type: z.ZodLiteral<"plain">;
49
49
  value: z.ZodString;
50
50
  }, "strip", z.ZodTypeAny, {
51
- type: "plain";
52
51
  value: string;
53
- }, {
54
52
  type: "plain";
53
+ }, {
55
54
  value: string;
55
+ type: "plain";
56
56
  }>, z.ZodObject<{
57
57
  type: z.ZodLiteral<"secret_ref">;
58
58
  secretId: z.ZodString;
59
59
  version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- secretId: string;
62
61
  type: "secret_ref";
62
+ secretId: string;
63
63
  version?: number | "latest" | undefined;
64
64
  }, {
65
- secretId: string;
66
65
  type: "secret_ref";
66
+ secretId: string;
67
67
  version?: number | "latest" | undefined;
68
68
  }>]>>;
69
69
  export declare const createSecretSchema: z.ZodObject<{
@@ -73,16 +73,16 @@ export declare const createSecretSchema: z.ZodObject<{
73
73
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
74
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- name: string;
77
76
  value: string;
78
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
77
+ name: string;
79
78
  description?: string | null | undefined;
79
+ provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
80
80
  externalRef?: string | null | undefined;
81
81
  }, {
82
- name: string;
83
82
  value: string;
84
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
83
+ name: string;
85
84
  description?: string | null | undefined;
85
+ provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
86
86
  externalRef?: string | null | undefined;
87
87
  }>;
88
88
  export type CreateSecret = z.infer<typeof createSecretSchema>;
@@ -102,12 +102,12 @@ export declare const updateSecretSchema: z.ZodObject<{
102
102
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
103
103
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
104
104
  }, "strip", z.ZodTypeAny, {
105
- name?: string | undefined;
106
105
  description?: string | null | undefined;
106
+ name?: string | undefined;
107
107
  externalRef?: string | null | undefined;
108
108
  }, {
109
- name?: string | undefined;
110
109
  description?: string | null | undefined;
110
+ name?: string | undefined;
111
111
  externalRef?: string | null | undefined;
112
112
  }>;
113
113
  export type UpdateSecret = z.infer<typeof updateSecretSchema>;
@@ -21,9 +21,9 @@ 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
- provider: string;
25
24
  status: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft";
26
25
  type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document";
26
+ provider: string;
27
27
  title: string;
28
28
  isPrimary: boolean;
29
29
  reviewState: "approved" | "none" | "changes_requested" | "needs_board_review";
@@ -38,8 +38,8 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
38
38
  externalId?: string | null | undefined;
39
39
  createdByRunId?: string | null | undefined;
40
40
  }, {
41
- provider: string;
42
41
  type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document";
42
+ provider: string;
43
43
  title: string;
44
44
  url?: string | null | undefined;
45
45
  status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
@@ -75,9 +75,9 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
75
75
  createdByRunId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  url?: string | null | undefined;
78
- provider?: string | undefined;
79
78
  status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
80
79
  type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document" | undefined;
80
+ provider?: string | undefined;
81
81
  title?: string | undefined;
82
82
  projectId?: string | null | undefined;
83
83
  runWorkspaceId?: string | null | undefined;
@@ -92,9 +92,9 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
92
92
  createdByRunId?: string | null | undefined;
93
93
  }, {
94
94
  url?: string | null | undefined;
95
- provider?: string | undefined;
96
95
  status?: "active" | "archived" | "failed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | "closed" | "draft" | undefined;
97
96
  type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | "document" | undefined;
97
+ provider?: string | undefined;
98
98
  title?: string | undefined;
99
99
  projectId?: string | null | undefined;
100
100
  runWorkspaceId?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudderhq/shared",
3
- "version": "0.4.2-canary.0",
3
+ "version": "0.4.2-canary.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {