@uniformdev/webhooks 20.47.2-alpha.4 → 20.48.1-alpha.11

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;
@@ -2197,12 +2455,40 @@ declare const ProjectMapUpdateDefinition: Definition<z.ZodObject<{
2197
2455
  id: z.ZodString;
2198
2456
  base_url: z.ZodOptional<z.ZodString>;
2199
2457
  project_id: z.ZodString;
2458
+ initiator: z.ZodObject<{
2459
+ id: z.ZodString;
2460
+ name: z.ZodOptional<z.ZodString>;
2461
+ email: z.ZodOptional<z.ZodString>;
2462
+ is_api_key: z.ZodBoolean;
2463
+ }, "strict", z.ZodTypeAny, {
2464
+ id: string;
2465
+ is_api_key: boolean;
2466
+ name?: string | undefined;
2467
+ email?: string | undefined;
2468
+ }, {
2469
+ id: string;
2470
+ is_api_key: boolean;
2471
+ name?: string | undefined;
2472
+ email?: string | undefined;
2473
+ }>;
2200
2474
  }, "strip", z.ZodTypeAny, {
2201
2475
  id: string;
2476
+ initiator: {
2477
+ id: string;
2478
+ is_api_key: boolean;
2479
+ name?: string | undefined;
2480
+ email?: string | undefined;
2481
+ };
2202
2482
  project_id: string;
2203
2483
  base_url?: string | undefined;
2204
2484
  }, {
2205
2485
  id: string;
2486
+ initiator: {
2487
+ id: string;
2488
+ is_api_key: boolean;
2489
+ name?: string | undefined;
2490
+ email?: string | undefined;
2491
+ };
2206
2492
  project_id: string;
2207
2493
  base_url?: string | undefined;
2208
2494
  }>, "projectmap.update">;
@@ -2384,9 +2670,9 @@ declare const ReleasePayloadSchema: z.ZodObject<{
2384
2670
  id: string;
2385
2671
  url: string;
2386
2672
  };
2387
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2388
- edit_url: string;
2389
2673
  api_url: string;
2674
+ edit_url: string;
2675
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2390
2676
  autoLaunchSchedule?: number | undefined;
2391
2677
  autoLaunchScheduleTimeZone?: string | undefined;
2392
2678
  }, {
@@ -2396,9 +2682,9 @@ declare const ReleasePayloadSchema: z.ZodObject<{
2396
2682
  id: string;
2397
2683
  url: string;
2398
2684
  };
2399
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2400
- edit_url: string;
2401
2685
  api_url: string;
2686
+ edit_url: string;
2687
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2402
2688
  autoLaunchSchedule?: number | undefined;
2403
2689
  autoLaunchScheduleTimeZone?: string | undefined;
2404
2690
  }>;
@@ -2429,9 +2715,9 @@ declare const ReleaseChangedDefinition: Definition<z.ZodObject<{
2429
2715
  id: string;
2430
2716
  url: string;
2431
2717
  };
2432
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2433
- edit_url: string;
2434
2718
  api_url: string;
2719
+ edit_url: string;
2720
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2435
2721
  autoLaunchSchedule?: number | undefined;
2436
2722
  autoLaunchScheduleTimeZone?: string | undefined;
2437
2723
  }, {
@@ -2441,9 +2727,9 @@ declare const ReleaseChangedDefinition: Definition<z.ZodObject<{
2441
2727
  id: string;
2442
2728
  url: string;
2443
2729
  };
2444
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2445
- edit_url: string;
2446
2730
  api_url: string;
2731
+ edit_url: string;
2732
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2447
2733
  autoLaunchSchedule?: number | undefined;
2448
2734
  autoLaunchScheduleTimeZone?: string | undefined;
2449
2735
  }>, "release.changed">;
@@ -2468,7 +2754,7 @@ declare const ReleaseDeletedDefinition: Definition<z.ZodObject<Omit<{
2468
2754
  autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
2469
2755
  edit_url: z.ZodString;
2470
2756
  api_url: z.ZodString;
2471
- }, "edit_url" | "api_url">, "strip", z.ZodTypeAny, {
2757
+ }, "api_url" | "edit_url">, "strip", z.ZodTypeAny, {
2472
2758
  name: string;
2473
2759
  id: string;
2474
2760
  project: {
@@ -2517,9 +2803,9 @@ declare const ReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2517
2803
  id: string;
2518
2804
  url: string;
2519
2805
  };
2520
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2521
- edit_url: string;
2522
2806
  api_url: string;
2807
+ edit_url: string;
2808
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2523
2809
  autoLaunchSchedule?: number | undefined;
2524
2810
  autoLaunchScheduleTimeZone?: string | undefined;
2525
2811
  }, {
@@ -2529,9 +2815,9 @@ declare const ReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2529
2815
  id: string;
2530
2816
  url: string;
2531
2817
  };
2532
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2533
- edit_url: string;
2534
2818
  api_url: string;
2819
+ edit_url: string;
2820
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2535
2821
  autoLaunchSchedule?: number | undefined;
2536
2822
  autoLaunchScheduleTimeZone?: string | undefined;
2537
2823
  }>, "release.launch_started">;
@@ -2563,9 +2849,9 @@ declare const ReleaseLaunchedDefinition: Definition<z.ZodObject<{
2563
2849
  id: string;
2564
2850
  url: string;
2565
2851
  };
2566
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2567
- edit_url: string;
2568
2852
  api_url: string;
2853
+ edit_url: string;
2854
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2569
2855
  autoLaunchSchedule?: number | undefined;
2570
2856
  autoLaunchScheduleTimeZone?: string | undefined;
2571
2857
  }, {
@@ -2575,9 +2861,9 @@ declare const ReleaseLaunchedDefinition: Definition<z.ZodObject<{
2575
2861
  id: string;
2576
2862
  url: string;
2577
2863
  };
2578
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2579
- edit_url: string;
2580
2864
  api_url: string;
2865
+ edit_url: string;
2866
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2581
2867
  autoLaunchSchedule?: number | undefined;
2582
2868
  autoLaunchScheduleTimeZone?: string | undefined;
2583
2869
  }>, "release.launched">;
@@ -2609,9 +2895,9 @@ declare const ArchivedReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2609
2895
  id: string;
2610
2896
  url: string;
2611
2897
  };
2612
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2613
- edit_url: string;
2614
2898
  api_url: string;
2899
+ edit_url: string;
2900
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2615
2901
  autoLaunchSchedule?: number | undefined;
2616
2902
  autoLaunchScheduleTimeZone?: string | undefined;
2617
2903
  }, {
@@ -2621,9 +2907,9 @@ declare const ArchivedReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
2621
2907
  id: string;
2622
2908
  url: string;
2623
2909
  };
2624
- state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2625
- edit_url: string;
2626
2910
  api_url: string;
2911
+ edit_url: string;
2912
+ state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
2627
2913
  autoLaunchSchedule?: number | undefined;
2628
2914
  autoLaunchScheduleTimeZone?: string | undefined;
2629
2915
  }>, "release.launchstarted">;
@@ -2964,4 +3250,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
2964
3250
  type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
2965
3251
  declare const WorkflowTransitionEventName: "workflow.transition";
2966
3252
 
2967
- 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 };