@uniformdev/webhooks 20.49.2 → 20.49.3-alpha.47
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 +323 -2307
- package/dist/index.d.ts +323 -2307
- package/dist/index.esm.js +233 -154
- package/dist/index.js +242 -157
- package/dist/index.mjs +233 -154
- package/package.json +7 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,86 @@
|
|
|
1
|
-
import * as z from 'zod
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
import * as zod_v4_core from 'zod/v4/core';
|
|
3
|
+
|
|
4
|
+
declare const AssetDeletedDefinition: Definition<z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
project: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
url: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
initiator: z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15
|
+
email: z.ZodOptional<z.ZodString>;
|
|
16
|
+
is_api_key: z.ZodBoolean;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
}, z.core.$strip>, "asset.deleted">;
|
|
19
|
+
type AssetDeletedPayload = z.infer<(typeof AssetDeletedDefinition)['schema']>;
|
|
20
|
+
declare const AssetDeletedEventName: "asset.deleted";
|
|
21
|
+
|
|
22
|
+
declare const AssetPublishedDefinition: Definition<z.ZodObject<{
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
type: z.ZodString;
|
|
26
|
+
project: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
url: z.ZodString;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
initiator: z.ZodObject<{
|
|
31
|
+
id: z.ZodString;
|
|
32
|
+
name: z.ZodOptional<z.ZodString>;
|
|
33
|
+
email: z.ZodOptional<z.ZodString>;
|
|
34
|
+
is_api_key: z.ZodBoolean;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
api_url: z.ZodString;
|
|
37
|
+
edit_url: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, "asset.published">;
|
|
39
|
+
type AssetPublishedPayload = z.infer<(typeof AssetPublishedDefinition)['schema']>;
|
|
40
|
+
declare const AssetPublishedEventName: "asset.published";
|
|
41
|
+
|
|
42
|
+
declare const AssetPayloadSchema: z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
type: z.ZodString;
|
|
46
|
+
project: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
url: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
initiator: z.ZodObject<{
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
name: z.ZodOptional<z.ZodString>;
|
|
53
|
+
email: z.ZodOptional<z.ZodString>;
|
|
54
|
+
is_api_key: z.ZodBoolean;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
api_url: z.ZodString;
|
|
57
|
+
edit_url: z.ZodString;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
declare const AssetDeletePayloadSchema: z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
type: z.ZodString;
|
|
63
|
+
project: z.ZodObject<{
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
url: z.ZodString;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
initiator: z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
name: z.ZodOptional<z.ZodString>;
|
|
70
|
+
email: z.ZodOptional<z.ZodString>;
|
|
71
|
+
is_api_key: z.ZodBoolean;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
type AssetPayload = z.infer<typeof AssetPayloadSchema>;
|
|
2
75
|
|
|
3
76
|
declare const CompositionTriggerPayloadSchema: z.ZodObject<{
|
|
4
77
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
5
|
-
type: z.ZodEnum<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
type: "release";
|
|
12
|
-
id: string;
|
|
13
|
-
}>>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
trigger?: {
|
|
16
|
-
type: "release";
|
|
17
|
-
id: string;
|
|
18
|
-
} | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
trigger?: {
|
|
21
|
-
type: "release";
|
|
22
|
-
id: string;
|
|
23
|
-
} | undefined;
|
|
24
|
-
}>;
|
|
78
|
+
type: z.ZodEnum<{
|
|
79
|
+
release: "release";
|
|
80
|
+
}>;
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
25
84
|
declare const CompositionDeletePayloadSchema: z.ZodObject<{
|
|
26
85
|
id: z.ZodString;
|
|
27
86
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -31,66 +90,15 @@ declare const CompositionDeletePayloadSchema: z.ZodObject<{
|
|
|
31
90
|
project: z.ZodObject<{
|
|
32
91
|
id: z.ZodString;
|
|
33
92
|
url: z.ZodString;
|
|
34
|
-
},
|
|
35
|
-
id: string;
|
|
36
|
-
url: string;
|
|
37
|
-
}, {
|
|
38
|
-
id: string;
|
|
39
|
-
url: string;
|
|
40
|
-
}>;
|
|
93
|
+
}, z.core.$strip>;
|
|
41
94
|
initiator: z.ZodObject<{
|
|
42
95
|
id: z.ZodString;
|
|
43
96
|
name: z.ZodOptional<z.ZodString>;
|
|
44
97
|
email: z.ZodOptional<z.ZodString>;
|
|
45
98
|
is_api_key: z.ZodBoolean;
|
|
46
|
-
},
|
|
47
|
-
id: string;
|
|
48
|
-
is_api_key: boolean;
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
email?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
id: string;
|
|
53
|
-
is_api_key: boolean;
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
email?: string | undefined;
|
|
56
|
-
}>;
|
|
57
|
-
} & {
|
|
99
|
+
}, z.core.$strict>;
|
|
58
100
|
state: z.ZodOptional<z.ZodNumber>;
|
|
59
|
-
},
|
|
60
|
-
type: string;
|
|
61
|
-
name: string;
|
|
62
|
-
id: string;
|
|
63
|
-
project: {
|
|
64
|
-
id: string;
|
|
65
|
-
url: string;
|
|
66
|
-
};
|
|
67
|
-
initiator: {
|
|
68
|
-
id: string;
|
|
69
|
-
is_api_key: boolean;
|
|
70
|
-
name?: string | undefined;
|
|
71
|
-
email?: string | undefined;
|
|
72
|
-
};
|
|
73
|
-
editionId?: string | undefined;
|
|
74
|
-
slug?: string | undefined;
|
|
75
|
-
state?: number | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
type: string;
|
|
78
|
-
name: string;
|
|
79
|
-
id: string;
|
|
80
|
-
project: {
|
|
81
|
-
id: string;
|
|
82
|
-
url: string;
|
|
83
|
-
};
|
|
84
|
-
initiator: {
|
|
85
|
-
id: string;
|
|
86
|
-
is_api_key: boolean;
|
|
87
|
-
name?: string | undefined;
|
|
88
|
-
email?: string | undefined;
|
|
89
|
-
};
|
|
90
|
-
editionId?: string | undefined;
|
|
91
|
-
slug?: string | undefined;
|
|
92
|
-
state?: number | undefined;
|
|
93
|
-
}>;
|
|
101
|
+
}, z.core.$strip>;
|
|
94
102
|
declare const CompositionRestorePayloadSchema: z.ZodObject<{
|
|
95
103
|
id: z.ZodString;
|
|
96
104
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -100,66 +108,15 @@ declare const CompositionRestorePayloadSchema: z.ZodObject<{
|
|
|
100
108
|
project: z.ZodObject<{
|
|
101
109
|
id: z.ZodString;
|
|
102
110
|
url: z.ZodString;
|
|
103
|
-
},
|
|
104
|
-
id: string;
|
|
105
|
-
url: string;
|
|
106
|
-
}, {
|
|
107
|
-
id: string;
|
|
108
|
-
url: string;
|
|
109
|
-
}>;
|
|
111
|
+
}, z.core.$strip>;
|
|
110
112
|
initiator: z.ZodObject<{
|
|
111
113
|
id: z.ZodString;
|
|
112
114
|
name: z.ZodOptional<z.ZodString>;
|
|
113
115
|
email: z.ZodOptional<z.ZodString>;
|
|
114
116
|
is_api_key: z.ZodBoolean;
|
|
115
|
-
},
|
|
116
|
-
id: string;
|
|
117
|
-
is_api_key: boolean;
|
|
118
|
-
name?: string | undefined;
|
|
119
|
-
email?: string | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
id: string;
|
|
122
|
-
is_api_key: boolean;
|
|
123
|
-
name?: string | undefined;
|
|
124
|
-
email?: string | undefined;
|
|
125
|
-
}>;
|
|
126
|
-
} & {
|
|
117
|
+
}, z.core.$strict>;
|
|
127
118
|
state: z.ZodNumber;
|
|
128
|
-
},
|
|
129
|
-
type: string;
|
|
130
|
-
name: string;
|
|
131
|
-
id: string;
|
|
132
|
-
project: {
|
|
133
|
-
id: string;
|
|
134
|
-
url: string;
|
|
135
|
-
};
|
|
136
|
-
initiator: {
|
|
137
|
-
id: string;
|
|
138
|
-
is_api_key: boolean;
|
|
139
|
-
name?: string | undefined;
|
|
140
|
-
email?: string | undefined;
|
|
141
|
-
};
|
|
142
|
-
state: number;
|
|
143
|
-
editionId?: string | undefined;
|
|
144
|
-
slug?: string | undefined;
|
|
145
|
-
}, {
|
|
146
|
-
type: string;
|
|
147
|
-
name: string;
|
|
148
|
-
id: string;
|
|
149
|
-
project: {
|
|
150
|
-
id: string;
|
|
151
|
-
url: string;
|
|
152
|
-
};
|
|
153
|
-
initiator: {
|
|
154
|
-
id: string;
|
|
155
|
-
is_api_key: boolean;
|
|
156
|
-
name?: string | undefined;
|
|
157
|
-
email?: string | undefined;
|
|
158
|
-
};
|
|
159
|
-
state: number;
|
|
160
|
-
editionId?: string | undefined;
|
|
161
|
-
slug?: string | undefined;
|
|
162
|
-
}>;
|
|
119
|
+
}, z.core.$strip>;
|
|
163
120
|
declare const CompositionPayloadSchema: z.ZodObject<{
|
|
164
121
|
id: z.ZodString;
|
|
165
122
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -169,141 +126,27 @@ declare const CompositionPayloadSchema: z.ZodObject<{
|
|
|
169
126
|
project: z.ZodObject<{
|
|
170
127
|
id: z.ZodString;
|
|
171
128
|
url: z.ZodString;
|
|
172
|
-
},
|
|
173
|
-
id: string;
|
|
174
|
-
url: string;
|
|
175
|
-
}, {
|
|
176
|
-
id: string;
|
|
177
|
-
url: string;
|
|
178
|
-
}>;
|
|
129
|
+
}, z.core.$strip>;
|
|
179
130
|
initiator: z.ZodObject<{
|
|
180
131
|
id: z.ZodString;
|
|
181
132
|
name: z.ZodOptional<z.ZodString>;
|
|
182
133
|
email: z.ZodOptional<z.ZodString>;
|
|
183
134
|
is_api_key: z.ZodBoolean;
|
|
184
|
-
},
|
|
185
|
-
id: string;
|
|
186
|
-
is_api_key: boolean;
|
|
187
|
-
name?: string | undefined;
|
|
188
|
-
email?: string | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
id: string;
|
|
191
|
-
is_api_key: boolean;
|
|
192
|
-
name?: string | undefined;
|
|
193
|
-
email?: string | undefined;
|
|
194
|
-
}>;
|
|
195
|
-
} & {
|
|
135
|
+
}, z.core.$strict>;
|
|
196
136
|
state: z.ZodNumber;
|
|
197
137
|
edit_url: z.ZodString;
|
|
198
138
|
api_url: z.ZodString;
|
|
199
139
|
edge_url: z.ZodString;
|
|
200
|
-
},
|
|
201
|
-
type: string;
|
|
202
|
-
name: string;
|
|
203
|
-
id: string;
|
|
204
|
-
project: {
|
|
205
|
-
id: string;
|
|
206
|
-
url: string;
|
|
207
|
-
};
|
|
208
|
-
initiator: {
|
|
209
|
-
id: string;
|
|
210
|
-
is_api_key: boolean;
|
|
211
|
-
name?: string | undefined;
|
|
212
|
-
email?: string | undefined;
|
|
213
|
-
};
|
|
214
|
-
state: number;
|
|
215
|
-
edit_url: string;
|
|
216
|
-
api_url: string;
|
|
217
|
-
edge_url: string;
|
|
218
|
-
editionId?: string | undefined;
|
|
219
|
-
slug?: string | undefined;
|
|
220
|
-
}, {
|
|
221
|
-
type: string;
|
|
222
|
-
name: string;
|
|
223
|
-
id: string;
|
|
224
|
-
project: {
|
|
225
|
-
id: string;
|
|
226
|
-
url: string;
|
|
227
|
-
};
|
|
228
|
-
initiator: {
|
|
229
|
-
id: string;
|
|
230
|
-
is_api_key: boolean;
|
|
231
|
-
name?: string | undefined;
|
|
232
|
-
email?: string | undefined;
|
|
233
|
-
};
|
|
234
|
-
state: number;
|
|
235
|
-
edit_url: string;
|
|
236
|
-
api_url: string;
|
|
237
|
-
edge_url: string;
|
|
238
|
-
editionId?: string | undefined;
|
|
239
|
-
slug?: string | undefined;
|
|
240
|
-
}>;
|
|
140
|
+
}, z.core.$strip>;
|
|
241
141
|
declare const ReleaseCompositionPayloadSchema: z.ZodObject<{
|
|
242
142
|
release: z.ZodObject<{
|
|
243
143
|
id: z.ZodString;
|
|
244
144
|
url: z.ZodString;
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
url: string;
|
|
248
|
-
}, {
|
|
249
|
-
id: string;
|
|
250
|
-
url: string;
|
|
251
|
-
}>;
|
|
252
|
-
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
release: {
|
|
254
|
-
id: string;
|
|
255
|
-
url: string;
|
|
256
|
-
};
|
|
257
|
-
}, {
|
|
258
|
-
release: {
|
|
259
|
-
id: string;
|
|
260
|
-
url: string;
|
|
261
|
-
};
|
|
262
|
-
}>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
}, z.core.$strip>;
|
|
263
147
|
type CompositionPayload = z.infer<typeof CompositionPayloadSchema>;
|
|
264
148
|
type ReleaseCompositionPayload = z.infer<typeof ReleaseCompositionPayloadSchema>;
|
|
265
149
|
|
|
266
|
-
declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
|
|
267
|
-
eventType: z.ZodLiteral<EventType>;
|
|
268
|
-
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T["shape"] & {
|
|
269
|
-
eventType: z.ZodLiteral<EventType>;
|
|
270
|
-
}>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<T["shape"] & {
|
|
271
|
-
eventType: z.ZodLiteral<EventType>;
|
|
272
|
-
}> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
|
|
273
|
-
type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
|
|
274
|
-
event: EventType;
|
|
275
|
-
name: string;
|
|
276
|
-
description: string;
|
|
277
|
-
schema: TSchema;
|
|
278
|
-
archived?: boolean;
|
|
279
|
-
};
|
|
280
|
-
type Definition<TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string> = Omit<DefinitionOptions<TSchema, EventType>, 'schema'> & {
|
|
281
|
-
schema: ReturnType<typeof addEventTypeToSchema<TSchema, EventType>>;
|
|
282
|
-
_definition: true;
|
|
283
|
-
example: z.TypeOf<TSchema> & {
|
|
284
|
-
eventType: EventType;
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
declare const isDefinition: (obj: any) => obj is Definition;
|
|
288
|
-
declare const definition: <TSchema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, EventType extends string = string>(options: DefinitionOptions<TSchema, EventType>, example: z.infer<TSchema>) => Definition<TSchema, EventType>;
|
|
289
|
-
declare const webhookInitiatorSchema: z.ZodObject<{
|
|
290
|
-
id: z.ZodString;
|
|
291
|
-
name: z.ZodOptional<z.ZodString>;
|
|
292
|
-
email: z.ZodOptional<z.ZodString>;
|
|
293
|
-
is_api_key: z.ZodBoolean;
|
|
294
|
-
}, "strict", z.ZodTypeAny, {
|
|
295
|
-
id: string;
|
|
296
|
-
is_api_key: boolean;
|
|
297
|
-
name?: string | undefined;
|
|
298
|
-
email?: string | undefined;
|
|
299
|
-
}, {
|
|
300
|
-
id: string;
|
|
301
|
-
is_api_key: boolean;
|
|
302
|
-
name?: string | undefined;
|
|
303
|
-
email?: string | undefined;
|
|
304
|
-
}>;
|
|
305
|
-
type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
|
|
306
|
-
|
|
307
150
|
declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
308
151
|
id: z.ZodString;
|
|
309
152
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -313,94 +156,24 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
|
313
156
|
project: z.ZodObject<{
|
|
314
157
|
id: z.ZodString;
|
|
315
158
|
url: z.ZodString;
|
|
316
|
-
},
|
|
317
|
-
id: string;
|
|
318
|
-
url: string;
|
|
319
|
-
}, {
|
|
320
|
-
id: string;
|
|
321
|
-
url: string;
|
|
322
|
-
}>;
|
|
159
|
+
}, z.core.$strip>;
|
|
323
160
|
initiator: z.ZodObject<{
|
|
324
161
|
id: z.ZodString;
|
|
325
162
|
name: z.ZodOptional<z.ZodString>;
|
|
326
163
|
email: z.ZodOptional<z.ZodString>;
|
|
327
164
|
is_api_key: z.ZodBoolean;
|
|
328
|
-
},
|
|
329
|
-
id: string;
|
|
330
|
-
is_api_key: boolean;
|
|
331
|
-
name?: string | undefined;
|
|
332
|
-
email?: string | undefined;
|
|
333
|
-
}, {
|
|
334
|
-
id: string;
|
|
335
|
-
is_api_key: boolean;
|
|
336
|
-
name?: string | undefined;
|
|
337
|
-
email?: string | undefined;
|
|
338
|
-
}>;
|
|
339
|
-
} & {
|
|
165
|
+
}, z.core.$strict>;
|
|
340
166
|
state: z.ZodNumber;
|
|
341
167
|
edit_url: z.ZodString;
|
|
342
168
|
api_url: z.ZodString;
|
|
343
169
|
edge_url: z.ZodString;
|
|
344
|
-
} & {
|
|
345
170
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
346
|
-
type: z.ZodEnum<
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
type: "release";
|
|
353
|
-
id: string;
|
|
354
|
-
}>>;
|
|
355
|
-
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
type: string;
|
|
357
|
-
name: string;
|
|
358
|
-
id: string;
|
|
359
|
-
project: {
|
|
360
|
-
id: string;
|
|
361
|
-
url: string;
|
|
362
|
-
};
|
|
363
|
-
initiator: {
|
|
364
|
-
id: string;
|
|
365
|
-
is_api_key: boolean;
|
|
366
|
-
name?: string | undefined;
|
|
367
|
-
email?: string | undefined;
|
|
368
|
-
};
|
|
369
|
-
state: number;
|
|
370
|
-
edit_url: string;
|
|
371
|
-
api_url: string;
|
|
372
|
-
edge_url: string;
|
|
373
|
-
editionId?: string | undefined;
|
|
374
|
-
slug?: string | undefined;
|
|
375
|
-
trigger?: {
|
|
376
|
-
type: "release";
|
|
377
|
-
id: string;
|
|
378
|
-
} | undefined;
|
|
379
|
-
}, {
|
|
380
|
-
type: string;
|
|
381
|
-
name: string;
|
|
382
|
-
id: string;
|
|
383
|
-
project: {
|
|
384
|
-
id: string;
|
|
385
|
-
url: string;
|
|
386
|
-
};
|
|
387
|
-
initiator: {
|
|
388
|
-
id: string;
|
|
389
|
-
is_api_key: boolean;
|
|
390
|
-
name?: string | undefined;
|
|
391
|
-
email?: string | undefined;
|
|
392
|
-
};
|
|
393
|
-
state: number;
|
|
394
|
-
edit_url: string;
|
|
395
|
-
api_url: string;
|
|
396
|
-
edge_url: string;
|
|
397
|
-
editionId?: string | undefined;
|
|
398
|
-
slug?: string | undefined;
|
|
399
|
-
trigger?: {
|
|
400
|
-
type: "release";
|
|
401
|
-
id: string;
|
|
402
|
-
} | undefined;
|
|
403
|
-
}>, "composition.changed">;
|
|
171
|
+
type: z.ZodEnum<{
|
|
172
|
+
release: "release";
|
|
173
|
+
}>;
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
}, z.core.$strip>, "composition.changed">;
|
|
404
177
|
type CompositionChangedPayload = z.infer<(typeof CompositionChangedDefinition)['schema']>;
|
|
405
178
|
declare const CompositionChangedEventName: "composition.changed";
|
|
406
179
|
|
|
@@ -413,85 +186,21 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
|
413
186
|
project: z.ZodObject<{
|
|
414
187
|
id: z.ZodString;
|
|
415
188
|
url: z.ZodString;
|
|
416
|
-
},
|
|
417
|
-
id: string;
|
|
418
|
-
url: string;
|
|
419
|
-
}, {
|
|
420
|
-
id: string;
|
|
421
|
-
url: string;
|
|
422
|
-
}>;
|
|
189
|
+
}, z.core.$strip>;
|
|
423
190
|
initiator: z.ZodObject<{
|
|
424
191
|
id: z.ZodString;
|
|
425
192
|
name: z.ZodOptional<z.ZodString>;
|
|
426
193
|
email: z.ZodOptional<z.ZodString>;
|
|
427
194
|
is_api_key: z.ZodBoolean;
|
|
428
|
-
},
|
|
429
|
-
id: string;
|
|
430
|
-
is_api_key: boolean;
|
|
431
|
-
name?: string | undefined;
|
|
432
|
-
email?: string | undefined;
|
|
433
|
-
}, {
|
|
434
|
-
id: string;
|
|
435
|
-
is_api_key: boolean;
|
|
436
|
-
name?: string | undefined;
|
|
437
|
-
email?: string | undefined;
|
|
438
|
-
}>;
|
|
439
|
-
} & {
|
|
195
|
+
}, z.core.$strict>;
|
|
440
196
|
state: z.ZodOptional<z.ZodNumber>;
|
|
441
|
-
} & {
|
|
442
197
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
443
|
-
type: z.ZodEnum<
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
type: "release";
|
|
450
|
-
id: string;
|
|
451
|
-
}>>;
|
|
452
|
-
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
type: string;
|
|
454
|
-
name: string;
|
|
455
|
-
id: string;
|
|
456
|
-
project: {
|
|
457
|
-
id: string;
|
|
458
|
-
url: string;
|
|
459
|
-
};
|
|
460
|
-
initiator: {
|
|
461
|
-
id: string;
|
|
462
|
-
is_api_key: boolean;
|
|
463
|
-
name?: string | undefined;
|
|
464
|
-
email?: string | undefined;
|
|
465
|
-
};
|
|
466
|
-
editionId?: string | undefined;
|
|
467
|
-
slug?: string | undefined;
|
|
468
|
-
trigger?: {
|
|
469
|
-
type: "release";
|
|
470
|
-
id: string;
|
|
471
|
-
} | undefined;
|
|
472
|
-
state?: number | undefined;
|
|
473
|
-
}, {
|
|
474
|
-
type: string;
|
|
475
|
-
name: string;
|
|
476
|
-
id: string;
|
|
477
|
-
project: {
|
|
478
|
-
id: string;
|
|
479
|
-
url: string;
|
|
480
|
-
};
|
|
481
|
-
initiator: {
|
|
482
|
-
id: string;
|
|
483
|
-
is_api_key: boolean;
|
|
484
|
-
name?: string | undefined;
|
|
485
|
-
email?: string | undefined;
|
|
486
|
-
};
|
|
487
|
-
editionId?: string | undefined;
|
|
488
|
-
slug?: string | undefined;
|
|
489
|
-
trigger?: {
|
|
490
|
-
type: "release";
|
|
491
|
-
id: string;
|
|
492
|
-
} | undefined;
|
|
493
|
-
state?: number | undefined;
|
|
494
|
-
}>, "composition.deleted">;
|
|
198
|
+
type: z.ZodEnum<{
|
|
199
|
+
release: "release";
|
|
200
|
+
}>;
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
}, z.core.$strip>, "composition.deleted">;
|
|
495
204
|
type CompositionDeletedPayload = z.infer<(typeof CompositionDeletedDefinition)['schema']>;
|
|
496
205
|
declare const CompositionDeletedEventName: "composition.deleted";
|
|
497
206
|
|
|
@@ -504,94 +213,24 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
|
504
213
|
project: z.ZodObject<{
|
|
505
214
|
id: z.ZodString;
|
|
506
215
|
url: z.ZodString;
|
|
507
|
-
},
|
|
508
|
-
id: string;
|
|
509
|
-
url: string;
|
|
510
|
-
}, {
|
|
511
|
-
id: string;
|
|
512
|
-
url: string;
|
|
513
|
-
}>;
|
|
216
|
+
}, z.core.$strip>;
|
|
514
217
|
initiator: z.ZodObject<{
|
|
515
218
|
id: z.ZodString;
|
|
516
219
|
name: z.ZodOptional<z.ZodString>;
|
|
517
220
|
email: z.ZodOptional<z.ZodString>;
|
|
518
221
|
is_api_key: z.ZodBoolean;
|
|
519
|
-
},
|
|
520
|
-
id: string;
|
|
521
|
-
is_api_key: boolean;
|
|
522
|
-
name?: string | undefined;
|
|
523
|
-
email?: string | undefined;
|
|
524
|
-
}, {
|
|
525
|
-
id: string;
|
|
526
|
-
is_api_key: boolean;
|
|
527
|
-
name?: string | undefined;
|
|
528
|
-
email?: string | undefined;
|
|
529
|
-
}>;
|
|
530
|
-
} & {
|
|
222
|
+
}, z.core.$strict>;
|
|
531
223
|
state: z.ZodNumber;
|
|
532
224
|
edit_url: z.ZodString;
|
|
533
225
|
api_url: z.ZodString;
|
|
534
226
|
edge_url: z.ZodString;
|
|
535
|
-
} & {
|
|
536
227
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
537
|
-
type: z.ZodEnum<
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
type: "release";
|
|
544
|
-
id: string;
|
|
545
|
-
}>>;
|
|
546
|
-
}, "strip", z.ZodTypeAny, {
|
|
547
|
-
type: string;
|
|
548
|
-
name: string;
|
|
549
|
-
id: string;
|
|
550
|
-
project: {
|
|
551
|
-
id: string;
|
|
552
|
-
url: string;
|
|
553
|
-
};
|
|
554
|
-
initiator: {
|
|
555
|
-
id: string;
|
|
556
|
-
is_api_key: boolean;
|
|
557
|
-
name?: string | undefined;
|
|
558
|
-
email?: string | undefined;
|
|
559
|
-
};
|
|
560
|
-
state: number;
|
|
561
|
-
edit_url: string;
|
|
562
|
-
api_url: string;
|
|
563
|
-
edge_url: string;
|
|
564
|
-
editionId?: string | undefined;
|
|
565
|
-
slug?: string | undefined;
|
|
566
|
-
trigger?: {
|
|
567
|
-
type: "release";
|
|
568
|
-
id: string;
|
|
569
|
-
} | undefined;
|
|
570
|
-
}, {
|
|
571
|
-
type: string;
|
|
572
|
-
name: string;
|
|
573
|
-
id: string;
|
|
574
|
-
project: {
|
|
575
|
-
id: string;
|
|
576
|
-
url: string;
|
|
577
|
-
};
|
|
578
|
-
initiator: {
|
|
579
|
-
id: string;
|
|
580
|
-
is_api_key: boolean;
|
|
581
|
-
name?: string | undefined;
|
|
582
|
-
email?: string | undefined;
|
|
583
|
-
};
|
|
584
|
-
state: number;
|
|
585
|
-
edit_url: string;
|
|
586
|
-
api_url: string;
|
|
587
|
-
edge_url: string;
|
|
588
|
-
editionId?: string | undefined;
|
|
589
|
-
slug?: string | undefined;
|
|
590
|
-
trigger?: {
|
|
591
|
-
type: "release";
|
|
592
|
-
id: string;
|
|
593
|
-
} | undefined;
|
|
594
|
-
}>, "composition.published">;
|
|
228
|
+
type: z.ZodEnum<{
|
|
229
|
+
release: "release";
|
|
230
|
+
}>;
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
}, z.core.$strip>, "composition.published">;
|
|
595
234
|
type CompositionPublishedPayload = z.infer<(typeof CompositionPublishedDefinition)['schema']>;
|
|
596
235
|
declare const CompositionPublishedEventName: "composition.published";
|
|
597
236
|
|
|
@@ -604,94 +243,22 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
604
243
|
project: z.ZodObject<{
|
|
605
244
|
id: z.ZodString;
|
|
606
245
|
url: z.ZodString;
|
|
607
|
-
},
|
|
608
|
-
id: string;
|
|
609
|
-
url: string;
|
|
610
|
-
}, {
|
|
611
|
-
id: string;
|
|
612
|
-
url: string;
|
|
613
|
-
}>;
|
|
246
|
+
}, z.core.$strip>;
|
|
614
247
|
initiator: z.ZodObject<{
|
|
615
248
|
id: z.ZodString;
|
|
616
249
|
name: z.ZodOptional<z.ZodString>;
|
|
617
250
|
email: z.ZodOptional<z.ZodString>;
|
|
618
251
|
is_api_key: z.ZodBoolean;
|
|
619
|
-
},
|
|
620
|
-
id: string;
|
|
621
|
-
is_api_key: boolean;
|
|
622
|
-
name?: string | undefined;
|
|
623
|
-
email?: string | undefined;
|
|
624
|
-
}, {
|
|
625
|
-
id: string;
|
|
626
|
-
is_api_key: boolean;
|
|
627
|
-
name?: string | undefined;
|
|
628
|
-
email?: string | undefined;
|
|
629
|
-
}>;
|
|
630
|
-
} & {
|
|
252
|
+
}, z.core.$strict>;
|
|
631
253
|
state: z.ZodNumber;
|
|
632
254
|
edit_url: z.ZodString;
|
|
633
255
|
api_url: z.ZodString;
|
|
634
256
|
edge_url: z.ZodString;
|
|
635
|
-
} & {
|
|
636
257
|
release: z.ZodObject<{
|
|
637
258
|
id: z.ZodString;
|
|
638
259
|
url: z.ZodString;
|
|
639
|
-
},
|
|
640
|
-
|
|
641
|
-
url: string;
|
|
642
|
-
}, {
|
|
643
|
-
id: string;
|
|
644
|
-
url: string;
|
|
645
|
-
}>;
|
|
646
|
-
}, "strip", z.ZodTypeAny, {
|
|
647
|
-
type: string;
|
|
648
|
-
name: string;
|
|
649
|
-
id: string;
|
|
650
|
-
project: {
|
|
651
|
-
id: string;
|
|
652
|
-
url: string;
|
|
653
|
-
};
|
|
654
|
-
initiator: {
|
|
655
|
-
id: string;
|
|
656
|
-
is_api_key: boolean;
|
|
657
|
-
name?: string | undefined;
|
|
658
|
-
email?: string | undefined;
|
|
659
|
-
};
|
|
660
|
-
release: {
|
|
661
|
-
id: string;
|
|
662
|
-
url: string;
|
|
663
|
-
};
|
|
664
|
-
state: number;
|
|
665
|
-
edit_url: string;
|
|
666
|
-
api_url: string;
|
|
667
|
-
edge_url: string;
|
|
668
|
-
editionId?: string | undefined;
|
|
669
|
-
slug?: string | undefined;
|
|
670
|
-
}, {
|
|
671
|
-
type: string;
|
|
672
|
-
name: string;
|
|
673
|
-
id: string;
|
|
674
|
-
project: {
|
|
675
|
-
id: string;
|
|
676
|
-
url: string;
|
|
677
|
-
};
|
|
678
|
-
initiator: {
|
|
679
|
-
id: string;
|
|
680
|
-
is_api_key: boolean;
|
|
681
|
-
name?: string | undefined;
|
|
682
|
-
email?: string | undefined;
|
|
683
|
-
};
|
|
684
|
-
release: {
|
|
685
|
-
id: string;
|
|
686
|
-
url: string;
|
|
687
|
-
};
|
|
688
|
-
state: number;
|
|
689
|
-
edit_url: string;
|
|
690
|
-
api_url: string;
|
|
691
|
-
edge_url: string;
|
|
692
|
-
editionId?: string | undefined;
|
|
693
|
-
slug?: string | undefined;
|
|
694
|
-
}>, "composition.release.changed">;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
}, z.core.$strip>, "composition.release.changed">;
|
|
695
262
|
type CompositionReleaseChangedPayload = z.infer<(typeof CompositionReleaseChangedDefinition)['schema']>;
|
|
696
263
|
declare const CompositionReleaseChangedEventName: "composition.release.changed";
|
|
697
264
|
|
|
@@ -704,85 +271,19 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
704
271
|
project: z.ZodObject<{
|
|
705
272
|
id: z.ZodString;
|
|
706
273
|
url: z.ZodString;
|
|
707
|
-
},
|
|
708
|
-
id: string;
|
|
709
|
-
url: string;
|
|
710
|
-
}, {
|
|
711
|
-
id: string;
|
|
712
|
-
url: string;
|
|
713
|
-
}>;
|
|
274
|
+
}, z.core.$strip>;
|
|
714
275
|
initiator: z.ZodObject<{
|
|
715
276
|
id: z.ZodString;
|
|
716
277
|
name: z.ZodOptional<z.ZodString>;
|
|
717
278
|
email: z.ZodOptional<z.ZodString>;
|
|
718
279
|
is_api_key: z.ZodBoolean;
|
|
719
|
-
},
|
|
720
|
-
id: string;
|
|
721
|
-
is_api_key: boolean;
|
|
722
|
-
name?: string | undefined;
|
|
723
|
-
email?: string | undefined;
|
|
724
|
-
}, {
|
|
725
|
-
id: string;
|
|
726
|
-
is_api_key: boolean;
|
|
727
|
-
name?: string | undefined;
|
|
728
|
-
email?: string | undefined;
|
|
729
|
-
}>;
|
|
730
|
-
} & {
|
|
280
|
+
}, z.core.$strict>;
|
|
731
281
|
state: z.ZodOptional<z.ZodNumber>;
|
|
732
|
-
} & {
|
|
733
282
|
release: z.ZodObject<{
|
|
734
283
|
id: z.ZodString;
|
|
735
284
|
url: z.ZodString;
|
|
736
|
-
},
|
|
737
|
-
|
|
738
|
-
url: string;
|
|
739
|
-
}, {
|
|
740
|
-
id: string;
|
|
741
|
-
url: string;
|
|
742
|
-
}>;
|
|
743
|
-
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
type: string;
|
|
745
|
-
name: string;
|
|
746
|
-
id: string;
|
|
747
|
-
project: {
|
|
748
|
-
id: string;
|
|
749
|
-
url: string;
|
|
750
|
-
};
|
|
751
|
-
initiator: {
|
|
752
|
-
id: string;
|
|
753
|
-
is_api_key: boolean;
|
|
754
|
-
name?: string | undefined;
|
|
755
|
-
email?: string | undefined;
|
|
756
|
-
};
|
|
757
|
-
release: {
|
|
758
|
-
id: string;
|
|
759
|
-
url: string;
|
|
760
|
-
};
|
|
761
|
-
editionId?: string | undefined;
|
|
762
|
-
slug?: string | undefined;
|
|
763
|
-
state?: number | undefined;
|
|
764
|
-
}, {
|
|
765
|
-
type: string;
|
|
766
|
-
name: string;
|
|
767
|
-
id: string;
|
|
768
|
-
project: {
|
|
769
|
-
id: string;
|
|
770
|
-
url: string;
|
|
771
|
-
};
|
|
772
|
-
initiator: {
|
|
773
|
-
id: string;
|
|
774
|
-
is_api_key: boolean;
|
|
775
|
-
name?: string | undefined;
|
|
776
|
-
email?: string | undefined;
|
|
777
|
-
};
|
|
778
|
-
release: {
|
|
779
|
-
id: string;
|
|
780
|
-
url: string;
|
|
781
|
-
};
|
|
782
|
-
editionId?: string | undefined;
|
|
783
|
-
slug?: string | undefined;
|
|
784
|
-
state?: number | undefined;
|
|
785
|
-
}>, "composition.release.deleted">;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
}, z.core.$strip>, "composition.release.deleted">;
|
|
786
287
|
type CompositionReleaseDeletedPayload = z.infer<(typeof CompositionReleaseDeletedDefinition)['schema']>;
|
|
787
288
|
declare const CompositionReleaseDeletedEventName: "composition.release.deleted";
|
|
788
289
|
|
|
@@ -795,94 +296,22 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
795
296
|
project: z.ZodObject<{
|
|
796
297
|
id: z.ZodString;
|
|
797
298
|
url: z.ZodString;
|
|
798
|
-
},
|
|
799
|
-
id: string;
|
|
800
|
-
url: string;
|
|
801
|
-
}, {
|
|
802
|
-
id: string;
|
|
803
|
-
url: string;
|
|
804
|
-
}>;
|
|
299
|
+
}, z.core.$strip>;
|
|
805
300
|
initiator: z.ZodObject<{
|
|
806
301
|
id: z.ZodString;
|
|
807
302
|
name: z.ZodOptional<z.ZodString>;
|
|
808
303
|
email: z.ZodOptional<z.ZodString>;
|
|
809
304
|
is_api_key: z.ZodBoolean;
|
|
810
|
-
},
|
|
811
|
-
id: string;
|
|
812
|
-
is_api_key: boolean;
|
|
813
|
-
name?: string | undefined;
|
|
814
|
-
email?: string | undefined;
|
|
815
|
-
}, {
|
|
816
|
-
id: string;
|
|
817
|
-
is_api_key: boolean;
|
|
818
|
-
name?: string | undefined;
|
|
819
|
-
email?: string | undefined;
|
|
820
|
-
}>;
|
|
821
|
-
} & {
|
|
305
|
+
}, z.core.$strict>;
|
|
822
306
|
state: z.ZodNumber;
|
|
823
307
|
edit_url: z.ZodString;
|
|
824
308
|
api_url: z.ZodString;
|
|
825
309
|
edge_url: z.ZodString;
|
|
826
|
-
} & {
|
|
827
310
|
release: z.ZodObject<{
|
|
828
311
|
id: z.ZodString;
|
|
829
312
|
url: z.ZodString;
|
|
830
|
-
},
|
|
831
|
-
|
|
832
|
-
url: string;
|
|
833
|
-
}, {
|
|
834
|
-
id: string;
|
|
835
|
-
url: string;
|
|
836
|
-
}>;
|
|
837
|
-
}, "strip", z.ZodTypeAny, {
|
|
838
|
-
type: string;
|
|
839
|
-
name: string;
|
|
840
|
-
id: string;
|
|
841
|
-
project: {
|
|
842
|
-
id: string;
|
|
843
|
-
url: string;
|
|
844
|
-
};
|
|
845
|
-
initiator: {
|
|
846
|
-
id: string;
|
|
847
|
-
is_api_key: boolean;
|
|
848
|
-
name?: string | undefined;
|
|
849
|
-
email?: string | undefined;
|
|
850
|
-
};
|
|
851
|
-
release: {
|
|
852
|
-
id: string;
|
|
853
|
-
url: string;
|
|
854
|
-
};
|
|
855
|
-
state: number;
|
|
856
|
-
edit_url: string;
|
|
857
|
-
api_url: string;
|
|
858
|
-
edge_url: string;
|
|
859
|
-
editionId?: string | undefined;
|
|
860
|
-
slug?: string | undefined;
|
|
861
|
-
}, {
|
|
862
|
-
type: string;
|
|
863
|
-
name: string;
|
|
864
|
-
id: string;
|
|
865
|
-
project: {
|
|
866
|
-
id: string;
|
|
867
|
-
url: string;
|
|
868
|
-
};
|
|
869
|
-
initiator: {
|
|
870
|
-
id: string;
|
|
871
|
-
is_api_key: boolean;
|
|
872
|
-
name?: string | undefined;
|
|
873
|
-
email?: string | undefined;
|
|
874
|
-
};
|
|
875
|
-
release: {
|
|
876
|
-
id: string;
|
|
877
|
-
url: string;
|
|
878
|
-
};
|
|
879
|
-
state: number;
|
|
880
|
-
edit_url: string;
|
|
881
|
-
api_url: string;
|
|
882
|
-
edge_url: string;
|
|
883
|
-
editionId?: string | undefined;
|
|
884
|
-
slug?: string | undefined;
|
|
885
|
-
}>, "composition.release.published">;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
}, z.core.$strip>, "composition.release.published">;
|
|
886
315
|
type CompositionReleasePublishedPayload = z.infer<(typeof CompositionReleasePublishedDefinition)['schema']>;
|
|
887
316
|
declare const CompositionReleasePublishedEventName: "composition.release.published";
|
|
888
317
|
|
|
@@ -895,110 +324,57 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
895
324
|
project: z.ZodObject<{
|
|
896
325
|
id: z.ZodString;
|
|
897
326
|
url: z.ZodString;
|
|
898
|
-
},
|
|
899
|
-
id: string;
|
|
900
|
-
url: string;
|
|
901
|
-
}, {
|
|
902
|
-
id: string;
|
|
903
|
-
url: string;
|
|
904
|
-
}>;
|
|
327
|
+
}, z.core.$strip>;
|
|
905
328
|
initiator: z.ZodObject<{
|
|
906
329
|
id: z.ZodString;
|
|
907
330
|
name: z.ZodOptional<z.ZodString>;
|
|
908
331
|
email: z.ZodOptional<z.ZodString>;
|
|
909
332
|
is_api_key: z.ZodBoolean;
|
|
910
|
-
},
|
|
911
|
-
id: string;
|
|
912
|
-
is_api_key: boolean;
|
|
913
|
-
name?: string | undefined;
|
|
914
|
-
email?: string | undefined;
|
|
915
|
-
}, {
|
|
916
|
-
id: string;
|
|
917
|
-
is_api_key: boolean;
|
|
918
|
-
name?: string | undefined;
|
|
919
|
-
email?: string | undefined;
|
|
920
|
-
}>;
|
|
921
|
-
} & {
|
|
333
|
+
}, z.core.$strict>;
|
|
922
334
|
state: z.ZodNumber;
|
|
923
|
-
} & {
|
|
924
335
|
release: z.ZodObject<{
|
|
925
336
|
id: z.ZodString;
|
|
926
337
|
url: z.ZodString;
|
|
927
|
-
},
|
|
928
|
-
|
|
929
|
-
url: string;
|
|
930
|
-
}, {
|
|
931
|
-
id: string;
|
|
932
|
-
url: string;
|
|
933
|
-
}>;
|
|
934
|
-
}, "strip", z.ZodTypeAny, {
|
|
935
|
-
type: string;
|
|
936
|
-
name: string;
|
|
937
|
-
id: string;
|
|
938
|
-
project: {
|
|
939
|
-
id: string;
|
|
940
|
-
url: string;
|
|
941
|
-
};
|
|
942
|
-
initiator: {
|
|
943
|
-
id: string;
|
|
944
|
-
is_api_key: boolean;
|
|
945
|
-
name?: string | undefined;
|
|
946
|
-
email?: string | undefined;
|
|
947
|
-
};
|
|
948
|
-
release: {
|
|
949
|
-
id: string;
|
|
950
|
-
url: string;
|
|
951
|
-
};
|
|
952
|
-
state: number;
|
|
953
|
-
editionId?: string | undefined;
|
|
954
|
-
slug?: string | undefined;
|
|
955
|
-
}, {
|
|
956
|
-
type: string;
|
|
957
|
-
name: string;
|
|
958
|
-
id: string;
|
|
959
|
-
project: {
|
|
960
|
-
id: string;
|
|
961
|
-
url: string;
|
|
962
|
-
};
|
|
963
|
-
initiator: {
|
|
964
|
-
id: string;
|
|
965
|
-
is_api_key: boolean;
|
|
966
|
-
name?: string | undefined;
|
|
967
|
-
email?: string | undefined;
|
|
968
|
-
};
|
|
969
|
-
release: {
|
|
970
|
-
id: string;
|
|
971
|
-
url: string;
|
|
972
|
-
};
|
|
973
|
-
state: number;
|
|
974
|
-
editionId?: string | undefined;
|
|
975
|
-
slug?: string | undefined;
|
|
976
|
-
}>, "composition.release.restored">;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
}, z.core.$strip>, "composition.release.restored">;
|
|
977
340
|
type CompositionReleaseRestoredPayload = z.infer<(typeof CompositionReleaseRestoredDefinition)['schema']>;
|
|
978
341
|
declare const CompositionReleaseRestoredEventName: "composition.release.restored";
|
|
979
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
|
+
|
|
980
370
|
declare const EntryTriggerPayloadSchema: z.ZodObject<{
|
|
981
371
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
982
|
-
type: z.ZodEnum<
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
type: "release";
|
|
989
|
-
id: string;
|
|
990
|
-
}>>;
|
|
991
|
-
}, "strip", z.ZodTypeAny, {
|
|
992
|
-
trigger?: {
|
|
993
|
-
type: "release";
|
|
994
|
-
id: string;
|
|
995
|
-
} | undefined;
|
|
996
|
-
}, {
|
|
997
|
-
trigger?: {
|
|
998
|
-
type: "release";
|
|
999
|
-
id: string;
|
|
1000
|
-
} | undefined;
|
|
1001
|
-
}>;
|
|
372
|
+
type: z.ZodEnum<{
|
|
373
|
+
release: "release";
|
|
374
|
+
}>;
|
|
375
|
+
id: z.ZodString;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
}, z.core.$strip>;
|
|
1002
378
|
declare const EntryDeletePayloadSchema: z.ZodObject<{
|
|
1003
379
|
id: z.ZodString;
|
|
1004
380
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1008,66 +384,15 @@ declare const EntryDeletePayloadSchema: z.ZodObject<{
|
|
|
1008
384
|
project: z.ZodObject<{
|
|
1009
385
|
id: z.ZodString;
|
|
1010
386
|
url: z.ZodString;
|
|
1011
|
-
},
|
|
1012
|
-
id: string;
|
|
1013
|
-
url: string;
|
|
1014
|
-
}, {
|
|
1015
|
-
id: string;
|
|
1016
|
-
url: string;
|
|
1017
|
-
}>;
|
|
387
|
+
}, z.core.$strip>;
|
|
1018
388
|
initiator: z.ZodObject<{
|
|
1019
389
|
id: z.ZodString;
|
|
1020
390
|
name: z.ZodOptional<z.ZodString>;
|
|
1021
391
|
email: z.ZodOptional<z.ZodString>;
|
|
1022
392
|
is_api_key: z.ZodBoolean;
|
|
1023
|
-
},
|
|
1024
|
-
id: string;
|
|
1025
|
-
is_api_key: boolean;
|
|
1026
|
-
name?: string | undefined;
|
|
1027
|
-
email?: string | undefined;
|
|
1028
|
-
}, {
|
|
1029
|
-
id: string;
|
|
1030
|
-
is_api_key: boolean;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
|
-
email?: string | undefined;
|
|
1033
|
-
}>;
|
|
1034
|
-
} & {
|
|
393
|
+
}, z.core.$strict>;
|
|
1035
394
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1036
|
-
},
|
|
1037
|
-
type: string;
|
|
1038
|
-
name: string;
|
|
1039
|
-
id: string;
|
|
1040
|
-
project: {
|
|
1041
|
-
id: string;
|
|
1042
|
-
url: string;
|
|
1043
|
-
};
|
|
1044
|
-
initiator: {
|
|
1045
|
-
id: string;
|
|
1046
|
-
is_api_key: boolean;
|
|
1047
|
-
name?: string | undefined;
|
|
1048
|
-
email?: string | undefined;
|
|
1049
|
-
};
|
|
1050
|
-
editionId?: string | undefined;
|
|
1051
|
-
slug?: string | undefined;
|
|
1052
|
-
state?: number | undefined;
|
|
1053
|
-
}, {
|
|
1054
|
-
type: string;
|
|
1055
|
-
name: string;
|
|
1056
|
-
id: string;
|
|
1057
|
-
project: {
|
|
1058
|
-
id: string;
|
|
1059
|
-
url: string;
|
|
1060
|
-
};
|
|
1061
|
-
initiator: {
|
|
1062
|
-
id: string;
|
|
1063
|
-
is_api_key: boolean;
|
|
1064
|
-
name?: string | undefined;
|
|
1065
|
-
email?: string | undefined;
|
|
1066
|
-
};
|
|
1067
|
-
editionId?: string | undefined;
|
|
1068
|
-
slug?: string | undefined;
|
|
1069
|
-
state?: number | undefined;
|
|
1070
|
-
}>;
|
|
395
|
+
}, z.core.$strip>;
|
|
1071
396
|
declare const EntryRestorePayloadSchema: z.ZodObject<{
|
|
1072
397
|
id: z.ZodString;
|
|
1073
398
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1077,66 +402,15 @@ declare const EntryRestorePayloadSchema: z.ZodObject<{
|
|
|
1077
402
|
project: z.ZodObject<{
|
|
1078
403
|
id: z.ZodString;
|
|
1079
404
|
url: z.ZodString;
|
|
1080
|
-
},
|
|
1081
|
-
id: string;
|
|
1082
|
-
url: string;
|
|
1083
|
-
}, {
|
|
1084
|
-
id: string;
|
|
1085
|
-
url: string;
|
|
1086
|
-
}>;
|
|
405
|
+
}, z.core.$strip>;
|
|
1087
406
|
initiator: z.ZodObject<{
|
|
1088
407
|
id: z.ZodString;
|
|
1089
408
|
name: z.ZodOptional<z.ZodString>;
|
|
1090
409
|
email: z.ZodOptional<z.ZodString>;
|
|
1091
410
|
is_api_key: z.ZodBoolean;
|
|
1092
|
-
},
|
|
1093
|
-
id: string;
|
|
1094
|
-
is_api_key: boolean;
|
|
1095
|
-
name?: string | undefined;
|
|
1096
|
-
email?: string | undefined;
|
|
1097
|
-
}, {
|
|
1098
|
-
id: string;
|
|
1099
|
-
is_api_key: boolean;
|
|
1100
|
-
name?: string | undefined;
|
|
1101
|
-
email?: string | undefined;
|
|
1102
|
-
}>;
|
|
1103
|
-
} & {
|
|
411
|
+
}, z.core.$strict>;
|
|
1104
412
|
state: z.ZodNumber;
|
|
1105
|
-
},
|
|
1106
|
-
type: string;
|
|
1107
|
-
name: string;
|
|
1108
|
-
id: string;
|
|
1109
|
-
project: {
|
|
1110
|
-
id: string;
|
|
1111
|
-
url: string;
|
|
1112
|
-
};
|
|
1113
|
-
initiator: {
|
|
1114
|
-
id: string;
|
|
1115
|
-
is_api_key: boolean;
|
|
1116
|
-
name?: string | undefined;
|
|
1117
|
-
email?: string | undefined;
|
|
1118
|
-
};
|
|
1119
|
-
state: number;
|
|
1120
|
-
editionId?: string | undefined;
|
|
1121
|
-
slug?: string | undefined;
|
|
1122
|
-
}, {
|
|
1123
|
-
type: string;
|
|
1124
|
-
name: string;
|
|
1125
|
-
id: string;
|
|
1126
|
-
project: {
|
|
1127
|
-
id: string;
|
|
1128
|
-
url: string;
|
|
1129
|
-
};
|
|
1130
|
-
initiator: {
|
|
1131
|
-
id: string;
|
|
1132
|
-
is_api_key: boolean;
|
|
1133
|
-
name?: string | undefined;
|
|
1134
|
-
email?: string | undefined;
|
|
1135
|
-
};
|
|
1136
|
-
state: number;
|
|
1137
|
-
editionId?: string | undefined;
|
|
1138
|
-
slug?: string | undefined;
|
|
1139
|
-
}>;
|
|
413
|
+
}, z.core.$strip>;
|
|
1140
414
|
declare const EntryPayloadSchema: z.ZodObject<{
|
|
1141
415
|
id: z.ZodString;
|
|
1142
416
|
editionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1146,97 +420,24 @@ declare const EntryPayloadSchema: z.ZodObject<{
|
|
|
1146
420
|
project: z.ZodObject<{
|
|
1147
421
|
id: z.ZodString;
|
|
1148
422
|
url: z.ZodString;
|
|
1149
|
-
},
|
|
1150
|
-
id: string;
|
|
1151
|
-
url: string;
|
|
1152
|
-
}, {
|
|
1153
|
-
id: string;
|
|
1154
|
-
url: string;
|
|
1155
|
-
}>;
|
|
423
|
+
}, z.core.$strip>;
|
|
1156
424
|
initiator: z.ZodObject<{
|
|
1157
425
|
id: z.ZodString;
|
|
1158
426
|
name: z.ZodOptional<z.ZodString>;
|
|
1159
427
|
email: z.ZodOptional<z.ZodString>;
|
|
1160
428
|
is_api_key: z.ZodBoolean;
|
|
1161
|
-
},
|
|
1162
|
-
id: string;
|
|
1163
|
-
is_api_key: boolean;
|
|
1164
|
-
name?: string | undefined;
|
|
1165
|
-
email?: string | undefined;
|
|
1166
|
-
}, {
|
|
1167
|
-
id: string;
|
|
1168
|
-
is_api_key: boolean;
|
|
1169
|
-
name?: string | undefined;
|
|
1170
|
-
email?: string | undefined;
|
|
1171
|
-
}>;
|
|
1172
|
-
} & {
|
|
429
|
+
}, z.core.$strict>;
|
|
1173
430
|
state: z.ZodNumber;
|
|
1174
431
|
edit_url: z.ZodString;
|
|
1175
432
|
api_url: z.ZodString;
|
|
1176
433
|
edge_url: z.ZodString;
|
|
1177
|
-
},
|
|
1178
|
-
type: string;
|
|
1179
|
-
name: string;
|
|
1180
|
-
id: string;
|
|
1181
|
-
project: {
|
|
1182
|
-
id: string;
|
|
1183
|
-
url: string;
|
|
1184
|
-
};
|
|
1185
|
-
initiator: {
|
|
1186
|
-
id: string;
|
|
1187
|
-
is_api_key: boolean;
|
|
1188
|
-
name?: string | undefined;
|
|
1189
|
-
email?: string | undefined;
|
|
1190
|
-
};
|
|
1191
|
-
state: number;
|
|
1192
|
-
edit_url: string;
|
|
1193
|
-
api_url: string;
|
|
1194
|
-
edge_url: string;
|
|
1195
|
-
editionId?: string | undefined;
|
|
1196
|
-
slug?: string | undefined;
|
|
1197
|
-
}, {
|
|
1198
|
-
type: string;
|
|
1199
|
-
name: string;
|
|
1200
|
-
id: string;
|
|
1201
|
-
project: {
|
|
1202
|
-
id: string;
|
|
1203
|
-
url: string;
|
|
1204
|
-
};
|
|
1205
|
-
initiator: {
|
|
1206
|
-
id: string;
|
|
1207
|
-
is_api_key: boolean;
|
|
1208
|
-
name?: string | undefined;
|
|
1209
|
-
email?: string | undefined;
|
|
1210
|
-
};
|
|
1211
|
-
state: number;
|
|
1212
|
-
edit_url: string;
|
|
1213
|
-
api_url: string;
|
|
1214
|
-
edge_url: string;
|
|
1215
|
-
editionId?: string | undefined;
|
|
1216
|
-
slug?: string | undefined;
|
|
1217
|
-
}>;
|
|
434
|
+
}, z.core.$strip>;
|
|
1218
435
|
declare const ReleaseEntryPayloadSchema: z.ZodObject<{
|
|
1219
436
|
release: z.ZodObject<{
|
|
1220
437
|
id: z.ZodString;
|
|
1221
438
|
url: z.ZodString;
|
|
1222
|
-
},
|
|
1223
|
-
|
|
1224
|
-
url: string;
|
|
1225
|
-
}, {
|
|
1226
|
-
id: string;
|
|
1227
|
-
url: string;
|
|
1228
|
-
}>;
|
|
1229
|
-
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
release: {
|
|
1231
|
-
id: string;
|
|
1232
|
-
url: string;
|
|
1233
|
-
};
|
|
1234
|
-
}, {
|
|
1235
|
-
release: {
|
|
1236
|
-
id: string;
|
|
1237
|
-
url: string;
|
|
1238
|
-
};
|
|
1239
|
-
}>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
}, z.core.$strip>;
|
|
1240
441
|
type EntryPayload = z.infer<typeof EntryPayloadSchema>;
|
|
1241
442
|
type ReleaseEntryPayload = z.infer<typeof ReleaseEntryPayloadSchema>;
|
|
1242
443
|
|
|
@@ -1249,94 +450,24 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<{
|
|
|
1249
450
|
project: z.ZodObject<{
|
|
1250
451
|
id: z.ZodString;
|
|
1251
452
|
url: z.ZodString;
|
|
1252
|
-
},
|
|
1253
|
-
id: string;
|
|
1254
|
-
url: string;
|
|
1255
|
-
}, {
|
|
1256
|
-
id: string;
|
|
1257
|
-
url: string;
|
|
1258
|
-
}>;
|
|
453
|
+
}, z.core.$strip>;
|
|
1259
454
|
initiator: z.ZodObject<{
|
|
1260
455
|
id: z.ZodString;
|
|
1261
456
|
name: z.ZodOptional<z.ZodString>;
|
|
1262
457
|
email: z.ZodOptional<z.ZodString>;
|
|
1263
458
|
is_api_key: z.ZodBoolean;
|
|
1264
|
-
},
|
|
1265
|
-
id: string;
|
|
1266
|
-
is_api_key: boolean;
|
|
1267
|
-
name?: string | undefined;
|
|
1268
|
-
email?: string | undefined;
|
|
1269
|
-
}, {
|
|
1270
|
-
id: string;
|
|
1271
|
-
is_api_key: boolean;
|
|
1272
|
-
name?: string | undefined;
|
|
1273
|
-
email?: string | undefined;
|
|
1274
|
-
}>;
|
|
1275
|
-
} & {
|
|
459
|
+
}, z.core.$strict>;
|
|
1276
460
|
state: z.ZodNumber;
|
|
1277
461
|
edit_url: z.ZodString;
|
|
1278
462
|
api_url: z.ZodString;
|
|
1279
463
|
edge_url: z.ZodString;
|
|
1280
|
-
} & {
|
|
1281
464
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1282
|
-
type: z.ZodEnum<
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
type: "release";
|
|
1289
|
-
id: string;
|
|
1290
|
-
}>>;
|
|
1291
|
-
}, "strip", z.ZodTypeAny, {
|
|
1292
|
-
type: string;
|
|
1293
|
-
name: string;
|
|
1294
|
-
id: string;
|
|
1295
|
-
project: {
|
|
1296
|
-
id: string;
|
|
1297
|
-
url: string;
|
|
1298
|
-
};
|
|
1299
|
-
initiator: {
|
|
1300
|
-
id: string;
|
|
1301
|
-
is_api_key: boolean;
|
|
1302
|
-
name?: string | undefined;
|
|
1303
|
-
email?: string | undefined;
|
|
1304
|
-
};
|
|
1305
|
-
state: number;
|
|
1306
|
-
edit_url: string;
|
|
1307
|
-
api_url: string;
|
|
1308
|
-
edge_url: string;
|
|
1309
|
-
editionId?: string | undefined;
|
|
1310
|
-
slug?: string | undefined;
|
|
1311
|
-
trigger?: {
|
|
1312
|
-
type: "release";
|
|
1313
|
-
id: string;
|
|
1314
|
-
} | undefined;
|
|
1315
|
-
}, {
|
|
1316
|
-
type: string;
|
|
1317
|
-
name: string;
|
|
1318
|
-
id: string;
|
|
1319
|
-
project: {
|
|
1320
|
-
id: string;
|
|
1321
|
-
url: string;
|
|
1322
|
-
};
|
|
1323
|
-
initiator: {
|
|
1324
|
-
id: string;
|
|
1325
|
-
is_api_key: boolean;
|
|
1326
|
-
name?: string | undefined;
|
|
1327
|
-
email?: string | undefined;
|
|
1328
|
-
};
|
|
1329
|
-
state: number;
|
|
1330
|
-
edit_url: string;
|
|
1331
|
-
api_url: string;
|
|
1332
|
-
edge_url: string;
|
|
1333
|
-
editionId?: string | undefined;
|
|
1334
|
-
slug?: string | undefined;
|
|
1335
|
-
trigger?: {
|
|
1336
|
-
type: "release";
|
|
1337
|
-
id: string;
|
|
1338
|
-
} | undefined;
|
|
1339
|
-
}>, "entry.changed">;
|
|
465
|
+
type: z.ZodEnum<{
|
|
466
|
+
release: "release";
|
|
467
|
+
}>;
|
|
468
|
+
id: z.ZodString;
|
|
469
|
+
}, z.core.$strip>>;
|
|
470
|
+
}, z.core.$strip>, "entry.changed">;
|
|
1340
471
|
type EntryChangedPayload = z.infer<(typeof EntryChangedDefinition)['schema']>;
|
|
1341
472
|
declare const EntryChangedEventName: "entry.changed";
|
|
1342
473
|
|
|
@@ -1349,85 +480,21 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<{
|
|
|
1349
480
|
project: z.ZodObject<{
|
|
1350
481
|
id: z.ZodString;
|
|
1351
482
|
url: z.ZodString;
|
|
1352
|
-
},
|
|
1353
|
-
id: string;
|
|
1354
|
-
url: string;
|
|
1355
|
-
}, {
|
|
1356
|
-
id: string;
|
|
1357
|
-
url: string;
|
|
1358
|
-
}>;
|
|
483
|
+
}, z.core.$strip>;
|
|
1359
484
|
initiator: z.ZodObject<{
|
|
1360
485
|
id: z.ZodString;
|
|
1361
486
|
name: z.ZodOptional<z.ZodString>;
|
|
1362
487
|
email: z.ZodOptional<z.ZodString>;
|
|
1363
488
|
is_api_key: z.ZodBoolean;
|
|
1364
|
-
},
|
|
1365
|
-
id: string;
|
|
1366
|
-
is_api_key: boolean;
|
|
1367
|
-
name?: string | undefined;
|
|
1368
|
-
email?: string | undefined;
|
|
1369
|
-
}, {
|
|
1370
|
-
id: string;
|
|
1371
|
-
is_api_key: boolean;
|
|
1372
|
-
name?: string | undefined;
|
|
1373
|
-
email?: string | undefined;
|
|
1374
|
-
}>;
|
|
1375
|
-
} & {
|
|
489
|
+
}, z.core.$strict>;
|
|
1376
490
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1377
|
-
} & {
|
|
1378
491
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1379
|
-
type: z.ZodEnum<
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
type: "release";
|
|
1386
|
-
id: string;
|
|
1387
|
-
}>>;
|
|
1388
|
-
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
type: string;
|
|
1390
|
-
name: string;
|
|
1391
|
-
id: string;
|
|
1392
|
-
project: {
|
|
1393
|
-
id: string;
|
|
1394
|
-
url: string;
|
|
1395
|
-
};
|
|
1396
|
-
initiator: {
|
|
1397
|
-
id: string;
|
|
1398
|
-
is_api_key: boolean;
|
|
1399
|
-
name?: string | undefined;
|
|
1400
|
-
email?: string | undefined;
|
|
1401
|
-
};
|
|
1402
|
-
editionId?: string | undefined;
|
|
1403
|
-
slug?: string | undefined;
|
|
1404
|
-
trigger?: {
|
|
1405
|
-
type: "release";
|
|
1406
|
-
id: string;
|
|
1407
|
-
} | undefined;
|
|
1408
|
-
state?: number | undefined;
|
|
1409
|
-
}, {
|
|
1410
|
-
type: string;
|
|
1411
|
-
name: string;
|
|
1412
|
-
id: string;
|
|
1413
|
-
project: {
|
|
1414
|
-
id: string;
|
|
1415
|
-
url: string;
|
|
1416
|
-
};
|
|
1417
|
-
initiator: {
|
|
1418
|
-
id: string;
|
|
1419
|
-
is_api_key: boolean;
|
|
1420
|
-
name?: string | undefined;
|
|
1421
|
-
email?: string | undefined;
|
|
1422
|
-
};
|
|
1423
|
-
editionId?: string | undefined;
|
|
1424
|
-
slug?: string | undefined;
|
|
1425
|
-
trigger?: {
|
|
1426
|
-
type: "release";
|
|
1427
|
-
id: string;
|
|
1428
|
-
} | undefined;
|
|
1429
|
-
state?: number | undefined;
|
|
1430
|
-
}>, "entry.deleted">;
|
|
492
|
+
type: z.ZodEnum<{
|
|
493
|
+
release: "release";
|
|
494
|
+
}>;
|
|
495
|
+
id: z.ZodString;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
}, z.core.$strip>, "entry.deleted">;
|
|
1431
498
|
type EntryDeletedPayload = z.infer<(typeof EntryDeletedDefinition)['schema']>;
|
|
1432
499
|
declare const EntryDeletedEventName: "entry.deleted";
|
|
1433
500
|
|
|
@@ -1440,94 +507,24 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1440
507
|
project: z.ZodObject<{
|
|
1441
508
|
id: z.ZodString;
|
|
1442
509
|
url: z.ZodString;
|
|
1443
|
-
},
|
|
1444
|
-
id: string;
|
|
1445
|
-
url: string;
|
|
1446
|
-
}, {
|
|
1447
|
-
id: string;
|
|
1448
|
-
url: string;
|
|
1449
|
-
}>;
|
|
510
|
+
}, z.core.$strip>;
|
|
1450
511
|
initiator: z.ZodObject<{
|
|
1451
512
|
id: z.ZodString;
|
|
1452
513
|
name: z.ZodOptional<z.ZodString>;
|
|
1453
514
|
email: z.ZodOptional<z.ZodString>;
|
|
1454
515
|
is_api_key: z.ZodBoolean;
|
|
1455
|
-
},
|
|
1456
|
-
id: string;
|
|
1457
|
-
is_api_key: boolean;
|
|
1458
|
-
name?: string | undefined;
|
|
1459
|
-
email?: string | undefined;
|
|
1460
|
-
}, {
|
|
1461
|
-
id: string;
|
|
1462
|
-
is_api_key: boolean;
|
|
1463
|
-
name?: string | undefined;
|
|
1464
|
-
email?: string | undefined;
|
|
1465
|
-
}>;
|
|
1466
|
-
} & {
|
|
516
|
+
}, z.core.$strict>;
|
|
1467
517
|
state: z.ZodNumber;
|
|
1468
518
|
edit_url: z.ZodString;
|
|
1469
519
|
api_url: z.ZodString;
|
|
1470
520
|
edge_url: z.ZodString;
|
|
1471
|
-
} & {
|
|
1472
521
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1473
|
-
type: z.ZodEnum<
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
type: "release";
|
|
1480
|
-
id: string;
|
|
1481
|
-
}>>;
|
|
1482
|
-
}, "strip", z.ZodTypeAny, {
|
|
1483
|
-
type: string;
|
|
1484
|
-
name: string;
|
|
1485
|
-
id: string;
|
|
1486
|
-
project: {
|
|
1487
|
-
id: string;
|
|
1488
|
-
url: string;
|
|
1489
|
-
};
|
|
1490
|
-
initiator: {
|
|
1491
|
-
id: string;
|
|
1492
|
-
is_api_key: boolean;
|
|
1493
|
-
name?: string | undefined;
|
|
1494
|
-
email?: string | undefined;
|
|
1495
|
-
};
|
|
1496
|
-
state: number;
|
|
1497
|
-
edit_url: string;
|
|
1498
|
-
api_url: string;
|
|
1499
|
-
edge_url: string;
|
|
1500
|
-
editionId?: string | undefined;
|
|
1501
|
-
slug?: string | undefined;
|
|
1502
|
-
trigger?: {
|
|
1503
|
-
type: "release";
|
|
1504
|
-
id: string;
|
|
1505
|
-
} | undefined;
|
|
1506
|
-
}, {
|
|
1507
|
-
type: string;
|
|
1508
|
-
name: string;
|
|
1509
|
-
id: string;
|
|
1510
|
-
project: {
|
|
1511
|
-
id: string;
|
|
1512
|
-
url: string;
|
|
1513
|
-
};
|
|
1514
|
-
initiator: {
|
|
1515
|
-
id: string;
|
|
1516
|
-
is_api_key: boolean;
|
|
1517
|
-
name?: string | undefined;
|
|
1518
|
-
email?: string | undefined;
|
|
1519
|
-
};
|
|
1520
|
-
state: number;
|
|
1521
|
-
edit_url: string;
|
|
1522
|
-
api_url: string;
|
|
1523
|
-
edge_url: string;
|
|
1524
|
-
editionId?: string | undefined;
|
|
1525
|
-
slug?: string | undefined;
|
|
1526
|
-
trigger?: {
|
|
1527
|
-
type: "release";
|
|
1528
|
-
id: string;
|
|
1529
|
-
} | undefined;
|
|
1530
|
-
}>, "entry.published">;
|
|
522
|
+
type: z.ZodEnum<{
|
|
523
|
+
release: "release";
|
|
524
|
+
}>;
|
|
525
|
+
id: z.ZodString;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
}, z.core.$strip>, "entry.published">;
|
|
1531
528
|
type EntryPublishedPayload = z.infer<(typeof EntryPublishedDefinition)['schema']>;
|
|
1532
529
|
declare const EntryPublishedEventName: "entry.published";
|
|
1533
530
|
|
|
@@ -1540,94 +537,22 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
|
1540
537
|
project: z.ZodObject<{
|
|
1541
538
|
id: z.ZodString;
|
|
1542
539
|
url: z.ZodString;
|
|
1543
|
-
},
|
|
1544
|
-
id: string;
|
|
1545
|
-
url: string;
|
|
1546
|
-
}, {
|
|
1547
|
-
id: string;
|
|
1548
|
-
url: string;
|
|
1549
|
-
}>;
|
|
540
|
+
}, z.core.$strip>;
|
|
1550
541
|
initiator: z.ZodObject<{
|
|
1551
542
|
id: z.ZodString;
|
|
1552
543
|
name: z.ZodOptional<z.ZodString>;
|
|
1553
544
|
email: z.ZodOptional<z.ZodString>;
|
|
1554
545
|
is_api_key: z.ZodBoolean;
|
|
1555
|
-
},
|
|
1556
|
-
id: string;
|
|
1557
|
-
is_api_key: boolean;
|
|
1558
|
-
name?: string | undefined;
|
|
1559
|
-
email?: string | undefined;
|
|
1560
|
-
}, {
|
|
1561
|
-
id: string;
|
|
1562
|
-
is_api_key: boolean;
|
|
1563
|
-
name?: string | undefined;
|
|
1564
|
-
email?: string | undefined;
|
|
1565
|
-
}>;
|
|
1566
|
-
} & {
|
|
546
|
+
}, z.core.$strict>;
|
|
1567
547
|
state: z.ZodNumber;
|
|
1568
548
|
edit_url: z.ZodString;
|
|
1569
549
|
api_url: z.ZodString;
|
|
1570
550
|
edge_url: z.ZodString;
|
|
1571
|
-
} & {
|
|
1572
551
|
release: z.ZodObject<{
|
|
1573
552
|
id: z.ZodString;
|
|
1574
553
|
url: z.ZodString;
|
|
1575
|
-
},
|
|
1576
|
-
|
|
1577
|
-
url: string;
|
|
1578
|
-
}, {
|
|
1579
|
-
id: string;
|
|
1580
|
-
url: string;
|
|
1581
|
-
}>;
|
|
1582
|
-
}, "strip", z.ZodTypeAny, {
|
|
1583
|
-
type: string;
|
|
1584
|
-
name: string;
|
|
1585
|
-
id: string;
|
|
1586
|
-
project: {
|
|
1587
|
-
id: string;
|
|
1588
|
-
url: string;
|
|
1589
|
-
};
|
|
1590
|
-
initiator: {
|
|
1591
|
-
id: string;
|
|
1592
|
-
is_api_key: boolean;
|
|
1593
|
-
name?: string | undefined;
|
|
1594
|
-
email?: string | undefined;
|
|
1595
|
-
};
|
|
1596
|
-
release: {
|
|
1597
|
-
id: string;
|
|
1598
|
-
url: string;
|
|
1599
|
-
};
|
|
1600
|
-
state: number;
|
|
1601
|
-
edit_url: string;
|
|
1602
|
-
api_url: string;
|
|
1603
|
-
edge_url: string;
|
|
1604
|
-
editionId?: string | undefined;
|
|
1605
|
-
slug?: string | undefined;
|
|
1606
|
-
}, {
|
|
1607
|
-
type: string;
|
|
1608
|
-
name: string;
|
|
1609
|
-
id: string;
|
|
1610
|
-
project: {
|
|
1611
|
-
id: string;
|
|
1612
|
-
url: string;
|
|
1613
|
-
};
|
|
1614
|
-
initiator: {
|
|
1615
|
-
id: string;
|
|
1616
|
-
is_api_key: boolean;
|
|
1617
|
-
name?: string | undefined;
|
|
1618
|
-
email?: string | undefined;
|
|
1619
|
-
};
|
|
1620
|
-
release: {
|
|
1621
|
-
id: string;
|
|
1622
|
-
url: string;
|
|
1623
|
-
};
|
|
1624
|
-
state: number;
|
|
1625
|
-
edit_url: string;
|
|
1626
|
-
api_url: string;
|
|
1627
|
-
edge_url: string;
|
|
1628
|
-
editionId?: string | undefined;
|
|
1629
|
-
slug?: string | undefined;
|
|
1630
|
-
}>, "entry.release.changed">;
|
|
554
|
+
}, z.core.$strip>;
|
|
555
|
+
}, z.core.$strip>, "entry.release.changed">;
|
|
1631
556
|
type EntryReleaseChangedPayload = z.infer<(typeof EntryReleaseChangedDefinition)['schema']>;
|
|
1632
557
|
declare const EntryReleaseChangedEventName: "entry.release.changed";
|
|
1633
558
|
|
|
@@ -1640,85 +565,19 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
|
1640
565
|
project: z.ZodObject<{
|
|
1641
566
|
id: z.ZodString;
|
|
1642
567
|
url: z.ZodString;
|
|
1643
|
-
},
|
|
1644
|
-
id: string;
|
|
1645
|
-
url: string;
|
|
1646
|
-
}, {
|
|
1647
|
-
id: string;
|
|
1648
|
-
url: string;
|
|
1649
|
-
}>;
|
|
568
|
+
}, z.core.$strip>;
|
|
1650
569
|
initiator: z.ZodObject<{
|
|
1651
570
|
id: z.ZodString;
|
|
1652
571
|
name: z.ZodOptional<z.ZodString>;
|
|
1653
572
|
email: z.ZodOptional<z.ZodString>;
|
|
1654
573
|
is_api_key: z.ZodBoolean;
|
|
1655
|
-
},
|
|
1656
|
-
id: string;
|
|
1657
|
-
is_api_key: boolean;
|
|
1658
|
-
name?: string | undefined;
|
|
1659
|
-
email?: string | undefined;
|
|
1660
|
-
}, {
|
|
1661
|
-
id: string;
|
|
1662
|
-
is_api_key: boolean;
|
|
1663
|
-
name?: string | undefined;
|
|
1664
|
-
email?: string | undefined;
|
|
1665
|
-
}>;
|
|
1666
|
-
} & {
|
|
574
|
+
}, z.core.$strict>;
|
|
1667
575
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1668
|
-
} & {
|
|
1669
576
|
release: z.ZodObject<{
|
|
1670
577
|
id: z.ZodString;
|
|
1671
578
|
url: z.ZodString;
|
|
1672
|
-
},
|
|
1673
|
-
|
|
1674
|
-
url: string;
|
|
1675
|
-
}, {
|
|
1676
|
-
id: string;
|
|
1677
|
-
url: string;
|
|
1678
|
-
}>;
|
|
1679
|
-
}, "strip", z.ZodTypeAny, {
|
|
1680
|
-
type: string;
|
|
1681
|
-
name: string;
|
|
1682
|
-
id: string;
|
|
1683
|
-
project: {
|
|
1684
|
-
id: string;
|
|
1685
|
-
url: string;
|
|
1686
|
-
};
|
|
1687
|
-
initiator: {
|
|
1688
|
-
id: string;
|
|
1689
|
-
is_api_key: boolean;
|
|
1690
|
-
name?: string | undefined;
|
|
1691
|
-
email?: string | undefined;
|
|
1692
|
-
};
|
|
1693
|
-
release: {
|
|
1694
|
-
id: string;
|
|
1695
|
-
url: string;
|
|
1696
|
-
};
|
|
1697
|
-
editionId?: string | undefined;
|
|
1698
|
-
slug?: string | undefined;
|
|
1699
|
-
state?: number | undefined;
|
|
1700
|
-
}, {
|
|
1701
|
-
type: string;
|
|
1702
|
-
name: string;
|
|
1703
|
-
id: string;
|
|
1704
|
-
project: {
|
|
1705
|
-
id: string;
|
|
1706
|
-
url: string;
|
|
1707
|
-
};
|
|
1708
|
-
initiator: {
|
|
1709
|
-
id: string;
|
|
1710
|
-
is_api_key: boolean;
|
|
1711
|
-
name?: string | undefined;
|
|
1712
|
-
email?: string | undefined;
|
|
1713
|
-
};
|
|
1714
|
-
release: {
|
|
1715
|
-
id: string;
|
|
1716
|
-
url: string;
|
|
1717
|
-
};
|
|
1718
|
-
editionId?: string | undefined;
|
|
1719
|
-
slug?: string | undefined;
|
|
1720
|
-
state?: number | undefined;
|
|
1721
|
-
}>, "entry.release.deleted">;
|
|
579
|
+
}, z.core.$strip>;
|
|
580
|
+
}, z.core.$strip>, "entry.release.deleted">;
|
|
1722
581
|
type EntryReleaseDeletedPayload = z.infer<(typeof EntryReleaseDeletedDefinition)['schema']>;
|
|
1723
582
|
declare const EntryReleaseDeletedEventName: "entry.release.deleted";
|
|
1724
583
|
|
|
@@ -1731,94 +590,22 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
|
1731
590
|
project: z.ZodObject<{
|
|
1732
591
|
id: z.ZodString;
|
|
1733
592
|
url: z.ZodString;
|
|
1734
|
-
},
|
|
1735
|
-
id: string;
|
|
1736
|
-
url: string;
|
|
1737
|
-
}, {
|
|
1738
|
-
id: string;
|
|
1739
|
-
url: string;
|
|
1740
|
-
}>;
|
|
593
|
+
}, z.core.$strip>;
|
|
1741
594
|
initiator: z.ZodObject<{
|
|
1742
595
|
id: z.ZodString;
|
|
1743
596
|
name: z.ZodOptional<z.ZodString>;
|
|
1744
597
|
email: z.ZodOptional<z.ZodString>;
|
|
1745
598
|
is_api_key: z.ZodBoolean;
|
|
1746
|
-
},
|
|
1747
|
-
id: string;
|
|
1748
|
-
is_api_key: boolean;
|
|
1749
|
-
name?: string | undefined;
|
|
1750
|
-
email?: string | undefined;
|
|
1751
|
-
}, {
|
|
1752
|
-
id: string;
|
|
1753
|
-
is_api_key: boolean;
|
|
1754
|
-
name?: string | undefined;
|
|
1755
|
-
email?: string | undefined;
|
|
1756
|
-
}>;
|
|
1757
|
-
} & {
|
|
599
|
+
}, z.core.$strict>;
|
|
1758
600
|
state: z.ZodNumber;
|
|
1759
601
|
edit_url: z.ZodString;
|
|
1760
602
|
api_url: z.ZodString;
|
|
1761
603
|
edge_url: z.ZodString;
|
|
1762
|
-
} & {
|
|
1763
604
|
release: z.ZodObject<{
|
|
1764
605
|
id: z.ZodString;
|
|
1765
606
|
url: z.ZodString;
|
|
1766
|
-
},
|
|
1767
|
-
|
|
1768
|
-
url: string;
|
|
1769
|
-
}, {
|
|
1770
|
-
id: string;
|
|
1771
|
-
url: string;
|
|
1772
|
-
}>;
|
|
1773
|
-
}, "strip", z.ZodTypeAny, {
|
|
1774
|
-
type: string;
|
|
1775
|
-
name: string;
|
|
1776
|
-
id: string;
|
|
1777
|
-
project: {
|
|
1778
|
-
id: string;
|
|
1779
|
-
url: string;
|
|
1780
|
-
};
|
|
1781
|
-
initiator: {
|
|
1782
|
-
id: string;
|
|
1783
|
-
is_api_key: boolean;
|
|
1784
|
-
name?: string | undefined;
|
|
1785
|
-
email?: string | undefined;
|
|
1786
|
-
};
|
|
1787
|
-
release: {
|
|
1788
|
-
id: string;
|
|
1789
|
-
url: string;
|
|
1790
|
-
};
|
|
1791
|
-
state: number;
|
|
1792
|
-
edit_url: string;
|
|
1793
|
-
api_url: string;
|
|
1794
|
-
edge_url: string;
|
|
1795
|
-
editionId?: string | undefined;
|
|
1796
|
-
slug?: string | undefined;
|
|
1797
|
-
}, {
|
|
1798
|
-
type: string;
|
|
1799
|
-
name: string;
|
|
1800
|
-
id: string;
|
|
1801
|
-
project: {
|
|
1802
|
-
id: string;
|
|
1803
|
-
url: string;
|
|
1804
|
-
};
|
|
1805
|
-
initiator: {
|
|
1806
|
-
id: string;
|
|
1807
|
-
is_api_key: boolean;
|
|
1808
|
-
name?: string | undefined;
|
|
1809
|
-
email?: string | undefined;
|
|
1810
|
-
};
|
|
1811
|
-
release: {
|
|
1812
|
-
id: string;
|
|
1813
|
-
url: string;
|
|
1814
|
-
};
|
|
1815
|
-
state: number;
|
|
1816
|
-
edit_url: string;
|
|
1817
|
-
api_url: string;
|
|
1818
|
-
edge_url: string;
|
|
1819
|
-
editionId?: string | undefined;
|
|
1820
|
-
slug?: string | undefined;
|
|
1821
|
-
}>, "entry.release.published">;
|
|
607
|
+
}, z.core.$strip>;
|
|
608
|
+
}, z.core.$strip>, "entry.release.published">;
|
|
1822
609
|
type EntryReleasePublishedPayload = z.infer<(typeof EntryReleasePublishedDefinition)['schema']>;
|
|
1823
610
|
declare const EntryReleasePublishedEventName: "entry.release.published";
|
|
1824
611
|
|
|
@@ -1831,85 +618,19 @@ declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
|
1831
618
|
project: z.ZodObject<{
|
|
1832
619
|
id: z.ZodString;
|
|
1833
620
|
url: z.ZodString;
|
|
1834
|
-
},
|
|
1835
|
-
id: string;
|
|
1836
|
-
url: string;
|
|
1837
|
-
}, {
|
|
1838
|
-
id: string;
|
|
1839
|
-
url: string;
|
|
1840
|
-
}>;
|
|
621
|
+
}, z.core.$strip>;
|
|
1841
622
|
initiator: z.ZodObject<{
|
|
1842
623
|
id: z.ZodString;
|
|
1843
624
|
name: z.ZodOptional<z.ZodString>;
|
|
1844
625
|
email: z.ZodOptional<z.ZodString>;
|
|
1845
626
|
is_api_key: z.ZodBoolean;
|
|
1846
|
-
},
|
|
1847
|
-
id: string;
|
|
1848
|
-
is_api_key: boolean;
|
|
1849
|
-
name?: string | undefined;
|
|
1850
|
-
email?: string | undefined;
|
|
1851
|
-
}, {
|
|
1852
|
-
id: string;
|
|
1853
|
-
is_api_key: boolean;
|
|
1854
|
-
name?: string | undefined;
|
|
1855
|
-
email?: string | undefined;
|
|
1856
|
-
}>;
|
|
1857
|
-
} & {
|
|
627
|
+
}, z.core.$strict>;
|
|
1858
628
|
state: z.ZodNumber;
|
|
1859
|
-
} & {
|
|
1860
629
|
release: z.ZodObject<{
|
|
1861
630
|
id: z.ZodString;
|
|
1862
631
|
url: z.ZodString;
|
|
1863
|
-
},
|
|
1864
|
-
|
|
1865
|
-
url: string;
|
|
1866
|
-
}, {
|
|
1867
|
-
id: string;
|
|
1868
|
-
url: string;
|
|
1869
|
-
}>;
|
|
1870
|
-
}, "strip", z.ZodTypeAny, {
|
|
1871
|
-
type: string;
|
|
1872
|
-
name: string;
|
|
1873
|
-
id: string;
|
|
1874
|
-
project: {
|
|
1875
|
-
id: string;
|
|
1876
|
-
url: string;
|
|
1877
|
-
};
|
|
1878
|
-
initiator: {
|
|
1879
|
-
id: string;
|
|
1880
|
-
is_api_key: boolean;
|
|
1881
|
-
name?: string | undefined;
|
|
1882
|
-
email?: string | undefined;
|
|
1883
|
-
};
|
|
1884
|
-
release: {
|
|
1885
|
-
id: string;
|
|
1886
|
-
url: string;
|
|
1887
|
-
};
|
|
1888
|
-
state: number;
|
|
1889
|
-
editionId?: string | undefined;
|
|
1890
|
-
slug?: string | undefined;
|
|
1891
|
-
}, {
|
|
1892
|
-
type: string;
|
|
1893
|
-
name: string;
|
|
1894
|
-
id: string;
|
|
1895
|
-
project: {
|
|
1896
|
-
id: string;
|
|
1897
|
-
url: string;
|
|
1898
|
-
};
|
|
1899
|
-
initiator: {
|
|
1900
|
-
id: string;
|
|
1901
|
-
is_api_key: boolean;
|
|
1902
|
-
name?: string | undefined;
|
|
1903
|
-
email?: string | undefined;
|
|
1904
|
-
};
|
|
1905
|
-
release: {
|
|
1906
|
-
id: string;
|
|
1907
|
-
url: string;
|
|
1908
|
-
};
|
|
1909
|
-
state: number;
|
|
1910
|
-
editionId?: string | undefined;
|
|
1911
|
-
slug?: string | undefined;
|
|
1912
|
-
}>, "entry.release.restored">;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
}, z.core.$strip>, "entry.release.restored">;
|
|
1913
634
|
type EntryReleaseRestoredPayload = z.infer<(typeof EntryReleaseRestoredDefinition)['schema']>;
|
|
1914
635
|
declare const EntryReleaseRestoredEventName: "entry.release.restored";
|
|
1915
636
|
|
|
@@ -1918,26 +639,8 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
1918
639
|
site: z.ZodObject<{
|
|
1919
640
|
id: z.ZodString;
|
|
1920
641
|
name: z.ZodString;
|
|
1921
|
-
},
|
|
1922
|
-
|
|
1923
|
-
id: string;
|
|
1924
|
-
}, {
|
|
1925
|
-
name: string;
|
|
1926
|
-
id: string;
|
|
1927
|
-
}>;
|
|
1928
|
-
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
timestamp: string;
|
|
1930
|
-
site: {
|
|
1931
|
-
name: string;
|
|
1932
|
-
id: string;
|
|
1933
|
-
};
|
|
1934
|
-
}, {
|
|
1935
|
-
timestamp: string;
|
|
1936
|
-
site: {
|
|
1937
|
-
name: string;
|
|
1938
|
-
id: string;
|
|
1939
|
-
};
|
|
1940
|
-
}>, "manifest.published">;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
}, z.core.$strip>, "manifest.published">;
|
|
1941
644
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
1942
645
|
declare const ManifestPublishedEventName: "manifest.published";
|
|
1943
646
|
|
|
@@ -1945,15 +648,7 @@ declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
|
1945
648
|
id: z.ZodString;
|
|
1946
649
|
base_url: z.ZodOptional<z.ZodString>;
|
|
1947
650
|
project_id: z.ZodString;
|
|
1948
|
-
},
|
|
1949
|
-
id: string;
|
|
1950
|
-
project_id: string;
|
|
1951
|
-
base_url?: string | undefined;
|
|
1952
|
-
}, {
|
|
1953
|
-
id: string;
|
|
1954
|
-
project_id: string;
|
|
1955
|
-
base_url?: string | undefined;
|
|
1956
|
-
}>, "projectmap.delete">;
|
|
651
|
+
}, z.core.$strip>, "projectmap.delete">;
|
|
1957
652
|
type ProjectMapDeletedPayload = z.infer<(typeof ProjectMapDeleteDefinition)['schema']>;
|
|
1958
653
|
declare const ProjectMapDeletedEventName: "projectmap.delete";
|
|
1959
654
|
|
|
@@ -1968,68 +663,14 @@ declare const ProjectMapNodeDeleteDefinition: Definition<z.ZodObject<{
|
|
|
1968
663
|
name: z.ZodString;
|
|
1969
664
|
inherited: z.ZodBoolean;
|
|
1970
665
|
path: z.ZodString;
|
|
1971
|
-
},
|
|
1972
|
-
path: string;
|
|
1973
|
-
name: string;
|
|
1974
|
-
inherited: boolean;
|
|
1975
|
-
}, {
|
|
1976
|
-
path: string;
|
|
1977
|
-
name: string;
|
|
1978
|
-
inherited: boolean;
|
|
1979
|
-
}>>>;
|
|
666
|
+
}, z.core.$strip>>>;
|
|
1980
667
|
initiator: z.ZodObject<{
|
|
1981
668
|
id: z.ZodString;
|
|
1982
669
|
name: z.ZodOptional<z.ZodString>;
|
|
1983
670
|
email: z.ZodOptional<z.ZodString>;
|
|
1984
671
|
is_api_key: z.ZodBoolean;
|
|
1985
|
-
},
|
|
1986
|
-
|
|
1987
|
-
is_api_key: boolean;
|
|
1988
|
-
name?: string | undefined;
|
|
1989
|
-
email?: string | undefined;
|
|
1990
|
-
}, {
|
|
1991
|
-
id: string;
|
|
1992
|
-
is_api_key: boolean;
|
|
1993
|
-
name?: string | undefined;
|
|
1994
|
-
email?: string | undefined;
|
|
1995
|
-
}>;
|
|
1996
|
-
}, "strip", z.ZodTypeAny, {
|
|
1997
|
-
path: string;
|
|
1998
|
-
name: string;
|
|
1999
|
-
id: string;
|
|
2000
|
-
initiator: {
|
|
2001
|
-
id: string;
|
|
2002
|
-
is_api_key: boolean;
|
|
2003
|
-
name?: string | undefined;
|
|
2004
|
-
email?: string | undefined;
|
|
2005
|
-
};
|
|
2006
|
-
project_id: string;
|
|
2007
|
-
project_map_id: string;
|
|
2008
|
-
composition_id?: string | undefined;
|
|
2009
|
-
locales?: Record<string, {
|
|
2010
|
-
path: string;
|
|
2011
|
-
name: string;
|
|
2012
|
-
inherited: boolean;
|
|
2013
|
-
}> | undefined;
|
|
2014
|
-
}, {
|
|
2015
|
-
path: string;
|
|
2016
|
-
name: string;
|
|
2017
|
-
id: string;
|
|
2018
|
-
initiator: {
|
|
2019
|
-
id: string;
|
|
2020
|
-
is_api_key: boolean;
|
|
2021
|
-
name?: string | undefined;
|
|
2022
|
-
email?: string | undefined;
|
|
2023
|
-
};
|
|
2024
|
-
project_id: string;
|
|
2025
|
-
project_map_id: string;
|
|
2026
|
-
composition_id?: string | undefined;
|
|
2027
|
-
locales?: Record<string, {
|
|
2028
|
-
path: string;
|
|
2029
|
-
name: string;
|
|
2030
|
-
inherited: boolean;
|
|
2031
|
-
}> | undefined;
|
|
2032
|
-
}>, "projectmap.node.delete">;
|
|
672
|
+
}, z.core.$strict>;
|
|
673
|
+
}, z.core.$strip>, "projectmap.node.delete">;
|
|
2033
674
|
type ProjectMapNodeDeletedPayload = z.infer<(typeof ProjectMapNodeDeleteDefinition)['schema']>;
|
|
2034
675
|
declare const ProjectMapNodeDeletedEventName: "projectmap.node.delete";
|
|
2035
676
|
|
|
@@ -2044,68 +685,14 @@ declare const ProjectMapNodeInsertDefinition: Definition<z.ZodObject<{
|
|
|
2044
685
|
name: z.ZodString;
|
|
2045
686
|
inherited: z.ZodBoolean;
|
|
2046
687
|
path: z.ZodString;
|
|
2047
|
-
},
|
|
2048
|
-
path: string;
|
|
2049
|
-
name: string;
|
|
2050
|
-
inherited: boolean;
|
|
2051
|
-
}, {
|
|
2052
|
-
path: string;
|
|
2053
|
-
name: string;
|
|
2054
|
-
inherited: boolean;
|
|
2055
|
-
}>>>;
|
|
688
|
+
}, z.core.$strip>>>;
|
|
2056
689
|
initiator: z.ZodObject<{
|
|
2057
690
|
id: z.ZodString;
|
|
2058
691
|
name: z.ZodOptional<z.ZodString>;
|
|
2059
692
|
email: z.ZodOptional<z.ZodString>;
|
|
2060
693
|
is_api_key: z.ZodBoolean;
|
|
2061
|
-
},
|
|
2062
|
-
|
|
2063
|
-
is_api_key: boolean;
|
|
2064
|
-
name?: string | undefined;
|
|
2065
|
-
email?: string | undefined;
|
|
2066
|
-
}, {
|
|
2067
|
-
id: string;
|
|
2068
|
-
is_api_key: boolean;
|
|
2069
|
-
name?: string | undefined;
|
|
2070
|
-
email?: string | undefined;
|
|
2071
|
-
}>;
|
|
2072
|
-
}, "strip", z.ZodTypeAny, {
|
|
2073
|
-
path: string;
|
|
2074
|
-
name: string;
|
|
2075
|
-
id: string;
|
|
2076
|
-
initiator: {
|
|
2077
|
-
id: string;
|
|
2078
|
-
is_api_key: boolean;
|
|
2079
|
-
name?: string | undefined;
|
|
2080
|
-
email?: string | undefined;
|
|
2081
|
-
};
|
|
2082
|
-
project_id: string;
|
|
2083
|
-
project_map_id: string;
|
|
2084
|
-
composition_id?: string | undefined;
|
|
2085
|
-
locales?: Record<string, {
|
|
2086
|
-
path: string;
|
|
2087
|
-
name: string;
|
|
2088
|
-
inherited: boolean;
|
|
2089
|
-
}> | undefined;
|
|
2090
|
-
}, {
|
|
2091
|
-
path: string;
|
|
2092
|
-
name: string;
|
|
2093
|
-
id: string;
|
|
2094
|
-
initiator: {
|
|
2095
|
-
id: string;
|
|
2096
|
-
is_api_key: boolean;
|
|
2097
|
-
name?: string | undefined;
|
|
2098
|
-
email?: string | undefined;
|
|
2099
|
-
};
|
|
2100
|
-
project_id: string;
|
|
2101
|
-
project_map_id: string;
|
|
2102
|
-
composition_id?: string | undefined;
|
|
2103
|
-
locales?: Record<string, {
|
|
2104
|
-
path: string;
|
|
2105
|
-
name: string;
|
|
2106
|
-
inherited: boolean;
|
|
2107
|
-
}> | undefined;
|
|
2108
|
-
}>, "projectmap.node.insert">;
|
|
694
|
+
}, z.core.$strict>;
|
|
695
|
+
}, z.core.$strip>, "projectmap.node.insert">;
|
|
2109
696
|
type ProjectMapNodeInsertedPayload = z.infer<(typeof ProjectMapNodeInsertDefinition)['schema']>;
|
|
2110
697
|
declare const ProjectMapNodeInsertedEventName: "projectmap.node.insert";
|
|
2111
698
|
|
|
@@ -2122,74 +709,14 @@ declare const ProjectMapNodeUpdateDefinition: Definition<z.ZodObject<{
|
|
|
2122
709
|
inherited: z.ZodBoolean;
|
|
2123
710
|
path: z.ZodString;
|
|
2124
711
|
previous_path: z.ZodString;
|
|
2125
|
-
},
|
|
2126
|
-
path: string;
|
|
2127
|
-
name: string;
|
|
2128
|
-
inherited: boolean;
|
|
2129
|
-
previous_path: string;
|
|
2130
|
-
}, {
|
|
2131
|
-
path: string;
|
|
2132
|
-
name: string;
|
|
2133
|
-
inherited: boolean;
|
|
2134
|
-
previous_path: string;
|
|
2135
|
-
}>>>;
|
|
712
|
+
}, z.core.$strip>>>;
|
|
2136
713
|
initiator: z.ZodObject<{
|
|
2137
714
|
id: z.ZodString;
|
|
2138
715
|
name: z.ZodOptional<z.ZodString>;
|
|
2139
716
|
email: z.ZodOptional<z.ZodString>;
|
|
2140
717
|
is_api_key: z.ZodBoolean;
|
|
2141
|
-
},
|
|
2142
|
-
|
|
2143
|
-
is_api_key: boolean;
|
|
2144
|
-
name?: string | undefined;
|
|
2145
|
-
email?: string | undefined;
|
|
2146
|
-
}, {
|
|
2147
|
-
id: string;
|
|
2148
|
-
is_api_key: boolean;
|
|
2149
|
-
name?: string | undefined;
|
|
2150
|
-
email?: string | undefined;
|
|
2151
|
-
}>;
|
|
2152
|
-
}, "strip", z.ZodTypeAny, {
|
|
2153
|
-
path: string;
|
|
2154
|
-
name: string;
|
|
2155
|
-
id: string;
|
|
2156
|
-
initiator: {
|
|
2157
|
-
id: string;
|
|
2158
|
-
is_api_key: boolean;
|
|
2159
|
-
name?: string | undefined;
|
|
2160
|
-
email?: string | undefined;
|
|
2161
|
-
};
|
|
2162
|
-
project_id: string;
|
|
2163
|
-
project_map_id: string;
|
|
2164
|
-
previous_path: string;
|
|
2165
|
-
composition_id?: string | undefined;
|
|
2166
|
-
locales?: Record<string, {
|
|
2167
|
-
path: string;
|
|
2168
|
-
name: string;
|
|
2169
|
-
inherited: boolean;
|
|
2170
|
-
previous_path: string;
|
|
2171
|
-
}> | undefined;
|
|
2172
|
-
}, {
|
|
2173
|
-
path: string;
|
|
2174
|
-
name: string;
|
|
2175
|
-
id: string;
|
|
2176
|
-
initiator: {
|
|
2177
|
-
id: string;
|
|
2178
|
-
is_api_key: boolean;
|
|
2179
|
-
name?: string | undefined;
|
|
2180
|
-
email?: string | undefined;
|
|
2181
|
-
};
|
|
2182
|
-
project_id: string;
|
|
2183
|
-
project_map_id: string;
|
|
2184
|
-
previous_path: string;
|
|
2185
|
-
composition_id?: string | undefined;
|
|
2186
|
-
locales?: Record<string, {
|
|
2187
|
-
path: string;
|
|
2188
|
-
name: string;
|
|
2189
|
-
inherited: boolean;
|
|
2190
|
-
previous_path: string;
|
|
2191
|
-
}> | undefined;
|
|
2192
|
-
}>, "projectmap.node.update">;
|
|
718
|
+
}, z.core.$strict>;
|
|
719
|
+
}, z.core.$strip>, "projectmap.node.update">;
|
|
2193
720
|
type ProjectMapNodeUpdatedPayload = z.infer<(typeof ProjectMapNodeUpdateDefinition)['schema']>;
|
|
2194
721
|
declare const ProjectMapNodeUpdatedEventName: "projectmap.node.update";
|
|
2195
722
|
|
|
@@ -2202,38 +729,8 @@ declare const ProjectMapUpdateDefinition: Definition<z.ZodObject<{
|
|
|
2202
729
|
name: z.ZodOptional<z.ZodString>;
|
|
2203
730
|
email: z.ZodOptional<z.ZodString>;
|
|
2204
731
|
is_api_key: z.ZodBoolean;
|
|
2205
|
-
},
|
|
2206
|
-
|
|
2207
|
-
is_api_key: boolean;
|
|
2208
|
-
name?: string | undefined;
|
|
2209
|
-
email?: string | undefined;
|
|
2210
|
-
}, {
|
|
2211
|
-
id: string;
|
|
2212
|
-
is_api_key: boolean;
|
|
2213
|
-
name?: string | undefined;
|
|
2214
|
-
email?: string | undefined;
|
|
2215
|
-
}>;
|
|
2216
|
-
}, "strip", z.ZodTypeAny, {
|
|
2217
|
-
id: string;
|
|
2218
|
-
initiator: {
|
|
2219
|
-
id: string;
|
|
2220
|
-
is_api_key: boolean;
|
|
2221
|
-
name?: string | undefined;
|
|
2222
|
-
email?: string | undefined;
|
|
2223
|
-
};
|
|
2224
|
-
project_id: string;
|
|
2225
|
-
base_url?: string | undefined;
|
|
2226
|
-
}, {
|
|
2227
|
-
id: string;
|
|
2228
|
-
initiator: {
|
|
2229
|
-
id: string;
|
|
2230
|
-
is_api_key: boolean;
|
|
2231
|
-
name?: string | undefined;
|
|
2232
|
-
email?: string | undefined;
|
|
2233
|
-
};
|
|
2234
|
-
project_id: string;
|
|
2235
|
-
base_url?: string | undefined;
|
|
2236
|
-
}>, "projectmap.update">;
|
|
732
|
+
}, z.core.$strict>;
|
|
733
|
+
}, z.core.$strip>, "projectmap.update">;
|
|
2237
734
|
type ProjectMapUpdatedPayload = z.infer<(typeof ProjectMapUpdateDefinition)['schema']>;
|
|
2238
735
|
declare const ProjectMapUpdatedEventName: "projectmap.update";
|
|
2239
736
|
|
|
@@ -2248,42 +745,8 @@ declare const RedirectDeleteDefinition: Definition<z.ZodObject<{
|
|
|
2248
745
|
name: z.ZodOptional<z.ZodString>;
|
|
2249
746
|
email: z.ZodOptional<z.ZodString>;
|
|
2250
747
|
is_api_key: z.ZodBoolean;
|
|
2251
|
-
},
|
|
2252
|
-
|
|
2253
|
-
is_api_key: boolean;
|
|
2254
|
-
name?: string | undefined;
|
|
2255
|
-
email?: string | undefined;
|
|
2256
|
-
}, {
|
|
2257
|
-
id: string;
|
|
2258
|
-
is_api_key: boolean;
|
|
2259
|
-
name?: string | undefined;
|
|
2260
|
-
email?: string | undefined;
|
|
2261
|
-
}>;
|
|
2262
|
-
}, "strip", z.ZodTypeAny, {
|
|
2263
|
-
id: string;
|
|
2264
|
-
initiator: {
|
|
2265
|
-
id: string;
|
|
2266
|
-
is_api_key: boolean;
|
|
2267
|
-
name?: string | undefined;
|
|
2268
|
-
email?: string | undefined;
|
|
2269
|
-
};
|
|
2270
|
-
project_id: string;
|
|
2271
|
-
source_url: string;
|
|
2272
|
-
target_url: string;
|
|
2273
|
-
target_status_code: number;
|
|
2274
|
-
}, {
|
|
2275
|
-
id: string;
|
|
2276
|
-
initiator: {
|
|
2277
|
-
id: string;
|
|
2278
|
-
is_api_key: boolean;
|
|
2279
|
-
name?: string | undefined;
|
|
2280
|
-
email?: string | undefined;
|
|
2281
|
-
};
|
|
2282
|
-
project_id: string;
|
|
2283
|
-
source_url: string;
|
|
2284
|
-
target_url: string;
|
|
2285
|
-
target_status_code: number;
|
|
2286
|
-
}>, "redirect.delete">;
|
|
748
|
+
}, z.core.$strict>;
|
|
749
|
+
}, z.core.$strip>, "redirect.delete">;
|
|
2287
750
|
type RedirectDeletedPayload = z.infer<(typeof RedirectDeleteDefinition)['schema']>;
|
|
2288
751
|
declare const RedirectDeletedEventName: "redirect.delete";
|
|
2289
752
|
|
|
@@ -2298,42 +761,8 @@ declare const RedirectInsertDefinition: Definition<z.ZodObject<{
|
|
|
2298
761
|
name: z.ZodOptional<z.ZodString>;
|
|
2299
762
|
email: z.ZodOptional<z.ZodString>;
|
|
2300
763
|
is_api_key: z.ZodBoolean;
|
|
2301
|
-
},
|
|
2302
|
-
|
|
2303
|
-
is_api_key: boolean;
|
|
2304
|
-
name?: string | undefined;
|
|
2305
|
-
email?: string | undefined;
|
|
2306
|
-
}, {
|
|
2307
|
-
id: string;
|
|
2308
|
-
is_api_key: boolean;
|
|
2309
|
-
name?: string | undefined;
|
|
2310
|
-
email?: string | undefined;
|
|
2311
|
-
}>;
|
|
2312
|
-
}, "strip", z.ZodTypeAny, {
|
|
2313
|
-
id: string;
|
|
2314
|
-
initiator: {
|
|
2315
|
-
id: string;
|
|
2316
|
-
is_api_key: boolean;
|
|
2317
|
-
name?: string | undefined;
|
|
2318
|
-
email?: string | undefined;
|
|
2319
|
-
};
|
|
2320
|
-
project_id: string;
|
|
2321
|
-
source_url: string;
|
|
2322
|
-
target_url: string;
|
|
2323
|
-
target_status_code: number;
|
|
2324
|
-
}, {
|
|
2325
|
-
id: string;
|
|
2326
|
-
initiator: {
|
|
2327
|
-
id: string;
|
|
2328
|
-
is_api_key: boolean;
|
|
2329
|
-
name?: string | undefined;
|
|
2330
|
-
email?: string | undefined;
|
|
2331
|
-
};
|
|
2332
|
-
project_id: string;
|
|
2333
|
-
source_url: string;
|
|
2334
|
-
target_url: string;
|
|
2335
|
-
target_status_code: number;
|
|
2336
|
-
}>, "redirect.insert">;
|
|
764
|
+
}, z.core.$strict>;
|
|
765
|
+
}, z.core.$strip>, "redirect.insert">;
|
|
2337
766
|
type RedirectInsertedPayload = z.infer<(typeof RedirectInsertDefinition)['schema']>;
|
|
2338
767
|
declare const RedirectInsertedEventName: "redirect.insert";
|
|
2339
768
|
|
|
@@ -2348,648 +777,235 @@ declare const RedirectUpdateDefinition: Definition<z.ZodObject<{
|
|
|
2348
777
|
name: z.ZodOptional<z.ZodString>;
|
|
2349
778
|
email: z.ZodOptional<z.ZodString>;
|
|
2350
779
|
is_api_key: z.ZodBoolean;
|
|
2351
|
-
},
|
|
2352
|
-
|
|
2353
|
-
is_api_key: boolean;
|
|
2354
|
-
name?: string | undefined;
|
|
2355
|
-
email?: string | undefined;
|
|
2356
|
-
}, {
|
|
2357
|
-
id: string;
|
|
2358
|
-
is_api_key: boolean;
|
|
2359
|
-
name?: string | undefined;
|
|
2360
|
-
email?: string | undefined;
|
|
2361
|
-
}>;
|
|
2362
|
-
}, "strip", z.ZodTypeAny, {
|
|
2363
|
-
id: string;
|
|
2364
|
-
initiator: {
|
|
2365
|
-
id: string;
|
|
2366
|
-
is_api_key: boolean;
|
|
2367
|
-
name?: string | undefined;
|
|
2368
|
-
email?: string | undefined;
|
|
2369
|
-
};
|
|
2370
|
-
project_id: string;
|
|
2371
|
-
source_url: string;
|
|
2372
|
-
target_url: string;
|
|
2373
|
-
target_status_code: number;
|
|
2374
|
-
}, {
|
|
2375
|
-
id: string;
|
|
2376
|
-
initiator: {
|
|
2377
|
-
id: string;
|
|
2378
|
-
is_api_key: boolean;
|
|
2379
|
-
name?: string | undefined;
|
|
2380
|
-
email?: string | undefined;
|
|
2381
|
-
};
|
|
2382
|
-
project_id: string;
|
|
2383
|
-
source_url: string;
|
|
2384
|
-
target_url: string;
|
|
2385
|
-
target_status_code: number;
|
|
2386
|
-
}>, "redirect.update">;
|
|
780
|
+
}, z.core.$strict>;
|
|
781
|
+
}, z.core.$strip>, "redirect.update">;
|
|
2387
782
|
type RedirectUpdatedPayload = z.infer<(typeof RedirectUpdateDefinition)['schema']>;
|
|
2388
783
|
declare const RedirectUpdatedEventName: "redirect.update";
|
|
2389
784
|
|
|
2390
785
|
declare const ReleasePayloadSchema: z.ZodObject<{
|
|
2391
786
|
id: z.ZodString;
|
|
2392
|
-
state: z.ZodEnum<
|
|
787
|
+
state: z.ZodEnum<{
|
|
788
|
+
open: "open";
|
|
789
|
+
locked: "locked";
|
|
790
|
+
queued: "queued";
|
|
791
|
+
launching: "launching";
|
|
792
|
+
launched: "launched";
|
|
793
|
+
deleting: "deleting";
|
|
794
|
+
}>;
|
|
2393
795
|
name: z.ZodString;
|
|
2394
796
|
project: z.ZodObject<{
|
|
2395
797
|
id: z.ZodString;
|
|
2396
798
|
url: z.ZodString;
|
|
2397
|
-
},
|
|
2398
|
-
id: string;
|
|
2399
|
-
url: string;
|
|
2400
|
-
}, {
|
|
2401
|
-
id: string;
|
|
2402
|
-
url: string;
|
|
2403
|
-
}>;
|
|
799
|
+
}, z.core.$strip>;
|
|
2404
800
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2405
801
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2406
802
|
edit_url: z.ZodString;
|
|
2407
803
|
api_url: z.ZodString;
|
|
2408
|
-
},
|
|
2409
|
-
name: string;
|
|
2410
|
-
id: string;
|
|
2411
|
-
project: {
|
|
2412
|
-
id: string;
|
|
2413
|
-
url: string;
|
|
2414
|
-
};
|
|
2415
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2416
|
-
edit_url: string;
|
|
2417
|
-
api_url: string;
|
|
2418
|
-
autoLaunchSchedule?: number | undefined;
|
|
2419
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2420
|
-
}, {
|
|
2421
|
-
name: string;
|
|
2422
|
-
id: string;
|
|
2423
|
-
project: {
|
|
2424
|
-
id: string;
|
|
2425
|
-
url: string;
|
|
2426
|
-
};
|
|
2427
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2428
|
-
edit_url: string;
|
|
2429
|
-
api_url: string;
|
|
2430
|
-
autoLaunchSchedule?: number | undefined;
|
|
2431
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2432
|
-
}>;
|
|
804
|
+
}, z.core.$strip>;
|
|
2433
805
|
type ReleasePayload = z.infer<typeof ReleasePayloadSchema>;
|
|
2434
806
|
|
|
2435
807
|
declare const ReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
2436
808
|
id: z.ZodString;
|
|
2437
|
-
state: z.ZodEnum<
|
|
809
|
+
state: z.ZodEnum<{
|
|
810
|
+
open: "open";
|
|
811
|
+
locked: "locked";
|
|
812
|
+
queued: "queued";
|
|
813
|
+
launching: "launching";
|
|
814
|
+
launched: "launched";
|
|
815
|
+
deleting: "deleting";
|
|
816
|
+
}>;
|
|
2438
817
|
name: z.ZodString;
|
|
2439
818
|
project: z.ZodObject<{
|
|
2440
819
|
id: z.ZodString;
|
|
2441
820
|
url: z.ZodString;
|
|
2442
|
-
},
|
|
2443
|
-
id: string;
|
|
2444
|
-
url: string;
|
|
2445
|
-
}, {
|
|
2446
|
-
id: string;
|
|
2447
|
-
url: string;
|
|
2448
|
-
}>;
|
|
821
|
+
}, z.core.$strip>;
|
|
2449
822
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2450
823
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2451
824
|
edit_url: z.ZodString;
|
|
2452
825
|
api_url: z.ZodString;
|
|
2453
|
-
},
|
|
2454
|
-
name: string;
|
|
2455
|
-
id: string;
|
|
2456
|
-
project: {
|
|
2457
|
-
id: string;
|
|
2458
|
-
url: string;
|
|
2459
|
-
};
|
|
2460
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2461
|
-
edit_url: string;
|
|
2462
|
-
api_url: string;
|
|
2463
|
-
autoLaunchSchedule?: number | undefined;
|
|
2464
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2465
|
-
}, {
|
|
2466
|
-
name: string;
|
|
2467
|
-
id: string;
|
|
2468
|
-
project: {
|
|
2469
|
-
id: string;
|
|
2470
|
-
url: string;
|
|
2471
|
-
};
|
|
2472
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2473
|
-
edit_url: string;
|
|
2474
|
-
api_url: string;
|
|
2475
|
-
autoLaunchSchedule?: number | undefined;
|
|
2476
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2477
|
-
}>, "release.changed">;
|
|
826
|
+
}, z.core.$strip>, "release.changed">;
|
|
2478
827
|
type ReleaseChangedPayload = z.infer<(typeof ReleaseChangedDefinition)['schema']>;
|
|
2479
828
|
declare const ReleaseChangedEventName: "release.changed";
|
|
2480
829
|
|
|
2481
|
-
declare const ReleaseDeletedDefinition: Definition<z.ZodObject<
|
|
2482
|
-
id: z.ZodString;
|
|
2483
|
-
state: z.ZodEnum<["open", "locked", "queued", "launching", "launched", "deleting"]>;
|
|
830
|
+
declare const ReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
2484
831
|
name: z.ZodString;
|
|
832
|
+
id: z.ZodString;
|
|
2485
833
|
project: z.ZodObject<{
|
|
2486
834
|
id: z.ZodString;
|
|
2487
835
|
url: z.ZodString;
|
|
2488
|
-
},
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
836
|
+
}, z.core.$strip>;
|
|
837
|
+
state: z.ZodEnum<{
|
|
838
|
+
open: "open";
|
|
839
|
+
locked: "locked";
|
|
840
|
+
queued: "queued";
|
|
841
|
+
launching: "launching";
|
|
842
|
+
launched: "launched";
|
|
843
|
+
deleting: "deleting";
|
|
2494
844
|
}>;
|
|
2495
845
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2496
846
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2497
|
-
|
|
2498
|
-
api_url: z.ZodString;
|
|
2499
|
-
}, "edit_url" | "api_url">, "strip", z.ZodTypeAny, {
|
|
2500
|
-
name: string;
|
|
2501
|
-
id: string;
|
|
2502
|
-
project: {
|
|
2503
|
-
id: string;
|
|
2504
|
-
url: string;
|
|
2505
|
-
};
|
|
2506
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2507
|
-
autoLaunchSchedule?: number | undefined;
|
|
2508
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2509
|
-
}, {
|
|
2510
|
-
name: string;
|
|
2511
|
-
id: string;
|
|
2512
|
-
project: {
|
|
2513
|
-
id: string;
|
|
2514
|
-
url: string;
|
|
2515
|
-
};
|
|
2516
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2517
|
-
autoLaunchSchedule?: number | undefined;
|
|
2518
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2519
|
-
}>, "release.deleted">;
|
|
847
|
+
}, z.core.$strip>, "release.deleted">;
|
|
2520
848
|
type ReleaseDeletedPayload = z.infer<(typeof ReleaseDeletedDefinition)['schema']>;
|
|
2521
849
|
declare const ReleaseDeletedEventName: "release.deleted";
|
|
2522
850
|
|
|
2523
851
|
declare const ReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
|
|
2524
852
|
id: z.ZodString;
|
|
2525
|
-
state: z.ZodEnum<
|
|
853
|
+
state: z.ZodEnum<{
|
|
854
|
+
open: "open";
|
|
855
|
+
locked: "locked";
|
|
856
|
+
queued: "queued";
|
|
857
|
+
launching: "launching";
|
|
858
|
+
launched: "launched";
|
|
859
|
+
deleting: "deleting";
|
|
860
|
+
}>;
|
|
2526
861
|
name: z.ZodString;
|
|
2527
862
|
project: z.ZodObject<{
|
|
2528
863
|
id: z.ZodString;
|
|
2529
864
|
url: z.ZodString;
|
|
2530
|
-
},
|
|
2531
|
-
id: string;
|
|
2532
|
-
url: string;
|
|
2533
|
-
}, {
|
|
2534
|
-
id: string;
|
|
2535
|
-
url: string;
|
|
2536
|
-
}>;
|
|
865
|
+
}, z.core.$strip>;
|
|
2537
866
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2538
867
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2539
868
|
edit_url: z.ZodString;
|
|
2540
869
|
api_url: z.ZodString;
|
|
2541
|
-
},
|
|
2542
|
-
name: string;
|
|
2543
|
-
id: string;
|
|
2544
|
-
project: {
|
|
2545
|
-
id: string;
|
|
2546
|
-
url: string;
|
|
2547
|
-
};
|
|
2548
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2549
|
-
edit_url: string;
|
|
2550
|
-
api_url: string;
|
|
2551
|
-
autoLaunchSchedule?: number | undefined;
|
|
2552
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2553
|
-
}, {
|
|
2554
|
-
name: string;
|
|
2555
|
-
id: string;
|
|
2556
|
-
project: {
|
|
2557
|
-
id: string;
|
|
2558
|
-
url: string;
|
|
2559
|
-
};
|
|
2560
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2561
|
-
edit_url: string;
|
|
2562
|
-
api_url: string;
|
|
2563
|
-
autoLaunchSchedule?: number | undefined;
|
|
2564
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2565
|
-
}>, "release.launch_started">;
|
|
870
|
+
}, z.core.$strip>, "release.launch_started">;
|
|
2566
871
|
type ReleaseLaunchStartedPayload = z.infer<(typeof ReleaseLaunchStartedDefinition)['schema']>;
|
|
2567
872
|
declare const ReleaseLaunchStartedEventName: "release.launch_started";
|
|
2568
873
|
|
|
2569
874
|
declare const ReleaseLaunchedDefinition: Definition<z.ZodObject<{
|
|
2570
875
|
id: z.ZodString;
|
|
2571
|
-
state: z.ZodEnum<
|
|
876
|
+
state: z.ZodEnum<{
|
|
877
|
+
open: "open";
|
|
878
|
+
locked: "locked";
|
|
879
|
+
queued: "queued";
|
|
880
|
+
launching: "launching";
|
|
881
|
+
launched: "launched";
|
|
882
|
+
deleting: "deleting";
|
|
883
|
+
}>;
|
|
2572
884
|
name: z.ZodString;
|
|
2573
885
|
project: z.ZodObject<{
|
|
2574
886
|
id: z.ZodString;
|
|
2575
887
|
url: z.ZodString;
|
|
2576
|
-
},
|
|
2577
|
-
id: string;
|
|
2578
|
-
url: string;
|
|
2579
|
-
}, {
|
|
2580
|
-
id: string;
|
|
2581
|
-
url: string;
|
|
2582
|
-
}>;
|
|
888
|
+
}, z.core.$strip>;
|
|
2583
889
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2584
890
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2585
891
|
edit_url: z.ZodString;
|
|
2586
892
|
api_url: z.ZodString;
|
|
2587
|
-
},
|
|
2588
|
-
name: string;
|
|
2589
|
-
id: string;
|
|
2590
|
-
project: {
|
|
2591
|
-
id: string;
|
|
2592
|
-
url: string;
|
|
2593
|
-
};
|
|
2594
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2595
|
-
edit_url: string;
|
|
2596
|
-
api_url: string;
|
|
2597
|
-
autoLaunchSchedule?: number | undefined;
|
|
2598
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2599
|
-
}, {
|
|
2600
|
-
name: string;
|
|
2601
|
-
id: string;
|
|
2602
|
-
project: {
|
|
2603
|
-
id: string;
|
|
2604
|
-
url: string;
|
|
2605
|
-
};
|
|
2606
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2607
|
-
edit_url: string;
|
|
2608
|
-
api_url: string;
|
|
2609
|
-
autoLaunchSchedule?: number | undefined;
|
|
2610
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2611
|
-
}>, "release.launched">;
|
|
893
|
+
}, z.core.$strip>, "release.launched">;
|
|
2612
894
|
type ReleaseLaunchedPayload = z.infer<(typeof ReleaseLaunchedDefinition)['schema']>;
|
|
2613
895
|
declare const ReleaseLaunchedEventName: "release.launched";
|
|
2614
896
|
|
|
2615
897
|
declare const ArchivedReleaseLaunchStartedDefinition: Definition<z.ZodObject<{
|
|
2616
898
|
id: z.ZodString;
|
|
2617
|
-
state: z.ZodEnum<
|
|
899
|
+
state: z.ZodEnum<{
|
|
900
|
+
open: "open";
|
|
901
|
+
locked: "locked";
|
|
902
|
+
queued: "queued";
|
|
903
|
+
launching: "launching";
|
|
904
|
+
launched: "launched";
|
|
905
|
+
deleting: "deleting";
|
|
906
|
+
}>;
|
|
2618
907
|
name: z.ZodString;
|
|
2619
908
|
project: z.ZodObject<{
|
|
2620
909
|
id: z.ZodString;
|
|
2621
910
|
url: z.ZodString;
|
|
2622
|
-
},
|
|
2623
|
-
id: string;
|
|
2624
|
-
url: string;
|
|
2625
|
-
}, {
|
|
2626
|
-
id: string;
|
|
2627
|
-
url: string;
|
|
2628
|
-
}>;
|
|
911
|
+
}, zod_v4_core.$strip>;
|
|
2629
912
|
autoLaunchSchedule: z.ZodOptional<z.ZodNumber>;
|
|
2630
913
|
autoLaunchScheduleTimeZone: z.ZodOptional<z.ZodString>;
|
|
2631
914
|
edit_url: z.ZodString;
|
|
2632
915
|
api_url: z.ZodString;
|
|
2633
|
-
},
|
|
2634
|
-
name: string;
|
|
2635
|
-
id: string;
|
|
2636
|
-
project: {
|
|
2637
|
-
id: string;
|
|
2638
|
-
url: string;
|
|
2639
|
-
};
|
|
2640
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2641
|
-
edit_url: string;
|
|
2642
|
-
api_url: string;
|
|
2643
|
-
autoLaunchSchedule?: number | undefined;
|
|
2644
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2645
|
-
}, {
|
|
2646
|
-
name: string;
|
|
2647
|
-
id: string;
|
|
2648
|
-
project: {
|
|
2649
|
-
id: string;
|
|
2650
|
-
url: string;
|
|
2651
|
-
};
|
|
2652
|
-
state: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
2653
|
-
edit_url: string;
|
|
2654
|
-
api_url: string;
|
|
2655
|
-
autoLaunchSchedule?: number | undefined;
|
|
2656
|
-
autoLaunchScheduleTimeZone?: string | undefined;
|
|
2657
|
-
}>, "release.launchstarted">;
|
|
916
|
+
}, zod_v4_core.$strip>, "release.launchstarted">;
|
|
2658
917
|
|
|
2659
918
|
declare const WorkflowReferenceSchema: z.ZodObject<{
|
|
2660
919
|
workflowId: z.ZodString;
|
|
2661
920
|
workflowName: z.ZodString;
|
|
2662
921
|
stageId: z.ZodString;
|
|
2663
922
|
stageName: z.ZodString;
|
|
2664
|
-
},
|
|
2665
|
-
workflowId: string;
|
|
2666
|
-
workflowName: string;
|
|
2667
|
-
stageId: string;
|
|
2668
|
-
stageName: string;
|
|
2669
|
-
}, {
|
|
2670
|
-
workflowId: string;
|
|
2671
|
-
workflowName: string;
|
|
2672
|
-
stageId: string;
|
|
2673
|
-
stageName: string;
|
|
2674
|
-
}>;
|
|
923
|
+
}, z.core.$strict>;
|
|
2675
924
|
declare const WorkflowEntitySchema: z.ZodObject<{
|
|
2676
|
-
type: z.ZodEnum<
|
|
925
|
+
type: z.ZodEnum<{
|
|
926
|
+
entry: "entry";
|
|
927
|
+
component: "component";
|
|
928
|
+
}>;
|
|
2677
929
|
name: z.ZodString;
|
|
2678
930
|
id: z.ZodString;
|
|
2679
931
|
editionId: z.ZodOptional<z.ZodString>;
|
|
2680
932
|
releaseId: z.ZodOptional<z.ZodString>;
|
|
2681
933
|
url: z.ZodString;
|
|
2682
|
-
},
|
|
2683
|
-
type: "entry" | "component";
|
|
2684
|
-
name: string;
|
|
2685
|
-
id: string;
|
|
2686
|
-
url: string;
|
|
2687
|
-
editionId?: string | undefined;
|
|
2688
|
-
releaseId?: string | undefined;
|
|
2689
|
-
}, {
|
|
2690
|
-
type: "entry" | "component";
|
|
2691
|
-
name: string;
|
|
2692
|
-
id: string;
|
|
2693
|
-
url: string;
|
|
2694
|
-
editionId?: string | undefined;
|
|
2695
|
-
releaseId?: string | undefined;
|
|
2696
|
-
}>;
|
|
934
|
+
}, z.core.$strict>;
|
|
2697
935
|
declare const WorkflowTransitionPayloadSchema: z.ZodObject<{
|
|
2698
936
|
entity: z.ZodObject<{
|
|
2699
|
-
type: z.ZodEnum<
|
|
937
|
+
type: z.ZodEnum<{
|
|
938
|
+
entry: "entry";
|
|
939
|
+
component: "component";
|
|
940
|
+
}>;
|
|
2700
941
|
name: z.ZodString;
|
|
2701
942
|
id: z.ZodString;
|
|
2702
943
|
editionId: z.ZodOptional<z.ZodString>;
|
|
2703
944
|
releaseId: z.ZodOptional<z.ZodString>;
|
|
2704
945
|
url: z.ZodString;
|
|
2705
|
-
},
|
|
2706
|
-
type: "entry" | "component";
|
|
2707
|
-
name: string;
|
|
2708
|
-
id: string;
|
|
2709
|
-
url: string;
|
|
2710
|
-
editionId?: string | undefined;
|
|
2711
|
-
releaseId?: string | undefined;
|
|
2712
|
-
}, {
|
|
2713
|
-
type: "entry" | "component";
|
|
2714
|
-
name: string;
|
|
2715
|
-
id: string;
|
|
2716
|
-
url: string;
|
|
2717
|
-
editionId?: string | undefined;
|
|
2718
|
-
releaseId?: string | undefined;
|
|
2719
|
-
}>;
|
|
946
|
+
}, z.core.$strict>;
|
|
2720
947
|
newStage: z.ZodObject<{
|
|
2721
948
|
workflowId: z.ZodString;
|
|
2722
949
|
workflowName: z.ZodString;
|
|
2723
950
|
stageId: z.ZodString;
|
|
2724
951
|
stageName: z.ZodString;
|
|
2725
|
-
},
|
|
2726
|
-
workflowId: string;
|
|
2727
|
-
workflowName: string;
|
|
2728
|
-
stageId: string;
|
|
2729
|
-
stageName: string;
|
|
2730
|
-
}, {
|
|
2731
|
-
workflowId: string;
|
|
2732
|
-
workflowName: string;
|
|
2733
|
-
stageId: string;
|
|
2734
|
-
stageName: string;
|
|
2735
|
-
}>;
|
|
952
|
+
}, z.core.$strict>;
|
|
2736
953
|
previousStage: z.ZodOptional<z.ZodObject<{
|
|
2737
954
|
workflowId: z.ZodString;
|
|
2738
955
|
workflowName: z.ZodString;
|
|
2739
956
|
stageId: z.ZodString;
|
|
2740
957
|
stageName: z.ZodString;
|
|
2741
|
-
},
|
|
2742
|
-
workflowId: string;
|
|
2743
|
-
workflowName: string;
|
|
2744
|
-
stageId: string;
|
|
2745
|
-
stageName: string;
|
|
2746
|
-
}, {
|
|
2747
|
-
workflowId: string;
|
|
2748
|
-
workflowName: string;
|
|
2749
|
-
stageId: string;
|
|
2750
|
-
stageName: string;
|
|
2751
|
-
}>>;
|
|
958
|
+
}, z.core.$strict>>;
|
|
2752
959
|
initiator: z.ZodObject<{
|
|
2753
960
|
id: z.ZodString;
|
|
2754
961
|
name: z.ZodOptional<z.ZodString>;
|
|
2755
962
|
email: z.ZodOptional<z.ZodString>;
|
|
2756
963
|
is_api_key: z.ZodBoolean;
|
|
2757
|
-
},
|
|
2758
|
-
id: string;
|
|
2759
|
-
is_api_key: boolean;
|
|
2760
|
-
name?: string | undefined;
|
|
2761
|
-
email?: string | undefined;
|
|
2762
|
-
}, {
|
|
2763
|
-
id: string;
|
|
2764
|
-
is_api_key: boolean;
|
|
2765
|
-
name?: string | undefined;
|
|
2766
|
-
email?: string | undefined;
|
|
2767
|
-
}>;
|
|
964
|
+
}, z.core.$strict>;
|
|
2768
965
|
timestamp: z.ZodString;
|
|
2769
966
|
project: z.ZodObject<{
|
|
2770
967
|
id: z.ZodString;
|
|
2771
968
|
url: z.ZodString;
|
|
2772
|
-
},
|
|
2773
|
-
|
|
2774
|
-
url: string;
|
|
2775
|
-
}, {
|
|
2776
|
-
id: string;
|
|
2777
|
-
url: string;
|
|
2778
|
-
}>;
|
|
2779
|
-
}, "strict", z.ZodTypeAny, {
|
|
2780
|
-
project: {
|
|
2781
|
-
id: string;
|
|
2782
|
-
url: string;
|
|
2783
|
-
};
|
|
2784
|
-
initiator: {
|
|
2785
|
-
id: string;
|
|
2786
|
-
is_api_key: boolean;
|
|
2787
|
-
name?: string | undefined;
|
|
2788
|
-
email?: string | undefined;
|
|
2789
|
-
};
|
|
2790
|
-
timestamp: string;
|
|
2791
|
-
entity: {
|
|
2792
|
-
type: "entry" | "component";
|
|
2793
|
-
name: string;
|
|
2794
|
-
id: string;
|
|
2795
|
-
url: string;
|
|
2796
|
-
editionId?: string | undefined;
|
|
2797
|
-
releaseId?: string | undefined;
|
|
2798
|
-
};
|
|
2799
|
-
newStage: {
|
|
2800
|
-
workflowId: string;
|
|
2801
|
-
workflowName: string;
|
|
2802
|
-
stageId: string;
|
|
2803
|
-
stageName: string;
|
|
2804
|
-
};
|
|
2805
|
-
previousStage?: {
|
|
2806
|
-
workflowId: string;
|
|
2807
|
-
workflowName: string;
|
|
2808
|
-
stageId: string;
|
|
2809
|
-
stageName: string;
|
|
2810
|
-
} | undefined;
|
|
2811
|
-
}, {
|
|
2812
|
-
project: {
|
|
2813
|
-
id: string;
|
|
2814
|
-
url: string;
|
|
2815
|
-
};
|
|
2816
|
-
initiator: {
|
|
2817
|
-
id: string;
|
|
2818
|
-
is_api_key: boolean;
|
|
2819
|
-
name?: string | undefined;
|
|
2820
|
-
email?: string | undefined;
|
|
2821
|
-
};
|
|
2822
|
-
timestamp: string;
|
|
2823
|
-
entity: {
|
|
2824
|
-
type: "entry" | "component";
|
|
2825
|
-
name: string;
|
|
2826
|
-
id: string;
|
|
2827
|
-
url: string;
|
|
2828
|
-
editionId?: string | undefined;
|
|
2829
|
-
releaseId?: string | undefined;
|
|
2830
|
-
};
|
|
2831
|
-
newStage: {
|
|
2832
|
-
workflowId: string;
|
|
2833
|
-
workflowName: string;
|
|
2834
|
-
stageId: string;
|
|
2835
|
-
stageName: string;
|
|
2836
|
-
};
|
|
2837
|
-
previousStage?: {
|
|
2838
|
-
workflowId: string;
|
|
2839
|
-
workflowName: string;
|
|
2840
|
-
stageId: string;
|
|
2841
|
-
stageName: string;
|
|
2842
|
-
} | undefined;
|
|
2843
|
-
}>;
|
|
969
|
+
}, z.core.$strip>;
|
|
970
|
+
}, z.core.$strict>;
|
|
2844
971
|
|
|
2845
972
|
declare const WorkflowTransitionDefinition: Definition<z.ZodObject<{
|
|
2846
973
|
entity: z.ZodObject<{
|
|
2847
|
-
type: z.ZodEnum<
|
|
974
|
+
type: z.ZodEnum<{
|
|
975
|
+
entry: "entry";
|
|
976
|
+
component: "component";
|
|
977
|
+
}>;
|
|
2848
978
|
name: z.ZodString;
|
|
2849
979
|
id: z.ZodString;
|
|
2850
980
|
editionId: z.ZodOptional<z.ZodString>;
|
|
2851
981
|
releaseId: z.ZodOptional<z.ZodString>;
|
|
2852
982
|
url: z.ZodString;
|
|
2853
|
-
},
|
|
2854
|
-
type: "entry" | "component";
|
|
2855
|
-
name: string;
|
|
2856
|
-
id: string;
|
|
2857
|
-
url: string;
|
|
2858
|
-
editionId?: string | undefined;
|
|
2859
|
-
releaseId?: string | undefined;
|
|
2860
|
-
}, {
|
|
2861
|
-
type: "entry" | "component";
|
|
2862
|
-
name: string;
|
|
2863
|
-
id: string;
|
|
2864
|
-
url: string;
|
|
2865
|
-
editionId?: string | undefined;
|
|
2866
|
-
releaseId?: string | undefined;
|
|
2867
|
-
}>;
|
|
983
|
+
}, z.core.$strict>;
|
|
2868
984
|
newStage: z.ZodObject<{
|
|
2869
985
|
workflowId: z.ZodString;
|
|
2870
986
|
workflowName: z.ZodString;
|
|
2871
987
|
stageId: z.ZodString;
|
|
2872
988
|
stageName: z.ZodString;
|
|
2873
|
-
},
|
|
2874
|
-
workflowId: string;
|
|
2875
|
-
workflowName: string;
|
|
2876
|
-
stageId: string;
|
|
2877
|
-
stageName: string;
|
|
2878
|
-
}, {
|
|
2879
|
-
workflowId: string;
|
|
2880
|
-
workflowName: string;
|
|
2881
|
-
stageId: string;
|
|
2882
|
-
stageName: string;
|
|
2883
|
-
}>;
|
|
989
|
+
}, z.core.$strict>;
|
|
2884
990
|
previousStage: z.ZodOptional<z.ZodObject<{
|
|
2885
991
|
workflowId: z.ZodString;
|
|
2886
992
|
workflowName: z.ZodString;
|
|
2887
993
|
stageId: z.ZodString;
|
|
2888
994
|
stageName: z.ZodString;
|
|
2889
|
-
},
|
|
2890
|
-
workflowId: string;
|
|
2891
|
-
workflowName: string;
|
|
2892
|
-
stageId: string;
|
|
2893
|
-
stageName: string;
|
|
2894
|
-
}, {
|
|
2895
|
-
workflowId: string;
|
|
2896
|
-
workflowName: string;
|
|
2897
|
-
stageId: string;
|
|
2898
|
-
stageName: string;
|
|
2899
|
-
}>>;
|
|
995
|
+
}, z.core.$strict>>;
|
|
2900
996
|
initiator: z.ZodObject<{
|
|
2901
997
|
id: z.ZodString;
|
|
2902
998
|
name: z.ZodOptional<z.ZodString>;
|
|
2903
999
|
email: z.ZodOptional<z.ZodString>;
|
|
2904
1000
|
is_api_key: z.ZodBoolean;
|
|
2905
|
-
},
|
|
2906
|
-
id: string;
|
|
2907
|
-
is_api_key: boolean;
|
|
2908
|
-
name?: string | undefined;
|
|
2909
|
-
email?: string | undefined;
|
|
2910
|
-
}, {
|
|
2911
|
-
id: string;
|
|
2912
|
-
is_api_key: boolean;
|
|
2913
|
-
name?: string | undefined;
|
|
2914
|
-
email?: string | undefined;
|
|
2915
|
-
}>;
|
|
1001
|
+
}, z.core.$strict>;
|
|
2916
1002
|
timestamp: z.ZodString;
|
|
2917
1003
|
project: z.ZodObject<{
|
|
2918
1004
|
id: z.ZodString;
|
|
2919
1005
|
url: z.ZodString;
|
|
2920
|
-
},
|
|
2921
|
-
|
|
2922
|
-
url: string;
|
|
2923
|
-
}, {
|
|
2924
|
-
id: string;
|
|
2925
|
-
url: string;
|
|
2926
|
-
}>;
|
|
2927
|
-
}, "strict", z.ZodTypeAny, {
|
|
2928
|
-
project: {
|
|
2929
|
-
id: string;
|
|
2930
|
-
url: string;
|
|
2931
|
-
};
|
|
2932
|
-
initiator: {
|
|
2933
|
-
id: string;
|
|
2934
|
-
is_api_key: boolean;
|
|
2935
|
-
name?: string | undefined;
|
|
2936
|
-
email?: string | undefined;
|
|
2937
|
-
};
|
|
2938
|
-
timestamp: string;
|
|
2939
|
-
entity: {
|
|
2940
|
-
type: "entry" | "component";
|
|
2941
|
-
name: string;
|
|
2942
|
-
id: string;
|
|
2943
|
-
url: string;
|
|
2944
|
-
editionId?: string | undefined;
|
|
2945
|
-
releaseId?: string | undefined;
|
|
2946
|
-
};
|
|
2947
|
-
newStage: {
|
|
2948
|
-
workflowId: string;
|
|
2949
|
-
workflowName: string;
|
|
2950
|
-
stageId: string;
|
|
2951
|
-
stageName: string;
|
|
2952
|
-
};
|
|
2953
|
-
previousStage?: {
|
|
2954
|
-
workflowId: string;
|
|
2955
|
-
workflowName: string;
|
|
2956
|
-
stageId: string;
|
|
2957
|
-
stageName: string;
|
|
2958
|
-
} | undefined;
|
|
2959
|
-
}, {
|
|
2960
|
-
project: {
|
|
2961
|
-
id: string;
|
|
2962
|
-
url: string;
|
|
2963
|
-
};
|
|
2964
|
-
initiator: {
|
|
2965
|
-
id: string;
|
|
2966
|
-
is_api_key: boolean;
|
|
2967
|
-
name?: string | undefined;
|
|
2968
|
-
email?: string | undefined;
|
|
2969
|
-
};
|
|
2970
|
-
timestamp: string;
|
|
2971
|
-
entity: {
|
|
2972
|
-
type: "entry" | "component";
|
|
2973
|
-
name: string;
|
|
2974
|
-
id: string;
|
|
2975
|
-
url: string;
|
|
2976
|
-
editionId?: string | undefined;
|
|
2977
|
-
releaseId?: string | undefined;
|
|
2978
|
-
};
|
|
2979
|
-
newStage: {
|
|
2980
|
-
workflowId: string;
|
|
2981
|
-
workflowName: string;
|
|
2982
|
-
stageId: string;
|
|
2983
|
-
stageName: string;
|
|
2984
|
-
};
|
|
2985
|
-
previousStage?: {
|
|
2986
|
-
workflowId: string;
|
|
2987
|
-
workflowName: string;
|
|
2988
|
-
stageId: string;
|
|
2989
|
-
stageName: string;
|
|
2990
|
-
} | undefined;
|
|
2991
|
-
}>, "workflow.transition">;
|
|
1006
|
+
}, z.core.$strip>;
|
|
1007
|
+
}, z.core.$strict>, "workflow.transition">;
|
|
2992
1008
|
type WorkflowTransitionPayload = z.infer<(typeof WorkflowTransitionDefinition)['schema']>;
|
|
2993
1009
|
declare const WorkflowTransitionEventName: "workflow.transition";
|
|
2994
1010
|
|
|
2995
|
-
export { ArchivedReleaseLaunchStartedDefinition, CompositionChangedDefinition, CompositionChangedEventName, type CompositionChangedPayload, CompositionDeletePayloadSchema, CompositionDeletedDefinition, CompositionDeletedEventName, type CompositionDeletedPayload, type CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, type CompositionPublishedPayload, CompositionReleaseChangedDefinition, CompositionReleaseChangedEventName, type CompositionReleaseChangedPayload, CompositionReleaseDeletedDefinition, CompositionReleaseDeletedEventName, type CompositionReleaseDeletedPayload, CompositionReleasePublishedDefinition, CompositionReleasePublishedEventName, type CompositionReleasePublishedPayload, CompositionReleaseRestoredDefinition, CompositionReleaseRestoredEventName, type CompositionReleaseRestoredPayload, CompositionRestorePayloadSchema, CompositionTriggerPayloadSchema, type Definition, EntryChangedDefinition, EntryChangedEventName, type EntryChangedPayload, EntryDeletePayloadSchema, EntryDeletedDefinition, EntryDeletedEventName, type EntryDeletedPayload, type EntryPayload, EntryPayloadSchema, EntryPublishedDefinition, EntryPublishedEventName, type EntryPublishedPayload, EntryReleaseChangedDefinition, EntryReleaseChangedEventName, type EntryReleaseChangedPayload, EntryReleaseDeletedDefinition, EntryReleaseDeletedEventName, type EntryReleaseDeletedPayload, EntryReleasePublishedDefinition, EntryReleasePublishedEventName, type EntryReleasePublishedPayload, EntryReleaseRestoredDefinition, EntryReleaseRestoredEventName, type EntryReleaseRestoredPayload, EntryRestorePayloadSchema, EntryTriggerPayloadSchema, ManifestPublishedDefinition, ManifestPublishedEventName, type ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, type ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, type ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, type ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, type ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, type ProjectMapUpdatedPayload, RedirectDeleteDefinition, RedirectDeletedEventName, type RedirectDeletedPayload, RedirectInsertDefinition, RedirectInsertedEventName, type RedirectInsertedPayload, RedirectUpdateDefinition, RedirectUpdatedEventName, type RedirectUpdatedPayload, ReleaseChangedDefinition, ReleaseChangedEventName, type ReleaseChangedPayload, type ReleaseCompositionPayload, ReleaseCompositionPayloadSchema, ReleaseDeletedDefinition, ReleaseDeletedEventName, type ReleaseDeletedPayload, type ReleaseEntryPayload, ReleaseEntryPayloadSchema, ReleaseLaunchStartedDefinition, ReleaseLaunchStartedEventName, type ReleaseLaunchStartedPayload, ReleaseLaunchedDefinition, ReleaseLaunchedEventName, type ReleaseLaunchedPayload, type ReleasePayload, ReleasePayloadSchema, type WebhookInitiator, WorkflowEntitySchema, WorkflowReferenceSchema, WorkflowTransitionDefinition, WorkflowTransitionEventName, type WorkflowTransitionPayload, WorkflowTransitionPayloadSchema, definition, isDefinition, webhookInitiatorSchema };
|
|
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 };
|