@posx/core 5.5.229 → 5.5.232

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
@@ -1162,7 +1162,7 @@ declare module '@posx/core/services/app.service' {
1162
1162
  syncStandardReports(): Promise<IAppReport>;
1163
1163
  printReport(request: IReportRequest): Promise<void>;
1164
1164
  private getReportData;
1165
- processReportInvoicesData(reportData: IReportData, invoices?: IInvoice[]): IReportData;
1165
+ processReportInvoicesData(reportData: IReportData, invoices?: IInvoice[]): Promise<IReportData>;
1166
1166
  /**
1167
1167
  * 生成唯一的菜品key
1168
1168
  * 格式: 菜品uid-modifier1:modifier1.quantity-modifier2:modifier2.quantity-modifier3:modifier3.quantity
@@ -4231,6 +4231,10 @@ declare module '@posx/core/types/product.type' {
4231
4231
  * minimum order quantity before you can order
4232
4232
  */
4233
4233
  min_order: number;
4234
+ /**
4235
+ * Indicates whether the category is delisted
4236
+ */
4237
+ is_delisted: boolean;
4234
4238
  }
4235
4239
  export interface ICategory extends ICoreCategory {
4236
4240
  image_url: string;
@@ -4265,6 +4269,7 @@ declare module '@posx/core/types/product.type' {
4265
4269
  uid: string;
4266
4270
  max_order: number;
4267
4271
  min_order: number;
4272
+ is_delisted: boolean;
4268
4273
  constructor();
4269
4274
  }
4270
4275
  export class Category extends ProductBase implements ICategory {
@@ -4277,6 +4282,7 @@ declare module '@posx/core/types/product.type' {
4277
4282
  visibility: Visibility[];
4278
4283
  printing_sequence: number;
4279
4284
  type: CategoryType;
4285
+ is_delisted: boolean;
4280
4286
  subcategories: any[];
4281
4287
  uid: string;
4282
4288
  max_order: number;
@@ -4475,6 +4481,10 @@ declare module '@posx/core/types/product.type' {
4475
4481
  * Indicates whether the item is internal and displayed in the POS only
4476
4482
  */
4477
4483
  is_internal: boolean;
4484
+ /**
4485
+ * Indicates whether the item is delisted
4486
+ */
4487
+ is_delisted: boolean;
4478
4488
  /**
4479
4489
  * Modifier IDs of the item
4480
4490
  */
@@ -4537,6 +4547,7 @@ declare module '@posx/core/types/product.type' {
4537
4547
  is_point_reward_exempt: boolean;
4538
4548
  is_credit_reward_exempt: boolean;
4539
4549
  is_internal: boolean;
4550
+ is_delisted: boolean;
4540
4551
  uid: string;
4541
4552
  kitchen_printers_uids: any[];
4542
4553
  order_printers_uids: any[];