@fctc/interface-logic 2.5.6 → 2.5.8

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/services.mjs CHANGED
@@ -30,6 +30,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
30
30
  UriConstants2["GRANT_ACCESS"] = "/grant-access";
31
31
  UriConstants2["TOKEN_BY_CODE"] = "/token";
32
32
  UriConstants2["LOGOUT"] = "/logout";
33
+ UriConstants2["CREATE_UPDATE"] = "/create_update";
33
34
  return UriConstants2;
34
35
  })(UriConstants || {});
35
36
 
@@ -3005,6 +3006,30 @@ import { useMutation as useMutation46 } from "@tanstack/react-query";
3005
3006
  // src/hooks/view/use-verify-totp.ts
3006
3007
  import { useMutation as useMutation47 } from "@tanstack/react-query";
3007
3008
 
3009
+ // src/hooks/view/use-a-session.ts
3010
+ import { useMutation as useMutation48 } from "@tanstack/react-query";
3011
+
3012
+ // src/hooks/view/use-update-closed-session.ts
3013
+ import { useMutation as useMutation49 } from "@tanstack/react-query";
3014
+
3015
+ // src/hooks/view/use-manage-session.ts
3016
+ import { useMutation as useMutation50 } from "@tanstack/react-query";
3017
+
3018
+ // src/hooks/view/use-handle-closing-session.ts
3019
+ import { useMutation as useMutation51 } from "@tanstack/react-query";
3020
+
3021
+ // src/hooks/view/use-create-session.ts
3022
+ import { useMutation as useMutation52 } from "@tanstack/react-query";
3023
+
3024
+ // src/hooks/view/use-get-pos.ts
3025
+ import { useMutation as useMutation53 } from "@tanstack/react-query";
3026
+
3027
+ // src/hooks/view/use-create-entity.ts
3028
+ import { useMutation as useMutation54 } from "@tanstack/react-query";
3029
+
3030
+ // src/hooks/view/use-get-list.ts
3031
+ import { useMutation as useMutation55 } from "@tanstack/react-query";
3032
+
3008
3033
  // src/provider/service-provider.tsx
3009
3034
  import { jsx as jsx6 } from "react/jsx-runtime";
3010
3035
  var ServiceContext = createContext2(null);
@@ -4637,6 +4662,280 @@ function useViewService() {
4637
4662
  },
4638
4663
  [env]
4639
4664
  );
