namirasoft-payment 1.4.91 → 1.4.92
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/NamirasoftPaymentServer.js +1 -1
- package/dist/PaymentUUID.d.ts +42 -12
- package/dist/PaymentUUID.js +55 -25
- package/dist/PaymentUUID.js.map +1 -1
- package/package.json +3 -3
- package/src/NamirasoftPaymentServer.ts +1 -1
- package/src/PaymentUUID.ts +55 -25
|
@@ -19,7 +19,7 @@ const NamirasoftPaymentServerSubscriptionPaid_1 = require("./NamirasoftPaymentSe
|
|
|
19
19
|
const NamirasoftPaymentServerValue_1 = require("./NamirasoftPaymentServerValue");
|
|
20
20
|
class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
|
|
21
21
|
constructor(base_url, manager, onError) {
|
|
22
|
-
super(base_url, `1.4.
|
|
22
|
+
super(base_url, `1.4.92`, manager, onError);
|
|
23
23
|
this.healthz = new NamirasoftPaymentServerHealthz_1.NamirasoftPaymentServerHealthz(this);
|
|
24
24
|
this.metrics = new NamirasoftPaymentServerMetrics_1.NamirasoftPaymentServerMetrics(this);
|
|
25
25
|
this.value = new NamirasoftPaymentServerValue_1.NamirasoftPaymentServerValue(this);
|
package/dist/PaymentUUID.d.ts
CHANGED
|
@@ -1,21 +1,39 @@
|
|
|
1
1
|
export declare class PaymentUUID {
|
|
2
|
-
static
|
|
2
|
+
static NAMIRASOFT_BILL_WATCH: {
|
|
3
3
|
sales_items: {
|
|
4
|
-
|
|
4
|
+
BILL_WATCH_FOR_AWS: {
|
|
5
5
|
id: string;
|
|
6
6
|
offers: {
|
|
7
|
-
|
|
7
|
+
HOURLY_USAGE: {
|
|
8
8
|
id: string;
|
|
9
9
|
items: {
|
|
10
|
-
|
|
10
|
+
FIX_PER_HOUR: {
|
|
11
11
|
id: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
BILL_WATCH_FOR_AZURE: {
|
|
18
|
+
id: string;
|
|
19
|
+
offers: {
|
|
20
|
+
HOURLY_USAGE: {
|
|
16
21
|
id: string;
|
|
17
22
|
items: {
|
|
18
|
-
|
|
23
|
+
FIX_PER_HOUR: {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
BILL_WATCH_FOR_GCP: {
|
|
31
|
+
id: string;
|
|
32
|
+
offers: {
|
|
33
|
+
HOURLY_USAGE: {
|
|
34
|
+
id: string;
|
|
35
|
+
items: {
|
|
36
|
+
FIX_PER_HOUR: {
|
|
19
37
|
id: string;
|
|
20
38
|
};
|
|
21
39
|
};
|
|
@@ -24,9 +42,9 @@ export declare class PaymentUUID {
|
|
|
24
42
|
};
|
|
25
43
|
};
|
|
26
44
|
};
|
|
27
|
-
static
|
|
45
|
+
static NAMIRASOFT_FIELD: {
|
|
28
46
|
sales_items: {
|
|
29
|
-
|
|
47
|
+
FIELD_FOR_CATEGORY: {
|
|
30
48
|
id: string;
|
|
31
49
|
offers: {
|
|
32
50
|
HOURLY_USAGE: {
|
|
@@ -39,7 +57,7 @@ export declare class PaymentUUID {
|
|
|
39
57
|
};
|
|
40
58
|
};
|
|
41
59
|
};
|
|
42
|
-
|
|
60
|
+
FIELD_FOR_FIELD: {
|
|
43
61
|
id: string;
|
|
44
62
|
offers: {
|
|
45
63
|
HOURLY_USAGE: {
|
|
@@ -52,13 +70,25 @@ export declare class PaymentUUID {
|
|
|
52
70
|
};
|
|
53
71
|
};
|
|
54
72
|
};
|
|
55
|
-
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
static NAMIRASOFT_JOB_ARRANGER: {
|
|
76
|
+
sales_items: {
|
|
77
|
+
JOB_ARRANGER_MEMBERSHIP: {
|
|
56
78
|
id: string;
|
|
57
79
|
offers: {
|
|
58
|
-
|
|
80
|
+
MONTHLY_MEMBERSHIP: {
|
|
59
81
|
id: string;
|
|
60
82
|
items: {
|
|
61
|
-
|
|
83
|
+
MONTHLY: {
|
|
84
|
+
id: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
ANNUAL_MEMBERSHIP: {
|
|
89
|
+
id: string;
|
|
90
|
+
items: {
|
|
91
|
+
ANNUALLY: {
|
|
62
92
|
id: string;
|
|
63
93
|
};
|
|
64
94
|
};
|
package/dist/PaymentUUID.js
CHANGED
|
@@ -4,31 +4,6 @@ exports.PaymentUUID = void 0;
|
|
|
4
4
|
class PaymentUUID {
|
|
5
5
|
}
|
|
6
6
|
exports.PaymentUUID = PaymentUUID;
|
|
7
|
-
PaymentUUID.NAMIRASOFT_JOB_ARRANGER = {
|
|
8
|
-
sales_items: {
|
|
9
|
-
JOB_ARRANGER_MEMBERSHIP: {
|
|
10
|
-
id: "pym-sit-0@jaj-member",
|
|
11
|
-
offers: {
|
|
12
|
-
MONTHLY_MEMBERSHIP: {
|
|
13
|
-
id: "pym-ofr-c882e68827d7",
|
|
14
|
-
items: {
|
|
15
|
-
MONTHLY: {
|
|
16
|
-
id: "pym-ofr-itm-ece89dd6",
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
ANNUAL_MEMBERSHIP: {
|
|
21
|
-
id: "pym-ofr-943ff3f16b42",
|
|
22
|
-
items: {
|
|
23
|
-
ANNUALLY: {
|
|
24
|
-
id: "pym-ofr-itm-50ec8c77"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
7
|
PaymentUUID.NAMIRASOFT_BILL_WATCH = {
|
|
33
8
|
sales_items: {
|
|
34
9
|
BILL_WATCH_FOR_AWS: {
|
|
@@ -72,5 +47,60 @@ PaymentUUID.NAMIRASOFT_BILL_WATCH = {
|
|
|
72
47
|
}
|
|
73
48
|
}
|
|
74
49
|
};
|
|
50
|
+
PaymentUUID.NAMIRASOFT_FIELD = {
|
|
51
|
+
sales_items: {
|
|
52
|
+
FIELD_FOR_CATEGORY: {
|
|
53
|
+
id: "pym-sit-0@f-category",
|
|
54
|
+
offers: {
|
|
55
|
+
HOURLY_USAGE: {
|
|
56
|
+
id: "pym-ofr-e5eda59e2f4d",
|
|
57
|
+
items: {
|
|
58
|
+
FIX_PER_HOUR: {
|
|
59
|
+
id: "pym-ofr-itm-4bc1b267"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
FIELD_FOR_FIELD: {
|
|
66
|
+
id: "pym-sit-0@f----field",
|
|
67
|
+
offers: {
|
|
68
|
+
HOURLY_USAGE: {
|
|
69
|
+
id: "pym-ofr-715f15d80cec",
|
|
70
|
+
items: {
|
|
71
|
+
FIX_PER_HOUR: {
|
|
72
|
+
id: "pym-ofr-itm-ff792299"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
PaymentUUID.NAMIRASOFT_JOB_ARRANGER = {
|
|
81
|
+
sales_items: {
|
|
82
|
+
JOB_ARRANGER_MEMBERSHIP: {
|
|
83
|
+
id: "pym-sit-0@jaj-member",
|
|
84
|
+
offers: {
|
|
85
|
+
MONTHLY_MEMBERSHIP: {
|
|
86
|
+
id: "pym-ofr-c882e68827d7",
|
|
87
|
+
items: {
|
|
88
|
+
MONTHLY: {
|
|
89
|
+
id: "pym-ofr-itm-ece89dd6",
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
ANNUAL_MEMBERSHIP: {
|
|
94
|
+
id: "pym-ofr-943ff3f16b42",
|
|
95
|
+
items: {
|
|
96
|
+
ANNUALLY: {
|
|
97
|
+
id: "pym-ofr-itm-50ec8c77"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
};
|
|
75
105
|
;
|
|
76
106
|
//# sourceMappingURL=PaymentUUID.js.map
|
package/dist/PaymentUUID.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentUUID.js","sourceRoot":"","sources":["../src/PaymentUUID.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;;AAAxB,
|
|
1
|
+
{"version":3,"file":"PaymentUUID.js","sourceRoot":"","sources":["../src/PaymentUUID.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;;AAAxB,kCAoGC;AAlGU,iCAAqB,GAAG;IAC3B,WAAW,EAAE;QACT,kBAAkB,EAAE;YAChB,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,YAAY,EAAE;oBACV,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,YAAY,EAAE;4BACV,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;QACD,oBAAoB,EAAE;YAClB,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,YAAY,EAAE;oBACV,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,YAAY,EAAE;4BACV,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;QACD,kBAAkB,EAAE;YAChB,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,YAAY,EAAE;oBACV,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,YAAY,EAAE;4BACV,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AACK,4BAAgB,GAAG;IACtB,WAAW,EAAE;QACT,kBAAkB,EAAE;YAChB,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,YAAY,EAAE;oBACV,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,YAAY,EAAE;4BACV,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;QACD,eAAe,EAAE;YACb,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,YAAY,EAAE;oBACV,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,YAAY,EAAE;4BACV,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AACK,mCAAuB,GAAG;IAC7B,WAAW,EAAE;QACT,uBAAuB,EAAE;YACrB,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,kBAAkB,EAAE;oBAChB,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,OAAO,EAAE;4BACL,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;gBACD,iBAAiB,EAAE;oBACf,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,QAAQ,EAAE;4BACN,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.92",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"build": ""
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"namirasoft-core": "^1.4.
|
|
20
|
+
"namirasoft-core": "^1.4.78",
|
|
21
21
|
"namirasoft-site": "^1.4.39",
|
|
22
22
|
"namirasoft-node-cli": "^1.4.7",
|
|
23
|
-
"namirasoft-account": "^1.4.
|
|
23
|
+
"namirasoft-account": "^1.4.84"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
26
|
"ns-payment": "./dist/command/cli.js"
|
|
@@ -55,7 +55,7 @@ export class NamirasoftPaymentServer extends NSABaseServer
|
|
|
55
55
|
product: NamirasoftPaymentServerProduct;
|
|
56
56
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
57
57
|
{
|
|
58
|
-
super(base_url, `1.4.
|
|
58
|
+
super(base_url, `1.4.92`, manager, onError);
|
|
59
59
|
this.healthz = new NamirasoftPaymentServerHealthz(this);
|
|
60
60
|
this.metrics = new NamirasoftPaymentServerMetrics(this);
|
|
61
61
|
this.value = new NamirasoftPaymentServerValue(this);
|
package/src/PaymentUUID.ts
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
export class PaymentUUID
|
|
2
2
|
{
|
|
3
|
-
static NAMIRASOFT_JOB_ARRANGER = {
|
|
4
|
-
sales_items: {
|
|
5
|
-
JOB_ARRANGER_MEMBERSHIP: {
|
|
6
|
-
id: "pym-sit-0@jaj-member",
|
|
7
|
-
offers: {
|
|
8
|
-
MONTHLY_MEMBERSHIP: {
|
|
9
|
-
id: "pym-ofr-c882e68827d7",
|
|
10
|
-
items: {
|
|
11
|
-
MONTHLY: {
|
|
12
|
-
id: "pym-ofr-itm-ece89dd6",
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
ANNUAL_MEMBERSHIP: {
|
|
17
|
-
id: "pym-ofr-943ff3f16b42",
|
|
18
|
-
items: {
|
|
19
|
-
ANNUALLY: {
|
|
20
|
-
id: "pym-ofr-itm-50ec8c77"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
3
|
static NAMIRASOFT_BILL_WATCH = {
|
|
29
4
|
sales_items: {
|
|
30
5
|
BILL_WATCH_FOR_AWS: {
|
|
@@ -68,4 +43,59 @@ export class PaymentUUID
|
|
|
68
43
|
}
|
|
69
44
|
}
|
|
70
45
|
};
|
|
46
|
+
static NAMIRASOFT_FIELD = {
|
|
47
|
+
sales_items: {
|
|
48
|
+
FIELD_FOR_CATEGORY: {
|
|
49
|
+
id: "pym-sit-0@f-category",
|
|
50
|
+
offers: {
|
|
51
|
+
HOURLY_USAGE: {
|
|
52
|
+
id: "pym-ofr-e5eda59e2f4d",
|
|
53
|
+
items: {
|
|
54
|
+
FIX_PER_HOUR: {
|
|
55
|
+
id: "pym-ofr-itm-4bc1b267"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
FIELD_FOR_FIELD: {
|
|
62
|
+
id: "pym-sit-0@f----field",
|
|
63
|
+
offers: {
|
|
64
|
+
HOURLY_USAGE: {
|
|
65
|
+
id: "pym-ofr-715f15d80cec",
|
|
66
|
+
items: {
|
|
67
|
+
FIX_PER_HOUR: {
|
|
68
|
+
id: "pym-ofr-itm-ff792299"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
static NAMIRASOFT_JOB_ARRANGER = {
|
|
77
|
+
sales_items: {
|
|
78
|
+
JOB_ARRANGER_MEMBERSHIP: {
|
|
79
|
+
id: "pym-sit-0@jaj-member",
|
|
80
|
+
offers: {
|
|
81
|
+
MONTHLY_MEMBERSHIP: {
|
|
82
|
+
id: "pym-ofr-c882e68827d7",
|
|
83
|
+
items: {
|
|
84
|
+
MONTHLY: {
|
|
85
|
+
id: "pym-ofr-itm-ece89dd6",
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
ANNUAL_MEMBERSHIP: {
|
|
90
|
+
id: "pym-ofr-943ff3f16b42",
|
|
91
|
+
items: {
|
|
92
|
+
ANNUALLY: {
|
|
93
|
+
id: "pym-ofr-itm-50ec8c77"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
71
101
|
};
|