@alfresco/js-api 10.2.0-30612540894 → 10.2.0-30804668708

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 (319) hide show
  1. package/esm2015/package.json +1 -1
  2. package/esm2015/src/alfrescoApi.js.map +1 -1
  3. package/esm2015/src/alfrescoApiClient.js.map +1 -1
  4. package/esm2015/src/api/activiti-rest-api/api/about.api.js.map +1 -1
  5. package/esm2015/src/api/activiti-rest-api/api/accountIntegration.api.js.map +1 -1
  6. package/esm2015/src/api/activiti-rest-api/api/adminEndpoints.api.js.map +1 -1
  7. package/esm2015/src/api/activiti-rest-api/api/adminGroups.api.js.map +1 -1
  8. package/esm2015/src/api/activiti-rest-api/api/adminTenants.api.js.map +1 -1
  9. package/esm2015/src/api/activiti-rest-api/api/adminUsers.api.js.map +1 -1
  10. package/esm2015/src/api/activiti-rest-api/api/appDefinitions.api.js.map +1 -1
  11. package/esm2015/src/api/activiti-rest-api/api/checklists.api.js.map +1 -1
  12. package/esm2015/src/api/activiti-rest-api/api/comments.api.js.map +1 -1
  13. package/esm2015/src/api/activiti-rest-api/api/content.api.js.map +1 -1
  14. package/esm2015/src/api/activiti-rest-api/api/dataSources.api.js.map +1 -1
  15. package/esm2015/src/api/activiti-rest-api/api/decisionAudits.api.js.map +1 -1
  16. package/esm2015/src/api/activiti-rest-api/api/decisionTables.api.js.map +1 -1
  17. package/esm2015/src/api/activiti-rest-api/api/endpoints.api.js.map +1 -1
  18. package/esm2015/src/api/activiti-rest-api/api/formModels.api.js.map +1 -1
  19. package/esm2015/src/api/activiti-rest-api/api/groups.api.js.map +1 -1
  20. package/esm2015/src/api/activiti-rest-api/api/iDMSync.api.js.map +1 -1
  21. package/esm2015/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.js.map +1 -1
  22. package/esm2015/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.js.map +1 -1
  23. package/esm2015/src/api/activiti-rest-api/api/integrationBox.api.js.map +1 -1
  24. package/esm2015/src/api/activiti-rest-api/api/integrationDrive.api.js.map +1 -1
  25. package/esm2015/src/api/activiti-rest-api/api/integrationSSO.api.js.map +1 -1
  26. package/esm2015/src/api/activiti-rest-api/api/modelJsonBpmn.api.js.map +1 -1
  27. package/esm2015/src/api/activiti-rest-api/api/models.api.js.map +1 -1
  28. package/esm2015/src/api/activiti-rest-api/api/modelsBpmn.api.js.map +1 -1
  29. package/esm2015/src/api/activiti-rest-api/api/modelsHistory.api.js.map +1 -1
  30. package/esm2015/src/api/activiti-rest-api/api/processDefinitions.api.js.map +1 -1
  31. package/esm2015/src/api/activiti-rest-api/api/processInstanceVariables.api.js.map +1 -1
  32. package/esm2015/src/api/activiti-rest-api/api/processInstances.api.js.map +1 -1
  33. package/esm2015/src/api/activiti-rest-api/api/processScopes.api.js.map +1 -1
  34. package/esm2015/src/api/activiti-rest-api/api/report.api.js.map +1 -1
  35. package/esm2015/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.js.map +1 -1
  36. package/esm2015/src/api/activiti-rest-api/api/runtimeAppDeployments.api.js.map +1 -1
  37. package/esm2015/src/api/activiti-rest-api/api/scriptFiles.api.js.map +1 -1
  38. package/esm2015/src/api/activiti-rest-api/api/submittedForms.api.js.map +1 -1
  39. package/esm2015/src/api/activiti-rest-api/api/systemProperties.api.js.map +1 -1
  40. package/esm2015/src/api/activiti-rest-api/api/taskActions.api.js.map +1 -1
  41. package/esm2015/src/api/activiti-rest-api/api/taskForms.api.js.map +1 -1
  42. package/esm2015/src/api/activiti-rest-api/api/taskVariables.api.js.map +1 -1
  43. package/esm2015/src/api/activiti-rest-api/api/tasks.api.js.map +1 -1
  44. package/esm2015/src/api/activiti-rest-api/api/temporary.api.js.map +1 -1
  45. package/esm2015/src/api/activiti-rest-api/api/userFilters.api.js.map +1 -1
  46. package/esm2015/src/api/activiti-rest-api/api/userProfile.api.js.map +1 -1
  47. package/esm2015/src/api/activiti-rest-api/api/users.api.js.map +1 -1
  48. package/esm2015/src/api/activiti-rest-api/model/jsonNode.js.map +1 -1
  49. package/esm2015/src/api/activiti-rest-api/model/objectNode.js.map +1 -1
  50. package/esm2015/src/api/auth-rest-api/api/authentication.api.js.map +1 -1
  51. package/esm2015/src/api/content-custom-api/api/classes.api.js.map +1 -1
  52. package/esm2015/src/api/content-custom-api/api/content.api.js.map +1 -1
  53. package/esm2015/src/api/content-custom-api/api/webscript.api.js.map +1 -1
  54. package/esm2015/src/api/content-custom-api/model/dateAlfresco.js.map +1 -1
  55. package/esm2015/src/api/content-rest-api/api/actions.api.js.map +1 -1
  56. package/esm2015/src/api/content-rest-api/api/activities.api.js.map +1 -1
  57. package/esm2015/src/api/content-rest-api/api/audit.api.js.map +1 -1
  58. package/esm2015/src/api/content-rest-api/api/categories.api.js.map +1 -1
  59. package/esm2015/src/api/content-rest-api/api/comments.api.js.map +1 -1
  60. package/esm2015/src/api/content-rest-api/api/downloads.api.js.map +1 -1
  61. package/esm2015/src/api/content-rest-api/api/favorites.api.js.map +1 -1
  62. package/esm2015/src/api/content-rest-api/api/groups.api.js.map +1 -1
  63. package/esm2015/src/api/content-rest-api/api/networks.api.js.map +1 -1
  64. package/esm2015/src/api/content-rest-api/api/nodes.api.js.map +1 -1
  65. package/esm2015/src/api/content-rest-api/api/people.api.js.map +1 -1
  66. package/esm2015/src/api/content-rest-api/api/preferences.api.js.map +1 -1
  67. package/esm2015/src/api/content-rest-api/api/probes.api.js.map +1 -1
  68. package/esm2015/src/api/content-rest-api/api/queries.api.js.map +1 -1
  69. package/esm2015/src/api/content-rest-api/api/ratings.api.js.map +1 -1
  70. package/esm2015/src/api/content-rest-api/api/renditions.api.js.map +1 -1
  71. package/esm2015/src/api/content-rest-api/api/sharedlinks.api.js.map +1 -1
  72. package/esm2015/src/api/content-rest-api/api/sites.api.js.map +1 -1
  73. package/esm2015/src/api/content-rest-api/api/tags.api.js.map +1 -1
  74. package/esm2015/src/api/content-rest-api/api/trashcan.api.js.map +1 -1
  75. package/esm2015/src/api/content-rest-api/api/versions.api.js.map +1 -1
  76. package/esm2015/src/api/discovery-rest-api/api/discovery.api.js.map +1 -1
  77. package/esm2015/src/api/gs-classification-rest-api/api/authorityClearance.api.js.map +1 -1
  78. package/esm2015/src/api/gs-classification-rest-api/api/classificationGuides.api.js.map +1 -1
  79. package/esm2015/src/api/gs-classification-rest-api/api/classificationReasons.api.js.map +1 -1
  80. package/esm2015/src/api/gs-classification-rest-api/api/declassificationExemptions.api.js.map +1 -1
  81. package/esm2015/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.js.map +1 -1
  82. package/esm2015/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.js.map +1 -1
  83. package/esm2015/src/api/gs-classification-rest-api/api/securityControlSettings.api.js.map +1 -1
  84. package/esm2015/src/api/gs-classification-rest-api/api/securityGroups.api.js.map +1 -1
  85. package/esm2015/src/api/gs-classification-rest-api/api/securityMarks.api.js.map +1 -1
  86. package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
  87. package/esm2015/src/api/gs-core-rest-api/api/files.api.js.map +1 -1
  88. package/esm2015/src/api/gs-core-rest-api/api/gsSites.api.js.map +1 -1
  89. package/esm2015/src/api/gs-core-rest-api/api/legal-hold.api.js.map +1 -1
  90. package/esm2015/src/api/gs-core-rest-api/api/recordCategories.api.js.map +1 -1
  91. package/esm2015/src/api/gs-core-rest-api/api/recordFolders.api.js.map +1 -1
  92. package/esm2015/src/api/gs-core-rest-api/api/records.api.js.map +1 -1
  93. package/esm2015/src/api/gs-core-rest-api/api/transferContainers.api.js.map +1 -1
  94. package/esm2015/src/api/gs-core-rest-api/api/transfers.api.js.map +1 -1
  95. package/esm2015/src/api/gs-core-rest-api/api/unfiledContainers.api.js.map +1 -1
  96. package/esm2015/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.js.map +1 -1
  97. package/esm2015/src/api/model-rest-api/api/aspects.api.js.map +1 -1
  98. package/esm2015/src/api/model-rest-api/api/types.api.js.map +1 -1
  99. package/esm2015/src/api/search-rest-api/api/search.api.js.map +1 -1
  100. package/esm2015/src/assert.js.map +1 -1
  101. package/esm2015/src/authentication/contentAuth.js.map +1 -1
  102. package/esm2015/src/authentication/oauth2Auth.js.map +1 -1
  103. package/esm2015/src/authentication/processAuth.js.map +1 -1
  104. package/esm2015/src/contentClient.js.map +1 -1
  105. package/esm2015/src/processClient.js.map +1 -1
  106. package/esm2015/src/utils/lazy-api.js.map +1 -1
  107. package/esm2015/src/utils/param-to-string.js.map +1 -1
  108. package/package.json +1 -1
  109. package/src/alfrescoApi.js.map +1 -1
  110. package/src/alfrescoApiClient.js.map +1 -1
  111. package/src/api/activiti-rest-api/api/about.api.js.map +1 -1
  112. package/src/api/activiti-rest-api/api/accountIntegration.api.js.map +1 -1
  113. package/src/api/activiti-rest-api/api/adminEndpoints.api.js.map +1 -1
  114. package/src/api/activiti-rest-api/api/adminGroups.api.js.map +1 -1
  115. package/src/api/activiti-rest-api/api/adminTenants.api.js.map +1 -1
  116. package/src/api/activiti-rest-api/api/adminUsers.api.js.map +1 -1
  117. package/src/api/activiti-rest-api/api/appDefinitions.api.js.map +1 -1
  118. package/src/api/activiti-rest-api/api/checklists.api.js.map +1 -1
  119. package/src/api/activiti-rest-api/api/comments.api.js.map +1 -1
  120. package/src/api/activiti-rest-api/api/content.api.js.map +1 -1
  121. package/src/api/activiti-rest-api/api/dataSources.api.js.map +1 -1
  122. package/src/api/activiti-rest-api/api/decisionAudits.api.js.map +1 -1
  123. package/src/api/activiti-rest-api/api/decisionTables.api.js.map +1 -1
  124. package/src/api/activiti-rest-api/api/endpoints.api.js.map +1 -1
  125. package/src/api/activiti-rest-api/api/formModels.api.js.map +1 -1
  126. package/src/api/activiti-rest-api/api/groups.api.js.map +1 -1
  127. package/src/api/activiti-rest-api/api/iDMSync.api.js.map +1 -1
  128. package/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.js.map +1 -1
  129. package/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.js.map +1 -1
  130. package/src/api/activiti-rest-api/api/integrationBox.api.js.map +1 -1
  131. package/src/api/activiti-rest-api/api/integrationDrive.api.js.map +1 -1
  132. package/src/api/activiti-rest-api/api/integrationSSO.api.js.map +1 -1
  133. package/src/api/activiti-rest-api/api/modelJsonBpmn.api.js.map +1 -1
  134. package/src/api/activiti-rest-api/api/models.api.js.map +1 -1
  135. package/src/api/activiti-rest-api/api/modelsBpmn.api.js.map +1 -1
  136. package/src/api/activiti-rest-api/api/modelsHistory.api.js.map +1 -1
  137. package/src/api/activiti-rest-api/api/processDefinitions.api.js.map +1 -1
  138. package/src/api/activiti-rest-api/api/processInstanceVariables.api.js.map +1 -1
  139. package/src/api/activiti-rest-api/api/processInstances.api.js.map +1 -1
  140. package/src/api/activiti-rest-api/api/processScopes.api.js.map +1 -1
  141. package/src/api/activiti-rest-api/api/report.api.js.map +1 -1
  142. package/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.js.map +1 -1
  143. package/src/api/activiti-rest-api/api/runtimeAppDeployments.api.js.map +1 -1
  144. package/src/api/activiti-rest-api/api/scriptFiles.api.js.map +1 -1
  145. package/src/api/activiti-rest-api/api/submittedForms.api.js.map +1 -1
  146. package/src/api/activiti-rest-api/api/systemProperties.api.js.map +1 -1
  147. package/src/api/activiti-rest-api/api/taskActions.api.js.map +1 -1
  148. package/src/api/activiti-rest-api/api/taskForms.api.js.map +1 -1
  149. package/src/api/activiti-rest-api/api/taskVariables.api.js.map +1 -1
  150. package/src/api/activiti-rest-api/api/tasks.api.js.map +1 -1
  151. package/src/api/activiti-rest-api/api/temporary.api.js.map +1 -1
  152. package/src/api/activiti-rest-api/api/userFilters.api.js.map +1 -1
  153. package/src/api/activiti-rest-api/api/userProfile.api.js.map +1 -1
  154. package/src/api/activiti-rest-api/api/users.api.js.map +1 -1
  155. package/src/api/activiti-rest-api/model/jsonNode.js.map +1 -1
  156. package/src/api/activiti-rest-api/model/objectNode.js.map +1 -1
  157. package/src/api/auth-rest-api/api/authentication.api.js.map +1 -1
  158. package/src/api/content-custom-api/api/classes.api.js.map +1 -1
  159. package/src/api/content-custom-api/api/content.api.js.map +1 -1
  160. package/src/api/content-custom-api/api/webscript.api.js.map +1 -1
  161. package/src/api/content-custom-api/model/dateAlfresco.js.map +1 -1
  162. package/src/api/content-rest-api/api/actions.api.js.map +1 -1
  163. package/src/api/content-rest-api/api/activities.api.js.map +1 -1
  164. package/src/api/content-rest-api/api/audit.api.js.map +1 -1
  165. package/src/api/content-rest-api/api/categories.api.js.map +1 -1
  166. package/src/api/content-rest-api/api/comments.api.js.map +1 -1
  167. package/src/api/content-rest-api/api/downloads.api.js.map +1 -1
  168. package/src/api/content-rest-api/api/favorites.api.js.map +1 -1
  169. package/src/api/content-rest-api/api/groups.api.js.map +1 -1
  170. package/src/api/content-rest-api/api/networks.api.js.map +1 -1
  171. package/src/api/content-rest-api/api/nodes.api.js.map +1 -1
  172. package/src/api/content-rest-api/api/people.api.js.map +1 -1
  173. package/src/api/content-rest-api/api/preferences.api.js.map +1 -1
  174. package/src/api/content-rest-api/api/probes.api.js.map +1 -1
  175. package/src/api/content-rest-api/api/queries.api.js.map +1 -1
  176. package/src/api/content-rest-api/api/ratings.api.js.map +1 -1
  177. package/src/api/content-rest-api/api/renditions.api.js.map +1 -1
  178. package/src/api/content-rest-api/api/sharedlinks.api.js.map +1 -1
  179. package/src/api/content-rest-api/api/sites.api.js.map +1 -1
  180. package/src/api/content-rest-api/api/tags.api.js.map +1 -1
  181. package/src/api/content-rest-api/api/trashcan.api.js.map +1 -1
  182. package/src/api/content-rest-api/api/versions.api.js.map +1 -1
  183. package/src/api/discovery-rest-api/api/discovery.api.js.map +1 -1
  184. package/src/api/gs-classification-rest-api/api/authorityClearance.api.js.map +1 -1
  185. package/src/api/gs-classification-rest-api/api/classificationGuides.api.js.map +1 -1
  186. package/src/api/gs-classification-rest-api/api/classificationReasons.api.js.map +1 -1
  187. package/src/api/gs-classification-rest-api/api/declassificationExemptions.api.js.map +1 -1
  188. package/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.js.map +1 -1
  189. package/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.js.map +1 -1
  190. package/src/api/gs-classification-rest-api/api/securityControlSettings.api.js.map +1 -1
  191. package/src/api/gs-classification-rest-api/api/securityGroups.api.js.map +1 -1
  192. package/src/api/gs-classification-rest-api/api/securityMarks.api.js.map +1 -1
  193. package/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
  194. package/src/api/gs-core-rest-api/api/files.api.js.map +1 -1
  195. package/src/api/gs-core-rest-api/api/gsSites.api.js.map +1 -1
  196. package/src/api/gs-core-rest-api/api/legal-hold.api.js.map +1 -1
  197. package/src/api/gs-core-rest-api/api/recordCategories.api.js.map +1 -1
  198. package/src/api/gs-core-rest-api/api/recordFolders.api.js.map +1 -1
  199. package/src/api/gs-core-rest-api/api/records.api.js.map +1 -1
  200. package/src/api/gs-core-rest-api/api/transferContainers.api.js.map +1 -1
  201. package/src/api/gs-core-rest-api/api/transfers.api.js.map +1 -1
  202. package/src/api/gs-core-rest-api/api/unfiledContainers.api.js.map +1 -1
  203. package/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.js.map +1 -1
  204. package/src/api/model-rest-api/api/aspects.api.js.map +1 -1
  205. package/src/api/model-rest-api/api/types.api.js.map +1 -1
  206. package/src/api/search-rest-api/api/search.api.js.map +1 -1
  207. package/src/assert.js.map +1 -1
  208. package/src/authentication/contentAuth.js.map +1 -1
  209. package/src/authentication/oauth2Auth.js.map +1 -1
  210. package/src/authentication/processAuth.js.map +1 -1
  211. package/src/contentClient.js.map +1 -1
  212. package/src/processClient.js.map +1 -1
  213. package/src/utils/lazy-api.js.map +1 -1
  214. package/src/utils/param-to-string.js.map +1 -1
  215. package/typings/package.json +1 -1
  216. package/typings/src/alfrescoApi.d.ts +3 -0
  217. package/typings/src/alfrescoApiClient.d.ts +3 -0
  218. package/typings/src/api/activiti-rest-api/api/about.api.d.ts +1 -0
  219. package/typings/src/api/activiti-rest-api/api/accountIntegration.api.d.ts +1 -0
  220. package/typings/src/api/activiti-rest-api/api/adminEndpoints.api.d.ts +10 -0
  221. package/typings/src/api/activiti-rest-api/api/adminGroups.api.d.ts +16 -0
  222. package/typings/src/api/activiti-rest-api/api/adminTenants.api.d.ts +8 -0
  223. package/typings/src/api/activiti-rest-api/api/adminUsers.api.d.ts +5 -0
  224. package/typings/src/api/activiti-rest-api/api/appDefinitions.api.d.ts +7 -0
  225. package/typings/src/api/activiti-rest-api/api/checklists.api.d.ts +3 -0
  226. package/typings/src/api/activiti-rest-api/api/comments.api.d.ts +4 -0
  227. package/typings/src/api/activiti-rest-api/api/content.api.d.ts +11 -0
  228. package/typings/src/api/activiti-rest-api/api/dataSources.api.d.ts +1 -0
  229. package/typings/src/api/activiti-rest-api/api/decisionAudits.api.d.ts +2 -0
  230. package/typings/src/api/activiti-rest-api/api/decisionTables.api.d.ts +3 -0
  231. package/typings/src/api/activiti-rest-api/api/endpoints.api.d.ts +2 -0
  232. package/typings/src/api/activiti-rest-api/api/formModels.api.d.ts +6 -0
  233. package/typings/src/api/activiti-rest-api/api/groups.api.d.ts +2 -0
  234. package/typings/src/api/activiti-rest-api/api/iDMSync.api.d.ts +2 -0
  235. package/typings/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.d.ts +6 -0
  236. package/typings/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.d.ts +5 -0
  237. package/typings/src/api/activiti-rest-api/api/integrationBox.api.d.ts +7 -0
  238. package/typings/src/api/activiti-rest-api/api/integrationDrive.api.d.ts +2 -0
  239. package/typings/src/api/activiti-rest-api/api/integrationSSO.api.d.ts +1 -0
  240. package/typings/src/api/activiti-rest-api/api/modelJsonBpmn.api.d.ts +4 -0
  241. package/typings/src/api/activiti-rest-api/api/models.api.d.ts +13 -0
  242. package/typings/src/api/activiti-rest-api/api/modelsBpmn.api.d.ts +2 -0
  243. package/typings/src/api/activiti-rest-api/api/modelsHistory.api.d.ts +2 -0
  244. package/typings/src/api/activiti-rest-api/api/processDefinitions.api.d.ts +11 -0
  245. package/typings/src/api/activiti-rest-api/api/processInstanceVariables.api.d.ts +5 -0
  246. package/typings/src/api/activiti-rest-api/api/processInstances.api.d.ts +20 -0
  247. package/typings/src/api/activiti-rest-api/api/processScopes.api.d.ts +1 -0
  248. package/typings/src/api/activiti-rest-api/api/report.api.d.ts +3 -0
  249. package/typings/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.d.ts +3 -0
  250. package/typings/src/api/activiti-rest-api/api/runtimeAppDeployments.api.d.ts +5 -0
  251. package/typings/src/api/activiti-rest-api/api/scriptFiles.api.d.ts +2 -0
  252. package/typings/src/api/activiti-rest-api/api/submittedForms.api.d.ts +4 -0
  253. package/typings/src/api/activiti-rest-api/api/systemProperties.api.d.ts +4 -0
  254. package/typings/src/api/activiti-rest-api/api/taskActions.api.d.ts +11 -0
  255. package/typings/src/api/activiti-rest-api/api/taskForms.api.d.ts +7 -0
  256. package/typings/src/api/activiti-rest-api/api/taskVariables.api.d.ts +6 -0
  257. package/typings/src/api/activiti-rest-api/api/tasks.api.d.ts +14 -0
  258. package/typings/src/api/activiti-rest-api/api/temporary.api.d.ts +2 -0
  259. package/typings/src/api/activiti-rest-api/api/userFilters.api.d.ts +12 -0
  260. package/typings/src/api/activiti-rest-api/api/userProfile.api.d.ts +5 -0
  261. package/typings/src/api/activiti-rest-api/api/users.api.d.ts +6 -0
  262. package/typings/src/api/auth-rest-api/api/authentication.api.d.ts +4 -0
  263. package/typings/src/api/content-custom-api/api/classes.api.d.ts +1 -0
  264. package/typings/src/api/content-custom-api/api/content.api.d.ts +8 -0
  265. package/typings/src/api/content-custom-api/api/webscript.api.d.ts +1 -0
  266. package/typings/src/api/content-custom-api/model/dateAlfresco.d.ts +3 -0
  267. package/typings/src/api/content-rest-api/api/actions.api.d.ts +4 -0
  268. package/typings/src/api/content-rest-api/api/activities.api.d.ts +1 -0
  269. package/typings/src/api/content-rest-api/api/audit.api.d.ts +8 -0
  270. package/typings/src/api/content-rest-api/api/categories.api.d.ts +8 -0
  271. package/typings/src/api/content-rest-api/api/comments.api.d.ts +4 -0
  272. package/typings/src/api/content-rest-api/api/downloads.api.d.ts +3 -0
  273. package/typings/src/api/content-rest-api/api/favorites.api.d.ts +8 -0
  274. package/typings/src/api/content-rest-api/api/groups.api.d.ts +9 -0
  275. package/typings/src/api/content-rest-api/api/networks.api.d.ts +3 -0
  276. package/typings/src/api/content-rest-api/api/nodes.api.d.ts +24 -0
  277. package/typings/src/api/content-rest-api/api/people.api.d.ts +10 -0
  278. package/typings/src/api/content-rest-api/api/preferences.api.d.ts +2 -0
  279. package/typings/src/api/content-rest-api/api/probes.api.d.ts +1 -0
  280. package/typings/src/api/content-rest-api/api/queries.api.d.ts +3 -0
  281. package/typings/src/api/content-rest-api/api/ratings.api.d.ts +4 -0
  282. package/typings/src/api/content-rest-api/api/renditions.api.d.ts +5 -0
  283. package/typings/src/api/content-rest-api/api/sharedlinks.api.d.ts +9 -0
  284. package/typings/src/api/content-rest-api/api/sites.api.d.ts +28 -0
  285. package/typings/src/api/content-rest-api/api/tags.api.d.ts +10 -0
  286. package/typings/src/api/content-rest-api/api/trashcan.api.d.ts +11 -0
  287. package/typings/src/api/content-rest-api/api/versions.api.d.ts +11 -0
  288. package/typings/src/api/discovery-rest-api/api/discovery.api.d.ts +1 -0
  289. package/typings/src/api/gs-classification-rest-api/api/authorityClearance.api.d.ts +2 -0
  290. package/typings/src/api/gs-classification-rest-api/api/classificationGuides.api.d.ts +13 -0
  291. package/typings/src/api/gs-classification-rest-api/api/classificationReasons.api.d.ts +5 -0
  292. package/typings/src/api/gs-classification-rest-api/api/declassificationExemptions.api.d.ts +5 -0
  293. package/typings/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.d.ts +1 -0
  294. package/typings/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.d.ts +2 -0
  295. package/typings/src/api/gs-classification-rest-api/api/securityControlSettings.api.d.ts +3 -0
  296. package/typings/src/api/gs-classification-rest-api/api/securityGroups.api.d.ts +6 -0
  297. package/typings/src/api/gs-classification-rest-api/api/securityMarks.api.d.ts +6 -0
  298. package/typings/src/api/gs-core-rest-api/api/filePlans.api.d.ts +5 -0
  299. package/typings/src/api/gs-core-rest-api/api/files.api.d.ts +2 -0
  300. package/typings/src/api/gs-core-rest-api/api/gsSites.api.d.ts +4 -0
  301. package/typings/src/api/gs-core-rest-api/api/legal-hold.api.d.ts +9 -0
  302. package/typings/src/api/gs-core-rest-api/api/recordCategories.api.d.ts +5 -0
  303. package/typings/src/api/gs-core-rest-api/api/recordFolders.api.d.ts +5 -0
  304. package/typings/src/api/gs-core-rest-api/api/records.api.d.ts +7 -0
  305. package/typings/src/api/gs-core-rest-api/api/transferContainers.api.d.ts +3 -0
  306. package/typings/src/api/gs-core-rest-api/api/transfers.api.d.ts +3 -0
  307. package/typings/src/api/gs-core-rest-api/api/unfiledContainers.api.d.ts +5 -0
  308. package/typings/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.d.ts +6 -0
  309. package/typings/src/api/model-rest-api/api/aspects.api.d.ts +2 -0
  310. package/typings/src/api/model-rest-api/api/types.api.d.ts +2 -0
  311. package/typings/src/api/search-rest-api/api/search.api.d.ts +2 -0
  312. package/typings/src/assert.d.ts +1 -0
  313. package/typings/src/authentication/contentAuth.d.ts +6 -0
  314. package/typings/src/authentication/oauth2Auth.d.ts +5 -0
  315. package/typings/src/authentication/processAuth.d.ts +6 -0
  316. package/typings/src/contentClient.d.ts +1 -0
  317. package/typings/src/processClient.d.ts +1 -0
  318. package/typings/src/utils/lazy-api.d.ts +1 -0
  319. package/typings/src/utils/param-to-string.d.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAErC,MAAa,UAAW,SAAQ,kBAAO;IAQnC,uBAAuB,CAAC,MAAc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\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\nexport class ContentApi extends BaseApi {\n /**\n * Get thumbnail URL for the given nodeId\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentThumbnailUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/doclib/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get preview URL for the given nodeId\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentPreviewUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/imgpreview/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getContentUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get rendition URL for the given nodeId\n * @param nodeId The ID of the document node\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getRenditionUrl(nodeId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get version's rendition URL for the given nodeId\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionRenditionUrl(nodeId: string, versionId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId and versionId\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content url for the given shared link id\n * @param linkId - The ID of the shared link\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkContentUrl(linkId: string, attachment?: boolean): string {\n return this.apiClient.basePath + '/shared-links/' + linkId + '/content' + '?attachment=' + (attachment ? 'true' : 'false');\n }\n\n /**\n * Gets the rendition content for file with shared link identifier sharedId.\n * @param sharedId - The identifier of a shared link to a file.\n * @param renditionId - The name of a thumbnail rendition, for example doclib, or pdf.\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkRenditionUrl(sharedId: string, renditionId: string, attachment?: boolean): string {\n return (\n this.apiClient.basePath +\n '/shared-links/' +\n sharedId +\n '/renditions/' +\n renditionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false')\n );\n }\n}\n"]}
1
+ {"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAErC,MAAa,UAAW,SAAQ,kBAAO;IASnC,uBAAuB,CAAC,MAAc,EAAE,UAAoB,EAAE,MAAe;QACzE,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,SAAS;YACT,MAAM;YACN,4BAA4B;YAC5B,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,CACtC,CAAC;IACN,CAAC;IAUD,qBAAqB,CAAC,MAAc,EAAE,UAAoB,EAAE,MAAe;QACvE,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,SAAS;YACT,MAAM;YACN,gCAAgC;YAChC,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,CACtC,CAAC;IACN,CAAC;IAUD,aAAa,CAAC,MAAc,EAAE,UAAoB,EAAE,MAAe;QAC/D,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,SAAS;YACT,MAAM;YACN,UAAU;YACV,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/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AG,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAC/H,CAAC;IAUD,yBAAyB,CAAC,QAAgB,EAAE,WAAmB,EAAE,UAAoB;QACjF,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,gBAAgB;YAChB,QAAQ;YACR,cAAc;YACd,WAAW;YACX,UAAU;YACV,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAClC,CAAC;IACN,CAAC;CACJ;AApKD,gCAoKC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\nexport class ContentApi extends BaseApi {\n /**\n * Get thumbnail URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentThumbnailUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/doclib/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get preview URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentPreviewUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/imgpreview/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getContentUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get rendition URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getRenditionUrl(nodeId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get version's rendition URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionRenditionUrl(nodeId: string, versionId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId and versionId\n *\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content url for the given shared link id\n *\n * @param linkId - The ID of the shared link\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkContentUrl(linkId: string, attachment?: boolean): string {\n return this.apiClient.basePath + '/shared-links/' + linkId + '/content' + '?attachment=' + (attachment ? 'true' : 'false');\n }\n\n /**\n * Gets the rendition content for file with shared link identifier sharedId.\n *\n * @param sharedId - The identifier of a shared link to a file.\n * @param renditionId - The name of a thumbnail rendition, for example doclib, or pdf.\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkRenditionUrl(sharedId: string, renditionId: string, attachment?: boolean): string {\n return (\n this.apiClient.basePath +\n '/shared-links/' +\n sharedId +\n '/renditions/' +\n renditionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false')\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"webscript.api.js","sourceRoot":"","sources":["webscript.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAKrC,MAAa,YAAa,SAAQ,kBAAO;IAAzC;;QACI,kBAAa,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAmD/D,CAAC;IArCG,gBAAgB,CACZ,UAAkB,EAClB,UAAkB,EAClB,UAAgB,EAChB,WAAoB,EACpB,WAAoB,EACpB,QAAc;QAEd,WAAW,GAAG,WAAW,IAAI,UAAU,CAAC;QACxC,WAAW,GAAG,WAAW,IAAI,SAAS,CAAC;QACvC,QAAQ,GAAG,QAAQ,IAAI,IAAI,CAAC;QAE5B,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,YAAY,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;QAElD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CACzB,GAAG,GAAG,WAAW,GAAG,GAAG,GAAG,UAAU,EACpC,UAAU,EACV,EAAE,EACF,UAAU,EACV,EAAE,EACF,EAAE,EACF,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,WAAW,CACd,CAAC;IACN,CAAC;CACJ;AApDD,oCAoDC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Constructs a new WebscriptApi.\n */\nexport class WebscriptApi extends BaseApi {\n allowedMethod: string[] = ['GET', 'POST', 'PUT', 'DELETE'];\n\n /**\n * Call a get on a Web Scripts see https://wiki.alfresco.com/wiki/Web_Scripts for more details about Web Scripts\n * Url syntax definition : http[s]://<host>:<port>/[<contextPath>/]/<servicePath>[/<scriptPath>][?<scriptArgs>]\n * example: http://localhost:8081/share/service/mytasks?priority=1\n * @param httpMethod GET, POST, PUT and DELETE\n * @param scriptPath script path\n * @param scriptArgs script arguments\n * @param contextRoot default value alfresco\n * @param servicePath default value service\n * @param postBody post body\n * @returns A promise that is resolved return the webScript data and {error} if rejected.\n */\n executeWebScript(\n httpMethod: string,\n scriptPath: string,\n scriptArgs?: any,\n contextRoot?: string,\n servicePath?: string,\n postBody?: any\n ): Promise<any> {\n contextRoot = contextRoot || 'alfresco';\n servicePath = servicePath || 'service';\n postBody = postBody || null;\n\n if (!httpMethod || this.allowedMethod.indexOf(httpMethod) === -1) {\n throw new Error('method allowed value GET, POST, PUT and DELETE');\n }\n\n if (!scriptPath) {\n throw new Error('Missing param scriptPath in executeWebScript');\n }\n\n const contentTypes = ['application/json'];\n const accepts = ['application/json', 'text/html'];\n\n return this.apiClient.callApi(\n '/' + servicePath + '/' + scriptPath,\n httpMethod,\n {},\n scriptArgs,\n {},\n {},\n postBody,\n contentTypes,\n accepts,\n null,\n contextRoot\n );\n }\n}\n"]}
1
+ {"version":3,"file":"webscript.api.js","sourceRoot":"","sources":["webscript.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAKrC,MAAa,YAAa,SAAQ,kBAAO;IAAzC;;QACI,kBAAa,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAoD/D,CAAC;IArCG,gBAAgB,CACZ,UAAkB,EAClB,UAAkB,EAClB,UAAgB,EAChB,WAAoB,EACpB,WAAoB,EACpB,QAAc;QAEd,WAAW,GAAG,WAAW,IAAI,UAAU,CAAC;QACxC,WAAW,GAAG,WAAW,IAAI,SAAS,CAAC;QACvC,QAAQ,GAAG,QAAQ,IAAI,IAAI,CAAC;QAE5B,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,YAAY,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;QAElD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CACzB,GAAG,GAAG,WAAW,GAAG,GAAG,GAAG,UAAU,EACpC,UAAU,EACV,EAAE,EACF,UAAU,EACV,EAAE,EACF,EAAE,EACF,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,WAAW,CACd,CAAC;IACN,CAAC;CACJ;AArDD,oCAqDC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Constructs a new WebscriptApi.\n */\nexport class WebscriptApi extends BaseApi {\n allowedMethod: string[] = ['GET', 'POST', 'PUT', 'DELETE'];\n\n /**\n * Call a get on a Web Scripts see https://wiki.alfresco.com/wiki/Web_Scripts for more details about Web Scripts\n * Url syntax definition : http[s]://<host>:<port>/[<contextPath>/]/<servicePath>[/<scriptPath>][?<scriptArgs>]\n * example: http://localhost:8081/share/service/mytasks?priority=1\n *\n * @param httpMethod GET, POST, PUT and DELETE\n * @param scriptPath script path\n * @param scriptArgs script arguments\n * @param contextRoot default value alfresco\n * @param servicePath default value service\n * @param postBody post body\n * @returns A promise that is resolved return the webScript data and {error} if rejected.\n */\n executeWebScript(\n httpMethod: string,\n scriptPath: string,\n scriptArgs?: any,\n contextRoot?: string,\n servicePath?: string,\n postBody?: any\n ): Promise<any> {\n contextRoot = contextRoot || 'alfresco';\n servicePath = servicePath || 'service';\n postBody = postBody || null;\n\n if (!httpMethod || this.allowedMethod.indexOf(httpMethod) === -1) {\n throw new Error('method allowed value GET, POST, PUT and DELETE');\n }\n\n if (!scriptPath) {\n throw new Error('Missing param scriptPath in executeWebScript');\n }\n\n const contentTypes = ['application/json'];\n const accepts = ['application/json', 'text/html'];\n\n return this.apiClient.callApi(\n '/' + servicePath + '/' + scriptPath,\n httpMethod,\n {},\n scriptArgs,\n {},\n {},\n postBody,\n contentTypes,\n accepts,\n null,\n contextRoot\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"dateAlfresco.js","sourceRoot":"","sources":["dateAlfresco.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,MAAa,YAAa,SAAQ,IAAI;IAMlC,MAAM,CAAC,SAAS,CAAC,aAAkB;QAC/B,IAAI,aAAa,YAAY,IAAI,EAAE,CAAC;YAChC,OAAO,aAAa,CAAC;QACzB,CAAC;aAAM,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;YAC3C,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC;QAED,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,MAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;QACrF,MAAM,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;QACrG,MAAM,KAAK,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa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E,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,EAAE,CAAC,CAAC;QAC7G,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,CAAC;QACb,CAAC;IACL,CAAC;CACJ;AA9DD,oCA8DC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class DateAlfresco extends Date {\n /**\n * Parses an ISO-8601 string representation of a date value.\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDate(dateToConvert: any): Date {\n if (dateToConvert instanceof Date) {\n return dateToConvert;\n } else if (typeof dateToConvert === 'number') {\n return new Date(dateToConvert);\n }\n\n const dateLength = 10;\n const separatorPos = dateToConvert.substring(dateLength).search(/[+-]/) + dateLength;\n const dateStr = separatorPos > dateLength ? dateToConvert.substring(0, separatorPos) : dateToConvert;\n const tzStr = separatorPos > dateLength ? dateToConvert.substring(separatorPos) : '';\n const parsedDate = this.parseDateTime(dateStr);\n const tzOffsetMins = this.parseDateTimeZone(tzStr);\n parsedDate.setTime(parsedDate.getTime() + tzOffsetMins * 60000);\n return parsedDate;\n }\n\n /**\n * Parses the date component of a ISO-8601 string representation of a date value.\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDateTime(dateToConvert: string): Date {\n // TODO: review when Safari 10 is released\n // return new Date(str.replace(/T/i, ' '));\n\n // Compatible with Safari 9.1.2\n const dateParts = dateToConvert.split(/[^0-9]/).map(function (s) {\n return parseInt(s, 10);\n });\n return new Date(\n Date.UTC(\n dateParts[0],\n dateParts[1] - 1 || 0,\n dateParts[2] || 1,\n dateParts[3] || 0,\n dateParts[4] || 0,\n dateParts[5] || 0,\n dateParts[6] || 0\n )\n );\n }\n\n /**\n * Parses the timezone component of a ISO-8601 string representation of a date value.\n * @param dateToConvert The timezone offset as a string, e.g. '+0000', '+2000' or '-0500'.\n * @returns The number of minutes offset from UTC.\n */\n static parseDateTimeZone(dateToConvert: string): number {\n const match = /([+-])(\\d{2}):?(\\d{2})?/.exec(dateToConvert);\n if (match !== null) {\n return parseInt(match[1] + '1', 10) * -1 * (parseInt(match[2], 10) * 60) + parseInt(match[3] || '0', 10);\n } else {\n return 0;\n }\n }\n}\n"]}
1
+ {"version":3,"file":"dateAlfresco.js","sourceRoot":"","sources":["dateAlfresco.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,MAAa,YAAa,SAAQ,IAAI;IAOlC,MAAM,CAAC,SAAS,CAAC,aAAkB;QAC/B,IAAI,aAAa,YAAY,IAAI,EAAE,CAAC;YAChC,OAAO,aAAa,CAAC;QACzB,CAAC;aAAM,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;YAC3C,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC;QAED,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,MAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;QACrF,MAAM,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;QACrG,MAAM,KAAK,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACrF,MAAM,UAAU,GAAG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AC;QAC7G,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,CAAC;QACb,CAAC;IACL,CAAC;CACJ;AAjED,oCAiEC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class DateAlfresco extends Date {\n /**\n * Parses an ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDate(dateToConvert: any): Date {\n if (dateToConvert instanceof Date) {\n return dateToConvert;\n } else if (typeof dateToConvert === 'number') {\n return new Date(dateToConvert);\n }\n\n const dateLength = 10;\n const separatorPos = dateToConvert.substring(dateLength).search(/[+-]/) + dateLength;\n const dateStr = separatorPos > dateLength ? dateToConvert.substring(0, separatorPos) : dateToConvert;\n const tzStr = separatorPos > dateLength ? dateToConvert.substring(separatorPos) : '';\n const parsedDate = this.parseDateTime(dateStr);\n const tzOffsetMins = this.parseDateTimeZone(tzStr);\n parsedDate.setTime(parsedDate.getTime() + tzOffsetMins * 60000);\n return parsedDate;\n }\n\n /**\n * Parses the date component of a ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDateTime(dateToConvert: string): Date {\n // TODO: review when Safari 10 is released\n // return new Date(str.replace(/T/i, ' '));\n\n // Compatible with Safari 9.1.2\n const dateParts = dateToConvert.split(/[^0-9]/).map(function (s) {\n return parseInt(s, 10);\n });\n return new Date(\n Date.UTC(\n dateParts[0],\n dateParts[1] - 1 || 0,\n dateParts[2] || 1,\n dateParts[3] || 0,\n dateParts[4] || 0,\n dateParts[5] || 0,\n dateParts[6] || 0\n )\n );\n }\n\n /**\n * Parses the timezone component of a ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The timezone offset as a string, e.g. '+0000', '+2000' or '-0500'.\n * @returns The number of minutes offset from UTC.\n */\n static parseDateTimeZone(dateToConvert: string): number {\n const match = /([+-])(\\d{2}):?(\\d{2})?/.exec(dateToConvert);\n if (match !== null) {\n return parseInt(match[1] + '1', 10) * -1 * (parseInt(match[2], 10) * 60) + parseInt(match[3] || '0', 10);\n } else {\n return 0;\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"actions.api.js","sourceRoot":"","sources":["actions.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAA8G;AAC9G,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,UAAW,SAAQ,kBAAO;IAQnC,aAAa,CAAC,kBAA0B;QACpC,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,UAAU,CAAC,cAA8B;QACrC,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,oBAAoB;YAC1B,SAAS,EAAE,cAAc;SAC5B,CAAC,CAAC;IACP,CAAC;IAuBD,WAAW,CAAC,IAAuE;QAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qBAAqB;YAC3B,WAAW;YACX,UAAU,EAAE,4BAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAsBD,WAAW,CAAC,MAAc,EAAE,IAAuE;QAC/F,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,4BAAoB;SACnC,CAAC,CAAC;IACP,CAAC;CACJ;AArHD,gCAqHC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActionBodyExec, ActionDefinitionEntry, ActionDefinitionList, ActionExecResultEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Actions service.\n */\nexport class ActionsApi extends BaseApi {\n /**\n * Retrieve the details of an action definition\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param actionDefinitionId The identifier of an action definition.\n * @returns Promise<ActionDefinitionEntry>\n */\n actionDetails(actionDefinitionId: string): Promise<ActionDefinitionEntry> {\n throwIfNotDefined(actionDefinitionId, 'actionDefinitionId');\n\n const pathParams = {\n actionDefinitionId\n };\n\n return this.get({\n path: '/action-definitions/{actionDefinitionId}',\n pathParams\n });\n }\n\n /**\n * Execute an action\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param actionBodyExec Action execution details\n * @returns Promise<ActionExecResultEntry>\n */\n actionExec(actionBodyExec: ActionBodyExec): Promise<ActionExecResultEntry> {\n throwIfNotDefined(actionBodyExec, 'actionBodyExec');\n\n return this.post({\n path: '/action-executions',\n bodyParam: actionBodyExec\n });\n }\n\n /**\n * Retrieve list of available actions\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of all available actions\n *\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n *\n * You can use any of the following fields to order the results:\n * - name\n * - title\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n listActions(opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n opts = opts || {};\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/action-definitions',\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n\n /**\n * Retrieve actions for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Retrieve the list of actions that may be executed against the given **nodeId**.\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n * You can use any of the following fields to order the results:\n * - name\n * - title\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n nodeActions(nodeId: string, opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/action-definitions',\n pathParams,\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n}\n"]}
1
+ {"version":3,"file":"actions.api.js","sourceRoot":"","sources":["actions.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;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AG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,4BAAoB;SACnC,CAAC,CAAC;IACP,CAAC;CACJ;AAzHD,gCAyHC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActionBodyExec, ActionDefinitionEntry, ActionDefinitionList, ActionExecResultEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Actions service.\n */\nexport class ActionsApi extends BaseApi {\n /**\n * Retrieve the details of an action definition\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param actionDefinitionId The identifier of an action definition.\n * @returns Promise<ActionDefinitionEntry>\n */\n actionDetails(actionDefinitionId: string): Promise<ActionDefinitionEntry> {\n throwIfNotDefined(actionDefinitionId, 'actionDefinitionId');\n\n const pathParams = {\n actionDefinitionId\n };\n\n return this.get({\n path: '/action-definitions/{actionDefinitionId}',\n pathParams\n });\n }\n\n /**\n * Execute an action\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param actionBodyExec Action execution details\n * @returns Promise<ActionExecResultEntry>\n */\n actionExec(actionBodyExec: ActionBodyExec): Promise<ActionExecResultEntry> {\n throwIfNotDefined(actionBodyExec, 'actionBodyExec');\n\n return this.post({\n path: '/action-executions',\n bodyParam: actionBodyExec\n });\n }\n\n /**\n * Retrieve list of available actions\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of all available actions\n *\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n *\n * You can use any of the following fields to order the results:\n * - name\n * - title\n *\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n listActions(opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n opts = opts || {};\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/action-definitions',\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n\n /**\n * Retrieve actions for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Retrieve the list of actions that may be executed against the given **nodeId**.\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n * You can use any of the following fields to order the results:\n * - name\n * - title\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n nodeActions(nodeId: string, opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/action-definitions',\n pathParams,\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activities.api.js","sourceRoot":"","sources":["activities.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,4DAAyD;AACzD,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,aAAc,SAAQ,kBAAO;IAYtC,uBAAuB,CACnB,QAAgB,EAChB,IAIsB;QAEtB,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,mCACV,IAAI,KACP,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC,GACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;YACrC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,+BAAc;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AAvCD,sCAuCC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActivityPaging } from '../model/activityPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Activities service.\n */\nexport class ActivitiesApi extends BaseApi {\n /**\n * List activities\n *\n * Gets a list of activities for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @param opts.who A filter to include the user's activities only me, other user's activities only others'\n * @param opts.siteId Include only activity feed entries relating to this site.\n * @returns Promise<ActivityPaging>\n */\n listActivitiesForPerson(\n personId: string,\n opts?: {\n who?: string;\n siteId?: string;\n } & ContentPagingQuery &\n ContentFieldsQuery\n ): Promise<ActivityPaging> {\n throwIfNotDefined(personId, 'personId');\n opts = opts || {};\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n ...opts,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/activities',\n pathParams,\n queryParams,\n returnType: ActivityPaging\n });\n }\n}\n"]}
1
+ {"version":3,"file":"activities.api.js","sourceRoot":"","sources":["activities.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,4DAAyD;AACzD,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,aAAc,SAAQ,kBAAO;IAatC,uBAAuB,CACnB,QAAgB,EAChB,IAIsB;QAEtB,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,mCACV,IAAI,KACP,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC,GACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;YACrC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,+BAAc;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AAxCD,sCAwCC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActivityPaging } from '../model/activityPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Activities service.\n */\nexport class ActivitiesApi extends BaseApi {\n /**\n * List activities\n *\n * Gets a list of activities for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @param opts.who A filter to include the user's activities only me, other user's activities only others'\n * @param opts.siteId Include only activity feed entries relating to this site.\n * @returns Promise<ActivityPaging>\n */\n listActivitiesForPerson(\n personId: string,\n opts?: {\n who?: string;\n siteId?: string;\n } & ContentPagingQuery &\n ContentFieldsQuery\n ): Promise<ActivityPaging> {\n throwIfNotDefined(personId, 'personId');\n opts = opts || {};\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n ...opts,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/activities',\n pathParams,\n queryParams,\n returnType: ActivityPaging\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"audit.api.js","sourceRoot":"","sources":["audit.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAwG;AACxG,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,QAAS,SAAQ,kBAAO;IAmBjC,6BAA6B,CAAC,kBAA0B,EAAE,KAAa;QACnE,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,IAAA,0BAAiB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAWD,gBAAgB,CAAC,kBAA0B,EAAE,YAAoB;QAC7D,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,IAAA,0BAAiB,EAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,kBAAkB;YAClB,YAAY;SACf,CAAC;QAEF,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AAI,EAAE,0CAA0C;YAChD,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAxTD,4BAwTC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuditApp, AuditAppPaging, AuditBodyUpdate, AuditEntryEntry, AuditEntryPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Audit service.\n */\nexport class AuditApi extends BaseApi {\n /**\n * Permanently delete audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Permanently delete audit entries for an audit application **auditApplicationId**.\n * The **where** clause must be specified, either with an inclusive time period or for\n * an inclusive range of ids. The delete is within the context of the given audit application.\n * For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * You must have admin rights to delete audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param where Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids. For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * @return Promise<{}>\n */\n deleteAuditEntriesForAuditApp(auditApplicationId: string, where: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(where, 'where');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n where\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Permanently delete an audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to delete audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @return Promise<{}>\n */\n deleteAuditEntry(auditApplicationId: string, auditEntryId: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams\n });\n }\n\n /**\n * Get audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to retrieve audit information.\n *\n * You can use the **include** parameter to return the minimum and/or maximum audit record id for the application.\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @return Promise<AuditApp>\n */\n getAuditApp(auditApplicationId: string, opts?: ContentFieldsQuery & ContentIncludeQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to access audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @param opts Optional parameters\n * @return Promise<AuditEntryEntry>\n */\n getAuditEntry(auditApplicationId: string, auditEntryId: string, opts?: ContentFieldsQuery): Promise<AuditEntryEntry> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams,\n queryParams,\n returnType: AuditEntryEntry\n });\n }\n\n /**\n * Gets a list of audit applications in this repository.\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * This list may include pre-configured audit applications, if enabled, such as:\n *\n * - alfresco-access\n * - CMISChangeLog\n * - Alfresco Tagging Service\n * - Alfresco Sync Service (used by Enterprise Cloud Sync)\n *\n * You must have admin rights to retrieve audit information.\n * @param opts Optional parameters\n * @return Promise<AuditAppPaging>\n */\n listAuditApps(opts?: ContentPagingQuery & ContentFieldsQuery): Promise<AuditAppPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications',\n queryParams,\n returnType: AuditAppPaging\n });\n }\n\n /**\n * List audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of audit entries for audit application **auditApplicationId**.\n * You can use the **include** parameter to return additional **values** information.\n * The list can be filtered by one or more of:\n * - **createdByUser** person id\n * - **createdAt** inclusive time period\n * - **id** inclusive range of ids\n * - **valuesKey** audit entry values contains the exact matching key\n * - **valuesValue** audit entry values contains the exact matching value\n *\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * You must have admin rights to retrieve audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='jbloggs')\n * - where=(id BETWEEN ('1234', '4321')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(valuesKey='/alfresco-access/login/user')\n * - where=(valuesKey='/alfresco-access/transaction/action' and valuesValue='DELETE')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForAuditApp(\n auditApplicationId: string,\n opts?: {\n where?: string;\n orderBy?: string[];\n } & ContentPagingQuery &\n ContentFieldsQuery &\n ContentIncludeQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n opts = opts || {};\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * List audit entries for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * The list can be filtered by **createdByUser** and for a given inclusive time period.\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * This relies on the pre-configured 'alfresco-access' audit application.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='-me-')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForNode(\n nodeId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * Update audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * New audit entries will not be created for a disabled audit application until\n * it is re-enabled (and system-wide auditing is also enabled).\n * Note, it is still possible to query &/or delete any existing audit entries even\n * if auditing is disabled for the audit application.\n * You must have admin rights to update audit application.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditAppBodyUpdate The audit application to update.\n * @param opts Optional parameters\n * @returns Promise<AuditApp>\n */\n updateAuditApp(auditApplicationId: string, auditAppBodyUpdate: AuditBodyUpdate, opts?: ContentFieldsQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditAppBodyUpdate, 'auditAppBodyUpdate');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams,\n bodyParam: auditAppBodyUpdate\n });\n }\n}\n"]}
1
+ {"version":3,"file":"audit.api.js","sourceRoot":"","sources":["audit.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAwG;AACxG,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,QAAS,SAAQ,kBAAO;IAoBjC,6BAA6B,CAAC,kBAA0B,EAAE,KAAa;QACnE,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,IAAA,0BAAiB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAYD,gBAAgB,CAAC,kBAA0B,EAAE,YAAoB;QAC7D,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,IAAA,0BAAiB,EAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,kBAAkB;YAClB,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,uEAAuE;YAC7E,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAcD,WAAW,CAAC,kBAA0B,EAAE,IAA+C;QACnF,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,M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Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuditApp, AuditAppPaging, AuditBodyUpdate, AuditEntryEntry, AuditEntryPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Audit service.\n */\nexport class AuditApi extends BaseApi {\n /**\n * Permanently delete audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Permanently delete audit entries for an audit application **auditApplicationId**.\n * The **where** clause must be specified, either with an inclusive time period or for\n * an inclusive range of ids. The delete is within the context of the given audit application.\n * For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * You must have admin rights to delete audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param where Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids. For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * @return Promise<{}>\n */\n deleteAuditEntriesForAuditApp(auditApplicationId: string, where: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(where, 'where');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n where\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Permanently delete an audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to delete audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @return Promise<{}>\n */\n deleteAuditEntry(auditApplicationId: string, auditEntryId: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams\n });\n }\n\n /**\n * Get audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to retrieve audit information.\n *\n * You can use the **include** parameter to return the minimum and/or maximum audit record id for the application.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @return Promise<AuditApp>\n */\n getAuditApp(auditApplicationId: string, opts?: ContentFieldsQuery & ContentIncludeQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to access audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @param opts Optional parameters\n * @return Promise<AuditEntryEntry>\n */\n getAuditEntry(auditApplicationId: string, auditEntryId: string, opts?: ContentFieldsQuery): Promise<AuditEntryEntry> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams,\n queryParams,\n returnType: AuditEntryEntry\n });\n }\n\n /**\n * Gets a list of audit applications in this repository.\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * This list may include pre-configured audit applications, if enabled, such as:\n *\n * - alfresco-access\n * - CMISChangeLog\n * - Alfresco Tagging Service\n * - Alfresco Sync Service (used by Enterprise Cloud Sync)\n *\n * You must have admin rights to retrieve audit information.\n *\n * @param opts Optional parameters\n * @return Promise<AuditAppPaging>\n */\n listAuditApps(opts?: ContentPagingQuery & ContentFieldsQuery): Promise<AuditAppPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications',\n queryParams,\n returnType: AuditAppPaging\n });\n }\n\n /**\n * List audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of audit entries for audit application **auditApplicationId**.\n * You can use the **include** parameter to return additional **values** information.\n * The list can be filtered by one or more of:\n * - **createdByUser** person id\n * - **createdAt** inclusive time period\n * - **id** inclusive range of ids\n * - **valuesKey** audit entry values contains the exact matching key\n * - **valuesValue** audit entry values contains the exact matching value\n *\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * You must have admin rights to retrieve audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='jbloggs')\n * - where=(id BETWEEN ('1234', '4321')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(valuesKey='/alfresco-access/login/user')\n * - where=(valuesKey='/alfresco-access/transaction/action' and valuesValue='DELETE')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForAuditApp(\n auditApplicationId: string,\n opts?: {\n where?: string;\n orderBy?: string[];\n } & ContentPagingQuery &\n ContentFieldsQuery &\n ContentIncludeQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n opts = opts || {};\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * List audit entries for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * The list can be filtered by **createdByUser** and for a given inclusive time period.\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * This relies on the pre-configured 'alfresco-access' audit application.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='-me-')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForNode(\n nodeId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * Update audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * New audit entries will not be created for a disabled audit application until\n * it is re-enabled (and system-wide auditing is also enabled).\n * Note, it is still possible to query &/or delete any existing audit entries even\n * if auditing is disabled for the audit application.\n * You must have admin rights to update audit application.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditAppBodyUpdate The audit application to update.\n * @param opts Optional parameters\n * @returns Promise<AuditApp>\n */\n updateAuditApp(auditApplicationId: string, auditAppBodyUpdate: AuditBodyUpdate, opts?: ContentFieldsQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditAppBodyUpdate, 'auditAppBodyUpdate');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/audit-applications/{auditApplicationId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,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,qBAAa;SAC5B,CAAC,CAAC;IACP,CAAC;IASD,kBAAkB,CAAC,MAAc,EAAE,sBAA0C,EAAE,IAAoB;QAC/F,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QAEpE,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;YACjD,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,sBAAsB;YACjC,UAAU,EAAE,qBAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ;AAlOD,sCAkOC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { CategoryBody, CategoryEntry, CategoryLinkBody, CategoryPaging } from '../model';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type CategoryQuery = ContentFieldsQuery & ContentIncludeQuery;\n\n/**\n * Categories service.\n */\nexport class CategoriesApi extends BaseApi {\n /**\n * List of subcategories within category\n *\n * Gets a list of subcategories with category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to obtain a list of top level categories.\n *\n * You can use the **include** parameter to return additional **values** information.\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getSubcategories(categoryId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Get a category\n *\n * Get a specific category with categoryId.\n * You can use the **include** parameter to return additional **values** information.\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n getCategory(categoryId: string, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n returnType: CategoryEntry\n });\n }\n\n /**\n * List of categories that node is assigned to\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getCategoryLinksForNode(nodeId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Deletes the category **categoryId**.\n *\n * This will cause everything to be removed from the category.\n * You must have admin rights to delete a category.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n deleteCategory(categoryId: string): Promise<void> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n return this.delete({\n path: '/categories/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Unassign a node from category\n * @param nodeId The identifier of a node.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n unlinkNodeFromCategory(nodeId: string, categoryId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n nodeId,\n categoryId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/category-links/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Update a category\n *\n * Updates the category **categoryId**.\n * You must have admin rights to update a category.\n * @param categoryId The identifier of a category.\n * @param categoryBodyUpdate The updated category\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n updateCategory(categoryId: string, categoryBodyUpdate: CategoryBody, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyUpdate, 'categoryBodyUpdate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n bodyParam: categoryBodyUpdate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Create new categories\n *\n * Creates new categories within the category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to create a new top level category.\n * You must have admin rights to create a category.\n * @param categoryId The identifier of a category.\n * @param categoryBodyCreate List of categories to create.\n * @param opts Optional parameters.\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n createSubcategories(categoryId: string, categoryBodyCreate: CategoryBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyCreate, 'categoryBodyCreate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n bodyParam: categoryBodyCreate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Assign a node to a category\n * @param nodeId The identifier of a node.\n * @param categoryLinkBodyCreate The new category link\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n linkNodeToCategory(nodeId: string, categoryLinkBodyCreate: CategoryLinkBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryLinkBodyCreate, 'categoryLinkBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n bodyParam: categoryLinkBodyCreate,\n returnType: CategoryEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"categories.api.js","sourceRoot":"","sources":["categories.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAClE,oCAAyF;AAQzF,MAAa,aAAc,SAAQ,kBAAO;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,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QAEpE,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;YACjD,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,sBAAsB;YACjC,UAAU,EAAE,qBAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ;AA1OD,sCA0OC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { CategoryBody, CategoryEntry, CategoryLinkBody, CategoryPaging } from '../model';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type CategoryQuery = ContentFieldsQuery & ContentIncludeQuery;\n\n/**\n * Categories service.\n */\nexport class CategoriesApi extends BaseApi {\n /**\n * List of subcategories within category\n *\n * Gets a list of subcategories with category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to obtain a list of top level categories.\n *\n * You can use the **include** parameter to return additional **values** information.\n *\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getSubcategories(categoryId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Get a category\n *\n * Get a specific category with categoryId.\n * You can use the **include** parameter to return additional **values** information.\n *\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n getCategory(categoryId: string, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n returnType: CategoryEntry\n });\n }\n\n /**\n * List of categories that node is assigned to\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getCategoryLinksForNode(nodeId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Deletes the category **categoryId**.\n *\n * This will cause everything to be removed from the category.\n * You must have admin rights to delete a category.\n *\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n deleteCategory(categoryId: string): Promise<void> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n return this.delete({\n path: '/categories/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Unassign a node from category\n *\n * @param nodeId The identifier of a node.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n unlinkNodeFromCategory(nodeId: string, categoryId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n nodeId,\n categoryId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/category-links/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Update a category\n *\n * Updates the category **categoryId**.\n * You must have admin rights to update a category.\n *\n * @param categoryId The identifier of a category.\n * @param categoryBodyUpdate The updated category\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n updateCategory(categoryId: string, categoryBodyUpdate: CategoryBody, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyUpdate, 'categoryBodyUpdate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n bodyParam: categoryBodyUpdate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Create new categories\n *\n * Creates new categories within the category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to create a new top level category.\n * You must have admin rights to create a category.\n *\n * @param categoryId The identifier of a category.\n * @param categoryBodyCreate List of categories to create.\n * @param opts Optional parameters.\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n createSubcategories(categoryId: string, categoryBodyCreate: CategoryBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyCreate, 'categoryBodyCreate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n bodyParam: categoryBodyCreate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Assign a node to a category\n *\n * @param nodeId The identifier of a node.\n * @param categoryLinkBodyCreate The new category link\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n linkNodeToCategory(nodeId: string, categoryLinkBodyCreate: CategoryLinkBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryLinkBodyCreate, 'categoryLinkBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n bodyParam: categoryLinkBodyCreate,\n returnType: CategoryEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"comments.api.js","sourceRoot":"","sources":["comments.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,wDAAqD;AACrD,0DAAuD;AACvD,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,WAAY,SAAQ,kBAAO;IAQpC,aAAa,CAAC,MAAc,EAAE,iBAA8B,EAAE,IAAyB;QACnF,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,MAAM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,EAAE,IAAyB;QACtG,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1C,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,sCAAsC;YAC5C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,iBAAiB;YAC5B,UAAU,EAAE,2BAAY;SAC3B,CAAC,CAAC;IACP,CAAC;CACJ;AA7GD,kCA6GC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommentBody } from '../model/commentBody';\nimport { CommentEntry } from '../model/commentEntry';\nimport { CommentPaging } from '../model/commentPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Comments service.\n */\nexport class CommentsApi extends BaseApi {\n /**\n * Create a comment\n * @param nodeId The identifier of a node.\n * @param commentBodyCreate The comment text. Note that you can also provide a list of comments.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n createComment(nodeId: string, commentBodyCreate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentBodyCreate, 'commentBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n bodyParam: commentBodyCreate,\n returnType: CommentEntry\n });\n }\n\n /**\n * Delete a comment\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @returns Promise<{}>\n */\n deleteComment(nodeId: string, commentId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams\n });\n }\n\n /**\n * List comments\n *\n * Gets a list of comments for the node **nodeId**, sorted chronologically with the newest comment first.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CommentPaging>\n */\n listComments(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<CommentPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n returnType: CommentPaging\n });\n }\n\n /**\n * Update a comment\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @param commentBodyUpdate The JSON representing the comment to be updated.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n updateComment(nodeId: string, commentId: string, commentBodyUpdate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n throwIfNotDefined(commentBodyUpdate, 'commentBodyUpdate');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams,\n queryParams,\n bodyParam: commentBodyUpdate,\n returnType: CommentEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"comments.api.js","sourceRoot":"","sources":["comments.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,wDAAqD;AACrD,0DAAuD;AACvD,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,WAAY,SAAQ,kBAAO;IASpC,aAAa,CAAC,MAAc,EAAE,iBAA8B,EAAE,IAAyB;QACnF,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,iBAAiB;YAC5B,UAAU,EAAE,2BAAY;SAC3B,CAAC,CAAC;IACP,CAAC;IASD,aAAa,CAAC,MAAc,EAAE,SAAiB;QAC3C,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE1C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE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ourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommentBody } from '../model/commentBody';\nimport { CommentEntry } from '../model/commentEntry';\nimport { CommentPaging } from '../model/commentPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Comments service.\n */\nexport class CommentsApi extends BaseApi {\n /**\n * Create a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentBodyCreate The comment text. Note that you can also provide a list of comments.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n createComment(nodeId: string, commentBodyCreate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentBodyCreate, 'commentBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n bodyParam: commentBodyCreate,\n returnType: CommentEntry\n });\n }\n\n /**\n * Delete a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @returns Promise<{}>\n */\n deleteComment(nodeId: string, commentId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams\n });\n }\n\n /**\n * List comments\n *\n * Gets a list of comments for the node **nodeId**, sorted chronologically with the newest comment first.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CommentPaging>\n */\n listComments(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<CommentPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n returnType: CommentPaging\n });\n }\n\n /**\n * Update a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @param commentBodyUpdate The JSON representing the comment to be updated.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n updateComment(nodeId: string, commentId: string, commentBodyUpdate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n throwIfNotDefined(commentBodyUpdate, 'commentBodyUpdate');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams,\n queryParams,\n bodyParam: commentBodyUpdate,\n returnType: CommentEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"downloads.api.js","sourceRoot":"","sources":["downloads.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAKlE,MAAa,YAAa,SAAQ,kBAAO;IAgBrC,cAAc,CAAC,UAAkB;QAC7B,IAAA,0BAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE5C,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,yBAAyB;YAC/B,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAgBD,cAAc,CAAC,kBAAsC,EAAE,IAA4B;QAC/E,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,YAAY;YAClB,WAAW;YACX,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IAeD,WAAW,CAAC,UAAkB,EAAE,IAA4B;QACxD,IAAA,0BAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE5C,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yBAAyB;YAC/B,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;CACJ;AAvFD,oCAuFC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DownloadBodyCreate, DownloadEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\n\n/**\n * Downloads service.\n */\nexport class DownloadsApi extends BaseApi {\n /**\n * Cancel a download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Cancels the creation of a download request.\n *\n * **Note:** The download node can be deleted using the **DELETE /nodes/{downloadId}** endpoint\n *\n * By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour)\n * Information about the existing progress at the time of cancelling can be retrieved by calling the **GET /downloads/{downloadId}** endpoint\n * The cancel operation is done asynchronously.\n * @param downloadId The identifier of a download node.\n * @returns Promise<{}>\n */\n cancelDownload(downloadId: string): Promise<any> {\n throwIfNotDefined(downloadId, 'downloadId');\n\n const pathParams = {\n downloadId\n };\n\n return this.delete({\n path: '/downloads/{downloadId}',\n pathParams\n });\n }\n\n /**\n * Create a new download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * **Note:** The content of the download node can be obtained using the **GET /nodes/{downloadId}/content** endpoint\n * @param downloadBodyCreate The nodeIds the content of which will be zipped, which zip will be set as the content of our download node.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<DownloadEntry>\n */\n createDownload(downloadBodyCreate: DownloadBodyCreate, opts?: { fields?: string[] }): Promise<DownloadEntry> {\n throwIfNotDefined(downloadBodyCreate, 'downloadBodyCreate');\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/downloads',\n queryParams,\n bodyParam: downloadBodyCreate\n });\n }\n\n /**\n * Get a download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * @param downloadId The identifier of a download node.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<DownloadEntry>\n */\n getDownload(downloadId: string, opts?: { fields?: string[] }): Promise<DownloadEntry> {\n throwIfNotDefined(downloadId, 'downloadId');\n\n const pathParams = {\n downloadId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/downloads/{downloadId}',\n pathParams,\n queryParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"downloads.api.js","sourceRoot":"","sources":["downloads.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAKlE,MAAa,YAAa,SAAQ,kBAAO;IAiBrC,cAAc,CAAC,UAAkB;QAC7B,IAAA,0BAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE5C,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,yBAAyB;YAC/B,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAiBD,cAAc,CAAC,kBAAsC,EAAE,IAA4B;QAC/E,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,YAAY;YAClB,WAAW;YACX,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IAgBD,WAAW,CAAC,UAAkB,EAAE,IAA4B;QACxD,IAAA,0BAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE5C,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yBAAyB;YAC/B,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;CACJ;AA1FD,oCA0FC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DownloadBodyCreate, DownloadEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\n\n/**\n * Downloads service.\n */\nexport class DownloadsApi extends BaseApi {\n /**\n * Cancel a download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Cancels the creation of a download request.\n *\n * **Note:** The download node can be deleted using the **DELETE /nodes/{downloadId}** endpoint\n *\n * By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour)\n * Information about the existing progress at the time of cancelling can be retrieved by calling the **GET /downloads/{downloadId}** endpoint\n * The cancel operation is done asynchronously.\n *\n * @param downloadId The identifier of a download node.\n * @returns Promise<{}>\n */\n cancelDownload(downloadId: string): Promise<any> {\n throwIfNotDefined(downloadId, 'downloadId');\n\n const pathParams = {\n downloadId\n };\n\n return this.delete({\n path: '/downloads/{downloadId}',\n pathParams\n });\n }\n\n /**\n * Create a new download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * **Note:** The content of the download node can be obtained using the **GET /nodes/{downloadId}/content** endpoint\n *\n * @param downloadBodyCreate The nodeIds the content of which will be zipped, which zip will be set as the content of our download node.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<DownloadEntry>\n */\n createDownload(downloadBodyCreate: DownloadBodyCreate, opts?: { fields?: string[] }): Promise<DownloadEntry> {\n throwIfNotDefined(downloadBodyCreate, 'downloadBodyCreate');\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/downloads',\n queryParams,\n bodyParam: downloadBodyCreate\n });\n }\n\n /**\n * Get a download\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * @param downloadId The identifier of a download node.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<DownloadEntry>\n */\n getDownload(downloadId: string, opts?: { fields?: string[] }): Promise<DownloadEntry> {\n throwIfNotDefined(downloadId, 'downloadId');\n\n const pathParams = {\n downloadId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/downloads/{downloadId}',\n pathParams,\n queryParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,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AAC;QACxC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK;YAClB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8BAA8B;YACpC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,sBAAc;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AApRD,oCAoRC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FavoriteBodyCreate, FavoriteEntry, FavoritePaging, FavoriteSiteBodyCreate, FavoriteSiteEntry, SiteEntry, SitePaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Favorites service.\n */\nexport class FavoritesApi extends BaseApi {\n /**\n * Create a favorite\n *\n * Favorite a **site**, **file**, or **folder** in the repository.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param favoriteBodyCreate An object identifying the entity to be favorited.\n * The object consists of a single property which is an object with the name site, file, or folder.\n * The content of that object is the guid of the target entity.\n * @param opts Optional parameters\n * @param opts.include Returns additional information about favorites, the following optional fields can be requested:\n * - path (note, this only applies to files and folders)\n * - properties\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<FavoriteEntry>\n */\n createFavorite(\n personId: string,\n favoriteBodyCreate: FavoriteBodyCreate,\n opts?: { include?: string[]; fields?: string[] }\n ): Promise<FavoriteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteBodyCreate, 'favoriteBodyCreate');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/people/{personId}/favorites',\n pathParams,\n queryParams,\n bodyParam: favoriteBodyCreate,\n returnType: FavoriteEntry\n });\n }\n\n /**\n * Create a site favorite\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use /people/{personId}/favorites instead.\n * @param personId The identifier of a person.\n * @param favoriteSiteBodyCreate The id of the site to favorite.\n * @param opts Optional parameters\n * @returns Promise<FavoriteSiteEntry>\n */\n createSiteFavorite(personId: string, favoriteSiteBodyCreate: FavoriteSiteBodyCreate, opts?: ContentFieldsQuery): Promise<FavoriteSiteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteSiteBodyCreate, 'favoriteSiteBodyCreate');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/people/{personId}/favorite-sites',\n pathParams,\n queryParams,\n bodyParam: favoriteSiteBodyCreate\n });\n }\n\n /**\n * Delete a favorite\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param favoriteId The identifier of a favorite.\n * @returns Promise<{}>\n */\n deleteFavorite(personId: string, favoriteId: string): Promise<void> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteId, 'favoriteId');\n\n const pathParams = {\n personId,\n favoriteId\n };\n\n return this.delete({\n path: '/people/{personId}/favorites/{favoriteId}',\n pathParams\n });\n }\n\n /**\n * Delete a site favorite\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites/{favoriteId} instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param siteId The identifier of a site.\n * @returns Promise<{}>\n */\n deleteSiteFavorite(personId: string, siteId: string): Promise<void> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n return this.delete({\n path: '/people/{personId}/favorite-sites/{siteId}',\n pathParams\n });\n }\n\n /**\n * Get a favorite\n *\n * Gets favorite **favoriteId** for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param favoriteId The identifier of a favorite.\n * @param opts Optional parameters\n * @param opts.include Returns additional information about favorites, the following optional fields can be requested:\n * - path (note, this only applies to files and folders)\n * - properties\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<FavoriteEntry>\n */\n getFavorite(personId: string, favoriteId: string, opts?: { include?: string[]; fields?: string[] }): Promise<FavoriteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteId, 'favoriteId');\n\n const pathParams = {\n personId,\n favoriteId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorites/{favoriteId}',\n pathParams,\n queryParams,\n returnType: FavoriteEntry\n });\n }\n\n /**\n * Get a favorite site\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites/{favoriteId} instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<SiteEntry>\n */\n getFavoriteSite(personId: string, siteId: string, opts?: { fields?: string[] }): Promise<SiteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorite-sites/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteEntry\n });\n }\n\n /**\n * List favorite sites\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<SitePaging>\n */\n listFavoriteSitesForPerson(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SitePaging> {\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorite-sites',\n pathParams,\n queryParams,\n returnType: SitePaging\n });\n }\n\n /**\n * List favorites\n *\n * Gets a list of favorites for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param personId The identifier of a person.\n * @param opts optional parameters\n * @returns Promise<FavoritePaging>\n */\n listFavorites(\n personId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<FavoritePaging> {\n throwIfNotDefined(personId, 'personId');\n opts = opts || {};\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorites',\n pathParams,\n queryParams,\n returnType: FavoritePaging\n });\n }\n}\n"]}
1
+ {"version":3,"file":"favorites.api.js","sourceRoot":"","sources":["favorites.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAA+I;AAC/I,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAMlE,MAAa,YAAa,SAAQ,kBAAO;IAsBrC,cAAc,CACV,QAAgB,EAChB,kBAAsC,EACtC,IAAgD;QAEhD,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG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AJ,IAAI,uBAAJ,IAAI,CAAE,KAAK;YAClB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8BAA8B;YACpC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,sBAAc;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AA5RD,oCA4RC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FavoriteBodyCreate, FavoriteEntry, FavoritePaging, FavoriteSiteBodyCreate, FavoriteSiteEntry, SiteEntry, SitePaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Favorites service.\n */\nexport class FavoritesApi extends BaseApi {\n /**\n * Create a favorite\n *\n * Favorite a **site**, **file**, or **folder** in the repository.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param favoriteBodyCreate An object identifying the entity to be favorited.\n * The object consists of a single property which is an object with the name site, file, or folder.\n * The content of that object is the guid of the target entity.\n * @param opts Optional parameters\n * @param opts.include Returns additional information about favorites, the following optional fields can be requested:\n * - path (note, this only applies to files and folders)\n * - properties\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<FavoriteEntry>\n */\n createFavorite(\n personId: string,\n favoriteBodyCreate: FavoriteBodyCreate,\n opts?: { include?: string[]; fields?: string[] }\n ): Promise<FavoriteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteBodyCreate, 'favoriteBodyCreate');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/people/{personId}/favorites',\n pathParams,\n queryParams,\n bodyParam: favoriteBodyCreate,\n returnType: FavoriteEntry\n });\n }\n\n /**\n * Create a site favorite\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use /people/{personId}/favorites instead.\n *\n * @param personId The identifier of a person.\n * @param favoriteSiteBodyCreate The id of the site to favorite.\n * @param opts Optional parameters\n * @returns Promise<FavoriteSiteEntry>\n */\n createSiteFavorite(personId: string, favoriteSiteBodyCreate: FavoriteSiteBodyCreate, opts?: ContentFieldsQuery): Promise<FavoriteSiteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteSiteBodyCreate, 'favoriteSiteBodyCreate');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/people/{personId}/favorite-sites',\n pathParams,\n queryParams,\n bodyParam: favoriteSiteBodyCreate\n });\n }\n\n /**\n * Delete a favorite\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param favoriteId The identifier of a favorite.\n * @returns Promise<{}>\n */\n deleteFavorite(personId: string, favoriteId: string): Promise<void> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteId, 'favoriteId');\n\n const pathParams = {\n personId,\n favoriteId\n };\n\n return this.delete({\n path: '/people/{personId}/favorites/{favoriteId}',\n pathParams\n });\n }\n\n /**\n * Delete a site favorite\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites/{favoriteId} instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param siteId The identifier of a site.\n * @returns Promise<{}>\n */\n deleteSiteFavorite(personId: string, siteId: string): Promise<void> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n return this.delete({\n path: '/people/{personId}/favorite-sites/{siteId}',\n pathParams\n });\n }\n\n /**\n * Get a favorite\n *\n * Gets favorite **favoriteId** for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param favoriteId The identifier of a favorite.\n * @param opts Optional parameters\n * @param opts.include Returns additional information about favorites, the following optional fields can be requested:\n * - path (note, this only applies to files and folders)\n * - properties\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<FavoriteEntry>\n */\n getFavorite(personId: string, favoriteId: string, opts?: { include?: string[]; fields?: string[] }): Promise<FavoriteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(favoriteId, 'favoriteId');\n\n const pathParams = {\n personId,\n favoriteId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorites/{favoriteId}',\n pathParams,\n queryParams,\n returnType: FavoriteEntry\n });\n }\n\n /**\n * Get a favorite site\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites/{favoriteId} instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.fields A list of field names. You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<SiteEntry>\n */\n getFavoriteSite(personId: string, siteId: string, opts?: { fields?: string[] }): Promise<SiteEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorite-sites/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteEntry\n });\n }\n\n /**\n * List favorite sites\n *\n * **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future.\n * Use /people/{personId}/favorites instead.\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<SitePaging>\n */\n listFavoriteSitesForPerson(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SitePaging> {\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorite-sites',\n pathParams,\n queryParams,\n returnType: SitePaging\n });\n }\n\n /**\n * List favorites\n *\n * Gets a list of favorites for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param opts optional parameters\n * @returns Promise<FavoritePaging>\n */\n listFavorites(\n personId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<FavoritePaging> {\n throwIfNotDefined(personId, 'personId');\n opts = opts || {};\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/favorites',\n pathParams,\n queryParams,\n returnType: FavoritePaging\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"groups.api.js","sourceRoot":"","sources":["groups.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAqJ;AACrJ,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAwClE,MAAa,SAAU,SAAQ,kBAAO;IAqBlC,WAAW,CAAC,eAAgC,EAAE,IAA+C;QACzF,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,SAAS;YACf,WAAW;YACX,SAAS,EAAE,eAAe;SAC7B,CAAC,CAAC;IACP,CAAC;IAgBD,qBAAqB,CACjB,OAAe,EACf,yBAAoD,EACpD,IAAyB;QAEzB,IAAA,0B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M,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,SAAS;YACf,WAAW;YACX,UAAU,EAAE,mBAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IAYD,WAAW,CAAC,OAAe,EAAE,eAAgC,EAAE,IAA+C;QAC1G,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,IAAA,wCAAoB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mBAAmB;YACzB,UAAU;YACV,WAAW;YACX,SAAS,EAAE,eAAe;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AAxTD,8BAwTC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { GroupBodyCreate, GroupBodyUpdate, GroupEntry, GroupMemberEntry, GroupMemberPaging, GroupMembershipBodyCreate, GroupPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport interface ListGroupMembershipsOpts {\n /**\n * A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n *\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n *\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field\n */\n orderBy?: string[];\n // A string to restrict the returned objects by using a predicate.\n where?: string;\n}\n\nexport interface GroupPagingOpts {\n /**\n * A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n *\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n *\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n */\n orderBy?: string[];\n /**\n * A string to restrict the returned objects by using a predicate.\n */\n where?: string;\n}\n\nexport type DeleteGroupOpts = { cascade?: boolean };\n\n/**\n * Groups service.\n */\nexport class GroupsApi extends BaseApi {\n /**\n * Create a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Create a group.\n *\n * The group id must start with \\\"GROUP\\\\_\\\". If this is omitted it will be added automatically.\n * This format is also returned when listing groups or group memberships. It should be noted\n * that the other group-related operations also expect the id to start with \\\"GROUP\\\\_\\\".\n *\n * If one or more parentIds are specified then the group will be created and become a member of each of the specified parent groups.\n * If no parentIds are specified then the group will be created as a root group.\n * The group will be created in the **APP.DEFAULT** and **AUTH.ALF** zones.\n *\n * You must have admin rights to create a group.\n * @param groupBodyCreate The group to create.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n createGroup(groupBodyCreate: GroupBodyCreate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupBodyCreate, 'groupBodyCreate');\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/groups',\n queryParams,\n bodyParam: groupBodyCreate\n });\n }\n\n /**\n * Create a group membership\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Create a group membership (for an existing person or group) within a group **groupId**.\n * If the added group was previously a root group then it becomes a non-root group since it now has a parent.\n * It is an error to specify an **id** that does not exist.\n * You must have admin rights to create a group membership.\n * @param groupId The identifier of a group.\n * @param groupMembershipBodyCreate The group membership to add (person or sub-group).\n * @param opts Optional parameters\n * @returns Promise<GroupMemberEntry>\n */\n createGroupMembership(\n groupId: string,\n groupMembershipBodyCreate: GroupMembershipBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<GroupMemberEntry> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupMembershipBodyCreate, 'groupMembershipBodyCreate');\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/groups/{groupId}/members',\n pathParams: { groupId },\n queryParams,\n bodyParam: groupMembershipBodyCreate\n });\n }\n\n /**\n * Delete a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Delete group **groupId**.\n * The option to cascade delete applies this recursively to any hierarchy of group members.\n * In this case, removing a group member does not delete the person or sub-group itself.\n * If a removed sub-group no longer has any parent groups then it becomes a root group.\n * You must have admin rights to delete a group.\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise\n */\n deleteGroup(groupId: string, opts?: DeleteGroupOpts): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n opts = opts || {};\n\n const cascadeDelete = opts['cascade'] ? opts['cascade'] : false;\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n cascade: cascadeDelete\n };\n\n return this.delete({\n path: '/groups/{groupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete a group membership\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Delete group member **groupMemberId** (person or sub-group) from group **groupId**.\n * Removing a group member does not delete the person or sub-group itself.\\\n * If a removed sub-group no longer has any parent groups then it becomes a root group.\n * @param groupId The identifier of a group.\n * @param groupMemberId The identifier of a person or group.\n * @returns Promise<{}>\n */\n deleteGroupMembership(groupId: string, groupMemberId: string): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupMemberId, 'groupMemberId');\n\n const pathParams = {\n groupId,\n groupMemberId\n };\n\n return this.delete({\n path: '/groups/{groupId}/members/{groupMemberId}',\n pathParams\n });\n }\n\n /**\n * Get group details\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Get details for group **groupId**.\n * You can use the **include** parameter to return additional information.\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n getGroup(groupId: string, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups/{groupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List memberships of a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Gets a list of the group memberships for the group **groupId**.\n *\n * You can use the **where** parameter to filter the returned groups by **memberType**.\n * Example to filter by **memberType**, use any one of:\n * - (memberType='GROUP')\n * - (memberType='PERSON')\n *\n * The default sort order for the returned list is for group members to be sorted by ascending displayName.\n * You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter:\n * - id\n * - displayName\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise<GroupMemberPaging>\n */\n listGroupMemberships(groupId: string, opts?: ListGroupMembershipsOpts & ContentPagingQuery & ContentFieldsQuery): Promise<GroupMemberPaging> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups/{groupId}/members',\n pathParams,\n queryParams,\n returnType: GroupMemberPaging\n });\n }\n\n /**\n * List group memberships\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @param opts.skipCount The number of entities that exist in the collection before those included in this list.\n * If not supplied then the default value is 0. (default to 0)\n * @param opts.maxItems The maximum number of items to return in the list. If not supplied then the default value is 100. (default to 100)\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.include Returns additional information about the group. The following optional fields can be requested:\n * - parentIds\n * - zones\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @param opts.fields A list of field names.\n * You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<GroupPaging>\n */\n listGroupMembershipsForPerson(\n personId: string,\n opts?: GroupPagingOpts & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery\n ): Promise<GroupPaging> {\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/groups',\n pathParams,\n queryParams,\n returnType: GroupPaging\n });\n }\n\n /**\n * List groups\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * @param opts Optional parameters\n * @returns Promise<GroupPaging>\n */\n listGroups(opts?: GroupPagingOpts & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<GroupPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups',\n queryParams,\n returnType: GroupPaging\n });\n }\n\n /**\n * Update group details\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * You must have admin rights to update a group.\n * @param groupId The identifier of a group.\n * @param groupBodyUpdate The group information to update.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n updateGroup(groupId: string, groupBodyUpdate: GroupBodyUpdate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupBodyUpdate, 'groupBodyUpdate');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/groups/{groupId}',\n pathParams,\n queryParams,\n bodyParam: groupBodyUpdate\n });\n }\n}\n"]}
1
+ {"version":3,"file":"groups.api.js","sourceRoot":"","sources":["groups.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAqJ;AACrJ,yCAAqC;AACrC,4CAAoD;AACpD,kEAAkE;AAwClE,MAAa,SAAU,SAAQ,kBAAO;IAsBlC,WAAW,CAA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CAAC;YACZ,IAAI,EAAE,mBAAmB;YACzB,UAAU;YACV,WAAW;YACX,SAAS,EAAE,eAAe;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ;AAjUD,8BAiUC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { GroupBodyCreate, GroupBodyUpdate, GroupEntry, GroupMemberEntry, GroupMemberPaging, GroupMembershipBodyCreate, GroupPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport interface ListGroupMembershipsOpts {\n /**\n * A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n *\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n *\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field\n */\n orderBy?: string[];\n // A string to restrict the returned objects by using a predicate.\n where?: string;\n}\n\nexport interface GroupPagingOpts {\n /**\n * A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n *\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n *\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n */\n orderBy?: string[];\n /**\n * A string to restrict the returned objects by using a predicate.\n */\n where?: string;\n}\n\nexport type DeleteGroupOpts = { cascade?: boolean };\n\n/**\n * Groups service.\n */\nexport class GroupsApi extends BaseApi {\n /**\n * Create a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Create a group.\n *\n * The group id must start with \\\"GROUP\\\\_\\\". If this is omitted it will be added automatically.\n * This format is also returned when listing groups or group memberships. It should be noted\n * that the other group-related operations also expect the id to start with \\\"GROUP\\\\_\\\".\n *\n * If one or more parentIds are specified then the group will be created and become a member of each of the specified parent groups.\n * If no parentIds are specified then the group will be created as a root group.\n * The group will be created in the **APP.DEFAULT** and **AUTH.ALF** zones.\n *\n * You must have admin rights to create a group.\n *\n * @param groupBodyCreate The group to create.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n createGroup(groupBodyCreate: GroupBodyCreate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupBodyCreate, 'groupBodyCreate');\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/groups',\n queryParams,\n bodyParam: groupBodyCreate\n });\n }\n\n /**\n * Create a group membership\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Create a group membership (for an existing person or group) within a group **groupId**.\n * If the added group was previously a root group then it becomes a non-root group since it now has a parent.\n * It is an error to specify an **id** that does not exist.\n * You must have admin rights to create a group membership.\n *\n * @param groupId The identifier of a group.\n * @param groupMembershipBodyCreate The group membership to add (person or sub-group).\n * @param opts Optional parameters\n * @returns Promise<GroupMemberEntry>\n */\n createGroupMembership(\n groupId: string,\n groupMembershipBodyCreate: GroupMembershipBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<GroupMemberEntry> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupMembershipBodyCreate, 'groupMembershipBodyCreate');\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/groups/{groupId}/members',\n pathParams: { groupId },\n queryParams,\n bodyParam: groupMembershipBodyCreate\n });\n }\n\n /**\n * Delete a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Delete group **groupId**.\n * The option to cascade delete applies this recursively to any hierarchy of group members.\n * In this case, removing a group member does not delete the person or sub-group itself.\n * If a removed sub-group no longer has any parent groups then it becomes a root group.\n * You must have admin rights to delete a group.\n *\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise\n */\n deleteGroup(groupId: string, opts?: DeleteGroupOpts): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n opts = opts || {};\n\n const cascadeDelete = opts['cascade'] ? opts['cascade'] : false;\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n cascade: cascadeDelete\n };\n\n return this.delete({\n path: '/groups/{groupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete a group membership\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Delete group member **groupMemberId** (person or sub-group) from group **groupId**.\n * Removing a group member does not delete the person or sub-group itself.\\\n * If a removed sub-group no longer has any parent groups then it becomes a root group.\n *\n * @param groupId The identifier of a group.\n * @param groupMemberId The identifier of a person or group.\n * @returns Promise<{}>\n */\n deleteGroupMembership(groupId: string, groupMemberId: string): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupMemberId, 'groupMemberId');\n\n const pathParams = {\n groupId,\n groupMemberId\n };\n\n return this.delete({\n path: '/groups/{groupId}/members/{groupMemberId}',\n pathParams\n });\n }\n\n /**\n * Get group details\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Get details for group **groupId**.\n * You can use the **include** parameter to return additional information.\n *\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n getGroup(groupId: string, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups/{groupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List memberships of a group\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * Gets a list of the group memberships for the group **groupId**.\n *\n * You can use the **where** parameter to filter the returned groups by **memberType**.\n * Example to filter by **memberType**, use any one of:\n * - (memberType='GROUP')\n * - (memberType='PERSON')\n *\n * The default sort order for the returned list is for group members to be sorted by ascending displayName.\n * You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter:\n * - id\n * - displayName\n *\n * @param groupId The identifier of a group.\n * @param opts Optional parameters\n * @returns Promise<GroupMemberPaging>\n */\n listGroupMemberships(groupId: string, opts?: ListGroupMembershipsOpts & ContentPagingQuery & ContentFieldsQuery): Promise<GroupMemberPaging> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups/{groupId}/members',\n pathParams,\n queryParams,\n returnType: GroupMemberPaging\n });\n }\n\n /**\n * List group memberships\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @param opts.skipCount The number of entities that exist in the collection before those included in this list.\n * If not supplied then the default value is 0. (default to 0)\n * @param opts.maxItems The maximum number of items to return in the list. If not supplied then the default value is 100. (default to 100)\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.include Returns additional information about the group. The following optional fields can be requested:\n * - parentIds\n * - zones\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @param opts.fields A list of field names.\n * You can use this parameter to restrict the fields\n * returned within a response if, for example, you want to save on overall bandwidth.\n * The list applies to a returned individual entity or entries within a collection.\n * If the API method also supports the **include** parameter, then the fields specified in the **include**\n * parameter are returned in addition to those specified in the **fields** parameter.\n * @returns Promise<GroupPaging>\n */\n listGroupMembershipsForPerson(\n personId: string,\n opts?: GroupPagingOpts & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery\n ): Promise<GroupPaging> {\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/groups',\n pathParams,\n queryParams,\n returnType: GroupPaging\n });\n }\n\n /**\n * List groups\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n *\n * @param opts Optional parameters\n * @returns Promise<GroupPaging>\n */\n listGroups(opts?: GroupPagingOpts & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<GroupPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/groups',\n queryParams,\n returnType: GroupPaging\n });\n }\n\n /**\n * Update group details\n *\n * **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.\n * You must have admin rights to update a group.\n *\n * @param groupId The identifier of a group.\n * @param groupBodyUpdate The group information to update.\n * @param opts Optional parameters\n * @returns Promise<GroupEntry>\n */\n updateGroup(groupId: string, groupBodyUpdate: GroupBodyUpdate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<GroupEntry> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupBodyUpdate, 'groupBodyUpdate');\n\n const pathParams = {\n groupId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/groups/{groupId}',\n pathParams,\n queryParams,\n bodyParam: groupBodyUpdate\n });\n }\n}\n"]}