"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.notificationTemplateUpdateSchema=exports.NotificationTemplateSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the notification template"),name=(0,schema_1.baseStringSchema)("Name of the notification template"),subject=(0,schema_1.baseStringSchema)("Subject line used in the notification template"),emailBody=(0,schema_1.baseStringSchema)("Body content for email notifications",5e3),smsBody=(0,schema_1.baseStringSchema)("Body content for SMS notifications",5e3),pushBody=(0,schema_1.baseStringSchema)("Body content for push notifications",5e3),shortCodes=(0,schema_1.baseObjectSchema)("Short codes used within the template for dynamic content",!0),email=(0,schema_1.baseBooleanSchema)("Whether this template is used for emails"),sms=(0,schema_1.baseBooleanSchema)("Whether this template is used for SMS"),push=(0,schema_1.baseBooleanSchema)("Whether this template is used for push notifications");exports.NotificationTemplateSchema={id:id,name:name,subject:subject,emailBody:emailBody,smsBody:smsBody,pushBody:pushBody,shortCodes:shortCodes,email:email,sms:sms,push:push};exports.notificationTemplateUpdateSchema={type:"object",properties:{subject:subject,emailBody:emailBody,smsBody:smsBody,pushBody:pushBody,email:email,sms:sms,push:push},required:["subject","emailBody","smsBody","pushBody","email","sms","push"]};