@fctc/interface-logic 5.2.9 → 5.3.0
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-MQ52V6ZA.mjs → chunk-CFMANGYC.mjs} +41 -142
- package/dist/{chunk-WBGK2SHU.js → chunk-COC7NGXP.js} +1 -0
- package/dist/{chunk-YC2XUIK2.js → chunk-OYRLOMB7.js} +45 -149
- package/dist/{chunk-VBYRP2P7.mjs → chunk-Q3Y6RCJ4.mjs} +1 -0
- package/dist/{chunk-QOXPJWSN.mjs → chunk-VBVNP77T.mjs} +1 -1
- package/dist/{chunk-RPWKWEMA.js → chunk-WTPKTZQC.js} +2 -2
- package/dist/configs.js +1 -1
- package/dist/configs.mjs +1 -1
- package/dist/constants.d.mts +2 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.js +17 -17
- package/dist/constants.mjs +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.mjs +1 -1
- package/dist/hooks.d.mts +9 -19
- package/dist/hooks.d.ts +9 -19
- package/dist/hooks.js +159 -171
- package/dist/hooks.mjs +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +197 -209
- package/dist/index.mjs +3 -3
- package/dist/models.js +3 -3
- package/dist/models.mjs +2 -2
- package/dist/provider.d.mts +2 -5
- package/dist/provider.d.ts +2 -5
- package/dist/provider.js +13 -13
- package/dist/provider.mjs +3 -3
- package/dist/services.d.mts +8 -12
- package/dist/services.d.ts +8 -12
- package/dist/services.js +14 -14
- package/dist/services.mjs +3 -3
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +93 -93
package/dist/constants.d.mts
CHANGED
|
@@ -83,7 +83,8 @@ declare enum UriConstants {
|
|
|
83
83
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
84
84
|
FUNCTIONAL_MODULES = "/functional-modules",
|
|
85
85
|
ACTION_SERVER_HOME = "/action_server_home",
|
|
86
|
-
APP_AUTHENTICATE = "/app/authenticate"
|
|
86
|
+
APP_AUTHENTICATE = "/app/authenticate",
|
|
87
|
+
LOYALTY_POINT = "/loyalty/point"
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
declare enum FieldTypeConstants {
|
package/dist/constants.d.ts
CHANGED
|
@@ -83,7 +83,8 @@ declare enum UriConstants {
|
|
|
83
83
|
PUBLIC_USER_INFO = "/public/user/info",
|
|
84
84
|
FUNCTIONAL_MODULES = "/functional-modules",
|
|
85
85
|
ACTION_SERVER_HOME = "/action_server_home",
|
|
86
|
-
APP_AUTHENTICATE = "/app/authenticate"
|
|
86
|
+
APP_AUTHENTICATE = "/app/authenticate",
|
|
87
|
+
LOYALTY_POINT = "/loyalty/point"
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
declare enum FieldTypeConstants {
|
package/dist/constants.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCOC7NGXP_js = require('./chunk-COC7NGXP.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 chunkCOC7NGXP_js.ComponentType; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FieldTypeConstants", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCOC7NGXP_js.FieldTypeConstants; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "KeyConstants", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCOC7NGXP_js.KeyConstants; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LoadDataModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCOC7NGXP_js.LoadDataModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LoadDataModelSupa", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkCOC7NGXP_js.LoadDataModelSupa; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MODEL_TO_TABLE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCOC7NGXP_js.MODEL_TO_TABLE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MethodConstants", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCOC7NGXP_js.MethodConstants; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MethodType", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCOC7NGXP_js.MethodType; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModelConstants", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkCOC7NGXP_js.ModelConstants; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "SearchType", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkCOC7NGXP_js.SearchType; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "UriConstants", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkCOC7NGXP_js.UriConstants; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "WIDGETAVATAR", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkCOC7NGXP_js.WIDGETAVATAR; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "WIDGETCOLOR", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkCOC7NGXP_js.WIDGETCOLOR; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "WIDGETCURRENCY", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkCOC7NGXP_js.WIDGETCURRENCY; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "WIDGETNOSTRING", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkCOC7NGXP_js.WIDGETNOSTRING; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "WIDGETSTATUS", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkCOC7NGXP_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-Q3Y6RCJ4.mjs';
|
package/dist/environment.js
CHANGED
package/dist/environment.mjs
CHANGED
package/dist/hooks.d.mts
CHANGED
|
@@ -503,22 +503,6 @@ declare const useGetPartnerTitle: () => _tanstack_react_query.UseMutationResult<
|
|
|
503
503
|
|
|
504
504
|
declare const useActionServerHome: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
505
505
|
|
|
506
|
-
declare const useActionOpenHome: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
507
|
-
model: string;
|
|
508
|
-
method: string;
|
|
509
|
-
}, unknown>;
|
|
510
|
-
|
|
511
|
-
declare const useGetPoints: ({ path }: {
|
|
512
|
-
path: string;
|
|
513
|
-
}) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
514
|
-
|
|
515
|
-
declare const useGetOrders: ({ kwargs, withContext, }: {
|
|
516
|
-
kwargs: any;
|
|
517
|
-
withContext: any;
|
|
518
|
-
}) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
519
|
-
|
|
520
|
-
declare const useGetVouchers: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
521
|
-
|
|
522
506
|
declare const useReadGroup: (services?: string, xNode?: any, body?: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
523
507
|
|
|
524
508
|
declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
@@ -787,14 +771,14 @@ declare const useAppAuthenticate: () => _tanstack_react_query.UseMutationResult<
|
|
|
787
771
|
|
|
788
772
|
declare const useApplyVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
789
773
|
ids: number[];
|
|
790
|
-
voucherCode: string;
|
|
774
|
+
voucherCode: string[];
|
|
791
775
|
xNode?: string;
|
|
792
776
|
service?: string;
|
|
793
777
|
}, unknown>;
|
|
794
778
|
|
|
795
779
|
declare const useRemoveVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
796
780
|
ids: number[];
|
|
797
|
-
programId: string;
|
|
781
|
+
programId: string[];
|
|
798
782
|
xNode?: string;
|
|
799
783
|
service?: string;
|
|
800
784
|
}, unknown>;
|
|
@@ -805,6 +789,12 @@ declare const useSyncFromUi: () => _tanstack_react_query.UseMutationResult<unkno
|
|
|
805
789
|
service?: string;
|
|
806
790
|
}, unknown>;
|
|
807
791
|
|
|
792
|
+
declare const useGetCustomerLoyaltyPoint: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
793
|
+
service?: string;
|
|
794
|
+
xNode?: string;
|
|
795
|
+
partnerId: number;
|
|
796
|
+
}, unknown>;
|
|
797
|
+
|
|
808
798
|
declare const useAddFloor: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
809
799
|
name: string;
|
|
810
800
|
sequence?: number;
|
|
@@ -1052,4 +1042,4 @@ declare const useTogglePosRestaurant: () => _tanstack_react_query.UseMutationRes
|
|
|
1052
1042
|
module_pos_restaurant: boolean;
|
|
1053
1043
|
}, unknown>;
|
|
1054
1044
|
|
|
1055
|
-
export {
|
|
1045
|
+
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, useGetCustomerLoyaltyPoint, 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 };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -503,22 +503,6 @@ declare const useGetPartnerTitle: () => _tanstack_react_query.UseMutationResult<
|
|
|
503
503
|
|
|
504
504
|
declare const useActionServerHome: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
505
505
|
|
|
506
|
-
declare const useActionOpenHome: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
507
|
-
model: string;
|
|
508
|
-
method: string;
|
|
509
|
-
}, unknown>;
|
|
510
|
-
|
|
511
|
-
declare const useGetPoints: ({ path }: {
|
|
512
|
-
path: string;
|
|
513
|
-
}) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
514
|
-
|
|
515
|
-
declare const useGetOrders: ({ kwargs, withContext, }: {
|
|
516
|
-
kwargs: any;
|
|
517
|
-
withContext: any;
|
|
518
|
-
}) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
519
|
-
|
|
520
|
-
declare const useGetVouchers: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
521
|
-
|
|
522
506
|
declare const useReadGroup: (services?: string, xNode?: any, body?: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
523
507
|
|
|
524
508
|
declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
@@ -787,14 +771,14 @@ declare const useAppAuthenticate: () => _tanstack_react_query.UseMutationResult<
|
|
|
787
771
|
|
|
788
772
|
declare const useApplyVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
789
773
|
ids: number[];
|
|
790
|
-
voucherCode: string;
|
|
774
|
+
voucherCode: string[];
|
|
791
775
|
xNode?: string;
|
|
792
776
|
service?: string;
|
|
793
777
|
}, unknown>;
|
|
794
778
|
|
|
795
779
|
declare const useRemoveVoucher: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
796
780
|
ids: number[];
|
|
797
|
-
programId: string;
|
|
781
|
+
programId: string[];
|
|
798
782
|
xNode?: string;
|
|
799
783
|
service?: string;
|
|
800
784
|
}, unknown>;
|
|
@@ -805,6 +789,12 @@ declare const useSyncFromUi: () => _tanstack_react_query.UseMutationResult<unkno
|
|
|
805
789
|
service?: string;
|
|
806
790
|
}, unknown>;
|
|
807
791
|
|
|
792
|
+
declare const useGetCustomerLoyaltyPoint: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
793
|
+
service?: string;
|
|
794
|
+
xNode?: string;
|
|
795
|
+
partnerId: number;
|
|
796
|
+
}, unknown>;
|
|
797
|
+
|
|
808
798
|
declare const useAddFloor: () => _tanstack_react_query.UseMutationResult<[number, string][] | null, Error, {
|
|
809
799
|
name: string;
|
|
810
800
|
sequence?: number;
|
|
@@ -1052,4 +1042,4 @@ declare const useTogglePosRestaurant: () => _tanstack_react_query.UseMutationRes
|
|
|
1052
1042
|
module_pos_restaurant: boolean;
|
|
1053
1043
|
}, unknown>;
|
|
1054
1044
|
|
|
1055
|
-
export {
|
|
1045
|
+
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, useGetCustomerLoyaltyPoint, 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 };
|