@posx/core 5.5.134 → 5.5.136

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
@@ -2683,6 +2683,8 @@ declare module '@posx/core/types/invoice.type' {
2683
2683
  action_at: Date;
2684
2684
  }
2685
2685
  export interface IDiscount {
2686
+ name?: string;
2687
+ name_translation?: Record<string, string>;
2686
2688
  uid: string;
2687
2689
  calc_type: CalcType;
2688
2690
  amount: number;
@@ -2704,8 +2706,6 @@ declare module '@posx/core/types/invoice.type' {
2704
2706
  trigger_condition: string;
2705
2707
  }
2706
2708
  export interface IInvoiceDiscount extends IDiscount {
2707
- /** the name can be the voucher or coupon name */
2708
- name?: string;
2709
2709
  /** Discount Type */
2710
2710
  type: DiscountType;
2711
2711
  /** Discount unique id */