univapay-node 3.0.14 → 3.0.18

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.
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { RestAPIOptions } from "./api/RestAPI.js";
5
5
  import { BankAccounts, Cancels, Captures, Charges, CheckoutInfo, ECFormLinks, ECForms, ECInfo, Emails, ExchangeRates, Ledgers, Merchants, Platforms, Products, Refunds, Stores, Subscriptions, TransactionTokens, Transfers, Verification, WebHooks, WebHookTrigger as PublicWebHookTrigger } from "./resources/index.js";
6
+ import { LinksProducts } from "./resources/LinksProducts.js";
6
7
  import PaymentsSDK from "./sdk/index.js";
7
8
  export * from "./api/index.js";
8
9
  export * from "./common/index.js";
@@ -19,6 +20,7 @@ export default class SDK<WebhookTrigger = PublicWebHookTrigger> extends Payments
19
20
  ecInfo: ECInfo;
20
21
  ecFormLinks: ECFormLinks;
21
22
  ecForms: ECForms;
23
+ ecLinksProducts: LinksProducts;
22
24
  emails: Emails;
23
25
  exchangeRates: ExchangeRates;
24
26
  ledgers: Ledgers;
package/dist/cjs/index.js CHANGED
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.BaseSDK = void 0;
7
7
  const tslib_1 = require("tslib");
8
8
  const index_js_1 = require("./resources/index.js");
9
+ const LinksProducts_js_1 = require("./resources/LinksProducts.js");
9
10
  const index_js_2 = tslib_1.__importDefault(require("./sdk/index.js"));
10
11
  tslib_1.__exportStar(require("./api/index.js"), exports);
11
12
  tslib_1.__exportStar(require("./common/index.js"), exports);