4665
+ const getASession = useCallback10(
4666
+ async ({
4667
+ model,
4668
+ args,
4669
+ domain,
4670
+ service,
4671
+ xNode
4672
+ }) => {
4673
+ const jsonData = {
4674
+ model,
4675
+ method: "web_search_read" /* WEB_SEARCH_READ */,
4676
+ args,
4677
+ kwargs: {
4678
+ domain: [domain],
4679
+ specification: {
4680
+ name: {},
4681
+ user_id: {},
4682
+ config_id: {},
4683
+ start_at: {},
4684
+ stop_at: {},
4685
+ sequence_number: {},
4686
+ login_number: {},
4687
+ payment_method_ids: {},
4688
+ state: {},
4689
+ update_stock_at_closing: {},
4690
+ cash_register_balance_start: {}
4691
+ }
4692
+ }
4693
+ };
4694
+ return env?.requests.post(
4695
+ "/call" /* CALL_PATH */,
4696
+ jsonData,
4697
+ {
4698
+ headers: {
4699
+ "Content-Type": "application/json",
4700
+ ...xNode ? { "X-Node": xNode } : {}
4701
+ }
4702
+ },
4703
+ service
4704
+ );
4705
+ },
4706
+ [env]
4707
+ );
4708
+ const updateClosedSession = useCallback10(
4709
+ ({
4710
+ model,
4711
+ domain,
4712
+ values,
4713
+ service,
4714
+ xNode
4715
+ }) => {
4716
+ const jsonData = {
4717
+ model,
4718
+ domain,
4719
+ values
4720
+ };
4721
+ return env?.requests.post(
4722
+ "/create_update" /* CREATE_UPDATE */,
4723
+ jsonData,
4724
+ {
4725
+ headers: {
4726
+ "Content-Type": "application/json",
4727
+ ...xNode ? { "X-Node": xNode } : {}
4728
+ }
4729
+ },
4730
+ service
4731
+ );
4732
+ },
4733
+ [env]
4734
+ );
4735
+ const manageSession = useCallback10(
4736
+ ({
4737
+ model,
4738
+ method,
4739
+ ids,
4740
+ args,
4741
+ kwargs,
4742
+ xNode,
4743
+ service
4744
+ }) => {
4745
+ const jsonData = {
4746
+ model,
4747
+ method,
4748
+ ids,
4749
+ args,
4750
+ kwargs
4751
+ };
4752
+ return env?.requests.post(
4753
+ "/call" /* CALL_PATH */,
4754
+ jsonData,
4755
+ {
4756
+ headers: {
4757
+ "Content-Type": "application/json",
4758
+ ...xNode ? { "X-Node": xNode } : {}
4759
+ }
4760
+ },
4761
+ service
4762
+ );
4763
+ },
4764
+ [env]
4765
+ );
4766
+ const handleClosingSession = useCallback10(
4767
+ ({
4768
+ model,
4769
+ method,
4770
+ ids,
4771
+ kwargs,
4772
+ xNode,
4773
+ service
4774
+ }) => {
4775
+ const jsonData = {
4776
+ model,
4777
+ method,
4778
+ ids,
4779
+ kwargs
4780
+ };
4781
+ return env?.requests.post(
4782
+ "/call" /* CALL_PATH */,
4783
+ jsonData,
4784
+ {
4785
+ headers: {
4786
+ "Content-Type": "application/json",
4787
+ ...xNode ? { "X-Node": xNode } : {}
4788
+ }
4789
+ },
4790
+ service
4791
+ );
4792
+ },
4793
+ [env]
4794
+ );
4795
+ const createSession = useCallback10(
4796
+ ({
4797
+ model,
4798
+ configId,
4799
+ xNode,
4800
+ service
4801
+ }) => {
4802
+ const jsonData = {
4803
+ model,
4804
+ method: "create" /* CREATE */,
4805
+ args: [
4806
+ {
4807
+ config_id: configId
4808
+ }
4809
+ ]
4810
+ };
4811
+ return env?.requests.post(
4812
+ "/call" /* CALL_PATH */,
4813
+ jsonData,
4814
+ {
4815
+ headers: {
4816
+ "Content-Type": "application/json",
4817
+ ...xNode ? { "X-Node": xNode } : {}
4818
+ }
4819
+ },
4820
+ service
4821
+ );
4822
+ },
4823
+ [env]
4824
+ );
4825
+ const getPOS = useCallback10(
4826
+ ({
4827
+ model,
4828
+ args,
4829
+ domain,
4830
+ xNode,
4831
+ service
4832
+ }) => {
4833
+ const jsonData = {
4834
+ model,
4835
+ method: "web_search_read" /* WEB_SEARCH_READ */,
4836
+ args,
4837
+ kwargs: {
4838
+ domain: [domain],
4839
+ specification: {
4840
+ cash_control: {},
4841
+ current_session_id: {
4842
+ fields: {
4843
+ display_name: {}
4844
+ }
4845
+ },
4846
+ current_session_state: {},
4847
+ pos_session_state: {},
4848
+ pos_session_duration: {},
4849
+ currency_id: {
4850
+ fields: {
4851
+ display_name: {}
4852
+ }
4853
+ },
4854
+ name: {},
4855
+ pos_session_username: {},
4856
+ last_session_closing_date: {},
4857
+ last_session_closing_cash: {},
4858
+ number_of_rescue_session: {},
4859
+ current_user_id: {
4860
+ fields: {
4861
+ display_name: {}
4862
+ }
4863
+ },
4864
+ customer_display_type: {},
4865
+ module_pos_restaurant: {}
4866
+ }
4867
+ }
4868
+ };
4869
+ return env?.requests.post(
4870
+ "/call" /* CALL_PATH */,
4871
+ jsonData,
4872
+ {
4873
+ headers: {
4874
+ "Content-Type": "application/json",
4875
+ ...xNode ? { "X-Node": xNode } : {}
4876
+ }
4877
+ },
4878
+ service
4879
+ );
4880
+ },
4881
+ [env]
4882
+ );
4883
+ const createEntity = useCallback10(
4884
+ ({
4885
+ model,
4886
+ args,
4887
+ xNode,
4888
+ service
4889
+ }) => {
4890
+ const jsonData = {
4891
+ model,
4892
+ method: "create" /* CREATE */,
4893
+ args
4894
+ };
4895
+ return env?.requests.post(
4896
+ "/call" /* CALL_PATH */,
4897
+ jsonData,
4898
+ {
4899
+ headers: {
4900
+ "Content-Type": "application/json",
4901
+ ...xNode ? { "X-Node": xNode } : {}
4902
+ }
4903
+ },
4904
+ service
4905
+ );
4906
+ },
4907
+ [env]
4908
+ );
4909
+ const getList = useCallback10(
4910
+ ({
4911
+ model,
4912
+ domain,
4913
+ xNode,
4914
+ service,
4915
+ specification
4916
+ }) => {
4917
+ const jsonData = {
4918
+ model,
4919
+ method: "web_search_read" /* WEB_SEARCH_READ */,
4920
+ kwargs: {
4921
+ domain,
4922
+ specification
4923
+ }
4924
+ };
4925
+ return env?.requests.post(
4926
+ "/call" /* CALL_PATH */,
4927
+ jsonData,
4928
+ {
4929
+ headers: {
4930
+ "Content-Type": "application/json",
4931
+ ...xNode ? { "X-Node": xNode } : {}
4932
+ }
4933
+ },
4934
+ service
4935
+ );
4936
+ },
4937
+ [env]
4938
+ );
4640
4939
  return {
4641
4940
  getView,
4642
4941
  getMenu,
@@ -4652,7 +4951,15 @@ function useViewService() {
4652
4951
  signInSSO,
4653
4952
  verify2FA,
4654
4953
  get2FAMethods,
4655
- verifyTotp
4954
+ verifyTotp,
4955
+ getASession,
4956
+ updateClosedSession,
4957
+ manageSession,
4958
+ handleClosingSession,
4959
+ createSession,
4960
+ getPOS,
4961
+ createEntity,
4962
+ getList
4656
4963
  };
4657
4964
  }
