@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.
@@ -174,6 +174,5 @@ export interface EntitySyncResponse {
174
174
  export interface GetEntitySyncResponse {
175
175
  success: boolean;
176
176
  synced: boolean;
177
- hasParentTemplates: boolean;
178
177
  error?: string;
179
178
  }
@@ -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: zod_1.z.object({
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
@@ -2,7 +2,7 @@
2
2
  "name": "@timothyw/pat-common",
3
3
  "description": "",
4
4
  "author": "Timothy Washburn",
5
- "version": "1.0.130",
5
+ "version": "1.0.131",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -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: z.object({
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
  }