univapay-node 4.0.55 → 4.0.56

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.
@@ -193,6 +193,11 @@ export interface SecurityConfiguration {
193
193
  count: number;
194
194
  cooldown: string;
195
195
  };
196
+ limitRefundBySales?: {
197
+ enabled: boolean;
198
+ period?: Period;
199
+ rollingWindow?: boolean;
200
+ };
196
201
  }
197
202
  export interface UserTransactionsConfiguration {
198
203
  enabled?: boolean;
@@ -244,6 +249,16 @@ export type CheckoutConfiguration = {
244
249
  enabled?: boolean;
245
250
  };
246
251
  };
252
+ export declare enum Period {
253
+ DAILY = "daily",
254
+ WEEKLY = "weekly",
255
+ BIWEEKLY = "biweekly",
256
+ MONTHLY = "monthly",
257
+ BIMONTHLY = "bimonthly",
258
+ QUARTERLY = "quarterly",
259
+ SEMIANNUALLY = "semiannually",
260
+ ANNUALLY = "annually"
261
+ }
247
262
  export interface ConfigurationItem {
248
263
  bankTransferConfiguration: BankTransferConfiguration;
249
264
  cardBrandPercentFees: CardBrandPercentFeesItem;
@@ -4,7 +4,7 @@
4
4
  * @module Types
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.CustomerRole = exports.TransferMatchAmount = void 0;
7
+ exports.Period = exports.CustomerRole = exports.TransferMatchAmount = void 0;
8
8
  var TransferMatchAmount;
9
9
  (function (TransferMatchAmount) {
10
10
  TransferMatchAmount["MAXIMUM"] = "maximum";
@@ -24,4 +24,15 @@ var CustomerRole;
24
24
  CustomerRole["SUBSCRIPTION_SUSPEND"] = "subscription_suspend";
25
25
  CustomerRole["SUBSCRIPTION_DELETE"] = "subscription_delete";
26
26
  })(CustomerRole || (exports.CustomerRole = CustomerRole = {}));
27
+ var Period;
28
+ (function (Period) {
29
+ Period["DAILY"] = "daily";
30
+ Period["WEEKLY"] = "weekly";
31
+ Period["BIWEEKLY"] = "biweekly";
32
+ Period["MONTHLY"] = "monthly";
33
+ Period["BIMONTHLY"] = "bimonthly";
34
+ Period["QUARTERLY"] = "quarterly";
35
+ Period["SEMIANNUALLY"] = "semiannually";
36
+ Period["ANNUALLY"] = "annually";
37
+ })(Period || (exports.Period = Period = {}));
27
38
  //# sourceMappingURL=Configuration.js.map
@@ -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,YAWX;AAXD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,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,EAXW,YAAY,4BAAZ,YAAY,QAWvB"}
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,YAWX;AAXD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,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,EAXW,YAAY,4BAAZ,YAAY,QAWvB;AAgQD,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"}
@@ -1,4 +1,4 @@
1
- import { BankTransferConfiguration, CardBrandPercentFeesItem, InstallmentsConfiguration, SubscriptionsConfiguration, UserTransactionsConfiguration, ConvenienceConfigurationItem, SubscriptionPlanConfiguration, CustomerManagementConfiguration } from "./Configuration.js";
1
+ import { BankTransferConfiguration, CardBrandPercentFeesItem, InstallmentsConfiguration, SubscriptionsConfiguration, UserTransactionsConfiguration, ConvenienceConfigurationItem, SubscriptionPlanConfiguration, CustomerManagementConfiguration, Period } from "./Configuration.js";
2
2
  import { TransferScheduleItem } from "./TransferSchedule.js";
3
3
  import { AmountWithCurrency, InvoiceChargeFee, WithCreatedOn } from "./types.js";
4
4
  type CheckoutConfiguration = {
@@ -40,6 +40,11 @@ export interface PlatformUserDefaults {
40
40
  count: number;
41
41
  cooldown: string;
42
42
  };
43
+ limitRefundBySales: {
44
+ enabled: boolean;
45
+ period: Period;
46
+ rollingWindow?: boolean;
47
+ };
43
48
  };
44
49
  customerManagementConfiguration: CustomerManagementConfiguration;
45
50
  }
