namirasoft-payment 1.4.57 → 1.4.59
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.d.ts +2 -0
- package/dist/NamirasoftPaymentServer.js +3 -1
- package/dist/NamirasoftPaymentServer.js.map +1 -1
- package/dist/NamirasoftPaymentServerSubscription.d.ts +18 -5
- package/dist/NamirasoftPaymentServerSubscription.js +30 -15
- package/dist/NamirasoftPaymentServerSubscription.js.map +1 -1
- package/dist/NamirasoftPaymentServerSubscriptionCancellationReason.d.ts +13 -0
- package/dist/NamirasoftPaymentServerSubscriptionCancellationReason.js +41 -0
- package/dist/NamirasoftPaymentServerSubscriptionCancellationReason.js.map +1 -0
- package/dist/command/SubscriptionAcceptCancellationOfferCommand.d.ts +5 -0
- package/dist/command/SubscriptionAcceptCancellationOfferCommand.js +85 -0
- package/dist/command/SubscriptionAcceptCancellationOfferCommand.js.map +1 -0
- package/dist/command/SubscriptionCancelCommand.js +22 -2
- package/dist/command/SubscriptionCancelCommand.js.map +1 -1
- package/dist/command/SubscriptionCancellationReasonCommand.d.ts +4 -0
- package/dist/command/SubscriptionCancellationReasonCommand.js +17 -0
- package/dist/command/SubscriptionCancellationReasonCommand.js.map +1 -0
- package/dist/command/SubscriptionCancellationReasonGetCommand.d.ts +5 -0
- package/dist/command/SubscriptionCancellationReasonGetCommand.js +38 -0
- package/dist/command/SubscriptionCancellationReasonGetCommand.js.map +1 -0
- package/dist/command/SubscriptionCancellationReasonListCommand.d.ts +5 -0
- package/dist/command/SubscriptionCancellationReasonListCommand.js +38 -0
- package/dist/command/SubscriptionCancellationReasonListCommand.js.map +1 -0
- package/dist/command/SubscriptionCommand.js +6 -2
- package/dist/command/SubscriptionCommand.js.map +1 -1
- package/dist/command/SubscriptionGetCancellationOfferCommand.d.ts +5 -0
- package/dist/command/SubscriptionGetCancellationOfferCommand.js +38 -0
- package/dist/command/SubscriptionGetCancellationOfferCommand.js.map +1 -0
- package/dist/command/cli.js +2 -0
- package/dist/command/cli.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/SubscriptionMetaTable.d.ts +0 -1
- package/dist/meta/SubscriptionMetaTable.js +0 -1
- package/dist/meta/SubscriptionMetaTable.js.map +1 -1
- package/dist/row/SubscriptionCancellationReasonRow.d.ts +13 -0
- package/dist/row/SubscriptionCancellationReasonRow.js +3 -0
- package/dist/row/SubscriptionCancellationReasonRow.js.map +1 -0
- package/dist/row/SubscriptionFullRow.d.ts +0 -1
- package/dist/row/SubscriptionRow.d.ts +0 -1
- package/package.json +1 -1
- package/src/NamirasoftPaymentServer.ts +4 -1
- package/src/NamirasoftPaymentServerSubscription.ts +26 -13
- package/src/NamirasoftPaymentServerSubscriptionCancellationReason.ts +49 -0
- package/src/command/SubscriptionAcceptCancellationOfferCommand.ts +92 -0
- package/src/command/SubscriptionCancelCommand.ts +22 -2
- package/src/command/SubscriptionCancellationReasonCommand.ts +34 -0
- package/src/command/SubscriptionCancellationReasonGetCommand.ts +45 -0
- package/src/command/SubscriptionCancellationReasonListCommand.ts +45 -0
- package/src/command/SubscriptionCommand.ts +6 -2
- package/src/command/SubscriptionGetCancellationOfferCommand.ts +45 -0
- package/src/command/cli.ts +2 -0
- package/src/index.ts +7 -0
- package/src/meta/SubscriptionMetaTable.ts +0 -2
- package/src/row/SubscriptionCancellationReasonRow.ts +34 -0
- package/src/row/SubscriptionFullRow.ts +0 -1
- package/src/row/SubscriptionRow.ts +0 -1
|
@@ -7,6 +7,7 @@ import { NamirasoftPaymentServerPayment } from "./NamirasoftPaymentServerPayment
|
|
|
7
7
|
import { NamirasoftPaymentServerProduct } from "./NamirasoftPaymentServerProduct";
|
|
8
8
|
import { NamirasoftPaymentServerSalesItem } from "./NamirasoftPaymentServerSalesItem";
|
|
9
9
|
import { NamirasoftPaymentServerSubscription } from "./NamirasoftPaymentServerSubscription";
|
|
10
|
+
import { NamirasoftPaymentServerSubscriptionCancellationReason } from "./NamirasoftPaymentServerSubscriptionCancellationReason";
|
|
10
11
|
import { NamirasoftPaymentServerSubscriptionItem } from "./NamirasoftPaymentServerSubscriptionItem";
|
|
11
12
|
import { NamirasoftPaymentServerSubscriptionPaid } from "./NamirasoftPaymentServerSubscriptionPaid";
|
|
12
13
|
import { NamirasoftPaymentServerValue } from "./NamirasoftPaymentServerValue";
|
|
@@ -19,6 +20,7 @@ export declare class NamirasoftPaymentServer extends NSABaseServer {
|
|
|
19
20
|
one_time: NamirasoftPaymentServerOneTime;
|
|
20
21
|
payment: NamirasoftPaymentServerPayment;
|
|
21
22
|
sales_item: NamirasoftPaymentServerSalesItem;
|
|
23
|
+
subscription_cancellation_reason: NamirasoftPaymentServerSubscriptionCancellationReason;
|
|
22
24
|
subscription_item: NamirasoftPaymentServerSubscriptionItem;
|
|
23
25
|
subscription_paid: NamirasoftPaymentServerSubscriptionPaid;
|
|
24
26
|
subscription: NamirasoftPaymentServerSubscription;
|
|
@@ -10,12 +10,13 @@ const NamirasoftPaymentServerPayment_1 = require("./NamirasoftPaymentServerPayme
|
|
|
10
10
|
const NamirasoftPaymentServerProduct_1 = require("./NamirasoftPaymentServerProduct");
|
|
11
11
|
const NamirasoftPaymentServerSalesItem_1 = require("./NamirasoftPaymentServerSalesItem");
|
|
12
12
|
const NamirasoftPaymentServerSubscription_1 = require("./NamirasoftPaymentServerSubscription");
|
|
13
|
+
const NamirasoftPaymentServerSubscriptionCancellationReason_1 = require("./NamirasoftPaymentServerSubscriptionCancellationReason");
|
|
13
14
|
const NamirasoftPaymentServerSubscriptionItem_1 = require("./NamirasoftPaymentServerSubscriptionItem");
|
|
14
15
|
const NamirasoftPaymentServerSubscriptionPaid_1 = require("./NamirasoftPaymentServerSubscriptionPaid");
|
|
15
16
|
const NamirasoftPaymentServerValue_1 = require("./NamirasoftPaymentServerValue");
|
|
16
17
|
class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
|
|
17
18
|
constructor(base_url, manager, onError) {
|
|
18
|
-
super(base_url, `1.4.
|
|
19
|
+
super(base_url, `1.4.59`, manager, onError);
|
|
19
20
|
this.healthz = new NamirasoftPaymentServerHealthz_1.NamirasoftPaymentServerHealthz(this);
|
|
20
21
|
this.value = new NamirasoftPaymentServerValue_1.NamirasoftPaymentServerValue(this);
|
|
21
22
|
this.invoice = new NamirasoftPaymentServerInvoice_1.NamirasoftPaymentServerInvoice(this);
|
|
@@ -23,6 +24,7 @@ class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
|
|
|
23
24
|
this.one_time = new NamirasoftPaymentServerOneTime_1.NamirasoftPaymentServerOneTime(this);
|
|
24
25
|
this.payment = new NamirasoftPaymentServerPayment_1.NamirasoftPaymentServerPayment(this);
|
|
25
26
|
this.sales_item = new NamirasoftPaymentServerSalesItem_1.NamirasoftPaymentServerSalesItem(this);
|
|
27
|
+
this.subscription_cancellation_reason = new NamirasoftPaymentServerSubscriptionCancellationReason_1.NamirasoftPaymentServerSubscriptionCancellationReason(this);
|
|
26
28
|
this.subscription_item = new NamirasoftPaymentServerSubscriptionItem_1.NamirasoftPaymentServerSubscriptionItem(this);
|
|
27
29
|
this.subscription_paid = new NamirasoftPaymentServerSubscriptionPaid_1.NamirasoftPaymentServerSubscriptionPaid(this);
|
|
28
30
|
this.subscription = new NamirasoftPaymentServerSubscription_1.NamirasoftPaymentServerSubscription(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftPaymentServer.js","sourceRoot":"","sources":["../src/NamirasoftPaymentServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,qFAAkF;AAClF,qFAAkF;AAClF,iFAA8E;AAC9E,qFAAkF;AAClF,qFAAkF;AAClF,qFAAkF;AAClF,yFAAsF;AACtF,+FAA4F;AAC5F,uGAAoG;AACpG,uGAAoG;AACpG,iFAA8E;AAG9E,MAAa,uBAAwB,SAAQ,kCAAa;
|
|
1
|
+
{"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I,+DAA8B,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;CACJ;AA9BD,0DA8BC;AAAA,CAAC"}
|
|
@@ -7,12 +7,19 @@ import { SubscriptionFullRow } from "./row/SubscriptionFullRow";
|
|
|
7
7
|
import { SubscriptionRow } from "./row/SubscriptionRow";
|
|
8
8
|
export declare class NamirasoftPaymentServerSubscription extends NamirasoftPaymentServerBase {
|
|
9
9
|
constructor(server: NamirasoftPaymentServer);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
AcceptCancellationOffer(body: {
|
|
11
|
+
gateway: GatewayType;
|
|
12
|
+
id: string;
|
|
13
|
+
reason_id: string;
|
|
14
|
+
success_url: string;
|
|
15
|
+
cancel_url: string;
|
|
16
|
+
}): Promise<{
|
|
17
|
+
url: string;
|
|
13
18
|
}>;
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
Cancel(id: string, body: {
|
|
20
|
+
cancellation_reason_id: string;
|
|
21
|
+
cancellatino_explaination: string;
|
|
22
|
+
}): Promise<void>;
|
|
16
23
|
Checkout(body: {
|
|
17
24
|
gateway: GatewayType;
|
|
18
25
|
offer_id: string;
|
|
@@ -21,4 +28,10 @@ export declare class NamirasoftPaymentServerSubscription extends NamirasoftPayme
|
|
|
21
28
|
}): Promise<{
|
|
22
29
|
url: string;
|
|
23
30
|
}>;
|
|
31
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{
|
|
32
|
+
rows: SubscriptionRow[];
|
|
33
|
+
count: number;
|
|
34
|
+
}>;
|
|
35
|
+
GetCancellationOffer(id: string, reason_id: string): Promise<void>;
|
|
36
|
+
Get(id: string): Promise<SubscriptionFullRow>;
|
|
24
37
|
}
|
|
@@ -16,10 +16,32 @@ const namirasoft_core_2 = require("namirasoft-core");
|
|
|
16
16
|
class NamirasoftPaymentServerSubscription extends NamirasoftPaymentServerBase_1.NamirasoftPaymentServerBase {
|
|
17
17
|
constructor(server) {
|
|
18
18
|
super(server);
|
|
19
|
-
this.
|
|
20
|
-
this.Get = this.Get.bind(this);
|
|
19
|
+
this.AcceptCancellationOffer = this.AcceptCancellationOffer.bind(this);
|
|
21
20
|
this.Cancel = this.Cancel.bind(this);
|
|
22
21
|
this.Checkout = this.Checkout.bind(this);
|
|
22
|
+
this.List = this.List.bind(this);
|
|
23
|
+
this.GetCancellationOffer = this.GetCancellationOffer.bind(this);
|
|
24
|
+
this.Get = this.Get.bind(this);
|
|
25
|
+
}
|
|
26
|
+
AcceptCancellationOffer(body) {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
let path = `/subscription/checkout`;
|
|
29
|
+
let { data } = yield this.server._post(path, {}, body);
|
|
30
|
+
return data;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
Cancel(id, body) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
let path = `/subscription/${id}/cancel`;
|
|
36
|
+
yield this.server._post(path, {}, body);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
Checkout(body) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
let path = `/subscription/checkout`;
|
|
42
|
+
let { data } = yield this.server._post(path, {}, body);
|
|
43
|
+
return data;
|
|
44
|
+
});
|
|
23
45
|
}
|
|
24
46
|
List(filters, page, size, sorts) {
|
|
25
47
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,23 +52,16 @@ class NamirasoftPaymentServerSubscription extends NamirasoftPaymentServerBase_1.
|
|
|
30
52
|
return data;
|
|
31
53
|
});
|
|
32
54
|
}
|
|
33
|
-
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
let path = `/subscription/${id}`;
|
|
36
|
-
let { data } = yield this.server._get(path, {});
|
|
37
|
-
return data;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
Cancel(id, reason) {
|
|
55
|
+
GetCancellationOffer(id, reason_id) {
|
|
41
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
-
let path = `/subscription
|
|
43
|
-
yield this.server.
|
|
57
|
+
let path = `/subscription/${id}/cancellation/offer/reason/${reason_id}`;
|
|
58
|
+
yield this.server._get(path, {});
|
|
44
59
|
});
|
|
45
60
|
}
|
|
46
|
-
|
|
61
|
+
Get(id) {
|
|
47
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
let path = `/subscription
|
|
49
|
-
let { data } = yield this.server.
|
|
63
|
+
let path = `/subscription/${id}`;
|
|
64
|
+
let { data } = yield this.server._get(path, {});
|
|
50
65
|
return data;
|
|
51
66
|
});
|
|
52
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftPaymentServerSubscription.js","sourceRoot":"","sources":["../src/NamirasoftPaymentServerSubscription.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA6C;AAG7C,+EAA4E;AAC5E,qDAA2C;AAI3C,MAAa,mCAAoC,SAAQ,yDAA2B;IAEhF,YAAY,MAA+B;QAEvC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"NamirasoftPaymentServerSubscription.js","sourceRoot":"","sources":["../src/NamirasoftPaymentServerSubscription.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA6C;AAG7C,+EAA4E;AAC5E,qDAA2C;AAI3C,MAAa,mCAAoC,SAAQ,yDAA2B;IAEhF,YAAY,MAA+B;QAEvC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;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M,CAAC,IAAI,CAA6C,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC,CAAC;YAClK,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,oBAAoB,CAAC,EAAU,EAAE,SAAiB;;YAEpD,IAAI,IAAI,GAAG,iBAAiB,EAAE,8BAA8B,SAAS,EAAE,CAAC;YACxE,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,CAAC,CAAC;QAC3C,CAAC;KAAA;IACK,GAAG,CAAC,EAAU;;YAEhB,IAAI,IAAI,GAAG,iBAAiB,EAAE,EAAE,CAAC;YACjC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAsB,IAAI,EAAE,EAAE,CAAC,CAAC;YACrE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAhDD,kFAgDC;AAAA,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FilterItem } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftPaymentServer } from "./NamirasoftPaymentServer";
|
|
3
|
+
import { NamirasoftPaymentServerBase } from "./NamirasoftPaymentServerBase";
|
|
4
|
+
import { SortItem } from "namirasoft-core";
|
|
5
|
+
import { SubscriptionCancellationReasonRow } from "./row/SubscriptionCancellationReasonRow";
|
|
6
|
+
export declare class NamirasoftPaymentServerSubscriptionCancellationReason extends NamirasoftPaymentServerBase {
|
|
7
|
+
constructor(server: NamirasoftPaymentServer);
|
|
8
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]): Promise<{
|
|
9
|
+
rows: SubscriptionCancellationReasonRow[];
|
|
10
|
+
count: number;
|
|
11
|
+
}>;
|
|
12
|
+
Get(id: string): Promise<SubscriptionCancellationReasonRow>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftPaymentServerSubscriptionCancellationReason = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftPaymentServerBase_1 = require("./NamirasoftPaymentServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftPaymentServerSubscriptionCancellationReason extends NamirasoftPaymentServerBase_1.NamirasoftPaymentServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
}
|
|
22
|
+
List(filters, page, size, sorts) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
25
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
26
|
+
let path = `/subscription/cancellation/reason/list`;
|
|
27
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
|
|
28
|
+
return data;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
Get(id) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
let path = `/subscription/cancellation/reason/${id}`;
|
|
34
|
+
let { data } = yield this.server._get(path, {});
|
|
35
|
+
return data;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.NamirasoftPaymentServerSubscriptionCancellationReason = NamirasoftPaymentServerSubscriptionCancellationReason;
|
|
40
|
+
;
|
|
41
|
+
//# sourceMappingURL=NamirasoftPaymentServerSubscriptionCancellationReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftPaymentServerSubscriptionCancellationReason.js","sourceRoot":"","sources":["../src/NamirasoftPaymentServerSubscriptionCancellationReason.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA6C;AAE7C,+EAA4E;AAC5E,qDAA2C;AAG3C,MAAa,qDAAsD,SAAQ,yDAA2B;IAElG,YAAY,MAA+B;QAEvC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB;;YAEpG,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,wCAAwC,CAAC;YACpD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA+D,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC,CAAC;YACpL,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAU;;YAEhB,IAAI,IAAI,GAAG,qCAAqC,EAAE,EAAE,CAAC;YACrD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAoC,IAAI,EAAE,EAAE,CAAC,CAAC;YACnF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAtBD,sHAsBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SubscriptionAcceptCancellationOfferCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftPaymentServer_1 = require("../NamirasoftPaymentServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class SubscriptionAcceptCancellationOfferCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, [], [
|
|
20
|
+
{
|
|
21
|
+
name: "gateway",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'gateway' in body",
|
|
24
|
+
optional: false,
|
|
25
|
+
args: ["gateway"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "id",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'id' in body",
|
|
32
|
+
optional: false,
|
|
33
|
+
args: ["id"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "reason_id",
|
|
38
|
+
short: "",
|
|
39
|
+
description: "Provides the value of 'reason_id' in body",
|
|
40
|
+
optional: false,
|
|
41
|
+
args: ["reason_id"],
|
|
42
|
+
defaults: [""]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "success_url",
|
|
46
|
+
short: "",
|
|
47
|
+
description: "Provides the value of 'success_url' in body",
|
|
48
|
+
optional: false,
|
|
49
|
+
args: ["success_url"],
|
|
50
|
+
defaults: [""]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "cancel_url",
|
|
54
|
+
short: "",
|
|
55
|
+
description: "Provides the value of 'cancel_url' in body",
|
|
56
|
+
optional: false,
|
|
57
|
+
args: ["cancel_url"],
|
|
58
|
+
defaults: [""]
|
|
59
|
+
}
|
|
60
|
+
]);
|
|
61
|
+
}
|
|
62
|
+
exec() {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
let token = this.app.storage.getNSAToken();
|
|
65
|
+
if (token == null)
|
|
66
|
+
throw new Error("Token is not available. Please login first using:\nns-payment account config \nor \nns-payment account login.");
|
|
67
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
68
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
69
|
+
manager.setValue(token, false);
|
|
70
|
+
let url = this.app.storage.getItem("ns-payment-server-url");
|
|
71
|
+
let server = new NamirasoftPaymentServer_1.NamirasoftPaymentServer(url, manager, e => this.app.logger.error(e.message));
|
|
72
|
+
let ans = yield server.subscription.AcceptCancellationOffer({
|
|
73
|
+
gateway: this.option_values.gateway,
|
|
74
|
+
id: this.option_values.id,
|
|
75
|
+
reason_id: this.option_values.reason_id,
|
|
76
|
+
success_url: this.option_values.success_url,
|
|
77
|
+
cancel_url: this.option_values.cancel_url
|
|
78
|
+
});
|
|
79
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.SubscriptionAcceptCancellationOfferCommand = SubscriptionAcceptCancellationOfferCommand;
|
|
84
|
+
;
|
|
85
|
+
//# sourceMappingURL=SubscriptionAcceptCancellationOfferCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionAcceptCancellationOfferCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionAcceptCancellationOfferCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,0CAA2C,SAAQ,sCAAgB;IAE5E,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,yCAAyC;gBACtD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,SAAS,CAAC;gBACjB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,oCAAoC;gBACjD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,IAAI,CAAC;gBACZ,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,2CAA2C;gBACxD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,WAAW,CAAC;gBACnB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IA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AAC,aAAa,CAAC,SAAS;gBACvC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;gBAC3C,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;aAC5C,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAlED,gGAkEC;AAAA,CAAC"}
|
|
@@ -16,7 +16,24 @@ const NamirasoftPaymentServer_1 = require("../NamirasoftPaymentServer");
|
|
|
16
16
|
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
17
|
class SubscriptionCancelCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
18
|
constructor(argv) {
|
|
19
|
-
super(argv, ["id"
|
|
19
|
+
super(argv, ["id"], [
|
|
20
|
+
{
|
|
21
|
+
name: "cancellation_reason_id",
|
|
22
|
+
short: "",
|
|
23
|
+
description: "Provides the value of 'cancellation_reason_id' in body",
|
|
24
|
+
optional: false,
|
|
25
|
+
args: ["cancellation_reason_id"],
|
|
26
|
+
defaults: [""]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "cancellatino_explaination",
|
|
30
|
+
short: "",
|
|
31
|
+
description: "Provides the value of 'cancellatino_explaination' in body",
|
|
32
|
+
optional: false,
|
|
33
|
+
args: ["cancellatino_explaination"],
|
|
34
|
+
defaults: [""]
|
|
35
|
+
}
|
|
36
|
+
]);
|
|
20
37
|
}
|
|
21
38
|
exec() {
|
|
22
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -28,7 +45,10 @@ class SubscriptionCancelCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
28
45
|
manager.setValue(token, false);
|
|
29
46
|
let url = this.app.storage.getItem("ns-payment-server-url");
|
|
30
47
|
let server = new NamirasoftPaymentServer_1.NamirasoftPaymentServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
-
let ans = yield server.subscription.Cancel(this.arg_values[0],
|
|
48
|
+
let ans = yield server.subscription.Cancel(this.arg_values[0], {
|
|
49
|
+
cancellation_reason_id: this.option_values.cancellation_reason_id,
|
|
50
|
+
cancellatino_explaination: this.option_values.cancellatino_explaination
|
|
51
|
+
});
|
|
32
52
|
this.app.logger.success(JSON.stringify(ans));
|
|
33
53
|
});
|
|
34
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionCancelCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCancelCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,yBAA0B,SAAQ,sCAAgB;IAE3D,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"SubscriptionCancelCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCancelCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,yBAA0B,SAAQ,sCAAgB;IAE3D,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,wBAAwB;gBAC9B,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,wDAAwD;gBACrE,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,wBAAwB,CAAC;gBAChC,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,2BAA2B;gBACjC,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,2DAA2D;gBACxE,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,2BAA2B,CAAC;gBACnC,QAAQ,EAAE,CAAC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oft_node_cli_1 = require("namirasoft-node-cli");
|
|
5
|
+
const SubscriptionCancellationReasonGetCommand_1 = require("./SubscriptionCancellationReasonGetCommand");
|
|
6
|
+
const SubscriptionCancellationReasonListCommand_1 = require("./SubscriptionCancellationReasonListCommand");
|
|
7
|
+
class SubscriptionCancellationReasonCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
8
|
+
constructor(argv) {
|
|
9
|
+
super(argv, {
|
|
10
|
+
"list": SubscriptionCancellationReasonListCommand_1.SubscriptionCancellationReasonListCommand,
|
|
11
|
+
"get": SubscriptionCancellationReasonGetCommand_1.SubscriptionCancellationReasonGetCommand,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.SubscriptionCancellationReasonCommand = SubscriptionCancellationReasonCommand;
|
|
16
|
+
;
|
|
17
|
+
//# sourceMappingURL=SubscriptionCancellationReasonCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionCancellationReasonCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCancellationReasonCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,yGAAsG;AACtG,2GAAwG;AAExG,MAAa,qCAAsC,SAAQ,0CAAoB;IAE3E,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,qFAAyC;YACjD,KAAK,EAAE,mFAAwC;SAClD,CAAC,CAAC;IACP,CAAC;CACJ;AATD,sFASC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SubscriptionCancellationReasonGetCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftPaymentServer_1 = require("../NamirasoftPaymentServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class SubscriptionCancellationReasonGetCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["id"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-payment account config \nor \nns-payment account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-payment-server-url");
|
|
30
|
+
let server = new NamirasoftPaymentServer_1.NamirasoftPaymentServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.subscription_cancellation_reason.Get(this.arg_values[0]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.SubscriptionCancellationReasonGetCommand = SubscriptionCancellationReasonGetCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=SubscriptionCancellationReasonGetCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionCancellationReasonGetCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCancellationReasonGetCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,wCAAyC,SAAQ,sCAAgB;IAE1E,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,+GAA+G,CAAC,CAAC;YACrI,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;YAC5D,IAAI,MAAM,GAAG,IAAI,iDAAuB,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC9F,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,gCAAgC,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAChF,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,4FAmBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SubscriptionCancellationReasonListCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftPaymentServer_1 = require("../NamirasoftPaymentServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class SubscriptionCancellationReasonListCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["filters", "page", "size", "sorts"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-payment account config \nor \nns-payment account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-payment-server-url");
|
|
30
|
+
let server = new NamirasoftPaymentServer_1.NamirasoftPaymentServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.subscription_cancellation_reason.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.SubscriptionCancellationReasonListCommand = SubscriptionCancellationReasonListCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=SubscriptionCancellationReasonListCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionCancellationReasonListCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCancellationReasonListCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,yCAA0C,SAAQ,sCAAgB;IAE3E,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,+GAA+G,CAAC,CAAC;YACrI,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;YAC5D,IAAI,MAAM,GAAG,IAAI,iDAAuB,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC9F,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,gCAAgC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7I,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,8FAmBC;AAAA,CAAC"}
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SubscriptionCommand = void 0;
|
|
4
4
|
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
5
|
+
const SubscriptionAcceptCancellationOfferCommand_1 = require("./SubscriptionAcceptCancellationOfferCommand");
|
|
5
6
|
const SubscriptionCancelCommand_1 = require("./SubscriptionCancelCommand");
|
|
6
7
|
const SubscriptionCheckoutCommand_1 = require("./SubscriptionCheckoutCommand");
|
|
8
|
+
const SubscriptionGetCancellationOfferCommand_1 = require("./SubscriptionGetCancellationOfferCommand");
|
|
7
9
|
const SubscriptionGetCommand_1 = require("./SubscriptionGetCommand");
|
|
8
10
|
const SubscriptionListCommand_1 = require("./SubscriptionListCommand");
|
|
9
11
|
class SubscriptionCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
10
12
|
constructor(argv) {
|
|
11
13
|
super(argv, {
|
|
12
|
-
"
|
|
13
|
-
"get": SubscriptionGetCommand_1.SubscriptionGetCommand,
|
|
14
|
+
"acceptcancellationoffer": SubscriptionAcceptCancellationOfferCommand_1.SubscriptionAcceptCancellationOfferCommand,
|
|
14
15
|
"cancel": SubscriptionCancelCommand_1.SubscriptionCancelCommand,
|
|
15
16
|
"checkout": SubscriptionCheckoutCommand_1.SubscriptionCheckoutCommand,
|
|
17
|
+
"list": SubscriptionListCommand_1.SubscriptionListCommand,
|
|
18
|
+
"getcancellationoffer": SubscriptionGetCancellationOfferCommand_1.SubscriptionGetCancellationOfferCommand,
|
|
19
|
+
"get": SubscriptionGetCommand_1.SubscriptionGetCommand,
|
|
16
20
|
});
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,2EAAwE;AACxE,+EAA4E;AAC5E,qEAAkE;AAClE,uEAAoE;AAEpE,MAAa,mBAAoB,SAAQ,0CAAoB;IAEzD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,
|
|
1
|
+
{"version":3,"file":"SubscriptionCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,6GAA0G;AAC1G,2EAAwE;AACxE,+EAA4E;AAC5E,uGAAoG;AACpG,qEAAkE;AAClE,uEAAoE;AAEpE,MAAa,mBAAoB,SAAQ,0CAAoB;IAEzD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,yBAAyB,EAAE,uFAA0C;YACrE,QAAQ,EAAE,qDAAyB;YACnC,UAAU,EAAE,yDAA2B;YACvC,MAAM,EAAE,iDAAuB;YAC/B,sBAAsB,EAAE,iFAAuC;YAC/D,KAAK,EAAE,+CAAsB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAbD,kDAaC;AAAA,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SubscriptionGetCancellationOfferCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftPaymentServer_1 = require("../NamirasoftPaymentServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class SubscriptionGetCancellationOfferCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["id", "reason_id"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-payment account config \nor \nns-payment account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemory();
|
|
27
|
+
let manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-payment-server-url");
|
|
30
|
+
let server = new NamirasoftPaymentServer_1.NamirasoftPaymentServer(url, manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.subscription.GetCancellationOffer(this.arg_values[0], this.arg_values[1]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.SubscriptionGetCancellationOfferCommand = SubscriptionGetCancellationOfferCommand;
|
|
37
|
+
;
|
|
38
|
+
//# sourceMappingURL=SubscriptionGetCancellationOfferCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionGetCancellationOfferCommand.js","sourceRoot":"","sources":["../../src/command/SubscriptionGetCancellationOfferCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,wEAAqE;AACrE,2DAAkD;AAElD,MAAa,uCAAwC,SAAQ,sCAAgB;IAEzE,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,+GAA+G,CAAC,CAAC;YACrI,IAAI,OAAO,GAAG,IAAI,gCAAc,EAAE,CAAC;YACnC,IAAI,OAAO,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC/B,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;YAC5D,IAAI,MAAM,GAAG,IAAI,iDAAuB,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC9F,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACjG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,0FAmBC;AAAA,CAAC"}
|
package/dist/command/cli.js
CHANGED
|
@@ -11,6 +11,7 @@ const OneTimeCommand_1 = require("./OneTimeCommand");
|
|
|
11
11
|
const PaymentCommand_1 = require("./PaymentCommand");
|
|
12
12
|
const ProductCommand_1 = require("./ProductCommand");
|
|
13
13
|
const SalesItemCommand_1 = require("./SalesItemCommand");
|
|
14
|
+
const SubscriptionCancellationReasonCommand_1 = require("./SubscriptionCancellationReasonCommand");
|
|
14
15
|
const SubscriptionCommand_1 = require("./SubscriptionCommand");
|
|
15
16
|
const SubscriptionItemCommand_1 = require("./SubscriptionItemCommand");
|
|
16
17
|
const SubscriptionPaidCommand_1 = require("./SubscriptionPaidCommand");
|
|
@@ -23,6 +24,7 @@ let app = new namirasoft_node_cli_1.Application("ns-payment", new namirasoft_nod
|
|
|
23
24
|
"onetime": OneTimeCommand_1.OneTimeCommand,
|
|
24
25
|
"payment": PaymentCommand_1.PaymentCommand,
|
|
25
26
|
"salesitem": SalesItemCommand_1.SalesItemCommand,
|
|
27
|
+
"subscriptioncancellationreason": SubscriptionCancellationReasonCommand_1.SubscriptionCancellationReasonCommand,
|
|
26
28
|
"subscriptionitem": SubscriptionItemCommand_1.SubscriptionItemCommand,
|
|
27
29
|
"subscriptionpaid": SubscriptionPaidCommand_1.SubscriptionPaidCommand,
|
|
28
30
|
"subscription": SubscriptionCommand_1.SubscriptionCommand,
|
package/dist/command/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/command/cli.ts"],"names":[],"mappings":";;;AAqBA,2DAAoD;AACpD,6DAA+D;AAC/D,6DAAoD;AACpD,qDAAkD;AAClD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,qDAAkD;AAClD,qDAAkD;AAClD,yDAAsD;AACtD,+DAA4D;AAC5D,uEAAoE;AACpE,uEAAoE;AACpE,iDAA8C;AAE9C,IAAI,GAAG,GAAG,IAAI,iCAAW,CAAC,YAAY,EAAE,IAAI,iCAAW,EAAE,EACrD;IACI,SAAS,EAAE,+BAAc;IACzB,OAAO,EAAE,2BAAY;IACrB,SAAS,EAAE,+BAAc;IACzB,OAAO,EAAE,2BAAY;IACrB,SAAS,EAAE,+BAAc;IACzB,SAAS,EAAE,+BAAc;IACzB,WAAW,EAAE,mCAAgB;IAC7B,kBAAkB,EAAE,iDAAuB;IAC3C,kBAAkB,EAAE,iDAAuB;IAC3C,cAAc,EAAE,yCAAmB;IACnC,SAAS,EAAE,+BAAc;IACzB,SAAS,EAAE,mCAAc;IACzB,QAAQ,EAAE,CAAC,IAAc,EAAE,EAAE,CAAC,IAAI,mCAAa,CAAC,IAAI,EAAE,CAAC,uBAAuB,CAAC,CAAC;CACnF,CAAC,CAAC;AACP,GAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/command/cli.ts"],"names":[],"mappings":";;;AAqBA,2DAAoD;AACpD,6DAA+D;AAC/D,6DAAoD;AACpD,qDAAkD;AAClD,qDAAkD;AAClD,iDAA8C;AAC9C,qDAAkD;AAClD,qDAAkD;AAClD,qDAAkD;AAClD,yDAAsD;AACtD,mGAAgG;AAChG,+DAA4D;AAC5D,uEAAoE;AACpE,uEAAoE;AACpE,iDAA8C;AAE9C,IAAI,GAAG,GAAG,IAAI,iCAAW,CAAC,YAAY,EAAE,IAAI,iCAAW,EAAE,EACrD;I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