@rudderhq/shared 0.4.5 → 0.4.6-canary.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/chat-work-manifest.d.ts +12 -0
- package/dist/chat-work-manifest.d.ts.map +1 -0
- package/dist/chat-work-manifest.js +110 -0
- package/dist/chat-work-manifest.js.map +1 -0
- package/dist/chat-work-manifest.test.d.ts +2 -0
- package/dist/chat-work-manifest.test.d.ts.map +1 -0
- package/dist/chat-work-manifest.test.js +79 -0
- package/dist/chat-work-manifest.test.js.map +1 -0
- package/dist/config-schema.d.ts +8 -8
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +8 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/organization-skill-reference.d.ts +2 -1
- package/dist/organization-skill-reference.d.ts.map +1 -1
- package/dist/organization-skill-reference.js +4 -0
- package/dist/organization-skill-reference.js.map +1 -1
- package/dist/organization-skill-reference.test.js +13 -1
- package/dist/organization-skill-reference.test.js.map +1 -1
- package/dist/types/chat.d.ts +33 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +5 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/validators/agent-integration.d.ts +2 -2
- package/dist/validators/agent.d.ts +8 -8
- package/dist/validators/automation.d.ts +41 -41
- package/dist/validators/calendar.d.ts +19 -19
- package/dist/validators/chat.d.ts +57 -57
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/custom-integration.d.ts +2 -2
- package/dist/validators/finance.d.ts +8 -8
- package/dist/validators/goal.d.ts +6 -6
- package/dist/validators/index.d.ts +1 -1
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +28 -2
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +13 -0
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/instance.test.js +32 -1
- package/dist/validators/instance.test.js.map +1 -1
- package/dist/validators/issue.d.ts +22 -22
- package/dist/validators/organization-portability.d.ts +120 -120
- package/dist/validators/organization-skill.d.ts +64 -64
- package/dist/validators/organization.d.ts +3 -3
- package/dist/validators/project.d.ts +39 -39
- package/dist/validators/resource.d.ts +20 -20
- package/dist/validators/work-product.d.ts +11 -11
- package/dist/website-icons.d.ts.map +1 -1
- package/dist/website-icons.js +13 -4
- package/dist/website-icons.js.map +1 -1
- package/dist/website-icons.test.js +6 -0
- package/dist/website-icons.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,11 +23,11 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
23
23
|
chatConversationId: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
24
24
|
notifyOnIssueCreated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
|
|
26
|
+
projectId: string | null;
|
|
27
27
|
title: string;
|
|
28
|
+
status: "active" | "paused";
|
|
28
29
|
priority: "critical" | "high" | "medium" | "low";
|
|
29
30
|
assigneeAgentId: string;
|
|
30
|
-
projectId: string | null;
|
|
31
31
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
32
32
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
33
33
|
outputMode: "track_issue" | "chat_output";
|
|
@@ -40,10 +40,10 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
40
40
|
}, {
|
|
41
41
|
title: string;
|
|
42
42
|
assigneeAgentId: string;
|
|
43
|
-
|
|
43
|
+
projectId?: string | null | undefined;
|
|
44
44
|
status?: "active" | "paused" | undefined;
|
|
45
|
+
description?: string | null | undefined;
|
|
45
46
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
46
|
-
projectId?: string | null | undefined;
|
|
47
47
|
goalId?: string | null | undefined;
|
|
48
48
|
instructions?: string | null | undefined;
|
|
49
49
|
parentIssueId?: string | null | undefined;
|
|
@@ -53,11 +53,11 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
53
53
|
chatConversationId?: string | null | undefined;
|
|
54
54
|
notifyOnIssueCreated?: boolean | undefined;
|
|
55
55
|
}>, {
|
|
56
|
-
|
|
56
|
+
projectId: string | null;
|
|
57
57
|
title: string;
|
|
58
|
+
status: "active" | "paused";
|
|
58
59
|
priority: "critical" | "high" | "medium" | "low";
|
|
59
60
|
assigneeAgentId: string;
|
|
60
|
-
projectId: string | null;
|
|
61
61
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
62
62
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
63
63
|
outputMode: "track_issue" | "chat_output";
|
|
@@ -70,10 +70,10 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
70
70
|
}, {
|
|
71
71
|
title: string;
|
|
72
72
|
assigneeAgentId: string;
|
|
73
|
-
|
|
73
|
+
projectId?: string | null | undefined;
|
|
74
74
|
status?: "active" | "paused" | undefined;
|
|
75
|
+
description?: string | null | undefined;
|
|
75
76
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
76
|
-
projectId?: string | null | undefined;
|
|
77
77
|
goalId?: string | null | undefined;
|
|
78
78
|
instructions?: string | null | undefined;
|
|
79
79
|
parentIssueId?: string | null | undefined;
|
|
@@ -83,11 +83,11 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
83
83
|
chatConversationId?: string | null | undefined;
|
|
84
84
|
notifyOnIssueCreated?: boolean | undefined;
|
|
85
85
|
}>, Omit<{
|
|
86
|
-
|
|
86
|
+
projectId: string | null;
|
|
87
87
|
title: string;
|
|
88
|
+
status: "active" | "paused";
|
|
88
89
|
priority: "critical" | "high" | "medium" | "low";
|
|
89
90
|
assigneeAgentId: string;
|
|
90
|
-
projectId: string | null;
|
|
91
91
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
92
92
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
93
93
|
outputMode: "track_issue" | "chat_output";
|
|
@@ -102,10 +102,10 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
102
102
|
}, {
|
|
103
103
|
title: string;
|
|
104
104
|
assigneeAgentId: string;
|
|
105
|
-
|
|
105
|
+
projectId?: string | null | undefined;
|
|
106
106
|
status?: "active" | "paused" | undefined;
|
|
107
|
+
description?: string | null | undefined;
|
|
107
108
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
108
|
-
projectId?: string | null | undefined;
|
|
109
109
|
goalId?: string | null | undefined;
|
|
110
110
|
instructions?: string | null | undefined;
|
|
111
111
|
parentIssueId?: string | null | undefined;
|
|
@@ -115,11 +115,11 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
115
115
|
chatConversationId?: string | null | undefined;
|
|
116
116
|
notifyOnIssueCreated?: boolean | undefined;
|
|
117
117
|
}>, Omit<{
|
|
118
|
-
|
|
118
|
+
projectId: string | null;
|
|
119
119
|
title: string;
|
|
120
|
+
status: "active" | "paused";
|
|
120
121
|
priority: "critical" | "high" | "medium" | "low";
|
|
121
122
|
assigneeAgentId: string;
|
|
122
|
-
projectId: string | null;
|
|
123
123
|
concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active";
|
|
124
124
|
catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap";
|
|
125
125
|
outputMode: "track_issue" | "chat_output";
|
|
@@ -134,10 +134,10 @@ export declare const createAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
134
134
|
}, {
|
|
135
135
|
title: string;
|
|
136
136
|
assigneeAgentId: string;
|
|
137
|
-
|
|
137
|
+
projectId?: string | null | undefined;
|
|
138
138
|
status?: "active" | "paused" | undefined;
|
|
139
|
+
description?: string | null | undefined;
|
|
139
140
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
140
|
-
projectId?: string | null | undefined;
|
|
141
141
|
goalId?: string | null | undefined;
|
|
142
142
|
instructions?: string | null | undefined;
|
|
143
143
|
parentIssueId?: string | null | undefined;
|
|
@@ -164,12 +164,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
164
164
|
chatConversationId: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>>;
|
|
165
165
|
notifyOnIssueCreated: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
|
|
168
|
-
status?: "active" | "paused" | undefined;
|
|
167
|
+
projectId?: string | null | undefined;
|
|
169
168
|
title?: string | undefined;
|
|
169
|
+
status?: "active" | "paused" | undefined;
|
|
170
|
+
description?: string | null | undefined;
|
|
170
171
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
171
172
|
assigneeAgentId?: string | undefined;
|
|
172
|
-
projectId?: string | null | undefined;
|
|
173
173
|
goalId?: string | null | undefined;
|
|
174
174
|
instructions?: string | null | undefined;
|
|
175
175
|
parentIssueId?: string | null | undefined;
|
|
@@ -179,12 +179,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
179
179
|
chatConversationId?: string | null | undefined;
|
|
180
180
|
notifyOnIssueCreated?: boolean | undefined;
|
|
181
181
|
}, {
|
|
182
|
-
|
|
183
|
-
status?: "active" | "paused" | undefined;
|
|
182
|
+
projectId?: string | null | undefined;
|
|
184
183
|
title?: string | undefined;
|
|
184
|
+
status?: "active" | "paused" | undefined;
|
|
185
|
+
description?: string | null | undefined;
|
|
185
186
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
186
187
|
assigneeAgentId?: string | undefined;
|
|
187
|
-
projectId?: string | null | undefined;
|
|
188
188
|
goalId?: string | null | undefined;
|
|
189
189
|
instructions?: string | null | undefined;
|
|
190
190
|
parentIssueId?: string | null | undefined;
|
|
@@ -194,12 +194,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
194
194
|
chatConversationId?: string | null | undefined;
|
|
195
195
|
notifyOnIssueCreated?: boolean | undefined;
|
|
196
196
|
}>, {
|
|
197
|
-
|
|
198
|
-
status?: "active" | "paused" | undefined;
|
|
197
|
+
projectId?: string | null | undefined;
|
|
199
198
|
title?: string | undefined;
|
|
199
|
+
status?: "active" | "paused" | undefined;
|
|
200
|
+
description?: string | null | undefined;
|
|
200
201
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
201
202
|
assigneeAgentId?: string | undefined;
|
|
202
|
-
projectId?: string | null | undefined;
|
|
203
203
|
goalId?: string | null | undefined;
|
|
204
204
|
instructions?: string | null | undefined;
|
|
205
205
|
parentIssueId?: string | null | undefined;
|
|
@@ -209,12 +209,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
209
209
|
chatConversationId?: string | null | undefined;
|
|
210
210
|
notifyOnIssueCreated?: boolean | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
|
|
213
|
-
status?: "active" | "paused" | undefined;
|
|
212
|
+
projectId?: string | null | undefined;
|
|
214
213
|
title?: string | undefined;
|
|
214
|
+
status?: "active" | "paused" | undefined;
|
|
215
|
+
description?: string | null | undefined;
|
|
215
216
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
216
217
|
assigneeAgentId?: string | undefined;
|
|
217
|
-
projectId?: string | null | undefined;
|
|
218
218
|
goalId?: string | null | undefined;
|
|
219
219
|
instructions?: string | null | undefined;
|
|
220
220
|
parentIssueId?: string | null | undefined;
|
|
@@ -224,12 +224,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
224
224
|
chatConversationId?: string | null | undefined;
|
|
225
225
|
notifyOnIssueCreated?: boolean | undefined;
|
|
226
226
|
}>, Omit<{
|
|
227
|
-
|
|
228
|
-
status?: "active" | "paused" | undefined;
|
|
227
|
+
projectId?: string | null | undefined;
|
|
229
228
|
title?: string | undefined;
|
|
229
|
+
status?: "active" | "paused" | undefined;
|
|
230
|
+
description?: string | null | undefined;
|
|
230
231
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
231
232
|
assigneeAgentId?: string | undefined;
|
|
232
|
-
projectId?: string | null | undefined;
|
|
233
233
|
goalId?: string | null | undefined;
|
|
234
234
|
instructions?: string | null | undefined;
|
|
235
235
|
parentIssueId?: string | null | undefined;
|
|
@@ -241,12 +241,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
241
241
|
}, "instructions"> & {
|
|
242
242
|
description: string | null | undefined;
|
|
243
243
|
}, {
|
|
244
|
-
|
|
245
|
-
status?: "active" | "paused" | undefined;
|
|
244
|
+
projectId?: string | null | undefined;
|
|
246
245
|
title?: string | undefined;
|
|
246
|
+
status?: "active" | "paused" | undefined;
|
|
247
|
+
description?: string | null | undefined;
|
|
247
248
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
248
249
|
assigneeAgentId?: string | undefined;
|
|
249
|
-
projectId?: string | null | undefined;
|
|
250
250
|
goalId?: string | null | undefined;
|
|
251
251
|
instructions?: string | null | undefined;
|
|
252
252
|
parentIssueId?: string | null | undefined;
|
|
@@ -256,12 +256,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
256
256
|
chatConversationId?: string | null | undefined;
|
|
257
257
|
notifyOnIssueCreated?: boolean | undefined;
|
|
258
258
|
}>, Omit<{
|
|
259
|
-
|
|
260
|
-
status?: "active" | "paused" | undefined;
|
|
259
|
+
projectId?: string | null | undefined;
|
|
261
260
|
title?: string | undefined;
|
|
261
|
+
status?: "active" | "paused" | undefined;
|
|
262
|
+
description?: string | null | undefined;
|
|
262
263
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
263
264
|
assigneeAgentId?: string | undefined;
|
|
264
|
-
projectId?: string | null | undefined;
|
|
265
265
|
goalId?: string | null | undefined;
|
|
266
266
|
instructions?: string | null | undefined;
|
|
267
267
|
parentIssueId?: string | null | undefined;
|
|
@@ -273,12 +273,12 @@ export declare const updateAutomationSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
|
|
|
273
273
|
}, "instructions"> & {
|
|
274
274
|
description: string | null | undefined;
|
|
275
275
|
}, {
|
|
276
|
-
|
|
277
|
-
status?: "active" | "paused" | undefined;
|
|
276
|
+
projectId?: string | null | undefined;
|
|
278
277
|
title?: string | undefined;
|
|
278
|
+
status?: "active" | "paused" | undefined;
|
|
279
|
+
description?: string | null | undefined;
|
|
279
280
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
280
281
|
assigneeAgentId?: string | undefined;
|
|
281
|
-
projectId?: string | null | undefined;
|
|
282
282
|
goalId?: string | null | undefined;
|
|
283
283
|
instructions?: string | null | undefined;
|
|
284
284
|
parentIssueId?: string | null | undefined;
|
|
@@ -376,8 +376,8 @@ export declare const runAutomationSchema: z.ZodObject<{
|
|
|
376
376
|
idempotencyKey?: string | null | undefined;
|
|
377
377
|
triggerId?: string | null | undefined;
|
|
378
378
|
}, {
|
|
379
|
-
payload?: Record<string, unknown> | null | undefined;
|
|
380
379
|
source?: "manual" | "api" | undefined;
|
|
380
|
+
payload?: Record<string, unknown> | null | undefined;
|
|
381
381
|
idempotencyKey?: string | null | undefined;
|
|
382
382
|
triggerId?: string | null | undefined;
|
|
383
383
|
}>;
|
|
@@ -23,8 +23,8 @@ export declare const createCalendarSourceSchema: z.ZodObject<{
|
|
|
23
23
|
syncCursorJson?: Record<string, unknown> | null | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
name: string;
|
|
26
|
-
ownerAgentId?: string | null | undefined;
|
|
27
26
|
status?: "active" | "paused" | "error" | "disconnected" | undefined;
|
|
27
|
+
ownerAgentId?: string | null | undefined;
|
|
28
28
|
type?: "rudder_local" | "google_calendar" | "agent_work" | "system" | undefined;
|
|
29
29
|
visibilityDefault?: "private" | "full" | "busy_only" | undefined;
|
|
30
30
|
externalProvider?: string | null | undefined;
|
|
@@ -48,8 +48,8 @@ export declare const updateCalendarSourceSchema: z.ZodObject<{
|
|
|
48
48
|
} & {
|
|
49
49
|
lastSyncedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
ownerAgentId?: string | null | undefined;
|
|
52
51
|
status?: "active" | "paused" | "error" | "disconnected" | undefined;
|
|
52
|
+
ownerAgentId?: string | null | undefined;
|
|
53
53
|
type?: "rudder_local" | "google_calendar" | "agent_work" | "system" | undefined;
|
|
54
54
|
name?: string | undefined;
|
|
55
55
|
visibilityDefault?: "private" | "full" | "busy_only" | undefined;
|
|
@@ -60,8 +60,8 @@ export declare const updateCalendarSourceSchema: z.ZodObject<{
|
|
|
60
60
|
lastSyncedAt?: Date | null | undefined;
|
|
61
61
|
syncCursorJson?: Record<string, unknown> | null | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
ownerAgentId?: string | null | undefined;
|
|
64
63
|
status?: "active" | "paused" | "error" | "disconnected" | undefined;
|
|
64
|
+
ownerAgentId?: string | null | undefined;
|
|
65
65
|
type?: "rudder_local" | "google_calendar" | "agent_work" | "system" | undefined;
|
|
66
66
|
name?: string | undefined;
|
|
67
67
|
visibilityDefault?: "private" | "full" | "busy_only" | undefined;
|
|
@@ -100,9 +100,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
100
100
|
externalEtag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
101
101
|
externalUpdatedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
title: string;
|
|
103
104
|
timezone: string;
|
|
104
105
|
ownerType: "agent" | "system" | "user";
|
|
105
|
-
title: string;
|
|
106
106
|
visibility: "private" | "full" | "busy_only";
|
|
107
107
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
108
108
|
eventStatus: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected";
|
|
@@ -110,13 +110,13 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
110
110
|
endAt: Date;
|
|
111
111
|
allDay: boolean;
|
|
112
112
|
sourceMode: "manual" | "derived" | "imported";
|
|
113
|
+
projectId?: string | null | undefined;
|
|
113
114
|
issueId?: string | null | undefined;
|
|
114
115
|
ownerAgentId?: string | null | undefined;
|
|
115
116
|
description?: string | null | undefined;
|
|
116
117
|
externalProvider?: string | null | undefined;
|
|
117
118
|
ownerUserId?: string | null | undefined;
|
|
118
119
|
externalCalendarId?: string | null | undefined;
|
|
119
|
-
projectId?: string | null | undefined;
|
|
120
120
|
goalId?: string | null | undefined;
|
|
121
121
|
approvalId?: string | null | undefined;
|
|
122
122
|
sourceId?: string | null | undefined;
|
|
@@ -126,11 +126,12 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
126
126
|
externalEtag?: string | null | undefined;
|
|
127
127
|
externalUpdatedAt?: Date | null | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
ownerType: "agent" | "system" | "user";
|
|
130
129
|
title: string;
|
|
130
|
+
ownerType: "agent" | "system" | "user";
|
|
131
131
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
132
132
|
startAt: Date;
|
|
133
133
|
endAt: Date;
|
|
134
|
+
projectId?: string | null | undefined;
|
|
134
135
|
issueId?: string | null | undefined;
|
|
135
136
|
ownerAgentId?: string | null | undefined;
|
|
136
137
|
description?: string | null | undefined;
|
|
@@ -138,7 +139,6 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
138
139
|
externalProvider?: string | null | undefined;
|
|
139
140
|
ownerUserId?: string | null | undefined;
|
|
140
141
|
externalCalendarId?: string | null | undefined;
|
|
141
|
-
projectId?: string | null | undefined;
|
|
142
142
|
goalId?: string | null | undefined;
|
|
143
143
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
144
144
|
approvalId?: string | null | undefined;
|
|
@@ -152,9 +152,9 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
externalEtag?: string | null | undefined;
|
|
153
153
|
externalUpdatedAt?: Date | null | undefined;
|
|
154
154
|
}>, {
|
|
155
|
+
title: string;
|
|
155
156
|
timezone: string;
|
|
156
157
|
ownerType: "agent" | "system" | "user";
|
|
157
|
-
title: string;
|
|
158
158
|
visibility: "private" | "full" | "busy_only";
|
|
159
159
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
160
160
|
eventStatus: "in_progress" | "cancelled" | "planned" | "actual" | "external" | "projected";
|
|
@@ -162,13 +162,13 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
162
162
|
endAt: Date;
|
|
163
163
|
allDay: boolean;
|
|
164
164
|
sourceMode: "manual" | "derived" | "imported";
|
|
165
|
+
projectId?: string | null | undefined;
|
|
165
166
|
issueId?: string | null | undefined;
|
|
166
167
|
ownerAgentId?: string | null | undefined;
|
|
167
168
|
description?: string | null | undefined;
|
|
168
169
|
externalProvider?: string | null | undefined;
|
|
169
170
|
ownerUserId?: string | null | undefined;
|
|
170
171
|
externalCalendarId?: string | null | undefined;
|
|
171
|
-
projectId?: string | null | undefined;
|
|
172
172
|
goalId?: string | null | undefined;
|
|
173
173
|
approvalId?: string | null | undefined;
|
|
174
174
|
sourceId?: string | null | undefined;
|
|
@@ -178,11 +178,12 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
178
|
externalEtag?: string | null | undefined;
|
|
179
179
|
externalUpdatedAt?: Date | null | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
ownerType: "agent" | "system" | "user";
|
|
182
181
|
title: string;
|
|
182
|
+
ownerType: "agent" | "system" | "user";
|
|
183
183
|
eventKind: "human_event" | "agent_work_block" | "external_event" | "system_event";
|
|
184
184
|
startAt: Date;
|
|
185
185
|
endAt: Date;
|
|
186
|
+
projectId?: string | null | undefined;
|
|
186
187
|
issueId?: string | null | undefined;
|
|
187
188
|
ownerAgentId?: string | null | undefined;
|
|
188
189
|
description?: string | null | undefined;
|
|
@@ -190,7 +191,6 @@ export declare const createCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
190
191
|
externalProvider?: string | null | undefined;
|
|
191
192
|
ownerUserId?: string | null | undefined;
|
|
192
193
|
externalCalendarId?: string | null | undefined;
|
|
193
|
-
projectId?: string | null | undefined;
|
|
194
194
|
goalId?: string | null | undefined;
|
|
195
195
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
196
196
|
approvalId?: string | null | undefined;
|
|
@@ -232,6 +232,8 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
232
232
|
externalEtag: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
233
233
|
externalUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDate>>>;
|
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
projectId?: string | null | undefined;
|
|
236
|
+
title?: string | undefined;
|
|
235
237
|
issueId?: string | null | undefined;
|
|
236
238
|
ownerAgentId?: string | null | undefined;
|
|
237
239
|
description?: string | null | undefined;
|
|
@@ -240,8 +242,6 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
240
242
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
241
243
|
ownerUserId?: string | null | undefined;
|
|
242
244
|
externalCalendarId?: string | null | undefined;
|
|
243
|
-
title?: string | undefined;
|
|
244
|
-
projectId?: string | null | undefined;
|
|
245
245
|
goalId?: string | null | undefined;
|
|
246
246
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
247
247
|
approvalId?: string | null | undefined;
|
|
@@ -258,6 +258,8 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
258
|
externalEtag?: string | null | undefined;
|
|
259
259
|
externalUpdatedAt?: Date | null | undefined;
|
|
260
260
|
}, {
|
|
261
|
+
projectId?: string | null | undefined;
|
|
262
|
+
title?: string | undefined;
|
|
261
263
|
issueId?: string | null | undefined;
|
|
262
264
|
ownerAgentId?: string | null | undefined;
|
|
263
265
|
description?: string | null | undefined;
|
|
@@ -266,8 +268,6 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
266
268
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
267
269
|
ownerUserId?: string | null | undefined;
|
|
268
270
|
externalCalendarId?: string | null | undefined;
|
|
269
|
-
title?: string | undefined;
|
|
270
|
-
projectId?: string | null | undefined;
|
|
271
271
|
goalId?: string | null | undefined;
|
|
272
272
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
273
273
|
approvalId?: string | null | undefined;
|
|
@@ -284,6 +284,8 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
284
284
|
externalEtag?: string | null | undefined;
|
|
285
285
|
externalUpdatedAt?: Date | null | undefined;
|
|
286
286
|
}>, {
|
|
287
|
+
projectId?: string | null | undefined;
|
|
288
|
+
title?: string | undefined;
|
|
287
289
|
issueId?: string | null | undefined;
|
|
288
290
|
ownerAgentId?: string | null | undefined;
|
|
289
291
|
description?: string | null | undefined;
|
|
@@ -292,8 +294,6 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
292
294
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
293
295
|
ownerUserId?: string | null | undefined;
|
|
294
296
|
externalCalendarId?: string | null | undefined;
|
|
295
|
-
title?: string | undefined;
|
|
296
|
-
projectId?: string | null | undefined;
|
|
297
297
|
goalId?: string | null | undefined;
|
|
298
298
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
299
299
|
approvalId?: string | null | undefined;
|
|
@@ -310,6 +310,8 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
310
310
|
externalEtag?: string | null | undefined;
|
|
311
311
|
externalUpdatedAt?: Date | null | undefined;
|
|
312
312
|
}, {
|
|
313
|
+
projectId?: string | null | undefined;
|
|
314
|
+
title?: string | undefined;
|
|
313
315
|
issueId?: string | null | undefined;
|
|
314
316
|
ownerAgentId?: string | null | undefined;
|
|
315
317
|
description?: string | null | undefined;
|
|
@@ -318,8 +320,6 @@ export declare const updateCalendarEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
318
320
|
ownerType?: "agent" | "system" | "user" | undefined;
|
|
319
321
|
ownerUserId?: string | null | undefined;
|
|
320
322
|
externalCalendarId?: string | null | undefined;
|
|
321
|
-
title?: string | undefined;
|
|
322
|
-
projectId?: string | null | undefined;
|
|
323
323
|
goalId?: string | null | undefined;
|
|
324
324
|
visibility?: "private" | "full" | "busy_only" | undefined;
|
|
325
325
|
approvalId?: string | null | undefined;
|