@posx/core 5.5.66 → 5.5.68

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
@@ -2483,6 +2483,17 @@ declare module '@posx/core/types/employee.type' {
2483
2483
  constructor();
2484
2484
  }
2485
2485
 
2486
+ }
2487
+ declare module '@posx/core/types/hub.message.type' {
2488
+ export enum HubMessageType {
2489
+ PaynowEvent = "paynow_event",
2490
+ SmoochPaymentEvent = "smooch_payment_event"
2491
+ }
2492
+ export type HubMessage = {
2493
+ type: HubMessageType | string;
2494
+ data: any;
2495
+ };
2496
+
2486
2497
  }
2487
2498
  declare module '@posx/core/types/invoice.type' {
2488
2499
  import { IAppCoreModel, AppCoreModel } from '@posx/core/types/abstract.type';
@@ -2830,6 +2841,8 @@ declare module '@posx/core/types/invoice.type' {
2830
2841
  charges: IInvoiceCharge[];
2831
2842
  /** Flag to track if charge has been manually deleted by user */
2832
2843
  is_charge_triggered?: boolean;
2844
+ /** Meta data for the line item */
2845
+ meta: Record<string, any>;
2833
2846
  }
2834
2847
  export class InvoiceCoreLine implements IInvoiceCoreLine {
2835
2848
  item_uid: string;
@@ -2934,6 +2947,7 @@ declare module '@posx/core/types/invoice.type' {
2934
2947
  /** Flag to track if charge has been manually deleted by user */
2935
2948
  is_charge_triggered: boolean;
2936
2949
  uid: string;
2950
+ meta: Record<string, any>;
2937
2951
  constructor();
2938
2952
  }
2939
2953
  export type CreateInvoiceOptions = {