@uniformdev/webhooks 19.128.1-alpha.9 → 19.130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
+ ArchivedReleaseLaunchStartedDefinition: () => ArchivedReleaseLaunchStartedDefinition,
23
24
  CompositionChangedDefinition: () => CompositionChangedDefinition,
24
25
  CompositionChangedEventName: () => CompositionChangedEventName,
25
26
  CompositionDeletePayloadSchema: () => CompositionDeletePayloadSchema,
@@ -34,6 +35,7 @@ __export(src_exports, {
34
35
  CompositionReleaseDeletedEventName: () => CompositionReleaseDeletedEventName,
35
36
  CompositionReleasePublishedDefinition: () => CompositionReleasePublishedDefinition,
36
37
  CompositionReleasePublishedEventName: () => CompositionReleasePublishedEventName,
38
+ CompositionTriggerPayloadSchema: () => CompositionTriggerPayloadSchema,
37
39
  EntryChangedDefinition: () => EntryChangedDefinition,
38
40
  EntryChangedEventName: () => EntryChangedEventName,
39
41
  EntryDeletePayloadSchema: () => EntryDeletePayloadSchema,
@@ -48,6 +50,7 @@ __export(src_exports, {
48
50
  EntryReleaseDeletedEventName: () => EntryReleaseDeletedEventName,
49
51
  EntryReleasePublishedDefinition: () => EntryReleasePublishedDefinition,
50
52
  EntryReleasePublishedEventName: () => EntryReleasePublishedEventName,
53
+ EntryTriggerPayloadSchema: () => EntryTriggerPayloadSchema,
51
54
  ManifestPublishedDefinition: () => ManifestPublishedDefinition,
52
55
  ManifestPublishedEventName: () => ManifestPublishedEventName,
53
56
  ProjectMapDeleteDefinition: () => ProjectMapDeleteDefinition,
@@ -94,6 +97,12 @@ var CompositionCorePayloadSchema = import_zod.z.object({
94
97
  url: import_zod.z.string()
95
98
  })
96
99
  });
100
+ var CompositionTriggerPayloadSchema = import_zod.z.object({
101
+ trigger: import_zod.z.object({
102
+ type: import_zod.z.enum(["release"]),
103
+ id: import_zod.z.string()
104
+ }).optional()
105
+ });
97
106
  var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
98
107
  import_zod.z.object({
99
108
  state: import_zod.z.number().optional()
@@ -132,7 +141,7 @@ var CompositionChangedDefinition = definition(
132
141
  event: "composition.changed",
133
142
  name: "Composition Changed",
134
143
  description: "Triggers when a composition has been changed.",
135
- schema: CompositionPayloadSchema
144
+ schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
136
145
  },
137
146
  {
138
147
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -146,7 +155,11 @@ var CompositionChangedDefinition = definition(
146
155
  state: 64,
147
156
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
148
157
  api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
149
- edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
158
+ edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
159
+ trigger: {
160
+ type: "release",
161
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
162
+ }
150
163
  }
151
164
  );
152
165
  var CompositionChangedEventName = CompositionChangedDefinition["event"];
@@ -157,7 +170,7 @@ var CompositionDeletedDefinition = definition(
157
170
  event: "composition.deleted",
158
171
  name: "Composition Deleted",
159
172
  description: "Triggers when a composition has been deleted.",
160
- schema: CompositionDeletePayloadSchema
173
+ schema: CompositionDeletePayloadSchema.and(CompositionTriggerPayloadSchema)
161
174
  },
162
175
  {
163
176
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -168,6 +181,10 @@ var CompositionDeletedDefinition = definition(
168
181
  project: {
169
182
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
170
183
  url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
184
+ },
185
+ trigger: {
186
+ type: "release",
187
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
171
188
  }
172
189
  }
173
190
  );
@@ -179,7 +196,7 @@ var CompositionPublishedDefinition = definition(
179
196
  event: "composition.published",
180
197
  name: "Composition Published",
181
198
  description: "Triggers when a composition has been published.",
182
- schema: CompositionPayloadSchema
199
+ schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
183
200
  },
184
201
  {
185
202
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -193,7 +210,11 @@ var CompositionPublishedDefinition = definition(
193
210
  state: 64,
194
211
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
195
212
  api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
196
- edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
213
+ edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
214
+ trigger: {
215
+ type: "release",
216
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
217
+ }
197
218
  }
198
219
  );
199
220
  var CompositionPublishedEventName = CompositionPublishedDefinition["event"];
@@ -294,6 +315,12 @@ var EntryCorePayloadSchema = import_zod2.z.object({
294
315
  url: import_zod2.z.string()
295
316
  })
296
317
  });
318
+ var EntryTriggerPayloadSchema = import_zod2.z.object({
319
+ trigger: import_zod2.z.object({
320
+ type: import_zod2.z.enum(["release"]),
321
+ id: import_zod2.z.string()
322
+ }).optional()
323
+ });
297
324
  var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
298
325
  import_zod2.z.object({
299
326
  state: import_zod2.z.number().optional()
@@ -320,7 +347,7 @@ var EntryChangedDefinition = definition(
320
347
  event: "entry.changed",
321
348
  name: "Entry Changed",
322
349
  description: "Triggers when an entry has been changed.",
323
- schema: EntryPayloadSchema
350
+ schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
324
351
  },
325
352
  {
326
353
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -334,7 +361,11 @@ var EntryChangedDefinition = definition(
334
361
  state: 64,
335
362
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
336
363
  api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
337
- edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
364
+ edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
365
+ trigger: {
366
+ type: "release",
367
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
368
+ }
338
369
  }
339
370
  );
340
371
  var EntryChangedEventName = EntryChangedDefinition["event"];
@@ -345,7 +376,7 @@ var EntryDeletedDefinition = definition(
345
376
  event: "entry.deleted",
346
377
  name: "Entry Deleted",
347
378
  description: "Triggers when an entry has been deleted.",
348
- schema: EntryDeletePayloadSchema
379
+ schema: EntryDeletePayloadSchema.and(EntryTriggerPayloadSchema)
349
380
  },
350
381
  {
351
382
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -356,7 +387,11 @@ var EntryDeletedDefinition = definition(
356
387
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
357
388
  url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
358
389
  },
359
- state: 64
390
+ state: 64,
391
+ trigger: {
392
+ type: "release",
393
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
394
+ }
360
395
  }
361
396
  );
362
397
  var EntryDeletedEventName = EntryDeletedDefinition["event"];
@@ -367,7 +402,7 @@ var EntryPublishedDefinition = definition(
367
402
  event: "entry.published",
368
403
  name: "Entry Published",
369
404
  description: "Triggers when an entry has been published.",
370
- schema: EntryPayloadSchema
405
+ schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
371
406
  },
372
407
  {
373
408
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -381,7 +416,11 @@ var EntryPublishedDefinition = definition(
381
416
  state: 64,
382
417
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
383
418
  api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
384
- edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
419
+ edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
420
+ trigger: {
421
+ type: "release",
422
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
423
+ }
385
424
  }
386
425
  );
387
426
  var EntryPublishedEventName = EntryPublishedDefinition["event"];
@@ -751,6 +790,30 @@ var ReleaseDeletedDefinition = definition(
751
790
  );
752
791
  var ReleaseDeletedEventName = ReleaseDeletedDefinition["event"];
753
792
 
793
+ // src/release/release.launch_started.ts
794
+ var ReleaseLaunchStartedDefinition = definition(
795
+ {
796
+ event: "release.launch_started",
797
+ name: "Release Launch Started",
798
+ description: "Triggers when a release starts launching.",
799
+ schema: ReleasePayloadSchema
800
+ },
801
+ {
802
+ id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
803
+ name: "Sample Release",
804
+ project: {
805
+ id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
806
+ url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
807
+ },
808
+ state: "open",
809
+ autoLaunchSchedule: 12312412312,
810
+ autoLaunchScheduleTimeZone: "America/New_York",
811
+ edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
812
+ api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
813
+ }
814
+ );
815
+ var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
816
+
754
817
  // src/release/release.launched.ts
755
818
  var ReleaseLaunchedDefinition = definition(
756
819
  {
@@ -776,12 +839,13 @@ var ReleaseLaunchedDefinition = definition(
776
839
  var ReleaseLaunchedEventName = ReleaseLaunchedDefinition["event"];
777
840
 
778
841
  // src/release/release.launchstarted.ts
779
- var ReleaseLaunchStartedDefinition = definition(
842
+ var ArchivedReleaseLaunchStartedDefinition = definition(
780
843
  {
781
844
  event: "release.launchstarted",
782
845
  name: "Release Launch Started",
783
846
  description: "Triggers when a release starts launching.",
784
- schema: ReleasePayloadSchema
847
+ schema: ReleasePayloadSchema,
848
+ archived: true
785
849
  },
786
850
  {
787
851
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -797,9 +861,9 @@ var ReleaseLaunchStartedDefinition = definition(
797
861
  api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
798
862
  }
799
863
  );
800
- var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
801
864
  // Annotate the CommonJS export names for ESM import in node:
802
865
  0 && (module.exports = {
866
+ ArchivedReleaseLaunchStartedDefinition,
803
867
  CompositionChangedDefinition,
804
868
  CompositionChangedEventName,
805
869
  CompositionDeletePayloadSchema,
@@ -814,6 +878,7 @@ var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
814
878
  CompositionReleaseDeletedEventName,
815
879
  CompositionReleasePublishedDefinition,
816
880
  CompositionReleasePublishedEventName,
881
+ CompositionTriggerPayloadSchema,
817
882
  EntryChangedDefinition,
818
883
  EntryChangedEventName,
819
884
  EntryDeletePayloadSchema,
@@ -828,6 +893,7 @@ var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
828
893
  EntryReleaseDeletedEventName,
829
894
  EntryReleasePublishedDefinition,
830
895
  EntryReleasePublishedEventName,
896
+ EntryTriggerPayloadSchema,
831
897
  ManifestPublishedDefinition,
832
898
  ManifestPublishedEventName,
833
899
  ProjectMapDeleteDefinition,
package/dist/index.mjs CHANGED
@@ -10,6 +10,12 @@ var CompositionCorePayloadSchema = z.object({
10
10
  url: z.string()
11
11
  })
12
12
  });
13
+ var CompositionTriggerPayloadSchema = z.object({
14
+ trigger: z.object({
15
+ type: z.enum(["release"]),
16
+ id: z.string()
17
+ }).optional()
18
+ });
13
19
  var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
14
20
  z.object({
15
21
  state: z.number().optional()
@@ -48,7 +54,7 @@ var CompositionChangedDefinition = definition(
48
54
  event: "composition.changed",
49
55
  name: "Composition Changed",
50
56
  description: "Triggers when a composition has been changed.",
51
- schema: CompositionPayloadSchema
57
+ schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
52
58
  },
53
59
  {
54
60
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -62,7 +68,11 @@ var CompositionChangedDefinition = definition(
62
68
  state: 64,
63
69
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
64
70
  api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
65
- edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
71
+ edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
72
+ trigger: {
73
+ type: "release",
74
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
75
+ }
66
76
  }
67
77
  );
68
78
  var CompositionChangedEventName = CompositionChangedDefinition["event"];
@@ -73,7 +83,7 @@ var CompositionDeletedDefinition = definition(
73
83
  event: "composition.deleted",
74
84
  name: "Composition Deleted",
75
85
  description: "Triggers when a composition has been deleted.",
76
- schema: CompositionDeletePayloadSchema
86
+ schema: CompositionDeletePayloadSchema.and(CompositionTriggerPayloadSchema)
77
87
  },
78
88
  {
79
89
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -84,6 +94,10 @@ var CompositionDeletedDefinition = definition(
84
94
  project: {
85
95
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
86
96
  url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
97
+ },
98
+ trigger: {
99
+ type: "release",
100
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
87
101
  }
88
102
  }
89
103
  );
@@ -95,7 +109,7 @@ var CompositionPublishedDefinition = definition(
95
109
  event: "composition.published",
96
110
  name: "Composition Published",
97
111
  description: "Triggers when a composition has been published.",
98
- schema: CompositionPayloadSchema
112
+ schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
99
113
  },
100
114
  {
101
115
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -109,7 +123,11 @@ var CompositionPublishedDefinition = definition(
109
123
  state: 64,
110
124
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
111
125
  api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
112
- edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
126
+ edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
127
+ trigger: {
128
+ type: "release",
129
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
130
+ }
113
131
  }
114
132
  );
115
133
  var CompositionPublishedEventName = CompositionPublishedDefinition["event"];
@@ -210,6 +228,12 @@ var EntryCorePayloadSchema = z2.object({
210
228
  url: z2.string()
211
229
  })
212
230
  });
231
+ var EntryTriggerPayloadSchema = z2.object({
232
+ trigger: z2.object({
233
+ type: z2.enum(["release"]),
234
+ id: z2.string()
235
+ }).optional()
236
+ });
213
237
  var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
214
238
  z2.object({
215
239
  state: z2.number().optional()
@@ -236,7 +260,7 @@ var EntryChangedDefinition = definition(
236
260
  event: "entry.changed",
237
261
  name: "Entry Changed",
238
262
  description: "Triggers when an entry has been changed.",
239
- schema: EntryPayloadSchema
263
+ schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
240
264
  },
241
265
  {
242
266
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -250,7 +274,11 @@ var EntryChangedDefinition = definition(
250
274
  state: 64,
251
275
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
252
276
  api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
253
- edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
277
+ edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
278
+ trigger: {
279
+ type: "release",
280
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
281
+ }
254
282
  }
255
283
  );
256
284
  var EntryChangedEventName = EntryChangedDefinition["event"];
@@ -261,7 +289,7 @@ var EntryDeletedDefinition = definition(
261
289
  event: "entry.deleted",
262
290
  name: "Entry Deleted",
263
291
  description: "Triggers when an entry has been deleted.",
264
- schema: EntryDeletePayloadSchema
292
+ schema: EntryDeletePayloadSchema.and(EntryTriggerPayloadSchema)
265
293
  },
266
294
  {
267
295
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -272,7 +300,11 @@ var EntryDeletedDefinition = definition(
272
300
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
273
301
  url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
274
302
  },
275
- state: 64
303
+ state: 64,
304
+ trigger: {
305
+ type: "release",
306
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
307
+ }
276
308
  }
277
309
  );
278
310
  var EntryDeletedEventName = EntryDeletedDefinition["event"];
@@ -283,7 +315,7 @@ var EntryPublishedDefinition = definition(
283
315
  event: "entry.published",
284
316
  name: "Entry Published",
285
317
  description: "Triggers when an entry has been published.",
286
- schema: EntryPayloadSchema
318
+ schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
287
319
  },
288
320
  {
289
321
  id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
@@ -297,7 +329,11 @@ var EntryPublishedDefinition = definition(
297
329
  state: 64,
298
330
  edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
299
331
  api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
300
- edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
332
+ edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
333
+ trigger: {
334
+ type: "release",
335
+ id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
336
+ }
301
337
  }
302
338
  );
303
339
  var EntryPublishedEventName = EntryPublishedDefinition["event"];
@@ -667,6 +703,30 @@ var ReleaseDeletedDefinition = definition(
667
703
  );
668
704
  var ReleaseDeletedEventName = ReleaseDeletedDefinition["event"];
669
705
 
706
+ // src/release/release.launch_started.ts
707
+ var ReleaseLaunchStartedDefinition = definition(
708
+ {
709
+ event: "release.launch_started",
710
+ name: "Release Launch Started",
711
+ description: "Triggers when a release starts launching.",
712
+ schema: ReleasePayloadSchema
713
+ },
714
+ {
715
+ id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
716
+ name: "Sample Release",
717
+ project: {
718
+ id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
719
+ url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
720
+ },
721
+ state: "open",
722
+ autoLaunchSchedule: 12312412312,
723
+ autoLaunchScheduleTimeZone: "America/New_York",
724
+ edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
725
+ api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
726
+ }
727
+ );
728
+ var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
729
+
670
730
  // src/release/release.launched.ts
671
731
  var ReleaseLaunchedDefinition = definition(
672
732
  {
@@ -692,12 +752,13 @@ var ReleaseLaunchedDefinition = definition(
692
752
  var ReleaseLaunchedEventName = ReleaseLaunchedDefinition["event"];
693
753
 
694
754
  // src/release/release.launchstarted.ts
695
- var ReleaseLaunchStartedDefinition = definition(
755
+ var ArchivedReleaseLaunchStartedDefinition = definition(
696
756
  {
697
757
  event: "release.launchstarted",
698
758
  name: "Release Launch Started",
699
759
  description: "Triggers when a release starts launching.",
700
- schema: ReleasePayloadSchema
760
+ schema: ReleasePayloadSchema,
761
+ archived: true
701
762
  },
702
763
  {
703
764
  id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
@@ -713,8 +774,8 @@ var ReleaseLaunchStartedDefinition = definition(
713
774
  api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
714
775
  }
715
776
  );
716
- var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
717
777
  export {
778
+ ArchivedReleaseLaunchStartedDefinition,
718
779
  CompositionChangedDefinition,
719
780
  CompositionChangedEventName,
720
781
  CompositionDeletePayloadSchema,
@@ -729,6 +790,7 @@ export {
729
790
  CompositionReleaseDeletedEventName,
730
791
  CompositionReleasePublishedDefinition,
731
792
  CompositionReleasePublishedEventName,
793
+ CompositionTriggerPayloadSchema,
732
794
  EntryChangedDefinition,
733
795
  EntryChangedEventName,
734
796
  EntryDeletePayloadSchema,
@@ -743,6 +805,7 @@ export {
743
805
  EntryReleaseDeletedEventName,
744
806
  EntryReleasePublishedDefinition,
745
807
  EntryReleasePublishedEventName,
808
+ EntryTriggerPayloadSchema,
746
809
  ManifestPublishedDefinition,
747
810
  ManifestPublishedEventName,
748
811
  ProjectMapDeleteDefinition,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/webhooks",
3
- "version": "19.128.1-alpha.9+1af0ad2d62",
3
+ "version": "19.130.0",
4
4
  "description": "Uniform Webhooks",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "1af0ad2d62257f3f8d34a8eca337dad8b6025b6e"
44
+ "gitHead": "49291a549c3e2c85acdf71d82328612df1dcafd1"
45
45
  }