@fctc/interface-logic 1.10.7 → 1.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hooks.d.mts CHANGED
@@ -1,7 +1,234 @@
1
- export { u as useChangeStatus, a as useDelete, b as useDeleteComment, c as useExecuteImport, d as useExportExcel, e as useForgotPassword, f as useForgotPasswordSSO, O as useGetAccessByCode, g as useGetAll, h as useGetComment, i as useGetCompanyInfo, j as useGetConversionRate, k as useGetCurrency, l as useGetCurrentCompany, m as useGetDetail, n as useGetFieldExport, o as useGetFieldOnChange, p as useGetFileExcel, q as useGetFormView, r as useGetImage, s as useGetListCompany, t as useGetListMyBankAccount, v as useGetProfile, w as useGetProvider, x as useGetUser, y as useIsValidToken, z as useLoginCredential, A as useLoginSocial, P as useLogout, B as useModel, C as useOdooDataTransform, D as useOnChangeForm, E as useParsePreview, F as useResetPassword, G as useResetPasswordSSO, H as useSave, I as useSendComment, J as useSwitchLocale, K as useUpdatePassword, L as useUploadFile, M as useUploadIdFile, N as useUploadImage, Q as useValidateActionToken } from './use-switch-locale-BFEf9mtg.mjs';
2
1
  import * as _tanstack_react_query from '@tanstack/react-query';
3
- import { C as ContextApi, G as GetSelectionType } from './api-type-DfAFCfCw.mjs';
4
- import { G as GetViewParams } from './view-type-C6Eej-Ij.mjs';
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-BGJfDe73.mjs';
3
+
4
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
+
6
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
+ email: string;
8
+ with_context: any;
9
+ method: string;
10
+ }, unknown>;
11
+
12
+ type ProviderPropsType = {
13
+ db: string;
14
+ };
15
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
16
+
17
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
18
+
19
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
20
+
21
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
22
+
23
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
24
+
25
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
26
+ method: any;
27
+ password: string;
28
+ with_context: any;
29
+ }, unknown>;
30
+
31
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
32
+
33
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
34
+
35
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
36
+ code: string;
37
+ }, unknown>;
38
+
39
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
40
+ actionToken: string;
41
+ path: string;
42
+ }, unknown>;
43
+
44
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+
46
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
47
+
48
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
49
+
50
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
51
+ model: string;
52
+ domain: any;
53
+ ids: any;
54
+ fields: any;
55
+ type: any;
56
+ importCompat: any;
57
+ context: any;
58
+ groupby: any;
59
+ }, unknown>;
60
+
61
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
62
+ ids: any;
63
+ model: string;
64
+ isShow?: boolean;
65
+ parentField?: any;
66
+ fieldType?: any;
67
+ parentName?: any;
68
+ prefix?: any;
69
+ name?: any;
70
+ context: any;
71
+ importCompat?: any;
72
+ }, unknown>;
73
+
74
+ declare const useGetFileExcel: ({ model }: {
75
+ model: string;
76
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
77
+
78
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
79
+ id: any;
80
+ selectedSheet: any;
81
+ isHeader: boolean;
82
+ context: any;
83
+ }, unknown>;
84
+
85
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ formData: any;
87
+ }, unknown>;
88
+
89
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
90
+ formData: any;
91
+ }, unknown>;
92
+
93
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
94
+ fields: any;
95
+ columns: any;
96
+ idFile: any;
97
+ options: any;
98
+ dryrun: any;
99
+ context: any;
100
+ }, unknown>;
101
+
102
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
103
+ data: any;
104
+ }, unknown>;
105
+
106
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
107
+ data: any;
108
+ }, unknown>;
109
+
110
+ declare const useGetComment: ({ data, queryKey }: {
111
+ data: any;
112
+ queryKey: any;
113
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
114
+
115
+ type TFormView = {
116
+ model: string;
117
+ id?: number | null;
118
+ context?: any;
119
+ };
120
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
121
+ data: TFormView;
122
+ queryKey?: any;
123
+ enabled?: any;
124
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
125
+
126
+ declare const useGetImage: ({ data, queryKey, src, }: {
127
+ data: any;
128
+ queryKey: any;
129
+ src: any;
130
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
131
+
132
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ data: any;
134
+ }, unknown>;
135
+
136
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
137
+ data: any;
138
+ }, unknown>;
139
+
140
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
141
+ ids: any;
142
+ model: string;
143
+ }, unknown>;
144
+
145
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
146
+
147
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
148
+
149
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
150
+
151
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
152
+ model?: string;
153
+ ids: any;
154
+ specification?: any;
155
+ context?: any;
156
+ }, unknown>;
157
+
158
+ declare const useGetFieldOnChange: ({ model }: {
159
+ model: string;
160
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
161
+
162
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
163
+ domain: any;
164
+ spectification: any;
165
+ model: string;
166
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
167
+
168
+ interface BaseModelInit {
169
+ name: string;
170
+ view: Record<string, any>;
171
+ actContext?: Record<string, any>;
172
+ fields?: any;
173
+ }
174
+
175
+ declare class BaseModel {
176
+ name: string;
177
+ view: Record<string, any>;
178
+ actContext?: Record<string, any>;
179
+ fields?: any;
180
+ constructor(init: BaseModelInit);
181
+ private getSpecificationByFields;
182
+ getTreeProps(): Record<string, any>;
183
+ getTreeFields(): Record<string, any>[];
184
+ getSpecification(): Record<string, any>;
185
+ }
186
+
187
+ declare const useModel: () => {
188
+ initModel: (modelData: BaseModelInit) => BaseModel;
189
+ };
190
+
191
+ declare const useOdooDataTransform: () => {
192
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => {
193
+ [x: string]: any;
194
+ };
195
+ parseORM: (data: Record<string, any>) => {
196
+ [x: string]: any;
197
+ };
198
+ };
199
+
200
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
201
+ ids: any;
202
+ model: string;
203
+ specification: any;
204
+ context: any;
205
+ object: any;
206
+ fieldChange?: any;
207
+ }, unknown>;
208
+
209
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
210
+ ids: any;
211
+ model: string;
212
+ data: any;
213
+ specification?: any;
214
+ context: any;
215
+ path?: string;
216
+ }, unknown>;
217
+
218
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
219
+
220
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
221
+ id: any;
222
+ context: ContextApi;
223
+ }, unknown>;
224
+
225
+ type SwitchUserLocaleParams = {
226
+ data: {
227
+ id: number;
228
+ values: any;
229
+ };
230
+ };
231
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
5
232
 