@@ -24,6 +25,7 @@ class SDK extends index_js_2.default {
24
25
  this.ecInfo = new index_js_1.ECInfo(this.api);
25
26
  this.ecFormLinks = new index_js_1.ECFormLinks(this.api);
26
27
  this.ecForms = new index_js_1.ECForms(this.api);
28
+ this.ecLinksProducts = new LinksProducts_js_1.LinksProducts(this.api);
27
29
  this.emails = new index_js_1.Emails(this.api);
28
30
  this.exchangeRates = new index_js_1.ExchangeRates(this.api);
29
31
  this.ledgers = new index_js_1.Ledgers(this.api);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;AAGH,mDAuB8B;AAC9B,sEAAyC;AAEzC,yDAA+B;AAC/B,4DAAkC;AAClC,4DAAkC;AAClC,+DAAqC;AACrC,2DAAiC;AACpB,QAAA,OAAO,GAAG,kBAAW,CAAC;AAEnC,MAAqB,GAA2C,SAAQ,kBAAW;IAuB/E,YAAY,OAAwB;QAChC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,YAAY,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,IAAI,kBAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,IAAI,kBAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,IAAI,sBAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,kBAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,IAAI,kBA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AI,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjD,IAAI,CAAC,iBAAiB,GAAG,IAAI,4BAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzD,IAAI,CAAC,SAAS,GAAG,IAAI,oBAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3C,CAAC;CACJ;AAlDD,sBAkDC"}
@@ -77,33 +77,45 @@ export declare type BankTransferConfiguration = PaymentTypeConfiguration & {
77
77
  */
78
78
  maximumExtensionPeriod: string;
79
79
  /**
80
- * Whether to enable automatic extension when a charge expires
80
+ * Boolean when a charge should be auto-extended after expiration
81
81
  */
82
82
  automaticExtensionEnabled: boolean;
83
83
  /**
84
- * Notification when the bank account has been assigned to the transaction token
84
+ * Boolean when a reminder email should be sent
85
+ */
86
+ remindNotificationEnabled: boolean;
87
+ /**
88
+ * Period (e.g P1DT9H) How long before the charge expiry to send to the customer the charge expiry reminder email template. If none, no reminder is sent
89
+ */
90
+ remindNotificationPeriod: string;
91
+ /**
92
+ * Boolean when a charge request should be notified
85
93
  */
86
94
  chargeRequestNotificationEnabled: boolean;
87
95
  /**
88
- * Notification when the deposit was received for the transaction token
96
+ * Boolean when a deposit reception should be notified
89
97
  */
90
98
  depositReceivedNotificationEnabled: boolean;
91
99
  /**
92
- * Notification when the deposit was received for the transaction token was insufficient for the oldest charge
100
+ * Boolean when a deposit bellow the transaction value should be notified
93
101
  */
94
102
  depositInsufficientNotificationEnabled: boolean;
95
103
  /**
96
- * Notification when the deposit was received for the transaction token exceeded the requested amount for the oldest charge
104
+ * Boolean when a deposit exceeding the transaction value should be notified
97
105
  */
98
106
  depositExceededNotificationEnabled: boolean;
99
107
  /**
100
- * Whether to enable notification when a charge expiry is extended
108
+ * Boolean when a charge extension should be notified
101
109
  */
102
110
  extensionNotificationEnabled: boolean;
103
111
  /**
104
- * Period (e.g P1DT9H) How long before the charge expiry to send to the customer the charge expiry reminder email template. If none, no reminder is sent
112
+ * Boolean when a charge expiration should be notified
113
+ */
114
+ chargeExpiredNotificationEnabled?: boolean;
115
+ /**
116
+ * Boolean when a charge cancel should be notified
105
117
  */
106
- remindNotificationPeriod?: string;
118
+ chargeRequestCanceledNotificationEnabled?: boolean;
107
119
  };
108
120
  export interface InstallmentsConfiguration {
109
121
  enabled?: boolean;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { RestAPIOptions } from "./api/RestAPI.js";
5
5
  import { BankAccounts, Cancels, Captures, Charges, CheckoutInfo, ECFormLinks, ECForms, ECInfo, Emails, ExchangeRates, Ledgers, Merchants, Platforms, Products, Refunds, Stores, Subscriptions, TransactionTokens, Transfers, Verification, WebHooks, WebHookTrigger as PublicWebHookTrigger } from "./resources/index.js";
6
+ import { LinksProducts } from "./resources/LinksProducts.js";
6
7
  import PaymentsSDK from "./sdk/index.js";
7
8
  export * from "./api/index.js";
8
9
  export * from "./common/index.js";
@@ -19,6 +20,7 @@ export default class SDK<WebhookTrigger = PublicWebHookTrigger> extends Payments
19
20
  ecInfo: ECInfo;
20
21
  ecFormLinks: ECFormLinks;
21
22
  ecForms: ECForms;
23
+ ecLinksProducts: LinksProducts;
22
24
  emails: Emails;
23
25
  exchangeRates: ExchangeRates;
24
26
  ledgers: Ledgers;
package/dist/esm/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  * @module SDK
3
3
  */
4
4
  import { BankAccounts, Cancels, Captures, Charges, CheckoutInfo, ECFormLinks, ECForms, ECInfo, Emails, ExchangeRates, Ledgers, Merchants, Platforms, Products, Refunds, Stores, Subscriptions, TransactionTokens, Transfers, Verification, WebHooks, } from "./resources/index.js";
5
+ import { LinksProducts } from "./resources/LinksProducts.js";
5
6
  import PaymentsSDK from "./sdk/index.js";
6
7
  export * from "./api/index.js";
7
8
  export * from "./common/index.js";
@@ -20,6 +21,7 @@ export default class SDK extends PaymentsSDK {
20
21
  this.ecInfo = new ECInfo(this.api);
21
22
  this.ecFormLinks = new ECFormLinks(this.api);
22
23
  this.ecForms = new ECForms(this.api);
24
+ this.ecLinksProducts = new LinksProducts(this.api);
23
25
  this.emails = new Emails(this.api);
24
26
  this.exchangeRates = new ExchangeRates(this.api);
25
27
  this.ledgers = new Ledgers(this.api);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACH,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,WAAW,EACX,OAAO,EACP,MAAM,EACN,MAAM,EACN,aAAa,EACb,OAAO,EACP,SAAS,EACT,SAAS,EACT,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,QAAQ,GAEX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC;AAEnC,MAAM,CAAC,OAAO,OAAO,GAA2C,SAAQ,WAAW;IAuB/E,YAAY,OAAwB;QAChC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,O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a,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjD,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzD,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzC,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3C,CAAC;CACJ"}
@@ -77,33 +77,45 @@ export declare type BankTransferConfiguration = PaymentTypeConfiguration & {
77
77
  */
78
78
  maximumExtensionPeriod: string;
79
79
  /**
80
- * Whether to enable automatic extension when a charge expires
80
+ * Boolean when a charge should be auto-extended after expiration
81
81
  */
82
82
  automaticExtensionEnabled: boolean;
83
83
  /**
84
- * Notification when the bank account has been assigned to the transaction token
84
+ * Boolean when a reminder email should be sent
85
+ */
86
+ remindNotificationEnabled: boolean;
87
+ /**
88
+ * Period (e.g P1DT9H) How long before the charge expiry to send to the customer the charge expiry reminder email template. If none, no reminder is sent
89
+ */
90
+ remindNotificationPeriod: string;
91
+ /**
92
+ * Boolean when a charge request should be notified
85
93
  */
86
94
  chargeRequestNotificationEnabled: boolean;
87
95
  /**
88
- * Notification when the deposit was received for the transaction token
96
+ * Boolean when a deposit reception should be notified
89
97
  */
90
98
  depositReceivedNotificationEnabled: boolean;
91
99
  /**
92
- * Notification when the deposit was received for the transaction token was insufficient for the oldest charge
100
+ * Boolean when a deposit bellow the transaction value should be notified
93
101
  */
94
102
  depositInsufficientNotificationEnabled: boolean;
95
103
  /**
96
- * Notification when the deposit was received for the transaction token exceeded the requested amount for the oldest charge
104
+ * Boolean when a deposit exceeding the transaction value should be notified
97
105
  */
98
106
  depositExceededNotificationEnabled: boolean;
99
107
  /**
100
- * Whether to enable notification when a charge expiry is extended
108
+ * Boolean when a charge extension should be notified
101
109
  */
102
110
  extensionNotificationEnabled: boolean;
103
111
  /**
104
- * Period (e.g P1DT9H) How long before the charge expiry to send to the customer the charge expiry reminder email template. If none, no reminder is sent
112
+ * Boolean when a charge expiration should be notified
113
+ */
114
+ chargeExpiredNotificationEnabled?: boolean;
115
+ /**
116
+ * Boolean when a charge cancel should be notified
105
117
  */
106
- remindNotificationPeriod?: string;
118
+ chargeRequestCanceledNotificationEnabled?: boolean;
107
119
  };
108
120
  export interface InstallmentsConfiguration {
109
121
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "univapay-node",
3
- "version": "3.0.14",
3
+ "version": "3.0.18",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,27 +38,27 @@
38
38
  "module"
39
39
  ],
40
40
  "devDependencies": {
41
- "@types/chai": "4.3.1",
41
+ "@types/chai": "4.3.3",
42
42
  "@types/chai-arrays": "2.0.0",
43
43
  "@types/chai-as-promised": "7.1.5",
44
44
  "@types/fetch-mock": "7.3.5",
45
- "@types/jsonwebtoken": "8.5.8",
45
+ "@types/jsonwebtoken": "8.5.9",
46
46
  "@types/mocha": "9.1.1",
47
- "@types/node": "18.6.2",
47
+ "@types/node": "18.7.16",
48
48
  "@types/sinon": "10.0.13",
49
49
  "@types/sinon-chai": "3.2.8",
50
50
  "@types/uuid": "8.3.4",
51
- "@typescript-eslint/eslint-plugin": "5.31.0",
52
- "@typescript-eslint/parser": "5.31.0",
51
+ "@typescript-eslint/eslint-plugin": "5.36.2",
52
+ "@typescript-eslint/parser": "5.36.2",
53
53
  "c8": "^7.12.0",
54
54
  "chai": "4.3.6",
55
55
  "chai-arrays": "2.2.0",
56
56
  "chai-as-promised": "7.1.1",
57
57
  "cross-fetch": "3.1.5",
58
- "eslint": "8.20.0",
58
+ "eslint": "8.23.0",
59
59
  "eslint-config-prettier": "8.5.0",
60
60
  "eslint-plugin-prettier": "4.2.1",
61
- "eslint-plugin-simple-import-sort": "7.0.0",
61
+ "eslint-plugin-simple-import-sort": "8.0.0",
62
62
  "fetch-mock": "9.11.0",
63
63
  "husky": "8.0.1",
64
64
  "isomorphic-form-data": "2.0.0",
@@ -73,10 +73,10 @@
73
73
  "sinon": "14.0.0",
74
74
  "sinon-chai": "3.7.0",
75
75
  "ts-node": "10.9.1",
76
- "typedoc": "0.23.9",
76
+ "typedoc": "0.23.14",
77
77
  "typedoc-plugin-internal-external": "2.2.0",
78
- "typescript": "4.7.4",
79
- "uuid": "8.3.2"
78
+ "typescript": "4.8.3",
79
+ "uuid": "9.0.0"
80
80
  },
81
81
  "dependencies": {
82
82
  "@apimatic/json-bigint": "^1.2.0",