univapay-node 3.0.31 → 3.0.33

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.
@@ -4,7 +4,7 @@
4
4
  import { AuthParams, SendData } from "../api/RestAPI.js";
5
5
  import { Metadata } from "./common/types.js";
6
6
  import { CRUDResource } from "./CRUDResource.js";
7
- import { InstallmentPlan, SubscriptionPeriod } from "./Subscriptions.js";
7
+ import { SubscriptionPeriod } from "./Subscriptions.js";
8
8
  import { TransactionTokenType } from "./TransactionTokens.js";
9
9
  export type ECFormLinkItem = {
10
10
  id: string;
@@ -23,6 +23,7 @@ export type ECFormLinkItem = {
23
23
  updatedOn: string;
24
24
  tokenType: TransactionTokenType;
25
25
  tokenOnly: boolean;
26
+ hideCvv?: boolean;
26
27
  metadata?: Metadata;
27
28
  cvvAuthorize?: boolean;
28
29
  chargeAuth?: boolean;
@@ -39,9 +40,7 @@ export type ECFormLinkItem = {
39
40
  subscriptionStartDayOfMonth?: number;
40
41
  subscriptionInitialAmount?: number;
41
42
  subscriptionPeriod?: SubscriptionPeriod;
42
- installmentPlan?: InstallmentPlan;
43
- installmentCycles?: number;
44
- installmentCycleAmount?: number;
43
+ subscriptionCycles?: number;
45
44
  };
46
45
  export type ResponseECFormLink = ECFormLinkItem;
47
46
  export declare class ECFormLinks extends CRUDResource {
@@ -1 +1 @@
1
- {"version":3,"file":"ECFormLinks.js","sourceRoot":"","sources":["../../../src/resources/ECFormLinks.ts"],"names":[],"mappings":";;;AAMA,uDAAiD;AA0DjD,MAAa,WAAY,SAAQ,8BAAY;IAIzC,GAAG,CAAC,EAAU,EAAE,IAAqB,EAAE,IAAiB;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;;AAPL,kCAQC;AAPU,qBAAS,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ECFormLinks.js","sourceRoot":"","sources":["../../../src/resources/ECFormLinks.ts"],"names":[],"mappings":";;;AAMA,uDAAiD;AAuDjD,MAAa,WAAY,SAAQ,8BAAY;IAIzC,GAAG,CAAC,EAAU,EAAE,IAAqB,EAAE,IAAiB;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;;AAPL,kCAQC;AAPU,qBAAS,GAAG,iBAAiB,CAAC"}
@@ -4,7 +4,7 @@
4
4
  import { AuthParams, SendData } from "../api/RestAPI.js";
5
5
  import { Metadata } from "./common/types.js";
6
6
  import { CRUDResource } from "./CRUDResource.js";
7
- import { InstallmentPlan, SubscriptionPeriod } from "./Subscriptions.js";
7
+ import { SubscriptionPeriod } from "./Subscriptions.js";
8
8
  import { TransactionTokenType } from "./TransactionTokens.js";
9
9
  export type ECFormLinkItem = {
10
10
  id: string;
@@ -23,6 +23,7 @@ export type ECFormLinkItem = {
23
23
  updatedOn: string;
24
24
  tokenType: TransactionTokenType;
25
25
  tokenOnly: boolean;
26
+ hideCvv?: boolean;
26
27
  metadata?: Metadata;
27
28
  cvvAuthorize?: boolean;
28
29
  chargeAuth?: boolean;
@@ -39,9 +40,7 @@ export type ECFormLinkItem = {
39
40
  subscriptionStartDayOfMonth?: number;
40
41
  subscriptionInitialAmount?: number;
41
42
  subscriptionPeriod?: SubscriptionPeriod;
42
- installmentPlan?: InstallmentPlan;
43
- installmentCycles?: number;
44
- installmentCycleAmount?: number;
43
+ subscriptionCycles?: number;
45
44
  };
46
45
  export type ResponseECFormLink = ECFormLinkItem;
47
46
  export declare class ECFormLinks extends CRUDResource {
@@ -1 +1 @@
1
- {"version":3,"file":"ECFormLinks.js","sourceRoot":"","sources":["../../../src/resources/ECFormLinks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA0DjD,MAAM,OAAO,WAAY,SAAQ,YAAY;IAIzC,GAAG,CAAC,EAAU,EAAE,IAAqB,EAAE,IAAiB;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;;AANM,qBAAS,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ECFormLinks.js","sourceRoot":"","sources":["../../../src/resources/ECFormLinks.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAuDjD,MAAM,OAAO,WAAY,SAAQ,YAAY;IAIzC,GAAG,CAAC,EAAU,EAAE,IAAqB,EAAE,IAAiB;QACpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;;AANM,qBAAS,GAAG,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "univapay-node",
3
- "version": "3.0.31",
3
+ "version": "3.0.33",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,46 +43,46 @@
43
43
  "@types/chai-as-promised": "7.1.5",
44
44
  "@types/fetch-mock": "7.3.5",
45
45
  "@types/jsonwebtoken": "8.5.9",
46
- "@types/mocha": "10.0.0",
47
- "@types/node": "18.11.9",
46
+ "@types/mocha": "10.0.1",
47
+ "@types/node": "18.11.11",
48
48
  "@types/sinon": "10.0.13",
49
49
  "@types/sinon-chai": "3.2.9",
50
- "@types/uuid": "8.3.4",
51
- "@typescript-eslint/eslint-plugin": "5.45.0",
52
- "@typescript-eslint/parser": "5.44.0",
50
+ "@types/uuid": "9.0.0",
51
+ "@typescript-eslint/eslint-plugin": "5.47.0",
52
+ "@typescript-eslint/parser": "5.46.1",
53
53
  "c8": "^7.12.0",
54
54
  "chai": "4.3.7",
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.28.0",
58
+ "eslint": "8.30.0",
59
59
  "eslint-config-prettier": "8.5.0",
60
60
  "eslint-plugin-prettier": "4.2.1",
61
61
  "eslint-plugin-simple-import-sort": "8.0.0",
62
62
  "fetch-mock": "9.11.0",
63
63
  "husky": "8.0.2",
64
64
  "isomorphic-form-data": "2.0.0",
65
- "jsonwebtoken": "8.5.1",
66
- "lint-staged": "13.0.4",
67
- "mocha": "10.1.0",
65
+ "jsonwebtoken": "9.0.0",
66
+ "lint-staged": "13.1.0",
67
+ "mocha": "10.2.0",
68
68
  "np": "7.6.2",
69
69
  "p-map": "^5.5.0",
70
70
  "path-to-regexp": "6.2.1",
71
- "prettier": "2.8.0",
71
+ "prettier": "2.8.1",
72
72
  "pretty-quick": "3.1.3",
73
- "sinon": "15.0.0",
73
+ "sinon": "15.0.1",
74
74
  "sinon-chai": "3.7.0",
75
75
  "ts-node": "10.9.1",
76
- "typedoc": "0.23.21",
76
+ "typedoc": "0.23.23",
77
77
  "typedoc-plugin-internal-external": "2.2.0",
78
- "typescript": "4.9.3",
78
+ "typescript": "4.9.4",
79
79
  "uuid": "9.0.0"
80
80
  },
81
81
  "dependencies": {
82
82
  "@apimatic/json-bigint": "^1.2.0",
83
83
  "arrify": "2.0.1",
84
84
  "bowser": "^2.11.0",
85
- "browser-or-node": "2.0.0",
85
+ "browser-or-node": "2.1.1",
86
86
  "change-case": "^4.1.2",
87
87
  "events": "^3.3.0",
88
88
  "flat": "^5.0.2",