@fctc/interface-logic 4.3.9 → 4.4.1
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 +3 -1
- package/dist/constants.d.ts +3 -1
- package/dist/constants.js +2 -0
- package/dist/constants.mjs +2 -0
- package/dist/environment.d.mts +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/hooks.d.mts +8 -3
- package/dist/hooks.d.ts +8 -3
- package/dist/hooks.js +347 -805
- package/dist/hooks.mjs +196 -654
- package/dist/provider.d.mts +14 -6
- package/dist/provider.d.ts +14 -6
- package/dist/provider.js +262 -703
- package/dist/provider.mjs +236 -679
- package/dist/services.d.mts +16 -8
- package/dist/services.d.ts +16 -8
- package/dist/services.js +303 -762
- package/dist/services.mjs +285 -743
- package/dist/store.js +1 -1
- package/dist/store.mjs +1 -1
- package/package.json +92 -91
- package/dist/import-snapshot-Ds0gqFFm.d.mts +0 -3
- package/dist/import-snapshot-Ds0gqFFm.d.ts +0 -3
package/dist/constants.d.mts
CHANGED
|
@@ -29,7 +29,8 @@ declare enum MethodConstants {
|
|
|
29
29
|
CHANGE_ORDER_STAGE = "change_order_stage",
|
|
30
30
|
PROCESS_ORDER = "process_order",
|
|
31
31
|
CREATE_E_INVOICE = "create_e_invoice",
|
|
32
|
-
GET_DATA_SELECT = "get_data_select"
|
|
32
|
+
GET_DATA_SELECT = "get_data_select",
|
|
33
|
+
COMPLETE_CURRENT_STAGE = "complete_current_stage"
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
declare enum UriConstants {
|
|
@@ -113,6 +114,7 @@ declare enum ModelConstants {
|
|
|
113
114
|
GET_IMPORT = "get_import_templates",
|
|
114
115
|
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
115
116
|
POS_PREPARATION_ORDER = "pos_preparation_display.order",
|
|
117
|
+
POS_PREPARATION_ORDER_LINE = "pos_preparation_display.orderline",
|
|
116
118
|
POS_ORDER = "pos.order",
|
|
117
119
|
COUNTRY = "res.country",
|
|
118
120
|
COUNTRY_STATE = "res.country.state",
|
package/dist/constants.d.ts
CHANGED
|
@@ -29,7 +29,8 @@ declare enum MethodConstants {
|
|
|
29
29
|
CHANGE_ORDER_STAGE = "change_order_stage",
|
|
30
30
|
PROCESS_ORDER = "process_order",
|
|
31
31
|
CREATE_E_INVOICE = "create_e_invoice",
|
|
32
|
-
GET_DATA_SELECT = "get_data_select"
|
|
32
|
+
GET_DATA_SELECT = "get_data_select",
|
|
33
|
+
COMPLETE_CURRENT_STAGE = "complete_current_stage"
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
declare enum UriConstants {
|
|
@@ -113,6 +114,7 @@ declare enum ModelConstants {
|
|
|
113
114
|
GET_IMPORT = "get_import_templates",
|
|
114
115
|
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
115
116
|
POS_PREPARATION_ORDER = "pos_preparation_display.order",
|
|
117
|
+
POS_PREPARATION_ORDER_LINE = "pos_preparation_display.orderline",
|
|
116
118
|
POS_ORDER = "pos.order",
|
|
117
119
|
COUNTRY = "res.country",
|
|
118
120
|
COUNTRY_STATE = "res.country.state",
|
package/dist/constants.js
CHANGED
|
@@ -71,6 +71,7 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
71
71
|
MethodConstants2["PROCESS_ORDER"] = "process_order";
|
|
72
72
|
MethodConstants2["CREATE_E_INVOICE"] = "create_e_invoice";
|
|
73
73
|
MethodConstants2["GET_DATA_SELECT"] = "get_data_select";
|
|
74
|
+
MethodConstants2["COMPLETE_CURRENT_STAGE"] = "complete_current_stage";
|
|
74
75
|
return MethodConstants2;
|
|
75
76
|
})(MethodConstants || {});
|
|
76
77
|
|
|
@@ -162,6 +163,7 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
162
163
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
163
164
|
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
164
165
|
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
166
|
+
ModelConstants2["POS_PREPARATION_ORDER_LINE"] = "pos_preparation_display.orderline";
|
|
165
167
|
ModelConstants2["POS_ORDER"] = "pos.order";
|
|
166
168
|
ModelConstants2["COUNTRY"] = "res.country";
|
|
167
169
|
ModelConstants2["COUNTRY_STATE"] = "res.country.state";
|
package/dist/constants.mjs
CHANGED
|
@@ -33,6 +33,7 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
33
33
|
MethodConstants2["PROCESS_ORDER"] = "process_order";
|
|
34
34
|
MethodConstants2["CREATE_E_INVOICE"] = "create_e_invoice";
|
|
35
35
|
MethodConstants2["GET_DATA_SELECT"] = "get_data_select";
|
|
36
|
+
MethodConstants2["COMPLETE_CURRENT_STAGE"] = "complete_current_stage";
|
|
36
37
|
return MethodConstants2;
|
|
37
38
|
})(MethodConstants || {});
|
|
38
39
|
|
|
@@ -124,6 +125,7 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
124
125
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
125
126
|
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
126
127
|
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
128
|
+
ModelConstants2["POS_PREPARATION_ORDER_LINE"] = "pos_preparation_display.orderline";
|
|
127
129
|
ModelConstants2["POS_ORDER"] = "pos.order";
|
|
128
130
|
ModelConstants2["COUNTRY"] = "res.country";
|
|
129
131
|
ModelConstants2["COUNTRY_STATE"] = "res.country.state";
|
package/dist/environment.d.mts
CHANGED
package/dist/environment.d.ts
CHANGED
package/dist/hooks.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ 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
3
|
import { B as BaseModelInit } from './base-model-type-DD8uZnDP.mjs';
|
|
4
4
|
import { BaseModel } from './models.mjs';
|
|
5
|
-
import { P as ProgressCb } from './import-snapshot-Ds0gqFFm.mjs';
|
|
6
5
|
|
|
7
6
|
declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
|
|
8
7
|
|
|
@@ -734,6 +733,12 @@ declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResul
|
|
|
734
733
|
xNode?: string;
|
|
735
734
|
}, unknown>;
|
|
736
735
|
|
|
737
|
-
declare const
|
|
736
|
+
declare const useCompleteCurrentStage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
737
|
+
ids: number[];
|
|
738
|
+
requestStageId: number;
|
|
739
|
+
withContext: any;
|
|
740
|
+
service?: string;
|
|
741
|
+
xNode?: string;
|
|
742
|
+
}, unknown>;
|
|
738
743
|
|
|
739
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEInvoice, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetCity, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCountry, useGetCurrency, useGetCurrentCompany, useGetCurrentUser, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPartnerTitle, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetVersion, useGetView, useGetWard, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession,
|
|
744
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCompleteCurrentStage, useCreateEInvoice, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetCity, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCountry, useGetCurrency, useGetCurrentCompany, useGetCurrentUser, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPartnerTitle, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetVersion, useGetView, useGetWard, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useProcessOrder, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSavePinCode, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ 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.js';
|
|
3
3
|
import { B as BaseModelInit } from './base-model-type-DD8uZnDP.js';
|
|
4
4
|
import { BaseModel } from './models.js';
|
|
5
|
-
import { P as ProgressCb } from './import-snapshot-Ds0gqFFm.js';
|
|
6
5
|
|
|
7
6
|
declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
|
|
8
7
|
|
|
@@ -734,6 +733,12 @@ declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResul
|
|
|
734
733
|
xNode?: string;
|
|
735
734
|
}, unknown>;
|
|
736
735
|
|
|
737
|
-
declare const
|
|
736
|
+
declare const useCompleteCurrentStage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
737
|
+
ids: number[];
|
|
738
|
+
requestStageId: number;
|
|
739
|
+
withContext: any;
|
|
740
|
+
service?: string;
|
|
741
|
+
xNode?: string;
|
|
742
|
+
}, unknown>;
|
|
738
743
|
|
|
739
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCreateEInvoice, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetCity, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCountry, useGetCurrency, useGetCurrentCompany, useGetCurrentUser, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPartnerTitle, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetVersion, useGetView, useGetWard, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession,
|
|
744
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState, useChangeStatus, useCheckPayment, useCompleteCurrentStage, useCreateEInvoice, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGeneratePaymentQrInfo, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetCity, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCountry, useGetCurrency, useGetCurrentCompany, useGetCurrentUser, useGetDataChart, useGetDetail, useGetExternalTabs, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetNotifications, useGetOrderLine, useGetPartnerTitle, useGetPinCode, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetThreadData, useGetThreadMessages, useGetToken, useGetUser, useGetVersion, useGetView, useGetWard, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useProcessOrder, useReadGroup, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSavePinCode, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdateOrderStatus, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|