@fctc/interface-logic 3.2.7 → 3.2.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/constants.d.mts +8 -3
- package/dist/constants.d.ts +8 -3
- package/dist/constants.js +5 -0
- package/dist/constants.mjs +5 -0
- package/dist/hooks.d.mts +22 -1
- package/dist/hooks.d.ts +22 -1
- package/dist/hooks.js +158 -1
- package/dist/hooks.mjs +155 -1
- package/dist/provider.d.mts +4 -1
- package/dist/provider.d.ts +4 -1
- package/dist/provider.js +156 -2
- package/dist/provider.mjs +156 -2
- package/dist/services.d.mts +18 -0
- package/dist/services.d.ts +18 -0
- package/dist/services.js +95 -1
- package/dist/services.mjs +95 -1
- package/package.json +90 -90
package/dist/constants.d.mts
CHANGED
|
@@ -24,7 +24,9 @@ declare enum MethodConstants {
|
|
|
24
24
|
CREATE = "create",
|
|
25
25
|
LOAD_DATA = "load_data",
|
|
26
26
|
CHECK = "check",
|
|
27
|
-
GET_CLOSING_CONTROL_DATA = "get_closing_control_data"
|
|
27
|
+
GET_CLOSING_CONTROL_DATA = "get_closing_control_data",
|
|
28
|
+
GET_PREPARATION_DISPLAY_DATA = "get_preparation_display_data",
|
|
29
|
+
CHANGE_ORDER_STAGE = "change_order_stage"
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
declare enum UriConstants {
|
|
@@ -59,7 +61,8 @@ declare enum UriConstants {
|
|
|
59
61
|
SEARCH_READ = "/search_read",
|
|
60
62
|
CREATE_PATH = "/create",
|
|
61
63
|
TENANT_MAPPING = "/tenant-mapping",
|
|
62
|
-
EMENU_AUTH_TOKEN = "/emenu/auth/token"
|
|
64
|
+
EMENU_AUTH_TOKEN = "/emenu/auth/token",
|
|
65
|
+
POS_ORDER_STATUS = "/pos-order/status"
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
declare enum FieldTypeConstants {
|
|
@@ -96,7 +99,9 @@ declare enum ModelConstants {
|
|
|
96
99
|
COMPANY = "res.company",
|
|
97
100
|
WINDOW_ACTION = "ir.actions.act_window",
|
|
98
101
|
BASE_IMPORT = "base_import.import",
|
|
99
|
-
GET_IMPORT = "get_import_templates"
|
|
102
|
+
GET_IMPORT = "get_import_templates",
|
|
103
|
+
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
104
|
+
POS_PREPARATION_ORDER = "pos_preparation_display.order"
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
declare enum ComponentType {
|
package/dist/constants.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ declare enum MethodConstants {
|
|
|
24
24
|
CREATE = "create",
|
|
25
25
|
LOAD_DATA = "load_data",
|
|
26
26
|
CHECK = "check",
|
|
27
|
-
GET_CLOSING_CONTROL_DATA = "get_closing_control_data"
|
|
27
|
+
GET_CLOSING_CONTROL_DATA = "get_closing_control_data",
|
|
28
|
+
GET_PREPARATION_DISPLAY_DATA = "get_preparation_display_data",
|
|
29
|
+
CHANGE_ORDER_STAGE = "change_order_stage"
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
declare enum UriConstants {
|
|
@@ -59,7 +61,8 @@ declare enum UriConstants {
|
|
|
59
61
|
SEARCH_READ = "/search_read",
|
|
60
62
|
CREATE_PATH = "/create",
|
|
61
63
|
TENANT_MAPPING = "/tenant-mapping",
|
|
62
|
-
EMENU_AUTH_TOKEN = "/emenu/auth/token"
|
|
64
|
+
EMENU_AUTH_TOKEN = "/emenu/auth/token",
|
|
65
|
+
POS_ORDER_STATUS = "/pos-order/status"
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
declare enum FieldTypeConstants {
|
|
@@ -96,7 +99,9 @@ declare enum ModelConstants {
|
|
|
96
99
|
COMPANY = "res.company",
|
|
97
100
|
WINDOW_ACTION = "ir.actions.act_window",
|
|
98
101
|
BASE_IMPORT = "base_import.import",
|
|
99
|
-
GET_IMPORT = "get_import_templates"
|
|
102
|
+
GET_IMPORT = "get_import_templates",
|
|
103
|
+
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
104
|
+
POS_PREPARATION_ORDER = "pos_preparation_display.order"
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
declare enum ComponentType {
|
package/dist/constants.js
CHANGED
|
@@ -66,6 +66,8 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
66
66
|
MethodConstants2["LOAD_DATA"] = "load_data";
|
|
67
67
|
MethodConstants2["CHECK"] = "check";
|
|
68
68
|
MethodConstants2["GET_CLOSING_CONTROL_DATA"] = "get_closing_control_data";
|
|
69
|
+
MethodConstants2["GET_PREPARATION_DISPLAY_DATA"] = "get_preparation_display_data";
|
|
70
|
+
MethodConstants2["CHANGE_ORDER_STAGE"] = "change_order_stage";
|
|
69
71
|
return MethodConstants2;
|
|
70
72
|
})(MethodConstants || {});
|
|
71
73
|
|
|
@@ -103,6 +105,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
103
105
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
104
106
|
UriConstants2["TENANT_MAPPING"] = "/tenant-mapping";
|
|
105
107
|
UriConstants2["EMENU_AUTH_TOKEN"] = "/emenu/auth/token";
|
|
108
|
+
UriConstants2["POS_ORDER_STATUS"] = "/pos-order/status";
|
|
106
109
|
return UriConstants2;
|
|
107
110
|
})(UriConstants || {});
|
|
108
111
|
|
|
@@ -146,6 +149,8 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
146
149
|
ModelConstants2["WINDOW_ACTION"] = "ir.actions.act_window";
|
|
147
150
|
ModelConstants2["BASE_IMPORT"] = "base_import.import";
|
|
148
151
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
152
|
+
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
153
|
+
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
149
154
|
return ModelConstants2;
|
|
150
155
|
})(ModelConstants || {});
|
|
151
156
|
|
package/dist/constants.mjs
CHANGED
|
@@ -28,6 +28,8 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
28
28
|
MethodConstants2["LOAD_DATA"] = "load_data";
|
|
29
29
|
MethodConstants2["CHECK"] = "check";
|
|
30
30
|
MethodConstants2["GET_CLOSING_CONTROL_DATA"] = "get_closing_control_data";
|
|
31
|
+
MethodConstants2["GET_PREPARATION_DISPLAY_DATA"] = "get_preparation_display_data";
|
|
32
|
+
MethodConstants2["CHANGE_ORDER_STAGE"] = "change_order_stage";
|
|
31
33
|
return MethodConstants2;
|
|
32
34
|
})(MethodConstants || {});
|
|
33
35
|
|
|
@@ -65,6 +67,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
65
67
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
66
68
|
UriConstants2["TENANT_MAPPING"] = "/tenant-mapping";
|
|
67
69
|
UriConstants2["EMENU_AUTH_TOKEN"] = "/emenu/auth/token";
|
|
70
|
+
UriConstants2["POS_ORDER_STATUS"] = "/pos-order/status";
|
|
68
71
|
return UriConstants2;
|
|
69
72
|
})(UriConstants || {});
|
|
70
73
|
|
|
@@ -108,6 +111,8 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
108
111
|
ModelConstants2["WINDOW_ACTION"] = "ir.actions.act_window";
|
|
109
112
|
ModelConstants2["BASE_IMPORT"] = "base_import.import";
|
|
110
113
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
114
|
+
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
115
|
+
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
111
116
|
return ModelConstants2;
|
|
112
117
|
})(ModelConstants || {});
|
|
113
118
|
|
package/dist/hooks.d.mts
CHANGED
|
@@ -575,4 +575,25 @@ declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<un
|
|
|
575
575
|
xNode?: string;
|
|
576
576
|
}, unknown>;
|
|
577
577
|
|
|
578
|
-
|
|
578
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
579
|
+
ids: any;
|
|
580
|
+
service?: string;
|
|
581
|
+
xNode?: string;
|
|
582
|
+
}, unknown>;
|
|
583
|
+
|
|
584
|
+
declare const useChangeOrderPreparationState: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
585
|
+
orderId: number;
|
|
586
|
+
stageId: number;
|
|
587
|
+
preparationDisplayId: number;
|
|
588
|
+
service?: string;
|
|
589
|
+
xNode?: string;
|
|
590
|
+
}, unknown>;
|
|
591
|
+
|
|
592
|
+
declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
593
|
+
orderId: number;
|
|
594
|
+
state: string;
|
|
595
|
+
service?: string;
|
|
596
|
+
xNode?: string;
|
|
597
|
+
}, unknown>;
|
|
598
|
+
|
|
599
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -575,4 +575,25 @@ declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<un
|
|
|
575
575
|
xNode?: string;
|
|
576
576
|
}, unknown>;
|
|
577
577
|
|
|
578
|
-
|
|
578
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
579
|
+
ids: any;
|
|
580
|
+
service?: string;
|
|
581
|
+
xNode?: string;
|
|
582
|
+
}, unknown>;
|
|
583
|
+
|
|
584
|
+
declare const useChangeOrderPreparationState: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
585
|
+
orderId: number;
|
|
586
|
+
stageId: number;
|
|
587
|
+
preparationDisplayId: number;
|
|
588
|
+
service?: string;
|
|
589
|
+
xNode?: string;
|
|
590
|
+
}, unknown>;
|
|
591
|
+
|
|
592
|
+
declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
593
|
+
orderId: number;
|
|
594
|
+
state: string;
|
|
595
|
+
service?: string;
|
|
596
|
+
xNode?: string;
|
|
597
|
+
}, unknown>;
|
|
598
|
+
|
|
599
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.js
CHANGED
|
@@ -32,6 +32,7 @@ var hooks_exports = {};
|
|
|
32
32
|
__export(hooks_exports, {
|
|
33
33
|
useAddEntity: () => use_add_entity_default,
|
|
34
34
|
useButton: () => use_button_default,
|
|
35
|
+
useChangeOrderPreparaionState: () => useChangeOrderPreparaionState_default,
|
|
35
36
|
useChangeStatus: () => use_change_status_default,
|
|
36
37
|
useCheckPayment: () => use_check_payment_default,
|
|
37
38
|
useCreateEntity: () => use_create_entity_default,
|
|
@@ -71,6 +72,7 @@ __export(hooks_exports, {
|
|
|
71
72
|
useGetMenu: () => use_get_menu_default,
|
|
72
73
|
useGetOrderLine: () => use_get_order_line_default,
|
|
73
74
|
useGetPos: () => use_get_pos_default,
|
|
75
|
+
useGetPreparationDisplayData: () => useGetPreparaionDisplayData_default,
|
|
74
76
|
useGetPrintReport: () => use_get_print_report_default,
|
|
75
77
|
useGetProGressBar: () => use_get_progress_bar_default,
|
|
76
78
|
useGetProductImage: () => use_get_product_image_default,
|
|
@@ -114,6 +116,7 @@ __export(hooks_exports, {
|
|
|
114
116
|
useSwitchLocale: () => use_switch_locale_default,
|
|
115
117
|
useUpdateClosedSession: () => use_update_closed_session_default,
|
|
116
118
|
useUpdateEntity: () => use_update_entity_default,
|
|
119
|
+
useUpdateOrderStatus: () => use_update_order_status_default,
|
|
117
120
|
useUpdatePassword: () => use_update_password_default,
|
|
118
121
|
useUploadFile: () => use_upload_file_default,
|
|
119
122
|
useUploadFileExcel: () => use_upload_file_excel_default,
|
|
@@ -165,6 +168,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
165
168
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
166
169
|
UriConstants2["TENANT_MAPPING"] = "/tenant-mapping";
|
|
167
170
|
UriConstants2["EMENU_AUTH_TOKEN"] = "/emenu/auth/token";
|
|
171
|
+
UriConstants2["POS_ORDER_STATUS"] = "/pos-order/status";
|
|
168
172
|
return UriConstants2;
|
|
169
173
|
})(UriConstants || {});
|
|
170
174
|
|
|
@@ -5175,6 +5179,31 @@ function useViewService() {
|
|
|
5175
5179
|
},
|
|
5176
5180
|
[env]
|
|
5177
5181
|
);
|
|
5182
|
+
const getPreparaionDisplayData = (0, import_react14.useCallback)(
|
|
5183
|
+
({
|
|
5184
|
+
ids,
|
|
5185
|
+
xNode,
|
|
5186
|
+
service
|
|
5187
|
+
}) => {
|
|
5188
|
+
const jsonData = {
|
|
5189
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5190
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5191
|
+
ids
|
|
5192
|
+
};
|
|
5193
|
+
return env?.requests.post(
|
|
5194
|
+
"/call" /* CALL_PATH */,
|
|
5195
|
+
jsonData,
|
|
5196
|
+
{
|
|
5197
|
+
headers: {
|
|
5198
|
+
"Content-Type": "application/json",
|
|
5199
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5200
|
+
}
|
|
5201
|
+
},
|
|
5202
|
+
service
|
|
5203
|
+
);
|
|
5204
|
+
},
|
|
5205
|
+
[env]
|
|
5206
|
+
);
|
|
5178
5207
|
const manageOnChange = (0, import_react14.useCallback)(
|
|
5179
5208
|
({
|
|
5180
5209
|
model,
|
|
@@ -5406,6 +5435,62 @@ function useViewService() {
|
|
|
5406
5435
|
},
|
|
5407
5436
|
[env]
|
|
5408
5437
|
);
|
|
5438
|
+
const changeOrderPreparaionState = (0, import_react14.useCallback)(
|
|
5439
|
+
({
|
|
5440
|
+
orderId,
|
|
5441
|
+
stageId,
|
|
5442
|
+
preparationDisplayId,
|
|
5443
|
+
xNode,
|
|
5444
|
+
service
|
|
5445
|
+
}) => {
|
|
5446
|
+
const jsonData = {
|
|
5447
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5448
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5449
|
+
ids: orderId,
|
|
5450
|
+
kwargs: {
|
|
5451
|
+
stage_id: stageId,
|
|
5452
|
+
preparation_display_id: preparationDisplayId
|
|
5453
|
+
}
|
|
5454
|
+
};
|
|
5455
|
+
return env?.requests.post(
|
|
5456
|
+
"/call" /* CALL_PATH */,
|
|
5457
|
+
jsonData,
|
|
5458
|
+
{
|
|
5459
|
+
headers: {
|
|
5460
|
+
"Content-Type": "application/json",
|
|
5461
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5462
|
+
}
|
|
5463
|
+
},
|
|
5464
|
+
service
|
|
5465
|
+
);
|
|
5466
|
+
},
|
|
5467
|
+
[env]
|
|
5468
|
+
);
|
|
5469
|
+
const updateOrderStatus = (0, import_react14.useCallback)(
|
|
5470
|
+
({
|
|
5471
|
+
orderId,
|
|
5472
|
+
state,
|
|
5473
|
+
xNode,
|
|
5474
|
+
service
|
|
5475
|
+
}) => {
|
|
5476
|
+
const jsonData = {
|
|
5477
|
+
order_id: orderId,
|
|
5478
|
+
state
|
|
5479
|
+
};
|
|
5480
|
+
return env?.requests.post(
|
|
5481
|
+
"/pos-order/status" /* POS_ORDER_STATUS */,
|
|
5482
|
+
jsonData,
|
|
5483
|
+
{
|
|
5484
|
+
headers: {
|
|
5485
|
+
"Content-Type": "application/json",
|
|
5486
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5487
|
+
}
|
|
5488
|
+
},
|
|
5489
|
+
service
|
|
5490
|
+
);
|
|
5491
|
+
},
|
|
5492
|
+
[env]
|
|
5493
|
+
);
|
|
5409
5494
|
return {
|
|
5410
5495
|
getView,
|
|
5411
5496
|
getMenu,
|
|
@@ -5441,7 +5526,10 @@ function useViewService() {
|
|
|
5441
5526
|
handleCloseSession,
|
|
5442
5527
|
handleClosingDetailSession,
|
|
5443
5528
|
createPosConfig,
|
|
5444
|
-
searchJournal
|
|
5529
|
+
searchJournal,
|
|
5530
|
+
getPreparaionDisplayData,
|
|
5531
|
+
changeOrderPreparaionState,
|
|
5532
|
+
updateOrderStatus
|
|
5445
5533
|
};
|
|
5446
5534
|
}
|
|
5447
5535
|
|
|
@@ -7349,10 +7437,77 @@ var useSearchJournal = () => {
|
|
|
7349
7437
|
});
|
|
7350
7438
|
};
|
|
7351
7439
|
var use_search_journal_default = useSearchJournal;
|
|
7440
|
+
|
|
7441
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7442
|
+
var import_react_query93 = require("@tanstack/react-query");
|
|
7443
|
+
var useGetPreparationDisplayData = () => {
|
|
7444
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7445
|
+
return (0, import_react_query93.useMutation)({
|
|
7446
|
+
mutationFn: ({
|
|
7447
|
+
ids,
|
|
7448
|
+
service,
|
|
7449
|
+
xNode
|
|
7450
|
+
}) => {
|
|
7451
|
+
return getPreparaionDisplayData({
|
|
7452
|
+
ids,
|
|
7453
|
+
service,
|
|
7454
|
+
xNode
|
|
7455
|
+
});
|
|
7456
|
+
}
|
|
7457
|
+
});
|
|
7458
|
+
};
|
|
7459
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7460
|
+
|
|
7461
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7462
|
+
var import_react_query94 = require("@tanstack/react-query");
|
|
7463
|
+
var useChangeOrderPreparationState = () => {
|
|
7464
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7465
|
+
return (0, import_react_query94.useMutation)({
|
|
7466
|
+
mutationFn: ({
|
|
7467
|
+
orderId,
|
|
7468
|
+
stageId,
|
|
7469
|
+
preparationDisplayId,
|
|
7470
|
+
service,
|
|
7471
|
+
xNode
|
|
7472
|
+
}) => {
|
|
7473
|
+
return changeOrderPreparaionState({
|
|
7474
|
+
orderId,
|
|
7475
|
+
stageId,
|
|
7476
|
+
preparationDisplayId,
|
|
7477
|
+
service,
|
|
7478
|
+
xNode
|
|
7479
|
+
});
|
|
7480
|
+
}
|
|
7481
|
+
});
|
|
7482
|
+
};
|
|
7483
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7484
|
+
|
|
7485
|
+
// src/hooks/view/use-update-order-status.ts
|
|
7486
|
+
var import_react_query95 = require("@tanstack/react-query");
|
|
7487
|
+
var useUpdateOrderStatus = () => {
|
|
7488
|
+
const { updateOrderStatus } = useViewService();
|
|
7489
|
+
return (0, import_react_query95.useMutation)({
|
|
7490
|
+
mutationFn: ({
|
|
7491
|
+
orderId,
|
|
7492
|
+
state,
|
|
7493
|
+
service,
|
|
7494
|
+
xNode
|
|
7495
|
+
}) => {
|
|
7496
|
+
return updateOrderStatus({
|
|
7497
|
+
orderId,
|
|
7498
|
+
state,
|
|
7499
|
+
service,
|
|
7500
|
+
xNode
|
|
7501
|
+
});
|
|
7502
|
+
}
|
|
7503
|
+
});
|
|
7504
|
+
};
|
|
7505
|
+
var use_update_order_status_default = useUpdateOrderStatus;
|
|
7352
7506
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7353
7507
|
0 && (module.exports = {
|
|
7354
7508
|
useAddEntity,
|
|
7355
7509
|
useButton,
|
|
7510
|
+
useChangeOrderPreparaionState,
|
|
7356
7511
|
useChangeStatus,
|
|
7357
7512
|
useCheckPayment,
|
|
7358
7513
|
useCreateEntity,
|
|
@@ -7392,6 +7547,7 @@ var use_search_journal_default = useSearchJournal;
|
|
|
7392
7547
|
useGetMenu,
|
|
7393
7548
|
useGetOrderLine,
|
|
7394
7549
|
useGetPos,
|
|
7550
|
+
useGetPreparationDisplayData,
|
|
7395
7551
|
useGetPrintReport,
|
|
7396
7552
|
useGetProGressBar,
|
|
7397
7553
|
useGetProductImage,
|
|
@@ -7435,6 +7591,7 @@ var use_search_journal_default = useSearchJournal;
|
|
|
7435
7591
|
useSwitchLocale,
|
|
7436
7592
|
useUpdateClosedSession,
|
|
7437
7593
|
useUpdateEntity,
|
|
7594
|
+
useUpdateOrderStatus,
|
|
7438
7595
|
useUpdatePassword,
|
|
7439
7596
|
useUploadFile,
|
|
7440
7597
|
useUploadFileExcel,
|
package/dist/hooks.mjs
CHANGED
|
@@ -38,6 +38,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
|
38
38
|
UriConstants2["CREATE_PATH"] = "/create";
|
|
39
39
|
UriConstants2["TENANT_MAPPING"] = "/tenant-mapping";
|
|
40
40
|
UriConstants2["EMENU_AUTH_TOKEN"] = "/emenu/auth/token";
|
|
41
|
+
UriConstants2["POS_ORDER_STATUS"] = "/pos-order/status";
|
|
41
42
|
return UriConstants2;
|
|
42
43
|
})(UriConstants || {});
|
|
43
44
|
|
|
@@ -5048,6 +5049,31 @@ function useViewService() {
|
|
|
5048
5049
|
},
|
|
5049
5050
|
[env]
|
|
5050
5051
|
);
|
|
5052
|
+
const getPreparaionDisplayData = useCallback10(
|
|
5053
|
+
({
|
|
5054
|
+
ids,
|
|
5055
|
+
xNode,
|
|
5056
|
+
service
|
|
5057
|
+
}) => {
|
|
5058
|
+
const jsonData = {
|
|
5059
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5060
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5061
|
+
ids
|
|
5062
|
+
};
|
|
5063
|
+
return env?.requests.post(
|
|
5064
|
+
"/call" /* CALL_PATH */,
|
|
5065
|
+
jsonData,
|
|
5066
|
+
{
|
|
5067
|
+
headers: {
|
|
5068
|
+
"Content-Type": "application/json",
|
|
5069
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5070
|
+
}
|
|
5071
|
+
},
|
|
5072
|
+
service
|
|
5073
|
+
);
|
|
5074
|
+
},
|
|
5075
|
+
[env]
|
|
5076
|
+
);
|
|
5051
5077
|
const manageOnChange = useCallback10(
|
|
5052
5078
|
({
|
|
5053
5079
|
model,
|
|
@@ -5279,6 +5305,62 @@ function useViewService() {
|
|
|
5279
5305
|
},
|
|
5280
5306
|
[env]
|
|
5281
5307
|
);
|
|
5308
|
+
const changeOrderPreparaionState = useCallback10(
|
|
5309
|
+
({
|
|
5310
|
+
orderId,
|
|
5311
|
+
stageId,
|
|
5312
|
+
preparationDisplayId,
|
|
5313
|
+
xNode,
|
|
5314
|
+
service
|
|
5315
|
+
}) => {
|
|
5316
|
+
const jsonData = {
|
|
5317
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5318
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5319
|
+
ids: orderId,
|
|
5320
|
+
kwargs: {
|
|
5321
|
+
stage_id: stageId,
|
|
5322
|
+
preparation_display_id: preparationDisplayId
|
|
5323
|
+
}
|
|
5324
|
+
};
|
|
5325
|
+
return env?.requests.post(
|
|
5326
|
+
"/call" /* CALL_PATH */,
|
|
5327
|
+
jsonData,
|
|
5328
|
+
{
|
|
5329
|
+
headers: {
|
|
5330
|
+
"Content-Type": "application/json",
|
|
5331
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5334
|
+
service
|
|
5335
|
+
);
|
|
5336
|
+
},
|
|
5337
|
+
[env]
|
|
5338
|
+
);
|
|
5339
|
+
const updateOrderStatus = useCallback10(
|
|
5340
|
+
({
|
|
5341
|
+
orderId,
|
|
5342
|
+
state,
|
|
5343
|
+
xNode,
|
|
5344
|
+
service
|
|
5345
|
+
}) => {
|
|
5346
|
+
const jsonData = {
|
|
5347
|
+
order_id: orderId,
|
|
5348
|
+
state
|
|
5349
|
+
};
|
|
5350
|
+
return env?.requests.post(
|
|
5351
|
+
"/pos-order/status" /* POS_ORDER_STATUS */,
|
|
5352
|
+
jsonData,
|
|
5353
|
+
{
|
|
5354
|
+
headers: {
|
|
5355
|
+
"Content-Type": "application/json",
|
|
5356
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
service
|
|
5360
|
+
);
|
|
5361
|
+
},
|
|
5362
|
+
[env]
|
|
5363
|
+
);
|
|
5282
5364
|
return {
|
|
5283
5365
|
getView,
|
|
5284
5366
|
getMenu,
|
|
@@ -5314,7 +5396,10 @@ function useViewService() {
|
|
|
5314
5396
|
handleCloseSession,
|
|
5315
5397
|
handleClosingDetailSession,
|
|
5316
5398
|
createPosConfig,
|
|
5317
|
-
searchJournal
|
|
5399
|
+
searchJournal,
|
|
5400
|
+
getPreparaionDisplayData,
|
|
5401
|
+
changeOrderPreparaionState,
|
|
5402
|
+
updateOrderStatus
|
|
5318
5403
|
};
|
|
5319
5404
|
}
|
|
5320
5405
|
|
|
@@ -7222,9 +7307,76 @@ var useSearchJournal = () => {
|
|
|
7222
7307
|
});
|
|
7223
7308
|
};
|
|
7224
7309
|
var use_search_journal_default = useSearchJournal;
|
|
7310
|
+
|
|
7311
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7312
|
+
import { useMutation as useMutation71 } from "@tanstack/react-query";
|
|
7313
|
+
var useGetPreparationDisplayData = () => {
|
|
7314
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7315
|
+
return useMutation71({
|
|
7316
|
+
mutationFn: ({
|
|
7317
|
+
ids,
|
|
7318
|
+
service,
|
|
7319
|
+
xNode
|
|
7320
|
+
}) => {
|
|
7321
|
+
return getPreparaionDisplayData({
|
|
7322
|
+
ids,
|
|
7323
|
+
service,
|
|
7324
|
+
xNode
|
|
7325
|
+
});
|
|
7326
|
+
}
|
|
7327
|
+
});
|
|
7328
|
+
};
|
|
7329
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7330
|
+
|
|
7331
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7332
|
+
import { useMutation as useMutation72 } from "@tanstack/react-query";
|
|
7333
|
+
var useChangeOrderPreparationState = () => {
|
|
7334
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7335
|
+
return useMutation72({
|
|
7336
|
+
mutationFn: ({
|
|
7337
|
+
orderId,
|
|
7338
|
+
stageId,
|
|
7339
|
+
preparationDisplayId,
|
|
7340
|
+
service,
|
|
7341
|
+
xNode
|
|
7342
|
+
}) => {
|
|
7343
|
+
return changeOrderPreparaionState({
|
|
7344
|
+
orderId,
|
|
7345
|
+
stageId,
|
|
7346
|
+
preparationDisplayId,
|
|
7347
|
+
service,
|
|
7348
|
+
xNode
|
|
7349
|
+
});
|
|
7350
|
+
}
|
|
7351
|
+
});
|
|
7352
|
+
};
|
|
7353
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7354
|
+
|
|
7355
|
+
// src/hooks/view/use-update-order-status.ts
|
|
7356
|
+
import { useMutation as useMutation73 } from "@tanstack/react-query";
|
|
7357
|
+
var useUpdateOrderStatus = () => {
|
|
7358
|
+
const { updateOrderStatus } = useViewService();
|
|
7359
|
+
return useMutation73({
|
|
7360
|
+
mutationFn: ({
|
|
7361
|
+
orderId,
|
|
7362
|
+
state,
|
|
7363
|
+
service,
|
|
7364
|
+
xNode
|
|
7365
|
+
}) => {
|
|
7366
|
+
return updateOrderStatus({
|
|
7367
|
+
orderId,
|
|
7368
|
+
state,
|
|
7369
|
+
service,
|
|
7370
|
+
xNode
|
|
7371
|
+
});
|
|
7372
|
+
}
|
|
7373
|
+
});
|
|
7374
|
+
};
|
|
7375
|
+
var use_update_order_status_default = useUpdateOrderStatus;
|
|
7225
7376
|
export {
|
|
7226
7377
|
use_add_entity_default as useAddEntity,
|
|
7227
7378
|
use_button_default as useButton,
|
|
7379
|
+
useChangeOrderPreparaionState_default as useChangeOrderPreparaionState,
|
|
7228
7380
|
use_change_status_default as useChangeStatus,
|
|
7229
7381
|
use_check_payment_default as useCheckPayment,
|
|
7230
7382
|
use_create_entity_default as useCreateEntity,
|
|
@@ -7264,6 +7416,7 @@ export {
|
|
|
7264
7416
|
use_get_menu_default as useGetMenu,
|
|
7265
7417
|
use_get_order_line_default as useGetOrderLine,
|
|
7266
7418
|
use_get_pos_default as useGetPos,
|
|
7419
|
+
useGetPreparaionDisplayData_default as useGetPreparationDisplayData,
|
|
7267
7420
|
use_get_print_report_default as useGetPrintReport,
|
|
7268
7421
|
use_get_progress_bar_default as useGetProGressBar,
|
|
7269
7422
|
use_get_product_image_default as useGetProductImage,
|
|
@@ -7307,6 +7460,7 @@ export {
|
|
|
7307
7460
|
use_switch_locale_default as useSwitchLocale,
|
|
7308
7461
|
use_update_closed_session_default as useUpdateClosedSession,
|
|
7309
7462
|
use_update_entity_default as useUpdateEntity,
|
|
7463
|
+
use_update_order_status_default as useUpdateOrderStatus,
|
|
7310
7464
|
use_update_password_default as useUpdatePassword,
|
|
7311
7465
|
use_upload_file_default as useUploadFile,
|
|
7312
7466
|
use_upload_file_excel_default as useUploadFileExcel,
|
package/dist/provider.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.mjs';
|
|
4
|
-
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken } from './hooks.mjs';
|
|
4
|
+
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken, useGetPreparationDisplayData, useChangeOrderPreparaionState as useChangeOrderPreparationState, useUpdateOrderStatus } from './hooks.mjs';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.mjs';
|
|
7
7
|
import './base-model-type-DD8uZnDP.mjs';
|
|
@@ -157,6 +157,9 @@ interface ServiceContextType {
|
|
|
157
157
|
useSearchJournal: typeof useSearchJournal;
|
|
158
158
|
useGetTenantMapping: typeof useGetTenantMapping;
|
|
159
159
|
useGetToken: typeof useGetToken;
|
|
160
|
+
useGetPreparationDisplayData: typeof useGetPreparationDisplayData;
|
|
161
|
+
useChangeOrderPreparaionState: typeof useChangeOrderPreparationState;
|
|
162
|
+
useUpdateOrderStatus: typeof useUpdateOrderStatus;
|
|
160
163
|
}
|
|
161
164
|
declare const ServiceProvider: ({ children, }: {
|
|
162
165
|
children: React.ReactNode;
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.js';
|
|
4
|
-
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken } from './hooks.js';
|
|
4
|
+
import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken, useGetPreparationDisplayData, useChangeOrderPreparaionState as useChangeOrderPreparationState, useUpdateOrderStatus } from './hooks.js';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.js';
|
|
7
7
|
import './base-model-type-DD8uZnDP.js';
|
|
@@ -157,6 +157,9 @@ interface ServiceContextType {
|
|
|
157
157
|
useSearchJournal: typeof useSearchJournal;
|
|
158
158
|
useGetTenantMapping: typeof useGetTenantMapping;
|
|
159
159
|
useGetToken: typeof useGetToken;
|
|
160
|
+
useGetPreparationDisplayData: typeof useGetPreparationDisplayData;
|
|
161
|
+
useChangeOrderPreparaionState: typeof useChangeOrderPreparationState;
|
|
162
|
+
useUpdateOrderStatus: typeof useUpdateOrderStatus;
|
|
160
163
|
}
|
|
161
164
|
declare const ServiceProvider: ({ children, }: {
|
|
162
165
|
children: React.ReactNode;
|