@fctc/interface-logic 1.0.1 → 1.0.3

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.
Files changed (57) hide show
  1. package/dist/base-model-type-DvO53Lwi.d.mts +7 -0
  2. package/dist/base-model-type-DvO53Lwi.d.ts +7 -0
  3. package/dist/config.d.mts +16 -0
  4. package/dist/config.d.ts +16 -0
  5. package/dist/config.js +2355 -0
  6. package/dist/config.mjs +2318 -0
  7. package/dist/constants.d.mts +128 -0
  8. package/dist/constants.d.ts +128 -0
  9. package/dist/constants.js +202 -0
  10. package/dist/constants.mjs +163 -0
  11. package/dist/context-type-D5XefoL-.d.mts +8 -0
  12. package/dist/context-type-D5XefoL-.d.ts +8 -0
  13. package/dist/environment.d.mts +41 -0
  14. package/dist/environment.d.ts +41 -0
  15. package/dist/environment.js +3061 -0
  16. package/dist/environment.mjs +3021 -0
  17. package/dist/hook.d.mts +292 -0
  18. package/dist/hook.d.ts +292 -0
  19. package/dist/hook.js +5683 -0
  20. package/dist/hook.mjs +5587 -0
  21. package/dist/index-C_nK1Mii.d.mts +19 -0
  22. package/dist/index-C_nK1Mii.d.ts +19 -0
  23. package/dist/index.d.mts +1 -1389
  24. package/dist/index.d.ts +1 -1389
  25. package/dist/index.js +0 -6856
  26. package/dist/index.mjs +0 -6629
  27. package/dist/model.d.mts +35 -0
  28. package/dist/model.d.ts +35 -0
  29. package/dist/model.js +3320 -0
  30. package/dist/model.mjs +3281 -0
  31. package/dist/provider.d.mts +15 -0
  32. package/dist/provider.d.ts +15 -0
  33. package/dist/provider.js +6566 -0
  34. package/dist/provider.mjs +6550 -0
  35. package/dist/services.d.mts +224 -0
  36. package/dist/services.d.ts +224 -0
  37. package/dist/services.js +4477 -0
  38. package/dist/services.mjs +4432 -0
  39. package/dist/session-storage-CxkkEmQh.d.mts +15 -0
  40. package/dist/session-storage-CxkkEmQh.d.ts +15 -0
  41. package/dist/store.d.mts +643 -0
  42. package/dist/store.d.ts +643 -0
  43. package/dist/store.js +814 -0
  44. package/dist/store.mjs +709 -0
  45. package/dist/types.d.mts +12 -0
  46. package/dist/types.d.ts +12 -0
  47. package/dist/types.js +18 -0
  48. package/dist/types.mjs +0 -0
  49. package/dist/use-get-selection-QZu1jKqa.d.mts +15 -0
  50. package/dist/use-get-selection-QZu1jKqa.d.ts +15 -0
  51. package/dist/utils.d.mts +87 -0
  52. package/dist/utils.d.ts +87 -0
  53. package/dist/utils.js +2947 -0
  54. package/dist/utils.mjs +2881 -0
  55. package/dist/view-type-y6vtF3wg.d.mts +106 -0
  56. package/dist/view-type-y6vtF3wg.d.ts +106 -0
  57. package/package.json +55 -13
