@fctc/interface-logic 5.4.3 → 5.4.5
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/{chunk-WVML5L6V.js → chunk-BDDF7KXT.js} +377 -1011
- package/dist/{chunk-PFJ7KPIX.mjs → chunk-VIPA4WIY.mjs} +353 -987
- package/dist/hooks.d.mts +49 -217
- package/dist/hooks.d.ts +49 -217
- package/dist/hooks.js +159 -159
- package/dist/hooks.mjs +1 -1
- package/dist/index.js +180 -180
- package/dist/index.mjs +1 -1
- package/dist/provider.js +11 -11
- package/dist/provider.mjs +1 -1
- package/dist/services.d.mts +5 -220
- package/dist/services.d.ts +5 -220
- package/dist/services.js +12 -12
- package/dist/services.mjs +1 -1
- package/package.json +1 -1
package/dist/hooks.d.mts
CHANGED
|
@@ -799,147 +799,52 @@ declare const useGetCustomerLoyaltyPoint: () => _tanstack_react_query.UseMutatio
|
|
|
799
799
|
partnerId: number;
|
|
800
800
|
}, unknown>;
|
|
801
801
|
|
|
802
|
-
declare const
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
declare const
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
declare const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
amount_total: number;
|
|
849
|
-
amount_paid: number;
|
|
850
|
-
amount_return: number;
|
|
851
|
-
table_id?: number | boolean;
|
|
852
|
-
partner_id: number | boolean;
|
|
853
|
-
}, unknown>;
|
|
854
|
-
|
|
855
|
-
declare const useAddCategory: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
856
|
-
name: string;
|
|
857
|
-
}, unknown>;
|
|
858
|
-
|
|
859
|
-
declare const useAddProductToOrder: () => _tanstack_react_query.UseMutationResult<[number][] | null, Error, {
|
|
860
|
-
order_id: number;
|
|
861
|
-
product_id: number;
|
|
862
|
-
qty: number;
|
|
863
|
-
price_unit: number;
|
|
864
|
-
price_subtotal: number;
|
|
865
|
-
price_subtotal_incl: number;
|
|
866
|
-
tax_ids?: number[];
|
|
867
|
-
attribute_value_ids?: number[];
|
|
868
|
-
note?: string;
|
|
869
|
-
uuid?: string;
|
|
870
|
-
}, unknown>;
|
|
871
|
-
|
|
872
|
-
declare const useUpdateOrderTotalAmount: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
873
|
-
order_id: number;
|
|
874
|
-
amount_tax: number;
|
|
875
|
-
amount_total: number;
|
|
876
|
-
note?: string;
|
|
877
|
-
}, unknown>;
|
|
878
|
-
|
|
879
|
-
declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
880
|
-
order_line_id: number;
|
|
881
|
-
order_id: number;
|
|
882
|
-
qty: number;
|
|
883
|
-
price_subtotal: number;
|
|
884
|
-
price_subtotal_incl: number;
|
|
885
|
-
attribute_value_ids?: number[];
|
|
886
|
-
note?: string;
|
|
887
|
-
}, unknown>;
|
|
888
|
-
|
|
889
|
-
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
890
|
-
order_id: number;
|
|
891
|
-
state?: string;
|
|
892
|
-
table_id?: number;
|
|
893
|
-
partner_id?: number;
|
|
894
|
-
amount_return?: number;
|
|
895
|
-
}, unknown>;
|
|
896
|
-
|
|
897
|
-
declare const useDeleteOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
898
|
-
id: number;
|
|
899
|
-
}, unknown>;
|
|
900
|
-
|
|
901
|
-
declare const useDeleteOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
902
|
-
line_id: number;
|
|
903
|
-
}, unknown>;
|
|
904
|
-
|
|
905
|
-
declare const useAddProduct: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
906
|
-
name: string;
|
|
907
|
-
product_tmpl_id?: number;
|
|
908
|
-
product_template_variant_value_ids?: number[];
|
|
909
|
-
combo_ids?: number[];
|
|
910
|
-
categ_id?: number;
|
|
911
|
-
pos_categ_ids?: number[];
|
|
912
|
-
display_name?: string;
|
|
913
|
-
default_code?: string;
|
|
914
|
-
description_sale?: string;
|
|
915
|
-
lst_price?: number;
|
|
916
|
-
standard_price?: number;
|
|
917
|
-
barcode?: string;
|
|
918
|
-
image_url?: string;
|
|
919
|
-
active?: boolean;
|
|
920
|
-
}, unknown>;
|
|
921
|
-
|
|
922
|
-
declare const useGetFunctionalModules: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
923
|
-
service?: string;
|
|
924
|
-
xNode?: string;
|
|
925
|
-
}, unknown>;
|
|
926
|
-
|
|
927
|
-
declare const useAddPaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
928
|
-
name: string;
|
|
929
|
-
image?: string;
|
|
930
|
-
is_cash_count?: boolean;
|
|
931
|
-
is_online_payment?: boolean;
|
|
932
|
-
payment_method_type?: string;
|
|
933
|
-
payment_type?: string;
|
|
934
|
-
type?: string;
|
|
935
|
-
sequence?: number;
|
|
936
|
-
active?: boolean;
|
|
937
|
-
}, unknown>;
|
|
938
|
-
|
|
939
|
-
declare const useUpdateSessionPaymentMethods: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
940
|
-
session_id: number;
|
|
941
|
-
payment_method_ids: number[];
|
|
942
|
-
}, unknown>;
|
|
802
|
+
declare const useAddTable: () => _tanstack_react_query.UseMutationResult<[number, number][] | null, Error, any, any>;
|
|
803
|
+
declare const useUpdateTable: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
804
|
+
declare const useDeleteTable: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
805
|
+
[key: string]: any;
|
|
806
|
+
}, any>;
|
|
807
|
+
|
|
808
|
+
declare const useAddFloor: () => _tanstack_react_query.UseMutationResult<[number, string][], Error, any, any>;
|
|
809
|
+
declare const useUpdateFloor: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
810
|
+
declare const useDeleteFloor: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
811
|
+
[key: string]: any;
|
|
812
|
+
}, any>;
|
|
813
|
+
|
|
814
|
+
declare const useCreateOrder: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
815
|
+
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
816
|
+
declare const useUpdateOrderTotalAmount: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
817
|
+
declare const useDeleteOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
818
|
+
[key: string]: any;
|
|
819
|
+
}, any>;
|
|
820
|
+
|
|
821
|
+
declare const useAddCategory: () => _tanstack_react_query.UseMutationResult<[number, string][], Error, any, any>;
|
|
822
|
+
declare const useUpdateCategory: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
823
|
+
declare const useDeleteCategory: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
824
|
+
[key: string]: any;
|
|
825
|
+
}, any>;
|
|
826
|
+
|
|
827
|
+
declare const useAddProduct: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
828
|
+
declare const useUpdateProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
829
|
+
declare const useDeleteProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, string | number | {
|
|
830
|
+
[key: string]: any;
|
|
831
|
+
}, any>;
|
|
832
|
+
|
|
833
|
+
declare const useAddPaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
834
|
+
declare const useUpdatePaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
835
|
+
declare const useUpdateSessionPaymentMethods: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
836
|
+
|
|
837
|
+
declare const useCreateCustomer: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
838
|
+
declare const useUpdateCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
839
|
+
declare const useDeleteCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, string | number | {
|
|
840
|
+
[key: string]: any;
|
|
841
|
+
}, any>;
|
|
842
|
+
|
|
843
|
+
declare const useAddProductToOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
844
|
+
declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
845
|
+
declare const useDeleteOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
846
|
+
[key: string]: any;
|
|
847
|
+
}, any>;
|
|
943
848
|
|
|
944
849
|
declare const useCreatePayment: () => _tanstack_react_query.UseMutationResult<{
|
|
945
850
|
id: number;
|
|
@@ -951,37 +856,6 @@ declare const useCreatePayment: () => _tanstack_react_query.UseMutationResult<{
|
|
|
951
856
|
amount: number;
|
|
952
857
|
}, unknown>;
|
|
953
858
|
|
|
954
|
-
declare const useCreateCustomer: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
955
|
-
name: string;
|
|
956
|
-
phone?: string;
|
|
957
|
-
email?: string;
|
|
958
|
-
address?: string;
|
|
959
|
-
street2?: string;
|
|
960
|
-
city?: string;
|
|
961
|
-
birth_date?: string;
|
|
962
|
-
country_id?: number;
|
|
963
|
-
state_id?: number;
|
|
964
|
-
ward_id?: number;
|
|
965
|
-
}, unknown>;
|
|
966
|
-
|
|
967
|
-
declare const useUpdateCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
968
|
-
customer_id: number;
|
|
969
|
-
name?: string;
|
|
970
|
-
phone?: string;
|
|
971
|
-
email?: string;
|
|
972
|
-
address?: string;
|
|
973
|
-
street2?: string;
|
|
974
|
-
city?: string;
|
|
975
|
-
birth_date?: string;
|
|
976
|
-
country_id?: number;
|
|
977
|
-
state_id?: number;
|
|
978
|
-
ward_id?: number;
|
|
979
|
-
}, unknown>;
|
|
980
|
-
|
|
981
|
-
declare const useDeleteCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
982
|
-
customer_id: number;
|
|
983
|
-
}, unknown>;
|
|
984
|
-
|
|
985
859
|
declare const useSupaUploadImage: () => _tanstack_react_query.UseMutationResult<{
|
|
986
860
|
url: string | null;
|
|
987
861
|
error: any;
|
|
@@ -1008,40 +882,6 @@ declare const useGetSupaCurrentUser: () => _tanstack_react_query.UseMutationResu
|
|
|
1008
882
|
tenantId: string;
|
|
1009
883
|
}, unknown>;
|
|
1010
884
|
|
|
1011
|
-
declare const useUpdateCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1012
|
-
category_id: number;
|
|
1013
|
-
name?: string;
|
|
1014
|
-
parent_id?: number | null;
|
|
1015
|
-
sequence?: number;
|
|
1016
|
-
image_128?: string;
|
|
1017
|
-
}, unknown>;
|
|
1018
|
-
|
|
1019
|
-
declare const useDeleteCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1020
|
-
category_id: number;
|
|
1021
|
-
}, unknown>;
|
|
1022
|
-
|
|
1023
|
-
declare const useUpdateProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1024
|
-
product_id: number;
|
|
1025
|
-
name?: string;
|
|
1026
|
-
product_tmpl_id?: number;
|
|
1027
|
-
product_template_variant_value_ids?: number[];
|
|
1028
|
-
combo_ids?: number[];
|
|
1029
|
-
categ_id?: number;
|
|
1030
|
-
pos_categ_ids?: number[];
|
|
1031
|
-
display_name?: string;
|
|
1032
|
-
default_code?: string;
|
|
1033
|
-
description_sale?: string;
|
|
1034
|
-
lst_price?: number;
|
|
1035
|
-
standard_price?: number;
|
|
1036
|
-
barcode?: string;
|
|
1037
|
-
image_url?: string;
|
|
1038
|
-
active?: boolean;
|
|
1039
|
-
}, unknown>;
|
|
1040
|
-
|
|
1041
|
-
declare const useDeleteProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1042
|
-
product_id: number;
|
|
1043
|
-
}, unknown>;
|
|
1044
|
-
|
|
1045
885
|
declare const useTogglePosRestaurant: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1046
886
|
config_id: number;
|
|
1047
887
|
module_pos_restaurant: boolean;
|
|
@@ -1051,17 +891,9 @@ declare const usePublicBucket: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
1051
891
|
shortTenantId: string;
|
|
1052
892
|
}, unknown>;
|
|
1053
893
|
|
|
1054
|
-
declare const
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
image?: string;
|
|
1058
|
-
is_cash_count?: boolean;
|
|
1059
|
-
is_online_payment?: boolean;
|
|
1060
|
-
payment_method_type?: string;
|
|
1061
|
-
payment_type?: string;
|
|
1062
|
-
type?: string;
|
|
1063
|
-
sequence?: number;
|
|
1064
|
-
active?: boolean;
|
|
894
|
+
declare const useGetFunctionalModules: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
895
|
+
service?: string;
|
|
896
|
+
xNode?: string;
|
|
1065
897
|
}, unknown>;
|
|
1066
898
|
|
|
1067
899
|
declare const useConfirmCouponPrograms: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
package/dist/hooks.d.ts
CHANGED
|
@@ -799,147 +799,52 @@ declare const useGetCustomerLoyaltyPoint: () => _tanstack_react_query.UseMutatio
|
|
|
799
799
|
partnerId: number;
|
|
800
800
|
}, unknown>;
|
|
801
801
|
|
|
802
|
-
declare const
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
declare const
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
declare const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
amount_total: number;
|
|
849
|
-
amount_paid: number;
|
|
850
|
-
amount_return: number;
|
|
851
|
-
table_id?: number | boolean;
|
|
852
|
-
partner_id: number | boolean;
|
|
853
|
-
}, unknown>;
|
|
854
|
-
|
|
855
|
-
declare const useAddCategory: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
856
|
-
name: string;
|
|
857
|
-
}, unknown>;
|
|
858
|
-
|
|
859
|
-
declare const useAddProductToOrder: () => _tanstack_react_query.UseMutationResult<[number][] | null, Error, {
|
|
860
|
-
order_id: number;
|
|
861
|
-
product_id: number;
|
|
862
|
-
qty: number;
|
|
863
|
-
price_unit: number;
|
|
864
|
-
price_subtotal: number;
|
|
865
|
-
price_subtotal_incl: number;
|
|
866
|
-
tax_ids?: number[];
|
|
867
|
-
attribute_value_ids?: number[];
|
|
868
|
-
note?: string;
|
|
869
|
-
uuid?: string;
|
|
870
|
-
}, unknown>;
|
|
871
|
-
|
|
872
|
-
declare const useUpdateOrderTotalAmount: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
873
|
-
order_id: number;
|
|
874
|
-
amount_tax: number;
|
|
875
|
-
amount_total: number;
|
|
876
|
-
note?: string;
|
|
877
|
-
}, unknown>;
|
|
878
|
-
|
|
879
|
-
declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
880
|
-
order_line_id: number;
|
|
881
|
-
order_id: number;
|
|
882
|
-
qty: number;
|
|
883
|
-
price_subtotal: number;
|
|
884
|
-
price_subtotal_incl: number;
|
|
885
|
-
attribute_value_ids?: number[];
|
|
886
|
-
note?: string;
|
|
887
|
-
}, unknown>;
|
|
888
|
-
|
|
889
|
-
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
890
|
-
order_id: number;
|
|
891
|
-
state?: string;
|
|
892
|
-
table_id?: number;
|
|
893
|
-
partner_id?: number;
|
|
894
|
-
amount_return?: number;
|
|
895
|
-
}, unknown>;
|
|
896
|
-
|
|
897
|
-
declare const useDeleteOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
898
|
-
id: number;
|
|
899
|
-
}, unknown>;
|
|
900
|
-
|
|
901
|
-
declare const useDeleteOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
|
902
|
-
line_id: number;
|
|
903
|
-
}, unknown>;
|
|
904
|
-
|
|
905
|
-
declare const useAddProduct: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
906
|
-
name: string;
|
|
907
|
-
product_tmpl_id?: number;
|
|
908
|
-
product_template_variant_value_ids?: number[];
|
|
909
|
-
combo_ids?: number[];
|
|
910
|
-
categ_id?: number;
|
|
911
|
-
pos_categ_ids?: number[];
|
|
912
|
-
display_name?: string;
|
|
913
|
-
default_code?: string;
|
|
914
|
-
description_sale?: string;
|
|
915
|
-
lst_price?: number;
|
|
916
|
-
standard_price?: number;
|
|
917
|
-
barcode?: string;
|
|
918
|
-
image_url?: string;
|
|
919
|
-
active?: boolean;
|
|
920
|
-
}, unknown>;
|
|
921
|
-
|
|
922
|
-
declare const useGetFunctionalModules: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
923
|
-
service?: string;
|
|
924
|
-
xNode?: string;
|
|
925
|
-
}, unknown>;
|
|
926
|
-
|
|
927
|
-
declare const useAddPaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
928
|
-
name: string;
|
|
929
|
-
image?: string;
|
|
930
|
-
is_cash_count?: boolean;
|
|
931
|
-
is_online_payment?: boolean;
|
|
932
|
-
payment_method_type?: string;
|
|
933
|
-
payment_type?: string;
|
|
934
|
-
type?: string;
|
|
935
|
-
sequence?: number;
|
|
936
|
-
active?: boolean;
|
|
937
|
-
}, unknown>;
|
|
938
|
-
|
|
939
|
-
declare const useUpdateSessionPaymentMethods: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
940
|
-
session_id: number;
|
|
941
|
-
payment_method_ids: number[];
|
|
942
|
-
}, unknown>;
|
|
802
|
+
declare const useAddTable: () => _tanstack_react_query.UseMutationResult<[number, number][] | null, Error, any, any>;
|
|
803
|
+
declare const useUpdateTable: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
804
|
+
declare const useDeleteTable: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
805
|
+
[key: string]: any;
|
|
806
|
+
}, any>;
|
|
807
|
+
|
|
808
|
+
declare const useAddFloor: () => _tanstack_react_query.UseMutationResult<[number, string][], Error, any, any>;
|
|
809
|
+
declare const useUpdateFloor: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
810
|
+
declare const useDeleteFloor: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
811
|
+
[key: string]: any;
|
|
812
|
+
}, any>;
|
|
813
|
+
|
|
814
|
+
declare const useCreateOrder: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
815
|
+
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
816
|
+
declare const useUpdateOrderTotalAmount: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
817
|
+
declare const useDeleteOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
818
|
+
[key: string]: any;
|
|
819
|
+
}, any>;
|
|
820
|
+
|
|
821
|
+
declare const useAddCategory: () => _tanstack_react_query.UseMutationResult<[number, string][], Error, any, any>;
|
|
822
|
+
declare const useUpdateCategory: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
823
|
+
declare const useDeleteCategory: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
824
|
+
[key: string]: any;
|
|
825
|
+
}, any>;
|
|
826
|
+
|
|
827
|
+
declare const useAddProduct: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
828
|
+
declare const useUpdateProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
829
|
+
declare const useDeleteProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, string | number | {
|
|
830
|
+
[key: string]: any;
|
|
831
|
+
}, any>;
|
|
832
|
+
|
|
833
|
+
declare const useAddPaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
834
|
+
declare const useUpdatePaymentMethod: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
835
|
+
declare const useUpdateSessionPaymentMethods: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
836
|
+
|
|
837
|
+
declare const useCreateCustomer: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, any, any>;
|
|
838
|
+
declare const useUpdateCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, any, any>;
|
|
839
|
+
declare const useDeleteCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, string | number | {
|
|
840
|
+
[key: string]: any;
|
|
841
|
+
}, any>;
|
|
842
|
+
|
|
843
|
+
declare const useAddProductToOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
844
|
+
declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, any, any>;
|
|
845
|
+
declare const useDeleteOrderLine: () => _tanstack_react_query.UseMutationResult<number[], Error, string | number | {
|
|
846
|
+
[key: string]: any;
|
|
847
|
+
}, any>;
|
|
943
848
|
|
|
944
849
|
declare const useCreatePayment: () => _tanstack_react_query.UseMutationResult<{
|
|
945
850
|
id: number;
|
|
@@ -951,37 +856,6 @@ declare const useCreatePayment: () => _tanstack_react_query.UseMutationResult<{
|
|
|
951
856
|
amount: number;
|
|
952
857
|
}, unknown>;
|
|
953
858
|
|
|
954
|
-
declare const useCreateCustomer: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
955
|
-
name: string;
|
|
956
|
-
phone?: string;
|
|
957
|
-
email?: string;
|
|
958
|
-
address?: string;
|
|
959
|
-
street2?: string;
|
|
960
|
-
city?: string;
|
|
961
|
-
birth_date?: string;
|
|
962
|
-
country_id?: number;
|
|
963
|
-
state_id?: number;
|
|
964
|
-
ward_id?: number;
|
|
965
|
-
}, unknown>;
|
|
966
|
-
|
|
967
|
-
declare const useUpdateCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
968
|
-
customer_id: number;
|
|
969
|
-
name?: string;
|
|
970
|
-
phone?: string;
|
|
971
|
-
email?: string;
|
|
972
|
-
address?: string;
|
|
973
|
-
street2?: string;
|
|
974
|
-
city?: string;
|
|
975
|
-
birth_date?: string;
|
|
976
|
-
country_id?: number;
|
|
977
|
-
state_id?: number;
|
|
978
|
-
ward_id?: number;
|
|
979
|
-
}, unknown>;
|
|
980
|
-
|
|
981
|
-
declare const useDeleteCustomer: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
982
|
-
customer_id: number;
|
|
983
|
-
}, unknown>;
|
|
984
|
-
|
|
985
859
|
declare const useSupaUploadImage: () => _tanstack_react_query.UseMutationResult<{
|
|
986
860
|
url: string | null;
|
|
987
861
|
error: any;
|
|
@@ -1008,40 +882,6 @@ declare const useGetSupaCurrentUser: () => _tanstack_react_query.UseMutationResu
|
|
|
1008
882
|
tenantId: string;
|
|
1009
883
|
}, unknown>;
|
|
1010
884
|
|
|
1011
|
-
declare const useUpdateCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1012
|
-
category_id: number;
|
|
1013
|
-
name?: string;
|
|
1014
|
-
parent_id?: number | null;
|
|
1015
|
-
sequence?: number;
|
|
1016
|
-
image_128?: string;
|
|
1017
|
-
}, unknown>;
|
|
1018
|
-
|
|
1019
|
-
declare const useDeleteCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1020
|
-
category_id: number;
|
|
1021
|
-
}, unknown>;
|
|
1022
|
-
|
|
1023
|
-
declare const useUpdateProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1024
|
-
product_id: number;
|
|
1025
|
-
name?: string;
|
|
1026
|
-
product_tmpl_id?: number;
|
|
1027
|
-
product_template_variant_value_ids?: number[];
|
|
1028
|
-
combo_ids?: number[];
|
|
1029
|
-
categ_id?: number;
|
|
1030
|
-
pos_categ_ids?: number[];
|
|
1031
|
-
display_name?: string;
|
|
1032
|
-
default_code?: string;
|
|
1033
|
-
description_sale?: string;
|
|
1034
|
-
lst_price?: number;
|
|
1035
|
-
standard_price?: number;
|
|
1036
|
-
barcode?: string;
|
|
1037
|
-
image_url?: string;
|
|
1038
|
-
active?: boolean;
|
|
1039
|
-
}, unknown>;
|
|
1040
|
-
|
|
1041
|
-
declare const useDeleteProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1042
|
-
product_id: number;
|
|
1043
|
-
}, unknown>;
|
|
1044
|
-
|
|
1045
885
|
declare const useTogglePosRestaurant: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1046
886
|
config_id: number;
|
|
1047
887
|
module_pos_restaurant: boolean;
|
|
@@ -1051,17 +891,9 @@ declare const usePublicBucket: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
1051
891
|
shortTenantId: string;
|
|
1052
892
|
}, unknown>;
|
|
1053
893
|
|
|
1054
|
-
declare const
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
image?: string;
|
|
1058
|
-
is_cash_count?: boolean;
|
|
1059
|
-
is_online_payment?: boolean;
|
|
1060
|
-
payment_method_type?: string;
|
|
1061
|
-
payment_type?: string;
|
|
1062
|
-
type?: string;
|
|
1063
|
-
sequence?: number;
|
|
1064
|
-
active?: boolean;
|
|
894
|
+
declare const useGetFunctionalModules: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
895
|
+
service?: string;
|
|
896
|
+
xNode?: string;
|
|
1065
897
|
}, unknown>;
|
|
1066
898
|
|
|
1067
899
|
declare const useConfirmCouponPrograms: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|