@omniumretail/shared-resources 0.3.85 → 0.3.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +32 -0
- package/dist/bundle.js +1 -0
- package/dist/types/components/BottomDrawer/index.d.ts +9 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/Footer/index.d.ts +3 -0
- package/dist/types/components/Form/FormInputField/index.d.ts +8 -0
- package/dist/types/components/Form/FormSelectField/index.d.ts +9 -0
- package/dist/types/components/Form/index.d.ts +2 -0
- package/dist/types/components/Header/index.d.ts +4 -0
- package/dist/types/components/Link/index.d.ts +6 -0
- package/dist/types/components/Navigation/index.d.ts +8 -0
- package/dist/types/components/Page/index.d.ts +13 -0
- package/dist/types/components/SharedContextProvider/index.d.ts +7 -0
- package/dist/types/components/index.d.ts +9 -0
- package/dist/types/constants/Icons.d.ts +15 -0
- package/dist/types/constants/QueryClient.d.ts +2 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/contexts/useStore.d.ts +8 -0
- package/dist/types/helpers/codeMutation.d.ts +4 -0
- package/dist/types/helpers/date-unix.helper.d.ts +5 -0
- package/dist/types/helpers/getChildrenByType.helper.d.ts +2 -0
- package/dist/types/hooks/ACB/get/getClientBalance.hook.d.ts +7 -0
- package/dist/types/hooks/ACB/mutate/postClientBalance.hook.d.ts +2 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +12 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +14 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +13 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +10 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +8 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +11 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +9 -0
- package/dist/types/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +9 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +13 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +2 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +10 -0
- package/dist/types/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +2 -0
- package/dist/types/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/get/getFlowListQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +14 -0
- package/dist/types/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +4 -0
- package/dist/types/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +4 -0
- package/dist/types/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +17 -0
- package/dist/types/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Anot/get/getNotificationsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Answer/others/openAnswerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Answer/others/showAnswerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +7 -0
- package/dist/types/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +11 -0
- package/dist/types/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +7 -0
- package/dist/types/hooks/AprProduct/get/useProductsQuery.hook.d.ts +144 -0
- package/dist/types/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +12 -0
- package/dist/types/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Asts/get/getProductInfoQuery.hook.d.ts +15 -0
- package/dist/types/hooks/Asts/get/getStockQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Asts/others/postAudioFileQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +12 -0
- package/dist/types/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/get/getProductsListingQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getRfidQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Astt/get/getTransferReportDiff.hook.d.ts +12 -0
- package/dist/types/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +14 -0
- package/dist/types/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +8 -0
- package/dist/types/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +8 -0
- package/dist/types/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +11 -0
- package/dist/types/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +7 -0
- package/dist/types/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +12 -0
- package/dist/types/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/importABWGQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/importRegulationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +2 -0
- package/dist/types/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +11 -0
- package/dist/types/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +7 -0
- package/dist/types/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +1 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +5 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +8 -0
- package/dist/types/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/queue/getQueues.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +9 -0
- package/dist/types/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +12 -0
- package/dist/types/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +13 -0
- package/dist/types/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +7 -0
- package/dist/types/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +8 -0
- package/dist/types/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +10 -0
- package/dist/types/hooks/OSUA/mutate/postEventsRep.hook.d.ts +1 -0
- package/dist/types/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/mutate/postVoucher.hook.d.ts +2 -0
- package/dist/types/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +6 -0
- package/dist/types/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +2 -0
- package/dist/types/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Orch/get/getInstancesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Orch/get/getMacrosQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Orch/get/getMonitoringComponents.hook.d.ts +13 -0
- package/dist/types/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Orch/others/runMacrosQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Orch/others/stopInstanceQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/changePasswordQuery.hook.d.ts +5 -0
- package/dist/types/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/editFieldsByBulkQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/getBellNotificationsQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Others/getNotificationTitleQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Others/getRegulationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/getUserEmailStatusQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +10 -0
- package/dist/types/hooks/Others/oneSignalUserQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/postUserAuthenticationQuery.hook.d.ts +6 -0
- package/dist/types/hooks/Others/postVerifyImageQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/unblockUserQuery.hook.d.ts +1 -0
- package/dist/types/hooks/Others/useApplicationDataQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Others/useContractStatesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCountriesQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCreateNotification.hook.d.ts +7 -0
- package/dist/types/hooks/Others/useCustomersQuery.hook.d.ts +142 -0
- package/dist/types/hooks/Others/useJobTitlesQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/useRegulationQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Others/useTermNotificationQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Roles/get/useAllRolesQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Store/getLocationsByUser.hook.d.ts +13 -0
- package/dist/types/hooks/Store/useAllStoreQuery.hook.d.ts +13 -0
- package/dist/types/hooks/Store/useStoreByCodeQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Store/useStoreQuery.d.ts +7 -0
- package/dist/types/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +7 -0
- package/dist/types/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useApplicationQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +9 -0
- package/dist/types/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Users/get/usePermissionsQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/Users/get/useUserIdQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/get/useUserListQuery.hook.d.ts +11 -0
- package/dist/types/hooks/Users/get/useUserQuery.hook.d.ts +12 -0
- package/dist/types/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +8 -0
- package/dist/types/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +6 -0
- package/dist/types/hooks/Users/others/useUserBlockQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +2 -0
- package/dist/types/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +2 -0
- package/dist/types/hooks/Watson/get/getCloseSession.hook.d.ts +3 -0
- package/dist/types/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +2 -0
- package/dist/types/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +2 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +3 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +11 -0
- package/dist/types/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +8 -0
- package/dist/types/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +434 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/interfaces/Answer.d.ts +13 -0
- package/dist/types/interfaces/Cart.d.ts +11 -0
- package/dist/types/interfaces/Employee.d.ts +14 -0
- package/dist/types/interfaces/Inspection.d.ts +21 -0
- package/dist/types/interfaces/OSUA.d.ts +325 -0
- package/dist/types/interfaces/Responses.d.ts +29 -0
- package/dist/types/interfaces/Template.d.ts +30 -0
- package/dist/types/interfaces/User.d.ts +71 -0
- package/dist/types/services/ApiService/index.d.ts +14 -0
- package/dist/types/services/InitService/index.d.ts +3 -0
- package/package.json +36 -48
- package/src/a2ai.scss +130 -0
- package/src/assets/omniu-retail_branco_s-fundo.png +0 -0
- package/src/assets/sitoo.svg +9 -0
- package/src/components/BottomDrawer/index.tsx +33 -0
- package/src/components/BottomDrawer/styles.module.scss +59 -0
- package/src/components/Button/index.tsx +7 -0
- package/src/components/Footer/index.tsx +44 -0
- package/src/components/Footer/styles.module.scss +33 -0
- package/src/components/Form/FormInputField/index.tsx +18 -0
- package/src/components/Form/FormSelectField/index.tsx +16 -0
- package/src/components/Form/index.ts +2 -0
- package/src/components/Header/index.tsx +20 -0
- package/src/components/Header/styles.module.scss +16 -0
- package/src/components/Link/index.tsx +21 -0
- package/src/components/Link/styles.module.scss +24 -0
- package/src/components/Navigation/index.tsx +30 -0
- package/src/components/Navigation/styles.module.scss +34 -0
- package/src/components/Page/index.tsx +35 -0
- package/src/components/Page/styles.module.scss +26 -0
- package/src/components/SharedContextProvider/index.tsx +30 -0
- package/src/components/index.ts +9 -0
- package/src/constants/Icons.ts +21 -0
- package/src/constants/QueryClient.ts +10 -0
- package/src/constants/index.ts +2 -0
- package/src/contexts/useStore.tsx +20 -0
- package/src/enums/attendence-type.enum.ts +5 -0
- package/src/enums/employees-order.enum.ts +7 -0
- package/src/enums/index.ts +2 -0
- package/src/global.scss +124 -0
- package/src/helpers/codeMutation.tsx +20 -0
- package/src/helpers/date-unix.helper.ts +29 -0
- package/src/helpers/formatted-date.helper.ts +15 -0
- package/src/helpers/getChildrenByType.helper.ts +5 -0
- package/src/helpers/index.ts +4 -0
- package/src/hooks/ACB/get/getClientBalance.hook.ts +20 -0
- package/src/hooks/ACB/mutate/postClientBalance.hook.ts +16 -0
- package/src/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.ts +24 -0
- package/src/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.ts +24 -0
- package/src/hooks/ASAEGNG/get/getCustomersQuery.hook.ts +28 -0
- package/src/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.ts +33 -0
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.ts +38 -0
- package/src/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.ts +52 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.ts +29 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.ts +51 -0
- package/src/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.ts +16 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.ts +36 -0
- package/src/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.ts +28 -0
- package/src/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.ts +27 -0
- package/src/hooks/ATIM/BackOffice/get/useWorkMonths.hook.ts +31 -0
- package/src/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.ts +31 -0
- package/src/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.ts +16 -0
- package/src/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.ts +21 -0
- package/src/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.ts +25 -0
- package/src/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.ts +17 -0
- package/src/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.ts +35 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.ts +16 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.ts +33 -0
- package/src/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.ts +15 -0
- package/src/hooks/Acls/get/getCustomersLoyaltyQuery.hook.ts +22 -0
- package/src/hooks/Acls/get/getVoucherLoyaltyQuery.hook.ts +25 -0
- package/src/hooks/Acls/get/getVoucherSitooQuery.hook.ts +22 -0
- package/src/hooks/Acls/get/getVoucherTemplatesQuery.hook.ts +29 -0
- package/src/hooks/Acls/mutate/postCreateVoucherTemplates.hook.ts +19 -0
- package/src/hooks/Acls/mutate/postSaldoVoucherQuery.hook.ts +21 -0
- package/src/hooks/Acls/mutate/postSalesAssociationQuery.hook.ts +20 -0
- package/src/hooks/Acls/mutate/postVerificationEmailQuery.hook.ts +23 -0
- package/src/hooks/Acls/mutate/postVerificationUserQuery.hook.ts +23 -0
- package/src/hooks/Acls/mutate/postVoucherSitooQuery.hook.ts +21 -0
- package/src/hooks/Acls/mutate/reactivateVoucherQuery.hook.ts +27 -0
- package/src/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.ts +25 -0
- package/src/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.ts +13 -0
- package/src/hooks/Aexp/get/getFlowExecutionQuery.hook.ts +27 -0
- package/src/hooks/Aexp/get/getFlowListByIdQuery.hook.ts +13 -0
- package/src/hooks/Aexp/get/getFlowListQuery.hook.ts +29 -0
- package/src/hooks/Aexp/get/getTagsFlowQuery.hook.ts +11 -0
- package/src/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.ts +17 -0
- package/src/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.ts +18 -0
- package/src/hooks/Aexp/mutate/runFlowExecutionQuery.hook.ts +20 -0
- package/src/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.ts +17 -0
- package/src/hooks/Aexp/mutate/useFlowExecutionQuery.hook.ts +22 -0
- package/src/hooks/Aexp/mutate/validateExecutionFileQuery.hook.ts +15 -0
- package/src/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.ts +32 -0
- package/src/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -0
- package/src/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.ts +23 -0
- package/src/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.ts +21 -0
- package/src/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.ts +32 -0
- package/src/hooks/Analytics/get/useAnalyticsUserQuery.hook.ts +35 -0
- package/src/hooks/Anot/get/getNotificationApplicationsQuery.hook.ts +13 -0
- package/src/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.ts +13 -0
- package/src/hooks/Anot/get/getNotificationHeadersQuery.hook.ts +33 -0
- package/src/hooks/Anot/get/getNotificationLanguagesQuery.hook.ts +15 -0
- package/src/hooks/Anot/get/getNotificationTypeByIdQuery.hook.ts +11 -0
- package/src/hooks/Anot/get/getNotificationsQuery.hook.ts +29 -0
- package/src/hooks/Anot/get/getNotificationsTypeQuery.hook.ts +27 -0
- package/src/hooks/Anot/mutate/useNotificationTypeQuery.hook.ts +18 -0
- package/src/hooks/Answer/get/useAnswerIdQuery.hook.ts +13 -0
- package/src/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.ts +21 -0
- package/src/hooks/Answer/mutate/useAnswerMutateQuery.hook.ts +31 -0
- package/src/hooks/Answer/others/openAnswerQuery.hook.ts +19 -0
- package/src/hooks/Answer/others/postAnswersExportQuery.hook.ts +26 -0
- package/src/hooks/Answer/others/showAnswerQuery.hook.ts +18 -0
- package/src/hooks/AprProduct/get/useProductHierarchies.hook.ts +19 -0
- package/src/hooks/AprProduct/get/useProductRecommendations.hook.ts +27 -0
- package/src/hooks/AprProduct/get/useProductsByRefQuery.hook.ts +18 -0
- package/src/hooks/AprProduct/get/useProductsQuery.hook.ts +46 -0
- package/src/hooks/Aprc/get/getPriceChangePinQuery.hook.ts +16 -0
- package/src/hooks/Aprc/others/postPriceChangePinQuery.hook.ts +19 -0
- package/src/hooks/Aprc/others/sendEmailWithPinQuery.hook.ts +19 -0
- package/src/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.ts +10 -0
- package/src/hooks/Asgt/get/getProductWarningASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getProductsListingASGTQuery.hook.ts +14 -0
- package/src/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getProductsPickedASGTQuery.hook.ts +19 -0
- package/src/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.ts +12 -0
- package/src/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.ts +25 -0
- package/src/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.ts +27 -0
- package/src/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.ts +12 -0
- package/src/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.ts +13 -0
- package/src/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.ts +23 -0
- package/src/hooks/Asgt/get/getTransferReportDiffASGT.hook.ts +17 -0
- package/src/hooks/Asgt/mutate/autoSaveASGTQuery.hook.ts +23 -0
- package/src/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.ts +21 -0
- package/src/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.ts +15 -0
- package/src/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.ts +23 -0
- package/src/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.ts +21 -0
- package/src/hooks/Asgt/mutate/removeProductASGTQuery.hook.ts +15 -0
- package/src/hooks/Ass/get/getAssProductsByRefQuery.hook.ts +23 -0
- package/src/hooks/Ass/get/getAssProductsByStoreQuery.hook.ts +29 -0
- package/src/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.ts +21 -0
- package/src/hooks/Asta/Actions/get/getActionByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Actions/get/getActionPriorityQuery.hook.ts +10 -0
- package/src/hooks/Asta/Actions/get/getActionQuery.hook.ts +29 -0
- package/src/hooks/Asta/Actions/get/getActionStagesQuery.hook.ts +10 -0
- package/src/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Actions/others/archiveActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/deleteActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/extractActionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Actions/others/finishActionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Actions/others/selectActionStatusQuery.hook.ts +18 -0
- package/src/hooks/Asta/Actions/others/startActionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.ts +29 -0
- package/src/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.ts +18 -0
- package/src/hooks/Asta/Answer/others/putAnswerImageQuery.hook.ts +15 -0
- package/src/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.ts +21 -0
- package/src/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.ts +20 -0
- package/src/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.ts +29 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.ts +10 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.ts +10 -0
- package/src/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.ts +19 -0
- package/src/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.ts +17 -0
- package/src/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.ts +18 -0
- package/src/hooks/Asta/Inspection/get/getInspectionQuery.hook.ts +29 -0
- package/src/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.ts +24 -0
- package/src/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/exportInspectionQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/extractTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Inspection/others/finishInspectionQuery.hook.ts +17 -0
- package/src/hooks/Asta/Template/get/getTemplateByIdQuery.hook.ts +15 -0
- package/src/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.ts +10 -0
- package/src/hooks/Asta/Template/get/getTemplateQuery.hook.ts +29 -0
- package/src/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.ts +20 -0
- package/src/hooks/Asta/Template/others/archiveTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/deleteTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/duplicateTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/extractTemplateQuery.hook.ts +19 -0
- package/src/hooks/Asta/Template/others/finishTemplateQuery.hook.ts +17 -0
- package/src/hooks/Asts/get/getProductInfoQuery.hook.ts +19 -0
- package/src/hooks/Asts/get/getStockQuery.hook.ts +21 -0
- package/src/hooks/Asts/others/postAudioFileQuery.hook.ts +14 -0
- package/src/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.ts +10 -0
- package/src/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.ts +14 -0
- package/src/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.ts +19 -0
- package/src/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.ts +27 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.ts +12 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.ts +13 -0
- package/src/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.ts +17 -0
- package/src/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.ts +15 -0
- package/src/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.ts +25 -0
- package/src/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.ts +20 -0
- package/src/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.ts +28 -0
- package/src/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.ts +23 -0
- package/src/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.ts +15 -0
- package/src/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.ts +22 -0
- package/src/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.ts +14 -0
- package/src/hooks/Astt/get/getBarcodesListingQuery.hook.ts +13 -0
- package/src/hooks/Astt/get/getBarcodesPrintQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getDocumentsFindByIdQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getManualPackagesListQuery.hook.ts +20 -0
- package/src/hooks/Astt/get/getProductsListingQuery.hook.ts +14 -0
- package/src/hooks/Astt/get/getReconciliationDocumentsQuery.hook.ts +18 -0
- package/src/hooks/Astt/get/getReportsBuilderQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getRfidQuery.hook.ts +24 -0
- package/src/hooks/Astt/get/getTransferAllProductsQuery.hook.ts +25 -0
- package/src/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.ts +12 -0
- package/src/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.ts +13 -0
- package/src/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.ts +23 -0
- package/src/hooks/Astt/get/getTransferDocumentsQuery.hook.ts +27 -0
- package/src/hooks/Astt/get/getTransferReportDiff.hook.ts +17 -0
- package/src/hooks/Astt/get/getTransferStatesQuery.hook.ts +10 -0
- package/src/hooks/Astt/mutate/deleteManualPackageQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/notifyMissingProductsQuery.hook.ts +36 -0
- package/src/hooks/Astt/mutate/postAsttActionsQuery.hook.ts +18 -0
- package/src/hooks/Astt/mutate/postManualPackageQuery.hook.ts +18 -0
- package/src/hooks/Astt/mutate/postManualTransferQuery.hook.ts +16 -0
- package/src/hooks/Astt/mutate/postMatchingPackageQuery.hook.ts +22 -0
- package/src/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.ts +21 -0
- package/src/hooks/Astt/mutate/updateDocumentIdQuery.hook.ts +23 -0
- package/src/hooks/Astt/mutate/updatePackageIdQuery.hook.ts +25 -0
- package/src/hooks/AsvProduct/get/getProductsByRefQuery.hook.ts +23 -0
- package/src/hooks/AsvProduct/get/getProductsByStoreQuery.hook.ts +29 -0
- package/src/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.ts +21 -0
- package/src/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.ts +29 -0
- package/src/hooks/BigWin/get/getBwgBackOfficeQuery.hook.ts +29 -0
- package/src/hooks/BigWin/get/getMonthsListQuery.hook.ts +10 -0
- package/src/hooks/BigWin/others/importABWGQuery.hook.ts +20 -0
- package/src/hooks/BigWin/others/importRegulationQuery.hook.ts +15 -0
- package/src/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.ts +19 -0
- package/src/hooks/BigWin/others/publishMonthsManagerQuery.hook.ts +19 -0
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.ts +13 -0
- package/src/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.ts +29 -0
- package/src/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.ts +17 -0
- package/src/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/get/getIntegrationByName.hook.ts +19 -0
- package/src/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.ts +25 -0
- package/src/hooks/OSUA/MIMO/get/useErrorHistory.hook.ts +21 -0
- package/src/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.ts +13 -0
- package/src/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.ts +18 -0
- package/src/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.ts +15 -0
- package/src/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.ts +25 -0
- package/src/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.ts +30 -0
- package/src/hooks/OSUA/get/documentos/getGngDocumentos.hook.ts +28 -0
- package/src/hooks/OSUA/get/documentos/getSitooDocumentos.hook.ts +21 -0
- package/src/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.ts +30 -0
- package/src/hooks/OSUA/get/faqs/getFaqsQuery.hook.ts +33 -0
- package/src/hooks/OSUA/get/orders/getOrderDocuments.hook.ts +21 -0
- package/src/hooks/OSUA/get/queue/getQueues.hook.ts +15 -0
- package/src/hooks/OSUA/get/queue/getQueuesMessages.hook.ts +28 -0
- package/src/hooks/OSUA/get/vouchers/getGngVoucher.hook.ts +21 -0
- package/src/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.ts +27 -0
- package/src/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.ts +26 -0
- package/src/hooks/OSUA/get/vouchers/getSitooVouchers.hook.ts +22 -0
- package/src/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.ts +23 -0
- package/src/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.ts +24 -0
- package/src/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.ts +28 -0
- package/src/hooks/OSUA/mutate/postEventsRep.hook.ts +16 -0
- package/src/hooks/OSUA/mutate/postQueuesMessages.hook.ts +21 -0
- package/src/hooks/OSUA/mutate/postVoucher.hook.ts +16 -0
- package/src/hooks/OSUA/mutate/putBalanceVouchers.hook.ts +25 -0
- package/src/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.ts +21 -0
- package/src/hooks/Orch/get/getAuth0ConfigQuery.hook.ts +11 -0
- package/src/hooks/Orch/get/getInstanceByIdQuery.hook.ts +14 -0
- package/src/hooks/Orch/get/getInstancesQuery.hook.ts +27 -0
- package/src/hooks/Orch/get/getMacrosInstancesQuery.hook.ts +19 -0
- package/src/hooks/Orch/get/getMacrosQuery.hook.ts +27 -0
- package/src/hooks/Orch/get/getMacrosUserQuery.hook.ts +11 -0
- package/src/hooks/Orch/get/getMonitoringComponents.hook.ts +29 -0
- package/src/hooks/Orch/others/reprocessingInstanceQuery.hook.ts +14 -0
- package/src/hooks/Orch/others/runMacrosQuery.hook.ts +23 -0
- package/src/hooks/Orch/others/stopInstanceQuery.hook.ts +16 -0
- package/src/hooks/Orch/others/updateMacroStatusQuery.hook.ts +23 -0
- package/src/hooks/Others/Vacation/get/getVacationPlanQuery.hook.ts +20 -0
- package/src/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.ts +11 -0
- package/src/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.ts +23 -0
- package/src/hooks/Others/Vacation/others/postVacationPlanQuery.hook.ts +20 -0
- package/src/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.ts +25 -0
- package/src/hooks/Others/changePasswordQuery.hook.ts +21 -0
- package/src/hooks/Others/editAllBellNotificationsStatusQuery.hook.ts +19 -0
- package/src/hooks/Others/editBellNotificationsStatusQuery.hook.ts +22 -0
- package/src/hooks/Others/editFieldsByBulkQuery.hook.ts +15 -0
- package/src/hooks/Others/getBellNotificationsQuery.hook.ts +28 -0
- package/src/hooks/Others/getNotificationTitleQuery.hook.ts +19 -0
- package/src/hooks/Others/getRegulationQuery.hook.ts +14 -0
- package/src/hooks/Others/getUserEmailStatusQuery.hook.ts +21 -0
- package/src/hooks/Others/getWeeklyWorkloadQuery.hook.ts +23 -0
- package/src/hooks/Others/oneSignalUserQuery.hook.ts +14 -0
- package/src/hooks/Others/postCheckoutsMutateQuery.hook.ts +15 -0
- package/src/hooks/Others/postUserAuthenticationQuery.hook.ts +19 -0
- package/src/hooks/Others/postVerifyImageQuery.hook.ts +15 -0
- package/src/hooks/Others/unblockUserQuery.hook.ts +14 -0
- package/src/hooks/Others/useApplicationDataQuery.hook.ts +10 -0
- package/src/hooks/Others/useContractStatesQuery.hook.ts +15 -0
- package/src/hooks/Others/useCountriesQuery.hook.ts +15 -0
- package/src/hooks/Others/useCreateNotification.hook.ts +24 -0
- package/src/hooks/Others/useCustomersQuery.hook.ts +40 -0
- package/src/hooks/Others/useJobTitlesQuery.hook.ts +17 -0
- package/src/hooks/Others/useRegulationQuery.hook.ts +24 -0
- package/src/hooks/Others/useTermNotificationQuery.hook.ts +11 -0
- package/src/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.ts +13 -0
- package/src/hooks/Questionnaire/get/useQuestionnaireQuery.hook.ts +29 -0
- package/src/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.ts +17 -0
- package/src/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.ts +15 -0
- package/src/hooks/Roles/get/useAllRolesQuery.hook.ts +30 -0
- package/src/hooks/Store/getLocationsByUser.hook.ts +37 -0
- package/src/hooks/Store/useAllStoreQuery.hook.ts +37 -0
- package/src/hooks/Store/useStoreByCodeQuery.hook.ts +21 -0
- package/src/hooks/Store/useStoreQuery.ts +13 -0
- package/src/hooks/Users/get/getUserAndSupervisorQuery.hook.ts +21 -0
- package/src/hooks/Users/get/getUsersReadmissionQuery.hook.ts +27 -0
- package/src/hooks/Users/get/useApplicationQuery.hook.ts +29 -0
- package/src/hooks/Users/get/useExpUsersAnswersQuery.hook.ts +25 -0
- package/src/hooks/Users/get/usePermissionByIdQuery.hook.ts +15 -0
- package/src/hooks/Users/get/usePermissionsQuery.hook.ts +29 -0
- package/src/hooks/Users/get/useSingleUserIdQuery.hook.ts +15 -0
- package/src/hooks/Users/get/useUserIdQuery.hook.ts +14 -0
- package/src/hooks/Users/get/useUserListQuery.hook.ts +27 -0
- package/src/hooks/Users/get/useUserQuery.hook.ts +31 -0
- package/src/hooks/Users/mutate/deletePermissionMutateQuery.hook.ts +15 -0
- package/src/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.ts +18 -0
- package/src/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.ts +17 -0
- package/src/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.ts +27 -0
- package/src/hooks/Users/others/useSingleUserResetPassword.hook.ts +18 -0
- package/src/hooks/Users/others/useUserBlockQuery.hook.ts +15 -0
- package/src/hooks/Users/others/useUserEmailVerifQuery.hook.ts +15 -0
- package/src/hooks/Users/others/useUserResetPassByEmail.hook.ts +14 -0
- package/src/hooks/Watson/get/getCloseSession.hook.ts +15 -0
- package/src/hooks/Watson/mutate/mutateCloseSession.hook.ts +18 -0
- package/src/hooks/Watson/mutate/mutateNotificationRequest.hook.ts +18 -0
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.ts +15 -0
- package/src/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.ts +27 -0
- package/src/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.ts +28 -0
- package/src/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.ts +18 -0
- package/src/hooks/index.ts +505 -0
- package/src/index.ts +12 -0
- package/src/interfaces/ACB.ts +21 -0
- package/src/interfaces/ASAECustomer.ts +28 -0
- package/src/interfaces/Acls.ts +84 -0
- package/src/interfaces/Actions.ts +20 -0
- package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -0
- package/src/interfaces/AnalyticsUserId.ts +14 -0
- package/src/interfaces/Anot.ts +79 -0
- package/src/interfaces/Answer.ts +14 -0
- package/src/interfaces/AnswerType.ts +22 -0
- package/src/interfaces/AnswersUserSupervisor.ts +45 -0
- package/src/interfaces/ApplicationsByCategory.ts +19 -0
- package/src/interfaces/AstaQuestions.ts +10 -0
- package/src/interfaces/AstsStock.ts +17 -0
- package/src/interfaces/AstsStockInfo.ts +14 -0
- package/src/interfaces/AsttReconciliationDocuments.ts +32 -0
- package/src/interfaces/AsvProductsByReference.ts +14 -0
- package/src/interfaces/AsvProductsByStore.ts +13 -0
- package/src/interfaces/AsvProductsStockDetails.ts +20 -0
- package/src/interfaces/Atim.ts +123 -0
- package/src/interfaces/AtimScheduling.ts +64 -0
- package/src/interfaces/AttendanceIssues.ts +20 -0
- package/src/interfaces/Auth0Config.ts +6 -0
- package/src/interfaces/BellNotification.ts +17 -0
- package/src/interfaces/Brand.ts +5 -0
- package/src/interfaces/Bulk.ts +11 -0
- package/src/interfaces/Bwg.ts +25 -0
- package/src/interfaces/Cart.ts +14 -0
- package/src/interfaces/Checkout.ts +15 -0
- package/src/interfaces/Configuration.ts +8 -0
- package/src/interfaces/ContractStates.ts +7 -0
- package/src/interfaces/Countries.ts +10 -0
- package/src/interfaces/CreateNotification.ts +18 -0
- package/src/interfaces/Customer.ts +23 -0
- package/src/interfaces/CustomerHistory.ts +11 -0
- package/src/interfaces/CustomerVoucher.ts +12 -0
- package/src/interfaces/Employee.ts +18 -0
- package/src/interfaces/EvaluationCycle.ts +34 -0
- package/src/interfaces/ExpUsersAnswers.ts +16 -0
- package/src/interfaces/FlowExecution.ts +33 -0
- package/src/interfaces/FlowList.ts +32 -0
- package/src/interfaces/GetMonths.ts +8 -0
- package/src/interfaces/Inspection.ts +22 -0
- package/src/interfaces/Instances.ts +25 -0
- package/src/interfaces/JobTitles.ts +7 -0
- package/src/interfaces/MIMO.ts +19 -0
- package/src/interfaces/MacroInstance.ts +11 -0
- package/src/interfaces/Macros.ts +19 -0
- package/src/interfaces/MonitoringComponent.ts +6 -0
- package/src/interfaces/NotificationTitle.ts +8 -0
- package/src/interfaces/OSUA.ts +364 -0
- package/src/interfaces/Permissions.ts +16 -0
- package/src/interfaces/PriceChange.ts +7 -0
- package/src/interfaces/Product.ts +17 -0
- package/src/interfaces/ProductsHierarchies.ts +6 -0
- package/src/interfaces/ProductsPickedTransfers.ts +13 -0
- package/src/interfaces/Questionnaire.ts +39 -0
- package/src/interfaces/ReasonCodes.ts +9 -0
- package/src/interfaces/ReportBuilder.ts +5 -0
- package/src/interfaces/ResponseList.ts +7 -0
- package/src/interfaces/Responses.ts +50 -0
- package/src/interfaces/Rfid.ts +10 -0
- package/src/interfaces/Roles.ts +5 -0
- package/src/interfaces/Store.ts +35 -0
- package/src/interfaces/TagsFlow.ts +5 -0
- package/src/interfaces/Template.ts +33 -0
- package/src/interfaces/TermNotification.ts +6 -0
- package/src/interfaces/TimeKeeping.ts +7 -0
- package/src/interfaces/TransferAllProducts.ts +39 -0
- package/src/interfaces/TransferDocumentState.ts +5 -0
- package/src/interfaces/TransferDocuments.ts +62 -0
- package/src/interfaces/TransferPackage.ts +19 -0
- package/src/interfaces/TransferPickProducts.ts +34 -0
- package/src/interfaces/TransferReportDiff.ts +9 -0
- package/src/interfaces/TransferStates.ts +8 -0
- package/src/interfaces/User.ts +75 -0
- package/src/interfaces/UserAuthentication.ts +7 -0
- package/src/interfaces/UserEmailStatus.ts +14 -0
- package/src/interfaces/VacationPlan.ts +13 -0
- package/src/interfaces/VerifyImage.ts +49 -0
- package/src/interfaces/VerifyUser.ts +5 -0
- package/src/interfaces/Watson.ts +76 -0
- package/src/interfaces/Workload.ts +8 -0
- package/src/interfaces/index.ts +81 -0
- package/src/services/ApiService/index.ts +185 -0
- package/src/services/InitService/index.ts +7 -0
- package/src/services/index.ts +3 -0
- package/src/types/Global.d.ts +4 -0
- package/tsconfig.json +27 -0
- package/webpack.config.js +60 -0
- package/dist/components/SharedContextProvider/index.d.ts +0 -8
- package/dist/components/index.d.ts +0 -1
- package/dist/constants/QueryClient.d.ts +0 -3
- package/dist/constants/index.d.ts +0 -1
- package/dist/contexts/useStore.d.ts +0 -9
- package/dist/helpers/codeMutation.d.ts +0 -4
- package/dist/helpers/date-unix.helper.d.ts +0 -6
- package/dist/helpers/getChildrenByType.helper.d.ts +0 -3
- package/dist/hooks/ACB/get/getClientBalance.hook.d.ts +0 -8
- package/dist/hooks/ACB/mutate/postClientBalance.hook.d.ts +0 -3
- package/dist/hooks/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +0 -11
- package/dist/hooks/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +0 -11
- package/dist/hooks/ASAEGNG/get/getCustomersQuery.hook.d.ts +0 -13
- package/dist/hooks/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +0 -14
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +0 -14
- package/dist/hooks/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +0 -11
- package/dist/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +0 -9
- package/dist/hooks/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +0 -12
- package/dist/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +0 -10
- package/dist/hooks/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +0 -10
- package/dist/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +0 -3
- package/dist/hooks/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +0 -14
- package/dist/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +0 -3
- package/dist/hooks/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +0 -11
- package/dist/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +0 -3
- package/dist/hooks/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherSitooQuery.hook.d.ts +0 -9
- package/dist/hooks/Acls/get/getVoucherTemplatesQuery.hook.d.ts +0 -10
- package/dist/hooks/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +0 -3
- package/dist/hooks/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postSalesAssociationQuery.hook.d.ts +0 -7
- package/dist/hooks/Acls/mutate/postVerificationEmailQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postVerificationUserQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/postVoucherSitooQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/reactivateVoucherQuery.hook.d.ts +0 -8
- package/dist/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +0 -3
- package/dist/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/get/getFlowExecutionQuery.hook.d.ts +0 -13
- package/dist/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/get/getFlowListQuery.hook.d.ts +0 -14
- package/dist/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +0 -4
- package/dist/hooks/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +0 -3
- package/dist/hooks/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +0 -3
- package/dist/hooks/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +0 -14
- package/dist/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +0 -8
- package/dist/hooks/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +0 -10
- package/dist/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +0 -8
- package/dist/hooks/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +0 -14
- package/dist/hooks/Analytics/get/useAnalyticsUserQuery.hook.d.ts +0 -15
- package/dist/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +0 -5
- package/dist/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +0 -5
- package/dist/hooks/Anot/get/getNotificationHeadersQuery.hook.d.ts +0 -18
- package/dist/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +0 -7
- package/dist/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Anot/get/getNotificationsQuery.hook.d.ts +0 -14
- package/dist/hooks/Anot/get/getNotificationsTypeQuery.hook.d.ts +0 -13
- package/dist/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +0 -8
- package/dist/hooks/Answer/mutate/useAnswerMutateQuery.hook.d.ts +0 -10
- package/dist/hooks/Answer/others/openAnswerQuery.hook.d.ts +0 -3
- package/dist/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +0 -9
- package/dist/hooks/Answer/others/showAnswerQuery.hook.d.ts +0 -3
- package/dist/hooks/AprProduct/get/useProductHierarchies.hook.d.ts +0 -8
- package/dist/hooks/AprProduct/get/useProductRecommendations.hook.d.ts +0 -12
- package/dist/hooks/AprProduct/get/useProductsByRefQuery.hook.d.ts +0 -8
- package/dist/hooks/AprProduct/get/useProductsQuery.hook.d.ts +0 -145
- package/dist/hooks/Aprc/get/getPriceChangePinQuery.hook.d.ts +0 -6
- package/dist/hooks/Aprc/others/postPriceChangePinQuery.hook.d.ts +0 -7
- package/dist/hooks/Aprc/others/sendEmailWithPinQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +0 -3
- package/dist/hooks/Asgt/get/getProductWarningASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getProductsListingASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +0 -11
- package/dist/hooks/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +0 -12
- package/dist/hooks/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +0 -4
- package/dist/hooks/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +0 -10
- package/dist/hooks/Asgt/get/getTransferReportDiffASGT.hook.d.ts +0 -13
- package/dist/hooks/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +0 -8
- package/dist/hooks/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asgt/mutate/removeProductASGTQuery.hook.d.ts +0 -3
- package/dist/hooks/Ass/get/getAssProductsByRefQuery.hook.d.ts +0 -9
- package/dist/hooks/Ass/get/getAssProductsByStoreQuery.hook.d.ts +0 -12
- package/dist/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +0 -8
- package/dist/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/get/getActionQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/archiveActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/deleteActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/extractActionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/get/getInspectionQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/get/getTemplateQuery.hook.d.ts +0 -12
- package/dist/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asta/Template/others/archiveTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/deleteTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/extractTemplateQuery.hook.d.ts +0 -7
- package/dist/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +0 -3
- package/dist/hooks/Asts/get/getProductInfoQuery.hook.d.ts +0 -16
- package/dist/hooks/Asts/get/getStockQuery.hook.d.ts +0 -8
- package/dist/hooks/Asts/others/postAudioFileQuery.hook.d.ts +0 -1
- package/dist/hooks/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +0 -13
- package/dist/hooks/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +0 -9
- package/dist/hooks/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +0 -6
- package/dist/hooks/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getBarcodesListingQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getBarcodesPrintQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getManualPackagesListQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/get/getProductsListingQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/get/getReportsBuilderQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getRfidQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/get/getTransferAllProductsQuery.hook.d.ts +0 -11
- package/dist/hooks/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +0 -4
- package/dist/hooks/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +0 -10
- package/dist/hooks/Astt/get/getTransferDocumentsQuery.hook.d.ts +0 -12
- package/dist/hooks/Astt/get/getTransferReportDiff.hook.d.ts +0 -13
- package/dist/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/deleteManualPackageQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +0 -15
- package/dist/hooks/Astt/mutate/postAsttActionsQuery.hook.d.ts +0 -1
- package/dist/hooks/Astt/mutate/postManualPackageQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/postManualTransferQuery.hook.d.ts +0 -3
- package/dist/hooks/Astt/mutate/postMatchingPackageQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +0 -7
- package/dist/hooks/Astt/mutate/updateDocumentIdQuery.hook.d.ts +0 -8
- package/dist/hooks/Astt/mutate/updatePackageIdQuery.hook.d.ts +0 -9
- package/dist/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +0 -9
- package/dist/hooks/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +0 -12
- package/dist/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +0 -8
- package/dist/hooks/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +0 -13
- package/dist/hooks/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +0 -13
- package/dist/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/importABWGQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/importRegulationQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +0 -3
- package/dist/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +0 -12
- package/dist/hooks/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +0 -7
- package/dist/hooks/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +0 -10
- package/dist/hooks/OSUA/MIMO/get/useErrorHistory.hook.d.ts +0 -8
- package/dist/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +0 -1
- package/dist/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +0 -5
- package/dist/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +0 -3
- package/dist/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +0 -7
- package/dist/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +0 -9
- package/dist/hooks/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +0 -11
- package/dist/hooks/OSUA/get/faqs/getFaqsQuery.hook.d.ts +0 -12
- package/dist/hooks/OSUA/get/orders/getOrderDocuments.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/queue/getQueues.hook.d.ts +0 -3
- package/dist/hooks/OSUA/get/queue/getQueuesMessages.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/vouchers/getGngVoucher.hook.d.ts +0 -10
- package/dist/hooks/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +0 -13
- package/dist/hooks/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +0 -14
- package/dist/hooks/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +0 -8
- package/dist/hooks/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +0 -9
- package/dist/hooks/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +0 -11
- package/dist/hooks/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +0 -11
- package/dist/hooks/OSUA/mutate/postEventsRep.hook.d.ts +0 -1
- package/dist/hooks/OSUA/mutate/postQueuesMessages.hook.d.ts +0 -7
- package/dist/hooks/OSUA/mutate/postVoucher.hook.d.ts +0 -3
- package/dist/hooks/OSUA/mutate/putBalanceVouchers.hook.d.ts +0 -7
- package/dist/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +0 -3
- package/dist/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +0 -3
- package/dist/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Orch/get/getInstancesQuery.hook.d.ts +0 -13
- package/dist/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +0 -9
- package/dist/hooks/Orch/get/getMacrosQuery.hook.d.ts +0 -13
- package/dist/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +0 -4
- package/dist/hooks/Orch/get/getMonitoringComponents.hook.d.ts +0 -14
- package/dist/hooks/Orch/others/reprocessingInstanceQuery.hook.d.ts +0 -1
- package/dist/hooks/Orch/others/runMacrosQuery.hook.d.ts +0 -7
- package/dist/hooks/Orch/others/stopInstanceQuery.hook.d.ts +0 -1
- package/dist/hooks/Orch/others/updateMacroStatusQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +0 -9
- package/dist/hooks/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/changePasswordQuery.hook.d.ts +0 -5
- package/dist/hooks/Others/editAllBellNotificationsStatusQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/editBellNotificationsStatusQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/editFieldsByBulkQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/getBellNotificationsQuery.hook.d.ts +0 -14
- package/dist/hooks/Others/getNotificationTitleQuery.hook.d.ts +0 -9
- package/dist/hooks/Others/getRegulationQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/getUserEmailStatusQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/getWeeklyWorkloadQuery.hook.d.ts +0 -11
- package/dist/hooks/Others/oneSignalUserQuery.hook.d.ts +0 -1
- package/dist/hooks/Others/postCheckoutsMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/postUserAuthenticationQuery.hook.d.ts +0 -7
- package/dist/hooks/Others/postVerifyImageQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/unblockUserQuery.hook.d.ts +0 -1
- package/dist/hooks/Others/useApplicationDataQuery.hook.d.ts +0 -3
- package/dist/hooks/Others/useContractStatesQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/useCountriesQuery.hook.d.ts +0 -8
- package/dist/hooks/Others/useCreateNotification.hook.d.ts +0 -8
- package/dist/hooks/Others/useCustomersQuery.hook.d.ts +0 -143
- package/dist/hooks/Others/useJobTitlesQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/useRegulationQuery.hook.d.ts +0 -10
- package/dist/hooks/Others/useTermNotificationQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +0 -12
- package/dist/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +0 -3
- package/dist/hooks/Roles/get/useAllRolesQuery.hook.d.ts +0 -13
- package/dist/hooks/Store/getLocationsByUser.hook.d.ts +0 -14
- package/dist/hooks/Store/useAllStoreQuery.hook.d.ts +0 -14
- package/dist/hooks/Store/useStoreByCodeQuery.hook.d.ts +0 -9
- package/dist/hooks/Store/useStoreQuery.d.ts +0 -8
- package/dist/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +0 -8
- package/dist/hooks/Users/get/getUsersReadmissionQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useApplicationQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useExpUsersAnswersQuery.hook.d.ts +0 -10
- package/dist/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Users/get/usePermissionsQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +0 -4
- package/dist/hooks/Users/get/useUserIdQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/get/useUserListQuery.hook.d.ts +0 -12
- package/dist/hooks/Users/get/useUserQuery.hook.d.ts +0 -13
- package/dist/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +0 -9
- package/dist/hooks/Users/others/useSingleUserResetPassword.hook.d.ts +0 -7
- package/dist/hooks/Users/others/useUserBlockQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +0 -3
- package/dist/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +0 -3
- package/dist/hooks/Watson/get/getCloseSession.hook.d.ts +0 -4
- package/dist/hooks/Watson/mutate/mutateCloseSession.hook.d.ts +0 -3
- package/dist/hooks/Watson/mutate/mutateNotificationRequest.hook.d.ts +0 -3
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +0 -4
- package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +0 -12
- package/dist/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +0 -9
- package/dist/hooks/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +0 -3
- package/dist/hooks/index.d.ts +0 -434
- package/dist/index.d.ts +0 -7
- package/dist/interfaces/Answer.d.ts +0 -14
- package/dist/interfaces/Cart.d.ts +0 -12
- package/dist/interfaces/Employee.d.ts +0 -15
- package/dist/interfaces/Inspection.d.ts +0 -22
- package/dist/interfaces/OSUA.d.ts +0 -324
- package/dist/interfaces/Responses.d.ts +0 -30
- package/dist/interfaces/Template.d.ts +0 -31
- package/dist/interfaces/User.d.ts +0 -72
- package/dist/services/ApiService/index.d.ts +0 -14
- package/dist/services/InitService/index.d.ts +0 -4
- package/dist/shared-resources.es.js +0 -4780
- package/dist/shared-resources.umd.js +0 -2
- /package/dist/{enums → types/enums}/attendence-type.enum.d.ts +0 -0
- /package/dist/{enums → types/enums}/employees-order.enum.d.ts +0 -0
- /package/dist/{enums → types/enums}/index.d.ts +0 -0
- /package/dist/{helpers → types/helpers}/formatted-date.helper.d.ts +0 -0
- /package/dist/{helpers → types/helpers}/index.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ACB.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ASAECustomer.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Acls.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Actions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnalyticsEvaluationCycle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnalyticsUserId.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Anot.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnswerType.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AnswersUserSupervisor.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ApplicationsByCategory.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstaQuestions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstsStock.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AstsStockInfo.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsttReconciliationDocuments.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsByReference.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsByStore.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AsvProductsStockDetails.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Atim.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AtimScheduling.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/AttendanceIssues.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Auth0Config.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/BellNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Brand.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Bulk.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Bwg.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Checkout.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Configuration.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ContractStates.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Countries.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CreateNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Customer.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CustomerHistory.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/CustomerVoucher.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/EvaluationCycle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ExpUsersAnswers.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/FlowExecution.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/FlowList.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/GetMonths.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Instances.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/JobTitles.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MIMO.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MacroInstance.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Macros.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/MonitoringComponent.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/NotificationTitle.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Permissions.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/PriceChange.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Product.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ProductsHierarchies.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ProductsPickedTransfers.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Questionnaire.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ReasonCodes.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ReportBuilder.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/ResponseList.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Rfid.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Roles.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Store.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TagsFlow.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TermNotification.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TimeKeeping.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferAllProducts.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferDocumentState.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferDocuments.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferPackage.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferPickProducts.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferReportDiff.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/TransferStates.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/UserAuthentication.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/UserEmailStatus.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VacationPlan.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VerifyImage.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/VerifyUser.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Watson.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/Workload.d.ts +0 -0
- /package/dist/{interfaces → types/interfaces}/index.d.ts +0 -0
- /package/dist/{services → types/services}/index.d.ts +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { get } from "../../../../services/ApiService";
|
|
3
|
+
import { DocumentGng, ResponseList } from "../../../../interfaces";
|
|
4
|
+
|
|
5
|
+
interface GetGNGDocumentosProps
|
|
6
|
+
extends UseQueryOptions<ResponseList<"Documents", DocumentGng>> {
|
|
7
|
+
page?: number;
|
|
8
|
+
records?: number;
|
|
9
|
+
query?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const getGngDocumentos = ({
|
|
13
|
+
page,
|
|
14
|
+
records,
|
|
15
|
+
query,
|
|
16
|
+
...options
|
|
17
|
+
}: GetGNGDocumentosProps) => {
|
|
18
|
+
return useQuery(
|
|
19
|
+
["GNG_DOCUMENTOS", page, records, query],
|
|
20
|
+
() =>
|
|
21
|
+
get<ResponseList<"Documents", DocumentGng>>("/GNG/Document/Documents", {
|
|
22
|
+
pPage: page || 1,
|
|
23
|
+
pRecords: records || 50,
|
|
24
|
+
pQuery: query,
|
|
25
|
+
}),
|
|
26
|
+
options
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { get } from "../../../../services/ApiService";
|
|
3
|
+
import { ResponseList, DocumentSitoo } from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
interface GetSitooDocumentosProps extends UseQueryOptions<ResponseList<"Items", DocumentSitoo>> {
|
|
6
|
+
fields?: string;
|
|
7
|
+
externalid?: string;
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const getSitooDocumentos = ({ fields, externalid, ...options}: GetSitooDocumentosProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['SITOO_DOCUMENTOS', fields, externalid],
|
|
14
|
+
() => get<ResponseList<"Items", DocumentSitoo>>('/Sitoo/Orders', {
|
|
15
|
+
pFields: fields || "externalid,orderid",
|
|
16
|
+
pExternalid: externalid ,
|
|
17
|
+
|
|
18
|
+
}),
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { get } from "../../../../services/ApiService";
|
|
3
|
+
import { ResponseList, DocumentErrorEvent} from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
interface GetSitooErrorEventsProps extends UseQueryOptions<ResponseList<"Events", DocumentErrorEvent>> {
|
|
7
|
+
page?: number;
|
|
8
|
+
records?: number;
|
|
9
|
+
sortBy?: string;
|
|
10
|
+
sortDirection?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const getSitooErrorEvents = ({
|
|
14
|
+
page,
|
|
15
|
+
records,
|
|
16
|
+
sortBy,
|
|
17
|
+
sortDirection,
|
|
18
|
+
...options
|
|
19
|
+
}: GetSitooErrorEventsProps) => {
|
|
20
|
+
return useQuery(
|
|
21
|
+
['SITOO_ERROR_EVENTS', page, records, sortBy, sortDirection],
|
|
22
|
+
() => get<ResponseList<"Events", DocumentErrorEvent>>('/Sitoo/Document/Events/Error', {
|
|
23
|
+
pPage: page,
|
|
24
|
+
pRecords: records,
|
|
25
|
+
pSortBy: sortBy || "EventDate",
|
|
26
|
+
pSortDirection: sortDirection || "desc",
|
|
27
|
+
}),
|
|
28
|
+
options
|
|
29
|
+
);
|
|
30
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
3
|
+
import {ResponseList, Section } from "../../../../interfaces"; // Assuming Section is in the interfaces
|
|
4
|
+
|
|
5
|
+
interface GetSectionProps extends UseQueryOptions<ResponseList< "Sections", Section>> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
sortDirection?: string;
|
|
10
|
+
terms?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const getFaqsQuery = ({
|
|
14
|
+
page,
|
|
15
|
+
records,
|
|
16
|
+
sortBy,
|
|
17
|
+
sortDirection,
|
|
18
|
+
terms,
|
|
19
|
+
...options
|
|
20
|
+
}: GetSectionProps) => {
|
|
21
|
+
return useQuery(
|
|
22
|
+
["FAQS_DATA", page, records, sortBy, sortDirection, terms],
|
|
23
|
+
() =>
|
|
24
|
+
getAuth0<ResponseList< "Sections", Section>>("/OSUA/Pages", {
|
|
25
|
+
pPage: page || 1,
|
|
26
|
+
pRecords: records || 10,
|
|
27
|
+
pSortBy: sortBy || "Title",
|
|
28
|
+
pSortDirection: sortDirection || "asc",
|
|
29
|
+
pTerms: terms,
|
|
30
|
+
}),
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { get } from '../../../../services/ApiService';
|
|
3
|
+
import { DocumentGng , ResponseList} from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
interface GetGNGDocumentosOrderProps extends UseQueryOptions<ResponseList<"Documents", DocumentGng>> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
query?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const getOrderDocuments = ({ page, records , query, ...options }: GetGNGDocumentosOrderProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['GNG_DOCUMENTOS', page, records, query],
|
|
14
|
+
() => get<ResponseList<"Documents", DocumentGng>>('/GNG/Document/Documents/In', {
|
|
15
|
+
pPage: page || 1,
|
|
16
|
+
pRecords: records || 50,
|
|
17
|
+
pQuery: query,
|
|
18
|
+
}),
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useQuery } from "@tanstack/react-query";
|
|
2
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
3
|
+
import { ResponseList, Queues } from "../../../../interfaces";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const getQueues = () => {
|
|
7
|
+
return useQuery(
|
|
8
|
+
['OSUA_QUEUES'],
|
|
9
|
+
() => getAuth0<ResponseList<"QueueConfigurations", Queues>>('/OSUA/Queues'),
|
|
10
|
+
{
|
|
11
|
+
enabled: true,
|
|
12
|
+
retry: 1
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
3
|
+
import { ResponseList, QueuesMessages} from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface GetQueuesMessagesProps extends UseQueryOptions<ResponseList<"Messages", QueuesMessages>> {
|
|
8
|
+
id?: string;
|
|
9
|
+
page?: number;
|
|
10
|
+
records?: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const getQueuesMessages = ({
|
|
14
|
+
id,
|
|
15
|
+
page,
|
|
16
|
+
records,
|
|
17
|
+
...options
|
|
18
|
+
}: GetQueuesMessagesProps) => {
|
|
19
|
+
return useQuery(
|
|
20
|
+
['OSUA_QUEUES_MESSAGES', id, page, records],
|
|
21
|
+
() => getAuth0<ResponseList<"Messages", QueuesMessages>>(`/OSUA/Queues/Messages`, {
|
|
22
|
+
pPage: page,
|
|
23
|
+
pRecords: records,
|
|
24
|
+
pQueueName: id
|
|
25
|
+
}),
|
|
26
|
+
options
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { get } from "../../../../services/ApiService";
|
|
3
|
+
import { ResponseList, GiftCards } from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
interface GetGNGVoucherProps extends UseQueryOptions<ResponseList<"GiftCards", GiftCards>> {
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
query?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const getGNGVoucher = ({ page, records, query, ...options}: GetGNGVoucherProps) => {
|
|
12
|
+
return useQuery(
|
|
13
|
+
['GNG_VOUCHER', page, records, query],
|
|
14
|
+
() => get<ResponseList<"GiftCards", GiftCards>>('/GNG/Document/GiftCards', {
|
|
15
|
+
pPage: page || 1,
|
|
16
|
+
pRecords: records || 50,
|
|
17
|
+
pQuery: query
|
|
18
|
+
}),
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { ResponseList, GiftCards } from '../../../../interfaces';
|
|
3
|
+
import { getAuth0 } from '../../../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
interface GetOsuaVoucherProps extends UseQueryOptions<ResponseList<"Vouchers", GiftCards>> {
|
|
6
|
+
page: number;
|
|
7
|
+
records: number;
|
|
8
|
+
sortBy: string;
|
|
9
|
+
sortDirection: string;
|
|
10
|
+
terms?: string;
|
|
11
|
+
query?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const getOsuaVoucher = ({ page, records, sortBy, sortDirection, terms, query, ...options }: GetOsuaVoucherProps) => {
|
|
15
|
+
return useQuery(
|
|
16
|
+
['OSUA_VOUCHER', page, records, sortBy, sortDirection, terms, query, options],
|
|
17
|
+
() => getAuth0<ResponseList<"Vouchers", GiftCards>>('/OSUA/Vouchers', {
|
|
18
|
+
pPage: page || 1,
|
|
19
|
+
pRecords: records || 50,
|
|
20
|
+
pSortBy: sortBy || "Name",
|
|
21
|
+
pSortDirection: sortDirection || "asc",
|
|
22
|
+
pTerms: terms || "",
|
|
23
|
+
pQuery: query || ""
|
|
24
|
+
}),
|
|
25
|
+
options
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { getAuth0 } from "../../../../services/ApiService";
|
|
3
|
+
|
|
4
|
+
interface OsuaVoucher { Id: string;}
|
|
5
|
+
interface OsuaError { Code: string; Message: string;}
|
|
6
|
+
|
|
7
|
+
interface GetSalesNumberOsuaProps extends UseQueryOptions<OsuaVoucher, OsuaError> {
|
|
8
|
+
pGiftCardNumber?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export const getSalesNumberOsua = ({ pGiftCardNumber, ...options }: GetSalesNumberOsuaProps) => {
|
|
13
|
+
return useQuery<OsuaVoucher, OsuaError>(
|
|
14
|
+
['SALES_NUMBER_OSUA_VOUCHERS', pGiftCardNumber],
|
|
15
|
+
() =>
|
|
16
|
+
|
|
17
|
+
getAuth0<OsuaVoucher>('/GNG/Document/Documents/findByGiftCardNumber', {
|
|
18
|
+
pGiftCardNumber: pGiftCardNumber,
|
|
19
|
+
}),
|
|
20
|
+
{
|
|
21
|
+
...options,
|
|
22
|
+
retry: false,
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { getBasic } from "../../../../services/ApiService";
|
|
3
|
+
import { SitooVoucher } from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
interface GetSitooVouchersProps extends UseQueryOptions<SitooVoucher>{
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const getSitooVouchers = ({ id, ...options }: GetSitooVouchersProps) => {
|
|
10
|
+
return useQuery(
|
|
11
|
+
['SITOO_VOUCHERS', id],
|
|
12
|
+
|
|
13
|
+
() => getBasic<SitooVoucher>(`/GNG/GiftCard/SPIGiftCard/giftcards/${id}.json`),
|
|
14
|
+
{
|
|
15
|
+
...options,
|
|
16
|
+
retry: false,
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { get } from "../../../../services/ApiService";
|
|
3
|
+
import { IntegrationRequestStatus } from '../../../../interfaces';
|
|
4
|
+
|
|
5
|
+
interface GetVoucherIntegrationRequestStatusProps extends UseQueryOptions< IntegrationRequestStatus> {
|
|
6
|
+
pIntegrationType?: string;
|
|
7
|
+
pSourcePlatformId?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const getVoucherIntegrationRequestStatus = ({ pIntegrationType, pSourcePlatformId, ...options}: GetVoucherIntegrationRequestStatusProps) => {
|
|
11
|
+
return useQuery(
|
|
12
|
+
['INTEGRATION_REQUEST_STATUS', pIntegrationType, pSourcePlatformId],
|
|
13
|
+
() => get<IntegrationRequestStatus>('/Document/IntegrationRequests/latestIntegration', {
|
|
14
|
+
pIntegrationType: pIntegrationType ,
|
|
15
|
+
pSourcePlatformId: pSourcePlatformId
|
|
16
|
+
}),
|
|
17
|
+
{
|
|
18
|
+
...options,
|
|
19
|
+
retry: false,
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { useMutation, useQueryClient, UseQueryOptions } from '@tanstack/react-query';
|
|
4
|
+
import { IntegrationRequestStatus } from '../../../interfaces';
|
|
5
|
+
import { putAuth0 } from '../../../services';
|
|
6
|
+
|
|
7
|
+
interface ActivateOsuaVoucherProps extends UseQueryOptions<IntegrationRequestStatus> {
|
|
8
|
+
customerId: string;
|
|
9
|
+
reedemId: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const activateOsuaVoucher = ({ customerId, reedemId }: ActivateOsuaVoucherProps) => {
|
|
13
|
+
const queryClient = useQueryClient();
|
|
14
|
+
return useMutation<{ Success: boolean }, unknown, void>(() => {
|
|
15
|
+
return putAuth0('/OSUA/Vouchers/Activate?', {
|
|
16
|
+
pCustomerId: customerId,
|
|
17
|
+
pRedeemId: reedemId
|
|
18
|
+
});
|
|
19
|
+
}, {
|
|
20
|
+
onSuccess: (data: { Success: boolean }) => {
|
|
21
|
+
queryClient.setQueryData(['ACTIVATE_OSUA_VOUCHER'], data);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { useMutation, useQueryClient, UseQueryOptions } from '@tanstack/react-query';
|
|
4
|
+
import { IntegrationRequestStatus } from '../../../interfaces';
|
|
5
|
+
import { postWithParameters } from "../../../services/ApiService";
|
|
6
|
+
|
|
7
|
+
interface PostCreateIntegrationRequestProps extends UseQueryOptions<IntegrationRequestStatus> {
|
|
8
|
+
integrationType?: string;
|
|
9
|
+
sourcePlatformId?: string;
|
|
10
|
+
destinations?: string;
|
|
11
|
+
query?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const postCreateIntegrationRequest = ({integrationType, sourcePlatformId, destinations, query}: PostCreateIntegrationRequestProps) => {
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation<IntegrationRequestStatus, unknown, IntegrationRequestStatus>(() => {
|
|
17
|
+
return postWithParameters('/Document/IntegrationRequests?', {
|
|
18
|
+
pIntegrationType: integrationType ,
|
|
19
|
+
pSourcePlatformId: sourcePlatformId ,
|
|
20
|
+
pDestinations: destinations,
|
|
21
|
+
pQuery: query,
|
|
22
|
+
});
|
|
23
|
+
}, {
|
|
24
|
+
onSuccess: (data: IntegrationRequestStatus) => {
|
|
25
|
+
queryClient.setQueryData(['CREATE_INTEGRATION_REQUEST'], data);
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useQueryClient, useMutation } from "@tanstack/react-query";
|
|
2
|
+
import { post } from "../../../services/ApiService";
|
|
3
|
+
|
|
4
|
+
export const postEventsRep = () => {
|
|
5
|
+
const queryClient = useQueryClient();
|
|
6
|
+
return useMutation<string, unknown, void>(
|
|
7
|
+
() => {
|
|
8
|
+
return post("/Sitoo/Document/EventsReprocessing");
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
onSuccess: (data: string) => {
|
|
12
|
+
queryClient.setQueryData(["POST_EVENTS_REPROCESSING"], data);
|
|
13
|
+
},
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseQueryOptions, useMutation, useQueryClient } from "@tanstack/react-query";
|
|
2
|
+
import { QueuesMessages } from "../../../interfaces";
|
|
3
|
+
import { postAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export interface PostQueesMessages extends UseQueryOptions<QueuesMessages> {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const postQueesMessages = ({ id }: PostQueesMessages) => {
|
|
10
|
+
const queryClient = useQueryClient();
|
|
11
|
+
return useMutation<QueuesMessages, unknown, QueuesMessages>((data: QueuesMessages) => {
|
|
12
|
+
return postAuth0('/OSUA/Queues/Messages?',{
|
|
13
|
+
pQueueName: id,
|
|
14
|
+
}, data);
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: (data: QueuesMessages) => {
|
|
17
|
+
queryClient.setQueryData(
|
|
18
|
+
['POST_OSUA_QUEUES'], data);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useQueryClient, useMutation } from '@tanstack/react-query';
|
|
2
|
+
import { CreateVoucher } from "../../../interfaces";
|
|
3
|
+
import { postAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const postVoucherOsua = () => {
|
|
7
|
+
const queryClient = useQueryClient();
|
|
8
|
+
return useMutation<CreateVoucher , unknown, CreateVoucher>((data: CreateVoucher ) => {
|
|
9
|
+
return postAuth0('/OSUA/GiftCards', undefined, data);
|
|
10
|
+
}, {
|
|
11
|
+
onSuccess: (data: CreateVoucher ) => {
|
|
12
|
+
queryClient.setQueryData(
|
|
13
|
+
['POST_VOUCHER_OSUA'], data);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { useMutation, useQueryClient, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { putAuth0 } from "../../../services/ApiService";
|
|
3
|
+
import { BalanceVouchers } from "../../../interfaces";
|
|
4
|
+
|
|
5
|
+
export interface BalanceVouchersQueryProps extends UseQueryOptions<BalanceVouchers> {
|
|
6
|
+
giftCardNumber: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const putBalanceVouchers = ({ giftCardNumber }: BalanceVouchersQueryProps) => {
|
|
10
|
+
const queryClient = useQueryClient();
|
|
11
|
+
|
|
12
|
+
return useMutation<BalanceVouchers, unknown, BalanceVouchers>((data: BalanceVouchers) => {
|
|
13
|
+
return putAuth0(`/OSUA/GiftCards?`, {
|
|
14
|
+
pGiftCardNumber: giftCardNumber,
|
|
15
|
+
},
|
|
16
|
+
data
|
|
17
|
+
);
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
onSuccess: (data: BalanceVouchers) => {
|
|
21
|
+
queryClient.setQueryData(["UPDATE_VOUCHERS_QUERY"], data);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
2
|
+
import { putWithParameters } from "../../../services/ApiService";
|
|
3
|
+
import { IntegrationData } from "../../../interfaces";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const useSetIntegrationToFinished = () => {
|
|
7
|
+
const queryClient = useQueryClient();
|
|
8
|
+
|
|
9
|
+
return useMutation<IntegrationData, unknown, IntegrationData>(
|
|
10
|
+
(data: IntegrationData) => {
|
|
11
|
+
return putWithParameters(`/MIMO/IntegrationData/SetToFinished?`, {
|
|
12
|
+
pName: data.Name,
|
|
13
|
+
}, data);
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
onSuccess: (data: IntegrationData) => {
|
|
17
|
+
queryClient.setQueryData(["INTEGRATION_DATA_QUERY"], data);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Auth0Config } from "../../../interfaces";
|
|
3
|
+
import { get } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const getAuth0ConfigQueryHook = ({...options} : UseQueryOptions) => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['AUTH0_CONFIG_QUERY', options],
|
|
8
|
+
() => get<Auth0Config>(`/AACP/Authentication/Configuration`),
|
|
9
|
+
options
|
|
10
|
+
);
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Instances } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const getInstanceByIdQueryHook = (instanceId: string, { ...options }: UseQueryOptions<Instances>, userDetails?: boolean) => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['INSTANCE_BY_ID_QUERY', instanceId, options, userDetails],
|
|
8
|
+
() => getAuth0<Instances>(`/ORQ/Instances/${instanceId}`, {
|
|
9
|
+
pIncludeUserDetails: userDetails || true
|
|
10
|
+
}),
|
|
11
|
+
options
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Instances, ResponseList } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface InstancesProps extends Omit<UseQueryOptions<ResponseList<"Instances", Instances>>, "queryKey"> {
|
|
6
|
+
page: number;
|
|
7
|
+
records: number;
|
|
8
|
+
sortBy: string;
|
|
9
|
+
sortDirection: string;
|
|
10
|
+
terms?: string;
|
|
11
|
+
query?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const getInstancesQueryHook = ({ page, records, sortBy, sortDirection, terms, query, ...options }: InstancesProps) => {
|
|
15
|
+
return useQuery(
|
|
16
|
+
['INSTANCES_QUERY', page, records, sortBy, sortDirection, terms, query, options],
|
|
17
|
+
() => getAuth0<ResponseList<"Instances", Instances>>(`/ORQ/Instances`, {
|
|
18
|
+
pPage: page,
|
|
19
|
+
pRecords: records,
|
|
20
|
+
pSortBy: sortBy,
|
|
21
|
+
pSortDirection: sortDirection,
|
|
22
|
+
pTerms: terms || "",
|
|
23
|
+
pQuery: query || ""
|
|
24
|
+
}),
|
|
25
|
+
options
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { MacroInstance } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface MacrosInstancesProps extends Omit<UseQueryOptions<MacroInstance>, "queryKey"> {
|
|
6
|
+
costumerId?: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const getMacrosInstancesQueryHook = ({ costumerId, type, ...options }: MacrosInstancesProps) => {
|
|
11
|
+
return useQuery(
|
|
12
|
+
['MACROS_INSTANCES_QUERY', costumerId, type, options],
|
|
13
|
+
() => getAuth0<MacroInstance>(`/ORQ/Instances/Last`, {
|
|
14
|
+
pCustomerId: costumerId || "GNG",
|
|
15
|
+
pType: type || "Product"
|
|
16
|
+
}),
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Macros, ResponseList } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface MacrosProps extends Omit<UseQueryOptions<ResponseList<"Macros", Macros>>, "queryKey"> {
|
|
6
|
+
page: number;
|
|
7
|
+
records: number;
|
|
8
|
+
sortBy: string;
|
|
9
|
+
sortDirection: string;
|
|
10
|
+
terms?: string;
|
|
11
|
+
query?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const getMacrosQueryHook = ({ page, records, sortBy, sortDirection, terms, query, ...options }: MacrosProps) => {
|
|
15
|
+
return useQuery(
|
|
16
|
+
['MACROS_QUERY', page, records, sortBy, sortDirection, terms, query, options],
|
|
17
|
+
() => getAuth0<ResponseList<"Macros", Macros>>(`/ORQ/Macros`, {
|
|
18
|
+
pPage: page,
|
|
19
|
+
pRecords: records,
|
|
20
|
+
pSortBy: sortBy,
|
|
21
|
+
pSortDirection: sortDirection,
|
|
22
|
+
pTerms: terms || "",
|
|
23
|
+
pQuery: query || ""
|
|
24
|
+
}),
|
|
25
|
+
options
|
|
26
|
+
);
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Instances } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
export const getMacrosUserQueryHook = (instanceId: string, { ...options }: UseQueryOptions<Instances>) => {
|
|
6
|
+
return useQuery(
|
|
7
|
+
['MACROS_USER_QUERY', instanceId, options],
|
|
8
|
+
() => getAuth0<Instances>(`/ORQ/Instances/${instanceId}/User`, undefined),
|
|
9
|
+
options
|
|
10
|
+
);
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { MonitoringComponent, ResponseList } from "../../../interfaces";
|
|
3
|
+
import { getAuth0 } from "../../../services/ApiService";
|
|
4
|
+
|
|
5
|
+
interface MonitoringComponentProps extends Omit<UseQueryOptions<ResponseList<"Components", MonitoringComponent>>, "queryKey"> {
|
|
6
|
+
page: number;
|
|
7
|
+
records: number;
|
|
8
|
+
sortBy: string;
|
|
9
|
+
sortDirection: string;
|
|
10
|
+
terms?: string;
|
|
11
|
+
query?: string;
|
|
12
|
+
getStatus: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const getMonitoringComponentQueryHook = ({ page, records, sortBy, sortDirection, terms, query, getStatus, ...options }: MonitoringComponentProps) => {
|
|
16
|
+
return useQuery(
|
|
17
|
+
['MONITORINGCOMPONENTS_QUERY', page, records, sortBy, sortDirection, terms, query, getStatus, options],
|
|
18
|
+
() => getAuth0<ResponseList<"Components", MonitoringComponent>>(`/ORQ/Monitoring`, {
|
|
19
|
+
pPage: page,
|
|
20
|
+
pRecords: records,
|
|
21
|
+
pSortBy: sortBy,
|
|
22
|
+
pSortDirection: sortDirection,
|
|
23
|
+
pTerms: terms || "",
|
|
24
|
+
pQuery: query || "",
|
|
25
|
+
pGetStatus : getStatus
|
|
26
|
+
}),
|
|
27
|
+
options
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { postAuth0 } from '../../../services/ApiService';
|
|
3
|
+
|
|
4
|
+
export const reprocessingInstanceQueryHook = (instanceId: string[]) => {
|
|
5
|
+
const queryClient = useQueryClient();
|
|
6
|
+
return useMutation<any, unknown, string[]>(() => {
|
|
7
|
+
return postAuth0(`/ORQ/Instances/Reprocessing?`, undefined, instanceId);
|
|
8
|
+
}, {
|
|
9
|
+
onSuccess: (data) => {
|
|
10
|
+
queryClient.setQueryData(
|
|
11
|
+
['REPROCESSING_INSTANCE_QUERY'], data);
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { TransferPickProducts } from '../../../interfaces/TransferPickProducts';
|
|
3
|
+
import { postAuth0 } from '../../../services/ApiService';
|
|
4
|
+
|
|
5
|
+
export interface RunMacrosProps {
|
|
6
|
+
macroId: string;
|
|
7
|
+
filter: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const runMacrosQueryHook = ({ macroId, filter }: RunMacrosProps) => {
|
|
11
|
+
const queryClient = useQueryClient();
|
|
12
|
+
return useMutation<TransferPickProducts, unknown>(() => {
|
|
13
|
+
return postAuth0(`/ORQ/Macros/Run?`, {
|
|
14
|
+
pMacroId: macroId,
|
|
15
|
+
pQuery: filter
|
|
16
|
+
});
|
|
17
|
+
}, {
|
|
18
|
+
onSuccess: (data) => {
|
|
19
|
+
queryClient.setQueryData(
|
|
20
|
+
['RUN_MACROS_QUERY'], data);
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|