Open vikhyat187 opened 1 year ago
{ id: string, type: ['EMAIL', 'SMS', 'WHATSAPP', 'PUSH', 'MOBILE'], userId: string, message: string, createAt: timestamp, prority: ['HIGH', 'MEDIUM', 'LOW'], ownerId: string, sendingService: string, // Service which will call this, not sure if it's required }
{ notificationID: string, sendAt: timeStamp, }
{ notificationID: string, status: ['SENT', 'PENDING', 'FAILED'], createdAt: timeStamp, error: {} //'reason if failed' }
// FOR LATER
{ id: string, name: string, message: 'HELLO ${name}, ' params: [{ name: 'Username', placeHolder: 'name' },], }
Looks nice, thanks @prakashchoudhary07
DATA MODEL
NOTIFICATION MODEL
NOTIFICATION SCHEDULE
NOTIFICATION STATUS
// FOR LATER
TEMPLATE MODEL