@@ -0,0 +1,292 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, f as ViewData, C as ContextApi, c as GetViewParams } from './view-type-y6vtF3wg.mjs';
3
+ import { a as BaseModelInit, B as BaseModel } from './index-C_nK1Mii.mjs';
4
+ export { u as useGetSelection } from './use-get-selection-QZu1jKqa.mjs';
5
+ import { C as Context } from './context-type-D5XefoL-.mjs';
6
+
7
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
8
+
9
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
10
+ email: string;
11
+ with_context: any;
12
+ method: string;
13
+ }, unknown>;
14
+
15
+ type ProviderPropsType = {
16
+ db: string;
17
+ };
18
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
19
+
20
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
21
+
22
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
23
+
24
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
25
+
26
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
27
+
28
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
29
+ method: any;
30
+ password: string;
31
+ with_context: any;
32
+ }, unknown>;
33
+
34
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
35
+
36
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
37
+
38
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
39
+
40
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
41
+
42
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
43
+ model: string;
44
+ domain: any;
45
+ ids: any;
46
+ fields: any;
47
+ type: any;
48
+ importCompat: any;
49
+ context: any;
50
+ groupby: any;
51
+ }, unknown>;
52
+
53
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
54
+ ids: any;
55
+ model: string;
56
+ isShow?: boolean;
57
+ parentField?: any;
58
+ fieldType?: any;
59
+ parentName?: any;
60
+ prefix?: any;
61
+ name?: any;
62
+ context: any;
63
+ importCompat?: any;
64
+ }, unknown>;
65
+
66
+ declare const useGetFileExcel: ({ model }: {
67
+ model: string;
68
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
69
+
70
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
71
+ id: any;
72
+ selectedSheet: any;
73
+ isHeader: boolean;
74
+ context: any;
75
+ }, unknown>;
76
+
77
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
78
+ formData: any;
79
+ }, unknown>;
80
+
81
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
82
+ formData: any;
83
+ }, unknown>;
84
+
85
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ fields: any;
87
+ columns: any;
88
+ idFile: any;
89
+ options: any;
90
+ dryrun: any;
91
+ context: any;
92
+ }, unknown>;
93
+
94
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
95
+ data: any;
96
+ }, unknown>;
97
+
98
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
99
+ data: any;
100
+ }, unknown>;
101
+
102
+ declare const useGetComment: ({ data, queryKey }: {
103
+ data: any;
104
+ queryKey: any;
105
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
106
+
107
+ type TFormView = {
108
+ model: string;
109
+ id?: number | null;
110
+ context?: any;
111
+ };
112
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
113
+ data: TFormView;
114
+ queryKey?: any;
115
+ enabled?: any;
116
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
117
+
118
+ declare const useGetImage: ({ data, queryKey, src, }: {
119
+ data: any;
120
+ queryKey: any;
121
+ src: any;
122
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
123
+
124
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
125
+ data: any;
126
+ }, unknown>;
127
+
128
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
129
+ data: any;
130
+ }, unknown>;
131
+
132
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ ids: any;
134
+ model: string;
135
+ }, unknown>;
136
+
137
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
138
+
139
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
140
+
141
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
142
+
143
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
144
+ model?: string;
145
+ ids: any;
146
+ specification?: any;
147
+ context?: any;
148
+ }, unknown>;
149
+
150
+ declare const useGetFieldOnChange: ({ model }: {
151
+ model: string;
152
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
153
+
154
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
155
+ domain: any;
156
+ spectification: any;
157
+ model: string;
158
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
159
+
160
+ declare const useModel: () => {
161
+ initModel: (modelData: BaseModelInit) => BaseModel;
162
+ };
163
+
164
+ declare const useOdooDataTransform: () => {
165
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
166
+ parseORM: (data: Record<string, any>) => Record<string, any>;
167
+ };
168
+
169
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
170
+ ids: any;
171
+ model: string;
172
+ specification: any;
173
+ context: any;
174
+ object: any;
175
+ fieldChange?: any;
176
+ }, unknown>;
177
+
178
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
179
+ ids: any;
180
+ model: string;
181
+ data: any;
182
+ specification?: any;
183
+ context: any;
184
+ }, unknown>;
185
+
186
+ declare const useGetProfile: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
187
+
188
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
189
+ id: any;
190
+ context: ContextApi;
191
+ }, unknown>;
192
+
193
+ type SwitchUserLocaleParams = {
194
+ data: {
195
+ id: number;
196
+ values: any;
197
+ };
198
+ };
199
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
200
+
201
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
202
+ model: string;
203
+ ids: Record<string, any>[] | any;
204
+ context: ContextApi;
205
+ method: any;
206
+ }, unknown>;
207
+
208
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
209
+ id: any;
210
+ model: string;
211
+ context: ContextApi;
212
+ }, unknown>;
213
+
214
+ declare const useGetActionDetail: ({ aid, context, enabled, id, model, queryKey, }: {
215
+ aid: number;
216
+ context: any;
217
+ enabled: boolean;
218
+ id?: number;
219
+ model?: string;
220
+ queryKey?: any;
221
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
222
+
223
+ declare const useGetCalendar: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
224
+
225
+ declare const useGetGroups: ({ model, width_context, }: {
226
+ model: string;
227
+ width_context: any;
228
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
229
+
230
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
231
+
232
+ declare const useGetMenu: (context: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
233
+
234
+ declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
235
+ id: number;
236
+ }, unknown>;
237
+
238
+ declare const useGetProGressBar: ({ field, color, model, width_context, }: {
239
+ field: any;
240
+ color: any;
241
+ model: string;
242
+ width_context: string;
243
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
244
+
245
+ declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
246
+
247
+ declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
248
+ idAction: any;
249
+ context: ContextApi;
250
+ }, unknown>;
251
+
252
+ declare const useLoadMessage: () => _tanstack_react_query.UseQueryResult<any, Error>;
253
+
254
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
255
+ id: number;
256
+ report: any;
257
+ db: any;
258
+ }, unknown>;
259
+
260
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
261
+ model: string;
262
+ ids: Record<string, any>[] | any;
263
+ context: ContextApi;
264
+ }, unknown>;
265
+
266
+ declare const useGetResequence: (model: string, resIds: any, context: Context, offset: any) => _tanstack_react_query.UseQueryResult<any, Error>;
267
+
268
+ declare const useRunAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
269
+ idAction: any;
270
+ context: ContextApi;
271
+ }, unknown>;
272
+
273
+ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
274
+ redirect_uri: string;
275
+ state: string;
276
+ client_id: string;
277
+ response_type: string;
278
+ path: string;
279
+ }, unknown>;
280
+
281
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, Error, {
282
+ method: string;
283
+ with_context: any;
284
+ code: string;
285
+ }, unknown>;
286
+
287
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
288
+ method: string;
289
+ with_context: any;
290
+ }, unknown>;
291
+
292
+ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetUser, useGetView, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useVerify2FA };
package/dist/hook.d.ts ADDED
@@ -0,0 +1,292 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, f as ViewData, C as ContextApi, c as GetViewParams } from './view-type-y6vtF3wg.js';
3
+ import { a as BaseModelInit, B as BaseModel } from './index-C_nK1Mii.js';
4
+ export { u as useGetSelection } from './use-get-selection-QZu1jKqa.js';
5
+ import { C as Context } from './context-type-D5XefoL-.js';
6
+
7
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
8
+
9
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
10
+ email: string;
11
+ with_context: any;
12
+ method: string;
13
+ }, unknown>;
14
+
15
+ type ProviderPropsType = {
16
+ db: string;
17
+ };
18
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
19
+
20
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
21
+
22
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
23
+
24
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
25
+
26
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
27
+
28
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
29
+ method: any;
30
+ password: string;
31
+ with_context: any;
32
+ }, unknown>;
33
+
34
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
35
+
36
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
37
+
38
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
39
+
40
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
41
+
42
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
43
+ model: string;
44
+ domain: any;
45
+ ids: any;
46
+ fields: any;
47
+ type: any;
48
+ importCompat: any;
49
+ context: any;
50
+ groupby: any;
51
+ }, unknown>;
52
+
53
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
54
+ ids: any;
55
+ model: string;
56
+ isShow?: boolean;
57
+ parentField?: any;
58
+ fieldType?: any;
59
+ parentName?: any;
60
+ prefix?: any;
61
+ name?: any;
62
+ context: any;
63
+ importCompat?: any;
64
+ }, unknown>;
65
+
66
+ declare const useGetFileExcel: ({ model }: {
67
+ model: string;
68
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
69
+
70
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
71
+ id: any;
72
+ selectedSheet: any;
73
+ isHeader: boolean;
74
+ context: any;
75
+ }, unknown>;
76
+
77
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
78
+ formData: any;
79
+ }, unknown>;
80
+
81
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
82
+ formData: any;
83
+ }, unknown>;
84
+
85
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ fields: any;
87
+ columns: any;
88
+ idFile: any;
89
+ options: any;
90
+ dryrun: any;
91
+ context: any;
92
+ }, unknown>;
93
+
94
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
95
+ data: any;
96
+ }, unknown>;
97
+
98
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
99
+ data: any;
100
+ }, unknown>;
101
+
102
+ declare const useGetComment: ({ data, queryKey }: {
103
+ data: any;
104
+ queryKey: any;
105
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
106
+
107
+ type TFormView = {
108
+ model: string;
109
+ id?: number | null;
110
+ context?: any;
111
+ };
112
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
113
+ data: TFormView;
114
+ queryKey?: any;
115
+ enabled?: any;
116
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
117
+
118
+ declare const useGetImage: ({ data, queryKey, src, }: {
119
+ data: any;
120
+ queryKey: any;
121
+ src: any;
122
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
123
+
124
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
125
+ data: any;
126
+ }, unknown>;
127
+
128
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
129
+ data: any;
130
+ }, unknown>;
131
+
132
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ ids: any;
134
+ model: string;
135
+ }, unknown>;
136
+
137
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
138
+
139
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
140
+
141
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
142
+
143
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
144
+ model?: string;
145
+ ids: any;
146
+ specification?: any;
147
+ context?: any;
148
+ }, unknown>;
149
+
150
+ declare const useGetFieldOnChange: ({ model }: {
151
+ model: string;
152
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
153
+
154
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
155
+ domain: any;
156
+ spectification: any;
157
+ model: string;
158
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
159
+
160
+ declare const useModel: () => {
161
+ initModel: (modelData: BaseModelInit) => BaseModel;
162
+ };
163
+
164
+ declare const useOdooDataTransform: () => {
165
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
166
+ parseORM: (data: Record<string, any>) => Record<string, any>;
167
+ };
168
+
169
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
170
+ ids: any;
171
+ model: string;
172
+ specification: any;
173
+ context: any;
174
+ object: any;
175
+ fieldChange?: any;
176
+ }, unknown>;
177
+
178
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
179
+ ids: any;
180
+ model: string;
181
+ data: any;
182
+ specification?: any;
183
+ context: any;
184
+ }, unknown>;
185
+
186
+ declare const useGetProfile: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
187
+
188
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
189
+ id: any;
190
+ context: ContextApi;
191
+ }, unknown>;
192
+
193
+ type SwitchUserLocaleParams = {
194
+ data: {
195
+ id: number;
196
+ values: any;
197
+ };
198
+ };
199
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
200
+
201
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
202
+ model: string;
203
+ ids: Record<string, any>[] | any;
204
+ context: ContextApi;
205
+ method: any;
206
+ }, unknown>;
207
+
208
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
209
+ id: any;
210
+ model: string;
211
+ context: ContextApi;
212
+ }, unknown>;
213
+
214
+ declare const useGetActionDetail: ({ aid, context, enabled, id, model, queryKey, }: {
215
+ aid: number;
216
+ context: any;
217
+ enabled: boolean;
218
+ id?: number;
219
+ model?: string;
220
+ queryKey?: any;
221
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
222
+
223
+ declare const useGetCalendar: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
224
+
225
+ declare const useGetGroups: ({ model, width_context, }: {
226
+ model: string;
227
+ width_context: any;
228
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
229
+
230
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
231
+
232
+ declare const useGetMenu: (context: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
233
+
234
+ declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
235
+ id: number;
236
+ }, unknown>;
237
+
238
+ declare const useGetProGressBar: ({ field, color, model, width_context, }: {
239
+ field: any;
240
+ color: any;
241
+ model: string;
242
+ width_context: string;
243
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
244
+
245
+ declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
246
+
247
+ declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
248
+ idAction: any;
249
+ context: ContextApi;
250
+ }, unknown>;
251
+
252
+ declare const useLoadMessage: () => _tanstack_react_query.UseQueryResult<any, Error>;
253
+
254
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
255
+ id: number;
256
+ report: any;
257
+ db: any;
258
+ }, unknown>;
259
+
260
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
261
+ model: string;
262
+ ids: Record<string, any>[] | any;
263
+ context: ContextApi;
264
+ }, unknown>;
265
+
266
+ declare const useGetResequence: (model: string, resIds: any, context: Context, offset: any) => _tanstack_react_query.UseQueryResult<any, Error>;
267
+
268
+ declare const useRunAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
269
+ idAction: any;
270
+ context: ContextApi;
271
+ }, unknown>;
272
+
273
+ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
274
+ redirect_uri: string;
275
+ state: string;
276
+ client_id: string;
277
+ response_type: string;
278
+ path: string;
279
+ }, unknown>;
280
+
281
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, Error, {
282
+ method: string;
283
+ with_context: any;
284
+ code: string;
285
+ }, unknown>;
286
+
287
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
288
+ method: string;
289
+ with_context: any;
290
+ }, unknown>;
291
+
292
+ export { useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetUser, useGetView, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSignInSSO, useSwitchLocale, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useVerify2FA };