@corsair-dev/linear 0.1.2 → 0.1.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.
@@ -5,72 +5,14 @@ export declare const WebhookDataSchema: z.ZodObject<{
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
7
  archivedAt: z.ZodOptional<z.ZodString>;
8
- }, "strip", z.ZodAny, z.objectOutputType<{
9
- id: z.ZodString;
10
- createdAt: z.ZodString;
11
- updatedAt: z.ZodString;
12
- archivedAt: z.ZodOptional<z.ZodString>;
13
- }, z.ZodAny, "strip">, z.objectInputType<{
14
- id: z.ZodString;
15
- createdAt: z.ZodString;
16
- updatedAt: z.ZodString;
17
- archivedAt: z.ZodOptional<z.ZodString>;
18
- }, z.ZodAny, "strip">>;
8
+ }, z.core.$catchall<z.ZodAny>>;
19
9
  export type WebhookData = z.infer<typeof WebhookDataSchema>;
20
10
  export declare const IssueSchema: z.ZodObject<{
21
11
  id: z.ZodString;
22
12
  identifier: z.ZodString;
23
13
  title: z.ZodString;
24
14
  description: z.ZodOptional<z.ZodString>;
25
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
26
- estimate: z.ZodOptional<z.ZodNumber>;
27
- sortOrder: z.ZodNumber;
28
- startedAt: z.ZodOptional<z.ZodString>;
29
- completedAt: z.ZodOptional<z.ZodString>;
30
- canceledAt: z.ZodOptional<z.ZodString>;
31
- autoArchivedAt: z.ZodOptional<z.ZodString>;
32
- autoClosedAt: z.ZodOptional<z.ZodString>;
33
- dueDate: z.ZodOptional<z.ZodString>;
34
- trashed: z.ZodOptional<z.ZodBoolean>;
35
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
36
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
37
- createdAt: z.ZodString;
38
- updatedAt: z.ZodString;
39
- branchName: z.ZodString;
40
- customerTicketCount: z.ZodNumber;
41
- stateId: z.ZodString;
42
- teamId: z.ZodString;
43
- creatorId: z.ZodString;
44
- }, "strip", z.ZodAny, z.objectOutputType<{
45
- id: z.ZodString;
46
- identifier: z.ZodString;
47
- title: z.ZodString;
48
- description: z.ZodOptional<z.ZodString>;
49
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
50
- estimate: z.ZodOptional<z.ZodNumber>;
51
- sortOrder: z.ZodNumber;
52
- startedAt: z.ZodOptional<z.ZodString>;
53
- completedAt: z.ZodOptional<z.ZodString>;
54
- canceledAt: z.ZodOptional<z.ZodString>;
55
- autoArchivedAt: z.ZodOptional<z.ZodString>;
56
- autoClosedAt: z.ZodOptional<z.ZodString>;
57
- dueDate: z.ZodOptional<z.ZodString>;
58
- trashed: z.ZodOptional<z.ZodBoolean>;
59
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
60
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
61
- createdAt: z.ZodString;
62
- updatedAt: z.ZodString;
63
- branchName: z.ZodString;
64
- customerTicketCount: z.ZodNumber;
65
- stateId: z.ZodString;
66
- teamId: z.ZodString;
67
- creatorId: z.ZodString;
68
- }, z.ZodAny, "strip">, z.objectInputType<{
69
- id: z.ZodString;
70
- identifier: z.ZodString;
71
- title: z.ZodString;
72
- description: z.ZodOptional<z.ZodString>;
73
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
15
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
74
16
  estimate: z.ZodOptional<z.ZodNumber>;
75
17
  sortOrder: z.ZodNumber;
76
18
  startedAt: z.ZodOptional<z.ZodString>;
@@ -81,7 +23,7 @@ export declare const IssueSchema: z.ZodObject<{
81
23
  dueDate: z.ZodOptional<z.ZodString>;
82
24
  trashed: z.ZodOptional<z.ZodBoolean>;
83
25
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
84
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
26
+ previousIdentifiers: z.ZodArray<z.ZodString>;
85
27
  createdAt: z.ZodString;
86
28
  updatedAt: z.ZodString;
87
29
  branchName: z.ZodString;
@@ -89,7 +31,7 @@ export declare const IssueSchema: z.ZodObject<{
89
31
  stateId: z.ZodString;
90
32
  teamId: z.ZodString;
91
33
  creatorId: z.ZodString;
92
- }, z.ZodAny, "strip">>;
34
+ }, z.core.$catchall<z.ZodAny>>;
93
35
  export type Issue = z.infer<typeof IssueSchema>;
94
36
  export declare const CommentSchema: z.ZodObject<{
95
37
  id: z.ZodString;
@@ -99,23 +41,7 @@ export declare const CommentSchema: z.ZodObject<{
99
41
  updatedAt: z.ZodString;
100
42
  issueId: z.ZodString;
101
43
  userId: z.ZodString;
102
- }, "strip", z.ZodAny, z.objectOutputType<{
103
- id: z.ZodString;
104
- body: z.ZodString;
105
- editedAt: z.ZodOptional<z.ZodString>;
106
- createdAt: z.ZodString;
107
- updatedAt: z.ZodString;
108
- issueId: z.ZodString;
109
- userId: z.ZodString;
110
- }, z.ZodAny, "strip">, z.objectInputType<{
111
- id: z.ZodString;
112
- body: z.ZodString;
113
- editedAt: z.ZodOptional<z.ZodString>;
114
- createdAt: z.ZodString;
115
- updatedAt: z.ZodString;
116
- issueId: z.ZodString;
117
- userId: z.ZodString;
118
- }, z.ZodAny, "strip">>;
44
+ }, z.core.$catchall<z.ZodAny>>;
119
45
  export type Comment = z.infer<typeof CommentSchema>;
120
46
  export declare const ProjectSchema: z.ZodObject<{
121
47
  id: z.ZodString;
@@ -123,9 +49,15 @@ export declare const ProjectSchema: z.ZodObject<{
123
49
  description: z.ZodOptional<z.ZodString>;
124
50
  icon: z.ZodOptional<z.ZodString>;
125
51
  color: z.ZodOptional<z.ZodString>;
126
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
52
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
127
53
  sortOrder: z.ZodNumber;
128
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
54
+ state: z.ZodEnum<{
55
+ completed: "completed";
56
+ planned: "planned";
57
+ started: "started";
58
+ paused: "paused";
59
+ canceled: "canceled";
60
+ }>;
129
61
  progress: z.ZodNumber;
130
62
  url: z.ZodString;
131
63
  startDate: z.ZodOptional<z.ZodString>;
@@ -133,54 +65,12 @@ export declare const ProjectSchema: z.ZodObject<{
133
65
  completedAt: z.ZodOptional<z.ZodString>;
134
66
  canceledAt: z.ZodOptional<z.ZodString>;
135
67
  startedAt: z.ZodOptional<z.ZodString>;
136
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
137
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
68
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
69
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
138
70
  scope: z.ZodNumber;
139
71
  createdAt: z.ZodString;
140
72
  updatedAt: z.ZodString;
141
- }, "strip", z.ZodAny, z.objectOutputType<{
142
- id: z.ZodString;
143
- name: z.ZodString;
144
- description: z.ZodOptional<z.ZodString>;
145
- icon: z.ZodOptional<z.ZodString>;
146
- color: z.ZodOptional<z.ZodString>;
147
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
148
- sortOrder: z.ZodNumber;
149
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
150
- progress: z.ZodNumber;
151
- url: z.ZodString;
152
- startDate: z.ZodOptional<z.ZodString>;
153
- targetDate: z.ZodOptional<z.ZodString>;
154
- completedAt: z.ZodOptional<z.ZodString>;
155
- canceledAt: z.ZodOptional<z.ZodString>;
156
- startedAt: z.ZodOptional<z.ZodString>;
157
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
158
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
159
- scope: z.ZodNumber;
160
- createdAt: z.ZodString;
161
- updatedAt: z.ZodString;
162
- }, z.ZodAny, "strip">, z.objectInputType<{
163
- id: z.ZodString;
164
- name: z.ZodString;
165
- description: z.ZodOptional<z.ZodString>;
166
- icon: z.ZodOptional<z.ZodString>;
167
- color: z.ZodOptional<z.ZodString>;
168
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
169
- sortOrder: z.ZodNumber;
170
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
171
- progress: z.ZodNumber;
172
- url: z.ZodString;
173
- startDate: z.ZodOptional<z.ZodString>;
174
- targetDate: z.ZodOptional<z.ZodString>;
175
- completedAt: z.ZodOptional<z.ZodString>;
176
- canceledAt: z.ZodOptional<z.ZodString>;
177
- startedAt: z.ZodOptional<z.ZodString>;
178
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
179
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
180
- scope: z.ZodNumber;
181
- createdAt: z.ZodString;
182
- updatedAt: z.ZodString;
183
- }, z.ZodAny, "strip">>;
73
+ }, z.core.$catchall<z.ZodAny>>;
184
74
  export type Project = z.infer<typeof ProjectSchema>;
185
75
  export declare const IssueCreatedEventSchema: z.ZodObject<{
186
76
  action: z.ZodLiteral<"create">;
@@ -190,7 +80,7 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
190
80
  identifier: z.ZodString;
191
81
  title: z.ZodString;
192
82
  description: z.ZodOptional<z.ZodString>;
193
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
83
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
194
84
  estimate: z.ZodOptional<z.ZodNumber>;
195
85
  sortOrder: z.ZodNumber;
196
86
  startedAt: z.ZodOptional<z.ZodString>;
@@ -201,7 +91,7 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
201
91
  dueDate: z.ZodOptional<z.ZodString>;
202
92
  trashed: z.ZodOptional<z.ZodBoolean>;
203
93
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
204
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
94
+ previousIdentifiers: z.ZodArray<z.ZodString>;
205
95
  createdAt: z.ZodString;
206
96
  updatedAt: z.ZodString;
207
97
  branchName: z.ZodString;
@@ -209,12 +99,22 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
209
99
  stateId: z.ZodString;
210
100
  teamId: z.ZodString;
211
101
  creatorId: z.ZodString;
212
- }, "strip", z.ZodAny, z.objectOutputType<{
102
+ }, z.core.$catchall<z.ZodAny>>;
103
+ url: z.ZodString;
104
+ createdAt: z.ZodString;
105
+ organizationId: z.ZodString;
106
+ webhookId: z.ZodString;
107
+ }, z.core.$strip>;
108
+ export type IssueCreatedEvent = z.infer<typeof IssueCreatedEventSchema>;
109
+ export declare const IssueUpdatedEventSchema: z.ZodObject<{
110
+ action: z.ZodLiteral<"update">;
111
+ type: z.ZodLiteral<"Issue">;
112
+ data: z.ZodObject<{
213
113
  id: z.ZodString;
214
114
  identifier: z.ZodString;
215
115
  title: z.ZodString;
216
116
  description: z.ZodOptional<z.ZodString>;
217
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
117
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
218
118
  estimate: z.ZodOptional<z.ZodNumber>;
219
119
  sortOrder: z.ZodNumber;
220
120
  startedAt: z.ZodOptional<z.ZodString>;
@@ -225,7 +125,7 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
225
125
  dueDate: z.ZodOptional<z.ZodString>;
226
126
  trashed: z.ZodOptional<z.ZodBoolean>;
227
127
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
228
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
128
+ previousIdentifiers: z.ZodArray<z.ZodString>;
229
129
  createdAt: z.ZodString;
230
130
  updatedAt: z.ZodString;
231
131
  branchName: z.ZodString;
@@ -233,12 +133,47 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
233
133
  stateId: z.ZodString;
234
134
  teamId: z.ZodString;
235
135
  creatorId: z.ZodString;
236
- }, z.ZodAny, "strip">, z.objectInputType<{
136
+ }, z.core.$catchall<z.ZodAny>>;
137
+ updatedFrom: z.ZodOptional<z.ZodObject<{
138
+ id: z.ZodOptional<z.ZodString>;
139
+ identifier: z.ZodOptional<z.ZodString>;
140
+ title: z.ZodOptional<z.ZodString>;
141
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
142
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
143
+ estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
144
+ sortOrder: z.ZodOptional<z.ZodNumber>;
145
+ startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
146
+ completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
147
+ canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
148
+ autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
149
+ autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
150
+ dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
151
+ trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
152
+ snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
153
+ previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ createdAt: z.ZodOptional<z.ZodString>;
155
+ updatedAt: z.ZodOptional<z.ZodString>;
156
+ branchName: z.ZodOptional<z.ZodString>;
157
+ customerTicketCount: z.ZodOptional<z.ZodNumber>;
158
+ stateId: z.ZodOptional<z.ZodString>;
159
+ teamId: z.ZodOptional<z.ZodString>;
160
+ creatorId: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$catchall<z.ZodAny>>>;
162
+ url: z.ZodString;
163
+ createdAt: z.ZodString;
164
+ organizationId: z.ZodString;
165
+ webhookId: z.ZodString;
166
+ }, z.core.$strip>;
167
+ export type IssueUpdatedEvent = z.infer<typeof IssueUpdatedEventSchema>;
168
+ export declare const IssueDeletedEventSchema: z.ZodObject<{
169
+ action: z.ZodLiteral<"remove">;
170
+ type: z.ZodLiteral<"Issue">;
171
+ data: z.ZodObject<{
237
172
  id: z.ZodString;
238
173
  identifier: z.ZodString;
239
174
  title: z.ZodString;
240
175
  description: z.ZodOptional<z.ZodString>;
241
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
176
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
242
177
  estimate: z.ZodOptional<z.ZodNumber>;
243
178
  sortOrder: z.ZodNumber;
244
179
  startedAt: z.ZodOptional<z.ZodString>;
@@ -249,7 +184,7 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
249
184
  dueDate: z.ZodOptional<z.ZodString>;
250
185
  trashed: z.ZodOptional<z.ZodBoolean>;
251
186
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
252
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
187
+ previousIdentifiers: z.ZodArray<z.ZodString>;
253
188
  createdAt: z.ZodString;
254
189
  updatedAt: z.ZodString;
255
190
  branchName: z.ZodString;
@@ -257,891 +192,112 @@ export declare const IssueCreatedEventSchema: z.ZodObject<{
257
192
  stateId: z.ZodString;
258
193
  teamId: z.ZodString;
259
194
  creatorId: z.ZodString;
260
- }, z.ZodAny, "strip">>;
195
+ }, z.core.$catchall<z.ZodAny>>;
261
196
  url: z.ZodString;
262
197
  createdAt: z.ZodString;
263
198
  organizationId: z.ZodString;
264
199
  webhookId: z.ZodString;
265
- }, "strip", z.ZodTypeAny, {
266
- type: "Issue";
267
- data: {
268
- priority: 0 | 3 | 2 | 1 | 4;
269
- id: string;
270
- createdAt: string;
271
- updatedAt: string;
272
- identifier: string;
273
- title: string;
274
- sortOrder: number;
275
- previousIdentifiers: string[];
276
- branchName: string;
277
- customerTicketCount: number;
278
- stateId: string;
279
- teamId: string;
280
- creatorId: string;
281
- description?: string | undefined;
282
- estimate?: number | undefined;
283
- startedAt?: string | undefined;
284
- completedAt?: string | undefined;
285
- canceledAt?: string | undefined;
286
- autoArchivedAt?: string | undefined;
287
- autoClosedAt?: string | undefined;
288
- dueDate?: string | undefined;
289
- trashed?: boolean | undefined;
290
- snoozedUntilAt?: string | undefined;
291
- } & {
292
- [k: string]: any;
293
- };
294
- createdAt: string;
295
- url: string;
296
- action: "create";
297
- organizationId: string;
298
- webhookId: string;
299
- }, {
300
- type: "Issue";
301
- data: {
302
- priority: 0 | 3 | 2 | 1 | 4;
303
- id: string;
304
- createdAt: string;
305
- updatedAt: string;
306
- identifier: string;
307
- title: string;
308
- sortOrder: number;
309
- previousIdentifiers: string[];
310
- branchName: string;
311
- customerTicketCount: number;
312
- stateId: string;
313
- teamId: string;
314
- creatorId: string;
315
- description?: string | undefined;
316
- estimate?: number | undefined;
317
- startedAt?: string | undefined;
318
- completedAt?: string | undefined;
319
- canceledAt?: string | undefined;
320
- autoArchivedAt?: string | undefined;
321
- autoClosedAt?: string | undefined;
322
- dueDate?: string | undefined;
323
- trashed?: boolean | undefined;
324
- snoozedUntilAt?: string | undefined;
325
- } & {
326
- [k: string]: any;
327
- };
328
- createdAt: string;
329
- url: string;
330
- action: "create";
331
- organizationId: string;
332
- webhookId: string;
333
- }>;
334
- export type IssueCreatedEvent = z.infer<typeof IssueCreatedEventSchema>;
335
- export declare const IssueUpdatedEventSchema: z.ZodObject<{
200
+ }, z.core.$strip>;
201
+ export type IssueDeletedEvent = z.infer<typeof IssueDeletedEventSchema>;
202
+ export declare const CommentCreatedEventSchema: z.ZodObject<{
203
+ action: z.ZodLiteral<"create">;
204
+ type: z.ZodLiteral<"Comment">;
205
+ data: z.ZodObject<{
206
+ id: z.ZodString;
207
+ body: z.ZodString;
208
+ editedAt: z.ZodOptional<z.ZodString>;
209
+ createdAt: z.ZodString;
210
+ updatedAt: z.ZodString;
211
+ issueId: z.ZodString;
212
+ userId: z.ZodString;
213
+ }, z.core.$catchall<z.ZodAny>>;
214
+ url: z.ZodString;
215
+ createdAt: z.ZodString;
216
+ organizationId: z.ZodString;
217
+ webhookId: z.ZodString;
218
+ }, z.core.$strip>;
219
+ export type CommentCreatedEvent = z.infer<typeof CommentCreatedEventSchema>;
220
+ export declare const CommentUpdatedEventSchema: z.ZodObject<{
336
221
  action: z.ZodLiteral<"update">;
337
- type: z.ZodLiteral<"Issue">;
222
+ type: z.ZodLiteral<"Comment">;
338
223
  data: z.ZodObject<{
339
224
  id: z.ZodString;
340
- identifier: z.ZodString;
341
- title: z.ZodString;
342
- description: z.ZodOptional<z.ZodString>;
343
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
344
- estimate: z.ZodOptional<z.ZodNumber>;
345
- sortOrder: z.ZodNumber;
346
- startedAt: z.ZodOptional<z.ZodString>;
347
- completedAt: z.ZodOptional<z.ZodString>;
348
- canceledAt: z.ZodOptional<z.ZodString>;
349
- autoArchivedAt: z.ZodOptional<z.ZodString>;
350
- autoClosedAt: z.ZodOptional<z.ZodString>;
351
- dueDate: z.ZodOptional<z.ZodString>;
352
- trashed: z.ZodOptional<z.ZodBoolean>;
353
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
354
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
225
+ body: z.ZodString;
226
+ editedAt: z.ZodOptional<z.ZodString>;
355
227
  createdAt: z.ZodString;
356
228
  updatedAt: z.ZodString;
357
- branchName: z.ZodString;
358
- customerTicketCount: z.ZodNumber;
359
- stateId: z.ZodString;
360
- teamId: z.ZodString;
361
- creatorId: z.ZodString;
362
- }, "strip", z.ZodAny, z.objectOutputType<{
229
+ issueId: z.ZodString;
230
+ userId: z.ZodString;
231
+ }, z.core.$catchall<z.ZodAny>>;
232
+ updatedFrom: z.ZodOptional<z.ZodObject<{
233
+ id: z.ZodOptional<z.ZodString>;
234
+ body: z.ZodOptional<z.ZodString>;
235
+ editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
236
+ createdAt: z.ZodOptional<z.ZodString>;
237
+ updatedAt: z.ZodOptional<z.ZodString>;
238
+ issueId: z.ZodOptional<z.ZodString>;
239
+ userId: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$catchall<z.ZodAny>>>;
241
+ url: z.ZodString;
242
+ createdAt: z.ZodString;
243
+ organizationId: z.ZodString;
244
+ webhookId: z.ZodString;
245
+ }, z.core.$strip>;
246
+ export type CommentUpdatedEvent = z.infer<typeof CommentUpdatedEventSchema>;
247
+ export declare const CommentDeletedEventSchema: z.ZodObject<{
248
+ action: z.ZodLiteral<"remove">;
249
+ type: z.ZodLiteral<"Comment">;
250
+ data: z.ZodObject<{
363
251
  id: z.ZodString;
364
- identifier: z.ZodString;
365
- title: z.ZodString;
366
- description: z.ZodOptional<z.ZodString>;
367
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
368
- estimate: z.ZodOptional<z.ZodNumber>;
369
- sortOrder: z.ZodNumber;
370
- startedAt: z.ZodOptional<z.ZodString>;
371
- completedAt: z.ZodOptional<z.ZodString>;
372
- canceledAt: z.ZodOptional<z.ZodString>;
373
- autoArchivedAt: z.ZodOptional<z.ZodString>;
374
- autoClosedAt: z.ZodOptional<z.ZodString>;
375
- dueDate: z.ZodOptional<z.ZodString>;
376
- trashed: z.ZodOptional<z.ZodBoolean>;
377
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
378
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
252
+ body: z.ZodString;
253
+ editedAt: z.ZodOptional<z.ZodString>;
379
254
  createdAt: z.ZodString;
380
255
  updatedAt: z.ZodString;
381
- branchName: z.ZodString;
382
- customerTicketCount: z.ZodNumber;
383
- stateId: z.ZodString;
384
- teamId: z.ZodString;
385
- creatorId: z.ZodString;
386
- }, z.ZodAny, "strip">, z.objectInputType<{
256
+ issueId: z.ZodString;
257
+ userId: z.ZodString;
258
+ }, z.core.$catchall<z.ZodAny>>;
259
+ url: z.ZodString;
260
+ createdAt: z.ZodString;
261
+ organizationId: z.ZodString;
262
+ webhookId: z.ZodString;
263
+ }, z.core.$strip>;
264
+ export type CommentDeletedEvent = z.infer<typeof CommentDeletedEventSchema>;
265
+ export declare const ProjectCreatedEventSchema: z.ZodObject<{
266
+ action: z.ZodLiteral<"create">;
267
+ type: z.ZodLiteral<"Project">;
268
+ data: z.ZodObject<{
387
269
  id: z.ZodString;
388
- identifier: z.ZodString;
389
- title: z.ZodString;
270
+ name: z.ZodString;
390
271
  description: z.ZodOptional<z.ZodString>;
391
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
392
- estimate: z.ZodOptional<z.ZodNumber>;
393
- sortOrder: z.ZodNumber;
394
- startedAt: z.ZodOptional<z.ZodString>;
272
+ icon: z.ZodOptional<z.ZodString>;
273
+ color: z.ZodOptional<z.ZodString>;
274
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
275
+ sortOrder: z.ZodNumber;
276
+ state: z.ZodEnum<{
277
+ completed: "completed";
278
+ planned: "planned";
279
+ started: "started";
280
+ paused: "paused";
281
+ canceled: "canceled";
282
+ }>;
283
+ progress: z.ZodNumber;
284
+ url: z.ZodString;
285
+ startDate: z.ZodOptional<z.ZodString>;
286
+ targetDate: z.ZodOptional<z.ZodString>;
395
287
  completedAt: z.ZodOptional<z.ZodString>;
396
288
  canceledAt: z.ZodOptional<z.ZodString>;
397
- autoArchivedAt: z.ZodOptional<z.ZodString>;
398
- autoClosedAt: z.ZodOptional<z.ZodString>;
399
- dueDate: z.ZodOptional<z.ZodString>;
400
- trashed: z.ZodOptional<z.ZodBoolean>;
401
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
402
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
289
+ startedAt: z.ZodOptional<z.ZodString>;
290
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
291
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
292
+ scope: z.ZodNumber;
403
293
  createdAt: z.ZodString;
404
294
  updatedAt: z.ZodString;
405
- branchName: z.ZodString;
406
- customerTicketCount: z.ZodNumber;
407
- stateId: z.ZodString;
408
- teamId: z.ZodString;
409
- creatorId: z.ZodString;
410
- }, z.ZodAny, "strip">>;
411
- updatedFrom: z.ZodOptional<z.ZodObject<{
412
- id: z.ZodOptional<z.ZodString>;
413
- identifier: z.ZodOptional<z.ZodString>;
414
- title: z.ZodOptional<z.ZodString>;
415
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
416
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
417
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
418
- sortOrder: z.ZodOptional<z.ZodNumber>;
419
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
420
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
421
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
422
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
423
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
424
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
425
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
426
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
427
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
428
- createdAt: z.ZodOptional<z.ZodString>;
429
- updatedAt: z.ZodOptional<z.ZodString>;
430
- branchName: z.ZodOptional<z.ZodString>;
431
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
432
- stateId: z.ZodOptional<z.ZodString>;
433
- teamId: z.ZodOptional<z.ZodString>;
434
- creatorId: z.ZodOptional<z.ZodString>;
435
- }, "strip", z.ZodAny, z.objectOutputType<{
436
- id: z.ZodOptional<z.ZodString>;
437
- identifier: z.ZodOptional<z.ZodString>;
438
- title: z.ZodOptional<z.ZodString>;
439
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
440
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
441
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
442
- sortOrder: z.ZodOptional<z.ZodNumber>;
443
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
444
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
445
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
446
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
447
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
448
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
449
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
450
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
451
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
452
- createdAt: z.ZodOptional<z.ZodString>;
453
- updatedAt: z.ZodOptional<z.ZodString>;
454
- branchName: z.ZodOptional<z.ZodString>;
455
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
456
- stateId: z.ZodOptional<z.ZodString>;
457
- teamId: z.ZodOptional<z.ZodString>;
458
- creatorId: z.ZodOptional<z.ZodString>;
459
- }, z.ZodAny, "strip">, z.objectInputType<{
460
- id: z.ZodOptional<z.ZodString>;
461
- identifier: z.ZodOptional<z.ZodString>;
462
- title: z.ZodOptional<z.ZodString>;
463
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
464
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
465
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
466
- sortOrder: z.ZodOptional<z.ZodNumber>;
467
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
468
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
469
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
470
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
471
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
472
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
473
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
474
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
475
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
476
- createdAt: z.ZodOptional<z.ZodString>;
477
- updatedAt: z.ZodOptional<z.ZodString>;
478
- branchName: z.ZodOptional<z.ZodString>;
479
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
480
- stateId: z.ZodOptional<z.ZodString>;
481
- teamId: z.ZodOptional<z.ZodString>;
482
- creatorId: z.ZodOptional<z.ZodString>;
483
- }, z.ZodAny, "strip">>>;
484
- url: z.ZodString;
485
- createdAt: z.ZodString;
486
- organizationId: z.ZodString;
487
- webhookId: z.ZodString;
488
- }, "strip", z.ZodTypeAny, {
489
- type: "Issue";
490
- data: {
491
- priority: 0 | 3 | 2 | 1 | 4;
492
- id: string;
493
- createdAt: string;
494
- updatedAt: string;
495
- identifier: string;
496
- title: string;
497
- sortOrder: number;
498
- previousIdentifiers: string[];
499
- branchName: string;
500
- customerTicketCount: number;
501
- stateId: string;
502
- teamId: string;
503
- creatorId: string;
504
- description?: string | undefined;
505
- estimate?: number | undefined;
506
- startedAt?: string | undefined;
507
- completedAt?: string | undefined;
508
- canceledAt?: string | undefined;
509
- autoArchivedAt?: string | undefined;
510
- autoClosedAt?: string | undefined;
511
- dueDate?: string | undefined;
512
- trashed?: boolean | undefined;
513
- snoozedUntilAt?: string | undefined;
514
- } & {
515
- [k: string]: any;
516
- };
517
- createdAt: string;
518
- url: string;
519
- action: "update";
520
- organizationId: string;
521
- webhookId: string;
522
- updatedFrom?: z.objectOutputType<{
523
- id: z.ZodOptional<z.ZodString>;
524
- identifier: z.ZodOptional<z.ZodString>;
525
- title: z.ZodOptional<z.ZodString>;
526
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
527
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
528
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
529
- sortOrder: z.ZodOptional<z.ZodNumber>;
530
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
531
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
532
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
533
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
534
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
535
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
536
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
537
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
538
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
539
- createdAt: z.ZodOptional<z.ZodString>;
540
- updatedAt: z.ZodOptional<z.ZodString>;
541
- branchName: z.ZodOptional<z.ZodString>;
542
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
543
- stateId: z.ZodOptional<z.ZodString>;
544
- teamId: z.ZodOptional<z.ZodString>;
545
- creatorId: z.ZodOptional<z.ZodString>;
546
- }, z.ZodAny, "strip"> | undefined;
547
- }, {
548
- type: "Issue";
549
- data: {
550
- priority: 0 | 3 | 2 | 1 | 4;
551
- id: string;
552
- createdAt: string;
553
- updatedAt: string;
554
- identifier: string;
555
- title: string;
556
- sortOrder: number;
557
- previousIdentifiers: string[];
558
- branchName: string;
559
- customerTicketCount: number;
560
- stateId: string;
561
- teamId: string;
562
- creatorId: string;
563
- description?: string | undefined;
564
- estimate?: number | undefined;
565
- startedAt?: string | undefined;
566
- completedAt?: string | undefined;
567
- canceledAt?: string | undefined;
568
- autoArchivedAt?: string | undefined;
569
- autoClosedAt?: string | undefined;
570
- dueDate?: string | undefined;
571
- trashed?: boolean | undefined;
572
- snoozedUntilAt?: string | undefined;
573
- } & {
574
- [k: string]: any;
575
- };
576
- createdAt: string;
577
- url: string;
578
- action: "update";
579
- organizationId: string;
580
- webhookId: string;
581
- updatedFrom?: z.objectInputType<{
582
- id: z.ZodOptional<z.ZodString>;
583
- identifier: z.ZodOptional<z.ZodString>;
584
- title: z.ZodOptional<z.ZodString>;
585
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
586
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
587
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
588
- sortOrder: z.ZodOptional<z.ZodNumber>;
589
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
590
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
591
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
592
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
593
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
594
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
595
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
596
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
597
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
- createdAt: z.ZodOptional<z.ZodString>;
599
- updatedAt: z.ZodOptional<z.ZodString>;
600
- branchName: z.ZodOptional<z.ZodString>;
601
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
602
- stateId: z.ZodOptional<z.ZodString>;
603
- teamId: z.ZodOptional<z.ZodString>;
604
- creatorId: z.ZodOptional<z.ZodString>;
605
- }, z.ZodAny, "strip"> | undefined;
606
- }>;
607
- export type IssueUpdatedEvent = z.infer<typeof IssueUpdatedEventSchema>;
608
- export declare const IssueDeletedEventSchema: z.ZodObject<{
609
- action: z.ZodLiteral<"remove">;
610
- type: z.ZodLiteral<"Issue">;
611
- data: z.ZodObject<{
612
- id: z.ZodString;
613
- identifier: z.ZodString;
614
- title: z.ZodString;
615
- description: z.ZodOptional<z.ZodString>;
616
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
617
- estimate: z.ZodOptional<z.ZodNumber>;
618
- sortOrder: z.ZodNumber;
619
- startedAt: z.ZodOptional<z.ZodString>;
620
- completedAt: z.ZodOptional<z.ZodString>;
621
- canceledAt: z.ZodOptional<z.ZodString>;
622
- autoArchivedAt: z.ZodOptional<z.ZodString>;
623
- autoClosedAt: z.ZodOptional<z.ZodString>;
624
- dueDate: z.ZodOptional<z.ZodString>;
625
- trashed: z.ZodOptional<z.ZodBoolean>;
626
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
627
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
628
- createdAt: z.ZodString;
629
- updatedAt: z.ZodString;
630
- branchName: z.ZodString;
631
- customerTicketCount: z.ZodNumber;
632
- stateId: z.ZodString;
633
- teamId: z.ZodString;
634
- creatorId: z.ZodString;
635
- }, "strip", z.ZodAny, z.objectOutputType<{
636
- id: z.ZodString;
637
- identifier: z.ZodString;
638
- title: z.ZodString;
639
- description: z.ZodOptional<z.ZodString>;
640
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
641
- estimate: z.ZodOptional<z.ZodNumber>;
642
- sortOrder: z.ZodNumber;
643
- startedAt: z.ZodOptional<z.ZodString>;
644
- completedAt: z.ZodOptional<z.ZodString>;
645
- canceledAt: z.ZodOptional<z.ZodString>;
646
- autoArchivedAt: z.ZodOptional<z.ZodString>;
647
- autoClosedAt: z.ZodOptional<z.ZodString>;
648
- dueDate: z.ZodOptional<z.ZodString>;
649
- trashed: z.ZodOptional<z.ZodBoolean>;
650
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
651
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
652
- createdAt: z.ZodString;
653
- updatedAt: z.ZodString;
654
- branchName: z.ZodString;
655
- customerTicketCount: z.ZodNumber;
656
- stateId: z.ZodString;
657
- teamId: z.ZodString;
658
- creatorId: z.ZodString;
659
- }, z.ZodAny, "strip">, z.objectInputType<{
660
- id: z.ZodString;
661
- identifier: z.ZodString;
662
- title: z.ZodString;
663
- description: z.ZodOptional<z.ZodString>;
664
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
665
- estimate: z.ZodOptional<z.ZodNumber>;
666
- sortOrder: z.ZodNumber;
667
- startedAt: z.ZodOptional<z.ZodString>;
668
- completedAt: z.ZodOptional<z.ZodString>;
669
- canceledAt: z.ZodOptional<z.ZodString>;
670
- autoArchivedAt: z.ZodOptional<z.ZodString>;
671
- autoClosedAt: z.ZodOptional<z.ZodString>;
672
- dueDate: z.ZodOptional<z.ZodString>;
673
- trashed: z.ZodOptional<z.ZodBoolean>;
674
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
675
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
676
- createdAt: z.ZodString;
677
- updatedAt: z.ZodString;
678
- branchName: z.ZodString;
679
- customerTicketCount: z.ZodNumber;
680
- stateId: z.ZodString;
681
- teamId: z.ZodString;
682
- creatorId: z.ZodString;
683
- }, z.ZodAny, "strip">>;
684
- url: z.ZodString;
685
- createdAt: z.ZodString;
686
- organizationId: z.ZodString;
687
- webhookId: z.ZodString;
688
- }, "strip", z.ZodTypeAny, {
689
- type: "Issue";
690
- data: {
691
- priority: 0 | 3 | 2 | 1 | 4;
692
- id: string;
693
- createdAt: string;
694
- updatedAt: string;
695
- identifier: string;
696
- title: string;
697
- sortOrder: number;
698
- previousIdentifiers: string[];
699
- branchName: string;
700
- customerTicketCount: number;
701
- stateId: string;
702
- teamId: string;
703
- creatorId: string;
704
- description?: string | undefined;
705
- estimate?: number | undefined;
706
- startedAt?: string | undefined;
707
- completedAt?: string | undefined;
708
- canceledAt?: string | undefined;
709
- autoArchivedAt?: string | undefined;
710
- autoClosedAt?: string | undefined;
711
- dueDate?: string | undefined;
712
- trashed?: boolean | undefined;
713
- snoozedUntilAt?: string | undefined;
714
- } & {
715
- [k: string]: any;
716
- };
717
- createdAt: string;
718
- url: string;
719
- action: "remove";
720
- organizationId: string;
721
- webhookId: string;
722
- }, {
723
- type: "Issue";
724
- data: {
725
- priority: 0 | 3 | 2 | 1 | 4;
726
- id: string;
727
- createdAt: string;
728
- updatedAt: string;
729
- identifier: string;
730
- title: string;
731
- sortOrder: number;
732
- previousIdentifiers: string[];
733
- branchName: string;
734
- customerTicketCount: number;
735
- stateId: string;
736
- teamId: string;
737
- creatorId: string;
738
- description?: string | undefined;
739
- estimate?: number | undefined;
740
- startedAt?: string | undefined;
741
- completedAt?: string | undefined;
742
- canceledAt?: string | undefined;
743
- autoArchivedAt?: string | undefined;
744
- autoClosedAt?: string | undefined;
745
- dueDate?: string | undefined;
746
- trashed?: boolean | undefined;
747
- snoozedUntilAt?: string | undefined;
748
- } & {
749
- [k: string]: any;
750
- };
751
- createdAt: string;
752
- url: string;
753
- action: "remove";
754
- organizationId: string;
755
- webhookId: string;
756
- }>;
757
- export type IssueDeletedEvent = z.infer<typeof IssueDeletedEventSchema>;
758
- export declare const CommentCreatedEventSchema: z.ZodObject<{
759
- action: z.ZodLiteral<"create">;
760
- type: z.ZodLiteral<"Comment">;
761
- data: z.ZodObject<{
762
- id: z.ZodString;
763
- body: z.ZodString;
764
- editedAt: z.ZodOptional<z.ZodString>;
765
- createdAt: z.ZodString;
766
- updatedAt: z.ZodString;
767
- issueId: z.ZodString;
768
- userId: z.ZodString;
769
- }, "strip", z.ZodAny, z.objectOutputType<{
770
- id: z.ZodString;
771
- body: z.ZodString;
772
- editedAt: z.ZodOptional<z.ZodString>;
773
- createdAt: z.ZodString;
774
- updatedAt: z.ZodString;
775
- issueId: z.ZodString;
776
- userId: z.ZodString;
777
- }, z.ZodAny, "strip">, z.objectInputType<{
778
- id: z.ZodString;
779
- body: z.ZodString;
780
- editedAt: z.ZodOptional<z.ZodString>;
781
- createdAt: z.ZodString;
782
- updatedAt: z.ZodString;
783
- issueId: z.ZodString;
784
- userId: z.ZodString;
785
- }, z.ZodAny, "strip">>;
786
- url: z.ZodString;
787
- createdAt: z.ZodString;
788
- organizationId: z.ZodString;
789
- webhookId: z.ZodString;
790
- }, "strip", z.ZodTypeAny, {
791
- type: "Comment";
792
- data: {
793
- id: string;
794
- body: string;
795
- createdAt: string;
796
- updatedAt: string;
797
- issueId: string;
798
- userId: string;
799
- editedAt?: string | undefined;
800
- } & {
801
- [k: string]: any;
802
- };
803
- createdAt: string;
804
- url: string;
805
- action: "create";
806
- organizationId: string;
807
- webhookId: string;
808
- }, {
809
- type: "Comment";
810
- data: {
811
- id: string;
812
- body: string;
813
- createdAt: string;
814
- updatedAt: string;
815
- issueId: string;
816
- userId: string;
817
- editedAt?: string | undefined;
818
- } & {
819
- [k: string]: any;
820
- };
821
- createdAt: string;
822
- url: string;
823
- action: "create";
824
- organizationId: string;
825
- webhookId: string;
826
- }>;
827
- export type CommentCreatedEvent = z.infer<typeof CommentCreatedEventSchema>;
828
- export declare const CommentUpdatedEventSchema: z.ZodObject<{
829
- action: z.ZodLiteral<"update">;
830
- type: z.ZodLiteral<"Comment">;
831
- data: z.ZodObject<{
832
- id: z.ZodString;
833
- body: z.ZodString;
834
- editedAt: z.ZodOptional<z.ZodString>;
835
- createdAt: z.ZodString;
836
- updatedAt: z.ZodString;
837
- issueId: z.ZodString;
838
- userId: z.ZodString;
839
- }, "strip", z.ZodAny, z.objectOutputType<{
840
- id: z.ZodString;
841
- body: z.ZodString;
842
- editedAt: z.ZodOptional<z.ZodString>;
843
- createdAt: z.ZodString;
844
- updatedAt: z.ZodString;
845
- issueId: z.ZodString;
846
- userId: z.ZodString;
847
- }, z.ZodAny, "strip">, z.objectInputType<{
848
- id: z.ZodString;
849
- body: z.ZodString;
850
- editedAt: z.ZodOptional<z.ZodString>;
851
- createdAt: z.ZodString;
852
- updatedAt: z.ZodString;
853
- issueId: z.ZodString;
854
- userId: z.ZodString;
855
- }, z.ZodAny, "strip">>;
856
- updatedFrom: z.ZodOptional<z.ZodObject<{
857
- id: z.ZodOptional<z.ZodString>;
858
- body: z.ZodOptional<z.ZodString>;
859
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
860
- createdAt: z.ZodOptional<z.ZodString>;
861
- updatedAt: z.ZodOptional<z.ZodString>;
862
- issueId: z.ZodOptional<z.ZodString>;
863
- userId: z.ZodOptional<z.ZodString>;
864
- }, "strip", z.ZodAny, z.objectOutputType<{
865
- id: z.ZodOptional<z.ZodString>;
866
- body: z.ZodOptional<z.ZodString>;
867
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
868
- createdAt: z.ZodOptional<z.ZodString>;
869
- updatedAt: z.ZodOptional<z.ZodString>;
870
- issueId: z.ZodOptional<z.ZodString>;
871
- userId: z.ZodOptional<z.ZodString>;
872
- }, z.ZodAny, "strip">, z.objectInputType<{
873
- id: z.ZodOptional<z.ZodString>;
874
- body: z.ZodOptional<z.ZodString>;
875
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- createdAt: z.ZodOptional<z.ZodString>;
877
- updatedAt: z.ZodOptional<z.ZodString>;
878
- issueId: z.ZodOptional<z.ZodString>;
879
- userId: z.ZodOptional<z.ZodString>;
880
- }, z.ZodAny, "strip">>>;
881
- url: z.ZodString;
882
- createdAt: z.ZodString;
883
- organizationId: z.ZodString;
884
- webhookId: z.ZodString;
885
- }, "strip", z.ZodTypeAny, {
886
- type: "Comment";
887
- data: {
888
- id: string;
889
- body: string;
890
- createdAt: string;
891
- updatedAt: string;
892
- issueId: string;
893
- userId: string;
894
- editedAt?: string | undefined;
895
- } & {
896
- [k: string]: any;
897
- };
898
- createdAt: string;
899
- url: string;
900
- action: "update";
901
- organizationId: string;
902
- webhookId: string;
903
- updatedFrom?: z.objectOutputType<{
904
- id: z.ZodOptional<z.ZodString>;
905
- body: z.ZodOptional<z.ZodString>;
906
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
907
- createdAt: z.ZodOptional<z.ZodString>;
908
- updatedAt: z.ZodOptional<z.ZodString>;
909
- issueId: z.ZodOptional<z.ZodString>;
910
- userId: z.ZodOptional<z.ZodString>;
911
- }, z.ZodAny, "strip"> | undefined;
912
- }, {
913
- type: "Comment";
914
- data: {
915
- id: string;
916
- body: string;
917
- createdAt: string;
918
- updatedAt: string;
919
- issueId: string;
920
- userId: string;
921
- editedAt?: string | undefined;
922
- } & {
923
- [k: string]: any;
924
- };
925
- createdAt: string;
926
- url: string;
927
- action: "update";
928
- organizationId: string;
929
- webhookId: string;
930
- updatedFrom?: z.objectInputType<{
931
- id: z.ZodOptional<z.ZodString>;
932
- body: z.ZodOptional<z.ZodString>;
933
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
934
- createdAt: z.ZodOptional<z.ZodString>;
935
- updatedAt: z.ZodOptional<z.ZodString>;
936
- issueId: z.ZodOptional<z.ZodString>;
937
- userId: z.ZodOptional<z.ZodString>;
938
- }, z.ZodAny, "strip"> | undefined;
939
- }>;
940
- export type CommentUpdatedEvent = z.infer<typeof CommentUpdatedEventSchema>;
941
- export declare const CommentDeletedEventSchema: z.ZodObject<{
942
- action: z.ZodLiteral<"remove">;
943
- type: z.ZodLiteral<"Comment">;
944
- data: z.ZodObject<{
945
- id: z.ZodString;
946
- body: z.ZodString;
947
- editedAt: z.ZodOptional<z.ZodString>;
948
- createdAt: z.ZodString;
949
- updatedAt: z.ZodString;
950
- issueId: z.ZodString;
951
- userId: z.ZodString;
952
- }, "strip", z.ZodAny, z.objectOutputType<{
953
- id: z.ZodString;
954
- body: z.ZodString;
955
- editedAt: z.ZodOptional<z.ZodString>;
956
- createdAt: z.ZodString;
957
- updatedAt: z.ZodString;
958
- issueId: z.ZodString;
959
- userId: z.ZodString;
960
- }, z.ZodAny, "strip">, z.objectInputType<{
961
- id: z.ZodString;
962
- body: z.ZodString;
963
- editedAt: z.ZodOptional<z.ZodString>;
964
- createdAt: z.ZodString;
965
- updatedAt: z.ZodString;
966
- issueId: z.ZodString;
967
- userId: z.ZodString;
968
- }, z.ZodAny, "strip">>;
295
+ }, z.core.$catchall<z.ZodAny>>;
969
296
  url: z.ZodString;
970
297
  createdAt: z.ZodString;
971
298
  organizationId: z.ZodString;
972
299
  webhookId: z.ZodString;
973
- }, "strip", z.ZodTypeAny, {
974
- type: "Comment";
975
- data: {
976
- id: string;
977
- body: string;
978
- createdAt: string;
979
- updatedAt: string;
980
- issueId: string;
981
- userId: string;
982
- editedAt?: string | undefined;
983
- } & {
984
- [k: string]: any;
985
- };
986
- createdAt: string;
987
- url: string;
988
- action: "remove";
989
- organizationId: string;
990
- webhookId: string;
991
- }, {
992
- type: "Comment";
993
- data: {
994
- id: string;
995
- body: string;
996
- createdAt: string;
997
- updatedAt: string;
998
- issueId: string;
999
- userId: string;
1000
- editedAt?: string | undefined;
1001
- } & {
1002
- [k: string]: any;
1003
- };
1004
- createdAt: string;
1005
- url: string;
1006
- action: "remove";
1007
- organizationId: string;
1008
- webhookId: string;
1009
- }>;
1010
- export type CommentDeletedEvent = z.infer<typeof CommentDeletedEventSchema>;
1011
- export declare const ProjectCreatedEventSchema: z.ZodObject<{
1012
- action: z.ZodLiteral<"create">;
1013
- type: z.ZodLiteral<"Project">;
1014
- data: z.ZodObject<{
1015
- id: z.ZodString;
1016
- name: z.ZodString;
1017
- description: z.ZodOptional<z.ZodString>;
1018
- icon: z.ZodOptional<z.ZodString>;
1019
- color: z.ZodOptional<z.ZodString>;
1020
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1021
- sortOrder: z.ZodNumber;
1022
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1023
- progress: z.ZodNumber;
1024
- url: z.ZodString;
1025
- startDate: z.ZodOptional<z.ZodString>;
1026
- targetDate: z.ZodOptional<z.ZodString>;
1027
- completedAt: z.ZodOptional<z.ZodString>;
1028
- canceledAt: z.ZodOptional<z.ZodString>;
1029
- startedAt: z.ZodOptional<z.ZodString>;
1030
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1031
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1032
- scope: z.ZodNumber;
1033
- createdAt: z.ZodString;
1034
- updatedAt: z.ZodString;
1035
- }, "strip", z.ZodAny, z.objectOutputType<{
1036
- id: z.ZodString;
1037
- name: z.ZodString;
1038
- description: z.ZodOptional<z.ZodString>;
1039
- icon: z.ZodOptional<z.ZodString>;
1040
- color: z.ZodOptional<z.ZodString>;
1041
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1042
- sortOrder: z.ZodNumber;
1043
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1044
- progress: z.ZodNumber;
1045
- url: z.ZodString;
1046
- startDate: z.ZodOptional<z.ZodString>;
1047
- targetDate: z.ZodOptional<z.ZodString>;
1048
- completedAt: z.ZodOptional<z.ZodString>;
1049
- canceledAt: z.ZodOptional<z.ZodString>;
1050
- startedAt: z.ZodOptional<z.ZodString>;
1051
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1052
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1053
- scope: z.ZodNumber;
1054
- createdAt: z.ZodString;
1055
- updatedAt: z.ZodString;
1056
- }, z.ZodAny, "strip">, z.objectInputType<{
1057
- id: z.ZodString;
1058
- name: z.ZodString;
1059
- description: z.ZodOptional<z.ZodString>;
1060
- icon: z.ZodOptional<z.ZodString>;
1061
- color: z.ZodOptional<z.ZodString>;
1062
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1063
- sortOrder: z.ZodNumber;
1064
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1065
- progress: z.ZodNumber;
1066
- url: z.ZodString;
1067
- startDate: z.ZodOptional<z.ZodString>;
1068
- targetDate: z.ZodOptional<z.ZodString>;
1069
- completedAt: z.ZodOptional<z.ZodString>;
1070
- canceledAt: z.ZodOptional<z.ZodString>;
1071
- startedAt: z.ZodOptional<z.ZodString>;
1072
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1073
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1074
- scope: z.ZodNumber;
1075
- createdAt: z.ZodString;
1076
- updatedAt: z.ZodString;
1077
- }, z.ZodAny, "strip">>;
1078
- url: z.ZodString;
1079
- createdAt: z.ZodString;
1080
- organizationId: z.ZodString;
1081
- webhookId: z.ZodString;
1082
- }, "strip", z.ZodTypeAny, {
1083
- type: "Project";
1084
- data: {
1085
- priority: 0 | 3 | 2 | 1 | 4;
1086
- id: string;
1087
- name: string;
1088
- scope: number;
1089
- createdAt: string;
1090
- updatedAt: string;
1091
- sortOrder: number;
1092
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1093
- progress: number;
1094
- url: string;
1095
- completedScopeHistory: number[];
1096
- inProgressScopeHistory: number[];
1097
- description?: string | undefined;
1098
- startedAt?: string | undefined;
1099
- completedAt?: string | undefined;
1100
- canceledAt?: string | undefined;
1101
- icon?: string | undefined;
1102
- color?: string | undefined;
1103
- startDate?: string | undefined;
1104
- targetDate?: string | undefined;
1105
- } & {
1106
- [k: string]: any;
1107
- };
1108
- createdAt: string;
1109
- url: string;
1110
- action: "create";
1111
- organizationId: string;
1112
- webhookId: string;
1113
- }, {
1114
- type: "Project";
1115
- data: {
1116
- priority: 0 | 3 | 2 | 1 | 4;
1117
- id: string;
1118
- name: string;
1119
- scope: number;
1120
- createdAt: string;
1121
- updatedAt: string;
1122
- sortOrder: number;
1123
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1124
- progress: number;
1125
- url: string;
1126
- completedScopeHistory: number[];
1127
- inProgressScopeHistory: number[];
1128
- description?: string | undefined;
1129
- startedAt?: string | undefined;
1130
- completedAt?: string | undefined;
1131
- canceledAt?: string | undefined;
1132
- icon?: string | undefined;
1133
- color?: string | undefined;
1134
- startDate?: string | undefined;
1135
- targetDate?: string | undefined;
1136
- } & {
1137
- [k: string]: any;
1138
- };
1139
- createdAt: string;
1140
- url: string;
1141
- action: "create";
1142
- organizationId: string;
1143
- webhookId: string;
1144
- }>;
300
+ }, z.core.$strip>;
1145
301
  export type ProjectCreatedEvent = z.infer<typeof ProjectCreatedEventSchema>;
1146
302
  export declare const ProjectUpdatedEventSchema: z.ZodObject<{
1147
303
  action: z.ZodLiteral<"update">;
@@ -1152,51 +308,15 @@ export declare const ProjectUpdatedEventSchema: z.ZodObject<{
1152
308
  description: z.ZodOptional<z.ZodString>;
1153
309
  icon: z.ZodOptional<z.ZodString>;
1154
310
  color: z.ZodOptional<z.ZodString>;
1155
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1156
- sortOrder: z.ZodNumber;
1157
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1158
- progress: z.ZodNumber;
1159
- url: z.ZodString;
1160
- startDate: z.ZodOptional<z.ZodString>;
1161
- targetDate: z.ZodOptional<z.ZodString>;
1162
- completedAt: z.ZodOptional<z.ZodString>;
1163
- canceledAt: z.ZodOptional<z.ZodString>;
1164
- startedAt: z.ZodOptional<z.ZodString>;
1165
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1166
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1167
- scope: z.ZodNumber;
1168
- createdAt: z.ZodString;
1169
- updatedAt: z.ZodString;
1170
- }, "strip", z.ZodAny, z.objectOutputType<{
1171
- id: z.ZodString;
1172
- name: z.ZodString;
1173
- description: z.ZodOptional<z.ZodString>;
1174
- icon: z.ZodOptional<z.ZodString>;
1175
- color: z.ZodOptional<z.ZodString>;
1176
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1177
- sortOrder: z.ZodNumber;
1178
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1179
- progress: z.ZodNumber;
1180
- url: z.ZodString;
1181
- startDate: z.ZodOptional<z.ZodString>;
1182
- targetDate: z.ZodOptional<z.ZodString>;
1183
- completedAt: z.ZodOptional<z.ZodString>;
1184
- canceledAt: z.ZodOptional<z.ZodString>;
1185
- startedAt: z.ZodOptional<z.ZodString>;
1186
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1187
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1188
- scope: z.ZodNumber;
1189
- createdAt: z.ZodString;
1190
- updatedAt: z.ZodString;
1191
- }, z.ZodAny, "strip">, z.objectInputType<{
1192
- id: z.ZodString;
1193
- name: z.ZodString;
1194
- description: z.ZodOptional<z.ZodString>;
1195
- icon: z.ZodOptional<z.ZodString>;
1196
- color: z.ZodOptional<z.ZodString>;
1197
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1198
- sortOrder: z.ZodNumber;
1199
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
311
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
312
+ sortOrder: z.ZodNumber;
313
+ state: z.ZodEnum<{
314
+ completed: "completed";
315
+ planned: "planned";
316
+ started: "started";
317
+ paused: "paused";
318
+ canceled: "canceled";
319
+ }>;
1200
320
  progress: z.ZodNumber;
1201
321
  url: z.ZodString;
1202
322
  startDate: z.ZodOptional<z.ZodString>;
@@ -1204,242 +324,64 @@ export declare const ProjectUpdatedEventSchema: z.ZodObject<{
1204
324
  completedAt: z.ZodOptional<z.ZodString>;
1205
325
  canceledAt: z.ZodOptional<z.ZodString>;
1206
326
  startedAt: z.ZodOptional<z.ZodString>;
1207
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1208
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
327
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
328
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
1209
329
  scope: z.ZodNumber;
1210
330
  createdAt: z.ZodString;
1211
331
  updatedAt: z.ZodString;
1212
- }, z.ZodAny, "strip">>;
332
+ }, z.core.$catchall<z.ZodAny>>;
1213
333
  updatedFrom: z.ZodOptional<z.ZodObject<{
1214
334
  id: z.ZodOptional<z.ZodString>;
1215
335
  name: z.ZodOptional<z.ZodString>;
1216
336
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1217
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1218
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1219
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1220
- sortOrder: z.ZodOptional<z.ZodNumber>;
1221
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
1222
- progress: z.ZodOptional<z.ZodNumber>;
1223
- url: z.ZodOptional<z.ZodString>;
1224
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1225
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1226
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1227
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1228
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1229
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1230
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1231
- scope: z.ZodOptional<z.ZodNumber>;
1232
- createdAt: z.ZodOptional<z.ZodString>;
1233
- updatedAt: z.ZodOptional<z.ZodString>;
1234
- }, "strip", z.ZodAny, z.objectOutputType<{
1235
- id: z.ZodOptional<z.ZodString>;
1236
- name: z.ZodOptional<z.ZodString>;
1237
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1238
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1239
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1240
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1241
- sortOrder: z.ZodOptional<z.ZodNumber>;
1242
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
1243
- progress: z.ZodOptional<z.ZodNumber>;
1244
- url: z.ZodOptional<z.ZodString>;
1245
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1246
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1247
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1248
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1249
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1250
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1251
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1252
- scope: z.ZodOptional<z.ZodNumber>;
1253
- createdAt: z.ZodOptional<z.ZodString>;
1254
- updatedAt: z.ZodOptional<z.ZodString>;
1255
- }, z.ZodAny, "strip">, z.objectInputType<{
1256
- id: z.ZodOptional<z.ZodString>;
1257
- name: z.ZodOptional<z.ZodString>;
1258
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1259
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1260
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1261
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1262
- sortOrder: z.ZodOptional<z.ZodNumber>;
1263
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
1264
- progress: z.ZodOptional<z.ZodNumber>;
1265
- url: z.ZodOptional<z.ZodString>;
1266
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1267
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1268
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1269
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1270
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1271
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1272
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1273
- scope: z.ZodOptional<z.ZodNumber>;
1274
- createdAt: z.ZodOptional<z.ZodString>;
1275
- updatedAt: z.ZodOptional<z.ZodString>;
1276
- }, z.ZodAny, "strip">>>;
1277
- url: z.ZodString;
1278
- createdAt: z.ZodString;
1279
- organizationId: z.ZodString;
1280
- webhookId: z.ZodString;
1281
- }, "strip", z.ZodTypeAny, {
1282
- type: "Project";
1283
- data: {
1284
- priority: 0 | 3 | 2 | 1 | 4;
1285
- id: string;
1286
- name: string;
1287
- scope: number;
1288
- createdAt: string;
1289
- updatedAt: string;
1290
- sortOrder: number;
1291
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1292
- progress: number;
1293
- url: string;
1294
- completedScopeHistory: number[];
1295
- inProgressScopeHistory: number[];
1296
- description?: string | undefined;
1297
- startedAt?: string | undefined;
1298
- completedAt?: string | undefined;
1299
- canceledAt?: string | undefined;
1300
- icon?: string | undefined;
1301
- color?: string | undefined;
1302
- startDate?: string | undefined;
1303
- targetDate?: string | undefined;
1304
- } & {
1305
- [k: string]: any;
1306
- };
1307
- createdAt: string;
1308
- url: string;
1309
- action: "update";
1310
- organizationId: string;
1311
- webhookId: string;
1312
- updatedFrom?: z.objectOutputType<{
1313
- id: z.ZodOptional<z.ZodString>;
1314
- name: z.ZodOptional<z.ZodString>;
1315
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1316
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1317
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1318
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1319
- sortOrder: z.ZodOptional<z.ZodNumber>;
1320
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
1321
- progress: z.ZodOptional<z.ZodNumber>;
1322
- url: z.ZodOptional<z.ZodString>;
1323
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1324
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1325
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1326
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1327
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1328
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1329
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1330
- scope: z.ZodOptional<z.ZodNumber>;
1331
- createdAt: z.ZodOptional<z.ZodString>;
1332
- updatedAt: z.ZodOptional<z.ZodString>;
1333
- }, z.ZodAny, "strip"> | undefined;
1334
- }, {
1335
- type: "Project";
1336
- data: {
1337
- priority: 0 | 3 | 2 | 1 | 4;
1338
- id: string;
1339
- name: string;
1340
- scope: number;
1341
- createdAt: string;
1342
- updatedAt: string;
1343
- sortOrder: number;
1344
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1345
- progress: number;
1346
- url: string;
1347
- completedScopeHistory: number[];
1348
- inProgressScopeHistory: number[];
1349
- description?: string | undefined;
1350
- startedAt?: string | undefined;
1351
- completedAt?: string | undefined;
1352
- canceledAt?: string | undefined;
1353
- icon?: string | undefined;
1354
- color?: string | undefined;
1355
- startDate?: string | undefined;
1356
- targetDate?: string | undefined;
1357
- } & {
1358
- [k: string]: any;
1359
- };
1360
- createdAt: string;
1361
- url: string;
1362
- action: "update";
1363
- organizationId: string;
1364
- webhookId: string;
1365
- updatedFrom?: z.objectInputType<{
1366
- id: z.ZodOptional<z.ZodString>;
1367
- name: z.ZodOptional<z.ZodString>;
1368
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1369
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1370
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1371
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1372
- sortOrder: z.ZodOptional<z.ZodNumber>;
1373
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
1374
- progress: z.ZodOptional<z.ZodNumber>;
1375
- url: z.ZodOptional<z.ZodString>;
1376
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1377
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1378
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1379
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1380
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1381
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1382
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1383
- scope: z.ZodOptional<z.ZodNumber>;
1384
- createdAt: z.ZodOptional<z.ZodString>;
1385
- updatedAt: z.ZodOptional<z.ZodString>;
1386
- }, z.ZodAny, "strip"> | undefined;
1387
- }>;
1388
- export type ProjectUpdatedEvent = z.infer<typeof ProjectUpdatedEventSchema>;
1389
- export declare const ProjectDeletedEventSchema: z.ZodObject<{
1390
- action: z.ZodLiteral<"remove">;
1391
- type: z.ZodLiteral<"Project">;
1392
- data: z.ZodObject<{
1393
- id: z.ZodString;
1394
- name: z.ZodString;
1395
- description: z.ZodOptional<z.ZodString>;
1396
- icon: z.ZodOptional<z.ZodString>;
1397
- color: z.ZodOptional<z.ZodString>;
1398
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1399
- sortOrder: z.ZodNumber;
1400
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1401
- progress: z.ZodNumber;
1402
- url: z.ZodString;
1403
- startDate: z.ZodOptional<z.ZodString>;
1404
- targetDate: z.ZodOptional<z.ZodString>;
1405
- completedAt: z.ZodOptional<z.ZodString>;
1406
- canceledAt: z.ZodOptional<z.ZodString>;
1407
- startedAt: z.ZodOptional<z.ZodString>;
1408
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1409
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1410
- scope: z.ZodNumber;
1411
- createdAt: z.ZodString;
1412
- updatedAt: z.ZodString;
1413
- }, "strip", z.ZodAny, z.objectOutputType<{
1414
- id: z.ZodString;
1415
- name: z.ZodString;
1416
- description: z.ZodOptional<z.ZodString>;
1417
- icon: z.ZodOptional<z.ZodString>;
1418
- color: z.ZodOptional<z.ZodString>;
1419
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1420
- sortOrder: z.ZodNumber;
1421
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
1422
- progress: z.ZodNumber;
1423
- url: z.ZodString;
1424
- startDate: z.ZodOptional<z.ZodString>;
1425
- targetDate: z.ZodOptional<z.ZodString>;
1426
- completedAt: z.ZodOptional<z.ZodString>;
1427
- canceledAt: z.ZodOptional<z.ZodString>;
1428
- startedAt: z.ZodOptional<z.ZodString>;
1429
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1430
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1431
- scope: z.ZodNumber;
1432
- createdAt: z.ZodString;
1433
- updatedAt: z.ZodString;
1434
- }, z.ZodAny, "strip">, z.objectInputType<{
337
+ icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
338
+ color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
339
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
340
+ sortOrder: z.ZodOptional<z.ZodNumber>;
341
+ state: z.ZodOptional<z.ZodEnum<{
342
+ completed: "completed";
343
+ planned: "planned";
344
+ started: "started";
345
+ paused: "paused";
346
+ canceled: "canceled";
347
+ }>>;
348
+ progress: z.ZodOptional<z.ZodNumber>;
349
+ url: z.ZodOptional<z.ZodString>;
350
+ startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
351
+ targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
352
+ completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
353
+ canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
354
+ startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
355
+ completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
356
+ inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
357
+ scope: z.ZodOptional<z.ZodNumber>;
358
+ createdAt: z.ZodOptional<z.ZodString>;
359
+ updatedAt: z.ZodOptional<z.ZodString>;
360
+ }, z.core.$catchall<z.ZodAny>>>;
361
+ url: z.ZodString;
362
+ createdAt: z.ZodString;
363
+ organizationId: z.ZodString;
364
+ webhookId: z.ZodString;
365
+ }, z.core.$strip>;
366
+ export type ProjectUpdatedEvent = z.infer<typeof ProjectUpdatedEventSchema>;
367
+ export declare const ProjectDeletedEventSchema: z.ZodObject<{
368
+ action: z.ZodLiteral<"remove">;
369
+ type: z.ZodLiteral<"Project">;
370
+ data: z.ZodObject<{
1435
371
  id: z.ZodString;
1436
372
  name: z.ZodString;
1437
373
  description: z.ZodOptional<z.ZodString>;
1438
374
  icon: z.ZodOptional<z.ZodString>;
1439
375
  color: z.ZodOptional<z.ZodString>;
1440
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1441
- sortOrder: z.ZodNumber;
1442
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
376
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
377
+ sortOrder: z.ZodNumber;
378
+ state: z.ZodEnum<{
379
+ completed: "completed";
380
+ planned: "planned";
381
+ started: "started";
382
+ paused: "paused";
383
+ canceled: "canceled";
384
+ }>;
1443
385
  progress: z.ZodNumber;
1444
386
  url: z.ZodString;
1445
387
  startDate: z.ZodOptional<z.ZodString>;
@@ -1447,81 +389,19 @@ export declare const ProjectDeletedEventSchema: z.ZodObject<{
1447
389
  completedAt: z.ZodOptional<z.ZodString>;
1448
390
  canceledAt: z.ZodOptional<z.ZodString>;
1449
391
  startedAt: z.ZodOptional<z.ZodString>;
1450
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
1451
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
392
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
393
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
1452
394
  scope: z.ZodNumber;
1453
395
  createdAt: z.ZodString;
1454
396
  updatedAt: z.ZodString;
1455
- }, z.ZodAny, "strip">>;
397
+ }, z.core.$catchall<z.ZodAny>>;
1456
398
  url: z.ZodString;
1457
399
  createdAt: z.ZodString;
1458
400
  organizationId: z.ZodString;
1459
401
  webhookId: z.ZodString;
1460
- }, "strip", z.ZodTypeAny, {
1461
- type: "Project";
1462
- data: {
1463
- priority: 0 | 3 | 2 | 1 | 4;
1464
- id: string;
1465
- name: string;
1466
- scope: number;
1467
- createdAt: string;
1468
- updatedAt: string;
1469
- sortOrder: number;
1470
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1471
- progress: number;
1472
- url: string;
1473
- completedScopeHistory: number[];
1474
- inProgressScopeHistory: number[];
1475
- description?: string | undefined;
1476
- startedAt?: string | undefined;
1477
- completedAt?: string | undefined;
1478
- canceledAt?: string | undefined;
1479
- icon?: string | undefined;
1480
- color?: string | undefined;
1481
- startDate?: string | undefined;
1482
- targetDate?: string | undefined;
1483
- } & {
1484
- [k: string]: any;
1485
- };
1486
- createdAt: string;
1487
- url: string;
1488
- action: "remove";
1489
- organizationId: string;
1490
- webhookId: string;
1491
- }, {
1492
- type: "Project";
1493
- data: {
1494
- priority: 0 | 3 | 2 | 1 | 4;
1495
- id: string;
1496
- name: string;
1497
- scope: number;
1498
- createdAt: string;
1499
- updatedAt: string;
1500
- sortOrder: number;
1501
- state: "completed" | "planned" | "started" | "paused" | "canceled";
1502
- progress: number;
1503
- url: string;
1504
- completedScopeHistory: number[];
1505
- inProgressScopeHistory: number[];
1506
- description?: string | undefined;
1507
- startedAt?: string | undefined;
1508
- completedAt?: string | undefined;
1509
- canceledAt?: string | undefined;
1510
- icon?: string | undefined;
1511
- color?: string | undefined;
1512
- startDate?: string | undefined;
1513
- targetDate?: string | undefined;
1514
- } & {
1515
- [k: string]: any;
1516
- };
1517
- createdAt: string;
1518
- url: string;
1519
- action: "remove";
1520
- organizationId: string;
1521
- webhookId: string;
1522
- }>;
402
+ }, z.core.$strip>;
1523
403
  export type ProjectDeletedEvent = z.infer<typeof ProjectDeletedEventSchema>;
