-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from poojakarma/push_notification_changes
PS- 2201 Push notification changes
- Loading branch information
Showing
6 changed files
with
129 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export const SUCCESS_MESSAGES = { | ||
NOTIFICATION_COMPLETED: 'Notification process completed', | ||
SEND_NOTIFICATION: '/send Notification', | ||
NOTIFICATION_QUEUE_SAVE_SUCCESSFULLY: 'Notification saved in queue successfully', | ||
NOTIFICATION_SENT_SUCCESSFULLY: 'Notification sent successfully', | ||
PUSH_NOTIFICATION_SEND_SUCCESSFULLY: 'Push notification sent successfully', | ||
|
||
|
||
|
||
}; | ||
export const ERROR_MESSAGES = { | ||
INVALID_REQUEST: "Invalid request", | ||
NOT_FOUND: "Not found", | ||
UNAUTHORIZED: "Unauthorized", | ||
FORBIDDEN: "Forbidden", | ||
BAD_REQUEST: "Bad request", | ||
INVALID_REQUEST_BODY: "Invalid request body", | ||
INTERNAL_SERVER_ERROR: "Internal Server Error", | ||
TEMPLATE_NOTFOUND: 'Template not found', | ||
NOTIFICATION_FAILED: `Failed to Send Notification`, | ||
TEMPLATE_CONFIG_NOTFOUND: 'Template Config not found for this context: ', | ||
NOTIFICATION_QUEUE_SAVE_FAILED: 'Failed to save notifications in queue', | ||
NOTIFICATION_LOG_SAVE_FAILED: 'Failed to save Log of notification', | ||
TOPIC_NOTIFICATION_FAILED: 'Failed to send topic notification', | ||
PUSH_NOTIFICATION_FAILED: 'Failed to send push notification' | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.