@fctc/interface-logic 4.2.5 → 4.2.7
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 +130 -129
- package/dist/hooks.d.ts +130 -129
- package/dist/hooks.js +1047 -1206
- package/dist/hooks.mjs +1039 -1198
- package/dist/provider.d.mts +2 -2
- package/dist/provider.d.ts +2 -2
- package/dist/provider.js +1062 -1221
- package/dist/provider.mjs +1049 -1208
- package/dist/services.d.mts +166 -123
- package/dist/services.d.ts +166 -123
- package/dist/services.js +2244 -1973
- package/dist/services.mjs +2237 -1967
- package/package.json +90 -90
package/dist/hooks.d.ts
CHANGED
|
@@ -450,54 +450,92 @@ 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
|
-
model: string;
|
|
463
|
-
domain: [];
|
|
464
|
-
values: {};
|
|
460
|
+
declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }: {
|
|
465
461
|
service?: string;
|
|
462
|
+
body: any;
|
|
466
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, {
|
|
471
|
+
service?: string;
|
|
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;
|
|
471
479
|
ids: any;
|
|
472
|
-
args: any;
|
|
473
480
|
kwargs: any;
|
|
481
|
+
}, unknown>;
|
|
482
|
+
|
|
483
|
+
declare const useGetCountry: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
474
484
|
service?: string;
|
|
475
485
|
xNode?: string;
|
|
476
|
-
|
|
486
|
+
ids: any;
|
|
487
|
+
kwargs: any;
|
|
477
488
|
}, unknown>;
|
|
478
489
|
|
|
479
|
-
declare const
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
ids: any;
|
|
490
|
+
declare const useGetPartnerTitle: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
491
|
+
service?: string;
|
|
492
|
+
xNode?: string;
|
|
483
493
|
kwargs: any;
|
|
494
|
+
withContext?: any;
|
|
495
|
+
}, unknown>;
|
|
496
|
+
|
|
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, {
|
|
502
|
+
model: string;
|
|
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;
|
|
529
|
+
service?: string;
|
|
530
|
+
xNode?: string;
|
|
531
|
+
}, unknown>;
|
|
532
|
+
|
|
533
|
+
declare const useCreateEInvoice: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
499
534
|
service?: string;
|
|
500
535
|
xNode?: string;
|
|
536
|
+
kwargs?: any;
|
|
537
|
+
ids?: any;
|
|
538
|
+
withContext?: any;
|
|
501
539
|
}, unknown>;
|
|
502
540
|
|
|
503
541
|
declare const useCreateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
@@ -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,37 +568,58 @@ declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
533
568
|
method: string;
|
|
534
569
|
}, unknown>;
|
|
535
570
|
|
|
536
|
-
declare const
|
|
571
|
+
declare const useGeneratePaymentQrInfo: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
572
|
+
orderId: number;
|
|
573
|
+
amount: number;
|
|
574
|
+
posSessionId: number;
|
|
575
|
+
service?: string;
|
|
576
|
+
xNode?: string;
|
|
577
|
+
}, unknown>;
|
|
578
|
+
|
|
579
|
+
declare const useGetCurrentUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
580
|
+
service?: string;
|
|
581
|
+
xNode?: string;
|
|
582
|
+
oauthUid?: string;
|
|
583
|
+
extraHeaders?: any;
|
|
584
|
+
}, unknown>;
|
|
585
|
+
|
|
586
|
+
declare const useGetList: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
537
587
|
model: string;
|
|
538
|
-
|
|
588
|
+
domain: any;
|
|
539
589
|
service?: string;
|
|
540
590
|
xNode?: string;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
591
|
+
specification: any;
|
|
592
|
+
offset?: number;
|
|
593
|
+
limit?: number;
|
|
544
594
|
}, unknown>;
|
|
545
595
|
|
|
546
|
-
declare const
|
|
596
|
+
declare const useGetOrderLine: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
547
597
|
model: string;
|
|
548
598
|
ids: any;
|
|
549
|
-
|
|
599
|
+
specification: any;
|
|
550
600
|
service?: string;
|
|
551
601
|
xNode?: string;
|
|
552
602
|
}, unknown>;
|
|
553
603
|
|
|
554
|
-
declare const
|
|
555
|
-
|
|
556
|
-
context: ContextApi;
|
|
604
|
+
declare const useGetPinCode: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
605
|
+
serialNumber: string;
|
|
557
606
|
service?: string;
|
|
558
607
|
xNode?: string;
|
|
559
608
|
}, unknown>;
|
|
560
609
|
|
|
561
|
-
declare const
|
|
610
|
+
declare const useGetPos: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
562
611
|
model: string;
|
|
612
|
+
args: any;
|
|
613
|
+
domain: any;
|
|
614
|
+
service?: string;
|
|
615
|
+
xNode?: string;
|
|
616
|
+
}, unknown>;
|
|
617
|
+
|
|
618
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
563
619
|
ids: any;
|
|
564
|
-
specification: any;
|
|
565
620
|
service?: string;
|
|
566
621
|
xNode?: string;
|
|
622
|
+
withContext?: any;
|
|
567
623
|
}, unknown>;
|
|
568
624
|
|
|
569
625
|
declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
@@ -577,14 +633,6 @@ declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<
|
|
|
577
633
|
searchParams?: Record<string, string | number | boolean>;
|
|
578
634
|
}, unknown>;
|
|
579
635
|
|
|
580
|
-
declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
581
|
-
model: string;
|
|
582
|
-
ids: any;
|
|
583
|
-
withContext: any;
|
|
584
|
-
service?: string;
|
|
585
|
-
xNode?: string;
|
|
586
|
-
}, unknown>;
|
|
587
|
-
|
|
588
636
|
declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
589
637
|
model: string;
|
|
590
638
|
ids: any;
|
|
@@ -602,41 +650,39 @@ declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMuta
|
|
|
602
650
|
kwargs: any;
|
|
603
651
|
}, unknown>;
|
|
604
652
|
|
|
605
|
-
declare const
|
|
606
|
-
model: string;
|
|
607
|
-
name: string;
|
|
608
|
-
modulePosRestaurant: string;
|
|
609
|
-
service?: string;
|
|
610
|
-
xNode?: string;
|
|
611
|
-
}, unknown>;
|
|
612
|
-
|
|
613
|
-
declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
653
|
+
declare const useHandleClosingSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
614
654
|
model: string;
|
|
615
655
|
method: string;
|
|
616
|
-
|
|
656
|
+
ids: any;
|
|
617
657
|
kwargs: any;
|
|
618
658
|
service?: string;
|
|
619
659
|
xNode?: string;
|
|
620
660
|
}, unknown>;
|
|
621
661
|
|
|
622
|
-
declare const
|
|
662
|
+
declare const useLoadDataPosSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
663
|
+
model: string;
|
|
623
664
|
ids: any;
|
|
624
665
|
service?: string;
|
|
625
666
|
xNode?: string;
|
|
626
667
|
withContext?: any;
|
|
668
|
+
modelsToLoad?: any;
|
|
669
|
+
searchParams?: Record<string, string | number | boolean>;
|
|
627
670
|
}, unknown>;
|
|
628
671
|
|
|
629
|
-
declare const
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
672
|
+
declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
673
|
+
model: string;
|
|
674
|
+
ids: any;
|
|
675
|
+
args: any;
|
|
633
676
|
service?: string;
|
|
634
677
|
xNode?: string;
|
|
635
678
|
}, unknown>;
|
|
636
679
|
|
|
637
|
-
declare const
|
|
638
|
-
|
|
639
|
-
|
|
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;
|
|
640
686
|
service?: string;
|
|
641
687
|
xNode?: string;
|
|
642
688
|
}, unknown>;
|
|
@@ -647,14 +693,6 @@ declare const useProcessOrder: () => _tanstack_react_query.UseMutationResult<unk
|
|
|
647
693
|
xNode?: string;
|
|
648
694
|
}, unknown>;
|
|
649
695
|
|
|
650
|
-
declare const useGeneratePaymentQrInfo: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
651
|
-
orderId: number;
|
|
652
|
-
amount: number;
|
|
653
|
-
posSessionId: number;
|
|
654
|
-
service?: string;
|
|
655
|
-
xNode?: string;
|
|
656
|
-
}, unknown>;
|
|
657
|
-
|
|
658
696
|
declare const useSavePinCode: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
659
697
|
serialNumber: string;
|
|
660
698
|
pinCode: string;
|
|
@@ -662,74 +700,37 @@ declare const useSavePinCode: () => _tanstack_react_query.UseMutationResult<unkn
|
|
|
662
700
|
xNode?: string;
|
|
663
701
|
}, unknown>;
|
|
664
702
|
|
|
665
|
-
declare const
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}, unknown>;
|
|
670
|
-
|
|
671
|
-
declare const useGetNotifications: ({ service, xNode, body, queryKey, enabled, }: {
|
|
672
|
-
service?: string;
|
|
673
|
-
body: any;
|
|
674
|
-
xNode?: string;
|
|
675
|
-
queryKey?: any[];
|
|
676
|
-
enabled?: boolean;
|
|
677
|
-
}) => _tanstack_react_query.UseQueryResult<any, Error>;
|
|
678
|
-
|
|
679
|
-
declare const useGetVersion: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
|
|
680
|
-
|
|
681
|
-
declare const useCreateEInvoice: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
682
|
-
service?: string;
|
|
683
|
-
xNode?: string;
|
|
684
|
-
kwargs?: any;
|
|
685
|
-
ids?: any;
|
|
686
|
-
withContext?: any;
|
|
687
|
-
}, unknown>;
|
|
688
|
-
|
|
689
|
-
declare const useGetCurrentUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
690
|
-
service?: string;
|
|
691
|
-
xNode?: string;
|
|
692
|
-
oauthUid?: string;
|
|
693
|
-
extraHeaders?: any;
|
|
694
|
-
}, unknown>;
|
|
695
|
-
|
|
696
|
-
declare const useGetWard: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
697
|
-
service?: string;
|
|
698
|
-
xNode?: string;
|
|
703
|
+
declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
704
|
+
model: string;
|
|
705
|
+
method: string;
|
|
706
|
+
args: any;
|
|
699
707
|
kwargs: any;
|
|
700
|
-
}, unknown>;
|
|
701
|
-
|
|
702
|
-
declare const useGetCity: () => _tanstack_react_query.UseMutationResult<any, Error, {
|
|
703
708
|
service?: string;
|
|
704
709
|
xNode?: string;
|
|
705
|
-
ids: any;
|
|
706
|
-
kwargs: any;
|
|
707
710
|
}, unknown>;
|
|
708
711
|
|
|
709
|
-
declare const
|
|
712
|
+
declare const useUpdateClosedSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
713
|
+
model: string;
|
|
714
|
+
domain: [];
|
|
715
|
+
values: {};
|
|
710
716
|
service?: string;
|
|
711
717
|
xNode?: string;
|
|
712
|
-
ids: any;
|
|
713
|
-
kwargs: any;
|
|
714
718
|
}, unknown>;
|
|
715
719
|
|
|
716
|
-
declare const
|
|
720
|
+
declare const useUpdateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
721
|
+
model: string;
|
|
722
|
+
domain: any;
|
|
723
|
+
values: any;
|
|
724
|
+
isCreateEndpoint?: boolean;
|
|
717
725
|
service?: string;
|
|
718
726
|
xNode?: string;
|
|
719
|
-
kwargs: any;
|
|
720
|
-
withContext?: any;
|
|
721
727
|
}, unknown>;
|
|
722
728
|
|
|
723
|
-
declare const
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
declare const useAddEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
728
|
-
model: string;
|
|
729
|
-
values: any;
|
|
729
|
+
declare const useUpdateOrderStatus: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
730
|
+
orderId: number;
|
|
731
|
+
state: string;
|
|
730
732
|
service?: string;
|
|
731
733
|
xNode?: string;
|
|
732
|
-
isCreateEndpoint?: boolean;
|
|
733
734
|
}, unknown>;
|
|
734
735
|
|
|
735
|
-
export { useAddEntity, useButton, useChangeOrderPreparationState
|
|
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 };
|