univapay-node 4.0.111 → 4.0.112
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/dist/cjs/resources/common/Configuration.d.ts +16 -0
- package/dist/cjs/resources/common/Configuration.js +6 -1
- package/dist/cjs/resources/common/Configuration.js.map +1 -1
- package/dist/esm/resources/common/Configuration.d.ts +16 -0
- package/dist/esm/resources/common/Configuration.js +5 -0
- package/dist/esm/resources/common/Configuration.js.map +1 -1
- package/package.json +1 -1
|
@@ -44,6 +44,10 @@ export interface CardBrandPercentFeesItem {
|
|
|
44
44
|
export type CardConfigurationMonthlyLimit = AmountWithCurrency & {
|
|
45
45
|
duration: string;
|
|
46
46
|
};
|
|
47
|
+
export declare enum DirectDebitTransferDateType {
|
|
48
|
+
MIDDLE_OF_MONTH = "14th",
|
|
49
|
+
END_OF_MONTH = "27th"
|
|
50
|
+
}
|
|
47
51
|
export interface CardConfigurationItem extends PaymentTypeConfiguration {
|
|
48
52
|
debitEnabled: boolean;
|
|
49
53
|
debitAuthorizationEnabled: boolean;
|
|
@@ -152,6 +156,13 @@ export type BankTransferConfiguration = PaymentTypeConfiguration & {
|
|
|
152
156
|
*/
|
|
153
157
|
chargeRequestCanceledNotificationEnabled?: boolean;
|
|
154
158
|
};
|
|
159
|
+
export type DirectDebitConfiguration = PaymentTypeConfiguration & {
|
|
160
|
+
legacyId?: string;
|
|
161
|
+
transferDateType?: DirectDebitTransferDateType;
|
|
162
|
+
consigneeCode?: string;
|
|
163
|
+
name?: string;
|
|
164
|
+
type?: string;
|
|
165
|
+
};
|
|
155
166
|
export interface InstallmentsConfiguration {
|
|
156
167
|
enabled?: boolean;
|
|
157
168
|
minChargeAmount?: AmountWithCurrency;
|
|
@@ -221,6 +232,9 @@ export interface UserTransactionsConfiguration {
|
|
|
221
232
|
notifyOnCvvAuthorizations?: boolean;
|
|
222
233
|
notifyOnCancels?: boolean;
|
|
223
234
|
notifyOnConvenienceExpiry?: boolean;
|
|
235
|
+
notifyOnDirectDebitMailingDeadline?: boolean;
|
|
236
|
+
notifyOnDirectDebitUploadDeadline?: boolean;
|
|
237
|
+
notifyOnDirectDebitTransferResult?: boolean;
|
|
224
238
|
/**
|
|
225
239
|
* Boolean when the ${customer_refer_link} parameter should be shown on the subscription templates
|
|
226
240
|
*/
|
|
@@ -267,6 +281,7 @@ export interface ConfigurationItem {
|
|
|
267
281
|
bankTransferConfiguration: BankTransferConfiguration;
|
|
268
282
|
cardBrandPercentFees: CardBrandPercentFeesItem;
|
|
269
283
|
cardConfiguration: CardConfigurationItem;
|
|
284
|
+
directDebitConfiguration?: DirectDebitConfiguration;
|
|
270
285
|
convenienceConfiguration: ConvenienceConfigurationItem;
|
|
271
286
|
onlineConfiguration: OnlineConfigurationItem;
|
|
272
287
|
paidyConfiguration: PaidyConfigurationItem;
|
|
@@ -298,6 +313,7 @@ export interface ConfigurationParams {
|
|
|
298
313
|
logoUrl?: string;
|
|
299
314
|
bankTransferConfiguration?: Partial<BankTransferConfiguration>;
|
|
300
315
|
cardConfiguration?: Partial<CardConfigurationItem>;
|
|
316
|
+
directDebitConfiguration?: Partial<DirectDebitConfiguration>;
|
|
301
317
|
checkoutConfiguration?: Partial<CheckoutConfiguration>;
|
|
302
318
|
convenienceConfiguration?: Partial<ConvenienceConfigurationItem>;
|
|
303
319
|
descriptorProvidedConfiguration?: Partial<DescriptorProvidedConfiguration>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @module Types
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.Period = exports.CustomerRole = exports.TransferMatchAmount = void 0;
|
|
7
|
+
exports.Period = exports.DirectDebitTransferDateType = exports.CustomerRole = exports.TransferMatchAmount = void 0;
|
|
8
8
|
var TransferMatchAmount;
|
|
9
9
|
(function (TransferMatchAmount) {
|
|
10
10
|
TransferMatchAmount["MAXIMUM"] = "maximum";
|
|
@@ -25,6 +25,11 @@ var CustomerRole;
|
|
|
25
25
|
CustomerRole["SUBSCRIPTION_SUSPEND"] = "subscription_suspend";
|
|
26
26
|
CustomerRole["SUBSCRIPTION_DELETE"] = "subscription_delete";
|
|
27
27
|
})(CustomerRole || (exports.CustomerRole = CustomerRole = {}));
|
|
28
|
+
var DirectDebitTransferDateType;
|
|
29
|
+
(function (DirectDebitTransferDateType) {
|
|
30
|
+
DirectDebitTransferDateType["MIDDLE_OF_MONTH"] = "14th";
|
|
31
|
+
DirectDebitTransferDateType["END_OF_MONTH"] = "27th";
|
|
32
|
+
})(DirectDebitTransferDateType || (exports.DirectDebitTransferDateType = DirectDebitTransferDateType = {}));
|
|
28
33
|
var Period;
|
|
29
34
|
(function (Period) {
|
|
30
35
|
Period["DAILY"] = "daily";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.js","sourceRoot":"","sources":["../../../../src/resources/common/Configuration.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,4CAAqB,CAAA;AACzB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,iEAAiD,CAAA;IACjD,qFAAqE,CAAA;IAErE,uDAAuC,CAAA;IACvC,uEAAuD,CAAA;IACvD,6DAA6C,CAAA;IAC7C,2DAA2C,CAAA;AAC/C,CAAC,EAZW,YAAY,4BAAZ,YAAY,QAYvB;
|
|
1
|
+
{"version":3,"file":"Configuration.js","sourceRoot":"","sources":["../../../../src/resources/common/Configuration.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,4CAAqB,CAAA;AACzB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,iEAAiD,CAAA;IACjD,qFAAqE,CAAA;IAErE,uDAAuC,CAAA;IACvC,uEAAuD,CAAA;IACvD,6DAA6C,CAAA;IAC7C,2DAA2C,CAAA;AAC/C,CAAC,EAZW,YAAY,4BAAZ,YAAY,QAYvB;AAyBD,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACnC,uDAAwB,CAAA;IACxB,oDAAqB,CAAA;AACzB,CAAC,EAHW,2BAA2B,2CAA3B,2BAA2B,QAGtC;AAwPD,IAAY,MASX;AATD,WAAY,MAAM;IACd,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,iCAAuB,CAAA;IACvB,iCAAuB,CAAA;IACvB,uCAA6B,CAAA;IAC7B,+BAAqB,CAAA;AACzB,CAAC,EATW,MAAM,sBAAN,MAAM,QASjB"}
|
|
@@ -44,6 +44,10 @@ export interface CardBrandPercentFeesItem {
|
|
|
44
44
|
export type CardConfigurationMonthlyLimit = AmountWithCurrency & {
|
|
45
45
|
duration: string;
|
|
46
46
|
};
|
|
47
|
+
export declare enum DirectDebitTransferDateType {
|
|
48
|
+
MIDDLE_OF_MONTH = "14th",
|
|
49
|
+
END_OF_MONTH = "27th"
|
|
50
|
+
}
|
|
47
51
|
export interface CardConfigurationItem extends PaymentTypeConfiguration {
|
|
48
52
|
debitEnabled: boolean;
|
|
49
53
|
debitAuthorizationEnabled: boolean;
|
|
@@ -152,6 +156,13 @@ export type BankTransferConfiguration = PaymentTypeConfiguration & {
|
|
|
152
156
|
*/
|
|
153
157
|
chargeRequestCanceledNotificationEnabled?: boolean;
|
|
154
158
|
};
|
|
159
|
+
export type DirectDebitConfiguration = PaymentTypeConfiguration & {
|
|
160
|
+
legacyId?: string;
|
|
161
|
+
transferDateType?: DirectDebitTransferDateType;
|
|
162
|
+
consigneeCode?: string;
|
|
163
|
+
name?: string;
|
|
164
|
+
type?: string;
|
|
165
|
+
};
|
|
155
166
|
export interface InstallmentsConfiguration {
|
|
156
167
|
enabled?: boolean;
|
|
157
168
|
minChargeAmount?: AmountWithCurrency;
|
|
@@ -221,6 +232,9 @@ export interface UserTransactionsConfiguration {
|
|
|
221
232
|
notifyOnCvvAuthorizations?: boolean;
|
|
222
233
|
notifyOnCancels?: boolean;
|
|
223
234
|
notifyOnConvenienceExpiry?: boolean;
|
|
235
|
+
notifyOnDirectDebitMailingDeadline?: boolean;
|
|
236
|
+
notifyOnDirectDebitUploadDeadline?: boolean;
|
|
237
|
+
notifyOnDirectDebitTransferResult?: boolean;
|
|
224
238
|
/**
|
|
225
239
|
* Boolean when the ${customer_refer_link} parameter should be shown on the subscription templates
|
|
226
240
|
*/
|
|
@@ -267,6 +281,7 @@ export interface ConfigurationItem {
|
|
|
267
281
|
bankTransferConfiguration: BankTransferConfiguration;
|
|
268
282
|
cardBrandPercentFees: CardBrandPercentFeesItem;
|
|
269
283
|
cardConfiguration: CardConfigurationItem;
|
|
284
|
+
directDebitConfiguration?: DirectDebitConfiguration;
|
|
270
285
|
convenienceConfiguration: ConvenienceConfigurationItem;
|
|
271
286
|
onlineConfiguration: OnlineConfigurationItem;
|
|
272
287
|
paidyConfiguration: PaidyConfigurationItem;
|
|
@@ -298,6 +313,7 @@ export interface ConfigurationParams {
|
|
|
298
313
|
logoUrl?: string;
|
|
299
314
|
bankTransferConfiguration?: Partial<BankTransferConfiguration>;
|
|
300
315
|
cardConfiguration?: Partial<CardConfigurationItem>;
|
|
316
|
+
directDebitConfiguration?: Partial<DirectDebitConfiguration>;
|
|
301
317
|
checkoutConfiguration?: Partial<CheckoutConfiguration>;
|
|
302
318
|
convenienceConfiguration?: Partial<ConvenienceConfigurationItem>;
|
|
303
319
|
descriptorProvidedConfiguration?: Partial<DescriptorProvidedConfiguration>;
|
|
@@ -22,6 +22,11 @@ export var CustomerRole;
|
|
|
22
22
|
CustomerRole["SUBSCRIPTION_SUSPEND"] = "subscription_suspend";
|
|
23
23
|
CustomerRole["SUBSCRIPTION_DELETE"] = "subscription_delete";
|
|
24
24
|
})(CustomerRole || (CustomerRole = {}));
|
|
25
|
+
export var DirectDebitTransferDateType;
|
|
26
|
+
(function (DirectDebitTransferDateType) {
|
|
27
|
+
DirectDebitTransferDateType["MIDDLE_OF_MONTH"] = "14th";
|
|
28
|
+
DirectDebitTransferDateType["END_OF_MONTH"] = "27th";
|
|
29
|
+
})(DirectDebitTransferDateType || (DirectDebitTransferDateType = {}));
|
|
25
30
|
export var Period;
|
|
26
31
|
(function (Period) {
|
|
27
32
|
Period["DAILY"] = "daily";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.js","sourceRoot":"","sources":["../../../../src/resources/common/Configuration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,4CAAqB,CAAA;AACzB,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAED,MAAM,CAAN,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,iEAAiD,CAAA;IACjD,qFAAqE,CAAA;IAErE,uDAAuC,CAAA;IACvC,uEAAuD,CAAA;IACvD,6DAA6C,CAAA;IAC7C,2DAA2C,CAAA;AAC/C,CAAC,EAZW,YAAY,KAAZ,YAAY,QAYvB;
|
|
1
|
+
{"version":3,"file":"Configuration.js","sourceRoot":"","sources":["../../../../src/resources/common/Configuration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,4CAAqB,CAAA;AACzB,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAED,MAAM,CAAN,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,qEAAqD,CAAA;IACrD,iEAAiD,CAAA;IACjD,qFAAqE,CAAA;IAErE,uDAAuC,CAAA;IACvC,uEAAuD,CAAA;IACvD,6DAA6C,CAAA;IAC7C,2DAA2C,CAAA;AAC/C,CAAC,EAZW,YAAY,KAAZ,YAAY,QAYvB;AAyBD,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACnC,uDAAwB,CAAA;IACxB,oDAAqB,CAAA;AACzB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAwPD,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IACd,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,iCAAuB,CAAA;IACvB,iCAAuB,CAAA;IACvB,uCAA6B,CAAA;IAC7B,+BAAqB,CAAA;AACzB,CAAC,EATW,MAAM,KAAN,MAAM,QASjB"}
|