@ynput/ayon-frontend-shared 0.2.36 → 0.2.37

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 (486) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +23 -22
  3. package/dist/DetailsPanel.es.js.map +1 -1
  4. package/dist/Views.cjs.js +1 -1
  5. package/dist/Views.cjs.js.map +1 -1
  6. package/dist/Views.es.js +25 -24
  7. package/dist/Views.es.js.map +1 -1
  8. package/dist/_virtual/index.cjs2.js +1 -1
  9. package/dist/_virtual/index.cjs3.js +1 -1
  10. package/dist/_virtual/index.cjs5.js +1 -1
  11. package/dist/_virtual/index.es2.js +2 -5
  12. package/dist/_virtual/index.es2.js.map +1 -1
  13. package/dist/_virtual/index.es3.js +5 -2
  14. package/dist/_virtual/index.es3.js.map +1 -1
  15. package/dist/_virtual/index.es4.js +2 -2
  16. package/dist/_virtual/index.es5.js +2 -2
  17. package/dist/context.cjs.js +1 -1
  18. package/dist/context.es.js +19 -16
  19. package/dist/context.es.js.map +1 -1
  20. package/dist/index.cjs.js +1 -1
  21. package/dist/index.es.js +10 -9
  22. package/dist/index.es.js.map +1 -1
  23. package/dist/node_modules/react-use-websocket/dist/index.cjs.js +1 -1
  24. package/dist/node_modules/react-use-websocket/dist/index.es.js +1 -1
  25. package/dist/shared/node_modules/prop-types/index.cjs.js +1 -1
  26. package/dist/shared/node_modules/prop-types/index.es.js +1 -1
  27. package/dist/shared/node_modules/react-is/index.cjs.js +1 -1
  28. package/dist/shared/node_modules/react-is/index.es.js +1 -1
  29. package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.cjs.js +1 -1
  30. package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.es.js +1 -1
  31. package/dist/shared/node_modules/react-transition-group/esm/Transition.cjs.js +1 -1
  32. package/dist/shared/node_modules/react-transition-group/esm/Transition.es.js +1 -1
  33. package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js +1 -1
  34. package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.es.js +1 -1
  35. package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
  36. package/dist/shared/src/api/generated/actions.es.js.map +1 -1
  37. package/dist/shared/src/api/generated/attributes.cjs.js.map +1 -1
  38. package/dist/shared/src/api/generated/attributes.es.js.map +1 -1
  39. package/dist/shared/src/api/generated/authentication.cjs.js.map +1 -1
  40. package/dist/shared/src/api/generated/authentication.es.js.map +1 -1
  41. package/dist/shared/src/api/generated/configuration.cjs.js.map +1 -1
  42. package/dist/shared/src/api/generated/configuration.es.js.map +1 -1
  43. package/dist/shared/src/api/generated/entityLists.cjs.js +1 -1
  44. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  45. package/dist/shared/src/api/generated/entityLists.es.js +88 -84
  46. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  47. package/dist/shared/src/api/generated/graphql.cjs.js +22 -20
  48. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  49. package/dist/shared/src/api/generated/graphql.es.js +34 -32
  50. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  51. package/dist/shared/src/api/generated/graphqlLinks.cjs.js.map +1 -1
  52. package/dist/shared/src/api/generated/graphqlLinks.es.js.map +1 -1
  53. package/dist/shared/src/api/generated/onboarding.cjs.js.map +1 -1
  54. package/dist/shared/src/api/generated/onboarding.es.js.map +1 -1
  55. package/dist/shared/src/api/generated/products.cjs.js.map +1 -1
  56. package/dist/shared/src/api/generated/products.es.js.map +1 -1
  57. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  58. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  59. package/dist/shared/src/api/generated/system.cjs.js +1 -1
  60. package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
  61. package/dist/shared/src/api/generated/system.es.js +3 -0
  62. package/dist/shared/src/api/generated/system.es.js.map +1 -1
  63. package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
  64. package/dist/shared/src/api/generated/users.es.js.map +1 -1
  65. package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
  66. package/dist/shared/src/api/generated/views.es.js.map +1 -1
  67. package/dist/shared/src/api/generated/ynputCloud.cjs.js +1 -1
  68. package/dist/shared/src/api/generated/ynputCloud.cjs.js.map +1 -1
  69. package/dist/shared/src/api/generated/ynputCloud.es.js +6 -1
  70. package/dist/shared/src/api/generated/ynputCloud.es.js.map +1 -1
  71. package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
  72. package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
  73. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  74. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  75. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
  76. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
  77. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +129 -122
  78. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
  79. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +1 -1
  80. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
  81. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +3 -2
  82. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
  83. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
  84. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
  85. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +3 -2
  86. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
  87. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +1 -1
  88. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -1
  89. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +23 -9
  90. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -1
  91. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
  92. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
  93. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +5 -4
  94. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
  95. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  96. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  97. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +3 -2
  98. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  99. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js +1 -1
  100. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js.map +1 -1
  101. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js +6 -5
  102. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js.map +1 -1
  103. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
  104. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
  105. package/dist/shared/src/components/Feedback/FeedbackContext.es.js +118 -112
  106. package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
  107. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  108. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  109. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +3 -2
  110. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
  111. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  112. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  113. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +3 -2
  114. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
  115. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +1 -1
  116. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
  117. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +8 -7
  118. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -1
  119. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  120. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  121. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +3 -2
  122. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  123. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +2 -2
  124. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  125. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +18 -17
  126. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  127. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  128. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  129. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +3 -2
  130. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  131. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
  132. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
  133. package/dist/shared/src/components/RenameForm/RenameForm.es.js +3 -2
  134. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
  135. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  136. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  137. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +3 -2
  138. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  139. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  140. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  141. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +4 -3
  142. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  143. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  144. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  145. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +3 -2
  146. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  147. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
  148. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  149. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +263 -210
  150. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  151. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +1 -1
  152. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
  153. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +24 -23
  154. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
  155. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  156. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  157. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +3 -2
  158. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  159. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js +1 -1
  160. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js.map +1 -1
  161. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js +3 -2
  162. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js.map +1 -1
  163. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
  164. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  165. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +3 -2
  166. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  167. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  168. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  169. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +3 -2
  170. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  171. package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
  172. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  173. package/dist/shared/src/containers/Actions/Actions.es.js +3 -2
  174. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  175. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  176. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  177. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +3 -2
  178. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  179. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  180. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  181. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +61 -57
  182. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  183. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  184. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  185. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +3 -2
  186. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  187. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  188. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  189. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +58 -55
  190. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  191. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  192. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  193. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +3 -2
  194. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  195. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
  196. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  197. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +3 -2
  198. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  199. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
  200. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
  201. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +3 -2
  202. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
  203. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
  204. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
  205. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +33 -30
  206. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
  207. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
  208. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
  209. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +16 -15
  210. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
  211. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  212. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  213. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +3 -2
  214. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
  215. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  216. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  217. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +3 -2
  218. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
  219. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  220. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  221. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +3 -2
  222. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
  223. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  224. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  225. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +3 -2
  226. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
  227. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
  228. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
  229. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +3 -2
  230. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
  231. package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
  232. package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
  233. package/dist/shared/src/containers/Feed/Feed.es.js +4 -3
  234. package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
  235. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
  236. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  237. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +3 -2
  238. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  239. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -1
  240. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
  241. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +8 -7
  242. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
  243. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +1 -1
  244. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
  245. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +3 -2
  246. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
  247. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js +1 -1
  248. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js.map +1 -1
  249. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js +3 -2
  250. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js.map +1 -1
  251. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js +1 -1
  252. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js.map +1 -1
  253. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js +9 -8
  254. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js.map +1 -1
  255. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js +1 -1
  256. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js.map +1 -1
  257. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js +3 -2
  258. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js.map +1 -1
  259. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
  260. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  261. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +3 -2
  262. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  263. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
  264. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  265. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +45 -42
  266. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  267. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  268. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  269. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +289 -283
  270. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  271. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  272. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  273. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +4 -3
  274. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  275. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
  276. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
  277. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +3 -2
  278. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
  279. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  280. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  281. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +3 -2
  282. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  283. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  284. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  285. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +3 -2
  286. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
  287. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  288. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  289. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +3 -2
  290. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  291. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
  292. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  293. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +25 -90
  294. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  295. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  296. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
  297. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +6 -5
  298. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
  299. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  300. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  301. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +3 -2
  302. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  303. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  304. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  305. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +3 -2
  306. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  307. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  308. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  309. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +3 -2
  310. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  311. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
  312. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
  313. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +3 -2
  314. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
  315. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
  316. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
  317. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +3 -2
  318. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
  319. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  320. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  321. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +22 -21
  322. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  323. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js +1 -1
  324. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js.map +1 -1
  325. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js +19 -16
  326. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js.map +1 -1
  327. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  328. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  329. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +3 -2
  330. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  331. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  332. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  333. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +3 -2
  334. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
  335. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  336. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  337. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +3 -2
  338. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
  339. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  340. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  341. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +3 -2
  342. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  343. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  344. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  345. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +14 -13
  346. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  347. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
  348. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  349. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +38 -37
  350. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  351. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  352. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  353. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +5 -4
  354. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  355. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
  356. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
  357. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +3 -2
  358. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
  359. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  360. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  361. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +3 -2
  362. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  363. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  364. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  365. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +3 -2
  366. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  367. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
  368. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
  369. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +3 -2
  370. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
  371. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
  372. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
  373. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +7 -6
  374. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
  375. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
  376. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
  377. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +26 -25
  378. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
  379. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
  380. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
  381. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +3 -2
  382. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
  383. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
  384. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
  385. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +3 -2
  386. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
  387. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
  388. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
  389. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +9 -9
  390. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
  391. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
  392. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
  393. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +40 -35
  394. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
  395. package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
  396. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  397. package/dist/shared/src/context/AddonProjectContext.es.js +8 -7
  398. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  399. package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
  400. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  401. package/dist/shared/src/context/DetailsPanelContext.es.js +77 -78
  402. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  403. package/dist/shared/src/context/GlobalContext.cjs.js +2 -0
  404. package/dist/shared/src/context/GlobalContext.cjs.js.map +1 -0
  405. package/dist/shared/src/context/GlobalContext.es.js +123 -0
  406. package/dist/shared/src/context/GlobalContext.es.js.map +1 -0
  407. package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
  408. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  409. package/dist/shared/src/context/PowerpackContext.es.js +7 -6
  410. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  411. package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
  412. package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
  413. package/dist/shared/src/context/RemoteModulesContext.es.js +35 -34
  414. package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
  415. package/dist/shared/src/context/WebsocketContext.cjs.js +1 -1
  416. package/dist/shared/src/context/WebsocketContext.cjs.js.map +1 -1
  417. package/dist/shared/src/context/WebsocketContext.es.js +5 -4
  418. package/dist/shared/src/context/WebsocketContext.es.js.map +1 -1
  419. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
  420. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  421. package/dist/shared/src/hooks/useEntityUpdate.es.js +3 -2
  422. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  423. package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js +1 -1
  424. package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js.map +1 -1
  425. package/dist/shared/src/hooks/useGroupByRemoteModules.es.js +3 -2
  426. package/dist/shared/src/hooks/useGroupByRemoteModules.es.js.map +1 -1
  427. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
  428. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
  429. package/dist/shared/src/hooks/useUserProjectConfig.es.js +26 -12
  430. package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
  431. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js +1 -1
  432. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js.map +1 -1
  433. package/dist/src/components/Menu/MenuComponents/Menu.es.js +3 -2
  434. package/dist/src/components/Menu/MenuComponents/Menu.es.js.map +1 -1
  435. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js +1 -1
  436. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js.map +1 -1
  437. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js +1 -0
  438. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js.map +1 -1
  439. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js +1 -1
  440. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js.map +1 -1
  441. package/dist/src/components/Menu/MenuComponents/MenuList.es.js +17 -16
  442. package/dist/src/components/Menu/MenuComponents/MenuList.es.js.map +1 -1
  443. package/dist/types/api/generated/actions.d.ts +2 -0
  444. package/dist/types/api/generated/attributes.d.ts +20 -5
  445. package/dist/types/api/generated/authentication.d.ts +2 -0
  446. package/dist/types/api/generated/configuration.d.ts +3 -1
  447. package/dist/types/api/generated/entityLists.d.ts +22 -5
  448. package/dist/types/api/generated/enums.d.ts +36 -0
  449. package/dist/types/api/generated/graphql.d.ts +9 -2
  450. package/dist/types/api/generated/graphqlLinks.d.ts +3 -0
  451. package/dist/types/api/generated/onboarding.d.ts +1 -0
  452. package/dist/types/api/generated/products.d.ts +9 -3
  453. package/dist/types/api/generated/projects.d.ts +4 -4
  454. package/dist/types/api/generated/system.d.ts +27 -5
  455. package/dist/types/api/generated/users.d.ts +2 -0
  456. package/dist/types/api/generated/views.d.ts +48 -5
  457. package/dist/types/api/generated/ynputCloud.d.ts +7 -20
  458. package/dist/types/api/queries/activities/getActivities.d.ts +2 -0
  459. package/dist/types/api/queries/activities/updateActivities.d.ts +4 -0
  460. package/dist/types/api/queries/cloud/cloud.d.ts +17 -17
  461. package/dist/types/api/queries/entities/getEntity.d.ts +2 -0
  462. package/dist/types/api/queries/entities/getEntityPanel.d.ts +2 -0
  463. package/dist/types/api/queries/entities/updateEntity.d.ts +2 -0
  464. package/dist/types/api/queries/entityLists/getLists.d.ts +2 -0
  465. package/dist/types/api/queries/overview/getOverview.d.ts +2 -0
  466. package/dist/types/api/queries/system/getSystem.d.ts +85 -75
  467. package/dist/types/api/queries/userDashboard/getUserDashboard.d.ts +2 -0
  468. package/dist/types/api/queries/users/getUsers.d.ts +43 -37
  469. package/dist/types/api/queries/versions/getVersionsProducts.d.ts +20 -0
  470. package/dist/types/components/DetailsPanelDetails/hooks/useEntityData.d.ts +1 -1
  471. package/dist/types/components/SearchFilter/useBuildFilterOptions.d.ts +1 -1
  472. package/dist/types/containers/DetailsPanel/FeedWrapper.d.ts +3 -0
  473. package/dist/types/containers/Feed/context/FeedContext.d.ts +4 -3
  474. package/dist/types/containers/ProjectTreeTable/hooks/useGroupBySettings.d.ts +1 -1
  475. package/dist/types/containers/ProjectTreeTable/types/table.d.ts +2 -0
  476. package/dist/types/containers/Views/index.d.ts +1 -1
  477. package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +6 -10
  478. package/dist/types/context/DetailsPanelContext.d.ts +1 -2
  479. package/dist/types/context/GlobalContext.d.ts +25 -0
  480. package/dist/types/context/index.d.ts +1 -0
  481. package/package.json +1 -1
  482. package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js +0 -2
  483. package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js.map +0 -1
  484. package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js +0 -64
  485. package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js.map +0 -1
  486. package/dist/types/containers/Views/hooks/pages/useReportsViewSettings.d.ts +0 -11
