talawa-api / Exports / constants
Module: constants
Table of contents
Enumerations
Variables
- ACCESS_TOKEN_SECRET
- ACTION_ITEM_CATEGORY_ALREADY_EXISTS
- ACTION_ITEM_CATEGORY_IS_DISABLED
- ACTION_ITEM_CATEGORY_NOT_FOUND_ERROR
- ACTION_ITEM_NOT_FOUND_ERROR
- ADMIN_CANNOT_CHANGE_ITS_ROLE
- ADMIN_CHANGING_ROLE_OF_CREATOR
- ADMIN_REMOVING_ADMIN
- ADMIN_REMOVING_CREATOR
- ADVERTISEMENT_NOT_FOUND_ERROR
- AGENDA_CATEGORY_NOT_FOUND_ERROR
- AGENDA_ITEM_CREATION_ERROR
- AGENDA_ITEM_NOT_FOUND_ERROR
- AGENDA_SECTION_NOT_FOUND_ERROR
- ATTENDEE_NOT_FOUND
- BASE_RECURRING_EVENT_NOT_FOUND
- BASE_URL
- CHAT_NOT_FOUND_ERROR
- COMMENT_NOT_FOUND_ERROR
- COMMUNITY_LOGO_NOT_MISSING_IN_ARGS
- CUSTOM_DATA_NOT_FOUND
- CUSTOM_FIELD_NAME_MISSING
- CUSTOM_FIELD_NOT_FOUND
- CUSTOM_FIELD_TYPE_MISSING
- DEFAULT_COMMUNITY
- EMAIL_ALREADY_EXISTS_ERROR
- END_DATE_VALIDATION_ERROR
- ERROR_IN_SENDING_MAIL
- EVENT_NOT_FOUND_ERROR
- EVENT_VOLUNTEER_GROUP_NOT_FOUND_ERROR
- EVENT_VOLUNTEER_INVITE_USER_MISTMATCH
- EVENT_VOLUNTEER_NOT_FOUND_ERROR
- FEEDBACK_ALREADY_SUBMITTED
- FIELD_NON_EMPTY_ERROR
- FUNDRAISING_CAMPAIGN_ALREADY_ADDED
- FUNDRAISING_CAMPAIGN_ALREADY_EXISTS
- FUNDRAISING_CAMPAIGN_NOT_FOUND_ERROR
- FUNDRAISING_CAMPAIGN_PLEDGE_ALREADY_EXISTS
- FUNDRAISING_CAMPAIGN_PLEDGE_NOT_FOUND_ERROR
- FUND_ALREADY_EXISTS
- FUND_NOT_FOUND_ERROR
- IMAGE_SIZE_LIMIT_KB
- INCORRECT_TAG_INPUT
- INPUT_NOT_FOUND_ERROR
- INTERNAL_SERVER_ERROR
- INVALID_CREDENTIALS_ERROR
- INVALID_FILE_TYPE
- INVALID_OTP
- INVALID_REFRESH_TOKEN_ERROR
- INVALID_ROLE_TYPE
- INVALID_TAG_INPUT
- IN_PRODUCTION
- LAST_RESORT_SUPERADMIN_EMAIL
- LENGTH_VALIDATION_ERROR
- LOG
- LOG_PATH
- MAIL_PASSWORD
- MAIL_USERNAME
- MAXIMUM_FETCH_LIMIT
- MAXIMUM_IMAGE_SIZE_LIMIT_KB
- MEMBERSHIP_REQUEST_ALREADY_EXISTS
- MEMBERSHIP_REQUEST_NOT_FOUND_ERROR
- MEMBER_NOT_FOUND_ERROR
- MILLISECONDS_IN_A_WEEK
- MONGO_DB_URL
- NOTE_NOT_FOUND_ERROR
- NO_CHANGE_IN_TAG_NAME
- ORGANIZATION_IMAGE_NOT_FOUND_ERROR
- ORGANIZATION_MEMBER_NOT_FOUND_ERROR
- ORGANIZATION_NOT_AUTHORIZED_ERROR
- ORGANIZATION_NOT_FOUND_ERROR
- PLEASE_PROVIDE_TITLE
- PLUGIN_NOT_FOUND
- POST_NEEDS_TO_BE_PINNED
- POST_NOT_FOUND_ERROR
- PRELOGIN_IMAGERY_FIELD_EMPTY
- RECAPTCHA_SECRET_KEY
- RECURRENCE_FREQUENCIES
- RECURRENCE_RULE_NOT_FOUND
- RECURRENCE_WEEKDAYS
- RECURRENCE_WEEKDAYS_MAPPING
- RECURRING_EVENT_INSTANCES_DAILY_LIMIT
- RECURRING_EVENT_INSTANCES_MONTHLY_LIMIT
- RECURRING_EVENT_INSTANCES_QUERY_LIMIT
- RECURRING_EVENT_INSTANCES_WEEKLY_LIMIT
- RECURRING_EVENT_INSTANCES_YEARLY_LIMIT
- REDIS_HOST
- REDIS_PASSWORD
- REDIS_PORT
- REFRESH_TOKEN_SECRET
- REGEX_VALIDATION_ERROR
- REGISTRANT_ALREADY_EXIST_ERROR
- SAME_FILE_ERROR
- SAMPLE_ORGANIZATION_ALREADY_EXISTS
- SERVER_PORT
- SMTP_OPTIONS
- START_DATE_VALIDATION_ERROR
- STATUS_ACTIVE
- SUPERADMIN_CANT_CHANGE_OWN_ROLE
- TAG_ALREADY_EXISTS
- TAG_NOT_FOUND
- TRANSLATION_ALREADY_PRESENT_ERROR
- UNAUTHENTICATED_ERROR
- UNAUTHORIZED_REMOVE_AGENDA_ITEM_ERROR
- UNAUTHORIZED_REMOVE_NOTE_ERROR
- UNAUTHORIZED_UPDATE_AGENDA_ITEM_ERROR
- UNAUTHORIZED_UPDATE_NOTE_ERROR
- URL
- USER_ALREADY_CHECKED_IN
- USER_ALREADY_CHECKED_OUT
- USER_ALREADY_HAS_TAG
- USER_ALREADY_INVITED_FOR_EVENT
- USER_ALREADY_MEMBER_ERROR
- USER_ALREADY_REGISTERED_FOR_EVENT
- USER_ALREADY_UNREGISTERED_ERROR
- USER_BLOCKING_SELF
- USER_DOES_NOT_BELONG_TO_TAGS_ORGANIZATION
- USER_DOES_NOT_HAVE_THE_TAG
- USER_FAMILY_MIN_MEMBERS_ERROR_CODE
- USER_FAMILY_NOT_FOUND_ERROR
- USER_NOT_AUTHORIZED_ADMIN
- USER_NOT_AUTHORIZED_ERROR
- USER_NOT_AUTHORIZED_SUPERADMIN
- USER_NOT_AUTHORIZED_TO_CREATE_TAG
- USER_NOT_AUTHORIZED_TO_PIN
- USER_NOT_CHECKED_IN
- USER_NOT_FOUND_ERROR
- USER_NOT_MADE_PLEDGE_ERROR
- USER_NOT_MEMBER_FOR_ORGANIZATION
- USER_NOT_ORGANIZATION_ADMIN
- USER_NOT_REGISTERED_FOR_EVENT
- USER_PROFILE_IMAGE_NOT_FOUND_ERROR
- USER_REMOVING_SELF
- USER_TO_BE_REMOVED_NOT_FOUND_ERROR
- VENUE_ALREADY_EXISTS_ERROR
- VENUE_ALREADY_SCHEDULED
- VENUE_NAME_MISSING_ERROR
- VENUE_NOT_FOUND_ERROR
- iv
- key
Variables
ACCESS_TOKEN_SECRET
• Const
ACCESS_TOKEN_SECRET: undefined
| string
= ENV.ACCESS_TOKEN_SECRET
Defined in
ACTION_ITEM_CATEGORY_ALREADY_EXISTS
• Const
ACTION_ITEM_CATEGORY_ALREADY_EXISTS: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
ACTION_ITEM_CATEGORY_IS_DISABLED
• Const
ACTION_ITEM_CATEGORY_IS_DISABLED: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
ACTION_ITEM_CATEGORY_NOT_FOUND_ERROR
• Const
ACTION_ITEM_CATEGORY_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
ACTION_ITEM_NOT_FOUND_ERROR
• Const
ACTION_ITEM_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
ADMIN_CANNOT_CHANGE_ITS_ROLE
• Const
ADMIN_CANNOT_CHANGE_ITS_ROLE: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
ADMIN_CHANGING_ROLE_OF_CREATOR
• Const
ADMIN_CHANGING_ROLE_OF_CREATOR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
ADMIN_REMOVING_ADMIN
• Const
ADMIN_REMOVING_ADMIN: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
ADMIN_REMOVING_CREATOR
• Const
ADMIN_REMOVING_CREATOR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
ADVERTISEMENT_NOT_FOUND_ERROR
• Const
ADVERTISEMENT_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
AGENDA_CATEGORY_NOT_FOUND_ERROR
• Const
AGENDA_CATEGORY_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
AGENDA_ITEM_CREATION_ERROR
• Const
AGENDA_ITEM_CREATION_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
AGENDA_ITEM_NOT_FOUND_ERROR
• Const
AGENDA_ITEM_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
AGENDA_SECTION_NOT_FOUND_ERROR
• Const
AGENDA_SECTION_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
ATTENDEE_NOT_FOUND
• Const
ATTENDEE_NOT_FOUND: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
BASE_RECURRING_EVENT_NOT_FOUND
• Const
BASE_RECURRING_EVENT_NOT_FOUND: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
BASE_URL
• Const
BASE_URL: string
Defined in
CHAT_NOT_FOUND_ERROR
• Const
CHAT_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
COMMENT_NOT_FOUND_ERROR
• Const
COMMENT_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
COMMUNITY_LOGO_NOT_MISSING_IN_ARGS
• Const
COMMUNITY_LOGO_NOT_MISSING_IN_ARGS: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
CUSTOM_DATA_NOT_FOUND
• Const
CUSTOM_DATA_NOT_FOUND: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
CUSTOM_FIELD_NAME_MISSING
• Const
CUSTOM_FIELD_NAME_MISSING: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
CUSTOM_FIELD_NOT_FOUND
• Const
CUSTOM_FIELD_NOT_FOUND: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
CUSTOM_FIELD_TYPE_MISSING
• Const
CUSTOM_FIELD_TYPE_MISSING: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
DEFAULT_COMMUNITY
• Const
DEFAULT_COMMUNITY: Object
Type declaration
Name | Type |
---|---|
description | string |
name | string |
Defined in
EMAIL_ALREADY_EXISTS_ERROR
• Const
EMAIL_ALREADY_EXISTS_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
END_DATE_VALIDATION_ERROR
• Const
END_DATE_VALIDATION_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
ERROR_IN_SENDING_MAIL
• Const
ERROR_IN_SENDING_MAIL: "Error in sending mail"
Defined in
EVENT_NOT_FOUND_ERROR
• Const
EVENT_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
EVENT_VOLUNTEER_GROUP_NOT_FOUND_ERROR
• Const
EVENT_VOLUNTEER_GROUP_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
EVENT_VOLUNTEER_INVITE_USER_MISTMATCH
• Const
EVENT_VOLUNTEER_INVITE_USER_MISTMATCH: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
EVENT_VOLUNTEER_NOT_FOUND_ERROR
• Const
EVENT_VOLUNTEER_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FEEDBACK_ALREADY_SUBMITTED
• Const
FEEDBACK_ALREADY_SUBMITTED: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
FIELD_NON_EMPTY_ERROR
• Const
FIELD_NON_EMPTY_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
FUNDRAISING_CAMPAIGN_ALREADY_ADDED
• Const
FUNDRAISING_CAMPAIGN_ALREADY_ADDED: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUNDRAISING_CAMPAIGN_ALREADY_EXISTS
• Const
FUNDRAISING_CAMPAIGN_ALREADY_EXISTS: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUNDRAISING_CAMPAIGN_NOT_FOUND_ERROR
• Const
FUNDRAISING_CAMPAIGN_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUNDRAISING_CAMPAIGN_PLEDGE_ALREADY_EXISTS
• Const
FUNDRAISING_CAMPAIGN_PLEDGE_ALREADY_EXISTS: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUNDRAISING_CAMPAIGN_PLEDGE_NOT_FOUND_ERROR
• Const
FUNDRAISING_CAMPAIGN_PLEDGE_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUND_ALREADY_EXISTS
• Const
FUND_ALREADY_EXISTS: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
FUND_NOT_FOUND_ERROR
• Const
FUND_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
IMAGE_SIZE_LIMIT_KB
• Const
IMAGE_SIZE_LIMIT_KB: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
INCORRECT_TAG_INPUT
• Const
INCORRECT_TAG_INPUT: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
INPUT_NOT_FOUND_ERROR
• Const
INPUT_NOT_FOUND_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
INTERNAL_SERVER_ERROR
• Const
INTERNAL_SERVER_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
INVALID_CREDENTIALS_ERROR
• Const
INVALID_CREDENTIALS_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
INVALID_FILE_TYPE
• Const
INVALID_FILE_TYPE: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |
Defined in
INVALID_OTP
• Const
INVALID_OTP: "Invalid OTP"
Defined in
INVALID_REFRESH_TOKEN_ERROR
• Const
INVALID_REFRESH_TOKEN_ERROR: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
INVALID_ROLE_TYPE
• Const
INVALID_ROLE_TYPE: Object
Type declaration
Name | Type |
---|---|
CODE | string |
DESC | string |
MESSAGE | string |
PARAM | string |
Defined in
INVALID_TAG_INPUT
• Const
INVALID_TAG_INPUT: Object
Type declaration
Name | Type |
---|---|
CODE | string |
MESSAGE | string |
PARAM | string |