1524
- export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
404
+ export declare const LinearWebhookEventSchema: z.ZodUnion<readonly [z.ZodObject<{
1525
405
  action: z.ZodLiteral<"create">;
1526
406
  type: z.ZodLiteral<"Issue">;
1527
407
  data: z.ZodObject<{
@@ -1529,55 +409,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1529
409
  identifier: z.ZodString;
1530
410
  title: z.ZodString;
1531
411
  description: z.ZodOptional<z.ZodString>;
1532
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1533
- estimate: z.ZodOptional<z.ZodNumber>;
1534
- sortOrder: z.ZodNumber;
1535
- startedAt: z.ZodOptional<z.ZodString>;
1536
- completedAt: z.ZodOptional<z.ZodString>;
1537
- canceledAt: z.ZodOptional<z.ZodString>;
1538
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1539
- autoClosedAt: z.ZodOptional<z.ZodString>;
1540
- dueDate: z.ZodOptional<z.ZodString>;
1541
- trashed: z.ZodOptional<z.ZodBoolean>;
1542
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1543
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1544
- createdAt: z.ZodString;
1545
- updatedAt: z.ZodString;
1546
- branchName: z.ZodString;
1547
- customerTicketCount: z.ZodNumber;
1548
- stateId: z.ZodString;
1549
- teamId: z.ZodString;
1550
- creatorId: z.ZodString;
1551
- }, "strip", z.ZodAny, z.objectOutputType<{
1552
- id: z.ZodString;
1553
- identifier: z.ZodString;
1554
- title: z.ZodString;
1555
- description: z.ZodOptional<z.ZodString>;
1556
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1557
- estimate: z.ZodOptional<z.ZodNumber>;
1558
- sortOrder: z.ZodNumber;
1559
- startedAt: z.ZodOptional<z.ZodString>;
1560
- completedAt: z.ZodOptional<z.ZodString>;
1561
- canceledAt: z.ZodOptional<z.ZodString>;
1562
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1563
- autoClosedAt: z.ZodOptional<z.ZodString>;
1564
- dueDate: z.ZodOptional<z.ZodString>;
1565
- trashed: z.ZodOptional<z.ZodBoolean>;
1566
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1567
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1568
- createdAt: z.ZodString;
1569
- updatedAt: z.ZodString;
1570
- branchName: z.ZodString;
1571
- customerTicketCount: z.ZodNumber;
1572
- stateId: z.ZodString;
1573
- teamId: z.ZodString;
1574
- creatorId: z.ZodString;
1575
- }, z.ZodAny, "strip">, z.objectInputType<{
1576
- id: z.ZodString;
1577
- identifier: z.ZodString;
1578
- title: z.ZodString;
1579
- description: z.ZodOptional<z.ZodString>;
1580
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
412
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1581
413
  estimate: z.ZodOptional<z.ZodNumber>;
1582
414
  sortOrder: z.ZodNumber;
1583
415
  startedAt: z.ZodOptional<z.ZodString>;
@@ -1588,7 +420,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1588
420
  dueDate: z.ZodOptional<z.ZodString>;
1589
421
  trashed: z.ZodOptional<z.ZodBoolean>;
1590
422
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
1591
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
423
+ previousIdentifiers: z.ZodArray<z.ZodString>;
1592
424
  createdAt: z.ZodString;
1593
425
  updatedAt: z.ZodString;
1594
426
  branchName: z.ZodString;
@@ -1596,80 +428,12 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1596
428
  stateId: z.ZodString;
1597
429
  teamId: z.ZodString;
1598
430
  creatorId: z.ZodString;
1599
- }, z.ZodAny, "strip">>;
431
+ }, z.core.$catchall<z.ZodAny>>;
1600
432
  url: z.ZodString;
1601
433
  createdAt: z.ZodString;
1602
434
  organizationId: z.ZodString;
1603
435
  webhookId: z.ZodString;
1604
- }, "strip", z.ZodTypeAny, {
1605
- type: "Issue";
1606
- data: {
1607
- priority: 0 | 3 | 2 | 1 | 4;
1608
- id: string;
1609
- createdAt: string;
1610
- updatedAt: string;
1611
- identifier: string;
1612
- title: string;
1613
- sortOrder: number;
1614
- previousIdentifiers: string[];
1615
- branchName: string;
1616
- customerTicketCount: number;
1617
- stateId: string;
1618
- teamId: string;
1619
- creatorId: string;
1620
- description?: string | undefined;
1621
- estimate?: number | undefined;
1622
- startedAt?: string | undefined;
1623
- completedAt?: string | undefined;
1624
- canceledAt?: string | undefined;
1625
- autoArchivedAt?: string | undefined;
1626
- autoClosedAt?: string | undefined;
1627
- dueDate?: string | undefined;
1628
- trashed?: boolean | undefined;
1629
- snoozedUntilAt?: string | undefined;
1630
- } & {
1631
- [k: string]: any;
1632
- };
1633
- createdAt: string;
1634
- url: string;
1635
- action: "create";
1636
- organizationId: string;
1637
- webhookId: string;
1638
- }, {
1639
- type: "Issue";
1640
- data: {
1641
- priority: 0 | 3 | 2 | 1 | 4;
1642
- id: string;
1643
- createdAt: string;
1644
- updatedAt: string;
1645
- identifier: string;
1646
- title: string;
1647
- sortOrder: number;
1648
- previousIdentifiers: string[];
1649
- branchName: string;
1650
- customerTicketCount: number;
1651
- stateId: string;
1652
- teamId: string;
1653
- creatorId: string;
1654
- description?: string | undefined;
1655
- estimate?: number | undefined;
1656
- startedAt?: string | undefined;
1657
- completedAt?: string | undefined;
1658
- canceledAt?: string | undefined;
1659
- autoArchivedAt?: string | undefined;
1660
- autoClosedAt?: string | undefined;
1661
- dueDate?: string | undefined;
1662
- trashed?: boolean | undefined;
1663
- snoozedUntilAt?: string | undefined;
1664
- } & {
1665
- [k: string]: any;
1666
- };
1667
- createdAt: string;
1668
- url: string;
1669
- action: "create";
1670
- organizationId: string;
1671
- webhookId: string;
1672
- }>, z.ZodObject<{
436
+ }, z.core.$strip>, z.ZodObject<{
1673
437
  action: z.ZodLiteral<"update">;
1674
438
  type: z.ZodLiteral<"Issue">;
1675
439
  data: z.ZodObject<{
@@ -1677,55 +441,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1677
441
  identifier: z.ZodString;
1678
442
  title: z.ZodString;
1679
443
  description: z.ZodOptional<z.ZodString>;
1680
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1681
- estimate: z.ZodOptional<z.ZodNumber>;
1682
- sortOrder: z.ZodNumber;
1683
- startedAt: z.ZodOptional<z.ZodString>;
1684
- completedAt: z.ZodOptional<z.ZodString>;
1685
- canceledAt: z.ZodOptional<z.ZodString>;
1686
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1687
- autoClosedAt: z.ZodOptional<z.ZodString>;
1688
- dueDate: z.ZodOptional<z.ZodString>;
1689
- trashed: z.ZodOptional<z.ZodBoolean>;
1690
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1691
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1692
- createdAt: z.ZodString;
1693
- updatedAt: z.ZodString;
1694
- branchName: z.ZodString;
1695
- customerTicketCount: z.ZodNumber;
1696
- stateId: z.ZodString;
1697
- teamId: z.ZodString;
1698
- creatorId: z.ZodString;
1699
- }, "strip", z.ZodAny, z.objectOutputType<{
1700
- id: z.ZodString;
1701
- identifier: z.ZodString;
1702
- title: z.ZodString;
1703
- description: z.ZodOptional<z.ZodString>;
1704
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1705
- estimate: z.ZodOptional<z.ZodNumber>;
1706
- sortOrder: z.ZodNumber;
1707
- startedAt: z.ZodOptional<z.ZodString>;
1708
- completedAt: z.ZodOptional<z.ZodString>;
1709
- canceledAt: z.ZodOptional<z.ZodString>;
1710
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1711
- autoClosedAt: z.ZodOptional<z.ZodString>;
1712
- dueDate: z.ZodOptional<z.ZodString>;
1713
- trashed: z.ZodOptional<z.ZodBoolean>;
1714
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1715
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1716
- createdAt: z.ZodString;
1717
- updatedAt: z.ZodString;
1718
- branchName: z.ZodString;
1719
- customerTicketCount: z.ZodNumber;
1720
- stateId: z.ZodString;
1721
- teamId: z.ZodString;
1722
- creatorId: z.ZodString;
1723
- }, z.ZodAny, "strip">, z.objectInputType<{
1724
- id: z.ZodString;
1725
- identifier: z.ZodString;
1726
- title: z.ZodString;
1727
- description: z.ZodOptional<z.ZodString>;
1728
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
444
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1729
445
  estimate: z.ZodOptional<z.ZodNumber>;
1730
446
  sortOrder: z.ZodNumber;
1731
447
  startedAt: z.ZodOptional<z.ZodString>;
@@ -1736,7 +452,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1736
452
  dueDate: z.ZodOptional<z.ZodString>;
1737
453
  trashed: z.ZodOptional<z.ZodBoolean>;
1738
454
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
1739
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
455
+ previousIdentifiers: z.ZodArray<z.ZodString>;
1740
456
  createdAt: z.ZodString;
1741
457
  updatedAt: z.ZodString;
1742
458
  branchName: z.ZodString;
@@ -1744,259 +460,45 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
1744
460
  stateId: z.ZodString;
1745
461
  teamId: z.ZodString;
1746
462
  creatorId: z.ZodString;
1747
- }, z.ZodAny, "strip">>;
463
+ }, z.core.$catchall<z.ZodAny>>;
1748
464
  updatedFrom: z.ZodOptional<z.ZodObject<{
1749
465
  id: z.ZodOptional<z.ZodString>;
1750
466
  identifier: z.ZodOptional<z.ZodString>;
1751
467
  title: z.ZodOptional<z.ZodString>;
1752
468
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1753
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1754
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1755
- sortOrder: z.ZodOptional<z.ZodNumber>;
1756
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1757
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1758
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1759
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1760
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1761
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1762
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1763
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1764
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
- createdAt: z.ZodOptional<z.ZodString>;
1766
- updatedAt: z.ZodOptional<z.ZodString>;
1767
- branchName: z.ZodOptional<z.ZodString>;
1768
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
1769
- stateId: z.ZodOptional<z.ZodString>;
1770
- teamId: z.ZodOptional<z.ZodString>;
1771
- creatorId: z.ZodOptional<z.ZodString>;
1772
- }, "strip", z.ZodAny, z.objectOutputType<{
1773
- id: z.ZodOptional<z.ZodString>;
1774
- identifier: z.ZodOptional<z.ZodString>;
1775
- title: z.ZodOptional<z.ZodString>;
1776
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1777
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
469
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1778
470
  estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1779
- sortOrder: z.ZodOptional<z.ZodNumber>;
1780
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1781
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1782
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1783
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1784
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1785
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1786
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1787
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1788
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1789
- createdAt: z.ZodOptional<z.ZodString>;
1790
- updatedAt: z.ZodOptional<z.ZodString>;
1791
- branchName: z.ZodOptional<z.ZodString>;
1792
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
1793
- stateId: z.ZodOptional<z.ZodString>;
1794
- teamId: z.ZodOptional<z.ZodString>;
1795
- creatorId: z.ZodOptional<z.ZodString>;
1796
- }, z.ZodAny, "strip">, z.objectInputType<{
1797
- id: z.ZodOptional<z.ZodString>;
1798
- identifier: z.ZodOptional<z.ZodString>;
1799
- title: z.ZodOptional<z.ZodString>;
1800
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1801
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1802
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1803
- sortOrder: z.ZodOptional<z.ZodNumber>;
1804
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1805
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1806
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1807
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1808
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1809
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1810
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1811
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1812
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1813
- createdAt: z.ZodOptional<z.ZodString>;
1814
- updatedAt: z.ZodOptional<z.ZodString>;
1815
- branchName: z.ZodOptional<z.ZodString>;
1816
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
1817
- stateId: z.ZodOptional<z.ZodString>;
1818
- teamId: z.ZodOptional<z.ZodString>;
1819
- creatorId: z.ZodOptional<z.ZodString>;
1820
- }, z.ZodAny, "strip">>>;
1821
- url: z.ZodString;
1822
- createdAt: z.ZodString;
1823
- organizationId: z.ZodString;
1824
- webhookId: z.ZodString;
1825
- }, "strip", z.ZodTypeAny, {
1826
- type: "Issue";
1827
- data: {
1828
- priority: 0 | 3 | 2 | 1 | 4;
1829
- id: string;
1830
- createdAt: string;
1831
- updatedAt: string;
1832
- identifier: string;
1833
- title: string;
1834
- sortOrder: number;
1835
- previousIdentifiers: string[];
1836
- branchName: string;
1837
- customerTicketCount: number;
1838
- stateId: string;
1839
- teamId: string;
1840
- creatorId: string;
1841
- description?: string | undefined;
1842
- estimate?: number | undefined;
1843
- startedAt?: string | undefined;
1844
- completedAt?: string | undefined;
1845
- canceledAt?: string | undefined;
1846
- autoArchivedAt?: string | undefined;
1847
- autoClosedAt?: string | undefined;
1848
- dueDate?: string | undefined;
1849
- trashed?: boolean | undefined;
1850
- snoozedUntilAt?: string | undefined;
1851
- } & {
1852
- [k: string]: any;
1853
- };
1854
- createdAt: string;
1855
- url: string;
1856
- action: "update";
1857
- organizationId: string;
1858
- webhookId: string;
1859
- updatedFrom?: z.objectOutputType<{
1860
- id: z.ZodOptional<z.ZodString>;
1861
- identifier: z.ZodOptional<z.ZodString>;
1862
- title: z.ZodOptional<z.ZodString>;
1863
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1864
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1865
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1866
- sortOrder: z.ZodOptional<z.ZodNumber>;
1867
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1868
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1869
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1870
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1871
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1872
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1873
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1874
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1875
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1876
- createdAt: z.ZodOptional<z.ZodString>;
1877
- updatedAt: z.ZodOptional<z.ZodString>;
1878
- branchName: z.ZodOptional<z.ZodString>;
1879
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
1880
- stateId: z.ZodOptional<z.ZodString>;
1881
- teamId: z.ZodOptional<z.ZodString>;
1882
- creatorId: z.ZodOptional<z.ZodString>;
1883
- }, z.ZodAny, "strip"> | undefined;
1884
- }, {
1885
- type: "Issue";
1886
- data: {
1887
- priority: 0 | 3 | 2 | 1 | 4;
1888
- id: string;
1889
- createdAt: string;
1890
- updatedAt: string;
1891
- identifier: string;
1892
- title: string;
1893
- sortOrder: number;
1894
- previousIdentifiers: string[];
1895
- branchName: string;
1896
- customerTicketCount: number;
1897
- stateId: string;
1898
- teamId: string;
1899
- creatorId: string;
1900
- description?: string | undefined;
1901
- estimate?: number | undefined;
1902
- startedAt?: string | undefined;
1903
- completedAt?: string | undefined;
1904
- canceledAt?: string | undefined;
1905
- autoArchivedAt?: string | undefined;
1906
- autoClosedAt?: string | undefined;
1907
- dueDate?: string | undefined;
1908
- trashed?: boolean | undefined;
1909
- snoozedUntilAt?: string | undefined;
1910
- } & {
1911
- [k: string]: any;
1912
- };
1913
- createdAt: string;
1914
- url: string;
1915
- action: "update";
1916
- organizationId: string;
1917
- webhookId: string;
1918
- updatedFrom?: z.objectInputType<{
1919
- id: z.ZodOptional<z.ZodString>;
1920
- identifier: z.ZodOptional<z.ZodString>;
1921
- title: z.ZodOptional<z.ZodString>;
1922
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1923
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1924
- estimate: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1925
- sortOrder: z.ZodOptional<z.ZodNumber>;
1926
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1927
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1928
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1929
- autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1930
- autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1931
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1932
- trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1933
- snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1934
- previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1935
- createdAt: z.ZodOptional<z.ZodString>;
1936
- updatedAt: z.ZodOptional<z.ZodString>;
1937
- branchName: z.ZodOptional<z.ZodString>;
1938
- customerTicketCount: z.ZodOptional<z.ZodNumber>;
1939
- stateId: z.ZodOptional<z.ZodString>;
1940
- teamId: z.ZodOptional<z.ZodString>;
1941
- creatorId: z.ZodOptional<z.ZodString>;
1942
- }, z.ZodAny, "strip"> | undefined;
1943
- }>, z.ZodObject<{
1944
- action: z.ZodLiteral<"remove">;
1945
- type: z.ZodLiteral<"Issue">;
1946
- data: z.ZodObject<{
1947
- id: z.ZodString;
1948
- identifier: z.ZodString;
1949
- title: z.ZodString;
1950
- description: z.ZodOptional<z.ZodString>;
1951
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1952
- estimate: z.ZodOptional<z.ZodNumber>;
1953
- sortOrder: z.ZodNumber;
1954
- startedAt: z.ZodOptional<z.ZodString>;
1955
- completedAt: z.ZodOptional<z.ZodString>;
1956
- canceledAt: z.ZodOptional<z.ZodString>;
1957
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1958
- autoClosedAt: z.ZodOptional<z.ZodString>;
1959
- dueDate: z.ZodOptional<z.ZodString>;
1960
- trashed: z.ZodOptional<z.ZodBoolean>;
1961
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1962
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1963
- createdAt: z.ZodString;
1964
- updatedAt: z.ZodString;
1965
- branchName: z.ZodString;
1966
- customerTicketCount: z.ZodNumber;
1967
- stateId: z.ZodString;
1968
- teamId: z.ZodString;
1969
- creatorId: z.ZodString;
1970
- }, "strip", z.ZodAny, z.objectOutputType<{
1971
- id: z.ZodString;
1972
- identifier: z.ZodString;
1973
- title: z.ZodString;
1974
- description: z.ZodOptional<z.ZodString>;
1975
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1976
- estimate: z.ZodOptional<z.ZodNumber>;
1977
- sortOrder: z.ZodNumber;
1978
- startedAt: z.ZodOptional<z.ZodString>;
1979
- completedAt: z.ZodOptional<z.ZodString>;
1980
- canceledAt: z.ZodOptional<z.ZodString>;
1981
- autoArchivedAt: z.ZodOptional<z.ZodString>;
1982
- autoClosedAt: z.ZodOptional<z.ZodString>;
1983
- dueDate: z.ZodOptional<z.ZodString>;
1984
- trashed: z.ZodOptional<z.ZodBoolean>;
1985
- snoozedUntilAt: z.ZodOptional<z.ZodString>;
1986
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
1987
- createdAt: z.ZodString;
1988
- updatedAt: z.ZodString;
1989
- branchName: z.ZodString;
1990
- customerTicketCount: z.ZodNumber;
1991
- stateId: z.ZodString;
1992
- teamId: z.ZodString;
1993
- creatorId: z.ZodString;
1994
- }, z.ZodAny, "strip">, z.objectInputType<{
471
+ sortOrder: z.ZodOptional<z.ZodNumber>;
472
+ startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
473
+ completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
474
+ canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
475
+ autoArchivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
476
+ autoClosedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
477
+ dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
478
+ trashed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
479
+ snoozedUntilAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
480
+ previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
481
+ createdAt: z.ZodOptional<z.ZodString>;
482
+ updatedAt: z.ZodOptional<z.ZodString>;
483
+ branchName: z.ZodOptional<z.ZodString>;
484
+ customerTicketCount: z.ZodOptional<z.ZodNumber>;
485
+ stateId: z.ZodOptional<z.ZodString>;
486
+ teamId: z.ZodOptional<z.ZodString>;
487
+ creatorId: z.ZodOptional<z.ZodString>;
488
+ }, z.core.$catchall<z.ZodAny>>>;
489
+ url: z.ZodString;
490
+ createdAt: z.ZodString;
491
+ organizationId: z.ZodString;
492
+ webhookId: z.ZodString;
493
+ }, z.core.$strip>, z.ZodObject<{
494
+ action: z.ZodLiteral<"remove">;
495
+ type: z.ZodLiteral<"Issue">;
496
+ data: z.ZodObject<{
1995
497
  id: z.ZodString;
1996
498
  identifier: z.ZodString;
1997
499
  title: z.ZodString;
1998
500
  description: z.ZodOptional<z.ZodString>;
1999
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
501
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2000
502
  estimate: z.ZodOptional<z.ZodNumber>;
2001
503
  sortOrder: z.ZodNumber;
2002
504
  startedAt: z.ZodOptional<z.ZodString>;
@@ -2007,7 +509,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2007
509
  dueDate: z.ZodOptional<z.ZodString>;
2008
510
  trashed: z.ZodOptional<z.ZodBoolean>;
2009
511
  snoozedUntilAt: z.ZodOptional<z.ZodString>;
2010
- previousIdentifiers: z.ZodArray<z.ZodString, "many">;
512
+ previousIdentifiers: z.ZodArray<z.ZodString>;
2011
513
  createdAt: z.ZodString;
2012
514
  updatedAt: z.ZodString;
2013
515
  branchName: z.ZodString;
@@ -2015,80 +517,12 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2015
517
  stateId: z.ZodString;
2016
518
  teamId: z.ZodString;
2017
519
  creatorId: z.ZodString;
2018
- }, z.ZodAny, "strip">>;
520
+ }, z.core.$catchall<z.ZodAny>>;
2019
521
  url: z.ZodString;
