@posx/core 5.5.27 → 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 CHANGED
@@ -30,6 +30,7 @@ declare module '@posx/core/index' {
30
30
  export * from '@posx/core/utils/autoquery.utils';
31
31
  export * from '@posx/core/libs/electron.socket';
32
32
  export * from '@posx/core/types/condition.type';
33
+ export * from '@posx/core/types/merchant.type';
33
34
 
34
35
  }
35
36
  declare module '@posx/core/libs/FindOptions' {
@@ -2328,12 +2329,16 @@ declare module '@posx/core/types/config.type' {
2328
2329
  export interface ICashDrawerConfig {
2329
2330
  /** CashDrawer code */
2330
2331
  kick_code: string;
2332
+ /** Connection mode */
2333
+ connection_mode: 'via_receipt_printer' | 'via_imin_pos';
2331
2334
  }
2332
2335
  export class CashDrawerConfig implements ICashDrawerConfig {
2333
2336
  /**
2334
2337
  * The kick code for the cash drawer.
2335
2338
  */
2336
2339
  kick_code: string;
2340
+ /** Connection mode */
2341
+ connection_mode: 'via_receipt_printer' | 'via_imin_pos';
2337
2342
  /**
2338
2343
  * Creates a new instance of the CashDrawerConfig class.
2339
2344
  */
@@ -3473,16 +3478,39 @@ declare module '@posx/core/types/product.type' {
3473
3478
  * Predefined asset keys that can be used in the product assets
3474
3479
  */
3475
3480
  export type ProductPartialAssets = {
3476
- order_big_image_url?: string;
3477
- order_big_image_thumbnail_url?: string;
3478
- order_image_url?: string;
3479
- order_image_thumbnail_url?: string;
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;
3480
3505
  };
3481
3506
  /**
3482
3507
  * Predefined config keys that can be used in the product configs
3483
3508
  */
3484
3509
  export type ProductPartialConfig = {
3485
- display_big_image_on_order?: boolean;
3510
+ /**
3511
+ * display large image for online order, if false, small image will be displayed
3512
+ */
3513
+ online_order_display_large_image?: boolean;
3486
3514
  };
3487
3515
  export class ProductBase extends AppExtraModel implements IProductBase {
3488
3516
  meta: {};