@rudderhq/shared 0.4.6-canary.8 → 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.
- package/dist/agent-run.d.ts +3 -0
- package/dist/agent-run.d.ts.map +1 -1
- package/dist/agent-run.js +60 -8
- package/dist/agent-run.js.map +1 -1
- package/dist/agent-run.test.js +74 -1
- package/dist/agent-run.test.js.map +1 -1
- package/dist/browser-shortcuts.d.ts +16 -0
- package/dist/browser-shortcuts.d.ts.map +1 -0
- package/dist/browser-shortcuts.js +49 -0
- package/dist/browser-shortcuts.js.map +1 -0
- package/dist/browser-shortcuts.test.d.ts +2 -0
- package/dist/browser-shortcuts.test.d.ts.map +1 -0
- package/dist/browser-shortcuts.test.js +37 -0
- package/dist/browser-shortcuts.test.js.map +1 -0
- package/dist/chat-inline-visuals.d.ts +35 -0
- package/dist/chat-inline-visuals.d.ts.map +1 -0
- package/dist/chat-inline-visuals.js +167 -0
- package/dist/chat-inline-visuals.js.map +1 -0
- package/dist/chat-inline-visuals.test.d.ts +2 -0
- package/dist/chat-inline-visuals.test.d.ts.map +1 -0
- package/dist/chat-inline-visuals.test.js +112 -0
- package/dist/chat-inline-visuals.test.js.map +1 -0
- package/dist/chat-work-manifest.d.ts +1 -1
- package/dist/chat-work-manifest.d.ts.map +1 -1
- package/dist/chat-work-manifest.js +110 -2
- package/dist/chat-work-manifest.js.map +1 -1
- package/dist/chat-work-manifest.test.js +54 -0
- package/dist/chat-work-manifest.test.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/organization-skill-reference.d.ts +4 -1
- package/dist/organization-skill-reference.d.ts.map +1 -1
- package/dist/organization-skill-reference.js +29 -7
- package/dist/organization-skill-reference.js.map +1 -1
- package/dist/organization-skill-reference.test.js +17 -2
- package/dist/organization-skill-reference.test.js.map +1 -1
- package/dist/types/chat.d.ts +158 -5
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/cost.d.ts +2 -0
- package/dist/types/cost.d.ts.map +1 -1
- package/dist/types/heartbeat.d.ts +10 -0
- package/dist/types/heartbeat.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/organization.d.ts +13 -1
- package/dist/types/organization.d.ts.map +1 -1
- package/dist/types/run-intelligence.d.ts +89 -0
- package/dist/types/run-intelligence.d.ts.map +1 -0
- package/dist/types/run-intelligence.js +2 -0
- package/dist/types/run-intelligence.js.map +1 -0
- package/dist/validators/adapter-skills.d.ts +6 -6
- package/dist/validators/agent.d.ts +12 -12
- package/dist/validators/approval.d.ts +2 -2
- package/dist/validators/automation.d.ts +60 -60
- package/dist/validators/budget.d.ts +4 -4
- package/dist/validators/calendar.d.ts +16 -16
- package/dist/validators/chat.d.ts +213 -72
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +170 -0
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/chat.test.js +71 -1
- package/dist/validators/chat.test.js.map +1 -1
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/finance.d.ts +8 -8
- package/dist/validators/goal.d.ts +3 -3
- package/dist/validators/index.d.ts +2 -2
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +2 -2
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/issue.d.ts +20 -20
- package/dist/validators/organization-portability.d.ts +96 -96
- package/dist/validators/organization-skill.d.ts +48 -48
- package/dist/validators/organization.d.ts +18 -0
- package/dist/validators/organization.d.ts.map +1 -1
- package/dist/validators/organization.js +7 -0
- package/dist/validators/organization.js.map +1 -1
- package/dist/validators/plugin.d.ts +2 -2
- package/dist/validators/project.d.ts +19 -19
- package/dist/validators/resource.d.ts +12 -12
- package/dist/validators/work-product.d.ts +12 -12
- package/dist/website-icons.d.ts +1 -0
- package/dist/website-icons.d.ts.map +1 -1
- package/dist/website-icons.js +1 -1
- package/dist/website-icons.js.map +1 -1
- package/dist/website-icons.test.js +4 -1
- package/dist/website-icons.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -101,10 +101,10 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
101
101
|
externalUpdatedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
title: string;
|
|
104
|
+
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
104
105
|
timezone: string;
|
|
105
106
|
ownerType: "agent" | "system" | "user";
|
|
106
107
|
visibility: "private" | "full" | "busy_only";
|
|
107
|
-
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
108
108
|
eventStatus: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected";
|
|
109
109
|
startAt: Date;
|
|
110
110
|
endAt: Date;
|
|
@@ -114,10 +114,10 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
114
114
|
issueId?: string | null | undefined;
|
|
115
115
|
ownerAgentId?: string | null | undefined;
|
|
116
116
|
description?: string | null | undefined;
|
|
117
|
+
goalId?: string | null | undefined;
|
|
117
118
|
externalProvider?: string | null | undefined;
|
|
118
119
|
ownerUserId?: string | null | undefined;
|
|
119
120
|
externalCalendarId?: string | null | undefined;
|
|
120
|
-
goalId?: string | null | undefined;
|
|
121
121
|
approvalId?: string | null | undefined;
|
|
122
122
|
sourceId?: string | null | undefined;
|
|
123
123
|
heartbeatRunId?: string | null | undefined;
|
|
@@ -127,19 +127,19 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
127
127
|
externalUpdatedAt?: Date | null | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
title: string;
|
|
130
|
-
ownerType: "agent" | "system" | "user";
|
|
131
130
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
131
|
+
ownerType: "agent" | "system" | "user";
|
|
132
132
|
startAt: Date;
|
|
133
133
|
endAt: Date;
|
|
134
134
|
projectId?: string | null | undefined;
|
|
135
135
|
issueId?: string | null | undefined;
|
|
136
136
|
ownerAgentId?: string | null | undefined;
|
|
137
137
|
description?: string | null | undefined;
|
|
138
|
+
goalId?: string | null | undefined;
|
|
138
139
|
timezone?: string | undefined;
|
|
139
140
|
externalProvider?: string | null | undefined;
|
|
140
141
|
ownerUserId?: string | null | undefined;
|
|
141
142
|
externalCalendarId?: string | null | undefined;
|
|
142
|
-
goalId?: string | null | undefined;
|
|
143
143
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
144
144
|
approvalId?: string | null | undefined;
|
|
145
145
|
sourceId?: string | null | undefined;
|
|
@@ -153,10 +153,10 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
153
153
|
externalUpdatedAt?: Date | null | undefined;
|
|
154
154
|
}>, {
|
|
155
155
|
title: string;
|
|
156
|
+
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
156
157
|
timezone: string;
|
|
157
158
|
ownerType: "agent" | "system" | "user";
|
|
158
159
|
visibility: "private" | "full" | "busy_only";
|
|
159
|
-
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
160
160
|
eventStatus: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected";
|
|
161
161
|
startAt: Date;
|
|
162
162
|
endAt: Date;
|
|
@@ -166,10 +166,10 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
166
166
|
issueId?: string | null | undefined;
|
|
167
167
|
ownerAgentId?: string | null | undefined;
|
|
168
168
|
description?: string | null | undefined;
|
|
169
|
+
goalId?: string | null | undefined;
|
|
169
170
|
externalProvider?: string | null | undefined;
|
|
170
171
|
ownerUserId?: string | null | undefined;
|
|
171
172
|
externalCalendarId?: string | null | undefined;
|
|
172
|
-
goalId?: string | null | undefined;
|
|
173
173
|
approvalId?: string | null | undefined;
|
|
174
174
|
sourceId?: string | null | undefined;
|
|
175
175
|
heartbeatRunId?: string | null | undefined;
|
|
@@ -179,19 +179,19 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
179
179
|
externalUpdatedAt?: Date | null | undefined;
|
|
180
180
|
}, {
|
|
181
181
|
title: string;
|
|
182
|
-
ownerType: "agent" | "system" | "user";
|
|
183
182
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
183
|
+
ownerType: "agent" | "system" | "user";
|
|
184
184
|
startAt: Date;
|
|
185
185
|
endAt: Date;
|
|
186
186
|
projectId?: string | null | undefined;
|
|
187
187
|
issueId?: string | null | undefined;
|
|
188
188
|
ownerAgentId?: string | null | undefined;
|
|
189
189
|
description?: string | null | undefined;
|
|
190
|
+
goalId?: string | null | undefined;
|
|
190
191
|
timezone?: string | undefined;
|
|
191
192
|
externalProvider?: string | null | undefined;
|
|
192
193
|
ownerUserId?: string | null | undefined;
|
|
193
194
|
externalCalendarId?: string | null | undefined;
|
|
194
|
-
goalId?: string | null | undefined;
|
|
195
195
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
196
196
|
approvalId?: string | null | undefined;
|
|
197
197
|
sourceId?: string | null | undefined;
|
|
@@ -237,16 +237,16 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
237
237
|
issueId?: string | null | undefined;
|
|
238
238
|
ownerAgentId?: string | null | undefined;
|
|
239
239
|
description?: string | null | undefined;
|
|
240
|
+
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
241
|
+
goalId?: string | null | undefined;
|
|
240
242
|
timezone?: string | undefined;
|
|
241
243
|
externalProvider?: string | null | undefined;
|
|
242
244
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
243
245
|
ownerUserId?: string | null | undefined;
|
|
244
246
|
externalCalendarId?: string | null | undefined;
|
|
245
|
-
goalId?: string | null | undefined;
|
|
246
247
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
247
248
|
approvalId?: string | null | undefined;
|
|
248
249
|
sourceId?: string | null | undefined;
|
|
249
|
-
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
250
250
|
eventStatus?: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected" | undefined;
|
|
251
251
|
startAt?: Date | undefined;
|
|
252
252
|
endAt?: Date | undefined;
|
|
@@ -263,16 +263,16 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
263
263
|
issueId?: string | null | undefined;
|
|
264
264
|
ownerAgentId?: string | null | undefined;
|
|
265
265
|
description?: string | null | undefined;
|
|
266
|
+
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
267
|
+
goalId?: string | null | undefined;
|
|
266
268
|
timezone?: string | undefined;
|
|
267
269
|
externalProvider?: string | null | undefined;
|
|
268
270
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
269
271
|
ownerUserId?: string | null | undefined;
|
|
270
272
|
externalCalendarId?: string | null | undefined;
|
|
271
|
-
goalId?: string | null | undefined;
|
|
272
273
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
273
274
|
approvalId?: string | null | undefined;
|
|
274
275
|
sourceId?: string | null | undefined;
|
|
275
|
-
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
276
276
|
eventStatus?: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected" | undefined;
|
|
277
277
|
startAt?: Date | undefined;
|
|
278
278
|
endAt?: Date | undefined;
|
|
@@ -289,16 +289,16 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
289
289
|
issueId?: string | null | undefined;
|
|
290
290
|
ownerAgentId?: string | null | undefined;
|
|
291
291
|
description?: string | null | undefined;
|
|
292
|
+
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
293
|
+
goalId?: string | null | undefined;
|
|
292
294
|
timezone?: string | undefined;
|
|
293
295
|
externalProvider?: string | null | undefined;
|
|
294
296
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
295
297
|
ownerUserId?: string | null | undefined;
|
|
296
298
|
externalCalendarId?: string | null | undefined;
|
|
297
|
-
goalId?: string | null | undefined;
|
|
298
299
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
299
300
|
approvalId?: string | null | undefined;
|
|
300
301
|
sourceId?: string | null | undefined;
|
|
301
|
-
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
302
302
|
eventStatus?: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected" | undefined;
|
|
303
303
|
startAt?: Date | undefined;
|
|
304
304
|
endAt?: Date | undefined;
|
|
@@ -315,16 +315,16 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
315
315
|
issueId?: string | null | undefined;
|
|
316
316
|
ownerAgentId?: string | null | undefined;
|
|
317
317
|
description?: string | null | undefined;
|
|
318
|
+
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
319
|
+
goalId?: string | null | undefined;
|
|
318
320
|
timezone?: string | undefined;
|
|
319
321
|
externalProvider?: string | null | undefined;
|
|
320
322
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
321
323
|
ownerUserId?: string | null | undefined;
|
|
322
324
|
externalCalendarId?: string | null | undefined;
|
|
323
|
-
goalId?: string | null | undefined;
|
|
324
325
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
325
326
|
approvalId?: string | null | undefined;
|
|
326
327
|
sourceId?: string | null | undefined;
|
|
327
|
-
eventKind?: "human_event" | "agent_work_block" | "external_event" | "system_event" | undefined;
|
|
328
328
|
eventStatus?: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected" | undefined;
|
|
329
329
|
startAt?: Date | undefined;
|
|
330
330
|
endAt?: Date | undefined;
|