6
233
  declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
234
  model: string;
@@ -89,7 +316,7 @@ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, E
89
316
  path: string;
90
317
  }, unknown>;
91
318
 
92
- declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, Error, {
319
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
93
320
  method: string;
94
321
  with_context: any;
95
322
  code: string;
@@ -97,17 +324,11 @@ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, E
97
324
  location: string;
98
325
  }, unknown>;
99
326
 
100
- declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
327
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
101
328
  method: string;
102
329
  with_context: any;
103
330
  }, unknown>;
104
331
 
105
- declare const useGetFieldsViewSecurity: () => _tanstack_react_query.UseMutationResult<any, Error, {
106
- method: string;
107
- token: string;
108
- views: any;
109
- }, unknown>;
110
-
111
332
  declare const useGrantAccess: () => _tanstack_react_query.UseMutationResult<any, Error, {
112
333
  redirect_uri: string;
113
334
  state: string;
@@ -132,10 +353,10 @@ declare const useSettingsWebRead2fa: () => _tanstack_react_query.UseMutationResu
132
353
  token: string;
133
354
  }, unknown>;
134
355
 
135
- declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<any, Error, {
356
+ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
136
357
  method: string;
137
358
  action_token: string;
138
359
  code: string;
139
360
  }, unknown>;
140
361
 
