@omniumretail/shared-resources 0.3.85 → 0.3.86
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/.eslintrc.json +32 -0
- package/dist/bundle.js +1 -0
- package/dist/types/components/BottomDrawer/index.d.ts +9 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/Footer/index.d.ts +3 -0
- package/dist/types/components/Form/FormInputField/index.d.ts +8 -0
- package/dist/types/components/Form/FormSelectField/index.d.ts +9 -0
- package/dist/types/components/Form/index.d.ts +2 -0
- package/dist/types/components/Header/index.d.ts +4 -0
- package/dist/types/components/Link/index.d.ts +6 -0
- package/dist/types/components/Navigation/index.d.ts +8 -0
- package/dist/types/components/Page/index.d.ts +13 -0
- package/dist/types/components/SharedContextProvider/index.d.ts +7 -0
- package/dist/types/components/index.d.ts +9 -0
- package/dist/types/constants/Icons.d.ts +15 -0
- package/dist/types/constants/QueryClient.d.ts +2 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/contexts/useStore.d.ts +8 -0
- package/dist/types/helpers/codeMutation.d.ts +4 -0
- package/dist/types/helpers/date-unix.helper.d.ts +5 -0
- package/dist/types/helpers/getChildrenByType.helper.d.ts +2 -0
- package/dist/types/hooks/ACB/get/getClientBalance.hook.d.ts +7 -0
- package/dist/types/hooks/ACB/mutate/postClientBalance.hook.d.ts +2 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +12 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +14 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +13 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +8 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +9 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +9 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +13 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +10 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +2 -0
- package/dist/types/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/get/getFlowListQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +14 -0
- package/dist/types/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +4 -0
- package/dist/types/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +4 -0
- package/dist/types/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +17 -0
- package/dist/types/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Anot/get/getNotificationsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Answer/others/openAnswerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Answer/others/showAnswerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +7 -0
- package/dist/types/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +11 -0
- package/dist/types/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +7 -0
- package/dist/types/hooks/AprProduct/get/useProductsQuery.hook.d.ts +144 -0
- package/dist/types/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +12 -0
- package/dist/types/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asts/get/getProductInfoQuery.hook.d.ts +15 -0
- package/dist/types/hooks/Asts/get/getStockQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asts/others/postAudioFileQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +12 -0
- package/dist/types/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/get/getProductsListingQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getRfidQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/get/getTransferReportDiff.hook.d.ts +12 -0
- package/dist/types/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +14 -0
- package/dist/types/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +8 -0
- package/dist/types/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +8 -0
- package/dist/types/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +11 -0
- package/dist/types/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +12 -0
- package/dist/types/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/importABWGQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/importRegulationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +11 -0
- package/dist/types/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +7 -0
- package/dist/types/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +1 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +5 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +8 -0
- package/dist/types/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/queue/getQueues.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +12 -0
- package/dist/types/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +13 -0
- package/dist/types/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +7 -0
- package/dist/types/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +8 -0
- package/dist/types/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/mutate/postEventsRep.hook.d.ts +1 -0
- package/dist/types/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/mutate/postVoucher.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +2 -0
- package/dist/types/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Orch/get/getInstancesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Orch/get/getMacrosQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Orch/get/getMonitoringComponents.hook.d.ts +13 -0
- package/dist/types/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Orch/others/runMacrosQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Orch/others/stopInstanceQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/changePasswordQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/editFieldsByBulkQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/getBellNotificationsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Others/getNotificationTitleQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Others/getRegulationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/getUserEmailStatusQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Others/oneSignalUserQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/postUserAuthenticationQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/postVerifyImageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/unblockUserQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Others/useApplicationDataQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/useContractStatesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCountriesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCreateNotification.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCustomersQuery.hook.d.ts +142 -0
- package/dist/types/hooks/Others/useJobTitlesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/useRegulationQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/useTermNotificationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Roles/get/useAllRolesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Store/getLocationsByUser.hook.d.ts +13 -0
- package/dist/types/hooks/Store/useAllStoreQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Store/useStoreByCodeQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Store/useStoreQuery.d.ts +7 -0
- package/dist/types/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useApplicationQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Users/get/usePermissionsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Users/get/useUserIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/get/useUserListQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useUserQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +6 -0
- package/dist/types/hooks/Users/others/useUserBlockQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +2 -0
- package/dist/types/hooks/Watson/get/getCloseSession.hook.d.ts +3 -0
- package/dist/types/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +2 -0
- package/dist/types/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +2 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +8 -0
- package/dist/types/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +434 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/interfaces/Answer.d.ts +13 -0
- package/dist/types/interfaces/Cart.d.ts +11 -0
- package/dist/types/interfaces/Employee.d.ts +14 -0
- package/dist/types/interfaces/Inspection.d.ts +21 -0
- package/dist/types/interfaces/OSUA.d.ts +325 -0
- package/dist/types/interfaces/Responses.d.ts +29 -0
- package/dist/types/interfaces/Template.d.ts +30 -0
- package/dist/types/interfaces/User.d.ts +71 -0
- package/dist/types/services/ApiService/index.d.ts +14 -0
- package/dist/types/services/InitService/index.d.ts +3 -0
- package/package.json +36 -48
- package/src/a2ai.scss +130 -0
- package/src/assets/omniu-retail_branco_s-fundo.png +0 -0
- package/src/assets/sitoo.svg +9 -0
- package/src/components/BottomDrawer/index.tsx +33 -0
- package/src/components/BottomDrawer/styles.module.scss +59 -0
- package/src/components/Button/index.tsx +7 -0
- package/src/components/Footer/index.tsx +44 -0
- package/src/components/Footer/styles.module.scss +33 -0
- package/src/components/Form/FormInputField/index.tsx +18 -0
- package/src/components/Form/FormSelectField/index.tsx +16 -0
- package/src/components/Form/index.ts +2 -0
- package/src/components/Header/index.tsx +20 -0
- package/src/components/Header/styles.module.scss +16 -0
- package/src/components/Link/index.tsx +21 -0
- package/src/components/Link/styles.module.scss +24 -0
- package/src/components/Navigation/index.tsx +30 -0
- package/src/components/Navigation/styles.module.scss +34 -0
- package/src/components/Page/index.tsx +35 -0
- package/src/components/Page/styles.module.scss +26 -0
- package/src/components/SharedContextProvider/index.tsx +30 -0
- package/src/components/index.ts +9 -0
- package/src/constants/Icons.ts +21 -0
- package/src/constants/QueryClient.ts +10 -0
- package/src/constants/index.ts +2 -0
- package/src/contexts/useStore.tsx +20 -0
- package/src/enums/attendence-type.enum.ts +5 -0
- package/src/enums/employees-order.enum.ts +7 -0
- package/src/enums/index.ts +2 -0
- package/src/global.scss +124 -0
- package/src/helpers/codeMutation.tsx +20 -0
- package/src/helpers/date-unix.helper.ts +29 -0
- package/src/helpers/formatted-date.helper.ts +15 -0
- package/src/helpers/getChildrenByType.helper.ts +5 -0
- package/src/helpers/index.ts +4 -0
- package/src/hooks/ACB/get/getClientBalance.hook.ts +20 -0
- package/src/hooks/ACB/mutate/postClientBalance.hook.ts +16 -0
- package/src/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.ts +24 -0
- package/src/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.ts +24 -0
- package/src/hooks/ASAEGNG/get/getCustomersQuery.hook.ts +28 -0
- package/src/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.ts +33 -0
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.ts +38 -0
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.ts +52 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.ts +29 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.ts +51 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.ts +16 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.ts +28 -0
- package/src/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.ts +27 -0
- package/src/hooks/ATIM/BackOffice/get/useWorkMonths.hook.ts +31 -0
- package/src/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.ts +31 -0
- package/src/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.ts +16 -0
- package/src/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.ts +21 -0
- package/src/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.ts +25 -0
- package/src/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.ts +17 -0
- package/src/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.ts +35 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.ts +16 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.ts +33 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.ts +15 -0
- package/src/hooks/Acls/get/getCustomersLoyaltyQuery.hook.ts +22 -0
- package/src/hooks/Acls/get/getVoucherLoyaltyQuery.hook.ts +25 -0
- package/src/hooks/Acls/get/getVoucherSitooQuery.hook.ts +22 -0
- package/src/hooks/Acls/get/getVoucherTemplatesQuery.hook.ts +29 -0
- package/src/hooks/Acls/mutate/postCreateVoucherTemplates.hook.ts +19 -0
- package/src/hooks/Acls/mutate/postSaldoVoucherQuery.hook.ts +21 -0
- package/src/hooks/Acls/mutate/postSalesAssociationQuery.hook.ts +20 -0
- package/src/hooks/Acls/mutate/postVerificationEmailQuery.hook.ts +23 -0
- package/src/hooks/Acls/mutate/postVerificationUserQuery.hook.ts +23 -0
- package/src/hooks/Acls/mutate/postVoucherSitooQuery.hook.ts +21 -0
- package/src/hooks/Acls/mutate/reactivateVoucherQuery.hook.ts +27 -0
- package/src/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.ts +25 -0
- package/src/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.ts +13 -0
- package/src/hooks/Aexp/get/getFlowExecutionQuery.hook.ts +27 -0
- package/src/hooks/Aexp/get/getFlowListByIdQuery.hook.ts +13 -0
- package/src/hooks/Aexp/get/getFlowListQuery.hook.ts +29 -0
- package/src/hooks/Aexp/get/getTagsFlowQuery.hook.ts +11 -0
- package/src/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.ts +17 -0
- package/src/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.ts +18 -0
- package/src/hooks/Aexp/mutate/runFlowExecutionQuery.hook.ts +20 -0
- package/src/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.ts +17 -0
- package/src/hooks/Aexp/mutate/useFlowExecutionQuery.hook.ts +22 -0
- package/src/hooks/Aexp/mutate/validateExecutionFileQuery.hook.ts +15 -0
- package/src/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.ts +32 -0
- package/src/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -0
- package/src/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.ts +23 -0
- package/src/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.ts +21 -0
- package/src/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.ts +32 -0
- package/src/hooks/Analytics/get/useAnalyticsUserQuery.hook.ts +35 -0
- package/src/hooks/Anot/get/getNotificationApplicationsQuery.hook.ts +13 -0
- package/src/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.ts +13 -0
- package/src/hooks/Anot/get/getNotificationHeadersQuery.hook.ts +33 -0
- package/src/hooks/Anot/get/getNotificationLanguagesQuery.hook.ts +15 -0
- package/src/hooks/Anot/get/getNotificationTypeByIdQuery.hook.ts +11 -0
- package/src/hooks/Anot/get/getNotificationsQuery.hook.ts +29 -0
- package/src/hooks/Anot/get/getNotificationsTypeQuery.hook.ts +27 -0
- package/src/hooks/Anot/mutate/useNotificationTypeQuery.hook.ts +18 -0
- package/src/hooks/Answer/get/useAnswerIdQuery.hook.ts +13 -0
- package/src/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.ts +21 -0
- package/src/hooks/Answer/mutate/useAnswerMutateQuery.hook.ts +31 -0
- package/src/hooks/Answer/others/openAnswerQuery.hook.ts +19 -0
- package/src/hooks/Answer/others/postAnswersExportQuery.hook.ts +26 -0
- package/src/hooks/Answer/others/showAnswerQuery.hook.ts +18 -0
- package/src/hooks/AprProduct/get/useProductHierarchies.hook.ts +19 -0
- package/src/hooks/AprProduct/get/useProductRecommendations.hook.ts +27 -0
- package/src/hooks/AprProduct/get/useProductsByRefQuery.hook.ts +18 -0
- package/src/hooks/AprProduct/get/useProductsQuery.hook.ts +46 -0
- package/src/hooks/Aprc/get/getPriceChangePinQuery.hook.ts +16 -0
- package/src/hooks/Aprc/others/postPriceChangePinQuery.hook.ts +19 -0
- package/src/hooks/Aprc/others/sendEmailWithPinQuery.hook.ts +19 -0
- package/src/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.ts +10 -0
- package/src/hooks/Asgt/get/getProductWarningASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getProductsListingASGTQuery.hook.ts +14 -0
- package/src/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getProductsPickedASGTQuery.hook.ts +19 -0
- package/src/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.ts +12 -0
- package/src/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.ts +25 -0
- package/src/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.ts +12 -0
- package/src/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.ts +13 -0
- package/src/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.ts +23 -0
- package/src/hooks/Asgt/get/getTransferReportDiffASGT.hook.ts +17 -0
- package/src/hooks/Asgt/mutate/autoSaveASGTQuery.hook.ts +23 -0
- package/src/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.ts +21 -0
- package/src/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.ts +15 -0
- package/src/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.ts +23 -0
- package/src/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.ts +21 -0
- package/src/hooks/Asgt/mutate/removeProductASGTQuery.hook.ts +15 -0
- package/src/hooks/Ass/get/getAssProductsByRefQuery.hook.ts +23 -0
- package/src/hooks/Ass/get/getAssProductsByStoreQuery.hook.ts +29 -0
- package/src/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.ts +21 -0
- package/src/hooks/Asta/Actions/get/getActionByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Actions/get/getActionPriorityQuery.hook.ts +10 -0
- package/src/hooks/Asta/Actions/get/getActionQuery.hook.ts +29 -0
- package/src/hooks/Asta/Actions/get/getActionStagesQuery.hook.ts +10 -0
- package/src/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Actions/others/archiveActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/deleteActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/extractActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/finishActionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Actions/others/selectActionStatusQuery.hook.ts +18 -0
- package/src/hooks/Asta/Actions/others/startActionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.ts +29 -0
- package/src/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.ts +18 -0
- package/src/hooks/Asta/Answer/others/putAnswerImageQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.ts +21 -0
- package/src/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.ts +20 -0
- package/src/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.ts +29 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.ts +10 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.ts +10 -0
- package/src/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.ts +19 -0
- package/src/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.ts +17 -0
- package/src/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.ts +18 -0
- package/src/hooks/Asta/Inspection/get/getInspectionQuery.hook.ts +29 -0
- package/src/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.ts +24 -0
- package/src/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/exportInspectionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/extractTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/finishInspectionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Template/get/getTemplateByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.ts +10 -0
- package/src/hooks/Asta/Template/get/getTemplateQuery.hook.ts +29 -0
- package/src/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Template/others/archiveTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/deleteTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/duplicateTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/extractTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/finishTemplateQuery.hook.ts +17 -0
- package/src/hooks/Asts/get/getProductInfoQuery.hook.ts +19 -0
- package/src/hooks/Asts/get/getStockQuery.hook.ts +21 -0
- package/src/hooks/Asts/others/postAudioFileQuery.hook.ts +14 -0
- package/src/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.ts +10 -0
- package/src/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.ts +14 -0
- package/src/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.ts +19 -0
- package/src/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.ts +13 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.ts +17 -0
- package/src/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.ts +15 -0
- package/src/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.ts +20 -0
- package/src/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.ts +28 -0
- package/src/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.ts +15 -0
- package/src/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.ts +22 -0
- package/src/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.ts +14 -0
- package/src/hooks/Astt/get/getBarcodesListingQuery.hook.ts +13 -0
- package/src/hooks/Astt/get/getBarcodesPrintQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getDocumentsFindByIdQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getManualPackagesListQuery.hook.ts +20 -0
- package/src/hooks/Astt/get/getProductsListingQuery.hook.ts +14 -0
- package/src/hooks/Astt/get/getReconciliationDocumentsQuery.hook.ts +18 -0
- package/src/hooks/Astt/get/getReportsBuilderQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getRfidQuery.hook.ts +24 -0
- package/src/hooks/Astt/get/getTransferAllProductsQuery.hook.ts +25 -0
- package/src/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.ts +13 -0
- package/src/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.ts +23 -0
- package/src/hooks/Astt/get/getTransferDocumentsQuery.hook.ts +27 -0
- package/src/hooks/Astt/get/getTransferReportDiff.hook.ts +17 -0
- package/src/hooks/Astt/get/getTransferStatesQuery.hook.ts +10 -0
- package/src/hooks/Astt/mutate/deleteManualPackageQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/notifyMissingProductsQuery.hook.ts +36 -0
- package/src/hooks/Astt/mutate/postAsttActionsQuery.hook.ts +18 -0
- package/src/hooks/Astt/mutate/postManualPackageQuery.hook.ts +18 -0
- package/src/hooks/Astt/mutate/postManualTransferQuery.hook.ts +16 -0
- package/src/hooks/Astt/mutate/postMatchingPackageQuery.hook.ts +22 -0
- package/src/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/updateDocumentIdQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/updatePackageIdQuery.hook.ts +25 -0
- package/src/hooks/AsvProduct/get/getProductsByRefQuery.hook.ts +23 -0
- package/src/hooks/AsvProduct/get/getProductsByStoreQuery.hook.ts +29 -0
- package/src/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.ts +21 -0
- package/src/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.ts +29 -0
- package/src/hooks/BigWin/get/getBwgBackOfficeQuery.hook.ts +29 -0
- package/src/hooks/BigWin/get/getMonthsListQuery.hook.ts +10 -0
- package/src/hooks/BigWin/others/importABWGQuery.hook.ts +20 -0
- package/src/hooks/BigWin/others/importRegulationQuery.hook.ts +15 -0
- package/src/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.ts +19 -0
- package/src/hooks/BigWin/others/publishMonthsManagerQuery.hook.ts +19 -0
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.ts +13 -0
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.ts +29 -0
- package/src/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.ts +17 -0
- package/src/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/get/getIntegrationByName.hook.ts +19 -0
- package/src/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.ts +25 -0
- package/src/hooks/OSUA/MIMO/get/useErrorHistory.hook.ts +21 -0
- package/src/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.ts +13 -0
- package/src/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.ts +18 -0
- package/src/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.ts +25 -0
- package/src/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.ts +30 -0
- package/src/hooks/OSUA/get/documentos/getGngDocumentos.hook.ts +28 -0
- package/src/hooks/OSUA/get/documentos/getSitooDocumentos.hook.ts +21 -0
- package/src/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.ts +30 -0
- package/src/hooks/OSUA/get/faqs/getFaqsQuery.hook.ts +33 -0
- package/src/hooks/OSUA/get/orders/getOrderDocuments.hook.ts +21 -0
- package/src/hooks/OSUA/get/queue/getQueues.hook.ts +15 -0
- package/src/hooks/OSUA/get/queue/getQueuesMessages.hook.ts +28 -0
- package/src/hooks/OSUA/get/vouchers/getGngVoucher.hook.ts +21 -0
- package/src/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.ts +27 -0
- package/src/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.ts +26 -0
- package/src/hooks/OSUA/get/vouchers/getSitooVouchers.hook.ts +22 -0
- package/src/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.ts +23 -0
- package/src/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.ts +24 -0
- package/src/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.ts +28 -0
- package/src/hooks/OSUA/mutate/postEventsRep.hook.ts +16 -0
- package/src/hooks/OSUA/mutate/postQueuesMessages.hook.ts +21 -0
- package/src/hooks/OSUA/mutate/postVoucher.hook.ts +16 -0
- package/src/hooks/OSUA/mutate/putBalanceVouchers.hook.ts +25 -0
- package/src/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.ts +21 -0
- package/src/hooks/Orch/get/getAuth0ConfigQuery.hook.ts +11 -0
- package/src/hooks/Orch/get/getInstanceByIdQuery.hook.ts +14 -0
- package/src/hooks/Orch/get/getInstancesQuery.hook.ts +27 -0
- package/src/hooks/Orch/get/getMacrosInstancesQuery.hook.ts +19 -0
- package/src/hooks/Orch/get/getMacrosQuery.hook.ts +27 -0
- package/src/hooks/Orch/get/getMacrosUserQuery.hook.ts +11 -0
- package/src/hooks/Orch/get/getMonitoringComponents.hook.ts +29 -0
- package/src/hooks/Orch/others/reprocessingInstanceQuery.hook.ts +14 -0
- package/src/hooks/Orch/others/runMacrosQuery.hook.ts +23 -0
- package/src/hooks/Orch/others/stopInstanceQuery.hook.ts +16 -0
- package/src/hooks/Orch/others/updateMacroStatusQuery.hook.ts +23 -0
- package/src/hooks/Others/Vacation/get/getVacationPlanQuery.hook.ts +20 -0
- package/src/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.ts +11 -0
- package/src/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.ts +23 -0
- package/src/hooks/Others/Vacation/others/postVacationPlanQuery.hook.ts +20 -0
- package/src/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.ts +25 -0
- package/src/hooks/Others/changePasswordQuery.hook.ts +21 -0
- package/src/hooks/Others/editAllBellNotificationsStatusQuery.hook.ts +19 -0
- package/src/hooks/Others/editBellNotificationsStatusQuery.hook.ts +22 -0
- package/src/hooks/Others/editFieldsByBulkQuery.hook.ts +15 -0
- package/src/hooks/Others/getBellNotificationsQuery.hook.ts +28 -0
- package/src/hooks/Others/getNotificationTitleQuery.hook.ts +19 -0
- package/src/hooks/Others/getRegulationQuery.hook.ts +14 -0
- package/src/hooks/Others/getUserEmailStatusQuery.hook.ts +21 -0
- package/src/hooks/Others/getWeeklyWorkloadQuery.hook.ts +23 -0
- package/src/hooks/Others/oneSignalUserQuery.hook.ts +14 -0
- package/src/hooks/Others/postCheckoutsMutateQuery.hook.ts +15 -0
- package/src/hooks/Others/postUserAuthenticationQuery.hook.ts +19 -0
- package/src/hooks/Others/postVerifyImageQuery.hook.ts +15 -0
- package/src/hooks/Others/unblockUserQuery.hook.ts +14 -0
- package/src/hooks/Others/useApplicationDataQuery.hook.ts +10 -0
- package/src/hooks/Others/useContractStatesQuery.hook.ts +15 -0
- package/src/hooks/Others/useCountriesQuery.hook.ts +15 -0
- package/src/hooks/Others/useCreateNotification.hook.ts +24 -0
- package/src/hooks/Others/useCustomersQuery.hook.ts +40 -0
- package/src/hooks/Others/useJobTitlesQuery.hook.ts +17 -0
- package/src/hooks/Others/useRegulationQuery.hook.ts +24 -0
- package/src/hooks/Others/useTermNotificationQuery.hook.ts +11 -0
- package/src/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.ts +13 -0
- package/src/hooks/Questionnaire/get/useQuestionnaireQuery.hook.ts +29 -0
- package/src/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.ts +17 -0
- package/src/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Roles/get/useAllRolesQuery.hook.ts +30 -0
- package/src/hooks/Store/getLocationsByUser.hook.ts +37 -0
- package/src/hooks/Store/useAllStoreQuery.hook.ts +37 -0
- package/src/hooks/Store/useStoreByCodeQuery.hook.ts +21 -0
- package/src/hooks/Store/useStoreQuery.ts +13 -0
- package/src/hooks/Users/get/getUserAndSupervisorQuery.hook.ts +21 -0
- package/src/hooks/Users/get/getUsersReadmissionQuery.hook.ts +27 -0
- package/src/hooks/Users/get/useApplicationQuery.hook.ts +29 -0
- package/src/hooks/Users/get/useExpUsersAnswersQuery.hook.ts +25 -0
- package/src/hooks/Users/get/usePermissionByIdQuery.hook.ts +15 -0
- package/src/hooks/Users/get/usePermissionsQuery.hook.ts +29 -0
- package/src/hooks/Users/get/useSingleUserIdQuery.hook.ts +15 -0
- package/src/hooks/Users/get/useUserIdQuery.hook.ts +14 -0
- package/src/hooks/Users/get/useUserListQuery.hook.ts +27 -0
- package/src/hooks/Users/get/useUserQuery.hook.ts +31 -0
- package/src/hooks/Users/mutate/deletePermissionMutateQuery.hook.ts +15 -0
- package/src/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.ts +18 -0
- package/src/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.ts +17 -0
- package/src/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.ts +27 -0
- package/src/hooks/Users/others/useSingleUserResetPassword.hook.ts +18 -0
- package/src/hooks/Users/others/useUserBlockQuery.hook.ts +15 -0
- package/src/hooks/Users/others/useUserEmailVerifQuery.hook.ts +15 -0
- package/src/hooks/Users/others/useUserResetPassByEmail.hook.ts +14 -0
- package/src/hooks/Watson/get/getCloseSession.hook.ts +15 -0
- package/src/hooks/Watson/mutate/mutateCloseSession.hook.ts +18 -0
- package/src/hooks/Watson/mutate/mutateNotificationRequest.hook.ts +18 -0
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.ts +15 -0
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.ts +28 -0
- package/src/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.ts +18 -0
- package/src/hooks/index.ts +505 -0
- package/src/index.ts +12 -0
- package/src/interfaces/ACB.ts +21 -0
- package/src/interfaces/ASAECustomer.ts +28 -0
- package/src/interfaces/Acls.ts +84 -0
- package/src/interfaces/Actions.ts +20 -0
- package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -0
- package/src/interfaces/AnalyticsUserId.ts +14 -0
- package/src/interfaces/Anot.ts +79 -0
- package/src/interfaces/Answer.ts +14 -0
- package/src/interfaces/AnswerType.ts +22 -0
- package/src/interfaces/AnswersUserSupervisor.ts +45 -0
- package/src/interfaces/ApplicationsByCategory.ts +19 -0
- package/src/interfaces/AstaQuestions.ts +10 -0
- package/src/interfaces/AstsStock.ts +17 -0
- package/src/interfaces/AstsStockInfo.ts +14 -0
- package/src/interfaces/AsttReconciliationDocuments.ts +32 -0
- package/src/interfaces/AsvProductsByReference.ts +14 -0
- package/src/interfaces/AsvProductsByStore.ts +13 -0
- package/src/interfaces/AsvProductsStockDetails.ts +20 -0
- package/src/interfaces/Atim.ts +123 -0
- package/src/interfaces/AtimScheduling.ts +64 -0
- package/src/interfaces/AttendanceIssues.ts +20 -0
- package/src/interfaces/Auth0Config.ts +6 -0
- package/src/interfaces/BellNotification.ts +17 -0
- package/src/interfaces/Brand.ts +5 -0
- package/src/interfaces/Bulk.ts +11 -0
- package/src/interfaces/Bwg.ts +25 -0
- package/src/interfaces/Cart.ts +14 -0
- package/src/interfaces/Checkout.ts +15 -0
- package/src/interfaces/Configuration.ts +8 -0
- package/src/interfaces/ContractStates.ts +7 -0
- package/src/interfaces/Countries.ts +10 -0
- package/src/interfaces/CreateNotification.ts +18 -0
- package/src/interfaces/Customer.ts +23 -0
- package/src/interfaces/CustomerHistory.ts +11 -0
- package/src/interfaces/CustomerVoucher.ts +12 -0
- package/src/interfaces/Employee.ts +18 -0
- package/src/interfaces/EvaluationCycle.ts +34 -0
- package/src/interfaces/ExpUsersAnswers.ts +16 -0
- package/src/interfaces/FlowExecution.ts +33 -0
- package/src/interfaces/FlowList.ts +32 -0
- package/src/interfaces/GetMonths.ts +8 -0
- package/src/interfaces/Inspection.ts +22 -0
- package/src/interfaces/Instances.ts +25 -0
- package/src/interfaces/JobTitles.ts +7 -0
- package/src/interfaces/MIMO.ts +19 -0
- package/src/interfaces/MacroInstance.ts +11 -0
- package/src/interfaces/Macros.ts +19 -0
- package/src/interfaces/MonitoringComponent.ts +6 -0
- package/src/interfaces/NotificationTitle.ts +8 -0
- package/src/interfaces/OSUA.ts +364 -0
- package/src/interfaces/Permissions.ts +16 -0
- package/src/interfaces/PriceChange.ts +7 -0
- package/src/interfaces/Product.ts +17 -0
- package/src/interfaces/ProductsHierarchies.ts +6 -0
- package/src/interfaces/ProductsPickedTransfers.ts +13 -0
- package/src/interfaces/Questionnaire.ts +39 -0
- package/src/interfaces/ReasonCodes.ts +9 -0
- package/src/interfaces/ReportBuilder.ts +5 -0
- package/src/interfaces/ResponseList.ts +7 -0
- package/src/interfaces/Responses.ts +50 -0
- package/src/interfaces/Rfid.ts +10 -0
- package/src/interfaces/Roles.ts +5 -0
- package/src/interfaces/Store.ts +35 -0
- package/src/interfaces/TagsFlow.ts +5 -0
- package/src/interfaces/Template.ts +33 -0
- package/src/interfaces/TermNotification.ts +6 -0
- package/src/interfaces/TimeKeeping.ts +7 -0
- package/src/interfaces/TransferAllProducts.ts +39 -0
- package/src/interfaces/TransferDocumentState.ts +5 -0
- package/src/interfaces/TransferDocuments.ts +62 -0
- package/src/interfaces/TransferPackage.ts +19 -0
- package/src/interfaces/TransferPickProducts.ts +34 -0
- package/src/interfaces/TransferReportDiff.ts +9 -0
- package/src/interfaces/TransferStates.ts +8 -0
- package/src/interfaces/User.ts +75 -0
- package/src/interfaces/UserAuthentication.ts +7 -0
- package/src/interfaces/UserEmailStatus.ts +14 -0
- package/src/interfaces/VacationPlan.ts +13 -0
- package/src/interfaces/VerifyImage.ts +49 -0
- package/src/interfaces/VerifyUser.ts +5 -0
- package/src/interfaces/Watson.ts +76 -0
- package/src/interfaces/Workload.ts +8 -0
- package/src/interfaces/index.ts +81 -0
- package/src/services/ApiService/index.ts +185 -0
- package/src/services/InitService/index.ts +7 -0
- package/src/services/index.ts +3 -0
- package/src/types/Global.d.ts +4 -0
- package/tsconfig.json +27 -0
- package/webpack.config.js +60 -0
- package/dist/components/SharedContextProvider/index.d.ts +0 -8
- package/dist/components/index.d.ts +0 -1
- package/dist/constants/QueryClient.d.ts +0 -3
- package/dist/constants/index.d.ts +0 -1
- package/dist/contexts/useStore.d.ts +0 -9
- package/dist/helpers/codeMutation.d.ts +0 -4
- package/dist/helpers/date-unix.helper.d.ts +0 -6
- package/dist/helpers/getChildrenByType.helper.d.ts +0 -3
- package/dist/hooks/ACB/get/getClientBalance.hook.d.ts +0 -8
- package/dist/hooks/ACB/mutate/postClientBalance.hook.d.ts +0 -3
- package/dist/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +0 -11
- package/dist/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +0 -11
- package/dist/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +0 -13
- package/dist/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +0 -14
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +0 -14
- package/dist/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +0 -9
- package/dist/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +0 -10
- package/dist/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +0 -10
- package/dist/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +0 -3
- package/dist/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +0 -14
- package/dist/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +0 -3
- package/dist/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +0 -11
- package/dist/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +0 -3
- package/dist/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +0 -10
- package/dist/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +0 -3
- package/dist/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +0 -7
- package/dist/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +0 -3
- package/dist/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +0 -13
- package/dist/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/get/getFlowListQuery.hook.d.ts +0 -14
- package/dist/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +0 -3
- package/dist/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +0 -14
- package/dist/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +0 -8
- package/dist/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +0 -10
- package/dist/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +0 -8
- package/dist/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +0 -14
- package/dist/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +0 -15
- package/dist/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +0 -5
- package/dist/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +0 -5
- package/dist/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +0 -18
- package/dist/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +0 -7
- package/dist/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Anot/get/getNotificationsQuery.hook.d.ts +0 -14
- package/dist/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +0 -13
- package/dist/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +0 -8
- package/dist/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +0 -10
- package/dist/hooks/Answer/others/openAnswerQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +0 -9
- package/dist/hooks/Answer/others/showAnswerQuery.hook.d.ts +0 -3
- package/dist/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +0 -8
- package/dist/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +0 -12
- package/dist/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +0 -8
- package/dist/hooks/AprProduct/get/useProductsQuery.hook.d.ts +0 -145
- package/dist/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +0 -6
- package/dist/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +0 -7
- package/dist/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +0 -3
- package/dist/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +0 -11
- package/dist/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +0 -10
- package/dist/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +0 -13
- package/dist/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +0 -8
- package/dist/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +0 -3
- package/dist/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +0 -9
- package/dist/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +0 -12
- package/dist/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +0 -8
- package/dist/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asts/get/getProductInfoQuery.hook.d.ts +0 -16
- package/dist/hooks/Asts/get/getStockQuery.hook.d.ts +0 -8
- package/dist/hooks/Asts/others/postAudioFileQuery.hook.d.ts +0 -1
- package/dist/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +0 -13
- package/dist/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +0 -9
- package/dist/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +0 -6
- package/dist/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/get/getProductsListingQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getRfidQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/get/getTransferReportDiff.hook.d.ts +0 -13
- package/dist/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +0 -15
- package/dist/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +0 -1
- package/dist/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +0 -9
- package/dist/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +0 -9
- package/dist/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +0 -12
- package/dist/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +0 -8
- package/dist/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +0 -13
- package/dist/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +0 -13
- package/dist/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/importABWGQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/importRegulationQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +0 -12
- package/dist/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +0 -7
- package/dist/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +0 -10
- package/dist/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +0 -8
- package/dist/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +0 -1
- package/dist/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +0 -5
- package/dist/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +0 -7
- package/dist/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +0 -9
- package/dist/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +0 -11
- package/dist/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +0 -12
- package/dist/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/queue/getQueues.hook.d.ts +0 -3
- package/dist/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +0 -13
- package/dist/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +0 -14
- package/dist/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +0 -8
- package/dist/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +0 -9
- package/dist/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +0 -11
- package/dist/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +0 -11
- package/dist/hooks/OSUA/mutate/postEventsRep.hook.d.ts +0 -1
- package/dist/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +0 -7
- package/dist/hooks/OSUA/mutate/postVoucher.hook.d.ts +0 -3
- package/dist/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +0 -7
- package/dist/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +0 -3
- package/dist/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +0 -3
- package/dist/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Orch/get/getInstancesQuery.hook.d.ts +0 -13
- package/dist/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +0 -9
- package/dist/hooks/Orch/get/getMacrosQuery.hook.d.ts +0 -13
- package/dist/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +0 -4
- package/dist/hooks/Orch/get/getMonitoringComponents.hook.d.ts +0 -14
- package/dist/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +0 -1
- package/dist/hooks/Orch/others/runMacrosQuery.hook.d.ts +0 -7
- package/dist/hooks/Orch/others/stopInstanceQuery.hook.d.ts +0 -1
- package/dist/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +0 -9
- package/dist/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/changePasswordQuery.hook.d.ts +0 -5
- package/dist/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/editFieldsByBulkQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/getBellNotificationsQuery.hook.d.ts +0 -14
- package/dist/hooks/Others/getNotificationTitleQuery.hook.d.ts +0 -9
- package/dist/hooks/Others/getRegulationQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/getUserEmailStatusQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +0 -11
- package/dist/hooks/Others/oneSignalUserQuery.hook.d.ts +0 -1
- package/dist/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/postUserAuthenticationQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/postVerifyImageQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/unblockUserQuery.hook.d.ts +0 -1
- package/dist/hooks/Others/useApplicationDataQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/useContractStatesQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/useCountriesQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/useCreateNotification.hook.d.ts +0 -8
- package/dist/hooks/Others/useCustomersQuery.hook.d.ts +0 -143
- package/dist/hooks/Others/useJobTitlesQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/useRegulationQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/useTermNotificationQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +0 -12
- package/dist/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Roles/get/useAllRolesQuery.hook.d.ts +0 -13
- package/dist/hooks/Store/getLocationsByUser.hook.d.ts +0 -14
- package/dist/hooks/Store/useAllStoreQuery.hook.d.ts +0 -14
- package/dist/hooks/Store/useStoreByCodeQuery.hook.d.ts +0 -9
- package/dist/hooks/Store/useStoreQuery.d.ts +0 -8
- package/dist/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +0 -8
- package/dist/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useApplicationQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +0 -10
- package/dist/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Users/get/usePermissionsQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Users/get/useUserIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/get/useUserListQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useUserQuery.hook.d.ts +0 -13
- package/dist/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +0 -9
- package/dist/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +0 -7
- package/dist/hooks/Users/others/useUserBlockQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +0 -3
- package/dist/hooks/Watson/get/getCloseSession.hook.d.ts +0 -4
- package/dist/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +0 -3
- package/dist/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +0 -3
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +0 -9
- package/dist/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +0 -3
- package/dist/hooks/index.d.ts +0 -434
- package/dist/index.d.ts +0 -7
- package/dist/interfaces/Answer.d.ts +0 -14
- package/dist/interfaces/Cart.d.ts +0 -12
- package/dist/interfaces/Employee.d.ts +0 -15
- package/dist/interfaces/Inspection.d.ts +0 -22
- package/dist/interfaces/OSUA.d.ts +0 -324
- package/dist/interfaces/Responses.d.ts +0 -30
- package/dist/interfaces/Template.d.ts +0 -31
- package/dist/interfaces/User.d.ts +0 -72
- package/dist/services/ApiService/index.d.ts +0 -14
- package/dist/services/InitService/index.d.ts +0 -4
- package/dist/shared-resources.es.js +0 -4780
- package/dist/shared-resources.umd.js +0 -2
- /package/dist/{enums → types/enums}/attendence-type.enum.d.ts +0 -0
- /package/dist/{enums → types/enums}/employees-order.enum.d.ts +0 -0
- /package/dist/{enums → types/enums}/index.d.ts +0 -0
- /package/dist/{helpers → types/helpers}/formatted-date.helper.d.ts +0 -0
- /package/dist/{helpers → types/helpers}/index.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ACB.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ASAECustomer.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Acls.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Actions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnalyticsEvaluationCycle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnalyticsUserId.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Anot.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnswerType.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnswersUserSupervisor.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ApplicationsByCategory.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstaQuestions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstsStock.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstsStockInfo.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsttReconciliationDocuments.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsByReference.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsByStore.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsStockDetails.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Atim.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AtimScheduling.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AttendanceIssues.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Auth0Config.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/BellNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Brand.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Bulk.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Bwg.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Checkout.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Configuration.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ContractStates.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Countries.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CreateNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Customer.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CustomerHistory.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CustomerVoucher.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/EvaluationCycle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ExpUsersAnswers.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/FlowExecution.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/FlowList.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/GetMonths.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Instances.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/JobTitles.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MIMO.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MacroInstance.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Macros.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MonitoringComponent.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/NotificationTitle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Permissions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/PriceChange.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Product.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ProductsHierarchies.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ProductsPickedTransfers.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Questionnaire.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ReasonCodes.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ReportBuilder.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ResponseList.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Rfid.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Roles.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Store.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TagsFlow.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TermNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TimeKeeping.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferAllProducts.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferDocumentState.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferDocuments.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferPackage.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferPickProducts.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferReportDiff.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferStates.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/UserAuthentication.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/UserEmailStatus.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VacationPlan.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VerifyImage.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VerifyUser.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Watson.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Workload.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/index.d.ts +0 -0
- /package/dist/{services → types/services}/index.d.ts +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { putAuth0 } from '../../../services/ApiService';
|
|
3
|
+
|
|
4
|
+
export const stopInstanceQuery = (instanceId: string) => {
|
|
5
|
+
const queryClient = useQueryClient();
|
|
6
|
+
return useMutation<any, unknown, any>(() => {
|
|
7
|
+
return putAuth0(`/ORQ/Instances/Stop?`, {
|
|
8
|
+
pId: instanceId,
|
|
9
|
+
})
|
|
10
|
+
}, {
|
|
11
|
+
onSuccess: (data) => {
|
|
12
|
+
queryClient.setQueryData(
|
|
13
|
+
['STOP_INSTANCE_QUERY'], data);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { TransferPickProducts } from '../../../interfaces/TransferPickProducts';
|
|
3
|
+
import { postAuth0 } from '../../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export interface UpdateMacroStatusProps {
|
|
6
|
+
macroId: string;
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const updateMacroStatusQueryHook = ({ macroId, status }: UpdateMacroStatusProps) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<TransferPickProducts, unknown>(() => {
|
|
13
|
+
return postAuth0(`/ORQ/Macros/UpdateStatus?`, {
|
|
14
|
+
pMacroId: macroId,
|
|
15
|
+
pStatus: status
|
|
16
|
+
});
|
|
17
|
+
}, {
|
|
18
|
+
onSuccess: (data) => {
|
|
19
|
+
queryClient.setQueryData(
|
|
20
|
+
['UPDATE_STATUS_QUERY'], data);
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { VacationPlan, ResponseList } from "../../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface VacationPlanProps extends Omit<UseQueryOptions<ResponseList<"VacationPlans", VacationPlan>>, "queryKey"> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
userId: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const getVacationPlanQueryHook = ({ page, records, userId, ...options }: VacationPlanProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['VACATION_PLAN_QUERY', page, records, userId, options],
|
|
14
|
+
() => getAuth0<ResponseList<"VacationPlans", VacationPlan>>(`/AACP/UserVacationPlans/${userId}`, {
|
|
15
|
+
pPage: page || 1,
|
|
16
|
+
pRecords: records || 50
|
|
17
|
+
}),
|
|
18
|
+
options
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { VacationPlan } from "../../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const getVacationTemplateQueryHook = ({ ...options }: UseQueryOptions) => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['VACATION_TEMPLATE_QUERY', options],
|
|
8
|
+
() => getAuth0<VacationPlan>(`/AACP/UserVacationPlans/Template`),
|
|
9
|
+
options
|
|
10
|
+
);
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useMutation, useQueryClient, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { VacationPlan } from "../../../../interfaces";
|
|
3
|
+
import { putAuth0 } from "../../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface ApproveVacationPlanProps extends UseQueryOptions<VacationPlan> {
|
|
6
|
+
userId: string;
|
|
7
|
+
vacationPlan: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const approveVacationPlanQueryHook = ({ vacationPlan, userId }: ApproveVacationPlanProps) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<VacationPlan, unknown, VacationPlan>((data: VacationPlan) => {
|
|
13
|
+
return putAuth0(`/AACP/UserVacationPlans/${vacationPlan}/Approve?`, {
|
|
14
|
+
pUserId: userId
|
|
15
|
+
}, data);
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: (data: VacationPlan) => {
|
|
18
|
+
queryClient.setQueryData(
|
|
19
|
+
['APROVE_VACATION_PLAN_QUERY'], data);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { VacationPlan } from "../../../../interfaces";
|
|
3
|
+
import { postAuth0 } from "../../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export interface PostVacationPlanProps extends UseQueryOptions<VacationPlan> {
|
|
6
|
+
userId: string;
|
|
7
|
+
bodyType?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const postVacationPlanQueryHook = ({ userId, bodyType }: PostVacationPlanProps) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<VacationPlan, unknown, VacationPlan>((data: VacationPlan | any) => {
|
|
13
|
+
return postAuth0(`/AACP/UserVacationPlans/${userId}`, undefined, data, bodyType);
|
|
14
|
+
}, {
|
|
15
|
+
onSuccess: (data: VacationPlan) => {
|
|
16
|
+
queryClient.setQueryData(
|
|
17
|
+
['POST_VACATION_PLAN_QUERY'], data);
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { useMutation, useQueryClient, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { VacationPlan } from "../../../../interfaces";
|
|
3
|
+
import { putAuth0 } from "../../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface RejectVacationPlanProps extends UseQueryOptions<VacationPlan> {
|
|
6
|
+
userId: string;
|
|
7
|
+
vacationPlan: string;
|
|
8
|
+
notes: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const rejectVacationPlanQueryHook = ({ vacationPlan, userId, notes }: RejectVacationPlanProps) => {
|
|
12
|
+
const queryClient = useQueryClient();
|
|
13
|
+
return useMutation<VacationPlan, unknown, VacationPlan>((data: VacationPlan) => {
|
|
14
|
+
return putAuth0(`/AACP/UserVacationPlans/${vacationPlan}/Reject?`, {
|
|
15
|
+
pUserId: userId,
|
|
16
|
+
pNotes: notes
|
|
17
|
+
}, data);
|
|
18
|
+
}, {
|
|
19
|
+
onSuccess: (data: VacationPlan) => {
|
|
20
|
+
queryClient.setQueryData(
|
|
21
|
+
['REJECT_VACATION_PLAN_QUERY'], data);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { putAuth0 } from "../../services/ApiService";
|
|
3
|
+
|
|
4
|
+
export interface ChangePasswordProps {
|
|
5
|
+
userId: string;
|
|
6
|
+
password: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const changePasswordQueryHook = ({ userId, password }: ChangePasswordProps) => {
|
|
10
|
+
const queryClient = useQueryClient();
|
|
11
|
+
return useMutation<boolean, unknown>(() => {
|
|
12
|
+
return putAuth0(`/AACP/Users/${userId}/changePassword?`, {
|
|
13
|
+
pPassword: password
|
|
14
|
+
});
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: (data) => {
|
|
17
|
+
queryClient.setQueryData(
|
|
18
|
+
['CHANGE_PASSWORD_QUERY'], data);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { BellNotification } from '../../interfaces';
|
|
3
|
+
import { putAuth0 } from '../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export interface editAllBellNotificationStatusProps extends UseQueryOptions<BellNotification> {
|
|
6
|
+
userId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const editAllBellNotificationStatusQueryHook = ({ userId }: editAllBellNotificationStatusProps) => {
|
|
10
|
+
const queryClient = useQueryClient();
|
|
11
|
+
return useMutation<BellNotification, unknown, BellNotification>((data: BellNotification) => {
|
|
12
|
+
return putAuth0(`/ANOT/Notifications/${userId}/ReadAll`, undefined, data);
|
|
13
|
+
}, {
|
|
14
|
+
onSuccess: (data: BellNotification) => {
|
|
15
|
+
queryClient.setQueryData(
|
|
16
|
+
['BELL_NOTIFICATION_QUERY'], data);
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { BellNotification } from '../../interfaces';
|
|
3
|
+
import { putAuth0 } from '../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export interface editBellNotificationStatusProps extends UseQueryOptions<BellNotification> {
|
|
6
|
+
userId: string;
|
|
7
|
+
notificationId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const editBellNotificationStatusQueryHook = ({ userId, notificationId }: editBellNotificationStatusProps) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<BellNotification, unknown, BellNotification>((data: BellNotification) => {
|
|
13
|
+
return putAuth0(`/ANOT/Notifications/${notificationId}?`, {
|
|
14
|
+
pUserId: userId
|
|
15
|
+
}, data);
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: (data: BellNotification) => {
|
|
18
|
+
queryClient.setQueryData(
|
|
19
|
+
['BELL_NOTIFICATION_QUERY'], data);
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { Bulk } from '../../interfaces';
|
|
3
|
+
import { putAuth0 } from '../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export const editFieldsByBulkQueryHook = () => {
|
|
6
|
+
const queryClient = useQueryClient();
|
|
7
|
+
return useMutation<Bulk, unknown, Bulk>((data: Bulk) => {
|
|
8
|
+
return putAuth0(`/AACP/Users/BulkUpdate?`, undefined, data);
|
|
9
|
+
}, {
|
|
10
|
+
onSuccess: (data: Bulk) => {
|
|
11
|
+
queryClient.setQueryData(
|
|
12
|
+
['BULK_QUERY'], data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { BellNotification, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface BellNotificationProps extends Omit<UseQueryOptions<ResponseList<"Notifications", BellNotification>>, "queryKey"> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
sortDirection?: string;
|
|
10
|
+
query?: string;
|
|
11
|
+
language?: string;
|
|
12
|
+
userId: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const getBellNotificationQueryHook = ({ page, records, sortBy, sortDirection, query, language, userId, ...options }: BellNotificationProps) => {
|
|
16
|
+
return useQuery(
|
|
17
|
+
['BELL_NOTIFICATION_QUERY', page, records, sortBy, sortDirection, query, language, userId, options],
|
|
18
|
+
() => getAuth0<ResponseList<"Notifications", BellNotification>>(`/ANOT/Notifications/${userId}`, {
|
|
19
|
+
pPage: page || 1,
|
|
20
|
+
pRecords: records || 50,
|
|
21
|
+
pSortBy: sortBy || "Name",
|
|
22
|
+
pSortDirection: sortDirection || "asc",
|
|
23
|
+
pQuery: query || "",
|
|
24
|
+
pLanguage: language || "PT"
|
|
25
|
+
}),
|
|
26
|
+
options
|
|
27
|
+
);
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { NotificationTitle, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface NotificationTitleQueryHookQueryProps extends Omit<UseQueryOptions<ResponseList<"NotificationTypes", NotificationTitle>>, "queryKey"> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const getNotificationTitleQueryHook = ({ page, records, ...options }: NotificationTitleQueryHookQueryProps) => {
|
|
11
|
+
return useQuery(
|
|
12
|
+
['NOTIFICATION_TITLE_QUERY', page, records],
|
|
13
|
+
() => getAuth0<ResponseList<"NotificationTypes", NotificationTitle>>('/APE/NotificationType', {
|
|
14
|
+
pPage: page || 1,
|
|
15
|
+
pRecords: records || 999999
|
|
16
|
+
}),
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getAuth0 } from '../..';
|
|
2
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
3
|
+
|
|
4
|
+
interface GetRegulationQueryProps {
|
|
5
|
+
TermsAndConditionsURL: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const getRegulationQueryHook = ({...options} : UseQueryOptions) => {
|
|
9
|
+
return useQuery(
|
|
10
|
+
['REGULATION_QUERY'],
|
|
11
|
+
() => getAuth0<GetRegulationQueryProps>(`/AACP/Users/termsAndConditions`),
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { UserEmailStatus, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface UserEmailStatusQueryProps extends Omit<UseQueryOptions<ResponseList<"UserStatus", UserEmailStatus>>, "queryKey"> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
tags?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const getUserEmailStatusQuery = ({ page, records, tags, ...options }: UserEmailStatusQueryProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['USER_EMAIL_STATUS', page, records, tags],
|
|
14
|
+
() => getAuth0<ResponseList<"UserStatus", UserEmailStatus>>('/APE/Validation', {
|
|
15
|
+
pPage: page || 1,
|
|
16
|
+
pRecords: records || 50,
|
|
17
|
+
pTerms: tags
|
|
18
|
+
}),
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Workload, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface WeeklyWorkloadQueryHookQueryProps extends Omit<UseQueryOptions<ResponseList<"WeeklyWorkHours", Workload>>, "queryKey"> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
sortDirection?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const getWeeklyWorkloadQueryHook = ({ page, records, sortBy, sortDirection, ...options }: WeeklyWorkloadQueryHookQueryProps) => {
|
|
13
|
+
return useQuery(
|
|
14
|
+
['WORKLOAD_QUERY', page, records, sortBy, sortDirection],
|
|
15
|
+
() => getAuth0<ResponseList<"WeeklyWorkHours", Workload>>('/AACP/WeeklyWorkHours', {
|
|
16
|
+
pPage: page || 1,
|
|
17
|
+
pRecords: records || 195,
|
|
18
|
+
pSortBy: 'WorkHours',
|
|
19
|
+
pSortDirection: sortDirection || 'asc',
|
|
20
|
+
}),
|
|
21
|
+
options
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { postAuth0 } from '../../services/ApiService';
|
|
3
|
+
|
|
4
|
+
export const oneSignalUserQuery = () => {
|
|
5
|
+
const queryClient = useQueryClient();
|
|
6
|
+
return useMutation<any, unknown, any>((data: any) => {
|
|
7
|
+
return postAuth0('/ANOT/Users/Register', undefined, data);
|
|
8
|
+
}, {
|
|
9
|
+
onSuccess: (data: any) => {
|
|
10
|
+
queryClient.setQueryData(
|
|
11
|
+
['ONESIGNAL_USER_QUERY'], data);
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { Checkout } from '../../interfaces';
|
|
3
|
+
import { post } from '../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export const postCheckoutsMutateQueryHook = () => {
|
|
6
|
+
const queryClient = useQueryClient();
|
|
7
|
+
return useMutation<Checkout, unknown, Checkout>((data: Checkout) => {
|
|
8
|
+
return post('/APRE/Checkouts', data);
|
|
9
|
+
}, {
|
|
10
|
+
onSuccess: (data: Checkout) => {
|
|
11
|
+
queryClient.setQueryData(
|
|
12
|
+
['CHECKOUT'], data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { postWithParameters, UserAuthentication } from '../..';
|
|
2
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
3
|
+
|
|
4
|
+
export interface UserAuthenticationQueryProps extends UseQueryOptions<UserAuthentication> {
|
|
5
|
+
storeCode: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const postUserAuthenticationHook = ({ storeCode }: UserAuthenticationQueryProps) => {
|
|
9
|
+
const queryClient = useQueryClient();
|
|
10
|
+
return useMutation<UserAuthenticationQueryProps, unknown, UserAuthentication>(() => {
|
|
11
|
+
return postWithParameters(`/AACP/Authentication/User/Login?`, {
|
|
12
|
+
pStoreId: storeCode
|
|
13
|
+
});
|
|
14
|
+
}, {
|
|
15
|
+
onSuccess: (data: UserAuthenticationQueryProps) => {
|
|
16
|
+
queryClient.setQueryData(['POST_USER_AUTHENTICATION_QUERY'], data);
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { VerifyImage } from '../../interfaces';
|
|
3
|
+
import { postAuth0 } from '../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export const postVerifyImageQueryHook = (bodyType?: string) => {
|
|
6
|
+
const queryClient = useQueryClient();
|
|
7
|
+
return useMutation<VerifyImage, unknown, VerifyImage>((data: VerifyImage | any) => {
|
|
8
|
+
return postAuth0('/AACP/FaceAuthentication/verify', undefined, data, bodyType);
|
|
9
|
+
}, {
|
|
10
|
+
onSuccess: (data: VerifyImage) => {
|
|
11
|
+
queryClient.setQueryData(
|
|
12
|
+
['VERIFY_IMAGE'], data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { postAuth0 } from "../../services/ApiService";
|
|
3
|
+
|
|
4
|
+
export const unblockUserQueryHook = (userId: string) => {
|
|
5
|
+
const queryClient = useQueryClient();
|
|
6
|
+
return useMutation<boolean, unknown>(() => {
|
|
7
|
+
return postAuth0(`/AACP/Users/${userId}/unblock`, undefined);
|
|
8
|
+
}, {
|
|
9
|
+
onSuccess: (data) => {
|
|
10
|
+
queryClient.setQueryData(
|
|
11
|
+
['UNBLOCK_USER_QUERY'], data);
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useQuery } from "@tanstack/react-query";
|
|
2
|
+
import { ApplicationsByCategory, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const useApplicationDataQueryHook = () => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['APPLICATIONS_QUERY'],
|
|
8
|
+
() => getAuth0<ResponseList<"Categories", ApplicationsByCategory>>('/AACP/Applications/groupByCategory')
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { ContractStates, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface ContractStatesQueryProps extends Omit<UseQueryOptions<ResponseList<"ContractStates", ContractStates>>, "queryKey"> {
|
|
6
|
+
records: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const useContractStatesQuery = ({ records, ...options }: ContractStatesQueryProps) => {
|
|
10
|
+
return useQuery(
|
|
11
|
+
['CONTRACTSTATES_QUERY', records],
|
|
12
|
+
() => getAuth0<ResponseList<"ContractStates", ContractStates>>(`/AACP/ContractStates`, { pPage: 1, pRecords: records || 195 }),
|
|
13
|
+
options
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Countries, ResponseList } from "../../interfaces";
|
|
3
|
+
import { get } from "../../services";
|
|
4
|
+
|
|
5
|
+
interface CountriesQueryProps extends Omit<UseQueryOptions<ResponseList<"Countries", Countries>>, "queryKey"> {
|
|
6
|
+
records: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const useCountriesQuery = ({ records, ...options }: CountriesQueryProps) => {
|
|
10
|
+
return useQuery(
|
|
11
|
+
['COUNTRIES_QUERY', records],
|
|
12
|
+
() => get<ResponseList<"Countries", Countries>>(`/Franchise/Countries`, { pPage: 1, pRecords: records || 195 }),
|
|
13
|
+
options
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { CreateNotification } from "../../interfaces";
|
|
3
|
+
import { postAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export interface CreateNotificationInterf extends UseQueryOptions<CreateNotification> {
|
|
6
|
+
evaluationCycleId?: string;
|
|
7
|
+
userId?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const useCreateNotificationHook = ({ evaluationCycleId, userId }: CreateNotificationInterf) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<CreateNotification, unknown, CreateNotification>((data: CreateNotification) => {
|
|
13
|
+
return postAuth0(`/APE/Notification/CreateNotification?`, {
|
|
14
|
+
pEvaluationCycleId: evaluationCycleId,
|
|
15
|
+
pUserId: userId,
|
|
16
|
+
},
|
|
17
|
+
data
|
|
18
|
+
);
|
|
19
|
+
}, {
|
|
20
|
+
onSuccess: (data: CreateNotification) => {
|
|
21
|
+
queryClient.setQueryData(['CREATE_NOTIFICATION_QUERY'], data);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { get, Customer, ResponseList } from '../../';
|
|
2
|
+
import { useInfiniteQuery, useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
3
|
+
|
|
4
|
+
export interface CustomersQuery extends UseQueryOptions<ResponseList<"Customers", Customer>> {
|
|
5
|
+
page?: number;
|
|
6
|
+
records?: number;
|
|
7
|
+
email?: string;
|
|
8
|
+
code?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const useCustomersQueryHook = ({ page, records, email, code, ...options }: CustomersQuery) => {
|
|
12
|
+
return useQuery<ResponseList<"Customers", Customer>>(['Customers', page, records, email, code], () =>
|
|
13
|
+
get('/CRMCustomers', {
|
|
14
|
+
pPage: page || 1,
|
|
15
|
+
pRecords: records,
|
|
16
|
+
pEmail: email,
|
|
17
|
+
pCode: code,
|
|
18
|
+
pSource: 'Custom'
|
|
19
|
+
}), options);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const useCustomersInfiniteQueryHook = ({ email, code }: Omit<CustomersQuery, 'page' | 'records'> = {}) => {
|
|
23
|
+
const infiniteQuery = useInfiniteQuery(['Customers_Infinite', email, code], ({ pageParam = 1 }) =>
|
|
24
|
+
get<ResponseList<"Customers", Customer>>('/CRMCustomers', {
|
|
25
|
+
pPage: pageParam,
|
|
26
|
+
pRecords: 50,
|
|
27
|
+
pEmail: email,
|
|
28
|
+
pCode: code,
|
|
29
|
+
pSource: 'Custom',
|
|
30
|
+
}));
|
|
31
|
+
|
|
32
|
+
const pagesMulti = infiniteQuery.data?.pages?.map((page) => (page.Customers as Customer[]) || []) || [];
|
|
33
|
+
const allDataGrouped = ([] as Customer[]).concat(...pagesMulti);
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
...infiniteQuery,
|
|
37
|
+
count: infiniteQuery.data?.pages?.[0].Count || 0,
|
|
38
|
+
data: allDataGrouped,
|
|
39
|
+
}
|
|
40
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { JobTitles, ResponseList } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services";
|
|
4
|
+
|
|
5
|
+
interface JobTitlesQueryProps extends Omit<UseQueryOptions<ResponseList<"JobTitles", JobTitles>>, "queryKey"> {
|
|
6
|
+
records: string;
|
|
7
|
+
sortBy: string;
|
|
8
|
+
sortDirection: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const useJobTitlesQuery = ({ records, sortBy, sortDirection, ...options }: JobTitlesQueryProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['JOBTITLES_QUERY', records, sortBy, sortDirection],
|
|
14
|
+
() => getAuth0<ResponseList<"JobTitles", JobTitles>>(`/AACP/JobTitles`, { pPage: 1, pRecords: records || 195, pSortBy: sortBy || "Rank", pSortDirection: sortDirection || "asc" }),
|
|
15
|
+
options
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { putAuth0 } from '../..';
|
|
2
|
+
import { UseQueryOptions, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
3
|
+
|
|
4
|
+
interface TermsAndConditionsURLProps {
|
|
5
|
+
TermsAndConditionsURL: string;
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface RegulationQueryProps extends UseQueryOptions<TermsAndConditionsURLProps> {
|
|
10
|
+
userId: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const useRegulationQueryHook = ({ userId }: RegulationQueryProps) => {
|
|
14
|
+
const queryClient = useQueryClient();
|
|
15
|
+
return useMutation<RegulationQueryProps, unknown, string>(() => {
|
|
16
|
+
return putAuth0(`/AACP/Users/termsAndConditions?`, {
|
|
17
|
+
pUserId: userId
|
|
18
|
+
});
|
|
19
|
+
}, {
|
|
20
|
+
onSuccess: (data: RegulationQueryProps) => {
|
|
21
|
+
queryClient.setQueryData(['PUT_REGULATION_QUERY'], data);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useQuery } from "@tanstack/react-query";
|
|
2
|
+
import { TermNotification } from "../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const useTermNotificationQueryHook = () => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['TERM_NOTIFICATION_QUERY'],
|
|
8
|
+
() => getAuth0<TermNotification[]>(`/APE/TermNotification`),
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useQuery } from "@tanstack/react-query";
|
|
2
|
+
import { Questionnaire } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const useQuestionnaireIdQueryHook = (surveyId: string) => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['QUESTIONNAIRE_ID_QUERY', surveyId],
|
|
8
|
+
() => getAuth0<Questionnaire>(`/APE/Questionnaire/${surveyId}`),
|
|
9
|
+
{
|
|
10
|
+
enabled: !!(surveyId),
|
|
11
|
+
},
|
|
12
|
+
);
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Questionnaire, ResponseList } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export interface QuestionnaireQuery extends UseQueryOptions<ResponseList<"Questionnairezes", Questionnaire>> {
|
|
6
|
+
tags?: string;
|
|
7
|
+
page?: number;
|
|
8
|
+
records?: number;
|
|
9
|
+
queryField?: string;
|
|
10
|
+
sortBy?: string;
|
|
11
|
+
sortDirection?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const useQuestionnaireQueryHook = ({ tags, page, records, queryField, sortBy, sortDirection }: QuestionnaireQuery) => {
|
|
15
|
+
return useQuery(
|
|
16
|
+
['QUESTIONNAIRE_QUERY', tags, page, records, sortBy, sortDirection, queryField],
|
|
17
|
+
() => getAuth0<ResponseList<"Questionnairezes", Questionnaire>>('/APE/Questionnaire', {
|
|
18
|
+
pPage: page || 1,
|
|
19
|
+
pRecords: records || 50,
|
|
20
|
+
pSortBy: sortBy || 'Type',
|
|
21
|
+
pSortDirection: sortDirection || 'asc',
|
|
22
|
+
pTerms: tags,
|
|
23
|
+
pQuery: queryField
|
|
24
|
+
}),
|
|
25
|
+
{
|
|
26
|
+
keepPreviousData: true,
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|