Skip to content

Commit

Permalink
fix(sms): correct wrong status code for "partner account barred" (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck authored Dec 4, 2023
1 parent 379dbba commit 20ed3f2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions packages/sms/lib/enums/SMSStatus.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export enum SMSStatus {
SUCCESS = '0',
THROTTLED = '1',
MISSING_REQUIRED_PARAM = '2',
INVALID_PARAM = '3',
INVALID_CREDENTIALS = '4',
INTERNAL_ERROR = '5',
INVALID_MESSAGE = '6',
BARRED_NUMBER = '7',
PARTNER_ACCOUNT_BARRED = '7',
PARTNER_QUOTA_violation = '9',
TOO_MANY_EXISTING_BINDS = '10',
ACCOUNT_NOT_ENABLED = '11',
MESSAGE_TOO_LONG = '12',
INVALID_SIGNATURE = '14',
INVALID_SENDER_ADDRESS = '15',
INVALID_NETWORK_CODE = '22',
INVALID_CALLBACK_URL = '23',
NON_WHITELISTED_DESTINATION = '29',
SIGNATURE_AND_API_SECRET_DISALLOWED = '32',
NUMBER_DEACTIVATED = '33',
SUCCESS = '0',
THROTTLED = '1',
MISSING_REQUIRED_PARAM = '2',
INVALID_PARAM = '3',
INVALID_CREDENTIALS = '4',
INTERNAL_ERROR = '5',
INVALID_MESSAGE = '6',
BARRED_NUMBER = '7',
PARTNER_ACCOUNT_BARRED = '8',
PARTNER_QUOTA_violation = '9',
TOO_MANY_EXISTING_BINDS = '10',
ACCOUNT_NOT_ENABLED = '11',
MESSAGE_TOO_LONG = '12',
INVALID_SIGNATURE = '14',
INVALID_SENDER_ADDRESS = '15',
INVALID_NETWORK_CODE = '22',
INVALID_CALLBACK_URL = '23',
NON_WHITELISTED_DESTINATION = '29',
SIGNATURE_AND_API_SECRET_DISALLOWED = '32',
NUMBER_DEACTIVATED = '33',
}

0 comments on commit 20ed3f2

Please sign in to comment.