@timothyw/pat-common 1.0.133 → 1.0.134
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.
|
@@ -19,6 +19,9 @@ export declare enum NotificationSchedulerType {
|
|
|
19
19
|
DAY_TIME = "day_time",
|
|
20
20
|
RELATIVE_DATE = "relative_date"
|
|
21
21
|
}
|
|
22
|
+
export declare enum NotificationVariantType {
|
|
23
|
+
AGENDA_ITEM_UPCOMING_DEADLINE = "agenda_item_upcoming_deadline"
|
|
24
|
+
}
|
|
22
25
|
export declare const notificationSchedulerDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
23
26
|
type: z.ZodLiteral<NotificationSchedulerType.DAY_TIME>;
|
|
24
27
|
days: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getEntitySyncRequestSchema = exports.entitySyncRequestSchema = exports.updateNotificationTemplateRequestSchema = exports.createNotificationTemplateRequestSchema = exports.notificationTemplateSchema = exports.notificationSchedulerDataSchema = exports.NotificationSchedulerType = exports.NotificationEntityType = exports.NotificationTemplateLevel = void 0;
|
|
3
|
+
exports.getEntitySyncRequestSchema = exports.entitySyncRequestSchema = exports.updateNotificationTemplateRequestSchema = exports.createNotificationTemplateRequestSchema = exports.notificationTemplateSchema = exports.notificationSchedulerDataSchema = exports.NotificationVariantType = exports.NotificationSchedulerType = exports.NotificationEntityType = exports.NotificationTemplateLevel = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const id_types_1 = require("./id-types");
|
|
6
6
|
var NotificationTemplateLevel;
|
|
@@ -19,6 +19,10 @@ var NotificationSchedulerType;
|
|
|
19
19
|
NotificationSchedulerType["DAY_TIME"] = "day_time";
|
|
20
20
|
NotificationSchedulerType["RELATIVE_DATE"] = "relative_date";
|
|
21
21
|
})(NotificationSchedulerType || (exports.NotificationSchedulerType = NotificationSchedulerType = {}));
|
|
22
|
+
var NotificationVariantType;
|
|
23
|
+
(function (NotificationVariantType) {
|
|
24
|
+
NotificationVariantType["AGENDA_ITEM_UPCOMING_DEADLINE"] = "agenda_item_upcoming_deadline";
|
|
25
|
+
})(NotificationVariantType || (exports.NotificationVariantType = NotificationVariantType = {}));
|
|
22
26
|
exports.notificationSchedulerDataSchema = zod_1.z.discriminatedUnion('type', [
|
|
23
27
|
zod_1.z.object({
|
|
24
28
|
type: zod_1.z.literal(NotificationSchedulerType.DAY_TIME),
|
package/package.json
CHANGED
|
@@ -26,6 +26,10 @@ export enum NotificationSchedulerType {
|
|
|
26
26
|
RELATIVE_DATE = 'relative_date',
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
export enum NotificationVariantType {
|
|
30
|
+
AGENDA_ITEM_UPCOMING_DEADLINE = 'agenda_item_upcoming_deadline',
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
export const notificationSchedulerDataSchema = z.discriminatedUnion('type', [
|
|
30
34
|
z.object({
|
|
31
35
|
type: z.literal(NotificationSchedulerType.DAY_TIME),
|