@fctc/interface-logic 4.8.10 → 4.9.0

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/dist/provider.mjs CHANGED
@@ -9430,6 +9430,16 @@ var useGetPartnerTitle = () => {
9430
9430
  };
9431
9431
  var use_get_partner_title_default = useGetPartnerTitle;
9432
9432
 
9433
+ // src/hooks/view/use-action-server-home.ts
9434
+ import { useMutation as useMutation58 } from "@tanstack/react-query";
9435
+ var useActionServerHome = () => {
9436
+ const { actionServerHome } = useActionService();
9437
+ return useMutation58({
9438
+ mutationFn: () => actionServerHome()
9439
+ });
9440
+ };
9441
+ var use_action_server_home_default = useActionServerHome;
9442
+
9433
9443
  // src/hooks/chart/use-read-group.ts
9434
9444
  import { useQuery as useQuery24 } from "@tanstack/react-query";
9435
9445
  var useReadGroup = (services, xNode, body, enabled) => {
@@ -9467,531 +9477,531 @@ var useGetDataChart = (services, xNode, body, enabled, path, method, queryKey) =
9467
9477
  var use_get_data_chart_default = useGetDataChart;
9468
9478
 
9469
9479
  // src/hooks/pos/use-add-entity.ts
9470
- import { useMutation as useMutation58 } from "@tanstack/react-query";
9480
+ import { useMutation as useMutation59 } from "@tanstack/react-query";
9471
9481
  var useAddEntity = () => {
9472
9482
  const { addEntity } = usePosService();
9473
- return useMutation58({
9483
+ return useMutation59({
9474
9484
  mutationFn: addEntity
9475
9485
  });
9476
9486
  };
9477
9487
  var use_add_entity_default = useAddEntity;
9478
9488
 
9479
9489
  // src/hooks/pos/use-get-a-session.ts
9480
- import { useMutation as useMutation59 } from "@tanstack/react-query";
9490
+ import { useMutation as useMutation60 } from "@tanstack/react-query";
9481
9491
  var useGetASession = () => {
9482
9492
  const pos = usePosService();
9483
- return useMutation59({
9493
+ return useMutation60({
9484
9494
  mutationFn: pos.getASession
9485
9495
  });
9486
9496
  };
9487
9497
  var use_get_a_session_default = useGetASession;
9488
9498
 
9489
9499
  // src/hooks/pos/use-change-order-preparation-state.ts
9490
- import { useMutation as useMutation60 } from "@tanstack/react-query";
9500
+ import { useMutation as useMutation61 } from "@tanstack/react-query";
9491
9501
  var useChangeOrderPreparationState = () => {
9492
9502
  const pos = usePosService();
9493
- return useMutation60({
9503
+ return useMutation61({
9494
9504
  mutationFn: pos.changeOrderPreparationState
9495
9505
  });
9496
9506
  };
9497
9507
  var use_change_order_preparation_state_default = useChangeOrderPreparationState;
9498
9508
 
9499
9509
  // src/hooks/pos/use-check-payment.ts
9500
- import { useMutation as useMutation61 } from "@tanstack/react-query";
9510
+ import { useMutation as useMutation62 } from "@tanstack/react-query";
9501
9511
  var useCheckPayment = () => {
9502
9512
  const pos = usePosService();
9503
- return useMutation61({
9513
+ return useMutation62({
9504
9514
  mutationFn: pos.checkPayment
9505
9515
  });
9506
9516
  };
9507
9517
  var use_check_payment_default = useCheckPayment;
9508
9518
 
9509
9519
  // src/hooks/pos/use-create-e-invoice.ts
9510
- import { useMutation as useMutation62 } from "@tanstack/react-query";
9520
+ import { useMutation as useMutation63 } from "@tanstack/react-query";
9511
9521
  var useCreateEInvoice = () => {
9512
9522
  const pos = usePosService();
9513
- return useMutation62({
9523
+ return useMutation63({
9514
9524
  mutationFn: pos.createEInvoice
9515
9525
  });
9516
9526
  };
9517
9527
  var use_create_e_invoice_default = useCreateEInvoice;
9518
9528
 
9519
9529
  // src/hooks/pos/use-create-entity.ts
9520
- import { useMutation as useMutation63 } from "@tanstack/react-query";
9530
+ import { useMutation as useMutation64 } from "@tanstack/react-query";
9521
9531
  var useCreateEntity = () => {
9522
9532
  const pos = usePosService();
9523
- return useMutation63({
9533
+ return useMutation64({
9524
9534
  mutationFn: pos.createEntity
9525
9535
  });
9526
9536
  };
9527
9537
  var use_create_entity_default = useCreateEntity;
9528
9538
 
9529
9539
  // src/hooks/pos/use-create-pos-config.ts
9530
- import { useMutation as useMutation64 } from "@tanstack/react-query";
9540
+ import { useMutation as useMutation65 } from "@tanstack/react-query";
9531
9541
  var useCreatePosConfig = () => {
9532
9542
  const pos = usePosService();
9533
- return useMutation64({
9543
+ return useMutation65({
9534
9544
  mutationFn: pos.createPosConfig
9535
9545
  });
9536
9546
  };
9537
9547
  var use_create_pos_config_default = useCreatePosConfig;
9538
9548
 
9539
9549
  // src/hooks/pos/use-create-session.ts
9540
- import { useMutation as useMutation65 } from "@tanstack/react-query";
9550
+ import { useMutation as useMutation66 } from "@tanstack/react-query";
9541
9551
  var useCreateSession = () => {
9542
9552
  const pos = usePosService();
9543
- return useMutation65({
9553
+ return useMutation66({
9544
9554
  mutationFn: pos.createSession
9545
9555
  });
9546
9556
  };
9547
9557
  var use_create_session_default = useCreateSession;
9548
9558
 
9549
9559
  // src/hooks/pos/use-delete-entity.ts
9550
- import { useMutation as useMutation66 } from "@tanstack/react-query";
9560
+ import { useMutation as useMutation67 } from "@tanstack/react-query";
9551
9561
  var useDeleteEntity = () => {
9552
9562
  const pos = usePosService();
9553
- return useMutation66({
9563
+ return useMutation67({
9554
9564
  mutationFn: pos.deleteEntity
9555
9565
  });
9556
9566
  };
9557
9567
  var use_delete_entity_default = useDeleteEntity;
9558
9568
 
9559
9569
  // src/hooks/pos/use-generate-payment-qr-info.ts
9560
- import { useMutation as useMutation67 } from "@tanstack/react-query";
9570
+ import { useMutation as useMutation68 } from "@tanstack/react-query";
9561
9571
  var useGeneratePaymentQrInfo = () => {
9562
9572
  const pos = usePosService();
9563
- return useMutation67({
9573
+ return useMutation68({
9564
9574
  mutationFn: pos.generatePaymentQRInfo
9565
9575
  });
9566
9576
  };
9567
9577
  var use_generate_payment_qr_info_default = useGeneratePaymentQrInfo;
9568
9578
 
9569
9579
  // src/hooks/pos/use-get-current-user.ts
9570
- import { useMutation as useMutation68 } from "@tanstack/react-query";
9580
+ import { useMutation as useMutation69 } from "@tanstack/react-query";
9571
9581
  var useGetCurrentUser = () => {
9572
9582
  const pos = usePosService();
9573
- return useMutation68({
9583
+ return useMutation69({
9574
9584
  mutationFn: pos.getCurrentUser
9575
9585
  });
9576
9586
  };
9577
9587
  var use_get_current_user_default = useGetCurrentUser;
9578
9588
 
9579
9589
  // src/hooks/pos/use-get-list.ts
9580
- import { useMutation as useMutation69 } from "@tanstack/react-query";
9590
+ import { useMutation as useMutation70 } from "@tanstack/react-query";
9581
9591
  var useGetList = () => {
9582
9592
  const pos = usePosService();
9583
- return useMutation69({
9593
+ return useMutation70({
9584
9594
  mutationFn: pos.getList
9585
9595
  });
9586
9596
  };
9587
9597
  var use_get_list_default = useGetList;
9588
9598
 
9589
9599
  // src/hooks/pos/use-get-order-line.ts
9590
- import { useMutation as useMutation70 } from "@tanstack/react-query";
9600
+ import { useMutation as useMutation71 } from "@tanstack/react-query";
9591
9601
  var useGetOrderLine = () => {
9592
9602
  const pos = usePosService();
9593
- return useMutation70({
9603
+ return useMutation71({
9594
9604
  mutationFn: pos.getOrderLine
9595
9605
  });
9596
9606
  };
9597
9607
  var use_get_order_line_default = useGetOrderLine;
9598
9608
 
9599
9609
  // src/hooks/pos/use-get-pin-code.ts
9600
- import { useMutation as useMutation71 } from "@tanstack/react-query";
9610
+ import { useMutation as useMutation72 } from "@tanstack/react-query";
9601
9611
  var useGetPinCode = () => {
9602
9612
  const pos = usePosService();
9603
- return useMutation71({
9613
+ return useMutation72({
9604
9614
  mutationFn: pos.getPinCode
9605
9615
  });
9606
9616
  };
9607
9617
  var use_get_pin_code_default = useGetPinCode;
9608
9618
 
9609
9619
  // src/hooks/pos/use-get-pos.ts
9610
- import { useMutation as useMutation72 } from "@tanstack/react-query";
9620
+ import { useMutation as useMutation73 } from "@tanstack/react-query";
9611
9621
  var useGetPos = () => {
9612
9622
  const pos = usePosService();
9613
- return useMutation72({
9623
+ return useMutation73({
9614
9624
  mutationFn: pos.getPOS
9615
9625
  });
9616
9626
  };
9617
9627
  var use_get_pos_default = useGetPos;
9618
9628
 
9619
9629
  // src/hooks/pos/use-get-preparation-display-data.ts
9620
- import { useMutation as useMutation73 } from "@tanstack/react-query";
9630
+ import { useMutation as useMutation74 } from "@tanstack/react-query";
9621
9631
  var useGetPreparationDisplayData = () => {
9622
9632
  const pos = usePosService();
9623
- return useMutation73({
9633
+ return useMutation74({
9624
9634
  mutationFn: pos.getPreparationDisplayData
9625
9635
  });
9626
9636
  };
9627
9637
  var use_get_preparation_display_data_default = useGetPreparationDisplayData;
9628
9638
 
9629
9639
  // src/hooks/pos/use-get-product-image.ts
9630
- import { useMutation as useMutation74 } from "@tanstack/react-query";
9640
+ import { useMutation as useMutation75 } from "@tanstack/react-query";
9631
9641
  var useGetProductImage = () => {
9632
9642
  const pos = usePosService();
9633
- return useMutation74({
9643
+ return useMutation75({
9634
9644
  mutationFn: pos.getProductImage
9635
9645
  });
9636
9646
  };
9637
9647
  var use_get_product_image_default = useGetProductImage;
9638
9648
 
9639
9649
  // src/hooks/pos/use-handle-close-session.ts
9640
- import { useMutation as useMutation75 } from "@tanstack/react-query";
9650
+ import { useMutation as useMutation76 } from "@tanstack/react-query";
9641
9651
  var useHandleCloseSession = () => {
9642
9652
  const pos = usePosService();
9643
- return useMutation75({
9653
+ return useMutation76({
9644
9654
  mutationFn: pos.handleCloseSession
9645
9655
  });
9646
9656
  };
9647
9657
  var use_handle_close_session_default = useHandleCloseSession;
9648
9658
 
9649
9659
  // src/hooks/pos/use-handle-closing-detail-session.ts
9650
- import { useMutation as useMutation76 } from "@tanstack/react-query";
9660
+ import { useMutation as useMutation77 } from "@tanstack/react-query";
9651
9661
  var useHandleClosingDetailSession = () => {
9652
9662
  const pos = usePosService();
9653
- return useMutation76({
9663
+ return useMutation77({
9654
9664
  mutationFn: pos.handleClosingDetailSession
9655
9665
  });
9656
9666
  };
9657
9667
  var use_handle_closing_detail_session_default = useHandleClosingDetailSession;
9658
9668
 
9659
9669
  // src/hooks/pos/use-handle-closing-session.ts
9660
- import { useMutation as useMutation77 } from "@tanstack/react-query";
9670
+ import { useMutation as useMutation78 } from "@tanstack/react-query";
9661
9671
  var useHandleClosingSession = () => {
9662
9672
  const pos = usePosService();
9663
- return useMutation77({
9673
+ return useMutation78({
9664
9674
  mutationFn: pos.handleClosingSession
9665
9675
  });
9666
9676
  };
9667
9677
  var use_handle_closing_session_default = useHandleClosingSession;
9668
9678
 
9669
9679
  // src/hooks/pos/use-load-data-pos-session.ts
9670
- import { useMutation as useMutation78 } from "@tanstack/react-query";
9680
+ import { useMutation as useMutation79 } from "@tanstack/react-query";
9671
9681
  var useLoadDataPosSession = () => {
9672
9682
  const pos = usePosService();
9673
9683
  const { env } = useEnv();
9674
- return useMutation78({
9684
+ return useMutation79({
9675
9685
  mutationFn: env.isSupaMode ? pos.loadDataPosSessionSupabase : pos.loadDataPosSession
9676
9686
  });
9677
9687
  };
9678
9688
  var use_load_data_pos_session_default = useLoadDataPosSession;
9679
9689
 
9680
9690
  // src/hooks/pos/use-manage-onchange.ts
9681
- import { useMutation as useMutation79 } from "@tanstack/react-query";
9691
+ import { useMutation as useMutation80 } from "@tanstack/react-query";
9682
9692
  var useManageOnChange = () => {
9683
9693
  const pos = usePosService();
9684
- return useMutation79({
9694
+ return useMutation80({
9685
9695
  mutationFn: pos.manageOnChange
9686
9696
  });
9687
9697
  };
9688
9698
  var use_manage_onchange_default = useManageOnChange;
9689
9699
 
9690
9700
  // src/hooks/pos/use-manage-session.ts
9691
- import { useMutation as useMutation80 } from "@tanstack/react-query";
9701
+ import { useMutation as useMutation81 } from "@tanstack/react-query";
9692
9702
  var useManageSession = () => {
9693
9703
  const pos = usePosService();
9694
- return useMutation80({
9704
+ return useMutation81({
9695
9705
  mutationFn: pos.manageSession
9696
9706
  });
9697
9707
  };
9698
9708
  var use_manage_session_default = useManageSession;
9699
9709
 
9700
9710
  // src/hooks/pos/use-process-order.ts
9701
- import { useMutation as useMutation81 } from "@tanstack/react-query";
9711
+ import { useMutation as useMutation82 } from "@tanstack/react-query";
9702
9712
  var useProcessOrder = () => {
9703
9713
  const pos = usePosService();
9704
- return useMutation81({
9714
+ return useMutation82({
9705
9715
  mutationFn: pos.processOrder
9706
9716
  });
9707
9717
  };
9708
9718
  var use_process_order_default = useProcessOrder;
9709
9719
 
9710
9720
  // src/hooks/pos/use-save-pin-code.ts
9711
- import { useMutation as useMutation82 } from "@tanstack/react-query";
9721
+ import { useMutation as useMutation83 } from "@tanstack/react-query";
9712
9722
  var useSavePinCode = () => {
9713
9723
  const pos = usePosService();
9714
- return useMutation82({
9724
+ return useMutation83({
9715
9725
  mutationFn: pos.savePinCode
9716
9726
  });
9717
9727
  };
9718
9728
  var use_save_pin_code_default = useSavePinCode;
9719
9729
 
9720
9730
  // src/hooks/pos/use-search-journal.ts
9721
- import { useMutation as useMutation83 } from "@tanstack/react-query";
9731
+ import { useMutation as useMutation84 } from "@tanstack/react-query";
9722
9732
  var useSearchJournal = () => {
9723
9733
  const pos = usePosService();
9724
- return useMutation83({
9734
+ return useMutation84({
9725
9735
  mutationFn: pos.searchJournal
9726
9736
  });
9727
9737
  };
9728
9738
  var use_search_journal_default = useSearchJournal;
9729
9739
 
9730
9740
  // src/hooks/pos/use-update-closed-session.ts
9731
- import { useMutation as useMutation84 } from "@tanstack/react-query";
9741
+ import { useMutation as useMutation85 } from "@tanstack/react-query";
9732
9742
  var useUpdateClosedSession = () => {
9733
9743
  const pos = usePosService();
9734
- return useMutation84({
9744
+ return useMutation85({
9735
9745
  mutationFn: pos.updateClosedSession
9736
9746
  });
9737
9747
  };
9738
9748
  var use_update_closed_session_default = useUpdateClosedSession;
9739
9749
 
9740
9750
  // src/hooks/pos/use-update-entity.ts
9741
- import { useMutation as useMutation85 } from "@tanstack/react-query";
9751
+ import { useMutation as useMutation86 } from "@tanstack/react-query";
9742
9752
  var useUpdateEntity = () => {
9743
9753
  const pos = usePosService();
9744
- return useMutation85({
9754
+ return useMutation86({
9745
9755
  mutationFn: pos.updateEntity
9746
9756
  });
9747
9757
  };
9748
9758
  var use_update_entity_default = useUpdateEntity;
9749
9759
 
9750
9760
  // src/hooks/pos/use-update-order-status.ts
9751
- import { useMutation as useMutation86 } from "@tanstack/react-query";
9761
+ import { useMutation as useMutation87 } from "@tanstack/react-query";
9752
9762
  var useUpdateOrderStatus = () => {
9753
9763
  const pos = usePosService();
9754
- return useMutation86({
9764
+ return useMutation87({
9755
9765
  mutationFn: pos.updateOrderStatus
9756
9766
  });
9757
9767
  };
9758
9768
  var use_update_order_status_default = useUpdateOrderStatus;
9759
9769
 
9760
9770
  // src/hooks/pos/use-complete-current-stage.ts
9761
- import { useMutation as useMutation87 } from "@tanstack/react-query";
9771
+ import { useMutation as useMutation88 } from "@tanstack/react-query";
9762
9772
  var useCompleteCurrentStage = () => {
9763
9773
  const pos = usePosService();
9764
- return useMutation87({
9774
+ return useMutation88({
9765
9775
  mutationFn: pos.completeCurrentStage
9766
9776
  });
9767
9777
  };
9768
9778
  var use_complete_current_stage_default = useCompleteCurrentStage;
9769
9779
 
9770
9780
  // src/hooks/pos/supabase/use-add-floor.ts
9771
- import { useMutation as useMutation88 } from "@tanstack/react-query";
9781
+ import { useMutation as useMutation89 } from "@tanstack/react-query";
9772
9782
  var useAddFloor = () => {
9773
9783
  const { addFloorSupabase } = addFloorSupabaseService();
9774
- return useMutation88({
9784
+ return useMutation89({
9775
9785
  mutationFn: addFloorSupabase
9776
9786
  });
9777
9787
  };
9778
9788
  var use_add_floor_default = useAddFloor;
9779
9789
 
9780
9790
  // src/hooks/pos/supabase/use-add-table.ts
9781
- import { useMutation as useMutation89 } from "@tanstack/react-query";
9791
+ import { useMutation as useMutation90 } from "@tanstack/react-query";
9782
9792
  var useAddTable = () => {
9783
9793
  const { addTableSupabase } = addTableSupabaseService();
9784
- return useMutation89({
9794
+ return useMutation90({
9785
9795
  mutationFn: addTableSupabase
9786
9796
  });
9787
9797
  };
9788
9798
  var use_add_table_default = useAddTable;
9789
9799
 
9790
9800
  // src/hooks/pos/supabase/use-update-floor.ts
9791
- import { useMutation as useMutation90 } from "@tanstack/react-query";
9801
+ import { useMutation as useMutation91 } from "@tanstack/react-query";
9792
9802
  var useUpdateFloor = () => {
9793
9803
  const { updateFloorSupabase } = updateFloorSupabaseService();
9794
- return useMutation90({
9804
+ return useMutation91({
9795
9805
  mutationFn: updateFloorSupabase
9796
9806
  });
9797
9807
  };
9798
9808
  var use_update_floor_default = useUpdateFloor;
9799
9809
 
9800
9810
  // src/hooks/pos/supabase/use-update-table.ts
9801
- import { useMutation as useMutation91 } from "@tanstack/react-query";
9811
+ import { useMutation as useMutation92 } from "@tanstack/react-query";
9802
9812
  var useUpdateTable = () => {
9803
9813
  const { updateTableSupabase } = updateTableSupabaseService();
9804
- return useMutation91({
9814
+ return useMutation92({
9805
9815
  mutationFn: updateTableSupabase
9806
9816
  });
9807
9817
  };
9808
9818
  var use_update_table_default = useUpdateTable;
9809
9819
 
9810
9820
  // src/hooks/pos/supabase/use-delete-floor.ts
9811
- import { useMutation as useMutation92 } from "@tanstack/react-query";
9821
+ import { useMutation as useMutation93 } from "@tanstack/react-query";
9812
9822
  var useDeleteFloor = () => {
9813
9823
  const { deleteFloorSupabase } = deleteFloorSupabaseService();
9814
- return useMutation92({
9824
+ return useMutation93({
9815
9825
  mutationFn: deleteFloorSupabase
9816
9826
  });
9817
9827
  };
9818
9828
  var use_delete_floor_default = useDeleteFloor;
9819
9829
 
9820
9830
  // src/hooks/pos/supabase/use-delete-table.ts
9821
- import { useMutation as useMutation93 } from "@tanstack/react-query";
9831
+ import { useMutation as useMutation94 } from "@tanstack/react-query";
9822
9832
  var useDeleteTable = () => {
9823
9833
  const { deleteTableSupabase } = deleteTableSupabaseService();
9824
- return useMutation93({
9834
+ return useMutation94({
9825
9835
  mutationFn: deleteTableSupabase
9826
9836
  });
9827
9837
  };
9828
9838
  var use_delete_table_default = useDeleteTable;
9829
9839
 
9830
9840
  // src/hooks/pos/supabase/use-create-order.ts
9831
- import { useMutation as useMutation94 } from "@tanstack/react-query";
9841
+ import { useMutation as useMutation95 } from "@tanstack/react-query";
9832
9842
  var useCreateOrder = () => {
9833
9843
  const { createOrderSupabase } = createOrderSupabaseService();
9834
- return useMutation94({
9844
+ return useMutation95({
9835
9845
  mutationFn: createOrderSupabase
9836
9846
  });
9837
9847
  };
9838
9848
  var use_create_order_default = useCreateOrder;
9839
9849
 
9840
9850
  // src/hooks/pos/supabase/use-add-category.ts
9841
- import { useMutation as useMutation95 } from "@tanstack/react-query";
9851
+ import { useMutation as useMutation96 } from "@tanstack/react-query";
9842
9852
  var useAddCategory = () => {
9843
9853
  const { addCategorySupabase } = addCategorySupabaseService();
9844
- return useMutation95({
9854
+ return useMutation96({
9845
9855
  mutationFn: addCategorySupabase
9846
9856
  });
9847
9857
  };
9848
9858
  var use_add_category_default = useAddCategory;
9849
9859
 
9850
9860
  // src/hooks/pos/supabase/use-add-product-to-order.ts
9851
- import { useMutation as useMutation96 } from "@tanstack/react-query";
9861
+ import { useMutation as useMutation97 } from "@tanstack/react-query";
9852
9862
  var useAddProductToOrder = () => {
9853
9863
  const { addProductToOrderSupabase } = addProductToOrderSupabaseService();
9854
- return useMutation96({
9864
+ return useMutation97({
9855
9865
  mutationFn: addProductToOrderSupabase
9856
9866
  });
9857
9867
  };
9858
9868
  var use_add_product_to_order_default = useAddProductToOrder;
9859
9869
 
9860
9870
  // src/hooks/pos/supabase/use-update-order-total-amount.ts
9861
- import { useMutation as useMutation97 } from "@tanstack/react-query";
9871
+ import { useMutation as useMutation98 } from "@tanstack/react-query";
9862
9872
  var useUpdateOrderTotalAmount = () => {
9863
9873
  const { updateOrderTotalAmountSupabase } = updateOrderTotalAmountSupabaseService();
9864
- return useMutation97({
9874
+ return useMutation98({
9865
9875
  mutationFn: updateOrderTotalAmountSupabase
9866
9876
  });
9867
9877
  };
9868
9878
  var use_update_order_total_amount_default = useUpdateOrderTotalAmount;
9869
9879
 
9870
9880
  // src/hooks/pos/supabase/use-update-order-line.ts
9871
- import { useMutation as useMutation98 } from "@tanstack/react-query";
9881
+ import { useMutation as useMutation99 } from "@tanstack/react-query";
9872
9882
  var useUpdateOrderLine = () => {
9873
9883
  const { updateOrderLineSupabase } = updateOrderLineSupabaseService();
9874
- return useMutation98({
9884
+ return useMutation99({
9875
9885
  mutationFn: updateOrderLineSupabase
9876
9886
  });
9877
9887
  };
9878
9888
  var use_update_order_line_default = useUpdateOrderLine;
9879
9889
 
9880
9890
  // src/hooks/pos/supabase/use-update-order.ts
9881
- import { useMutation as useMutation99 } from "@tanstack/react-query";
9891
+ import { useMutation as useMutation100 } from "@tanstack/react-query";
9882
9892
  var useUpdateOrder = () => {
9883
9893
  const { updateOrderSupabase } = updateOrderSupabaseService();
9884
- return useMutation99({
9894
+ return useMutation100({
9885
9895
  mutationFn: updateOrderSupabase
9886
9896
  });
9887
9897
  };
9888
9898
  var use_update_order_default = useUpdateOrder;
9889
9899
 
9890
9900
  // src/hooks/pos/supabase/use-delete-order.ts
9891
- import { useMutation as useMutation100 } from "@tanstack/react-query";
9901
+ import { useMutation as useMutation101 } from "@tanstack/react-query";
9892
9902
  var useDeleteOrder = () => {
9893
9903
  const { deleteOrderSupabase } = deleteOrderSupabaseService();
9894
- return useMutation100({
9904
+ return useMutation101({
9895
9905
  mutationFn: deleteOrderSupabase
9896
9906
  });
9897
9907
  };
9898
9908
  var use_delete_order_default = useDeleteOrder;
9899
9909
 
9900
9910
  // src/hooks/pos/supabase/use-delete-order-line.ts
9901
- import { useMutation as useMutation101 } from "@tanstack/react-query";
9911
+ import { useMutation as useMutation102 } from "@tanstack/react-query";
9902
9912
  var useDeleteOrderLine = () => {
9903
9913
  const { deleteOrderLineSupabase } = deleteOrderLineSupabaseService();
9904
- return useMutation101({
9914
+ return useMutation102({
9905
9915
  mutationFn: deleteOrderLineSupabase
9906
9916
  });
9907
9917
  };
9908
9918
  var use_delete_order_line_default = useDeleteOrderLine;
9909
9919
 
9910
9920
  // src/hooks/pos/supabase/use-add-product.ts
9911
- import { useMutation as useMutation102 } from "@tanstack/react-query";
9921
+ import { useMutation as useMutation103 } from "@tanstack/react-query";
9912
9922
  var useAddProduct = () => {
9913
9923
  const { addProductSupabase } = addProductSupabaseService();
9914
- return useMutation102({
9924
+ return useMutation103({
9915
9925
  mutationFn: addProductSupabase
9916
9926
  });
9917
9927
  };
9918
9928
  var use_add_product_default = useAddProduct;
9919
9929
 
9920
9930
  // src/hooks/pos/use-get-functional-modules.ts
9921
- import { useMutation as useMutation103 } from "@tanstack/react-query";
9931
+ import { useMutation as useMutation104 } from "@tanstack/react-query";
9922
9932
  var useGetFunctionalModules = () => {
9923
9933
  const pos = usePosService();
9924
- return useMutation103({
9934
+ return useMutation104({
9925
9935
  mutationFn: pos.getFunctionalModules
9926
9936
  });
9927
9937
  };
9928
9938
  var use_get_functional_modules_default = useGetFunctionalModules;
9929
9939
 
9930
9940
  // src/hooks/pos/supabase/use-add-payment-method.ts
9931
- import { useMutation as useMutation104 } from "@tanstack/react-query";
9941
+ import { useMutation as useMutation105 } from "@tanstack/react-query";
9932
9942
  var useAddPaymentMethod = () => {
9933
9943
  const { addPaymentMethodSupabase } = addPaymentMethodSupabaseService();
9934
- return useMutation104({
9944
+ return useMutation105({
9935
9945
  mutationFn: addPaymentMethodSupabase
9936
9946
  });
9937
9947
  };
9938
9948
  var use_add_payment_method_default = useAddPaymentMethod;
9939
9949
 
9940
9950
  // src/hooks/pos/supabase/use-update-session-payment-methods.ts
9941
- import { useMutation as useMutation105 } from "@tanstack/react-query";
9951
+ import { useMutation as useMutation106 } from "@tanstack/react-query";
9942
9952
  var useUpdateSessionPaymentMethods = () => {
9943
9953
  const { updateSessionPaymentMethodsSupabase } = updateSessionPaymentMethodsSupabaseService();
9944
- return useMutation105({
9954
+ return useMutation106({
9945
9955
  mutationFn: updateSessionPaymentMethodsSupabase
9946
9956
  });
9947
9957
  };
9948
9958
  var use_update_session_payment_methods_default = useUpdateSessionPaymentMethods;
9949
9959
 
9950
9960
  // src/hooks/pos/supabase/use-create-payment.ts
9951
- import { useMutation as useMutation106 } from "@tanstack/react-query";
9961
+ import { useMutation as useMutation107 } from "@tanstack/react-query";
9952
9962
  var useCreatePayment = () => {
9953
9963
  const { createPaymentSupabase } = createPaymentSupabaseService();
9954
- return useMutation106({
9964
+ return useMutation107({
9955
9965
  mutationFn: createPaymentSupabase
9956
9966
  });
9957
9967
  };
9958
9968
  var use_create_payment_default = useCreatePayment;
9959
9969
 
9960
9970
  // src/hooks/pos/supabase/use-create-customer.ts
9961
- import { useMutation as useMutation107 } from "@tanstack/react-query";
9971
+ import { useMutation as useMutation108 } from "@tanstack/react-query";
9962
9972
  var useCreateCustomer = () => {
9963
9973
  const { createCustomerSupabase } = createCustomerSupabaseService();
9964
- return useMutation107({
9974
+ return useMutation108({
9965
9975
  mutationFn: createCustomerSupabase
9966
9976
  });
9967
9977
  };
9968
9978
  var use_create_customer_default = useCreateCustomer;
9969
9979
 
9970
9980
  // src/hooks/pos/supabase/use-update-customer.ts
9971
- import { useMutation as useMutation108 } from "@tanstack/react-query";
9981
+ import { useMutation as useMutation109 } from "@tanstack/react-query";
9972
9982
  var useUpdateCustomer = () => {
9973
9983
  const { updateCustomerSupabase } = updateCustomerSupabaseService();
9974
- return useMutation108({
9984
+ return useMutation109({
9975
9985
  mutationFn: updateCustomerSupabase
9976
9986
  });
9977
9987
  };
9978
9988
  var use_update_customer_default = useUpdateCustomer;
9979
9989
 
9980
9990
  // src/hooks/pos/supabase/use-delete-customer.ts
9981
- import { useMutation as useMutation109 } from "@tanstack/react-query";
9991
+ import { useMutation as useMutation110 } from "@tanstack/react-query";
9982
9992
  var useDeleteCustomer = () => {
9983
9993
  const { deleteCustomerSupabase } = deleteCustomerSupabaseService();
9984
- return useMutation109({
9994
+ return useMutation110({
9985
9995
  mutationFn: deleteCustomerSupabase
9986
9996
  });
9987
9997
  };
9988
9998
  var use_delete_customer_default = useDeleteCustomer;
9989
9999
 
9990
10000
  // src/hooks/pos/supabase/use-supa-upload-image.ts
9991
- import { useMutation as useMutation110 } from "@tanstack/react-query";
10001
+ import { useMutation as useMutation111 } from "@tanstack/react-query";
9992
10002
  var useSupaUploadImage = () => {
9993
10003
  const { uploadImageSupabase } = uploadImageSupabaseService();
9994
- return useMutation110({
10004
+ return useMutation111({
9995
10005
  mutationFn: ({ file, tenantId }) => uploadImageSupabase(file, tenantId)
9996
10006
  });
9997
10007
  };
@@ -10140,7 +10150,8 @@ var ServiceProvider = ({
10140
10150
  useCreateCustomer: use_create_customer_default,
10141
10151
  useUpdateCustomer: use_update_customer_default,
10142
10152
  useDeleteCustomer: use_delete_customer_default,
10143
- useUploadImage: use_upload_image_default
10153
+ useUploadImage: use_upload_image_default,
10154
+ useActionServerHome: use_action_server_home_default
10144
10155
  };
10145
10156
  return /* @__PURE__ */ jsx7(ServiceContext.Provider, { value: services, children });
10146
10157
  };