@houlak/plexo-sdk 0.1.19 → 0.1.21
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 -0
- package/lib/IPaymentGatewayClient.js +2 -0
- package/lib/PaymentGatewayClient.d.ts +32 -0
- package/lib/PaymentGatewayClient.js +90 -0
- 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 +271 -275
- 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 +1 -0
- package/lib/helpers/signature/signatureHelper.js +52 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +6 -6
- package/lib/lib/logger.lib.d.ts +10 -10
- package/lib/lib/logger.lib.js +33 -33
- package/lib/models/ActionType.d.ts +9 -0
- package/lib/models/ActionType.js +13 -0
- package/lib/models/AmountLimit.d.ts +7 -0
- package/lib/models/AmountLimit.js +2 -0
- package/lib/models/Authorization.d.ts +16 -0
- package/lib/models/Authorization.js +32 -0
- package/lib/models/AuthorizationInfo.d.ts +6 -0
- package/lib/models/AuthorizationInfo.js +11 -0
- package/lib/models/AuthorizationType.d.ts +5 -0
- package/lib/models/AuthorizationType.js +9 -0
- package/lib/models/BaseServerResponse.d.ts +7 -0
- package/lib/models/BaseServerResponse.js +12 -0
- package/lib/models/CancelRequest.d.ts +6 -0
- package/lib/models/CancelRequest.js +29 -0
- package/lib/models/CardStatus.d.ts +7 -0
- package/lib/models/CardStatus.js +11 -0
- package/lib/models/CardTypes.d.ts +9 -0
- package/lib/models/CardTypes.js +13 -0
- package/lib/models/ClientRequest.d.ts +4 -0
- package/lib/models/ClientRequest.js +10 -0
- package/lib/models/ClientResponse.d.ts +6 -0
- package/lib/models/ClientResponse.js +29 -0
- package/lib/models/ClientSignedRequest.d.ts +4 -0
- package/lib/models/ClientSignedRequest.js +27 -0
- package/lib/models/ClientSignedResponse.d.ts +4 -0
- package/lib/models/ClientSignedResponse.js +27 -0
- package/lib/models/CodeAction.d.ts +10 -0
- package/lib/models/CodeAction.js +10 -0
- package/lib/models/CodeRequest.d.ts +5 -0
- package/lib/models/CodeRequest.js +2 -0
- package/lib/models/Commerce.d.ts +4 -0
- package/lib/models/Commerce.js +2 -0
- package/lib/models/CommerceIdRequest.d.ts +3 -0
- package/lib/models/CommerceIdRequest.js +2 -0
- package/lib/models/CommerceIssuerIdRequest.d.ts +4 -0
- package/lib/models/CommerceIssuerIdRequest.js +2 -0
- package/lib/models/CommerceModifyRequest.d.ts +4 -0
- package/lib/models/CommerceModifyRequest.js +2 -0
- package/lib/models/CommerceRequest.d.ts +3 -0
- package/lib/models/CommerceRequest.js +2 -0
- package/lib/models/CreateBankInstrumentRequest.d.ts +6 -0
- package/lib/models/CreateBankInstrumentRequest.js +2 -0
- package/lib/models/Currency.d.ts +6 -0
- package/lib/models/Currency.js +2 -0
- package/lib/models/DeleteInstrumentRequest.d.ts +6 -0
- package/lib/models/DeleteInstrumentRequest.js +29 -0
- package/lib/models/ExpressCheckoutRequest.d.ts +6 -0
- package/lib/models/ExpressCheckoutRequest.js +2 -0
- package/lib/models/ExtendedCredit.d.ts +4 -0
- package/lib/models/ExtendedCredit.js +2 -0
- package/lib/models/FieldInfo.d.ts +6 -0
- package/lib/models/FieldInfo.js +2 -0
- package/lib/models/FieldInfoPaymentProcessors.d.ts +6 -0
- package/lib/models/FieldInfoPaymentProcessors.js +11 -0
- package/lib/models/FieldType.d.ts +76 -0
- package/lib/models/FieldType.js +89 -0
- package/lib/models/FinancialInclusion.d.ts +8 -0
- package/lib/models/FinancialInclusion.js +2 -0
- package/lib/models/FinancialInclusionResult.d.ts +6 -0
- package/lib/models/FinancialInclusionResult.js +2 -0
- package/lib/models/GenericClientRequest.d.ts +5 -0
- package/lib/models/GenericClientRequest.js +29 -0
- package/lib/models/GenericClientSignedRequest.d.ts +4 -0
- package/lib/models/GenericClientSignedRequest.js +27 -0
- package/lib/models/GenericIssuerRequest.d.ts +5 -0
- package/lib/models/GenericIssuerRequest.js +29 -0
- package/lib/models/GenericIssuerSignedRequest.d.ts +4 -0
- package/lib/models/GenericIssuerSignedRequest.js +27 -0
- package/lib/models/GenericServerSignedResponse.d.ts +4 -0
- package/lib/models/GenericServerSignedResponse.js +27 -0
- package/lib/models/GenericSignedObject.d.ts +6 -0
- package/lib/models/GenericSignedObject.js +11 -0
- package/lib/models/GenericStateObject.d.ts +5 -0
- package/lib/models/GenericStateObject.js +29 -0
- package/lib/models/IClientCallback.d.ts +3 -0
- package/lib/models/IClientCallback.js +2 -0
- package/lib/models/IdentificationType.d.ts +6 -0
- package/lib/models/IdentificationType.js +10 -0
- package/lib/models/InclusionType.d.ts +5 -0
- package/lib/models/InclusionType.js +9 -0
- package/lib/models/IndexSDK.d.ts +33 -0
- package/lib/models/IndexSDK.js +39 -0
- package/lib/models/InfoLine.d.ts +4 -0
- package/lib/models/InfoLine.js +2 -0
- package/lib/models/InstrumentCallback.d.ts +9 -0
- package/lib/models/InstrumentCallback.js +31 -0
- package/lib/models/InstrumentWithMetadata.d.ts +6 -0
- package/lib/models/InstrumentWithMetadata.js +11 -0
- package/lib/models/IssuerData.d.ts +5 -0
- package/lib/models/IssuerData.js +2 -0
- package/lib/models/IssuerInfo.d.ts +14 -0
- package/lib/models/IssuerInfo.js +2 -0
- package/lib/models/IssuerProcessor.d.ts +7 -0
- package/lib/models/IssuerProcessor.js +12 -0
- package/lib/models/IssuerRequest.d.ts +4 -0
- package/lib/models/IssuerRequest.js +10 -0
- package/lib/models/IssuerSignedRequest.d.ts +4 -0
- package/lib/models/IssuerSignedRequest.js +27 -0
- package/lib/models/Item.d.ts +8 -0
- package/lib/models/Item.js +2 -0
- package/lib/models/PaymentInstrument.d.ts +20 -0
- package/lib/models/PaymentInstrument.js +2 -0
- package/lib/models/PaymentInstrumentInput.d.ts +6 -0
- package/lib/models/PaymentInstrumentInput.js +2 -0
- package/lib/models/PaymentProcessor.d.ts +6 -0
- package/lib/models/PaymentProcessor.js +11 -0
- package/lib/models/PaymentRequest.d.ts +17 -0
- package/lib/models/PaymentRequest.js +20 -0
- package/lib/models/PublicKeyInfo.d.ts +4 -0
- package/lib/models/PublicKeyInfo.js +2 -0
- package/lib/models/Reference.d.ts +6 -0
- package/lib/models/Reference.js +11 -0
- package/lib/models/ReferenceType.d.ts +6 -0
- package/lib/models/ReferenceType.js +10 -0
- package/lib/models/Reserve.d.ts +6 -0
- package/lib/models/Reserve.js +29 -0
- package/lib/models/ReserveRequest.d.ts +6 -0
- package/lib/models/ReserveRequest.js +29 -0
- package/lib/models/ResultCodes.d.ts +30 -0
- package/lib/models/ResultCodes.js +35 -0
- package/lib/models/ServerResponse.d.ts +6 -0
- package/lib/models/ServerResponse.js +29 -0
- package/lib/models/ServerSignedCallback.d.ts +3 -0
- package/lib/models/ServerSignedCallback.js +27 -0
- package/lib/models/ServerSignedRequest.d.ts +3 -0
- package/lib/models/ServerSignedRequest.js +27 -0
- package/lib/models/ServerSignedResponse.d.ts +4 -0
- package/lib/models/ServerSignedResponse.js +27 -0
- package/lib/models/Session.d.ts +5 -0
- package/lib/models/Session.js +2 -0
- package/lib/models/SignedObject.d.ts +6 -0
- package/lib/models/SignedObject.js +11 -0
- package/lib/models/StateObject.d.ts +5 -0
- package/lib/models/StateObject.js +11 -0
- package/lib/models/TimeLimit.d.ts +5 -0
- package/lib/models/TimeLimit.js +2 -0
- package/lib/models/Transaction.d.ts +26 -0
- package/lib/models/Transaction.js +26 -0
- package/lib/models/TransactionCallback.d.ts +7 -0
- package/lib/models/TransactionCallback.js +29 -0
- package/lib/models/TransactionCursor.d.ts +6 -0
- package/lib/models/TransactionCursor.js +2 -0
- package/lib/models/TransactionInfo.d.ts +12 -0
- package/lib/models/TransactionInfo.js +2 -0
- package/lib/models/TransactionOrder.d.ts +5 -0
- package/lib/models/TransactionOrder.js +2 -0
- package/lib/models/TransactionQuery.d.ts +54 -0
- package/lib/models/TransactionQuery.js +47 -0
- package/lib/models/TransactionResult.d.ts +13 -0
- package/lib/models/TransactionResult.js +17 -0
- package/lib/models/TransactionType.d.ts +5 -0
- package/lib/models/TransactionType.js +9 -0
- 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 +336 -336
- 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 +9 -9
- package/lib/sdk/helpers/signature/signatureHelper.js +277 -275
- 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 +76 -76
- package/lib/sdk/models/FieldType.js +89 -89
- 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 -84
- package/lib/sdk/models/IndexSDK.js +114 -112
- 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 +5 -5
- 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/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/case.util.d.ts +4 -4
- package/lib/utils/case.util.js +54 -43
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +5 -5
- package/package.json +52 -52
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StateObject } from './StateObject';
|
|
2
|
-
export declare class SignedObject {
|
|
3
|
-
object: StateObject;
|
|
4
|
-
signature: string;
|
|
5
|
-
constructor(object: StateObject, signature: string);
|
|
6
|
-
}
|
|
1
|
+
import { StateObject } from './StateObject';
|
|
2
|
+
export declare class SignedObject {
|
|
3
|
+
object: StateObject;
|
|
4
|
+
signature: string;
|
|
5
|
+
constructor(object: StateObject, signature: string);
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignedObject = void 0;
|
|
4
|
-
var SignedObject = /** @class */ (function () {
|
|
5
|
-
function SignedObject(object, signature) {
|
|
6
|
-
this.object = object;
|
|
7
|
-
this.signature = signature;
|
|
8
|
-
}
|
|
9
|
-
return SignedObject;
|
|
10
|
-
}());
|
|
11
|
-
exports.SignedObject = SignedObject;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignedObject = void 0;
|
|
4
|
+
var SignedObject = /** @class */ (function () {
|
|
5
|
+
function SignedObject(object, signature) {
|
|
6
|
+
this.object = object;
|
|
7
|
+
this.signature = signature;
|
|
8
|
+
}
|
|
9
|
+
return SignedObject;
|
|
10
|
+
}());
|
|
11
|
+
exports.SignedObject = SignedObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class StateObject {
|
|
2
|
-
fingerprint: string;
|
|
3
|
-
utcUnixTimeExpiration: number;
|
|
4
|
-
constructor(fingerprint: string, utcUnixTimeExpiration: number);
|
|
5
|
-
}
|
|
1
|
+
export declare class StateObject {
|
|
2
|
+
fingerprint: string;
|
|
3
|
+
utcUnixTimeExpiration: number;
|
|
4
|
+
constructor(fingerprint: string, utcUnixTimeExpiration: number);
|
|
5
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StateObject = void 0;
|
|
4
|
-
var StateObject = /** @class */ (function () {
|
|
5
|
-
function StateObject(fingerprint, utcUnixTimeExpiration) {
|
|
6
|
-
this.fingerprint = fingerprint;
|
|
7
|
-
this.utcUnixTimeExpiration = utcUnixTimeExpiration;
|
|
8
|
-
}
|
|
9
|
-
return StateObject;
|
|
10
|
-
}());
|
|
11
|
-
exports.StateObject = StateObject;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StateObject = void 0;
|
|
4
|
+
var StateObject = /** @class */ (function () {
|
|
5
|
+
function StateObject(fingerprint, utcUnixTimeExpiration) {
|
|
6
|
+
this.fingerprint = fingerprint;
|
|
7
|
+
this.utcUnixTimeExpiration = utcUnixTimeExpiration;
|
|
8
|
+
}
|
|
9
|
+
return StateObject;
|
|
10
|
+
}());
|
|
11
|
+
exports.StateObject = StateObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldType } from './FieldType';
|
|
2
|
-
export declare type TimeLimit = {
|
|
3
|
-
secondsLeft: number;
|
|
4
|
-
requirementAfterTimeLimit: FieldType;
|
|
5
|
-
};
|
|
1
|
+
import { FieldType } from './FieldType';
|
|
2
|
+
export declare type TimeLimit = {
|
|
3
|
+
secondsLeft: number;
|
|
4
|
+
requirementAfterTimeLimit: FieldType;
|
|
5
|
+
};
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { DisplayOptionsDto } from './DisplayOptionsDto';
|
|
2
|
-
export declare class TokenizationSettingsDto {
|
|
3
|
-
display?: DisplayOptionsDto;
|
|
4
|
-
}
|
|
1
|
+
import { DisplayOptionsDto } from './DisplayOptionsDto';
|
|
2
|
+
export declare class TokenizationSettingsDto {
|
|
3
|
+
display?: DisplayOptionsDto;
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TokenizationSettingsDto = void 0;
|
|
4
|
-
var TokenizationSettingsDto = /** @class */ (function () {
|
|
5
|
-
function TokenizationSettingsDto() {
|
|
6
|
-
}
|
|
7
|
-
return TokenizationSettingsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.TokenizationSettingsDto = TokenizationSettingsDto;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TokenizationSettingsDto = void 0;
|
|
4
|
+
var TokenizationSettingsDto = /** @class */ (function () {
|
|
5
|
+
function TokenizationSettingsDto() {
|
|
6
|
+
}
|
|
7
|
+
return TokenizationSettingsDto;
|
|
8
|
+
}());
|
|
9
|
+
exports.TokenizationSettingsDto = TokenizationSettingsDto;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { PaymentCode } from './CodeAction';
|
|
2
|
-
import { Commerce } from './Commerce';
|
|
3
|
-
import { Currency } from './Currency';
|
|
4
|
-
import { FinancialInclusionResult } from './FinancialInclusionResult';
|
|
5
|
-
import { IssuerInfo } from './IssuerInfo';
|
|
6
|
-
import { TransactionInfo } from './TransactionInfo';
|
|
7
|
-
import { TransactionType } from './TransactionType';
|
|
8
|
-
export declare class Transaction {
|
|
9
|
-
transactionId: string;
|
|
10
|
-
commerce: Commerce;
|
|
11
|
-
instrumentToken: string;
|
|
12
|
-
instrumentName: string;
|
|
13
|
-
issuer: IssuerInfo;
|
|
14
|
-
amount: number;
|
|
15
|
-
installments: number;
|
|
16
|
-
currency: Currency;
|
|
17
|
-
isAnonymous: boolean;
|
|
18
|
-
currentState: TransactionType;
|
|
19
|
-
invoiceNumber: string;
|
|
20
|
-
financialInclusion: FinancialInclusionResult;
|
|
21
|
-
transactions: {
|
|
22
|
-
purchase: TransactionInfo;
|
|
23
|
-
cancel: TransactionInfo;
|
|
24
|
-
reserve: TransactionInfo;
|
|
25
|
-
};
|
|
26
|
-
fieldInformation: any;
|
|
27
|
-
isAsyncPayment: boolean;
|
|
28
|
-
paymentCode: PaymentCode;
|
|
29
|
-
utcUnixTimeExpiration: number;
|
|
30
|
-
constructor(transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
|
|
31
|
-
}
|
|
1
|
+
import { PaymentCode } from './CodeAction';
|
|
2
|
+
import { Commerce } from './Commerce';
|
|
3
|
+
import { Currency } from './Currency';
|
|
4
|
+
import { FinancialInclusionResult } from './FinancialInclusionResult';
|
|
5
|
+
import { IssuerInfo } from './IssuerInfo';
|
|
6
|
+
import { TransactionInfo } from './TransactionInfo';
|
|
7
|
+
import { TransactionType } from './TransactionType';
|
|
8
|
+
export declare class Transaction {
|
|
9
|
+
transactionId: string;
|
|
10
|
+
commerce: Commerce;
|
|
11
|
+
instrumentToken: string;
|
|
12
|
+
instrumentName: string;
|
|
13
|
+
issuer: IssuerInfo;
|
|
14
|
+
amount: number;
|
|
15
|
+
installments: number;
|
|
16
|
+
currency: Currency;
|
|
17
|
+
isAnonymous: boolean;
|
|
18
|
+
currentState: TransactionType;
|
|
19
|
+
invoiceNumber: string;
|
|
20
|
+
financialInclusion: FinancialInclusionResult;
|
|
21
|
+
transactions: {
|
|
22
|
+
purchase: TransactionInfo;
|
|
23
|
+
cancel: TransactionInfo;
|
|
24
|
+
reserve: TransactionInfo;
|
|
25
|
+
};
|
|
26
|
+
fieldInformation: any;
|
|
27
|
+
isAsyncPayment: boolean;
|
|
28
|
+
paymentCode: PaymentCode;
|
|
29
|
+
utcUnixTimeExpiration: number;
|
|
30
|
+
constructor(transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
|
|
31
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Transaction = void 0;
|
|
4
|
-
var Transaction = /** @class */ (function () {
|
|
5
|
-
function Transaction(transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
|
|
6
|
-
this.transactionId = transactionId;
|
|
7
|
-
this.commerce = commerce;
|
|
8
|
-
this.instrumentToken = instrumentToken;
|
|
9
|
-
this.instrumentName = instrumentName;
|
|
10
|
-
this.issuer = issuer;
|
|
11
|
-
this.amount = amount;
|
|
12
|
-
this.installments = installments;
|
|
13
|
-
this.currency = currency;
|
|
14
|
-
this.isAnonymous = isAnonymous;
|
|
15
|
-
this.currentState = currentState;
|
|
16
|
-
this.invoiceNumber = invoiceNumber;
|
|
17
|
-
this.financialInclusion = financialInclusion;
|
|
18
|
-
this.transactions = transactions;
|
|
19
|
-
this.fieldInformation = fieldInformation;
|
|
20
|
-
this.isAsyncPayment = isAsyncPayment;
|
|
21
|
-
this.paymentCode = paymentCode;
|
|
22
|
-
this.utcUnixTimeExpiration = utcUnixTimeExpiration;
|
|
23
|
-
}
|
|
24
|
-
return Transaction;
|
|
25
|
-
}());
|
|
26
|
-
exports.Transaction = Transaction;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Transaction = void 0;
|
|
4
|
+
var Transaction = /** @class */ (function () {
|
|
5
|
+
function Transaction(transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
|
|
6
|
+
this.transactionId = transactionId;
|
|
7
|
+
this.commerce = commerce;
|
|
8
|
+
this.instrumentToken = instrumentToken;
|
|
9
|
+
this.instrumentName = instrumentName;
|
|
10
|
+
this.issuer = issuer;
|
|
11
|
+
this.amount = amount;
|
|
12
|
+
this.installments = installments;
|
|
13
|
+
this.currency = currency;
|
|
14
|
+
this.isAnonymous = isAnonymous;
|
|
15
|
+
this.currentState = currentState;
|
|
16
|
+
this.invoiceNumber = invoiceNumber;
|
|
17
|
+
this.financialInclusion = financialInclusion;
|
|
18
|
+
this.transactions = transactions;
|
|
19
|
+
this.fieldInformation = fieldInformation;
|
|
20
|
+
this.isAsyncPayment = isAsyncPayment;
|
|
21
|
+
this.paymentCode = paymentCode;
|
|
22
|
+
this.utcUnixTimeExpiration = utcUnixTimeExpiration;
|
|
23
|
+
}
|
|
24
|
+
return Transaction;
|
|
25
|
+
}());
|
|
26
|
+
exports.Transaction = Transaction;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Commerce, Currency, FinancialInclusionResult, IssuerInfo, TransactionType } from '..';
|
|
2
|
-
import { PaymentCode } from './CodeAction';
|
|
3
|
-
import { Transaction } from './Transaction';
|
|
4
|
-
export declare class TransactionCallback extends Transaction {
|
|
5
|
-
client: string;
|
|
6
|
-
constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
|
|
7
|
-
}
|
|
1
|
+
import { Commerce, Currency, FinancialInclusionResult, IssuerInfo, TransactionType } from '..';
|
|
2
|
+
import { PaymentCode } from './CodeAction';
|
|
3
|
+
import { Transaction } from './Transaction';
|
|
4
|
+
export declare class TransactionCallback extends Transaction {
|
|
5
|
+
client: string;
|
|
6
|
+
constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
|
|
7
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
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.TransactionCallback = void 0;
|
|
19
|
-
var Transaction_1 = require("./Transaction");
|
|
20
|
-
var TransactionCallback = /** @class */ (function (_super) {
|
|
21
|
-
__extends(TransactionCallback, _super);
|
|
22
|
-
function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
|
|
23
|
-
var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
|
|
24
|
-
_this.client = client;
|
|
25
|
-
return _this;
|
|
26
|
-
}
|
|
27
|
-
return TransactionCallback;
|
|
28
|
-
}(Transaction_1.Transaction));
|
|
29
|
-
exports.TransactionCallback = TransactionCallback;
|
|
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.TransactionCallback = void 0;
|
|
19
|
+
var Transaction_1 = require("./Transaction");
|
|
20
|
+
var TransactionCallback = /** @class */ (function (_super) {
|
|
21
|
+
__extends(TransactionCallback, _super);
|
|
22
|
+
function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
|
|
23
|
+
var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
|
|
24
|
+
_this.client = client;
|
|
25
|
+
return _this;
|
|
26
|
+
}
|
|
27
|
+
return TransactionCallback;
|
|
28
|
+
}(Transaction_1.Transaction));
|
|
29
|
+
exports.TransactionCallback = TransactionCallback;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Transaction } from './Transaction';
|
|
2
|
-
export declare type TransactionCursor = {
|
|
3
|
-
start: number;
|
|
4
|
-
totalCount: number;
|
|
5
|
-
transactions: Transaction[];
|
|
6
|
-
};
|
|
1
|
+
import { Transaction } from './Transaction';
|
|
2
|
+
export declare type TransactionCursor = {
|
|
3
|
+
start: number;
|
|
4
|
+
totalCount: number;
|
|
5
|
+
transactions: Transaction[];
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import { TransactionResult } from './TransactionResult';
|
|
2
|
-
export declare type TransactionInfo = {
|
|
3
|
-
clientReferenceId: string;
|
|
4
|
-
clientMetadata: string;
|
|
5
|
-
status: TransactionResult;
|
|
6
|
-
transactionCode: number;
|
|
7
|
-
transactionResultText: string;
|
|
8
|
-
executionDateUTC: number;
|
|
9
|
-
authorization: string;
|
|
10
|
-
ticket: string;
|
|
11
|
-
expirationUTC?: number;
|
|
12
|
-
};
|
|
1
|
+
import { TransactionResult } from './TransactionResult';
|
|
2
|
+
export declare type TransactionInfo = {
|
|
3
|
+
clientReferenceId: string;
|
|
4
|
+
clientMetadata: string;
|
|
5
|
+
status: TransactionResult;
|
|
6
|
+
transactionCode: number;
|
|
7
|
+
transactionResultText: string;
|
|
8
|
+
executionDateUTC: number;
|
|
9
|
+
authorization: string;
|
|
10
|
+
ticket: string;
|
|
11
|
+
expirationUTC?: number;
|
|
12
|
+
};
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { TransactionField, TransactionOrderDirection } from './TransactionQuery';
|
|
2
|
-
export declare type TransactionOrder = {
|
|
3
|
-
field: TransactionField;
|
|
4
|
-
direction: TransactionOrderDirection;
|
|
5
|
-
};
|
|
1
|
+
import { TransactionField, TransactionOrderDirection } from './TransactionQuery';
|
|
2
|
+
export declare type TransactionOrder = {
|
|
3
|
+
field: TransactionField;
|
|
4
|
+
direction: TransactionOrderDirection;
|
|
5
|
+
};
|
|
@@ -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,54 +1,54 @@
|
|
|
1
|
-
import { TransactionOrder } from './TransactionOrder';
|
|
2
|
-
export declare type TransactionQuery = {
|
|
3
|
-
queries: Query[];
|
|
4
|
-
order: TransactionOrder[];
|
|
5
|
-
limit: number;
|
|
6
|
-
skip: number;
|
|
7
|
-
};
|
|
8
|
-
export declare enum TransactionOrderDirection {
|
|
9
|
-
Asc = 0,
|
|
10
|
-
Desc = 1
|
|
11
|
-
}
|
|
12
|
-
export declare enum QueryOperation {
|
|
13
|
-
And = 0,
|
|
14
|
-
Or = 1,
|
|
15
|
-
None = 2
|
|
16
|
-
}
|
|
17
|
-
export declare type Query = {
|
|
18
|
-
queryOperator: QueryOperation;
|
|
19
|
-
field: TransactionField;
|
|
20
|
-
operator: TransactionOperator;
|
|
21
|
-
value: string;
|
|
22
|
-
subQueries: Query[];
|
|
23
|
-
};
|
|
24
|
-
export declare enum TransactionOperator {
|
|
25
|
-
Equal = 0,
|
|
26
|
-
NotEqual = 1,
|
|
27
|
-
BiggerThan = 2,
|
|
28
|
-
BiggerOrEqualThan = 3,
|
|
29
|
-
SmallerThan = 4,
|
|
30
|
-
SmallerOrEqualThen = 5,
|
|
31
|
-
Contains = 6,
|
|
32
|
-
NotContains = 7
|
|
33
|
-
}
|
|
34
|
-
export declare enum TransactionField {
|
|
35
|
-
CreationDate = 0,
|
|
36
|
-
TransactionState = 1,
|
|
37
|
-
PurchaseStatus = 2,
|
|
38
|
-
CancelStatus = 3,
|
|
39
|
-
ReserveStatus = 4,
|
|
40
|
-
TransactionId = 5,
|
|
41
|
-
IssuerId = 6,
|
|
42
|
-
BankId = 7,
|
|
43
|
-
CommerceId = 8,
|
|
44
|
-
PurchaseExternalId = 9,
|
|
45
|
-
CancelExternalId = 10,
|
|
46
|
-
ReserveExternalId = 11,
|
|
47
|
-
PurchaseAuthorization = 12,
|
|
48
|
-
CancelAuthorization = 13,
|
|
49
|
-
ReserveAuthorization = 14,
|
|
50
|
-
PurchaseMetadata = 15,
|
|
51
|
-
CancelMetadata = 16,
|
|
52
|
-
ReserveMetadata = 17,
|
|
53
|
-
Metadata = 18
|
|
54
|
-
}
|
|
1
|
+
import { TransactionOrder } from './TransactionOrder';
|
|
2
|
+
export declare type TransactionQuery = {
|
|
3
|
+
queries: Query[];
|
|
4
|
+
order: TransactionOrder[];
|
|
5
|
+
limit: number;
|
|
6
|
+
skip: number;
|
|
7
|
+
};
|
|
8
|
+
export declare enum TransactionOrderDirection {
|
|
9
|
+
Asc = 0,
|
|
10
|
+
Desc = 1
|
|
11
|
+
}
|
|
12
|
+
export declare enum QueryOperation {
|
|
13
|
+
And = 0,
|
|
14
|
+
Or = 1,
|
|
15
|
+
None = 2
|
|
16
|
+
}
|
|
17
|
+
export declare type Query = {
|
|
18
|
+
queryOperator: QueryOperation;
|
|
19
|
+
field: TransactionField;
|
|
20
|
+
operator: TransactionOperator;
|
|
21
|
+
value: string;
|
|
22
|
+
subQueries: Query[];
|
|
23
|
+
};
|
|
24
|
+
export declare enum TransactionOperator {
|
|
25
|
+
Equal = 0,
|
|
26
|
+
NotEqual = 1,
|
|
27
|
+
BiggerThan = 2,
|
|
28
|
+
BiggerOrEqualThan = 3,
|
|
29
|
+
SmallerThan = 4,
|
|
30
|
+
SmallerOrEqualThen = 5,
|
|
31
|
+
Contains = 6,
|
|
32
|
+
NotContains = 7
|
|
33
|
+
}
|
|
34
|
+
export declare enum TransactionField {
|
|
35
|
+
CreationDate = 0,
|
|
36
|
+
TransactionState = 1,
|
|
37
|
+
PurchaseStatus = 2,
|
|
38
|
+
CancelStatus = 3,
|
|
39
|
+
ReserveStatus = 4,
|
|
40
|
+
TransactionId = 5,
|
|
41
|
+
IssuerId = 6,
|
|
42
|
+
BankId = 7,
|
|
43
|
+
CommerceId = 8,
|
|
44
|
+
PurchaseExternalId = 9,
|
|
45
|
+
CancelExternalId = 10,
|
|
46
|
+
ReserveExternalId = 11,
|
|
47
|
+
PurchaseAuthorization = 12,
|
|
48
|
+
CancelAuthorization = 13,
|
|
49
|
+
ReserveAuthorization = 14,
|
|
50
|
+
PurchaseMetadata = 15,
|
|
51
|
+
CancelMetadata = 16,
|
|
52
|
+
ReserveMetadata = 17,
|
|
53
|
+
Metadata = 18
|
|
54
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = void 0;
|
|
4
|
-
var TransactionOrderDirection;
|
|
5
|
-
(function (TransactionOrderDirection) {
|
|
6
|
-
TransactionOrderDirection[TransactionOrderDirection["Asc"] = 0] = "Asc";
|
|
7
|
-
TransactionOrderDirection[TransactionOrderDirection["Desc"] = 1] = "Desc";
|
|
8
|
-
})(TransactionOrderDirection = exports.TransactionOrderDirection || (exports.TransactionOrderDirection = {}));
|
|
9
|
-
var QueryOperation;
|
|
10
|
-
(function (QueryOperation) {
|
|
11
|
-
QueryOperation[QueryOperation["And"] = 0] = "And";
|
|
12
|
-
QueryOperation[QueryOperation["Or"] = 1] = "Or";
|
|
13
|
-
QueryOperation[QueryOperation["None"] = 2] = "None";
|
|
14
|
-
})(QueryOperation = exports.QueryOperation || (exports.QueryOperation = {}));
|
|
15
|
-
var TransactionOperator;
|
|
16
|
-
(function (TransactionOperator) {
|
|
17
|
-
TransactionOperator[TransactionOperator["Equal"] = 0] = "Equal";
|
|
18
|
-
TransactionOperator[TransactionOperator["NotEqual"] = 1] = "NotEqual";
|
|
19
|
-
TransactionOperator[TransactionOperator["BiggerThan"] = 2] = "BiggerThan";
|
|
20
|
-
TransactionOperator[TransactionOperator["BiggerOrEqualThan"] = 3] = "BiggerOrEqualThan";
|
|
21
|
-
TransactionOperator[TransactionOperator["SmallerThan"] = 4] = "SmallerThan";
|
|
22
|
-
TransactionOperator[TransactionOperator["SmallerOrEqualThen"] = 5] = "SmallerOrEqualThen";
|
|
23
|
-
TransactionOperator[TransactionOperator["Contains"] = 6] = "Contains";
|
|
24
|
-
TransactionOperator[TransactionOperator["NotContains"] = 7] = "NotContains";
|
|
25
|
-
})(TransactionOperator = exports.TransactionOperator || (exports.TransactionOperator = {}));
|
|
26
|
-
var TransactionField;
|
|
27
|
-
(function (TransactionField) {
|
|
28
|
-
TransactionField[TransactionField["CreationDate"] = 0] = "CreationDate";
|
|
29
|
-
TransactionField[TransactionField["TransactionState"] = 1] = "TransactionState";
|
|
30
|
-
TransactionField[TransactionField["PurchaseStatus"] = 2] = "PurchaseStatus";
|
|
31
|
-
TransactionField[TransactionField["CancelStatus"] = 3] = "CancelStatus";
|
|
32
|
-
TransactionField[TransactionField["ReserveStatus"] = 4] = "ReserveStatus";
|
|
33
|
-
TransactionField[TransactionField["TransactionId"] = 5] = "TransactionId";
|
|
34
|
-
TransactionField[TransactionField["IssuerId"] = 6] = "IssuerId";
|
|
35
|
-
TransactionField[TransactionField["BankId"] = 7] = "BankId";
|
|
36
|
-
TransactionField[TransactionField["CommerceId"] = 8] = "CommerceId";
|
|
37
|
-
TransactionField[TransactionField["PurchaseExternalId"] = 9] = "PurchaseExternalId";
|
|
38
|
-
TransactionField[TransactionField["CancelExternalId"] = 10] = "CancelExternalId";
|
|
39
|
-
TransactionField[TransactionField["ReserveExternalId"] = 11] = "ReserveExternalId";
|
|
40
|
-
TransactionField[TransactionField["PurchaseAuthorization"] = 12] = "PurchaseAuthorization";
|
|
41
|
-
TransactionField[TransactionField["CancelAuthorization"] = 13] = "CancelAuthorization";
|
|
42
|
-
TransactionField[TransactionField["ReserveAuthorization"] = 14] = "ReserveAuthorization";
|
|
43
|
-
TransactionField[TransactionField["PurchaseMetadata"] = 15] = "PurchaseMetadata";
|
|
44
|
-
TransactionField[TransactionField["CancelMetadata"] = 16] = "CancelMetadata";
|
|
45
|
-
TransactionField[TransactionField["ReserveMetadata"] = 17] = "ReserveMetadata";
|
|
46
|
-
TransactionField[TransactionField["Metadata"] = 18] = "Metadata";
|
|
47
|
-
})(TransactionField = exports.TransactionField || (exports.TransactionField = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = void 0;
|
|
4
|
+
var TransactionOrderDirection;
|
|
5
|
+
(function (TransactionOrderDirection) {
|
|
6
|
+
TransactionOrderDirection[TransactionOrderDirection["Asc"] = 0] = "Asc";
|
|
7
|
+
TransactionOrderDirection[TransactionOrderDirection["Desc"] = 1] = "Desc";
|
|
8
|
+
})(TransactionOrderDirection = exports.TransactionOrderDirection || (exports.TransactionOrderDirection = {}));
|
|
9
|
+
var QueryOperation;
|
|
10
|
+
(function (QueryOperation) {
|
|
11
|
+
QueryOperation[QueryOperation["And"] = 0] = "And";
|
|
12
|
+
QueryOperation[QueryOperation["Or"] = 1] = "Or";
|
|
13
|
+
QueryOperation[QueryOperation["None"] = 2] = "None";
|
|
14
|
+
})(QueryOperation = exports.QueryOperation || (exports.QueryOperation = {}));
|
|
15
|
+
var TransactionOperator;
|
|
16
|
+
(function (TransactionOperator) {
|
|
17
|
+
TransactionOperator[TransactionOperator["Equal"] = 0] = "Equal";
|
|
18
|
+
TransactionOperator[TransactionOperator["NotEqual"] = 1] = "NotEqual";
|
|
19
|
+
TransactionOperator[TransactionOperator["BiggerThan"] = 2] = "BiggerThan";
|
|
20
|
+
TransactionOperator[TransactionOperator["BiggerOrEqualThan"] = 3] = "BiggerOrEqualThan";
|
|
21
|
+
TransactionOperator[TransactionOperator["SmallerThan"] = 4] = "SmallerThan";
|
|
22
|
+
TransactionOperator[TransactionOperator["SmallerOrEqualThen"] = 5] = "SmallerOrEqualThen";
|
|
23
|
+
TransactionOperator[TransactionOperator["Contains"] = 6] = "Contains";
|
|
24
|
+
TransactionOperator[TransactionOperator["NotContains"] = 7] = "NotContains";
|
|
25
|
+
})(TransactionOperator = exports.TransactionOperator || (exports.TransactionOperator = {}));
|
|
26
|
+
var TransactionField;
|
|
27
|
+
(function (TransactionField) {
|
|
28
|
+
TransactionField[TransactionField["CreationDate"] = 0] = "CreationDate";
|
|
29
|
+
TransactionField[TransactionField["TransactionState"] = 1] = "TransactionState";
|
|
30
|
+
TransactionField[TransactionField["PurchaseStatus"] = 2] = "PurchaseStatus";
|
|
31
|
+
TransactionField[TransactionField["CancelStatus"] = 3] = "CancelStatus";
|
|
32
|
+
TransactionField[TransactionField["ReserveStatus"] = 4] = "ReserveStatus";
|
|
33
|
+
TransactionField[TransactionField["TransactionId"] = 5] = "TransactionId";
|
|
34
|
+
TransactionField[TransactionField["IssuerId"] = 6] = "IssuerId";
|
|
35
|
+
TransactionField[TransactionField["BankId"] = 7] = "BankId";
|
|
36
|
+
TransactionField[TransactionField["CommerceId"] = 8] = "CommerceId";
|
|
37
|
+
TransactionField[TransactionField["PurchaseExternalId"] = 9] = "PurchaseExternalId";
|
|
38
|
+
TransactionField[TransactionField["CancelExternalId"] = 10] = "CancelExternalId";
|
|
39
|
+
TransactionField[TransactionField["ReserveExternalId"] = 11] = "ReserveExternalId";
|
|
40
|
+
TransactionField[TransactionField["PurchaseAuthorization"] = 12] = "PurchaseAuthorization";
|
|
41
|
+
TransactionField[TransactionField["CancelAuthorization"] = 13] = "CancelAuthorization";
|
|
42
|
+
TransactionField[TransactionField["ReserveAuthorization"] = 14] = "ReserveAuthorization";
|
|
43
|
+
TransactionField[TransactionField["PurchaseMetadata"] = 15] = "PurchaseMetadata";
|
|
44
|
+
TransactionField[TransactionField["CancelMetadata"] = 16] = "CancelMetadata";
|
|
45
|
+
TransactionField[TransactionField["ReserveMetadata"] = 17] = "ReserveMetadata";
|
|
46
|
+
TransactionField[TransactionField["Metadata"] = 18] = "Metadata";
|
|
47
|
+
})(TransactionField = exports.TransactionField || (exports.TransactionField = {}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare enum TransactionResult {
|
|
2
|
-
Ok = 0,
|
|
3
|
-
Started = 1,
|
|
4
|
-
Pending = 2,
|
|
5
|
-
Denied = 10,
|
|
6
|
-
Expired = 20,
|
|
7
|
-
NotProcessed = 21,
|
|
8
|
-
UnableToCancel = 22,
|
|
9
|
-
IssuerOperationNotSupported = 23,
|
|
10
|
-
ExtendedCreditVerificationRequired = 100,
|
|
11
|
-
BadArgument = 998,
|
|
12
|
-
SystemError = 999
|
|
13
|
-
}
|
|
1
|
+
export declare enum TransactionResult {
|
|
2
|
+
Ok = 0,
|
|
3
|
+
Started = 1,
|
|
4
|
+
Pending = 2,
|
|
5
|
+
Denied = 10,
|
|
6
|
+
Expired = 20,
|
|
7
|
+
NotProcessed = 21,
|
|
8
|
+
UnableToCancel = 22,
|
|
9
|
+
IssuerOperationNotSupported = 23,
|
|
10
|
+
ExtendedCreditVerificationRequired = 100,
|
|
11
|
+
BadArgument = 998,
|
|
12
|
+
SystemError = 999
|
|
13
|
+
}
|