@posx/core 5.5.28 → 5.5.29
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 +32 -5
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2329,12 +2329,16 @@ declare module '@posx/core/types/config.type' {
|
|
|
2329
2329
|
export interface ICashDrawerConfig {
|
|
2330
2330
|
/** CashDrawer code */
|
|
2331
2331
|
kick_code: string;
|
|
2332
|
+
/** Connection mode */
|
|
2333
|
+
connection_mode: 'via_receipt_printer' | 'via_imin_pos';
|
|
2332
2334
|
}
|
|
2333
2335
|
export class CashDrawerConfig implements ICashDrawerConfig {
|
|
2334
2336
|
/**
|
|
2335
2337
|
* The kick code for the cash drawer.
|
|
2336
2338
|
*/
|
|
2337
2339
|
kick_code: string;
|
|
2340
|
+
/** Connection mode */
|
|
2341
|
+
connection_mode: 'via_receipt_printer' | 'via_imin_pos';
|
|
2338
2342
|
/**
|
|
2339
2343
|
* Creates a new instance of the CashDrawerConfig class.
|
|
2340
2344
|
*/
|
|
@@ -3474,16 +3478,39 @@ declare module '@posx/core/types/product.type' {
|
|
|
3474
3478
|
* Predefined asset keys that can be used in the product assets
|
|
3475
3479
|
*/
|
|
3476
3480
|
export type ProductPartialAssets = {
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
+
/**
|
|
3482
|
+
* large image url for online order
|
|
3483
|
+
*/
|
|
3484
|
+
online_order_large_image_url?: string;
|
|
3485
|
+
/**
|
|
3486
|
+
* large image thumbnail url for online order
|
|
3487
|
+
*/
|
|
3488
|
+
online_order_large_image_thumbnail_url?: string;
|
|
3489
|
+
/**
|
|
3490
|
+
* large image file path for online order
|
|
3491
|
+
*/
|
|
3492
|
+
online_order_large_image_file_path?: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* small image url for online order
|
|
3495
|
+
*/
|
|
3496
|
+
online_order_small_image_url?: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* small image thumbnail url for online order
|
|
3499
|
+
*/
|
|
3500
|
+
online_order_small_image_thumbnail_url?: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* small image file path for online order
|
|
3503
|
+
*/
|
|
3504
|
+
online_order_small_image_file_path?: string;
|
|
3481
3505
|
};
|
|
3482
3506
|
/**
|
|
3483
3507
|
* Predefined config keys that can be used in the product configs
|
|
3484
3508
|
*/
|
|
3485
3509
|
export type ProductPartialConfig = {
|
|
3486
|
-
|
|
3510
|
+
/**
|
|
3511
|
+
* display large image for online order, if false, small image will be displayed
|
|
3512
|
+
*/
|
|
3513
|
+
online_order_display_large_image?: boolean;
|
|
3487
3514
|
};
|
|
3488
3515
|
export class ProductBase extends AppExtraModel implements IProductBase {
|
|
3489
3516
|
meta: {};
|