@rudderhq/shared 0.3.4-canary.9 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.d.ts +2 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +27 -5
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +14 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/organization-skill-reference.test.js +3 -3
- package/dist/organization-skill-reference.test.js.map +1 -1
- package/dist/project-mentions.d.ts +2 -1
- package/dist/project-mentions.d.ts.map +1 -1
- package/dist/project-mentions.js +26 -129
- package/dist/project-mentions.js.map +1 -1
- package/dist/project-mentions.test.js +54 -40
- package/dist/project-mentions.test.js.map +1 -1
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/heartbeat.d.ts +1 -1
- package/dist/types/index.d.ts +30 -30
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +17 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/issue.d.ts +1 -41
- package/dist/types/issue.d.ts.map +1 -1
- package/dist/types/messenger.d.ts +4 -4
- package/dist/types/messenger.d.ts.map +1 -1
- package/dist/types/organization.d.ts +1 -2
- package/dist/types/organization.d.ts.map +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/project.d.ts +1 -1
- package/dist/types/project.d.ts.map +1 -1
- package/dist/validators/adapter-skills.d.ts +20 -20
- package/dist/validators/agent.d.ts +28 -28
- package/dist/validators/agent.js +2 -2
- package/dist/validators/agent.js.map +1 -1
- package/dist/validators/automation.d.ts +86 -4
- package/dist/validators/automation.d.ts.map +1 -1
- package/dist/validators/automation.js +16 -7
- package/dist/validators/automation.js.map +1 -1
- package/dist/validators/automation.test.js +20 -0
- package/dist/validators/automation.test.js.map +1 -1
- package/dist/validators/calendar.d.ts +32 -32
- package/dist/validators/chat.d.ts +40 -2
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +5 -1
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/chat.test.js +18 -3
- package/dist/validators/chat.test.js.map +1 -1
- package/dist/validators/finance.d.ts +4 -4
- package/dist/validators/goal.d.ts +4 -4
- package/dist/validators/index.d.ts +25 -25
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +25 -25
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +281 -0
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +38 -0
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/instance.test.js +41 -1
- package/dist/validators/instance.test.js.map +1 -1
- package/dist/validators/issue.d.ts +0 -22
- package/dist/validators/issue.d.ts.map +1 -1
- package/dist/validators/issue.js +0 -13
- package/dist/validators/issue.js.map +1 -1
- package/dist/validators/organization-intelligence-profile.js +1 -1
- package/dist/validators/organization-intelligence-profile.js.map +1 -1
- package/dist/validators/organization-portability.d.ts +89 -89
- package/dist/validators/organization-skill.d.ts +150 -150
- package/dist/validators/organization.d.ts +12 -12
- package/dist/validators/plugin.d.ts +17 -17
- package/dist/validators/plugin.js +1 -1
- package/dist/validators/plugin.js.map +1 -1
- package/dist/validators/project.d.ts +26 -26
- package/dist/validators/project.test.js +2 -2
- package/dist/validators/project.test.js.map +1 -1
- package/dist/validators/resource.d.ts +20 -20
- package/dist/validators/secret.d.ts +2 -2
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ export declare const createOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
|
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
kind: "file" | "directory" | "url" | "connector_object";
|
|
14
14
|
name: string;
|
|
15
|
-
locator: string;
|
|
16
15
|
sourceType: "external" | "library";
|
|
16
|
+
locator: string;
|
|
17
17
|
description?: string | null | undefined;
|
|
18
18
|
metadata?: Record<string, unknown> | null | undefined;
|
|
19
19
|
}, {
|
|
@@ -21,13 +21,13 @@ export declare const createOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
|
|
|
21
21
|
name: string;
|
|
22
22
|
locator: string;
|
|
23
23
|
description?: string | null | undefined;
|
|
24
|
-
sourceType?: "external" | "library" | undefined;
|
|
25
24
|
metadata?: Record<string, unknown> | null | undefined;
|
|
25
|
+
sourceType?: "external" | "library" | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
kind: "file" | "directory" | "url" | "connector_object";
|
|
28
28
|
name: string;
|
|
29
|
-
locator: string;
|
|
30
29
|
sourceType: "external" | "library";
|
|
30
|
+
locator: string;
|
|
31
31
|
description?: string | null | undefined;
|
|
32
32
|
metadata?: Record<string, unknown> | null | undefined;
|
|
33
33
|
}, {
|
|
@@ -35,8 +35,8 @@ export declare const createOrganizationResourceSchema: z.ZodEffects<z.ZodObject<
|
|
|
35
35
|
name: string;
|
|
36
36
|
locator: string;
|
|
37
37
|
description?: string | null | undefined;
|
|
38
|
-
sourceType?: "external" | "library" | undefined;
|
|
39
38
|
metadata?: Record<string, unknown> | null | undefined;
|
|
39
|
+
sourceType?: "external" | "library" | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export type CreateOrganizationResource = z.infer<typeof createOrganizationResourceSchema>;
|
|
42
42
|
export declare const updateOrganizationResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -48,32 +48,32 @@ 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
|
-
description?: string | null | undefined;
|
|
52
51
|
name?: string | undefined;
|
|
53
|
-
|
|
54
|
-
sourceType?: "external" | "library" | undefined;
|
|
52
|
+
description?: string | null | undefined;
|
|
55
53
|
metadata?: Record<string, unknown> | null | undefined;
|
|
54
|
+
sourceType?: "external" | "library" | undefined;
|
|
55
|
+
locator?: string | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
kind?: "file" | "directory" | "url" | "connector_object" | undefined;
|
|
58
|
-
description?: string | null | undefined;
|
|
59
58
|
name?: string | undefined;
|
|
60
|
-
|
|
61
|
-
sourceType?: "external" | "library" | undefined;
|
|
59
|
+
description?: string | null | undefined;
|
|
62
60
|
metadata?: Record<string, unknown> | null | undefined;
|
|
61
|
+
sourceType?: "external" | "library" | undefined;
|
|
62
|
+
locator?: string | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
kind?: "file" | "directory" | "url" | "connector_object" | undefined;
|
|
65
|
-
description?: string | null | undefined;
|
|
66
65
|
name?: string | undefined;
|
|
67
|
-
|
|
68
|
-
sourceType?: "external" | "library" | undefined;
|
|
66
|
+
description?: string | null | undefined;
|
|
69
67
|
metadata?: Record<string, unknown> | null | undefined;
|
|
68
|
+
sourceType?: "external" | "library" | undefined;
|
|
69
|
+
locator?: string | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
kind?: "file" | "directory" | "url" | "connector_object" | undefined;
|
|
72
|
-
description?: string | null | undefined;
|
|
73
72
|
name?: string | undefined;
|
|
74
|
-
|
|
75
|
-
sourceType?: "external" | "library" | undefined;
|
|
73
|
+
description?: string | null | undefined;
|
|
76
74
|
metadata?: Record<string, unknown> | null | undefined;
|
|
75
|
+
sourceType?: "external" | "library" | undefined;
|
|
76
|
+
locator?: string | undefined;
|
|
77
77
|
}>;
|
|
78
78
|
export type UpdateOrganizationResource = z.infer<typeof updateOrganizationResourceSchema>;
|
|
79
79
|
export declare const projectResourceAttachmentInputSchema: z.ZodObject<{
|
|
@@ -121,8 +121,8 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
121
121
|
}, "strict", z.ZodTypeAny, {
|
|
122
122
|
kind: "file" | "directory" | "url" | "connector_object";
|
|
123
123
|
name: string;
|
|
124
|
-
locator: string;
|
|
125
124
|
sourceType: "external" | "library";
|
|
125
|
+
locator: string;
|
|
126
126
|
description?: string | null | undefined;
|
|
127
127
|
metadata?: Record<string, unknown> | null | undefined;
|
|
128
128
|
role?: "working_set" | "reference" | "tracking" | "deliverable" | "background" | undefined;
|
|
@@ -133,16 +133,16 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
133
133
|
name: string;
|
|
134
134
|
locator: string;
|
|
135
135
|
description?: string | null | undefined;
|
|
136
|
-
sourceType?: "external" | "library" | undefined;
|
|
137
136
|
metadata?: Record<string, unknown> | null | undefined;
|
|
138
137
|
role?: "working_set" | "reference" | "tracking" | "deliverable" | "background" | undefined;
|
|
138
|
+
sourceType?: "external" | "library" | undefined;
|
|
139
139
|
note?: string | null | undefined;
|
|
140
140
|
sortOrder?: number | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
kind: "file" | "directory" | "url" | "connector_object";
|
|
143
143
|
name: string;
|
|
144
|
-
locator: string;
|
|
145
144
|
sourceType: "external" | "library";
|
|
145
|
+
locator: string;
|
|
146
146
|
description?: string | null | undefined;
|
|
147
147
|
metadata?: Record<string, unknown> | null | undefined;
|
|
148
148
|
role?: "working_set" | "reference" | "tracking" | "deliverable" | "background" | undefined;
|
|
@@ -153,9 +153,9 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
153
153
|
name: string;
|
|
154
154
|
locator: string;
|
|
155
155
|
description?: string | null | undefined;
|
|
156
|
-
sourceType?: "external" | "library" | undefined;
|
|
157
156
|
metadata?: Record<string, unknown> | null | undefined;
|
|
158
157
|
role?: "working_set" | "reference" | "tracking" | "deliverable" | "background" | undefined;
|
|
158
|
+
sourceType?: "external" | "library" | undefined;
|
|
159
159
|
note?: string | null | undefined;
|
|
160
160
|
sortOrder?: number | undefined;
|
|
161
161
|
}>;
|
|
@@ -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
|
-
description?: string | null | undefined;
|
|
106
105
|
name?: string | undefined;
|
|
106
|
+
description?: string | null | undefined;
|
|
107
107
|
externalRef?: string | null | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
description?: string | null | undefined;
|
|
110
109
|
name?: string | undefined;
|
|
110
|
+
description?: string | null | undefined;
|
|
111
111
|
externalRef?: string | null | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
export type UpdateSecret = z.infer<typeof updateSecretSchema>;
|