4658
4965
  export {
@@ -0,0 +1,374 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi, c as GetSelectionType, f as GetViewParams } from './view-type-xxw9OeSR.mjs';
3
+ import { B as BaseModelInit } from './base-model-type-DD8uZnDP.mjs';
4
+ import { BaseModel } from './models.mjs';
5
+
6
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
7
+
8
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
9
+ email: string;
10
+ with_context: any;
11
+ method: string;
12
+ }, unknown>;
13
+
14
+ type ProviderPropsType = {
15
+ db: string;
16
+ };
17
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
18
+
19
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
20
+
21
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
22
+
23
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
24
+
25
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
26
+
27
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
28
+ method: any;
29
+ password: string;
30
+ with_context: any;
31
+ }, unknown>;
32
+
33
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
34
+
35
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string | undefined, unknown>;
36
+
37
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
38
+ code: string;
39
+ }, unknown>;
40
+
41
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
42
+ actionToken: string;
43
+ }, unknown>;
44
+
45
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
46
+
47
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
48
+
49
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
50
+
51
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
52
+ model: string;
53
+ domain: any;
54
+ ids: any;
55
+ fields: any;
56
+ type: any;
57
+ importCompat: any;
58
+ context: any;
59
+ groupby: any;
60
+ }, unknown>;
61
+
62
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
63
+ ids: any;
64
+ model: string;
65
+ isShow?: boolean;
66
+ parentField?: any;
67
+ fieldType?: any;
68
+ parentName?: any;
69
+ prefix?: any;
70
+ name?: any;
71
+ context: any;
72
+ importCompat?: any;
73
+ }, unknown>;
74
+
75
+ declare const useGetFileExcel: ({ model }: {
76
+ model: string;
77
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
78
+
79
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
80
+ id: any;
81
+ selectedSheet: any;
82
+ isHeader: boolean;
83
+ context: any;
84
+ }, unknown>;
85
+
86
+ declare const useUploadFileExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
87
+ formData: any;
88
+ }, unknown>;
89
+
90
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
91
+ formData: any;
92
+ }, unknown>;
93
+
94
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
95
+ fields: any;
96
+ columns: any;
97
+ idFile: any;
98
+ options: any;
99
+ dryrun: any;
100
+ context: any;
101
+ }, unknown>;
102
+
103
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
104
+ data: any;
105
+ }, unknown>;
106
+
107
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
108
+ data: any;
109
+ }, unknown>;
110
+
111
+ declare const useGetComment: ({ data, queryKey }: {
112
+ data: any;
113
+ queryKey: any;
114
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
115
+
116
+ type TFormView = {
117
+ model: string;
118
+ id?: number | null;
119
+ context?: any;
120
+ };
121
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
122
+ data: TFormView;
123
+ queryKey?: any;
124
+ enabled?: any;
125
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
126
+
127
+ declare const useGetImage: ({ data, queryKey, src, }: {
128
+ data: any;
129
+ queryKey: any;
130
+ src: any;
131
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
132
+
133
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
134
+ data: any;
135
+ }, unknown>;
136
+
137
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
138
+ formData: any;
139
+ }, unknown>;
140
+
141
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
142
+ formData: any;
143
+ }, unknown>;
144
+
145
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
146
+ ids: any;
147
+ model: string;
148
+ service?: string;
149
+ }, unknown>;
150
+
151
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
152
+
153
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
154
+
155
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
156
+
157
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
158
+ model?: string;
159
+ ids: any;
160
+ specification?: any;
161
+ context?: any;
162
+ service?: string;
163
+ xNode?: string;
164
+ }, unknown>;
165
+
166
+ declare const useGetFieldOnChange: ({ model, service, xNode, }: {
167
+ model: string;
168
+ service?: string;
169
+ xNode?: string;
170
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
171
+
172
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
173
+ domain: any;
174
+ spectification: any;
175
+ model: string;
176
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
177
+
178
+ declare const useModel: () => {
179
+ initModel: (modelData: BaseModelInit) => BaseModel;
180
+ };
181
+
182
+ declare const useOdooDataTransform: () => {
183
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => {
184
+ [x: string]: any;
185
+ };
186
+ parseORM: (data: Record<string, any>) => {
187
+ [x: string]: any;
188
+ };
189
+ };
190
+
191
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
192
+ ids: any;
193
+ model: string;
194
+ specification: any;
195
+ context: any;
196
+ object: any;
197
+ fieldChange?: any;
198
+ service?: string;
199
+ xNode?: string;
200
+ }, unknown>;
201
+
202
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
203
+ ids: any;
204
+ model: string;
205
+ data: any;
206
+ specification?: any;
207
+ context: any;
208
+ path?: string;
209
+ service?: string;
210
+ xNode?: string;
211
+ }, unknown>;
212
+
213
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
214
+
215
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
216
+ id: any;
217
+ context: ContextApi;
218
+ }, unknown>;
219
+
220
+ type SwitchUserLocaleParams = {
221
+ data: {
222
+ id: number;
223
+ values: any;
224
+ };
225
+ };
226
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
227
+
228
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
229
+ model: string;
230
+ ids: Record<string, any>[] | any;
231
+ context: ContextApi;
232
+ method: any;
233
+ service?: string;
234
+ xNode?: string;
235
+ }, unknown>;
236
+
237
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
238
+ id: any;
239
+ model: string;
240
+ context: ContextApi;
241
+ service?: string;
242
+ xNode?: string;
243
+ }, unknown>;
244
+
245
+ declare const useGetActionDetail: ({ aid, context, enabled, id, model, queryKey, }: {
246
+ aid: number;
247
+ context: any;
248
+ enabled: boolean;
249
+ id?: number;
250
+ model?: string;
251
+ queryKey?: any;
252
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
253
+
254
+ declare const useGetCalendar: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
255
+
256
+ declare const useGetGroups: ({ model, width_context, }: {
257
+ model: string;
258
+ width_context: any;
259
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
260
+
261
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any, service?: string, xNode?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
262
+
263
+ declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
264
+
265
+ declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
266
+ id: number;
267
+ }, unknown>;
268
+
269
+ declare const useGetProGressBar: ({ field, color, model, width_context, }: {
270
+ field: any;
271
+ color: any;
272
+ model: string;
273
+ width_context: string;
274
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
275
+
276
+ declare const useGetSelection: ({ data, queryKey, enabled, service, xNode, }: {
277
+ data: GetSelectionType;
278
+ queryKey: any[];
279
+ enabled?: boolean;
280
+ service?: string;
281
+ xNode?: string;
282
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
283
+
284
+ type UseGetViewProps = {
285
+ viewParams: GetViewParams;
286
+ enabled?: boolean;
287
+ };
288
+ declare const useGetView: ({ viewParams, enabled }: UseGetViewProps) => _tanstack_react_query.UseQueryResult<any, Error>;
289
+
290
+ declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
291
+ idAction: any;
292
+ context: ContextApi;
293
+ service?: string;
294
+ xNode?: string;
295
+ }, unknown>;
296
+
297
+ declare const useLoadMessage: () => _tanstack_react_query.UseQueryResult<any, Error>;
298
+
299
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
300
+ id: number;
301
+ report: any;
302
+ db: any;
303
+ }, unknown>;
304
+
305
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
306
+ model: string;
307
+ ids: Record<string, any>[] | any;
308
+ context: ContextApi;
309
+ service?: string;
310
+ xNode?: string;
311
+ }, unknown>;
312
+
313
+ declare const useGetResequence: (model: string, resIds: any, context: any, offset: any) => _tanstack_react_query.UseQueryResult<any, Error>;
314
+
315
+ declare const useRunAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
316
+ idAction: any;
317
+ context: ContextApi;
318
+ service?: string;
319
+ xNode?: string;
320
+ }, unknown>;
321
+
322
+ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
323
+ redirect_uri: string;
324
+ state: string;
325
+ client_id: string;
326
+ response_type: string;
327
+ path: string;
328
+ scope: string;
329
+ }, unknown>;
330
+
331
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
332
+ method: string;
333
+ with_context: any;
334
+ code: string;
335
+ device: string;
336
+ location: string;
337
+ }, unknown>;
338
+
339
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
340
+ method: string;
341
+ with_context: any;
342
+ }, unknown>;
343
+
344
+ declare const useGrantAccess: () => _tanstack_react_query.UseMutationResult<any, Error, {
345
+ redirect_uri: string;
346
+ state: string;
347
+ client_id: string;
348
+ scopes: string[];
349
+ }, unknown>;
350
+
351
+ declare const useRemoveTotpSetup: () => _tanstack_react_query.UseMutationResult<any, Error, {
352
+ method: string;
353
+ token: string;
354
+ }, unknown>;
355
+
356
+ declare const useRequestSetupTotp: () => _tanstack_react_query.UseMutationResult<any, Error, {
357
+ method: string;
358
+ token: string;
359
+ }, unknown>;
360
+
361
+ declare const useSettingsWebRead2fa: () => _tanstack_react_query.UseMutationResult<any, Error, {
362
+ method: string;
363
+ model: string;
364
+ kwargs: any;
365
+ token: string;
366
+ }, unknown>;
367
+
368
+ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
369
+ method: string;
370
+ action_token: string;
371
+ code: string;
372
+ }, unknown>;
373
+
374
+ export { useGetResequence as $, useGetImage as A, useSendComment as B, useUploadImage as C, useDelete as D, useGetAll as E, useGetConversionRate as F, useGetCurrency as G, useGetDetail as H, useGetFieldOnChange as I, useGetListMyBankAccount as J, useModel as K, useOdooDataTransform as L, useOnChangeForm as M, useSave as N, useGetProfile as O, useGetUser as P, useSwitchLocale as Q, useButton as R, useDuplicateRecord as S, useGet2FAMethods as T, useGetActionDetail as U, useGetCalendar as V, useGetGroups as W, useGetListData as X, useGetMenu as Y, useGetPrintReport as Z, useGetProGressBar as _, useForgotPasswordSSO as a, useGetSelection as a0, useGetView as a1, useLoadAction as a2, useLoadMessage as a3, usePrint as a4, useRemoveRow as a5, useRunAction as a6, useSignInSSO as a7, useVerify2FA as a8, useGrantAccess as a9, useRemoveTotpSetup as aa, useRequestSetupTotp as ab, useSettingsWebRead2fa as ac, useVerifyTotp as ad, useUploadFile as ae, useGetProvider as b, useIsValidToken as c, useLoginCredential as d, useLoginSocial as e, useResetPassword as f, useResetPasswordSSO as g, useUpdatePassword as h, useLogout as i, useGetAccessByCode as j, useValidateActionToken as k, useGetCompanyInfo as l, useGetCurrentCompany as m, useGetListCompany as n, useExecuteImport as o, useExportExcel as p, useGetFieldExport as q, useGetFileExcel as r, useParsePreview as s, useUploadFileExcel as t, useForgotPassword as u, useUploadIdFile as v, useChangeStatus as w, useDeleteComment as x, useGetComment as y, useGetFormView as z };