@@ -1 +1 @@
1
- {"version":3,"file":"products.cjs.js","sources":["../../../../../src/api/generated/products.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getProduct: build.query<GetProductApiResponse, GetProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n }),\n }),\n deleteProduct: build.mutation<DeleteProductApiResponse, DeleteProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProduct: build.mutation<UpdateProductApiResponse, UpdateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'PATCH',\n body: queryArg.productPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createProduct: build.mutation<CreateProductApiResponse, CreateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products`,\n method: 'POST',\n body: queryArg.productPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetProductApiResponse = /** status 200 Successful Response */ ProductModel\nexport type GetProductApiArg = {\n projectName: string\n productId: string\n}\nexport type DeleteProductApiResponse = unknown\nexport type DeleteProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProductApiResponse = unknown\nexport type UpdateProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPatchModel: ProductPatchModel\n}\nexport type CreateProductApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateProductApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPostModel: ProductPostModel\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type ProductAttribModel = {\n productGroup?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProductModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product */\n productType: string\n path?: string\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProductPatchModel = {\n /** Name of the product */\n name?: string\n /** ID of the parent folder */\n folderId?: string\n /** Product */\n productType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type ProductPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product */\n productType: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,WAAYA,EAAM,MAA+C,CAC/D,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,EAC3E,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,GACzE,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,GACzE,OAAQ,QACR,KAAMA,EAAS,kBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAC1C,OAAQ,OACR,KAAMA,EAAS,iBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,eAAgB,EAAA,CACnF,EACD,qBAAsBD,EAAM,MAAmE,CAC7F,MAAQC,IAAc,CACpB,IAAK,eACL,OAAQ,CACN,OAAQA,EAAS,OACjB,UAAWA,EAAS,SAAA,CAExB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"products.cjs.js","sources":["../../../../../src/api/generated/products.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getProduct: build.query<GetProductApiResponse, GetProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n }),\n }),\n deleteProduct: build.mutation<DeleteProductApiResponse, DeleteProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProduct: build.mutation<UpdateProductApiResponse, UpdateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'PATCH',\n body: queryArg.productPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createProduct: build.mutation<CreateProductApiResponse, CreateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products`,\n method: 'POST',\n body: queryArg.productPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetProductApiResponse = /** status 200 Successful Response */ ProductModel\nexport type GetProductApiArg = {\n projectName: string\n productId: string\n}\nexport type DeleteProductApiResponse = unknown\nexport type DeleteProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProductApiResponse = unknown\nexport type UpdateProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPatchModel: ProductPatchModel\n}\nexport type CreateProductApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateProductApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPostModel: ProductPostModel\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type ProductAttribModel = {\n productGroup?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProductModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product type */\n productType: string\n /** Product base type */\n productBaseType?: string\n path?: string\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProductPatchModel = {\n /** Name of the product */\n name?: string\n /** ID of the parent folder */\n folderId?: string\n /** Product type */\n productType?: string\n /** Product base type */\n productBaseType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type ProductPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product type */\n productType: string\n /** Product base type */\n productBaseType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,WAAYA,EAAM,MAA+C,CAC/D,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,EAC3E,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,GACzE,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS,GACzE,OAAQ,QACR,KAAMA,EAAS,kBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAC1C,OAAQ,OACR,KAAMA,EAAS,iBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,eAAgB,EAAA,CACnF,EACD,qBAAsBD,EAAM,MAAmE,CAC7F,MAAQC,IAAc,CACpB,IAAK,eACL,OAAQ,CACN,OAAQA,EAAS,OACjB,UAAWA,EAAS,SAAA,CAExB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"products.es.js","sources":["../../../../../src/api/generated/products.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getProduct: build.query<GetProductApiResponse, GetProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n }),\n }),\n deleteProduct: build.mutation<DeleteProductApiResponse, DeleteProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProduct: build.mutation<UpdateProductApiResponse, UpdateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'PATCH',\n body: queryArg.productPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createProduct: build.mutation<CreateProductApiResponse, CreateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products`,\n method: 'POST',\n body: queryArg.productPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetProductApiResponse = /** status 200 Successful Response */ ProductModel\nexport type GetProductApiArg = {\n projectName: string\n productId: string\n}\nexport type DeleteProductApiResponse = unknown\nexport type DeleteProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProductApiResponse = unknown\nexport type UpdateProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPatchModel: ProductPatchModel\n}\nexport type CreateProductApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateProductApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPostModel: ProductPostModel\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type ProductAttribModel = {\n productGroup?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProductModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product */\n productType: string\n path?: string\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProductPatchModel = {\n /** Name of the product */\n name?: string\n /** ID of the parent folder */\n folderId?: string\n /** Product */\n productType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type ProductPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product */\n productType: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,YAAYA,EAAM,MAA+C;AAAA,MAC/D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,MAC3E;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,QACzE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,QACzE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc,EAAE,KAAK,iBAAiBA,EAAS,WAAW,gBAAgB;AAAA,IAAA,CACnF;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,QAAQA,EAAS;AAAA,UACjB,WAAWA,EAAS;AAAA,QAAA;AAAA,MAExB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"products.es.js","sources":["../../../../../src/api/generated/products.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getProduct: build.query<GetProductApiResponse, GetProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n }),\n }),\n deleteProduct: build.mutation<DeleteProductApiResponse, DeleteProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProduct: build.mutation<UpdateProductApiResponse, UpdateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products/${queryArg.productId}`,\n method: 'PATCH',\n body: queryArg.productPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createProduct: build.mutation<CreateProductApiResponse, CreateProductApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/products`,\n method: 'POST',\n body: queryArg.productPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetProductApiResponse = /** status 200 Successful Response */ ProductModel\nexport type GetProductApiArg = {\n projectName: string\n productId: string\n}\nexport type DeleteProductApiResponse = unknown\nexport type DeleteProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProductApiResponse = unknown\nexport type UpdateProductApiArg = {\n projectName: string\n productId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPatchModel: ProductPatchModel\n}\nexport type CreateProductApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateProductApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n productPostModel: ProductPostModel\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type ProductAttribModel = {\n productGroup?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProductModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product type */\n productType: string\n /** Product base type */\n productBaseType?: string\n path?: string\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProductPatchModel = {\n /** Name of the product */\n name?: string\n /** ID of the parent folder */\n folderId?: string\n /** Product type */\n productType?: string\n /** Product base type */\n productBaseType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type ProductPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n /** Name of the product */\n name: string\n /** ID of the parent folder */\n folderId: string\n /** Product type */\n productType: string\n /** Product base type */\n productBaseType?: string\n /** Status of the product */\n status?: string\n /** Tags assigned to the the product */\n tags?: string[]\n attrib?: ProductAttribModel\n data?: Record<string, any>\n /** Whether the product is active */\n active?: boolean\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,YAAYA,EAAM,MAA+C;AAAA,MAC/D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,MAC3E;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,QACzE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,aAAaA,EAAS,SAAS;AAAA,QACzE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc,EAAE,KAAK,iBAAiBA,EAAS,WAAW,gBAAgB;AAAA,IAAA,CACnF;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,QAAQA,EAAS;AAAA,UACjB,WAAWA,EAAS;AAAA,QAAA;AAAA,MAExB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"projects.cjs.js","sources":["../../../../../src/api/generated/projects.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n getProjectEntityCounts: build.query<\n GetProjectEntityCountsApiResponse,\n GetProjectEntityCountsApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/entities` }),\n }),\n getProjectHealth: build.query<GetProjectHealthApiResponse, GetProjectHealthApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/health` }),\n }),\n getProjectActivity: build.query<GetProjectActivityApiResponse, GetProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/dashboard/activity`,\n params: {\n days: queryArg.days,\n },\n }),\n }),\n getProjectTeams: build.query<GetProjectTeamsApiResponse, GetProjectTeamsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/users` }),\n }),\n getProjectAnatomy: build.query<GetProjectAnatomyApiResponse, GetProjectAnatomyApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/anatomy` }),\n }),\n setProjectAnatomy: build.mutation<SetProjectAnatomyApiResponse, SetProjectAnatomyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/anatomy`,\n method: 'POST',\n body: queryArg.anatomy,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setProjectBundle: build.mutation<SetProjectBundleApiResponse, SetProjectBundleApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/bundles`,\n method: 'POST',\n body: queryArg.projectBundleModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n listProjects: build.query<ListProjectsApiResponse, ListProjectsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n params: {\n page: queryArg.page,\n length: queryArg.length,\n library: queryArg.library,\n active: queryArg.active,\n order: queryArg.order,\n desc: queryArg.desc,\n name: queryArg.name,\n },\n }),\n }),\n deployProject: build.mutation<DeployProjectApiResponse, DeployProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n method: 'POST',\n body: queryArg.deployProjectRequestModel,\n }),\n }),\n listGuestUsers: build.query<ListGuestUsersApiResponse, ListGuestUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/guests` }),\n }),\n addGuestUser: build.mutation<AddGuestUserApiResponse, AddGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests`,\n method: 'POST',\n body: queryArg.addGuestUserModel,\n }),\n }),\n removeGuestUser: build.mutation<RemoveGuestUserApiResponse, RemoveGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests/${queryArg.email}`,\n method: 'DELETE',\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProject: build.query<GetProjectApiResponse, GetProjectApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}` }),\n }),\n createProject: build.mutation<CreateProjectApiResponse, CreateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.projectPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProject: build.mutation<DeleteProjectApiResponse, DeleteProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProject: build.mutation<UpdateProjectApiResponse, UpdateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PATCH',\n body: queryArg.projectPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectStats: build.query<GetProjectStatsApiResponse, GetProjectStatsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/stats` }),\n }),\n getProjectRootsOverrides: build.query<\n GetProjectRootsOverridesApiResponse,\n GetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/roots` }),\n }),\n setProjectRootsOverrides: build.mutation<\n SetProjectRootsOverridesApiResponse,\n SetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/roots/${queryArg.siteId}`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getProjectSiteRoots: build.query<GetProjectSiteRootsApiResponse, GetProjectSiteRootsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/siteRoots`,\n headers: {\n 'x-ayon-site-id': queryArg['x-ayon-site-id'],\n },\n params: {\n platform: queryArg.platform,\n },\n }),\n }),\n getProjectTags: build.query<GetProjectTagsApiResponse, GetProjectTagsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/tags` }),\n }),\n getProjectUsers: build.query<GetProjectUsersApiResponse, GetProjectUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/users` }),\n }),\n updateProjectUser: build.mutation<UpdateProjectUserApiResponse, UpdateProjectUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.accessGroups,\n }),\n }),\n getProjectEntityUris: build.mutation<\n GetProjectEntityUrisApiResponse,\n GetProjectEntityUrisApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/uris`,\n method: 'POST',\n body: queryArg.getUrisRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type GetProjectEntityCountsApiResponse = /** status 200 Successful Response */ EntityCounts\nexport type GetProjectEntityCountsApiArg = {\n projectName: string\n}\nexport type GetProjectHealthApiResponse = /** status 200 Successful Response */ Health\nexport type GetProjectHealthApiArg = {\n projectName: string\n}\nexport type GetProjectActivityApiResponse =\n /** status 200 Successful Response */ ActivityResponseModel\nexport type GetProjectActivityApiArg = {\n projectName: string\n /** Number of days to retrieve activity for */\n days?: number\n}\nexport type GetProjectTeamsApiResponse =\n /** status 200 Successful Response */ ProjectTeamsResponseModel\nexport type GetProjectTeamsApiArg = {\n projectName: string\n}\nexport type GetProjectAnatomyApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetProjectAnatomyApiArg = {\n projectName: string\n}\nexport type SetProjectAnatomyApiResponse = unknown\nexport type SetProjectAnatomyApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n anatomy: Anatomy\n}\nexport type SetProjectBundleApiResponse = unknown\nexport type SetProjectBundleApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectBundleModel: ProjectBundleModel\n}\nexport type ListProjectsApiResponse =\n /** status 200 Successful Response */ ListProjectsResponseModel\nexport type ListProjectsApiArg = {\n page?: number\n /** If not provided, the result will not be limited */\n length?: number\n /** If not provided, return projects regardless the flag */\n library?: boolean\n /** If not provided, return projects regardless the flag */\n active?: boolean\n order?: 'name' | 'createdAt' | 'updatedAt'\n desc?: boolean\n /** Limit the result to project with the matching name,\n or its part. % character may be used as a wildcard */\n name?: string\n}\nexport type DeployProjectApiResponse = /** status 201 Successful Response */ any\nexport type DeployProjectApiArg = {\n deployProjectRequestModel: DeployProjectRequestModel\n}\nexport type ListGuestUsersApiResponse = /** status 200 Successful Response */ GuestUsersListModel\nexport type ListGuestUsersApiArg = {\n projectName: string\n}\nexport type AddGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type AddGuestUserApiArg = {\n projectName: string\n addGuestUserModel: AddGuestUserModel\n}\nexport type RemoveGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type RemoveGuestUserApiArg = {\n email: string\n projectName: string\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProjectApiResponse = /** status 200 Successful Response */ ProjectModel\nexport type GetProjectApiArg = {\n projectName: string\n}\nexport type CreateProjectApiResponse = /** status 201 Successful Response */ any\nexport type CreateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPostModel: ProjectPostModel\n}\nexport type DeleteProjectApiResponse = unknown\nexport type DeleteProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProjectApiResponse = unknown\nexport type UpdateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPatchModel: ProjectPatchModel\n}\nexport type GetProjectStatsApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectStatsApiArg = {\n projectName: string\n}\nexport type GetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ {\n [key: string]: {\n [key: string]: string\n }\n}\nexport type GetProjectRootsOverridesApiArg = {\n projectName: string\n}\nexport type SetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectRootsOverridesApiArg = {\n siteId: string\n projectName: string\n payload: {\n [key: string]: string\n }\n}\nexport type GetProjectSiteRootsApiResponse = /** status 200 Successful Response */ {\n [key: string]: string\n}\nexport type GetProjectSiteRootsApiArg = {\n projectName: string\n platform?: 'windows' | 'linux' | 'darwin'\n /** Site ID may be specified either as a query parameter (`site_id` or `site`) or in a header. */\n 'x-ayon-site-id'?: string\n}\nexport type GetProjectTagsApiResponse = /** status 200 Successful Response */ ProjectTagsModel\nexport type GetProjectTagsApiArg = {\n projectName: string\n}\nexport type GetProjectUsersApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type GetProjectUsersApiArg = {\n projectName: string\n}\nexport type UpdateProjectUserApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type UpdateProjectUserApiArg = {\n projectName: string\n userName: string\n accessGroups: string[]\n}\nexport type GetProjectEntityUrisApiResponse = /** status 200 Successful Response */ GetUrisResponse\nexport type GetProjectEntityUrisApiArg = {\n projectName: string\n getUrisRequest: GetUrisRequest\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\nexport type EntityCounts = {\n /** Number of folders */\n folders: number\n /** Number of products */\n products: number\n /** Number of versions */\n versions: number\n /** Number of representations */\n representations: number\n /** Number of tasks */\n tasks: number\n /** Number of workfiles */\n workfiles: number\n}\nexport type HealthCompletion = {\n /** Percentage of tasks completed */\n percentage: number\n /** Number of days tasks are not completed after due date */\n behind: number\n /** Number of days tasks are completed before due date */\n ahead: number\n}\nexport type HealthStorageUsage = {\n /** Storage quota */\n quota: number\n /** Storage used */\n used: number\n}\nexport type HealthTasks = {\n /** Total number of tasks */\n total: number\n /** Number of completed tasks */\n completed: number\n /** Number of overdue tasks */\n overdue: number\n}\nexport type Health = {\n /** Task completion */\n completion: HealthCompletion\n /** Storage usage */\n storageUsage: HealthStorageUsage\n /** Task statistics */\n tasks: HealthTasks\n /** Task status statistics */\n statuses: {\n [key: string]: number\n }\n}\nexport type ActivityResponseModel = {\n /** Activity per day normalized to 0-100 */\n activity: number[]\n}\nexport type ProjectTeamsResponseModel = {\n /** Number of active team members */\n teamSizeActive?: number\n /** Total number of team members */\n teamSizeTotal?: number\n /** Number of active users */\n usersWithAccessActive?: number\n /** Total number of users */\n usersWithAccessTotal?: number\n /** Number of users per role */\n roles: {\n [key: string]: number\n }\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ProjectBundleModel = {\n production?: string\n staging?: string\n}\nexport type ListProjectsItemModel = {\n name: string\n code: string\n active: boolean\n createdAt: string\n updatedAt: string\n}\nexport type ListProjectsResponseModel = {\n detail?: string\n /** Total count of projects (regardless the pagination) */\n count?: number\n /** List of projects */\n projects?: ListProjectsItemModel[]\n}\nexport type DeployProjectRequestModel = {\n /** Project name */\n name: string\n /** Project code */\n code: string\n /** Project anatomy */\n anatomy: Anatomy\n /** Library project */\n library?: boolean\n /** Assign default users to the project */\n assignUsers?: boolean\n}\nexport type GuestUserModel = {\n email: string\n fullName?: string\n status?: 'pending' | 'active'\n}\nexport type GuestUsersListModel = {\n users?: GuestUserModel[]\n}\nexport type AddGuestUserModel = {\n email: string\n fullName?: string\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type LinkTypeModel = {\n /** Name of the link type */\n name: string\n /** Type of the link */\n linkType: string\n /** Input entity type */\n inputType: string\n /** Output entity type */\n outputType: string\n /** Additional link type data */\n data?: object\n}\nexport type ProjectAttribModel2 = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProjectModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ProjectPostModel = {\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectPatchModel = {\n code?: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectTagsModel = {\n folders?: string[]\n tasks?: string[]\n products?: string[]\n versions?: string[]\n representations?: string[]\n workfiles?: string[]\n}\nexport type UriResponseItem = {\n id: string\n uri: string\n}\nexport type GetUrisResponse = {\n uris?: UriResponseItem[]\n}\nexport type GetUrisRequest = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n ids?: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,sBAAuBA,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU,GAC5E,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,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ACD,EACD,oBAAqBD,EAAM,MAAiE,CAC1F,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAC1C,QAAS,CACP,iBAAkBA,EAAS,gBAAgB,CAC7C,EACA,OAAQ,CACN,SAAUA,EAAS,QAAA,CAEvB,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,OAAQ,EAAA,CAC3E,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,QAAS,EAAA,CAC5E,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,QAAQ,GACrE,OAAQ,QACR,KAAMA,EAAS,YACjB,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,QAC1C,OAAQ,OACR,KAAMA,EAAS,cACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"projects.cjs.js","sources":["../../../../../src/api/generated/projects.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n getProjectEntityCounts: build.query<\n GetProjectEntityCountsApiResponse,\n GetProjectEntityCountsApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/entities` }),\n }),\n getProjectHealth: build.query<GetProjectHealthApiResponse, GetProjectHealthApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/health` }),\n }),\n getProjectActivity: build.query<GetProjectActivityApiResponse, GetProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/dashboard/activity`,\n params: {\n days: queryArg.days,\n },\n }),\n }),\n getProjectTeams: build.query<GetProjectTeamsApiResponse, GetProjectTeamsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/users` }),\n }),\n getProjectAnatomy: build.query<GetProjectAnatomyApiResponse, GetProjectAnatomyApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/anatomy` }),\n }),\n setProjectAnatomy: build.mutation<SetProjectAnatomyApiResponse, SetProjectAnatomyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/anatomy`,\n method: 'POST',\n body: queryArg.anatomy,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setProjectBundle: build.mutation<SetProjectBundleApiResponse, SetProjectBundleApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/bundles`,\n method: 'POST',\n body: queryArg.projectBundleModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n listProjects: build.query<ListProjectsApiResponse, ListProjectsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n params: {\n page: queryArg.page,\n length: queryArg.length,\n library: queryArg.library,\n active: queryArg.active,\n order: queryArg.order,\n desc: queryArg.desc,\n name: queryArg.name,\n },\n }),\n }),\n deployProject: build.mutation<DeployProjectApiResponse, DeployProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n method: 'POST',\n body: queryArg.deployProjectRequestModel,\n }),\n }),\n listGuestUsers: build.query<ListGuestUsersApiResponse, ListGuestUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/guests` }),\n }),\n addGuestUser: build.mutation<AddGuestUserApiResponse, AddGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests`,\n method: 'POST',\n body: queryArg.addGuestUserModel,\n }),\n }),\n removeGuestUser: build.mutation<RemoveGuestUserApiResponse, RemoveGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests/${queryArg.email}`,\n method: 'DELETE',\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProject: build.query<GetProjectApiResponse, GetProjectApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}` }),\n }),\n createProject: build.mutation<CreateProjectApiResponse, CreateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.projectPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProject: build.mutation<DeleteProjectApiResponse, DeleteProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProject: build.mutation<UpdateProjectApiResponse, UpdateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PATCH',\n body: queryArg.projectPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectStats: build.query<GetProjectStatsApiResponse, GetProjectStatsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/stats` }),\n }),\n getProjectRootsOverrides: build.query<\n GetProjectRootsOverridesApiResponse,\n GetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/roots` }),\n }),\n setProjectRootsOverrides: build.mutation<\n SetProjectRootsOverridesApiResponse,\n SetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/roots/${queryArg.siteId}`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getProjectSiteRoots: build.query<GetProjectSiteRootsApiResponse, GetProjectSiteRootsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/siteRoots`,\n headers: {\n 'x-ayon-site-id': queryArg['x-ayon-site-id'],\n },\n params: {\n platform: queryArg.platform,\n },\n }),\n }),\n getProjectTags: build.query<GetProjectTagsApiResponse, GetProjectTagsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/tags` }),\n }),\n getProjectUsers: build.query<GetProjectUsersApiResponse, GetProjectUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/users` }),\n }),\n updateProjectUser: build.mutation<UpdateProjectUserApiResponse, UpdateProjectUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.accessGroups,\n }),\n }),\n getProjectEntityUris: build.mutation<\n GetProjectEntityUrisApiResponse,\n GetProjectEntityUrisApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/uris`,\n method: 'POST',\n body: queryArg.getUrisRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type GetProjectEntityCountsApiResponse = /** status 200 Successful Response */ EntityCounts\nexport type GetProjectEntityCountsApiArg = {\n projectName: string\n}\nexport type GetProjectHealthApiResponse = /** status 200 Successful Response */ Health\nexport type GetProjectHealthApiArg = {\n projectName: string\n}\nexport type GetProjectActivityApiResponse =\n /** status 200 Successful Response */ ActivityResponseModel\nexport type GetProjectActivityApiArg = {\n projectName: string\n /** Number of days to retrieve activity for */\n days?: number\n}\nexport type GetProjectTeamsApiResponse =\n /** status 200 Successful Response */ ProjectTeamsResponseModel\nexport type GetProjectTeamsApiArg = {\n projectName: string\n}\nexport type GetProjectAnatomyApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetProjectAnatomyApiArg = {\n projectName: string\n}\nexport type SetProjectAnatomyApiResponse = unknown\nexport type SetProjectAnatomyApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n anatomy: Anatomy\n}\nexport type SetProjectBundleApiResponse = unknown\nexport type SetProjectBundleApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectBundleModel: ProjectBundleModel\n}\nexport type ListProjectsApiResponse =\n /** status 200 Successful Response */ ListProjectsResponseModel\nexport type ListProjectsApiArg = {\n page?: number\n /** If not provided, the result will not be limited */\n length?: number\n /** If not provided, return projects regardless the flag */\n library?: boolean\n /** If not provided, return projects regardless the flag */\n active?: boolean\n order?: 'name' | 'createdAt' | 'updatedAt'\n desc?: boolean\n /** Limit the result to project with the matching name,\n or its part. % character may be used as a wildcard */\n name?: string\n}\nexport type DeployProjectApiResponse = /** status 201 Successful Response */ any\nexport type DeployProjectApiArg = {\n deployProjectRequestModel: DeployProjectRequestModel\n}\nexport type ListGuestUsersApiResponse = /** status 200 Successful Response */ GuestUsersListModel\nexport type ListGuestUsersApiArg = {\n projectName: string\n}\nexport type AddGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type AddGuestUserApiArg = {\n projectName: string\n addGuestUserModel: AddGuestUserModel\n}\nexport type RemoveGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type RemoveGuestUserApiArg = {\n email: string\n projectName: string\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProjectApiResponse = /** status 200 Successful Response */ ProjectModel\nexport type GetProjectApiArg = {\n projectName: string\n}\nexport type CreateProjectApiResponse = /** status 201 Successful Response */ any\nexport type CreateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPostModel: ProjectPostModel\n}\nexport type DeleteProjectApiResponse = unknown\nexport type DeleteProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProjectApiResponse = unknown\nexport type UpdateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPatchModel: ProjectPatchModel\n}\nexport type GetProjectStatsApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectStatsApiArg = {\n projectName: string\n}\nexport type GetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ {\n [key: string]: {\n [key: string]: string\n }\n}\nexport type GetProjectRootsOverridesApiArg = {\n projectName: string\n}\nexport type SetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectRootsOverridesApiArg = {\n siteId: string\n projectName: string\n payload: {\n [key: string]: string\n }\n}\nexport type GetProjectSiteRootsApiResponse = /** status 200 Successful Response */ {\n [key: string]: string\n}\nexport type GetProjectSiteRootsApiArg = {\n projectName: string\n platform?: 'windows' | 'linux' | 'darwin'\n /** Site ID may be specified either as a query parameter (`site_id` or `site`) or in a header. */\n 'x-ayon-site-id'?: string\n}\nexport type GetProjectTagsApiResponse = /** status 200 Successful Response */ ProjectTagsModel\nexport type GetProjectTagsApiArg = {\n projectName: string\n}\nexport type GetProjectUsersApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type GetProjectUsersApiArg = {\n projectName: string\n}\nexport type UpdateProjectUserApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type UpdateProjectUserApiArg = {\n projectName: string\n userName: string\n accessGroups: string[]\n}\nexport type GetProjectEntityUrisApiResponse = /** status 200 Successful Response */ GetUrisResponse\nexport type GetProjectEntityUrisApiArg = {\n projectName: string\n getUrisRequest: GetUrisRequest\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\nexport type EntityCounts = {\n /** Number of folders */\n folders: number\n /** Number of products */\n products: number\n /** Number of versions */\n versions: number\n /** Number of representations */\n representations: number\n /** Number of tasks */\n tasks: number\n /** Number of workfiles */\n workfiles: number\n}\nexport type HealthCompletion = {\n /** Percentage of tasks completed */\n percentage: number\n /** Number of days tasks are not completed after due date */\n behind: number\n /** Number of days tasks are completed before due date */\n ahead: number\n}\nexport type HealthStorageUsage = {\n /** Storage quota */\n quota: number\n /** Storage used */\n used: number\n}\nexport type HealthTasks = {\n /** Total number of tasks */\n total: number\n /** Number of completed tasks */\n completed: number\n /** Number of overdue tasks */\n overdue: number\n}\nexport type Health = {\n /** Task completion */\n completion: HealthCompletion\n /** Storage usage */\n storageUsage: HealthStorageUsage\n /** Task statistics */\n tasks: HealthTasks\n /** Task status statistics */\n statuses: {\n [key: string]: number\n }\n}\nexport type ActivityResponseModel = {\n /** Activity per day normalized to 0-100 */\n activity: number[]\n}\nexport type ProjectTeamsResponseModel = {\n /** Number of active team members */\n teamSizeActive?: number\n /** Total number of team members */\n teamSizeTotal?: number\n /** Number of active users */\n usersWithAccessActive?: number\n /** Total number of users */\n usersWithAccessTotal?: number\n /** Number of users per role */\n roles: {\n [key: string]: number\n }\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ProjectBundleModel = {\n production?: string\n staging?: string\n}\nexport type ListProjectsItemModel = {\n name: string\n code: string\n active: boolean\n createdAt: string\n updatedAt: string\n}\nexport type ListProjectsResponseModel = {\n detail?: string\n /** Total count of projects (regardless the pagination) */\n count?: number\n /** List of projects */\n projects?: ListProjectsItemModel[]\n}\nexport type DeployProjectRequestModel = {\n /** Project name */\n name: string\n /** Project code */\n code: string\n /** Project anatomy */\n anatomy: Anatomy\n /** Library project */\n library?: boolean\n /** Assign default users to the project */\n assignUsers?: boolean\n}\nexport type GuestUserModel = {\n email: string\n fullName?: string\n status?: 'pending' | 'active'\n}\nexport type GuestUsersListModel = {\n users?: GuestUserModel[]\n}\nexport type AddGuestUserModel = {\n email: string\n fullName?: string\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type LinkTypeModel = {\n /** Name of the link type */\n name: string\n /** Type of the link */\n linkType: string\n /** Input entity type */\n inputType: string\n /** Output entity type */\n outputType: string\n /** Additional link type data */\n data?: Record<string, any>\n}\nexport type ProjectAttribModel2 = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProjectModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ProjectPostModel = {\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectPatchModel = {\n code?: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectTagsModel = {\n folders?: string[]\n tasks?: string[]\n products?: string[]\n versions?: string[]\n representations?: string[]\n workfiles?: string[]\n}\nexport type UriResponseItem = {\n id: string\n uri: string\n}\nexport type GetUrisResponse = {\n uris?: UriResponseItem[]\n}\nexport type GetUrisRequest = {\n entityType: 'folder' | 'product' | 'version' | 'representation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,QAAS,EAAA,CAC5E,EACD,yBAA0BD,EAAM,MAG9B,CACA,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,QAAS,EAAA,CAC5E,EACD,yBAA0BD,EAAM,SAG9B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,GACnE,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,oBAAqBD,EAAM,MAAiE,CAC1F,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAC1C,QAAS,CACP,iBAAkBA,EAAS,gBAAgB,CAC7C,EACA,OAAQ,CACN,SAAUA,EAAS,QAAA,CAEvB,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,OAAQ,EAAA,CAC3E,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,QAAS,EAAA,CAC5E,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,QAAQ,GACrE,OAAQ,QACR,KAAMA,EAAS,YACjB,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,QAC1C,OAAQ,OACR,KAAMA,EAAS,cACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"projects.es.js","sources":["../../../../../src/api/generated/projects.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n getProjectEntityCounts: build.query<\n GetProjectEntityCountsApiResponse,\n GetProjectEntityCountsApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/entities` }),\n }),\n getProjectHealth: build.query<GetProjectHealthApiResponse, GetProjectHealthApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/health` }),\n }),\n getProjectActivity: build.query<GetProjectActivityApiResponse, GetProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/dashboard/activity`,\n params: {\n days: queryArg.days,\n },\n }),\n }),\n getProjectTeams: build.query<GetProjectTeamsApiResponse, GetProjectTeamsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/users` }),\n }),\n getProjectAnatomy: build.query<GetProjectAnatomyApiResponse, GetProjectAnatomyApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/anatomy` }),\n }),\n setProjectAnatomy: build.mutation<SetProjectAnatomyApiResponse, SetProjectAnatomyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/anatomy`,\n method: 'POST',\n body: queryArg.anatomy,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setProjectBundle: build.mutation<SetProjectBundleApiResponse, SetProjectBundleApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/bundles`,\n method: 'POST',\n body: queryArg.projectBundleModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n listProjects: build.query<ListProjectsApiResponse, ListProjectsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n params: {\n page: queryArg.page,\n length: queryArg.length,\n library: queryArg.library,\n active: queryArg.active,\n order: queryArg.order,\n desc: queryArg.desc,\n name: queryArg.name,\n },\n }),\n }),\n deployProject: build.mutation<DeployProjectApiResponse, DeployProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n method: 'POST',\n body: queryArg.deployProjectRequestModel,\n }),\n }),\n listGuestUsers: build.query<ListGuestUsersApiResponse, ListGuestUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/guests` }),\n }),\n addGuestUser: build.mutation<AddGuestUserApiResponse, AddGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests`,\n method: 'POST',\n body: queryArg.addGuestUserModel,\n }),\n }),\n removeGuestUser: build.mutation<RemoveGuestUserApiResponse, RemoveGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests/${queryArg.email}`,\n method: 'DELETE',\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProject: build.query<GetProjectApiResponse, GetProjectApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}` }),\n }),\n createProject: build.mutation<CreateProjectApiResponse, CreateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.projectPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProject: build.mutation<DeleteProjectApiResponse, DeleteProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProject: build.mutation<UpdateProjectApiResponse, UpdateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PATCH',\n body: queryArg.projectPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectStats: build.query<GetProjectStatsApiResponse, GetProjectStatsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/stats` }),\n }),\n getProjectRootsOverrides: build.query<\n GetProjectRootsOverridesApiResponse,\n GetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/roots` }),\n }),\n setProjectRootsOverrides: build.mutation<\n SetProjectRootsOverridesApiResponse,\n SetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/roots/${queryArg.siteId}`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getProjectSiteRoots: build.query<GetProjectSiteRootsApiResponse, GetProjectSiteRootsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/siteRoots`,\n headers: {\n 'x-ayon-site-id': queryArg['x-ayon-site-id'],\n },\n params: {\n platform: queryArg.platform,\n },\n }),\n }),\n getProjectTags: build.query<GetProjectTagsApiResponse, GetProjectTagsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/tags` }),\n }),\n getProjectUsers: build.query<GetProjectUsersApiResponse, GetProjectUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/users` }),\n }),\n updateProjectUser: build.mutation<UpdateProjectUserApiResponse, UpdateProjectUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.accessGroups,\n }),\n }),\n getProjectEntityUris: build.mutation<\n GetProjectEntityUrisApiResponse,\n GetProjectEntityUrisApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/uris`,\n method: 'POST',\n body: queryArg.getUrisRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type GetProjectEntityCountsApiResponse = /** status 200 Successful Response */ EntityCounts\nexport type GetProjectEntityCountsApiArg = {\n projectName: string\n}\nexport type GetProjectHealthApiResponse = /** status 200 Successful Response */ Health\nexport type GetProjectHealthApiArg = {\n projectName: string\n}\nexport type GetProjectActivityApiResponse =\n /** status 200 Successful Response */ ActivityResponseModel\nexport type GetProjectActivityApiArg = {\n projectName: string\n /** Number of days to retrieve activity for */\n days?: number\n}\nexport type GetProjectTeamsApiResponse =\n /** status 200 Successful Response */ ProjectTeamsResponseModel\nexport type GetProjectTeamsApiArg = {\n projectName: string\n}\nexport type GetProjectAnatomyApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetProjectAnatomyApiArg = {\n projectName: string\n}\nexport type SetProjectAnatomyApiResponse = unknown\nexport type SetProjectAnatomyApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n anatomy: Anatomy\n}\nexport type SetProjectBundleApiResponse = unknown\nexport type SetProjectBundleApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectBundleModel: ProjectBundleModel\n}\nexport type ListProjectsApiResponse =\n /** status 200 Successful Response */ ListProjectsResponseModel\nexport type ListProjectsApiArg = {\n page?: number\n /** If not provided, the result will not be limited */\n length?: number\n /** If not provided, return projects regardless the flag */\n library?: boolean\n /** If not provided, return projects regardless the flag */\n active?: boolean\n order?: 'name' | 'createdAt' | 'updatedAt'\n desc?: boolean\n /** Limit the result to project with the matching name,\n or its part. % character may be used as a wildcard */\n name?: string\n}\nexport type DeployProjectApiResponse = /** status 201 Successful Response */ any\nexport type DeployProjectApiArg = {\n deployProjectRequestModel: DeployProjectRequestModel\n}\nexport type ListGuestUsersApiResponse = /** status 200 Successful Response */ GuestUsersListModel\nexport type ListGuestUsersApiArg = {\n projectName: string\n}\nexport type AddGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type AddGuestUserApiArg = {\n projectName: string\n addGuestUserModel: AddGuestUserModel\n}\nexport type RemoveGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type RemoveGuestUserApiArg = {\n email: string\n projectName: string\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProjectApiResponse = /** status 200 Successful Response */ ProjectModel\nexport type GetProjectApiArg = {\n projectName: string\n}\nexport type CreateProjectApiResponse = /** status 201 Successful Response */ any\nexport type CreateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPostModel: ProjectPostModel\n}\nexport type DeleteProjectApiResponse = unknown\nexport type DeleteProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProjectApiResponse = unknown\nexport type UpdateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPatchModel: ProjectPatchModel\n}\nexport type GetProjectStatsApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectStatsApiArg = {\n projectName: string\n}\nexport type GetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ {\n [key: string]: {\n [key: string]: string\n }\n}\nexport type GetProjectRootsOverridesApiArg = {\n projectName: string\n}\nexport type SetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectRootsOverridesApiArg = {\n siteId: string\n projectName: string\n payload: {\n [key: string]: string\n }\n}\nexport type GetProjectSiteRootsApiResponse = /** status 200 Successful Response */ {\n [key: string]: string\n}\nexport type GetProjectSiteRootsApiArg = {\n projectName: string\n platform?: 'windows' | 'linux' | 'darwin'\n /** Site ID may be specified either as a query parameter (`site_id` or `site`) or in a header. */\n 'x-ayon-site-id'?: string\n}\nexport type GetProjectTagsApiResponse = /** status 200 Successful Response */ ProjectTagsModel\nexport type GetProjectTagsApiArg = {\n projectName: string\n}\nexport type GetProjectUsersApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type GetProjectUsersApiArg = {\n projectName: string\n}\nexport type UpdateProjectUserApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type UpdateProjectUserApiArg = {\n projectName: string\n userName: string\n accessGroups: string[]\n}\nexport type GetProjectEntityUrisApiResponse = /** status 200 Successful Response */ GetUrisResponse\nexport type GetProjectEntityUrisApiArg = {\n projectName: string\n getUrisRequest: GetUrisRequest\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\nexport type EntityCounts = {\n /** Number of folders */\n folders: number\n /** Number of products */\n products: number\n /** Number of versions */\n versions: number\n /** Number of representations */\n representations: number\n /** Number of tasks */\n tasks: number\n /** Number of workfiles */\n workfiles: number\n}\nexport type HealthCompletion = {\n /** Percentage of tasks completed */\n percentage: number\n /** Number of days tasks are not completed after due date */\n behind: number\n /** Number of days tasks are completed before due date */\n ahead: number\n}\nexport type HealthStorageUsage = {\n /** Storage quota */\n quota: number\n /** Storage used */\n used: number\n}\nexport type HealthTasks = {\n /** Total number of tasks */\n total: number\n /** Number of completed tasks */\n completed: number\n /** Number of overdue tasks */\n overdue: number\n}\nexport type Health = {\n /** Task completion */\n completion: HealthCompletion\n /** Storage usage */\n storageUsage: HealthStorageUsage\n /** Task statistics */\n tasks: HealthTasks\n /** Task status statistics */\n statuses: {\n [key: string]: number\n }\n}\nexport type ActivityResponseModel = {\n /** Activity per day normalized to 0-100 */\n activity: number[]\n}\nexport type ProjectTeamsResponseModel = {\n /** Number of active team members */\n teamSizeActive?: number\n /** Total number of team members */\n teamSizeTotal?: number\n /** Number of active users */\n usersWithAccessActive?: number\n /** Total number of users */\n usersWithAccessTotal?: number\n /** Number of users per role */\n roles: {\n [key: string]: number\n }\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ProjectBundleModel = {\n production?: string\n staging?: string\n}\nexport type ListProjectsItemModel = {\n name: string\n code: string\n active: boolean\n createdAt: string\n updatedAt: string\n}\nexport type ListProjectsResponseModel = {\n detail?: string\n /** Total count of projects (regardless the pagination) */\n count?: number\n /** List of projects */\n projects?: ListProjectsItemModel[]\n}\nexport type DeployProjectRequestModel = {\n /** Project name */\n name: string\n /** Project code */\n code: string\n /** Project anatomy */\n anatomy: Anatomy\n /** Library project */\n library?: boolean\n /** Assign default users to the project */\n assignUsers?: boolean\n}\nexport type GuestUserModel = {\n email: string\n fullName?: string\n status?: 'pending' | 'active'\n}\nexport type GuestUsersListModel = {\n users?: GuestUserModel[]\n}\nexport type AddGuestUserModel = {\n email: string\n fullName?: string\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type LinkTypeModel = {\n /** Name of the link type */\n name: string\n /** Type of the link */\n linkType: string\n /** Input entity type */\n inputType: string\n /** Output entity type */\n outputType: string\n /** Additional link type data */\n data?: object\n}\nexport type ProjectAttribModel2 = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProjectModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ProjectPostModel = {\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectPatchModel = {\n code?: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: object\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectTagsModel = {\n folders?: string[]\n tasks?: string[]\n products?: string[]\n versions?: string[]\n representations?: string[]\n workfiles?: string[]\n}\nexport type UriResponseItem = {\n id: string\n uri: string\n}\nexport type GetUrisResponse = {\n uris?: UriResponseItem[]\n}\nexport type GetUrisRequest = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n ids?: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,uBAAuBA,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,MAA+D;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,E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,SAG1B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"projects.es.js","sources":["../../../../../src/api/generated/projects.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n getProjectEntityCounts: build.query<\n GetProjectEntityCountsApiResponse,\n GetProjectEntityCountsApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/entities` }),\n }),\n getProjectHealth: build.query<GetProjectHealthApiResponse, GetProjectHealthApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/health` }),\n }),\n getProjectActivity: build.query<GetProjectActivityApiResponse, GetProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/dashboard/activity`,\n params: {\n days: queryArg.days,\n },\n }),\n }),\n getProjectTeams: build.query<GetProjectTeamsApiResponse, GetProjectTeamsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/dashboard/users` }),\n }),\n getProjectAnatomy: build.query<GetProjectAnatomyApiResponse, GetProjectAnatomyApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/anatomy` }),\n }),\n setProjectAnatomy: build.mutation<SetProjectAnatomyApiResponse, SetProjectAnatomyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/anatomy`,\n method: 'POST',\n body: queryArg.anatomy,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setProjectBundle: build.mutation<SetProjectBundleApiResponse, SetProjectBundleApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/bundles`,\n method: 'POST',\n body: queryArg.projectBundleModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n listProjects: build.query<ListProjectsApiResponse, ListProjectsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n params: {\n page: queryArg.page,\n length: queryArg.length,\n library: queryArg.library,\n active: queryArg.active,\n order: queryArg.order,\n desc: queryArg.desc,\n name: queryArg.name,\n },\n }),\n }),\n deployProject: build.mutation<DeployProjectApiResponse, DeployProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects`,\n method: 'POST',\n body: queryArg.deployProjectRequestModel,\n }),\n }),\n listGuestUsers: build.query<ListGuestUsersApiResponse, ListGuestUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/guests` }),\n }),\n addGuestUser: build.mutation<AddGuestUserApiResponse, AddGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests`,\n method: 'POST',\n body: queryArg.addGuestUserModel,\n }),\n }),\n removeGuestUser: build.mutation<RemoveGuestUserApiResponse, RemoveGuestUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/guests/${queryArg.email}`,\n method: 'DELETE',\n }),\n }),\n getProductTypes: build.query<GetProductTypesApiResponse, GetProductTypesApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/productTypes` }),\n }),\n getProject: build.query<GetProjectApiResponse, GetProjectApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}` }),\n }),\n createProject: build.mutation<CreateProjectApiResponse, CreateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.projectPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProject: build.mutation<DeleteProjectApiResponse, DeleteProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateProject: build.mutation<UpdateProjectApiResponse, UpdateProjectApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}`,\n method: 'PATCH',\n body: queryArg.projectPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getProjectStats: build.query<GetProjectStatsApiResponse, GetProjectStatsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/stats` }),\n }),\n getProjectRootsOverrides: build.query<\n GetProjectRootsOverridesApiResponse,\n GetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/roots` }),\n }),\n setProjectRootsOverrides: build.mutation<\n SetProjectRootsOverridesApiResponse,\n SetProjectRootsOverridesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/roots/${queryArg.siteId}`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getProjectSiteRoots: build.query<GetProjectSiteRootsApiResponse, GetProjectSiteRootsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/siteRoots`,\n headers: {\n 'x-ayon-site-id': queryArg['x-ayon-site-id'],\n },\n params: {\n platform: queryArg.platform,\n },\n }),\n }),\n getProjectTags: build.query<GetProjectTagsApiResponse, GetProjectTagsApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/tags` }),\n }),\n getProjectUsers: build.query<GetProjectUsersApiResponse, GetProjectUsersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/users` }),\n }),\n updateProjectUser: build.mutation<UpdateProjectUserApiResponse, UpdateProjectUserApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.accessGroups,\n }),\n }),\n getProjectEntityUris: build.mutation<\n GetProjectEntityUrisApiResponse,\n GetProjectEntityUrisApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/uris`,\n method: 'POST',\n body: queryArg.getUrisRequest,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type GetProjectEntityCountsApiResponse = /** status 200 Successful Response */ EntityCounts\nexport type GetProjectEntityCountsApiArg = {\n projectName: string\n}\nexport type GetProjectHealthApiResponse = /** status 200 Successful Response */ Health\nexport type GetProjectHealthApiArg = {\n projectName: string\n}\nexport type GetProjectActivityApiResponse =\n /** status 200 Successful Response */ ActivityResponseModel\nexport type GetProjectActivityApiArg = {\n projectName: string\n /** Number of days to retrieve activity for */\n days?: number\n}\nexport type GetProjectTeamsApiResponse =\n /** status 200 Successful Response */ ProjectTeamsResponseModel\nexport type GetProjectTeamsApiArg = {\n projectName: string\n}\nexport type GetProjectAnatomyApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetProjectAnatomyApiArg = {\n projectName: string\n}\nexport type SetProjectAnatomyApiResponse = unknown\nexport type SetProjectAnatomyApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n anatomy: Anatomy\n}\nexport type SetProjectBundleApiResponse = unknown\nexport type SetProjectBundleApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectBundleModel: ProjectBundleModel\n}\nexport type ListProjectsApiResponse =\n /** status 200 Successful Response */ ListProjectsResponseModel\nexport type ListProjectsApiArg = {\n page?: number\n /** If not provided, the result will not be limited */\n length?: number\n /** If not provided, return projects regardless the flag */\n library?: boolean\n /** If not provided, return projects regardless the flag */\n active?: boolean\n order?: 'name' | 'createdAt' | 'updatedAt'\n desc?: boolean\n /** Limit the result to project with the matching name,\n or its part. % character may be used as a wildcard */\n name?: string\n}\nexport type DeployProjectApiResponse = /** status 201 Successful Response */ any\nexport type DeployProjectApiArg = {\n deployProjectRequestModel: DeployProjectRequestModel\n}\nexport type ListGuestUsersApiResponse = /** status 200 Successful Response */ GuestUsersListModel\nexport type ListGuestUsersApiArg = {\n projectName: string\n}\nexport type AddGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type AddGuestUserApiArg = {\n projectName: string\n addGuestUserModel: AddGuestUserModel\n}\nexport type RemoveGuestUserApiResponse = /** status 200 Successful Response */ any\nexport type RemoveGuestUserApiArg = {\n email: string\n projectName: string\n}\nexport type GetProductTypesApiResponse = /** status 200 Successful Response */ ProductTypesList\nexport type GetProductTypesApiArg = {\n projectName: string\n}\nexport type GetProjectApiResponse = /** status 200 Successful Response */ ProjectModel\nexport type GetProjectApiArg = {\n projectName: string\n}\nexport type CreateProjectApiResponse = /** status 201 Successful Response */ any\nexport type CreateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPostModel: ProjectPostModel\n}\nexport type DeleteProjectApiResponse = unknown\nexport type DeleteProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateProjectApiResponse = unknown\nexport type UpdateProjectApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectPatchModel: ProjectPatchModel\n}\nexport type GetProjectStatsApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectStatsApiArg = {\n projectName: string\n}\nexport type GetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ {\n [key: string]: {\n [key: string]: string\n }\n}\nexport type GetProjectRootsOverridesApiArg = {\n projectName: string\n}\nexport type SetProjectRootsOverridesApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectRootsOverridesApiArg = {\n siteId: string\n projectName: string\n payload: {\n [key: string]: string\n }\n}\nexport type GetProjectSiteRootsApiResponse = /** status 200 Successful Response */ {\n [key: string]: string\n}\nexport type GetProjectSiteRootsApiArg = {\n projectName: string\n platform?: 'windows' | 'linux' | 'darwin'\n /** Site ID may be specified either as a query parameter (`site_id` or `site`) or in a header. */\n 'x-ayon-site-id'?: string\n}\nexport type GetProjectTagsApiResponse = /** status 200 Successful Response */ ProjectTagsModel\nexport type GetProjectTagsApiArg = {\n projectName: string\n}\nexport type GetProjectUsersApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type GetProjectUsersApiArg = {\n projectName: string\n}\nexport type UpdateProjectUserApiResponse = /** status 200 Successful Response */ {\n [key: string]: string[]\n}\nexport type UpdateProjectUserApiArg = {\n projectName: string\n userName: string\n accessGroups: string[]\n}\nexport type GetProjectEntityUrisApiResponse = /** status 200 Successful Response */ GetUrisResponse\nexport type GetProjectEntityUrisApiArg = {\n projectName: string\n getUrisRequest: GetUrisRequest\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\nexport type EntityCounts = {\n /** Number of folders */\n folders: number\n /** Number of products */\n products: number\n /** Number of versions */\n versions: number\n /** Number of representations */\n representations: number\n /** Number of tasks */\n tasks: number\n /** Number of workfiles */\n workfiles: number\n}\nexport type HealthCompletion = {\n /** Percentage of tasks completed */\n percentage: number\n /** Number of days tasks are not completed after due date */\n behind: number\n /** Number of days tasks are completed before due date */\n ahead: number\n}\nexport type HealthStorageUsage = {\n /** Storage quota */\n quota: number\n /** Storage used */\n used: number\n}\nexport type HealthTasks = {\n /** Total number of tasks */\n total: number\n /** Number of completed tasks */\n completed: number\n /** Number of overdue tasks */\n overdue: number\n}\nexport type Health = {\n /** Task completion */\n completion: HealthCompletion\n /** Storage usage */\n storageUsage: HealthStorageUsage\n /** Task statistics */\n tasks: HealthTasks\n /** Task status statistics */\n statuses: {\n [key: string]: number\n }\n}\nexport type ActivityResponseModel = {\n /** Activity per day normalized to 0-100 */\n activity: number[]\n}\nexport type ProjectTeamsResponseModel = {\n /** Number of active team members */\n teamSizeActive?: number\n /** Total number of team members */\n teamSizeTotal?: number\n /** Number of active users */\n usersWithAccessActive?: number\n /** Total number of users */\n usersWithAccessTotal?: number\n /** Number of users per role */\n roles: {\n [key: string]: number\n }\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ProjectBundleModel = {\n production?: string\n staging?: string\n}\nexport type ListProjectsItemModel = {\n name: string\n code: string\n active: boolean\n createdAt: string\n updatedAt: string\n}\nexport type ListProjectsResponseModel = {\n detail?: string\n /** Total count of projects (regardless the pagination) */\n count?: number\n /** List of projects */\n projects?: ListProjectsItemModel[]\n}\nexport type DeployProjectRequestModel = {\n /** Project name */\n name: string\n /** Project code */\n code: string\n /** Project anatomy */\n anatomy: Anatomy\n /** Library project */\n library?: boolean\n /** Assign default users to the project */\n assignUsers?: boolean\n}\nexport type GuestUserModel = {\n email: string\n fullName?: string\n status?: 'pending' | 'active'\n}\nexport type GuestUsersListModel = {\n users?: GuestUserModel[]\n}\nexport type AddGuestUserModel = {\n email: string\n fullName?: string\n}\nexport type ProductTypeListItem = {\n name: string\n baseType?: string\n color?: string\n icon?: string\n}\nexport type DefaultProductType = {\n color: string\n icon: string\n}\nexport type ProductTypesList = {\n productTypes?: ProductTypeListItem[]\n default: DefaultProductType\n}\nexport type LinkTypeModel = {\n /** Name of the link type */\n name: string\n /** Type of the link */\n linkType: string\n /** Input entity type */\n inputType: string\n /** Output entity type */\n outputType: string\n /** Additional link type data */\n data?: Record<string, any>\n}\nexport type ProjectAttribModel2 = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type ProjectModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ProjectPostModel = {\n code: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectPatchModel = {\n code?: string\n library?: boolean\n folderTypes?: FolderType[]\n taskTypes?: TaskType[]\n linkTypes?: LinkTypeModel[]\n statuses?: Status[]\n tags?: Tag[]\n config?: object\n attrib?: ProjectAttribModel2\n data?: Record<string, any>\n /** Whether the project is active */\n active?: boolean\n}\nexport type ProjectTagsModel = {\n folders?: string[]\n tasks?: string[]\n products?: string[]\n versions?: string[]\n representations?: string[]\n workfiles?: string[]\n}\nexport type UriResponseItem = {\n id: string\n uri: string\n}\nexport type GetUrisResponse = {\n uris?: UriResponseItem[]\n}\nexport type GetUrisRequest = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n ids?: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,uBAAuBA,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,U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AAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc,EAAE,KAAK,iBAAiBA,EAAS,WAAW,QAAQ;AAAA,IAAA,CAC3E;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc,EAAE,KAAK,iBAAiBA,EAAS,WAAW,SAAS;AAAA,IAAA,CAC5E;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,QAAQ;AAAA,QACrE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../base/client.cjs.js"),s=r.api.injectEndpoints({endpoints:t=>({listFrontendModules:t.query({query:()=>({url:"/api/frontendModules"})}),getSites:t.query({query:e=>({url:"/api/system/sites",params:{platform:e.platform,hostname:e.hostname}})}),getSiteInfo:t.query({query:e=>({url:"/api/info",params:{full:e.full}})}),getProductionMetrics:t.query({query:e=>({url:"/api/metrics",params:{system:e.system,saturated:e.saturated}})}),getSystemMetrics:t.query({query:()=>({url:"/api/metrics/system"})}),getListOfSecrets:t.query({query:()=>({url:"/api/secrets"})}),getSecret:t.query({query:e=>({url:`/api/secrets/${e.secretName}`})}),saveSecret:t.mutation({query:e=>({url:`/api/secrets/${e.secretName}`,method:"PUT",body:e.secret})}),deleteSecret:t.mutation({query:e=>({url:`/api/secrets/${e.secretName}`,method:"DELETE"})}),requestServerRestart:t.mutation({query:()=>({url:"/api/system/restart",method:"POST"})}),getRestartRequired:t.query({query:()=>({url:"/api/system/restartRequired"})}),setRestartRequired:t.mutation({query:e=>({url:"/api/system/restartRequired",method:"POST",body:e.restartRequiredModel})})}),overrideExisting:!1});exports.api=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../base/client.cjs.js"),s=r.api.injectEndpoints({endpoints:t=>({listFrontendModules:t.query({query:()=>({url:"/api/frontendModules"})}),getSites:t.query({query:e=>({url:"/api/system/sites",params:{platform:e.platform,hostname:e.hostname}})}),deleteSite:t.mutation({query:e=>({url:`/api/system/sites/${e.siteId}`,method:"DELETE"})}),getSiteInfo:t.query({query:e=>({url:"/api/info",params:{full:e.full}})}),getProductionMetrics:t.query({query:e=>({url:"/api/metrics",params:{system:e.system,saturated:e.saturated}})}),getSystemMetrics:t.query({query:()=>({url:"/api/metrics/system"})}),getListOfSecrets:t.query({query:()=>({url:"/api/secrets"})}),getSecret:t.query({query:e=>({url:`/api/secrets/${e.secretName}`})}),saveSecret:t.mutation({query:e=>({url:`/api/secrets/${e.secretName}`,method:"PUT",body:e.secret})}),deleteSecret:t.mutation({query:e=>({url:`/api/secrets/${e.secretName}`,method:"DELETE"})}),requestServerRestart:t.mutation({query:()=>({url:"/api/system/restart",method:"POST"})}),getRestartRequired:t.query({query:()=>({url:"/api/system/restartRequired"})}),setRestartRequired:t.mutation({query:e=>({url:"/api/system/restartRequired",method:"POST",body:e.restartRequiredModel})})}),overrideExisting:!1});exports.api=s;
2
2
  //# sourceMappingURL=system.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"system.cjs.js","sources":["../../../../../src/api/generated/system.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listFrontendModules: build.query<ListFrontendModulesApiResponse, ListFrontendModulesApiArg>({\n query: () => ({ url: `/api/frontendModules` }),\n }),\n getSites: build.query<GetSitesApiResponse, GetSitesApiArg>({\n query: (queryArg) => ({\n url: `/api/system/sites`,\n params: {\n platform: queryArg.platform,\n hostname: queryArg.hostname,\n },\n }),\n }),\n getSiteInfo: build.query<GetSiteInfoApiResponse, GetSiteInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/info`,\n params: {\n full: queryArg.full,\n },\n }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n getSystemMetrics: build.query<GetSystemMetricsApiResponse, GetSystemMetricsApiArg>({\n query: () => ({ url: `/api/metrics/system` }),\n }),\n getListOfSecrets: build.query<GetListOfSecretsApiResponse, GetListOfSecretsApiArg>({\n query: () => ({ url: `/api/secrets` }),\n }),\n getSecret: build.query<GetSecretApiResponse, GetSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}` }),\n }),\n saveSecret: build.mutation<SaveSecretApiResponse, SaveSecretApiArg>({\n query: (queryArg) => ({\n url: `/api/secrets/${queryArg.secretName}`,\n method: 'PUT',\n body: queryArg.secret,\n }),\n }),\n deleteSecret: build.mutation<DeleteSecretApiResponse, DeleteSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}`, method: 'DELETE' }),\n }),\n requestServerRestart: build.mutation<\n RequestServerRestartApiResponse,\n RequestServerRestartApiArg\n >({\n query: () => ({ url: `/api/system/restart`, method: 'POST' }),\n }),\n getRestartRequired: build.query<GetRestartRequiredApiResponse, GetRestartRequiredApiArg>({\n query: () => ({ url: `/api/system/restartRequired` }),\n }),\n setRestartRequired: build.mutation<SetRestartRequiredApiResponse, SetRestartRequiredApiArg>({\n query: (queryArg) => ({\n url: `/api/system/restartRequired`,\n method: 'POST',\n body: queryArg.restartRequiredModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListFrontendModulesApiResponse =\n /** status 200 Successful Response */ FrontendModuleListItem[]\nexport type ListFrontendModulesApiArg = void\nexport type GetSitesApiResponse = /** status 200 Successful Response */ SiteInfo[]\nexport type GetSitesApiArg = {\n platform?: 'windows' | 'linux' | 'darwin'\n hostname?: string\n}\nexport type GetSiteInfoApiResponse = /** status 200 Successful Response */ InfoResponseModel\nexport type GetSiteInfoApiArg = {\n /** Include frontend-related information */\n full?: boolean\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type GetSystemMetricsApiResponse = /** status 200 Successful Response */ any\nexport type GetSystemMetricsApiArg = void\nexport type GetListOfSecretsApiResponse = /** status 200 Successful Response */ Secret[]\nexport type GetListOfSecretsApiArg = void\nexport type GetSecretApiResponse = /** status 200 Successful Response */ Secret\nexport type GetSecretApiArg = {\n secretName: string\n}\nexport type SaveSecretApiResponse = unknown\nexport type SaveSecretApiArg = {\n secretName: string\n secret: Secret\n}\nexport type DeleteSecretApiResponse = unknown\nexport type DeleteSecretApiArg = {\n secretName: string\n}\nexport type RequestServerRestartApiResponse = unknown\nexport type RequestServerRestartApiArg = void\nexport type GetRestartRequiredApiResponse =\n /** status 200 Successful Response */ RestartRequiredModel\nexport type GetRestartRequiredApiArg = void\nexport type SetRestartRequiredApiResponse = /** status 200 Successful Response */ any\nexport type SetRestartRequiredApiArg = {\n restartRequiredModel: RestartRequiredModel\n}\nexport type FrontendModuleListItem = {\n addonName: string\n addonVersion: string\n modules: {\n [key: string]: string[]\n }\n}\nexport type SiteInfo = {\n id: string\n platform: 'windows' | 'linux' | 'darwin'\n hostname: string\n version: string\n users: string[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n}\nexport type SsoOption = {\n /** Unique name of the SSO provider */\n name: string\n /** If True, the provider will not be shown in the UI */\n hidden?: boolean\n /** Nice human-readable title of the provider */\n title?: string\n icon?: string\n color?: string\n textColor?: string\n redirectKey?: string\n url: string\n args?: {\n [key: string]: string\n }\n callback: string\n}\nexport type InfoResponseModel = {\n /** Instance specific message to be displayed in the login page */\n motd?: string\n /** URL of the background image for the login page */\n loginPageBackground?: string\n /** URL of the brand logo for the login page */\n loginPageBrand?: string\n /** Information about the current release */\n releaseInfo?: ReleaseInfo\n /** Version of the Ayon API */\n version?: string\n /** Time (seconds) since the server was started */\n uptime?: number\n /** No admin user exists, display 'Create admin user' form */\n noAdminUser?: boolean\n onboarding?: boolean\n /** If set, the changelog will not be shown to the user */\n disableChangelog?: boolean\n /** Password authentication will not be shown on the login page */\n hidePasswordAuth?: boolean\n passwordRecoveryAvailable?: boolean\n user?: UserModel\n attributes?: AttributeModel[]\n sites?: SiteInfo[]\n ssoOptions?: SsoOption[]\n extras?: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\nexport type Secret = {\n name?: string\n value?: string\n}\nexport type RestartRequiredModel = {\n /** Whether the server requires a restart */\n required: boolean\n /** The reason for the restart */\n reason?: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,oBAAqBA,EAAM,MAAiE,CAC1F,MAAO,KAAO,CAAE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sources":["../../../../../src/api/generated/system.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listFrontendModules: build.query<ListFrontendModulesApiResponse, ListFrontendModulesApiArg>({\n query: () => ({ url: `/api/frontendModules` }),\n }),\n getSites: build.query<GetSitesApiResponse, GetSitesApiArg>({\n query: (queryArg) => ({\n url: `/api/system/sites`,\n params: {\n platform: queryArg.platform,\n hostname: queryArg.hostname,\n },\n }),\n }),\n deleteSite: build.mutation<DeleteSiteApiResponse, DeleteSiteApiArg>({\n query: (queryArg) => ({ url: `/api/system/sites/${queryArg.siteId}`, method: 'DELETE' }),\n }),\n getSiteInfo: build.query<GetSiteInfoApiResponse, GetSiteInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/info`,\n params: {\n full: queryArg.full,\n },\n }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n getSystemMetrics: build.query<GetSystemMetricsApiResponse, GetSystemMetricsApiArg>({\n query: () => ({ url: `/api/metrics/system` }),\n }),\n getListOfSecrets: build.query<GetListOfSecretsApiResponse, GetListOfSecretsApiArg>({\n query: () => ({ url: `/api/secrets` }),\n }),\n getSecret: build.query<GetSecretApiResponse, GetSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}` }),\n }),\n saveSecret: build.mutation<SaveSecretApiResponse, SaveSecretApiArg>({\n query: (queryArg) => ({\n url: `/api/secrets/${queryArg.secretName}`,\n method: 'PUT',\n body: queryArg.secret,\n }),\n }),\n deleteSecret: build.mutation<DeleteSecretApiResponse, DeleteSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}`, method: 'DELETE' }),\n }),\n requestServerRestart: build.mutation<\n RequestServerRestartApiResponse,\n RequestServerRestartApiArg\n >({\n query: () => ({ url: `/api/system/restart`, method: 'POST' }),\n }),\n getRestartRequired: build.query<GetRestartRequiredApiResponse, GetRestartRequiredApiArg>({\n query: () => ({ url: `/api/system/restartRequired` }),\n }),\n setRestartRequired: build.mutation<SetRestartRequiredApiResponse, SetRestartRequiredApiArg>({\n query: (queryArg) => ({\n url: `/api/system/restartRequired`,\n method: 'POST',\n body: queryArg.restartRequiredModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListFrontendModulesApiResponse =\n /** status 200 Successful Response */ FrontendModuleListItem[]\nexport type ListFrontendModulesApiArg = void\nexport type GetSitesApiResponse = /** status 200 Successful Response */ SiteInfo[]\nexport type GetSitesApiArg = {\n platform?: 'windows' | 'linux' | 'darwin'\n hostname?: string\n}\nexport type DeleteSiteApiResponse = /** status 200 Successful Response */ any\nexport type DeleteSiteApiArg = {\n siteId: string\n}\nexport type GetSiteInfoApiResponse = /** status 200 Successful Response */ InfoResponseModel\nexport type GetSiteInfoApiArg = {\n /** Include frontend-related information */\n full?: boolean\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type GetSystemMetricsApiResponse = /** status 200 Successful Response */ any\nexport type GetSystemMetricsApiArg = void\nexport type GetListOfSecretsApiResponse = /** status 200 Successful Response */ Secret[]\nexport type GetListOfSecretsApiArg = void\nexport type GetSecretApiResponse = /** status 200 Successful Response */ Secret\nexport type GetSecretApiArg = {\n secretName: string\n}\nexport type SaveSecretApiResponse = unknown\nexport type SaveSecretApiArg = {\n secretName: string\n secret: Secret\n}\nexport type DeleteSecretApiResponse = unknown\nexport type DeleteSecretApiArg = {\n secretName: string\n}\nexport type RequestServerRestartApiResponse = unknown\nexport type RequestServerRestartApiArg = void\nexport type GetRestartRequiredApiResponse =\n /** status 200 Successful Response */ RestartRequiredModel\nexport type GetRestartRequiredApiArg = void\nexport type SetRestartRequiredApiResponse = /** status 200 Successful Response */ any\nexport type SetRestartRequiredApiArg = {\n restartRequiredModel: RestartRequiredModel\n}\nexport type FrontendModuleListItem = {\n addonName: string\n addonVersion: string\n modules: {\n [key: string]: string[]\n }\n}\nexport type SiteInfo = {\n id: string\n platform: 'windows' | 'linux' | 'darwin'\n hostname: string\n version: string\n users: string[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n uiExposureLevel?: number\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type EnumItem = {\n value: string | number | number | boolean\n label: string\n description?: string\n fulltext?: string[]\n group?: string\n /** Icon name (material symbol) or IconModel object */\n icon?: string | IconModel\n color?: string\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: EnumItem[]\n /** Name of the function that provides enum values dynamically. */\n enumResolver?: string\n /** Settings passed to the enum resolver function. */\n enumResolverSettings?: object\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n}\nexport type SsoOption = {\n /** Unique name of the SSO provider */\n name: string\n /** If True, the provider will not be shown in the UI */\n hidden?: boolean\n /** Nice human-readable title of the provider */\n title?: string\n icon?: string\n color?: string\n textColor?: string\n redirectKey?: string\n url: string\n args?: {\n [key: string]: string\n }\n callback: string\n}\nexport type InfoResponseModel = {\n /** Instance specific message to be displayed in the login page */\n motd?: string\n /** URL of the background image for the login page */\n loginPageBackground?: string\n /** URL of the brand logo for the login page */\n loginPageBrand?: string\n /** Information about the current release */\n releaseInfo?: ReleaseInfo\n /** Version of the Ayon API */\n version?: string\n /** Time (seconds) since the server was started */\n uptime?: number\n /** No admin user exists, display 'Create admin user' form */\n noAdminUser?: boolean\n onboarding?: boolean\n /** If set, the changelog will not be shown to the user */\n disableChangelog?: boolean\n /** Password authentication will not be shown on the login page */\n hidePasswordAuth?: boolean\n passwordRecoveryAvailable?: boolean\n user?: UserModel\n attributes?: AttributeModel[]\n sites?: SiteInfo[]\n ssoOptions?: SsoOption[]\n frontendFlags?: string[]\n extras?: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\nexport type Secret = {\n name?: string\n value?: string\n}\nexport type RestartRequiredModel = {\n /** Whether the server requires a restart */\n required: boolean\n /** The reason for the restart */\n reason?: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,oBAAqBA,EAAM,MAAiE,CAC1F,MAAO,KAAO,CAAE,IAAK,sBAAuB,EAAA,CAC7C,EACD,SAAUA,EAAM,MAA2C,CACzD,MAAQC,IAAc,CACpB,IAAK,oBACL,OAAQ,CACN,SAAUA,EAAS,SACnB,SAAUA,EAAS,QAAA,CAEvB,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CAAE,IAAK,qBAAqBA,EAAS,MAAM,GAAI,OAAQ,QAAS,EAAA,CACvF,EACD,YAAaD,EAAM,MAAiD,CAClE,MAAQC,IAAc,CACpB,IAAK,YACL,OAAQ,CACN,KAAMA,EAAS,IAAA,CAEnB,EAAA,CACD,EACD,qBAAsBD,EAAM,MAAmE,CAC7F,MAAQC,IAAc,CACpB,IAAK,eACL,OAAQ,CACN,OAAQA,EAAS,OACjB,UAAWA,EAAS,SAAA,CAExB,EAAA,CACD,EACD,iBAAkBD,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,qBAAsB,EAAA,CAC5C,EACD,iBAAkBA,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,cAAe,EAAA,CACrC,EACD,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CAAE,IAAK,gBAAgBA,EAAS,UAAU,EAAG,EAAA,CACpE,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,gBAAgBA,EAAS,UAAU,GACxC,OAAQ,MACR,KAAMA,EAAS,MACjB,EAAA,CACD,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CAAE,IAAK,gBAAgBA,EAAS,UAAU,GAAI,OAAQ,QAAS,EAAA,CACtF,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAO,KAAO,CAAE,IAAK,sBAAuB,OAAQ,MAAO,EAAA,CAC5D,EACD,mBAAoBA,EAAM,MAA+D,CACvF,MAAO,KAAO,CAAE,IAAK,6BAA8B,EAAA,CACpD,EACD,mBAAoBA,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,8BACL,OAAQ,OACR,KAAMA,EAAS,oBACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -13,6 +13,9 @@ const a = r.injectEndpoints({
13
13
  }
14
14
  })
15
15
  }),
16
+ deleteSite: t.mutation({
17
+ query: (e) => ({ url: `/api/system/sites/${e.siteId}`, method: "DELETE" })
18
+ }),
16
19
  getSiteInfo: t.query({
17
20
  query: (e) => ({
18
21
  url: "/api/info",