univapay-node 3.0.18 → 3.0.19
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 { AuthParams, SendData } from "../api/RestAPI.js";
|
|
5
5
|
import { CRUDResource } from "./CRUDResource.js";
|
|
6
|
+
import { SubscriptionPeriod } from "./Subscriptions.js";
|
|
6
7
|
import { TransactionTokenType } from "./TransactionTokens.js";
|
|
7
8
|
export declare type ProductItem = {
|
|
8
9
|
id: string;
|
|
@@ -16,6 +17,12 @@ export declare type ProductItem = {
|
|
|
16
17
|
tokenType: TransactionTokenType;
|
|
17
18
|
description?: string | null;
|
|
18
19
|
shippingFees?: number | null;
|
|
20
|
+
installmentCycles?: number;
|
|
21
|
+
subscriptionPeriod?: SubscriptionPeriod;
|
|
22
|
+
subscriptionInitialAmount?: number;
|
|
23
|
+
subscriptionStartDayOfMonth?: number;
|
|
24
|
+
subscriptionStartInMonths?: number;
|
|
25
|
+
subscriptionStartIn?: string;
|
|
19
26
|
createdOn: string;
|
|
20
27
|
updatedOn: string;
|
|
21
28
|
active: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Products.js","sourceRoot":"","sources":["../../../src/resources/Products.ts"],"names":[],"mappings":";;;AAKA,uDAAiD;
|
|
1
|
+
{"version":3,"file":"Products.js","sourceRoot":"","sources":["../../../src/resources/Products.ts"],"names":[],"mappings":";;;AAKA,uDAAiD;AAiCjD,MAAa,QAAS,SAAQ,8BAAY;IAItC,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,4BAQC;AAPU,kBAAS,GAAG,oBAAoB,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { AuthParams, SendData } from "../api/RestAPI.js";
|
|
5
5
|
import { CRUDResource } from "./CRUDResource.js";
|
|
6
|
+
import { SubscriptionPeriod } from "./Subscriptions.js";
|
|
6
7
|
import { TransactionTokenType } from "./TransactionTokens.js";
|
|
7
8
|
export declare type ProductItem = {
|
|
8
9
|
id: string;
|
|
@@ -16,6 +17,12 @@ export declare type ProductItem = {
|
|
|
16
17
|
tokenType: TransactionTokenType;
|
|
17
18
|
description?: string | null;
|
|
18
19
|
shippingFees?: number | null;
|
|
20
|
+
installmentCycles?: number;
|
|
21
|
+
subscriptionPeriod?: SubscriptionPeriod;
|
|
22
|
+
subscriptionInitialAmount?: number;
|
|
23
|
+
subscriptionStartDayOfMonth?: number;
|
|
24
|
+
subscriptionStartInMonths?: number;
|
|
25
|
+
subscriptionStartIn?: string;
|
|
19
26
|
createdOn: string;
|
|
20
27
|
updatedOn: string;
|
|
21
28
|
active: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Products.js","sourceRoot":"","sources":["../../../src/resources/Products.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Products.js","sourceRoot":"","sources":["../../../src/resources/Products.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAiCjD,MAAM,OAAO,QAAS,SAAQ,YAAY;IAItC,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,kBAAS,GAAG,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "univapay-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"@types/fetch-mock": "7.3.5",
|
|
45
45
|
"@types/jsonwebtoken": "8.5.9",
|
|
46
46
|
"@types/mocha": "9.1.1",
|
|
47
|
-
"@types/node": "18.7.
|
|
47
|
+
"@types/node": "18.7.18",
|
|
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.
|
|
52
|
-
"@typescript-eslint/parser": "5.
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "5.38.0",
|
|
52
|
+
"@typescript-eslint/parser": "5.38.0",
|
|
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.23.
|
|
58
|
+
"eslint": "8.23.1",
|
|
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",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"sinon": "14.0.0",
|
|
74
74
|
"sinon-chai": "3.7.0",
|
|
75
75
|
"ts-node": "10.9.1",
|
|
76
|
-
"typedoc": "0.23.
|
|
76
|
+
"typedoc": "0.23.15",
|
|
77
77
|
"typedoc-plugin-internal-external": "2.2.0",
|
|
78
78
|
"typescript": "4.8.3",
|
|
79
79
|
"uuid": "9.0.0"
|