@timothyw/pat-common 1.0.130 → 1.0.131
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.
|
@@ -41,9 +41,7 @@ exports.createNotificationTemplateRequestSchema = zod_1.z.object({
|
|
|
41
41
|
targetLevel: zod_1.z.nativeEnum(NotificationTemplateLevel),
|
|
42
42
|
targetEntityType: zod_1.z.nativeEnum(NotificationEntityType),
|
|
43
43
|
targetId: zod_1.z.string().optional(),
|
|
44
|
-
trigger:
|
|
45
|
-
type: exports.notificationTriggerTypeSchema,
|
|
46
|
-
}),
|
|
44
|
+
trigger: exports.notificationTriggerSchema,
|
|
47
45
|
active: zod_1.z.boolean().default(true)
|
|
48
46
|
});
|
|
49
47
|
exports.updateNotificationTemplateRequestSchema = zod_1.z.object({
|
package/package.json
CHANGED
|
@@ -51,9 +51,7 @@ export const createNotificationTemplateRequestSchema = z.object({
|
|
|
51
51
|
targetLevel: z.nativeEnum(NotificationTemplateLevel),
|
|
52
52
|
targetEntityType: z.nativeEnum(NotificationEntityType),
|
|
53
53
|
targetId: z.string().optional(),
|
|
54
|
-
trigger:
|
|
55
|
-
type: notificationTriggerTypeSchema,
|
|
56
|
-
}),
|
|
54
|
+
trigger: notificationTriggerSchema,
|
|
57
55
|
active: z.boolean().default(true)
|
|
58
56
|
});
|
|
59
57
|
|
|
@@ -111,6 +109,5 @@ export interface EntitySyncResponse {
|
|
|
111
109
|
export interface GetEntitySyncResponse {
|
|
112
110
|
success: boolean;
|
|
113
111
|
synced: boolean;
|
|
114
|
-
hasParentTemplates: boolean;
|
|
115
112
|
error?: string;
|
|
116
113
|
}
|