@houlak/plexo-sdk 0.1.52 → 0.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/lib/IPaymentGatewayClient.d.ts +31 -31
- package/lib/IPaymentGatewayClient.js +2 -2
- package/lib/PaymentGatewayClient.d.ts +33 -32
- package/lib/PaymentGatewayClient.js +179 -90
- package/lib/config/config.d.ts +12 -12
- package/lib/config/config.js +16 -16
- package/lib/handler/PlexoHandler.d.ts +21 -21
- package/lib/handler/PlexoHandler.js +283 -283
- package/lib/handler/services/evaluator.service.d.ts +6 -6
- package/lib/handler/services/evaluator.service.js +118 -118
- package/lib/handler/types/BaseResponse.d.ts +8 -8
- package/lib/handler/types/BaseResponse.js +16 -16
- package/lib/helpers/signature/signatureHelper.d.ts +5 -1
- package/lib/helpers/signature/signatureHelper.js +173 -52
- package/lib/index.d.ts +3 -3
- package/lib/index.js +9 -9
- package/lib/lib/logger.lib.d.ts +10 -10
- package/lib/lib/logger.lib.js +33 -33
- package/lib/models/ActionType.d.ts +9 -9
- package/lib/models/ActionType.js +13 -13
- package/lib/models/AmountLimit.d.ts +7 -7
- package/lib/models/AmountLimit.js +2 -2
- package/lib/models/Authorization.d.ts +16 -18
- package/lib/models/Authorization.js +32 -32
- package/lib/models/AuthorizationInfo.d.ts +6 -6
- package/lib/models/AuthorizationInfo.js +11 -11
- package/lib/models/AuthorizationType.d.ts +5 -5
- package/lib/models/AuthorizationType.js +9 -9
- package/lib/models/BaseServerResponse.d.ts +7 -7
- package/lib/models/BaseServerResponse.js +12 -12
- package/lib/models/BuiltInPagesOptionsDto.d.ts +4 -4
- package/lib/models/BuiltInPagesOptionsDto.js +9 -9
- package/lib/models/CancelRequest.d.ts +6 -6
- package/lib/models/CancelRequest.js +29 -29
- package/lib/models/CardStatus.d.ts +7 -7
- package/lib/models/CardStatus.js +11 -11
- package/lib/models/CardTypes.d.ts +9 -9
- package/lib/models/CardTypes.js +13 -13
- package/lib/models/CertificateHelper.d.ts +0 -0
- package/lib/models/CertificateHelper.js +152 -0
- package/lib/models/CertificateHelperFactory.js +12 -0
- package/lib/models/ClientRequest.d.ts +4 -4
- package/lib/models/ClientRequest.js +10 -10
- package/lib/models/ClientResponse.d.ts +6 -6
- package/lib/models/ClientResponse.js +29 -29
- package/lib/models/ClientSignedRequest.d.ts +4 -4
- package/lib/models/ClientSignedRequest.js +27 -27
- package/lib/models/ClientSignedResponse.d.ts +4 -4
- package/lib/models/ClientSignedResponse.js +27 -27
- package/lib/models/CodeAction.d.ts +10 -10
- package/lib/models/CodeAction.js +10 -10
- package/lib/models/CodeRequest.d.ts +5 -5
- package/lib/models/CodeRequest.js +2 -2
- package/lib/models/Commerce.d.ts +4 -4
- package/lib/models/Commerce.js +2 -2
- package/lib/models/CommerceIdRequest.d.ts +3 -3
- package/lib/models/CommerceIdRequest.js +2 -2
- package/lib/models/CommerceIssuerIdRequest.d.ts +4 -4
- package/lib/models/CommerceIssuerIdRequest.js +2 -2
- package/lib/models/CommerceModifyRequest.d.ts +4 -4
- package/lib/models/CommerceModifyRequest.js +2 -2
- package/lib/models/CommerceRequest.d.ts +3 -3
- package/lib/models/CommerceRequest.js +2 -2
- package/lib/models/CreateBankInstrumentRequest.d.ts +6 -6
- package/lib/models/CreateBankInstrumentRequest.js +2 -2
- package/lib/models/Currency.d.ts +6 -6
- package/lib/models/Currency.js +2 -2
- package/lib/models/DeleteInstrumentRequest.d.ts +6 -6
- package/lib/models/DeleteInstrumentRequest.js +29 -29
- package/lib/models/DisplayOptionsDto.d.ts +7 -7
- package/lib/models/DisplayOptionsDto.js +9 -9
- package/lib/models/ExpressCheckoutRequest.d.ts +6 -6
- package/lib/models/ExpressCheckoutRequest.js +2 -2
- package/lib/models/ExpressCheckoutSettingsDto.d.ts +6 -6
- package/lib/models/ExpressCheckoutSettingsDto.js +9 -9
- package/lib/models/ExtendedCredit.d.ts +4 -4
- package/lib/models/ExtendedCredit.js +2 -2
- package/lib/models/FieldInfo.d.ts +6 -6
- package/lib/models/FieldInfo.js +2 -2
- package/lib/models/FieldInfoPaymentProcessors.d.ts +6 -6
- package/lib/models/FieldInfoPaymentProcessors.js +11 -11
- package/lib/models/FieldType.d.ts +76 -76
- package/lib/models/FieldType.js +89 -89
- package/lib/models/FinancialInclusion.d.ts +8 -8
- package/lib/models/FinancialInclusion.js +2 -2
- package/lib/models/FinancialInclusionResult.d.ts +6 -6
- package/lib/models/FinancialInclusionResult.js +2 -2
- package/lib/models/GenericClientRequest.d.ts +5 -5
- package/lib/models/GenericClientRequest.js +29 -29
- package/lib/models/GenericClientSignedRequest.d.ts +4 -4
- package/lib/models/GenericClientSignedRequest.js +27 -27
- package/lib/models/GenericIssuerRequest.d.ts +5 -5
- package/lib/models/GenericIssuerRequest.js +29 -29
- package/lib/models/GenericIssuerSignedRequest.d.ts +4 -4
- package/lib/models/GenericIssuerSignedRequest.js +27 -27
- package/lib/models/GenericServerSignedResponse.d.ts +4 -4
- package/lib/models/GenericServerSignedResponse.js +27 -27
- package/lib/models/GenericSignedObject.d.ts +6 -6
- package/lib/models/GenericSignedObject.js +11 -11
- package/lib/models/GenericStateObject.d.ts +5 -5
- package/lib/models/GenericStateObject.js +29 -29
- package/lib/models/IClientCallback.d.ts +3 -3
- package/lib/models/IClientCallback.js +2 -2
- package/lib/models/IdentificationType.d.ts +6 -6
- package/lib/models/IdentificationType.js +10 -10
- package/lib/models/InclusionType.d.ts +5 -5
- package/lib/models/InclusionType.js +9 -9
- package/lib/models/IndexSDK.d.ts +33 -33
- package/lib/models/IndexSDK.js +39 -39
- package/lib/models/InfoLine.d.ts +4 -4
- package/lib/models/InfoLine.js +2 -2
- package/lib/models/InstrumentCallback.d.ts +9 -9
- package/lib/models/InstrumentCallback.js +31 -31
- package/lib/models/InstrumentWithMetadata.d.ts +6 -6
- package/lib/models/InstrumentWithMetadata.js +11 -11
- package/lib/models/IssuerData.d.ts +5 -5
- package/lib/models/IssuerData.js +2 -2
- package/lib/models/IssuerInfo.d.ts +14 -14
- package/lib/models/IssuerInfo.js +2 -2
- package/lib/models/IssuerProcessor.d.ts +7 -7
- package/lib/models/IssuerProcessor.js +12 -12
- package/lib/models/IssuerRequest.d.ts +4 -4
- package/lib/models/IssuerRequest.js +10 -10
- package/lib/models/IssuerSignedRequest.d.ts +4 -4
- package/lib/models/IssuerSignedRequest.js +27 -27
- package/lib/models/Item.d.ts +8 -8
- package/lib/models/Item.js +2 -2
- package/lib/models/PaymentInstrument.d.ts +20 -20
- package/lib/models/PaymentInstrument.js +2 -2
- package/lib/models/PaymentInstrumentInput.d.ts +6 -6
- package/lib/models/PaymentInstrumentInput.js +2 -2
- package/lib/models/PaymentProcessor.d.ts +6 -6
- package/lib/models/PaymentProcessor.js +11 -11
- package/lib/models/PaymentRequest.d.ts +17 -17
- package/lib/models/PaymentRequest.js +20 -20
- package/lib/models/PlexoSdkSettings.d.ts +8 -0
- package/lib/models/PlexoSdkSettings.js +14 -0
- package/lib/models/PublicKeyInfo.d.ts +4 -4
- package/lib/models/PublicKeyInfo.js +2 -2
- package/lib/models/Reference.d.ts +6 -6
- package/lib/models/Reference.js +11 -11
- package/lib/models/ReferenceType.d.ts +6 -6
- package/lib/models/ReferenceType.js +10 -10
- package/lib/models/Reserve.d.ts +6 -6
- package/lib/models/Reserve.js +29 -29
- package/lib/models/ReserveRequest.d.ts +6 -6
- package/lib/models/ReserveRequest.js +29 -29
- package/lib/models/ResultCodes.d.ts +30 -30
- package/lib/models/ResultCodes.js +35 -35
- package/lib/models/ServerResponse.d.ts +6 -6
- package/lib/models/ServerResponse.js +29 -29
- package/lib/models/ServerSignedCallback.d.ts +3 -3
- package/lib/models/ServerSignedCallback.js +27 -27
- package/lib/models/ServerSignedRequest.d.ts +3 -3
- package/lib/models/ServerSignedRequest.js +27 -27
- package/lib/models/ServerSignedResponse.d.ts +4 -4
- package/lib/models/ServerSignedResponse.js +27 -27
- package/lib/models/Session.d.ts +5 -5
- package/lib/models/Session.js +2 -2
- package/lib/models/Settings.d.ts +11 -0
- package/lib/models/Settings.js +19 -0
- package/lib/models/SignedObject.d.ts +6 -6
- package/lib/models/SignedObject.js +11 -11
- package/lib/models/StateObject.d.ts +5 -5
- package/lib/models/StateObject.js +11 -11
- package/lib/models/TimeLimit.d.ts +5 -5
- package/lib/models/TimeLimit.js +2 -2
- package/lib/models/TokenizationSettingsDto.d.ts +4 -4
- package/lib/models/TokenizationSettingsDto.js +9 -9
- package/lib/models/Transaction.d.ts +26 -26
- package/lib/models/Transaction.js +26 -26
- package/lib/models/TransactionCallback.d.ts +7 -7
- package/lib/models/TransactionCallback.js +29 -29
- package/lib/models/TransactionCursor.d.ts +6 -6
- package/lib/models/TransactionCursor.js +2 -2
- package/lib/models/TransactionInfo.d.ts +12 -12
- package/lib/models/TransactionInfo.js +2 -2
- package/lib/models/TransactionOrder.d.ts +5 -5
- package/lib/models/TransactionOrder.js +2 -2
- package/lib/models/TransactionQuery.d.ts +54 -54
- package/lib/models/TransactionQuery.js +47 -47
- package/lib/models/TransactionResult.d.ts +13 -13
- package/lib/models/TransactionResult.js +17 -17
- package/lib/models/TransactionType.d.ts +5 -5
- package/lib/models/TransactionType.js +9 -9
- package/lib/models/UIOptionsDto.d.ts +7 -7
- package/lib/models/UIOptionsDto.js +13 -13
- package/lib/models/WebFormSettingsDto.d.ts +8 -8
- package/lib/models/WebFormSettingsDto.js +9 -9
- package/lib/sdk/IPaymentGatewayClient.d.ts +31 -31
- package/lib/sdk/IPaymentGatewayClient.js +2 -2
- package/lib/sdk/PaymentGatewayClient.d.ts +32 -32
- package/lib/sdk/PaymentGatewayClient.js +379 -379
- package/lib/sdk/PaymentGatewayMock.d.ts +31 -31
- package/lib/sdk/PaymentGatewayMock.js +330 -330
- package/lib/sdk/enums/plexo-error-enum.d.ts +38 -38
- package/lib/sdk/enums/plexo-error-enum.js +46 -46
- package/lib/sdk/helpers/signature/signatureHelper.d.ts +6 -6
- package/lib/sdk/helpers/signature/signatureHelper.js +174 -171
- package/lib/sdk/helpers/signature/signatureUtils.d.ts +10 -10
- package/lib/sdk/helpers/signature/signatureUtils.js +157 -157
- package/lib/sdk/helpers/signature/stringifyWithFloats.d.ts +1 -1
- package/lib/sdk/helpers/signature/stringifyWithFloats.js +71 -71
- package/lib/sdk/index.d.ts +4 -4
- package/lib/sdk/index.js +22 -22
- package/lib/sdk/mocks/mocks.d.ts +24 -24
- package/lib/sdk/mocks/mocks.js +180 -180
- package/lib/sdk/models/ActionType.d.ts +9 -9
- package/lib/sdk/models/ActionType.js +13 -13
- package/lib/sdk/models/AmountLimit.d.ts +7 -7
- package/lib/sdk/models/AmountLimit.js +2 -2
- package/lib/sdk/models/Authorization.d.ts +18 -18
- package/lib/sdk/models/Authorization.js +32 -32
- package/lib/sdk/models/AuthorizationInfo.d.ts +6 -6
- package/lib/sdk/models/AuthorizationInfo.js +11 -11
- package/lib/sdk/models/AuthorizationType.d.ts +5 -5
- package/lib/sdk/models/AuthorizationType.js +9 -9
- package/lib/sdk/models/BaseServerResponse.d.ts +7 -7
- package/lib/sdk/models/BaseServerResponse.js +12 -12
- package/lib/sdk/models/BuiltInPagesOptionsDto.d.ts +4 -4
- package/lib/sdk/models/BuiltInPagesOptionsDto.js +9 -9
- package/lib/sdk/models/CancelRequest.d.ts +6 -6
- package/lib/sdk/models/CancelRequest.js +29 -29
- package/lib/sdk/models/CardStatus.d.ts +7 -7
- package/lib/sdk/models/CardStatus.js +11 -11
- package/lib/sdk/models/CardTypes.d.ts +9 -9
- package/lib/sdk/models/CardTypes.js +13 -13
- package/lib/sdk/models/ClientRequest.d.ts +4 -4
- package/lib/sdk/models/ClientRequest.js +10 -10
- package/lib/sdk/models/ClientResponse.d.ts +6 -6
- package/lib/sdk/models/ClientResponse.js +29 -29
- package/lib/sdk/models/ClientSignedRequest.d.ts +4 -4
- package/lib/sdk/models/ClientSignedRequest.js +27 -27
- package/lib/sdk/models/ClientSignedResponse.d.ts +4 -4
- package/lib/sdk/models/ClientSignedResponse.js +27 -27
- package/lib/sdk/models/CodeAction.d.ts +10 -10
- package/lib/sdk/models/CodeAction.js +10 -10
- package/lib/sdk/models/CodeRequest.d.ts +5 -5
- package/lib/sdk/models/CodeRequest.js +2 -2
- package/lib/sdk/models/Commerce.d.ts +4 -4
- package/lib/sdk/models/Commerce.js +2 -2
- package/lib/sdk/models/CommerceIdRequest.d.ts +3 -3
- package/lib/sdk/models/CommerceIdRequest.js +2 -2
- package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -4
- package/lib/sdk/models/CommerceIssuerIdRequest.js +2 -2
- package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -4
- package/lib/sdk/models/CommerceModifyRequest.js +2 -2
- package/lib/sdk/models/CommerceRequest.d.ts +3 -3
- package/lib/sdk/models/CommerceRequest.js +2 -2
- package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +6 -6
- package/lib/sdk/models/CreateBankInstrumentRequest.js +2 -2
- package/lib/sdk/models/Currency.d.ts +6 -6
- package/lib/sdk/models/Currency.js +2 -2
- package/lib/sdk/models/DeleteInstrumentRequest.d.ts +6 -6
- package/lib/sdk/models/DeleteInstrumentRequest.js +29 -29
- package/lib/sdk/models/DisplayOptionsDto.d.ts +7 -7
- package/lib/sdk/models/DisplayOptionsDto.js +9 -9
- package/lib/sdk/models/ExpressCheckoutRequest.d.ts +6 -6
- package/lib/sdk/models/ExpressCheckoutRequest.js +2 -2
- package/lib/sdk/models/ExpressCheckoutSettingsDto.d.ts +6 -6
- package/lib/sdk/models/ExpressCheckoutSettingsDto.js +9 -9
- package/lib/sdk/models/ExtendedCredit.d.ts +4 -4
- package/lib/sdk/models/ExtendedCredit.js +2 -2
- package/lib/sdk/models/FieldInfo.d.ts +6 -6
- package/lib/sdk/models/FieldInfo.js +2 -2
- package/lib/sdk/models/FieldInfoPaymentProcessors.d.ts +6 -6
- package/lib/sdk/models/FieldInfoPaymentProcessors.js +11 -11
- package/lib/sdk/models/FieldType.d.ts +82 -82
- package/lib/sdk/models/FieldType.js +95 -95
- package/lib/sdk/models/FinancialInclusion.d.ts +9 -9
- package/lib/sdk/models/FinancialInclusion.js +2 -2
- package/lib/sdk/models/FinancialInclusionResult.d.ts +6 -6
- package/lib/sdk/models/FinancialInclusionResult.js +2 -2
- package/lib/sdk/models/GenericClientRequest.d.ts +5 -5
- package/lib/sdk/models/GenericClientRequest.js +29 -29
- package/lib/sdk/models/GenericClientSignedRequest.d.ts +4 -4
- package/lib/sdk/models/GenericClientSignedRequest.js +27 -27
- package/lib/sdk/models/GenericIssuerRequest.d.ts +5 -5
- package/lib/sdk/models/GenericIssuerRequest.js +29 -29
- package/lib/sdk/models/GenericIssuerSignedRequest.d.ts +4 -4
- package/lib/sdk/models/GenericIssuerSignedRequest.js +27 -27
- package/lib/sdk/models/GenericServerSignedResponse.d.ts +4 -4
- package/lib/sdk/models/GenericServerSignedResponse.js +27 -27
- package/lib/sdk/models/GenericSignedObject.d.ts +6 -6
- package/lib/sdk/models/GenericSignedObject.js +11 -11
- package/lib/sdk/models/GenericStateObject.d.ts +5 -5
- package/lib/sdk/models/GenericStateObject.js +29 -29
- package/lib/sdk/models/IClientCallback.d.ts +3 -3
- package/lib/sdk/models/IClientCallback.js +2 -2
- package/lib/sdk/models/IdentificationType.d.ts +6 -6
- package/lib/sdk/models/IdentificationType.js +10 -10
- package/lib/sdk/models/InclusionType.d.ts +5 -5
- package/lib/sdk/models/InclusionType.js +9 -9
- package/lib/sdk/models/IndexSDK.d.ts +85 -85
- package/lib/sdk/models/IndexSDK.js +114 -114
- package/lib/sdk/models/InfoLine.d.ts +4 -4
- package/lib/sdk/models/InfoLine.js +2 -2
- package/lib/sdk/models/InstrumentCallback.d.ts +9 -9
- package/lib/sdk/models/InstrumentCallback.js +31 -31
- package/lib/sdk/models/InstrumentWithMetadata.d.ts +6 -6
- package/lib/sdk/models/InstrumentWithMetadata.js +11 -11
- package/lib/sdk/models/IssuerData.d.ts +7 -7
- package/lib/sdk/models/IssuerData.js +2 -2
- package/lib/sdk/models/IssuerInfo.d.ts +14 -14
- package/lib/sdk/models/IssuerInfo.js +2 -2
- package/lib/sdk/models/IssuerProcessor.d.ts +7 -7
- package/lib/sdk/models/IssuerProcessor.js +12 -12
- package/lib/sdk/models/IssuerRequest.d.ts +4 -4
- package/lib/sdk/models/IssuerRequest.js +10 -10
- package/lib/sdk/models/IssuerSignedRequest.d.ts +4 -4
- package/lib/sdk/models/IssuerSignedRequest.js +27 -27
- package/lib/sdk/models/Item.d.ts +8 -8
- package/lib/sdk/models/Item.js +2 -2
- package/lib/sdk/models/PaymentInstrument.d.ts +18 -18
- package/lib/sdk/models/PaymentInstrument.js +2 -2
- package/lib/sdk/models/PaymentInstrumentInput.d.ts +6 -6
- package/lib/sdk/models/PaymentInstrumentInput.js +2 -2
- package/lib/sdk/models/PaymentProcessor.d.ts +6 -6
- package/lib/sdk/models/PaymentProcessor.js +11 -11
- package/lib/sdk/models/PaymentRequest.d.ts +17 -17
- package/lib/sdk/models/PaymentRequest.js +20 -20
- package/lib/sdk/models/PlexoSdkSettings.d.ts +8 -8
- package/lib/sdk/models/PlexoSdkSettings.js +14 -14
- package/lib/sdk/models/PublicKeyInfo.d.ts +4 -4
- package/lib/sdk/models/PublicKeyInfo.js +2 -2
- package/lib/sdk/models/Reference.d.ts +6 -6
- package/lib/sdk/models/Reference.js +11 -11
- package/lib/sdk/models/ReferenceType.d.ts +6 -6
- package/lib/sdk/models/ReferenceType.js +10 -10
- package/lib/sdk/models/Reserve.d.ts +6 -6
- package/lib/sdk/models/Reserve.js +29 -29
- package/lib/sdk/models/ReserveRequest.d.ts +6 -6
- package/lib/sdk/models/ReserveRequest.js +29 -29
- package/lib/sdk/models/ResultCodes.d.ts +30 -30
- package/lib/sdk/models/ResultCodes.js +35 -35
- package/lib/sdk/models/ServerResponse.d.ts +6 -6
- package/lib/sdk/models/ServerResponse.js +29 -29
- package/lib/sdk/models/ServerSignedCallback.d.ts +3 -3
- package/lib/sdk/models/ServerSignedCallback.js +27 -27
- package/lib/sdk/models/ServerSignedRequest.d.ts +3 -3
- package/lib/sdk/models/ServerSignedRequest.js +27 -27
- package/lib/sdk/models/ServerSignedResponse.d.ts +4 -4
- package/lib/sdk/models/ServerSignedResponse.js +27 -27
- package/lib/sdk/models/Session.d.ts +5 -5
- package/lib/sdk/models/Session.js +2 -2
- package/lib/sdk/models/Settings.d.ts +11 -11
- package/lib/sdk/models/Settings.js +19 -19
- package/lib/sdk/models/SignedObject.d.ts +6 -6
- package/lib/sdk/models/SignedObject.js +11 -11
- package/lib/sdk/models/StateObject.d.ts +5 -5
- package/lib/sdk/models/StateObject.js +11 -11
- package/lib/sdk/models/TimeLimit.d.ts +5 -5
- package/lib/sdk/models/TimeLimit.js +2 -2
- package/lib/sdk/models/TokenizationSettingsDto.d.ts +4 -4
- package/lib/sdk/models/TokenizationSettingsDto.js +9 -9
- package/lib/sdk/models/Transaction.d.ts +31 -31
- package/lib/sdk/models/Transaction.js +26 -26
- package/lib/sdk/models/TransactionCallback.d.ts +7 -7
- package/lib/sdk/models/TransactionCallback.js +29 -29
- package/lib/sdk/models/TransactionCursor.d.ts +6 -6
- package/lib/sdk/models/TransactionCursor.js +2 -2
- package/lib/sdk/models/TransactionInfo.d.ts +12 -12
- package/lib/sdk/models/TransactionInfo.js +2 -2
- package/lib/sdk/models/TransactionOrder.d.ts +5 -5
- package/lib/sdk/models/TransactionOrder.js +2 -2
- package/lib/sdk/models/TransactionQuery.d.ts +54 -54
- package/lib/sdk/models/TransactionQuery.js +47 -47
- package/lib/sdk/models/TransactionResult.d.ts +13 -13
- package/lib/sdk/models/TransactionResult.js +17 -17
- package/lib/sdk/models/TransactionType.d.ts +5 -5
- package/lib/sdk/models/TransactionType.js +9 -9
- package/lib/sdk/models/UIOptionsDto.d.ts +8 -8
- package/lib/sdk/models/UIOptionsDto.js +13 -13
- package/lib/sdk/models/WebFormSettingsDto.d.ts +8 -8
- package/lib/sdk/models/WebFormSettingsDto.js +9 -9
- package/lib/sdk/models/webhook/Address.d.ts +9 -9
- package/lib/sdk/models/webhook/Address.js +15 -15
- package/lib/sdk/models/webhook/CancellationInfo.d.ts +11 -11
- package/lib/sdk/models/webhook/CancellationInfo.js +17 -17
- package/lib/sdk/models/webhook/Client.d.ts +9 -9
- package/lib/sdk/models/webhook/Client.js +14 -14
- package/lib/sdk/models/webhook/Commerce.d.ts +6 -6
- package/lib/sdk/models/webhook/Commerce.js +12 -12
- package/lib/sdk/models/webhook/Currency.d.ts +8 -8
- package/lib/sdk/models/webhook/Currency.js +14 -14
- package/lib/sdk/models/webhook/Customer.d.ts +17 -17
- package/lib/sdk/models/webhook/Customer.js +22 -22
- package/lib/sdk/models/webhook/Document.d.ts +5 -5
- package/lib/sdk/models/webhook/Document.js +11 -11
- package/lib/sdk/models/webhook/Instrument.d.ts +17 -17
- package/lib/sdk/models/webhook/Instrument.js +21 -21
- package/lib/sdk/models/webhook/Issuer.d.ts +8 -8
- package/lib/sdk/models/webhook/Issuer.js +14 -14
- package/lib/sdk/models/webhook/IssuerData.d.ts +8 -8
- package/lib/sdk/models/webhook/IssuerData.js +13 -13
- package/lib/sdk/models/webhook/IssuerDto.d.ts +5 -5
- package/lib/sdk/models/webhook/IssuerDto.js +11 -11
- package/lib/sdk/models/webhook/Item.d.ts +14 -14
- package/lib/sdk/models/webhook/Item.js +19 -19
- package/lib/sdk/models/webhook/PartialRefundsInfo.d.ts +12 -12
- package/lib/sdk/models/webhook/PartialRefundsInfo.js +18 -18
- package/lib/sdk/models/webhook/PaymentFacilitator.d.ts +8 -8
- package/lib/sdk/models/webhook/PaymentFacilitator.js +13 -13
- package/lib/sdk/models/webhook/PaymentProcessor.d.ts +5 -5
- package/lib/sdk/models/webhook/PaymentProcessor.js +11 -11
- package/lib/sdk/models/webhook/PurchaseInfo.d.ts +16 -16
- package/lib/sdk/models/webhook/PurchaseInfo.js +22 -22
- package/lib/sdk/models/webhook/RefundInfo.d.ts +12 -12
- package/lib/sdk/models/webhook/RefundInfo.js +18 -18
- package/lib/sdk/models/webhook/ReserveInfo.d.ts +13 -13
- package/lib/sdk/models/webhook/ReserveInfo.js +19 -19
- package/lib/sdk/models/webhook/Shipping.d.ts +7 -7
- package/lib/sdk/models/webhook/Shipping.js +12 -12
- package/lib/sdk/models/webhook/Transaction.d.ts +31 -31
- package/lib/sdk/models/webhook/Transaction.js +36 -36
- package/lib/sdk/models/webhook/TransactionResult.d.ts +5 -5
- package/lib/sdk/models/webhook/TransactionResult.js +10 -10
- package/lib/sdk/models/webhook/index.d.ts +21 -21
- package/lib/sdk/models/webhook/index.js +45 -45
- package/lib/sdk/types/signatureHelper.type.d.ts +5 -5
- package/lib/sdk/types/signatureHelper.type.js +2 -2
- package/lib/sdk/types/ui_options_dto.type.d.ts +6 -6
- package/lib/sdk/types/ui_options_dto.type.js +2 -2
- package/lib/utils/boolean.utils.d.ts +4 -0
- package/lib/utils/boolean.utils.js +53 -0
- package/lib/utils/case.util.d.ts +4 -4
- package/lib/utils/case.util.js +57 -57
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +5 -5
- package/package.json +52 -52
- package/lib/sdk/models/webhook/IndexWebhook.d.ts +0 -21
- package/lib/sdk/models/webhook/IndexWebhook.js +0 -45
package/lib/models/IndexSDK.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResultCodes = exports.TransactionType = exports.TransactionResult = exports.PaymentRequest = exports.TransactionCallback = exports.Transaction = exports.ServerSignedCallback = exports.BaseServerResponse = exports.ServerResponse = exports.ReserveRequest = exports.Reserve = exports.Reference = exports.InstrumentCallback = exports.DeleteInstrumentRequest = exports.ClientSignedResponse = exports.CancelRequest = exports.AuthorizationInfo = exports.Authorization = void 0;
|
|
4
|
-
var Authorization_1 = require("./Authorization");
|
|
5
|
-
Object.defineProperty(exports, "Authorization", { enumerable: true, get: function () { return Authorization_1.Authorization; } });
|
|
6
|
-
var AuthorizationInfo_1 = require("./AuthorizationInfo");
|
|
7
|
-
Object.defineProperty(exports, "AuthorizationInfo", { enumerable: true, get: function () { return AuthorizationInfo_1.AuthorizationInfo; } });
|
|
8
|
-
var CancelRequest_1 = require("./CancelRequest");
|
|
9
|
-
Object.defineProperty(exports, "CancelRequest", { enumerable: true, get: function () { return CancelRequest_1.CancelRequest; } });
|
|
10
|
-
var ClientSignedResponse_1 = require("./ClientSignedResponse");
|
|
11
|
-
Object.defineProperty(exports, "ClientSignedResponse", { enumerable: true, get: function () { return ClientSignedResponse_1.ClientSignedResponse; } });
|
|
12
|
-
var DeleteInstrumentRequest_1 = require("./DeleteInstrumentRequest");
|
|
13
|
-
Object.defineProperty(exports, "DeleteInstrumentRequest", { enumerable: true, get: function () { return DeleteInstrumentRequest_1.DeleteInstrumentRequest; } });
|
|
14
|
-
var InstrumentCallback_1 = require("./InstrumentCallback");
|
|
15
|
-
Object.defineProperty(exports, "InstrumentCallback", { enumerable: true, get: function () { return InstrumentCallback_1.InstrumentCallback; } });
|
|
16
|
-
var Reference_1 = require("./Reference");
|
|
17
|
-
Object.defineProperty(exports, "Reference", { enumerable: true, get: function () { return Reference_1.Reference; } });
|
|
18
|
-
var Reserve_1 = require("./Reserve");
|
|
19
|
-
Object.defineProperty(exports, "Reserve", { enumerable: true, get: function () { return Reserve_1.Reserve; } });
|
|
20
|
-
var ReserveRequest_1 = require("./ReserveRequest");
|
|
21
|
-
Object.defineProperty(exports, "ReserveRequest", { enumerable: true, get: function () { return ReserveRequest_1.ReserveRequest; } });
|
|
22
|
-
var ServerResponse_1 = require("./ServerResponse");
|
|
23
|
-
Object.defineProperty(exports, "ServerResponse", { enumerable: true, get: function () { return ServerResponse_1.ServerResponse; } });
|
|
24
|
-
var BaseServerResponse_1 = require("./BaseServerResponse");
|
|
25
|
-
Object.defineProperty(exports, "BaseServerResponse", { enumerable: true, get: function () { return BaseServerResponse_1.BaseServerResponse; } });
|
|
26
|
-
var ServerSignedCallback_1 = require("./ServerSignedCallback");
|
|
27
|
-
Object.defineProperty(exports, "ServerSignedCallback", { enumerable: true, get: function () { return ServerSignedCallback_1.ServerSignedCallback; } });
|
|
28
|
-
var Transaction_1 = require("./Transaction");
|
|
29
|
-
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
|
|
30
|
-
var TransactionCallback_1 = require("./TransactionCallback");
|
|
31
|
-
Object.defineProperty(exports, "TransactionCallback", { enumerable: true, get: function () { return TransactionCallback_1.TransactionCallback; } });
|
|
32
|
-
var PaymentRequest_1 = require("./PaymentRequest");
|
|
33
|
-
Object.defineProperty(exports, "PaymentRequest", { enumerable: true, get: function () { return PaymentRequest_1.PaymentRequest; } });
|
|
34
|
-
var TransactionResult_1 = require("./TransactionResult");
|
|
35
|
-
Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
|
|
36
|
-
var TransactionType_1 = require("./TransactionType");
|
|
37
|
-
Object.defineProperty(exports, "TransactionType", { enumerable: true, get: function () { return TransactionType_1.TransactionType; } });
|
|
38
|
-
var ResultCodes_1 = require("./ResultCodes");
|
|
39
|
-
Object.defineProperty(exports, "ResultCodes", { enumerable: true, get: function () { return ResultCodes_1.ResultCodes; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResultCodes = exports.TransactionType = exports.TransactionResult = exports.PaymentRequest = exports.TransactionCallback = exports.Transaction = exports.ServerSignedCallback = exports.BaseServerResponse = exports.ServerResponse = exports.ReserveRequest = exports.Reserve = exports.Reference = exports.InstrumentCallback = exports.DeleteInstrumentRequest = exports.ClientSignedResponse = exports.CancelRequest = exports.AuthorizationInfo = exports.Authorization = void 0;
|
|
4
|
+
var Authorization_1 = require("./Authorization");
|
|
5
|
+
Object.defineProperty(exports, "Authorization", { enumerable: true, get: function () { return Authorization_1.Authorization; } });
|
|
6
|
+
var AuthorizationInfo_1 = require("./AuthorizationInfo");
|
|
7
|
+
Object.defineProperty(exports, "AuthorizationInfo", { enumerable: true, get: function () { return AuthorizationInfo_1.AuthorizationInfo; } });
|
|
8
|
+
var CancelRequest_1 = require("./CancelRequest");
|
|
9
|
+
Object.defineProperty(exports, "CancelRequest", { enumerable: true, get: function () { return CancelRequest_1.CancelRequest; } });
|
|
10
|
+
var ClientSignedResponse_1 = require("./ClientSignedResponse");
|
|
11
|
+
Object.defineProperty(exports, "ClientSignedResponse", { enumerable: true, get: function () { return ClientSignedResponse_1.ClientSignedResponse; } });
|
|
12
|
+
var DeleteInstrumentRequest_1 = require("./DeleteInstrumentRequest");
|
|
13
|
+
Object.defineProperty(exports, "DeleteInstrumentRequest", { enumerable: true, get: function () { return DeleteInstrumentRequest_1.DeleteInstrumentRequest; } });
|
|
14
|
+
var InstrumentCallback_1 = require("./InstrumentCallback");
|
|
15
|
+
Object.defineProperty(exports, "InstrumentCallback", { enumerable: true, get: function () { return InstrumentCallback_1.InstrumentCallback; } });
|
|
16
|
+
var Reference_1 = require("./Reference");
|
|
17
|
+
Object.defineProperty(exports, "Reference", { enumerable: true, get: function () { return Reference_1.Reference; } });
|
|
18
|
+
var Reserve_1 = require("./Reserve");
|
|
19
|
+
Object.defineProperty(exports, "Reserve", { enumerable: true, get: function () { return Reserve_1.Reserve; } });
|
|
20
|
+
var ReserveRequest_1 = require("./ReserveRequest");
|
|
21
|
+
Object.defineProperty(exports, "ReserveRequest", { enumerable: true, get: function () { return ReserveRequest_1.ReserveRequest; } });
|
|
22
|
+
var ServerResponse_1 = require("./ServerResponse");
|
|
23
|
+
Object.defineProperty(exports, "ServerResponse", { enumerable: true, get: function () { return ServerResponse_1.ServerResponse; } });
|
|
24
|
+
var BaseServerResponse_1 = require("./BaseServerResponse");
|
|
25
|
+
Object.defineProperty(exports, "BaseServerResponse", { enumerable: true, get: function () { return BaseServerResponse_1.BaseServerResponse; } });
|
|
26
|
+
var ServerSignedCallback_1 = require("./ServerSignedCallback");
|
|
27
|
+
Object.defineProperty(exports, "ServerSignedCallback", { enumerable: true, get: function () { return ServerSignedCallback_1.ServerSignedCallback; } });
|
|
28
|
+
var Transaction_1 = require("./Transaction");
|
|
29
|
+
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
|
|
30
|
+
var TransactionCallback_1 = require("./TransactionCallback");
|
|
31
|
+
Object.defineProperty(exports, "TransactionCallback", { enumerable: true, get: function () { return TransactionCallback_1.TransactionCallback; } });
|
|
32
|
+
var PaymentRequest_1 = require("./PaymentRequest");
|
|
33
|
+
Object.defineProperty(exports, "PaymentRequest", { enumerable: true, get: function () { return PaymentRequest_1.PaymentRequest; } });
|
|
34
|
+
var TransactionResult_1 = require("./TransactionResult");
|
|
35
|
+
Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
|
|
36
|
+
var TransactionType_1 = require("./TransactionType");
|
|
37
|
+
Object.defineProperty(exports, "TransactionType", { enumerable: true, get: function () { return TransactionType_1.TransactionType; } });
|
|
38
|
+
var ResultCodes_1 = require("./ResultCodes");
|
|
39
|
+
Object.defineProperty(exports, "ResultCodes", { enumerable: true, get: function () { return ResultCodes_1.ResultCodes; } });
|
package/lib/models/InfoLine.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type InfoLine = {
|
|
2
|
-
text: string;
|
|
3
|
-
amount: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type InfoLine = {
|
|
2
|
+
text: string;
|
|
3
|
+
amount: number;
|
|
4
|
+
};
|
package/lib/models/InfoLine.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PaymentInstrument } from '..';
|
|
2
|
-
import { ActionType } from './ActionType';
|
|
3
|
-
import { InstrumentWithMetadata } from './InstrumentWithMetadata';
|
|
4
|
-
export declare class InstrumentCallback extends InstrumentWithMetadata {
|
|
5
|
-
sessionId: string;
|
|
6
|
-
client: string;
|
|
7
|
-
action: ActionType;
|
|
8
|
-
constructor(sessionId: string, client: string, action: ActionType, paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
9
|
-
}
|
|
1
|
+
import { PaymentInstrument } from '..';
|
|
2
|
+
import { ActionType } from './ActionType';
|
|
3
|
+
import { InstrumentWithMetadata } from './InstrumentWithMetadata';
|
|
4
|
+
export declare class InstrumentCallback extends InstrumentWithMetadata {
|
|
5
|
+
sessionId: string;
|
|
6
|
+
client: string;
|
|
7
|
+
action: ActionType;
|
|
8
|
+
constructor(sessionId: string, client: string, action: ActionType, paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
9
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.InstrumentCallback = void 0;
|
|
19
|
-
var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
|
|
20
|
-
var InstrumentCallback = /** @class */ (function (_super) {
|
|
21
|
-
__extends(InstrumentCallback, _super);
|
|
22
|
-
function InstrumentCallback(sessionId, client, action, paymentInstrument, optionalMetadata) {
|
|
23
|
-
var _this = _super.call(this, paymentInstrument, optionalMetadata) || this;
|
|
24
|
-
_this.sessionId = sessionId;
|
|
25
|
-
_this.client = client;
|
|
26
|
-
_this.action = action;
|
|
27
|
-
return _this;
|
|
28
|
-
}
|
|
29
|
-
return InstrumentCallback;
|
|
30
|
-
}(InstrumentWithMetadata_1.InstrumentWithMetadata));
|
|
31
|
-
exports.InstrumentCallback = InstrumentCallback;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.InstrumentCallback = void 0;
|
|
19
|
+
var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
|
|
20
|
+
var InstrumentCallback = /** @class */ (function (_super) {
|
|
21
|
+
__extends(InstrumentCallback, _super);
|
|
22
|
+
function InstrumentCallback(sessionId, client, action, paymentInstrument, optionalMetadata) {
|
|
23
|
+
var _this = _super.call(this, paymentInstrument, optionalMetadata) || this;
|
|
24
|
+
_this.sessionId = sessionId;
|
|
25
|
+
_this.client = client;
|
|
26
|
+
_this.action = action;
|
|
27
|
+
return _this;
|
|
28
|
+
}
|
|
29
|
+
return InstrumentCallback;
|
|
30
|
+
}(InstrumentWithMetadata_1.InstrumentWithMetadata));
|
|
31
|
+
exports.InstrumentCallback = InstrumentCallback;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PaymentInstrument } from './PaymentInstrument';
|
|
2
|
-
export declare class InstrumentWithMetadata {
|
|
3
|
-
paymentInstrument: PaymentInstrument;
|
|
4
|
-
optionalMetadata: string;
|
|
5
|
-
constructor(paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
6
|
-
}
|
|
1
|
+
import { PaymentInstrument } from './PaymentInstrument';
|
|
2
|
+
export declare class InstrumentWithMetadata {
|
|
3
|
+
paymentInstrument: PaymentInstrument;
|
|
4
|
+
optionalMetadata: string;
|
|
5
|
+
constructor(paymentInstrument: PaymentInstrument, optionalMetadata: string);
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstrumentWithMetadata = void 0;
|
|
4
|
-
var InstrumentWithMetadata = /** @class */ (function () {
|
|
5
|
-
function InstrumentWithMetadata(paymentInstrument, optionalMetadata) {
|
|
6
|
-
this.paymentInstrument = paymentInstrument;
|
|
7
|
-
this.optionalMetadata = optionalMetadata;
|
|
8
|
-
}
|
|
9
|
-
return InstrumentWithMetadata;
|
|
10
|
-
}());
|
|
11
|
-
exports.InstrumentWithMetadata = InstrumentWithMetadata;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstrumentWithMetadata = void 0;
|
|
4
|
+
var InstrumentWithMetadata = /** @class */ (function () {
|
|
5
|
+
function InstrumentWithMetadata(paymentInstrument, optionalMetadata) {
|
|
6
|
+
this.paymentInstrument = paymentInstrument;
|
|
7
|
+
this.optionalMetadata = optionalMetadata;
|
|
8
|
+
}
|
|
9
|
+
return InstrumentWithMetadata;
|
|
10
|
+
}());
|
|
11
|
+
exports.InstrumentWithMetadata = InstrumentWithMetadata;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type IssuerData = {
|
|
2
|
-
issuerId: number;
|
|
3
|
-
commerceId: number;
|
|
4
|
-
metadata: any;
|
|
5
|
-
};
|
|
1
|
+
export declare type IssuerData = {
|
|
2
|
+
issuerId: number;
|
|
3
|
+
commerceId: number;
|
|
4
|
+
metadata: any;
|
|
5
|
+
};
|
package/lib/models/IssuerData.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { FieldInfo } from './FieldInfo';
|
|
2
|
-
export declare type IssuerInfo = {
|
|
3
|
-
id: string;
|
|
4
|
-
issuerId: number;
|
|
5
|
-
variationId: number;
|
|
6
|
-
issuer: string;
|
|
7
|
-
bank: string;
|
|
8
|
-
variation: string;
|
|
9
|
-
imageUrl: string;
|
|
10
|
-
mayHaveAsyncPayments: boolean;
|
|
11
|
-
supportsReserve: boolean;
|
|
12
|
-
mayHavePaymentsLimits: boolean;
|
|
13
|
-
fields: FieldInfo[];
|
|
14
|
-
};
|
|
1
|
+
import { FieldInfo } from './FieldInfo';
|
|
2
|
+
export declare type IssuerInfo = {
|
|
3
|
+
id: string;
|
|
4
|
+
issuerId: number;
|
|
5
|
+
variationId: number;
|
|
6
|
+
issuer: string;
|
|
7
|
+
bank: string;
|
|
8
|
+
variation: string;
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
mayHaveAsyncPayments: boolean;
|
|
11
|
+
supportsReserve: boolean;
|
|
12
|
+
mayHavePaymentsLimits: boolean;
|
|
13
|
+
fields: FieldInfo[];
|
|
14
|
+
};
|
package/lib/models/IssuerInfo.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PaymentProcessor } from './PaymentProcessor';
|
|
2
|
-
export declare class IssuerProcessor {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
constructor(
|
|
7
|
-
}
|
|
1
|
+
import { PaymentProcessor } from './PaymentProcessor';
|
|
2
|
+
export declare class IssuerProcessor {
|
|
3
|
+
IssuerId: number;
|
|
4
|
+
Name: string;
|
|
5
|
+
PaymentProcessors: PaymentProcessor[];
|
|
6
|
+
constructor(IssuerId: number, Name: string, PaymentProcessors: PaymentProcessor[]);
|
|
7
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IssuerProcessor = void 0;
|
|
4
|
-
var IssuerProcessor = /** @class */ (function () {
|
|
5
|
-
function IssuerProcessor(
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
8
|
-
this.
|
|
9
|
-
}
|
|
10
|
-
return IssuerProcessor;
|
|
11
|
-
}());
|
|
12
|
-
exports.IssuerProcessor = IssuerProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuerProcessor = void 0;
|
|
4
|
+
var IssuerProcessor = /** @class */ (function () {
|
|
5
|
+
function IssuerProcessor(IssuerId, Name, PaymentProcessors) {
|
|
6
|
+
this.IssuerId = IssuerId;
|
|
7
|
+
this.Name = Name;
|
|
8
|
+
this.PaymentProcessors = PaymentProcessors;
|
|
9
|
+
}
|
|
10
|
+
return IssuerProcessor;
|
|
11
|
+
}());
|
|
12
|
+
exports.IssuerProcessor = IssuerProcessor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class IssuerRequest {
|
|
2
|
-
issuer: string;
|
|
3
|
-
constructor(issuer: string);
|
|
4
|
-
}
|
|
1
|
+
export declare class IssuerRequest {
|
|
2
|
+
issuer: string;
|
|
3
|
+
constructor(issuer: string);
|
|
4
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IssuerRequest = void 0;
|
|
4
|
-
var IssuerRequest = /** @class */ (function () {
|
|
5
|
-
function IssuerRequest(issuer) {
|
|
6
|
-
this.issuer = issuer;
|
|
7
|
-
}
|
|
8
|
-
return IssuerRequest;
|
|
9
|
-
}());
|
|
10
|
-
exports.IssuerRequest = IssuerRequest;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuerRequest = void 0;
|
|
4
|
+
var IssuerRequest = /** @class */ (function () {
|
|
5
|
+
function IssuerRequest(issuer) {
|
|
6
|
+
this.issuer = issuer;
|
|
7
|
+
}
|
|
8
|
+
return IssuerRequest;
|
|
9
|
+
}());
|
|
10
|
+
exports.IssuerRequest = IssuerRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenericSignedObject } from './GenericSignedObject';
|
|
2
|
-
import { IssuerRequest } from './IssuerRequest';
|
|
3
|
-
export declare class IssuerSignedRequest extends GenericSignedObject<IssuerRequest> {
|
|
4
|
-
}
|
|
1
|
+
import { GenericSignedObject } from './GenericSignedObject';
|
|
2
|
+
import { IssuerRequest } from './IssuerRequest';
|
|
3
|
+
export declare class IssuerSignedRequest extends GenericSignedObject<IssuerRequest> {
|
|
4
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.IssuerSignedRequest = void 0;
|
|
19
|
-
var GenericSignedObject_1 = require("./GenericSignedObject");
|
|
20
|
-
var IssuerSignedRequest = /** @class */ (function (_super) {
|
|
21
|
-
__extends(IssuerSignedRequest, _super);
|
|
22
|
-
function IssuerSignedRequest() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return IssuerSignedRequest;
|
|
26
|
-
}(GenericSignedObject_1.GenericSignedObject));
|
|
27
|
-
exports.IssuerSignedRequest = IssuerSignedRequest;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.IssuerSignedRequest = void 0;
|
|
19
|
+
var GenericSignedObject_1 = require("./GenericSignedObject");
|
|
20
|
+
var IssuerSignedRequest = /** @class */ (function (_super) {
|
|
21
|
+
__extends(IssuerSignedRequest, _super);
|
|
22
|
+
function IssuerSignedRequest() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return IssuerSignedRequest;
|
|
26
|
+
}(GenericSignedObject_1.GenericSignedObject));
|
|
27
|
+
exports.IssuerSignedRequest = IssuerSignedRequest;
|
package/lib/models/Item.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InfoLine } from './InfoLine';
|
|
2
|
-
export declare type Item = {
|
|
3
|
-
clientItemReferenceId?: string;
|
|
4
|
-
amount: number;
|
|
5
|
-
infoLines: InfoLine[];
|
|
6
|
-
metaData?: string;
|
|
7
|
-
tags?: string[];
|
|
8
|
-
};
|
|
1
|
+
import { InfoLine } from './InfoLine';
|
|
2
|
+
export declare type Item = {
|
|
3
|
+
clientItemReferenceId?: string;
|
|
4
|
+
amount: number;
|
|
5
|
+
infoLines: InfoLine[];
|
|
6
|
+
metaData?: string;
|
|
7
|
+
tags?: string[];
|
|
8
|
+
};
|
package/lib/models/Item.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { AmountLimit } from './AmountLimit';
|
|
2
|
-
import { CardStatus } from './CardStatus';
|
|
3
|
-
import { Currency } from './Currency';
|
|
4
|
-
import { FieldType } from './FieldType';
|
|
5
|
-
import { IssuerInfo } from './IssuerInfo';
|
|
6
|
-
import { TimeLimit } from './TimeLimit';
|
|
7
|
-
import { ESMap } from 'typescript';
|
|
8
|
-
export declare type PaymentInstrument = {
|
|
9
|
-
instrumentToken: string;
|
|
10
|
-
name: string;
|
|
11
|
-
issuer: IssuerInfo;
|
|
12
|
-
supportedCurrencies: Currency[];
|
|
13
|
-
status: CardStatus;
|
|
14
|
-
instrumentExpirationUTC: number;
|
|
15
|
-
anonInstrumentUsageTimeLimit?: number;
|
|
16
|
-
creditLimits: AmountLimit[];
|
|
17
|
-
additionalRequirements: TimeLimit[];
|
|
18
|
-
instrumentInformation: ESMap<FieldType, string>;
|
|
19
|
-
sessionCreationId: string;
|
|
20
|
-
};
|
|
1
|
+
import { AmountLimit } from './AmountLimit';
|
|
2
|
+
import { CardStatus } from './CardStatus';
|
|
3
|
+
import { Currency } from './Currency';
|
|
4
|
+
import { FieldType } from './FieldType';
|
|
5
|
+
import { IssuerInfo } from './IssuerInfo';
|
|
6
|
+
import { TimeLimit } from './TimeLimit';
|
|
7
|
+
import { ESMap } from 'typescript';
|
|
8
|
+
export declare type PaymentInstrument = {
|
|
9
|
+
instrumentToken: string;
|
|
10
|
+
name: string;
|
|
11
|
+
issuer: IssuerInfo;
|
|
12
|
+
supportedCurrencies: Currency[];
|
|
13
|
+
status: CardStatus;
|
|
14
|
+
instrumentExpirationUTC: number;
|
|
15
|
+
anonInstrumentUsageTimeLimit?: number;
|
|
16
|
+
creditLimits: AmountLimit[];
|
|
17
|
+
additionalRequirements: TimeLimit[];
|
|
18
|
+
instrumentInformation: ESMap<FieldType, string>;
|
|
19
|
+
sessionCreationId: string;
|
|
20
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type PaymentInstrumentInput = {
|
|
2
|
-
instrumentToken: string;
|
|
3
|
-
nonStorableItems?: any;
|
|
4
|
-
useExtendedClientCreditIfAvailable?: boolean;
|
|
5
|
-
optionalInstrumentFields: any;
|
|
6
|
-
};
|
|
1
|
+
export declare type PaymentInstrumentInput = {
|
|
2
|
+
instrumentToken: string;
|
|
3
|
+
nonStorableItems?: any;
|
|
4
|
+
useExtendedClientCreditIfAvailable?: boolean;
|
|
5
|
+
optionalInstrumentFields: any;
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldInfoPaymentProcessors } from './FieldInfoPaymentProcessors';
|
|
2
|
-
export declare class PaymentProcessor {
|
|
3
|
-
acquirer: string;
|
|
4
|
-
fields: FieldInfoPaymentProcessors[];
|
|
5
|
-
constructor(acquirer: string, fields: FieldInfoPaymentProcessors[]);
|
|
6
|
-
}
|
|
1
|
+
import { FieldInfoPaymentProcessors } from './FieldInfoPaymentProcessors';
|
|
2
|
+
export declare class PaymentProcessor {
|
|
3
|
+
acquirer: string;
|
|
4
|
+
fields: FieldInfoPaymentProcessors[];
|
|
5
|
+
constructor(acquirer: string, fields: FieldInfoPaymentProcessors[]);
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentProcessor = void 0;
|
|
4
|
-
var PaymentProcessor = /** @class */ (function () {
|
|
5
|
-
function PaymentProcessor(acquirer, fields) {
|
|
6
|
-
this.acquirer = acquirer;
|
|
7
|
-
this.fields = fields;
|
|
8
|
-
}
|
|
9
|
-
return PaymentProcessor;
|
|
10
|
-
}());
|
|
11
|
-
exports.PaymentProcessor = PaymentProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentProcessor = void 0;
|
|
4
|
+
var PaymentProcessor = /** @class */ (function () {
|
|
5
|
+
function PaymentProcessor(acquirer, fields) {
|
|
6
|
+
this.acquirer = acquirer;
|
|
7
|
+
this.fields = fields;
|
|
8
|
+
}
|
|
9
|
+
return PaymentProcessor;
|
|
10
|
+
}());
|
|
11
|
+
exports.PaymentProcessor = PaymentProcessor;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { FinancialInclusion } from './FinancialInclusion';
|
|
2
|
-
import { Item } from './Item';
|
|
3
|
-
import { PaymentInstrumentInput } from './PaymentInstrumentInput';
|
|
4
|
-
export declare class PaymentRequest {
|
|
5
|
-
clientReferenceId: string;
|
|
6
|
-
paymentInstrumentInput: PaymentInstrumentInput;
|
|
7
|
-
items: Item[];
|
|
8
|
-
currencyId: number;
|
|
9
|
-
installments: number;
|
|
10
|
-
financialInclusion: FinancialInclusion;
|
|
11
|
-
tipAmount?: number;
|
|
12
|
-
optionalCommerceId?: number;
|
|
13
|
-
optionalMetadata?: string;
|
|
14
|
-
optionalProvidedCode?: string;
|
|
15
|
-
optionalExternalPaymentInfo?: string;
|
|
16
|
-
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
|
|
17
|
-
}
|
|
1
|
+
import { FinancialInclusion } from './FinancialInclusion';
|
|
2
|
+
import { Item } from './Item';
|
|
3
|
+
import { PaymentInstrumentInput } from './PaymentInstrumentInput';
|
|
4
|
+
export declare class PaymentRequest {
|
|
5
|
+
clientReferenceId: string;
|
|
6
|
+
paymentInstrumentInput: PaymentInstrumentInput;
|
|
7
|
+
items: Item[];
|
|
8
|
+
currencyId: number;
|
|
9
|
+
installments: number;
|
|
10
|
+
financialInclusion: FinancialInclusion;
|
|
11
|
+
tipAmount?: number;
|
|
12
|
+
optionalCommerceId?: number;
|
|
13
|
+
optionalMetadata?: string;
|
|
14
|
+
optionalProvidedCode?: string;
|
|
15
|
+
optionalExternalPaymentInfo?: string;
|
|
16
|
+
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
|
|
17
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentRequest = void 0;
|
|
4
|
-
var PaymentRequest = /** @class */ (function () {
|
|
5
|
-
function PaymentRequest(clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, tipAmount, optionalCommerceId, optionalMetadata, optionalProvidedCode, optionalExternalPaymentInfo) {
|
|
6
|
-
this.clientReferenceId = clientReferenceId;
|
|
7
|
-
this.paymentInstrumentInput = paymentInstrumentInput;
|
|
8
|
-
this.items = items;
|
|
9
|
-
this.currencyId = currencyId;
|
|
10
|
-
this.installments = installments;
|
|
11
|
-
this.financialInclusion = financialInclusion;
|
|
12
|
-
this.tipAmount = tipAmount;
|
|
13
|
-
this.optionalCommerceId = optionalCommerceId;
|
|
14
|
-
this.optionalMetadata = optionalMetadata;
|
|
15
|
-
this.optionalProvidedCode = optionalProvidedCode;
|
|
16
|
-
this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
|
|
17
|
-
}
|
|
18
|
-
return PaymentRequest;
|
|
19
|
-
}());
|
|
20
|
-
exports.PaymentRequest = PaymentRequest;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentRequest = void 0;
|
|
4
|
+
var PaymentRequest = /** @class */ (function () {
|
|
5
|
+
function PaymentRequest(clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, tipAmount, optionalCommerceId, optionalMetadata, optionalProvidedCode, optionalExternalPaymentInfo) {
|
|
6
|
+
this.clientReferenceId = clientReferenceId;
|
|
7
|
+
this.paymentInstrumentInput = paymentInstrumentInput;
|
|
8
|
+
this.items = items;
|
|
9
|
+
this.currencyId = currencyId;
|
|
10
|
+
this.installments = installments;
|
|
11
|
+
this.financialInclusion = financialInclusion;
|
|
12
|
+
this.tipAmount = tipAmount;
|
|
13
|
+
this.optionalCommerceId = optionalCommerceId;
|
|
14
|
+
this.optionalMetadata = optionalMetadata;
|
|
15
|
+
this.optionalProvidedCode = optionalProvidedCode;
|
|
16
|
+
this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
|
|
17
|
+
}
|
|
18
|
+
return PaymentRequest;
|
|
19
|
+
}());
|
|
20
|
+
exports.PaymentRequest = PaymentRequest;
|