2020
522
  createdAt: z.ZodString;
2021
523
  organizationId: z.ZodString;
2022
524
  webhookId: z.ZodString;
2023
- }, "strip", z.ZodTypeAny, {
2024
- type: "Issue";
2025
- data: {
2026
- priority: 0 | 3 | 2 | 1 | 4;
2027
- id: string;
2028
- createdAt: string;
2029
- updatedAt: string;
2030
- identifier: string;
2031
- title: string;
2032
- sortOrder: number;
2033
- previousIdentifiers: string[];
2034
- branchName: string;
2035
- customerTicketCount: number;
2036
- stateId: string;
2037
- teamId: string;
2038
- creatorId: string;
2039
- description?: string | undefined;
2040
- estimate?: number | undefined;
2041
- startedAt?: string | undefined;
2042
- completedAt?: string | undefined;
2043
- canceledAt?: string | undefined;
2044
- autoArchivedAt?: string | undefined;
2045
- autoClosedAt?: string | undefined;
2046
- dueDate?: string | undefined;
2047
- trashed?: boolean | undefined;
2048
- snoozedUntilAt?: string | undefined;
2049
- } & {
2050
- [k: string]: any;
2051
- };
2052
- createdAt: string;
2053
- url: string;
2054
- action: "remove";
2055
- organizationId: string;
2056
- webhookId: string;
2057
- }, {
2058
- type: "Issue";
2059
- data: {
2060
- priority: 0 | 3 | 2 | 1 | 4;
2061
- id: string;
2062
- createdAt: string;
2063
- updatedAt: string;
2064
- identifier: string;
2065
- title: string;
2066
- sortOrder: number;
2067
- previousIdentifiers: string[];
2068
- branchName: string;
2069
- customerTicketCount: number;
2070
- stateId: string;
2071
- teamId: string;
2072
- creatorId: string;
2073
- description?: string | undefined;
2074
- estimate?: number | undefined;
2075
- startedAt?: string | undefined;
2076
- completedAt?: string | undefined;
2077
- canceledAt?: string | undefined;
2078
- autoArchivedAt?: string | undefined;
2079
- autoClosedAt?: string | undefined;
2080
- dueDate?: string | undefined;
2081
- trashed?: boolean | undefined;
2082
- snoozedUntilAt?: string | undefined;
2083
- } & {
2084
- [k: string]: any;
2085
- };
2086
- createdAt: string;
2087
- url: string;
2088
- action: "remove";
2089
- organizationId: string;
2090
- webhookId: string;
2091
- }>, z.ZodObject<{
525
+ }, z.core.$strip>, z.ZodObject<{
2092
526
  action: z.ZodLiteral<"create">;
2093
527
  type: z.ZodLiteral<"Comment">;
2094
528
  data: z.ZodObject<{
@@ -2099,64 +533,12 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2099
533
  updatedAt: z.ZodString;
2100
534
  issueId: z.ZodString;
2101
535
  userId: z.ZodString;
2102
- }, "strip", z.ZodAny, z.objectOutputType<{
2103
- id: z.ZodString;
2104
- body: z.ZodString;
2105
- editedAt: z.ZodOptional<z.ZodString>;
2106
- createdAt: z.ZodString;
2107
- updatedAt: z.ZodString;
2108
- issueId: z.ZodString;
2109
- userId: z.ZodString;
2110
- }, z.ZodAny, "strip">, z.objectInputType<{
2111
- id: z.ZodString;
2112
- body: z.ZodString;
2113
- editedAt: z.ZodOptional<z.ZodString>;
2114
- createdAt: z.ZodString;
2115
- updatedAt: z.ZodString;
2116
- issueId: z.ZodString;
2117
- userId: z.ZodString;
2118
- }, z.ZodAny, "strip">>;
536
+ }, z.core.$catchall<z.ZodAny>>;
2119
537
  url: z.ZodString;
