@uniformdev/webhooks 18.9.1-alpha.4 → 18.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +102 -1
- package/dist/index.esm.js +129 -0
- package/dist/index.js +139 -0
- package/dist/index.mjs +129 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -197,4 +197,105 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
197
197
|
type ManifestPublishedPayload = z.infer<(typeof ManifestPublishedDefinition)['schema']>;
|
|
198
198
|
declare const ManifestPublishedEventName: string;
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
declare const ProjectMapDeleteDefinition: Definition<z.ZodObject<{
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
203
|
+
project_id: z.ZodString;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
base_url?: string | undefined;
|
|
206
|
+
id: string;
|
|
207
|
+
project_id: string;
|
|
208
|
+
}, {
|
|
209
|
+
base_url?: string | undefined;
|
|
210
|
+
id: string;
|
|
211
|
+
project_id: string;
|
|
212
|
+
}>>;
|
|
213
|
+
type ProjectMapDeletedPayload = z.infer<(typeof ProjectMapDeleteDefinition)['schema']>;
|
|
214
|
+
declare const ProjectMapDeletedEventName: string;
|
|
215
|
+
|
|
216
|
+
declare const ProjectMapNodeDeleteDefinition: Definition<z.ZodObject<{
|
|
217
|
+
project_id: z.ZodString;
|
|
218
|
+
project_map_id: z.ZodString;
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
path: z.ZodString;
|
|
221
|
+
composition_id: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
composition_id?: string | undefined;
|
|
224
|
+
id: string;
|
|
225
|
+
path: string;
|
|
226
|
+
project_id: string;
|
|
227
|
+
project_map_id: string;
|
|
228
|
+
}, {
|
|
229
|
+
composition_id?: string | undefined;
|
|
230
|
+
id: string;
|
|
231
|
+
path: string;
|
|
232
|
+
project_id: string;
|
|
233
|
+
project_map_id: string;
|
|
234
|
+
}>>;
|
|
235
|
+
type ProjectMapNodeDeletedPayload = z.infer<(typeof ProjectMapNodeDeleteDefinition)['schema']>;
|
|
236
|
+
declare const ProjectMapNodeDeletedEventName: string;
|
|
237
|
+
|
|
238
|
+
declare const ProjectMapNodeInsertDefinition: Definition<z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
project_map_id: z.ZodString;
|
|
241
|
+
project_id: z.ZodString;
|
|
242
|
+
path: z.ZodString;
|
|
243
|
+
composition_id: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
composition_id?: string | undefined;
|
|
246
|
+
id: string;
|
|
247
|
+
path: string;
|
|
248
|
+
project_id: string;
|
|
249
|
+
project_map_id: string;
|
|
250
|
+
}, {
|
|
251
|
+
composition_id?: string | undefined;
|
|
252
|
+
id: string;
|
|
253
|
+
path: string;
|
|
254
|
+
project_id: string;
|
|
255
|
+
project_map_id: string;
|
|
256
|
+
}>>;
|
|
257
|
+
type ProjectMapNodeInsertedPayload = z.infer<(typeof ProjectMapNodeInsertDefinition)['schema']>;
|
|
258
|
+
declare const ProjectMapNodeInsertedEventName: string;
|
|
259
|
+
|
|
260
|
+
declare const ProjectMapNodeUpdateDefinition: Definition<z.ZodObject<{
|
|
261
|
+
id: z.ZodString;
|
|
262
|
+
project_map_id: z.ZodString;
|
|
263
|
+
project_id: z.ZodString;
|
|
264
|
+
path: z.ZodString;
|
|
265
|
+
composition_id: z.ZodOptional<z.ZodString>;
|
|
266
|
+
previous_path: z.ZodString;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
composition_id?: string | undefined;
|
|
269
|
+
id: string;
|
|
270
|
+
path: string;
|
|
271
|
+
project_id: string;
|
|
272
|
+
project_map_id: string;
|
|
273
|
+
previous_path: string;
|
|
274
|
+
}, {
|
|
275
|
+
composition_id?: string | undefined;
|
|
276
|
+
id: string;
|
|
277
|
+
path: string;
|
|
278
|
+
project_id: string;
|
|
279
|
+
project_map_id: string;
|
|
280
|
+
previous_path: string;
|
|
281
|
+
}>>;
|
|
282
|
+
type ProjectMapNodeUpdatedPayload = z.infer<(typeof ProjectMapNodeUpdateDefinition)['schema']>;
|
|
283
|
+
declare const ProjectMapNodeUpdatedEventName: string;
|
|
284
|
+
|
|
285
|
+
declare const ProjectMapUpdateDefinition: Definition<z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
288
|
+
project_id: z.ZodString;
|
|
289
|
+
}, "strip", z.ZodTypeAny, {
|
|
290
|
+
base_url?: string | undefined;
|
|
291
|
+
id: string;
|
|
292
|
+
project_id: string;
|
|
293
|
+
}, {
|
|
294
|
+
base_url?: string | undefined;
|
|
295
|
+
id: string;
|
|
296
|
+
project_id: string;
|
|
297
|
+
}>>;
|
|
298
|
+
type ProjectMapUpdatedPayload = z.infer<(typeof ProjectMapUpdateDefinition)['schema']>;
|
|
299
|
+
declare const ProjectMapUpdatedEventName: string;
|
|
300
|
+
|
|
301
|
+
export { CompositionChangedDefinition, CompositionChangedEventName, CompositionChangedPayload, CompositionDeletedDefinition, CompositionDeletedEventName, CompositionDeletedPayload, CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, CompositionPublishedPayload, Definition, DefinitionOptions, ManifestPublishedDefinition, ManifestPublishedEventName, ManifestPublishedPayload, ProjectMapDeleteDefinition, ProjectMapDeletedEventName, ProjectMapDeletedPayload, ProjectMapNodeDeleteDefinition, ProjectMapNodeDeletedEventName, ProjectMapNodeDeletedPayload, ProjectMapNodeInsertDefinition, ProjectMapNodeInsertedEventName, ProjectMapNodeInsertedPayload, ProjectMapNodeUpdateDefinition, ProjectMapNodeUpdatedEventName, ProjectMapNodeUpdatedPayload, ProjectMapUpdateDefinition, ProjectMapUpdatedEventName, ProjectMapUpdatedPayload, definition, isDefinition };
|
package/dist/index.esm.js
CHANGED
|
@@ -123,6 +123,125 @@ var ManifestPublishedDefinition = definition(
|
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
125
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
126
|
+
|
|
127
|
+
// src/project-map/projectMap.delete.ts
|
|
128
|
+
import { z as z4 } from "zod";
|
|
129
|
+
var ProjectMapDeleteDefinition = definition(
|
|
130
|
+
{
|
|
131
|
+
event: "projectmap.delete",
|
|
132
|
+
name: "Project Map Deleted",
|
|
133
|
+
description: "Triggers when a project map is deleted.",
|
|
134
|
+
schema: z4.object({
|
|
135
|
+
id: z4.string(),
|
|
136
|
+
base_url: z4.string().optional(),
|
|
137
|
+
project_id: z4.string()
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
142
|
+
base_url: "https://stuff.org",
|
|
143
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
147
|
+
|
|
148
|
+
// src/project-map/projectMap.node.delete.ts
|
|
149
|
+
import { z as z5 } from "zod";
|
|
150
|
+
var ProjectMapNodeDeleteDefinition = definition(
|
|
151
|
+
{
|
|
152
|
+
event: "projectmap.node.delete",
|
|
153
|
+
name: "Project Map Node Deleted",
|
|
154
|
+
description: "Triggers when a project map node is deleted.",
|
|
155
|
+
schema: z5.object({
|
|
156
|
+
project_id: z5.string(),
|
|
157
|
+
project_map_id: z5.string(),
|
|
158
|
+
id: z5.string(),
|
|
159
|
+
path: z5.string(),
|
|
160
|
+
composition_id: z5.string().optional()
|
|
161
|
+
})
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
165
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
166
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
167
|
+
path: "/product-detail",
|
|
168
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
169
|
+
}
|
|
170
|
+
);
|
|
171
|
+
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
172
|
+
|
|
173
|
+
// src/project-map/projectMap.node.insert.ts
|
|
174
|
+
import { z as z6 } from "zod";
|
|
175
|
+
var ProjectMapNodeInsertDefinition = definition(
|
|
176
|
+
{
|
|
177
|
+
event: "projectmap.node.insert",
|
|
178
|
+
name: "Project Map Node Inserted",
|
|
179
|
+
description: "Triggers when a project map node is inserted.",
|
|
180
|
+
schema: z6.object({
|
|
181
|
+
id: z6.string(),
|
|
182
|
+
project_map_id: z6.string(),
|
|
183
|
+
project_id: z6.string(),
|
|
184
|
+
path: z6.string(),
|
|
185
|
+
composition_id: z6.string().optional()
|
|
186
|
+
})
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
190
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
191
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
192
|
+
path: "/product-detail",
|
|
193
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
194
|
+
}
|
|
195
|
+
);
|
|
196
|
+
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
197
|
+
|
|
198
|
+
// src/project-map/projectMap.node.update.ts
|
|
199
|
+
import { z as z7 } from "zod";
|
|
200
|
+
var ProjectMapNodeUpdateDefinition = definition(
|
|
201
|
+
{
|
|
202
|
+
event: "projectmap.node.update",
|
|
203
|
+
name: "Project Map Node Updated",
|
|
204
|
+
description: "Triggers when a project map node is updated.",
|
|
205
|
+
schema: z7.object({
|
|
206
|
+
id: z7.string(),
|
|
207
|
+
project_map_id: z7.string(),
|
|
208
|
+
project_id: z7.string(),
|
|
209
|
+
path: z7.string(),
|
|
210
|
+
composition_id: z7.string().optional(),
|
|
211
|
+
previous_path: z7.string()
|
|
212
|
+
})
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
216
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
217
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
218
|
+
path: "/product-detail",
|
|
219
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
220
|
+
previous_path: "/promo/product-detail"
|
|
221
|
+
}
|
|
222
|
+
);
|
|
223
|
+
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
224
|
+
|
|
225
|
+
// src/project-map/projectMap.update.ts
|
|
226
|
+
import { z as z8 } from "zod";
|
|
227
|
+
var ProjectMapUpdateDefinition = definition(
|
|
228
|
+
{
|
|
229
|
+
event: "projectmap.update",
|
|
230
|
+
name: "Project Map Updated",
|
|
231
|
+
description: "Triggers when a project map is updated or created.",
|
|
232
|
+
schema: z8.object({
|
|
233
|
+
id: z8.string(),
|
|
234
|
+
base_url: z8.string().optional(),
|
|
235
|
+
project_id: z8.string()
|
|
236
|
+
})
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
240
|
+
base_url: "https://stuff.org",
|
|
241
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
126
245
|
export {
|
|
127
246
|
CompositionChangedDefinition,
|
|
128
247
|
CompositionChangedEventName,
|
|
@@ -133,6 +252,16 @@ export {
|
|
|
133
252
|
CompositionPublishedEventName,
|
|
134
253
|
ManifestPublishedDefinition,
|
|
135
254
|
ManifestPublishedEventName,
|
|
255
|
+
ProjectMapDeleteDefinition,
|
|
256
|
+
ProjectMapDeletedEventName,
|
|
257
|
+
ProjectMapNodeDeleteDefinition,
|
|
258
|
+
ProjectMapNodeDeletedEventName,
|
|
259
|
+
ProjectMapNodeInsertDefinition,
|
|
260
|
+
ProjectMapNodeInsertedEventName,
|
|
261
|
+
ProjectMapNodeUpdateDefinition,
|
|
262
|
+
ProjectMapNodeUpdatedEventName,
|
|
263
|
+
ProjectMapUpdateDefinition,
|
|
264
|
+
ProjectMapUpdatedEventName,
|
|
136
265
|
definition,
|
|
137
266
|
isDefinition
|
|
138
267
|
};
|
package/dist/index.js
CHANGED
|
@@ -29,6 +29,16 @@ __export(src_exports, {
|
|
|
29
29
|
CompositionPublishedEventName: () => CompositionPublishedEventName,
|
|
30
30
|
ManifestPublishedDefinition: () => ManifestPublishedDefinition,
|
|
31
31
|
ManifestPublishedEventName: () => ManifestPublishedEventName,
|
|
32
|
+
ProjectMapDeleteDefinition: () => ProjectMapDeleteDefinition,
|
|
33
|
+
ProjectMapDeletedEventName: () => ProjectMapDeletedEventName,
|
|
34
|
+
ProjectMapNodeDeleteDefinition: () => ProjectMapNodeDeleteDefinition,
|
|
35
|
+
ProjectMapNodeDeletedEventName: () => ProjectMapNodeDeletedEventName,
|
|
36
|
+
ProjectMapNodeInsertDefinition: () => ProjectMapNodeInsertDefinition,
|
|
37
|
+
ProjectMapNodeInsertedEventName: () => ProjectMapNodeInsertedEventName,
|
|
38
|
+
ProjectMapNodeUpdateDefinition: () => ProjectMapNodeUpdateDefinition,
|
|
39
|
+
ProjectMapNodeUpdatedEventName: () => ProjectMapNodeUpdatedEventName,
|
|
40
|
+
ProjectMapUpdateDefinition: () => ProjectMapUpdateDefinition,
|
|
41
|
+
ProjectMapUpdatedEventName: () => ProjectMapUpdatedEventName,
|
|
32
42
|
definition: () => definition,
|
|
33
43
|
isDefinition: () => isDefinition
|
|
34
44
|
});
|
|
@@ -159,6 +169,125 @@ var ManifestPublishedDefinition = definition(
|
|
|
159
169
|
}
|
|
160
170
|
);
|
|
161
171
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
172
|
+
|
|
173
|
+
// src/project-map/projectMap.delete.ts
|
|
174
|
+
var import_zod4 = require("zod");
|
|
175
|
+
var ProjectMapDeleteDefinition = definition(
|
|
176
|
+
{
|
|
177
|
+
event: "projectmap.delete",
|
|
178
|
+
name: "Project Map Deleted",
|
|
179
|
+
description: "Triggers when a project map is deleted.",
|
|
180
|
+
schema: import_zod4.z.object({
|
|
181
|
+
id: import_zod4.z.string(),
|
|
182
|
+
base_url: import_zod4.z.string().optional(),
|
|
183
|
+
project_id: import_zod4.z.string()
|
|
184
|
+
})
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
188
|
+
base_url: "https://stuff.org",
|
|
189
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
190
|
+
}
|
|
191
|
+
);
|
|
192
|
+
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
193
|
+
|
|
194
|
+
// src/project-map/projectMap.node.delete.ts
|
|
195
|
+
var import_zod5 = require("zod");
|
|
196
|
+
var ProjectMapNodeDeleteDefinition = definition(
|
|
197
|
+
{
|
|
198
|
+
event: "projectmap.node.delete",
|
|
199
|
+
name: "Project Map Node Deleted",
|
|
200
|
+
description: "Triggers when a project map node is deleted.",
|
|
201
|
+
schema: import_zod5.z.object({
|
|
202
|
+
project_id: import_zod5.z.string(),
|
|
203
|
+
project_map_id: import_zod5.z.string(),
|
|
204
|
+
id: import_zod5.z.string(),
|
|
205
|
+
path: import_zod5.z.string(),
|
|
206
|
+
composition_id: import_zod5.z.string().optional()
|
|
207
|
+
})
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
211
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
212
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
213
|
+
path: "/product-detail",
|
|
214
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
218
|
+
|
|
219
|
+
// src/project-map/projectMap.node.insert.ts
|
|
220
|
+
var import_zod6 = require("zod");
|
|
221
|
+
var ProjectMapNodeInsertDefinition = definition(
|
|
222
|
+
{
|
|
223
|
+
event: "projectmap.node.insert",
|
|
224
|
+
name: "Project Map Node Inserted",
|
|
225
|
+
description: "Triggers when a project map node is inserted.",
|
|
226
|
+
schema: import_zod6.z.object({
|
|
227
|
+
id: import_zod6.z.string(),
|
|
228
|
+
project_map_id: import_zod6.z.string(),
|
|
229
|
+
project_id: import_zod6.z.string(),
|
|
230
|
+
path: import_zod6.z.string(),
|
|
231
|
+
composition_id: import_zod6.z.string().optional()
|
|
232
|
+
})
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
236
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
237
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
238
|
+
path: "/product-detail",
|
|
239
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
240
|
+
}
|
|
241
|
+
);
|
|
242
|
+
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
243
|
+
|
|
244
|
+
// src/project-map/projectMap.node.update.ts
|
|
245
|
+
var import_zod7 = require("zod");
|
|
246
|
+
var ProjectMapNodeUpdateDefinition = definition(
|
|
247
|
+
{
|
|
248
|
+
event: "projectmap.node.update",
|
|
249
|
+
name: "Project Map Node Updated",
|
|
250
|
+
description: "Triggers when a project map node is updated.",
|
|
251
|
+
schema: import_zod7.z.object({
|
|
252
|
+
id: import_zod7.z.string(),
|
|
253
|
+
project_map_id: import_zod7.z.string(),
|
|
254
|
+
project_id: import_zod7.z.string(),
|
|
255
|
+
path: import_zod7.z.string(),
|
|
256
|
+
composition_id: import_zod7.z.string().optional(),
|
|
257
|
+
previous_path: import_zod7.z.string()
|
|
258
|
+
})
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
262
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
263
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
264
|
+
path: "/product-detail",
|
|
265
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
266
|
+
previous_path: "/promo/product-detail"
|
|
267
|
+
}
|
|
268
|
+
);
|
|
269
|
+
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
270
|
+
|
|
271
|
+
// src/project-map/projectMap.update.ts
|
|
272
|
+
var import_zod8 = require("zod");
|
|
273
|
+
var ProjectMapUpdateDefinition = definition(
|
|
274
|
+
{
|
|
275
|
+
event: "projectmap.update",
|
|
276
|
+
name: "Project Map Updated",
|
|
277
|
+
description: "Triggers when a project map is updated or created.",
|
|
278
|
+
schema: import_zod8.z.object({
|
|
279
|
+
id: import_zod8.z.string(),
|
|
280
|
+
base_url: import_zod8.z.string().optional(),
|
|
281
|
+
project_id: import_zod8.z.string()
|
|
282
|
+
})
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
286
|
+
base_url: "https://stuff.org",
|
|
287
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
288
|
+
}
|
|
289
|
+
);
|
|
290
|
+
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
162
291
|
// Annotate the CommonJS export names for ESM import in node:
|
|
163
292
|
0 && (module.exports = {
|
|
164
293
|
CompositionChangedDefinition,
|
|
@@ -170,6 +299,16 @@ var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
|
170
299
|
CompositionPublishedEventName,
|
|
171
300
|
ManifestPublishedDefinition,
|
|
172
301
|
ManifestPublishedEventName,
|
|
302
|
+
ProjectMapDeleteDefinition,
|
|
303
|
+
ProjectMapDeletedEventName,
|
|
304
|
+
ProjectMapNodeDeleteDefinition,
|
|
305
|
+
ProjectMapNodeDeletedEventName,
|
|
306
|
+
ProjectMapNodeInsertDefinition,
|
|
307
|
+
ProjectMapNodeInsertedEventName,
|
|
308
|
+
ProjectMapNodeUpdateDefinition,
|
|
309
|
+
ProjectMapNodeUpdatedEventName,
|
|
310
|
+
ProjectMapUpdateDefinition,
|
|
311
|
+
ProjectMapUpdatedEventName,
|
|
173
312
|
definition,
|
|
174
313
|
isDefinition
|
|
175
314
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -123,6 +123,125 @@ var ManifestPublishedDefinition = definition(
|
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
125
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
126
|
+
|
|
127
|
+
// src/project-map/projectMap.delete.ts
|
|
128
|
+
import { z as z4 } from "zod";
|
|
129
|
+
var ProjectMapDeleteDefinition = definition(
|
|
130
|
+
{
|
|
131
|
+
event: "projectmap.delete",
|
|
132
|
+
name: "Project Map Deleted",
|
|
133
|
+
description: "Triggers when a project map is deleted.",
|
|
134
|
+
schema: z4.object({
|
|
135
|
+
id: z4.string(),
|
|
136
|
+
base_url: z4.string().optional(),
|
|
137
|
+
project_id: z4.string()
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
142
|
+
base_url: "https://stuff.org",
|
|
143
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
147
|
+
|
|
148
|
+
// src/project-map/projectMap.node.delete.ts
|
|
149
|
+
import { z as z5 } from "zod";
|
|
150
|
+
var ProjectMapNodeDeleteDefinition = definition(
|
|
151
|
+
{
|
|
152
|
+
event: "projectmap.node.delete",
|
|
153
|
+
name: "Project Map Node Deleted",
|
|
154
|
+
description: "Triggers when a project map node is deleted.",
|
|
155
|
+
schema: z5.object({
|
|
156
|
+
project_id: z5.string(),
|
|
157
|
+
project_map_id: z5.string(),
|
|
158
|
+
id: z5.string(),
|
|
159
|
+
path: z5.string(),
|
|
160
|
+
composition_id: z5.string().optional()
|
|
161
|
+
})
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
165
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
166
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
167
|
+
path: "/product-detail",
|
|
168
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
169
|
+
}
|
|
170
|
+
);
|
|
171
|
+
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
172
|
+
|
|
173
|
+
// src/project-map/projectMap.node.insert.ts
|
|
174
|
+
import { z as z6 } from "zod";
|
|
175
|
+
var ProjectMapNodeInsertDefinition = definition(
|
|
176
|
+
{
|
|
177
|
+
event: "projectmap.node.insert",
|
|
178
|
+
name: "Project Map Node Inserted",
|
|
179
|
+
description: "Triggers when a project map node is inserted.",
|
|
180
|
+
schema: z6.object({
|
|
181
|
+
id: z6.string(),
|
|
182
|
+
project_map_id: z6.string(),
|
|
183
|
+
project_id: z6.string(),
|
|
184
|
+
path: z6.string(),
|
|
185
|
+
composition_id: z6.string().optional()
|
|
186
|
+
})
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
190
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
191
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
192
|
+
path: "/product-detail",
|
|
193
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
194
|
+
}
|
|
195
|
+
);
|
|
196
|
+
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
197
|
+
|
|
198
|
+
// src/project-map/projectMap.node.update.ts
|
|
199
|
+
import { z as z7 } from "zod";
|
|
200
|
+
var ProjectMapNodeUpdateDefinition = definition(
|
|
201
|
+
{
|
|
202
|
+
event: "projectmap.node.update",
|
|
203
|
+
name: "Project Map Node Updated",
|
|
204
|
+
description: "Triggers when a project map node is updated.",
|
|
205
|
+
schema: z7.object({
|
|
206
|
+
id: z7.string(),
|
|
207
|
+
project_map_id: z7.string(),
|
|
208
|
+
project_id: z7.string(),
|
|
209
|
+
path: z7.string(),
|
|
210
|
+
composition_id: z7.string().optional(),
|
|
211
|
+
previous_path: z7.string()
|
|
212
|
+
})
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
216
|
+
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
217
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
218
|
+
path: "/product-detail",
|
|
219
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
220
|
+
previous_path: "/promo/product-detail"
|
|
221
|
+
}
|
|
222
|
+
);
|
|
223
|
+
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
224
|
+
|
|
225
|
+
// src/project-map/projectMap.update.ts
|
|
226
|
+
import { z as z8 } from "zod";
|
|
227
|
+
var ProjectMapUpdateDefinition = definition(
|
|
228
|
+
{
|
|
229
|
+
event: "projectmap.update",
|
|
230
|
+
name: "Project Map Updated",
|
|
231
|
+
description: "Triggers when a project map is updated or created.",
|
|
232
|
+
schema: z8.object({
|
|
233
|
+
id: z8.string(),
|
|
234
|
+
base_url: z8.string().optional(),
|
|
235
|
+
project_id: z8.string()
|
|
236
|
+
})
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
240
|
+
base_url: "https://stuff.org",
|
|
241
|
+
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
|
|
242
|
+
}
|
|
243
|
+
);
|
|
244
|
+
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
126
245
|
export {
|
|
127
246
|
CompositionChangedDefinition,
|
|
128
247
|
CompositionChangedEventName,
|
|
@@ -133,6 +252,16 @@ export {
|
|
|
133
252
|
CompositionPublishedEventName,
|
|
134
253
|
ManifestPublishedDefinition,
|
|
135
254
|
ManifestPublishedEventName,
|
|
255
|
+
ProjectMapDeleteDefinition,
|
|
256
|
+
ProjectMapDeletedEventName,
|
|
257
|
+
ProjectMapNodeDeleteDefinition,
|
|
258
|
+
ProjectMapNodeDeletedEventName,
|
|
259
|
+
ProjectMapNodeInsertDefinition,
|
|
260
|
+
ProjectMapNodeInsertedEventName,
|
|
261
|
+
ProjectMapNodeUpdateDefinition,
|
|
262
|
+
ProjectMapNodeUpdatedEventName,
|
|
263
|
+
ProjectMapUpdateDefinition,
|
|
264
|
+
ProjectMapUpdatedEventName,
|
|
136
265
|
definition,
|
|
137
266
|
isDefinition
|
|
138
267
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.11.0",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "87433008a407efd686f3ab0d37eb5ceece6e66db"
|
|
43
43
|
}
|