141
- export { useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetFieldsViewSecurity, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useGrantAccess, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useRunAction, useSettingsWebRead2fa, useSignInSSO, useVerify2FA, useVerifyTotp };
362
+ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
package/dist/hooks.d.ts CHANGED
@@ -1,7 +1,234 @@
1
- export { u as useChangeStatus, a as useDelete, b as useDeleteComment, c as useExecuteImport, d as useExportExcel, e as useForgotPassword, f as useForgotPasswordSSO, O as useGetAccessByCode, g as useGetAll, h as useGetComment, i as useGetCompanyInfo, j as useGetConversionRate, k as useGetCurrency, l as useGetCurrentCompany, m as useGetDetail, n as useGetFieldExport, o as useGetFieldOnChange, p as useGetFileExcel, q as useGetFormView, r as useGetImage, s as useGetListCompany, t as useGetListMyBankAccount, v as useGetProfile, w as useGetProvider, x as useGetUser, y as useIsValidToken, z as useLoginCredential, A as useLoginSocial, P as useLogout, B as useModel, C as useOdooDataTransform, D as useOnChangeForm, E as useParsePreview, F as useResetPassword, G as useResetPasswordSSO, H as useSave, I as useSendComment, J as useSwitchLocale, K as useUpdatePassword, L as useUploadFile, M as useUploadIdFile, N as useUploadImage, Q as useValidateActionToken } from './use-switch-locale-y3Oki_i5.js';
2
1
  import * as _tanstack_react_query from '@tanstack/react-query';
3
- import { C as ContextApi, G as GetSelectionType } from './api-type-DfAFCfCw.js';
4
- import { G as GetViewParams } from './view-type-C6Eej-Ij.js';
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-BGJfDe73.js';
3
+
4
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
+
6
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
+ email: string;
8
+ with_context: any;
9
+ method: string;
10
+ }, unknown>;
11
+
12
+ type ProviderPropsType = {
13
+ db: string;
14
+ };
15
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
16
+
17
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
18
+
19
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
20
+
21
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
22
+
23
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
24
+
25
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
26
+ method: any;
27
+ password: string;
28
+ with_context: any;
29
+ }, unknown>;
30
+
31
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
32
+
33
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
34
+
35
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
36
+ code: string;
37
+ }, unknown>;
38
+
39
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
40
+ actionToken: string;
41
+ path: string;
42
+ }, unknown>;
43
+
44
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+
46
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
47
+
48
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
49
+
50
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
51
+ model: string;
52
+ domain: any;
53
+ ids: any;
54
+ fields: any;
55
+ type: any;
56
+ importCompat: any;
57
+ context: any;
58
+ groupby: any;
59
+ }, unknown>;
60
+
61
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
62
+ ids: any;
63
+ model: string;
64
+ isShow?: boolean;
65
+ parentField?: any;
66
+ fieldType?: any;
67
+ parentName?: any;
68
+ prefix?: any;
69
+ name?: any;
70
+ context: any;
71
+ importCompat?: any;
72
+ }, unknown>;
73
+
74
+ declare const useGetFileExcel: ({ model }: {
75
+ model: string;
76
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
77
+
78
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
79
+ id: any;
80
+ selectedSheet: any;
81
+ isHeader: boolean;
82
+ context: any;
83
+ }, unknown>;
84
+
85
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ formData: any;
87
+ }, unknown>;
88
+
89
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
90
+ formData: any;
91
+ }, unknown>;
92
+
93
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
94
+ fields: any;
95
+ columns: any;
96
+ idFile: any;
97
+ options: any;
98
+ dryrun: any;
99
+ context: any;
100
+ }, unknown>;
101
+
102
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
103
+ data: any;
104
+ }, unknown>;
105
+
106
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
107
+ data: any;
108
+ }, unknown>;
109
+
110
+ declare const useGetComment: ({ data, queryKey }: {
111
+ data: any;
112
+ queryKey: any;
113
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
114
+
115
+ type TFormView = {
116
+ model: string;
117
+ id?: number | null;
118
+ context?: any;
119
+ };
120
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
121
+ data: TFormView;
122
+ queryKey?: any;
123
+ enabled?: any;
124
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
125
+
126
+ declare const useGetImage: ({ data, queryKey, src, }: {
127
+ data: any;
128
+ queryKey: any;
129
+ src: any;
130
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
131
+
132
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ data: any;
134
+ }, unknown>;
135
+
136
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
137
+ data: any;
138
+ }, unknown>;
139
+
140
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
141
+ ids: any;
142
+ model: string;
143
+ }, unknown>;
144
+
145
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
146
+
147
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
148
+
149
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
150
+
151
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
152
+ model?: string;
153
+ ids: any;
154
+ specification?: any;
155
+ context?: any;
156
+ }, unknown>;
157
+
158
+ declare const useGetFieldOnChange: ({ model }: {
159
+ model: string;
160
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
161
+
162
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
163
+ domain: any;
164
+ spectification: any;
165
+ model: string;
166
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
167
+
168
+ interface BaseModelInit {
169
+ name: string;
170
+ view: Record<string, any>;
171
+ actContext?: Record<string, any>;
172
+ fields?: any;
173
+ }
174
+
175
+ declare class BaseModel {
176
+ name: string;
177
+ view: Record<string, any>;
178
+ actContext?: Record<string, any>;
179
+ fields?: any;
180
+ constructor(init: BaseModelInit);
181
+ private getSpecificationByFields;
182
+ getTreeProps(): Record<string, any>;
183
+ getTreeFields(): Record<string, any>[];
184
+ getSpecification(): Record<string, any>;
185
+ }
186
+
187
+ declare const useModel: () => {
188
+ initModel: (modelData: BaseModelInit) => BaseModel;
189
+ };
190
+
191
+ declare const useOdooDataTransform: () => {
192
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => {
193
+ [x: string]: any;
194
+ };
195
+ parseORM: (data: Record<string, any>) => {
196
+ [x: string]: any;
197
+ };
198
+ };
199
+
200
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
201
+ ids: any;
202
+ model: string;
203
+ specification: any;
204
+ context: any;
205
+ object: any;
206
+ fieldChange?: any;
207
+ }, unknown>;
208
+
209
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
210
+ ids: any;
211
+ model: string;
212
+ data: any;
213
+ specification?: any;
214
+ context: any;
215
+ path?: string;
216
+ }, unknown>;
217
+
218
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
219
+
220
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
221
+ id: any;
222
+ context: ContextApi;
223
+ }, unknown>;
224
+
225
+ type SwitchUserLocaleParams = {
226
+ data: {
227
+ id: number;
228
+ values: any;
229
+ };
230
+ };
231
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
5
232
 
