export interface CommunicationMessage { body?: string; clientKey?: string; creationDate?: string; depositAccountKey?: string; destination?: string; encodedKey?: string; event?: CommunicationMessageEventEnum; failureCause?: string; failureReason?: CommunicationMessageFailureReasonEnum; groupKey?: string; loanAccountKey?: string; numRetries?: number; referenceId?: string; repaymentKey?: string; sendDate?: string; senderKey?: string; state?: CommunicationMessageStateEnum; subject?: string; templateKey?: string; type?: CommunicationMessageTypeEnum; userKey?: string; } export declare const CommunicationMessageEventEnum: { readonly Manual: "MANUAL"; readonly DoNothing: "DO_NOTHING"; readonly ClientCreated: "CLIENT_CREATED"; readonly ClientApproved: "CLIENT_APPROVED"; readonly GroupActivity: "GROUP_ACTIVITY"; readonly GroupCreated: "GROUP_CREATED"; readonly LoanCreated: "LOAN_CREATED"; readonly InterestRateChanged: "INTEREST_RATE_CHANGED"; readonly ClientRejected: "CLIENT_REJECTED"; readonly ClientActivity: "CLIENT_ACTIVITY"; readonly LoanRepayment: "LOAN_REPAYMENT"; readonly LoanRepaymentReversal: "LOAN_REPAYMENT_REVERSAL"; readonly FeeApplied: "FEE_APPLIED"; readonly FeeAdjusted: "FEE_ADJUSTED"; readonly FeeCharged: "FEE_CHARGED"; readonly PenaltyApplied: "PENALTY_APPLIED"; readonly PenaltyAdjustment: "PENALTY_ADJUSTMENT"; readonly FeesDueReduced: "FEES_DUE_REDUCED"; readonly FeeReductionAdjustment: "FEE_REDUCTION_ADJUSTMENT"; readonly LoanApproval: "LOAN_APPROVAL"; readonly LoanAccountClosure: "LOAN_ACCOUNT_CLOSURE"; readonly LoanAccountWriteOff: "LOAN_ACCOUNT_WRITE_OFF"; readonly LoanAccountRejection: "LOAN_ACCOUNT_REJECTION"; readonly LoanAccountRescheduled: "LOAN_ACCOUNT_RESCHEDULED"; readonly LoanAccountRefinanced: "LOAN_ACCOUNT_REFINANCED"; readonly RepaymentReminder: "REPAYMENT_REMINDER"; readonly AccountInArrears: "ACCOUNT_IN_ARREARS"; readonly LoanDisbursement: "LOAN_DISBURSEMENT"; readonly LoanDisbursementReversal: "LOAN_DISBURSEMENT_REVERSAL"; readonly LoanAccountActivity: "LOAN_ACCOUNT_ACTIVITY"; readonly LoanAnticipatedDisbursement: "LOAN_ANTICIPATED_DISBURSEMENT"; readonly SavingsCreated: "SAVINGS_CREATED"; readonly SavingsDeposit: "SAVINGS_DEPOSIT"; readonly SavingsDepositReversal: "SAVINGS_DEPOSIT_REVERSAL"; readonly ReappliedSavingsDeposit: "REAPPLIED_SAVINGS_DEPOSIT"; readonly SavingsApproval: "SAVINGS_APPROVAL"; readonly SavingsAccountActivated: "SAVINGS_ACCOUNT_ACTIVATED"; readonly SavingsAccountClosure: "SAVINGS_ACCOUNT_CLOSURE"; readonly SavingsAccountRejection: "SAVINGS_ACCOUNT_REJECTION"; readonly SavingsWithdrawal: "SAVINGS_WITHDRAWAL"; readonly SavingsWithdrawalReversal: "SAVINGS_WITHDRAWAL_REVERSAL"; readonly ReappliedSavingsWithdrawal: "REAPPLIED_SAVINGS_WITHDRAWAL"; readonly SavingsAccountActivity: "SAVINGS_ACCOUNT_ACTIVITY"; readonly DepositInterestApplied: "DEPOSIT_INTEREST_APPLIED"; readonly DepositInterestAppliedAdjustment: "DEPOSIT_INTEREST_APPLIED_ADJUSTMENT"; readonly AccountAuthorisationHoldCreated: "ACCOUNT_AUTHORISATION_HOLD_CREATED"; readonly AccountAuthorisationHoldReversed: "ACCOUNT_AUTHORISATION_HOLD_REVERSED"; readonly AccountAuthorisationHoldSettled: "ACCOUNT_AUTHORISATION_HOLD_SETTLED"; readonly CardsAuthorisationHoldCreated: "CARDS_AUTHORISATION_HOLD_CREATED"; readonly CardsAuthorisationHoldInBulkCreated: "CARDS_AUTHORISATION_HOLD_IN_BULK_CREATED"; readonly CardsAuthorisationHoldSettled: "CARDS_AUTHORISATION_HOLD_SETTLED"; readonly CardsAuthorisationHoldAmountDecreased: "CARDS_AUTHORISATION_HOLD_AMOUNT_DECREASED"; readonly CardsAuthorisationHoldAmountIncreased: "CARDS_AUTHORISATION_HOLD_AMOUNT_INCREASED"; readonly CardsAuthorisationHoldExpired: "CARDS_AUTHORISATION_HOLD_EXPIRED"; readonly CardsAuthorisationHoldReversed: "CARDS_AUTHORISATION_HOLD_REVERSED"; readonly PortalActivated: "PORTAL_ACTIVATED"; readonly PortalPasswordReset: "PORTAL_PASSWORD_RESET"; readonly EndOfDayProcessingCompleted: "END_OF_DAY_PROCESSING_COMPLETED"; readonly DataAccessStateChanged: "DATA_ACCESS_STATE_CHANGED"; readonly CreditArrangementCreated: "CREDIT_ARRANGEMENT_CREATED"; readonly CreditArrangementClosed: "CREDIT_ARRANGEMENT_CLOSED"; readonly CreditArrangementApproved: "CREDIT_ARRANGEMENT_APPROVED"; readonly CreditArrangementRejected: "CREDIT_ARRANGEMENT_REJECTED"; readonly CreditArrangementWithdrawn: "CREDIT_ARRANGEMENT_WITHDRAWN"; readonly CreditArrangementDeleted: "CREDIT_ARRANGEMENT_DELETED"; readonly CreditArrangementAccountAdded: "CREDIT_ARRANGEMENT_ACCOUNT_ADDED"; readonly CreditArrangementAccountRemoved: "CREDIT_ARRANGEMENT_ACCOUNT_REMOVED"; readonly CreditArrangementEdited: "CREDIT_ARRANGEMENT_EDITED"; readonly PaymentOrderActivity: "PAYMENT_ORDER_ACTIVITY"; readonly CollectionOrderActivity: "COLLECTION_ORDER_ACTIVITY"; readonly JournalEntryAdded: "JOURNAL_ENTRY_ADDED"; readonly JournalEntryAdjusted: "JOURNAL_ENTRY_ADJUSTED"; readonly SavingsTransactionEdited: "SAVINGS_TRANSACTION_EDITED"; readonly CardWithdrawalReversal: "CARD_WITHDRAWAL_REVERSAL"; readonly CardDepositReversal: "CARD_DEPOSIT_REVERSAL"; }; export type CommunicationMessageEventEnum = (typeof CommunicationMessageEventEnum)[keyof typeof CommunicationMessageEventEnum]; export declare const CommunicationMessageFailureReasonEnum: { readonly MessagingException: "MESSAGING_EXCEPTION"; readonly InvalidSmtpCredentials: "INVALID_SMTP_CREDENTIALS"; readonly UnsupportedEncodingException: "UNSUPPORTED_ENCODING_EXCEPTION"; readonly EmailServiceNotEnabled: "EMAIL_SERVICE_NOT_ENABLED"; readonly SmsTooLong: "SMS_TOO_LONG"; readonly SmsServiceNotEnabled: "SMS_SERVICE_NOT_ENABLED"; readonly SmsNotSent: "SMS_NOT_SENT"; readonly SmsServiceError: "SMS_SERVICE_ERROR"; readonly SmsConnectionException: "SMS_CONNECTION_EXCEPTION"; readonly WebhookNotificationsDisabled: "WEBHOOK_NOTIFICATIONS_DISABLED"; readonly InvalidHttpResponse: "INVALID_HTTP_RESPONSE"; readonly HttpErrorWhileSending: "HTTP_ERROR_WHILE_SENDING"; readonly InvalidJsonBodySyntax: "INVALID_JSON_BODY_SYNTAX"; readonly MissingTemplateKey: "MISSING_TEMPLATE_KEY"; readonly MaxMessageSizeLimitExceeded: "MAX_MESSAGE_SIZE_LIMIT_EXCEEDED"; readonly UndefinedDestination: "UNDEFINED_DESTINATION"; readonly InvalidHttpProtocol: "INVALID_HTTP_PROTOCOL"; readonly BlacklistedUrl: "BLACKLISTED_URL"; readonly InvalidSmsGatewayCredentials: "INVALID_SMS_GATEWAY_CREDENTIALS"; readonly MissingSmsRecipient: "MISSING_SMS_RECIPIENT"; readonly SmsGatewayError: "SMS_GATEWAY_ERROR"; readonly MissingEmailRecipientAddress: "MISSING_EMAIL_RECIPIENT_ADDRESS"; readonly Other: "OTHER"; }; export type CommunicationMessageFailureReasonEnum = (typeof CommunicationMessageFailureReasonEnum)[keyof typeof CommunicationMessageFailureReasonEnum]; export declare const CommunicationMessageStateEnum: { readonly Sent: "SENT"; readonly Queued: "QUEUED"; readonly QueuedForStream: "QUEUED_FOR_STREAM"; readonly Waiting: "WAITING"; readonly SendingAsync: "SENDING_ASYNC"; readonly Failed: "FAILED"; readonly KafkaSuccessKinesisFailed: "KAFKA_SUCCESS_KINESIS_FAILED"; }; export type CommunicationMessageStateEnum = (typeof CommunicationMessageStateEnum)[keyof typeof CommunicationMessageStateEnum]; export declare const CommunicationMessageTypeEnum: { readonly Email: "EMAIL"; readonly Sms: "SMS"; readonly WebHook: "WEB_HOOK"; readonly EventStream: "EVENT_STREAM"; readonly Task: "TASK"; }; export type CommunicationMessageTypeEnum = (typeof CommunicationMessageTypeEnum)[keyof typeof CommunicationMessageTypeEnum];