@fctc/interface-logic 5.1.2 → 5.1.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.
- package/dist/{chunk-FDVY2DBI.mjs → chunk-6ARYI77N.mjs} +1 -1
- package/dist/{chunk-H2VMULTO.mjs → chunk-6HWZ3NGD.mjs} +622 -24
- package/dist/{chunk-MJEZ4MMQ.mjs → chunk-ACSPOGTI.mjs} +2 -1
- package/dist/{chunk-4NLKHYBY.js → chunk-C5QQGBN4.js} +2 -2
- package/dist/{chunk-IVXH2HOR.js → chunk-NTTHLOQ5.js} +640 -28
- package/dist/{chunk-IUYYGSEL.js → chunk-Q5YXX4OR.js} +2 -1
- package/dist/{chunk-XA7EW3ZX.mjs → chunk-QOXPJWSN.mjs} +1 -1
- package/dist/{chunk-YKB32DSB.js → chunk-RPWKWEMA.js} +2 -2
- package/dist/{chunk-JNLBHOL4.mjs → chunk-VBYRP2P7.mjs} +20 -1
- package/dist/{chunk-BZYCE2VA.js → chunk-WBGK2SHU.js} +20 -1
- package/dist/configs.js +3 -3
- package/dist/configs.mjs +2 -2
- package/dist/constants.d.mts +17 -4
- package/dist/constants.d.ts +17 -4
- package/dist/constants.js +17 -17
- package/dist/constants.mjs +1 -1
- package/dist/environment.js +6 -6
- package/dist/environment.mjs +3 -3
- package/dist/hooks.d.mts +95 -19
- package/dist/hooks.d.ts +95 -19
- package/dist/hooks.js +198 -142
- package/dist/hooks.mjs +4 -4
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +241 -185
- package/dist/index.mjs +5 -5
- package/dist/models.js +3 -3
- package/dist/models.mjs +2 -2
- package/dist/provider.d.mts +15 -2
- package/dist/provider.d.ts +15 -2
- package/dist/provider.js +14 -14
- package/dist/provider.mjs +4 -4
- package/dist/services.d.mts +109 -18
- package/dist/services.d.ts +109 -18
- package/dist/services.js +15 -15
- package/dist/services.mjs +4 -4
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ var axiosClient = {
|
|
|
16
16
|
const sessionStorage = config?.sessionStorageUtils ?? chunkJDXUTKMX_js.sessionStorageUtils;
|
|
17
17
|
const db = config?.db;
|
|
18
18
|
const database = config?.config?.database;
|
|
19
|
+
const isSupabaseMode = config?.isSupaMode;
|
|
19
20
|
let isRefreshing = false;
|
|
20
21
|
let failedQueue = [];
|
|
21
22
|
const processQueue = (error, token = null) => {
|
|
@@ -264,7 +265,7 @@ var axiosClient = {
|
|
|
264
265
|
return url + (db2 ? "?db=" + db2 : "");
|
|
265
266
|
}
|
|
266
267
|
const getBaseUrl = (baseUrl, hardService) => {
|
|
267
|
-
return `${baseUrl.replace(/\/$/, "")}/${hardService || sessionStorage.getMenuFocus().service || config?.default_service}/api/v2`;
|
|
268
|
+
return isSupabaseMode ? "" : `${baseUrl.replace(/\/$/, "")}/${hardService || sessionStorage.getMenuFocus().service || config?.default_service}/api/v2`;
|
|
268
269
|
};
|
|
269
270
|
const getHeaders = (header) => {
|
|
270
271
|
const headers = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWBGK2SHU_js = require('./chunk-WBGK2SHU.js');
|
|
4
4
|
|
|
5
5
|
// src/models/base-model/index.ts
|
|
6
6
|
var BaseModel = class {
|
|
@@ -57,7 +57,7 @@ var BaseModel = class {
|
|
|
57
57
|
fields: {
|
|
58
58
|
id: {},
|
|
59
59
|
display_name: {},
|
|
60
|
-
...
|
|
60
|
+
...chunkWBGK2SHU_js.WIDGETAVATAR[field?.widget] ? { image_256: {} } : {},
|
|
61
61
|
...field?.name === "currency_id" && fields?.find((item) => item?.widget === "monetary") ? { symbol: {} } : {},
|
|
62
62
|
...field?.widget === "many2many_binary" ? { mimetype: {} } : {}
|
|
63
63
|
}
|
|
@@ -34,6 +34,9 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
34
34
|
MethodConstants2["CREATE_E_INVOICE"] = "create_e_invoice";
|
|
35
35
|
MethodConstants2["GET_DATA_SELECT"] = "get_data_select";
|
|
36
36
|
MethodConstants2["COMPLETE_CURRENT_STAGE"] = "complete_current_stage";
|
|
37
|
+
MethodConstants2["ACTION_APPLY_VOUCHER"] = "action_apply_voucher";
|
|
38
|
+
MethodConstants2["ACTION_REMOVE_VOUCHER"] = "action_remove_voucher";
|
|
39
|
+
MethodConstants2["SYNC_FROM_UI"] = "sync_from_ui";
|
|
37
40
|
return MethodConstants2;
|
|
38
41
|
})(MethodConstants || {});
|
|
39
42
|
|
|
@@ -42,6 +45,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
42
45
|
UriConstants2["AUTH_TOKEN_PATH"] = "/authentication/oauth2/token";
|
|
43
46
|
UriConstants2["GENTOKEN_SOCIAL"] = "/token/generate";
|
|
44
47
|
UriConstants2["CALL_PATH"] = "/call";
|
|
48
|
+
UriConstants2["SUPABASE_CALL_PATH"] = "/api/v2/call";
|
|
45
49
|
UriConstants2["COMPANY_PATH"] = "/company";
|
|
46
50
|
UriConstants2["PROFILE_PATH"] = "/userinfo";
|
|
47
51
|
UriConstants2["RESET_PASSWORD_PATH"] = "/reset_password";
|
|
@@ -68,6 +72,8 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
68
72
|
UriConstants2["GRANT_ACCESS"] = "/grant-access";
|
|
69
73
|
UriConstants2["TOKEN_BY_CODE"] = "/token";
|
|
70
74
|
UriConstants2["LOGOUT"] = "/logout";
|
|
75
|
+
UriConstants2["SUPABASE_LOGIN_PATH"] = "/api/v2/auth/login";
|
|
76
|
+
UriConstants2["SUPABASE_CURRENT_USER"] = "/api/v2/auth/me";
|
|
71
77
|
UriConstants2["CREATE_UPDATE"] = "/create_update";
|
|
72
78
|
UriConstants2["SEARCH_READ"] = "/search_read";
|
|
73
79
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
@@ -82,6 +88,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
82
88
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
83
89
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
84
90
|
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
91
|
+
UriConstants2["APP_AUTHENTICATE"] = "/app/authenticate";
|
|
85
92
|
return UriConstants2;
|
|
86
93
|
})(UriConstants || {});
|
|
87
94
|
|
|
@@ -130,6 +137,7 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
130
137
|
ModelConstants2["POS_PREPARATION_ORDER_LINE"] = "pos_preparation_display.orderline";
|
|
131
138
|
ModelConstants2["POS_ORDER"] = "pos.order";
|
|
132
139
|
ModelConstants2["COUNTRY"] = "res.country";
|
|
140
|
+
ModelConstants2["RES_COMPANY"] = "res.company";
|
|
133
141
|
ModelConstants2["COUNTRY_STATE"] = "res.country.state";
|
|
134
142
|
ModelConstants2["COUNTRY_WARD"] = "res.country.ward";
|
|
135
143
|
ModelConstants2["RES_PARTNER_TITLE"] = "res.partner.title";
|
|
@@ -184,6 +192,8 @@ var LoadDataModel = /* @__PURE__ */ ((LoadDataModel2) => {
|
|
|
184
192
|
LoadDataModel2["RESTAURANT_TABLE"] = "restaurant.table";
|
|
185
193
|
LoadDataModel2["RESTAURANT_FLOOR"] = "restaurant.floor";
|
|
186
194
|
LoadDataModel2["POS_MAKE_PAYMENT"] = "pos.make.payment";
|
|
195
|
+
LoadDataModel2["RES_COUNTRY_WARD"] = "res.country.ward";
|
|
196
|
+
LoadDataModel2["RES_PARTNER_TITLE"] = "res.partner.title";
|
|
187
197
|
return LoadDataModel2;
|
|
188
198
|
})(LoadDataModel || {});
|
|
189
199
|
var LoadDataModelSupa = /* @__PURE__ */ ((LoadDataModelSupa2) => {
|
|
@@ -209,6 +219,9 @@ var LoadDataModelSupa = /* @__PURE__ */ ((LoadDataModelSupa2) => {
|
|
|
209
219
|
LoadDataModelSupa2["PRODUCT_TEMPLATE_ATTRIBUTE_VALUES"] = "product_template_attribute_values";
|
|
210
220
|
LoadDataModelSupa2["RESTAURANT_FLOORS"] = "restaurant_floors";
|
|
211
221
|
LoadDataModelSupa2["RESTAURANT_TABLES"] = "restaurant_tables";
|
|
222
|
+
LoadDataModelSupa2["STATES"] = "states";
|
|
223
|
+
LoadDataModelSupa2["WARDS"] = "wards";
|
|
224
|
+
LoadDataModelSupa2["PARTNER_TITLES"] = "partner_titles";
|
|
212
225
|
return LoadDataModelSupa2;
|
|
213
226
|
})(LoadDataModelSupa || {});
|
|
214
227
|
var MODEL_TO_TABLE = {
|
|
@@ -226,9 +239,15 @@ var MODEL_TO_TABLE = {
|
|
|
226
239
|
["pos.payment.method" /* POS_PAYMENT_METHOD */]: "payment_methods" /* PAYMENT_METHODS */,
|
|
227
240
|
["pos.payment" /* POS_PAYMENT */]: "payments" /* PAYMENTS */,
|
|
228
241
|
["pos.category" /* POS_CATEGORY */]: "pos_categories" /* POS_CATEGORIES */,
|
|
242
|
+
["product.attribute" /* PRODUCT_ATTRIBUTE */]: "product_attributes" /* PRODUCT_ATTRIBUTES */,
|
|
243
|
+
["product.template.attribute.line" /* PRODUCT_TEMPLATE_ATTRIBUTE_LINE */]: "product_template_attribute_lines" /* PRODUCT_TEMPLATE_ATTRIBUTE_LINES */,
|
|
244
|
+
["product.template.attribute.value" /* PRODUCT_TEMPLATE_ATTRIBUTE_VALUE */]: "product_template_attribute_values" /* PRODUCT_TEMPLATE_ATTRIBUTE_VALUES */,
|
|
229
245
|
["product.product" /* PRODUCT_PRODUCT */]: "products" /* PRODUCTS */,
|
|
230
246
|
["restaurant.floor" /* RESTAURANT_FLOOR */]: "restaurant_floors" /* RESTAURANT_FLOORS */,
|
|
231
|
-
["restaurant.table" /* RESTAURANT_TABLE */]: "restaurant_tables" /* RESTAURANT_TABLES
|
|
247
|
+
["restaurant.table" /* RESTAURANT_TABLE */]: "restaurant_tables" /* RESTAURANT_TABLES */,
|
|
248
|
+
["res.country.state" /* RES_COUNTRY_STATE */]: "states" /* STATES */,
|
|
249
|
+
["res.country.ward" /* RES_COUNTRY_WARD */]: "wards" /* WARDS */,
|
|
250
|
+
["res.partner.title" /* RES_PARTNER_TITLE */]: "partner_titles" /* PARTNER_TITLES */
|
|
232
251
|
};
|
|
233
252
|
|
|
234
253
|
// src/constants/type/index.ts
|
|
@@ -36,6 +36,9 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
36
36
|
MethodConstants2["CREATE_E_INVOICE"] = "create_e_invoice";
|
|
37
37
|
MethodConstants2["GET_DATA_SELECT"] = "get_data_select";
|
|
38
38
|
MethodConstants2["COMPLETE_CURRENT_STAGE"] = "complete_current_stage";
|
|
39
|
+
MethodConstants2["ACTION_APPLY_VOUCHER"] = "action_apply_voucher";
|
|
40
|
+
MethodConstants2["ACTION_REMOVE_VOUCHER"] = "action_remove_voucher";
|
|
41
|
+
MethodConstants2["SYNC_FROM_UI"] = "sync_from_ui";
|
|
39
42
|
return MethodConstants2;
|
|
40
43
|
})(MethodConstants || {});
|
|
41
44
|
|
|
@@ -44,6 +47,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
44
47
|
UriConstants2["AUTH_TOKEN_PATH"] = "/authentication/oauth2/token";
|
|
45
48
|
UriConstants2["GENTOKEN_SOCIAL"] = "/token/generate";
|
|
46
49
|
UriConstants2["CALL_PATH"] = "/call";
|
|
50
|
+
UriConstants2["SUPABASE_CALL_PATH"] = "/api/v2/call";
|
|
47
51
|
UriConstants2["COMPANY_PATH"] = "/company";
|
|
48
52
|
UriConstants2["PROFILE_PATH"] = "/userinfo";
|
|
49
53
|
UriConstants2["RESET_PASSWORD_PATH"] = "/reset_password";
|
|
@@ -70,6 +74,8 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
70
74
|
UriConstants2["GRANT_ACCESS"] = "/grant-access";
|
|
71
75
|
UriConstants2["TOKEN_BY_CODE"] = "/token";
|
|
72
76
|
UriConstants2["LOGOUT"] = "/logout";
|
|
77
|
+
UriConstants2["SUPABASE_LOGIN_PATH"] = "/api/v2/auth/login";
|
|
78
|
+
UriConstants2["SUPABASE_CURRENT_USER"] = "/api/v2/auth/me";
|
|
73
79
|
UriConstants2["CREATE_UPDATE"] = "/create_update";
|
|
74
80
|
UriConstants2["SEARCH_READ"] = "/search_read";
|
|
75
81
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
@@ -84,6 +90,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
84
90
|
UriConstants2["PUBLIC_USER_INFO"] = "/public/user/info";
|
|
85
91
|
UriConstants2["FUNCTIONAL_MODULES"] = "/functional-modules";
|
|
86
92
|
UriConstants2["ACTION_SERVER_HOME"] = "/action_server_home";
|
|
93
|
+
UriConstants2["APP_AUTHENTICATE"] = "/app/authenticate";
|
|
87
94
|
return UriConstants2;
|
|
88
95
|
})(UriConstants || {});
|
|
89
96
|
|
|
@@ -132,6 +139,7 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
132
139
|
ModelConstants2["POS_PREPARATION_ORDER_LINE"] = "pos_preparation_display.orderline";
|
|
133
140
|
ModelConstants2["POS_ORDER"] = "pos.order";
|
|
134
141
|
ModelConstants2["COUNTRY"] = "res.country";
|
|
142
|
+
ModelConstants2["RES_COMPANY"] = "res.company";
|
|
135
143
|
ModelConstants2["COUNTRY_STATE"] = "res.country.state";
|
|
136
144
|
ModelConstants2["COUNTRY_WARD"] = "res.country.ward";
|
|
137
145
|
ModelConstants2["RES_PARTNER_TITLE"] = "res.partner.title";
|
|
@@ -186,6 +194,8 @@ var LoadDataModel = /* @__PURE__ */ ((LoadDataModel2) => {
|
|
|
186
194
|
LoadDataModel2["RESTAURANT_TABLE"] = "restaurant.table";
|
|
187
195
|
LoadDataModel2["RESTAURANT_FLOOR"] = "restaurant.floor";
|
|
188
196
|
LoadDataModel2["POS_MAKE_PAYMENT"] = "pos.make.payment";
|
|
197
|
+
LoadDataModel2["RES_COUNTRY_WARD"] = "res.country.ward";
|
|
198
|
+
LoadDataModel2["RES_PARTNER_TITLE"] = "res.partner.title";
|
|
189
199
|
return LoadDataModel2;
|
|
190
200
|
})(LoadDataModel || {});
|
|
191
201
|
var LoadDataModelSupa = /* @__PURE__ */ ((LoadDataModelSupa2) => {
|
|
@@ -211,6 +221,9 @@ var LoadDataModelSupa = /* @__PURE__ */ ((LoadDataModelSupa2) => {
|
|
|
211
221
|
LoadDataModelSupa2["PRODUCT_TEMPLATE_ATTRIBUTE_VALUES"] = "product_template_attribute_values";
|
|
212
222
|
LoadDataModelSupa2["RESTAURANT_FLOORS"] = "restaurant_floors";
|
|
213
223
|
LoadDataModelSupa2["RESTAURANT_TABLES"] = "restaurant_tables";
|
|
224
|
+
LoadDataModelSupa2["STATES"] = "states";
|
|
225
|
+
LoadDataModelSupa2["WARDS"] = "wards";
|
|
226
|
+
LoadDataModelSupa2["PARTNER_TITLES"] = "partner_titles";
|
|
214
227
|
return LoadDataModelSupa2;
|
|
215
228
|
})(LoadDataModelSupa || {});
|
|
216
229
|
var MODEL_TO_TABLE = {
|
|
@@ -228,9 +241,15 @@ var MODEL_TO_TABLE = {
|
|
|
228
241
|
["pos.payment.method" /* POS_PAYMENT_METHOD */]: "payment_methods" /* PAYMENT_METHODS */,
|
|
229
242
|
["pos.payment" /* POS_PAYMENT */]: "payments" /* PAYMENTS */,
|
|
230
243
|
["pos.category" /* POS_CATEGORY */]: "pos_categories" /* POS_CATEGORIES */,
|
|
244
|
+
["product.attribute" /* PRODUCT_ATTRIBUTE */]: "product_attributes" /* PRODUCT_ATTRIBUTES */,
|
|
245
|
+
["product.template.attribute.line" /* PRODUCT_TEMPLATE_ATTRIBUTE_LINE */]: "product_template_attribute_lines" /* PRODUCT_TEMPLATE_ATTRIBUTE_LINES */,
|
|
246
|
+
["product.template.attribute.value" /* PRODUCT_TEMPLATE_ATTRIBUTE_VALUE */]: "product_template_attribute_values" /* PRODUCT_TEMPLATE_ATTRIBUTE_VALUES */,
|
|
231
247
|
["product.product" /* PRODUCT_PRODUCT */]: "products" /* PRODUCTS */,
|
|
232
248
|
["restaurant.floor" /* RESTAURANT_FLOOR */]: "restaurant_floors" /* RESTAURANT_FLOORS */,
|
|
233
|
-
["restaurant.table" /* RESTAURANT_TABLE */]: "restaurant_tables" /* RESTAURANT_TABLES
|
|
249
|
+
["restaurant.table" /* RESTAURANT_TABLE */]: "restaurant_tables" /* RESTAURANT_TABLES */,
|
|
250
|
+
["res.country.state" /* RES_COUNTRY_STATE */]: "states" /* STATES */,
|
|
251
|
+
["res.country.ward" /* RES_COUNTRY_WARD */]: "wards" /* WARDS */,
|
|
252
|
+
["res.partner.title" /* RES_PARTNER_TITLE */]: "partner_titles" /* PARTNER_TITLES */
|
|
234
253
|
};
|
|
235
254
|
|
|
236
255
|
// src/constants/type/index.ts
|
package/dist/configs.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ5YXX4OR_js = require('./chunk-Q5YXX4OR.js');
|
|
4
4
|
require('./chunk-JDXUTKMX.js');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-WBGK2SHU.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "axiosClient", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkQ5YXX4OR_js.axiosClient; }
|
|
12
12
|
});
|
package/dist/configs.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { axiosClient } from './chunk-
|
|
1
|
+
export { axiosClient } from './chunk-ACSPOGTI.mjs';
|
|
2
2
|
import './chunk-BPJZ3QRN.mjs';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-VBYRP2P7.mjs';
|
package/dist/constants.d.mts
CHANGED
|
@@ -30,13 +30,17 @@ declare enum MethodConstants {
|
|
|
30
30
|
PROCESS_ORDER = "process_order",
|
|
31
31
|
CREATE_E_INVOICE = "create_e_invoice",
|
|
32
32
|
GET_DATA_SELECT = "get_data_select",
|
|
33
|
-
COMPLETE_CURRENT_STAGE = "complete_current_stage"
|
|
33
|
+
COMPLETE_CURRENT_STAGE = "complete_current_stage",
|
|
34
|
+
ACTION_APPLY_VOUCHER = "action_apply_voucher",
|
|
35
|
+
ACTION_REMOVE_VOUCHER = "action_remove_voucher",
|
|
36
|
+
SYNC_FROM_UI = "sync_from_ui"
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare enum UriConstants {
|
|
37
40
|
AUTH_TOKEN_PATH = "/authentication/oauth2/token",
|
|
38
41
|
GENTOKEN_SOCIAL = "/token/generate",
|
|
39
42
|
CALL_PATH = "/call",
|
|
43
|
+
SUPABASE_CALL_PATH = "/api/v2/call",
|
|
40
44
|
COMPANY_PATH = "/company",
|
|
41
45
|
PROFILE_PATH = "/userinfo",
|
|
42
46
|
RESET_PASSWORD_PATH = "/reset_password",
|
|
@@ -63,6 +67,8 @@ declare enum UriConstants {
|
|
|
63
67
|
GRANT_ACCESS = "/grant-access",
|
|
64
68
|
TOKEN_BY_CODE = "/token",
|
|
65
69
|
LOGOUT = "/logout",
|
|
70
|
+
SUPABASE_LOGIN_PATH = "/api/v2/auth/login",
|
|
71
|
+
SUPABASE_CURRENT_USER = "/api/v2/auth/me",
|
|
66
72
|
CREATE_UPDATE = "/create_update",
|
|
67
73
|
SEARCH_READ = "/search_read",
|
|
68
74
|
CREATE_PATH = "/create",
|
|
@@ -76,7 +82,8 @@ declare enum UriConstants {
|
|
|
76
82
|
GET_NOTIFICATION = "/mail/data",
|
|
77
83
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
78
84
|
FUNCTIONAL_MODULES = "/functional-modules",
|
|
79
|
-
ACTION_SERVER_HOME = "/action_server_home"
|
|
85
|
+
ACTION_SERVER_HOME = "/action_server_home",
|
|
86
|
+
APP_AUTHENTICATE = "/app/authenticate"
|
|
80
87
|
}
|
|
81
88
|
|
|
82
89
|
declare enum FieldTypeConstants {
|
|
@@ -119,6 +126,7 @@ declare enum ModelConstants {
|
|
|
119
126
|
POS_PREPARATION_ORDER_LINE = "pos_preparation_display.orderline",
|
|
120
127
|
POS_ORDER = "pos.order",
|
|
121
128
|
COUNTRY = "res.country",
|
|
129
|
+
RES_COMPANY = "res.company",
|
|
122
130
|
COUNTRY_STATE = "res.country.state",
|
|
123
131
|
COUNTRY_WARD = "res.country.ward",
|
|
124
132
|
RES_PARTNER_TITLE = "res.partner.title"
|
|
@@ -171,7 +179,9 @@ declare enum LoadDataModel {
|
|
|
171
179
|
LOYALTY_REWARD = "loyalty.reward",
|
|
172
180
|
RESTAURANT_TABLE = "restaurant.table",
|
|
173
181
|
RESTAURANT_FLOOR = "restaurant.floor",
|
|
174
|
-
POS_MAKE_PAYMENT = "pos.make.payment"
|
|
182
|
+
POS_MAKE_PAYMENT = "pos.make.payment",
|
|
183
|
+
RES_COUNTRY_WARD = "res.country.ward",
|
|
184
|
+
RES_PARTNER_TITLE = "res.partner.title"
|
|
175
185
|
}
|
|
176
186
|
declare enum LoadDataModelSupa {
|
|
177
187
|
ACCOUNT_TAXES = "account_taxes",
|
|
@@ -195,7 +205,10 @@ declare enum LoadDataModelSupa {
|
|
|
195
205
|
PRODUCT_TEMPLATE_ATTRIBUTE_LINES = "product_template_attribute_lines",
|
|
196
206
|
PRODUCT_TEMPLATE_ATTRIBUTE_VALUES = "product_template_attribute_values",
|
|
197
207
|
RESTAURANT_FLOORS = "restaurant_floors",
|
|
198
|
-
RESTAURANT_TABLES = "restaurant_tables"
|
|
208
|
+
RESTAURANT_TABLES = "restaurant_tables",
|
|
209
|
+
STATES = "states",
|
|
210
|
+
WARDS = "wards",
|
|
211
|
+
PARTNER_TITLES = "partner_titles"
|
|
199
212
|
}
|
|
200
213
|
declare const MODEL_TO_TABLE: Record<string, string>;
|
|
201
214
|
|
package/dist/constants.d.ts
CHANGED
|
@@ -30,13 +30,17 @@ declare enum MethodConstants {
|
|
|
30
30
|
PROCESS_ORDER = "process_order",
|
|
31
31
|
CREATE_E_INVOICE = "create_e_invoice",
|
|
32
32
|
GET_DATA_SELECT = "get_data_select",
|
|
33
|
-
COMPLETE_CURRENT_STAGE = "complete_current_stage"
|
|
33
|
+
COMPLETE_CURRENT_STAGE = "complete_current_stage",
|
|
34
|
+
ACTION_APPLY_VOUCHER = "action_apply_voucher",
|
|
35
|
+
ACTION_REMOVE_VOUCHER = "action_remove_voucher",
|
|
36
|
+
SYNC_FROM_UI = "sync_from_ui"
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
declare enum UriConstants {
|
|
37
40
|
AUTH_TOKEN_PATH = "/authentication/oauth2/token",
|
|
38
41
|
GENTOKEN_SOCIAL = "/token/generate",
|
|
39
42
|
CALL_PATH = "/call",
|
|
43
|
+
SUPABASE_CALL_PATH = "/api/v2/call",
|
|
40
44
|
COMPANY_PATH = "/company",
|
|
41
45
|
PROFILE_PATH = "/userinfo",
|
|
42
46
|
RESET_PASSWORD_PATH = "/reset_password",
|
|
@@ -63,6 +67,8 @@ declare enum UriConstants {
|
|
|
63
67
|
GRANT_ACCESS = "/grant-access",
|
|
64
68
|
TOKEN_BY_CODE = "/token",
|
|
65
69
|
LOGOUT = "/logout",
|
|
70
|
+
SUPABASE_LOGIN_PATH = "/api/v2/auth/login",
|
|
71
|
+
SUPABASE_CURRENT_USER = "/api/v2/auth/me",
|
|
66
72
|
CREATE_UPDATE = "/create_update",
|
|
67
73
|
SEARCH_READ = "/search_read",
|
|
68
74
|
CREATE_PATH = "/create",
|
|
@@ -76,7 +82,8 @@ declare enum UriConstants {
|
|
|
76
82
|
GET_NOTIFICATION = "/mail/data",
|
|
77
83
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
78
84
|
FUNCTIONAL_MODULES = "/functional-modules",
|
|
79
|
-
ACTION_SERVER_HOME = "/action_server_home"
|
|
85
|
+
ACTION_SERVER_HOME = "/action_server_home",
|
|
86
|
+
APP_AUTHENTICATE = "/app/authenticate"
|
|
80
87
|
}
|
|
81
88
|
|
|
82
89
|
declare enum FieldTypeConstants {
|
|
@@ -119,6 +126,7 @@ declare enum ModelConstants {
|
|
|
119
126
|
POS_PREPARATION_ORDER_LINE = "pos_preparation_display.orderline",
|
|
120
127
|
POS_ORDER = "pos.order",
|
|
121
128
|
COUNTRY = "res.country",
|
|
129
|
+
RES_COMPANY = "res.company",
|
|
122
130
|
COUNTRY_STATE = "res.country.state",
|
|
123
131
|
COUNTRY_WARD = "res.country.ward",
|
|
124
132
|
RES_PARTNER_TITLE = "res.partner.title"
|
|
@@ -171,7 +179,9 @@ declare enum LoadDataModel {
|
|
|
171
179
|
LOYALTY_REWARD = "loyalty.reward",
|
|
172
180
|
RESTAURANT_TABLE = "restaurant.table",
|
|
173
181
|
RESTAURANT_FLOOR = "restaurant.floor",
|
|
174
|
-
POS_MAKE_PAYMENT = "pos.make.payment"
|
|
182
|
+
POS_MAKE_PAYMENT = "pos.make.payment",
|
|
183
|
+
RES_COUNTRY_WARD = "res.country.ward",
|
|
184
|
+
RES_PARTNER_TITLE = "res.partner.title"
|
|
175
185
|
}
|
|
176
186
|
declare enum LoadDataModelSupa {
|
|
177
187
|
ACCOUNT_TAXES = "account_taxes",
|
|
@@ -195,7 +205,10 @@ declare enum LoadDataModelSupa {
|
|
|
195
205
|
PRODUCT_TEMPLATE_ATTRIBUTE_LINES = "product_template_attribute_lines",
|
|
196
206
|
PRODUCT_TEMPLATE_ATTRIBUTE_VALUES = "product_template_attribute_values",
|
|
197
207
|
RESTAURANT_FLOORS = "restaurant_floors",
|
|
198
|
-
RESTAURANT_TABLES = "restaurant_tables"
|
|
208
|
+
RESTAURANT_TABLES = "restaurant_tables",
|
|
209
|
+
STATES = "states",
|
|
210
|
+
WARDS = "wards",
|
|
211
|
+
PARTNER_TITLES = "partner_titles"
|
|
199
212
|
}
|
|
200
213
|
declare const MODEL_TO_TABLE: Record<string, string>;
|
|
201
214
|
|
package/dist/constants.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWBGK2SHU_js = require('./chunk-WBGK2SHU.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ComponentType", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkWBGK2SHU_js.ComponentType; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FieldTypeConstants", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWBGK2SHU_js.FieldTypeConstants; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "KeyConstants", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWBGK2SHU_js.KeyConstants; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LoadDataModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkWBGK2SHU_js.LoadDataModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LoadDataModelSupa", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkWBGK2SHU_js.LoadDataModelSupa; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MODEL_TO_TABLE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkWBGK2SHU_js.MODEL_TO_TABLE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MethodConstants", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkWBGK2SHU_js.MethodConstants; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MethodType", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkWBGK2SHU_js.MethodType; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModelConstants", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkWBGK2SHU_js.ModelConstants; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "SearchType", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkWBGK2SHU_js.SearchType; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "UriConstants", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkWBGK2SHU_js.UriConstants; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "WIDGETAVATAR", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkWBGK2SHU_js.WIDGETAVATAR; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "WIDGETCOLOR", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkWBGK2SHU_js.WIDGETCOLOR; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "WIDGETCURRENCY", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkWBGK2SHU_js.WIDGETCURRENCY; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "WIDGETNOSTRING", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkWBGK2SHU_js.WIDGETNOSTRING; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "WIDGETSTATUS", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkWBGK2SHU_js.WIDGETSTATUS; }
|
|
70
70
|
});
|
package/dist/constants.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ComponentType, FieldTypeConstants, KeyConstants, LoadDataModel, LoadDataModelSupa, MODEL_TO_TABLE, MethodConstants, MethodType, ModelConstants, SearchType, UriConstants, WIDGETAVATAR, WIDGETCOLOR, WIDGETCURRENCY, WIDGETNOSTRING, WIDGETSTATUS } from './chunk-
|
|
1
|
+
export { ComponentType, FieldTypeConstants, KeyConstants, LoadDataModel, LoadDataModelSupa, MODEL_TO_TABLE, MethodConstants, MethodType, ModelConstants, SearchType, UriConstants, WIDGETAVATAR, WIDGETCOLOR, WIDGETCURRENCY, WIDGETNOSTRING, WIDGETSTATUS } from './chunk-VBYRP2P7.mjs';
|
package/dist/environment.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkC5QQGBN4_js = require('./chunk-C5QQGBN4.js');
|
|
4
|
+
require('./chunk-Q5YXX4OR.js');
|
|
5
5
|
require('./chunk-JDXUTKMX.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-WBGK2SHU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "EnvStore", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkC5QQGBN4_js.EnvStore; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getEnv", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkC5QQGBN4_js.getEnv; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "initEnv", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkC5QQGBN4_js.initEnv; }
|
|
21
21
|
});
|
package/dist/environment.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EnvStore, getEnv, initEnv } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { EnvStore, getEnv, initEnv } from './chunk-6ARYI77N.mjs';
|
|
2
|
+
import './chunk-ACSPOGTI.mjs';
|
|
3
3
|
import './chunk-BPJZ3QRN.mjs';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-VBYRP2P7.mjs';
|
package/dist/hooks.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { L as LoginCredentialBody, d as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, T as TThreadData, C as ContextApi, V as ViewData, c as GetSelectionType, f as GetViewParams } from './view-type-CfcWWR0w.mjs';
|
|
3
|
-
import * as _supabase_auth_js from '@supabase/auth-js';
|
|
4
3
|
import { B as BaseModelInit } from './base-model-type-DD8uZnDP.mjs';
|
|
5
4
|
import { BaseModel } from './models.mjs';
|
|
6
5
|
|
|
@@ -26,24 +25,9 @@ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any,
|
|
|
26
25
|
type LoginTenantUserBody = {
|
|
27
26
|
email: string;
|
|
28
27
|
password: string;
|
|
28
|
+
tenantId: string;
|
|
29
29
|
};
|
|
30
|
-
declare const useLoginTenantUser: () => _tanstack_react_query.UseMutationResult<
|
|
31
|
-
data: null;
|
|
32
|
-
error: {
|
|
33
|
-
message: string;
|
|
34
|
-
};
|
|
35
|
-
} | {
|
|
36
|
-
data: {
|
|
37
|
-
user: _supabase_auth_js.User;
|
|
38
|
-
session: _supabase_auth_js.Session;
|
|
39
|
-
weakPassword?: _supabase_auth_js.WeakPassword;
|
|
40
|
-
} | {
|
|
41
|
-
user: null;
|
|
42
|
-
session: null;
|
|
43
|
-
weakPassword?: null | undefined;
|
|
44
|
-
};
|
|
45
|
-
error: _supabase_auth_js.AuthError | null;
|
|
46
|
-
}, Error, LoginTenantUserBody, unknown>;
|
|
30
|
+
declare const useLoginTenantUser: () => _tanstack_react_query.UseMutationResult<any, Error, LoginTenantUserBody, unknown>;
|
|
47
31
|
|
|
48
32
|
declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
|
|
49
33
|
|
|
@@ -770,6 +754,41 @@ declare const useCompleteCurrentStage: () => _tanstack_react_query.UseMutationRe
|
|
|
770
754
|
xNode?: string;
|
|
771
755
|
}, unknown>;
|
|
772
756
|
|
|
757
|
+
declare const useGetEInvoiceInfo: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
758
|
+
service?: string;
|
|
759
|
+
xNode?: string;
|
|
760
|
+
uid: number;
|
|
761
|
+
}, unknown>;
|
|
762
|
+
|
|
763
|
+
declare const useAppAuthenticate: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
764
|
+
appKey: string;
|
|
765
|
+
activationCode: string;
|
|
766
|
+
clientId: string;
|
|
767
|
+
clientSecret: string;
|
|
768
|
+
xNode?: string;
|
|
769
|
+
service?: string;
|
|
770
|
+
}, unknown>;
|
|
771
|
+
|
|
772
|
+
declare const useApplyVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
773
|
+
ids: number[];
|
|
774
|
+
voucherCode: string;
|
|
775
|
+
xNode?: string;
|
|
776
|
+
service?: string;
|
|
777
|
+
}, unknown>;
|
|
778
|
+
|
|
779
|
+
declare const useRemoveVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
780
|
+
ids: number[];
|
|
781
|
+
programId: string;
|
|
782
|
+
xNode?: string;
|
|
783
|
+
service?: string;
|
|
784
|
+
}, unknown>;
|
|
785
|
+
|
|
786
|
+
declare const useSyncFromUi: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
787
|
+
orders: any[];
|
|
788
|
+
xNode?: string;
|
|
789
|
+
service?: string;
|
|
790
|
+
}, unknown>;
|
|
791
|
+
|
|
773
792
|
declare const useAddFloor: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
774
793
|
name: string;
|
|
775
794
|
sequence?: number;
|
|
@@ -960,4 +979,61 @@ declare const useSupaUploadImage: () => _tanstack_react_query.UseMutationResult<
|
|
|
960
979
|
tenantId: string;
|
|
961
980
|
}, unknown>;
|
|
962
981
|
|
|
963
|
-
|
|
982
|
+
declare const useGetListUsers: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
983
|
+
tenantId: string;
|
|
984
|
+
}, unknown>;
|
|
985
|
+
|
|
986
|
+
declare const useGetListRoles: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
987
|
+
tenantId: string;
|
|
988
|
+
}, unknown>;
|
|
989
|
+
|
|
990
|
+
declare const useAssignRole: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
991
|
+
tenantId: string;
|
|
992
|
+
userId: string;
|
|
993
|
+
roleId: string;
|
|
994
|
+
}, unknown>;
|
|
995
|
+
|
|
996
|
+
declare const useGetSupaCurrentUser: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
997
|
+
tenantId: string;
|
|
998
|
+
}, unknown>;
|
|
999
|
+
|
|
1000
|
+
declare const useUpdateCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1001
|
+
category_id: number;
|
|
1002
|
+
name?: string;
|
|
1003
|
+
parent_id?: number | null;
|
|
1004
|
+
sequence?: number;
|
|
1005
|
+
image_128?: string;
|
|
1006
|
+
}, unknown>;
|
|
1007
|
+
|
|
1008
|
+
declare const useDeleteCategory: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1009
|
+
category_id: number;
|
|
1010
|
+
}, unknown>;
|
|
1011
|
+
|
|
1012
|
+
declare const useUpdateProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1013
|
+
product_id: number;
|
|
1014
|
+
name?: string;
|
|
1015
|
+
product_tmpl_id?: number;
|
|
1016
|
+
product_template_variant_value_ids?: number[];
|
|
1017
|
+
combo_ids?: number[];
|
|
1018
|
+
categ_id?: number;
|
|
1019
|
+
pos_categ_ids?: number[];
|
|
1020
|
+
display_name?: string;
|
|
1021
|
+
default_code?: string;
|
|
1022
|
+
description_sale?: string;
|
|
1023
|
+
lst_price?: number;
|
|
1024
|
+
standard_price?: number;
|
|
1025
|
+
barcode?: string;
|
|
1026
|
+
image_url?: string;
|
|
1027
|
+
active?: boolean;
|
|
1028
|
+
}, unknown>;
|
|
1029
|
+
|
|
1030
|
+
declare const useDeleteProduct: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1031
|
+
product_id: number;
|
|
1032
|
+
}, unknown>;
|
|
1033
|
+
|
|
1034
|
+
declare const useTogglePosRestaurant: () => _tanstack_react_query.UseMutationResult<number[] | null, Error, {
|
|
1035
|
+
config_id: number;
|
|
1036
|
+
module_pos_restaurant: boolean;
|
|
1037
|
+
}, unknown>;
|
|
1038
|
+
|
|
1039
|
+
export { useActionServerHome, useAddCategory, useAddEntity, useAddFloor, useAddPaymentMethod, useAddProduct, useAddProductToOrder, useAddTable, useAppAuthenticate, useApplyVoucher, useAssignRole, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCompleteCurrentStage, useCreateCustomer, useCreateEInvoice, useCreateEntity, useCreateOrder, useCreatePayment, useCreatePosConfig, useCreateSession, useDelete, useDeleteCategory, useDeleteComment, useDeleteCustomer, useDeleteEntity, useDeleteFloor, useDeleteOrder, useDeleteOrderLine, useDeleteProduct, useDeleteTable, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetCity, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCountry, useGetCurrency, useGetCurrentCompany, useGetCurrentUser, useGetDataChart, useGetDetail, useGetEInvoiceInfo, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetFunctionalModules, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetListRoles, useGetListUsers, useGetMenu, useGetNotifications, useGetOrderLine, useGetPartnerTitle, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetSupaCurrentUser, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetVersion, useGetView, useGetWard, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLoginTenantUser, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useProcessOrder, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRemoveVoucher, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSavePinCode, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSupaUploadImage, useSwitchLocale, useSyncFromUi, useTogglePosRestaurant, useUpdateCategory, useUpdateClosedSession, useUpdateCustomer, useUpdateEntity, useUpdateFloor, useUpdateOrder, useUpdateOrderLine, useUpdateOrderStatus, useUpdateOrderTotalAmount, useUpdatePassword, useUpdateProduct, useUpdateSessionPaymentMethods, useUpdateTable, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|