@posx/core 5.5.91 → 5.5.93

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
@@ -1898,6 +1898,8 @@ declare module '@posx/core/types/config.type' {
1898
1898
  cache: ICache;
1899
1899
  storage: {
1900
1900
  pricing_lookup_keys: string[];
1901
+ pay_in_reasons: string[];
1902
+ pay_out_reasons: string[];
1901
1903
  };
1902
1904
  }
1903
1905
  export class AppConfig extends AppCoreModel implements IAppConfig {
@@ -1905,6 +1907,8 @@ declare module '@posx/core/types/config.type' {
1905
1907
  cache: Cache;
1906
1908
  storage: {
1907
1909
  pricing_lookup_keys: any[];
1910
+ pay_in_reasons: any[];
1911
+ pay_out_reasons: any[];
1908
1912
  };
1909
1913
  constructor();
1910
1914
  }
@@ -2857,8 +2861,10 @@ declare module '@posx/core/types/invoice.type' {
2857
2861
  charges: IInvoiceCharge[];
2858
2862
  /** Flag to track if charge has been manually deleted by user */
2859
2863
  is_charge_triggered?: boolean;
2860
- /** Meta data for the line item */
2864
+ /** Meta data for the invoice */
2861
2865
  meta: Record<string, any>;
2866
+ /** If the key is not null or empty, meaning the items prices are from this price lookup key tier */
2867
+ price_lookup_key: string;
2862
2868
  }
2863
2869
  export class InvoiceCoreLine implements IInvoiceCoreLine {
2864
2870
  item_uid: string;
@@ -2968,6 +2974,7 @@ declare module '@posx/core/types/invoice.type' {
2968
2974
  is_charge_triggered: boolean;
2969
2975
  uid: string;
2970
2976
  meta: Record<string, any>;
2977
+ price_lookup_key: string;
2971
2978
  constructor();
2972
2979
  }
2973
2980
  export type CreateInvoiceOptions = {