2120
538
  createdAt: z.ZodString;
2121
539
  organizationId: z.ZodString;
2122
540
  webhookId: z.ZodString;
2123
- }, "strip", z.ZodTypeAny, {
2124
- type: "Comment";
2125
- data: {
2126
- id: string;
2127
- body: string;
2128
- createdAt: string;
2129
- updatedAt: string;
2130
- issueId: string;
2131
- userId: string;
2132
- editedAt?: string | undefined;
2133
- } & {
2134
- [k: string]: any;
2135
- };
2136
- createdAt: string;
2137
- url: string;
2138
- action: "create";
2139
- organizationId: string;
2140
- webhookId: string;
2141
- }, {
2142
- type: "Comment";
2143
- data: {
2144
- id: string;
2145
- body: string;
2146
- createdAt: string;
2147
- updatedAt: string;
2148
- issueId: string;
2149
- userId: string;
2150
- editedAt?: string | undefined;
2151
- } & {
2152
- [k: string]: any;
2153
- };
2154
- createdAt: string;
2155
- url: string;
2156
- action: "create";
2157
- organizationId: string;
2158
- webhookId: string;
2159
- }>, z.ZodObject<{
541
+ }, z.core.$strip>, z.ZodObject<{
2160
542
  action: z.ZodLiteral<"update">;
2161
543
  type: z.ZodLiteral<"Comment">;
2162
544
  data: z.ZodObject<{
@@ -2167,23 +549,7 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2167
549
  updatedAt: z.ZodString;
2168
550
  issueId: z.ZodString;
2169
551
  userId: z.ZodString;
2170
- }, "strip", z.ZodAny, z.objectOutputType<{
2171
- id: z.ZodString;
2172
- body: z.ZodString;
2173
- editedAt: z.ZodOptional<z.ZodString>;
2174
- createdAt: z.ZodString;
2175
- updatedAt: z.ZodString;
2176
- issueId: z.ZodString;
2177
- userId: z.ZodString;
2178
- }, z.ZodAny, "strip">, z.objectInputType<{
2179
- id: z.ZodString;
2180
- body: z.ZodString;
2181
- editedAt: z.ZodOptional<z.ZodString>;
2182
- createdAt: z.ZodString;
2183
- updatedAt: z.ZodString;
2184
- issueId: z.ZodString;
2185
- userId: z.ZodString;
2186
- }, z.ZodAny, "strip">>;
552
+ }, z.core.$catchall<z.ZodAny>>;
2187
553
  updatedFrom: z.ZodOptional<z.ZodObject<{
2188
554
  id: z.ZodOptional<z.ZodString>;
2189
555
  body: z.ZodOptional<z.ZodString>;
@@ -2192,82 +558,12 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2192
558
  updatedAt: z.ZodOptional<z.ZodString>;
2193
559
  issueId: z.ZodOptional<z.ZodString>;
2194
560
  userId: z.ZodOptional<z.ZodString>;
2195
- }, "strip", z.ZodAny, z.objectOutputType<{
2196
- id: z.ZodOptional<z.ZodString>;
2197
- body: z.ZodOptional<z.ZodString>;
2198
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2199
- createdAt: z.ZodOptional<z.ZodString>;
2200
- updatedAt: z.ZodOptional<z.ZodString>;
2201
- issueId: z.ZodOptional<z.ZodString>;
2202
- userId: z.ZodOptional<z.ZodString>;
2203
- }, z.ZodAny, "strip">, z.objectInputType<{
2204
- id: z.ZodOptional<z.ZodString>;
2205
- body: z.ZodOptional<z.ZodString>;
2206
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2207
- createdAt: z.ZodOptional<z.ZodString>;
2208
- updatedAt: z.ZodOptional<z.ZodString>;
2209
- issueId: z.ZodOptional<z.ZodString>;
2210
- userId: z.ZodOptional<z.ZodString>;
2211
- }, z.ZodAny, "strip">>>;
561
+ }, z.core.$catchall<z.ZodAny>>>;
2212
562
  url: z.ZodString;
