@uniformdev/webhooks 20.50.2-alpha.167 → 20.50.2-alpha.180
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 +28 -692
- package/dist/index.d.ts +28 -692
- package/dist/index.esm.js +0 -45
- package/dist/index.js +0 -47
- package/dist/index.mjs +0 -45
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -73,677 +73,6 @@ declare const AssetDeletePayloadSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>;
|
|
74
74
|
type AssetPayload = z.infer<typeof AssetPayloadSchema>;
|
|
75
75
|
|
|
76
|
-
declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
|
|
77
|
-
eventType: z.ZodLiteral<EventType>;
|
|
78
|
-
} extends infer T_1 ? { -readonly [P in keyof T_1]: T_1[P]; } : never, z.core.$strip>;
|
|
79
|
-
type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
|
|
80
|
-
event: EventType;
|
|
81
|
-
name: string;
|
|
82
|
-
description: string;
|
|
83
|
-
schema: TSchema;
|
|
84
|
-
archived?: boolean;
|
|
85
|
-
};
|
|
86
|
-
type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
|
|
87
|
-
schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
|
|
88
|
-
_definition: true;
|
|
89
|
-
example: z.TypeOf<TSchema> & {
|
|
90
|
-
eventType: EventType;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
declare const isDefinition: (obj: any) => obj is Definition;
|
|
94
|
-
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>;
|
|
95
|
-
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
96
|
-
id: z.ZodString;
|
|
97
|
-
name: z.ZodOptional<z.ZodString>;
|
|
98
|
-
email: z.ZodOptional<z.ZodString>;
|
|
99
|
-
is_api_key: z.ZodBoolean;
|
|
100
|
-
}, z.core.$strict>;
|
|
101
|
-
type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
|
|
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
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
157
|
-
initiator: z.ZodObject<{
|
|
158
|
-
id: z.ZodString;
|
|
159
|
-
name: z.ZodOptional<z.ZodString>;
|
|
160
|
-
email: z.ZodOptional<z.ZodString>;
|
|
161
|
-
is_api_key: z.ZodBoolean;
|
|
162
|
-
}, z.core.$strict>;
|
|
163
|
-
state: z.ZodNumber;
|
|
164
|
-
edit_url: z.ZodString;
|
|
165
|
-
api_url: z.ZodString;
|
|
166
|
-
edge_url: z.ZodString;
|
|
167
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
168
|
-
type: z.ZodEnum<{
|
|
169
|
-
release: "release";
|
|
170
|
-
}>;
|
|
171
|
-
id: z.ZodString;
|
|
172
|
-
}, z.core.$strip>>;
|
|
173
|
-
}, z.core.$strip>, "composition.changed">;
|
|
174
|
-
readonly 'composition.deleted': Definition<z.ZodObject<{
|
|
175
|
-
id: z.ZodString;
|
|
176
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
177
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
178
|
-
name: z.ZodString;
|
|
179
|
-
type: z.ZodString;
|
|
180
|
-
project: z.ZodObject<{
|
|
181
|
-
id: z.ZodString;
|
|
182
|
-
url: z.ZodString;
|
|
183
|
-
}, z.core.$strip>;
|
|
184
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
185
|
-
initiator: z.ZodObject<{
|
|
186
|
-
id: z.ZodString;
|
|
187
|
-
name: z.ZodOptional<z.ZodString>;
|
|
188
|
-
email: z.ZodOptional<z.ZodString>;
|
|
189
|
-
is_api_key: z.ZodBoolean;
|
|
190
|
-
}, z.core.$strict>;
|
|
191
|
-
state: z.ZodOptional<z.ZodNumber>;
|
|
192
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
193
|
-
type: z.ZodEnum<{
|
|
194
|
-
release: "release";
|
|
195
|
-
}>;
|
|
196
|
-
id: z.ZodString;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
|
-
}, z.core.$strip>, "composition.deleted">;
|
|
199
|
-
readonly 'composition.published': Definition<z.ZodObject<{
|
|
200
|
-
id: z.ZodString;
|
|
201
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
202
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
203
|
-
name: z.ZodString;
|
|
204
|
-
type: z.ZodString;
|
|
205
|
-
project: z.ZodObject<{
|
|
206
|
-
id: z.ZodString;
|
|
207
|
-
url: z.ZodString;
|
|
208
|
-
}, z.core.$strip>;
|
|
209
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
210
|
-
initiator: z.ZodObject<{
|
|
211
|
-
id: z.ZodString;
|
|
212
|
-
name: z.ZodOptional<z.ZodString>;
|
|
213
|
-
email: z.ZodOptional<z.ZodString>;
|
|
214
|
-
is_api_key: z.ZodBoolean;
|
|
215
|
-
}, z.core.$strict>;
|
|
216
|
-
state: z.ZodNumber;
|
|
217
|
-
edit_url: z.ZodString;
|
|
218
|
-
api_url: z.ZodString;
|
|
219
|
-
edge_url: z.ZodString;
|
|
220
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
221
|
-
type: z.ZodEnum<{
|
|
222
|
-
release: "release";
|
|
223
|
-
}>;
|
|
224
|
-
id: z.ZodString;
|
|
225
|
-
}, z.core.$strip>>;
|
|
226
|
-
}, z.core.$strip>, "composition.published">;
|
|
227
|
-
readonly 'composition.release.changed': Definition<z.ZodObject<{
|
|
228
|
-
id: z.ZodString;
|
|
229
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
230
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
231
|
-
name: z.ZodString;
|
|
232
|
-
type: z.ZodString;
|
|
233
|
-
project: z.ZodObject<{
|
|
234
|
-
id: z.ZodString;
|
|
235
|
-
url: z.ZodString;
|
|
236
|
-
}, z.core.$strip>;
|
|
237
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
238
|
-
initiator: z.ZodObject<{
|
|
239
|
-
id: z.ZodString;
|
|
240
|
-
name: z.ZodOptional<z.ZodString>;
|
|
241
|
-
email: z.ZodOptional<z.ZodString>;
|
|
242
|
-
is_api_key: z.ZodBoolean;
|
|
243
|
-
}, z.core.$strict>;
|
|
244
|
-
state: z.ZodNumber;
|
|
245
|
-
edit_url: z.ZodString;
|
|
246
|
-
api_url: z.ZodString;
|
|
247
|
-
edge_url: z.ZodString;
|
|
248
|
-
release: z.ZodObject<{
|
|
249
|
-
id: z.ZodString;
|
|
250
|
-
url: z.ZodString;
|
|
251
|
-
}, z.core.$strip>;
|
|
252
|
-
}, z.core.$strip>, "composition.release.changed">;
|
|
253
|
-
readonly 'composition.release.deleted': Definition<z.ZodObject<{
|
|
254
|
-
id: z.ZodString;
|
|
255
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
256
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
257
|
-
name: z.ZodString;
|
|
258
|
-
type: z.ZodString;
|
|
259
|
-
project: z.ZodObject<{
|
|
260
|
-
id: z.ZodString;
|
|
261
|
-
url: z.ZodString;
|
|
262
|
-
}, z.core.$strip>;
|
|
263
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
264
|
-
initiator: z.ZodObject<{
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
name: z.ZodOptional<z.ZodString>;
|
|
267
|
-
email: z.ZodOptional<z.ZodString>;
|
|
268
|
-
is_api_key: z.ZodBoolean;
|
|
269
|
-
}, z.core.$strict>;
|
|
270
|
-
state: z.ZodOptional<z.ZodNumber>;
|
|
271
|
-
release: z.ZodObject<{
|
|
272
|
-
id: z.ZodString;
|
|
273
|
-
url: z.ZodString;
|
|
274
|
-
}, z.core.$strip>;
|
|
275
|
-
}, z.core.$strip>, "composition.release.deleted">;
|
|
276
|
-
readonly 'composition.release.published': Definition<z.ZodObject<{
|
|
277
|
-
id: z.ZodString;
|
|
278
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
279
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
280
|
-
name: z.ZodString;
|
|
281
|
-
type: z.ZodString;
|
|
282
|
-
project: z.ZodObject<{
|
|
283
|
-
id: z.ZodString;
|
|
284
|
-
url: z.ZodString;
|
|
285
|
-
}, z.core.$strip>;
|
|
286
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
287
|
-
initiator: z.ZodObject<{
|
|
288
|
-
id: z.ZodString;
|
|
289
|
-
name: z.ZodOptional<z.ZodString>;
|
|
290
|
-
email: z.ZodOptional<z.ZodString>;
|
|
291
|
-
is_api_key: z.ZodBoolean;
|
|
292
|
-
}, z.core.$strict>;
|
|
293
|
-
state: z.ZodNumber;
|
|
294
|
-
edit_url: z.ZodString;
|
|
295
|
-
api_url: z.ZodString;
|
|
296
|
-
edge_url: z.ZodString;
|
|
297
|
-
release: z.ZodObject<{
|
|
298
|
-
id: z.ZodString;
|
|
299
|
-
url: z.ZodString;
|
|
300
|
-
}, z.core.$strip>;
|
|
301
|
-
}, z.core.$strip>, "composition.release.published">;
|
|
302
|
-
readonly 'composition.release.restored': Definition<z.ZodObject<{
|
|
303
|
-
id: z.ZodString;
|
|
304
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
305
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
306
|
-
name: z.ZodString;
|
|
307
|
-
type: z.ZodString;
|
|
308
|
-
project: z.ZodObject<{
|
|
309
|
-
id: z.ZodString;
|
|
310
|
-
url: z.ZodString;
|
|
311
|
-
}, z.core.$strip>;
|
|
312
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
313
|
-
initiator: z.ZodObject<{
|
|
314
|
-
id: z.ZodString;
|
|
315
|
-
name: z.ZodOptional<z.ZodString>;
|
|
316
|
-
email: z.ZodOptional<z.ZodString>;
|
|
317
|
-
is_api_key: z.ZodBoolean;
|
|
318
|
-
}, z.core.$strict>;
|
|
319
|
-
state: z.ZodNumber;
|
|
320
|
-
release: z.ZodObject<{
|
|
321
|
-
id: z.ZodString;
|
|
322
|
-
url: z.ZodString;
|
|
323
|
-
}, z.core.$strip>;
|
|
324
|
-
}, z.core.$strip>, "composition.release.restored">;
|
|
325
|
-
readonly 'entry.changed': Definition<z.ZodObject<{
|
|
326
|
-
id: z.ZodString;
|
|
327
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
328
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
329
|
-
name: z.ZodString;
|
|
330
|
-
type: z.ZodString;
|
|
331
|
-
project: z.ZodObject<{
|
|
332
|
-
id: z.ZodString;
|
|
333
|
-
url: z.ZodString;
|
|
334
|
-
}, z.core.$strip>;
|
|
335
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
336
|
-
initiator: z.ZodObject<{
|
|
337
|
-
id: z.ZodString;
|
|
338
|
-
name: z.ZodOptional<z.ZodString>;
|
|
339
|
-
email: z.ZodOptional<z.ZodString>;
|
|
340
|
-
is_api_key: z.ZodBoolean;
|
|
341
|
-
}, z.core.$strict>;
|
|
342
|
-
state: z.ZodNumber;
|
|
343
|
-
edit_url: z.ZodString;
|
|
344
|
-
api_url: z.ZodString;
|
|
345
|
-
edge_url: z.ZodString;
|
|
346
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
347
|
-
type: z.ZodEnum<{
|
|
348
|
-
release: "release";
|
|
349
|
-
}>;
|
|
350
|
-
id: z.ZodString;
|
|
351
|
-
}, z.core.$strip>>;
|
|
352
|
-
}, z.core.$strip>, "entry.changed">;
|
|
353
|
-
readonly 'entry.deleted': Definition<z.ZodObject<{
|
|
354
|
-
id: z.ZodString;
|
|
355
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
356
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
357
|
-
name: z.ZodString;
|
|
358
|
-
type: z.ZodString;
|
|
359
|
-
project: z.ZodObject<{
|
|
360
|
-
id: z.ZodString;
|
|
361
|
-
url: z.ZodString;
|
|
362
|
-
}, z.core.$strip>;
|
|
363
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
364
|
-
initiator: z.ZodObject<{
|
|
365
|
-
id: z.ZodString;
|
|
366
|
-
name: z.ZodOptional<z.ZodString>;
|
|
367
|
-
email: z.ZodOptional<z.ZodString>;
|
|
368
|
-
is_api_key: z.ZodBoolean;
|
|
369
|
-
}, z.core.$strict>;
|
|
370
|
-
state: z.ZodOptional<z.ZodNumber>;
|
|
371
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
372
|
-
type: z.ZodEnum<{
|
|
373
|
-
release: "release";
|
|
374
|
-
}>;
|
|
375
|
-
id: z.ZodString;
|
|
376
|
-
}, z.core.$strip>>;
|
|
377
|
-
}, z.core.$strip>, "entry.deleted">;
|
|
378
|
-
readonly 'entry.published': Definition<z.ZodObject<{
|
|
379
|
-
id: z.ZodString;
|
|
380
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
381
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
382
|
-
name: z.ZodString;
|
|
383
|
-
type: z.ZodString;
|
|
384
|
-
project: z.ZodObject<{
|
|
385
|
-
id: z.ZodString;
|
|
386
|
-
url: z.ZodString;
|
|
387
|
-
}, z.core.$strip>;
|
|
388
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
389
|
-
initiator: z.ZodObject<{
|
|
390
|
-
id: z.ZodString;
|
|
391
|
-
name: z.ZodOptional<z.ZodString>;
|
|
392
|
-
email: z.ZodOptional<z.ZodString>;
|
|
393
|
-
is_api_key: z.ZodBoolean;
|
|
394
|
-
}, z.core.$strict>;
|
|
395
|
-
state: z.ZodNumber;
|
|
396
|
-
edit_url: z.ZodString;
|
|
397
|
-
api_url: z.ZodString;
|
|
398
|
-
edge_url: z.ZodString;
|
|
399
|
-
trigger: z.ZodOptional<z.ZodObject<{
|
|
400
|
-
type: z.ZodEnum<{
|
|
401
|
-
release: "release";
|
|
402
|
-
}>;
|
|
403
|
-
id: z.ZodString;
|
|
404
|
-
}, z.core.$strip>>;
|
|
405
|
-
}, z.core.$strip>, "entry.published">;
|
|
406
|
-
readonly 'entry.release.changed': Definition<z.ZodObject<{
|
|
407
|
-
id: z.ZodString;
|
|
408
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
409
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
410
|
-
name: z.ZodString;
|
|
411
|
-
type: z.ZodString;
|
|
412
|
-
project: z.ZodObject<{
|
|
413
|
-
id: z.ZodString;
|
|
414
|
-
url: z.ZodString;
|
|
415
|
-
}, z.core.$strip>;
|
|
416
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
417
|
-
initiator: z.ZodObject<{
|
|
418
|
-
id: z.ZodString;
|
|
419
|
-
name: z.ZodOptional<z.ZodString>;
|
|
420
|
-
email: z.ZodOptional<z.ZodString>;
|
|
421
|
-
is_api_key: z.ZodBoolean;
|
|
422
|
-
}, z.core.$strict>;
|
|
423
|
-
state: z.ZodNumber;
|
|
424
|
-
edit_url: z.ZodString;
|
|
425
|
-
api_url: z.ZodString;
|
|
426
|
-
edge_url: z.ZodString;
|
|
427
|
-
release: z.ZodObject<{
|
|
428
|
-
id: z.ZodString;
|
|
429
|
-
url: z.ZodString;
|
|
430
|
-
}, z.core.$strip>;
|
|
431
|
-
}, z.core.$strip>, "entry.release.changed">;
|
|
432
|
-
readonly 'entry.release.deleted': Definition<z.ZodObject<{
|
|
433
|
-
id: z.ZodString;
|
|
434
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
435
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
436
|
-
name: z.ZodString;
|
|
437
|
-
type: z.ZodString;
|
|
438
|
-
project: z.ZodObject<{
|
|
439
|
-
id: z.ZodString;
|
|
440
|
-
url: z.ZodString;
|
|
441
|
-
}, z.core.$strip>;
|
|
442
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
443
|
-
initiator: z.ZodObject<{
|
|
444
|
-
id: z.ZodString;
|
|
445
|
-
name: z.ZodOptional<z.ZodString>;
|
|
446
|
-
email: z.ZodOptional<z.ZodString>;
|
|
447
|
-
is_api_key: z.ZodBoolean;
|
|
448
|
-
}, z.core.$strict>;
|
|
449
|
-
state: z.ZodOptional<z.ZodNumber>;
|
|
450
|
-
release: z.ZodObject<{
|
|
451
|
-
id: z.ZodString;
|
|
452
|
-
url: z.ZodString;
|
|
453
|
-
}, z.core.$strip>;
|
|
454
|
-
}, z.core.$strip>, "entry.release.deleted">;
|
|
455
|
-
readonly 'entry.release.published': Definition<z.ZodObject<{
|
|
456
|
-
id: z.ZodString;
|
|
457
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
458
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
459
|
-
name: z.ZodString;
|
|
460
|
-
type: z.ZodString;
|
|
461
|
-
project: z.ZodObject<{
|
|
462
|
-
id: z.ZodString;
|
|
463
|
-
url: z.ZodString;
|
|
464
|
-
}, z.core.$strip>;
|
|
465
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
466
|
-
initiator: z.ZodObject<{
|
|
467
|
-
id: z.ZodString;
|
|
468
|
-
name: z.ZodOptional<z.ZodString>;
|
|
469
|
-
email: z.ZodOptional<z.ZodString>;
|
|
470
|
-
is_api_key: z.ZodBoolean;
|
|
471
|
-
}, z.core.$strict>;
|
|
472
|
-
state: z.ZodNumber;
|
|
473
|
-
edit_url: z.ZodString;
|
|
474
|
-
api_url: z.ZodString;
|
|
475
|
-
edge_url: z.ZodString;
|
|
476
|
-
release: z.ZodObject<{
|
|
477
|
-
id: z.ZodString;
|
|
478
|
-
url: z.ZodString;
|
|
479
|
-
}, z.core.$strip>;
|
|
480
|
-
}, z.core.$strip>, "entry.release.published">;
|
|
481
|
-
readonly 'entry.release.restored': Definition<z.ZodObject<{
|
|
482
|
-
id: z.ZodString;
|
|
483
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
484
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
485
|
-
name: z.ZodString;
|
|
486
|
-
type: z.ZodString;
|
|
487
|
-
project: z.ZodObject<{
|
|
488
|
-
id: z.ZodString;
|
|
489
|
-
url: z.ZodString;
|
|
490
|
-
}, z.core.$strip>;
|
|
491
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
492
|
-
initiator: z.ZodObject<{
|
|
493
|
-
id: z.ZodString;
|
|
494
|
-
name: z.ZodOptional<z.ZodString>;
|
|
495
|
-
email: z.ZodOptional<z.ZodString>;
|
|
496
|
-
is_api_key: z.ZodBoolean;
|
|
497
|
-
}, z.core.$strict>;
|
|
498
|
-
state: z.ZodNumber;
|
|
499
|
-
release: z.ZodObject<{
|
|
500
|
-
id: z.ZodString;
|
|
501
|
-
url: z.ZodString;
|
|
502
|
-
}, z.core.$strip>;
|
|
503
|
-
}, z.core.$strip>, "entry.release.restored">;
|
|
504
|
-
readonly 'manifest.published': Definition<z.ZodObject<{
|
|
505
|
-
timestamp: z.ZodString;
|
|
506
|
-
site: z.ZodObject<{
|
|
507
|
-
id: z.ZodString;
|
|
508
|
-
name: z.ZodString;
|
|
509
|
-
}, z.core.$strip>;
|
|
510
|
-
}, z.core.$strip>, "manifest.published">;
|
|
511
|
-
readonly 'projectmap.delete': Definition<z.ZodObject<{
|
|
512
|
-
id: z.ZodString;
|
|
513
|
-
base_url: z.ZodOptional<z.ZodString>;
|
|
514
|
-
project_id: z.ZodString;
|
|
515
|
-
}, z.core.$strip>, "projectmap.delete">;
|
|
516
|
-
readonly 'projectmap.node.delete': Definition<z.ZodObject<{
|
|
517
|
-
project_id: z.ZodString;
|
|
518
|
-
project_map_id: z.ZodString;
|
|
519
|
-
name: z.ZodString;
|
|
520
|
-
id: z.ZodString;
|
|
521
|
-
path: z.ZodString;
|
|
522
|
-
composition_id: z.ZodOptional<z.ZodString>;
|
|
523
|
-
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
524
|
-
name: z.ZodString;
|
|
525
|
-
inherited: z.ZodBoolean;
|
|
526
|
-
path: z.ZodString;
|
|
527
|
-
}, z.core.$strip>>>;
|
|
528
|
-
initiator: z.ZodObject<{
|
|
529
|
-
id: z.ZodString;
|
|
530
|
-
name: z.ZodOptional<z.ZodString>;
|
|
531
|
-
email: z.ZodOptional<z.ZodString>;
|
|
532
|
-
is_api_key: z.ZodBoolean;
|
|
533
|
-
}, z.core.$strict>;
|
|
534
|
-
}, z.core.$strip>, "projectmap.node.delete">;
|
|
535
|
-
readonly 'projectmap.node.insert': Definition<z.ZodObject<{
|
|
536
|
-
id: z.ZodString;
|
|
537
|
-
name: z.ZodString;
|
|
538
|
-
project_map_id: z.ZodString;
|
|
539
|
-
project_id: z.ZodString;
|
|
540
|
-
path: z.ZodString;
|
|
541
|
-
composition_id: z.ZodOptional<z.ZodString>;
|
|
542
|
-
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
543
|
-
name: z.ZodString;
|
|
544
|
-
inherited: z.ZodBoolean;
|
|
545
|
-
path: z.ZodString;
|
|
546
|
-
}, z.core.$strip>>>;
|
|
547
|
-
initiator: z.ZodObject<{
|
|
548
|
-
id: z.ZodString;
|
|
549
|
-
name: z.ZodOptional<z.ZodString>;
|
|
550
|
-
email: z.ZodOptional<z.ZodString>;
|
|
551
|
-
is_api_key: z.ZodBoolean;
|
|
552
|
-
}, z.core.$strict>;
|
|
553
|
-
}, z.core.$strip>, "projectmap.node.insert">;
|
|
554
|
-
readonly 'projectmap.node.update': Definition<z.ZodObject<{
|
|
555
|
-
id: z.ZodString;
|
|
556
|
-
name: z.ZodString;
|
|
557
|
-
project_map_id: z.ZodString;
|
|
558
|
-
project_id: z.ZodString;
|
|
559
|
-
path: z.ZodString;
|
|
560
|
-
composition_id: z.ZodOptional<z.ZodString>;
|
|
561
|
-
previous_path: z.ZodString;
|
|
562
|
-
locales: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
563
|
-
name: z.ZodString;
|
|
564
|
-
inherited: z.ZodBoolean;
|
|
565
|
-
path: z.ZodString;
|
|
566
|
-
previous_path: z.ZodString;
|
|
567
|
-
}, z.core.$strip>>>;
|
|
568
|
-
initiator: z.ZodObject<{
|
|
569
|
-
id: z.ZodString;
|
|
570
|
-
name: z.ZodOptional<z.ZodString>;
|
|
571
|
-
email: z.ZodOptional<z.ZodString>;
|
|
572
|
-
is_api_key: z.ZodBoolean;
|
|
573
|
-
}, z.core.$strict>;
|
|
574
|
-
}, z.core.$strip>, "projectmap.node.update">;
|
|
575
|
-
readonly 'projectmap.update': Definition<z.ZodObject<{
|
|
576
|
-
id: z.ZodString;
|
|
577
|
-
base_url: z.ZodOptional<z.ZodString>;
|
|
578
|
-
project_id: z.ZodString;
|
|
579
|
-
initiator: z.ZodObject<{
|
|
580
|
-
id: z.ZodString;
|
|
581
|
-
name: z.ZodOptional<z.ZodString>;
|
|
582
|
-
email: z.ZodOptional<z.ZodString>;
|
|
583
|
-
is_api_key: z.ZodBoolean;
|
|
584
|
-
}, z.core.$strict>;
|
|
585
|
-
}, z.core.$strip>, "projectmap.update">;
|
|
586
|
-
readonly 'redirect.delete': Definition<z.ZodObject<{
|
|
587
|
-
project_id: z.ZodString;
|
|
588
|
-
id: z.ZodString;
|
|
589
|
-
source_url: z.ZodString;
|
|
590
|
-
target_url: z.ZodString;
|
|
591
|
-
target_status_code: z.ZodNumber;
|
|
592
|
-
initiator: z.ZodObject<{
|
|
593
|
-
id: z.ZodString;
|
|
594
|
-
name: z.ZodOptional<z.ZodString>;
|
|
595
|
-
email: z.ZodOptional<z.ZodString>;
|
|
596
|
-
is_api_key: z.ZodBoolean;
|
|
597
|
-
}, z.core.$strict>;
|
|
598
|
-
}, z.core.$strip>, "redirect.delete">;
|
|
599
|
-
readonly 'redirect.insert': Definition<z.ZodObject<{
|
|
600
|
-
project_id: z.ZodString;
|
|
601
|
-
id: z.ZodString;
|
|
602
|
-
source_url: z.ZodString;
|
|
603
|
-
target_url: z.ZodString;
|
|
604
|
-
target_status_code: z.ZodNumber;
|
|
605
|
-
initiator: z.ZodObject<{
|
|
606
|
-
id: z.ZodString;
|
|
607
|
-
name: z.ZodOptional<z.ZodString>;
|
|
608
|
-
email: z.ZodOptional<z.ZodString>;
|
|
609
|
-
is_api_key: z.ZodBoolean;
|
|
610
|
-
}, z.core.$strict>;
|
|
611
|
-
}, z.core.$strip>, "redirect.insert">;
|
|
612
|
-
readonly 'redirect.update': Definition<z.ZodObject<{
|
|
613
|
-
project_id: z.ZodString;
|
|
614
|
-
id: z.ZodString;
|
|
615
|
-
source_url: z.ZodString;
|
|
616
|
-
target_url: z.ZodString;
|
|
617
|
-
target_status_code: z.ZodNumber;
|
|
618
|
-
initiator: z.ZodObject<{
|
|
619
|
-
id: z.ZodString;
|
|
620
|
-
name: z.ZodOptional<z.ZodString>;
|
|
621
|
-
email: z.ZodOptional<z.ZodString>;
|
|
622
|
-
is_api_key: z.ZodBoolean;
|
|
623
|
-
}, z.core.$strict>;
|
|
624
|
-
}, z.core.$strip>, "redirect.update">;
|
|
625
|
-
readonly 'release.changed': Definition<z.ZodObject<{
|
|
626
|
-
id: z.ZodString;
|
|
627
|
-
state: z.ZodEnum<{
|
|
628
|
-
open: "open";
|
|
629
|
-
locked: "locked";
|
|
630
|
-
queued: "queued";
|
|
631
|
-
launching: "launching";
|
|
632
|
-
launched: "launched";
|
|
633
|
-
deleting: "deleting";
|
|
634
|
-
}>;
|
|
635
|
-
name: z.ZodString;
|
|
636
|
-
project: z.ZodObject<{
|
|
637
|
-
id: z.ZodString;
|
|
638
|
-
url: z.ZodString;
|
|
639
|
-
}, z.core.$strip>;
|
|
640
|
-
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
641
|
-
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
642
|
-
edit_url: z.ZodString;
|
|
643
|
-
api_url: z.ZodString;
|
|
644
|
-
}, z.core.$strip>, "release.changed">;
|
|
645
|
-
readonly 'release.deleted': Definition<z.ZodObject<{
|
|
646
|
-
name: z.ZodString;
|
|
647
|
-
id: z.ZodString;
|
|
648
|
-
project: z.ZodObject<{
|
|
649
|
-
id: z.ZodString;
|
|
650
|
-
url: z.ZodString;
|
|
651
|
-
}, z.core.$strip>;
|
|
652
|
-
state: z.ZodEnum<{
|
|
653
|
-
open: "open";
|
|
654
|
-
locked: "locked";
|
|
655
|
-
queued: "queued";
|
|
656
|
-
launching: "launching";
|
|
657
|
-
launched: "launched";
|
|
658
|
-
deleting: "deleting";
|
|
659
|
-
}>;
|
|
660
|
-
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
661
|
-
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
662
|
-
}, z.core.$strip>, "release.deleted">;
|
|
663
|
-
readonly 'release.launch_started': Definition<z.ZodObject<{
|
|
664
|
-
id: z.ZodString;
|
|
665
|
-
state: z.ZodEnum<{
|
|
666
|
-
open: "open";
|
|
667
|
-
locked: "locked";
|
|
668
|
-
queued: "queued";
|
|
669
|
-
launching: "launching";
|
|
670
|
-
launched: "launched";
|
|
671
|
-
deleting: "deleting";
|
|
672
|
-
}>;
|
|
673
|
-
name: z.ZodString;
|
|
674
|
-
project: z.ZodObject<{
|
|
675
|
-
id: z.ZodString;
|
|
676
|
-
url: z.ZodString;
|
|
677
|
-
}, z.core.$strip>;
|
|
678
|
-
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
679
|
-
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
680
|
-
edit_url: z.ZodString;
|
|
681
|
-
api_url: z.ZodString;
|
|
682
|
-
}, z.core.$strip>, "release.launch_started">;
|
|
683
|
-
readonly 'release.launched': Definition<z.ZodObject<{
|
|
684
|
-
id: z.ZodString;
|
|
685
|
-
state: z.ZodEnum<{
|
|
686
|
-
open: "open";
|
|
687
|
-
locked: "locked";
|
|
688
|
-
queued: "queued";
|
|
689
|
-
launching: "launching";
|
|
690
|
-
launched: "launched";
|
|
691
|
-
deleting: "deleting";
|
|
692
|
-
}>;
|
|
693
|
-
name: z.ZodString;
|
|
694
|
-
project: z.ZodObject<{
|
|
695
|
-
id: z.ZodString;
|
|
696
|
-
url: z.ZodString;
|
|
697
|
-
}, z.core.$strip>;
|
|
698
|
-
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
699
|
-
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
700
|
-
edit_url: z.ZodString;
|
|
701
|
-
api_url: z.ZodString;
|
|
702
|
-
}, z.core.$strip>, "release.launched">;
|
|
703
|
-
readonly 'workflow.transition': Definition<z.ZodObject<{
|
|
704
|
-
entity: z.ZodObject<{
|
|
705
|
-
type: z.ZodEnum<{
|
|
706
|
-
entry: "entry";
|
|
707
|
-
component: "component";
|
|
708
|
-
}>;
|
|
709
|
-
name: z.ZodString;
|
|
710
|
-
id: z.ZodString;
|
|
711
|
-
editionId: z.ZodOptional<z.ZodString>;
|
|
712
|
-
releaseId: z.ZodOptional<z.ZodString>;
|
|
713
|
-
url: z.ZodString;
|
|
714
|
-
}, z.core.$strict>;
|
|
715
|
-
newStage: z.ZodObject<{
|
|
716
|
-
workflowId: z.ZodString;
|
|
717
|
-
workflowName: z.ZodString;
|
|
718
|
-
stageId: z.ZodString;
|
|
719
|
-
stageName: z.ZodString;
|
|
720
|
-
}, z.core.$strict>;
|
|
721
|
-
previousStage: z.ZodOptional<z.ZodObject<{
|
|
722
|
-
workflowId: z.ZodString;
|
|
723
|
-
workflowName: z.ZodString;
|
|
724
|
-
stageId: z.ZodString;
|
|
725
|
-
stageName: z.ZodString;
|
|
726
|
-
}, z.core.$strict>>;
|
|
727
|
-
initiator: z.ZodObject<{
|
|
728
|
-
id: z.ZodString;
|
|
729
|
-
name: z.ZodOptional<z.ZodString>;
|
|
730
|
-
email: z.ZodOptional<z.ZodString>;
|
|
731
|
-
is_api_key: z.ZodBoolean;
|
|
732
|
-
}, z.core.$strict>;
|
|
733
|
-
timestamp: z.ZodString;
|
|
734
|
-
project: z.ZodObject<{
|
|
735
|
-
id: z.ZodString;
|
|
736
|
-
url: z.ZodString;
|
|
737
|
-
}, z.core.$strip>;
|
|
738
|
-
}, z.core.$strict>, "workflow.transition">;
|
|
739
|
-
};
|
|
740
|
-
/** Any valid internal webhook event name from the {@link webhookEventCatalog}. */
|
|
741
|
-
type WebhookEventName = keyof typeof webhookEventCatalog;
|
|
742
|
-
/** The payload type delivered for a given webhook event name. */
|
|
743
|
-
type WebhookPayloadFor<E extends WebhookEventName> = z.infer<(typeof webhookEventCatalog)[E]['schema']>;
|
|
744
|
-
/** All webhook event names, as a runtime array (catalog key order). */
|
|
745
|
-
declare const webhookEventNames: WebhookEventName[];
|
|
746
|
-
|
|
747
76
|
declare const CompositionTriggerPayloadSchema: z.ZodObject<{
|
|
748
77
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
749
78
|
type: z.ZodEnum<{
|
|
@@ -762,7 +91,6 @@ declare const CompositionDeletePayloadSchema: z.ZodObject<{
|
|
|
762
91
|
id: z.ZodString;
|
|
763
92
|
url: z.ZodString;
|
|
764
93
|
}, z.core.$strip>;
|
|
765
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
766
94
|
initiator: z.ZodObject<{
|
|
767
95
|
id: z.ZodString;
|
|
768
96
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -781,7 +109,6 @@ declare const CompositionRestorePayloadSchema: z.ZodObject<{
|
|
|
781
109
|
id: z.ZodString;
|
|
782
110
|
url: z.ZodString;
|
|
783
111
|
}, z.core.$strip>;
|
|
784
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
785
112
|
initiator: z.ZodObject<{
|
|
786
113
|
id: z.ZodString;
|
|
787
114
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -800,7 +127,6 @@ declare const CompositionPayloadSchema: z.ZodObject<{
|
|
|
800
127
|
id: z.ZodString;
|
|
801
128
|
url: z.ZodString;
|
|
802
129
|
}, z.core.$strip>;
|
|
803
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
804
130
|
initiator: z.ZodObject<{
|
|
805
131
|
id: z.ZodString;
|
|
806
132
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -831,7 +157,6 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
|
831
157
|
id: z.ZodString;
|
|
832
158
|
url: z.ZodString;
|
|
833
159
|
}, z.core.$strip>;
|
|
834
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
835
160
|
initiator: z.ZodObject<{
|
|
836
161
|
id: z.ZodString;
|
|
837
162
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -862,7 +187,6 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
|
862
187
|
id: z.ZodString;
|
|
863
188
|
url: z.ZodString;
|
|
864
189
|
}, z.core.$strip>;
|
|
865
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
866
190
|
initiator: z.ZodObject<{
|
|
867
191
|
id: z.ZodString;
|
|
868
192
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -890,7 +214,6 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
|
890
214
|
id: z.ZodString;
|
|
891
215
|
url: z.ZodString;
|
|
892
216
|
}, z.core.$strip>;
|
|
893
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
894
217
|
initiator: z.ZodObject<{
|
|
895
218
|
id: z.ZodString;
|
|
896
219
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -921,7 +244,6 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
921
244
|
id: z.ZodString;
|
|
922
245
|
url: z.ZodString;
|
|
923
246
|
}, z.core.$strip>;
|
|
924
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
925
247
|
initiator: z.ZodObject<{
|
|
926
248
|
id: z.ZodString;
|
|
927
249
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -950,7 +272,6 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
950
272
|
id: z.ZodString;
|
|
951
273
|
url: z.ZodString;
|
|
952
274
|
}, z.core.$strip>;
|
|
953
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
954
275
|
initiator: z.ZodObject<{
|
|
955
276
|
id: z.ZodString;
|
|
956
277
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -976,7 +297,6 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
976
297
|
id: z.ZodString;
|
|
977
298
|
url: z.ZodString;
|
|
978
299
|
}, z.core.$strip>;
|
|
979
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
980
300
|
initiator: z.ZodObject<{
|
|
981
301
|
id: z.ZodString;
|
|
982
302
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1005,7 +325,6 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
1005
325
|
id: z.ZodString;
|
|
1006
326
|
url: z.ZodString;
|
|
1007
327
|
}, z.core.$strip>;
|
|
1008
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1009
328
|
initiator: z.ZodObject<{
|
|
1010
329
|
id: z.ZodString;
|
|
1011
330
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1021,6 +340,33 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
1021
340
|
type CompositionReleaseRestoredPayload = z.infer<(typeof CompositionReleaseRestoredDefinition)['schema']>;
|
|
1022
341
|
declare const CompositionReleaseRestoredEventName: "composition.release.restored";
|
|
1023
342
|
|
|
343
|
+
declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
|
|
344
|
+
eventType: z.ZodLiteral<EventType>;
|
|
345
|
+
} extends infer T_1 ? { -readonly [P in keyof T_1]: T_1[P]; } : never, z.core.$strip>;
|
|
346
|
+
type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
|
|
347
|
+
event: EventType;
|
|
348
|
+
name: string;
|
|
349
|
+
description: string;
|
|
350
|
+
schema: TSchema;
|
|
351
|
+
archived?: boolean;
|
|
352
|
+
};
|
|
353
|
+
type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
|
|
354
|
+
schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
|
|
355
|
+
_definition: true;
|
|
356
|
+
example: z.TypeOf<TSchema> & {
|
|
357
|
+
eventType: EventType;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
declare const isDefinition: (obj: any) => obj is Definition;
|
|
361
|
+
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>;
|
|
362
|
+
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
363
|
+
id: z.ZodString;
|
|
364
|
+
name: z.ZodOptional<z.ZodString>;
|
|
365
|
+
email: z.ZodOptional<z.ZodString>;
|
|
366
|
+
is_api_key: z.ZodBoolean;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
|
|
369
|
+
|
|
1024
370
|
declare const EntryTriggerPayloadSchema: z.ZodObject<{
|
|
1025
371
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1026
372
|
type: z.ZodEnum<{
|
|
@@ -1039,7 +385,6 @@ declare const EntryDeletePayloadSchema: z.ZodObject<{
|
|
|
1039
385
|
id: z.ZodString;
|
|
1040
386
|
url: z.ZodString;
|
|
1041
387
|
}, z.core.$strip>;
|
|
1042
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1043
388
|
initiator: z.ZodObject<{
|
|
1044
389
|
id: z.ZodString;
|
|
1045
390
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1058,7 +403,6 @@ declare const EntryRestorePayloadSchema: z.ZodObject<{
|
|
|
1058
403
|
id: z.ZodString;
|
|
1059
404
|
url: z.ZodString;
|
|
1060
405
|
}, z.core.$strip>;
|
|
1061
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1062
406
|
initiator: z.ZodObject<{
|
|
1063
407
|
id: z.ZodString;
|
|
1064
408
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1077,7 +421,6 @@ declare const EntryPayloadSchema: z.ZodObject<{
|
|
|
1077
421
|
id: z.ZodString;
|
|
1078
422
|
url: z.ZodString;
|
|
1079
423
|
}, z.core.$strip>;
|
|
1080
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1081
424
|
initiator: z.ZodObject<{
|
|
1082
425
|
id: z.ZodString;
|
|
1083
426
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1108,7 +451,6 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<{
|
|
|
1108
451
|
id: z.ZodString;
|
|
1109
452
|
url: z.ZodString;
|
|
1110
453
|
}, z.core.$strip>;
|
|
1111
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1112
454
|
initiator: z.ZodObject<{
|
|
1113
455
|
id: z.ZodString;
|
|
1114
456
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,7 +481,6 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<{
|
|
|
1139
481
|
id: z.ZodString;
|
|
1140
482
|
url: z.ZodString;
|
|
1141
483
|
}, z.core.$strip>;
|
|
1142
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1143
484
|
initiator: z.ZodObject<{
|
|
1144
485
|
id: z.ZodString;
|
|
1145
486
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1167,7 +508,6 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1167
508
|
id: z.ZodString;
|
|
1168
509
|
url: z.ZodString;
|
|
1169
510
|
}, z.core.$strip>;
|
|
1170
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1171
511
|
initiator: z.ZodObject<{
|
|
1172
512
|
id: z.ZodString;
|
|
1173
513
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1198,7 +538,6 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
1198
538
|
id: z.ZodString;
|
|
1199
539
|
url: z.ZodString;
|
|
1200
540
|
}, z.core.$strip>;
|
|
1201
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1202
541
|
initiator: z.ZodObject<{
|
|
1203
542
|
id: z.ZodString;
|
|
1204
543
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1227,7 +566,6 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
1227
566
|
id: z.ZodString;
|
|
1228
567
|
url: z.ZodString;
|
|
1229
568
|
}, z.core.$strip>;
|
|
1230
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1231
569
|
initiator: z.ZodObject<{
|
|
1232
570
|
id: z.ZodString;
|
|
1233
571
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1253,7 +591,6 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
1253
591
|
id: z.ZodString;
|
|
1254
592
|
url: z.ZodString;
|
|
1255
593
|
}, z.core.$strip>;
|
|
1256
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1257
594
|
initiator: z.ZodObject<{
|
|
1258
595
|
id: z.ZodString;
|
|
1259
596
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1282,7 +619,6 @@ declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
1282
619
|
id: z.ZodString;
|
|
1283
620
|
url: z.ZodString;
|
|
1284
621
|
}, z.core.$strip>;
|
|
1285
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1286
622
|
initiator: z.ZodObject<{
|
|
1287
623
|
id: z.ZodString;
|
|
1288
624
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1672,4 +1008,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1672
1008
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1673
1009
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1674
1010
|
|
|
1675
|
-
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
|
|
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 };
|