6
233
  declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
234
  model: string;
@@ -89,7 +316,7 @@ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, E
89
316
  path: string;
90
317
  }, unknown>;
91
318
 
92
- declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, Error, {
319
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
93
320
  method: string;
94
321
  with_context: any;
95
322
  code: string;
@@ -97,17 +324,11 @@ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, E
97
324
  location: string;
98
325
  }, unknown>;
99
326
 
100
- declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
327
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
101
328
  method: string;
102
329
  with_context: any;
103
330
  }, unknown>;
104
331
 
105
- declare const useGetFieldsViewSecurity: () => _tanstack_react_query.UseMutationResult<any, Error, {
106
- method: string;
107
- token: string;
108
- views: any;
109
- }, unknown>;
110
-
111
332
  declare const useGrantAccess: () => _tanstack_react_query.UseMutationResult<any, Error, {
112
333
  redirect_uri: string;
113
334
  state: string;
@@ -132,10 +353,10 @@ declare const useSettingsWebRead2fa: () => _tanstack_react_query.UseMutationResu
132
353
  token: string;
133
354
  }, unknown>;
134
355
 
135
- declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<any, Error, {
356
+ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
136
357
  method: string;
137
358
  action_token: string;
138
359
  code: string;
139
360
  }, unknown>;
140
361
 
141
- export { useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetFieldsViewSecurity, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useGrantAccess, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useRunAction, useSettingsWebRead2fa, useSignInSSO, useVerify2FA, useVerifyTotp };
362
+ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };