UNPKG

@enable-tech/shared-types

Version:

This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.

91 lines 5.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.E_DeprecatedPaymentMethod = exports.E_PaymentMethod = exports.E_PaymentStatus = exports.E_PaymentIndexSortType = exports.E_PaymentIntegrationType = exports.E_OldPaymentMethod = exports.E_PaymentGateway = exports.E_InterfacePrePaidPaymentOptions = void 0; var E_InterfacePrePaidPaymentOptions; (function (E_InterfacePrePaidPaymentOptions) { E_InterfacePrePaidPaymentOptions["CUSTOMER"] = "customer"; E_InterfacePrePaidPaymentOptions["ENABLE"] = "enable"; E_InterfacePrePaidPaymentOptions["COMPANY"] = "company"; E_InterfacePrePaidPaymentOptions["INSURANCE"] = "insurance"; })(E_InterfacePrePaidPaymentOptions || (exports.E_InterfacePrePaidPaymentOptions = E_InterfacePrePaidPaymentOptions = {})); // ! NOTE: This type replaces the following types: PaymentGateway var E_PaymentGateway; (function (E_PaymentGateway) { E_PaymentGateway["Vista"] = "vista"; // 'CB Pay' = 'cbpay', // comment out CBPAY // 'Cyber Source' = 'cyberSource', // comment out Cyber Source E_PaymentGateway["Stripe"] = "stripe"; E_PaymentGateway["Skip Cash"] = "skipCash"; E_PaymentGateway["Dibsy"] = "dibsy"; E_PaymentGateway["My Fatoorah"] = "my_fatoorah"; E_PaymentGateway["Tess"] = "tess"; E_PaymentGateway["TAP"] = "tap"; })(E_PaymentGateway || (exports.E_PaymentGateway = E_PaymentGateway = {})); // ! NOTE: This type replaces the following types: PaymentMethod // * when it is time to use this one check if we can use this one E_PaymentMethod and remove E_OldPaymentMethod var E_OldPaymentMethod; (function (E_OldPaymentMethod) { E_OldPaymentMethod["Credit cards"] = "credit_cards"; E_OldPaymentMethod["Debit cards"] = "debit_cards"; E_OldPaymentMethod["Apple Pay"] = "apple_pay"; })(E_OldPaymentMethod || (exports.E_OldPaymentMethod = E_OldPaymentMethod = {})); // ! NOTE: This type replaces the following types: EPaymentIntegrationType var E_PaymentIntegrationType; (function (E_PaymentIntegrationType) { E_PaymentIntegrationType["INVOICE"] = "invoice"; E_PaymentIntegrationType["EMBEDDED"] = "embedded"; })(E_PaymentIntegrationType || (exports.E_PaymentIntegrationType = E_PaymentIntegrationType = {})); //new var E_PaymentIndexSortType; (function (E_PaymentIndexSortType) { E_PaymentIndexSortType["NAME_A_Z"] = "name_a_z"; E_PaymentIndexSortType["NAME_Z_A"] = "name_z_a"; E_PaymentIndexSortType["PAYMENT_STATUS_A_Z"] = "payment_status_a_z"; E_PaymentIndexSortType["PAYMENT_STATUS_Z_A"] = "payment_status_z_a"; E_PaymentIndexSortType["LINK_ID_ASC"] = "link_id_asc"; E_PaymentIndexSortType["LINK_ID_DESC"] = "link_id_desc"; E_PaymentIndexSortType["AMOUNT_ASC"] = "amount_asc"; E_PaymentIndexSortType["AMOUNT_DESC"] = "amount_desc"; E_PaymentIndexSortType["ORDER_CODE_ASC"] = "order_code_asc"; E_PaymentIndexSortType["ORDER_CODE_DESC"] = "order_code_desc"; E_PaymentIndexSortType["RECORD_UPDATED"] = "record_updated"; E_PaymentIndexSortType["DATE_CREATED_ASC"] = "date_created_asc"; E_PaymentIndexSortType["DATE_CREATED_DESC"] = "date_created_desc"; E_PaymentIndexSortType["TRANSACTION_ID_ASC"] = "transaction_id_asc"; E_PaymentIndexSortType["TRANSACTION_ID_DESC"] = "transaction_id_desc"; E_PaymentIndexSortType["CODE_ASC"] = "code_asc"; E_PaymentIndexSortType["CODE_DESC"] = "code_desc"; E_PaymentIndexSortType["COMPANY_ASC"] = "company_asc"; E_PaymentIndexSortType["COMPANY_DESC"] = "company_desc"; E_PaymentIndexSortType["TRANSACTION_DATE_ASC"] = "transaction_date_asc"; E_PaymentIndexSortType["TRANSACTION_DATE_DESC"] = "transaction_date_desc"; E_PaymentIndexSortType["SOURCE_ASC"] = "source_asc"; E_PaymentIndexSortType["SOURCE_DESC"] = "source_desc"; E_PaymentIndexSortType["CREATED_BY_ASC"] = "created_by_asc"; E_PaymentIndexSortType["CREATED_BY_DESC"] = "created_by_desc"; })(E_PaymentIndexSortType || (exports.E_PaymentIndexSortType = E_PaymentIndexSortType = {})); // ! NOTE: This type replaces the following types: E_PaymentStatusEnum var E_PaymentStatus; (function (E_PaymentStatus) { E_PaymentStatus["PENDING"] = "pending"; E_PaymentStatus["TRANSACTION_COMPLETED"] = "transaction_completed"; E_PaymentStatus["UNSUCCESSFUL"] = "unsuccessful"; E_PaymentStatus["PROCESSING"] = "processing"; E_PaymentStatus["INTERNAL_FAILED"] = "internal_failed"; E_PaymentStatus["GATEWAY_LINK_GENERATED"] = "gateway_link_generated"; E_PaymentStatus["EXPIRED"] = "expired"; })(E_PaymentStatus || (exports.E_PaymentStatus = E_PaymentStatus = {})); var E_PaymentMethod; (function (E_PaymentMethod) { E_PaymentMethod["CREDIT_CARDS"] = "credit_cards"; E_PaymentMethod["DEBIT_CARDS"] = "debit_cards"; E_PaymentMethod["APPLE_PAY"] = "apple_pay"; E_PaymentMethod["debit_or_credit_cards"] = "debit_or_credit_cards"; })(E_PaymentMethod || (exports.E_PaymentMethod = E_PaymentMethod = {})); var E_DeprecatedPaymentMethod; (function (E_DeprecatedPaymentMethod) { E_DeprecatedPaymentMethod["CREDIT_CARDS"] = "credit_cards"; E_DeprecatedPaymentMethod["DEBIT_CARD_ISSUED_IN_QATAR"] = "debit_card_issued_in_qatar"; E_DeprecatedPaymentMethod["DEBIT_OR_CREDIT_CARDS"] = "debit_or_credit_cards"; })(E_DeprecatedPaymentMethod || (exports.E_DeprecatedPaymentMethod = E_DeprecatedPaymentMethod = {})); //# sourceMappingURL=index.js.map