@omniumretail/shared-resources 0.3.86 → 0.3.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/SharedContextProvider/index.d.ts +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/constants/QueryClient.d.ts +3 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/contexts/useStore.d.ts +9 -0
- package/dist/helpers/codeMutation.d.ts +4 -0
- package/dist/helpers/date-unix.helper.d.ts +6 -0
- package/dist/helpers/getChildrenByType.helper.d.ts +3 -0
- package/dist/hooks/ACB/get/getClientBalance.hook.d.ts +8 -0
- package/dist/hooks/ACB/mutate/postClientBalance.hook.d.ts +3 -0
- package/dist/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +11 -0
- package/dist/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +11 -0
- package/dist/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +13 -0
- package/dist/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +11 -0
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +11 -0
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +14 -0
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +12 -0
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +14 -0
- package/dist/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +12 -0
- package/dist/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +12 -0
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +3 -0
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +11 -0
- package/dist/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +9 -0
- package/dist/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +12 -0
- package/dist/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +10 -0
- package/dist/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +10 -0
- package/dist/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +3 -0
- package/dist/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +3 -0
- package/dist/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +3 -0
- package/dist/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +14 -0
- package/dist/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +3 -0
- package/dist/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +11 -0
- package/dist/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +3 -0
- package/dist/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +9 -0
- package/dist/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +9 -0
- package/dist/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +9 -0
- package/dist/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +10 -0
- package/dist/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +3 -0
- package/dist/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +8 -0
- package/dist/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +7 -0
- package/dist/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +8 -0
- package/dist/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +8 -0
- package/dist/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +8 -0
- package/dist/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +8 -0
- package/dist/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +3 -0
- package/dist/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +13 -0
- package/dist/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Aexp/get/getFlowListQuery.hook.d.ts +14 -0
- package/dist/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +4 -0
- package/dist/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +3 -0
- package/dist/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +3 -0
- package/dist/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +3 -0
- package/dist/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +3 -0
- package/dist/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +3 -0
- package/dist/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +3 -0
- package/dist/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +14 -0
- package/dist/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +8 -0
- package/dist/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +10 -0
- package/dist/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +8 -0
- package/dist/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +14 -0
- package/dist/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +15 -0
- package/dist/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +5 -0
- package/dist/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +5 -0
- package/dist/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +18 -0
- package/dist/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +7 -0
- package/dist/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Anot/get/getNotificationsQuery.hook.d.ts +14 -0
- package/dist/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +13 -0
- package/dist/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +3 -0
- package/dist/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +8 -0
- package/dist/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +10 -0
- package/dist/hooks/Answer/others/openAnswerQuery.hook.d.ts +3 -0
- package/dist/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +9 -0
- package/dist/hooks/Answer/others/showAnswerQuery.hook.d.ts +3 -0
- package/dist/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +8 -0
- package/dist/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +12 -0
- package/dist/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +8 -0
- package/dist/hooks/AprProduct/get/useProductsQuery.hook.d.ts +145 -0
- package/dist/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +6 -0
- package/dist/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +7 -0
- package/dist/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +7 -0
- package/dist/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +3 -0
- package/dist/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +12 -0
- package/dist/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +4 -0
- package/dist/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +12 -0
- package/dist/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +7 -0
- package/dist/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +4 -0
- package/dist/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +11 -0
- package/dist/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +12 -0
- package/dist/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +4 -0
- package/dist/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +4 -0
- package/dist/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +10 -0
- package/dist/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +13 -0
- package/dist/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +8 -0
- package/dist/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +8 -0
- package/dist/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +3 -0
- package/dist/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +9 -0
- package/dist/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +12 -0
- package/dist/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +8 -0
- package/dist/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +12 -0
- package/dist/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +12 -0
- package/dist/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +12 -0
- package/dist/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +12 -0
- package/dist/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +12 -0
- package/dist/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +7 -0
- package/dist/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +3 -0
- package/dist/hooks/Asts/get/getProductInfoQuery.hook.d.ts +16 -0
- package/dist/hooks/Asts/get/getStockQuery.hook.d.ts +8 -0
- package/dist/hooks/Asts/others/postAudioFileQuery.hook.d.ts +1 -0
- package/dist/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +11 -0
- package/dist/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +12 -0
- package/dist/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +12 -0
- package/dist/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +11 -0
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +12 -0
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +10 -0
- package/dist/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +13 -0
- package/dist/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +9 -0
- package/dist/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +6 -0
- package/dist/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +11 -0
- package/dist/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/get/getProductsListingQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getRfidQuery.hook.d.ts +10 -0
- package/dist/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +11 -0
- package/dist/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +4 -0
- package/dist/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +10 -0
- package/dist/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +12 -0
- package/dist/hooks/Astt/get/getTransferReportDiff.hook.d.ts +13 -0
- package/dist/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +15 -0
- package/dist/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +1 -0
- package/dist/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +3 -0
- package/dist/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +7 -0
- package/dist/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +8 -0
- package/dist/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +9 -0
- package/dist/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +9 -0
- package/dist/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +12 -0
- package/dist/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +8 -0
- package/dist/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +13 -0
- package/dist/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +13 -0
- package/dist/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +3 -0
- package/dist/hooks/BigWin/others/importABWGQuery.hook.d.ts +3 -0
- package/dist/hooks/BigWin/others/importRegulationQuery.hook.d.ts +3 -0
- package/dist/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +3 -0
- package/dist/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +12 -0
- package/dist/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +3 -0
- package/dist/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +3 -0
- package/dist/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +7 -0
- package/dist/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +10 -0
- package/dist/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +8 -0
- package/dist/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +3 -0
- package/dist/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +1 -0
- package/dist/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +5 -0
- package/dist/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +3 -0
- package/dist/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +3 -0
- package/dist/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +7 -0
- package/dist/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +10 -0
- package/dist/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +9 -0
- package/dist/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +11 -0
- package/dist/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +12 -0
- package/dist/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +10 -0
- package/dist/hooks/OSUA/get/queue/getQueues.hook.d.ts +3 -0
- package/dist/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +10 -0
- package/dist/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +10 -0
- package/dist/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +13 -0
- package/dist/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +14 -0
- package/dist/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +8 -0
- package/dist/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +9 -0
- package/dist/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +11 -0
- package/dist/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +11 -0
- package/dist/hooks/OSUA/mutate/postEventsRep.hook.d.ts +1 -0
- package/dist/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +7 -0
- package/dist/hooks/OSUA/mutate/postVoucher.hook.d.ts +3 -0
- package/dist/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +7 -0
- package/dist/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +3 -0
- package/dist/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +3 -0
- package/dist/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Orch/get/getInstancesQuery.hook.d.ts +13 -0
- package/dist/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +9 -0
- package/dist/hooks/Orch/get/getMacrosQuery.hook.d.ts +13 -0
- package/dist/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +4 -0
- package/dist/hooks/Orch/get/getMonitoringComponents.hook.d.ts +14 -0
- package/dist/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +1 -0
- package/dist/hooks/Orch/others/runMacrosQuery.hook.d.ts +7 -0
- package/dist/hooks/Orch/others/stopInstanceQuery.hook.d.ts +1 -0
- package/dist/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +7 -0
- package/dist/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +10 -0
- package/dist/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +9 -0
- package/dist/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +8 -0
- package/dist/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +10 -0
- package/dist/hooks/Others/changePasswordQuery.hook.d.ts +5 -0
- package/dist/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +7 -0
- package/dist/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +8 -0
- package/dist/hooks/Others/editFieldsByBulkQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/getBellNotificationsQuery.hook.d.ts +14 -0
- package/dist/hooks/Others/getNotificationTitleQuery.hook.d.ts +9 -0
- package/dist/hooks/Others/getRegulationQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/getTagsQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/getUserEmailStatusQuery.hook.d.ts +10 -0
- package/dist/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +11 -0
- package/dist/hooks/Others/oneSignalUserQuery.hook.d.ts +1 -0
- package/dist/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/postUserAuthenticationQuery.hook.d.ts +7 -0
- package/dist/hooks/Others/postVerifyImageQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/unblockUserQuery.hook.d.ts +1 -0
- package/dist/hooks/Others/useApplicationDataQuery.hook.d.ts +3 -0
- package/dist/hooks/Others/useContractStatesQuery.hook.d.ts +8 -0
- package/dist/hooks/Others/useCountriesQuery.hook.d.ts +8 -0
- package/dist/hooks/Others/useCreateNotification.hook.d.ts +8 -0
- package/dist/hooks/Others/useCustomersQuery.hook.d.ts +143 -0
- package/dist/hooks/Others/useJobTitlesQuery.hook.d.ts +10 -0
- package/dist/hooks/Others/useRegulationQuery.hook.d.ts +10 -0
- package/dist/hooks/Others/useTermNotificationQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +12 -0
- package/dist/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +3 -0
- package/dist/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +3 -0
- package/dist/hooks/Roles/get/useAllRolesQuery.hook.d.ts +13 -0
- package/dist/hooks/Store/getLocationsByUser.hook.d.ts +14 -0
- package/dist/hooks/Store/useAllStoreQuery.hook.d.ts +14 -0
- package/dist/hooks/Store/useStoreByCodeQuery.hook.d.ts +9 -0
- package/dist/hooks/Store/useStoreQuery.d.ts +8 -0
- package/dist/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +8 -0
- package/dist/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +12 -0
- package/dist/hooks/Users/get/useApplicationQuery.hook.d.ts +12 -0
- package/dist/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +10 -0
- package/dist/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Users/get/usePermissionsQuery.hook.d.ts +12 -0
- package/dist/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +4 -0
- package/dist/hooks/Users/get/useUserIdQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/get/useUserListQuery.hook.d.ts +12 -0
- package/dist/hooks/Users/get/useUserQuery.hook.d.ts +13 -0
- package/dist/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +9 -0
- package/dist/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +7 -0
- package/dist/hooks/Users/others/useUserBlockQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +3 -0
- package/dist/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +3 -0
- package/dist/hooks/Watson/get/getCloseSession.hook.d.ts +4 -0
- package/dist/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +3 -0
- package/dist/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +3 -0
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +4 -0
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +12 -0
- package/dist/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +12 -0
- package/dist/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +12 -0
- package/dist/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +9 -0
- package/dist/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +3 -0
- package/dist/hooks/index.d.ts +435 -0
- package/dist/index.d.ts +7 -0
- package/dist/interfaces/Answer.d.ts +14 -0
- package/dist/interfaces/Cart.d.ts +12 -0
- package/dist/interfaces/Employee.d.ts +15 -0
- package/dist/interfaces/Inspection.d.ts +22 -0
- package/dist/interfaces/Responses.d.ts +30 -0
- package/dist/interfaces/Template.d.ts +31 -0
- package/dist/interfaces/User.d.ts +72 -0
- package/dist/services/ApiService/index.d.ts +14 -0
- package/dist/services/InitService/index.d.ts +4 -0
- package/dist/shared-resources.es.js +4788 -0
- package/dist/shared-resources.umd.js +2 -0
- package/package.json +48 -36
- package/.eslintrc.json +0 -32
- package/dist/bundle.js +0 -1
- package/dist/types/components/BottomDrawer/index.d.ts +0 -9
- package/dist/types/components/Button/index.d.ts +0 -2
- package/dist/types/components/Footer/index.d.ts +0 -3
- package/dist/types/components/Form/FormInputField/index.d.ts +0 -8
- package/dist/types/components/Form/FormSelectField/index.d.ts +0 -9
- package/dist/types/components/Form/index.d.ts +0 -2
- package/dist/types/components/Header/index.d.ts +0 -4
- package/dist/types/components/Link/index.d.ts +0 -6
- package/dist/types/components/Navigation/index.d.ts +0 -8
- package/dist/types/components/Page/index.d.ts +0 -13
- package/dist/types/components/SharedContextProvider/index.d.ts +0 -7
- package/dist/types/components/index.d.ts +0 -9
- package/dist/types/constants/Icons.d.ts +0 -15
- package/dist/types/constants/QueryClient.d.ts +0 -2
- package/dist/types/constants/index.d.ts +0 -2
- package/dist/types/contexts/useStore.d.ts +0 -8
- package/dist/types/helpers/codeMutation.d.ts +0 -4
- package/dist/types/helpers/date-unix.helper.d.ts +0 -5
- package/dist/types/helpers/getChildrenByType.helper.d.ts +0 -2
- package/dist/types/hooks/ACB/get/getClientBalance.hook.d.ts +0 -7
- package/dist/types/hooks/ACB/mutate/postClientBalance.hook.d.ts +0 -2
- package/dist/types/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +0 -10
- package/dist/types/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +0 -10
- package/dist/types/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +0 -12
- package/dist/types/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +0 -10
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +0 -10
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +0 -14
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +0 -11
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +0 -13
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +0 -11
- package/dist/types/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +0 -11
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +0 -10
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +0 -8
- package/dist/types/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +0 -11
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +0 -9
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +0 -9
- package/dist/types/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +0 -13
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +0 -2
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +0 -10
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +0 -2
- package/dist/types/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Aexp/get/getFlowListQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +0 -14
- package/dist/types/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +0 -4
- package/dist/types/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +0 -4
- package/dist/types/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +0 -17
- package/dist/types/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Anot/get/getNotificationsQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Answer/others/openAnswerQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Answer/others/showAnswerQuery.hook.d.ts +0 -2
- package/dist/types/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +0 -7
- package/dist/types/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +0 -11
- package/dist/types/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +0 -7
- package/dist/types/hooks/AprProduct/get/useProductsQuery.hook.d.ts +0 -144
- package/dist/types/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +0 -5
- package/dist/types/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +0 -12
- package/dist/types/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Asts/get/getProductInfoQuery.hook.d.ts +0 -15
- package/dist/types/hooks/Asts/get/getStockQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Asts/others/postAudioFileQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +0 -12
- package/dist/types/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +0 -5
- package/dist/types/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/get/getProductsListingQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getRfidQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Astt/get/getTransferReportDiff.hook.d.ts +0 -12
- package/dist/types/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +0 -14
- package/dist/types/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +0 -8
- package/dist/types/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +0 -8
- package/dist/types/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +0 -11
- package/dist/types/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +0 -7
- package/dist/types/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +0 -12
- package/dist/types/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +0 -12
- package/dist/types/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +0 -2
- package/dist/types/hooks/BigWin/others/importABWGQuery.hook.d.ts +0 -2
- package/dist/types/hooks/BigWin/others/importRegulationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +0 -2
- package/dist/types/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +0 -11
- package/dist/types/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +0 -2
- package/dist/types/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +0 -6
- package/dist/types/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +0 -9
- package/dist/types/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +0 -7
- package/dist/types/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +0 -1
- package/dist/types/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +0 -5
- package/dist/types/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +0 -6
- package/dist/types/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +0 -9
- package/dist/types/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +0 -8
- package/dist/types/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +0 -10
- package/dist/types/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +0 -11
- package/dist/types/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +0 -9
- package/dist/types/hooks/OSUA/get/queue/getQueues.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +0 -9
- package/dist/types/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +0 -9
- package/dist/types/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +0 -12
- package/dist/types/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +0 -13
- package/dist/types/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +0 -7
- package/dist/types/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +0 -8
- package/dist/types/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +0 -10
- package/dist/types/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +0 -10
- package/dist/types/hooks/OSUA/mutate/postEventsRep.hook.d.ts +0 -1
- package/dist/types/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +0 -6
- package/dist/types/hooks/OSUA/mutate/postVoucher.hook.d.ts +0 -2
- package/dist/types/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +0 -6
- package/dist/types/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +0 -2
- package/dist/types/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Orch/get/getInstancesQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Orch/get/getMacrosQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Orch/get/getMonitoringComponents.hook.d.ts +0 -13
- package/dist/types/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Orch/others/runMacrosQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Orch/others/stopInstanceQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Others/changePasswordQuery.hook.d.ts +0 -5
- package/dist/types/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Others/editFieldsByBulkQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/getBellNotificationsQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Others/getNotificationTitleQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Others/getRegulationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/getUserEmailStatusQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +0 -10
- package/dist/types/hooks/Others/oneSignalUserQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/postUserAuthenticationQuery.hook.d.ts +0 -6
- package/dist/types/hooks/Others/postVerifyImageQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/unblockUserQuery.hook.d.ts +0 -1
- package/dist/types/hooks/Others/useApplicationDataQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Others/useContractStatesQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Others/useCountriesQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Others/useCreateNotification.hook.d.ts +0 -7
- package/dist/types/hooks/Others/useCustomersQuery.hook.d.ts +0 -142
- package/dist/types/hooks/Others/useJobTitlesQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Others/useRegulationQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Others/useTermNotificationQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Roles/get/useAllRolesQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Store/getLocationsByUser.hook.d.ts +0 -13
- package/dist/types/hooks/Store/useAllStoreQuery.hook.d.ts +0 -13
- package/dist/types/hooks/Store/useStoreByCodeQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Store/useStoreQuery.d.ts +0 -7
- package/dist/types/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +0 -7
- package/dist/types/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Users/get/useApplicationQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +0 -9
- package/dist/types/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Users/get/usePermissionsQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/Users/get/useUserIdQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/get/useUserListQuery.hook.d.ts +0 -11
- package/dist/types/hooks/Users/get/useUserQuery.hook.d.ts +0 -12
- package/dist/types/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +0 -8
- package/dist/types/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +0 -6
- package/dist/types/hooks/Users/others/useUserBlockQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +0 -2
- package/dist/types/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +0 -2
- package/dist/types/hooks/Watson/get/getCloseSession.hook.d.ts +0 -3
- package/dist/types/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +0 -2
- package/dist/types/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +0 -2
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +0 -3
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +0 -11
- package/dist/types/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +0 -11
- package/dist/types/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +0 -11
- package/dist/types/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +0 -8
- package/dist/types/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +0 -2
- package/dist/types/hooks/index.d.ts +0 -434
- package/dist/types/index.d.ts +0 -10
- package/dist/types/interfaces/Answer.d.ts +0 -13
- package/dist/types/interfaces/Cart.d.ts +0 -11
- package/dist/types/interfaces/Employee.d.ts +0 -14
- package/dist/types/interfaces/Inspection.d.ts +0 -21
- package/dist/types/interfaces/Responses.d.ts +0 -29
- package/dist/types/interfaces/Template.d.ts +0 -30
- package/dist/types/interfaces/User.d.ts +0 -71
- package/dist/types/services/ApiService/index.d.ts +0 -14
- package/dist/types/services/InitService/index.d.ts +0 -3
- package/src/a2ai.scss +0 -130
- package/src/assets/omniu-retail_branco_s-fundo.png +0 -0
- package/src/assets/sitoo.svg +0 -9
- package/src/components/BottomDrawer/index.tsx +0 -33
- package/src/components/BottomDrawer/styles.module.scss +0 -59
- package/src/components/Button/index.tsx +0 -7
- package/src/components/Footer/index.tsx +0 -44
- package/src/components/Footer/styles.module.scss +0 -33
- package/src/components/Form/FormInputField/index.tsx +0 -18
- package/src/components/Form/FormSelectField/index.tsx +0 -16
- package/src/components/Form/index.ts +0 -2
- package/src/components/Header/index.tsx +0 -20
- package/src/components/Header/styles.module.scss +0 -16
- package/src/components/Link/index.tsx +0 -21
- package/src/components/Link/styles.module.scss +0 -24
- package/src/components/Navigation/index.tsx +0 -30
- package/src/components/Navigation/styles.module.scss +0 -34
- package/src/components/Page/index.tsx +0 -35
- package/src/components/Page/styles.module.scss +0 -26
- package/src/components/SharedContextProvider/index.tsx +0 -30
- package/src/components/index.ts +0 -9
- package/src/constants/Icons.ts +0 -21
- package/src/constants/QueryClient.ts +0 -10
- package/src/constants/index.ts +0 -2
- package/src/contexts/useStore.tsx +0 -20
- package/src/enums/attendence-type.enum.ts +0 -5
- package/src/enums/employees-order.enum.ts +0 -7
- package/src/enums/index.ts +0 -2
- package/src/global.scss +0 -124
- package/src/helpers/codeMutation.tsx +0 -20
- package/src/helpers/date-unix.helper.ts +0 -29
- package/src/helpers/formatted-date.helper.ts +0 -15
- package/src/helpers/getChildrenByType.helper.ts +0 -5
- package/src/helpers/index.ts +0 -4
- package/src/hooks/ACB/get/getClientBalance.hook.ts +0 -20
- package/src/hooks/ACB/mutate/postClientBalance.hook.ts +0 -16
- package/src/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.ts +0 -24
- package/src/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.ts +0 -24
- package/src/hooks/ASAEGNG/get/getCustomersQuery.hook.ts +0 -28
- package/src/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.ts +0 -33
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.ts +0 -38
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.ts +0 -52
- package/src/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.ts +0 -29
- package/src/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.ts +0 -51
- package/src/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.ts +0 -36
- package/src/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.ts +0 -36
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.ts +0 -16
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.ts +0 -36
- package/src/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.ts +0 -28
- package/src/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.ts +0 -27
- package/src/hooks/ATIM/BackOffice/get/useWorkMonths.hook.ts +0 -31
- package/src/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.ts +0 -31
- package/src/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.ts +0 -16
- package/src/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.ts +0 -21
- package/src/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.ts +0 -25
- package/src/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.ts +0 -17
- package/src/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.ts +0 -35
- package/src/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.ts +0 -16
- package/src/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.ts +0 -33
- package/src/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.ts +0 -15
- package/src/hooks/Acls/get/getCustomersLoyaltyQuery.hook.ts +0 -22
- package/src/hooks/Acls/get/getVoucherLoyaltyQuery.hook.ts +0 -25
- package/src/hooks/Acls/get/getVoucherSitooQuery.hook.ts +0 -22
- package/src/hooks/Acls/get/getVoucherTemplatesQuery.hook.ts +0 -29
- package/src/hooks/Acls/mutate/postCreateVoucherTemplates.hook.ts +0 -19
- package/src/hooks/Acls/mutate/postSaldoVoucherQuery.hook.ts +0 -21
- package/src/hooks/Acls/mutate/postSalesAssociationQuery.hook.ts +0 -20
- package/src/hooks/Acls/mutate/postVerificationEmailQuery.hook.ts +0 -23
- package/src/hooks/Acls/mutate/postVerificationUserQuery.hook.ts +0 -23
- package/src/hooks/Acls/mutate/postVoucherSitooQuery.hook.ts +0 -21
- package/src/hooks/Acls/mutate/reactivateVoucherQuery.hook.ts +0 -27
- package/src/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.ts +0 -25
- package/src/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.ts +0 -13
- package/src/hooks/Aexp/get/getFlowExecutionQuery.hook.ts +0 -27
- package/src/hooks/Aexp/get/getFlowListByIdQuery.hook.ts +0 -13
- package/src/hooks/Aexp/get/getFlowListQuery.hook.ts +0 -29
- package/src/hooks/Aexp/get/getTagsFlowQuery.hook.ts +0 -11
- package/src/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.ts +0 -17
- package/src/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.ts +0 -18
- package/src/hooks/Aexp/mutate/runFlowExecutionQuery.hook.ts +0 -20
- package/src/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.ts +0 -17
- package/src/hooks/Aexp/mutate/useFlowExecutionQuery.hook.ts +0 -22
- package/src/hooks/Aexp/mutate/validateExecutionFileQuery.hook.ts +0 -15
- package/src/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.ts +0 -32
- package/src/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.ts +0 -21
- package/src/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.ts +0 -23
- package/src/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.ts +0 -21
- package/src/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.ts +0 -32
- package/src/hooks/Analytics/get/useAnalyticsUserQuery.hook.ts +0 -35
- package/src/hooks/Anot/get/getNotificationApplicationsQuery.hook.ts +0 -13
- package/src/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.ts +0 -13
- package/src/hooks/Anot/get/getNotificationHeadersQuery.hook.ts +0 -33
- package/src/hooks/Anot/get/getNotificationLanguagesQuery.hook.ts +0 -15
- package/src/hooks/Anot/get/getNotificationTypeByIdQuery.hook.ts +0 -11
- package/src/hooks/Anot/get/getNotificationsQuery.hook.ts +0 -29
- package/src/hooks/Anot/get/getNotificationsTypeQuery.hook.ts +0 -27
- package/src/hooks/Anot/mutate/useNotificationTypeQuery.hook.ts +0 -18
- package/src/hooks/Answer/get/useAnswerIdQuery.hook.ts +0 -13
- package/src/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.ts +0 -21
- package/src/hooks/Answer/mutate/useAnswerMutateQuery.hook.ts +0 -31
- package/src/hooks/Answer/others/openAnswerQuery.hook.ts +0 -19
- package/src/hooks/Answer/others/postAnswersExportQuery.hook.ts +0 -26
- package/src/hooks/Answer/others/showAnswerQuery.hook.ts +0 -18
- package/src/hooks/AprProduct/get/useProductHierarchies.hook.ts +0 -19
- package/src/hooks/AprProduct/get/useProductRecommendations.hook.ts +0 -27
- package/src/hooks/AprProduct/get/useProductsByRefQuery.hook.ts +0 -18
- package/src/hooks/AprProduct/get/useProductsQuery.hook.ts +0 -46
- package/src/hooks/Aprc/get/getPriceChangePinQuery.hook.ts +0 -16
- package/src/hooks/Aprc/others/postPriceChangePinQuery.hook.ts +0 -19
- package/src/hooks/Aprc/others/sendEmailWithPinQuery.hook.ts +0 -19
- package/src/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.ts +0 -10
- package/src/hooks/Asgt/get/getProductWarningASGTQuery.hook.ts +0 -27
- package/src/hooks/Asgt/get/getProductsListingASGTQuery.hook.ts +0 -14
- package/src/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.ts +0 -27
- package/src/hooks/Asgt/get/getProductsPickedASGTQuery.hook.ts +0 -19
- package/src/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.ts +0 -12
- package/src/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.ts +0 -25
- package/src/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.ts +0 -27
- package/src/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.ts +0 -12
- package/src/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.ts +0 -13
- package/src/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.ts +0 -23
- package/src/hooks/Asgt/get/getTransferReportDiffASGT.hook.ts +0 -17
- package/src/hooks/Asgt/mutate/autoSaveASGTQuery.hook.ts +0 -23
- package/src/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.ts +0 -21
- package/src/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.ts +0 -15
- package/src/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.ts +0 -23
- package/src/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.ts +0 -21
- package/src/hooks/Asgt/mutate/removeProductASGTQuery.hook.ts +0 -15
- package/src/hooks/Ass/get/getAssProductsByRefQuery.hook.ts +0 -23
- package/src/hooks/Ass/get/getAssProductsByStoreQuery.hook.ts +0 -29
- package/src/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.ts +0 -21
- package/src/hooks/Asta/Actions/get/getActionByIdQuery.hook.ts +0 -15
- package/src/hooks/Asta/Actions/get/getActionPriorityQuery.hook.ts +0 -10
- package/src/hooks/Asta/Actions/get/getActionQuery.hook.ts +0 -29
- package/src/hooks/Asta/Actions/get/getActionStagesQuery.hook.ts +0 -10
- package/src/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.ts +0 -20
- package/src/hooks/Asta/Actions/others/archiveActionQuery.hook.ts +0 -19
- package/src/hooks/Asta/Actions/others/deleteActionQuery.hook.ts +0 -19
- package/src/hooks/Asta/Actions/others/extractActionQuery.hook.ts +0 -19
- package/src/hooks/Asta/Actions/others/finishActionQuery.hook.ts +0 -17
- package/src/hooks/Asta/Actions/others/selectActionStatusQuery.hook.ts +0 -18
- package/src/hooks/Asta/Actions/others/startActionQuery.hook.ts +0 -17
- package/src/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.ts +0 -15
- package/src/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.ts +0 -29
- package/src/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.ts +0 -20
- package/src/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.ts +0 -15
- package/src/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.ts +0 -18
- package/src/hooks/Asta/Answer/others/putAnswerImageQuery.hook.ts +0 -15
- package/src/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.ts +0 -21
- package/src/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.ts +0 -20
- package/src/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.ts +0 -29
- package/src/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.ts +0 -10
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.ts +0 -15
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.ts +0 -10
- package/src/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.ts +0 -20
- package/src/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.ts +0 -19
- package/src/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.ts +0 -17
- package/src/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.ts +0 -18
- package/src/hooks/Asta/Inspection/get/getInspectionQuery.hook.ts +0 -29
- package/src/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.ts +0 -24
- package/src/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.ts +0 -19
- package/src/hooks/Asta/Inspection/others/exportInspectionQuery.hook.ts +0 -19
- package/src/hooks/Asta/Inspection/others/extractTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Inspection/others/finishInspectionQuery.hook.ts +0 -17
- package/src/hooks/Asta/Template/get/getTemplateByIdQuery.hook.ts +0 -15
- package/src/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.ts +0 -10
- package/src/hooks/Asta/Template/get/getTemplateQuery.hook.ts +0 -29
- package/src/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.ts +0 -20
- package/src/hooks/Asta/Template/others/archiveTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Template/others/deleteTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Template/others/duplicateTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Template/others/extractTemplateQuery.hook.ts +0 -19
- package/src/hooks/Asta/Template/others/finishTemplateQuery.hook.ts +0 -17
- package/src/hooks/Asts/get/getProductInfoQuery.hook.ts +0 -19
- package/src/hooks/Asts/get/getStockQuery.hook.ts +0 -21
- package/src/hooks/Asts/others/postAudioFileQuery.hook.ts +0 -14
- package/src/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.ts +0 -25
- package/src/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.ts +0 -10
- package/src/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.ts +0 -27
- package/src/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.ts +0 -14
- package/src/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.ts +0 -27
- package/src/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.ts +0 -19
- package/src/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.ts +0 -12
- package/src/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.ts +0 -12
- package/src/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.ts +0 -25
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.ts +0 -27
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.ts +0 -12
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.ts +0 -13
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.ts +0 -23
- package/src/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.ts +0 -17
- package/src/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.ts +0 -23
- package/src/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.ts +0 -21
- package/src/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.ts +0 -15
- package/src/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.ts +0 -25
- package/src/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.ts +0 -21
- package/src/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.ts +0 -21
- package/src/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.ts +0 -20
- package/src/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.ts +0 -28
- package/src/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.ts +0 -23
- package/src/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.ts +0 -21
- package/src/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.ts +0 -15
- package/src/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.ts +0 -22
- package/src/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.ts +0 -14
- package/src/hooks/Astt/get/getBarcodesListingQuery.hook.ts +0 -13
- package/src/hooks/Astt/get/getBarcodesPrintQuery.hook.ts +0 -12
- package/src/hooks/Astt/get/getDocumentsFindByIdQuery.hook.ts +0 -12
- package/src/hooks/Astt/get/getManualPackagesListQuery.hook.ts +0 -20
- package/src/hooks/Astt/get/getProductsListingQuery.hook.ts +0 -14
- package/src/hooks/Astt/get/getReconciliationDocumentsQuery.hook.ts +0 -18
- package/src/hooks/Astt/get/getReportsBuilderQuery.hook.ts +0 -12
- package/src/hooks/Astt/get/getRfidQuery.hook.ts +0 -24
- package/src/hooks/Astt/get/getTransferAllProductsQuery.hook.ts +0 -25
- package/src/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.ts +0 -12
- package/src/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.ts +0 -13
- package/src/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.ts +0 -23
- package/src/hooks/Astt/get/getTransferDocumentsQuery.hook.ts +0 -27
- package/src/hooks/Astt/get/getTransferReportDiff.hook.ts +0 -17
- package/src/hooks/Astt/get/getTransferStatesQuery.hook.ts +0 -10
- package/src/hooks/Astt/mutate/deleteManualPackageQuery.hook.ts +0 -23
- package/src/hooks/Astt/mutate/notifyMissingProductsQuery.hook.ts +0 -36
- package/src/hooks/Astt/mutate/postAsttActionsQuery.hook.ts +0 -18
- package/src/hooks/Astt/mutate/postManualPackageQuery.hook.ts +0 -18
- package/src/hooks/Astt/mutate/postManualTransferQuery.hook.ts +0 -16
- package/src/hooks/Astt/mutate/postMatchingPackageQuery.hook.ts +0 -22
- package/src/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.ts +0 -23
- package/src/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.ts +0 -21
- package/src/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.ts +0 -21
- package/src/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.ts +0 -21
- package/src/hooks/Astt/mutate/updateDocumentIdQuery.hook.ts +0 -23
- package/src/hooks/Astt/mutate/updatePackageIdQuery.hook.ts +0 -25
- package/src/hooks/AsvProduct/get/getProductsByRefQuery.hook.ts +0 -23
- package/src/hooks/AsvProduct/get/getProductsByStoreQuery.hook.ts +0 -29
- package/src/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.ts +0 -21
- package/src/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.ts +0 -29
- package/src/hooks/BigWin/get/getBwgBackOfficeQuery.hook.ts +0 -29
- package/src/hooks/BigWin/get/getMonthsListQuery.hook.ts +0 -10
- package/src/hooks/BigWin/others/importABWGQuery.hook.ts +0 -20
- package/src/hooks/BigWin/others/importRegulationQuery.hook.ts +0 -15
- package/src/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.ts +0 -19
- package/src/hooks/BigWin/others/publishMonthsManagerQuery.hook.ts +0 -19
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.ts +0 -13
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.ts +0 -29
- package/src/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.ts +0 -17
- package/src/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.ts +0 -15
- package/src/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.ts +0 -15
- package/src/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.ts +0 -15
- package/src/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.ts +0 -15
- package/src/hooks/OSUA/MIMO/get/getIntegrationByName.hook.ts +0 -19
- package/src/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.ts +0 -25
- package/src/hooks/OSUA/MIMO/get/useErrorHistory.hook.ts +0 -21
- package/src/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.ts +0 -15
- package/src/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.ts +0 -13
- package/src/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.ts +0 -18
- package/src/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.ts +0 -15
- package/src/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.ts +0 -25
- package/src/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.ts +0 -30
- package/src/hooks/OSUA/get/documentos/getGngDocumentos.hook.ts +0 -28
- package/src/hooks/OSUA/get/documentos/getSitooDocumentos.hook.ts +0 -21
- package/src/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.ts +0 -30
- package/src/hooks/OSUA/get/faqs/getFaqsQuery.hook.ts +0 -33
- package/src/hooks/OSUA/get/orders/getOrderDocuments.hook.ts +0 -21
- package/src/hooks/OSUA/get/queue/getQueues.hook.ts +0 -15
- package/src/hooks/OSUA/get/queue/getQueuesMessages.hook.ts +0 -28
- package/src/hooks/OSUA/get/vouchers/getGngVoucher.hook.ts +0 -21
- package/src/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.ts +0 -27
- package/src/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.ts +0 -26
- package/src/hooks/OSUA/get/vouchers/getSitooVouchers.hook.ts +0 -22
- package/src/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.ts +0 -23
- package/src/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.ts +0 -24
- package/src/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.ts +0 -28
- package/src/hooks/OSUA/mutate/postEventsRep.hook.ts +0 -16
- package/src/hooks/OSUA/mutate/postQueuesMessages.hook.ts +0 -21
- package/src/hooks/OSUA/mutate/postVoucher.hook.ts +0 -16
- package/src/hooks/OSUA/mutate/putBalanceVouchers.hook.ts +0 -25
- package/src/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.ts +0 -21
- package/src/hooks/Orch/get/getAuth0ConfigQuery.hook.ts +0 -11
- package/src/hooks/Orch/get/getInstanceByIdQuery.hook.ts +0 -14
- package/src/hooks/Orch/get/getInstancesQuery.hook.ts +0 -27
- package/src/hooks/Orch/get/getMacrosInstancesQuery.hook.ts +0 -19
- package/src/hooks/Orch/get/getMacrosQuery.hook.ts +0 -27
- package/src/hooks/Orch/get/getMacrosUserQuery.hook.ts +0 -11
- package/src/hooks/Orch/get/getMonitoringComponents.hook.ts +0 -29
- package/src/hooks/Orch/others/reprocessingInstanceQuery.hook.ts +0 -14
- package/src/hooks/Orch/others/runMacrosQuery.hook.ts +0 -23
- package/src/hooks/Orch/others/stopInstanceQuery.hook.ts +0 -16
- package/src/hooks/Orch/others/updateMacroStatusQuery.hook.ts +0 -23
- package/src/hooks/Others/Vacation/get/getVacationPlanQuery.hook.ts +0 -20
- package/src/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.ts +0 -11
- package/src/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.ts +0 -23
- package/src/hooks/Others/Vacation/others/postVacationPlanQuery.hook.ts +0 -20
- package/src/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.ts +0 -25
- package/src/hooks/Others/changePasswordQuery.hook.ts +0 -21
- package/src/hooks/Others/editAllBellNotificationsStatusQuery.hook.ts +0 -19
- package/src/hooks/Others/editBellNotificationsStatusQuery.hook.ts +0 -22
- package/src/hooks/Others/editFieldsByBulkQuery.hook.ts +0 -15
- package/src/hooks/Others/getBellNotificationsQuery.hook.ts +0 -28
- package/src/hooks/Others/getNotificationTitleQuery.hook.ts +0 -19
- package/src/hooks/Others/getRegulationQuery.hook.ts +0 -14
- package/src/hooks/Others/getUserEmailStatusQuery.hook.ts +0 -21
- package/src/hooks/Others/getWeeklyWorkloadQuery.hook.ts +0 -23
- package/src/hooks/Others/oneSignalUserQuery.hook.ts +0 -14
- package/src/hooks/Others/postCheckoutsMutateQuery.hook.ts +0 -15
- package/src/hooks/Others/postUserAuthenticationQuery.hook.ts +0 -19
- package/src/hooks/Others/postVerifyImageQuery.hook.ts +0 -15
- package/src/hooks/Others/unblockUserQuery.hook.ts +0 -14
- package/src/hooks/Others/useApplicationDataQuery.hook.ts +0 -10
- package/src/hooks/Others/useContractStatesQuery.hook.ts +0 -15
- package/src/hooks/Others/useCountriesQuery.hook.ts +0 -15
- package/src/hooks/Others/useCreateNotification.hook.ts +0 -24
- package/src/hooks/Others/useCustomersQuery.hook.ts +0 -40
- package/src/hooks/Others/useJobTitlesQuery.hook.ts +0 -17
- package/src/hooks/Others/useRegulationQuery.hook.ts +0 -24
- package/src/hooks/Others/useTermNotificationQuery.hook.ts +0 -11
- package/src/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.ts +0 -13
- package/src/hooks/Questionnaire/get/useQuestionnaireQuery.hook.ts +0 -29
- package/src/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.ts +0 -17
- package/src/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.ts +0 -15
- package/src/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.ts +0 -15
- package/src/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.ts +0 -15
- package/src/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.ts +0 -15
- package/src/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.ts +0 -15
- package/src/hooks/Roles/get/useAllRolesQuery.hook.ts +0 -30
- package/src/hooks/Store/getLocationsByUser.hook.ts +0 -37
- package/src/hooks/Store/useAllStoreQuery.hook.ts +0 -37
- package/src/hooks/Store/useStoreByCodeQuery.hook.ts +0 -21
- package/src/hooks/Store/useStoreQuery.ts +0 -13
- package/src/hooks/Users/get/getUserAndSupervisorQuery.hook.ts +0 -21
- package/src/hooks/Users/get/getUsersReadmissionQuery.hook.ts +0 -27
- package/src/hooks/Users/get/useApplicationQuery.hook.ts +0 -29
- package/src/hooks/Users/get/useExpUsersAnswersQuery.hook.ts +0 -25
- package/src/hooks/Users/get/usePermissionByIdQuery.hook.ts +0 -15
- package/src/hooks/Users/get/usePermissionsQuery.hook.ts +0 -29
- package/src/hooks/Users/get/useSingleUserIdQuery.hook.ts +0 -15
- package/src/hooks/Users/get/useUserIdQuery.hook.ts +0 -14
- package/src/hooks/Users/get/useUserListQuery.hook.ts +0 -27
- package/src/hooks/Users/get/useUserQuery.hook.ts +0 -31
- package/src/hooks/Users/mutate/deletePermissionMutateQuery.hook.ts +0 -15
- package/src/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.ts +0 -18
- package/src/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.ts +0 -17
- package/src/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.ts +0 -27
- package/src/hooks/Users/others/useSingleUserResetPassword.hook.ts +0 -18
- package/src/hooks/Users/others/useUserBlockQuery.hook.ts +0 -15
- package/src/hooks/Users/others/useUserEmailVerifQuery.hook.ts +0 -15
- package/src/hooks/Users/others/useUserResetPassByEmail.hook.ts +0 -14
- package/src/hooks/Watson/get/getCloseSession.hook.ts +0 -15
- package/src/hooks/Watson/mutate/mutateCloseSession.hook.ts +0 -18
- package/src/hooks/Watson/mutate/mutateNotificationRequest.hook.ts +0 -18
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.ts +0 -15
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.ts +0 -27
- package/src/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.ts +0 -27
- package/src/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.ts +0 -27
- package/src/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.ts +0 -28
- package/src/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.ts +0 -18
- package/src/hooks/index.ts +0 -505
- package/src/index.ts +0 -12
- package/src/interfaces/ACB.ts +0 -21
- package/src/interfaces/ASAECustomer.ts +0 -28
- package/src/interfaces/Acls.ts +0 -84
- package/src/interfaces/Actions.ts +0 -20
- package/src/interfaces/AnalyticsEvaluationCycle.ts +0 -24
- package/src/interfaces/AnalyticsUserId.ts +0 -14
- package/src/interfaces/Anot.ts +0 -79
- package/src/interfaces/Answer.ts +0 -14
- package/src/interfaces/AnswerType.ts +0 -22
- package/src/interfaces/AnswersUserSupervisor.ts +0 -45
- package/src/interfaces/ApplicationsByCategory.ts +0 -19
- package/src/interfaces/AstaQuestions.ts +0 -10
- package/src/interfaces/AstsStock.ts +0 -17
- package/src/interfaces/AstsStockInfo.ts +0 -14
- package/src/interfaces/AsttReconciliationDocuments.ts +0 -32
- package/src/interfaces/AsvProductsByReference.ts +0 -14
- package/src/interfaces/AsvProductsByStore.ts +0 -13
- package/src/interfaces/AsvProductsStockDetails.ts +0 -20
- package/src/interfaces/Atim.ts +0 -123
- package/src/interfaces/AtimScheduling.ts +0 -64
- package/src/interfaces/AttendanceIssues.ts +0 -20
- package/src/interfaces/Auth0Config.ts +0 -6
- package/src/interfaces/BellNotification.ts +0 -17
- package/src/interfaces/Brand.ts +0 -5
- package/src/interfaces/Bulk.ts +0 -11
- package/src/interfaces/Bwg.ts +0 -25
- package/src/interfaces/Cart.ts +0 -14
- package/src/interfaces/Checkout.ts +0 -15
- package/src/interfaces/Configuration.ts +0 -8
- package/src/interfaces/ContractStates.ts +0 -7
- package/src/interfaces/Countries.ts +0 -10
- package/src/interfaces/CreateNotification.ts +0 -18
- package/src/interfaces/Customer.ts +0 -23
- package/src/interfaces/CustomerHistory.ts +0 -11
- package/src/interfaces/CustomerVoucher.ts +0 -12
- package/src/interfaces/Employee.ts +0 -18
- package/src/interfaces/EvaluationCycle.ts +0 -34
- package/src/interfaces/ExpUsersAnswers.ts +0 -16
- package/src/interfaces/FlowExecution.ts +0 -33
- package/src/interfaces/FlowList.ts +0 -32
- package/src/interfaces/GetMonths.ts +0 -8
- package/src/interfaces/Inspection.ts +0 -22
- package/src/interfaces/Instances.ts +0 -25
- package/src/interfaces/JobTitles.ts +0 -7
- package/src/interfaces/MIMO.ts +0 -19
- package/src/interfaces/MacroInstance.ts +0 -11
- package/src/interfaces/Macros.ts +0 -19
- package/src/interfaces/MonitoringComponent.ts +0 -6
- package/src/interfaces/NotificationTitle.ts +0 -8
- package/src/interfaces/OSUA.ts +0 -364
- package/src/interfaces/Permissions.ts +0 -16
- package/src/interfaces/PriceChange.ts +0 -7
- package/src/interfaces/Product.ts +0 -17
- package/src/interfaces/ProductsHierarchies.ts +0 -6
- package/src/interfaces/ProductsPickedTransfers.ts +0 -13
- package/src/interfaces/Questionnaire.ts +0 -39
- package/src/interfaces/ReasonCodes.ts +0 -9
- package/src/interfaces/ReportBuilder.ts +0 -5
- package/src/interfaces/ResponseList.ts +0 -7
- package/src/interfaces/Responses.ts +0 -50
- package/src/interfaces/Rfid.ts +0 -10
- package/src/interfaces/Roles.ts +0 -5
- package/src/interfaces/Store.ts +0 -35
- package/src/interfaces/TagsFlow.ts +0 -5
- package/src/interfaces/Template.ts +0 -33
- package/src/interfaces/TermNotification.ts +0 -6
- package/src/interfaces/TimeKeeping.ts +0 -7
- package/src/interfaces/TransferAllProducts.ts +0 -39
- package/src/interfaces/TransferDocumentState.ts +0 -5
- package/src/interfaces/TransferDocuments.ts +0 -62
- package/src/interfaces/TransferPackage.ts +0 -19
- package/src/interfaces/TransferPickProducts.ts +0 -34
- package/src/interfaces/TransferReportDiff.ts +0 -9
- package/src/interfaces/TransferStates.ts +0 -8
- package/src/interfaces/User.ts +0 -75
- package/src/interfaces/UserAuthentication.ts +0 -7
- package/src/interfaces/UserEmailStatus.ts +0 -14
- package/src/interfaces/VacationPlan.ts +0 -13
- package/src/interfaces/VerifyImage.ts +0 -49
- package/src/interfaces/VerifyUser.ts +0 -5
- package/src/interfaces/Watson.ts +0 -76
- package/src/interfaces/Workload.ts +0 -8
- package/src/interfaces/index.ts +0 -81
- package/src/services/ApiService/index.ts +0 -185
- package/src/services/InitService/index.ts +0 -7
- package/src/services/index.ts +0 -3
- package/src/types/Global.d.ts +0 -4
- package/tsconfig.json +0 -27
- package/webpack.config.js +0 -60
- /package/dist/{types/enums → enums}/attendence-type.enum.d.ts +0 -0
- /package/dist/{types/enums → enums}/employees-order.enum.d.ts +0 -0
- /package/dist/{types/enums → enums}/index.d.ts +0 -0
- /package/dist/{types/helpers → helpers}/formatted-date.helper.d.ts +0 -0
- /package/dist/{types/helpers → helpers}/index.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ACB.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ASAECustomer.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Acls.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Actions.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AnalyticsEvaluationCycle.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AnalyticsUserId.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Anot.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AnswerType.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AnswersUserSupervisor.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ApplicationsByCategory.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AstaQuestions.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AstsStock.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AstsStockInfo.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AsttReconciliationDocuments.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AsvProductsByReference.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AsvProductsByStore.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AsvProductsStockDetails.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Atim.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AtimScheduling.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/AttendanceIssues.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Auth0Config.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/BellNotification.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Brand.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Bulk.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Bwg.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Checkout.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Configuration.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ContractStates.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Countries.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/CreateNotification.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Customer.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/CustomerHistory.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/CustomerVoucher.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/EvaluationCycle.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ExpUsersAnswers.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/FlowExecution.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/FlowList.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/GetMonths.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Instances.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/JobTitles.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/MIMO.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/MacroInstance.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Macros.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/MonitoringComponent.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/NotificationTitle.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/OSUA.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Permissions.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/PriceChange.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Product.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ProductsHierarchies.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ProductsPickedTransfers.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Questionnaire.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ReasonCodes.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ReportBuilder.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/ResponseList.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Rfid.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Roles.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Store.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TagsFlow.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TermNotification.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TimeKeeping.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferAllProducts.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferDocumentState.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferDocuments.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferPackage.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferPickProducts.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferReportDiff.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/TransferStates.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/UserAuthentication.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/UserEmailStatus.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/VacationPlan.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/VerifyImage.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/VerifyUser.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Watson.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/Workload.d.ts +0 -0
- /package/dist/{types/interfaces → interfaces}/index.d.ts +0 -0
- /package/dist/{types/services → services}/index.d.ts +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Questionnaire } from '../../../interfaces/Questionnaire';
|
|
3
|
-
import { putAuth0, postAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const useQuestionnaireMutateHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Questionnaire, unknown, Questionnaire>((data: Questionnaire) => {
|
|
8
|
-
return data.Id ?
|
|
9
|
-
putAuth0(`/APE/Questionnaire/${data.Id}`, undefined, data) :
|
|
10
|
-
postAuth0('/APE/Questionnaire', undefined, data);
|
|
11
|
-
}, {
|
|
12
|
-
onSuccess: (data: Questionnaire) => {
|
|
13
|
-
queryClient.setQueryData(
|
|
14
|
-
['QUESTIONNAIRE_ID_QUERY'], data);
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Questionnaire } from '../../../interfaces/Questionnaire';
|
|
3
|
-
import { putAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const activateQuestionnaireQueryHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Questionnaire, unknown, Questionnaire>((data: Questionnaire) => {
|
|
8
|
-
return putAuth0(`/APE/Questionnaire/Activate/${data.Id}`, undefined, data)
|
|
9
|
-
}, {
|
|
10
|
-
onSuccess: (data: Questionnaire) => {
|
|
11
|
-
queryClient.setQueryData(
|
|
12
|
-
['QUESTIONNAIRE_ID_QUERY'], data);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Questionnaire } from '../../../interfaces/Questionnaire';
|
|
3
|
-
import { putAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const cancelQuestionnaireQueryHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Questionnaire, unknown, Questionnaire>((data: Questionnaire) => {
|
|
8
|
-
return putAuth0(`/APE/Questionnaire/Cancel/${data.Id}`, undefined, data)
|
|
9
|
-
}, {
|
|
10
|
-
onSuccess: (data: Questionnaire) => {
|
|
11
|
-
queryClient.setQueryData(
|
|
12
|
-
['QUESTIONNAIRE_ID_QUERY'], data);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Questionnaire } from '../../../interfaces/Questionnaire';
|
|
3
|
-
import { toDeleteAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const deleteQuestionnaireMutateHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Questionnaire, unknown, Questionnaire>((data: Questionnaire) => {
|
|
8
|
-
return toDeleteAuth0(`/APE/Questionnaire?pId=${data.Id}`)
|
|
9
|
-
}, {
|
|
10
|
-
onSuccess: () => {
|
|
11
|
-
queryClient.invalidateQueries(
|
|
12
|
-
['QUESTIONNAIRE_QUERY']);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Questionnaire } from '../../../interfaces/Questionnaire';
|
|
3
|
-
import { postAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const duplicateQuestionnaireMutateHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Questionnaire, unknown, Questionnaire>((data: Questionnaire) => {
|
|
8
|
-
return postAuth0(`/APE/Questionnaire/DuplicateQuestionnaire?pId=${data.Id}`)
|
|
9
|
-
}, {
|
|
10
|
-
onSuccess: (data: Questionnaire) => {
|
|
11
|
-
queryClient.setQueryData(
|
|
12
|
-
['QUESTIONNAIRE_QUERY'], data);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { Answer } from '../../../interfaces';
|
|
3
|
-
import { putAuth0 } from '../../../services/ApiService';
|
|
4
|
-
|
|
5
|
-
export const finishQuestionnaireQueryHook = () => {
|
|
6
|
-
const queryClient = useQueryClient();
|
|
7
|
-
return useMutation<Answer, unknown, Answer>((data: Answer) => {
|
|
8
|
-
return putAuth0(`/APE/Answers/FinishQuestionnaire/${data.Id}`, undefined, data)
|
|
9
|
-
}, {
|
|
10
|
-
onSuccess: (data: Answer) => {
|
|
11
|
-
queryClient.setQueryData(
|
|
12
|
-
['ANSWER_ID_QUERY'], data);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Roles, ResponseList } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services";
|
|
4
|
-
|
|
5
|
-
interface RolesQueryProps extends UseQueryOptions<ResponseList<"Roles", Roles>> {
|
|
6
|
-
records: number | string;
|
|
7
|
-
page: number;
|
|
8
|
-
sortBy: string;
|
|
9
|
-
sortDirection: string;
|
|
10
|
-
tags?: string;
|
|
11
|
-
onlyApplicationRoles?: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const useAllRolesQuery = ({ records, sortBy, sortDirection, tags, page, onlyApplicationRoles }: RolesQueryProps) => {
|
|
15
|
-
return useQuery(
|
|
16
|
-
['ROLES_QUERY', records, sortBy, sortDirection, tags, page, onlyApplicationRoles],
|
|
17
|
-
() => getAuth0<ResponseList<"Roles", Roles>>('/AACP/Roles', {
|
|
18
|
-
pPage: page || 1,
|
|
19
|
-
pRecords: records || 50,
|
|
20
|
-
pSortBy: sortBy,
|
|
21
|
-
pSortDirection: sortDirection,
|
|
22
|
-
pTerms: tags,
|
|
23
|
-
...(onlyApplicationRoles !== undefined ? { pOnlyApplicationRoles: onlyApplicationRoles } : {}),
|
|
24
|
-
}),
|
|
25
|
-
{
|
|
26
|
-
keepPreviousData: true,
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store, ResponseList } from "../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../services";
|
|
4
|
-
|
|
5
|
-
interface LocationsByUserQueryProps extends UseQueryOptions<ResponseList<"UserLocations", Store>> {
|
|
6
|
-
records: number | string;
|
|
7
|
-
sortBy: string;
|
|
8
|
-
sortDirection: string;
|
|
9
|
-
page: number;
|
|
10
|
-
tags?: string;
|
|
11
|
-
advancedTags?: string;
|
|
12
|
-
filter?: any;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const getLocationsByUserQuery = ({ records, sortBy, sortDirection, tags, advancedTags, filter, page, ...options }: LocationsByUserQueryProps, userId: string) => {
|
|
16
|
-
const pQueryValue = advancedTags && filter
|
|
17
|
-
? `${advancedTags} AND ${filter}`
|
|
18
|
-
: advancedTags
|
|
19
|
-
? advancedTags
|
|
20
|
-
: filter
|
|
21
|
-
? filter
|
|
22
|
-
: null;
|
|
23
|
-
|
|
24
|
-
return useQuery(['LOCATIONS_BY_USER_QUERY', records, sortBy, sortDirection, tags, advancedTags, filter, page, userId, options],
|
|
25
|
-
() => getAuth0<ResponseList<"UserLocations", Store>>(`/AACP/Users/${userId}/Locations`, {
|
|
26
|
-
pPage: page || 1,
|
|
27
|
-
pRecords: records || 50,
|
|
28
|
-
pSortBy: sortBy,
|
|
29
|
-
pSortDirection: sortDirection,
|
|
30
|
-
pTerms: tags,
|
|
31
|
-
...(pQueryValue ? { pQuery: pQueryValue } : {}),
|
|
32
|
-
}),
|
|
33
|
-
options
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store, ResponseList } from "../../interfaces";
|
|
3
|
-
import { get } from "../../services";
|
|
4
|
-
|
|
5
|
-
interface StoreQueryProps extends UseQueryOptions<ResponseList<"Locations", Store>> {
|
|
6
|
-
records: number | string;
|
|
7
|
-
sortBy: string;
|
|
8
|
-
sortDirection: string;
|
|
9
|
-
page: number;
|
|
10
|
-
tags?: string;
|
|
11
|
-
advancedTags?: string;
|
|
12
|
-
filter?: any;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const useAllStoreQuery = ({ records, sortBy, sortDirection, tags, advancedTags, filter, page, ...options }: StoreQueryProps) => {
|
|
16
|
-
const pQueryValue = advancedTags && filter
|
|
17
|
-
? `${advancedTags} AND ${filter}`
|
|
18
|
-
: advancedTags
|
|
19
|
-
? advancedTags
|
|
20
|
-
: filter
|
|
21
|
-
? filter
|
|
22
|
-
: null;
|
|
23
|
-
|
|
24
|
-
return useQuery(['STORE_QUERY', records, sortBy, sortDirection, tags, advancedTags, filter, page, options],
|
|
25
|
-
() => get<ResponseList<"Locations", Store>>(`/Franchise/Locations`, {
|
|
26
|
-
pPage: page || 1,
|
|
27
|
-
pRecords: records || 50,
|
|
28
|
-
pSortBy: sortBy,
|
|
29
|
-
pSortDirection: sortDirection,
|
|
30
|
-
pTerms: tags,
|
|
31
|
-
...(pQueryValue ? { pQuery: pQueryValue } : {}),
|
|
32
|
-
}),
|
|
33
|
-
options
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store } from "../../interfaces/Store";
|
|
3
|
-
import { get } from "../../services";
|
|
4
|
-
|
|
5
|
-
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
6
|
-
code: string;
|
|
7
|
-
shouldFetch?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const useStoreByCodeQuery = ({ code, shouldFetch, ...options }: StoreQueryProps) => {
|
|
11
|
-
return useQuery(
|
|
12
|
-
['STORE_CODE_QUERY', code, shouldFetch],
|
|
13
|
-
() => get<Store>('/Franchise/Locations/findByCode', {
|
|
14
|
-
pCode: code,
|
|
15
|
-
}),
|
|
16
|
-
{
|
|
17
|
-
enabled: shouldFetch,
|
|
18
|
-
...options,
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store } from "../../interfaces/Store";
|
|
3
|
-
import { get } from "../../services";
|
|
4
|
-
|
|
5
|
-
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const FixedStore = "C62A59C7-DE0C-4EF7-9A5F-1929A4F93F46";
|
|
10
|
-
|
|
11
|
-
export const useStoreQuery = ({ id, ...options }: StoreQueryProps) => {
|
|
12
|
-
return useQuery(['STORE_QUERY', id], () => get(`/Franchise/Locations/${id || FixedStore}`), options);
|
|
13
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { User } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export interface getUserAndSupervisorProps extends UseQueryOptions<User> {
|
|
6
|
-
evaluactionCycle: string;
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const getUserAndSupervisorQueryHook = ({ evaluactionCycle, userId }: getUserAndSupervisorProps) => {
|
|
11
|
-
return useQuery(
|
|
12
|
-
['GET_USER_AND_SUPERVISOR', evaluactionCycle, userId],
|
|
13
|
-
() => getAuth0<User>('/APE/Users/SupervisorAndUser', {
|
|
14
|
-
pEvaluactionCycle: evaluactionCycle,
|
|
15
|
-
pUserId: userId
|
|
16
|
-
}),
|
|
17
|
-
{
|
|
18
|
-
keepPreviousData: true,
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { User, ResponseList } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export interface UsersReadmissionQuery extends Omit<UseQueryOptions<ResponseList<"Users", User>>, "queryKey"> {
|
|
6
|
-
tags?: string;
|
|
7
|
-
records: number;
|
|
8
|
-
page: number;
|
|
9
|
-
queryField?: string;
|
|
10
|
-
sortBy?: string;
|
|
11
|
-
sortDirection?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const getUsersReadmissionQueryHook = ({ tags, page, records, queryField, sortBy, sortDirection, ...options }: UsersReadmissionQuery) => {
|
|
15
|
-
return useQuery(
|
|
16
|
-
['USER_READMISSION_QUERY', tags, page, records, sortBy, sortDirection, queryField, options],
|
|
17
|
-
() => getAuth0<ResponseList<"Users", User>>('/AACP/Users/Readmission', {
|
|
18
|
-
pPage: page || 1,
|
|
19
|
-
pRecords: records || 50,
|
|
20
|
-
pSortBy: sortBy || 'DisplayName',
|
|
21
|
-
pSortDirection: sortDirection || 'asc',
|
|
22
|
-
pTerms: tags,
|
|
23
|
-
pQuery: queryField
|
|
24
|
-
}),
|
|
25
|
-
options
|
|
26
|
-
);
|
|
27
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Applications, ResponseList } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export interface ApplicationQuery extends UseQueryOptions<ResponseList<"Applications", Applications>> {
|
|
6
|
-
tags?: string;
|
|
7
|
-
page?: number;
|
|
8
|
-
records?: number;
|
|
9
|
-
queryField?: string;
|
|
10
|
-
sortBy?: string;
|
|
11
|
-
sortDirection?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const useApplicationQuery = ({ tags, page, records, queryField, sortBy, sortDirection }: ApplicationQuery) => {
|
|
15
|
-
return useQuery(
|
|
16
|
-
['APPLICATION_QUERY', tags, page, records, queryField],
|
|
17
|
-
() => getAuth0<ResponseList<"Applications", Applications>>('/AACP/Permissions/Applications', {
|
|
18
|
-
pPage: page,
|
|
19
|
-
pRecords: records,
|
|
20
|
-
pSortBy: sortBy,
|
|
21
|
-
pSortDirection: sortDirection ,
|
|
22
|
-
pTerms: tags,
|
|
23
|
-
pQuery: queryField
|
|
24
|
-
}),
|
|
25
|
-
{
|
|
26
|
-
keepPreviousData: true,
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { ExpUsersAnswers, ResponseList } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export interface ExpUsersAnswersProps extends UseQueryOptions<ResponseList<"Users", ExpUsersAnswers>> {
|
|
6
|
-
tags?: string;
|
|
7
|
-
page?: number;
|
|
8
|
-
records?: number;
|
|
9
|
-
queryUser?: string
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const useExpUsersAnswersQueryHook = ({ tags, page, records, queryUser }: ExpUsersAnswersProps) => {
|
|
13
|
-
return useQuery(
|
|
14
|
-
['EXP_USERS_ANSWERS_QUERY', tags, page, records, queryUser],
|
|
15
|
-
() => getAuth0<ResponseList<"Users", ExpUsersAnswers>>('/APE/Analytics/EvaluationCycles/UsersExperimental', {
|
|
16
|
-
pPage: page || 1,
|
|
17
|
-
pRecords: records || 50,
|
|
18
|
-
pTerms: tags,
|
|
19
|
-
pQueryUser: queryUser
|
|
20
|
-
}),
|
|
21
|
-
{
|
|
22
|
-
keepPreviousData: true,
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Permissions } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export const usePermissionIdQueryHook = (Id: string, options?: UseQueryOptions<Permissions, Error>) => {
|
|
6
|
-
return useQuery(
|
|
7
|
-
['PERMISSIONS_ID_QUERY', Id],
|
|
8
|
-
() => getAuth0<Permissions>(`/AACP/Permissions/${Id}`),
|
|
9
|
-
{
|
|
10
|
-
enabled: !!(Id),
|
|
11
|
-
...options,
|
|
12
|
-
},
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Permissions, ResponseList } from "../../../interfaces";
|
|
3
|
-
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
-
|
|
5
|
-
export interface PermissionQuery extends UseQueryOptions<ResponseList<"Permissions", Permissions>> {
|
|
6
|
-
tags?: string;
|
|
7
|
-
page?: number;
|
|
8
|
-
records?: number;
|
|
9
|
-
queryField?: string;
|
|
10
|
-
sortBy?: string;
|
|
11
|
-
sortDirection?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const usePermissionsQuery = ({ tags, page, records, queryField, sortBy, sortDirection }: PermissionQuery) => {
|
|
15
|
-
return useQuery(
|
|
16
|
-
['PERMISSION_QUERY', tags, page, records, queryField],
|
|
17
|
-
() => getAuth0<ResponseList<"Permissions", Permissions>>('/AACP/Permissions', {
|
|
18
|
-
pPage: page,
|
|
19
|
-
pRecords: records,
|
|
20
|
-
pSortBy: sortBy,
|
|
21
|
-
pSortDirection: sortDirection ,
|
|
22
|
-
pTerms: tags,
|
|
23
|
-
pQuery: queryField
|
|
24
|
-
}),
|
|
25
|
-
{
|
|
26
|
-
keepPreviousData: true,
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|