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