globalpayments-api 3.3.2 → 3.4.0
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/CHANGELOG.md +15 -1
- package/lib/src/Builders/AuthorizationBuilder.d.ts +16 -1
- package/lib/src/Builders/AuthorizationBuilder.js +28 -0
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
- package/lib/src/Builders/ManagementBuilder.d.ts +16 -2
- package/lib/src/Builders/ManagementBuilder.js +23 -2
- package/lib/src/Builders/ManagementBuilder.js.map +1 -1
- package/lib/src/Builders/ReportBuilder.d.ts +3 -1
- package/lib/src/Builders/ReportBuilder.js +6 -0
- package/lib/src/Builders/ReportBuilder.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +2 -2
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +3 -3
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +19 -2
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +376 -3
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.d.ts +7 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +71 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +10 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +89 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +3 -2
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +4 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +1 -1
- package/lib/src/Builders/TransactionReportBuilder.d.ts +5 -1
- package/lib/src/Builders/TransactionReportBuilder.js +22 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -1
- package/lib/src/Entities/Address.d.ts +1 -0
- package/lib/src/Entities/Address.js +1 -0
- package/lib/src/Entities/Address.js.map +1 -1
- package/lib/src/Entities/Card.d.ts +36 -0
- package/lib/src/Entities/Card.js +41 -0
- package/lib/src/Entities/Card.js.map +1 -0
- package/lib/src/Entities/CardIssuerResponse.d.ts +22 -0
- package/lib/src/Entities/CardIssuerResponse.js +27 -0
- package/lib/src/Entities/CardIssuerResponse.js.map +1 -0
- package/lib/src/Entities/Customer.d.ts +10 -0
- package/lib/src/Entities/Customer.js +14 -0
- package/lib/src/Entities/Customer.js.map +1 -1
- package/lib/src/Entities/Enums.d.ts +131 -4
- package/lib/src/Entities/Enums.js +135 -2
- package/lib/src/Entities/Enums.js.map +1 -1
- package/lib/src/Entities/FraudRule.d.ts +8 -0
- package/lib/src/Entities/FraudRule.js +17 -0
- package/lib/src/Entities/FraudRule.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/Card.d.ts +16 -0
- package/lib/src/Entities/GpApi/DTO/Card.js +21 -0
- package/lib/src/Entities/GpApi/DTO/Card.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.d.ts +17 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js +21 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/index.d.ts +2 -0
- package/lib/src/Entities/GpApi/DTO/index.js +19 -0
- package/lib/src/Entities/GpApi/DTO/index.js.map +1 -0
- package/lib/src/Entities/GpApi/PageResult.d.ts +8 -0
- package/lib/src/Entities/GpApi/PageResult.js +13 -0
- package/lib/src/Entities/GpApi/PageResult.js.map +1 -0
- package/lib/src/Entities/GpApi/index.d.ts +1 -0
- package/lib/src/Entities/GpApi/index.js +1 -0
- package/lib/src/Entities/GpApi/index.js.map +1 -1
- package/lib/src/Entities/IRequestBuilder.d.ts +3 -3
- package/lib/src/Entities/MaskedValueCollection.d.ts +3 -3
- package/lib/src/Entities/MaskedValueCollection.js +1 -1
- package/lib/src/Entities/MaskedValueCollection.js.map +1 -1
- package/lib/src/Entities/PayerDetails.d.ts +8 -0
- package/lib/src/Entities/PayerDetails.js +12 -0
- package/lib/src/Entities/PayerDetails.js.map +1 -0
- package/lib/src/Entities/PhoneNumber.d.ts +6 -0
- package/lib/src/Entities/PhoneNumber.js +15 -0
- package/lib/src/Entities/PhoneNumber.js.map +1 -0
- package/lib/src/Entities/RecurringEntity.js +2 -2
- package/lib/src/Entities/RecurringEntity.js.map +1 -1
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +105 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +122 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +1 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.d.ts +11 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js +16 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/index.d.ts +2 -0
- package/lib/src/Entities/Reporting/index.js +19 -0
- package/lib/src/Entities/Reporting/index.js.map +1 -0
- package/lib/src/Entities/Transaction.d.ts +7 -1
- package/lib/src/Entities/Transaction.js +7 -1
- package/lib/src/Entities/Transaction.js.map +1 -1
- package/lib/src/Entities/TransactionStatus.d.ts +13 -0
- package/lib/src/Entities/TransactionStatus.js +29 -0
- package/lib/src/Entities/TransactionStatus.js.map +1 -0
- package/lib/src/Entities/index.d.ts +7 -0
- package/lib/src/Entities/index.js +7 -0
- package/lib/src/Entities/index.js.map +1 -1
- package/lib/src/Gateways/Gateway.js +2 -5
- package/lib/src/Gateways/Gateway.js.map +1 -1
- package/lib/src/Gateways/GpApiConnector.js +11 -6
- package/lib/src/Gateways/GpApiConnector.js.map +1 -1
- package/lib/src/Gateways/PayPlanConnector.d.ts +1 -1
- package/lib/src/Gateways/PayPlanConnector.js +24 -11
- package/lib/src/Gateways/PayPlanConnector.js.map +1 -1
- package/lib/src/Gateways/PorticoConnector.js +2 -2
- package/lib/src/Gateways/PorticoConnector.js.map +1 -1
- package/lib/src/Gateways/RestGateway.d.ts +1 -1
- package/lib/src/Gateways/RestGateway.js +21 -3
- package/lib/src/Gateways/RestGateway.js.map +1 -1
- package/lib/src/Gateways/XmlGateway.js +6 -1
- package/lib/src/Gateways/XmlGateway.js.map +1 -1
- package/lib/src/Gateways/https-wrapper.js +6 -2
- package/lib/src/Gateways/https-wrapper.js.map +1 -1
- package/lib/src/Mapping/EnumMapping.d.ts +8 -0
- package/lib/src/Mapping/EnumMapping.js +84 -0
- package/lib/src/Mapping/EnumMapping.js.map +1 -0
- package/lib/src/Mapping/GpApiMapping.d.ts +8 -2
- package/lib/src/Mapping/GpApiMapping.js +178 -2
- package/lib/src/Mapping/GpApiMapping.js.map +1 -1
- package/lib/src/Mapping/index.d.ts +1 -0
- package/lib/src/Mapping/index.js +1 -0
- package/lib/src/Mapping/index.js.map +1 -1
- package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +22 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js +47 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/Credit.d.ts +26 -2
- package/lib/src/PaymentMethods/Credit.js +58 -2
- package/lib/src/PaymentMethods/Credit.js.map +1 -1
- package/lib/src/PaymentMethods/Interfaces.d.ts +5 -1
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +1 -1
- package/lib/src/PaymentMethods/PaymentMethod.js.map +1 -1
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +3 -1
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +3 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +1 -1
- package/lib/src/PaymentMethods/index.d.ts +2 -0
- package/lib/src/PaymentMethods/index.js +2 -0
- package/lib/src/PaymentMethods/index.js.map +1 -1
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +2 -2
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +1 -1
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -1
- package/lib/src/Services/ReportingService.d.ts +2 -0
- package/lib/src/Services/ReportingService.js +6 -0
- package/lib/src/Services/ReportingService.js.map +1 -1
- package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +1 -1
- package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +1 -1
- package/lib/src/Utils/StringUtils.d.ts +9 -0
- package/lib/src/Utils/StringUtils.js +29 -0
- package/lib/src/Utils/StringUtils.js.map +1 -1
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +2 -2
- package/lib/test/Data/BaseGpApiTestConfig.js +4 -0
- package/lib/test/Data/BaseGpApiTestConfig.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +17 -10
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +360 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +217 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +1 -0
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReportBuilder } from "src";
|
|
2
|
+
import { GatewayProvider, IRequestBuilder, Transaction, TransactionSummary } from "../../Entities/";
|
|
2
3
|
import { BaseBuilder } from "../BaseBuilder";
|
|
3
4
|
export declare class RequestBuilderFactory {
|
|
4
5
|
supplementaryData: Record<string, string | string[]>;
|
|
5
6
|
private static processes;
|
|
6
|
-
getRequestBuilder(builder: BaseBuilder<Transaction>, gatewayProvider: GatewayProvider): IRequestBuilder | null;
|
|
7
|
+
getRequestBuilder(builder: BaseBuilder<Transaction> | ReportBuilder<TransactionSummary>, gatewayProvider: GatewayProvider): IRequestBuilder | null;
|
|
7
8
|
}
|
|
@@ -3,14 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestBuilderFactory = void 0;
|
|
4
4
|
const _1 = require(".");
|
|
5
5
|
const Entities_1 = require("../../Entities/");
|
|
6
|
+
const GpApiManagementRequestBuilder_1 = require("./GpApi/GpApiManagementRequestBuilder");
|
|
6
7
|
const GpApiMiCRequestBuilder_1 = require("./GpApi/GpApiMiCRequestBuilder");
|
|
7
8
|
const GpEcomAuthorizationRequestBuilder_1 = require("./GpEcom/GpEcomAuthorizationRequestBuilder");
|
|
8
9
|
const GpEcomManagementRequestBuilder_1 = require("./GpEcom/GpEcomManagementRequestBuilder");
|
|
10
|
+
const GpApiReportRequestBuilder_1 = require("./GpApi/GpApiReportRequestBuilder");
|
|
9
11
|
class RequestBuilderFactory {
|
|
10
12
|
supplementaryData;
|
|
11
13
|
static processes = {
|
|
12
14
|
[Entities_1.GatewayProvider.GpApi]: [
|
|
13
15
|
new _1.GpApiAuthorizationRequestBuilder(),
|
|
16
|
+
new GpApiManagementRequestBuilder_1.GpApiManagementRequestBuilder(),
|
|
17
|
+
new GpApiReportRequestBuilder_1.GpApiReportRequestBuilder(),
|
|
14
18
|
new GpApiMiCRequestBuilder_1.GpApiMiCRequestBuilder(),
|
|
15
19
|
],
|
|
16
20
|
[Entities_1.GatewayProvider.GpEcom]: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBuilderFactory.js","sourceRoot":"","sources":["../../../../src/Builders/RequestBuilder/RequestBuilderFactory.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"RequestBuilderFactory.js","sourceRoot":"","sources":["../../../../src/Builders/RequestBuilder/RequestBuilderFactory.ts"],"names":[],"mappings":";;;AACA,wBAAqD;AACrD,8CAKyB;AAEzB,yFAAsF;AACtF,2EAAwE;AACxE,kGAA+F;AAC/F,4FAAyF;AACzF,iFAA8E;AAE9E,MAAa,qBAAqB;IACzB,iBAAiB,CAAoC;IAEpD,MAAM,CAAC,SAAS,GAA+C;QACrE,CAAC,0BAAe,CAAC,KAAK,CAAC,EAAE;YACvB,IAAI,mCAAgC,EAAE;YACtC,IAAI,6DAA6B,EAAE;YACnC,IAAI,qDAAyB,EAAE;YAC/B,IAAI,+CAAsB,EAAE;SAC7B;QACD,CAAC,0BAAe,CAAC,MAAM,CAAC,EAAE;YACxB,IAAI,qEAAiC,EAAE;YACvC,IAAI,+DAA8B,EAAE;SACrC;QACD,CAAC,0BAAe,CAAC,OAAO,CAAC,EAAE,EAAE;KAC9B,CAAC;IAEK,iBAAiB,CACtB,OAAqE,EACrE,eAAgC;QAEhC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE;YACrD,OAAO,IAAI,CAAC;SACb;QAED,KAAK,MAAM,WAAW,IAAI,qBAAqB,CAAC,SAAS,CACvD,eAAe,CAChB,EAAE;YACD,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBACnC,OAAO,WAAW,CAAC;aACpB;SACF;QAED,OAAO,IAAI,CAAC;IACd,CAAC;;AAlCH,sDAmCC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReportType, SearchCriteriaBuilder, SortDirection, StoredPaymentMethodSortProperty } from "../";
|
|
1
2
|
import { ReportBuilder } from "./ReportBuilder";
|
|
2
3
|
import { IDictionary } from "./BaseBuilder";
|
|
3
4
|
export declare class TransactionReportBuilder<T> extends ReportBuilder<T> {
|
|
@@ -6,10 +7,13 @@ export declare class TransactionReportBuilder<T> extends ReportBuilder<T> {
|
|
|
6
7
|
startDate: Date;
|
|
7
8
|
transactionId: string;
|
|
8
9
|
searchCriteria: IDictionary<string>;
|
|
10
|
+
constructor(type: ReportType);
|
|
9
11
|
setupValidations(): void;
|
|
10
12
|
withDeviceId(deviceId?: string): this;
|
|
11
13
|
withEndDate(endDate?: Date): this;
|
|
12
14
|
withStartDate(startDate?: Date): this;
|
|
15
|
+
withStoredPaymentMethodId(storedPaymentMethodId?: string): this;
|
|
13
16
|
withTransactionId(transactionId?: string): this;
|
|
14
|
-
where(criteria: string, value:
|
|
17
|
+
where(criteria: string, value: any): SearchCriteriaBuilder<T>;
|
|
18
|
+
orderBy(sortProperty: StoredPaymentMethodSortProperty, sortDirection: SortDirection): this;
|
|
15
19
|
}
|
|
@@ -9,6 +9,10 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
9
9
|
startDate;
|
|
10
10
|
transactionId;
|
|
11
11
|
searchCriteria;
|
|
12
|
+
constructor(type) {
|
|
13
|
+
super(type);
|
|
14
|
+
this.searchBuilder = new __1.SearchCriteriaBuilder(this);
|
|
15
|
+
}
|
|
12
16
|
setupValidations() {
|
|
13
17
|
this.validations
|
|
14
18
|
.of("reportType", __1.ReportType.TransactionDetail)
|
|
@@ -45,6 +49,12 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
45
49
|
}
|
|
46
50
|
return this;
|
|
47
51
|
}
|
|
52
|
+
withStoredPaymentMethodId(storedPaymentMethodId) {
|
|
53
|
+
if (storedPaymentMethodId !== undefined) {
|
|
54
|
+
this.searchBuilder.storedPaymentMethodId = storedPaymentMethodId;
|
|
55
|
+
}
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
48
58
|
withTransactionId(transactionId) {
|
|
49
59
|
if (transactionId !== undefined) {
|
|
50
60
|
this.transactionId = transactionId;
|
|
@@ -57,6 +67,18 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
57
67
|
this.searchCriteria = {};
|
|
58
68
|
}
|
|
59
69
|
this.searchCriteria[criteria] = value;
|
|
70
|
+
this.searchBuilder.andWith(criteria, value);
|
|
71
|
+
}
|
|
72
|
+
return this.searchBuilder;
|
|
73
|
+
}
|
|
74
|
+
orderBy(sortProperty, sortDirection) {
|
|
75
|
+
this.order = sortDirection;
|
|
76
|
+
switch (this.reportType) {
|
|
77
|
+
case __1.ReportType.FindStoredPaymentMethodsPaged:
|
|
78
|
+
this.storedPaymentMethodOrderBy = sortProperty;
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
throw new __1.NotImplementedError();
|
|
60
82
|
}
|
|
61
83
|
return this;
|
|
62
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionReportBuilder.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TransactionReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionReportBuilder.ts"],"names":[],"mappings":";;;AAAA,2BAMa;AACb,mDAAgD;AAGhD,MAAa,wBAA4B,SAAQ,6BAAgB;IACxD,QAAQ,CAAS;IACjB,OAAO,CAAO;IACd,SAAS,CAAO;IAChB,aAAa,CAAS;IACtB,cAAc,CAAsB;IAE3C,YAAY,IAAgB;QAC1B,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,aAAa,GAAG,IAAI,yBAAqB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAEM,gBAAgB;QACrB,IAAI,CAAC,WAAW;aACb,EAAE,CAAC,YAAY,EAAE,cAAU,CAAC,iBAAiB,CAAC;aAC9C,KAAK,CAAC,eAAe,CAAC;aACtB,SAAS,EAAE;aACX,KAAK,CAAC,eAAe,CAAC;aACtB,UAAU,EAAE;aACZ,KAAK,CAAC,UAAU,CAAC;aACjB,MAAM,EAAE;aACR,KAAK,CAAC,WAAW,CAAC;aAClB,MAAM,EAAE;aACR,KAAK,CAAC,SAAS,CAAC;aAChB,MAAM,EAAE,CAAC;QAEZ,IAAI,CAAC,WAAW;aACb,EAAE,CAAC,YAAY,EAAE,cAAU,CAAC,QAAQ,CAAC;aACrC,KAAK,CAAC,eAAe,CAAC;aACtB,MAAM,EAAE,CAAC;IACd,CAAC;IAEM,YAAY,CAAC,QAAiB;QACnC,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;SAC1B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,WAAW,CAAC,OAAc;QAC/B,IAAI,OAAO,KAAK,SAAS,EAAE;YACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,aAAa,CAAC,SAAgB;QACnC,IAAI,SAAS,KAAK,SAAS,EAAE;YAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;SAC5B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,yBAAyB,CAAC,qBAA8B;QAC7D,IAAI,qBAAqB,KAAK,SAAS,EAAE;YACvC,IAAI,CAAC,aAAa,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;SAClE;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,iBAAiB,CAAC,aAAsB;QAC7C,IAAI,aAAa,KAAK,SAAS,EAAE;YAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACpC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,QAAgB,EAAE,KAAU;QACvC,IAAI,QAAQ,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE;YACjD,IAAI,IAAI,CAAC,cAAc,IAAI,SAAS,EAAE;gBACpC,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;aAC1B;YACD,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,OAAO,CACxB,QAA0C,EAC1C,KAAK,CACN,CAAC;SACH;QACD,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAEM,OAAO,CACZ,YAA6C,EAC7C,aAA4B;QAE5B,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC;QAE3B,QAAQ,IAAI,CAAC,UAAU,EAAE;YACvB,KAAK,cAAU,CAAC,6BAA6B;gBAC3C,IAAI,CAAC,0BAA0B,GAAG,YAAY,CAAC;gBAC/C,MAAM;YACR;gBACE,MAAM,IAAI,uBAAmB,EAAE,CAAC;SACnC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAjGD,4DAiGC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/Entities/Address.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAClB,4CAA4C;IACrC,IAAI,CAAc;IAClB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,IAAI,CAAS;IACb,QAAQ,CAAS;IACjB,UAAU,CAAS;IACnB,OAAO,CAAS;
|
|
1
|
+
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/Entities/Address.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAClB,4CAA4C;IACrC,IAAI,CAAc;IAClB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,IAAI,CAAS;IACb,QAAQ,CAAS;IACjB,UAAU,CAAS;IACnB,OAAO,CAAS;IAChB,WAAW,CAAS;IAE3B,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,KAAK,CAAC,KAAa;QACrB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;CACF;AAnBD,0BAmBC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare class Card {
|
|
2
|
+
cardholderName: string;
|
|
3
|
+
cardNumber: string;
|
|
4
|
+
maskedCardNumber: string;
|
|
5
|
+
cardExpMonth: string;
|
|
6
|
+
cardExpYear: string;
|
|
7
|
+
token: string;
|
|
8
|
+
/**
|
|
9
|
+
* Masked card number with last 4 digits showing.
|
|
10
|
+
*/
|
|
11
|
+
maskedNumberLast4: string;
|
|
12
|
+
/**
|
|
13
|
+
* Indicates the card brand that issued the card.
|
|
14
|
+
*/
|
|
15
|
+
brand: string;
|
|
16
|
+
/**
|
|
17
|
+
* The unique reference created by the brands/schemes to uniquely identify the transaction.
|
|
18
|
+
*/
|
|
19
|
+
brandReference: string;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the first 6 digits of the card
|
|
22
|
+
*/
|
|
23
|
+
bin: string;
|
|
24
|
+
/**
|
|
25
|
+
* The issuing country that the bin is associated with.
|
|
26
|
+
*/
|
|
27
|
+
binCountry: string;
|
|
28
|
+
/**
|
|
29
|
+
* The card provider's description of their card product.
|
|
30
|
+
*/
|
|
31
|
+
accountType: string;
|
|
32
|
+
/**
|
|
33
|
+
* The label of the issuing bank or financial institution of the bin.
|
|
34
|
+
*/
|
|
35
|
+
issuer: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Card = void 0;
|
|
4
|
+
class Card {
|
|
5
|
+
cardholderName;
|
|
6
|
+
cardNumber;
|
|
7
|
+
maskedCardNumber;
|
|
8
|
+
cardExpMonth;
|
|
9
|
+
cardExpYear;
|
|
10
|
+
token;
|
|
11
|
+
/**
|
|
12
|
+
* Masked card number with last 4 digits showing.
|
|
13
|
+
*/
|
|
14
|
+
maskedNumberLast4;
|
|
15
|
+
/**
|
|
16
|
+
* Indicates the card brand that issued the card.
|
|
17
|
+
*/
|
|
18
|
+
brand;
|
|
19
|
+
/**
|
|
20
|
+
* The unique reference created by the brands/schemes to uniquely identify the transaction.
|
|
21
|
+
*/
|
|
22
|
+
brandReference;
|
|
23
|
+
/**
|
|
24
|
+
* Contains the first 6 digits of the card
|
|
25
|
+
*/
|
|
26
|
+
bin;
|
|
27
|
+
/**
|
|
28
|
+
* The issuing country that the bin is associated with.
|
|
29
|
+
*/
|
|
30
|
+
binCountry;
|
|
31
|
+
/**
|
|
32
|
+
* The card provider's description of their card product.
|
|
33
|
+
*/
|
|
34
|
+
accountType;
|
|
35
|
+
/**
|
|
36
|
+
* The label of the issuing bank or financial institution of the bin.
|
|
37
|
+
*/
|
|
38
|
+
issuer;
|
|
39
|
+
}
|
|
40
|
+
exports.Card = Card;
|
|
41
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/Entities/Card.ts"],"names":[],"mappings":";;;AAAA,MAAa,IAAI;IACR,cAAc,CAAS;IAEvB,UAAU,CAAS;IAEnB,gBAAgB,CAAS;IAEzB,YAAY,CAAS;IAErB,WAAW,CAAS;IAEpB,KAAK,CAAS;IAErB;;OAEG;IACI,iBAAiB,CAAS;IAEjC;;OAEG;IACI,KAAK,CAAS;IAErB;;OAEG;IACI,cAAc,CAAS;IAE9B;;OAEG;IACI,GAAG,CAAS;IAEnB;;OAEG;IACI,UAAU,CAAS;IAE1B;;OAEG;IACI,WAAW,CAAS;IAE3B;;OAEG;IACI,MAAM,CAAS;CACvB;AA/CD,oBA+CC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class CardIssuerResponse {
|
|
2
|
+
/**
|
|
3
|
+
* The result code of the AVS check from the card issuer.
|
|
4
|
+
*/
|
|
5
|
+
avsResult: string;
|
|
6
|
+
/**
|
|
7
|
+
* Result code from the card issuer.
|
|
8
|
+
*/
|
|
9
|
+
result: string;
|
|
10
|
+
/**
|
|
11
|
+
* The result code of the CVV check from the card issuer.
|
|
12
|
+
*/
|
|
13
|
+
cvvResult: string;
|
|
14
|
+
/**
|
|
15
|
+
* The result code of the AVS address check from the card issuer.
|
|
16
|
+
*/
|
|
17
|
+
avsAddressResult: string;
|
|
18
|
+
/**
|
|
19
|
+
* The result of the AVS postal code check from the card issuer.
|
|
20
|
+
*/
|
|
21
|
+
avsPostalCodeResult: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardIssuerResponse = void 0;
|
|
4
|
+
class CardIssuerResponse {
|
|
5
|
+
/**
|
|
6
|
+
* The result code of the AVS check from the card issuer.
|
|
7
|
+
*/
|
|
8
|
+
avsResult;
|
|
9
|
+
/**
|
|
10
|
+
* Result code from the card issuer.
|
|
11
|
+
*/
|
|
12
|
+
result;
|
|
13
|
+
/**
|
|
14
|
+
* The result code of the CVV check from the card issuer.
|
|
15
|
+
*/
|
|
16
|
+
cvvResult;
|
|
17
|
+
/**
|
|
18
|
+
* The result code of the AVS address check from the card issuer.
|
|
19
|
+
*/
|
|
20
|
+
avsAddressResult;
|
|
21
|
+
/**
|
|
22
|
+
* The result of the AVS postal code check from the card issuer.
|
|
23
|
+
*/
|
|
24
|
+
avsPostalCodeResult;
|
|
25
|
+
}
|
|
26
|
+
exports.CardIssuerResponse = CardIssuerResponse;
|
|
27
|
+
//# sourceMappingURL=CardIssuerResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardIssuerResponse.js","sourceRoot":"","sources":["../../../src/Entities/CardIssuerResponse.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;IAC7B;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,MAAM,CAAS;IAEtB;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,gBAAgB,CAAS;IAEhC;;OAEG;IACI,mBAAmB,CAAS;CACpC;AAzBD,gDAyBC"}
|
|
@@ -17,6 +17,11 @@ export declare class Customer extends RecurringEntity<Customer> {
|
|
|
17
17
|
* Customer's company
|
|
18
18
|
*/
|
|
19
19
|
company: string;
|
|
20
|
+
dateOfBirth: string;
|
|
21
|
+
/**
|
|
22
|
+
* Customer's device finger print
|
|
23
|
+
*/
|
|
24
|
+
deviceFingerPrint: string;
|
|
20
25
|
/**
|
|
21
26
|
* Customer's address
|
|
22
27
|
*/
|
|
@@ -53,6 +58,11 @@ export declare class Customer extends RecurringEntity<Customer> {
|
|
|
53
58
|
* Customer resource's status
|
|
54
59
|
*/
|
|
55
60
|
status: string;
|
|
61
|
+
/**
|
|
62
|
+
* Customer's existing payment methods
|
|
63
|
+
*/
|
|
64
|
+
paymentMethods: Array<RecurringPaymentMethod>;
|
|
65
|
+
constructor();
|
|
56
66
|
/**
|
|
57
67
|
* Adds a payment method to the customer
|
|
58
68
|
*
|
|
@@ -20,6 +20,11 @@ class Customer extends RecurringEntity_1.RecurringEntity {
|
|
|
20
20
|
* Customer's company
|
|
21
21
|
*/
|
|
22
22
|
company;
|
|
23
|
+
dateOfBirth;
|
|
24
|
+
/**
|
|
25
|
+
* Customer's device finger print
|
|
26
|
+
*/
|
|
27
|
+
deviceFingerPrint;
|
|
23
28
|
/**
|
|
24
29
|
* Customer's address
|
|
25
30
|
*/
|
|
@@ -56,6 +61,15 @@ class Customer extends RecurringEntity_1.RecurringEntity {
|
|
|
56
61
|
* Customer resource's status
|
|
57
62
|
*/
|
|
58
63
|
status;
|
|
64
|
+
/**
|
|
65
|
+
* Customer's existing payment methods
|
|
66
|
+
*/
|
|
67
|
+
paymentMethods;
|
|
68
|
+
constructor() {
|
|
69
|
+
super();
|
|
70
|
+
this.paymentMethods = new Array();
|
|
71
|
+
this.address = new __1.Address();
|
|
72
|
+
}
|
|
59
73
|
/**
|
|
60
74
|
* Adds a payment method to the customer
|
|
61
75
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/Entities/Customer.ts"],"names":[],"mappings":";;;AAAA,2BAAsE;AACtE,uDAAoD;AAEpD,MAAa,QAAS,SAAQ,iCAAyB;IACrD;;OAEG;IACI,KAAK,CAAS;IAErB;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,QAAQ,CAAS;IAExB;;OAEG;IACI,OAAO,CAAS;
|
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/Entities/Customer.ts"],"names":[],"mappings":";;;AAAA,2BAAsE;AACtE,uDAAoD;AAEpD,MAAa,QAAS,SAAQ,iCAAyB;IACrD;;OAEG;IACI,KAAK,CAAS;IAErB;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,QAAQ,CAAS;IAExB;;OAEG;IACI,OAAO,CAAS;IAEhB,WAAW,CAAS;IAE3B;;OAEG;IACI,iBAAiB,CAAS;IAEjC;;OAEG;IACI,OAAO,CAAU;IAExB;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,SAAS,CAAS;IAEzB;;OAEG;IACI,GAAG,CAAS;IAEnB;;OAEG;IACI,WAAW,CAAS;IAE3B;;OAEG;IACI,KAAK,CAAS;IAErB;;OAEG;IACI,QAAQ,CAAS;IAExB;;OAEG;IACI,UAAU,CAAS;IAE1B;;OAEG;IACI,MAAM,CAAS;IAEtB;;OAEG;IACI,cAAc,CAAgC;IAErD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,cAAc,GAAG,IAAI,KAAK,EAA0B,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,IAAI,WAAO,EAAE,CAAC;IAC/B,CAAC;IACD;;;;;;OAMG;IACI,gBAAgB,CAAC,SAAiB,EAAE,aAA6B;QACtE,IAAI,aAAa,GAAG,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QACzD,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACrC,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC;SAC9B;QAED,MAAM,MAAM,GAAG,IAAI,0BAAsB,CAAC,aAAa,CAAC,CAAC;QACzD,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC9B,MAAM,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC;QAC9B,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC;QACtB,MAAM,CAAC,aAAa,GAAG,aAAa,CAAC;QACrC,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAvGD,4BAuGC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum AccountType {
|
|
2
2
|
Checking = "CHECKING",
|
|
3
|
-
Savings = "SAVINGS"
|
|
3
|
+
Savings = "SAVINGS",
|
|
4
|
+
Credit = "Credit"
|
|
4
5
|
}
|
|
5
6
|
export declare enum AddressType {
|
|
6
7
|
Billing = 0,
|
|
@@ -150,6 +151,12 @@ export declare enum Environment {
|
|
|
150
151
|
Production = "PRODUCTION",
|
|
151
152
|
Qa = "QA"
|
|
152
153
|
}
|
|
154
|
+
export declare enum EmvLastChipRead {
|
|
155
|
+
SUCCESSFUL = "Successful",
|
|
156
|
+
FAILED = "Failed",
|
|
157
|
+
NOT_A_CHIP_TRANSACTION = "NotAChipTransaction",
|
|
158
|
+
UNKNOWN = "Unknown"
|
|
159
|
+
}
|
|
153
160
|
export declare enum ExceptionCodes {
|
|
154
161
|
AuthenticationError = 0,
|
|
155
162
|
InvalidConfiguration = 1,
|
|
@@ -251,6 +258,19 @@ export declare enum PaymentEntryMode {
|
|
|
251
258
|
PHONE = "PHONE",
|
|
252
259
|
MAIL = "MAIL"
|
|
253
260
|
}
|
|
261
|
+
export declare enum PaymentMethodName {
|
|
262
|
+
APM = "APM",
|
|
263
|
+
DIGITAL_WALLET = "DIGITAL WALLET",
|
|
264
|
+
CARD = "CARD",
|
|
265
|
+
/**
|
|
266
|
+
* ACH transaction
|
|
267
|
+
*/
|
|
268
|
+
BANK_TRANSFER = "BANK TRANSFER",
|
|
269
|
+
/** Open Banking transaction */
|
|
270
|
+
BANK_PAYMENT = "BANK PAYMENT",
|
|
271
|
+
/** @var Buy Now Pay Later (BNPL) transaction */
|
|
272
|
+
BNPL = "BNPL"
|
|
273
|
+
}
|
|
254
274
|
export declare enum PaymentMethodType {
|
|
255
275
|
Reference = 1,
|
|
256
276
|
Credit = 2,
|
|
@@ -267,6 +287,10 @@ export declare enum PaymentMethodType {
|
|
|
267
287
|
BNPL = 4096,
|
|
268
288
|
Account_Funds = 8192
|
|
269
289
|
}
|
|
290
|
+
export declare enum PaymentMethodUsageMode {
|
|
291
|
+
SINGLE = "SINGLE",
|
|
292
|
+
MULTIPLE = "MULTIPLE"
|
|
293
|
+
}
|
|
270
294
|
export declare enum PaymentProvider {
|
|
271
295
|
OPEN_BANKING = "OPEN_BANKING"
|
|
272
296
|
}
|
|
@@ -310,7 +334,13 @@ export declare enum ReportType {
|
|
|
310
334
|
BatchSummary = 16,
|
|
311
335
|
OpenAuths = 32,
|
|
312
336
|
Search = 64,
|
|
313
|
-
TransactionDetail = 128
|
|
337
|
+
TransactionDetail = 128,
|
|
338
|
+
DepositDetail = 2048,
|
|
339
|
+
FindTransactionsPaged = 32768,
|
|
340
|
+
FindSettlementTransactionsPaged = 65536,
|
|
341
|
+
FindDepositsPaged = 131072,
|
|
342
|
+
FindStoredPaymentMethodsPaged = 1048576,
|
|
343
|
+
StoredPaymentMethodDetail = 2097152
|
|
314
344
|
}
|
|
315
345
|
export declare enum ScheduleFrequency {
|
|
316
346
|
Weekly = "Weekly",
|
|
@@ -322,6 +352,88 @@ export declare enum ScheduleFrequency {
|
|
|
322
352
|
SemiAnnually = "Semi-Annually",
|
|
323
353
|
Annually = "Annually"
|
|
324
354
|
}
|
|
355
|
+
export declare enum SearchCriteria {
|
|
356
|
+
AccountName = "accountName",
|
|
357
|
+
AccountNumberLastFour = "accountNumberLastFour",
|
|
358
|
+
AltPaymentStatus = "altPaymentStatus",
|
|
359
|
+
AquirerReferenceNumber = "aquirerReferenceNumber",
|
|
360
|
+
AuthCode = "authCode",
|
|
361
|
+
BankRoutingNumber = "bankRoutingNumber",
|
|
362
|
+
BatchId = "batchId",
|
|
363
|
+
BatchSequenceNumber = "batchSequenceNumber",
|
|
364
|
+
BrandReference = "brandReference",
|
|
365
|
+
BuyerEmailAddress = "buyerEmailAddress",
|
|
366
|
+
CardBrand = "cardBrand",
|
|
367
|
+
CardHolderFirstName = "cardHolderFirstName",
|
|
368
|
+
CardHolderLastName = "cardHolderLastName",
|
|
369
|
+
CardHolderPoNumber = "cardHolderPoNumber",
|
|
370
|
+
CardNumberFirstSix = "cardNumberFirstSix",
|
|
371
|
+
CardNumberLastFour = "cardNumberLastFour",
|
|
372
|
+
Channel = "channel",
|
|
373
|
+
CheckFirstName = "checkFirstName",
|
|
374
|
+
CheckLastName = "checkLastName",
|
|
375
|
+
CheckName = "checkName",
|
|
376
|
+
CheckNumber = "checkNumber",
|
|
377
|
+
ClerkId = "clerkId",
|
|
378
|
+
ClientTransactionId = "clientTransactionId",
|
|
379
|
+
CustomerId = "customerId",
|
|
380
|
+
DepositStatus = "depositStatus",
|
|
381
|
+
DisplayName = "displayName",
|
|
382
|
+
EndDate = "endDate",
|
|
383
|
+
FullyCaptured = "fullyCaptured",
|
|
384
|
+
GiftCurrency = "giftCurrency",
|
|
385
|
+
GiftMaskedAlias = "giftMaskedAlias",
|
|
386
|
+
InvoiceNumber = "invoiceNumber",
|
|
387
|
+
IssuerResult = "issuerResult",
|
|
388
|
+
IssuerTransactionId = "issuerTransactionId",
|
|
389
|
+
OneTime = "oneTime",
|
|
390
|
+
PaymentEntryMode = "paymentEntryMode",
|
|
391
|
+
PaymentMethodKey = "paymentMethodKey",
|
|
392
|
+
PaymentMethodType = "paymentMethodType",
|
|
393
|
+
PaymentType = "paymentType",
|
|
394
|
+
PaymentMethod = "paymentMethod",
|
|
395
|
+
PaymentMethodName = "paymentMethodName",
|
|
396
|
+
PaymentMethodUsageMode = "paymentMethodUsageMode",
|
|
397
|
+
PaymentProvider = "paymentProvider",
|
|
398
|
+
ReferenceNumber = "referenceNumber",
|
|
399
|
+
SettlementAmount = "settlementAmount",
|
|
400
|
+
ScheduleId = "scheduleId",
|
|
401
|
+
SiteTrace = "siteTrace",
|
|
402
|
+
StartDate = "startDate",
|
|
403
|
+
TokenFirstSix = "tokenFirstSix",
|
|
404
|
+
TokenLastFour = "tokenLastFour",
|
|
405
|
+
TransactionStatus = "transactionStatus",
|
|
406
|
+
DisputeStage = "disputeStage",
|
|
407
|
+
DisputeStatus = "disputeStatus",
|
|
408
|
+
DisputeDocumentId = "disputeDocumentId",
|
|
409
|
+
UniqueDeviceId = "uniqueDeviceId",
|
|
410
|
+
UserName = "username",
|
|
411
|
+
CardholderName = "name",
|
|
412
|
+
DepositId = "depositId",
|
|
413
|
+
FromTimeLastUpdated = "fromTimeLastUpdated",
|
|
414
|
+
ToTimeLastUpdated = "toTimeLastUpdated",
|
|
415
|
+
StoredPaymentMethodId = "storedPaymentMethodId",
|
|
416
|
+
StoredPaymentMethodStatus = "storedPaymentMethodStatus",
|
|
417
|
+
ActionType = "actionType",
|
|
418
|
+
ActionId = "actionId",
|
|
419
|
+
Resource = "resource",
|
|
420
|
+
ResourceStatus = "resourceStatus",
|
|
421
|
+
ResourceId = "resourceId",
|
|
422
|
+
MerchantName = "merchantName",
|
|
423
|
+
AppName = "appName",
|
|
424
|
+
Version = "version",
|
|
425
|
+
ResponseCode = "responseCode",
|
|
426
|
+
HttpResponseCode = "httpResponseCode",
|
|
427
|
+
ReturnPii = "returnPii",
|
|
428
|
+
RiskAssessmentMode = "riskAssessmentMode",
|
|
429
|
+
RiskAssessmentResult = "riskAssessmentResult",
|
|
430
|
+
RiskAssessmentReasonCode = "riskAssessmentReasonCode",
|
|
431
|
+
PayByLinkStatus = "payByLinkStatus",
|
|
432
|
+
Description = "description",
|
|
433
|
+
ExpirationDate = "expirationDate",
|
|
434
|
+
AccountStatus = "accountStatus",
|
|
435
|
+
Address = "address"
|
|
436
|
+
}
|
|
325
437
|
export declare enum SecCode {
|
|
326
438
|
PPD = "PPD",
|
|
327
439
|
CCD = "CCD",
|
|
@@ -345,9 +457,17 @@ export declare enum ShaHashType {
|
|
|
345
457
|
SHA256 = "SHA256",
|
|
346
458
|
SHA512 = "SHA512"
|
|
347
459
|
}
|
|
460
|
+
export declare enum SortDirection {
|
|
461
|
+
Asc = "ASC",
|
|
462
|
+
Desc = "DESC"
|
|
463
|
+
}
|
|
348
464
|
export declare enum StoredCredentialInitiator {
|
|
349
465
|
CardHolder = "C",
|
|
350
|
-
Merchant = "M"
|
|
466
|
+
Merchant = "M",
|
|
467
|
+
Payer = "Payer"
|
|
468
|
+
}
|
|
469
|
+
export declare enum StoredPaymentMethodSortProperty {
|
|
470
|
+
TimeCreated = "TIME_CREATED"
|
|
351
471
|
}
|
|
352
472
|
export declare enum TaxType {
|
|
353
473
|
NotUsed = 0,
|
|
@@ -372,7 +492,9 @@ export declare enum TransactionModifier {
|
|
|
372
492
|
Secure3D = 512,
|
|
373
493
|
HostedRequest = 1024,
|
|
374
494
|
Recurring = 2048,
|
|
375
|
-
EncryptedMobile = 4096
|
|
495
|
+
EncryptedMobile = 4096,
|
|
496
|
+
AlternativePaymentMethod = 8192,
|
|
497
|
+
DecryptedMobile = 16384
|
|
376
498
|
}
|
|
377
499
|
export declare enum TransactionType {
|
|
378
500
|
Decline = 1,
|
|
@@ -387,9 +509,11 @@ export declare enum TransactionType {
|
|
|
387
509
|
AddValue = 512,
|
|
388
510
|
Balance = 1024,
|
|
389
511
|
Activate = 2048,
|
|
512
|
+
EncryptedMobile = 2048,
|
|
390
513
|
Alias = 4096,
|
|
391
514
|
Replace = 8192,
|
|
392
515
|
Reward = 16384,
|
|
516
|
+
DecryptedMobile = 16384,
|
|
393
517
|
Deactivate = 32768,
|
|
394
518
|
BatchClose = 65536,
|
|
395
519
|
Create = 131072,
|
|
@@ -400,6 +524,8 @@ export declare enum TransactionType {
|
|
|
400
524
|
Hold = 2097152,
|
|
401
525
|
Release = 8388608,
|
|
402
526
|
VerifySignature = 33554432,
|
|
527
|
+
TokenDelete = 67108864,
|
|
528
|
+
TokenUpdate = -2147483648,
|
|
403
529
|
Tokenize = 2,
|
|
404
530
|
CreateAccount = 256,
|
|
405
531
|
EditAccount = 512,
|
|
@@ -414,6 +540,7 @@ export declare enum TransactionType {
|
|
|
414
540
|
AddFunds = 262144,
|
|
415
541
|
SweepFunds = 524288,
|
|
416
542
|
AddCardFlashFunds = 1048576,
|
|
543
|
+
Detokenize = 1048576,
|
|
417
544
|
PushMoneyFlashFunds = 2097152,
|
|
418
545
|
DisburseFunds = 4194304,
|
|
419
546
|
SpendBack = 8388608,
|