add server to monorepo.

This commit is contained in:
a.bouhuolia
2023-02-03 11:57:50 +02:00
parent 28e309981b
commit 80b97b5fdc
1303 changed files with 137049 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
export interface ISmsNotificationAllowedVariable {
variable: string;
description: string;
}
export interface ISmsNotificationDefined {
notificationLabel: string;
notificationDescription: string;
key: string;
module: string;
moduleFormatted: string;
allowedVariables: ISmsNotificationAllowedVariable[];
defaultSmsMessage: string;
defaultIsNotificationEnabled: boolean;
}
export interface ISmsNotificationMeta {
notificationLabel: string;
notificationDescription: string;
key: string;
module: string;
moduleFormatted: string;
allowedVariables: ISmsNotificationAllowedVariable[];
smsMessage: string;
isNotificationEnabled: boolean;
}
export interface IEditSmsNotificationDTO {
notificationKey: string;
messageText: string;
isNotificationEnabled: boolean;
}
export interface ISaleInvoiceSmsDetailsDTO {
notificationKey: 'details' | 'reminder';
}
export interface ISaleInvoiceSmsDetails {
customerName: string;
customerPhoneNumber: string;
smsMessage: string;
}
export enum SMS_NOTIFICATION_KEY {
SALE_INVOICE_DETAILS = 'sale-invoice-details',
SALE_INVOICE_REMINDER = 'sale-invoice-reminder',
SALE_ESTIMATE_DETAILS = 'sale-estimate-details',
SALE_RECEIPT_DETAILS = 'sale-receipt-details',
PAYMENT_RECEIVE_DETAILS = 'payment-receive-details',
CUSTOMER_BALANCE = 'customer-balance',
}