namirasoft-payment 1.4.19 → 1.4.20
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/NamirasoftPaymentServerBase.js +1 -1
- package/dist/meta/OfferMetaTable.js +2 -2
- package/dist/meta/OfferMetaTable.js.map +1 -1
- package/dist/meta/SalesItemMetaTable.js +2 -2
- package/dist/meta/SalesItemMetaTable.js.map +1 -1
- package/package.json +1 -1
- package/src/NamirasoftPaymentServerBase.ts +1 -1
- package/src/meta/OfferMetaTable.ts +2 -2
- package/src/meta/SalesItemMetaTable.ts +2 -2
|
@@ -4,7 +4,7 @@ exports.NamirasoftPaymentServerBase = void 0;
|
|
|
4
4
|
const namirasoft_account_1 = require("namirasoft-account");
|
|
5
5
|
class NamirasoftPaymentServerBase extends namirasoft_account_1.NamirasoftServerBase {
|
|
6
6
|
constructor(base_url, manager, onError) {
|
|
7
|
-
super(base_url, `1.4.
|
|
7
|
+
super(base_url, `1.4.20`, manager, onError);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.NamirasoftPaymentServerBase = NamirasoftPaymentServerBase;
|
|
@@ -16,8 +16,8 @@ class OfferMetaTable extends namirasoft_core_1.BaseMetaTable {
|
|
|
16
16
|
applies_at: new namirasoft_core_1.BaseMetaColumn("applies_at", "Applies At", "DateTime", false),
|
|
17
17
|
expires_at: new namirasoft_core_1.BaseMetaColumn("expires_at", "Expires At", "DateTime", false),
|
|
18
18
|
currency: new namirasoft_core_1.BaseMetaColumn("currency", "Currency", "String", false),
|
|
19
|
-
orginal_price: new namirasoft_core_1.BaseMetaColumn("orginal_price", "Orginal Price", "
|
|
20
|
-
final_price: new namirasoft_core_1.BaseMetaColumn("final_price", "Final Price", "
|
|
19
|
+
orginal_price: new namirasoft_core_1.BaseMetaColumn("orginal_price", "Orginal Price", "Float", false),
|
|
20
|
+
final_price: new namirasoft_core_1.BaseMetaColumn("final_price", "Final Price", "Float", false),
|
|
21
21
|
recommended: new namirasoft_core_1.BaseMetaColumn("recommended", "Recommended", "Boolean", true),
|
|
22
22
|
description: new namirasoft_core_1.BaseMetaColumn("description", "Description", "String", true),
|
|
23
23
|
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfferMetaTable.js","sourceRoot":"","sources":["../../src/meta/OfferMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAAgE;AAEhE,MAAa,cAAe,SAAQ,+BAAa;IAoB7C;QAEI,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YAClD,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC1E,aAAa,EAAE,IAAI,gCAAc,CAAC,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,CAAC;YACnF,IAAI,EAAE,IAAI,gCAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,IAAI,EAAE,IAAI,gCAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC;YACzD,0BAA0B,EAAE,IAAI,gCAAc,CAAC,4BAA4B,EAAE,4BAA4B,EAAE,MAAM,EAAE,IAAI,CAAC;YACxH,2BAA2B,EAAE,IAAI,gCAAc,CAAC,6BAA6B,EAAE,6BAA6B,EAAE,SAAS,EAAE,IAAI,CAAC;YAC9H,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,CAAC;YAC7E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,CAAC;YAC7E,QAAQ,EAA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AAK,CAAC;YACrE,aAAa,EAAE,IAAI,gCAAc,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,EAAE,KAAK,CAAC;YACnF,WAAW,EAAE,IAAI,gCAAc,CAAC,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;YAC7E,WAAW,EAAE,IAAI,gCAAc,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,IAAI,CAAC;YAC9E,WAAW,EAAE,IAAI,gCAAc,CAAC,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC7E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAC5E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SAC/E,CAAC;IACN,CAAC;CACJ;AA1CD,wCA0CC;AAAA,CAAC"}
|
|
@@ -19,8 +19,8 @@ class SalesItemMetaTable extends namirasoft_core_1.BaseMetaTable {
|
|
|
19
19
|
onetime_limit_value: new namirasoft_core_1.BaseMetaColumn("onetime_limit_value", "Onetime Limit Value", "Integer", true),
|
|
20
20
|
onetime_limit_count: new namirasoft_core_1.BaseMetaColumn("onetime_limit_count", "Onetime Limit Count", "String", true),
|
|
21
21
|
currency: new namirasoft_core_1.BaseMetaColumn("currency", "Currency", "String", false),
|
|
22
|
-
orginal_price: new namirasoft_core_1.BaseMetaColumn("orginal_price", "Orginal Price", "
|
|
23
|
-
final_price: new namirasoft_core_1.BaseMetaColumn("final_price", "Final Price", "
|
|
22
|
+
orginal_price: new namirasoft_core_1.BaseMetaColumn("orginal_price", "Orginal Price", "Float", false),
|
|
23
|
+
final_price: new namirasoft_core_1.BaseMetaColumn("final_price", "Final Price", "Float", false),
|
|
24
24
|
description: new namirasoft_core_1.BaseMetaColumn("description", "Description", "String", true),
|
|
25
25
|
created_at: new namirasoft_core_1.BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
26
26
|
updated_at: new namirasoft_core_1.BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SalesItemMetaTable.js","sourceRoot":"","sources":["../../src/meta/SalesItemMetaTable.ts"],"names":[],"mappings":";;;AAoBA,qDAAgE;AAEhE,MAAa,kBAAmB,SAAQ,+BAAa;IAsBjD;QAEI,KAAK,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YAClD,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC1E,IAAI,EAAE,IAAI,gCAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,IAAI,EAAE,IAAI,gCAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,IAAI,EAAE,IAAI,gCAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,MAAM,EAAE,IAAI,gCAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC;YAC5D,kBAAkB,EAAE,IAAI,gCAAc,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,EAAE,IAAI,CAAC;YACnG,mBAAmB,EAAE,IAAI,gCAAc,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,EAAE,IAAI,CAAC;YACnG,oBAAoB,EAAE,IAAI,gCAAc,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,SAAS,EAAE,IAAI,CAAC;YACzG,kBAAkB,EAAE,IAAI,gCAAc,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,EAAE,IAAI,CAAC;Y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B,EAAE,qBAAqB,EAAE,MAAM,EAAE,IAAI,CAAC;YACnG,oBAAoB,EAAE,IAAI,gCAAc,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,SAAS,EAAE,IAAI,CAAC;YACzG,kBAAkB,EAAE,IAAI,gCAAc,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,EAAE,IAAI,CAAC;YAChG,mBAAmB,EAAE,IAAI,gCAAc,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,SAAS,EAAE,IAAI,CAAC;YACtG,mBAAmB,EAAE,IAAI,gCAAc,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,QAAQ,EAAE,IAAI,CAAC;YACrG,QAAQ,EAAE,IAAI,gCAAc,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,CAAC;YACrE,aAAa,EAAE,IAAI,gCAAc,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,EAAE,KAAK,CAAC;YACnF,WAAW,EAAE,IAAI,gCAAc,CAAC,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;YAC7E,WAAW,EAAE,IAAI,gCAAc,CAAC,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC7E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAC5E,UAAU,EAAE,IAAI,gCAAc,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SAC/E,CAAC;IACN,CAAC;CACJ;AA9CD,gDA8CC;AAAA,CAAC"}
|
package/package.json
CHANGED
|
@@ -25,6 +25,6 @@ export class NamirasoftPaymentServerBase extends NamirasoftServerBase
|
|
|
25
25
|
{
|
|
26
26
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
27
27
|
{
|
|
28
|
-
super(base_url, `1.4.
|
|
28
|
+
super(base_url, `1.4.20`, manager, onError);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -54,8 +54,8 @@ export class OfferMetaTable extends BaseMetaTable
|
|
|
54
54
|
applies_at: new BaseMetaColumn("applies_at", "Applies At", "DateTime", false),
|
|
55
55
|
expires_at: new BaseMetaColumn("expires_at", "Expires At", "DateTime", false),
|
|
56
56
|
currency: new BaseMetaColumn("currency", "Currency", "String", false),
|
|
57
|
-
orginal_price: new BaseMetaColumn("orginal_price", "Orginal Price", "
|
|
58
|
-
final_price: new BaseMetaColumn("final_price", "Final Price", "
|
|
57
|
+
orginal_price: new BaseMetaColumn("orginal_price", "Orginal Price", "Float", false),
|
|
58
|
+
final_price: new BaseMetaColumn("final_price", "Final Price", "Float", false),
|
|
59
59
|
recommended: new BaseMetaColumn("recommended", "Recommended", "Boolean", true),
|
|
60
60
|
description: new BaseMetaColumn("description", "Description", "String", true),
|
|
61
61
|
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
@@ -59,8 +59,8 @@ export class SalesItemMetaTable extends BaseMetaTable
|
|
|
59
59
|
onetime_limit_value: new BaseMetaColumn("onetime_limit_value", "Onetime Limit Value", "Integer", true),
|
|
60
60
|
onetime_limit_count: new BaseMetaColumn("onetime_limit_count", "Onetime Limit Count", "String", true),
|
|
61
61
|
currency: new BaseMetaColumn("currency", "Currency", "String", false),
|
|
62
|
-
orginal_price: new BaseMetaColumn("orginal_price", "Orginal Price", "
|
|
63
|
-
final_price: new BaseMetaColumn("final_price", "Final Price", "
|
|
62
|
+
orginal_price: new BaseMetaColumn("orginal_price", "Orginal Price", "Float", false),
|
|
63
|
+
final_price: new BaseMetaColumn("final_price", "Final Price", "Float", false),
|
|
64
64
|
description: new BaseMetaColumn("description", "Description", "String", true),
|
|
65
65
|
created_at: new BaseMetaColumn("created_at", "Created At", "DateTime", true),
|
|
66
66
|
updated_at: new BaseMetaColumn("updated_at", "Updated At", "DateTime", true),
|