@omniumretail/shared-resources 0.3.84 → 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.
Files changed (564) hide show
  1. package/dist/bundle.js +1 -0
  2. package/dist/types/components/BottomDrawer/index.d.ts +9 -0
  3. package/dist/types/components/Button/index.d.ts +2 -0
  4. package/dist/types/components/Footer/index.d.ts +3 -0
  5. package/dist/types/components/Form/FormInputField/index.d.ts +8 -0
  6. package/dist/types/components/Form/FormSelectField/index.d.ts +9 -0
  7. package/dist/types/components/Form/index.d.ts +2 -0
  8. package/dist/types/components/Header/index.d.ts +4 -0
  9. package/dist/types/components/Link/index.d.ts +6 -0
  10. package/dist/types/components/Navigation/index.d.ts +8 -0
  11. package/dist/types/components/Page/index.d.ts +13 -0
  12. package/dist/{components → types/components}/SharedContextProvider/index.d.ts +1 -2
  13. package/dist/types/components/index.d.ts +9 -0
  14. package/dist/types/constants/Icons.d.ts +15 -0
  15. package/dist/{constants → types/constants}/QueryClient.d.ts +1 -2
  16. package/dist/{constants → types/constants}/index.d.ts +1 -0
  17. package/dist/{contexts → types/contexts}/useStore.d.ts +2 -3
  18. package/dist/{helpers → types/helpers}/codeMutation.d.ts +3 -3
  19. package/dist/{helpers → types/helpers}/date-unix.helper.d.ts +1 -2
  20. package/dist/{helpers → types/helpers}/getChildrenByType.helper.d.ts +1 -2
  21. package/dist/{hooks → types/hooks}/ACB/get/getClientBalance.hook.d.ts +3 -4
  22. package/dist/types/hooks/ACB/mutate/postClientBalance.hook.d.ts +2 -0
  23. package/dist/{hooks → types/hooks}/ASAEGNG/get/getCustomerHistoryQuery.hook.d.ts +3 -4
  24. package/dist/{hooks → types/hooks}/ASAEGNG/get/getCustomerVouchersQuery.hook.d.ts +3 -4
  25. package/dist/{hooks → types/hooks}/ASAEGNG/get/getCustomersQuery.hook.d.ts +3 -4
  26. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useAbsenceTypes.hook.d.ts +3 -4
  27. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useAttendancesSummary.hook.d.ts +3 -4
  28. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useAttendancesSummarySearch.hook.d.ts +4 -4
  29. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useEmployeeQueryHook.hook.d.ts +3 -4
  30. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useEmployeeWorklogDetails.hook.d.ts +3 -4
  31. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useEmployeesQuery.hook.d.ts +3 -4
  32. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useKPIsQuery.hook.d.ts +3 -4
  33. package/dist/types/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +2 -0
  34. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useSchedulePeriodTypesQuery.hook.d.ts +3 -4
  35. package/dist/types/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +8 -0
  36. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useStoresQueryHook.hook.d.ts +3 -4
  37. package/dist/types/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +9 -0
  38. package/dist/{hooks → types/hooks}/ATIM/BackOffice/get/useWorkWeekSchedule.hook.d.ts +3 -4
  39. package/dist/types/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +2 -0
  40. package/dist/types/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +2 -0
  41. package/dist/types/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +2 -0
  42. package/dist/{hooks → types/hooks}/ATIM/BackOffice/mutate/useUpdateAttendancesSummary.hook.d.ts +2 -3
  43. package/dist/{hooks → types/hooks}/ATIM/PicaPonto/get/getEmployeesWithTimekeeping.hook.d.ts +3 -4
  44. package/dist/types/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +2 -0
  45. package/dist/{hooks → types/hooks}/ATIM/PicaPonto/mutate/postTogglePinCode.d.ts +3 -4
  46. package/dist/types/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +2 -0
  47. package/dist/{hooks → types/hooks}/Acls/get/getCustomersLoyaltyQuery.hook.d.ts +3 -4
  48. package/dist/{hooks → types/hooks}/Acls/get/getVoucherLoyaltyQuery.hook.d.ts +3 -4
  49. package/dist/{hooks → types/hooks}/Acls/get/getVoucherSitooQuery.hook.d.ts +3 -4
  50. package/dist/{hooks → types/hooks}/Acls/get/getVoucherTemplatesQuery.hook.d.ts +3 -4
  51. package/dist/{hooks → types/hooks}/Acls/mutate/postCreateVoucherTemplates.hook.d.ts +2 -3
  52. package/dist/{hooks → types/hooks}/Acls/mutate/postSaldoVoucherQuery.hook.d.ts +2 -3
  53. package/dist/{hooks → types/hooks}/Acls/mutate/postSalesAssociationQuery.hook.d.ts +1 -1
  54. package/dist/{hooks → types/hooks}/Acls/mutate/postVerificationEmailQuery.hook.d.ts +1 -1
  55. package/dist/{hooks → types/hooks}/Acls/mutate/postVerificationUserQuery.hook.d.ts +1 -1
  56. package/dist/{hooks → types/hooks}/Acls/mutate/postVoucherSitooQuery.hook.d.ts +2 -3
  57. package/dist/{hooks → types/hooks}/Acls/mutate/reactivateVoucherQuery.hook.d.ts +1 -1
  58. package/dist/types/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +2 -0
  59. package/dist/types/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +3 -0
  60. package/dist/{hooks → types/hooks}/Aexp/get/getFlowExecutionQuery.hook.d.ts +3 -4
  61. package/dist/types/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +3 -0
  62. package/dist/{hooks → types/hooks}/Aexp/get/getFlowListQuery.hook.d.ts +3 -4
  63. package/dist/types/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +3 -0
  64. package/dist/{hooks → types/hooks}/Aexp/mutate/deleteFlowConfigurationQuery.hook.d.ts +2 -3
  65. package/dist/{hooks → types/hooks}/Aexp/mutate/inactivateFlowConfigurationQuery.hook.d.ts +2 -3
  66. package/dist/types/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +2 -0
  67. package/dist/{hooks → types/hooks}/Aexp/mutate/useFlowConfigurationQuery.hook.d.ts +2 -3
  68. package/dist/types/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +2 -0
  69. package/dist/{hooks → types/hooks}/Aexp/mutate/validateExecutionFileQuery.hook.d.ts +2 -3
  70. package/dist/{hooks → types/hooks}/Analytics/get/getArchivedAnalyticsQuery.hook.d.ts +3 -4
  71. package/dist/types/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -0
  72. package/dist/{hooks → types/hooks}/Analytics/get/useAnalyticsQuestionsQuery.hook.d.ts +3 -4
  73. package/dist/types/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +7 -0
  74. package/dist/{hooks → types/hooks}/Analytics/get/useAnalyticsUserIdQuery.hook.d.ts +3 -4
  75. package/dist/{hooks → types/hooks}/Analytics/get/useAnalyticsUserQuery.hook.d.ts +3 -4
  76. package/dist/types/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +4 -0
  77. package/dist/types/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +4 -0
  78. package/dist/{hooks → types/hooks}/Anot/get/getNotificationHeadersQuery.hook.d.ts +3 -4
  79. package/dist/types/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +6 -0
  80. package/dist/types/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +3 -0
  81. package/dist/{hooks → types/hooks}/Anot/get/getNotificationsQuery.hook.d.ts +3 -4
  82. package/dist/{hooks → types/hooks}/Anot/get/getNotificationsTypeQuery.hook.d.ts +3 -4
  83. package/dist/types/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +2 -0
  84. package/dist/types/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +2 -0
  85. package/dist/types/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +7 -0
  86. package/dist/{hooks → types/hooks}/Answer/mutate/useAnswerMutateQuery.hook.d.ts +3 -4
  87. package/dist/types/hooks/Answer/others/openAnswerQuery.hook.d.ts +2 -0
  88. package/dist/types/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +8 -0
  89. package/dist/types/hooks/Answer/others/showAnswerQuery.hook.d.ts +2 -0
  90. package/dist/{hooks → types/hooks}/AprProduct/get/useProductHierarchies.hook.d.ts +3 -4
  91. package/dist/{hooks → types/hooks}/AprProduct/get/useProductRecommendations.hook.d.ts +3 -4
  92. package/dist/{hooks → types/hooks}/AprProduct/get/useProductsByRefQuery.hook.d.ts +3 -4
  93. package/dist/{hooks → types/hooks}/AprProduct/get/useProductsQuery.hook.d.ts +19 -20
  94. package/dist/{hooks → types/hooks}/Aprc/get/getPriceChangePinQuery.hook.d.ts +2 -3
  95. package/dist/{hooks → types/hooks}/Aprc/others/postPriceChangePinQuery.hook.d.ts +3 -4
  96. package/dist/{hooks → types/hooks}/Aprc/others/sendEmailWithPinQuery.hook.d.ts +3 -4
  97. package/dist/types/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +2 -0
  98. package/dist/{hooks → types/hooks}/Asgt/get/getProductWarningASGTQuery.hook.d.ts +3 -4
  99. package/dist/{hooks → types/hooks}/Asgt/get/getProductsListingASGTQuery.hook.d.ts +3 -4
  100. package/dist/{hooks → types/hooks}/Asgt/get/getProductsMovementsASGTQuery.hook.d.ts +3 -4
  101. package/dist/{hooks → types/hooks}/Asgt/get/getProductsPickedASGTQuery.hook.d.ts +3 -4
  102. package/dist/{hooks → types/hooks}/Asgt/get/getReportsBuilderASGTQuery.hook.d.ts +3 -4
  103. package/dist/{hooks → types/hooks}/Asgt/get/getTransferAllProductsASGTQuery.hook.d.ts +3 -4
  104. package/dist/{hooks → types/hooks}/Asgt/get/getTransferDocumentsASGTQuery.hook.d.ts +3 -4
  105. package/dist/{hooks → types/hooks}/Asgt/get/getTransferDocumentsByIdASGTQuery.hook.d.ts +3 -4
  106. package/dist/{hooks → types/hooks}/Asgt/get/getTransferDocumentsByPackageASGTQuery.hook.d.ts +3 -4
  107. package/dist/{hooks → types/hooks}/Asgt/get/getTransferDocumentsPackagesASGTQuery.hook.d.ts +3 -4
  108. package/dist/{hooks → types/hooks}/Asgt/get/getTransferReportDiffASGT.hook.d.ts +3 -4
  109. package/dist/{hooks → types/hooks}/Asgt/mutate/autoSaveASGTQuery.hook.d.ts +3 -4
  110. package/dist/{hooks → types/hooks}/Asgt/mutate/createPackageASGTMutateQuery.hook.d.ts +3 -4
  111. package/dist/{hooks → types/hooks}/Asgt/mutate/createTransferASGTMutateQuery.hook.d.ts +2 -3
  112. package/dist/{hooks → types/hooks}/Asgt/mutate/postTransferDocumentsASGTMutateQuery.hook.d.ts +3 -4
  113. package/dist/{hooks → types/hooks}/Asgt/mutate/putTransferDocumentsStateASGTMutateQuery.hook.d.ts +3 -4
  114. package/dist/{hooks → types/hooks}/Asgt/mutate/removeProductASGTQuery.hook.d.ts +2 -3
  115. package/dist/{hooks → types/hooks}/Ass/get/getAssProductsByRefQuery.hook.d.ts +3 -4
  116. package/dist/{hooks → types/hooks}/Ass/get/getAssProductsByStoreQuery.hook.d.ts +3 -4
  117. package/dist/types/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +7 -0
  118. package/dist/types/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +2 -0
  119. package/dist/types/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +2 -0
  120. package/dist/{hooks → types/hooks}/Asta/Actions/get/getActionQuery.hook.d.ts +3 -4
  121. package/dist/types/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +2 -0
  122. package/dist/types/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +2 -0
  123. package/dist/{hooks → types/hooks}/Asta/Actions/others/archiveActionQuery.hook.d.ts +3 -4
  124. package/dist/{hooks → types/hooks}/Asta/Actions/others/deleteActionQuery.hook.d.ts +3 -4
  125. package/dist/{hooks → types/hooks}/Asta/Actions/others/extractActionQuery.hook.d.ts +3 -4
  126. package/dist/types/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +2 -0
  127. package/dist/types/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +2 -0
  128. package/dist/types/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +2 -0
  129. package/dist/types/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +2 -0
  130. package/dist/{hooks → types/hooks}/Asta/Answer/get/getAstaAnswerQuery.hook.d.ts +3 -4
  131. package/dist/{hooks → types/hooks}/Asta/Answer/mutate/useAstaAnswersMutateQuery.hook.d.ts +2 -3
  132. package/dist/types/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +2 -0
  133. package/dist/{hooks → types/hooks}/Asta/Answer/others/finishGNGAstaAnswersQuery.hook.d.ts +2 -3
  134. package/dist/{hooks → types/hooks}/Asta/Answer/others/putAnswerImageQuery.hook.d.ts +2 -3
  135. package/dist/{hooks → types/hooks}/Asta/Answer/others/sendInspectionEmailQuery.hook.d.ts +2 -3
  136. package/dist/{hooks → types/hooks}/Asta/Answer/others/sendInspectionEmailStoreQuery.hook.d.ts +2 -3
  137. package/dist/{hooks → types/hooks}/Asta/AnswerType/get/getAllAnswerTypeQuery.hook.d.ts +3 -4
  138. package/dist/types/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +2 -0
  139. package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +2 -0
  140. package/dist/types/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +2 -0
  141. package/dist/types/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +2 -0
  142. package/dist/{hooks → types/hooks}/Asta/AnswerType/others/deleteAnswerTypeQuery.hook.d.ts +3 -4
  143. package/dist/types/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +2 -0
  144. package/dist/types/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +2 -0
  145. package/dist/{hooks → types/hooks}/Asta/Inspection/get/getInspectionQuery.hook.d.ts +3 -4
  146. package/dist/types/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +2 -0
  147. package/dist/{hooks → types/hooks}/Asta/Inspection/others/archiveTemplateQuery.hook.d.ts +3 -4
  148. package/dist/{hooks → types/hooks}/Asta/Inspection/others/deleteInspectionQuery.hook.d.ts +3 -4
  149. package/dist/types/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +2 -0
  150. package/dist/{hooks → types/hooks}/Asta/Inspection/others/extractTemplateQuery.hook.d.ts +3 -4
  151. package/dist/types/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +2 -0
  152. package/dist/types/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +2 -0
  153. package/dist/types/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +2 -0
  154. package/dist/{hooks → types/hooks}/Asta/Template/get/getTemplateQuery.hook.d.ts +3 -4
  155. package/dist/types/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +2 -0
  156. package/dist/{hooks → types/hooks}/Asta/Template/others/archiveTemplateQuery.hook.d.ts +3 -4
  157. package/dist/{hooks → types/hooks}/Asta/Template/others/deleteTemplateQuery.hook.d.ts +3 -4
  158. package/dist/{hooks → types/hooks}/Asta/Template/others/duplicateTemplateQuery.hook.d.ts +3 -4
  159. package/dist/{hooks → types/hooks}/Asta/Template/others/extractTemplateQuery.hook.d.ts +3 -4
  160. package/dist/types/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +2 -0
  161. package/dist/{hooks → types/hooks}/Asts/get/getProductInfoQuery.hook.d.ts +3 -4
  162. package/dist/types/hooks/Asts/get/getStockQuery.hook.d.ts +7 -0
  163. package/dist/{hooks → types/hooks}/Asts/others/postAudioFileQuery.hook.d.ts +1 -1
  164. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getAllAdidasProductsQuery.hook.d.ts +3 -4
  165. package/dist/types/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +2 -0
  166. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getProductWarningASTTQuery.hook.d.ts +3 -4
  167. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getProductsListingASTTQuery.hook.d.ts +3 -4
  168. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getProductsMovementsASTTQuery.hook.d.ts +3 -4
  169. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getProductsPickedASTTQuery.hook.d.ts +3 -4
  170. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getReportsBuilderASTTQuery.hook.d.ts +3 -4
  171. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getReprocessNeededASTTQuery.hook.d.ts +2 -3
  172. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferAllProductsASTTQuery.hook.d.ts +3 -4
  173. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferDocumentsASTTQuery.hook.d.ts +3 -4
  174. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferDocumentsByIdASTTQuery.hook.d.ts +3 -4
  175. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferDocumentsByPackageASTTQuery.hook.d.ts +3 -4
  176. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferDocumentsPackagesASTTQuery.hook.d.ts +3 -4
  177. package/dist/{hooks → types/hooks}/Astt/Asgt/get/getTransferReportDiffASTT.hook.d.ts +3 -4
  178. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/autoSaveASTTQuery.hook.d.ts +3 -4
  179. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/createPackageASTTMutateQuery.hook.d.ts +3 -4
  180. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/createTransferASTTMutateQuery.hook.d.ts +2 -3
  181. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/deleteProductASTTQuery.hook.d.ts +3 -4
  182. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/finishPackageASTTQuery.hook.d.ts +3 -4
  183. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/postMissingProductsASTTQuery.hook.d.ts +3 -4
  184. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/postReprocessASTTQuery.hook.d.ts +2 -3
  185. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/postRfidASGTMutateQuery.hook.d.ts +3 -4
  186. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/postTransferDocumentsASTTMutateQuery.hook.d.ts +3 -4
  187. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/putTransferDocumentsStateASTTMutateQuery.hook.d.ts +3 -4
  188. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/removeProductASTTQuery.hook.d.ts +2 -3
  189. package/dist/{hooks → types/hooks}/Astt/Asgt/mutate/restartProductASTTQuery.hook.d.ts +2 -3
  190. package/dist/{hooks → types/hooks}/Astt/get/getBarcodesListingByPackageQuery.hook.d.ts +3 -4
  191. package/dist/{hooks → types/hooks}/Astt/get/getBarcodesListingQuery.hook.d.ts +3 -4
  192. package/dist/{hooks → types/hooks}/Astt/get/getBarcodesPrintQuery.hook.d.ts +3 -4
  193. package/dist/{hooks → types/hooks}/Astt/get/getDocumentsFindByIdQuery.hook.d.ts +3 -4
  194. package/dist/{hooks → types/hooks}/Astt/get/getManualPackagesListQuery.hook.d.ts +3 -4
  195. package/dist/{hooks → types/hooks}/Astt/get/getProductsListingQuery.hook.d.ts +3 -4
  196. package/dist/{hooks → types/hooks}/Astt/get/getReconciliationDocumentsQuery.hook.d.ts +3 -4
  197. package/dist/{hooks → types/hooks}/Astt/get/getReportsBuilderQuery.hook.d.ts +3 -4
  198. package/dist/{hooks → types/hooks}/Astt/get/getRfidQuery.hook.d.ts +3 -4
  199. package/dist/{hooks → types/hooks}/Astt/get/getTransferAllProductsQuery.hook.d.ts +3 -4
  200. package/dist/{hooks → types/hooks}/Astt/get/getTransferDocumentsByIdQuery.hook.d.ts +3 -4
  201. package/dist/{hooks → types/hooks}/Astt/get/getTransferDocumentsByPackageQuery.hook.d.ts +3 -4
  202. package/dist/{hooks → types/hooks}/Astt/get/getTransferDocumentsPackagesQuery.hook.d.ts +3 -4
  203. package/dist/{hooks → types/hooks}/Astt/get/getTransferDocumentsQuery.hook.d.ts +3 -4
  204. package/dist/{hooks → types/hooks}/Astt/get/getTransferReportDiff.hook.d.ts +3 -4
  205. package/dist/types/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +2 -0
  206. package/dist/{hooks → types/hooks}/Astt/mutate/deleteManualPackageQuery.hook.d.ts +1 -1
  207. package/dist/{hooks → types/hooks}/Astt/mutate/notifyMissingProductsQuery.hook.d.ts +2 -3
  208. package/dist/{hooks → types/hooks}/Astt/mutate/postAsttActionsQuery.hook.d.ts +1 -1
  209. package/dist/{hooks → types/hooks}/Astt/mutate/postManualPackageQuery.hook.d.ts +2 -3
  210. package/dist/{hooks → types/hooks}/Astt/mutate/postManualTransferQuery.hook.d.ts +2 -3
  211. package/dist/{hooks → types/hooks}/Astt/mutate/postMatchingPackageQuery.hook.d.ts +3 -4
  212. package/dist/{hooks → types/hooks}/Astt/mutate/postTransferDocumentsMutateQuery.hook.d.ts +3 -4
  213. package/dist/{hooks → types/hooks}/Astt/mutate/putTransferDocumentFinishQuery.hook.d.ts +3 -4
  214. package/dist/{hooks → types/hooks}/Astt/mutate/putTransferDocumentsPartiallyQuery.hook.d.ts +3 -4
  215. package/dist/{hooks → types/hooks}/Astt/mutate/putTransferDocumentsStateMutateQuery.hook.d.ts +3 -4
  216. package/dist/{hooks → types/hooks}/Astt/mutate/updateDocumentIdQuery.hook.d.ts +3 -4
  217. package/dist/{hooks → types/hooks}/Astt/mutate/updatePackageIdQuery.hook.d.ts +3 -4
  218. package/dist/types/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +8 -0
  219. package/dist/{hooks → types/hooks}/AsvProduct/get/getProductsByStoreQuery.hook.d.ts +3 -4
  220. package/dist/types/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +7 -0
  221. package/dist/{hooks → types/hooks}/BigWin/get/getBwgAllEmployeesQuery.hook.d.ts +3 -4
  222. package/dist/{hooks → types/hooks}/BigWin/get/getBwgBackOfficeQuery.hook.d.ts +3 -4
  223. package/dist/types/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +2 -0
  224. package/dist/{hooks → types/hooks}/BigWin/others/importABWGQuery.hook.d.ts +2 -3
  225. package/dist/{hooks → types/hooks}/BigWin/others/importRegulationQuery.hook.d.ts +2 -3
  226. package/dist/types/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +2 -0
  227. package/dist/types/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +2 -0
  228. package/dist/types/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +2 -0
  229. package/dist/{hooks → types/hooks}/EvaluationCycle/get/useEvaluationCycleQuery.hook.d.ts +3 -4
  230. package/dist/{hooks → types/hooks}/EvaluationCycle/mutate/useEvaluationCycleMutateQuery.hook.d.ts +2 -3
  231. package/dist/{hooks → types/hooks}/EvaluationCycle/others/activateEvaluationCycleQuery.hook.d.ts +2 -3
  232. package/dist/{hooks → types/hooks}/EvaluationCycle/others/cancelEvaluationCycleQuery.hook.d.ts +2 -3
  233. package/dist/{hooks → types/hooks}/EvaluationCycle/others/deleteEvaluationCycleQuery.hook.d.ts +2 -3
  234. package/dist/{hooks → types/hooks}/EvaluationCycle/others/finishEvaluationCycleQuery.hook.d.ts +2 -3
  235. package/dist/{hooks → types/hooks}/OSUA/MIMO/get/getIntegrationByName.hook.d.ts +3 -4
  236. package/dist/{hooks → types/hooks}/OSUA/MIMO/get/getProductIntegrationHistory.hook.d.ts +3 -4
  237. package/dist/{hooks → types/hooks}/OSUA/MIMO/get/useErrorHistory.hook.d.ts +3 -4
  238. package/dist/types/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +2 -0
  239. package/dist/types/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +1 -0
  240. package/dist/types/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +5 -0
  241. package/dist/types/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +2 -0
  242. package/dist/types/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +2 -0
  243. package/dist/types/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +6 -0
  244. package/dist/types/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +9 -0
  245. package/dist/{hooks → types/hooks}/OSUA/get/documentos/getSitooDocumentos.hook.d.ts +3 -4
  246. package/dist/{hooks → types/hooks}/OSUA/get/eventos/getSitooErrorEvents.hook.d.ts +3 -4
  247. package/dist/{hooks → types/hooks}/OSUA/get/faqs/getFaqsQuery.hook.d.ts +3 -4
  248. package/dist/{hooks → types/hooks}/OSUA/get/orders/getOrderDocuments.hook.d.ts +3 -4
  249. package/dist/types/hooks/OSUA/get/queue/getQueues.hook.d.ts +2 -0
  250. package/dist/{hooks → types/hooks}/OSUA/get/queue/getQueuesMessages.hook.d.ts +3 -4
  251. package/dist/{hooks → types/hooks}/OSUA/get/vouchers/getGngVoucher.hook.d.ts +3 -4
  252. package/dist/{hooks → types/hooks}/OSUA/get/vouchers/getOsuaVouchersQuery.hook.d.ts +3 -4
  253. package/dist/{hooks → types/hooks}/OSUA/get/vouchers/getSalesNumberOsua.hook.d.ts +2 -3
  254. package/dist/{hooks → types/hooks}/OSUA/get/vouchers/getSitooVouchers.hook.d.ts +3 -4
  255. package/dist/{hooks → types/hooks}/OSUA/get/vouchers/getVoucherIntegrationRequestStatus.hook.d.ts +3 -4
  256. package/dist/{hooks → types/hooks}/OSUA/mutate/activateOsuaVoucherQuery.hook.d.ts +3 -4
  257. package/dist/{hooks → types/hooks}/OSUA/mutate/postCreateIntegrationRequest.hook.d.ts +3 -4
  258. package/dist/types/hooks/OSUA/mutate/postEventsRep.hook.d.ts +1 -0
  259. package/dist/{hooks → types/hooks}/OSUA/mutate/postQueuesMessages.hook.d.ts +3 -4
  260. package/dist/types/hooks/OSUA/mutate/postVoucher.hook.d.ts +2 -0
  261. package/dist/{hooks → types/hooks}/OSUA/mutate/putBalanceVouchers.hook.d.ts +3 -4
  262. package/dist/types/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +2 -0
  263. package/dist/types/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +2 -0
  264. package/dist/types/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +3 -0
  265. package/dist/{hooks → types/hooks}/Orch/get/getInstancesQuery.hook.d.ts +3 -4
  266. package/dist/types/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +8 -0
  267. package/dist/{hooks → types/hooks}/Orch/get/getMacrosQuery.hook.d.ts +3 -4
  268. package/dist/types/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +3 -0
  269. package/dist/{hooks → types/hooks}/Orch/get/getMonitoringComponents.hook.d.ts +3 -4
  270. package/dist/{hooks → types/hooks}/Orch/others/reprocessingInstanceQuery.hook.d.ts +1 -1
  271. package/dist/{hooks → types/hooks}/Orch/others/runMacrosQuery.hook.d.ts +2 -3
  272. package/dist/{hooks → types/hooks}/Orch/others/stopInstanceQuery.hook.d.ts +1 -1
  273. package/dist/{hooks → types/hooks}/Orch/others/updateMacroStatusQuery.hook.d.ts +2 -3
  274. package/dist/{hooks → types/hooks}/Others/Vacation/get/getVacationPlanQuery.hook.d.ts +3 -4
  275. package/dist/types/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +2 -0
  276. package/dist/types/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +8 -0
  277. package/dist/{hooks → types/hooks}/Others/Vacation/others/postVacationPlanQuery.hook.d.ts +3 -4
  278. package/dist/types/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +9 -0
  279. package/dist/{hooks → types/hooks}/Others/changePasswordQuery.hook.d.ts +1 -1
  280. package/dist/{hooks → types/hooks}/Others/editAllBellNotificationsStatusQuery.hook.d.ts +3 -4
  281. package/dist/{hooks → types/hooks}/Others/editBellNotificationsStatusQuery.hook.d.ts +3 -4
  282. package/dist/types/hooks/Others/editFieldsByBulkQuery.hook.d.ts +2 -0
  283. package/dist/{hooks → types/hooks}/Others/getBellNotificationsQuery.hook.d.ts +3 -4
  284. package/dist/{hooks → types/hooks}/Others/getNotificationTitleQuery.hook.d.ts +3 -4
  285. package/dist/{hooks → types/hooks}/Others/getRegulationQuery.hook.d.ts +2 -3
  286. package/dist/{hooks → types/hooks}/Others/getUserEmailStatusQuery.hook.d.ts +3 -4
  287. package/dist/{hooks → types/hooks}/Others/getWeeklyWorkloadQuery.hook.d.ts +3 -4
  288. package/dist/types/hooks/Others/oneSignalUserQuery.hook.d.ts +1 -0
  289. package/dist/{hooks → types/hooks}/Others/postCheckoutsMutateQuery.hook.d.ts +2 -3
  290. package/dist/{hooks → types/hooks}/Others/postUserAuthenticationQuery.hook.d.ts +3 -4
  291. package/dist/{hooks → types/hooks}/Others/postVerifyImageQuery.hook.d.ts +2 -3
  292. package/dist/{hooks → types/hooks}/Others/unblockUserQuery.hook.d.ts +1 -1
  293. package/dist/types/hooks/Others/useApplicationDataQuery.hook.d.ts +2 -0
  294. package/dist/types/hooks/Others/useContractStatesQuery.hook.d.ts +7 -0
  295. package/dist/{hooks → types/hooks}/Others/useCountriesQuery.hook.d.ts +3 -4
  296. package/dist/{hooks → types/hooks}/Others/useCreateNotification.hook.d.ts +3 -4
  297. package/dist/{hooks → types/hooks}/Others/useCustomersQuery.hook.d.ts +19 -20
  298. package/dist/{hooks → types/hooks}/Others/useJobTitlesQuery.hook.d.ts +3 -4
  299. package/dist/{hooks → types/hooks}/Others/useRegulationQuery.hook.d.ts +2 -3
  300. package/dist/types/hooks/Others/useTermNotificationQuery.hook.d.ts +2 -0
  301. package/dist/types/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +2 -0
  302. package/dist/{hooks → types/hooks}/Questionnaire/get/useQuestionnaireQuery.hook.d.ts +3 -4
  303. package/dist/types/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +2 -0
  304. package/dist/{hooks → types/hooks}/Questionnaire/others/activateQuestionnaireQuery.hook.d.ts +2 -3
  305. package/dist/{hooks → types/hooks}/Questionnaire/others/cancelQuestionnaireQuery.hook.d.ts +2 -3
  306. package/dist/{hooks → types/hooks}/Questionnaire/others/deleteQuestionnaireQuery.hook.d.ts +2 -3
  307. package/dist/{hooks → types/hooks}/Questionnaire/others/duplicateQuestionnaireQuery.hook.d.ts +2 -3
  308. package/dist/{hooks → types/hooks}/Questionnaire/others/finishQuestionnaireQuery.hook.d.ts +2 -3
  309. package/dist/{hooks → types/hooks}/Roles/get/useAllRolesQuery.hook.d.ts +3 -4
  310. package/dist/{hooks → types/hooks}/Store/getLocationsByUser.hook.d.ts +3 -4
  311. package/dist/{hooks → types/hooks}/Store/useAllStoreQuery.hook.d.ts +3 -4
  312. package/dist/{hooks → types/hooks}/Store/useStoreByCodeQuery.hook.d.ts +3 -4
  313. package/dist/types/hooks/Store/useStoreQuery.d.ts +7 -0
  314. package/dist/types/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +7 -0
  315. package/dist/{hooks → types/hooks}/Users/get/getUsersReadmissionQuery.hook.d.ts +3 -4
  316. package/dist/{hooks → types/hooks}/Users/get/useApplicationQuery.hook.d.ts +3 -4
  317. package/dist/{hooks → types/hooks}/Users/get/useExpUsersAnswersQuery.hook.d.ts +3 -4
  318. package/dist/types/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +3 -0
  319. package/dist/{hooks → types/hooks}/Users/get/usePermissionsQuery.hook.d.ts +3 -4
  320. package/dist/types/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +3 -0
  321. package/dist/types/hooks/Users/get/useUserIdQuery.hook.d.ts +2 -0
  322. package/dist/{hooks → types/hooks}/Users/get/useUserListQuery.hook.d.ts +3 -4
  323. package/dist/{hooks → types/hooks}/Users/get/useUserQuery.hook.d.ts +3 -4
  324. package/dist/types/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +2 -0
  325. package/dist/{hooks → types/hooks}/Users/mutate/useSingleUserIdMutateQuery.hook.d.ts +2 -3
  326. package/dist/{hooks → types/hooks}/Users/mutate/useUpdatePermissionsMutateQuery.hook.d.ts +2 -3
  327. package/dist/{hooks → types/hooks}/Users/mutate/useUpdateSupervisorMutateQuery.hook.d.ts +3 -4
  328. package/dist/{hooks → types/hooks}/Users/others/useSingleUserResetPassword.hook.d.ts +2 -3
  329. package/dist/types/hooks/Users/others/useUserBlockQuery.hook.d.ts +2 -0
  330. package/dist/types/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +2 -0
  331. package/dist/types/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +2 -0
  332. package/dist/types/hooks/Watson/get/getCloseSession.hook.d.ts +3 -0
  333. package/dist/{hooks → types/hooks}/Watson/mutate/mutateCloseSession.hook.d.ts +2 -3
  334. package/dist/{hooks → types/hooks}/Watson/mutate/mutateNotificationRequest.hook.d.ts +2 -3
  335. package/dist/types/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +3 -0
  336. package/dist/{hooks → types/hooks}/WidgetPicaPonto/get/getAttendanceIssuesQuery.hook.d.ts +3 -4
  337. package/dist/{hooks → types/hooks}/WidgetPicaPonto/get/getCriticaliesQuery.hook.d.ts +3 -4
  338. package/dist/{hooks → types/hooks}/WidgetPicaPonto/get/getReasonCodesQuery.hook.d.ts +3 -4
  339. package/dist/types/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +8 -0
  340. package/dist/{hooks → types/hooks}/WidgetPicaPonto/mutate/useAttendanceIssuesQuery.hook.d.ts +2 -3
  341. package/dist/types/hooks/index.d.ts +434 -0
  342. package/dist/types/index.d.ts +10 -2
  343. package/dist/{interfaces → types/interfaces}/Answer.d.ts +1 -2
  344. package/dist/{interfaces → types/interfaces}/Cart.d.ts +1 -2
  345. package/dist/{interfaces → types/interfaces}/Employee.d.ts +1 -2
  346. package/dist/{interfaces → types/interfaces}/Inspection.d.ts +1 -2
  347. package/dist/{interfaces → types/interfaces}/OSUA.d.ts +1 -0
  348. package/dist/{interfaces → types/interfaces}/Responses.d.ts +2 -3
  349. package/dist/{interfaces → types/interfaces}/Template.d.ts +1 -2
  350. package/dist/{interfaces → types/interfaces}/User.d.ts +1 -2
  351. package/dist/{services → types/services}/ApiService/index.d.ts +1 -1
  352. package/dist/{services → types/services}/InitService/index.d.ts +1 -2
  353. package/package.json +25 -14
  354. package/src/components/BottomDrawer/index.tsx +33 -0
  355. package/src/components/BottomDrawer/styles.module.scss +59 -0
  356. package/src/components/Button/index.tsx +7 -0
  357. package/src/components/Footer/index.tsx +44 -0
  358. package/src/components/Footer/styles.module.scss +33 -0
  359. package/src/components/Form/FormInputField/index.tsx +18 -0
  360. package/src/components/Form/FormSelectField/index.tsx +16 -0
  361. package/src/components/Form/index.ts +2 -0
  362. package/src/components/Header/index.tsx +20 -0
  363. package/src/components/Header/styles.module.scss +16 -0
  364. package/src/components/Link/index.tsx +21 -0
  365. package/src/components/Link/styles.module.scss +24 -0
  366. package/src/components/Navigation/index.tsx +30 -0
  367. package/src/components/Navigation/styles.module.scss +34 -0
  368. package/src/components/Page/index.tsx +35 -0
  369. package/src/components/Page/styles.module.scss +26 -0
  370. package/src/components/index.ts +8 -0
  371. package/src/constants/Icons.ts +21 -0
  372. package/src/constants/index.ts +1 -0
  373. package/src/helpers/codeMutation.tsx +2 -1
  374. package/src/helpers/date-unix.helper.ts +6 -5
  375. package/src/helpers/formatted-date.helper.ts +12 -8
  376. package/src/hooks/Astt/get/getRfidQuery.hook.ts +1 -0
  377. package/src/index.ts +1 -0
  378. package/src/interfaces/OSUA.ts +1 -0
  379. package/tsconfig.json +7 -4
  380. package/webpack.config.js +60 -0
  381. package/dist/components/index.d.ts +0 -1
  382. package/dist/hooks/ACB/mutate/postClientBalance.hook.d.ts +0 -3
  383. package/dist/hooks/ATIM/BackOffice/get/useSchedulePeriodQuery.hook.d.ts +0 -3
  384. package/dist/hooks/ATIM/BackOffice/get/useSchedulesQuery.hook.d.ts +0 -9
  385. package/dist/hooks/ATIM/BackOffice/get/useWorkMonths.hook.d.ts +0 -10
  386. package/dist/hooks/ATIM/BackOffice/mutate/postAttendanceRange.hook.d.ts +0 -3
  387. package/dist/hooks/ATIM/BackOffice/mutate/useAttendancesById.hook.d.ts +0 -3
  388. package/dist/hooks/ATIM/BackOffice/mutate/useScheduleMutateQuery.hook.d.ts +0 -3
  389. package/dist/hooks/ATIM/PicaPonto/mutate/postAttendance.hook.d.ts +0 -3
  390. package/dist/hooks/ATIM/PicaPonto/mutate/postVerifyUserQuery.hook.d.ts +0 -3
  391. package/dist/hooks/Acls/mutate/updateDisabledVoucherTemplates.hook.d.ts +0 -3
  392. package/dist/hooks/Aexp/get/getFlowExecutionByIdQuery.hook.d.ts +0 -4
  393. package/dist/hooks/Aexp/get/getFlowListByIdQuery.hook.d.ts +0 -4
  394. package/dist/hooks/Aexp/get/getTagsFlowQuery.hook.d.ts +0 -4
  395. package/dist/hooks/Aexp/mutate/runFlowExecutionQuery.hook.d.ts +0 -3
  396. package/dist/hooks/Aexp/mutate/useFlowExecutionQuery.hook.d.ts +0 -3
  397. package/dist/hooks/Analytics/get/useAnalyticsEvaluationCyclesQuery.hook.d.ts +0 -8
  398. package/dist/hooks/Analytics/get/useAnalyticsSideBarQuery.hook.d.ts +0 -8
  399. package/dist/hooks/Anot/get/getNotificationApplicationsQuery.hook.d.ts +0 -5
  400. package/dist/hooks/Anot/get/getNotificationCriticalitiesQuery.hook.d.ts +0 -5
  401. package/dist/hooks/Anot/get/getNotificationLanguagesQuery.hook.d.ts +0 -7
  402. package/dist/hooks/Anot/get/getNotificationTypeByIdQuery.hook.d.ts +0 -4
  403. package/dist/hooks/Anot/mutate/useNotificationTypeQuery.hook.d.ts +0 -3
  404. package/dist/hooks/Answer/get/useAnswerIdQuery.hook.d.ts +0 -3
  405. package/dist/hooks/Answer/get/useAnswersUserSupervisorQuery.hook.d.ts +0 -8
  406. package/dist/hooks/Answer/others/openAnswerQuery.hook.d.ts +0 -3
  407. package/dist/hooks/Answer/others/postAnswersExportQuery.hook.d.ts +0 -9
  408. package/dist/hooks/Answer/others/showAnswerQuery.hook.d.ts +0 -3
  409. package/dist/hooks/Asgt/get/getIdProductsPickedASGTQuery.hook.d.ts +0 -3
  410. package/dist/hooks/Ass/get/getAssProductsStockDetailsQuery.hook.d.ts +0 -8
  411. package/dist/hooks/Asta/Actions/get/getActionByIdQuery.hook.d.ts +0 -3
  412. package/dist/hooks/Asta/Actions/get/getActionPriorityQuery.hook.d.ts +0 -3
  413. package/dist/hooks/Asta/Actions/get/getActionStagesQuery.hook.d.ts +0 -3
  414. package/dist/hooks/Asta/Actions/mutate/useActionMutateQuery.hook.d.ts +0 -3
  415. package/dist/hooks/Asta/Actions/others/finishActionQuery.hook.d.ts +0 -3
  416. package/dist/hooks/Asta/Actions/others/selectActionStatusQuery.hook.d.ts +0 -3
  417. package/dist/hooks/Asta/Actions/others/startActionQuery.hook.d.ts +0 -3
  418. package/dist/hooks/Asta/Answer/get/getAstaAnswerByIdQuery.hook.d.ts +0 -3
  419. package/dist/hooks/Asta/Answer/others/finishAstaAnswersQuery.hook.d.ts +0 -3
  420. package/dist/hooks/Asta/AnswerType/get/getAnswerColorsQuery.hook.d.ts +0 -3
  421. package/dist/hooks/Asta/AnswerType/get/getAnswerTypeByIdQuery.hook.d.ts +0 -3
  422. package/dist/hooks/Asta/AnswerType/get/getAnswerTypeQuery.hook.d.ts +0 -3
  423. package/dist/hooks/Asta/AnswerType/mutate/useAnswerTypeMutateQuery.hook.d.ts +0 -3
  424. package/dist/hooks/Asta/AnswerType/others/finishAnswerTypeQuery.hook.d.ts +0 -3
  425. package/dist/hooks/Asta/AnswerType/others/selectAnswerNameQuery.hook.d.ts +0 -3
  426. package/dist/hooks/Asta/Inspection/mutate/useInspectionMutateQuery.hook.d.ts +0 -3
  427. package/dist/hooks/Asta/Inspection/others/exportInspectionQuery.hook.d.ts +0 -3
  428. package/dist/hooks/Asta/Inspection/others/finishInspectionQuery.hook.d.ts +0 -3
  429. package/dist/hooks/Asta/Template/get/getTemplateByIdQuery.hook.d.ts +0 -3
  430. package/dist/hooks/Asta/Template/get/getTemplateHeadersQuery.hook.d.ts +0 -3
  431. package/dist/hooks/Asta/Template/mutate/useTemplateMutateQuery.hook.d.ts +0 -3
  432. package/dist/hooks/Asta/Template/others/finishTemplateQuery.hook.d.ts +0 -3
  433. package/dist/hooks/Asts/get/getStockQuery.hook.d.ts +0 -8
  434. package/dist/hooks/Astt/Asgt/get/getIdProductsPickedASTTQuery.hook.d.ts +0 -3
  435. package/dist/hooks/Astt/get/getTransferStatesQuery.hook.d.ts +0 -3
  436. package/dist/hooks/AsvProduct/get/getProductsByRefQuery.hook.d.ts +0 -9
  437. package/dist/hooks/AsvProduct/get/getProductsStockDetailsQuery.hook.d.ts +0 -8
  438. package/dist/hooks/BigWin/get/getMonthsListQuery.hook.d.ts +0 -3
  439. package/dist/hooks/BigWin/others/publishMonthsEmployeeQuery.hook.d.ts +0 -3
  440. package/dist/hooks/BigWin/others/publishMonthsManagerQuery.hook.d.ts +0 -3
  441. package/dist/hooks/EvaluationCycle/get/useEvaluationCycleIdQuery.hook.d.ts +0 -3
  442. package/dist/hooks/OSUA/MIMO/get/useIntegrationDataQuery.hook.d.ts +0 -3
  443. package/dist/hooks/OSUA/MIMO/mutate/postDagsAdjustStock.hook.d.ts +0 -1
  444. package/dist/hooks/OSUA/MIMO/mutate/postIntegrationDag.hook.d.ts +0 -5
  445. package/dist/hooks/OSUA/MIMO/mutate/postProductVendusIntegration.hook.d.ts +0 -3
  446. package/dist/hooks/OSUA/MIMO/mutate/updateErrorHistory.hook.d.ts +0 -3
  447. package/dist/hooks/OSUA/MIMO/mutate/updateIntegrationProcess.hook.d.ts +0 -7
  448. package/dist/hooks/OSUA/get/documentos/getGngDocumentos.hook.d.ts +0 -10
  449. package/dist/hooks/OSUA/get/queue/getQueues.hook.d.ts +0 -3
  450. package/dist/hooks/OSUA/mutate/postEventsRep.hook.d.ts +0 -1
  451. package/dist/hooks/OSUA/mutate/postVoucher.hook.d.ts +0 -3
  452. package/dist/hooks/OSUA/mutate/useSetIntegrationToFinished.hook.d.ts +0 -3
  453. package/dist/hooks/Orch/get/getAuth0ConfigQuery.hook.d.ts +0 -3
  454. package/dist/hooks/Orch/get/getInstanceByIdQuery.hook.d.ts +0 -4
  455. package/dist/hooks/Orch/get/getMacrosInstancesQuery.hook.d.ts +0 -9
  456. package/dist/hooks/Orch/get/getMacrosUserQuery.hook.d.ts +0 -4
  457. package/dist/hooks/Others/Vacation/get/getVacationTemplateQuery.hook.d.ts +0 -3
  458. package/dist/hooks/Others/Vacation/others/aproveVacationPlanQuery.hook.d.ts +0 -9
  459. package/dist/hooks/Others/Vacation/others/rejectVacationPlanQuery.hook.d.ts +0 -10
  460. package/dist/hooks/Others/editFieldsByBulkQuery.hook.d.ts +0 -3
  461. package/dist/hooks/Others/oneSignalUserQuery.hook.d.ts +0 -1
  462. package/dist/hooks/Others/useApplicationDataQuery.hook.d.ts +0 -3
  463. package/dist/hooks/Others/useContractStatesQuery.hook.d.ts +0 -8
  464. package/dist/hooks/Others/useTermNotificationQuery.hook.d.ts +0 -3
  465. package/dist/hooks/Questionnaire/get/useQuestionnaireIdQuery.hook.d.ts +0 -3
  466. package/dist/hooks/Questionnaire/mutate/useQuestionnaireMutateQuery.hook.d.ts +0 -3
  467. package/dist/hooks/Store/useStoreQuery.d.ts +0 -8
  468. package/dist/hooks/Users/get/getUserAndSupervisorQuery.hook.d.ts +0 -8
  469. package/dist/hooks/Users/get/usePermissionByIdQuery.hook.d.ts +0 -4
  470. package/dist/hooks/Users/get/useSingleUserIdQuery.hook.d.ts +0 -4
  471. package/dist/hooks/Users/get/useUserIdQuery.hook.d.ts +0 -3
  472. package/dist/hooks/Users/mutate/deletePermissionMutateQuery.hook.d.ts +0 -3
  473. package/dist/hooks/Users/others/useUserBlockQuery.hook.d.ts +0 -3
  474. package/dist/hooks/Users/others/useUserEmailVerifQuery.hook.d.ts +0 -3
  475. package/dist/hooks/Users/others/useUserResetPassByEmail.hook.d.ts +0 -3
  476. package/dist/hooks/Watson/get/getCloseSession.hook.d.ts +0 -4
  477. package/dist/hooks/WidgetPicaPonto/get/getAttendanceIssuesByIdQuery.hook.d.ts +0 -4
  478. package/dist/hooks/WidgetPicaPonto/get/getSchedulesStoresQuery.hook.d.ts +0 -9
  479. package/dist/hooks/index.d.ts +0 -434
  480. package/dist/index.d.ts +0 -7
  481. package/dist/shared-resources.umd.js +0 -33
  482. package/dist/shared-resources.umd.js.map +0 -1
  483. package/vite.config.js +0 -49
  484. /package/dist/{enums → types/enums}/attendence-type.enum.d.ts +0 -0
  485. /package/dist/{enums → types/enums}/employees-order.enum.d.ts +0 -0
  486. /package/dist/{enums → types/enums}/index.d.ts +0 -0
  487. /package/dist/{helpers → types/helpers}/formatted-date.helper.d.ts +0 -0
  488. /package/dist/{helpers → types/helpers}/index.d.ts +0 -0
  489. /package/dist/{interfaces → types/interfaces}/ACB.d.ts +0 -0
  490. /package/dist/{interfaces → types/interfaces}/ASAECustomer.d.ts +0 -0
  491. /package/dist/{interfaces → types/interfaces}/Acls.d.ts +0 -0
  492. /package/dist/{interfaces → types/interfaces}/Actions.d.ts +0 -0
  493. /package/dist/{interfaces → types/interfaces}/AnalyticsEvaluationCycle.d.ts +0 -0
  494. /package/dist/{interfaces → types/interfaces}/AnalyticsUserId.d.ts +0 -0
  495. /package/dist/{interfaces → types/interfaces}/Anot.d.ts +0 -0
  496. /package/dist/{interfaces → types/interfaces}/AnswerType.d.ts +0 -0
  497. /package/dist/{interfaces → types/interfaces}/AnswersUserSupervisor.d.ts +0 -0
  498. /package/dist/{interfaces → types/interfaces}/ApplicationsByCategory.d.ts +0 -0
  499. /package/dist/{interfaces → types/interfaces}/AstaQuestions.d.ts +0 -0
  500. /package/dist/{interfaces → types/interfaces}/AstsStock.d.ts +0 -0
  501. /package/dist/{interfaces → types/interfaces}/AstsStockInfo.d.ts +0 -0
  502. /package/dist/{interfaces → types/interfaces}/AsttReconciliationDocuments.d.ts +0 -0
  503. /package/dist/{interfaces → types/interfaces}/AsvProductsByReference.d.ts +0 -0
  504. /package/dist/{interfaces → types/interfaces}/AsvProductsByStore.d.ts +0 -0
  505. /package/dist/{interfaces → types/interfaces}/AsvProductsStockDetails.d.ts +0 -0
  506. /package/dist/{interfaces → types/interfaces}/Atim.d.ts +0 -0
  507. /package/dist/{interfaces → types/interfaces}/AtimScheduling.d.ts +0 -0
  508. /package/dist/{interfaces → types/interfaces}/AttendanceIssues.d.ts +0 -0
  509. /package/dist/{interfaces → types/interfaces}/Auth0Config.d.ts +0 -0
  510. /package/dist/{interfaces → types/interfaces}/BellNotification.d.ts +0 -0
  511. /package/dist/{interfaces → types/interfaces}/Brand.d.ts +0 -0
  512. /package/dist/{interfaces → types/interfaces}/Bulk.d.ts +0 -0
  513. /package/dist/{interfaces → types/interfaces}/Bwg.d.ts +0 -0
  514. /package/dist/{interfaces → types/interfaces}/Checkout.d.ts +0 -0
  515. /package/dist/{interfaces → types/interfaces}/Configuration.d.ts +0 -0
  516. /package/dist/{interfaces → types/interfaces}/ContractStates.d.ts +0 -0
  517. /package/dist/{interfaces → types/interfaces}/Countries.d.ts +0 -0
  518. /package/dist/{interfaces → types/interfaces}/CreateNotification.d.ts +0 -0
  519. /package/dist/{interfaces → types/interfaces}/Customer.d.ts +0 -0
  520. /package/dist/{interfaces → types/interfaces}/CustomerHistory.d.ts +0 -0
  521. /package/dist/{interfaces → types/interfaces}/CustomerVoucher.d.ts +0 -0
  522. /package/dist/{interfaces → types/interfaces}/EvaluationCycle.d.ts +0 -0
  523. /package/dist/{interfaces → types/interfaces}/ExpUsersAnswers.d.ts +0 -0
  524. /package/dist/{interfaces → types/interfaces}/FlowExecution.d.ts +0 -0
  525. /package/dist/{interfaces → types/interfaces}/FlowList.d.ts +0 -0
  526. /package/dist/{interfaces → types/interfaces}/GetMonths.d.ts +0 -0
  527. /package/dist/{interfaces → types/interfaces}/Instances.d.ts +0 -0
  528. /package/dist/{interfaces → types/interfaces}/JobTitles.d.ts +0 -0
  529. /package/dist/{interfaces → types/interfaces}/MIMO.d.ts +0 -0
  530. /package/dist/{interfaces → types/interfaces}/MacroInstance.d.ts +0 -0
  531. /package/dist/{interfaces → types/interfaces}/Macros.d.ts +0 -0
  532. /package/dist/{interfaces → types/interfaces}/MonitoringComponent.d.ts +0 -0
  533. /package/dist/{interfaces → types/interfaces}/NotificationTitle.d.ts +0 -0
  534. /package/dist/{interfaces → types/interfaces}/Permissions.d.ts +0 -0
  535. /package/dist/{interfaces → types/interfaces}/PriceChange.d.ts +0 -0
  536. /package/dist/{interfaces → types/interfaces}/Product.d.ts +0 -0
  537. /package/dist/{interfaces → types/interfaces}/ProductsHierarchies.d.ts +0 -0
  538. /package/dist/{interfaces → types/interfaces}/ProductsPickedTransfers.d.ts +0 -0
  539. /package/dist/{interfaces → types/interfaces}/Questionnaire.d.ts +0 -0
  540. /package/dist/{interfaces → types/interfaces}/ReasonCodes.d.ts +0 -0
  541. /package/dist/{interfaces → types/interfaces}/ReportBuilder.d.ts +0 -0
  542. /package/dist/{interfaces → types/interfaces}/ResponseList.d.ts +0 -0
  543. /package/dist/{interfaces → types/interfaces}/Rfid.d.ts +0 -0
  544. /package/dist/{interfaces → types/interfaces}/Roles.d.ts +0 -0
  545. /package/dist/{interfaces → types/interfaces}/Store.d.ts +0 -0
  546. /package/dist/{interfaces → types/interfaces}/TagsFlow.d.ts +0 -0
  547. /package/dist/{interfaces → types/interfaces}/TermNotification.d.ts +0 -0
  548. /package/dist/{interfaces → types/interfaces}/TimeKeeping.d.ts +0 -0
  549. /package/dist/{interfaces → types/interfaces}/TransferAllProducts.d.ts +0 -0
  550. /package/dist/{interfaces → types/interfaces}/TransferDocumentState.d.ts +0 -0
  551. /package/dist/{interfaces → types/interfaces}/TransferDocuments.d.ts +0 -0
  552. /package/dist/{interfaces → types/interfaces}/TransferPackage.d.ts +0 -0
  553. /package/dist/{interfaces → types/interfaces}/TransferPickProducts.d.ts +0 -0
  554. /package/dist/{interfaces → types/interfaces}/TransferReportDiff.d.ts +0 -0
  555. /package/dist/{interfaces → types/interfaces}/TransferStates.d.ts +0 -0
  556. /package/dist/{interfaces → types/interfaces}/UserAuthentication.d.ts +0 -0
  557. /package/dist/{interfaces → types/interfaces}/UserEmailStatus.d.ts +0 -0
  558. /package/dist/{interfaces → types/interfaces}/VacationPlan.d.ts +0 -0
  559. /package/dist/{interfaces → types/interfaces}/VerifyImage.d.ts +0 -0
  560. /package/dist/{interfaces → types/interfaces}/VerifyUser.d.ts +0 -0
  561. /package/dist/{interfaces → types/interfaces}/Watson.d.ts +0 -0
  562. /package/dist/{interfaces → types/interfaces}/Workload.d.ts +0 -0
  563. /package/dist/{interfaces → types/interfaces}/index.d.ts +0 -0
  564. /package/dist/{services → types/services}/index.d.ts +0 -0