@@ -193,6 +193,11 @@ export interface SecurityConfiguration {
193
193
  count: number;
194
194
  cooldown: string;
195
195
  };
196
+ limitRefundBySales?: {
197
+ enabled: boolean;
198
+ period?: Period;
199
+ rollingWindow?: boolean;
200
+ };
196
201
  }
197
202
  export interface UserTransactionsConfiguration {
198
203
  enabled?: boolean;
@@ -244,6 +249,16 @@ export type CheckoutConfiguration = {
244
249
  enabled?: boolean;
245
250
  };
246
251
  };
252
+ export declare enum Period {
253
+ DAILY = "daily",
254
+ WEEKLY = "weekly",
255
+ BIWEEKLY = "biweekly",
256
+ MONTHLY = "monthly",
257
+ BIMONTHLY = "bimonthly",
258
+ QUARTERLY = "quarterly",
259
+ SEMIANNUALLY = "semiannually",
260
+ ANNUALLY = "annually"
261
+ }
247
262
  export interface ConfigurationItem {
248
263
  bankTransferConfiguration: BankTransferConfiguration;
249
264
  cardBrandPercentFees: CardBrandPercentFeesItem;
@@ -21,4 +21,15 @@ export var CustomerRole;
21
21
  CustomerRole["SUBSCRIPTION_SUSPEND"] = "subscription_suspend";
22
22
  CustomerRole["SUBSCRIPTION_DELETE"] = "subscription_delete";
23
23
  })(CustomerRole || (CustomerRole = {}));
24
+ export var Period;
25
+ (function (Period) {
26
+ Period["DAILY"] = "daily";
27
+ Period["WEEKLY"] = "weekly";
28
+ Period["BIWEEKLY"] = "biweekly";
29
+ Period["MONTHLY"] = "monthly";
30
+ Period["BIMONTHLY"] = "bimonthly";
31
+ Period["QUARTERLY"] = "quarterly";
32
+ Period["SEMIANNUALLY"] = "semiannually";
33
+ Period["ANNUALLY"] = "annually";
34
+ })(Period || (Period = {}));
24
35
  //# sourceMappingURL=Configuration.js.map
@@ -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,YAWX;AAXD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,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,EAXW,YAAY,KAAZ,YAAY,QAWvB"}
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,YAWX;AAXD,WAAY,YAAY;IACpB,iEAAiD,CAAA;IACjD,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,EAXW,YAAY,KAAZ,YAAY,QAWvB;AAgQD,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"}
@@ -1,4 +1,4 @@
1
- import { BankTransferConfiguration, CardBrandPercentFeesItem, InstallmentsConfiguration, SubscriptionsConfiguration, UserTransactionsConfiguration, ConvenienceConfigurationItem, SubscriptionPlanConfiguration, CustomerManagementConfiguration } from "./Configuration.js";
1
+ import { BankTransferConfiguration, CardBrandPercentFeesItem, InstallmentsConfiguration, SubscriptionsConfiguration, UserTransactionsConfiguration, ConvenienceConfigurationItem, SubscriptionPlanConfiguration, CustomerManagementConfiguration, Period } from "./Configuration.js";
2
2
  import { TransferScheduleItem } from "./TransferSchedule.js";
3
3
  import { AmountWithCurrency, InvoiceChargeFee, WithCreatedOn } from "./types.js";
4
4
  type CheckoutConfiguration = {
@@ -40,6 +40,11 @@ export interface PlatformUserDefaults {
40
40
  count: number;
41
41
  cooldown: string;
42
42
  };
43
+ limitRefundBySales: {
44
+ enabled: boolean;
45
+ period: Period;
46
+ rollingWindow?: boolean;
47
+ };
43
48
  };
44
49
  customerManagementConfiguration: CustomerManagementConfiguration;
45
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "univapay-node",
3
- "version": "4.0.55",
3
+ "version": "4.0.56",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",