@posx/core 5.5.378 → 5.5.380
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/build/index.d.ts +8 -0
- package/build/index.js +3 -0
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2453,6 +2453,10 @@ interface IPaymentMethod extends IAppBaseModel, IAppModelSequence {
|
|
|
2453
2453
|
api_key: string;
|
|
2454
2454
|
/** Is Sales Exclusive */
|
|
2455
2455
|
is_sales_exclusive: boolean;
|
|
2456
|
+
/** Requires invoice.minus_credit > 0 for validation */
|
|
2457
|
+
enable_credit_validation: boolean;
|
|
2458
|
+
/** Requires invoice.customer_id > 0 for validation */
|
|
2459
|
+
enable_customer_validation: boolean;
|
|
2456
2460
|
}
|
|
2457
2461
|
interface IPaymentMethodHistory extends IPaymentMethod {
|
|
2458
2462
|
changed_at: Date;
|
|
@@ -2478,6 +2482,8 @@ declare class PaymentMethod extends AppBaseModel implements IPaymentMethod {
|
|
|
2478
2482
|
api_id: string;
|
|
2479
2483
|
api_key: string;
|
|
2480
2484
|
is_sales_exclusive: boolean;
|
|
2485
|
+
enable_credit_validation: boolean;
|
|
2486
|
+
enable_customer_validation: boolean;
|
|
2481
2487
|
uid: string;
|
|
2482
2488
|
constructor();
|
|
2483
2489
|
}
|
|
@@ -3323,6 +3329,7 @@ interface IOnlineOrderConfig {
|
|
|
3323
3329
|
category_selector_mode: 'photo_mode' | 'dropdown_mode';
|
|
3324
3330
|
max_dining_time: number;
|
|
3325
3331
|
disable_logo_for_item_photo_fallback: boolean;
|
|
3332
|
+
whatsapp_login_only: boolean;
|
|
3326
3333
|
}
|
|
3327
3334
|
declare class OnlineOrderConfig implements IOnlineOrderConfig {
|
|
3328
3335
|
enable_membership: boolean;
|
|
@@ -3335,6 +3342,7 @@ declare class OnlineOrderConfig implements IOnlineOrderConfig {
|
|
|
3335
3342
|
dynamic_order_qr: TDynamicOrderQR;
|
|
3336
3343
|
max_dining_time: number;
|
|
3337
3344
|
disable_logo_for_item_photo_fallback: boolean;
|
|
3345
|
+
whatsapp_login_only: boolean;
|
|
3338
3346
|
constructor();
|
|
3339
3347
|
}
|
|
3340
3348
|
interface IGeneralConfig {
|
package/build/index.js
CHANGED
|
@@ -1506,6 +1506,8 @@ var PaymentMethod = class extends AppBaseModel {
|
|
|
1506
1506
|
_defineProperty(this, "api_id", "");
|
|
1507
1507
|
_defineProperty(this, "api_key", "");
|
|
1508
1508
|
_defineProperty(this, "is_sales_exclusive", false);
|
|
1509
|
+
_defineProperty(this, "enable_credit_validation", false);
|
|
1510
|
+
_defineProperty(this, "enable_customer_validation", false);
|
|
1509
1511
|
_defineProperty(this, "uid", ModelPrefix.PaymentMethod + nanoid());
|
|
1510
1512
|
}
|
|
1511
1513
|
};
|
|
@@ -1979,6 +1981,7 @@ var OnlineOrderConfig = class {
|
|
|
1979
1981
|
});
|
|
1980
1982
|
_defineProperty(this, "max_dining_time", 0);
|
|
1981
1983
|
_defineProperty(this, "disable_logo_for_item_photo_fallback", false);
|
|
1984
|
+
_defineProperty(this, "whatsapp_login_only", false);
|
|
1982
1985
|
}
|
|
1983
1986
|
};
|
|
1984
1987
|
let DeployChannel = /* @__PURE__ */ function(DeployChannel$1) {
|
package/package.json
CHANGED