2213
563
  createdAt: z.ZodString;
2214
564
  organizationId: z.ZodString;
2215
565
  webhookId: z.ZodString;
2216
- }, "strip", z.ZodTypeAny, {
2217
- type: "Comment";
2218
- data: {
2219
- id: string;
2220
- body: string;
2221
- createdAt: string;
2222
- updatedAt: string;
2223
- issueId: string;
2224
- userId: string;
2225
- editedAt?: string | undefined;
2226
- } & {
2227
- [k: string]: any;
2228
- };
2229
- createdAt: string;
2230
- url: string;
2231
- action: "update";
2232
- organizationId: string;
2233
- webhookId: string;
2234
- updatedFrom?: z.objectOutputType<{
2235
- id: z.ZodOptional<z.ZodString>;
2236
- body: z.ZodOptional<z.ZodString>;
2237
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2238
- createdAt: z.ZodOptional<z.ZodString>;
2239
- updatedAt: z.ZodOptional<z.ZodString>;
2240
- issueId: z.ZodOptional<z.ZodString>;
2241
- userId: z.ZodOptional<z.ZodString>;
2242
- }, z.ZodAny, "strip"> | undefined;
2243
- }, {
2244
- type: "Comment";
2245
- data: {
2246
- id: string;
2247
- body: string;
2248
- createdAt: string;
2249
- updatedAt: string;
2250
- issueId: string;
2251
- userId: string;
2252
- editedAt?: string | undefined;
2253
- } & {
2254
- [k: string]: any;
2255
- };
2256
- createdAt: string;
2257
- url: string;
2258
- action: "update";
2259
- organizationId: string;
2260
- webhookId: string;
2261
- updatedFrom?: z.objectInputType<{
2262
- id: z.ZodOptional<z.ZodString>;
2263
- body: z.ZodOptional<z.ZodString>;
2264
- editedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2265
- createdAt: z.ZodOptional<z.ZodString>;
2266
- updatedAt: z.ZodOptional<z.ZodString>;
2267
- issueId: z.ZodOptional<z.ZodString>;
2268
- userId: z.ZodOptional<z.ZodString>;
2269
- }, z.ZodAny, "strip"> | undefined;
2270
- }>, z.ZodObject<{
566
+ }, z.core.$strip>, z.ZodObject<{
2271
567
  action: z.ZodLiteral<"remove">;
2272
568
  type: z.ZodLiteral<"Comment">;
2273
569
  data: z.ZodObject<{
@@ -2278,64 +574,12 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2278
574
  updatedAt: z.ZodString;
2279
575
  issueId: z.ZodString;
2280
576
  userId: z.ZodString;
2281
- }, "strip", z.ZodAny, z.objectOutputType<{
2282
- id: z.ZodString;
2283
- body: z.ZodString;
2284
- editedAt: z.ZodOptional<z.ZodString>;
2285
- createdAt: z.ZodString;
2286
- updatedAt: z.ZodString;
2287
- issueId: z.ZodString;
2288
- userId: z.ZodString;
2289
- }, z.ZodAny, "strip">, z.objectInputType<{
2290
- id: z.ZodString;
2291
- body: z.ZodString;
2292
- editedAt: z.ZodOptional<z.ZodString>;
2293
- createdAt: z.ZodString;
2294
- updatedAt: z.ZodString;
2295
- issueId: z.ZodString;
2296
- userId: z.ZodString;
2297
- }, z.ZodAny, "strip">>;
577
+ }, z.core.$catchall<z.ZodAny>>;
2298
578
  url: z.ZodString;
