namirasoft-payment 1.4.134 → 1.4.135
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/meta/InvoiceCostMetaTable.js +1 -1
- package/dist/meta/InvoiceItemMetaTable.js +2 -2
- package/dist/meta/InvoiceMetaTable.js +8 -8
- package/dist/meta/OfferItemMetaTable.js +7 -7
- package/dist/meta/OfferMetaTable.js +1 -1
- package/dist/meta/PaymentMetaTable.js +1 -1
- package/dist/row/OfferFullRow.d.ts +1 -1
- package/dist/row/OfferRow.d.ts +1 -1
- package/package.json +1 -1
- package/src/NamirasoftPaymentServer.ts +1 -1
- package/src/meta/InvoiceCostMetaTable.ts +1 -1
- package/src/meta/InvoiceItemMetaTable.ts +2 -2
- package/src/meta/InvoiceMetaTable.ts +8 -8
- package/src/meta/OfferItemMetaTable.ts +7 -7
- package/src/meta/OfferMetaTable.ts +1 -1
- package/src/meta/PaymentMetaTable.ts +1 -1
- package/src/row/OfferFullRow.ts +1 -1
- package/src/row/OfferRow.ts +1 -1
|
@@ -21,7 +21,7 @@ const NamirasoftPaymentServerTrial_1 = require("./NamirasoftPaymentServerTrial")
|
|
|
21
21
|
const NamirasoftPaymentServerValue_1 = require("./NamirasoftPaymentServerValue");
|
|
22
22
|
class NamirasoftPaymentServer extends namirasoft_account_1.NSABaseServer {
|
|
23
23
|
constructor(base_url, token_manager, onError) {
|
|
24
|
-
super(base_url, `1.4.
|
|
24
|
+
super(base_url, `1.4.135`, token_manager, onError);
|
|
25
25
|
this.healthz = new NamirasoftPaymentServerHealthz_1.NamirasoftPaymentServerHealthz(this);
|
|
26
26
|
this.health = new NamirasoftPaymentServerHealth_1.NamirasoftPaymentServerHealth(this);
|
|
27
27
|
this.metrics = new NamirasoftPaymentServerMetrics_1.NamirasoftPaymentServerMetrics(this);
|
|
@@ -10,7 +10,7 @@ class InvoiceCostMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
10
10
|
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
11
11
|
invoice_id: new namirasoft_core_1.BaseMetaColumn(this, "invoice_id", "Invoice ID", "String", true),
|
|
12
12
|
type: new namirasoft_core_1.BaseMetaColumn(this, "type", "Type", "Enum", false),
|
|
13
|
-
amount: new namirasoft_core_1.BaseMetaColumn(this, "amount", "Amount", "
|
|
13
|
+
amount: new namirasoft_core_1.BaseMetaColumn(this, "amount", "Amount", "Decimal", true),
|
|
14
14
|
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
15
15
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
16
16
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -17,8 +17,8 @@ class InvoiceItemMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
17
17
|
transaction_id_expiry: new namirasoft_core_1.BaseMetaColumn(this, "transaction_id_expiry", "Transaction ID Expiry", "String", false),
|
|
18
18
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
19
19
|
quantity: new namirasoft_core_1.BaseMetaColumn(this, "quantity", "Quantity", "Integer", true),
|
|
20
|
-
price: new namirasoft_core_1.BaseMetaColumn(this, "price", "Price", "
|
|
21
|
-
total: new namirasoft_core_1.BaseMetaColumn(this, "total", "Total", "
|
|
20
|
+
price: new namirasoft_core_1.BaseMetaColumn(this, "price", "Price", "Decimal", false),
|
|
21
|
+
total: new namirasoft_core_1.BaseMetaColumn(this, "total", "Total", "Decimal", true),
|
|
22
22
|
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
23
23
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
24
24
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -26,14 +26,14 @@ class InvoiceMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
26
26
|
title: new namirasoft_core_1.BaseMetaColumn(this, "title", "Title", "String", true),
|
|
27
27
|
refund: new namirasoft_core_1.BaseMetaColumn(this, "refund", "Refund", "Boolean", true),
|
|
28
28
|
canceled: new namirasoft_core_1.BaseMetaColumn(this, "canceled", "Canceled", "Boolean", true),
|
|
29
|
-
total: new namirasoft_core_1.BaseMetaColumn(this, "total", "Total", "
|
|
30
|
-
total_fee: new namirasoft_core_1.BaseMetaColumn(this, "total_fee", "Total Fee", "
|
|
31
|
-
total_discount: new namirasoft_core_1.BaseMetaColumn(this, "total_discount", "Total Discount", "
|
|
32
|
-
total_tax: new namirasoft_core_1.BaseMetaColumn(this, "total_tax", "Total Tax", "
|
|
33
|
-
total_payable: new namirasoft_core_1.BaseMetaColumn(this, "total_payable", "Total Payable", "
|
|
34
|
-
total_paid: new namirasoft_core_1.BaseMetaColumn(this, "total_paid", "Total Paid", "
|
|
35
|
-
total_refunded: new namirasoft_core_1.BaseMetaColumn(this, "total_refunded", "Total Refunded", "
|
|
36
|
-
total_balance: new namirasoft_core_1.BaseMetaColumn(this, "total_balance", "Total Balance", "
|
|
29
|
+
total: new namirasoft_core_1.BaseMetaColumn(this, "total", "Total", "Decimal", true),
|
|
30
|
+
total_fee: new namirasoft_core_1.BaseMetaColumn(this, "total_fee", "Total Fee", "Decimal", true),
|
|
31
|
+
total_discount: new namirasoft_core_1.BaseMetaColumn(this, "total_discount", "Total Discount", "Decimal", true),
|
|
32
|
+
total_tax: new namirasoft_core_1.BaseMetaColumn(this, "total_tax", "Total Tax", "Decimal", true),
|
|
33
|
+
total_payable: new namirasoft_core_1.BaseMetaColumn(this, "total_payable", "Total Payable", "Decimal", true),
|
|
34
|
+
total_paid: new namirasoft_core_1.BaseMetaColumn(this, "total_paid", "Total Paid", "Decimal", true),
|
|
35
|
+
total_refunded: new namirasoft_core_1.BaseMetaColumn(this, "total_refunded", "Total Refunded", "Decimal", true),
|
|
36
|
+
total_balance: new namirasoft_core_1.BaseMetaColumn(this, "total_balance", "Total Balance", "Decimal", true),
|
|
37
37
|
currency: new namirasoft_core_1.BaseMetaColumn(this, "currency", "Currency", "String", true),
|
|
38
38
|
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
39
39
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
@@ -21,18 +21,18 @@ class OfferItemMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
21
21
|
expire_unit: new namirasoft_core_1.BaseMetaColumn(this, "expire_unit", "Expire Unit", "Enum", false),
|
|
22
22
|
type: new namirasoft_core_1.BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
23
23
|
one_off_model: new namirasoft_core_1.BaseMetaColumn(this, "one_off_model", "One Off Model", "Enum", false),
|
|
24
|
-
one_off_flat_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_flat_amount", "One Off Flat Amount", "
|
|
25
|
-
one_off_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_amount", "One Off Package Amount", "
|
|
24
|
+
one_off_flat_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_flat_amount", "One Off Flat Amount", "Decimal", false),
|
|
25
|
+
one_off_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_amount", "One Off Package Amount", "Decimal", false),
|
|
26
26
|
one_off_package_per_value: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_per_value", "One Off Package Per Value", "Integer", false),
|
|
27
27
|
one_off_package_per_unit: new namirasoft_core_1.BaseMetaColumn(this, "one_off_package_per_unit", "One Off Package Per Unit", "String", false),
|
|
28
|
-
one_off_choosable_suggested_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_suggested_amount", "One Off Choosable Suggested Amount", "
|
|
28
|
+
one_off_choosable_suggested_amount: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_suggested_amount", "One Off Choosable Suggested Amount", "Decimal", false),
|
|
29
29
|
one_off_choosable_limit_min: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_limit_min", "One Off Choosable Limit Min", "Integer", false),
|
|
30
30
|
one_off_choosable_limit_max: new namirasoft_core_1.BaseMetaColumn(this, "one_off_choosable_limit_max", "One Off Choosable Limit Max", "Integer", false),
|
|
31
31
|
recurring_model: new namirasoft_core_1.BaseMetaColumn(this, "recurring_model", "Recurring Model", "Enum", false),
|
|
32
32
|
recurring_duration_value: new namirasoft_core_1.BaseMetaColumn(this, "recurring_duration_value", "Recurring Duration Value", "Integer", false),
|
|
33
33
|
recurring_duration_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_duration_unit", "Recurring Duration Unit", "Enum", false),
|
|
34
|
-
recurring_flat_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_flat_amount", "Recurring Flat Amount", "
|
|
35
|
-
recurring_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_package_amount", "Recurring Package Amount", "
|
|
34
|
+
recurring_flat_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_flat_amount", "Recurring Flat Amount", "Decimal", false),
|
|
35
|
+
recurring_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_package_amount", "Recurring Package Amount", "Decimal", false),
|
|
36
36
|
recurring_package_per_value: new namirasoft_core_1.BaseMetaColumn(this, "recurring_package_per_value", "Recurring Package Per Value", "Integer", false),
|
|
37
37
|
recurring_package_per_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_package_per_unit", "Recurring Package Per Unit", "String", false),
|
|
38
38
|
recurring_tiered_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_tiered_type", "Recurring Tiered Type", "Enum", false),
|
|
@@ -40,8 +40,8 @@ class OfferItemMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
40
40
|
recurring_usage_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_type", "Recurring Usage Type", "Enum", false),
|
|
41
41
|
recurring_usage_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_unit", "Recurring Usage Unit", "String", false),
|
|
42
42
|
recurring_usage_meter_event_name: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_meter_event_name", "Recurring Usage Meter Event Name", "String", false),
|
|
43
|
-
recurring_usage_unit_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_unit_amount", "Recurring Usage Unit Amount", "
|
|
44
|
-
recurring_usage_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_amount", "Recurring Usage Package Amount", "
|
|
43
|
+
recurring_usage_unit_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_unit_amount", "Recurring Usage Unit Amount", "Decimal", false),
|
|
44
|
+
recurring_usage_package_amount: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_amount", "Recurring Usage Package Amount", "Decimal", false),
|
|
45
45
|
recurring_usage_package_per_value: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_per_value", "Recurring Usage Package Per Value", "Integer", false),
|
|
46
46
|
recurring_usage_package_per_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_package_per_unit", "Recurring Usage Package Per Unit", "String", false),
|
|
47
47
|
recurring_usage_tiered_type: new namirasoft_core_1.BaseMetaColumn(this, "recurring_usage_tiered_type", "Recurring Usage Tiered Type", "Enum", false),
|
|
@@ -22,7 +22,7 @@ class OfferMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
logo: new namirasoft_core_1.BaseMetaColumn(this, "logo", "Logo", "String", false),
|
|
24
24
|
order: new namirasoft_core_1.BaseMetaColumn(this, "order", "Order", "Integer", true),
|
|
25
|
-
recurring: new namirasoft_core_1.BaseMetaColumn(this, "recurring", "Recurring", "
|
|
25
|
+
recurring: new namirasoft_core_1.BaseMetaColumn(this, "recurring", "Recurring", "Boolean", true),
|
|
26
26
|
recurring_duration_value: new namirasoft_core_1.BaseMetaColumn(this, "recurring_duration_value", "Recurring Duration Value", "Integer", false),
|
|
27
27
|
recurring_duration_unit: new namirasoft_core_1.BaseMetaColumn(this, "recurring_duration_unit", "Recurring Duration Unit", "Enum", false),
|
|
28
28
|
applies_at: new namirasoft_core_1.BaseMetaColumn(this, "applies_at", "Applies At", "DateTime", false),
|
|
@@ -27,7 +27,7 @@ class PaymentMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
27
27
|
gateway: new namirasoft_core_1.BaseMetaColumn(this, "gateway", "Gateway", "Enum", true),
|
|
28
28
|
refund: new namirasoft_core_1.BaseMetaColumn(this, "refund", "Refund", "Boolean", true),
|
|
29
29
|
status: new namirasoft_core_1.BaseMetaColumn(this, "status", "Status", "Enum", true),
|
|
30
|
-
amount: new namirasoft_core_1.BaseMetaColumn(this, "amount", "Amount", "
|
|
30
|
+
amount: new namirasoft_core_1.BaseMetaColumn(this, "amount", "Amount", "Decimal", true),
|
|
31
31
|
currency: new namirasoft_core_1.BaseMetaColumn(this, "currency", "Currency", "String", true),
|
|
32
32
|
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
33
33
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
@@ -10,7 +10,7 @@ export type OfferFullRow = {
|
|
|
10
10
|
name: string;
|
|
11
11
|
logo: (string | null);
|
|
12
12
|
order: number;
|
|
13
|
-
recurring:
|
|
13
|
+
recurring: boolean;
|
|
14
14
|
recurring_duration_value: (number | null);
|
|
15
15
|
recurring_duration_unit: (OfferRecurringDurationUnit | null);
|
|
16
16
|
applies_at: (Date | null);
|
package/dist/row/OfferRow.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type OfferRow = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
logo: (string | null);
|
|
8
8
|
order: number;
|
|
9
|
-
recurring:
|
|
9
|
+
recurring: boolean;
|
|
10
10
|
recurring_duration_value: (number | null);
|
|
11
11
|
recurring_duration_unit: (OfferRecurringDurationUnit | null);
|
|
12
12
|
applies_at: (Date | null);
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ export class NamirasoftPaymentServer extends NSABaseServer
|
|
|
59
59
|
product: NamirasoftPaymentServerProduct;
|
|
60
60
|
constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
|
|
61
61
|
{
|
|
62
|
-
super(base_url, `1.4.
|
|
62
|
+
super(base_url, `1.4.135`, token_manager, onError);
|
|
63
63
|
this.healthz = new NamirasoftPaymentServerHealthz(this);
|
|
64
64
|
this.health = new NamirasoftPaymentServerHealth(this);
|
|
65
65
|
this.metrics = new NamirasoftPaymentServerMetrics(this);
|
|
@@ -41,7 +41,7 @@ export class InvoiceCostMetaTable extends NSBaseMetaTable<NamirasoftPaymentServe
|
|
|
41
41
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
42
|
invoice_id: new BaseMetaColumn(this, "invoice_id", "Invoice ID", "String", true),
|
|
43
43
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", false),
|
|
44
|
-
amount: new BaseMetaColumn(this, "amount", "Amount", "
|
|
44
|
+
amount: new BaseMetaColumn(this, "amount", "Amount", "Decimal", true),
|
|
45
45
|
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
46
46
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
47
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -56,8 +56,8 @@ export class InvoiceItemMetaTable extends NSBaseMetaTable<NamirasoftPaymentServe
|
|
|
56
56
|
transaction_id_expiry: new BaseMetaColumn(this, "transaction_id_expiry", "Transaction ID Expiry", "String", false),
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
quantity: new BaseMetaColumn(this, "quantity", "Quantity", "Integer", true),
|
|
59
|
-
price: new BaseMetaColumn(this, "price", "Price", "
|
|
60
|
-
total: new BaseMetaColumn(this, "total", "Total", "
|
|
59
|
+
price: new BaseMetaColumn(this, "price", "Price", "Decimal", false),
|
|
60
|
+
total: new BaseMetaColumn(this, "total", "Total", "Decimal", true),
|
|
61
61
|
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
62
62
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
63
63
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -64,14 +64,14 @@ export class InvoiceMetaTable extends NSBaseMetaTable<NamirasoftPaymentServer, I
|
|
|
64
64
|
title: new BaseMetaColumn(this, "title", "Title", "String", true),
|
|
65
65
|
refund: new BaseMetaColumn(this, "refund", "Refund", "Boolean", true),
|
|
66
66
|
canceled: new BaseMetaColumn(this, "canceled", "Canceled", "Boolean", true),
|
|
67
|
-
total: new BaseMetaColumn(this, "total", "Total", "
|
|
68
|
-
total_fee: new BaseMetaColumn(this, "total_fee", "Total Fee", "
|
|
69
|
-
total_discount: new BaseMetaColumn(this, "total_discount", "Total Discount", "
|
|
70
|
-
total_tax: new BaseMetaColumn(this, "total_tax", "Total Tax", "
|
|
71
|
-
total_payable: new BaseMetaColumn(this, "total_payable", "Total Payable", "
|
|
72
|
-
total_paid: new BaseMetaColumn(this, "total_paid", "Total Paid", "
|
|
73
|
-
total_refunded: new BaseMetaColumn(this, "total_refunded", "Total Refunded", "
|
|
74
|
-
total_balance: new BaseMetaColumn(this, "total_balance", "Total Balance", "
|
|
67
|
+
total: new BaseMetaColumn(this, "total", "Total", "Decimal", true),
|
|
68
|
+
total_fee: new BaseMetaColumn(this, "total_fee", "Total Fee", "Decimal", true),
|
|
69
|
+
total_discount: new BaseMetaColumn(this, "total_discount", "Total Discount", "Decimal", true),
|
|
70
|
+
total_tax: new BaseMetaColumn(this, "total_tax", "Total Tax", "Decimal", true),
|
|
71
|
+
total_payable: new BaseMetaColumn(this, "total_payable", "Total Payable", "Decimal", true),
|
|
72
|
+
total_paid: new BaseMetaColumn(this, "total_paid", "Total Paid", "Decimal", true),
|
|
73
|
+
total_refunded: new BaseMetaColumn(this, "total_refunded", "Total Refunded", "Decimal", true),
|
|
74
|
+
total_balance: new BaseMetaColumn(this, "total_balance", "Total Balance", "Decimal", true),
|
|
75
75
|
currency: new BaseMetaColumn(this, "currency", "Currency", "String", true),
|
|
76
76
|
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
77
77
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
@@ -89,18 +89,18 @@ export class OfferItemMetaTable extends NSBaseMetaTable<NamirasoftPaymentServer,
|
|
|
89
89
|
expire_unit: new BaseMetaColumn(this, "expire_unit", "Expire Unit", "Enum", false),
|
|
90
90
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
91
91
|
one_off_model: new BaseMetaColumn(this, "one_off_model", "One Off Model", "Enum", false),
|
|
92
|
-
one_off_flat_amount: new BaseMetaColumn(this, "one_off_flat_amount", "One Off Flat Amount", "
|
|
93
|
-
one_off_package_amount: new BaseMetaColumn(this, "one_off_package_amount", "One Off Package Amount", "
|
|
92
|
+
one_off_flat_amount: new BaseMetaColumn(this, "one_off_flat_amount", "One Off Flat Amount", "Decimal", false),
|
|
93
|
+
one_off_package_amount: new BaseMetaColumn(this, "one_off_package_amount", "One Off Package Amount", "Decimal", false),
|
|
94
94
|
one_off_package_per_value: new BaseMetaColumn(this, "one_off_package_per_value", "One Off Package Per Value", "Integer", false),
|
|
95
95
|
one_off_package_per_unit: new BaseMetaColumn(this, "one_off_package_per_unit", "One Off Package Per Unit", "String", false),
|
|
96
|
-
one_off_choosable_suggested_amount: new BaseMetaColumn(this, "one_off_choosable_suggested_amount", "One Off Choosable Suggested Amount", "
|
|
96
|
+
one_off_choosable_suggested_amount: new BaseMetaColumn(this, "one_off_choosable_suggested_amount", "One Off Choosable Suggested Amount", "Decimal", false),
|
|
97
97
|
one_off_choosable_limit_min: new BaseMetaColumn(this, "one_off_choosable_limit_min", "One Off Choosable Limit Min", "Integer", false),
|
|
98
98
|
one_off_choosable_limit_max: new BaseMetaColumn(this, "one_off_choosable_limit_max", "One Off Choosable Limit Max", "Integer", false),
|
|
99
99
|
recurring_model: new BaseMetaColumn(this, "recurring_model", "Recurring Model", "Enum", false),
|
|
100
100
|
recurring_duration_value: new BaseMetaColumn(this, "recurring_duration_value", "Recurring Duration Value", "Integer", false),
|
|
101
101
|
recurring_duration_unit: new BaseMetaColumn(this, "recurring_duration_unit", "Recurring Duration Unit", "Enum", false),
|
|
102
|
-
recurring_flat_amount: new BaseMetaColumn(this, "recurring_flat_amount", "Recurring Flat Amount", "
|
|
103
|
-
recurring_package_amount: new BaseMetaColumn(this, "recurring_package_amount", "Recurring Package Amount", "
|
|
102
|
+
recurring_flat_amount: new BaseMetaColumn(this, "recurring_flat_amount", "Recurring Flat Amount", "Decimal", false),
|
|
103
|
+
recurring_package_amount: new BaseMetaColumn(this, "recurring_package_amount", "Recurring Package Amount", "Decimal", false),
|
|
104
104
|
recurring_package_per_value: new BaseMetaColumn(this, "recurring_package_per_value", "Recurring Package Per Value", "Integer", false),
|
|
105
105
|
recurring_package_per_unit: new BaseMetaColumn(this, "recurring_package_per_unit", "Recurring Package Per Unit", "String", false),
|
|
106
106
|
recurring_tiered_type: new BaseMetaColumn(this, "recurring_tiered_type", "Recurring Tiered Type", "Enum", false),
|
|
@@ -108,8 +108,8 @@ export class OfferItemMetaTable extends NSBaseMetaTable<NamirasoftPaymentServer,
|
|
|
108
108
|
recurring_usage_type: new BaseMetaColumn(this, "recurring_usage_type", "Recurring Usage Type", "Enum", false),
|
|
109
109
|
recurring_usage_unit: new BaseMetaColumn(this, "recurring_usage_unit", "Recurring Usage Unit", "String", false),
|
|
110
110
|
recurring_usage_meter_event_name: new BaseMetaColumn(this, "recurring_usage_meter_event_name", "Recurring Usage Meter Event Name", "String", false),
|
|
111
|
-
recurring_usage_unit_amount: new BaseMetaColumn(this, "recurring_usage_unit_amount", "Recurring Usage Unit Amount", "
|
|
112
|
-
recurring_usage_package_amount: new BaseMetaColumn(this, "recurring_usage_package_amount", "Recurring Usage Package Amount", "
|
|
111
|
+
recurring_usage_unit_amount: new BaseMetaColumn(this, "recurring_usage_unit_amount", "Recurring Usage Unit Amount", "Decimal", false),
|
|
112
|
+
recurring_usage_package_amount: new BaseMetaColumn(this, "recurring_usage_package_amount", "Recurring Usage Package Amount", "Decimal", false),
|
|
113
113
|
recurring_usage_package_per_value: new BaseMetaColumn(this, "recurring_usage_package_per_value", "Recurring Usage Package Per Value", "Integer", false),
|
|
114
114
|
recurring_usage_package_per_unit: new BaseMetaColumn(this, "recurring_usage_package_per_unit", "Recurring Usage Package Per Unit", "String", false),
|
|
115
115
|
recurring_usage_tiered_type: new BaseMetaColumn(this, "recurring_usage_tiered_type", "Recurring Usage Tiered Type", "Enum", false),
|
|
@@ -54,7 +54,7 @@ export class OfferMetaTable extends NSBaseMetaTable<NamirasoftPaymentServer, Off
|
|
|
54
54
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
55
55
|
logo: new BaseMetaColumn(this, "logo", "Logo", "String", false),
|
|
56
56
|
order: new BaseMetaColumn(this, "order", "Order", "Integer", true),
|
|
57
|
-
recurring: new BaseMetaColumn(this, "recurring", "Recurring", "
|
|
57
|
+
recurring: new BaseMetaColumn(this, "recurring", "Recurring", "Boolean", true),
|
|
58
58
|
recurring_duration_value: new BaseMetaColumn(this, "recurring_duration_value", "Recurring Duration Value", "Integer", false),
|
|
59
59
|
recurring_duration_unit: new BaseMetaColumn(this, "recurring_duration_unit", "Recurring Duration Unit", "Enum", false),
|
|
60
60
|
applies_at: new BaseMetaColumn(this, "applies_at", "Applies At", "DateTime", false),
|
|
@@ -59,7 +59,7 @@ export class PaymentMetaTable extends NSBaseMetaTable<NamirasoftPaymentServer, P
|
|
|
59
59
|
gateway: new BaseMetaColumn(this, "gateway", "Gateway", "Enum", true),
|
|
60
60
|
refund: new BaseMetaColumn(this, "refund", "Refund", "Boolean", true),
|
|
61
61
|
status: new BaseMetaColumn(this, "status", "Status", "Enum", true),
|
|
62
|
-
amount: new BaseMetaColumn(this, "amount", "Amount", "
|
|
62
|
+
amount: new BaseMetaColumn(this, "amount", "Amount", "Decimal", true),
|
|
63
63
|
currency: new BaseMetaColumn(this, "currency", "Currency", "String", true),
|
|
64
64
|
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
65
65
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
package/src/row/OfferFullRow.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type OfferFullRow =
|
|
|
32
32
|
name: string;
|
|
33
33
|
logo: (string | null);
|
|
34
34
|
order: number;
|
|
35
|
-
recurring:
|
|
35
|
+
recurring: boolean;
|
|
36
36
|
recurring_duration_value: (number | null);
|
|
37
37
|
recurring_duration_unit: (OfferRecurringDurationUnit | null);
|
|
38
38
|
applies_at: (Date | null);
|
package/src/row/OfferRow.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type OfferRow =
|
|
|
28
28
|
name: string;
|
|
29
29
|
logo: (string | null);
|
|
30
30
|
order: number;
|
|
31
|
-
recurring:
|
|
31
|
+
recurring: boolean;
|
|
32
32
|
recurring_duration_value: (number | null);
|
|
33
33
|
recurring_duration_unit: (OfferRecurringDurationUnit | null);
|
|
34
34
|
applies_at: (Date | null);
|