@fctc/interface-logic 5.0.7 → 5.0.9

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.
@@ -629,6 +629,35 @@ declare const serviceFactories: readonly [(env: any) => {
629
629
  service?: string;
630
630
  xNode?: string;
631
631
  }) => any;
632
+ }, (env: any) => {
633
+ appAuthenticate: ({ xNode, service, appKey, activationCode, clientId, clientSecret, }: {
634
+ appKey: string;
635
+ activationCode: string;
636
+ clientId: string;
637
+ clientSecret: string;
638
+ xNode?: string;
639
+ service?: string;
640
+ }) => any;
641
+ }, (env: any) => {
642
+ applyVoucher: ({ xNode, service, ids, voucherCode }: {
643
+ ids: number[];
644
+ voucherCode: string;
645
+ xNode?: string;
646
+ service?: string;
647
+ }) => any;
648
+ }, (env: any) => {
649
+ removeVoucher: ({ xNode, service, ids, programId }: {
650
+ ids: number[];
651
+ programId: string;
652
+ xNode?: string;
653
+ service?: string;
654
+ }) => any;
655
+ }, (env: any) => {
656
+ syncFromUi: ({ xNode, service, orders }: {
657
+ orders: any[];
658
+ xNode?: string;
659
+ service?: string;
660
+ }) => any;
632
661
  }, () => {
633
662
  addFloorSupabase: (values: {
634
663
  name: string;
@@ -883,6 +912,11 @@ declare const serviceFactories: readonly [(env: any) => {
883
912
  deleteProductSupabase: (values: {
884
913
  product_id: number;
885
914
  }) => Promise<number[] | null>;
915
+ }, () => {
916
+ togglePosRestaurantSupabase: (values: {
917
+ config_id: number;
918
+ module_pos_restaurant: boolean;
919
+ }) => Promise<number[] | null>;
886
920
  }];
887
921
  type ServiceFactories = (typeof serviceFactories)[number];
888
922
  type ServiceReturn<T extends ServiceFactories> = ReturnType<T>;
@@ -629,6 +629,35 @@ declare const serviceFactories: readonly [(env: any) => {
629
629
  service?: string;
630
630
  xNode?: string;
631
631
  }) => any;
632
+ }, (env: any) => {
633
+ appAuthenticate: ({ xNode, service, appKey, activationCode, clientId, clientSecret, }: {
634
+ appKey: string;
635
+ activationCode: string;
636
+ clientId: string;
637
+ clientSecret: string;
638
+ xNode?: string;
639
+ service?: string;
640
+ }) => any;
641
+ }, (env: any) => {
642
+ applyVoucher: ({ xNode, service, ids, voucherCode }: {
643
+ ids: number[];
644
+ voucherCode: string;
645
+ xNode?: string;
646
+ service?: string;
647
+ }) => any;
648
+ }, (env: any) => {
649
+ removeVoucher: ({ xNode, service, ids, programId }: {
650
+ ids: number[];
651
+ programId: string;
652
+ xNode?: string;
653
+ service?: string;
654
+ }) => any;
655
+ }, (env: any) => {
656
+ syncFromUi: ({ xNode, service, orders }: {
657
+ orders: any[];
658
+ xNode?: string;
659
+ service?: string;
660
+ }) => any;
632
661
  }, () => {
633
662
  addFloorSupabase: (values: {
634
663
  name: string;
@@ -883,6 +912,11 @@ declare const serviceFactories: readonly [(env: any) => {
883
912
  deleteProductSupabase: (values: {
884
913
  product_id: number;
885
914
  }) => Promise<number[] | null>;
915
+ }, () => {
916
+ togglePosRestaurantSupabase: (values: {
917
+ config_id: number;
918
+ module_pos_restaurant: boolean;
919
+ }) => Promise<number[] | null>;
886
920
  }];
887
921
  type ServiceFactories = (typeof serviceFactories)[number];
888
922
  type ServiceReturn<T extends ServiceFactories> = ReturnType<T>;