2299
579
  createdAt: z.ZodString;
2300
580
  organizationId: z.ZodString;
2301
581
  webhookId: z.ZodString;
2302
- }, "strip", z.ZodTypeAny, {
2303
- type: "Comment";
2304
- data: {
2305
- id: string;
2306
- body: string;
2307
- createdAt: string;
2308
- updatedAt: string;
2309
- issueId: string;
2310
- userId: string;
2311
- editedAt?: string | undefined;
2312
- } & {
2313
- [k: string]: any;
2314
- };
2315
- createdAt: string;
2316
- url: string;
2317
- action: "remove";
2318
- organizationId: string;
2319
- webhookId: string;
2320
- }, {
2321
- type: "Comment";
2322
- data: {
2323
- id: string;
2324
- body: string;
2325
- createdAt: string;
2326
- updatedAt: string;
2327
- issueId: string;
2328
- userId: string;
2329
- editedAt?: string | undefined;
2330
- } & {
2331
- [k: string]: any;
2332
- };
2333
- createdAt: string;
2334
- url: string;
2335
- action: "remove";
2336
- organizationId: string;
2337
- webhookId: string;
2338
- }>, z.ZodObject<{
582
+ }, z.core.$strip>, z.ZodObject<{
2339
583
  action: z.ZodLiteral<"create">;
2340
584
  type: z.ZodLiteral<"Project">;
2341
585
  data: z.ZodObject<{
@@ -2344,51 +588,15 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2344
588
  description: z.ZodOptional<z.ZodString>;
2345
589
  icon: z.ZodOptional<z.ZodString>;
2346
590
  color: z.ZodOptional<z.ZodString>;
2347
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2348
- sortOrder: z.ZodNumber;
2349
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2350
- progress: z.ZodNumber;
2351
- url: z.ZodString;
2352
- startDate: z.ZodOptional<z.ZodString>;
2353
- targetDate: z.ZodOptional<z.ZodString>;
2354
- completedAt: z.ZodOptional<z.ZodString>;
2355
- canceledAt: z.ZodOptional<z.ZodString>;
2356
- startedAt: z.ZodOptional<z.ZodString>;
2357
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2358
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2359
- scope: z.ZodNumber;
2360
- createdAt: z.ZodString;
2361
- updatedAt: z.ZodString;
2362
- }, "strip", z.ZodAny, z.objectOutputType<{
2363
- id: z.ZodString;
2364
- name: z.ZodString;
2365
- description: z.ZodOptional<z.ZodString>;
2366
- icon: z.ZodOptional<z.ZodString>;
2367
- color: z.ZodOptional<z.ZodString>;
2368
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2369
- sortOrder: z.ZodNumber;
2370
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2371
- progress: z.ZodNumber;
2372
- url: z.ZodString;
2373
- startDate: z.ZodOptional<z.ZodString>;
2374
- targetDate: z.ZodOptional<z.ZodString>;
2375
- completedAt: z.ZodOptional<z.ZodString>;
2376
- canceledAt: z.ZodOptional<z.ZodString>;
2377
- startedAt: z.ZodOptional<z.ZodString>;
2378
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2379
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2380
- scope: z.ZodNumber;
2381
- createdAt: z.ZodString;
2382
- updatedAt: z.ZodString;
2383
- }, z.ZodAny, "strip">, z.objectInputType<{
2384
- id: z.ZodString;
2385
- name: z.ZodString;
2386
- description: z.ZodOptional<z.ZodString>;
2387
- icon: z.ZodOptional<z.ZodString>;
2388
- color: z.ZodOptional<z.ZodString>;
2389
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2390
- sortOrder: z.ZodNumber;
2391
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
591
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
592
+ sortOrder: z.ZodNumber;
593
+ state: z.ZodEnum<{
594
+ completed: "completed";
595
+ planned: "planned";
596
+ started: "started";
597
+ paused: "paused";
598
+ canceled: "canceled";
599
+ }>;
2392
600
  progress: z.ZodNumber;
2393
601
  url: z.ZodString;
2394
602
  startDate: z.ZodOptional<z.ZodString>;
@@ -2396,79 +604,17 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2396
604
  completedAt: z.ZodOptional<z.ZodString>;
2397
605
  canceledAt: z.ZodOptional<z.ZodString>;
2398
606
  startedAt: z.ZodOptional<z.ZodString>;
2399
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2400
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
607
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
608
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
2401
609
  scope: z.ZodNumber;
2402
610
  createdAt: z.ZodString;
2403
611
  updatedAt: z.ZodString;
2404
- }, z.ZodAny, "strip">>;
612
+ }, z.core.$catchall<z.ZodAny>>;
2405
613
  url: z.ZodString;
2406
614
  createdAt: z.ZodString;
2407
615
  organizationId: z.ZodString;
2408
616
  webhookId: z.ZodString;
2409
- }, "strip", z.ZodTypeAny, {
2410
- type: "Project";
2411
- data: {
2412
- priority: 0 | 3 | 2 | 1 | 4;
2413
- id: string;
2414
- name: string;
2415
- scope: number;
2416
- createdAt: string;
2417
- updatedAt: string;
2418
- sortOrder: number;
2419
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2420
- progress: number;
2421
- url: string;
2422
- completedScopeHistory: number[];
2423
- inProgressScopeHistory: number[];
2424
- description?: string | undefined;
2425
- startedAt?: string | undefined;
2426
- completedAt?: string | undefined;
2427
- canceledAt?: string | undefined;
2428
- icon?: string | undefined;
2429
- color?: string | undefined;
2430
- startDate?: string | undefined;
2431
- targetDate?: string | undefined;
2432
- } & {
2433
- [k: string]: any;
2434
- };
2435
- createdAt: string;
2436
- url: string;
2437
- action: "create";
2438
- organizationId: string;
2439
- webhookId: string;
2440
- }, {
2441
- type: "Project";
2442
- data: {
2443
- priority: 0 | 3 | 2 | 1 | 4;
2444
- id: string;
2445
- name: string;
2446
- scope: number;
2447
- createdAt: string;
2448
- updatedAt: string;
2449
- sortOrder: number;
2450
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2451
- progress: number;
2452
- url: string;
2453
- completedScopeHistory: number[];
2454
- inProgressScopeHistory: number[];
2455
- description?: string | undefined;
2456
- startedAt?: string | undefined;
2457
- completedAt?: string | undefined;
2458
- canceledAt?: string | undefined;
2459
- icon?: string | undefined;
2460
- color?: string | undefined;
2461
- startDate?: string | undefined;
2462
- targetDate?: string | undefined;
2463
- } & {
2464
- [k: string]: any;
2465
- };
2466
- createdAt: string;
2467
- url: string;
2468
- action: "create";
2469
- organizationId: string;
2470
- webhookId: string;
2471
- }>, z.ZodObject<{
617
+ }, z.core.$strip>, z.ZodObject<{
2472
618
  action: z.ZodLiteral<"update">;
2473
619
  type: z.ZodLiteral<"Project">;
2474
620
  data: z.ZodObject<{
@@ -2477,51 +623,15 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2477
623
  description: z.ZodOptional<z.ZodString>;
2478
624
  icon: z.ZodOptional<z.ZodString>;
2479
625
  color: z.ZodOptional<z.ZodString>;
2480
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2481
- sortOrder: z.ZodNumber;
2482
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2483
- progress: z.ZodNumber;
2484
- url: z.ZodString;
2485
- startDate: z.ZodOptional<z.ZodString>;
2486
- targetDate: z.ZodOptional<z.ZodString>;
2487
- completedAt: z.ZodOptional<z.ZodString>;
2488
- canceledAt: z.ZodOptional<z.ZodString>;
2489
- startedAt: z.ZodOptional<z.ZodString>;
2490
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2491
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2492
- scope: z.ZodNumber;
2493
- createdAt: z.ZodString;
2494
- updatedAt: z.ZodString;
2495
- }, "strip", z.ZodAny, z.objectOutputType<{
2496
- id: z.ZodString;
2497
- name: z.ZodString;
2498
- description: z.ZodOptional<z.ZodString>;
2499
- icon: z.ZodOptional<z.ZodString>;
2500
- color: z.ZodOptional<z.ZodString>;
2501
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2502
- sortOrder: z.ZodNumber;
2503
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2504
- progress: z.ZodNumber;
2505
- url: z.ZodString;
2506
- startDate: z.ZodOptional<z.ZodString>;
2507
- targetDate: z.ZodOptional<z.ZodString>;
2508
- completedAt: z.ZodOptional<z.ZodString>;
2509
- canceledAt: z.ZodOptional<z.ZodString>;
2510
- startedAt: z.ZodOptional<z.ZodString>;
2511
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2512
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2513
- scope: z.ZodNumber;
2514
- createdAt: z.ZodString;
2515
- updatedAt: z.ZodString;
2516
- }, z.ZodAny, "strip">, z.objectInputType<{
2517
- id: z.ZodString;
2518
- name: z.ZodString;
2519
- description: z.ZodOptional<z.ZodString>;
2520
- icon: z.ZodOptional<z.ZodString>;
2521
- color: z.ZodOptional<z.ZodString>;
2522
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2523
- sortOrder: z.ZodNumber;
2524
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
626
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
627
+ sortOrder: z.ZodNumber;
628
+ state: z.ZodEnum<{
629
+ completed: "completed";
630
+ planned: "planned";
631
+ started: "started";
632
+ paused: "paused";
633
+ canceled: "canceled";
634
+ }>;
2525
635
  progress: z.ZodNumber;
2526
636
  url: z.ZodString;
2527
637
  startDate: z.ZodOptional<z.ZodString>;
@@ -2529,63 +639,27 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2529
639
  completedAt: z.ZodOptional<z.ZodString>;
2530
640
  canceledAt: z.ZodOptional<z.ZodString>;
2531
641
  startedAt: z.ZodOptional<z.ZodString>;
2532
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2533
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
642
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
643
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
2534
644
  scope: z.ZodNumber;
2535
645
  createdAt: z.ZodString;
2536
646
  updatedAt: z.ZodString;
2537
- }, z.ZodAny, "strip">>;
647
+ }, z.core.$catchall<z.ZodAny>>;
2538
648
  updatedFrom: z.ZodOptional<z.ZodObject<{
2539
649
  id: z.ZodOptional<z.ZodString>;
2540
650
  name: z.ZodOptional<z.ZodString>;
2541
651
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2542
652
  icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2543
653
  color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2544
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2545
- sortOrder: z.ZodOptional<z.ZodNumber>;
2546
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
2547
- progress: z.ZodOptional<z.ZodNumber>;
2548
- url: z.ZodOptional<z.ZodString>;
2549
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2550
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2551
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2552
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2553
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2554
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2555
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2556
- scope: z.ZodOptional<z.ZodNumber>;
2557
- createdAt: z.ZodOptional<z.ZodString>;
2558
- updatedAt: z.ZodOptional<z.ZodString>;
2559
- }, "strip", z.ZodAny, z.objectOutputType<{
2560
- id: z.ZodOptional<z.ZodString>;
2561
- name: z.ZodOptional<z.ZodString>;
2562
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2563
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2564
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2565
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2566
- sortOrder: z.ZodOptional<z.ZodNumber>;
2567
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
2568
- progress: z.ZodOptional<z.ZodNumber>;
2569
- url: z.ZodOptional<z.ZodString>;
2570
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2571
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2572
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2573
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2574
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2575
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2576
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2577
- scope: z.ZodOptional<z.ZodNumber>;
2578
- createdAt: z.ZodOptional<z.ZodString>;
2579
- updatedAt: z.ZodOptional<z.ZodString>;
2580
- }, z.ZodAny, "strip">, z.objectInputType<{
2581
- id: z.ZodOptional<z.ZodString>;
2582
- name: z.ZodOptional<z.ZodString>;
2583
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2584
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2585
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2586
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
654
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2587
655
  sortOrder: z.ZodOptional<z.ZodNumber>;
2588
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
656
+ state: z.ZodOptional<z.ZodEnum<{
657
+ completed: "completed";
658
+ planned: "planned";
659
+ started: "started";
660
+ paused: "paused";
661
+ canceled: "canceled";
662
+ }>>;
2589
663
  progress: z.ZodOptional<z.ZodNumber>;
2590
664
  url: z.ZodOptional<z.ZodString>;
2591
665
  startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2593,123 +667,17 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2593
667
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2594
668
  canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2595
669
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2596
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2597
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
670
+ completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
671
+ inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2598
672
  scope: z.ZodOptional<z.ZodNumber>;
2599
673
  createdAt: z.ZodOptional<z.ZodString>;
2600
674
  updatedAt: z.ZodOptional<z.ZodString>;
2601
- }, z.ZodAny, "strip">>>;
675
+ }, z.core.$catchall<z.ZodAny>>>;
2602
676
  url: z.ZodString;
