@uniformdev/webhooks 20.50.2-alpha.109 → 20.50.2-alpha.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -100,636 +100,6 @@ declare const AssetDeletePayloadSchema: z.ZodObject<{
100
100
  }, z.core.$strip>;
101
101
  type AssetPayload = z.infer<typeof AssetPayloadSchema>;
102
102
 
103
- /**
104
- * Canonical catalog of internal webhook events, keyed by event name. Each entry
105
- * is the event's {@link Definition} (display name, description, and Zod payload
106
- * schema).
107
- *
108
- * This is the single source of truth for webhook event names and their payload
109
- * shapes across the platform: webhook delivery, the dashboard event picker, and
110
- * Automations that trigger on these events all derive from it. Archived events
111
- * are intentionally excluded — they are not selectable as triggers.
112
- */
113
- declare const webhookEventCatalog: {
114
- readonly 'asset.deleted': Definition<z.ZodObject<{
115
- id: z.ZodString;
116
- name: z.ZodString;
117
- type: z.ZodString;
118
- project: z.ZodObject<{
119
- id: z.ZodString;
120
- url: z.ZodString;
121
- }, z.core.$strip>;
122
- initiator: z.ZodObject<{
123
- id: z.ZodString;
124
- name: z.ZodOptional<z.ZodString>;
125
- email: z.ZodOptional<z.ZodString>;
126
- is_api_key: z.ZodBoolean;
127
- }, z.core.$strict>;
128
- }, z.core.$strip>, "asset.deleted">;
129
- readonly 'asset.published': Definition<z.ZodObject<{
130
- id: z.ZodString;
131
- name: z.ZodString;
132
- type: z.ZodString;
133
- project: z.ZodObject<{
134
- id: z.ZodString;
135
- url: z.ZodString;
136
- }, z.core.$strip>;
137
- initiator: z.ZodObject<{
138
- id: z.ZodString;
139
- name: z.ZodOptional<z.ZodString>;
140
- email: z.ZodOptional<z.ZodString>;
141
- is_api_key: z.ZodBoolean;
142
- }, z.core.$strict>;
143
- api_url: z.ZodString;
144
- edit_url: z.ZodString;
145
- }, z.core.$strip>, "asset.published">;
146
- readonly 'composition.changed': Definition<z.ZodObject<{
147
- id: z.ZodString;
148
- editionId: z.ZodOptional<z.ZodString>;
149
- slug: z.ZodOptional<z.ZodString>;
150
- name: z.ZodString;
151
- type: z.ZodString;
152
- project: z.ZodObject<{
153
- id: z.ZodString;
154
- url: z.ZodString;
155
- }, z.core.$strip>;
156
- initiator: z.ZodObject<{
157
- id: z.ZodString;
158
- name: z.ZodOptional<z.ZodString>;
159
- email: z.ZodOptional<z.ZodString>;
160
- is_api_key: z.ZodBoolean;
161
- }, z.core.$strict>;
162
- state: z.ZodNumber;
163
- edit_url: z.ZodString;
164
- api_url: z.ZodString;
165
- edge_url: z.ZodString;
166
- trigger: z.ZodOptional<z.ZodObject<{
167
- type: z.ZodEnum<{
168
- release: "release";
169
- }>;
170
- id: z.ZodString;
171
- }, z.core.$strip>>;
172
- }, z.core.$strip>, "composition.changed">;
173
- readonly 'composition.deleted': Definition<z.ZodObject<{
174
- id: z.ZodString;
175
- editionId: z.ZodOptional<z.ZodString>;
176
- slug: z.ZodOptional<z.ZodString>;
177
- name: z.ZodString;
178
- type: z.ZodString;
179
- project: z.ZodObject<{
180
- id: z.ZodString;
181
- url: z.ZodString;
182
- }, z.core.$strip>;
183
- initiator: z.ZodObject<{
184
- id: z.ZodString;
185
- name: z.ZodOptional<z.ZodString>;
186
- email: z.ZodOptional<z.ZodString>;
187
- is_api_key: z.ZodBoolean;
188
- }, z.core.$strict>;
189
- state: z.ZodOptional<z.ZodNumber>;
190
- trigger: z.ZodOptional<z.ZodObject<{
191
- type: z.ZodEnum<{
192
- release: "release";
193
- }>;
194
- id: z.ZodString;
195
- }, z.core.$strip>>;
196
- }, z.core.$strip>, "composition.deleted">;
197
- readonly 'composition.published': Definition<z.ZodObject<{
198
- id: z.ZodString;
199
- editionId: z.ZodOptional<z.ZodString>;
200
- slug: z.ZodOptional<z.ZodString>;
201
- name: z.ZodString;
202
- type: z.ZodString;
203
- project: z.ZodObject<{
204
- id: z.ZodString;
205
- url: z.ZodString;
206
- }, z.core.$strip>;
207
- initiator: z.ZodObject<{
208
- id: z.ZodString;
209
- name: z.ZodOptional<z.ZodString>;
210
- email: z.ZodOptional<z.ZodString>;
211
- is_api_key: z.ZodBoolean;
212
- }, z.core.$strict>;
213
- state: z.ZodNumber;
214
- edit_url: z.ZodString;
215
- api_url: z.ZodString;
216
- edge_url: z.ZodString;
217
- trigger: z.ZodOptional<z.ZodObject<{
218
- type: z.ZodEnum<{
219
- release: "release";
220
- }>;
221
- id: z.ZodString;
222
- }, z.core.$strip>>;
223
- }, z.core.$strip>, "composition.published">;
224
- readonly 'composition.release.changed': Definition<z.ZodObject<{
225
- id: z.ZodString;
226
- editionId: z.ZodOptional<z.ZodString>;
227
- slug: z.ZodOptional<z.ZodString>;
228
- name: z.ZodString;
229
- type: z.ZodString;
230
- project: z.ZodObject<{
231
- id: z.ZodString;
232
- url: z.ZodString;
233
- }, z.core.$strip>;
234
- initiator: z.ZodObject<{
235
- id: z.ZodString;
236
- name: z.ZodOptional<z.ZodString>;
237
- email: z.ZodOptional<z.ZodString>;
238
- is_api_key: z.ZodBoolean;
239
- }, z.core.$strict>;
240
- state: z.ZodNumber;
241
- edit_url: z.ZodString;
242
- api_url: z.ZodString;
243
- edge_url: z.ZodString;
244
- release: z.ZodObject<{
245
- id: z.ZodString;
246
- url: z.ZodString;
247
- }, z.core.$strip>;
248
- }, z.core.$strip>, "composition.release.changed">;
249
- readonly 'composition.release.deleted': Definition<z.ZodObject<{
250
- id: z.ZodString;
251
- editionId: z.ZodOptional<z.ZodString>;
252
- slug: z.ZodOptional<z.ZodString>;
253
- name: z.ZodString;
254
- type: z.ZodString;
255
- project: z.ZodObject<{
256
- id: z.ZodString;
257
- url: z.ZodString;
258
- }, z.core.$strip>;
259
- initiator: z.ZodObject<{
260
- id: z.ZodString;
261
- name: z.ZodOptional<z.ZodString>;
262
- email: z.ZodOptional<z.ZodString>;
263
- is_api_key: z.ZodBoolean;
264
- }, z.core.$strict>;
265
- state: z.ZodOptional<z.ZodNumber>;
266
- release: z.ZodObject<{
267
- id: z.ZodString;
268
- url: z.ZodString;
269
- }, z.core.$strip>;
270
- }, z.core.$strip>, "composition.release.deleted">;
271
- readonly 'composition.release.published': Definition<z.ZodObject<{
272
- id: z.ZodString;
273
- editionId: z.ZodOptional<z.ZodString>;
274
- slug: z.ZodOptional<z.ZodString>;
275
- name: z.ZodString;
276
- type: z.ZodString;
277
- project: z.ZodObject<{
278
- id: z.ZodString;
279
- url: z.ZodString;
280
- }, z.core.$strip>;
281
- initiator: z.ZodObject<{
282
- id: z.ZodString;
283
- name: z.ZodOptional<z.ZodString>;
284
- email: z.ZodOptional<z.ZodString>;
285
- is_api_key: z.ZodBoolean;
286
- }, z.core.$strict>;
287
- state: z.ZodNumber;
288
- edit_url: z.ZodString;
289
- api_url: z.ZodString;
290
- edge_url: z.ZodString;
291
- release: z.ZodObject<{
292
- id: z.ZodString;
293
- url: z.ZodString;
294
- }, z.core.$strip>;
295
- }, z.core.$strip>, "composition.release.published">;
296
- readonly 'composition.release.restored': Definition<z.ZodObject<{
297
- id: z.ZodString;
298
- editionId: z.ZodOptional<z.ZodString>;
299
- slug: z.ZodOptional<z.ZodString>;
300
- name: z.ZodString;
301
- type: z.ZodString;
302
- project: z.ZodObject<{
303
- id: z.ZodString;
304
- url: z.ZodString;
305
- }, z.core.$strip>;
306
- initiator: z.ZodObject<{
307
- id: z.ZodString;
308
- name: z.ZodOptional<z.ZodString>;
309
- email: z.ZodOptional<z.ZodString>;
310
- is_api_key: z.ZodBoolean;
311
- }, z.core.$strict>;
312
- state: z.ZodNumber;
313
- release: z.ZodObject<{
314
- id: z.ZodString;
315
- url: z.ZodString;
316
- }, z.core.$strip>;
317
- }, z.core.$strip>, "composition.release.restored">;
318
- readonly 'entry.changed': Definition<z.ZodObject<{
319
- id: z.ZodString;
320
- editionId: z.ZodOptional<z.ZodString>;
321
- slug: z.ZodOptional<z.ZodString>;
322
- name: z.ZodString;
323
- type: z.ZodString;
324
- project: z.ZodObject<{
325
- id: z.ZodString;
326
- url: z.ZodString;
327
- }, z.core.$strip>;
328
- initiator: z.ZodObject<{
329
- id: z.ZodString;
330
- name: z.ZodOptional<z.ZodString>;
331
- email: z.ZodOptional<z.ZodString>;
332
- is_api_key: z.ZodBoolean;
333
- }, z.core.$strict>;
334
- state: z.ZodNumber;
335
- edit_url: z.ZodString;
336
- api_url: z.ZodString;
337
- edge_url: z.ZodString;
338
- trigger: z.ZodOptional<z.ZodObject<{
339
- type: z.ZodEnum<{
340
- release: "release";
341
- }>;
342
- id: z.ZodString;
343
- }, z.core.$strip>>;
344
- }, z.core.$strip>, "entry.changed">;
345
- readonly 'entry.deleted': Definition<z.ZodObject<{
346
- id: z.ZodString;
347
- editionId: z.ZodOptional<z.ZodString>;
348
- slug: z.ZodOptional<z.ZodString>;
349
- name: z.ZodString;
350
- type: z.ZodString;
351
- project: z.ZodObject<{
352
- id: z.ZodString;
353
- url: z.ZodString;
354
- }, z.core.$strip>;
355
- initiator: z.ZodObject<{
356
- id: z.ZodString;
357
- name: z.ZodOptional<z.ZodString>;
358
- email: z.ZodOptional<z.ZodString>;
359
- is_api_key: z.ZodBoolean;
360
- }, z.core.$strict>;
361
- state: z.ZodOptional<z.ZodNumber>;
362
- trigger: z.ZodOptional<z.ZodObject<{
363
- type: z.ZodEnum<{
364
- release: "release";
365
- }>;
366
- id: z.ZodString;
367
- }, z.core.$strip>>;
368
- }, z.core.$strip>, "entry.deleted">;
369
- readonly 'entry.published': Definition<z.ZodObject<{
370
- id: z.ZodString;
371
- editionId: z.ZodOptional<z.ZodString>;
372
- slug: z.ZodOptional<z.ZodString>;
373
- name: z.ZodString;
374
- type: z.ZodString;
375
- project: z.ZodObject<{
376
- id: z.ZodString;
377
- url: z.ZodString;
378
- }, z.core.$strip>;
379
- initiator: z.ZodObject<{
380
- id: z.ZodString;
381
- name: z.ZodOptional<z.ZodString>;
382
- email: z.ZodOptional<z.ZodString>;
383
- is_api_key: z.ZodBoolean;
384
- }, z.core.$strict>;
385
- state: z.ZodNumber;
386
- edit_url: z.ZodString;
387
- api_url: z.ZodString;
388
- edge_url: z.ZodString;
389
- trigger: z.ZodOptional<z.ZodObject<{
390
- type: z.ZodEnum<{
391
- release: "release";
392
- }>;
393
- id: z.ZodString;
394
- }, z.core.$strip>>;
395
- }, z.core.$strip>, "entry.published">;
396
- readonly 'entry.release.changed': Definition<z.ZodObject<{
397
- id: z.ZodString;
398
- editionId: z.ZodOptional<z.ZodString>;
399
- slug: z.ZodOptional<z.ZodString>;
400
- name: z.ZodString;
401
- type: z.ZodString;
402
- project: z.ZodObject<{
403
- id: z.ZodString;
404
- url: z.ZodString;
405
- }, z.core.$strip>;
406
- initiator: z.ZodObject<{
407
- id: z.ZodString;
408
- name: z.ZodOptional<z.ZodString>;
409
- email: z.ZodOptional<z.ZodString>;
410
- is_api_key: z.ZodBoolean;
411
- }, z.core.$strict>;
412
- state: z.ZodNumber;
413
- edit_url: z.ZodString;
414
- api_url: z.ZodString;
415
- edge_url: z.ZodString;
416
- release: z.ZodObject<{
417
- id: z.ZodString;
418
- url: z.ZodString;
419
- }, z.core.$strip>;
420
- }, z.core.$strip>, "entry.release.changed">;
421
- readonly 'entry.release.deleted': Definition<z.ZodObject<{
422
- id: z.ZodString;
423
- editionId: z.ZodOptional<z.ZodString>;
424
- slug: z.ZodOptional<z.ZodString>;
425
- name: z.ZodString;
426
- type: z.ZodString;
427
- project: z.ZodObject<{
428
- id: z.ZodString;
429
- url: z.ZodString;
430
- }, z.core.$strip>;
431
- initiator: z.ZodObject<{
432
- id: z.ZodString;
433
- name: z.ZodOptional<z.ZodString>;
434
- email: z.ZodOptional<z.ZodString>;
435
- is_api_key: z.ZodBoolean;
436
- }, z.core.$strict>;
437
- state: z.ZodOptional<z.ZodNumber>;
438
- release: z.ZodObject<{
439
- id: z.ZodString;
440
- url: z.ZodString;
441
- }, z.core.$strip>;
442
- }, z.core.$strip>, "entry.release.deleted">;
443
- readonly 'entry.release.published': Definition<z.ZodObject<{
444
- id: z.ZodString;
445
- editionId: z.ZodOptional<z.ZodString>;
446
- slug: z.ZodOptional<z.ZodString>;
447
- name: z.ZodString;
448
- type: z.ZodString;
449
- project: z.ZodObject<{
450
- id: z.ZodString;
451
- url: z.ZodString;
452
- }, z.core.$strip>;
453
- initiator: z.ZodObject<{
454
- id: z.ZodString;
455
- name: z.ZodOptional<z.ZodString>;
456
- email: z.ZodOptional<z.ZodString>;
457
- is_api_key: z.ZodBoolean;
458
- }, z.core.$strict>;
459
- state: z.ZodNumber;
460
- edit_url: z.ZodString;
461
- api_url: z.ZodString;
462
- edge_url: z.ZodString;
463
- release: z.ZodObject<{
464
- id: z.ZodString;
465
- url: z.ZodString;
466
- }, z.core.$strip>;
467
- }, z.core.$strip>, "entry.release.published">;
468
- readonly 'entry.release.restored': Definition<z.ZodObject<{
469
- id: z.ZodString;
470
- editionId: z.ZodOptional<z.ZodString>;
471
- slug: z.ZodOptional<z.ZodString>;
472
- name: z.ZodString;
473
- type: z.ZodString;
474
- project: z.ZodObject<{
475
- id: z.ZodString;
476
- url: z.ZodString;
477
- }, z.core.$strip>;
478
- initiator: z.ZodObject<{
479
- id: z.ZodString;
480
- name: z.ZodOptional<z.ZodString>;
481
- email: z.ZodOptional<z.ZodString>;
482
- is_api_key: z.ZodBoolean;
483
- }, z.core.$strict>;
484
- state: z.ZodNumber;
485
- release: z.ZodObject<{
486
- id: z.ZodString;
487
- url: z.ZodString;
488
- }, z.core.$strip>;
489
- }, z.core.$strip>, "entry.release.restored">;
490
- readonly 'manifest.published': Definition<z.ZodObject<{
491
- timestamp: z.ZodString;
492
- site: z.ZodObject<{
493
- id: z.ZodString;
494
- name: z.ZodString;
495
- }, z.core.$strip>;
496
- }, z.core.$strip>, "manifest.published">;
497
- readonly 'projectmap.delete': Definition<z.ZodObject<{
498
- id: z.ZodString;
499
- base_url: z.ZodOptional<z.ZodString>;
500
- project_id: z.ZodString;
501
- }, z.core.$strip>, "projectmap.delete">;
502
- readonly 'projectmap.node.delete': Definition<z.ZodObject<{
503
- project_id: z.ZodString;
504
- project_map_id: z.ZodString;
505
- name: z.ZodString;
506
- id: z.ZodString;
507
- path: z.ZodString;
508
- composition_id: z.ZodOptional<z.ZodString>;
509
- locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
510
- name: z.ZodString;
511
- inherited: z.ZodBoolean;
512
- path: z.ZodString;
513
- }, z.core.$strip>>>;
514
- initiator: z.ZodObject<{
515
- id: z.ZodString;
516
- name: z.ZodOptional<z.ZodString>;
517
- email: z.ZodOptional<z.ZodString>;
518
- is_api_key: z.ZodBoolean;
519
- }, z.core.$strict>;
520
- }, z.core.$strip>, "projectmap.node.delete">;
521
- readonly 'projectmap.node.insert': Definition<z.ZodObject<{
522
- id: z.ZodString;
523
- name: z.ZodString;
524
- project_map_id: z.ZodString;
525
- project_id: z.ZodString;
526
- path: z.ZodString;
527
- composition_id: z.ZodOptional<z.ZodString>;
528
- locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
529
- name: z.ZodString;
530
- inherited: z.ZodBoolean;
531
- path: z.ZodString;
532
- }, z.core.$strip>>>;
533
- initiator: z.ZodObject<{
534
- id: z.ZodString;
535
- name: z.ZodOptional<z.ZodString>;
536
- email: z.ZodOptional<z.ZodString>;
537
- is_api_key: z.ZodBoolean;
538
- }, z.core.$strict>;
539
- }, z.core.$strip>, "projectmap.node.insert">;
540
- readonly 'projectmap.node.update': Definition<z.ZodObject<{
541
- id: z.ZodString;
542
- name: z.ZodString;
543
- project_map_id: z.ZodString;
544
- project_id: z.ZodString;
545
- path: z.ZodString;
546
- composition_id: z.ZodOptional<z.ZodString>;
547
- previous_path: z.ZodString;
548
- locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
549
- name: z.ZodString;
550
- inherited: z.ZodBoolean;
551
- path: z.ZodString;
552
- previous_path: z.ZodString;
553
- }, z.core.$strip>>>;
554
- initiator: z.ZodObject<{
555
- id: z.ZodString;
556
- name: z.ZodOptional<z.ZodString>;
557
- email: z.ZodOptional<z.ZodString>;
558
- is_api_key: z.ZodBoolean;
559
- }, z.core.$strict>;
560
- }, z.core.$strip>, "projectmap.node.update">;
561
- readonly 'projectmap.update': Definition<z.ZodObject<{
562
- id: z.ZodString;
563
- base_url: z.ZodOptional<z.ZodString>;
564
- project_id: z.ZodString;
565
- initiator: z.ZodObject<{
566
- id: z.ZodString;
567
- name: z.ZodOptional<z.ZodString>;
568
- email: z.ZodOptional<z.ZodString>;
569
- is_api_key: z.ZodBoolean;
570
- }, z.core.$strict>;
571
- }, z.core.$strip>, "projectmap.update">;
572
- readonly 'redirect.delete': Definition<z.ZodObject<{
573
- project_id: z.ZodString;
574
- id: z.ZodString;
575
- source_url: z.ZodString;
576
- target_url: z.ZodString;
577
- target_status_code: z.ZodNumber;
578
- initiator: z.ZodObject<{
579
- id: z.ZodString;
580
- name: z.ZodOptional<z.ZodString>;
581
- email: z.ZodOptional<z.ZodString>;
582
- is_api_key: z.ZodBoolean;
583
- }, z.core.$strict>;
584
- }, z.core.$strip>, "redirect.delete">;
585
- readonly 'redirect.insert': Definition<z.ZodObject<{
586
- project_id: z.ZodString;
587
- id: z.ZodString;
588
- source_url: z.ZodString;
589
- target_url: z.ZodString;
590
- target_status_code: z.ZodNumber;
591
- initiator: z.ZodObject<{
592
- id: z.ZodString;
593
- name: z.ZodOptional<z.ZodString>;
594
- email: z.ZodOptional<z.ZodString>;
595
- is_api_key: z.ZodBoolean;
596
- }, z.core.$strict>;
597
- }, z.core.$strip>, "redirect.insert">;
598
- readonly 'redirect.update': Definition<z.ZodObject<{
599
- project_id: z.ZodString;
600
- id: z.ZodString;
601
- source_url: z.ZodString;
602
- target_url: z.ZodString;
603
- target_status_code: z.ZodNumber;
604
- initiator: z.ZodObject<{
605
- id: z.ZodString;
606
- name: z.ZodOptional<z.ZodString>;
607
- email: z.ZodOptional<z.ZodString>;
608
- is_api_key: z.ZodBoolean;
609
- }, z.core.$strict>;
610
- }, z.core.$strip>, "redirect.update">;
611
- readonly 'release.changed': Definition<z.ZodObject<{
612
- id: z.ZodString;
613
- state: z.ZodEnum<{
614
- open: "open";
615
- locked: "locked";
616
- queued: "queued";
617
- launching: "launching";
618
- launched: "launched";
619
- deleting: "deleting";
620
- }>;
621
- name: z.ZodString;
622
- project: z.ZodObject<{
623
- id: z.ZodString;
624
- url: z.ZodString;
625
- }, z.core.$strip>;
626
- autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
627
- autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
628
- edit_url: z.ZodString;
629
- api_url: z.ZodString;
630
- }, z.core.$strip>, "release.changed">;
631
- readonly 'release.deleted': Definition<z.ZodObject<{
632
- name: z.ZodString;
633
- id: z.ZodString;
634
- project: z.ZodObject<{
635
- id: z.ZodString;
636
- url: z.ZodString;
637
- }, z.core.$strip>;
638
- state: z.ZodEnum<{
639
- open: "open";
640
- locked: "locked";
641
- queued: "queued";
642
- launching: "launching";
643
- launched: "launched";
644
- deleting: "deleting";
645
- }>;
646
- autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
647
- autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
648
- }, z.core.$strip>, "release.deleted">;
649
- readonly 'release.launch_started': Definition<z.ZodObject<{
650
- id: z.ZodString;
651
- state: z.ZodEnum<{
652
- open: "open";
653
- locked: "locked";
654
- queued: "queued";
655
- launching: "launching";
656
- launched: "launched";
657
- deleting: "deleting";
658
- }>;
659
- name: z.ZodString;
660
- project: z.ZodObject<{
661
- id: z.ZodString;
662
- url: z.ZodString;
663
- }, z.core.$strip>;
664
- autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
665
- autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
666
- edit_url: z.ZodString;
667
- api_url: z.ZodString;
668
- }, z.core.$strip>, "release.launch_started">;
669
- readonly 'release.launched': Definition<z.ZodObject<{
670
- id: z.ZodString;
671
- state: z.ZodEnum<{
672
- open: "open";
673
- locked: "locked";
674
- queued: "queued";
675
- launching: "launching";
676
- launched: "launched";
677
- deleting: "deleting";
678
- }>;
679
- name: z.ZodString;
680
- project: z.ZodObject<{
681
- id: z.ZodString;
682
- url: z.ZodString;
683
- }, z.core.$strip>;
684
- autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
685
- autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
686
- edit_url: z.ZodString;
687
- api_url: z.ZodString;
688
- }, z.core.$strip>, "release.launched">;
689
- readonly 'workflow.transition': Definition<z.ZodObject<{
690
- entity: z.ZodObject<{
691
- type: z.ZodEnum<{
692
- entry: "entry";
693
- component: "component";
694
- }>;
695
- name: z.ZodString;
696
- id: z.ZodString;
697
- editionId: z.ZodOptional<z.ZodString>;
698
- releaseId: z.ZodOptional<z.ZodString>;
699
- url: z.ZodString;
700
- }, z.core.$strict>;
701
- newStage: z.ZodObject<{
702
- workflowId: z.ZodString;
703
- workflowName: z.ZodString;
704
- stageId: z.ZodString;
705
- stageName: z.ZodString;
706
- }, z.core.$strict>;
707
- previousStage: z.ZodOptional<z.ZodObject<{
708
- workflowId: z.ZodString;
709
- workflowName: z.ZodString;
710
- stageId: z.ZodString;
711
- stageName: z.ZodString;
712
- }, z.core.$strict>>;
713
- initiator: z.ZodObject<{
714
- id: z.ZodString;
715
- name: z.ZodOptional<z.ZodString>;
716
- email: z.ZodOptional<z.ZodString>;
717
- is_api_key: z.ZodBoolean;
718
- }, z.core.$strict>;
719
- timestamp: z.ZodString;
720
- project: z.ZodObject<{
721
- id: z.ZodString;
722
- url: z.ZodString;
723
- }, z.core.$strip>;
724
- }, z.core.$strict>, "workflow.transition">;
725
- };
726
- /** Any valid internal webhook event name from the {@link webhookEventCatalog}. */
727
- type WebhookEventName = keyof typeof webhookEventCatalog;
728
- /** The payload type delivered for a given webhook event name. */
729
- type WebhookPayloadFor<E extends WebhookEventName> = z.infer<(typeof webhookEventCatalog)[E]['schema']>;
730
- /** All webhook event names, as a runtime array (catalog key order). */
731
- declare const webhookEventNames: WebhookEventName[];
732
-
733
103
  declare const CompositionTriggerPayloadSchema: z.ZodObject<{
734
104
  trigger: z.ZodOptional<z.ZodObject<{
735
105
  type: z.ZodEnum<{
@@ -1638,4 +1008,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
1638
1008
  type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
1639
1009
  declare const WorkflowTransitionEventName: "workflow.transition";
1640
1010
 
1641
- export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
1011
+ export { ArchivedReleaseLaunchStartedDefinition, AssetDeletePayloadSchema, AssetDeletedDefinition, AssetDeletedEventName, type AssetDeletedPayload, type AssetPayload, AssetPayloadSchema, AssetPublishedDefinition, AssetPublishedEventName, type AssetPublishedPayload, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookInitiator, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookInitiatorSchema };