@uniformdev/webhooks 20.50.1-alpha.4 → 20.50.1

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.ts CHANGED
@@ -1,5 +1,304 @@
1
1
  import * as z from 'zod/v3';
2
2
 
3
+ declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
4
+ eventType: z.ZodLiteral<EventType>;
5
+ }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T["shape"] & {
6
+ eventType: z.ZodLiteral<EventType>;
7
+ }>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<T["shape"] & {
8
+ eventType: z.ZodLiteral<EventType>;
9
+ }> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
10
+ type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
11
+ event: EventType;
12
+ name: string;
13
+ description: string;
14
+ schema: TSchema;
15
+ archived?: boolean;
16
+ };
17
+ type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
18
+ schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
19
+ _definition: true;
20
+ example: z.TypeOf<TSchema> & {
21
+ eventType: EventType;
22
+ };
23
+ };
24
+ declare const isDefinition: (obj: any) => obj is Definition;
25
+ declare const definition: <TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string>(options: DefinitionOptions<TSchema, EventType>, example: z.infer<TSchema>) => Definition<TSchema, EventType>;
26
+ declare const webhookInitiatorSchema: z.ZodObject<{
27
+ id: z.ZodString;
28
+ name: z.ZodOptional<z.ZodString>;
29
+ email: z.ZodOptional<z.ZodString>;
30
+ is_api_key: z.ZodBoolean;
31
+ }, "strict", z.ZodTypeAny, {
32
+ id: string;
33
+ is_api_key: boolean;
34
+ name?: string | undefined;
35
+ email?: string | undefined;
36
+ }, {
37
+ id: string;
38
+ is_api_key: boolean;
39
+ name?: string | undefined;
40
+ email?: string | undefined;
41
+ }>;
42
+ type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
43
+
44
+ declare const AssetDeletedDefinition: Definition<z.ZodObject<{
45
+ id: z.ZodString;
46
+ name: z.ZodString;
47
+ type: z.ZodString;
48
+ project: z.ZodObject<{
49
+ id: z.ZodString;
50
+ url: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ id: string;
53
+ url: string;
54
+ }, {
55
+ id: string;
56
+ url: string;
57
+ }>;
58
+ initiator: z.ZodObject<{
59
+ id: z.ZodString;
60
+ name: z.ZodOptional<z.ZodString>;
61
+ email: z.ZodOptional<z.ZodString>;
62
+ is_api_key: z.ZodBoolean;
63
+ }, "strict", z.ZodTypeAny, {
64
+ id: string;
65
+ is_api_key: boolean;
66
+ name?: string | undefined;
67
+ email?: string | undefined;
68
+ }, {
69
+ id: string;
70
+ is_api_key: boolean;
71
+ name?: string | undefined;
72
+ email?: string | undefined;
73
+ }>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ type: string;
76
+ name: string;
77
+ id: string;
78
+ project: {
79
+ id: string;
80
+ url: string;
81
+ };
82
+ initiator: {
83
+ id: string;
84
+ is_api_key: boolean;
85
+ name?: string | undefined;
86
+ email?: string | undefined;
87
+ };
88
+ }, {
89
+ type: string;
90
+ name: string;
91
+ id: string;
92
+ project: {
93
+ id: string;
94
+ url: string;
95
+ };
96
+ initiator: {
97
+ id: string;
98
+ is_api_key: boolean;
99
+ name?: string | undefined;
100
+ email?: string | undefined;
101
+ };
102
+ }>, "asset.deleted">;
103
+ type AssetDeletedPayload = z.infer<(typeof AssetDeletedDefinition)['schema']>;
104
+ declare const AssetDeletedEventName: "asset.deleted";
105
+
106
+ declare const AssetPublishedDefinition: Definition<z.ZodObject<{
107
+ id: z.ZodString;
108
+ name: z.ZodString;
109
+ type: z.ZodString;
110
+ project: z.ZodObject<{
111
+ id: z.ZodString;
112
+ url: z.ZodString;
113
+ }, "strip", z.ZodTypeAny, {
114
+ id: string;
115
+ url: string;
116
+ }, {
117
+ id: string;
118
+ url: string;
119
+ }>;
120
+ initiator: z.ZodObject<{
121
+ id: z.ZodString;
122
+ name: z.ZodOptional<z.ZodString>;
123
+ email: z.ZodOptional<z.ZodString>;
124
+ is_api_key: z.ZodBoolean;
125
+ }, "strict", z.ZodTypeAny, {
126
+ id: string;
127
+ is_api_key: boolean;
128
+ name?: string | undefined;
129
+ email?: string | undefined;
130
+ }, {
131
+ id: string;
132
+ is_api_key: boolean;
133
+ name?: string | undefined;
134
+ email?: string | undefined;
135
+ }>;
136
+ } & {
137
+ api_url: z.ZodString;
138
+ edit_url: z.ZodString;
139
+ }, "strip", z.ZodTypeAny, {
140
+ type: string;
141
+ name: string;
142
+ id: string;
143
+ project: {
144
+ id: string;
145
+ url: string;
146
+ };
147
+ initiator: {
148
+ id: string;
149
+ is_api_key: boolean;
150
+ name?: string | undefined;
151
+ email?: string | undefined;
152
+ };
153
+ api_url: string;
154
+ edit_url: string;
155
+ }, {
156
+ type: string;
157
+ name: string;
158
+ id: string;
159
+ project: {
160
+ id: string;
161
+ url: string;
162
+ };
163
+ initiator: {
164
+ id: string;
165
+ is_api_key: boolean;
166
+ name?: string | undefined;
167
+ email?: string | undefined;
168
+ };
169
+ api_url: string;
170
+ edit_url: string;
171
+ }>, "asset.published">;
172
+ type AssetPublishedPayload = z.infer<(typeof AssetPublishedDefinition)['schema']>;
173
+ declare const AssetPublishedEventName: "asset.published";
174
+
175
+ declare const AssetPayloadSchema: z.ZodObject<{
176
+ id: z.ZodString;
177
+ name: z.ZodString;
178
+ type: z.ZodString;
179
+ project: z.ZodObject<{
180
+ id: z.ZodString;
181
+ url: z.ZodString;
182
+ }, "strip", z.ZodTypeAny, {
183
+ id: string;
184
+ url: string;
185
+ }, {
186
+ id: string;
187
+ url: string;
188
+ }>;
189
+ initiator: z.ZodObject<{
190
+ id: z.ZodString;
191
+ name: z.ZodOptional<z.ZodString>;
192
+ email: z.ZodOptional<z.ZodString>;
193
+ is_api_key: z.ZodBoolean;
194
+ }, "strict", z.ZodTypeAny, {
195
+ id: string;
196
+ is_api_key: boolean;
197
+ name?: string | undefined;
198
+ email?: string | undefined;
199
+ }, {
200
+ id: string;
201
+ is_api_key: boolean;
202
+ name?: string | undefined;
203
+ email?: string | undefined;
204
+ }>;
205
+ } & {
206
+ api_url: z.ZodString;
207
+ edit_url: z.ZodString;
208
+ }, "strip", z.ZodTypeAny, {
209
+ type: string;
210
+ name: string;
211
+ id: string;
212
+ project: {
213
+ id: string;
214
+ url: string;
215
+ };
216
+ initiator: {
217
+ id: string;
218
+ is_api_key: boolean;
219
+ name?: string | undefined;
220
+ email?: string | undefined;
221
+ };
222
+ api_url: string;
223
+ edit_url: string;
224
+ }, {
225
+ type: string;
226
+ name: string;
227
+ id: string;
228
+ project: {
229
+ id: string;
230
+ url: string;
231
+ };
232
+ initiator: {
233
+ id: string;
234
+ is_api_key: boolean;
235
+ name?: string | undefined;
236
+ email?: string | undefined;
237
+ };
238
+ api_url: string;
239
+ edit_url: string;
240
+ }>;
241
+ declare const AssetDeletePayloadSchema: z.ZodObject<{
242
+ id: z.ZodString;
243
+ name: z.ZodString;
244
+ type: z.ZodString;
245
+ project: z.ZodObject<{
246
+ id: z.ZodString;
247
+ url: z.ZodString;
248
+ }, "strip", z.ZodTypeAny, {
249
+ id: string;
250
+ url: string;
251
+ }, {
252
+ id: string;
253
+ url: string;
254
+ }>;
255
+ initiator: z.ZodObject<{
256
+ id: z.ZodString;
257
+ name: z.ZodOptional<z.ZodString>;
258
+ email: z.ZodOptional<z.ZodString>;
259
+ is_api_key: z.ZodBoolean;
260
+ }, "strict", z.ZodTypeAny, {
261
+ id: string;
262
+ is_api_key: boolean;
263
+ name?: string | undefined;
264
+ email?: string | undefined;
265
+ }, {
266
+ id: string;
267
+ is_api_key: boolean;
268
+ name?: string | undefined;
269
+ email?: string | undefined;
270
+ }>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ type: string;
273
+ name: string;
274
+ id: string;
275
+ project: {
276
+ id: string;
277
+ url: string;
278
+ };
279
+ initiator: {
280
+ id: string;
281
+ is_api_key: boolean;
282
+ name?: string | undefined;
283
+ email?: string | undefined;
284
+ };
285
+ }, {
286
+ type: string;
287
+ name: string;
288
+ id: string;
289
+ project: {
290
+ id: string;
291
+ url: string;
292
+ };
293
+ initiator: {
294
+ id: string;
295
+ is_api_key: boolean;
296
+ name?: string | undefined;
297
+ email?: string | undefined;
298
+ };
299
+ }>;
300
+ type AssetPayload = z.infer<typeof AssetPayloadSchema>;
301
+
3
302
  declare const CompositionTriggerPayloadSchema: z.ZodObject<{
4
303
  trigger: z.ZodOptional<z.ZodObject<{
5
304
  type: z.ZodEnum<["release"]>;
@@ -211,9 +510,9 @@ declare const CompositionPayloadSchema: z.ZodObject<{
211
510
  name?: string | undefined;
212
511
  email?: string | undefined;
213
512
  };
214
- state: number;
215
- edit_url: string;
216
513
  api_url: string;
514
+ edit_url: string;
515
+ state: number;
217
516
  edge_url: string;
218
517
  editionId?: string | undefined;
219
518
  slug?: string | undefined;
@@ -231,9 +530,9 @@ declare const CompositionPayloadSchema: z.ZodObject<{
231
530
  name?: string | undefined;
232
531
  email?: string | undefined;
233
532
  };
234
- state: number;
235
- edit_url: string;
236
533
  api_url: string;
534
+ edit_url: string;
535
+ state: number;
237
536
  edge_url: string;
238
537
  editionId?: string | undefined;
239
538
  slug?: string | undefined;
@@ -263,47 +562,6 @@ declare const ReleaseCompositionPayloadSchema: z.ZodObject<{
263
562
  type CompositionPayload = z.infer<typeof CompositionPayloadSchema>;
264
563
  type ReleaseCompositionPayload = z.infer<typeof ReleaseCompositionPayloadSchema>;
265
564
 
266
- declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
267
- eventType: z.ZodLiteral<EventType>;
268
- }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T["shape"] & {
269
- eventType: z.ZodLiteral<EventType>;
270
- }>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<T["shape"] & {
271
- eventType: z.ZodLiteral<EventType>;
272
- }> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
273
- type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
274
- event: EventType;
275
- name: string;
276
- description: string;
277
- schema: TSchema;
278
- archived?: boolean;
279
- };
280
- type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
281
- schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
282
- _definition: true;
283
- example: z.TypeOf<TSchema> & {
284
- eventType: EventType;
285
- };
286
- };
287
- declare const isDefinition: (obj: any) => obj is Definition;
288
- declare const definition: <TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string>(options: DefinitionOptions<TSchema, EventType>, example: z.infer<TSchema>) => Definition<TSchema, EventType>;
289
- declare const webhookInitiatorSchema: z.ZodObject<{
290
- id: z.ZodString;
291
- name: z.ZodOptional<z.ZodString>;
292
- email: z.ZodOptional<z.ZodString>;
293
- is_api_key: z.ZodBoolean;
294
- }, "strict", z.ZodTypeAny, {
295
- id: string;
296
- is_api_key: boolean;
297
- name?: string | undefined;
298
- email?: string | undefined;
299
- }, {
300
- id: string;
301
- is_api_key: boolean;
302
- name?: string | undefined;
303
- email?: string | undefined;
304
- }>;
305
- type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
306
-
307
565
  declare const CompositionChangedDefinition: Definition<z.ZodObject<{
308
566
  id: z.ZodString;
309
567
  editionId: z.ZodOptional<z.ZodString>;
@@ -366,9 +624,9 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
366
624
  name?: string | undefined;
367
625
  email?: string | undefined;
368
626
  };
369
- state: number;
370
- edit_url: string;
371
627
  api_url: string;
628
+ edit_url: string;
629
+ state: number;
372
630
  edge_url: string;
373
631
  editionId?: string | undefined;
374
632
  slug?: string | undefined;
@@ -390,9 +648,9 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
390
648
  name?: string | undefined;
391
649
  email?: string | undefined;
392
650
  };
393
- state: number;
394
- edit_url: string;
395
651
  api_url: string;
652
+ edit_url: string;
653
+ state: number;
396
654
  edge_url: string;
397
655
  editionId?: string | undefined;
398
656
  slug?: string | undefined;
@@ -557,9 +815,9 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
557
815
  name?: string | undefined;
558
816
  email?: string | undefined;
559
817
  };
560
- state: number;
561
- edit_url: string;
562
818
  api_url: string;
819
+ edit_url: string;
820
+ state: number;
563
821
  edge_url: string;
564
822
  editionId?: string | undefined;
565
823
  slug?: string | undefined;
@@ -581,9 +839,9 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
581
839
  name?: string | undefined;
582
840
  email?: string | undefined;
583
841
  };
584
- state: number;
585
- edit_url: string;
586
842
  api_url: string;
843
+ edit_url: string;
844
+ state: number;
587
845
  edge_url: string;
588
846
  editionId?: string | undefined;
589
847
  slug?: string | undefined;
@@ -657,13 +915,13 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
657
915
  name?: string | undefined;
658
916
  email?: string | undefined;
659
917
  };
918
+ api_url: string;
919
+ edit_url: string;
660
920
  release: {
661
921
  id: string;
662
922
  url: string;
663
923
  };
664
924
  state: number;
665
- edit_url: string;
666
- api_url: string;
667
925
  edge_url: string;
668
926
  editionId?: string | undefined;
669
927
  slug?: string | undefined;
@@ -681,13 +939,13 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
681
939
  name?: string | undefined;
682
940
  email?: string | undefined;
683
941
  };
942
+ api_url: string;
943
+ edit_url: string;
684
944
  release: {
685
945
  id: string;
686
946
  url: string;
687
947
  };
688
948
  state: number;
689
- edit_url: string;
690
- api_url: string;
691
949
  edge_url: string;
692
950
  editionId?: string | undefined;
693
951
  slug?: string | undefined;
@@ -848,13 +1106,13 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
848
1106
  name?: string | undefined;
849
1107
  email?: string | undefined;
850
1108
  };
1109
+ api_url: string;
1110
+ edit_url: string;
851
1111
  release: {
852
1112
  id: string;
853
1113
  url: string;
854
1114
  };
855
1115
  state: number;
856
- edit_url: string;
857
- api_url: string;
858
1116
  edge_url: string;
859
1117
  editionId?: string | undefined;
860
1118
  slug?: string | undefined;
@@ -872,13 +1130,13 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
872
1130
  name?: string | undefined;
873
1131
  email?: string | undefined;
874
1132
  };
1133
+ api_url: string;
1134
+ edit_url: string;
875
1135
  release: {
876
1136
  id: string;
877
1137
  url: string;
878
1138
  };
879
1139
  state: number;
880
- edit_url: string;
881
- api_url: string;
882
1140
  edge_url: string;
883
1141
  editionId?: string | undefined;
884
1142
  slug?: string | undefined;
@@ -1188,9 +1446,9 @@ declare const EntryPayloadSchema: z.ZodObject<{
1188
1446
  name?: string | undefined;
1189
1447
  email?: string | undefined;
1190
1448
  };
1191
- state: number;
1192
- edit_url: string;
1193
1449
  api_url: string;
1450
+ edit_url: string;
1451
+ state: number;
1194
1452
  edge_url: string;
1195
1453
  editionId?: string | undefined;
1196
1454
  slug?: string | undefined;
@@ -1208,9 +1466,9 @@ declare const EntryPayloadSchema: z.ZodObject<{
1208
1466
  name?: string | undefined;
1209
1467
  email?: string | undefined;
1210
1468
  };
1211
- state: number;
1212
- edit_url: string;
1213
1469
  api_url: string;
1470
+ edit_url: string;
1471
+ state: number;
1214
1472
  edge_url: string;
1215
1473
  editionId?: string | undefined;
1216
1474
  slug?: string | undefined;
@@ -1302,9 +1560,9 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<{
1302
1560
  name?: string | undefined;
1303
1561
  email?: string | undefined;
1304
1562
  };
1305
- state: number;
1306
- edit_url: string;
1307
1563
  api_url: string;
1564
+ edit_url: string;
1565
+ state: number;
1308
1566
  edge_url: string;
1309
1567
  editionId?: string | undefined;
1310
1568
  slug?: string | undefined;
@@ -1326,9 +1584,9 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<{
1326
1584
  name?: string | undefined;
1327
1585
  email?: string | undefined;
1328
1586
  };
1329
- state: number;
1330
- edit_url: string;
1331
1587
  api_url: string;
1588
+ edit_url: string;
1589
+ state: number;
1332
1590
  edge_url: string;
1333
1591
  editionId?: string | undefined;
1334
1592
  slug?: string | undefined;
@@ -1493,9 +1751,9 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<{
1493
1751
  name?: string | undefined;
1494
1752
  email?: string | undefined;
1495
1753
  };
1496
- state: number;
1497
- edit_url: string;
1498
1754
  api_url: string;
1755
+ edit_url: string;
1756
+ state: number;
1499
1757
  edge_url: string;
1500
1758
  editionId?: string | undefined;
1501
1759
  slug?: string | undefined;
@@ -1517,9 +1775,9 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<{
1517
1775
  name?: string | undefined;
1518
1776
  email?: string | undefined;
1519
1777
  };
1520
- state: number;
1521
- edit_url: string;
1522
1778
  api_url: string;
1779
+ edit_url: string;
1780
+ state: number;
1523
1781
  edge_url: string;
1524
1782
  editionId?: string | undefined;
1525
1783
  slug?: string | undefined;
@@ -1593,13 +1851,13 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
1593
1851
  name?: string | undefined;
1594
1852
  email?: string | undefined;
1595
1853
  };
1854
+ api_url: string;
1855
+ edit_url: string;
1596
1856
  release: {
1597
1857
  id: string;
1598
1858
  url: string;
1599
1859
  };
1600
1860
  state: number;
1601
- edit_url: string;
1602
- api_url: string;
1603
1861
  edge_url: string;
1604
1862
  editionId?: string | undefined;
1605
1863
  slug?: string | undefined;
@@ -1617,13 +1875,13 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
1617
1875
  name?: string | undefined;
1618
1876
  email?: string | undefined;
1619
1877
  };
1878
+ api_url: string;
1879
+ edit_url: string;
1620
1880
  release: {
1621
1881
  id: string;
1622
1882
  url: string;
1623
1883
  };
1624
1884
  state: number;
1625
- edit_url: string;
1626
- api_url: string;
1627
1885
  edge_url: string;
1628
1886
  editionId?: string | undefined;
1629
1887
  slug?: string | undefined;
@@ -1784,13 +2042,13 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
1784
2042
  name?: string | undefined;
1785
2043
  email?: string | undefined;
1786
2044
  };
2045
+ api_url: string;
2046
+ edit_url: string;
1787
2047
  release: {
1788
2048
  id: string;
1789
2049
  url: string;
1790
2050
  };
1791
2051
  state: number;
1792
- edit_url: string;
1793
- api_url: string;
1794
2052
  edge_url: string;
1795
2053
  editionId?: string | undefined;
1796
2054
  slug?: string | undefined;
@@ -1808,13 +2066,13 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
1808
2066
  name?: string | undefined;
1809
2067
  email?: string | undefined;
1810
2068
  };
2069
+ api_url: string;
2070
+ edit_url: string;
1811
2071
  release: {
1812
2072
  id: string;
1813
2073
  url: string;
1814
2074
  };
1815
2075
  state: number;
1816
- edit_url: string;
1817
- api_url: string;
1818
2076
  edge_url: string;
1819
2077
  editionId?: string | undefined;
1820
2078
  slug?: string | undefined;
@@ -2412,9 +2670,9 @@ declare const ReleasePayloadSchema: z.ZodObject<{
2412
2670
  id: string;
2413
2671
  url: string;
2414
2672
  };
2415
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2416
- edit_url: string;
2417
2673
  api_url: string;
2674
+ edit_url: string;
2675
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2418
2676
  autoLaunchSchedule?: number | undefined;
2419
2677
  autoLaunchScheduleTimeZone?: string | undefined;
2420
2678
  }, {
@@ -2424,9 +2682,9 @@ declare const ReleasePayloadSchema: z.ZodObject<{
2424
2682
  id: string;
2425
2683
  url: string;
2426
2684
  };
2427
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2428
- edit_url: string;
2429
2685
  api_url: string;
2686
+ edit_url: string;
2687
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2430
2688
  autoLaunchSchedule?: number | undefined;
2431
2689
  autoLaunchScheduleTimeZone?: string | undefined;
2432
2690
  }>;
@@ -2457,9 +2715,9 @@ declare const ReleaseChangedDefinition: Definition<z.ZodObject<{
2457
2715
  id: string;
2458
2716
  url: string;
2459
2717
  };
2460
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2461
- edit_url: string;
2462
2718
  api_url: string;
2719
+ edit_url: string;
2720
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2463
2721
  autoLaunchSchedule?: number | undefined;
2464
2722
  autoLaunchScheduleTimeZone?: string | undefined;
2465
2723
  }, {
@@ -2469,9 +2727,9 @@ declare const ReleaseChangedDefinition: Definition<z.ZodObject<{
2469
2727
  id: string;
2470
2728
  url: string;
2471
2729
  };
2472
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2473
- edit_url: string;
2474
2730
  api_url: string;
2731
+ edit_url: string;
2732
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2475
2733
  autoLaunchSchedule?: number | undefined;
2476
2734
  autoLaunchScheduleTimeZone?: string | undefined;
2477
2735
  }>, "release.changed">;
@@ -2496,7 +2754,7 @@ declare const ReleaseDeletedDefinition: Definition<z.ZodObject<Omit<{
2496
2754
  autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
2497
2755
  edit_url: z.ZodString;
2498
2756
  api_url: z.ZodString;
2499
- }, "edit_url" | "api_url">, "strip", z.ZodTypeAny, {
2757
+ }, "api_url" | "edit_url">, "strip", z.ZodTypeAny, {
2500
2758
  name: string;
2501
2759
  id: string;
2502
2760
  project: {
@@ -2545,9 +2803,9 @@ declare const ReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2545
2803
  id: string;
2546
2804
  url: string;
2547
2805
  };
2548
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2549
- edit_url: string;
2550
2806
  api_url: string;
2807
+ edit_url: string;
2808
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2551
2809
  autoLaunchSchedule?: number | undefined;
2552
2810
  autoLaunchScheduleTimeZone?: string | undefined;
2553
2811
  }, {
@@ -2557,9 +2815,9 @@ declare const ReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2557
2815
  id: string;
2558
2816
  url: string;
2559
2817
  };
2560
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2561
- edit_url: string;
2562
2818
  api_url: string;
2819
+ edit_url: string;
2820
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2563
2821
  autoLaunchSchedule?: number | undefined;
2564
2822
  autoLaunchScheduleTimeZone?: string | undefined;
2565
2823
  }>, "release.launch_started">;
@@ -2591,9 +2849,9 @@ declare const ReleaseLaunchedDefinition: Definition<z.ZodObject<{
2591
2849
  id: string;
2592
2850
  url: string;
2593
2851
  };
2594
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2595
- edit_url: string;
2596
2852
  api_url: string;
2853
+ edit_url: string;
2854
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2597
2855
  autoLaunchSchedule?: number | undefined;
2598
2856
  autoLaunchScheduleTimeZone?: string | undefined;
2599
2857
  }, {
@@ -2603,9 +2861,9 @@ declare const ReleaseLaunchedDefinition: Definition<z.ZodObject<{
2603
2861
  id: string;
2604
2862
  url: string;
2605
2863
  };
2606
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2607
- edit_url: string;
2608
2864
  api_url: string;
2865
+ edit_url: string;
2866
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2609
2867
  autoLaunchSchedule?: number | undefined;
2610
2868
  autoLaunchScheduleTimeZone?: string | undefined;
2611
2869
  }>, "release.launched">;
@@ -2637,9 +2895,9 @@ declare const ArchivedReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2637
2895
  id: string;
2638
2896
  url: string;
2639
2897
  };
2640
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2641
- edit_url: string;
2642
2898
  api_url: string;
2899
+ edit_url: string;
2900
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2643
2901
  autoLaunchSchedule?: number | undefined;
2644
2902
  autoLaunchScheduleTimeZone?: string | undefined;
2645
2903
  }, {
@@ -2649,9 +2907,9 @@ declare const ArchivedReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2649
2907
  id: string;
2650
2908
  url: string;
2651
2909
  };
2652
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2653
- edit_url: string;
2654
2910
  api_url: string;
2911
+ edit_url: string;
2912
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2655
2913
  autoLaunchSchedule?: number | undefined;
2656
2914
  autoLaunchScheduleTimeZone?: string | undefined;
2657
2915
  }>, "release.launchstarted">;
@@ -2992,4 +3250,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
2992
3250
  type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
2993
3251
  declare const WorkflowTransitionEventName: "workflow.transition";
2994
3252
 
2995
- export { ArchivedReleaseLaunchStartedDefinition, 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 };
3253
+ 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 };