2603
677
  createdAt: z.ZodString;
2604
678
  organizationId: z.ZodString;
2605
679
  webhookId: z.ZodString;
2606
- }, "strip", z.ZodTypeAny, {
2607
- type: "Project";
2608
- data: {
2609
- priority: 0 | 3 | 2 | 1 | 4;
2610
- id: string;
2611
- name: string;
2612
- scope: number;
2613
- createdAt: string;
2614
- updatedAt: string;
2615
- sortOrder: number;
2616
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2617
- progress: number;
2618
- url: string;
2619
- completedScopeHistory: number[];
2620
- inProgressScopeHistory: number[];
2621
- description?: string | undefined;
2622
- startedAt?: string | undefined;
2623
- completedAt?: string | undefined;
2624
- canceledAt?: string | undefined;
2625
- icon?: string | undefined;
2626
- color?: string | undefined;
2627
- startDate?: string | undefined;
2628
- targetDate?: string | undefined;
2629
- } & {
2630
- [k: string]: any;
2631
- };
2632
- createdAt: string;
2633
- url: string;
2634
- action: "update";
2635
- organizationId: string;
2636
- webhookId: string;
2637
- updatedFrom?: z.objectOutputType<{
2638
- id: z.ZodOptional<z.ZodString>;
2639
- name: z.ZodOptional<z.ZodString>;
2640
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2641
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2642
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2643
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2644
- sortOrder: z.ZodOptional<z.ZodNumber>;
2645
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
2646
- progress: z.ZodOptional<z.ZodNumber>;
2647
- url: z.ZodOptional<z.ZodString>;
2648
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2649
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2650
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2651
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2652
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2653
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2654
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2655
- scope: z.ZodOptional<z.ZodNumber>;
2656
- createdAt: z.ZodOptional<z.ZodString>;
2657
- updatedAt: z.ZodOptional<z.ZodString>;
2658
- }, z.ZodAny, "strip"> | undefined;
2659
- }, {
2660
- type: "Project";
2661
- data: {
2662
- priority: 0 | 3 | 2 | 1 | 4;
2663
- id: string;
2664
- name: string;
2665
- scope: number;
2666
- createdAt: string;
2667
- updatedAt: string;
2668
- sortOrder: number;
2669
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2670
- progress: number;
2671
- url: string;
2672
- completedScopeHistory: number[];
2673
- inProgressScopeHistory: number[];
2674
- description?: string | undefined;
2675
- startedAt?: string | undefined;
2676
- completedAt?: string | undefined;
2677
- canceledAt?: string | undefined;
2678
- icon?: string | undefined;
2679
- color?: string | undefined;
2680
- startDate?: string | undefined;
2681
- targetDate?: string | undefined;
2682
- } & {
2683
- [k: string]: any;
2684
- };
2685
- createdAt: string;
2686
- url: string;
2687
- action: "update";
2688
- organizationId: string;
2689
- webhookId: string;
2690
- updatedFrom?: z.objectInputType<{
2691
- id: z.ZodOptional<z.ZodString>;
2692
- name: z.ZodOptional<z.ZodString>;
2693
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2694
- icon: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2695
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2696
- priority: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
2697
- sortOrder: z.ZodOptional<z.ZodNumber>;
2698
- state: z.ZodOptional<z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>>;
2699
- progress: z.ZodOptional<z.ZodNumber>;
2700
- url: z.ZodOptional<z.ZodString>;
2701
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2702
- targetDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2703
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2704
- canceledAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2705
- startedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2706
- completedScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2707
- inProgressScopeHistory: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2708
- scope: z.ZodOptional<z.ZodNumber>;
2709
- createdAt: z.ZodOptional<z.ZodString>;
2710
- updatedAt: z.ZodOptional<z.ZodString>;
2711
- }, z.ZodAny, "strip"> | undefined;
2712
- }>, z.ZodObject<{
680
+ }, z.core.$strip>, z.ZodObject<{
2713
681
  action: z.ZodLiteral<"remove">;
2714
682
  type: z.ZodLiteral<"Project">;
2715
683
  data: z.ZodObject<{
@@ -2718,51 +686,15 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2718
686
  description: z.ZodOptional<z.ZodString>;
2719
687
  icon: z.ZodOptional<z.ZodString>;
2720
688
  color: z.ZodOptional<z.ZodString>;
2721
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2722
- sortOrder: z.ZodNumber;
2723
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2724
- progress: z.ZodNumber;
2725
- url: z.ZodString;
2726
- startDate: z.ZodOptional<z.ZodString>;
2727
- targetDate: z.ZodOptional<z.ZodString>;
2728
- completedAt: z.ZodOptional<z.ZodString>;
2729
- canceledAt: z.ZodOptional<z.ZodString>;
2730
- startedAt: z.ZodOptional<z.ZodString>;
2731
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2732
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2733
- scope: z.ZodNumber;
2734
- createdAt: z.ZodString;
2735
- updatedAt: z.ZodString;
2736
- }, "strip", z.ZodAny, z.objectOutputType<{
2737
- id: z.ZodString;
2738
- name: z.ZodString;
2739
- description: z.ZodOptional<z.ZodString>;
2740
- icon: z.ZodOptional<z.ZodString>;
2741
- color: z.ZodOptional<z.ZodString>;
2742
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2743
- sortOrder: z.ZodNumber;
2744
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
2745
- progress: z.ZodNumber;
2746
- url: z.ZodString;
2747
- startDate: z.ZodOptional<z.ZodString>;
2748
- targetDate: z.ZodOptional<z.ZodString>;
2749
- completedAt: z.ZodOptional<z.ZodString>;
2750
- canceledAt: z.ZodOptional<z.ZodString>;
2751
- startedAt: z.ZodOptional<z.ZodString>;
2752
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2753
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2754
- scope: z.ZodNumber;
2755
- createdAt: z.ZodString;
2756
- updatedAt: z.ZodString;
2757
- }, z.ZodAny, "strip">, z.objectInputType<{
2758
- id: z.ZodString;
2759
- name: z.ZodString;
2760
- description: z.ZodOptional<z.ZodString>;
2761
- icon: z.ZodOptional<z.ZodString>;
2762
- color: z.ZodOptional<z.ZodString>;
2763
- priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
2764
- sortOrder: z.ZodNumber;
2765
- state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled"]>;
689
+ priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
690
+ sortOrder: z.ZodNumber;
691
+ state: z.ZodEnum<{
692
+ completed: "completed";
693
+ planned: "planned";
694
+ started: "started";
695
+ paused: "paused";
696
+ canceled: "canceled";
697
+ }>;
2766
698
  progress: z.ZodNumber;
2767
699
  url: z.ZodString;
2768
700
  startDate: z.ZodOptional<z.ZodString>;
@@ -2770,79 +702,17 @@ export declare const LinearWebhookEventSchema: z.ZodUnion<[z.ZodObject<{
2770
702
  completedAt: z.ZodOptional<z.ZodString>;
2771
703
  canceledAt: z.ZodOptional<z.ZodString>;
2772
704
  startedAt: z.ZodOptional<z.ZodString>;
2773
- completedScopeHistory: z.ZodArray<z.ZodNumber, "many">;
2774
- inProgressScopeHistory: z.ZodArray<z.ZodNumber, "many">;
705
+ completedScopeHistory: z.ZodArray<z.ZodNumber>;
706
+ inProgressScopeHistory: z.ZodArray<z.ZodNumber>;
2775
707
  scope: z.ZodNumber;
2776
708
  createdAt: z.ZodString;
2777
709
  updatedAt: z.ZodString;
2778
- }, z.ZodAny, "strip">>;
710
+ }, z.core.$catchall<z.ZodAny>>;
2779
711
  url: z.ZodString;
2780
712
  createdAt: z.ZodString;
2781
713
  organizationId: z.ZodString;
2782
714
  webhookId: z.ZodString;
2783
- }, "strip", z.ZodTypeAny, {
2784
- type: "Project";
2785
- data: {
2786
- priority: 0 | 3 | 2 | 1 | 4;
2787
- id: string;
2788
- name: string;
2789
- scope: number;
2790
- createdAt: string;
2791
- updatedAt: string;
2792
- sortOrder: number;
2793
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2794
- progress: number;
2795
- url: string;
2796
- completedScopeHistory: number[];
2797
- inProgressScopeHistory: number[];
2798
- description?: string | undefined;
2799
- startedAt?: string | undefined;
2800
- completedAt?: string | undefined;
2801
- canceledAt?: string | undefined;
2802
- icon?: string | undefined;
2803
- color?: string | undefined;
2804
- startDate?: string | undefined;
2805
- targetDate?: string | undefined;
2806
- } & {
2807
- [k: string]: any;
2808
- };
2809
- createdAt: string;
2810
- url: string;
2811
- action: "remove";
2812
- organizationId: string;
2813
- webhookId: string;
2814
- }, {
2815
- type: "Project";
2816
- data: {
2817
- priority: 0 | 3 | 2 | 1 | 4;
2818
- id: string;
2819
- name: string;
2820
- scope: number;
2821
- createdAt: string;
2822
- updatedAt: string;
2823
- sortOrder: number;
2824
- state: "completed" | "planned" | "started" | "paused" | "canceled";
2825
- progress: number;
2826
- url: string;
2827
- completedScopeHistory: number[];
2828
- inProgressScopeHistory: number[];
2829
- description?: string | undefined;
2830
- startedAt?: string | undefined;
2831
- completedAt?: string | undefined;
2832
- canceledAt?: string | undefined;
2833
- icon?: string | undefined;
2834
- color?: string | undefined;
2835
- startDate?: string | undefined;
2836
- targetDate?: string | undefined;
2837
- } & {
2838
- [k: string]: any;
2839
- };
2840
- createdAt: string;
2841
- url: string;
2842
- action: "remove";
2843
- organizationId: string;
2844
- webhookId: string;
2845
- }>]>;
715
+ }, z.core.$strip>]>;
2846
716
  export type LinearWebhookEvent = z.infer<typeof LinearWebhookEventSchema>;
2847
717
  export type LinearEventName = 'Issue' | 'IssueCreate' | 'IssueUpdate' | 'IssueRemove' | 'Comment' | 'CommentCreate' | 'CommentUpdate' | 'CommentRemove' | 'Project' | 'ProjectCreate' | 'ProjectUpdate' | 'ProjectRemove';
2848
718
  export interface LinearEventMap {