@uniformdev/webhooks 20.50.2-alpha.146 → 20.50.2-alpha.167
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 +692 -28
- package/dist/index.d.ts +692 -28
- package/dist/index.esm.js +45 -0
- package/dist/index.js +50 -3
- package/dist/index.mjs +45 -0
- package/package.json +7 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import * as zod_v4_core from 'zod/v4/core';
|
|
3
3
|
|
|
4
|
-
declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
|
|
5
|
-
eventType: z.ZodLiteral<EventType>;
|
|
6
|
-
} extends infer T_1 ? { -readonly [P in keyof T_1]: T_1[P]; } : never, z.core.$strip>;
|
|
7
|
-
type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
|
|
8
|
-
event: EventType;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
schema: TSchema;
|
|
12
|
-
archived?: boolean;
|
|
13
|
-
};
|
|
14
|
-
type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
|
|
15
|
-
schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
|
|
16
|
-
_definition: true;
|
|
17
|
-
example: z.TypeOf<TSchema> & {
|
|
18
|
-
eventType: EventType;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
declare const isDefinition: (obj: any) => obj is Definition;
|
|
22
|
-
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>;
|
|
23
|
-
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
24
|
-
id: z.ZodString;
|
|
25
|
-
name: z.ZodOptional<z.ZodString>;
|
|
26
|
-
email: z.ZodOptional<z.ZodString>;
|
|
27
|
-
is_api_key: z.ZodBoolean;
|
|
28
|
-
}, z.core.$strict>;
|
|
29
|
-
type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
|
|
30
|
-
|
|
31
4
|
declare const AssetDeletedDefinition: Definition<z.ZodObject<{
|
|
32
5
|
id: z.ZodString;
|
|
33
6
|
name: z.ZodString;
|
|
@@ -100,6 +73,677 @@ declare const AssetDeletePayloadSchema: z.ZodObject<{
|
|
|
100
73
|
}, z.core.$strip>;
|
|
101
74
|
type AssetPayload = z.infer<typeof AssetPayloadSchema>;
|
|
102
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
|
+
|
|
103
747
|
declare const CompositionTriggerPayloadSchema: z.ZodObject<{
|
|
104
748
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
105
749
|
type: z.ZodEnum<{
|
|
@@ -118,6 +762,7 @@ declare const CompositionDeletePayloadSchema: z.ZodObject<{
|
|
|
118
762
|
id: z.ZodString;
|
|
119
763
|
url: z.ZodString;
|
|
120
764
|
}, z.core.$strip>;
|
|
765
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
121
766
|
initiator: z.ZodObject<{
|
|
122
767
|
id: z.ZodString;
|
|
123
768
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -136,6 +781,7 @@ declare const CompositionRestorePayloadSchema: z.ZodObject<{
|
|
|
136
781
|
id: z.ZodString;
|
|
137
782
|
url: z.ZodString;
|
|
138
783
|
}, z.core.$strip>;
|
|
784
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
139
785
|
initiator: z.ZodObject<{
|
|
140
786
|
id: z.ZodString;
|
|
141
787
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -154,6 +800,7 @@ declare const CompositionPayloadSchema: z.ZodObject<{
|
|
|
154
800
|
id: z.ZodString;
|
|
155
801
|
url: z.ZodString;
|
|
156
802
|
}, z.core.$strip>;
|
|
803
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
157
804
|
initiator: z.ZodObject<{
|
|
158
805
|
id: z.ZodString;
|
|
159
806
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -184,6 +831,7 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
|
184
831
|
id: z.ZodString;
|
|
185
832
|
url: z.ZodString;
|
|
186
833
|
}, z.core.$strip>;
|
|
834
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
187
835
|
initiator: z.ZodObject<{
|
|
188
836
|
id: z.ZodString;
|
|
189
837
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -214,6 +862,7 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
|
214
862
|
id: z.ZodString;
|
|
215
863
|
url: z.ZodString;
|
|
216
864
|
}, z.core.$strip>;
|
|
865
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
217
866
|
initiator: z.ZodObject<{
|
|
218
867
|
id: z.ZodString;
|
|
219
868
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -241,6 +890,7 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
|
241
890
|
id: z.ZodString;
|
|
242
891
|
url: z.ZodString;
|
|
243
892
|
}, z.core.$strip>;
|
|
893
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
244
894
|
initiator: z.ZodObject<{
|
|
245
895
|
id: z.ZodString;
|
|
246
896
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -271,6 +921,7 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
271
921
|
id: z.ZodString;
|
|
272
922
|
url: z.ZodString;
|
|
273
923
|
}, z.core.$strip>;
|
|
924
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
274
925
|
initiator: z.ZodObject<{
|
|
275
926
|
id: z.ZodString;
|
|
276
927
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -299,6 +950,7 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
299
950
|
id: z.ZodString;
|
|
300
951
|
url: z.ZodString;
|
|
301
952
|
}, z.core.$strip>;
|
|
953
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
302
954
|
initiator: z.ZodObject<{
|
|
303
955
|
id: z.ZodString;
|
|
304
956
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -324,6 +976,7 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
324
976
|
id: z.ZodString;
|
|
325
977
|
url: z.ZodString;
|
|
326
978
|
}, z.core.$strip>;
|
|
979
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
327
980
|
initiator: z.ZodObject<{
|
|
328
981
|
id: z.ZodString;
|
|
329
982
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -352,6 +1005,7 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
352
1005
|
id: z.ZodString;
|
|
353
1006
|
url: z.ZodString;
|
|
354
1007
|
}, z.core.$strip>;
|
|
1008
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
355
1009
|
initiator: z.ZodObject<{
|
|
356
1010
|
id: z.ZodString;
|
|
357
1011
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -385,6 +1039,7 @@ declare const EntryDeletePayloadSchema: z.ZodObject<{
|
|
|
385
1039
|
id: z.ZodString;
|
|
386
1040
|
url: z.ZodString;
|
|
387
1041
|
}, z.core.$strip>;
|
|
1042
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
388
1043
|
initiator: z.ZodObject<{
|
|
389
1044
|
id: z.ZodString;
|
|
390
1045
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -403,6 +1058,7 @@ declare const EntryRestorePayloadSchema: z.ZodObject<{
|
|
|
403
1058
|
id: z.ZodString;
|
|
404
1059
|
url: z.ZodString;
|
|
405
1060
|
}, z.core.$strip>;
|
|
1061
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
406
1062
|
initiator: z.ZodObject<{
|
|
407
1063
|
id: z.ZodString;
|
|
408
1064
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -421,6 +1077,7 @@ declare const EntryPayloadSchema: z.ZodObject<{
|
|
|
421
1077
|
id: z.ZodString;
|
|
422
1078
|
url: z.ZodString;
|
|
423
1079
|
}, z.core.$strip>;
|
|
1080
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
424
1081
|
initiator: z.ZodObject<{
|
|
425
1082
|
id: z.ZodString;
|
|
426
1083
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -451,6 +1108,7 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<{
|
|
|
451
1108
|
id: z.ZodString;
|
|
452
1109
|
url: z.ZodString;
|
|
453
1110
|
}, z.core.$strip>;
|
|
1111
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
454
1112
|
initiator: z.ZodObject<{
|
|
455
1113
|
id: z.ZodString;
|
|
456
1114
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -481,6 +1139,7 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<{
|
|
|
481
1139
|
id: z.ZodString;
|
|
482
1140
|
url: z.ZodString;
|
|
483
1141
|
}, z.core.$strip>;
|
|
1142
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
484
1143
|
initiator: z.ZodObject<{
|
|
485
1144
|
id: z.ZodString;
|
|
486
1145
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -508,6 +1167,7 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<{
|
|
|
508
1167
|
id: z.ZodString;
|
|
509
1168
|
url: z.ZodString;
|
|
510
1169
|
}, z.core.$strip>;
|
|
1170
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
511
1171
|
initiator: z.ZodObject<{
|
|
512
1172
|
id: z.ZodString;
|
|
513
1173
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -538,6 +1198,7 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
538
1198
|
id: z.ZodString;
|
|
539
1199
|
url: z.ZodString;
|
|
540
1200
|
}, z.core.$strip>;
|
|
1201
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
541
1202
|
initiator: z.ZodObject<{
|
|
542
1203
|
id: z.ZodString;
|
|
543
1204
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -566,6 +1227,7 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
566
1227
|
id: z.ZodString;
|
|
567
1228
|
url: z.ZodString;
|
|
568
1229
|
}, z.core.$strip>;
|
|
1230
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
569
1231
|
initiator: z.ZodObject<{
|
|
570
1232
|
id: z.ZodString;
|
|
571
1233
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -591,6 +1253,7 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
591
1253
|
id: z.ZodString;
|
|
592
1254
|
url: z.ZodString;
|
|
593
1255
|
}, z.core.$strip>;
|
|
1256
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
594
1257
|
initiator: z.ZodObject<{
|
|
595
1258
|
id: z.ZodString;
|
|
596
1259
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -619,6 +1282,7 @@ declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
619
1282
|
id: z.ZodString;
|
|
620
1283
|
url: z.ZodString;
|
|
621
1284
|
}, z.core.$strip>;
|
|
1285
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
622
1286
|
initiator: z.ZodObject<{
|
|
623
1287
|
id: z.ZodString;
|
|
624
1288
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1008,4 +1672,4 @@ declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
|
1008
1672
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
1009
1673
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
1010
1674
|
|
|
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 };
|
|
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 WebhookEventName, type WebhookInitiator, type WebhookPayloadFor, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookEventCatalog, webhookEventNames, webhookInitiatorSchema };
|