namirasoft-payment 1.4.101 → 1.4.103
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/.ns-sdkg-file-keep +1 -1
- package/dist/NamirasoftPaymentServer.js +1 -1
- package/dist/NamirasoftPaymentServer.js.map +1 -1
- package/dist/PaymentBase.d.ts +7 -7
- package/dist/PaymentBase.js +7 -7
- package/dist/PaymentBase.js.map +1 -1
- package/dist/meta/OfferItemMetaTable.d.ts +5 -6
- package/dist/meta/OfferItemMetaTable.js +5 -6
- package/dist/meta/OfferItemMetaTable.js.map +1 -1
- package/dist/row/OfferItemRow.d.ts +5 -6
- package/package.json +27 -27
- package/src/NamirasoftPaymentServer.ts +77 -77
- package/src/NamirasoftPaymentServerBase.ts +29 -29
- package/src/NamirasoftPaymentServerHealthz.ts +35 -35
- package/src/NamirasoftPaymentServerInvoice.ts +69 -69
- package/src/NamirasoftPaymentServerMeter.ts +36 -36
- package/src/NamirasoftPaymentServerMetrics.ts +35 -35
- package/src/NamirasoftPaymentServerOffer.ts +51 -51
- package/src/NamirasoftPaymentServerOfferItem.ts +37 -37
- package/src/NamirasoftPaymentServerOneTime.ts +37 -37
- package/src/NamirasoftPaymentServerPayment.ts +48 -48
- package/src/NamirasoftPaymentServerProduct.ts +48 -48
- package/src/NamirasoftPaymentServerSalesItem.ts +48 -48
- package/src/NamirasoftPaymentServerSubscription.ts +85 -85
- package/src/NamirasoftPaymentServerSubscriptionCancellationReason.ts +48 -48
- package/src/NamirasoftPaymentServerSubscriptionItem.ts +41 -41
- package/src/NamirasoftPaymentServerSubscriptionPaid.ts +55 -55
- package/src/NamirasoftPaymentServerTrial.ts +37 -37
- package/src/NamirasoftPaymentServerValue.ts +36 -36
- package/src/PaymentBase.ts +145 -145
- package/src/SubscriptionValidation.ts +63 -63
- package/src/command/HealthzCommand.ts +31 -31
- package/src/command/HealthzGetCommand.ts +44 -44
- package/src/command/InvoiceCancelCommand.ts +44 -44
- package/src/command/InvoiceCommand.ts +39 -39
- package/src/command/InvoiceGetCommand.ts +44 -44
- package/src/command/InvoiceListCommand.ts +44 -44
- package/src/command/Invoice_CreateForCommand.ts +118 -118
- package/src/command/Invoice_DeleteForCommand.ts +44 -44
- package/src/command/MeterCommand.ts +31 -31
- package/src/command/Meter_RecordForCommand.ts +91 -91
- package/src/command/MetricsCommand.ts +31 -31
- package/src/command/MetricsGetCommand.ts +44 -44
- package/src/command/OfferCommand.ts +33 -33
- package/src/command/OfferGetCommand.ts +44 -44
- package/src/command/OfferItemCommand.ts +31 -31
- package/src/command/OfferItemGetCommand.ts +44 -44
- package/src/command/OfferListCommand.ts +44 -44
- package/src/command/OneTimeCheckoutCommand.ts +82 -82
- package/src/command/OneTimeCommand.ts +31 -31
- package/src/command/PaymentCommand.ts +33 -33
- package/src/command/PaymentGetCommand.ts +44 -44
- package/src/command/PaymentListCommand.ts +44 -44
- package/src/command/ProductCommand.ts +33 -33
- package/src/command/ProductGetCommand.ts +44 -44
- package/src/command/ProductListCommand.ts +44 -44
- package/src/command/SalesItemCommand.ts +33 -33
- package/src/command/SalesItemGetCommand.ts +44 -44
- package/src/command/SalesItemListCommand.ts +44 -44
- package/src/command/SubscriptionAcceptCancellationOfferCommand.ts +73 -73
- package/src/command/SubscriptionCancelCommand.ts +64 -64
- package/src/command/SubscriptionCancellationReasonCommand.ts +33 -33
- package/src/command/SubscriptionCancellationReasonGetCommand.ts +44 -44
- package/src/command/SubscriptionCancellationReasonListCommand.ts +44 -44
- package/src/command/SubscriptionCheckoutOfferCommand.ts +73 -73
- package/src/command/SubscriptionCommand.ts +43 -43
- package/src/command/SubscriptionGetCancellationOfferCommand.ts +44 -44
- package/src/command/SubscriptionGetCommand.ts +44 -44
- package/src/command/SubscriptionItemCommand.ts +31 -31
- package/src/command/SubscriptionItemListCommand.ts +44 -44
- package/src/command/SubscriptionListCommand.ts +44 -44
- package/src/command/SubscriptionPaidCommand.ts +35 -35
- package/src/command/SubscriptionPaidGetCommand.ts +44 -44
- package/src/command/SubscriptionPaidListCommand.ts +44 -44
- package/src/command/SubscriptionPaid_ListForCommand.ts +44 -44
- package/src/command/Subscription_GetValidationForCommand.ts +44 -44
- package/src/command/TrialCommand.ts +31 -31
- package/src/command/Trial_GetForCommand.ts +44 -44
- package/src/command/ValueCommand.ts +31 -31
- package/src/command/ValueListCommand.ts +44 -44
- package/src/command/cli.ts +62 -62
- package/src/enum/GatewayType.ts +23 -23
- package/src/enum/InvoiceCostType.ts +25 -25
- package/src/enum/OfferItemExpireUnit.ts +27 -27
- package/src/enum/OfferItemOneOffModel.ts +25 -25
- package/src/enum/OfferItemRecurringDurationUnit.ts +26 -26
- package/src/enum/OfferItemRecurringModel.ts +26 -26
- package/src/enum/OfferItemRecurringTieredType.ts +24 -24
- package/src/enum/OfferItemRecurringUsageTieredType.ts +24 -24
- package/src/enum/OfferItemRecurringUsageType.ts +25 -25
- package/src/enum/OfferItemType.ts +24 -24
- package/src/enum/OfferRecurringDurationUnit.ts +26 -26
- package/src/enum/PaymentGateway.ts +23 -23
- package/src/enum/PaymentStatus.ts +26 -26
- package/src/enum/SalesItemExpireUnit.ts +27 -27
- package/src/enum/SubscriptionGateway.ts +23 -23
- package/src/enum/SubscriptionStatus.ts +30 -30
- package/src/enum/TrialUnit.ts +30 -30
- package/src/index.ts +137 -137
- package/src/meta/InvoiceCostMetaTable.ts +59 -59
- package/src/meta/InvoiceItemMetaTable.ts +75 -75
- package/src/meta/InvoiceMetaTable.ts +89 -89
- package/src/meta/NamirasoftPaymentMetaDatabase.ts +83 -83
- package/src/meta/OfferItemMetaTable.ts +135 -137
- package/src/meta/OfferMetaTable.ts +77 -77
- package/src/meta/PaymentMetaTable.ts +77 -77
- package/src/meta/ProductMetaTable.ts +59 -59
- package/src/meta/SalesItemMetaTable.ts +73 -73
- package/src/meta/SubscriptionCancellationReasonMetaTable.ts +67 -67
- package/src/meta/SubscriptionItemMetaTable.ts +61 -61
- package/src/meta/SubscriptionMetaTable.ts +67 -67
- package/src/meta/SubscriptionPaidMetaTable.ts +65 -65
- package/src/row/InvoiceCostInputRow.ts +27 -27
- package/src/row/InvoiceCostRow.ts +31 -31
- package/src/row/InvoiceFullRow.ts +49 -49
- package/src/row/InvoiceInputRow.ts +33 -33
- package/src/row/InvoiceItemInputRow.ts +29 -29
- package/src/row/InvoiceItemRow.ts +37 -37
- package/src/row/InvoiceRow.ts +44 -44
- package/src/row/OfferFullRow.ts +44 -44
- package/src/row/OfferItemRow.ts +76 -77
- package/src/row/OfferRow.ts +40 -40
- package/src/row/PaymentRow.ts +41 -41
- package/src/row/ProductRow.ts +29 -29
- package/src/row/SalesItemRow.ts +38 -38
- package/src/row/SubscriptionCancellationReasonRow.ts +33 -33
- package/src/row/SubscriptionFullRow.ts +38 -38
- package/src/row/SubscriptionItemRow.ts +30 -30
- package/src/row/SubscriptionPaidRow.ts +32 -32
- package/src/row/SubscriptionRow.ts +36 -36
- package/src/row/TrialRow.ts +34 -34
package/.ns-sdkg-file-keep
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
src/PaymentBase.ts
|
|
1
|
+
src/PaymentBase.ts
|
|
2
2
|
src/SubscriptionValidation.ts
|
|
@@ -20,7 +20,7 @@ const NamirasoftPaymentServerTrial_1 = require("./NamirasoftPaymentServerTrial")
|
|
|
20
20
|
const NamirasoftPaymentServerValue_1 = require("./NamirasoftPaymentServerValue");
|
|
21
21
|
class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
|
|
22
22
|
constructor(base_url, manager, onError) {
|
|
23
|
-
super(base_url, `1.4.
|
|
23
|
+
super(base_url, `1.4.103`, manager, onError);
|
|
24
24
|
this.healthz = new NamirasoftPaymentServerHealthz_1.NamirasoftPaymentServerHealthz(this);
|
|
25
25
|
this.metrics = new NamirasoftPaymentServerMetrics_1.NamirasoftPaymentServerMetrics(this);
|
|
26
26
|
this.value = new NamirasoftPaymentServerValue_1.NamirasoftPaymentServerValue(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,iFAA8E;AAC9E,yFAAsF;AACtF,qFAAkF;AAClF,qFAAkF;AAClF,qFAAkF;AAClF,yFAAsF;AACtF,+FAA4F;AAC5F,mIAAgI;AAChI,uGAAoG;AACpG,uGAAoG;AACpG,iFAA8E;AAC9E,iFAA8E;AAG9E,MAAa,uBAAwB,SAAQ,kCAAa;IAkBtD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"NamirasoftPaymentServer.js","sourceRoot":"","sources":["../src/NamirasoftPaymentServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,qFAAkF;AAClF,qFAAkF;AAClF,iFAA8E;AAC9E,qFAAkF;AAClF,iFAA8E;AAC9E,yFAAsF;AACtF,qFAAkF;AAClF,qFAAkF;AAClF,qFAAkF;AAClF,yFAAsF;AACtF,+FAA4F;AAC5F,mIAAgI;AAChI,uGAAoG;AACpG,uGAAoG;AACpG,iFAA8E;AAC9E,iFAA8E;AAG9E,MAAa,uBAAwB,SAAQ,kCAAa;IAkBtD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,UAAU,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,KAAK,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,QAAQ,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,OAAO,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,UAAU,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,gCAAgC,GAAG,IAAI,6GAAqD,CAAC,IAAI,CAAC,CAAC;QACxG,IAAI,CAAC,iBAAiB,GAAG,IAAI,iFAAuC,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,iBAAiB,GAAG,IAAI,iFAAuC,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,YAAY,GAAG,IAAI,yEAAmC,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;CACJ;AAtCD,0DAsCC;AAAA,CAAC"}
|
package/dist/PaymentBase.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class PaymentBase {
|
|
|
8
8
|
STANDARD: {
|
|
9
9
|
id: string;
|
|
10
10
|
items: {
|
|
11
|
-
|
|
11
|
+
USAGE_PER_RECORD: {
|
|
12
12
|
id: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -21,7 +21,7 @@ export declare class PaymentBase {
|
|
|
21
21
|
STANDARD: {
|
|
22
22
|
id: string;
|
|
23
23
|
items: {
|
|
24
|
-
|
|
24
|
+
USAGE_PER_RECORD: {
|
|
25
25
|
id: string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -34,7 +34,7 @@ export declare class PaymentBase {
|
|
|
34
34
|
STANDARD: {
|
|
35
35
|
id: string;
|
|
36
36
|
items: {
|
|
37
|
-
|
|
37
|
+
USAGE_PER_RECORD: {
|
|
38
38
|
id: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -52,7 +52,7 @@ export declare class PaymentBase {
|
|
|
52
52
|
STANDARD: {
|
|
53
53
|
id: string;
|
|
54
54
|
items: {
|
|
55
|
-
|
|
55
|
+
USAGE_PER_RECORD: {
|
|
56
56
|
id: string;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -65,7 +65,7 @@ export declare class PaymentBase {
|
|
|
65
65
|
STANDARD: {
|
|
66
66
|
id: string;
|
|
67
67
|
items: {
|
|
68
|
-
|
|
68
|
+
USAGE_PER_RECORD: {
|
|
69
69
|
id: string;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
@@ -109,7 +109,7 @@ export declare class PaymentBase {
|
|
|
109
109
|
STANDARD: {
|
|
110
110
|
id: string;
|
|
111
111
|
items: {
|
|
112
|
-
|
|
112
|
+
USAGE_PER_RECORD: {
|
|
113
113
|
id: string;
|
|
114
114
|
};
|
|
115
115
|
USAGE_PER_READ: {
|
|
@@ -130,7 +130,7 @@ export declare class PaymentBase {
|
|
|
130
130
|
STANDARD: {
|
|
131
131
|
id: string;
|
|
132
132
|
items: {
|
|
133
|
-
|
|
133
|
+
USAGE_PER_RECORD: {
|
|
134
134
|
id: string;
|
|
135
135
|
};
|
|
136
136
|
USAGE_PER_READ: {
|
package/dist/PaymentBase.js
CHANGED
|
@@ -13,7 +13,7 @@ PaymentBase.NAMIRASOFT_BILL_WATCH = {
|
|
|
13
13
|
STANDARD: {
|
|
14
14
|
id: "pym-ofr-98d1fcc64ed2",
|
|
15
15
|
items: {
|
|
16
|
-
|
|
16
|
+
USAGE_PER_RECORD: {
|
|
17
17
|
id: "pym-ofr-itm-969c9ab5"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -26,7 +26,7 @@ PaymentBase.NAMIRASOFT_BILL_WATCH = {
|
|
|
26
26
|
STANDARD: {
|
|
27
27
|
id: "pym-ofr-8e5183c3fa74",
|
|
28
28
|
items: {
|
|
29
|
-
|
|
29
|
+
USAGE_PER_RECORD: {
|
|
30
30
|
id: "pym-ofr-itm-004dddfc"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -39,7 +39,7 @@ PaymentBase.NAMIRASOFT_BILL_WATCH = {
|
|
|
39
39
|
STANDARD: {
|
|
40
40
|
id: "pym-ofr-3b1830f46f19",
|
|
41
41
|
items: {
|
|
42
|
-
|
|
42
|
+
USAGE_PER_RECORD: {
|
|
43
43
|
id: "pym-ofr-itm-7ac93d85"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -57,7 +57,7 @@ PaymentBase.NAMIRASOFT_FIELD = {
|
|
|
57
57
|
STANDARD: {
|
|
58
58
|
id: "pym-ofr-e5eda59e2f4d",
|
|
59
59
|
items: {
|
|
60
|
-
|
|
60
|
+
USAGE_PER_RECORD: {
|
|
61
61
|
id: "pym-ofr-itm-4bc1b267"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -70,7 +70,7 @@ PaymentBase.NAMIRASOFT_FIELD = {
|
|
|
70
70
|
STANDARD: {
|
|
71
71
|
id: "pym-ofr-715f15d80cec",
|
|
72
72
|
items: {
|
|
73
|
-
|
|
73
|
+
USAGE_PER_RECORD: {
|
|
74
74
|
id: "pym-ofr-itm-ff792299"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -114,7 +114,7 @@ PaymentBase.NAMIRASOFT_LOG = {
|
|
|
114
114
|
STANDARD: {
|
|
115
115
|
id: "pym-ofr-acd5b874c021",
|
|
116
116
|
items: {
|
|
117
|
-
|
|
117
|
+
USAGE_PER_RECORD: {
|
|
118
118
|
id: "pym-ofr-itm-a6afd28e"
|
|
119
119
|
},
|
|
120
120
|
USAGE_PER_READ: {
|
|
@@ -135,7 +135,7 @@ PaymentBase.NAMIRASOFT_SECRET = {
|
|
|
135
135
|
STANDARD: {
|
|
136
136
|
id: "pym-ofr-7b5502c41c5e",
|
|
137
137
|
items: {
|
|
138
|
-
|
|
138
|
+
USAGE_PER_RECORD: {
|
|
139
139
|
id: "pym-ofr-itm-b61f98d1"
|
|
140
140
|
},
|
|
141
141
|
USAGE_PER_READ: {
|
package/dist/PaymentBase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentBase.js","sourceRoot":"","sources":["../src/PaymentBase.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;;AAAxB,kCAiJC;AA/IU,iCAAqB,GAAG;IAC3B,EAAE,EAAE,sBAAsB;IAC1B,WAAW,EAAE;QACT,GAAG,EAAE;YACD,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,QAAQ,EAAE;oBACN,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,
|
|
1
|
+
{"version":3,"file":"PaymentBase.js","sourceRoot":"","sources":["../src/PaymentBase.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;;AAAxB,kCAiJC;AA/IU,iCAAqB,GAAG;IAC3B,EAAE,EAAE,sBAAsB;IAC1B,WAAW,EAAE;QACT,GAAG,EAAE;YACD,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,QAAQ,EAAE;oBACN,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,gBAAgB,EAAE;4BACd,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;QACD,KAAK,EAAE;YACH,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,QAAQ,EAAE;oBACN,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,gBAAgB,EAAE;4BACd,EAAE,E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AAE,EAAE,sBAAsB;IAC1B,WAAW,EAAE;QACT,GAAG,EAAE;YACD,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,QAAQ,EAAE;oBACN,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,gBAAgB,EAAE;4BACd,EAAE,EAAE,sBAAsB;yBAC7B;wBACD,cAAc,EAAE;4BACZ,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AACK,6BAAiB,GAAG;IACvB,EAAE,EAAE,sBAAsB;IAC1B,WAAW,EAAE;QACT,MAAM,EAAE;YACJ,EAAE,EAAE,sBAAsB;YAC1B,MAAM,EAAE;gBACJ,QAAQ,EAAE;oBACN,EAAE,EAAE,sBAAsB;oBAC1B,KAAK,EAAE;wBACH,gBAAgB,EAAE;4BACd,EAAE,EAAE,sBAAsB;yBAC7B;wBACD,cAAc,EAAE;4BACZ,EAAE,EAAE,sBAAsB;yBAC7B;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AACL,CAAC"}
|
|
@@ -20,8 +20,8 @@ export declare class OfferItemMetaTable extends NSBaseMetaTable<NamirasoftPaymen
|
|
|
20
20
|
one_off_model: BaseMetaColumn;
|
|
21
21
|
one_off_flat_amount: BaseMetaColumn;
|
|
22
22
|
one_off_package_amount: BaseMetaColumn;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
one_off_package_per_value: BaseMetaColumn;
|
|
24
|
+
one_off_package_per_unit: BaseMetaColumn;
|
|
25
25
|
one_off_choosable_on_gateway: BaseMetaColumn;
|
|
26
26
|
one_off_choosable_suggested_amount: BaseMetaColumn;
|
|
27
27
|
one_off_choosable_limit_min: BaseMetaColumn;
|
|
@@ -36,13 +36,12 @@ export declare class OfferItemMetaTable extends NSBaseMetaTable<NamirasoftPaymen
|
|
|
36
36
|
recurring_tiered_type: BaseMetaColumn;
|
|
37
37
|
recurring_tiered_amounts: BaseMetaColumn;
|
|
38
38
|
recurring_usage_type: BaseMetaColumn;
|
|
39
|
-
|
|
40
|
-
recurring_usage_duration: BaseMetaColumn;
|
|
39
|
+
recurring_usage_unit: BaseMetaColumn;
|
|
41
40
|
recurring_usage_meter_event_name: BaseMetaColumn;
|
|
42
41
|
recurring_usage_unit_amount: BaseMetaColumn;
|
|
43
42
|
recurring_usage_package_amount: BaseMetaColumn;
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
recurring_usage_package_per_value: BaseMetaColumn;
|
|
44
|
+
recurring_usage_package_per_unit: BaseMetaColumn;
|
|
46
45
|
recurring_usage_tiered_type: BaseMetaColumn;
|
|
47
46
|
recurring_usage_tiered_amounts: BaseMetaColumn;
|
|
48
47
|
currency: BaseMetaColumn;
|
|
@@ -32,8 +32,8 @@ class OfferItemMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
32
32
|
one_off_model: new namirasoft_core_1.BaseMetaColumn(this, "one_off_model", "One Off Model", "Enum", false),
|
|
33
33
|
one_off_flat_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_flat_amount", "One Off Flat Amount", "Integer", false),
|
|
34
34
|
one_off_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_amount", "One Off Package Amount", "Integer", false),
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
one_off_package_per_value: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_per_value", "One Off Package Per Value", "Integer", false),
|
|
36
|
+
one_off_package_per_unit: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_per_unit", "One Off Package Per Unit", "String", false),
|
|
37
37
|
one_off_choosable_on_gateway: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_on_gateway", "One Off Choosable On Gateway", "Boolean", false),
|
|
38
38
|
one_off_choosable_suggested_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_suggested_amount", "One Off Choosable Suggested Amount", "Integer", false),
|
|
39
39
|
one_off_choosable_limit_min: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_limit_min", "One Off Choosable Limit Min", "Integer", false),
|
|
@@ -48,13 +48,12 @@ class OfferItemMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
48
48
|
recurring_tiered_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_tiered_type", "Recurring Tiered Type", "Enum", false),
|
|
49
49
|
recurring_tiered_amounts: new namirasoft_core_1.BaseMetaColumn(this, "recurring_tiered_amounts", "Recurring Tiered Amounts", "Any", false),
|
|
50
50
|
recurring_usage_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_type", "Recurring Usage Type", "Enum", false),
|
|
51
|
-
|
|
52
|
-
recurring_usage_duration: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_duration", "Recurring Usage Duration", "String", false),
|
|
51
|
+
recurring_usage_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_unit", "Recurring Usage Unit", "String", false),
|
|
53
52
|
recurring_usage_meter_event_name: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_meter_event_name", "Recurring Usage Meter Event Name", "String", false),
|
|
54
53
|
recurring_usage_unit_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_unit_amount", "Recurring Usage Unit Amount", "Integer", false),
|
|
55
54
|
recurring_usage_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_amount", "Recurring Usage Package Amount", "Integer", false),
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
recurring_usage_package_per_value: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_per_value", "Recurring Usage Package Per Value", "Integer", false),
|
|
56
|
+
recurring_usage_package_per_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_per_unit", "Recurring Usage Package Per Unit", "String", false),
|
|
58
57
|
recurring_usage_tiered_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_tiered_type", "Recurring Usage Tiered Type", "Enum", false),
|
|
59
58
|
recurring_usage_tiered_amounts: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_tiered_amounts", "Recurring Usage Tiered Amounts", "Any", false),
|
|
60
59
|
currency: new namirasoft_core_1.BaseMetaColumn(this, "currency", "Currency", "String", true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfferItemMetaTable.js","sourceRoot":"","sources":["../../src/meta/OfferItemMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAAiF;AACjF,qDAAsE;AAItE,MAAa,kBAAmB,SAAQ,iCAAsD;
|
|
1
|
+
{"version":3,"file":"OfferItemMetaTable.js","sourceRoot":"","sources":["../../src/meta/OfferItemMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAAiF;AACjF,qDAAsE;AAItE,MAAa,kBAAmB,SAAQ,iCAAsD;IAiD1F,YAAY,QAAqD;QAE7D,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,IAAI,0BAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;QACzE,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC;YAChF,aAAa,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,CAAC;YACzF,QAAQ,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC1E,IAAI,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC9D,IAAI,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAA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c,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC;YAC9E,WAAW,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;YACnF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAO,EAAU,EAAE,EAAE;YAErC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;QACxD,CAAC,CAAA,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAO,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,EAAE;YAEzH,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;YACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACzD,CAAC,CAAA,CAAC;IACN,CAAC;CACJ;AA9GD,gDA8GC;AAAA,CAAC"}
|
|
@@ -23,8 +23,8 @@ export type OfferItemRow = {
|
|
|
23
23
|
one_off_model: (OfferItemOneOffModel | null);
|
|
24
24
|
one_off_flat_amount: (number | null);
|
|
25
25
|
one_off_package_amount: (number | null);
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
one_off_package_per_value: (number | null);
|
|
27
|
+
one_off_package_per_unit: (string | null);
|
|
28
28
|
one_off_choosable_on_gateway: (boolean | null);
|
|
29
29
|
one_off_choosable_suggested_amount: (number | null);
|
|
30
30
|
one_off_choosable_limit_min: (number | null);
|
|
@@ -39,13 +39,12 @@ export type OfferItemRow = {
|
|
|
39
39
|
recurring_tiered_type: (OfferItemRecurringTieredType | null);
|
|
40
40
|
recurring_tiered_amounts: (any | null);
|
|
41
41
|
recurring_usage_type: (OfferItemRecurringUsageType | null);
|
|
42
|
-
|
|
43
|
-
recurring_usage_duration: (string | null);
|
|
42
|
+
recurring_usage_unit: (string | null);
|
|
44
43
|
recurring_usage_meter_event_name: (string | null);
|
|
45
44
|
recurring_usage_unit_amount: (number | null);
|
|
46
45
|
recurring_usage_package_amount: (number | null);
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
recurring_usage_package_per_value: (number | null);
|
|
47
|
+
recurring_usage_package_per_unit: (string | null);
|
|
49
48
|
recurring_usage_tiered_type: (OfferItemRecurringUsageTieredType | null);
|
|
50
49
|
recurring_usage_tiered_amounts: (any | null);
|
|
51
50
|
currency: string;
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "namirasoft-payment",
|
|
3
|
-
"title": "Namirasoft Payment NPM Package",
|
|
4
|
-
"description": "Namira Software Corporation Payment NPM Package",
|
|
5
|
-
"icon": "logo.png",
|
|
6
|
-
"logo": "https://static.namirasoft.com/image/namirasoft/payment/logo/base.png",
|
|
7
|
-
"language": "ts",
|
|
8
|
-
"framework": "npm",
|
|
9
|
-
"application": "package",
|
|
10
|
-
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
12
|
-
"author": "Amir Abolhasani",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"main": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": ""
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"namirasoft-core": "^1.4.80",
|
|
21
|
-
"namirasoft-site": "^1.4.39",
|
|
22
|
-
"namirasoft-node-cli": "^1.4.7",
|
|
23
|
-
"namirasoft-account": "^1.4.85"
|
|
24
|
-
},
|
|
25
|
-
"bin": {
|
|
26
|
-
"ns-payment": "./dist/command/cli.js"
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "namirasoft-payment",
|
|
3
|
+
"title": "Namirasoft Payment NPM Package",
|
|
4
|
+
"description": "Namira Software Corporation Payment NPM Package",
|
|
5
|
+
"icon": "logo.png",
|
|
6
|
+
"logo": "https://static.namirasoft.com/image/namirasoft/payment/logo/base.png",
|
|
7
|
+
"language": "ts",
|
|
8
|
+
"framework": "npm",
|
|
9
|
+
"application": "package",
|
|
10
|
+
"private": false,
|
|
11
|
+
"version": "1.4.103",
|
|
12
|
+
"author": "Amir Abolhasani",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": ""
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"namirasoft-core": "^1.4.80",
|
|
21
|
+
"namirasoft-site": "^1.4.39",
|
|
22
|
+
"namirasoft-node-cli": "^1.4.7",
|
|
23
|
+
"namirasoft-account": "^1.4.85"
|
|
24
|
+
},
|
|
25
|
+
"bin": {
|
|
26
|
+
"ns-payment": "./dist/command/cli.js"
|
|
27
|
+
}
|
|
28
28
|
}
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
/****************************************************************/
|
|
2
|
-
/* */
|
|
3
|
-
/* This is an Auto-Generated File */
|
|
4
|
-
/* Made By */
|
|
5
|
-
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
-
/* */
|
|
7
|
-
/****************************************************************/
|
|
8
|
-
/****************************************************************/
|
|
9
|
-
/* */
|
|
10
|
-
/* Please do not make any change to this file */
|
|
11
|
-
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { NSABaseServer } from "namirasoft-account";
|
|
22
|
-
import { NamirasoftPaymentServerHealthz } from "./NamirasoftPaymentServerHealthz";
|
|
23
|
-
import { NamirasoftPaymentServerInvoice } from "./NamirasoftPaymentServerInvoice";
|
|
24
|
-
import { NamirasoftPaymentServerMeter } from "./NamirasoftPaymentServerMeter";
|
|
25
|
-
import { NamirasoftPaymentServerMetrics } from "./NamirasoftPaymentServerMetrics";
|
|
26
|
-
import { NamirasoftPaymentServerOffer } from "./NamirasoftPaymentServerOffer";
|
|
27
|
-
import { NamirasoftPaymentServerOfferItem } from "./NamirasoftPaymentServerOfferItem";
|
|
28
|
-
import { NamirasoftPaymentServerOneTime } from "./NamirasoftPaymentServerOneTime";
|
|
29
|
-
import { NamirasoftPaymentServerPayment } from "./NamirasoftPaymentServerPayment";
|
|
30
|
-
import { NamirasoftPaymentServerProduct } from "./NamirasoftPaymentServerProduct";
|
|
31
|
-
import { NamirasoftPaymentServerSalesItem } from "./NamirasoftPaymentServerSalesItem";
|
|
32
|
-
import { NamirasoftPaymentServerSubscription } from "./NamirasoftPaymentServerSubscription";
|
|
33
|
-
import { NamirasoftPaymentServerSubscriptionCancellationReason } from "./NamirasoftPaymentServerSubscriptionCancellationReason";
|
|
34
|
-
import { NamirasoftPaymentServerSubscriptionItem } from "./NamirasoftPaymentServerSubscriptionItem";
|
|
35
|
-
import { NamirasoftPaymentServerSubscriptionPaid } from "./NamirasoftPaymentServerSubscriptionPaid";
|
|
36
|
-
import { NamirasoftPaymentServerTrial } from "./NamirasoftPaymentServerTrial";
|
|
37
|
-
import { NamirasoftPaymentServerValue } from "./NamirasoftPaymentServerValue";
|
|
38
|
-
import { TokenManager } from "namirasoft-account";
|
|
39
|
-
|
|
40
|
-
export class NamirasoftPaymentServer extends NSABaseServer
|
|
41
|
-
{
|
|
42
|
-
healthz: NamirasoftPaymentServerHealthz;
|
|
43
|
-
metrics: NamirasoftPaymentServerMetrics;
|
|
44
|
-
value: NamirasoftPaymentServerValue;
|
|
45
|
-
invoice: NamirasoftPaymentServerInvoice;
|
|
46
|
-
meter: NamirasoftPaymentServerMeter;
|
|
47
|
-
offer_item: NamirasoftPaymentServerOfferItem;
|
|
48
|
-
offer: NamirasoftPaymentServerOffer;
|
|
49
|
-
one_time: NamirasoftPaymentServerOneTime;
|
|
50
|
-
payment: NamirasoftPaymentServerPayment;
|
|
51
|
-
sales_item: NamirasoftPaymentServerSalesItem;
|
|
52
|
-
subscription_cancellation_reason: NamirasoftPaymentServerSubscriptionCancellationReason;
|
|
53
|
-
subscription_item: NamirasoftPaymentServerSubscriptionItem;
|
|
54
|
-
subscription_paid: NamirasoftPaymentServerSubscriptionPaid;
|
|
55
|
-
subscription: NamirasoftPaymentServerSubscription;
|
|
56
|
-
trial: NamirasoftPaymentServerTrial;
|
|
57
|
-
product: NamirasoftPaymentServerProduct;
|
|
58
|
-
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
59
|
-
{
|
|
60
|
-
super(base_url, `1.4.
|
|
61
|
-
this.healthz = new NamirasoftPaymentServerHealthz(this);
|
|
62
|
-
this.metrics = new NamirasoftPaymentServerMetrics(this);
|
|
63
|
-
this.value = new NamirasoftPaymentServerValue(this);
|
|
64
|
-
this.invoice = new NamirasoftPaymentServerInvoice(this);
|
|
65
|
-
this.meter = new NamirasoftPaymentServerMeter(this);
|
|
66
|
-
this.offer_item = new NamirasoftPaymentServerOfferItem(this);
|
|
67
|
-
this.offer = new NamirasoftPaymentServerOffer(this);
|
|
68
|
-
this.one_time = new NamirasoftPaymentServerOneTime(this);
|
|
69
|
-
this.payment = new NamirasoftPaymentServerPayment(this);
|
|
70
|
-
this.sales_item = new NamirasoftPaymentServerSalesItem(this);
|
|
71
|
-
this.subscription_cancellation_reason = new NamirasoftPaymentServerSubscriptionCancellationReason(this);
|
|
72
|
-
this.subscription_item = new NamirasoftPaymentServerSubscriptionItem(this);
|
|
73
|
-
this.subscription_paid = new NamirasoftPaymentServerSubscriptionPaid(this);
|
|
74
|
-
this.subscription = new NamirasoftPaymentServerSubscription(this);
|
|
75
|
-
this.trial = new NamirasoftPaymentServerTrial(this);
|
|
76
|
-
this.product = new NamirasoftPaymentServerProduct(this);
|
|
77
|
-
}
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { NSABaseServer } from "namirasoft-account";
|
|
22
|
+
import { NamirasoftPaymentServerHealthz } from "./NamirasoftPaymentServerHealthz";
|
|
23
|
+
import { NamirasoftPaymentServerInvoice } from "./NamirasoftPaymentServerInvoice";
|
|
24
|
+
import { NamirasoftPaymentServerMeter } from "./NamirasoftPaymentServerMeter";
|
|
25
|
+
import { NamirasoftPaymentServerMetrics } from "./NamirasoftPaymentServerMetrics";
|
|
26
|
+
import { NamirasoftPaymentServerOffer } from "./NamirasoftPaymentServerOffer";
|
|
27
|
+
import { NamirasoftPaymentServerOfferItem } from "./NamirasoftPaymentServerOfferItem";
|
|
28
|
+
import { NamirasoftPaymentServerOneTime } from "./NamirasoftPaymentServerOneTime";
|
|
29
|
+
import { NamirasoftPaymentServerPayment } from "./NamirasoftPaymentServerPayment";
|
|
30
|
+
import { NamirasoftPaymentServerProduct } from "./NamirasoftPaymentServerProduct";
|
|
31
|
+
import { NamirasoftPaymentServerSalesItem } from "./NamirasoftPaymentServerSalesItem";
|
|
32
|
+
import { NamirasoftPaymentServerSubscription } from "./NamirasoftPaymentServerSubscription";
|
|
33
|
+
import { NamirasoftPaymentServerSubscriptionCancellationReason } from "./NamirasoftPaymentServerSubscriptionCancellationReason";
|
|
34
|
+
import { NamirasoftPaymentServerSubscriptionItem } from "./NamirasoftPaymentServerSubscriptionItem";
|
|
35
|
+
import { NamirasoftPaymentServerSubscriptionPaid } from "./NamirasoftPaymentServerSubscriptionPaid";
|
|
36
|
+
import { NamirasoftPaymentServerTrial } from "./NamirasoftPaymentServerTrial";
|
|
37
|
+
import { NamirasoftPaymentServerValue } from "./NamirasoftPaymentServerValue";
|
|
38
|
+
import { TokenManager } from "namirasoft-account";
|
|
39
|
+
|
|
40
|
+
export class NamirasoftPaymentServer extends NSABaseServer
|
|
41
|
+
{
|
|
42
|
+
healthz: NamirasoftPaymentServerHealthz;
|
|
43
|
+
metrics: NamirasoftPaymentServerMetrics;
|
|
44
|
+
value: NamirasoftPaymentServerValue;
|
|
45
|
+
invoice: NamirasoftPaymentServerInvoice;
|
|
46
|
+
meter: NamirasoftPaymentServerMeter;
|
|
47
|
+
offer_item: NamirasoftPaymentServerOfferItem;
|
|
48
|
+
offer: NamirasoftPaymentServerOffer;
|
|
49
|
+
one_time: NamirasoftPaymentServerOneTime;
|
|
50
|
+
payment: NamirasoftPaymentServerPayment;
|
|
51
|
+
sales_item: NamirasoftPaymentServerSalesItem;
|
|
52
|
+
subscription_cancellation_reason: NamirasoftPaymentServerSubscriptionCancellationReason;
|
|
53
|
+
subscription_item: NamirasoftPaymentServerSubscriptionItem;
|
|
54
|
+
subscription_paid: NamirasoftPaymentServerSubscriptionPaid;
|
|
55
|
+
subscription: NamirasoftPaymentServerSubscription;
|
|
56
|
+
trial: NamirasoftPaymentServerTrial;
|
|
57
|
+
product: NamirasoftPaymentServerProduct;
|
|
58
|
+
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
59
|
+
{
|
|
60
|
+
super(base_url, `1.4.103`, manager, onError);
|
|
61
|
+
this.healthz = new NamirasoftPaymentServerHealthz(this);
|
|
62
|
+
this.metrics = new NamirasoftPaymentServerMetrics(this);
|
|
63
|
+
this.value = new NamirasoftPaymentServerValue(this);
|
|
64
|
+
this.invoice = new NamirasoftPaymentServerInvoice(this);
|
|
65
|
+
this.meter = new NamirasoftPaymentServerMeter(this);
|
|
66
|
+
this.offer_item = new NamirasoftPaymentServerOfferItem(this);
|
|
67
|
+
this.offer = new NamirasoftPaymentServerOffer(this);
|
|
68
|
+
this.one_time = new NamirasoftPaymentServerOneTime(this);
|
|
69
|
+
this.payment = new NamirasoftPaymentServerPayment(this);
|
|
70
|
+
this.sales_item = new NamirasoftPaymentServerSalesItem(this);
|
|
71
|
+
this.subscription_cancellation_reason = new NamirasoftPaymentServerSubscriptionCancellationReason(this);
|
|
72
|
+
this.subscription_item = new NamirasoftPaymentServerSubscriptionItem(this);
|
|
73
|
+
this.subscription_paid = new NamirasoftPaymentServerSubscriptionPaid(this);
|
|
74
|
+
this.subscription = new NamirasoftPaymentServerSubscription(this);
|
|
75
|
+
this.trial = new NamirasoftPaymentServerTrial(this);
|
|
76
|
+
this.product = new NamirasoftPaymentServerProduct(this);
|
|
77
|
+
}
|
|
78
78
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/****************************************************************/
|
|
2
|
-
/* */
|
|
3
|
-
/* This is an Auto-Generated File */
|
|
4
|
-
/* Made By */
|
|
5
|
-
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
-
/* */
|
|
7
|
-
/****************************************************************/
|
|
8
|
-
/****************************************************************/
|
|
9
|
-
/* */
|
|
10
|
-
/* Please do not make any change to this file */
|
|
11
|
-
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { NamirasoftPaymentServer } from "./NamirasoftPaymentServer";
|
|
22
|
-
|
|
23
|
-
export class NamirasoftPaymentServerBase
|
|
24
|
-
{
|
|
25
|
-
public server: NamirasoftPaymentServer;
|
|
26
|
-
constructor(server: NamirasoftPaymentServer)
|
|
27
|
-
{
|
|
28
|
-
this.server = server;
|
|
29
|
-
}
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { NamirasoftPaymentServer } from "./NamirasoftPaymentServer";
|
|
22
|
+
|
|
23
|
+
export class NamirasoftPaymentServerBase
|
|
24
|
+
{
|
|
25
|
+
public server: NamirasoftPaymentServer;
|
|
26
|
+
constructor(server: NamirasoftPaymentServer)
|
|
27
|
+
{
|
|
28
|
+
this.server = server;
|
|
29
|
+
}
|
|
30
30
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
/****************************************************************/
|
|
2
|
-
/* */
|
|
3
|
-
/* This is an Auto-Generated File */
|
|
4
|
-
/* Made By */
|
|
5
|
-
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
-
/* */
|
|
7
|
-
/****************************************************************/
|
|
8
|
-
/****************************************************************/
|
|
9
|
-
/* */
|
|
10
|
-
/* Please do not make any change to this file */
|
|
11
|
-
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { NamirasoftPaymentServer } from "./NamirasoftPaymentServer";
|
|
22
|
-
import { NamirasoftPaymentServerBase } from "./NamirasoftPaymentServerBase";
|
|
23
|
-
|
|
24
|
-
export class NamirasoftPaymentServerHealthz extends NamirasoftPaymentServerBase
|
|
25
|
-
{
|
|
26
|
-
constructor(server: NamirasoftPaymentServer)
|
|
27
|
-
{
|
|
28
|
-
super(server);
|
|
29
|
-
this.Get = this.Get.bind(this);
|
|
30
|
-
}
|
|
31
|
-
async Get(): Promise<void>
|
|
32
|
-
{
|
|
33
|
-
let path = `/healthz`;
|
|
34
|
-
await this.server._get<void>(path, {});
|
|
35
|
-
}
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { NamirasoftPaymentServer } from "./NamirasoftPaymentServer";
|
|
22
|
+
import { NamirasoftPaymentServerBase } from "./NamirasoftPaymentServerBase";
|
|
23
|
+
|
|
24
|
+
export class NamirasoftPaymentServerHealthz extends NamirasoftPaymentServerBase
|
|
25
|
+
{
|
|
26
|
+
constructor(server: NamirasoftPaymentServer)
|
|
27
|
+
{
|
|
28
|
+
super(server);
|
|
29
|
+
this.Get = this.Get.bind(this);
|
|
30
|
+
}
|
|
31
|
+
async Get(): Promise<void>
|
|
32
|
+
{
|
|
33
|
+
let path = `/healthz`;
|
|
34
|
+
await this.server._get<void>(path, {});
|
|
35
|
+
}
|
|
36
36
|
};
|