@fctc/interface-logic 4.2.4 → 4.2.6
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/hooks.d.mts +128 -127
- package/dist/hooks.d.ts +128 -127
- package/dist/hooks.js +1066 -1224
- package/dist/hooks.mjs +1059 -1217
- package/dist/provider.d.mts +2 -2
- package/dist/provider.d.ts +2 -2
- package/dist/provider.js +1220 -1378
- package/dist/provider.mjs +1069 -1227
- package/dist/services.d.mts +166 -130
- package/dist/services.d.ts +166 -130
- package/dist/services.js +2259 -2012
- package/dist/services.mjs +2253 -2007
- package/package.json +1 -1
package/dist/hooks.d.mts
CHANGED
|
@@ -450,56 +450,94 @@ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<unkno
|
|
|
450
450
|
code: string;
|
|
451
451
|
}, unknown>;
|
|
452
452
|
|
|
453
|
-
declare const
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
domain: [];
|
|
453
|
+
declare const useGenSerialNumber: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
454
|
+
kwargs: any;
|
|
455
|
+
context: ContextApi;
|
|
457
456
|
service?: string;
|
|
458
457
|
xNode?: string;
|
|
459
458
|
}, unknown>;
|
|
460
459
|
|
|
461
|
-
declare const
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
460
|
+
declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }: {
|
|
461
|
+
service?: string;
|
|
462
|
+
body: any;
|
|
463
|
+
xNode?: string;
|
|
464
|
+
queryKey?: any[];
|
|
465
|
+
enabled?: boolean;
|
|
466
|
+
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
467
|
+
|
|
468
|
+
declare const useGetVersion: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
469
|
+
|
|
470
|
+
declare const useGetWard: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
465
471
|
service?: string;
|
|
466
472
|
xNode?: string;
|
|
473
|
+
kwargs: any;
|
|
467
474
|
}, unknown>;
|
|
468
475
|
|
|
469
|
-
declare const
|
|
470
|
-
|
|
476
|
+
declare const useGetCity: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
477
|
+
service?: string;
|
|
478
|
+
xNode?: string;
|
|
479
|
+
ids: any;
|
|
480
|
+
kwargs: any;
|
|
481
|
+
}, unknown>;
|
|
482
|
+
|
|
483
|
+
declare const useGetCountry: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
484
|
+
service?: string;
|
|
485
|
+
xNode?: string;
|
|
471
486
|
ids: any;
|
|
472
|
-
args: any;
|
|
473
487
|
kwargs: any;
|
|
488
|
+
}, unknown>;
|
|
489
|
+
|
|
490
|
+
declare const useGetPartnerTitle: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
474
491
|
service?: string;
|
|
475
492
|
xNode?: string;
|
|
476
|
-
|
|
493
|
+
kwargs: any;
|
|
494
|
+
withContext?: any;
|
|
477
495
|
}, unknown>;
|
|
478
496
|
|
|
479
|
-
declare const
|
|
497
|
+
declare const useReadGroup: (services?: string, xNode?: any, body?: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
498
|
+
|
|
499
|
+
declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
500
|
+
|
|
501
|
+
declare const useAddEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
480
502
|
model: string;
|
|
481
|
-
|
|
482
|
-
ids: any;
|
|
483
|
-
kwargs: any;
|
|
503
|
+
values: any;
|
|
484
504
|
service?: string;
|
|
485
505
|
xNode?: string;
|
|
506
|
+
isCreateEndpoint?: boolean;
|
|
486
507
|
}, unknown>;
|
|
487
508
|
|
|
488
|
-
declare const
|
|
509
|
+
declare const useGetASession: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
489
510
|
model: string;
|
|
490
|
-
|
|
511
|
+
args: [];
|
|
512
|
+
domain: [];
|
|
491
513
|
service?: string;
|
|
492
514
|
xNode?: string;
|
|
493
515
|
}, unknown>;
|
|
494
516
|
|
|
495
|
-
declare const
|
|
517
|
+
declare const useChangeOrderPreparationState: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
518
|
+
orderId: number;
|
|
519
|
+
stageId: number;
|
|
520
|
+
preparationDisplayId: number;
|
|
521
|
+
service?: string;
|
|
522
|
+
xNode?: string;
|
|
523
|
+
}, unknown>;
|
|
524
|
+
|
|
525
|
+
declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
496
526
|
model: string;
|
|
497
|
-
|
|
498
|
-
|
|
527
|
+
ids: any;
|
|
528
|
+
withContext: any;
|
|
499
529
|
service?: string;
|
|
500
530
|
xNode?: string;
|
|
501
531
|
}, unknown>;
|
|
502
532
|
|
|
533
|
+
declare const useCreateEInvoice: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
534
|
+
service?: string;
|
|
535
|
+
xNode?: string;
|
|
536
|
+
kwargs?: any;
|
|
537
|
+
ids?: any;
|
|
538
|
+
withContext?: any;
|
|
539
|
+
}, unknown>;
|
|
540
|
+
|
|
503
541
|
declare const useCreateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
504
542
|
model: string;
|
|
505
543
|
args: any;
|
|
@@ -507,20 +545,17 @@ declare const useCreateEntity: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
507
545
|
xNode?: string;
|
|
508
546
|
}, unknown>;
|
|
509
547
|
|
|
510
|
-
declare const
|
|
548
|
+
declare const useCreatePosConfig: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
511
549
|
model: string;
|
|
512
|
-
|
|
550
|
+
name: string;
|
|
551
|
+
modulePosRestaurant: string;
|
|
513
552
|
service?: string;
|
|
514
553
|
xNode?: string;
|
|
515
|
-
specification: any;
|
|
516
|
-
offset?: number;
|
|
517
|
-
limit?: number;
|
|
518
554
|
}, unknown>;
|
|
519
555
|
|
|
520
|
-
declare const
|
|
556
|
+
declare const useCreateSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
521
557
|
model: string;
|
|
522
|
-
|
|
523
|
-
values: any;
|
|
558
|
+
configId: number;
|
|
524
559
|
service?: string;
|
|
525
560
|
xNode?: string;
|
|
526
561
|
}, unknown>;
|
|
@@ -533,29 +568,29 @@ declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
533
568
|
method: string;
|
|
534
569
|
}, unknown>;
|
|
535
570
|
|
|
536
|
-
declare const
|
|
537
|
-
|
|
538
|
-
|
|
571
|
+
declare const useGeneratePaymentQrInfo: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
572
|
+
orderId: number;
|
|
573
|
+
amount: number;
|
|
574
|
+
posSessionId: number;
|
|
539
575
|
service?: string;
|
|
540
576
|
xNode?: string;
|
|
541
|
-
withContext?: any;
|
|
542
|
-
modelsToLoad?: any;
|
|
543
|
-
searchParams?: Record<string, string | number | boolean>;
|
|
544
577
|
}, unknown>;
|
|
545
578
|
|
|
546
|
-
declare const
|
|
547
|
-
model: string;
|
|
548
|
-
ids: any;
|
|
549
|
-
args: any;
|
|
579
|
+
declare const useGetCurrentUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
550
580
|
service?: string;
|
|
551
581
|
xNode?: string;
|
|
582
|
+
oauthUid?: string;
|
|
583
|
+
extraHeaders?: any;
|
|
552
584
|
}, unknown>;
|
|
553
585
|
|
|
554
|
-
declare const
|
|
555
|
-
|
|
556
|
-
|
|
586
|
+
declare const useGetList: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
587
|
+
model: string;
|
|
588
|
+
domain: any;
|
|
557
589
|
service?: string;
|
|
558
590
|
xNode?: string;
|
|
591
|
+
specification: any;
|
|
592
|
+
offset?: number;
|
|
593
|
+
limit?: number;
|
|
559
594
|
}, unknown>;
|
|
560
595
|
|
|
561
596
|
declare const useGetOrderLine: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
@@ -566,31 +601,36 @@ declare const useGetOrderLine: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
566
601
|
xNode?: string;
|
|
567
602
|
}, unknown>;
|
|
568
603
|
|
|
569
|
-
declare const
|
|
604
|
+
declare const useGetPinCode: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
605
|
+
serialNumber: string;
|
|
606
|
+
service?: string;
|
|
607
|
+
xNode?: string;
|
|
608
|
+
}, unknown>;
|
|
609
|
+
|
|
610
|
+
declare const useGetPos: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
570
611
|
model: string;
|
|
571
|
-
|
|
572
|
-
limit: number;
|
|
573
|
-
offset: number;
|
|
612
|
+
args: any;
|
|
574
613
|
domain: any;
|
|
575
614
|
service?: string;
|
|
576
615
|
xNode?: string;
|
|
577
|
-
searchParams?: Record<string, string | number | boolean>;
|
|
578
616
|
}, unknown>;
|
|
579
617
|
|
|
580
|
-
declare const
|
|
581
|
-
|
|
582
|
-
values: any;
|
|
618
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
619
|
+
ids: any;
|
|
583
620
|
service?: string;
|
|
584
621
|
xNode?: string;
|
|
585
|
-
|
|
622
|
+
withContext?: any;
|
|
586
623
|
}, unknown>;
|
|
587
624
|
|
|
588
|
-
declare const
|
|
625
|
+
declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
589
626
|
model: string;
|
|
590
|
-
|
|
591
|
-
|
|
627
|
+
fields: any;
|
|
628
|
+
limit: number;
|
|
629
|
+
offset: number;
|
|
630
|
+
domain: any;
|
|
592
631
|
service?: string;
|
|
593
632
|
xNode?: string;
|
|
633
|
+
searchParams?: Record<string, string | number | boolean>;
|
|
594
634
|
}, unknown>;
|
|
595
635
|
|
|
596
636
|
declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
@@ -610,41 +650,39 @@ declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMuta
|
|
|
610
650
|
kwargs: any;
|
|
611
651
|
}, unknown>;
|
|
612
652
|
|
|
613
|
-
declare const
|
|
614
|
-
model: string;
|
|
615
|
-
name: string;
|
|
616
|
-
modulePosRestaurant: string;
|
|
617
|
-
service?: string;
|
|
618
|
-
xNode?: string;
|
|
619
|
-
}, unknown>;
|
|
620
|
-
|
|
621
|
-
declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
653
|
+
declare const useHandleClosingSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
622
654
|
model: string;
|
|
623
655
|
method: string;
|
|
624
|
-
|
|
656
|
+
ids: any;
|
|
625
657
|
kwargs: any;
|
|
626
658
|
service?: string;
|
|
627
659
|
xNode?: string;
|
|
628
660
|
}, unknown>;
|
|
629
661
|
|
|
630
|
-
declare const
|
|
662
|
+
declare const useLoadDataPosSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
663
|
+
model: string;
|
|
631
664
|
ids: any;
|
|
632
665
|
service?: string;
|
|
633
666
|
xNode?: string;
|
|
634
667
|
withContext?: any;
|
|
668
|
+
modelsToLoad?: any;
|
|
669
|
+
searchParams?: Record<string, string | number | boolean>;
|
|
635
670
|
}, unknown>;
|
|
636
671
|
|
|
637
|
-
declare const
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
672
|
+
declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
673
|
+
model: string;
|
|
674
|
+
ids: any;
|
|
675
|
+
args: any;
|
|
641
676
|
service?: string;
|
|
642
677
|
xNode?: string;
|
|
643
678
|
}, unknown>;
|
|
644
679
|
|
|
645
|
-
declare const
|
|
646
|
-
|
|
647
|
-
|
|
680
|
+
declare const useManageSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
681
|
+
model: string;
|
|
682
|
+
method: string;
|
|
683
|
+
ids: any;
|
|
684
|
+
args: any;
|
|
685
|
+
kwargs: any;
|
|
648
686
|
service?: string;
|
|
649
687
|
xNode?: string;
|
|
650
688
|
}, unknown>;
|
|
@@ -655,14 +693,6 @@ declare const useProcessOrder: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
655
693
|
xNode?: string;
|
|
656
694
|
}, unknown>;
|
|
657
695
|
|
|
658
|
-
declare const useGeneratePaymentQrInfo: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
659
|
-
orderId: number;
|
|
660
|
-
amount: number;
|
|
661
|
-
posSessionId: number;
|
|
662
|
-
service?: string;
|
|
663
|
-
xNode?: string;
|
|
664
|
-
}, unknown>;
|
|
665
|
-
|
|
666
696
|
declare const useSavePinCode: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
667
697
|
serialNumber: string;
|
|
668
698
|
pinCode: string;
|
|
@@ -670,66 +700,37 @@ declare const useSavePinCode: () => _tanstack_react_query.UseMutationResult<unkn
|
|
|
670
700
|
xNode?: string;
|
|
671
701
|
}, unknown>;
|
|
672
702
|
|
|
673
|
-
declare const
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }: {
|
|
680
|
-
service?: string;
|
|
681
|
-
body: any;
|
|
682
|
-
xNode?: string;
|
|
683
|
-
queryKey?: any[];
|
|
684
|
-
enabled?: boolean;
|
|
685
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
686
|
-
|
|
687
|
-
declare const useGetVersion: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
688
|
-
|
|
689
|
-
declare const useCreateEInvoice: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
690
|
-
service?: string;
|
|
691
|
-
xNode?: string;
|
|
692
|
-
kwargs?: any;
|
|
693
|
-
ids?: any;
|
|
694
|
-
withContext?: any;
|
|
695
|
-
}, unknown>;
|
|
696
|
-
|
|
697
|
-
declare const useGetCurrentUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
698
|
-
service?: string;
|
|
699
|
-
xNode?: string;
|
|
700
|
-
oauthUid?: string;
|
|
701
|
-
extraHeaders?: any;
|
|
702
|
-
}, unknown>;
|
|
703
|
-
|
|
704
|
-
declare const useGetWard: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
703
|
+
declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
704
|
+
model: string;
|
|
705
|
+
method: string;
|
|
706
|
+
args: any;
|
|
707
|
+
kwargs: any;
|
|
705
708
|
service?: string;
|
|
706
709
|
xNode?: string;
|
|
707
|
-
kwargs: any;
|
|
708
710
|
}, unknown>;
|
|
709
711
|
|
|
710
|
-
declare const
|
|
712
|
+
declare const useUpdateClosedSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
713
|
+
model: string;
|
|
714
|
+
domain: [];
|
|
715
|
+
values: {};
|
|
711
716
|
service?: string;
|
|
712
717
|
xNode?: string;
|
|
713
|
-
ids: any;
|
|
714
|
-
kwargs: any;
|
|
715
718
|
}, unknown>;
|
|
716
719
|
|
|
717
|
-
declare const
|
|
720
|
+
declare const useUpdateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
721
|
+
model: string;
|
|
722
|
+
domain: any;
|
|
723
|
+
values: any;
|
|
724
|
+
isCreateEndpoint?: boolean;
|
|
718
725
|
service?: string;
|
|
719
726
|
xNode?: string;
|
|
720
|
-
ids: any;
|
|
721
|
-
kwargs: any;
|
|
722
727
|
}, unknown>;
|
|
723
728
|
|
|
724
|
-
declare const
|
|
729
|
+
declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
730
|
+
orderId: number;
|
|
731
|
+
state: string;
|
|
725
732
|
service?: string;
|
|
726
733
|
xNode?: string;
|
|
727
|
-
kwargs: any;
|
|
728
|
-
withContext?: any;
|
|
729
734
|
}, unknown>;
|
|
730
735
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
declare const useGetDataChart: (services?: string, xNode?: any, body?: any, enabled?: boolean, path?: string, method?: string, queryKey?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
734
|
-
|
|
735
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, 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, 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 };
|
|
736
|
+
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, 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 };
|