@@ -1,33 +0,0 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(":root{--primary-color: red;--white-color: white;--grad-bg-button-color: #DADADA;--button-border-color: #707070;--button-color: #37383A;--customer-icon-color: #63B299;--default-background-image-color: #D9D9D9;--field-border-color: #D5D8D7;--page-bg-color: #F9F9F9;--page-border-color: #CECECE;--page-footer-bg-color: #DEDEDE;--app-footer-bg-color: #2C2D2E;--app-footer-color: #F5F6F7;--app-header-bg-1-color: #F7F7F7;--app-header-bg-2-color: #E3E3E3;--app-header-bg-3-color: #797979;--app-header-bt-border-color: #090909;--page-header-bg-color: #282c34;--success-color: #64B298;--error-color: #E05151;--disabled-input: #E8E8E8;--job-title-bg: #A83D3D;--job-date-info-bg: #E0F0EA;--job-date-edit-bg: #F0F0F0;--header-border-color: #C7CAC9;--grey: #E6E6E6;--active-button-color: #35779D;--sf-pro: normal normal bold 12px/14px SF Pro Text;--delete-bg: #E15151;--color-black: #2c2d2e;--color-black-rgb: 44, 45, 46;--color-white: #FFFFFF;--color-white-rgb: 255, 255, 255;--color-orange: #FF674C;--color-orange-rgb: 255, 103, 76;--color-blue: #09168B;--color-blue-rgb: 9, 22, 139;--color-grey-light: #D9D9D9;--color-grey-light-rgb: 217, 217, 217;--color-grey: #C7CAC9;--color-grey-rgb: 199, 202, 201;--color-grey-dark: #797979;--color-grey-dark-rgb: 121, 121, 121;--color-warning-400: #E36262;--color-warning-500: #E05151;--color-confirmation-400: #73b9a2;--color-confirmation-600: #64B298;--font-family-primary: SF Pro;--font-weight-light: 300;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-style-normal: normal;--font-style-italic: italic;--font-size-body-1: 10px;--font-size-body-2: 12px;--font-size-body-3: 14px;--font-size-body-4: 16px;--font-size-body-5: 18px;--font-size-body-6: 20px;--font-size-h1: 46px;--font-size-h2: 40px;--font-size-h3: 36px;--font-size-h4: 30px;--font-size-h5: 24px;--font-size-body-base: var(--font-size-body-4);--font-size-label: var(--font-size-body-3);--button-default-background: var(--color-orange);--button-default-text-color: var(--color-white);--button-default-background-hover-color: rgba(var(--color-orange-rgb), .9);--button-default-text-hover-color: var(--color-white);--button-default-background-focus-color: var(--color-grey-dark);--button-default-text-focus-color: rgba(var(--color-white-rgb), .8);--button-style-1-background: var(--color-black);--button-style-1-text-color: var(--color-white);--button-style-1-background-hover-color: rgba(var(--color-black-rgb), .9);--button-style-1-text-hover-color: var(--color-white);--button-style-1-background-focus-color: var(--color-grey-dark);--button-style-1-text-focus-color: rgba(var(--color-white-rgb), .8);--button-disabled-background-color: var(--color-grey-dark);--button-disabled-default-text-color: var(--color-white);--link-color: var(--color-orange);--link-hover-color: var(--color-black);--link-focus-color: rgba(var(--color-orange), .9);--link-disabled-color: rgba(var(--color-grey), .2);--transition-slow: .2s;--transition: .6s;--transition-fast: 1s}body.a2aiStyle{--primary-color: red;--white-color: white;--grad-bg-button-color: #DADADA;--button-border-color: #707070;--button-color: #37383A;--customer-icon-color: #63B299;--default-background-image-color: #D9D9D9;--field-border-color: #D5D8D7;--page-bg-color: #F9F9F9;--page-border-color: #CECECE;--page-footer-bg-color: #DEDEDE;--app-footer-bg-color: #2C2D2E;--app-footer-color: #F5F6F7;--app-header-bg-1-color: #F7F7F7;--app-header-bg-2-color: #E3E3E3;--app-header-bg-3-color: #797979;--app-header-bt-border-color: #090909;--page-header-bg-color: #282c34;--success-color: #64B298;--error-color: #E05151;--disabled-input: #E8E8E8;--job-title-bg: #A83D3D;--job-date-info-bg: #E0F0EA;--job-date-edit-bg: #F0F0F0;--header-border-color: #C7CAC9;--grey: #E6E6E6;--active-button-color: #35779D;--sf-pro: normal normal bold 12px/14px SF Pro Text;--delete-bg: #E15151;--color-black: #2c2d2e;--color-black-rgb: 44, 45, 46;--color-white: #FFFFFF;--color-white-rgb: 255, 255, 255;--color-orange: #A9D046;--color-orange-rgb: 169, 208, 70;--color-blue: #09168B;--color-blue-rgb: 9, 22, 139;--color-purple-blue: #324A6D;--color-purple-blue-rgb: 50, 74, 109;--color-dark-blue: #1C244B;--color-dark-blue-rgb: 28, 36, 75;--color-grey-light: #D9D9D9;--color-grey-light-rgb: 217, 217, 217;--color-grey: #C7CAC9;--color-grey-rgb: 199, 202, 201;--color-grey-dark: #797979;--color-grey-dark-rgb: 121, 121, 121;--color-warning-400: #E36262;--color-warning-500: #E05151;--color-confirmation-400: #73b9a2;--color-confirmation-600: #64B298;--font-family-primary: SF Pro;--font-weight-light: 300;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-style-normal: normal;--font-style-italic: italic;--font-size-body-1: 10px;--font-size-body-2: 12px;--font-size-body-3: 14px;--font-size-body-4: 16px;--font-size-body-5: 18px;--font-size-body-6: 20px;--font-size-h1: 46px;--font-size-h2: 40px;--font-size-h3: 36px;--font-size-h4: 30px;--font-size-h5: 24px;--font-size-body-base: var(--font-size-body-4);--font-size-label: var(--font-size-body-3);--button-default-background: var(--color-orange);--button-default-text-color: var(--color-white);--button-default-background-hover-color: rgba(var(--color-orange-rgb), .9);--button-default-text-hover-color: var(--color-white);--button-default-background-focus-color: var(--color-orange-rgb);--button-default-text-focus-color: rgba(var(--color-white-rgb), .8);--button-style-1-background: var(--color-black);--button-style-1-text-color: var(--color-white);--button-style-1-background-hover-color: rgba(var(--color-black-rgb), .9);--button-style-1-text-hover-color: var(--color-white);--button-style-1-background-focus-color: var(--color-grey-dark);--button-style-1-text-focus-color: rgba(var(--color-white-rgb), .8);--button-disabled-background-color: var(--color-grey);--button-disabled-default-text-color: var(--color-white);--link-color: var(--color-orange);--link-hover-color: var(--color-black);--link-focus-color: rgba(var(--color-orange), .9);--link-disabled-color: rgba(var(--color-grey), .2);--transition-slow: .2s;--transition: .6s;--transition-fast: 1s}")),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- (function(s,le){typeof exports=="object"&&typeof module<"u"?le(exports,require("react"),require("@tanstack/react-query"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","@tanstack/react-query","react-router-dom"],le):(s=typeof globalThis<"u"?globalThis:s||self,le(s.SharedResources={},s.react,s.reactQuery,s["react-router-dom"]))})(this,(function(s,le,r,ht){"use strict";const oe={},kt=t=>{Object.assign(oe,t)};var $=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},q={searchParams:"URLSearchParams"in $,iterable:"Symbol"in $&&"iterator"in Symbol,blob:"FileReader"in $&&"Blob"in $&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in $,arrayBuffer:"ArrayBuffer"in $};function Ut(t){return t&&DataView.prototype.isPrototypeOf(t)}if(q.arrayBuffer)var Ot=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Mt=ArrayBuffer.isView||function(t){return t&&Ot.indexOf(Object.prototype.toString.call(t))>-1};function Ie(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Be(t){return typeof t!="string"&&(t=String(t)),t}function Ge(t){var e={next:function(){var n=t.shift();return{done:n===void 0,value:n}}};return q.iterable&&(e[Symbol.iterator]=function(){return e}),e}function B(t){this.map={},t instanceof B?t.forEach(function(e,n){this.append(n,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}B.prototype.append=function(t,e){t=Ie(t),e=Be(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},B.prototype.delete=function(t){delete this.map[Ie(t)]},B.prototype.get=function(t){return t=Ie(t),this.has(t)?this.map[t]:null},B.prototype.has=function(t){return this.map.hasOwnProperty(Ie(t))},B.prototype.set=function(t,e){this.map[Ie(t)]=Be(e)},B.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},B.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),Ge(t)},B.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ge(t)},B.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),Ge(t)},q.iterable&&(B.prototype[Symbol.iterator]=B.prototype.entries);function Fe(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function Ze(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function Ht(t){var e=new FileReader,n=Ze(e);return e.readAsArrayBuffer(t),n}function vt(t){var e=new FileReader,n=Ze(e),u=/charset=([A-Za-z0-9_-]+)/.exec(t.type),o=u?u[1]:"utf-8";return e.readAsText(t,o),n}function Nt(t){for(var e=new Uint8Array(t),n=new Array(e.length),u=0;u<e.length;u++)n[u]=String.fromCharCode(e[u]);return n.join("")}function xe(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function et(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:q.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:q.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:q.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():q.arrayBuffer&&q.blob&&Ut(t)?(this._bodyArrayBuffer=xe(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):q.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||Mt(t))?this._bodyArrayBuffer=xe(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):q.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q.blob&&(this.blob=function(){var t=Fe(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=Fe(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(q.blob)return this.blob().then(Ht);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=Fe(this);if(t)return t;if(this._bodyBlob)return vt(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Nt(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},q.formData&&(this.formData=function(){return this.text().then(bt)}),this.json=function(){return this.text().then(JSON.parse)},this}var Yt=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function wt(t){var e=t.toUpperCase();return Yt.indexOf(e)>-1?e:t}function ye(t,e){if(!(this instanceof ye))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var n=e.body;if(t instanceof ye){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new B(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!n&&t._bodyInit!=null&&(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new B(e.headers)),this.method=wt(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||(function(){if("AbortController"in $){var i=new AbortController;return i.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var u=/([?&])_=[^&]*/;if(u.test(this.url))this.url=this.url.replace(u,"$1_="+new Date().getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ye.prototype.clone=function(){return new ye(this,{body:this._bodyInit})};function bt(t){var e=new FormData;return t.trim().split("&").forEach(function(n){if(n){var u=n.split("="),o=u.shift().replace(/\+/g," "),i=u.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(i))}}),e}function Lt(t){var e=new B,n=t.replace(/\r?\n[\t ]+/g," ");return n.split("\r").map(function(u){return u.indexOf(`
3
- `)===0?u.substr(1,u.length):u}).forEach(function(u){var o=u.split(":"),i=o.shift().trim();if(i){var c=o.join(":").trim();try{e.append(i,c)}catch(A){console.warn("Response "+A.message)}}}),e}et.call(ye.prototype);function ee(t,e){if(!(this instanceof ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new B(e.headers),this.url=e.url||"",this._initBody(t)}et.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new B(this.headers),url:this.url})},ee.error=function(){var t=new ee(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Bt=[301,302,303,307,308];ee.redirect=function(t,e){if(Bt.indexOf(e)===-1)throw new RangeError("Invalid status code");return new ee(null,{status:e,headers:{location:t}})};var Ee=$.DOMException;try{new Ee}catch{Ee=function(e,n){this.message=e,this.name=n;var u=Error(e);this.stack=u.stack},Ee.prototype=Object.create(Error.prototype),Ee.prototype.constructor=Ee}function tt(t,e){return new Promise(function(n,u){var o=new ye(t,e);if(o.signal&&o.signal.aborted)return u(new Ee("Aborted","AbortError"));var i=new XMLHttpRequest;function c(){i.abort()}i.onload=function(){var g={statusText:i.statusText,headers:Lt(i.getAllResponseHeaders()||"")};o.url.indexOf("file://")===0&&(i.status<200||i.status>599)?g.status=200:g.status=i.status,g.url="responseURL"in i?i.responseURL:g.headers.get("X-Request-URL");var H="response"in i?i.response:i.responseText;setTimeout(function(){n(new ee(H,g))},0)},i.onerror=function(){setTimeout(function(){u(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){u(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){u(new Ee("Aborted","AbortError"))},0)};function A(g){try{return g===""&&$.location.href?$.location.href:g}catch{return g}}if(i.open(o.method,A(o.url),!0),o.credentials==="include"?i.withCredentials=!0:o.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(q.blob?i.responseType="blob":q.arrayBuffer&&(i.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof B||$.Headers&&e.headers instanceof $.Headers)){var P=[];Object.getOwnPropertyNames(e.headers).forEach(function(g){P.push(Ie(g)),i.setRequestHeader(g,Be(e.headers[g]))}),o.headers.forEach(function(g,H){P.indexOf(H)===-1&&i.setRequestHeader(H,g)})}else o.headers.forEach(function(g,H){i.setRequestHeader(H,g)});o.signal&&(o.signal.addEventListener("abort",c),i.onreadystatechange=function(){i.readyState===4&&o.signal.removeEventListener("abort",c)}),i.send(typeof o._bodyInit>"u"?null:o._bodyInit)})}tt.polyfill=!0,$.fetch||($.fetch=tt,$.Headers=B,$.Request=ye,$.Response=ee);const D=(t,e)=>pe(`${t}?${ie(e||{})}`,"GET"),l=(t,e)=>me(`${t}?${ie(e||{})}`,"GET"),nt=(t,e)=>Vt(`${t}?${ie(e||{})}`,"GET"),f=(t,e,n,u)=>me(`${t}${ie(e||{})}`,"PUT",n,u),Gt=(t,e,n,u)=>me(`${t}${ie(e||{})}`,"PATCH",n,u),p=(t,e,n,u)=>me(`${t}${ie(e||{})}`,"POST",n,u),fe=(t,e,n)=>me(`${t}${ie(e||{})}`,"DELETE",n),te=(t,e)=>pe(t,"POST",e),Te=(t,e,n)=>pe(`${t}${ie(e||{})}`,"POST",n),de=(t,e,n)=>pe(`${t}${ie(e||{})}`,"PUT",n),Ft=(t,e)=>pe(t,"PUT",e),rt=(t,e)=>pe(t,"PATCH",e),$t=(t,e)=>pe(t,"DELETE",e),ie=t=>Object.entries(t).reduce((e,[n,u])=>[...e,`${n}=${u}`],[]).join("&"),pe=(t,e="GET",n,u)=>{const o=$e(t),i={Authorization:oe.token};let c;return["POST","PUT","PATCH"].includes(e)&&(i["Content-Type"]="application/json",c=JSON.stringify(n)),fetch(o,{method:e,headers:i,body:c}).then(A=>A.status>=200&&A.status<=300?A.json():A.json().then(P=>Promise.reject(P)))},me=(t,e="GET",n,u)=>{const o=$e(t),i={Authorization:oe.tokenAuth0?`Bearer ${oe.tokenAuth0}`:void 0};let c;return["POST","PUT","PATCH"].includes(e)&&(u==="formdata"?c=n:(i["Content-Type"]="application/json",c=JSON.stringify(n))),fetch(o,{method:e,headers:i,body:c}).then(A=>A.status>=200&&A.status<=300?A.json():A.json().then(P=>Promise.reject(P)))},Vt=(t,e="GET",n,u)=>{const o=$e(t),i={Authorization:oe.basic?`Basic ${oe.basic}`:void 0};let c;return["POST","PUT","PATCH"].includes(e)&&(i["Content-Type"]="application/json",c=JSON.stringify(n)),fetch(o,{method:e,headers:i,body:c}).then(A=>A.status>=200&&A.status<=300?A.json():A.json().then(P=>Promise.reject(P)))},$e=t=>`${oe.ApiHost}${oe.ApiPath}${t}`;function qt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var He={exports:{}},he={};/**
4
- * @license React
5
- * react-jsx-runtime.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */var ut;function Wt(){if(ut)return he;ut=1;var t=le,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(A,P,g){var H,N={},ne=null,X=null;g!==void 0&&(ne=""+g),P.key!==void 0&&(ne=""+P.key),P.ref!==void 0&&(X=P.ref);for(H in P)u.call(P,H)&&!i.hasOwnProperty(H)&&(N[H]=P[H]);if(A&&A.defaultProps)for(H in P=A.defaultProps,P)N[H]===void 0&&(N[H]=P[H]);return{$$typeof:e,type:A,key:ne,ref:X,props:N,_owner:o.current}}return he.Fragment=n,he.jsx=c,he.jsxs=c,he}var ke={};/**
12
- * @license React
13
- * react-jsx-runtime.development.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */var st;function jt(){return st||(st=1,process.env.NODE_ENV!=="production"&&(function(){var t=le,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),A=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),X=Symbol.for("react.offscreen"),ae=Symbol.iterator,Ye="@@iterator";function qe(a){if(a===null||typeof a!="object")return null;var T=ae&&a[ae]||a[Ye];return typeof T=="function"?T:null}var Se=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function V(a){{for(var T=arguments.length,d=new Array(T>1?T-1:0),R=1;R<T;R++)d[R-1]=arguments[R];Ue("error",a,d)}}function Ue(a,T,d){{var R=Se.ReactDebugCurrentFrame,U=R.getStackAddendum();U!==""&&(T+="%s",d=d.concat([U]));var M=d.map(function(h){return String(h)});M.unshift("Warning: "+T),Function.prototype.apply.call(console[a],console,M)}}var We=!1,_e=!1,ce=!1,we=!1,Oe=!1,Ce;Ce=Symbol.for("react.module.reference");function b(a){return!!(typeof a=="string"||typeof a=="function"||a===u||a===i||Oe||a===o||a===g||a===H||we||a===X||We||_e||ce||typeof a=="object"&&a!==null&&(a.$$typeof===ne||a.$$typeof===N||a.$$typeof===c||a.$$typeof===A||a.$$typeof===P||a.$$typeof===Ce||a.getModuleId!==void 0))}function k(a,T,d){var R=a.displayName;if(R)return R;var U=T.displayName||T.name||"";return U!==""?d+"("+U+")":d}function Re(a){return a.displayName||"Context"}function z(a){if(a==null)return null;if(typeof a.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case u:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case g:return"Suspense";case H:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case A:var T=a;return Re(T)+".Consumer";case c:var d=a;return Re(d._context)+".Provider";case P:return k(a,a.render,"ForwardRef");case N:var R=a.displayName||null;return R!==null?R:z(a.type)||"Memo";case ne:{var U=a,M=U._payload,h=U._init;try{return z(h(M))}catch{return null}}}return null}var C=Object.assign,y=0,S,_,E,Q,I,O,v;function Y(){}Y.__reactDisabledLog=!0;function F(){{if(y===0){S=console.log,_=console.info,E=console.warn,Q=console.error,I=console.group,O=console.groupCollapsed,v=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}y++}}function j(){{if(y--,y===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},a,{value:S}),info:C({},a,{value:_}),warn:C({},a,{value:E}),error:C({},a,{value:Q}),group:C({},a,{value:I}),groupCollapsed:C({},a,{value:O}),groupEnd:C({},a,{value:v})})}y<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var re=Se.ReactCurrentDispatcher,Z;function ue(a,T,d){{if(Z===void 0)try{throw Error()}catch(U){var R=U.stack.trim().match(/\n( *(at )?)/);Z=R&&R[1]||""}return`
20
- `+Z+a}}var x=!1,G;{var se=typeof WeakMap=="function"?WeakMap:Map;G=new se}function Ae(a,T){if(!a||x)return"";{var d=G.get(a);if(d!==void 0)return d}var R;x=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=re.current,re.current=null,F();try{if(T){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(K){R=K}Reflect.construct(a,[],h)}else{try{h.call()}catch(K){R=K}a.call(h.prototype)}}else{try{throw Error()}catch(K){R=K}a()}}catch(K){if(K&&R&&typeof K.stack=="string"){for(var m=K.stack.split(`
21
- `),W=R.stack.split(`
22
- `),w=m.length-1,L=W.length-1;w>=1&&L>=0&&m[w]!==W[L];)L--;for(;w>=1&&L>=0;w--,L--)if(m[w]!==W[L]){if(w!==1||L!==1)do if(w--,L--,L<0||m[w]!==W[L]){var J=`
23
- `+m[w].replace(" at new "," at ");return a.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",a.displayName)),typeof a=="function"&&G.set(a,J),J}while(w>=1&&L>=0);break}}}finally{x=!1,re.current=M,j(),Error.prepareStackTrace=U}var ge=a?a.displayName||a.name:"",Qe=ge?ue(ge):"";return typeof a=="function"&&G.set(a,Qe),Qe}function Pe(a,T,d){return Ae(a,!1)}function oa(a){var T=a.prototype;return!!(T&&T.isReactComponent)}function be(a,T,d){if(a==null)return"";if(typeof a=="function")return Ae(a,oa(a));if(typeof a=="string")return ue(a);switch(a){case g:return ue("Suspense");case H:return ue("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case P:return Pe(a.render);case N:return be(a.type,T,d);case ne:{var R=a,U=R._payload,M=R._init;try{return be(M(U),T,d)}catch{}}}return""}var Me=Object.prototype.hasOwnProperty,yt={},Et=Se.ReactDebugCurrentFrame;function Le(a){if(a){var T=a._owner,d=be(a.type,a._source,T?T.type:null);Et.setExtraStackFrame(d)}else Et.setExtraStackFrame(null)}function ia(a,T,d,R,U){{var M=Function.call.bind(Me);for(var h in a)if(M(a,h)){var m=void 0;try{if(typeof a[h]!="function"){var W=Error((R||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw W.name="Invariant Violation",W}m=a[h](T,h,R,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){m=w}m&&!(m instanceof Error)&&(Le(U),V("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",R||"React class",d,h,typeof m),Le(null)),m instanceof Error&&!(m.message in yt)&&(yt[m.message]=!0,Le(U),V("Failed %s type: %s",d,m.message),Le(null))}}}var aa=Array.isArray;function je(a){return aa(a)}function ca(a){{var T=typeof Symbol=="function"&&Symbol.toStringTag,d=T&&a[Symbol.toStringTag]||a.constructor.name||"Object";return d}}function la(a){try{return ft(a),!1}catch{return!0}}function ft(a){return""+a}function dt(a){if(la(a))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ca(a)),ft(a)}var pt=Se.ReactCurrentOwner,Ta={key:!0,ref:!0,__self:!0,__source:!0},_t,Ct;function Sa(a){if(Me.call(a,"ref")){var T=Object.getOwnPropertyDescriptor(a,"ref").get;if(T&&T.isReactWarning)return!1}return a.ref!==void 0}function Aa(a){if(Me.call(a,"key")){var T=Object.getOwnPropertyDescriptor(a,"key").get;if(T&&T.isReactWarning)return!1}return a.key!==void 0}function ya(a,T){typeof a.ref=="string"&&pt.current}function Ea(a,T){{var d=function(){_t||(_t=!0,V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};d.isReactWarning=!0,Object.defineProperty(a,"key",{get:d,configurable:!0})}}function fa(a,T){{var d=function(){Ct||(Ct=!0,V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};d.isReactWarning=!0,Object.defineProperty(a,"ref",{get:d,configurable:!0})}}var da=function(a,T,d,R,U,M,h){var m={$$typeof:e,type:a,key:T,ref:d,props:h,_owner:M};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function pa(a,T,d,R,U){{var M,h={},m=null,W=null;d!==void 0&&(dt(d),m=""+d),Aa(T)&&(dt(T.key),m=""+T.key),Sa(T)&&(W=T.ref,ya(T,U));for(M in T)Me.call(T,M)&&!Ta.hasOwnProperty(M)&&(h[M]=T[M]);if(a&&a.defaultProps){var w=a.defaultProps;for(M in w)h[M]===void 0&&(h[M]=w[M])}if(m||W){var L=typeof a=="function"?a.displayName||a.name||"Unknown":a;m&&Ea(h,L),W&&fa(h,L)}return da(a,m,W,U,R,pt.current,h)}}var Ke=Se.ReactCurrentOwner,Rt=Se.ReactDebugCurrentFrame;function De(a){if(a){var T=a._owner,d=be(a.type,a._source,T?T.type:null);Rt.setExtraStackFrame(d)}else Rt.setExtraStackFrame(null)}var Xe;Xe=!1;function Je(a){return typeof a=="object"&&a!==null&&a.$$typeof===e}function Qt(){{if(Ke.current){var a=z(Ke.current.type);if(a)return`
24
-
25
- Check the render method of \``+a+"`."}return""}}function _a(a){return""}var It={};function Ca(a){{var T=Qt();if(!T){var d=typeof a=="string"?a:a.displayName||a.name;d&&(T=`
26
-
27
- Check the top-level render call using <`+d+">.")}return T}}function Pt(a,T){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var d=Ca(T);if(It[d])return;It[d]=!0;var R="";a&&a._owner&&a._owner!==Ke.current&&(R=" It was passed a child from "+z(a._owner.type)+"."),De(a),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',d,R),De(null)}}function Dt(a,T){{if(typeof a!="object")return;if(je(a))for(var d=0;d<a.length;d++){var R=a[d];Je(R)&&Pt(R,T)}else if(Je(a))a._store&&(a._store.validated=!0);else if(a){var U=qe(a);if(typeof U=="function"&&U!==a.entries)for(var M=U.call(a),h;!(h=M.next()).done;)Je(h.value)&&Pt(h.value,T)}}}function Ra(a){{var T=a.type;if(T==null||typeof T=="string")return;var d;if(typeof T=="function")d=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===P||T.$$typeof===N))d=T.propTypes;else return;if(d){var R=z(T);ia(d,a.props,"prop",R,a)}else if(T.PropTypes!==void 0&&!Xe){Xe=!0;var U=z(T);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",U||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qa(a){{for(var T=Object.keys(a.props),d=0;d<T.length;d++){var R=T[d];if(R!=="children"&&R!=="key"){De(a),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",R),De(null);break}}a.ref!==null&&(De(a),V("Invalid attribute `ref` supplied to `React.Fragment`."),De(null))}}var gt={};function mt(a,T,d,R,U,M){{var h=b(a);if(!h){var m="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var W=_a();W?m+=W:m+=Qt();var w;a===null?w="null":je(a)?w="array":a!==void 0&&a.$$typeof===e?(w="<"+(z(a.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):w=typeof a,V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,m)}var L=pa(a,T,d,U,M);if(L==null)return L;if(h){var J=T.children;if(J!==void 0)if(R)if(je(J)){for(var ge=0;ge<J.length;ge++)Dt(J[ge],a);Object.freeze&&Object.freeze(J)}else V("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Dt(J,a)}if(Me.call(T,"key")){var Qe=z(a),K=Object.keys(T).filter(function(ha){return ha!=="key"}),ze=K.length>0?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}";if(!gt[Qe+ze]){var ma=K.length>0?"{"+K.join(": ..., ")+": ...}":"{}";V(`A props object containing a "key" prop is being spread into JSX:
28
- let props = %s;
29
- <%s {...props} />
30
- React keys must be passed directly to JSX without using spread:
31
- let props = %s;
32
- <%s key={someKey} {...props} />`,ze,Qe,ma,Qe),gt[Qe+ze]=!0}}return a===u?Qa(L):Ra(L),L}}function Ia(a,T,d){return mt(a,T,d,!0)}function Pa(a,T,d){return mt(a,T,d,!1)}var Da=Pa,ga=Ia;ke.Fragment=u,ke.jsx=Da,ke.jsxs=ga})()),ke}var ot;function Kt(){return ot||(ot=1,process.env.NODE_ENV==="production"?He.exports=Wt():He.exports=jt()),He.exports}var Ve=Kt();const it=new r.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,suspense:!0}}}),Xt="C62A59C7-DE0C-4EF7-9A5F-1929A4F93F46",at=({id:t,...e})=>r.useQuery(["STORE_QUERY",t],()=>D(`/Franchise/Locations/${t||Xt}`),e),Jt=le.createContext(null),zt=({children:t,disableInitialStoreRequest:e})=>{const[n]=ht.useSearchParams(),{data:u}=at({id:n.get("storeId"),enabled:!e});return Ve.jsxs(Jt.Provider,{value:u,children:[" ",t," "]})},Zt=({children:t,disableInitialStoreRequest:e})=>Ve.jsx(r.QueryClientProvider,{client:it,children:Ve.jsx(zt,{disableInitialStoreRequest:e,children:t})}),xt=({code:t,shouldFetch:e,...n})=>r.useQuery(["STORE_CODE_QUERY",t,e],()=>D("/Franchise/Locations/findByCode",{pCode:t}),{enabled:e,...n}),en=({records:t,sortBy:e,sortDirection:n,tags:u,advancedTags:o,filter:i,page:c,...A})=>{const P=o&&i?`${o} AND ${i}`:o||i||null;return r.useQuery(["STORE_QUERY",t,e,n,u,o,i,c,A],()=>D("/Franchise/Locations",{pPage:c||1,pRecords:t||50,pSortBy:e,pSortDirection:n,pTerms:u,...P?{pQuery:P}:{}}),A)},tn=({records:t,sortBy:e,sortDirection:n,tags:u,advancedTags:o,filter:i,page:c,...A},P)=>{const g=o&&i?`${o} AND ${i}`:o||i||null;return r.useQuery(["LOCATIONS_BY_USER_QUERY",t,e,n,u,o,i,c,P,A],()=>l(`/AACP/Users/${P}/Locations`,{pPage:c||1,pRecords:t||50,pSortBy:e,pSortDirection:n,pTerms:u,...g?{pQuery:g}:{}}),A)},nn=t=>r.useQuery(["EVALUATION_CYCLE_ID_QUERY",t],()=>l(`/APE/EvaluationCycle/${t}`),{enabled:!!t}),rn=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f(`/APE/EvaluationCycle/${e.Id}`,void 0,e):p("/APE/EvaluationCycle",void 0,e),{onSuccess:e=>{t.setQueryData(["EVALUATION_CYCLE_ID_QUERY"],e)}})},un=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/EvaluationCycle/Activate/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["EVALUATION_CYCLE_ID_QUERY"],e)}})},sn=()=>{const t=r.useQueryClient();return r.useMutation(e=>fe(`/APE/EvaluationCycle?pId=${e.Id}`),{onSuccess:()=>{t.invalidateQueries(["EVALUATION_CYCLE_QUERY"])}})},on=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["EVALUATION_CYCLE_QUERY",t,e,n,u,o,i],()=>l("/APE/EvaluationCycle",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),an=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/EvaluationCycle/Cancel/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["EVALUATION_CYCLE_ID_QUERY"],e)}})},cn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/EvaluationCycle/Finish/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["EVALUATION_CYCLE_ID_QUERY"],e)}})},ln=({tags:t,page:e,records:n,queryField:u,sortBy:o,sortDirection:i})=>r.useQuery(["QUESTIONNAIRE_QUERY",t,e,n,o,i,u],()=>l("/APE/Questionnaire",{pPage:e||1,pRecords:n||50,pSortBy:o||"Type",pSortDirection:i||"asc",pTerms:t,pQuery:u}),{keepPreviousData:!0}),Tn=()=>{const t=r.useQueryClient();return r.useMutation(e=>fe(`/APE/Questionnaire?pId=${e.Id}`),{onSuccess:()=>{t.invalidateQueries(["QUESTIONNAIRE_QUERY"])}})},Sn=()=>{const t=r.useQueryClient();return r.useMutation(e=>p(`/APE/Questionnaire/DuplicateQuestionnaire?pId=${e.Id}`),{onSuccess:e=>{t.setQueryData(["QUESTIONNAIRE_QUERY"],e)}})},An=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f(`/APE/Questionnaire/${e.Id}`,void 0,e):p("/APE/Questionnaire",void 0,e),{onSuccess:e=>{t.setQueryData(["QUESTIONNAIRE_ID_QUERY"],e)}})},yn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/Questionnaire/Activate/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["QUESTIONNAIRE_ID_QUERY"],e)}})},En=t=>r.useQuery(["QUESTIONNAIRE_ID_QUERY",t],()=>l(`/APE/Questionnaire/${t}`),{enabled:!!t}),fn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/Answers/FinishQuestionnaire/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["ANSWER_ID_QUERY"],e)}})},dn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/APE/Questionnaire/Cancel/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["QUESTIONNAIRE_ID_QUERY"],e)}})},pn=({tags:t,evaluationId:e,page:n,records:u,queryField:o,sortBy:i,sortDirection:c})=>r.useQuery(["USER_QUERY",t,e,n,u,o],()=>l("/APE/Users",{pPage:n||1,pRecords:u||50,pSortBy:i||"DisplayName",pSortDirection:c||"asc",pTerms:t,pEvaluationCycleId:e,pQuery:o}),{keepPreviousData:!0}),_n=({tags:t,page:e,records:n,queryField:u,sortBy:o,sortDirection:i,...c})=>r.useQuery(["USER_LIST_QUERY",t,e,n,o,i,u,c],()=>l("/AACP/Users",{pPage:e||1,pRecords:n||50,pSortBy:o||"DisplayName",pSortDirection:i||"asc",pTerms:t,pQuery:u}),c),Cn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/AACP/Users/${e.UserId}/block`),{onSuccess:e=>{t.setQueryData(["USER_LIST_QUERY"],e)}})},Rn=()=>{const t=r.useQueryClient();return r.useMutation(e=>p(`/AACP/Users/${e.UserId}/sendVerificationEmail`),{onSuccess:e=>{t.setQueryData(["USER_LIST_QUERY"],e)}})},Qn=({tags:t,page:e,records:n,queryUser:u})=>r.useQuery(["EXP_USERS_ANSWERS_QUERY",t,e,n,u],()=>l("/APE/Analytics/EvaluationCycles/UsersExperimental",{pPage:e||1,pRecords:n||50,pTerms:t,pQueryUser:u}),{keepPreviousData:!0}),In=({evaluationCycleId:t,userId:e,supervisorId:n})=>{const u=r.useQueryClient();return r.useMutation(o=>f("/APE/EvaluationCycle/UpdateSupervisor?",{pEvaluationCycleId:t,pUserId:e,pSupervisor:n},o),{onSuccess:o=>{u.setQueryData(["UPDATE_SUPERVISOR"],o)}})},Pn=()=>{const t=r.useQueryClient();return r.useMutation(e=>p(`/AACP/Users/${e.UserId}/resetPassword`),{onSuccess:e=>{t.setQueryData(["USER_RESET_PASSWORD_QUERY"],e)}})},Dn=(t,e)=>r.useQuery(["SINGLE_USER_ID_QUERY",t],()=>l(`/AACP/Users/${t}`),{enabled:!!t,...e}),gn=t=>{const e=r.useQueryClient();return r.useMutation(n=>{const u=t==="formdata"?n.get("UserId"):n.UserId;return u?f(`/AACP/Users/${u}`,void 0,n,t):p("/AACP/Users/",void 0,n,t)},{onSuccess:n=>{e.setQueryData(["SINGLE_USER_ID_QUERY"],n)}})},mn=t=>r.useQuery(["USER_ID_QUERY",t],()=>l(`/APE/Users/${t}`),{enabled:!!t}),hn=()=>{const t=r.useQueryClient();return r.useMutation(e=>p(`/AACP/Users/${e.UserId}/resetPasswordEmail`),{onSuccess:e=>{t.setQueryData(["USER_RESET_PASSWORD_BY_EMAIL_QUERY"],e)}})},kn=({evaluactionCycle:t,userId:e})=>r.useQuery(["GET_USER_AND_SUPERVISOR",t,e],()=>l("/APE/Users/SupervisorAndUser",{pEvaluactionCycle:t,pUserId:e}),{keepPreviousData:!0}),Un=({tags:t,page:e,records:n,queryField:u,sortBy:o,sortDirection:i})=>r.useQuery(["PERMISSION_QUERY",t,e,n,u],()=>l("/AACP/Permissions",{pPage:e,pRecords:n,pSortBy:o,pSortDirection:i,pTerms:t,pQuery:u}),{keepPreviousData:!0}),On=t=>{const e=r.useQueryClient();return r.useMutation(n=>n.Id?f(`/AACP/Permissions/${n.Id}`,void 0,n):p("/AACP/Permissions",void 0,n),{onSuccess:n=>{e.setQueryData(["UPDATE_PERMISSIONS_ID_QUERY"],n)}})},Mn=(t,e)=>r.useQuery(["PERMISSIONS_ID_QUERY",t],()=>l(`/AACP/Permissions/${t}`),{enabled:!!t,...e}),Hn=({tags:t,page:e,records:n,queryField:u,sortBy:o,sortDirection:i})=>r.useQuery(["APPLICATION_QUERY",t,e,n,u],()=>l("/AACP/Permissions/Applications",{pPage:e,pRecords:n,pSortBy:o,pSortDirection:i,pTerms:t,pQuery:u}),{keepPreviousData:!0}),vn=()=>{const t=r.useQueryClient();return r.useMutation(e=>fe(`/AACP/Permissions/${e.Id}`),{onSuccess:()=>{t.invalidateQueries(["DELETE_PERMISSIONS_QUERY"])}})},Nn=({tags:t,page:e,records:n,queryField:u,sortBy:o,sortDirection:i,...c})=>r.useQuery(["USER_READMISSION_QUERY",t,e,n,o,i,u,c],()=>l("/AACP/Users/Readmission",{pPage:e||1,pRecords:n||50,pSortBy:o||"DisplayName",pSortDirection:i||"asc",pTerms:t,pQuery:u}),c),Yn=({pSortDirection:t,pFilter:e})=>r.useQuery(["ANALYTICS_EVALUATION_CYCLE_QUERY",t,e],()=>l("/APE/Analytics/EvaluationCycles",{pPage:1,pRecords:50,pSortBy:e||"Type",pSortDirection:t||"asc",pFilter:e||"Type"})),wn=({page:t,records:e,userId:n,sortBy:u,sortDirection:o,terms:i,query:c,pYear:A})=>r.useQuery(["ANALYTICS_USER_ID_QUERY",t,e,n,u,o,i,c,A],()=>l(`/APE/Analytics/EvaluationCycles/User/${n}`,{pPage:t||1,pSortBy:u||"Type",pSortDirection:o||"asc",pRecords:e||50,pTerms:i,pQuery:c}),{keepPreviousData:!0}),bn=({page:t,records:e,id:n,tags:u,...o})=>r.useQuery(["ANALYTICS_QUESTIONS_QUERY",t,e,n,u,o],()=>l("/APE/Analytics/Questions",{pId:n,pPage:t||1,pRecords:e||50,pTerms:u}),o),Ln=({pSortDirection:t,pFilter:e})=>r.useQuery(["ANALYTICS_SIDE_BAR_QUERY",t,e],()=>l("/APE/Analytics/EvaluationCycles/SideBar",{pPage:1,pRecords:50,pSortBy:e||"Type",pSortDirection:t||"asc",pFilter:e||"Type"})),Bn=({tags:t,page:e,records:n,filter:u,sortByUsers:o,sortBy:i,sortDirection:c,queryUsers:A,query:P})=>r.useQuery(["ANALYTICS_USER_QUERY",t,e,n,u,o,i,c,A,P],()=>l("/APE/Analytics/EvaluationCycles/Users/Informations",{pPage:e||1,pRecords:n||50,pSortByUsers:o||"DisplayName",pSortBy:i||"Type",pSortDirection:c||"asc",pTerms:u,pTermsUser:t,pQueryUser:A,pQuery:P}),{keepPreviousData:!0}),Gn=({page:t,records:e,userId:n,sortBy:u,sortDirection:o,terms:i,query:c,pYear:A})=>r.useQuery(["ARCHIVED_ANALYTICS_QUERY",t,e,n,u,o,i,c,A],()=>l(`/APE/Analytics/GetArchive/${n}`,{pPage:t||1,pSortBy:u||"Type",pSortDirection:o||"asc",pRecords:e||50,pTerms:i,pQuery:c}),{keepPreviousData:!0}),Fn=t=>r.useQuery(["ANSWER_ID_QUERY",t],()=>l(`/APE/Answers/${t}`),{enabled:!!t}),$n=({pQuestionnaireId:t,pEvaluationCycleId:e,pUserId:n,pTargetUserId:u},o)=>{const i=r.useQueryClient();return r.useMutation(c=>o?f(`/APE/Answers/${o}`,void 0,c):p("/APE/Answers?",{pQuestionnaireId:t,pEvaluationCycleId:e,pUserId:n,pTargetUserId:u},c),{onSuccess:c=>{i.setQueryData(["ANSWER_ID_QUERY"],c)}})},Vn=({evaluationId:t,userId:e})=>r.useQuery(["ANSWERS_USER_SUPERVISOR_QUERY",t,e],()=>l("/APE/Answers/UserAndSupervisor",{pUserId:e,pEvaluationCycleId:t}),{keepPreviousData:!0}),qn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/APE/Answers/OpenAnswer?",{pAnswerId:e.Id,pUserId:e.UserId,pEvaluationCycleId:e.EvaluationCycleId},e),{onSuccess:e=>{t.setQueryData(["OPEN_ANSWER_QUERY"],e)}})},Wn=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/APE/Answers/ShowAnswers?",{pUserAnswerId:e.UserGrade,pSupervisorAnswerId:e.SupervisorGrade},e),{onSuccess:e=>{t.setQueryData(["SHOW_ANSWER_QUERY"],e)}})},jn=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/APE/EvaluationCycle/AnswerExport?",{pEvaluationCycleId:e.evaluationId,pLanguage:e.language||"PT",pUserId:e.userId},e),{onSuccess:e=>{t.setQueryData(["POST_ANSWERS_EXPORT"],e)}})},Kn=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["PRODUCTS",t,e,n,u,o,i],()=>D("/APRE/Products",{pPage:t,pRecords:e||50,pSortBy:n,pSortDirection:u,pTerms:o,pQuery:i}),c),Xn=({sortBy:t,sortDirection:e,terms:n,query:u}={})=>{const o=r.useInfiniteQuery(["PRODUCTS_INFINITE",t,e,n,u],({pageParam:A=1})=>D("/APRE/Products",{pPage:A,pRecords:50,pSortBy:t,pSortDirection:e,pTerms:n,pQuery:u})),i=o.data?.pages?.map(A=>A.Products||[])||[],c=[].concat(...i);return{...o,count:o.data?.pages?.[0].Count||0,data:c}},Jn=({terms:t,query:e,...n})=>r.useQuery(["PRODUCT_CATEGORIES",t,e],()=>D("/APRE/Categories",{pTerms:t,pQuery:e}),n),zn=({sortBy:t,sortDirection:e,reference:n,category:u,type:o,companyId:i,...c})=>r.useQuery(["PRODUCT_RECOMMENDATIONS",t,e,n,u,o,i],()=>D("/APRE/Products/Recommendations",{pSortBy:t,pSortDirection:e,pReferences:n,pProductHierarchyId:u,pType:o,pCompanyId:i}),c),Zn=(t,{storeCode:e,companyId:n,...u})=>r.useQuery(["PRODUCT_BY_REF",t,e,n],()=>D(`/APRE/Products/${t}`,{pStoreCode:e,pCompanyId:n}),u),xn=({records:t,sortBy:e,sortDirection:n,tags:u,page:o,onlyApplicationRoles:i})=>r.useQuery(["ROLES_QUERY",t,e,n,u,o,i],()=>l("/AACP/Roles",{pPage:o||1,pRecords:t||50,pSortBy:e,pSortDirection:n,pTerms:u,...i!==void 0?{pOnlyApplicationRoles:i}:{}}),{keepPreviousData:!0}),er=({reference:t,sortBy:e,sortDirection:n})=>r.useQuery(["ASV_PRODUCT_BY_REF",t,e,n],()=>D("/ASV/Products/AllStores",{pReference:t,pSortBy:e,pSortDirection:n}),{keepPreviousData:!0}),tr=({reference:t,storeCode:e,hasStock:n,filterColor:u,sortBy:o,sortDirection:i})=>r.useQuery(["ASV_PRODUCT_BY_STORE",t,e,n,u,o,i],()=>D("/ASV/Products",{pReference:t,pStoreCode:e,pHasStock:n,pRefColor:u,pSortBy:o,pSortDirection:i}),{keepPreviousData:!0}),nr=({reference:t,storeCode:e})=>r.useQuery(["ASV_PRODUCT_STOCK_DETAILS",t,e],()=>D("/ASV/Products/StockDetails",{pReference:t,pStoreCode:e}),{keepPreviousData:!0}),rr=({reference:t,sortBy:e,sortDirection:n})=>r.useQuery(["ASS_PRODUCT_BY_REF",t,e,n],()=>D("/ASS/Products/AllStores",{pReference:t,pSortBy:e,pSortDirection:n}),{keepPreviousData:!0}),ur=({reference:t,storeCode:e,hasStock:n,filterColor:u,sortBy:o,sortDirection:i})=>r.useQuery(["ASS_PRODUCT_BY_STORE",t,e,n,u,o,i],()=>D("/ASS/Products",{pReference:t,pStoreCode:e,pHasStock:n,pRefColor:u,pSortBy:o,pSortDirection:i}),{keepPreviousData:!0}),sr=({reference:t,storeCode:e})=>r.useQuery(["ASS_PRODUCT_STOCK_DETAILS",t,e],()=>D("/ASS/Products/StockDetails",{pReference:t,pStoreCode:e}),{keepPreviousData:!0}),or=(t,{...e})=>r.useQuery(["ASTS_PRODUCT_INFO_QUERY",t,e],()=>l("/ASTS/Product",{pBarcode:t}),e),ir=({reference:t,countryId:e,...n})=>r.useQuery(["ASTS_STOCK_QUERY",t,e],()=>l("/ASTS/Stock",{pReference:t,pCountryId:e||"PT"}),{...n}),ar=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTS/Product/FindByAudio",void 0,n,t),{onSuccess:n=>{e.setQueryData(["AUDIO_FILE_QUERY"],n)}})},cr=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASTT/TransferDocuments",{pPage:t||1,pRecords:e||50,pSortBy:n||"DocumentCreationDate",pSortDirection:u||"asc",pTerms:o,pQuery:i}),c),lr=(t,{...e})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS_BY_ID",t,e],()=>l("/ASTT/TransferDocuments",{pTransferDocumentId:t}),e),Tr=(t,{...e})=>r.useQuery(["ASTT_DOCUMENTS_FIND_BY_ID",t,e],()=>l("/ASTT/TransferDocuments/findById",{pTransferDocumentId:t}),e),Sr=(t,e,{...n})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS_BY_PACKAGE",t,e,n],()=>l("/ASTT/TransferDocuments/Products",{pTransferDocumentId:t,pPackageId:e}),n),Ar=()=>r.useQuery(["ASTT_STATUS"],()=>l("/ASTT/TransferStates")),yr=({sortBy:t,sortDirection:e,terms:n,transferDocumentId:u,...o})=>r.useQuery(["ASTT_TRANSFER_PACKAGES",t,e,n,u,o],()=>l("/ASTT/TransferDocuments/Packages",{pTransferDocumentId:u,pSortBy:t||"PackageId",pSortDirection:e||"asc",pTerms:n}),o),Er=({transferDocumentId:t,...e})=>r.useQuery(["ASTT_TRANSFER_REPORT_DIFF",t,e],()=>l("/ASTT/TransferDocuments/DifferencesReport",{pTransferDocumentId:t}),e),fr=({page:t,records:e,sortBy:n,sortDirection:u,query:o,...i})=>r.useQuery(["ASTT_TRANSFER_ALL_PRODUCTS",t,e,n,u,o,i],()=>l("/Product/Products",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pQuery:o}),i),dr=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASTT/TransferDocuments/Products/Picking?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["TRANSFER_PICKED_PRODUCTS_QUERY"],u)}})},pr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASTT/TransferDocuments?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["TRANSFER_PACKAGE_STATE_QUERY"],n)}})},_r=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/MissingProducts/Notify?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["NOTIFY_MISSING_PRODUCTS_QUERY"],n)}})},Cr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASTT/TransferDocuments/Finish?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["TRANSFER_DOCUMENT_FINISHED_QUERY"],n)}})},Rr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASTT/TransferDocuments/PartialAdding?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["TRANSFER_DOCUMENT_PARTIALLY_QUERY"],n)}})},Qr=(t,{...e})=>r.useQuery(["ASTT_REPORTS_BUILDER",t,e],()=>l("/ASTT/ReportsBuilder/DifferencesReport",{pTransferDocumentId:t}),e),Ir=({delay:t,storeId:e,transferDocumentId:n,packageId:u,...o})=>r.useQuery(["ASTT_RFID",t,e,n,u,o],()=>l("/ASTT/RFID",{pDelay:t||3,pStoreId:e,pTransferDocumentId:n,pPackageId:u}),o),Pr=(t,e,{...n})=>r.useQuery(["ASTT_PRODUCTS_LISTING",t,e,n],()=>l("/ASTT/ReportsBuilder/ProductsListing",{pTransferDocumentId:t,pPackageId:e}),n),Dr=(t,{...e})=>r.useQuery(["ASTT_BARCODES_PRINT",t,e],()=>l("/ASTT/ReportsBuilder/BarcodesPrinting",{pTransferDocumentId:t}),e),gr=(t,{...e})=>r.useQuery(["ASTT_BARCODES_LISTING",t,e],()=>l("/ASTT/TransferDocuments/BarcodesListing",{pTransferDocumentId:t}),e),mr=(t,e,{...n})=>r.useQuery(["ASTT_BARCODES_LISTING_BY_PACKAGE",t,e,n],()=>l("/ASTT/TransferDocuments/BarcodesListing/ByPackage",{pTransferDocumentId:t,pPackageId:e}),n),hr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/MatchingPackage?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["MATCHING_PACKAGE_QUERY"],n)}})},kr=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/Manual",void 0,n,t),{onSuccess:n=>{e.setQueryData(["MANUAL_TRANSFER_QUERY"],n)}})},Ur=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/Manual/Packages?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["MANUAL_PACKAGE_QUERY"],n)}})},Or=({transferDocumentId:t,oldPackageId:e,newPackageId:n})=>{const u=r.useQueryClient();return r.useMutation(o=>f("/ASTT/TransferDocuments/Manual/Package/Id?",{pTransferDocumentId:t,pOldPackageId:e,pNewPackageId:n},o),{onSuccess:o=>{u.setQueryData(["UPDATE_PACKAGE_ID_QUERY"],o)}})},Mr=(t,e)=>{const n=r.useQueryClient();return r.useMutation(()=>p("/ASTT/Actions/GET?",{pActionName:e,pFlow:"TransferDocuments",pFilter:t}),{onSuccess:u=>{n.setQueryData(["ASTT_ACTIONS"],u)}})},Hr=({page:t,records:e,...n})=>r.useQuery(["ASTT_RECONCILIATION_DOCUMENTS",t,e,n],()=>l("/ASTT/TransferDocuments/ReconciliationDocuments",{pPage:t||1,pRecords:e||50}),n),vr=({terms:t,query:e,...n})=>r.useQuery(["ASTT_MANUAL_PACKAGES_LIST",n,t,e],()=>l("/ASTT/TransferDocuments/ManualVsYetToBePicked",{pTerms:t,pQuery:e}),n),Nr=({oldDocumentNumber:t,newDocumentNumber:e})=>{const n=r.useQueryClient();return r.useMutation(()=>f("/ASTT/TransferDocuments/Manual?",{pOldDocumentNumber:t,pNewDocumentNumber:e}),{onSuccess:u=>{n.setQueryData(["UPDATE_DOCUMENT_ID_QUERY"],u)}})},Yr=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(()=>fe("/ASTT/TransferDocuments/Manual/Package?",{pTransferDocumentId:t,pPackageId:e}),{onSuccess:u=>{n.setQueryData(["DELETE_MANUAL_PACKAGE_QUERY"],u)}})},wr=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASTT/TransferDocuments",{pPage:t||1,pRecords:e||50,pSortBy:n||"DocumentCreationDate",pSortDirection:u||"asc",pTerms:o,pQuery:i}),c),br=(t,{...e})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS_BY_ID",t,e],()=>l("/ASTT/TransferDocuments",{pTransferDocumentId:t}),e),Lr=(t,e,{...n})=>r.useQuery(["ASTT_TRANSFER_DOCUMENTS_BY_PACKAGE",t,e,n],()=>l("/ASTT/TransferDocuments/Products",{pTransferDocumentId:t,pPackageId:e}),n),Br=({sortBy:t,sortDirection:e,terms:n,transferDocumentId:u,...o})=>r.useQuery(["ASTT_TRANSFER_PACKAGES",t,e,n,u,o],()=>l("/ASTT/TransferDocuments/Packages",{pTransferDocumentId:u,pSortBy:t||"PackageId",pSortDirection:e||"asc",pTerms:n}),o),Gr=({transferDocumentId:t,...e})=>r.useQuery(["ASTT_TRANSFER_REPORT_DIFF",t,e],()=>l("/ASTT/TransferDocuments/DifferencesReport",{pTransferDocumentId:t}),e),Fr=({page:t,records:e,sortBy:n,sortDirection:u,query:o,...i})=>r.useQuery(["ASTT_TRANSFER_ALL_PRODUCTS",t,e,n,u,o,i],()=>l("/Product/Products",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pQuery:o}),i),$r=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASTT/TransferDocuments/Products/Picking?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["ASTT_TRANSFER_PICKED_PRODUCTS_QUERY"],u)}})},Vr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASTT/TransferDocuments?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["ASTT_TRANSFER_PACKAGE_STATE_QUERY"],n)}})},qr=(t,{...e})=>r.useQuery(["ASTT_REPORTS_BUILDER",t,e],()=>l("/ASTT/ReportsBuilder/DifferencesReport",{pTransferDocumentId:t}),e),Wr=(t,e,{...n})=>r.useQuery(["ASTT_PRODUCTS_LISTING",t,e,n],()=>l("/ASTT/ReportsBuilder/ProductsListing",{pTransferDocumentId:t,pPackageId:e}),n),jr=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/Packages?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["CREATE_PACKAGE_ASTT_QUERY"],n)}})},Kr=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ASTT/TransferDocuments",void 0,e),{onSuccess:e=>{t.setQueryData(["CREATE_TRANSFER_ASTT_QUERY"],e)}})},Xr=({query:t,...e})=>r.useQuery(["ASTT_PICKED_PRODUCTS",t,e],()=>l("/ASTT/TransferDocuments/Products/Picked",{pQuery:t}),e),Jr=()=>r.useQuery(["ASTT_ID_PICKED_PRODUCTS"],()=>l("/ASTT/TransferDocuments/TransferDocumentIds")),zr=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASTT_PRODUCT_WARNING_TRANSFER_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASTT/ProductWarning",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o,pQuery:i}),c),Zr=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ASTT/TransferDocuments/DeletePicking",void 0,e),{onSuccess:e=>{t.setQueryData(["ASTT_REMOVE_PRODUCT_QUERY"],e)}})},xr=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASTT/TransferDocuments/Products/Picking/AutoSave?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["AUTO_SAVE_ASTT_QUERY"],u)}})},eu=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASTT_PRODUCT_MOVEMENTS_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASTT/ProductsMovements",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o,pQuery:i}),c),tu=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASTT/RFID?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["ASTT_RFID_INVENTORY_QUERY"],u)}})},nu=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>fe("/ASTT/RFID?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["ASTT_RESTART_PRODUCT_QUERY"],u)}})},ru=({transferDocumentId:t,packageId:e,barcode:n})=>{const u=r.useQueryClient();return r.useMutation(o=>fe("/ASTT/RFID/byBarcode?",{pTransferDocumentId:t,pPackageId:e,pBarcode:n},o),{onSuccess:o=>{u.setQueryData(["ASTT_DELETE_PRODUCT_QUERY"],o)}})},uu=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/RFID/Reprocess?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["ASTT_REPROCESS_QUERY"],n)}})},su=(t,{...e})=>r.useQuery(["ASTT_REPROCESS_NEEDED",t,e],()=>l("/ASTT/RFID/ReprocessNeeded",{pTransferDocumentId:t}),e),ou=({page:t,records:e,sortBy:n,sortDirection:u,query:o,...i})=>r.useQuery(["ASTT_ADIDAS_TRANSFER_ALL_PRODUCTS",t,e,n,u,o,i],()=>l("/ASTT/Products",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pQuery:o}),i),iu=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASTT/TransferDocuments/StockTaking/Finish?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["FINISH_PACKAGE_ASTT_QUERY"],n)}})},au=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASTT/TransferDocuments/Packages/MissingProducts?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["ASTT_MISSING_PRODUCTS_QUERY"],n)}})},cu=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASGT_TRANSFER_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASGT/TransferDocuments",{pPage:t||1,pRecords:e||50,pSortBy:n||"DocumentCreationDate",pSortDirection:u||"asc",pTerms:o,pQuery:i}),c),lu=(t,{...e})=>r.useQuery(["ASGT_TRANSFER_DOCUMENTS_BY_ID",t,e],()=>l("/ASGT/TransferDocuments",{pTransferDocumentId:t}),e),Tu=(t,e,{...n})=>r.useQuery(["ASGT_TRANSFER_DOCUMENTS_BY_PACKAGE",t,e,n],()=>l("/ASGT/TransferDocuments/Products",{pTransferDocumentId:t,pPackageId:e}),n),Su=({sortBy:t,sortDirection:e,terms:n,transferDocumentId:u,...o})=>r.useQuery(["ASGT_TRANSFER_PACKAGES",t,e,n,u,o],()=>l("/ASGT/TransferDocuments/Packages",{pTransferDocumentId:u,pSortBy:t||"PackageId",pSortDirection:e||"asc",pTerms:n}),o),Au=({transferDocumentId:t,...e})=>r.useQuery(["ASGT_TRANSFER_REPORT_DIFF",t,e],()=>l("/ASGT/TransferDocuments/DifferencesReport",{pTransferDocumentId:t}),e),yu=({page:t,records:e,sortBy:n,sortDirection:u,query:o,...i})=>r.useQuery(["ASGT_TRANSFER_ALL_PRODUCTS",t,e,n,u,o,i],()=>l("/Product/Products",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pQuery:o}),i),Eu=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASGT/TransferDocuments/Products/Picking?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["ASGT_TRANSFER_PICKED_PRODUCTS_QUERY"],u)}})},fu=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/ASGT/TransferDocuments?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["ASGT_TRANSFER_PACKAGE_STATE_QUERY"],n)}})},du=(t,{...e})=>r.useQuery(["ASGT_REPORTS_BUILDER",t,e],()=>l("/ASGT/ReportsBuilder/DifferencesReport",{pTransferDocumentId:t}),e),pu=(t,e,{...n})=>r.useQuery(["ASGT_PRODUCTS_LISTING",t,e,n],()=>l("/ASGT/ReportsBuilder/ProductsListing",{pTransferDocumentId:t,pPackageId:e}),n),_u=({transferDocumentId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ASGT/TransferDocuments/Packages?",{pTransferDocumentId:t},n),{onSuccess:n=>{e.setQueryData(["CREATE_PACKAGE_ASGT_QUERY"],n)}})},Cu=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ASGT/TransferDocuments",void 0,e),{onSuccess:e=>{t.setQueryData(["CREATE_TRANSFER_ASGT_QUERY"],e)}})},Ru=({query:t,...e})=>r.useQuery(["ASGT_PICKED_PRODUCTS",t,e],()=>l("/ASGT/TransferDocuments/Products/Picked",{pQuery:t}),e),Qu=()=>r.useQuery(["ASGT_ID_PICKED_PRODUCTS"],()=>l("/ASGT/TransferDocuments/TransferDocumentIds")),Iu=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASGT_PRODUCT_WARNING_TRANSFER_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASGT/ProductWarning",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o,pQuery:i}),c),Pu=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ASGT/TransferDocuments/DeletePicking",void 0,e),{onSuccess:e=>{t.setQueryData(["ASGT_REMOVE_PRODUCT_QUERY"],e)}})},Du=({transferDocumentId:t,packageId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASGT/TransferDocuments/Products/Picking/AutoSave?",{pTransferDocumentId:t,pPackageId:e},u),{onSuccess:u=>{n.setQueryData(["AUTO_SAVE_ASGT_QUERY"],u)}})},gu=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["ASGT_PRODUCT_MOVEMENTS_DOCUMENTS",t,e,n,u,o,i,c],()=>l("/ASGT/ProductsMovements",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o,pQuery:i}),c);var ve={exports:{}},mu=ve.exports,ct;function hu(){return ct||(ct=1,(function(t,e){(function(n,u){t.exports=u()})(mu,(function(){var n=1e3,u=6e4,o=36e5,i="millisecond",c="second",A="minute",P="hour",g="day",H="week",N="month",ne="quarter",X="year",ae="date",Ye="Invalid Date",qe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Se=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,V={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var y=["th","st","nd","rd"],S=C%100;return"["+C+(y[(S-20)%10]||y[S]||y[0])+"]"}},Ue=function(C,y,S){var _=String(C);return!_||_.length>=y?C:""+Array(y+1-_.length).join(S)+C},We={s:Ue,z:function(C){var y=-C.utcOffset(),S=Math.abs(y),_=Math.floor(S/60),E=S%60;return(y<=0?"+":"-")+Ue(_,2,"0")+":"+Ue(E,2,"0")},m:function C(y,S){if(y.date()<S.date())return-C(S,y);var _=12*(S.year()-y.year())+(S.month()-y.month()),E=y.clone().add(_,N),Q=S-E<0,I=y.clone().add(_+(Q?-1:1),N);return+(-(_+(S-E)/(Q?E-I:I-E))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:N,y:X,w:H,d:g,D:ae,h:P,m:A,s:c,ms:i,Q:ne}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},_e="en",ce={};ce[_e]=V;var we="$isDayjsObject",Oe=function(C){return C instanceof Re||!(!C||!C[we])},Ce=function C(y,S,_){var E;if(!y)return _e;if(typeof y=="string"){var Q=y.toLowerCase();ce[Q]&&(E=Q),S&&(ce[Q]=S,E=Q);var I=y.split("-");if(!E&&I.length>1)return C(I[0])}else{var O=y.name;ce[O]=y,E=O}return!_&&E&&(_e=E),E||!_&&_e},b=function(C,y){if(Oe(C))return C.clone();var S=typeof y=="object"?y:{};return S.date=C,S.args=arguments,new Re(S)},k=We;k.l=Ce,k.i=Oe,k.w=function(C,y){return b(C,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var Re=(function(){function C(S){this.$L=Ce(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[we]=!0}var y=C.prototype;return y.parse=function(S){this.$d=(function(_){var E=_.date,Q=_.utc;if(E===null)return new Date(NaN);if(k.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var I=E.match(qe);if(I){var O=I[2]-1||0,v=(I[7]||"0").substring(0,3);return Q?new Date(Date.UTC(I[1],O,I[3]||1,I[4]||0,I[5]||0,I[6]||0,v)):new Date(I[1],O,I[3]||1,I[4]||0,I[5]||0,I[6]||0,v)}}return new Date(E)})(S),this.init()},y.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},y.$utils=function(){return k},y.isValid=function(){return this.$d.toString()!==Ye},y.isSame=function(S,_){var E=b(S);return this.startOf(_)<=E&&E<=this.endOf(_)},y.isAfter=function(S,_){return b(S)<this.startOf(_)},y.isBefore=function(S,_){return this.endOf(_)<b(S)},y.$g=function(S,_,E){return k.u(S)?this[_]:this.set(E,S)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(S,_){var E=this,Q=!!k.u(_)||_,I=k.p(S),O=function(x,G){var se=k.w(E.$u?Date.UTC(E.$y,G,x):new Date(E.$y,G,x),E);return Q?se:se.endOf(g)},v=function(x,G){return k.w(E.toDate()[x].apply(E.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(G)),E)},Y=this.$W,F=this.$M,j=this.$D,re="set"+(this.$u?"UTC":"");switch(I){case X:return Q?O(1,0):O(31,11);case N:return Q?O(1,F):O(0,F+1);case H:var Z=this.$locale().weekStart||0,ue=(Y<Z?Y+7:Y)-Z;return O(Q?j-ue:j+(6-ue),F);case g:case ae:return v(re+"Hours",0);case P:return v(re+"Minutes",1);case A:return v(re+"Seconds",2);case c:return v(re+"Milliseconds",3);default:return this.clone()}},y.endOf=function(S){return this.startOf(S,!1)},y.$set=function(S,_){var E,Q=k.p(S),I="set"+(this.$u?"UTC":""),O=(E={},E[g]=I+"Date",E[ae]=I+"Date",E[N]=I+"Month",E[X]=I+"FullYear",E[P]=I+"Hours",E[A]=I+"Minutes",E[c]=I+"Seconds",E[i]=I+"Milliseconds",E)[Q],v=Q===g?this.$D+(_-this.$W):_;if(Q===N||Q===X){var Y=this.clone().set(ae,1);Y.$d[O](v),Y.init(),this.$d=Y.set(ae,Math.min(this.$D,Y.daysInMonth())).$d}else O&&this.$d[O](v);return this.init(),this},y.set=function(S,_){return this.clone().$set(S,_)},y.get=function(S){return this[k.p(S)]()},y.add=function(S,_){var E,Q=this;S=Number(S);var I=k.p(_),O=function(F){var j=b(Q);return k.w(j.date(j.date()+Math.round(F*S)),Q)};if(I===N)return this.set(N,this.$M+S);if(I===X)return this.set(X,this.$y+S);if(I===g)return O(1);if(I===H)return O(7);var v=(E={},E[A]=u,E[P]=o,E[c]=n,E)[I]||1,Y=this.$d.getTime()+S*v;return k.w(Y,this)},y.subtract=function(S,_){return this.add(-1*S,_)},y.format=function(S){var _=this,E=this.$locale();if(!this.isValid())return E.invalidDate||Ye;var Q=S||"YYYY-MM-DDTHH:mm:ssZ",I=k.z(this),O=this.$H,v=this.$m,Y=this.$M,F=E.weekdays,j=E.months,re=E.meridiem,Z=function(G,se,Ae,Pe){return G&&(G[se]||G(_,Q))||Ae[se].slice(0,Pe)},ue=function(G){return k.s(O%12||12,G,"0")},x=re||function(G,se,Ae){var Pe=G<12?"AM":"PM";return Ae?Pe.toLowerCase():Pe};return Q.replace(Se,(function(G,se){return se||(function(Ae){switch(Ae){case"YY":return String(_.$y).slice(-2);case"YYYY":return k.s(_.$y,4,"0");case"M":return Y+1;case"MM":return k.s(Y+1,2,"0");case"MMM":return Z(E.monthsShort,Y,j,3);case"MMMM":return Z(j,Y);case"D":return _.$D;case"DD":return k.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return Z(E.weekdaysMin,_.$W,F,2);case"ddd":return Z(E.weekdaysShort,_.$W,F,3);case"dddd":return F[_.$W];case"H":return String(O);case"HH":return k.s(O,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return x(O,v,!0);case"A":return x(O,v,!1);case"m":return String(v);case"mm":return k.s(v,2,"0");case"s":return String(_.$s);case"ss":return k.s(_.$s,2,"0");case"SSS":return k.s(_.$ms,3,"0");case"Z":return I}return null})(G)||I.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(S,_,E){var Q,I=this,O=k.p(_),v=b(S),Y=(v.utcOffset()-this.utcOffset())*u,F=this-v,j=function(){return k.m(I,v)};switch(O){case X:Q=j()/12;break;case N:Q=j();break;case ne:Q=j()/3;break;case H:Q=(F-Y)/6048e5;break;case g:Q=(F-Y)/864e5;break;case P:Q=F/o;break;case A:Q=F/u;break;case c:Q=F/n;break;default:Q=F}return E?Q:k.a(Q)},y.daysInMonth=function(){return this.endOf(N).$D},y.$locale=function(){return ce[this.$L]},y.locale=function(S,_){if(!S)return this.$L;var E=this.clone(),Q=Ce(S,_,!0);return Q&&(E.$L=Q),E},y.clone=function(){return k.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},C})(),z=Re.prototype;return b.prototype=z,[["$ms",i],["$s",c],["$m",A],["$H",P],["$W",g],["$M",N],["$y",X],["$D",ae]].forEach((function(C){z[C[1]]=function(y){return this.$g(y,C[0],C[1])}})),b.extend=function(C,y){return C.$i||(C(y,Re,b),C.$i=!0),b},b.locale=Ce,b.isDayjs=Oe,b.unix=function(C){return b(1e3*C)},b.en=ce[_e],b.Ls=ce,b.p={},b}))})(ve)),ve.exports}var ku=hu();const Ne=qt(ku),lt=(t,e)=>{const n=t?Ne.unix(t):null;return e&&n?n.format(e):n},Tt=t=>t?Ne(t).unix():null,Uu=t=>{const e=Ne(t,"YYYY-MM-DD");return e.isValid()?e.unix():null},Ou=t=>{const e=new Date(t*1e3),n=e?.getDate()?.toString()?.padStart(2,"0"),u=(e?.getMonth()+1).toString()?.padStart(2,"0"),o=e?.getFullYear();return`${n}/${u}/${o}`},Mu=({storeId:t,date:e,search:n,page:u,records:o,sortBy:i,sortDirection:c})=>r.useQuery(["EMPLOYEES_WITH_TIMEKEEPING",t,e,n,u,o,i,c],()=>l("/ATIM/EmployeesWorklog",{pStoreId:t,pDate:e||Tt(new Date),pPage:u||1,pRecords:o||50,pSortBy:i||"DisplayName",pSortDirection:c||"asc",pSearch:n}),{keepPreviousData:!0}),Hu=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/ATIM/Youverse/Verify_User",e),{onSuccess:e=>{t.setQueryData(["VERIFY_USER"],e)}})},vu=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ATIM/Attendances",void 0,e),{onSuccess:e=>{t.setQueryData(["POST_ATTENDANCE"],e)}})},Nu=(t,e)=>r.useQuery(["ATTENDANCE_ISSUES_ID_QUERY",t],()=>l(`/ATIM/AttendanceIssues/${t}`),{enabled:!!t,...e}),Yu=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i,...c})=>r.useQuery(["ATTENDANCE_ISSUES_QUERY",t,e,n,u,o,i,c],()=>l("/ATIM/AttendanceIssues",{pPage:e||1,pRecords:n||50,pSortBy:u||"CreateDate",pSortDirection:o||"asc",pTerms:t,pQuery:i}),c),wu=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.CriticalityId?f(`/ATIM/AttendanceIssues/${e.Id}`,void 0,e):p("/ATIM/AttendanceIssues",void 0,e),{onSuccess:e=>{t.setQueryData(["ATTENDANCE_ISSUES_QUERY"],e)}})},bu=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i,...c})=>r.useQuery(["CRITICALITIES_QUERY",t,e,n,u,o,i,c],()=>l("/ATIM/Criticalities",{pPage:e||1,pRecords:n||50,pSortBy:u||"Value",pSortDirection:o||"asc",pTerms:t,pQuery:i}),c),Lu=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i,...c})=>r.useQuery(["REASON_CODES_QUERY",t,e,n,u,o,i,c],()=>l("/ATIM/ReasonCodes",{pPage:e||1,pRecords:n||50,pSortBy:u||"Name",pSortDirection:o||"asc",pTerms:t,pQuery:i}),c),Bu=({date:t,storeId:e,...n})=>r.useQuery(["SCHEDULES_WIDGET_QUERY",t,e],()=>l("/ATIM/Schedules/StoreSchedule",{pDate:t,pStoreId:e}),{...n,useErrorBoundary:!1,retry:1}),Gu=t=>r.useQuery(["TEMPLATE_ID_QUERY",t],()=>l("/ASTA/Template/GetById",{pId:t}),{enabled:!!t}),Fu=()=>r.useQuery(["TEMPLATE_HEADERS_QUERY"],()=>l("/ASTA/Template/GetHeaders")),$u=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["TEMPLATES_QUERY",t,e,n,u,o,i],()=>l("/ASTA/Template/GetByQuery",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),Vu=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f("/ASTA/Template?",{pId:e.Id},e):p("/ASTA/Template",void 0,e),{onSuccess:e=>{t.setQueryData(["TEMPLATE_ID_QUERY"],e)}})},qu=({templatesIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Template/DeleteTemplateList",void 0,t),{onSuccess:()=>{e.invalidateQueries(["TEMPLATE_QUERY"])}})},Wu=({templatesIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Template/FinishedTemplateList",void 0,t),{onSuccess:n=>{e.setQueryData(["TEMPLATE_ID_QUERY"],n)}})},ju=({templatesIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Template/FileTemplateList",void 0,t),{onSuccess:n=>{e.setQueryData(["TEMPLATE_ID_QUERY"],n)}})},Ku=({templatesIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>p("/ASTA/Template/DuplicateTemplateList",void 0,t),{onSuccess:n=>{e.setQueryData(["TEMPLATE_ID_QUERY"],n)}})},Xu=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/Template/FinishTemplate?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["TEMPLATE_ID_QUERY"],e)}})},Ju=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["INSPECTION_QUERY",t,e,n,u,o,i],()=>l("/ASTA/Inspection/GetInspection",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),zu=(t,e,n)=>{const u=r.useQueryClient();return r.useMutation(o=>o.Id?f("/ASTA/Inspection/FileInspection?",{pId:o.Id},o):p("/ASTA/Inspection?",{pId:t,pUserId:e,pUserName:n},o),{onSuccess:o=>{u.setQueryData(["INSPECTION_ID_QUERY"],o)}})},Zu=({inspectionIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Inspection/DeleteInspectionList",void 0,t),{onSuccess:()=>{e.invalidateQueries(["INSPECTION_QUERY"])}})},xu=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/Inspection/FinishInspection?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["INSPECTION_ID_QUERY"],e)}})},es=({inspectionIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Inspection/FileInspectionList",void 0,t),{onSuccess:n=>{e.setQueryData(["INSPECTION_ID_QUERY"],n)}})},ts=({inspectionIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Inspection/FinishedInspectionList",void 0,t),{onSuccess:n=>{e.setQueryData(["INSPECTION_ID_QUERY"],n)}})},ns=(t,e,n)=>{const u=r.useQueryClient();return r.useMutation(o=>p("/ASTA/Inspection/AnswerExport?",{pInspectionId:t,pUserName:e,pLanguage:n||"PT"},o),{onSuccess:o=>{u.setQueryData(["EXPORT_INSPECTION_QUERY"],o)}})},rs=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["ASTA_ANSWERS_QUERY",t,e,n,u,o,i],()=>l("/ASTA/Answers/GetAnswers",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),us=t=>r.useQuery(["ANSWER_ID_QUERY",t],()=>l("/ASTA/Answers/GetAnswerById",{pId:t}),{enabled:!!t}),ss=(t,e)=>{const n=r.useQueryClient();return r.useMutation(u=>t===""?f(`/ASTA/Answers/${e}`,void 0,u):p("/ASTA/Answers?",{pInspectionId:t},u),{onSuccess:u=>{n.setQueryData(["ASTA_ANSWERS_ID_QUERY"],u)}})},os=()=>{const t=r.useQueryClient();return r.useMutation(e=>f(`/ASTA/Answers/FinishInspectionAnswer/${e.Id}`,void 0,e),{onSuccess:e=>{t.setQueryData(["ASTA_ANSWERS_ID_QUERY"],e)}})},is=t=>{const e=r.useQueryClient();return r.useMutation(n=>f(`/ASTA/Answers/Image/${t}`,void 0,n),{onSuccess:n=>{e.setQueryData(["ASTA_ANSWER_ID_QUERY"],n)}})},as=(t,e,n,u,o)=>{const i=r.useQueryClient();return r.useMutation(c=>f("/ASTA/Answers/SendEmail?",{pAnswerId:t,pUserName:e,pEmail:n,pStoreId:u,pPDFUrl:o},c),{onSuccess:c=>{i.setQueryData(["SEND_INSPECTION_EMAIL_QUERY"],c)}})},cs=(t,e)=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ASTA/Audit?",{pInspectionAnswerId:t,pUserName:e},u),{onSuccess:u=>{n.setQueryData(["ASTA_GNG_ANSWERS_ID_QUERY"],u)}})},ls=(t,e,n,u)=>{const o=r.useQueryClient();return r.useMutation(i=>f("/ASTA/Answers/SendEmailStore?",{pAnswerId:t,pUserName:e,pStoreId:n,pPDFUrl:u},i),{onSuccess:i=>{o.setQueryData(["SEND_INSPECTION_EMAIL_STORE_QUERY"],i)}})},Ts=()=>r.useQuery(["ANSWER_TYPE_QUERY"],()=>l("/ASTA/AnswerType")),Ss=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["ALL_ANSWER_TYPE_QUERY",t,e,n,u,o,i],()=>l("/ASTA/AnswerType/GetByQuery",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),As=()=>r.useQuery(["ANSWER_COLORS_QUERY"],()=>l("/ASTA/AnswerType/Colors")),ys=t=>r.useQuery(["ANSWER_TYPE_ID_QUERY",t],()=>l("/ASTA/AnswerType/GetById",{pId:t}),{enabled:!!t}),Es=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f("/ASTA/AnswerType?",{pId:e.Id},e):p("/ASTA/AnswerType",void 0,e),{onSuccess:e=>{t.setQueryData(["ANSWER_TYPE_ID_QUERY"],e)}})},fs=({answerTypeIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/AnswerType/Delete",void 0,t),{onSuccess:()=>{e.invalidateQueries(["ALL_ANSWER_TYPE_QUERY"])}})},ds=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/AnswerType/Finished?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["ANSWER_TYPE_ID_QUERY"],e)}})},ps=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/AnswerType/SelectName?",{pAnswerTypeId:e.Id,pUseName:e.UseName},e),{onSuccess:e=>{t.setQueryData(["ANSWER_NAME_ID_QUERY"],e)}})},_s=t=>r.useQuery(["ACTION_ID_QUERY",t],()=>l("/ASTA/Actions/GetById",{pId:t}),{enabled:!!t}),Cs=()=>r.useQuery(["ACTION_STAGES_QUERY"],()=>l("/ASTA/Actions/ActionsStatus")),Rs=()=>r.useQuery(["ACTION_PRIORITY_QUERY"],()=>l("/ASTA/Actions/Prioritys")),Qs=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i})=>r.useQuery(["ACTION_QUERY",t,e,n,u,o,i],()=>l("/ASTA/Actions/GetByQuery",{pPage:e||1,pRecords:n||50,pSortBy:u||"Type",pSortDirection:o||"asc",pTerms:t,pQuery:i}),{keepPreviousData:!0}),Is=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f("/ASTA/Actions?",{pId:e.Id},e):p("/ASTA/Actions",void 0,e),{onSuccess:e=>{t.setQueryData(["ACTIONS_ID_QUERY"],e)}})},Ps=({actionsIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Actions/DeleteActionList",void 0,t),{onSuccess:()=>{e.invalidateQueries(["ACTION_QUERY"])}})},Ds=({actionsIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Actions/FinishedActionList",void 0,t),{onSuccess:n=>{e.setQueryData(["ACTION_ID_QUERY"],n)}})},gs=({actionsIds:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ASTA/Actions/FileActionList",void 0,t),{onSuccess:n=>{e.setQueryData(["ACTION_ID_QUERY"],n)}})},ms=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/Actions/FinishAction?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["ACTION_ID_QUERY"],e)}})},hs=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/Actions/StartAction?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["ACTION_ID_QUERY"],e)}})},ks=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/ASTA/Actions/SelectStatus?",{pActionId:e.Id,pStatus:e.Stage},e),{onSuccess:e=>{t.setQueryData(["ACTION_STATUS_ID_QUERY"],e)}})},Us=(t,e)=>r.useQuery(["PRICE_CHANGE_PIN_QUERY",t],()=>l(`/GNG/Users/Pin/${t}`),{enabled:!!t,...e}),Os=({storeId:t})=>{const e=r.useQueryClient();return r.useMutation(()=>p(`/GNG/Users/Pin/${t}`),{onSuccess:n=>{e.setQueryData(["PRICE_CHANGE_PIN_QUERY"],n)}})},Ms=({storeId:t})=>{const e=r.useQueryClient();return r.useMutation(()=>p(`/GNG/Users/Pin/Email/${t}`),{onSuccess:n=>{e.setQueryData(["EMAIL_PIN_QUERY"],n)}})},Hs=()=>r.useQuery(["MONTHS_LIST_QUERY"],()=>l("/ABWG/BWGEmployees/BackOffice")),vs=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ABWG/BWGEmployees?",{pMonth:e.MonthCode,pUserId:e.UserId,pYear:e.Year},e),{onSuccess:e=>{t.setQueryData(["PUBLISH_MONTH_EMPLOYEE_QUERY"],e)}})},Ns=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ABWG/BWGManager?",{pMonth:e.MonthCode,pUserId:e.UserId,pYear:e.Year},e),{onSuccess:e=>{t.setQueryData(["PUBLISH_MONTH_MANAGER_QUERY"],e)}})},Ys=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i,userId:c,...A})=>r.useQuery(["BWG_ALL_EMPLOYEES",t,e,n,u,o,i,c,A],()=>l("/ABWG/BWGEmployees/AllEmployees/Omnium",{pPage:e||1,pRecords:n||50,pSortBy:u||"Points",pSortDirection:o||"asc",pTerms:t,pQuery:i,pUserId:c}),A),ws=({tags:t,page:e,records:n,sortBy:u,sortDirection:o,query:i,userId:c,...A})=>r.useQuery(["BWG_BACK_OFFICE",t,e,n,u,o,i,c,A],()=>l("/ABWG/BWGEmployees/BackOffice/Omnium",{pPage:e||1,pRecords:n||50,pSortBy:u||"Points",pSortDirection:o||"asc",pTerms:t,pQuery:i,pUserId:c}),A),bs=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/ABWG/File",void 0,n,t),{onSuccess:n=>{e.setQueryData(["IMPORT_REGULATION_QUERY"],n)}})},Ls=(t,e)=>{const n=r.useQueryClient();return r.useMutation(u=>p("/ABWG/IntegrationRequests?",{pIntegrationType:t},u,e),{onSuccess:u=>{n.setQueryData(["INTEGRATION_REQUEST_QUERY"],u)}})},Bs=({voucherCode:t,userId:e,...n})=>r.useQuery(["LOYALTY_VOUCHERS",t,e],()=>l("/ACUL/Vouchers",{pVoucherCode:t,pUserId:e}),{...n,retry:!1}),Gs=({email:t,userId:e,...n})=>r.useQuery(["SITOO_MIMO_CUSTOMERS",t,e],()=>l(`/ACUL/Customers/${t}`,{pUserId:e}),{...n,retry:!1}),Fs=({id:t,userId:e,...n})=>r.useQuery(["SITOO_MIMO_VOUCHERS",t,e],()=>l(`/GNG/ACUL/GiftCard/${t}`,{pUserId:e}),{...n,retry:!1}),$s=({page:t,records:e,sortBy:n,sortDirection:u,...o})=>r.useQuery(["CONFIG_VOUCHER_TEMPLATES",t,e,n,u],()=>l("/ACUL/VoucherTemplates",{pPage:t||1,pSortField:n||"Name",pSortOrder:u||"asc",pRecords:e||50}),{keepPreviousData:!0,retry:!1,...o}),Vs=({Id:t,userId:e})=>{const n=r.useQueryClient();return r.useMutation(()=>Te(`/GNG/ACUL/GiftCard/${t}?`,{pUserId:e}),{onSuccess:u=>{n.setQueryData(["CREATE_VOUCHER_SITOO_MIMO"],u)}})},qs=()=>{const t=r.useQueryClient();return r.useMutation(e=>Te("/ACUL/Sales",void 0,e),{onSuccess:e=>{t.setQueryData(["CREATE_INTEGRATION_REQUEST"],e)}})},Ws=({Id:t,userId:e})=>{const n=r.useQueryClient();return r.useMutation(()=>Te(`/GNG/ACUL/GiftCard/${t}/transaction?`,{pUserId:e}),{onSuccess:u=>{n.setQueryData(["CREATE_VOUCHER_SITOO_MIMO"],u)}})},js=({userId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>Te("/ACUL/Customers/verificationEmail?",{pUserId:t},n),{onSuccess:n=>{e.setQueryData(["POST_VERIFICATION_EMAIL_SITOO_MIMO"],n)}})},Ks=({userId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>Te("/ACUL/Customers/verifyUser?",{pUserId:t},n),{onSuccess:n=>{e.setQueryData(["POST_VERIFICATION_EMAIL_SITOO_MIMO"],n)}})},Xs=()=>{const t=r.useQueryClient();return r.useMutation(e=>de("/ACUL/VoucherTemplates/Disable?",{pVoucherTemplateId:e.Id}),{onSuccess:()=>{t.invalidateQueries(["CONFIG_VOUCHER_TEMPLATES"])}})},Js=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/ACUL/VoucherTemplates",e),{onSuccess:e=>{t.invalidateQueries(["CONFIG_VOUCHER_TEMPLATES"])}})},zs=({voucherId:t,userId:e})=>{const n=r.useQueryClient();return r.useMutation(()=>de("/ACUL/Vouchers/reactivate?",{pUserId:e,pVoucherId:t}),{onSuccess:u=>{n.setQueryData(["REACTIVATE_VOUCHER"],u)}})},Zs=({page:t,records:e,query:n,...u})=>r.useQuery(["GNG_DOCUMENTOS",t,e,n],()=>D("/GNG/Document/Documents",{pPage:t||1,pRecords:e||50,pQuery:n}),u),xs=({fields:t,externalid:e,...n})=>r.useQuery(["SITOO_DOCUMENTOS",t,e],()=>D("/Sitoo/Orders",{pFields:t||"externalid,orderid",pExternalid:e}),n),eo=({page:t,records:e,query:n,...u})=>r.useQuery(["GNG_VOUCHER",t,e,n],()=>D("/GNG/Document/GiftCards",{pPage:t||1,pRecords:e||50,pQuery:n}),u),to=({id:t,...e})=>r.useQuery(["SITOO_VOUCHERS",t],()=>nt(`/GNG/GiftCard/SPIGiftCard/giftcards/${t}.json`),{...e,retry:!1}),no=({pIntegrationType:t,pSourcePlatformId:e,...n})=>r.useQuery(["INTEGRATION_REQUEST_STATUS",t,e],()=>D("/Document/IntegrationRequests/latestIntegration",{pIntegrationType:t,pSourcePlatformId:e}),{...n,retry:!1}),ro=({page:t,records:e,query:n,...u})=>r.useQuery(["GNG_DOCUMENTOS",t,e,n],()=>D("/GNG/Document/Documents/In",{pPage:t||1,pRecords:e||50,pQuery:n}),u),uo=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,...i})=>r.useQuery(["FAQS_DATA",t,e,n,u,o],()=>l("/OSUA/Pages",{pPage:t||1,pRecords:e||10,pSortBy:n||"Title",pSortDirection:u||"asc",pTerms:o}),i),so=({page:t,records:e,sortBy:n,sortDirection:u,...o})=>r.useQuery(["SITOO_ERROR_EVENTS",t,e,n,u],()=>D("/Sitoo/Document/Events/Error",{pPage:t,pRecords:e,pSortBy:n||"EventDate",pSortDirection:u||"desc"}),o),oo=({pGiftCardNumber:t,...e})=>r.useQuery(["SALES_NUMBER_OSUA_VOUCHERS",t],()=>l("/GNG/Document/Documents/findByGiftCardNumber",{pGiftCardNumber:t}),{...e,retry:!1}),io=({id:t,page:e,records:n,...u})=>r.useQuery(["OSUA_QUEUES_MESSAGES",t,e,n],()=>l("/OSUA/Queues/Messages",{pPage:e,pRecords:n,pQueueName:t}),u),ao=()=>r.useQuery(["OSUA_QUEUES"],()=>l("/OSUA/Queues"),{enabled:!0,retry:1}),co=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["OSUA_VOUCHER",t,e,n,u,o,i,c],()=>l("/OSUA/Vouchers",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||""}),c),lo=({integrationType:t,sourcePlatformId:e,destinations:n,query:u})=>{const o=r.useQueryClient();return r.useMutation(()=>Te("/Document/IntegrationRequests?",{pIntegrationType:t,pSourcePlatformId:e,pDestinations:n,pQuery:u}),{onSuccess:i=>{o.setQueryData(["CREATE_INTEGRATION_REQUEST"],i)}})},To=()=>{const t=r.useQueryClient();return r.useMutation(e=>de("/MIMO/IntegrationData/SetToFinished?",{pName:e.Name},e),{onSuccess:e=>{t.setQueryData(["INTEGRATION_DATA_QUERY"],e)}})},So=()=>{const t=r.useQueryClient();return r.useMutation(()=>te("/Sitoo/Document/EventsReprocessing"),{onSuccess:e=>{t.setQueryData(["POST_EVENTS_REPROCESSING"],e)}})},Ao=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/OSUA/GiftCards",void 0,e),{onSuccess:e=>{t.setQueryData(["POST_VOUCHER_OSUA"],e)}})},yo=({giftCardNumber:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f("/OSUA/GiftCards?",{pGiftCardNumber:t},n),{onSuccess:n=>{e.setQueryData(["UPDATE_VOUCHERS_QUERY"],n)}})},Eo=({id:t})=>{const e=r.useQueryClient();return r.useMutation(n=>p("/OSUA/Queues/Messages?",{pQueueName:t},n),{onSuccess:n=>{e.setQueryData(["POST_OSUA_QUEUES"],n)}})},fo=({customerId:t,reedemId:e})=>{const n=r.useQueryClient();return r.useMutation(()=>f("/OSUA/Vouchers/Activate?",{pCustomerId:t,pRedeemId:e}),{onSuccess:u=>{n.setQueryData(["ACTIVATE_OSUA_VOUCHER"],u)}})},po=({name:t})=>r.useQuery(["GET_MIMO_INTEGRATION_BY_NAME",t],()=>D("/MIMO/IntegrationData/ByName",{pName:t}),{keepPreviousData:!0}),_o=({page:t,records:e,sortBy:n,sortDirection:u})=>r.useQuery(["GET_MIMO_INTEGRATION_PROD_HISTORY",t,e,n,u],()=>D("/MIMO/Shopify/Product/ProductIntegrationHistory",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u}),{keepPreviousData:!0}),Co=()=>r.useQuery(["MIMO_INTEGRATION_DATA"],()=>D("/MIMO/IntegrationData/ALL"),{enabled:!0,retry:1}),Ro=t=>{const{query:e,...n}=t||{};return r.useQuery(["MIMO_ERROR_HISTORY",e],()=>D("/MIMO/ErrorHistory",e?{pTerms:e}:{}),n)},Qo=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/MIMO/VendusIntegration/Full",e),{onSuccess:e=>{t.setQueryData(["VENDUS_INTEGRATION"],e)}})},Io=()=>{const t=r.useQueryClient();return r.useMutation(()=>te("/MIMO/Dags/AdjustStock"),{onSuccess:e=>{t.setQueryData(["DAGS_ADJUST_STOCK"],e)}})},Po=()=>{const t=r.useQueryClient();return r.useMutation(e=>de("/MIMO/ErrorHistory?",{pId:e.Id,pFlow:e.Flow,pMessage:e.ErrorMessage,pDate:e.CreateDate},{}),{onSuccess:e=>{t.setQueryData(["INTEGRATION_DATA_QUERY"],e)}})},Do=()=>{const t=r.useQueryClient();return r.useMutation(e=>de("/MIMO/VendusIntegration/UpdateIntegrationProcess?",{pType:e.type,pDate:e.date},e),{onSuccess:e=>{t.setQueryData(["UPDATE_VENDUS_INTEGRATION_PROCESS"],e)}})},go=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/MIMO/VendusIntegration/DAG",e),{onSuccess:e=>{t.setQueryData(["VENDUS_INTEGRATION_DAG"],e)}})},mo=({fiscalId:t,...e})=>r.useQuery(["EMPLOYEES_QUERY",t],()=>D("/ACB/Clients",{pFiscalId:t}),{...e}),ho=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/ACB/Clients",e),{onSuccess:e=>{t.setQueryData(["POST_CLIENT_BALANCE"],e)}})},ko=({...t})=>r.useQuery(["AUTH0_CONFIG_QUERY",t],()=>D("/AACP/Authentication/Configuration"),t),Uo=({costumerId:t,type:e,...n})=>r.useQuery(["MACROS_INSTANCES_QUERY",t,e,n],()=>l("/ORQ/Instances/Last",{pCustomerId:t||"GNG",pType:e||"Product"}),n),Oo=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["INSTANCES_QUERY",t,e,n,u,o,i,c],()=>l("/ORQ/Instances",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o||"",pQuery:i||""}),c),Mo=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["MACROS_QUERY",t,e,n,u,o,i,c],()=>l("/ORQ/Macros",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o||"",pQuery:i||""}),c),Ho=(t,{...e},n)=>r.useQuery(["INSTANCE_BY_ID_QUERY",t,e,n],()=>l(`/ORQ/Instances/${t}`,{pIncludeUserDetails:n||!0}),e),vo=({macroId:t,filter:e})=>{const n=r.useQueryClient();return r.useMutation(()=>p("/ORQ/Macros/Run?",{pMacroId:t,pQuery:e}),{onSuccess:u=>{n.setQueryData(["RUN_MACROS_QUERY"],u)}})},No=t=>{const e=r.useQueryClient();return r.useMutation(()=>p("/ORQ/Instances/Reprocessing?",void 0,t),{onSuccess:n=>{e.setQueryData(["REPROCESSING_INSTANCE_QUERY"],n)}})},Yo=({macroId:t,status:e})=>{const n=r.useQueryClient();return r.useMutation(()=>p("/ORQ/Macros/UpdateStatus?",{pMacroId:t,pStatus:e}),{onSuccess:u=>{n.setQueryData(["UPDATE_STATUS_QUERY"],u)}})},wo=(t,{...e})=>r.useQuery(["MACROS_USER_QUERY",t,e],()=>l(`/ORQ/Instances/${t}/User`,void 0),e),bo=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,getStatus:c,...A})=>r.useQuery(["MONITORINGCOMPONENTS_QUERY",t,e,n,u,o,i,c,A],()=>l("/ORQ/Monitoring",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o||"",pQuery:i||"",pGetStatus:c}),A),Lo=t=>{const e=r.useQueryClient();return r.useMutation(()=>f("/ORQ/Instances/Stop?",{pId:t}),{onSuccess:n=>{e.setQueryData(["STOP_INSTANCE_QUERY"],n)}})},Bo=(t,e)=>r.useQuery(["SESSION_ID",t],()=>D(`/sessions/${t}`),{enabled:!!t,suspense:!1,...e}),Go=t=>{const e=r.useQueryClient();return r.useMutation(n=>rt(`/sessions/${t}`,n),{onSuccess:n=>{e.setQueryData(["SESSIONS"],n)}})},Fo=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/notification_requests",e),{onSuccess:e=>{t.setQueryData(["NOTIFICATION_REQUESTS"],e)}})},$o=({search:t,page:e,records:n,sortBy:u,sortDirection:o,terms:i,query:c})=>r.useQuery(["EMPLOYEES_WITH_TIMEKEEPING",t,e,n,u,o,i,c],()=>l("/ATIM/EmployeesWorklogDetails",{pPage:e||1,pRecords:n,pSortBy:u,pSortDirection:o,pTerms:i,pQuery:c}),{suspense:!1,enabled:!!c}),Vo=({query:t,page:e,records:n,sortBy:u,sortDirection:o,...i})=>r.useQuery(["EMPLOYEES_QUERY",t,e,n,u,o],()=>l("/AACP/Users",{pPage:e,pRecords:n,pSortBy:u,pSortDirection:o,pQuery:t}),{...i}),qo=({page:t,records:e,sortBy:n,sortDirection:u,query:o,...i})=>r.useQuery(["STORE_QUERY"],()=>D("/Franchise/Locations",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pQuery:o}),{...i}),Wo=({page:t,records:e,sortBy:n,sortDirection:u,...o})=>r.useQuery(["EMPLOYEES_QUERY",t,e,n,u],()=>D("/ATIM/AbsenceTypes",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u}),{...o}),jo=({employeeId:t,storeId:e,beginWorkPeriod:n,endWorkPeriod:u,...o})=>r.useQuery(["ATTENDANCES_SUMMARY",t,e,n,u],()=>l(`/ATIM/AttendancesSummary/${t}`,{pStoreId:e,pBeginWorkPeriod:n,pEndWorkPeriod:u}),{...o}),Ko=({year:t,page:e,records:n,...u})=>r.useQuery(["WorkMonths",t,e,n],()=>D("/ATIM/WorkMonths",{pYear:t,pPage:e,pRecords:n}),{...u}),Xo=({userId:t,page:e,record:n,sortBy:u,sortDirection:o,terms:i,query:c,...A})=>r.useQuery(["ATTENDANCES_SUMMARY",t,e,n,u,o,i,c],()=>l("/ATIM/AttendancesSummary",{pUserId:t,pPage:e,pRecords:n,pSortBy:u,pSortDirection:o,pTerms:i,pQuery:c}),{...A}),Jo=3600*1e3,zo=({page:t,records:e,sortBy:n,sortDirection:u,...o})=>r.useQuery(["SCHEDULE_TIME_PERIOD_TYPES_QUERY",t,e,n,u],()=>D("/ATIM/PeriodTypes",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u}),{...o,staleTime:Jo}),Zo=()=>r.useQuery(["SCHEDULE_TIME_PERIODS_QUERY"],()=>D("/ATIM/ScheduleTimePeriods"),{suspense:!1,retry:1}),xo=({date:t,storeId:e,...n})=>r.useQuery(["SCHEDULES_QUERY",t,e],()=>l("/ATIM/Schedules",{pDate:t,pStoreId:e}),{...n,useErrorBoundary:!1,retry:1}),ei=({date:t,storeId:e,type:n,sortBy:u,sortDirection:o,...i})=>r.useQuery(["KPIS_QUERY",t,e,n,u,o],()=>D("/ATIM/KPISchedules",{pDate:t,pStoreId:e,pType:n,pSortBy:u,pSortDirection:o}),{...i,retry:1}),ti=({storeId:t,begin:e,end:n,...u})=>r.useQuery(["WORK_WEEK_SCHEDULE_QUERY",e,n],()=>l("/ATIM/EmployeesWeeklySchedules",{pStoreId:t,pStartDate:e,pEndDate:n}),{...u}),ni=({page:t,records:e,storeId:n,sortBy:u,sortDirection:o,...i})=>r.useQuery(["EMPLOYEES_QUERY",t,e,n,u,o],()=>l("/Employees",{pPage:t,pRecords:e,pStoreId:n,pSortBy:u,pSortDirection:o}),{...i}),ri=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ATIM/Attendances/Range",void 0,e),{onSuccess:e=>{t.setQueryData(["POST_ATTENDANCE"],e)}})},ui=t=>{const e=r.useQueryClient();return r.useMutation(n=>t?f(`/ATIM/AttendancesSummary/${t}`,void 0,n):p("/ATIM/AttendancesSummary",void 0,n),{onSuccess:n=>{e.setQueryData(["ATTENDANCES_SUMMARY_QUERY"],n)}})},si=()=>{const t=r.useQueryClient();return r.useMutation(e=>de(`/ATIM/Attendances/${e.Id}?`,{pDate:e.Date}),{onSuccess:e=>{t.setQueryData(["INTEGRATION_DATA_QUERY"],e)}})},oi=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f(`/ATIM/Schedules/${e.Id}`,void 0,e):p("/ATIM/Schedules",void 0,e),{onSuccess:(e,{Date:n})=>{t.setQueryData(["SCHEDULES_QUERY",lt(n)?.valueOf(),e.StoreId],e)}})},ii=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["FLOW_EXECUTION_QUERY",t,e,n,u,o,i,c],()=>l("/AEXP/Execution",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||""}),c),ai=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,roleList:c,...A})=>r.useQuery(["FLOW_LIST_QUERY",t,e,n,u,o,i,c,A],()=>l("/AEXP/FlowConfiguration",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||"",pTagsList:c||""}),A),ci=(t,{...e})=>r.useQuery(["FLOW_QUERY",e],()=>l("/AEXP/FlowConfiguration/GetById",{pId:t}),e),li=(t,{...e})=>r.useQuery(["FLOW_EXECUTION_QUERY",e],()=>l("/AEXP/Execution/GetById",{pExecutionId:t}),e),Ti=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/AEXP/FlowConfiguration/Deleted?",{pId:e.Id},e),{onSuccess:e=>{t.setQueryData(["FLOW_DELETE_QUERY"],e)}})},Si=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/AEXP/Execution/RunExecution?",{pExecutionId:e.Id,pUserId:e.UserId,pUserEmail:e.UserEmail,pLastExecutionId:e.LastExecutionId},e),{onSuccess:e=>{t.setQueryData(["RUN_FLOW_EXECUTION_QUERY"],e)}})},Ai=t=>{const e=r.useQueryClient();return r.useMutation(n=>n.Id?f("/AEXP/FlowConfiguration",void 0,n,t):p("/AEXP/FlowConfiguration",void 0,n,t),{onSuccess:n=>{e.setQueryData(["FLOW_CONFIGURATION_QUERY"],n)}})},yi=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f("/AEXP/Execution",void 0,e):p("/AEXP/Execution?",{pUserId:e.UserId,pUserName:e.UserName,pFlowId:e.FlowId},e),{onSuccess:e=>{t.setQueryData(["FLOW_EXECUTION_QUERY"],e)}})},Ei=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/AEXP/Execution/FileValidation",void 0,n,t),{onSuccess:n=>{e.setQueryData(["VALIDATE_EXECUTION_FILE_QUERY"],n)}})},fi=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/AEXP/FlowConfiguration/Inactivate?",{pId:e.Id,pIsActive:e.IsActive},e),{onSuccess:e=>{t.setQueryData(["FLOW_INACTIVATE_QUERY"],e)}})},di=({...t})=>r.useQuery(["TAGS_FLOW",t],()=>l("/AEXP/Tags"),t),pi=(t,{page:e,records:n,sortBy:u,sortDirection:o,...i})=>r.useQuery(["CUSTOMER_HISTORY_QUERY",t,e,n,u,o,i],()=>l(`/GNG/Salesforce/CustomerHistories/${t}`,{pPage:e,pRecords:n,pSortBy:u,pSortDirection:o}),i),_i=(t,{page:e,records:n,sortBy:u,sortDirection:o,...i})=>r.useQuery(["CUSTOMER_VOUCHERS_QUERY",e,n,u,o,t,i],()=>l(`/GNG/Salesforce/CustomerVouchers/${t}`,{pPage:e,pRecords:n,pSortBy:u,pSortDirection:o}),i),Ci=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["CUSTOMER_QUERY",t,e,n,u,o,i,c],()=>l("/GNG/Salesforce/Customers",{pPage:t,pRecords:e,pSortBy:n,pSortDirection:u,pTerms:o||"",pQuery:i||""}),c),Ri=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["NOTIFICATIONS_TYPE_QUERY",t,e,n,u,o,i,c],()=>l("/ANOT/NotificationTypes",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||""}),c),Qi=()=>{const t=r.useQueryClient();return r.useMutation(e=>e.Id?f(`/ANOT/NotificationTypes/${e.Id}`,void 0,e):p("/ANOT/NotificationTypes",void 0,e),{onSuccess:e=>{t.setQueryData(["USE_NOTIFICATION_TYPE_QUERY"],e)}})},Ii=(t,{...e})=>r.useQuery(["NOTIFICATION_TYPE_BY_ID_QUERY",t,e],()=>l(`/ANOT/NotificationTypes/${t}`),e),Pi=({...t})=>r.useQuery(["NOTIFICATION_APPLICATIONS",t],()=>l("/AACP/Applications"),t),Di=({...t})=>r.useQuery(["NOTIFICATION_LANGUAGES",t],()=>l("/ANOT/Configurations/SupportedLanguages"),t),gi=({...t})=>r.useQuery(["NOTIFICATION_CRITICALITIES",t],()=>l("/ANOT/Criticalities"),t),mi=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,...c})=>r.useQuery(["NOTIFICATION_HEADERS",t,e,n,u,o,i,c],()=>l("/ANOT/Notifications/Headers",{pPage:t||1,pRecords:e||50,pSortBy:n||"Application",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||""}),c),hi=({page:t,records:e,sortBy:n,sortDirection:u,terms:o,query:i,language:c,...A})=>r.useQuery(["NOTIFICATIONS_QUERY",t,e,n,u,o,i,c,A],()=>l("/ANOT/Notifications",{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pTerms:o||"",pQuery:i||"",pLanguage:c||"PT"}),A),ki=({records:t,sortBy:e,sortDirection:n,...u})=>r.useQuery(["JOBTITLES_QUERY",t,e,n],()=>l("/AACP/JobTitles",{pPage:1,pRecords:t||195,pSortBy:e||"Rank",pSortDirection:n||"asc"}),u),Ui=({records:t,...e})=>r.useQuery(["CONTRACTSTATES_QUERY",t],()=>l("/AACP/ContractStates",{pPage:1,pRecords:t||195}),e),Oi=()=>r.useQuery(["APPLICATIONS_QUERY"],()=>l("/AACP/Applications/groupByCategory")),Mi=()=>r.useQuery(["TERM_NOTIFICATION_QUERY"],()=>l("/APE/TermNotification")),Hi=({page:t,records:e,email:n,code:u,...o})=>r.useQuery(["Customers",t,e,n,u],()=>D("/CRMCustomers",{pPage:t||1,pRecords:e,pEmail:n,pCode:u,pSource:"Custom"}),o),vi=({email:t,code:e}={})=>{const n=r.useInfiniteQuery(["Customers_Infinite",t,e],({pageParam:i=1})=>D("/CRMCustomers",{pPage:i,pRecords:50,pEmail:t,pCode:e,pSource:"Custom"})),u=n.data?.pages?.map(i=>i.Customers||[])||[],o=[].concat(...u);return{...n,count:n.data?.pages?.[0].Count||0,data:o}},Ni=({records:t,...e})=>r.useQuery(["COUNTRIES_QUERY",t],()=>D("/Franchise/Countries",{pPage:1,pRecords:t||195}),e),Yi=({evaluationCycleId:t,userId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p("/APE/Notification/CreateNotification?",{pEvaluationCycleId:t,pUserId:e},u),{onSuccess:u=>{n.setQueryData(["CREATE_NOTIFICATION_QUERY"],u)}})},wi=()=>{const t=r.useQueryClient();return r.useMutation(e=>te("/APRE/Checkouts",e),{onSuccess:e=>{t.setQueryData(["CHECKOUT"],e)}})},bi=t=>{const e=r.useQueryClient();return r.useMutation(n=>p("/AACP/FaceAuthentication/verify",void 0,n,t),{onSuccess:n=>{e.setQueryData(["VERIFY_IMAGE"],n)}})},Li=({page:t,records:e,sortBy:n,sortDirection:u,...o})=>r.useQuery(["WORKLOAD_QUERY",t,e,n,u],()=>l("/AACP/WeeklyWorkHours",{pPage:t||1,pRecords:e||195,pSortBy:"WorkHours",pSortDirection:u||"asc"}),o),Bi=({page:t,records:e,...n})=>r.useQuery(["NOTIFICATION_TITLE_QUERY",t,e],()=>l("/APE/NotificationType",{pPage:t||1,pRecords:e||999999}),n),Gi=({page:t,records:e,tags:n,...u})=>r.useQuery(["USER_EMAIL_STATUS",t,e,n],()=>l("/APE/Validation",{pPage:t||1,pRecords:e||50,pTerms:n}),u),Fi=({...t})=>r.useQuery(["REGULATION_QUERY"],()=>l("/AACP/Users/termsAndConditions"),t),$i=({userId:t})=>{const e=r.useQueryClient();return r.useMutation(()=>f("/AACP/Users/termsAndConditions?",{pUserId:t}),{onSuccess:n=>{e.setQueryData(["PUT_REGULATION_QUERY"],n)}})},Vi=({storeCode:t})=>{const e=r.useQueryClient();return r.useMutation(()=>Te("/AACP/Authentication/User/Login?",{pStoreId:t}),{onSuccess:n=>{e.setQueryData(["POST_USER_AUTHENTICATION_QUERY"],n)}})},qi=()=>{const t=r.useQueryClient();return r.useMutation(e=>f("/AACP/Users/BulkUpdate?",void 0,e),{onSuccess:e=>{t.setQueryData(["BULK_QUERY"],e)}})},Wi=({page:t,records:e,sortBy:n,sortDirection:u,query:o,language:i,userId:c,...A})=>r.useQuery(["BELL_NOTIFICATION_QUERY",t,e,n,u,o,i,c,A],()=>l(`/ANOT/Notifications/${c}`,{pPage:t||1,pRecords:e||50,pSortBy:n||"Name",pSortDirection:u||"asc",pQuery:o||"",pLanguage:i||"PT"}),A),ji=({userId:t,notificationId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>f(`/ANOT/Notifications/${e}?`,{pUserId:t},u),{onSuccess:u=>{n.setQueryData(["BELL_NOTIFICATION_QUERY"],u)}})},Ki=({userId:t})=>{const e=r.useQueryClient();return r.useMutation(n=>f(`/ANOT/Notifications/${t}/ReadAll`,void 0,n),{onSuccess:n=>{e.setQueryData(["BELL_NOTIFICATION_QUERY"],n)}})},Xi=({page:t,records:e,userId:n,...u})=>r.useQuery(["VACATION_PLAN_QUERY",t,e,n,u],()=>l(`/AACP/UserVacationPlans/${n}`,{pPage:t||1,pRecords:e||50}),u),Ji=({vacationPlan:t,userId:e})=>{const n=r.useQueryClient();return r.useMutation(u=>f(`/AACP/UserVacationPlans/${t}/Approve?`,{pUserId:e},u),{onSuccess:u=>{n.setQueryData(["APROVE_VACATION_PLAN_QUERY"],u)}})},zi=({userId:t,bodyType:e})=>{const n=r.useQueryClient();return r.useMutation(u=>p(`/AACP/UserVacationPlans/${t}`,void 0,u,e),{onSuccess:u=>{n.setQueryData(["POST_VACATION_PLAN_QUERY"],u)}})},Zi=({vacationPlan:t,userId:e,notes:n})=>{const u=r.useQueryClient();return r.useMutation(o=>f(`/AACP/UserVacationPlans/${t}/Reject?`,{pUserId:e,pNotes:n},o),{onSuccess:o=>{u.setQueryData(["REJECT_VACATION_PLAN_QUERY"],o)}})},xi=({...t})=>r.useQuery(["VACATION_TEMPLATE_QUERY",t],()=>l("/AACP/UserVacationPlans/Template"),t),ea=({userId:t,password:e})=>{const n=r.useQueryClient();return r.useMutation(()=>f(`/AACP/Users/${t}/changePassword?`,{pPassword:e}),{onSuccess:u=>{n.setQueryData(["CHANGE_PASSWORD_QUERY"],u)}})},ta=t=>{const e=r.useQueryClient();return r.useMutation(()=>p(`/AACP/Users/${t}/unblock`,void 0),{onSuccess:n=>{e.setQueryData(["UNBLOCK_USER_QUERY"],n)}})},na=()=>{const t=r.useQueryClient();return r.useMutation(e=>p("/ANOT/Users/Register",void 0,e),{onSuccess:e=>{t.setQueryData(["ONESIGNAL_USER_QUERY"],e)}})};var St=(t=>(t[t.ENTER=0]="ENTER",t[t.EXIT=1]="EXIT",t))(St||{}),At=(t=>(t[t.NAME_A_Z=0]="NAME_A_Z",t[t.NAME_Z_A=1]="NAME_Z_A",t[t.ID_ASC=2]="ID_ASC",t[t.ID_DESC=3]="ID_DESC",t))(At||{});function ra(t,e,n,u,o){return{key:e,icon:n,children:u,label:t,type:o}}const ua=(t,e="")=>t?Ne.unix(t).format("HH:mm"):e,sa=(t,e)=>le.Children.toArray(t).find(n=>n.type===e);s.AttendanceType=St,s.EmployeeOrder=At,s.SharedContextProvider=Zt,s.activateEvaluationCycleQueryHook=un,s.activateOsuaVoucher=fo,s.activateQuestionnaireQueryHook=yn,s.appConfig=oe,s.approveVacationPlanQueryHook=Ji,s.archiveActionQueryHook=gs,s.archiveInspectionQueryHook=es,s.archiveTemplateQueryHook=ju,s.autoSaveASGTQueryHook=Du,s.autoSaveASTTQueryHook=xr,s.cancelEvaluationCycleQueryHook=an,s.cancelQuestionnaireQueryHook=dn,s.changePasswordQueryHook=ea,s.createNotificationTypeQuery=Qi,s.createPackageASGTMutateQuery=_u,s.createPackageASTTMutateQuery=jr,s.createTransferASGTMutateQuery=Cu,s.createTransferASTTMutateQuery=Kr,s.deleteActionMutateHook=Ps,s.deleteAnswerTypeHook=fs,s.deleteEvaluationCycleMutateHook=sn,s.deleteFlowConfigurationQuery=Ti,s.deleteInspectionMutateHook=Zu,s.deleteManualPackageQueryHook=Yr,s.deletePermissionMutateHook=vn,s.deleteProductASTTQuery=ru,s.deleteQuestionnaireMutateHook=Tn,s.deleteTemplateMutateHook=qu,s.duplicateQuestionnaireMutateHook=Sn,s.duplicateTemplateQueryHook=Ku,s.editAllBellNotificationStatusQueryHook=Ki,s.editBellNotificationStatusQueryHook=ji,s.editFieldsByBulkQueryHook=qi,s.exportInspectionMutateHook=ns,s.extractActionQueryHook=Ds,s.extractInspectionQueryHook=ts,s.extractTemplateQueryHook=Wu,s.finishActionQueryHook=ms,s.finishAnswerTypeQueryHook=ds,s.finishAstaAnswersQueryHook=os,s.finishEvaluationCycleQueryHook=cn,s.finishGNGAstaAnswersQueryHook=cs,s.finishInspectionQueryHook=xu,s.finishPackageASTTQuery=iu,s.finishQuestionnaireQueryHook=fn,s.finishTemplateQueryHook=Xu,s.get=D,s.getASAECustomerQueryHook=Ci,s.getActionByIdQueryHook=_s,s.getActionPriorityQueryHook=Rs,s.getActionQueryHook=Qs,s.getActionStageQueryHook=Cs,s.getAdidasAllProductsQuery=ou,s.getAllAnswerTypeQueryHook=Ss,s.getAnswerByIdQueryHook=us,s.getAnswerColorsQueryHook=As,s.getAnswerTypeByIdQueryHook=ys,s.getAnswerTypeQueryHook=Ts,s.getArchivedAnalyticsQueryHook=Gn,s.getAssProductsByRef=rr,s.getAssProductsByStore=ur,s.getAssProductsStockDetailsQueryHook=sr,s.getAstaAnswersQueryHook=rs,s.getAttendanceIssuesByIdQueryHook=Nu,s.getAttendanceIssuesQueryHook=Yu,s.getAuth0=l,s.getAuth0ConfigQueryHook=ko,s.getBarcodesListingByPackageQueryHook=mr,s.getBarcodesListingQueryHook=gr,s.getBarcodesPrintQuery=Dr,s.getBasic=nt,s.getBellNotificationQueryHook=Wi,s.getBwgAllEmployeesQuery=Ys,s.getBwgBackOfficeQuery=ws,s.getChildrenByType=sa,s.getClientBalance=mo,s.getCloseSession=Bo,s.getCriticalitiesQuery=bu,s.getCustomerHistoryQueryHook=pi,s.getCustomerVouchersQueryHook=_i,s.getCustomersLoyaltyQueryHook=Gs,s.getDateFromUnix=lt,s.getDateStringToUnix=Ou,s.getDateToUnix=Tt,s.getDocumentsFindByIdQueryHook=Tr,s.getEmployeesWithTimekeeping=Mu,s.getFaqsQuery=uo,s.getFlowExecutionById=li,s.getFlowExecutionQuery=ii,s.getFlowListById=ci,s.getFlowListQuery=ai,s.getFormattedDate=ua,s.getGNGVoucher=eo,s.getGngDocumentos=Zs,s.getIdProductsPickedASGT=Qu,s.getIdProductsPickedASTT=Jr,s.getInspectionQueryHook=Ju,s.getInstanceByIdQueryHook=Ho,s.getInstancesQueryHook=Oo,s.getIntegrationByName=po,s.getIntegrationProductHistory=_o,s.getItem=ra,s.getLocationsByUserQuery=tn,s.getMacrosInstancesQueryHook=Uo,s.getMacrosQueryHook=Mo,s.getMacrosUserQueryHook=wo,s.getManualPackagesListQueryHook=vr,s.getMonitoringComponentQueryHook=bo,s.getMonthsListQueryHook=Hs,s.getNotificationApplications=Pi,s.getNotificationCriticalities=gi,s.getNotificationHeadersQuery=mi,s.getNotificationLanguages=Di,s.getNotificationTitleQueryHook=Bi,s.getNotificationTypeById=Ii,s.getNotificationsQuery=hi,s.getNotificationsTypeQuery=Ri,s.getOrderDocuments=ro,s.getOsuaVoucher=co,s.getPriceChangePinQueryHook=Us,s.getProductInfoQueryHook=or,s.getProductWarningASGTQueryHook=Iu,s.getProductWarningASTTQueryHook=zr,s.getProductsByRef=er,s.getProductsByStore=tr,s.getProductsListingASGTQueryHook=pu,s.getProductsListingASTTQueryHook=Wr,s.getProductsListingQueryHook=Pr,s.getProductsMovementsASGTQueryHook=gu,s.getProductsMovementsASTTQueryHook=eu,s.getProductsPickedASGT=Ru,s.getProductsPickedASTT=Xr,s.getProductsStockDetailsQueryHook=nr,s.getQueues=ao,s.getQueuesMessages=io,s.getReasonCodesQuery=Lu,s.getReconciliationDocumentsQueryHook=Hr,s.getRegulationQueryHook=Fi,s.getReportsBuilderASGTQueryHook=du,s.getReportsBuilderASTTQueryHook=qr,s.getReportsBuilderQueryHook=Qr,s.getReprocessNeededASTTQueryHook=su,s.getRfidQueryHook=Ir,s.getSalesNumberOsua=oo,s.getScheduleQueryHook=Bu,s.getSitooDocumentos=xs,s.getSitooErrorEvents=so,s.getSitooVouchers=to,s.getStockQueryHook=ir,s.getTagsFlow=di,s.getTemplateByIdQueryHook=Gu,s.getTemplateHeadersQueryHook=Fu,s.getTemplateQueryHook=$u,s.getTransfeStatesQueryHook=Ar,s.getTransferAllProductsASGTQueryHook=yu,s.getTransferAllProductsASTTQueryHook=Fr,s.getTransferAllProductsQueryHook=fr,s.getTransferDocumentsASGTQueryHook=cu,s.getTransferDocumentsASTTQueryHook=wr,s.getTransferDocumentsByIdASGTQueryHook=lu,s.getTransferDocumentsByIdASTTQueryHook=br,s.getTransferDocumentsByIdQueryHook=lr,s.getTransferDocumentsByPackageASGTQueryHook=Tu,s.getTransferDocumentsByPackageASTTQueryHook=Lr,s.getTransferDocumentsByPackageQueryHook=Sr,s.getTransferDocumentsPackagesASGTQueryHook=Su,s.getTransferDocumentsPackagesASTTQueryHook=Br,s.getTransferDocumentsPackagesQueryHook=yr,s.getTransferDocumentsQueryHook=cr,s.getTransferReportDiffASGTQueryHook=Au,s.getTransferReportDiffASTTQueryHook=Gr,s.getTransferReportDiffQueryHook=Er,s.getUnixFromDateString=Uu,s.getUserAndSupervisorQueryHook=kn,s.getUserEmailStatusQuery=Gi,s.getUsersReadmissionQueryHook=Nn,s.getVacationPlanQueryHook=Xi,s.getVacationTemplateQueryHook=xi,s.getVoucherIntegrationRequestStatus=no,s.getVoucherLoyaltyQueryHook=Bs,s.getVoucherSitooQueryHook=Fs,s.getVoucherTemplatesQueryHook=$s,s.getWeeklyWorkloadQueryHook=Li,s.importABWGQuery=Ls,s.importRegulationHook=bs,s.inactivateFlowConfigurationQuery=fi,s.initService=kt,s.mutateCloseSession=Go,s.mutateNotificationRequest=Fo,s.notifyMissingProductsQuery=_r,s.oneSignalUserQuery=na,s.openAnswerQueryHook=qn,s.patch=rt,s.patchAuth0=Gt,s.post=te,s.postAnswersExportQueryHook=jn,s.postAsttActionsQueryHook=Mr,s.postAttendanceRange=ri,s.postAudioFileHook=ar,s.postAuth0=p,s.postCheckoutsMutateQueryHook=wi,s.postClientBalance=ho,s.postCreateIntegrationRequest=lo,s.postCreateVoucherTemplates=Js,s.postDagsAdjustStock=Io,s.postEventsRep=So,s.postIntegrationDag=go,s.postManualPackageQueryHook=Ur,s.postManualTransferQueryHook=kr,s.postMatchingPackageQueryHook=hr,s.postMissingProductsQuery=au,s.postPriceChangePinQueryHook=Os,s.postQueesMessages=Eo,s.postReprocessQuery=uu,s.postRfidInventoryMutateQueryHook=tu,s.postSaldoVoucherQueryHook=Vs,s.postSalesAssociationQueryHook=qs,s.postTransferDocumentsASGTMutateQueryHook=Eu,s.postTransferDocumentsASTTMutateQueryHook=$r,s.postTransferDocumentsMutateQueryHook=dr,s.postUserAuthenticationHook=Vi,s.postVacationPlanQueryHook=zi,s.postVendusIntegration=Qo,s.postVerificationEmailSitooQueryHook=js,s.postVerificationUserSitooQueryHook=Ks,s.postVerifyImageQueryHook=bi,s.postVerifyUserQueryHook=Hu,s.postVoucherOsua=Ao,s.postVoucherSitooQueryHook=Ws,s.postWithParameters=Te,s.publishMonthsEmployeeHook=vs,s.publishMonthsManagerHook=Ns,s.put=Ft,s.putAnswerImageMutateHook=is,s.putAuth0=f,s.putBalanceVouchers=yo,s.putTransferDocumentsFinishedQuery=Cr,s.putTransferDocumentsPartiallyQuery=Rr,s.putTransferDocumentsStateASGTMutateQueryHook=fu,s.putTransferDocumentsStateASTTMutateQueryHook=Vr,s.putTransferDocumentsStateMutateQueryHook=pr,s.putVendusIntegration=Do,s.putWithParameters=de,s.queryClient=it,s.reactivateVoucher=zs,s.rejectVacationPlanQueryHook=Zi,s.removeProductASGTQuery=Pu,s.removeProductASTTQuery=Zr,s.reprocessingInstanceQueryHook=No,s.restartProductASTTQuery=nu,s.runFlowExecutionQuery=Si,s.runMacrosQueryHook=vo,s.selectActionStatusQueryHook=ks,s.selectAnswerNameQueryHook=ps,s.sendEmailWithPinQueryHook=Ms,s.sendInspectionEmailMutateHook=as,s.sendInspectionEmailStoreMutateHook=ls,s.showAnswerQueryHook=Wn,s.startActionQueryHook=hs,s.stopInstanceQuery=Lo,s.toDelete=$t,s.toDeleteAuth0=fe,s.unblockUserQueryHook=ta,s.updateDocumentIdQueryHook=Nr,s.updateErrorHistory=Po,s.updateMacroStatusQueryHook=Yo,s.updatePackageIdQuery=Or,s.useAbsenceTypes=Wo,s.useActionMutateHook=Is,s.useAllRolesQuery=xn,s.useAllStoreQuery=en,s.useAnalyticsEvaluationCyclesQueryHook=Yn,s.useAnalyticsQuestionsQueryHook=bn,s.useAnalyticsSideBarQueryHook=Ln,s.useAnalyticsUserIdQueryHook=wn,s.useAnalyticsUserQueryHook=Bn,s.useAnswerIdQueryHook=Fn,s.useAnswerMutateHook=$n,s.useAnswerTypeMutateHook=Es,s.useAnswersUserSupervisorQuery=Vn,s.useApplicationDataQueryHook=Oi,s.useApplicationQuery=Hn,s.useAstaAnswersMutateHook=ss,s.useAttendanceIssuesQueryHook=wu,s.useAttendancesById=si,s.useAttendancesSummary=jo,s.useAttendancesSummarySearch=Xo,s.useContractStatesQuery=Ui,s.useCountriesQuery=Ni,s.useCreateNotificationHook=Yi,s.useCustomersInfiniteQueryHook=vi,s.useCustomersQueryHook=Hi,s.useDisableVoucherTemplate=Xs,s.useEmployeeQueryHook=Vo,s.useEmployeeWorklogDetails=$o,s.useEmployeesQuery=ni,s.useErrorHistory=Ro,s.useEvaluationCycleIdQueryHook=nn,s.useEvaluationCycleMutateHook=rn,s.useEvaluationCycleQueryHook=on,s.useExpUsersAnswersQueryHook=Qn,s.useFlowConfigurationQuery=Ai,s.useFlowExecutionQuery=yi,s.useInspectionMutateHook=zu,s.useIntegrationDataQuery=Co,s.useJobTitlesQuery=ki,s.useKpisQueryHook=ei,s.usePermissionIdQueryHook=Mn,s.usePermissionsIdMutateQuery=On,s.usePermissionsQuery=Un,s.usePostAttendance=vu,s.useProductInfiniteQueryHook=Xn,s.useProductRecommendationsHook=zn,s.useProductsByRefQueryHook=Zn,s.useProductsHierarchiesQueryHook=Jn,s.useProductsQueryHook=Kn,s.useQuestionnaireIdQueryHook=En,s.useQuestionnaireMutateHook=An,s.useQuestionnaireQueryHook=ln,s.useRegulationQueryHook=$i,s.useScheduleMutateQuery=oi,s.useScheduleQueryHook=xo,s.useScheduleTimePeriodTypesQueryHook=zo,s.useScheduleTimePeriodsQueryHook=Zo,s.useSetIntegrationToFinished=To,s.useSingleUserIdMutateQuery=gn,s.useSingleUserIdQueryHook=Dn,s.useSingleUserResetPasswordHook=Pn,s.useStoreByCodeQuery=xt,s.useStoreQuery=at,s.useStoresQueryHook=qo,s.useTemplateMutateHook=Vu,s.useTermNotificationQueryHook=Mi,s.useUpdateAttendancesSummary=ui,s.useUpdateSupervisorMutateQueryHook=In,s.useUserBlockQueryHook=Cn,s.useUserEmailVerifQueryHook=Rn,s.useUserIdQueryHook=mn,s.useUserListQueryHook=_n,s.useUserQueryHook=pn,s.useUserResetPassByEmailHook=hn,s.useWorkMonths=Ko,s.useWorkWeekScheduleQueryHook=ti,s.validateExecutionFileQuery=Ei,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
33
- //# sourceMappingURL=shared-resources.umd.js.map