@timothyw/pat-common 1.0.145 → 1.0.147
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.
|
@@ -265,15 +265,15 @@ export declare const getEntitySyncRequestSchema: z.ZodObject<{
|
|
|
265
265
|
export declare const setEntitySyncRequestSchema: z.ZodObject<{
|
|
266
266
|
targetEntityType: z.ZodNativeEnum<typeof NotificationEntityType>;
|
|
267
267
|
targetId: z.ZodString;
|
|
268
|
-
|
|
268
|
+
syncState: z.ZodNativeEnum<typeof NotificationTemplateSyncState>;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
synced: boolean;
|
|
271
270
|
targetEntityType: NotificationEntityType;
|
|
272
271
|
targetId: string;
|
|
272
|
+
syncState: NotificationTemplateSyncState;
|
|
273
273
|
}, {
|
|
274
|
-
synced: boolean;
|
|
275
274
|
targetEntityType: NotificationEntityType;
|
|
276
275
|
targetId: string;
|
|
276
|
+
syncState: NotificationTemplateSyncState;
|
|
277
277
|
}>;
|
|
278
278
|
export type NotificationTemplateData = z.infer<typeof notificationTemplateSchema>;
|
|
279
279
|
export type NotificationDesyncData = z.infer<typeof notificationDesyncSchema>;
|
|
@@ -293,8 +293,8 @@ export interface UpdateNotificationTemplateResponse {
|
|
|
293
293
|
export interface DeleteNotificationTemplateResponse {
|
|
294
294
|
}
|
|
295
295
|
export interface GetEntitySyncResponse {
|
|
296
|
-
|
|
296
|
+
syncState: NotificationTemplateSyncState;
|
|
297
297
|
}
|
|
298
298
|
export interface SetEntitySyncResponse {
|
|
299
|
-
|
|
299
|
+
syncState: NotificationTemplateSyncState;
|
|
300
300
|
}
|
|
@@ -81,5 +81,5 @@ exports.getEntitySyncRequestSchema = zod_1.z.object({
|
|
|
81
81
|
exports.setEntitySyncRequestSchema = zod_1.z.object({
|
|
82
82
|
targetEntityType: zod_1.z.nativeEnum(NotificationEntityType),
|
|
83
83
|
targetId: zod_1.z.string(),
|
|
84
|
-
|
|
84
|
+
syncState: zod_1.z.nativeEnum(NotificationTemplateSyncState)
|
|
85
85
|
});
|
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@ export const getEntitySyncRequestSchema = z.object({
|
|
|
94
94
|
export const setEntitySyncRequestSchema = z.object({
|
|
95
95
|
targetEntityType: z.nativeEnum(NotificationEntityType),
|
|
96
96
|
targetId: z.string(),
|
|
97
|
-
|
|
97
|
+
syncState: z.nativeEnum(NotificationTemplateSyncState)
|
|
98
98
|
});
|
|
99
99
|
|
|
100
100
|
export type NotificationTemplateData = z.infer<typeof notificationTemplateSchema>;
|
|
@@ -121,9 +121,9 @@ export interface UpdateNotificationTemplateResponse {
|
|
|
121
121
|
export interface DeleteNotificationTemplateResponse {}
|
|
122
122
|
|
|
123
123
|
export interface GetEntitySyncResponse {
|
|
124
|
-
|
|
124
|
+
syncState: NotificationTemplateSyncState;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
export interface SetEntitySyncResponse {
|
|
128
|
-
|
|
128
|
+
syncState: NotificationTemplateSyncState;
|
|
129
129
|
}
|