@timothyw/pat-common 1.0.136 → 1.0.137

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.
@@ -37,15 +37,12 @@ export declare const notificationSchedulerDataSchema: z.ZodDiscriminatedUnion<"t
37
37
  time: string;
38
38
  }>, z.ZodObject<{
39
39
  type: z.ZodLiteral<NotificationSchedulerType.RELATIVE_DATE>;
40
- date: z.ZodString;
41
40
  offsetMinutes: z.ZodNumber;
42
41
  }, "strip", z.ZodTypeAny, {
43
42
  type: NotificationSchedulerType.RELATIVE_DATE;
44
- date: string;
45
43
  offsetMinutes: number;
46
44
  }, {
47
45
  type: NotificationSchedulerType.RELATIVE_DATE;
48
- date: string;
49
46
  offsetMinutes: number;
50
47
  }>]>;
51
48
  export declare const notificationTemplateSchema: z.ZodObject<{
@@ -68,15 +65,12 @@ export declare const notificationTemplateSchema: z.ZodObject<{
68
65
  time: string;
69
66
  }>, z.ZodObject<{
70
67
  type: z.ZodLiteral<NotificationSchedulerType.RELATIVE_DATE>;
71
- date: z.ZodString;
72
68
  offsetMinutes: z.ZodNumber;
73
69
  }, "strip", z.ZodTypeAny, {
74
70
  type: NotificationSchedulerType.RELATIVE_DATE;
75
- date: string;
76
71
  offsetMinutes: number;
77
72
  }, {
78
73
  type: NotificationSchedulerType.RELATIVE_DATE;
79
- date: string;
80
74
  offsetMinutes: number;
81
75
  }>]>;
82
76
  variantData: z.ZodAny;
@@ -101,7 +95,6 @@ export declare const notificationTemplateSchema: z.ZodObject<{
101
95
  time: string;
102
96
  } | {
103
97
  type: NotificationSchedulerType.RELATIVE_DATE;
104
- date: string;
105
98
  offsetMinutes: number;
106
99
  };
107
100
  active: boolean;
@@ -120,7 +113,6 @@ export declare const notificationTemplateSchema: z.ZodObject<{
120
113
  time: string;
121
114
  } | {
122
115
  type: NotificationSchedulerType.RELATIVE_DATE;
123
- date: string;
124
116
  offsetMinutes: number;
125
117
  };
126
118
  active: boolean;
@@ -144,15 +136,12 @@ export declare const createNotificationTemplateRequestSchema: z.ZodObject<{
144
136
  time: string;
145
137
  }>, z.ZodObject<{
146
138
  type: z.ZodLiteral<NotificationSchedulerType.RELATIVE_DATE>;
147
- date: z.ZodString;
148
139
  offsetMinutes: z.ZodNumber;
149
140
  }, "strip", z.ZodTypeAny, {
150
141
  type: NotificationSchedulerType.RELATIVE_DATE;
151
- date: string;
152
142
  offsetMinutes: number;
153
143
  }, {
154
144
  type: NotificationSchedulerType.RELATIVE_DATE;
155
- date: string;
156
145
  offsetMinutes: number;
157
146
  }>]>;
158
147
  variantData: z.ZodAny;
@@ -166,7 +155,6 @@ export declare const createNotificationTemplateRequestSchema: z.ZodObject<{
166
155
  time: string;
167
156
  } | {
168
157
  type: NotificationSchedulerType.RELATIVE_DATE;
169
- date: string;
170
158
  offsetMinutes: number;
171
159
  };
172
160
  active: boolean;
@@ -181,7 +169,6 @@ export declare const createNotificationTemplateRequestSchema: z.ZodObject<{
181
169
  time: string;
182
170
  } | {
183
171
  type: NotificationSchedulerType.RELATIVE_DATE;
184
- date: string;
185
172
  offsetMinutes: number;
186
173
  };
187
174
  targetId?: string | undefined;
@@ -203,15 +190,12 @@ export declare const updateNotificationTemplateRequestSchema: z.ZodObject<{
203
190
  time: string;
204
191
  }>, z.ZodObject<{
205
192
  type: z.ZodLiteral<NotificationSchedulerType.RELATIVE_DATE>;
206
- date: z.ZodString;
207
193
  offsetMinutes: z.ZodNumber;
208
194
  }, "strip", z.ZodTypeAny, {
209
195
  type: NotificationSchedulerType.RELATIVE_DATE;
210
- date: string;
211
196
  offsetMinutes: number;
212
197
  }, {
213
198
  type: NotificationSchedulerType.RELATIVE_DATE;
214
- date: string;
215
199
  offsetMinutes: number;
216
200
  }>]>>;
217
201
  variantData: z.ZodOptional<z.ZodAny>;
@@ -223,7 +207,6 @@ export declare const updateNotificationTemplateRequestSchema: z.ZodObject<{
223
207
  time: string;
224
208
  } | {
225
209
  type: NotificationSchedulerType.RELATIVE_DATE;
226
- date: string;
227
210
  offsetMinutes: number;
228
211
  } | undefined;
229
212
  variantData?: any;
@@ -235,7 +218,6 @@ export declare const updateNotificationTemplateRequestSchema: z.ZodObject<{
235
218
  time: string;
236
219
  } | {
237
220
  type: NotificationSchedulerType.RELATIVE_DATE;
238
- date: string;
239
221
  offsetMinutes: number;
240
222
  } | undefined;
241
223
  variantData?: any;
@@ -32,7 +32,6 @@ exports.notificationSchedulerDataSchema = zod_1.z.discriminatedUnion('type', [
32
32
  }),
33
33
  zod_1.z.object({
34
34
  type: zod_1.z.literal(NotificationSchedulerType.RELATIVE_DATE),
35
- date: zod_1.z.string(),
36
35
  offsetMinutes: zod_1.z.number().int()
37
36
  })
38
37
  ]);
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.136",
5
+ "version": "1.0.137",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -39,7 +39,6 @@ export const notificationSchedulerDataSchema = z.discriminatedUnion('type', [
39
39
  }),
40
40
  z.object({
41
41
  type: z.literal(NotificationSchedulerType.RELATIVE_DATE),
42
- date: z.string(),
43
42
  offsetMinutes: z.number().int()
44
43
  })
45
44
  ])