@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":"preferences.api.js","sourceRoot":"","sources":["preferences.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAA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AG;YACf,QAAQ;YACR,cAAc;SACjB,CAAC;QAEF,MAAM,SAAS,GAAG;YACd,KAAK,EAAE,eAAe;SACzB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,SAAS,EAAE,SAAS;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","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 { PreferenceEntry, PreferencePaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Preferences service.\n */\nexport class PreferencesApi extends BaseApi {\n /**\n * Get a preference\n *\n * Gets a specific preference 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 preferenceName The name of the preference.\n * @param opts Optional parameters\n * @returns Promise<PreferenceEntry>\n */\n getPreference(personId: string, preferenceName: string, opts?: ContentFieldsQuery): Promise<PreferenceEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(preferenceName, 'preferenceName');\n\n const pathParams = {\n personId,\n preferenceName\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/preferences/{preferenceName}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List preferences\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * Note that each preference consists of an **id** and a **value**.\n *\n * The **value** can be of any JSON type.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<PreferencePaging>\n */\n listPreferences(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<PreferencePaging> {\n throwIfNotDefined(personId, 'personId');\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}/preferences',\n pathParams,\n queryParams\n });\n }\n\n updatePreference(personId: string, preferenceName: string, preferenceValue: string): Promise<PreferenceEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(preferenceName, 'preferenceName');\n throwIfNotDefined(preferenceValue, 'preferenceValue');\n\n const pathParams = {\n personId,\n preferenceName\n };\n\n const bodyParam = {\n value: preferenceValue\n };\n\n return this.put({\n path: '/people/{personId}/preferences/{preferenceName}',\n pathParams,\n bodyParam: bodyParam\n });\n }\n}\n"]}
1
+ {"version":3,"file":"preferences.api.js","sourceRoot":"","sources":["preferences.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,cAAe,SAAQ,OAAO;IAYvC,aAAa,CAAC,QAAgB,EAAE,cAAsB,EAAE,IAAyB;QAC7E,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,QAAQ;YACR,cAAc;SACjB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAcD,eAAe,CAAC,QAAgB,EAAE,IAA8C;QAC5E,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,mCACV,CAAC,IAAI,IAAI,EAAE,CAAC,KACf,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC,GACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAED,gBAAgB,CAAC,QAAgB,EAAE,cAAsB,EAAE,eAAuB;QAC9E,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QACpD,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,QAAQ;YACR,cAAc;SACjB,CAAC;QAEF,MAAM,SAAS,GAAG;YACd,KAAK,EAAE,eAAe;SACzB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,SAAS,EAAE,SAAS;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","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 { PreferenceEntry, PreferencePaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Preferences service.\n */\nexport class PreferencesApi extends BaseApi {\n /**\n * Get a preference\n *\n * Gets a specific preference 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 preferenceName The name of the preference.\n * @param opts Optional parameters\n * @returns Promise<PreferenceEntry>\n */\n getPreference(personId: string, preferenceName: string, opts?: ContentFieldsQuery): Promise<PreferenceEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(preferenceName, 'preferenceName');\n\n const pathParams = {\n personId,\n preferenceName\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/preferences/{preferenceName}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List preferences\n *\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * Note that each preference consists of an **id** and a **value**.\n *\n * The **value** can be of any JSON type.\n *\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<PreferencePaging>\n */\n listPreferences(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<PreferencePaging> {\n throwIfNotDefined(personId, 'personId');\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}/preferences',\n pathParams,\n queryParams\n });\n }\n\n updatePreference(personId: string, preferenceName: string, preferenceValue: string): Promise<PreferenceEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(preferenceName, 'preferenceName');\n throwIfNotDefined(preferenceValue, 'preferenceValue');\n\n const pathParams = {\n personId,\n preferenceName\n };\n\n const bodyParam = {\n value: preferenceValue\n };\n\n return this.put({\n path: '/people/{personId}/preferences/{preferenceName}',\n pathParams,\n bodyParam: bodyParam\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"probes.api.js","sourceRoot":"","sources":["probes.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,SAAU,SAAQ,OAAO;IAelC,QAAQ,CAAC,OAAe;QACpB,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mBAAmB;YACzB,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ","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 { ProbeEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Probes service.\n */\nexport class ProbesApi extends BaseApi {\n /**\n * Check readiness and liveness of the repository\n *\n * **Note:** this endpoint is available in Alfresco 6.0 and newer versions.\n *\n * Returns a status of 200 to indicate success and 503 for failure.\n * The readiness probe is normally only used to check repository startup.\n * The liveness probe should then be used to check the repository is still responding to requests.\n * **Note:** No authentication is required to call this endpoint.\n * @param probeId The name of the probe:\n * - -ready-\n * - -live-\n * @returns Promise<ProbeEntry>\n */\n getProbe(probeId: string): Promise<ProbeEntry> {\n throwIfNotDefined(probeId, 'probeId');\n\n const pathParams = {\n probeId\n };\n\n return this.get({\n path: '/probes/{probeId}',\n pathParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"probes.api.js","sourceRoot":"","sources":["probes.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,SAAU,SAAQ,OAAO;IAgBlC,QAAQ,CAAC,OAAe;QACpB,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mBAAmB;YACzB,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ","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 { ProbeEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Probes service.\n */\nexport class ProbesApi extends BaseApi {\n /**\n * Check readiness and liveness of the repository\n *\n * **Note:** this endpoint is available in Alfresco 6.0 and newer versions.\n *\n * Returns a status of 200 to indicate success and 503 for failure.\n * The readiness probe is normally only used to check repository startup.\n * The liveness probe should then be used to check the repository is still responding to requests.\n * **Note:** No authentication is required to call this endpoint.\n *\n * @param probeId The name of the probe:\n * - -ready-\n * - -live-\n * @returns Promise<ProbeEntry>\n */\n getProbe(probeId: string): Promise<ProbeEntry> {\n throwIfNotDefined(probeId, 'probeId');\n\n const pathParams = {\n probeId\n };\n\n return this.get({\n path: '/probes/{probeId}',\n pathParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"queries.api.js","sourceRoot":"","sources":["queries.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAoClE,MAAM,OAAO,UAAW,SAAQ,OAAO;IA2BnC,SAAS,CAAC,IAAY,EAAE,IAAqF;QACzG,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,WAAW,GAAG;YAChB,IAAI;YACJ,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YAC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E,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gBAAgB;YACtB,WAAW;YACX,UAAU,EAAE,UAAU;SACzB,CAAC,CAAC;IACP,CAAC;CACJ","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 { NodePaging } from '../model/nodePaging';\nimport { PersonPaging } from '../model/personPaging';\nimport { SitePaging } from '../model/sitePaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type FindQuery = {\n /**\n * The term to search for.\n */\n term?: string;\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} & ContentPagingQuery &\n ContentFieldsQuery;\n\nexport type FindNodesQuery = {\n /**\n * The id of the node to start the search from.\n * Supports the aliases **-my-**, **-root-** and **-shared-**.\n */\n rootNodeId?: string;\n /**\n * Restrict the returned results to only those of the given node type and its sub-types\n */\n nodeType?: string;\n} & FindQuery;\n\n/**\n * Queries service.\n */\nexport class QueriesApi extends BaseApi {\n /**\n * Find nodes\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of nodes that match the given search criteria.\n *\n * The search term is used to look for nodes that match against name, title, description, full text content or tags.\n *\n * The search term:\n * - must contain a minimum of 3 alphanumeric characters\n * - allows \\\"quoted term\\\"\n * - can optionally use '*' for wildcard matching\n *\n * By default, file and folder types will be searched unless a specific type is provided as a query parameter.\n *\n * By default, the search will be across the repository unless a specific root node id is provided to start the search from.\n *\n * You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - name\n * - modifiedAt\n * - createdAt\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<NodePaging>\n */\n findNodes(term: string, opts?: FindNodesQuery & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<NodePaging> {\n throwIfNotDefined(term, 'term');\n\n const queryParams = {\n term,\n rootNodeId: opts?.rootNodeId,\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n nodeType: opts?.nodeType,\n include: buildCollectionParam(opts?.include, 'csv'),\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/queries/nodes',\n queryParams,\n returnType: NodePaging\n });\n }\n\n /**\n * Find people\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of people that match the given search criteria.\n *\n * The search term is used to look for matches against person id, firstname and lastname.\n *\n * The search term:\n * - must contain a minimum of 2 alphanumeric characters\n * - can optionally use '*' for wildcard matching within the term\n *\n * You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - firstName\n * - lastName\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<PersonPaging>\n */\n findPeople(term: string, opts?: FindQuery): Promise<PersonPaging> {\n throwIfNotDefined(term, 'term');\n opts = opts || {};\n\n const queryParams = {\n term,\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n orderBy: buildCollectionParam(opts?.orderBy, 'csv')\n };\n\n return this.get({\n path: '/queries/people',\n queryParams,\n returnType: PersonPaging\n });\n }\n\n /**\n * Find sites\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of sites that match the given search criteria.\n *\n * The search term is used to look for sites that match against site id, title or description.\n *\n * The search term:\n * - must contain a minimum of 2 alphanumeric characters\n * - can optionally use '*' for wildcard matching within the term\n *\n * The default sort order for the returned list is for sites to be sorted by ascending id.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - title\n * - description\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<SitePaging>\n */\n findSites(term: string, opts?: FindQuery): Promise<SitePaging> {\n throwIfNotDefined(term, 'term');\n\n const queryParams = {\n term,\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: '/queries/sites',\n queryParams,\n returnType: SitePaging\n });\n }\n}\n"]}
1
+ {"version":3,"file":"queries.api.js","sourceRoot":"","sources":["queries.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC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,EAAE,KAAK,CAAC;YACjD,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iBAAiB;YACvB,WAAW;YACX,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;IAyBD,SAAS,CAAC,IAAY,EAAE,IAAgB;QACpC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,WAAW,GAAG;YAChB,IAAI;YACJ,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gBAAgB;YACtB,WAAW;YACX,UAAU,EAAE,UAAU;SACzB,CAAC,CAAC;IACP,CAAC;CACJ","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 { NodePaging } from '../model/nodePaging';\nimport { PersonPaging } from '../model/personPaging';\nimport { SitePaging } from '../model/sitePaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type FindQuery = {\n /**\n * The term to search for.\n */\n term?: string;\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} & ContentPagingQuery &\n ContentFieldsQuery;\n\nexport type FindNodesQuery = {\n /**\n * The id of the node to start the search from.\n * Supports the aliases **-my-**, **-root-** and **-shared-**.\n */\n rootNodeId?: string;\n /**\n * Restrict the returned results to only those of the given node type and its sub-types\n */\n nodeType?: string;\n} & FindQuery;\n\n/**\n * Queries service.\n */\nexport class QueriesApi extends BaseApi {\n /**\n * Find nodes\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of nodes that match the given search criteria.\n *\n * The search term is used to look for nodes that match against name, title, description, full text content or tags.\n *\n * The search term:\n * - must contain a minimum of 3 alphanumeric characters\n * - allows \\\"quoted term\\\"\n * - can optionally use '*' for wildcard matching\n *\n * By default, file and folder types will be searched unless a specific type is provided as a query parameter.\n *\n * By default, the search will be across the repository unless a specific root node id is provided to start the search from.\n *\n * You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - name\n * - modifiedAt\n * - createdAt\n *\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<NodePaging>\n */\n findNodes(term: string, opts?: FindNodesQuery & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<NodePaging> {\n throwIfNotDefined(term, 'term');\n\n const queryParams = {\n term,\n rootNodeId: opts?.rootNodeId,\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n nodeType: opts?.nodeType,\n include: buildCollectionParam(opts?.include, 'csv'),\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/queries/nodes',\n queryParams,\n returnType: NodePaging\n });\n }\n\n /**\n * Find people\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of people that match the given search criteria.\n *\n * The search term is used to look for matches against person id, firstname and lastname.\n *\n * The search term:\n * - must contain a minimum of 2 alphanumeric characters\n * - can optionally use '*' for wildcard matching within the term\n *\n * You can sort the result list using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - firstName\n * - lastName\n *\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<PersonPaging>\n */\n findPeople(term: string, opts?: FindQuery): Promise<PersonPaging> {\n throwIfNotDefined(term, 'term');\n opts = opts || {};\n\n const queryParams = {\n term,\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n orderBy: buildCollectionParam(opts?.orderBy, 'csv')\n };\n\n return this.get({\n path: '/queries/people',\n queryParams,\n returnType: PersonPaging\n });\n }\n\n /**\n * Find sites\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of sites that match the given search criteria.\n *\n * The search term is used to look for sites that match against site id, title or description.\n *\n * The search term:\n * - must contain a minimum of 2 alphanumeric characters\n * - can optionally use '*' for wildcard matching within the term\n *\n * The default sort order for the returned list is for sites to be sorted by ascending id.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - title\n * - description\n *\n * @param term The term to search for.\n * @param opts Optional parameters\n * @returns Promise<SitePaging>\n */\n findSites(term: string, opts?: FindQuery): Promise<SitePaging> {\n throwIfNotDefined(term, 'term');\n\n const queryParams = {\n term,\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: '/queries/sites',\n queryParams,\n returnType: SitePaging\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ratings.api.js","sourceRoot":"","sources":["ratings.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,UAAW,SAAQ,OAAO;IAenC,YAAY,CAAC,MAAc,EAAE,gBAA4B,EAAE,IAAyB;QAChF,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;QAExD,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,yBAAyB;YAC/B,UAAU;YACV,WAAW;YACX,SAAS,EAAE,gBAAgB;YAC3B,UAAU,EAAE,WAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IAUD,YAAY,CAAC,MAAc,EAAE,QAAgB;QACzC,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,MAAM;YACN,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,oCAAoC;YAC1C,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAWD,SAAS,CAAC,MAAc,EAAE,QAAgB,EAAE,IAAyB;QACjE,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,MAAM;YACN,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,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,WAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IAUD,WAAW,CAAC,MAAc,EAAE,IAA8C;QACtE,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,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,MAAM,EAAE,oBAAoB,CAAC,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;YACX,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;CACJ","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 { RatingBody } from '../model/ratingBody';\nimport { RatingEntry } from '../model/ratingEntry';\nimport { RatingPaging } from '../model/ratingPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Ratings service.\n */\nexport class RatingsApi extends BaseApi {\n /**\n * Create a rating\n * @param nodeId The identifier of a node.\n * @param ratingBodyCreate For \\\"myRating\\\" the type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar.\n * For example, to \\\"like\\\" a file the following body would be used:\n *\n *JSON\n *{\n * \\\"id\\\": \\\"likes\\\",\n * \\\"myRating\\\": true\n * }\n * @param opts Optional parameters\n * @returns Promise<RatingEntry>\n */\n createRating(nodeId: string, ratingBodyCreate: RatingBody, opts?: ContentFieldsQuery): Promise<RatingEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingBodyCreate, 'ratingBodyCreate');\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}/ratings',\n pathParams,\n queryParams,\n bodyParam: ratingBodyCreate,\n returnType: RatingEntry\n });\n }\n\n /**\n * Delete a rating\n *\n * Deletes rating **ratingId** from node **nodeId**.\n * @param nodeId The identifier of a node.\n * @param ratingId The identifier of a rating.\n * @returns Promise<{}>\n */\n deleteRating(nodeId: string, ratingId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingId, 'ratingId');\n\n const pathParams = {\n nodeId,\n ratingId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/ratings/{ratingId}',\n pathParams\n });\n }\n\n /**\n * Get a rating\n *\n * Get the specific rating **ratingId** on node **nodeId**.\n * @param nodeId The identifier of a node.\n * @param ratingId The identifier of a rating.\n * @param opts Optional parameters\n * @returns Promise<RatingEntry>\n */\n getRating(nodeId: string, ratingId: string, opts?: ContentFieldsQuery): Promise<RatingEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingId, 'ratingId');\n\n const pathParams = {\n nodeId,\n ratingId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/ratings/{ratingId}',\n pathParams,\n queryParams,\n returnType: RatingEntry\n });\n }\n\n /**\n * List ratings\n *\n * Gets a list of ratings for node **nodeId**.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<RatingPaging>\n */\n listRatings(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<RatingPaging> {\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}/ratings',\n pathParams,\n queryParams,\n returnType: RatingPaging\n });\n }\n}\n"]}
1
+ {"version":3,"file":"ratings.api.js","sourceRoot":"","sources":["ratings.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,M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GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,WAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IAWD,WAAW,CAAC,MAAc,EAAE,IAA8C;QACtE,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,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,MAAM,EAAE,oBAAoB,CAAC,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;YACX,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;CACJ","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 { RatingBody } from '../model/ratingBody';\nimport { RatingEntry } from '../model/ratingEntry';\nimport { RatingPaging } from '../model/ratingPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Ratings service.\n */\nexport class RatingsApi extends BaseApi {\n /**\n * Create a rating\n *\n * @param nodeId The identifier of a node.\n * @param ratingBodyCreate For \\\"myRating\\\" the type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar.\n * For example, to \\\"like\\\" a file the following body would be used:\n *\n *JSON\n *{\n * \\\"id\\\": \\\"likes\\\",\n * \\\"myRating\\\": true\n * }\n * @param opts Optional parameters\n * @returns Promise<RatingEntry>\n */\n createRating(nodeId: string, ratingBodyCreate: RatingBody, opts?: ContentFieldsQuery): Promise<RatingEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingBodyCreate, 'ratingBodyCreate');\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}/ratings',\n pathParams,\n queryParams,\n bodyParam: ratingBodyCreate,\n returnType: RatingEntry\n });\n }\n\n /**\n * Delete a rating\n *\n * Deletes rating **ratingId** from node **nodeId**.\n *\n * @param nodeId The identifier of a node.\n * @param ratingId The identifier of a rating.\n * @returns Promise<{}>\n */\n deleteRating(nodeId: string, ratingId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingId, 'ratingId');\n\n const pathParams = {\n nodeId,\n ratingId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/ratings/{ratingId}',\n pathParams\n });\n }\n\n /**\n * Get a rating\n *\n * Get the specific rating **ratingId** on node **nodeId**.\n *\n * @param nodeId The identifier of a node.\n * @param ratingId The identifier of a rating.\n * @param opts Optional parameters\n * @returns Promise<RatingEntry>\n */\n getRating(nodeId: string, ratingId: string, opts?: ContentFieldsQuery): Promise<RatingEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(ratingId, 'ratingId');\n\n const pathParams = {\n nodeId,\n ratingId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/ratings/{ratingId}',\n pathParams,\n queryParams,\n returnType: RatingEntry\n });\n }\n\n /**\n * List ratings\n *\n * Gets a list of ratings for node **nodeId**.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<RatingPaging>\n */\n listRatings(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<RatingPaging> {\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}/ratings',\n pathParams,\n queryParams,\n returnType: RatingPaging\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"renditions.api.js","sourceRoot":"","sources":["renditions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,oBAAoB,EAAuB,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACtG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,aAAc,SAAQ,OAAO;IAStC,eAAe,CAAC,MAAc,EAAE,mBAAwC;QACpE,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,4BAA4B;YAClC,UAAU;YACV,SAAS,EAAE,mBAAmB;SACjC,CAAC,CAAC;IACP,CAAC;IAUD,YAAY,CAAC,MAAc,EAAE,WAAmB;QAC5C,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAE9C,MAAM,UA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MAAc,EAAE,WAAmB;QACtD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAE9C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,oEAAoE;YAC1E,UAAU;YACV,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;CACJ","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 { DirectAccessUrlEntry, RenditionBodyCreate, RenditionEntry, RenditionPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Renditions service.\n */\nexport class RenditionsApi extends BaseApi {\n /**\n * Create rendition\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param nodeId The identifier of a node.\n * @param renditionBodyCreate The rendition \\\"id\\\".\n * @returns Promise<{}>\n */\n createRendition(nodeId: string, renditionBodyCreate: RenditionBodyCreate): Promise<any> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionBodyCreate, 'renditionBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/renditions',\n pathParams,\n bodyParam: renditionBodyCreate\n });\n }\n\n /**\n * Get rendition information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param nodeId The identifier of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @returns Promise<RenditionEntry>\n */\n getRendition(nodeId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param nodeId The identifier of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @param opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list; for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and\n * the attachment will be returned in the response. (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @param opts.placeholder If **true** and there is no rendition for this **nodeId** and **renditionId**,\n * then the placeholder image for the mime type of this rendition is returned, rather than a 404 response. (default to false)\n * @returns Promise<Blob>\n */\n getRenditionContent(\n nodeId: string,\n renditionId: string,\n opts?: {\n attachment?: boolean;\n placeholder?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n const queryParams = {\n attachment: opts?.attachment,\n placeholder: opts?.placeholder\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/nodes/{nodeId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of the rendition information for each rendition of the the file **nodeId**, including the rendition id.\n * Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested.\n * You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where**\n * clause will return just the CREATED renditions:\n * - (status='CREATED')\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<RenditionPaging>\n */\n listRenditions(nodeId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/renditions',\n pathParams,\n queryParams: opts,\n returnType: RenditionPaging\n });\n }\n\n /**\n * Generate a direct access content url for a given rendition of a node\n *\n * **Note:** this endpoint is available in Alfresco 7.1 and newer versions.\n * @param nodeId The identifier of a node.\n * @param renditionId The identifier of a version\n * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string, renditionId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/renditions/{renditionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"renditions.api.js","sourceRoot":"","sources":["renditions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,oBAAoB,EAAuB,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACtG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAi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AC;QAEF,MAAM,OAAO,GAAG,CAAC,0BAA0B,CAAC,CAAC;QAE7C,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;YACV,WAAW;YACX,YAAY;YACZ,OAAO;YACP,UAAU,EAAE,MAAM;SACrB,CAAC,CAAC;IACP,CAAC;IAkBD,cAAc,CAAC,MAAc,EAAE,IAAyB;QACpD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,4BAA4B;YAClC,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,eAAe;SAC9B,CAAC,CAAC;IACP,CAAC;IAWD,sBAAsB,CAAC,MAAc,EAAE,WAAmB;QACtD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAE9C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,oEAAoE;YAC1E,UAAU;YACV,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;CACJ","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 { DirectAccessUrlEntry, RenditionBodyCreate, RenditionEntry, RenditionPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Renditions service.\n */\nexport class RenditionsApi extends BaseApi {\n /**\n * Create rendition\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param renditionBodyCreate The rendition \\\"id\\\".\n * @returns Promise<{}>\n */\n createRendition(nodeId: string, renditionBodyCreate: RenditionBodyCreate): Promise<any> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionBodyCreate, 'renditionBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/renditions',\n pathParams,\n bodyParam: renditionBodyCreate\n });\n }\n\n /**\n * Get rendition information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @returns Promise<RenditionEntry>\n */\n getRendition(nodeId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @param opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list; for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and\n * the attachment will be returned in the response. (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @param opts.placeholder If **true** and there is no rendition for this **nodeId** and **renditionId**,\n * then the placeholder image for the mime type of this rendition is returned, rather than a 404 response. (default to false)\n * @returns Promise<Blob>\n */\n getRenditionContent(\n nodeId: string,\n renditionId: string,\n opts?: {\n attachment?: boolean;\n placeholder?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n const queryParams = {\n attachment: opts?.attachment,\n placeholder: opts?.placeholder\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/nodes/{nodeId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of the rendition information for each rendition of the the file **nodeId**, including the rendition id.\n * Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested.\n * You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where**\n * clause will return just the CREATED renditions:\n * - (status='CREATED')\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<RenditionPaging>\n */\n listRenditions(nodeId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/renditions',\n pathParams,\n queryParams: opts,\n returnType: RenditionPaging\n });\n }\n\n /**\n * Generate a direct access content url for a given rendition of a node\n *\n * **Note:** this endpoint is available in Alfresco 7.1 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param renditionId The identifier of a version\n * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string, renditionId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n renditionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/renditions/{renditionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"sharedlinks.api.js","sourceRoot":"","sources":["sharedlinks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,cAAe,SAAQ,OAAO;IASvC,gBAAgB,CAAC,oBAA0C,EAAE,IAA+C;QACxG,iBAAiB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,eAAe;YACrB,WAAW;YACX,SAAS,EAAE,oBAAoB;YAC/B,UAAU,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A2D;YACjE,UAAU;YACV,WAAW;YACX,YAAY;YACZ,OAAO,EAAE,CAAC,0BAA0B,CAAC;YACrC,UAAU,EAAE,MAAM;SACrB,CAAC,CAAC;IACP,CAAC;IAeD,wBAAwB,CAAC,QAAgB;QACrC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,UAAU,EAAE,eAAe;SAC9B,CAAC,CAAC;IACP,CAAC;IAiBD,eAAe,CACX,IAIsB;QAEtB,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK;YAClB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,eAAe;YACrB,WAAW;YACX,UAAU,EAAE,gBAAgB;SAC/B,CAAC,CAAC;IACP,CAAC;CACJ","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 { RenditionEntry } from '../model/renditionEntry';\nimport { RenditionPaging } from '../model/renditionPaging';\nimport { SharedLinkBodyCreate } from '../model/sharedLinkBodyCreate';\nimport { SharedLinkBodyEmail } from '../model/sharedLinkBodyEmail';\nimport { SharedLinkEntry } from '../model/sharedLinkEntry';\nimport { SharedLinkPaging } from '../model/sharedLinkPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Sharedlinks service.\n */\nexport class SharedlinksApi extends BaseApi {\n /**\n * Create a shared link to a file\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param sharedLinkBodyCreate The nodeId to create a shared link for.\n * @param opts Optional parameters\n * @returns Promise<SharedLinkEntry>\n */\n createSharedLink(sharedLinkBodyCreate: SharedLinkBodyCreate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<SharedLinkEntry> {\n throwIfNotDefined(sharedLinkBodyCreate, 'sharedLinkBodyCreate');\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/shared-links',\n queryParams,\n bodyParam: sharedLinkBodyCreate,\n returnType: SharedLinkEntry\n });\n }\n\n /**\n * Deletes a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param sharedId The identifier of a shared link to a file.\n * @returns Promise<{}>\n */\n deleteSharedLink(sharedId: string): Promise<void> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n return this.delete({\n path: '/shared-links/{sharedId}',\n pathParams\n });\n }\n\n /**\n * Email shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param sharedId The identifier of a shared link to a file.\n * @param sharedLinkBodyEmail The shared link email to send.\n * @returns Promise<{}>\n */\n emailSharedLink(sharedId: string, sharedLinkBodyEmail: SharedLinkBodyEmail): Promise<any> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(sharedLinkBodyEmail, 'sharedLinkBodyEmail');\n\n const pathParams = {\n sharedId\n };\n\n return this.post({\n path: '/shared-links/{sharedId}/email',\n pathParams,\n bodyParam: sharedLinkBodyEmail\n });\n }\n\n /**\n * Get a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\n * @param sharedId The identifier of a shared link to a file.\n * @param opts Optional parameters\n * @returns Promise<SharedLinkEntry>\n */\n getSharedLink(sharedId: string, opts?: ContentFieldsQuery): Promise<SharedLinkEntry> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/shared-links/{sharedId}',\n pathParams,\n queryParams,\n returnType: SharedLinkEntry\n });\n }\n\n /**\n * Get shared link content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\n * @param sharedId The identifier of a shared link to a file.\n * @param opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list; for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and the attachment will be returned in the response.\n * (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @returns Promise<Blob>\n */\n getSharedLinkContent(\n sharedId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n const queryParams = {\n attachment: opts?.attachment\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream'],\n returnType: 'blob'\n });\n }\n\n /**\n * Get shared link rendition information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * This API method returns rendition information where the rendition status is CREATED,\n * which means the rendition is available to view/download.\n *\n * **Note:** No authentication is required to call this endpoint.\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 * @returns Promise<RenditionEntry>\n */\n getSharedLinkRendition(sharedId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n sharedId,\n renditionId\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get shared link rendition content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\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 opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list;\n * for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and\n * the attachment will be returned in the response. (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @returns Promise<Blob>\n */\n getSharedLinkRenditionContent(\n sharedId: string,\n renditionId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n sharedId,\n renditionId\n };\n\n const queryParams = {\n attachment: opts?.attachment\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream'],\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions for a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of the rendition information for the file with shared link identifier **sharedId**.\n * This API method returns rendition information, including the rendition id, for each rendition\n * where the rendition status is CREATED, which means the rendition is available to view/download.\n *\n * **Note:** No authentication is required to call this endpoint.\n * @param sharedId The identifier of a shared link to a file.\n * @returns Promise<RenditionPaging>\n */\n listSharedLinkRenditions(sharedId: string): Promise<RenditionPaging> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions',\n pathParams,\n returnType: RenditionPaging\n });\n }\n\n /**\n * List shared links\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Get a list of links that the current user has read permission on source node.\n * The list is ordered in descending modified order.\n *\n * **Note:** The list of links is eventually consistent so newly created shared links may not appear immediately.\n * @param opts Optional parameters\n * @param opts.where Optionally filter the list by \\\"sharedByUser\\\" `userId` of person who shared the link (can also use -me-)\n * where=(sharedByUser='jbloggs')\n * where=(sharedByUser='-me-')\n * @returns Promise<SharedLinkPaging>\n */\n listSharedLinks(\n opts?: {\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<SharedLinkPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\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: '/shared-links',\n queryParams,\n returnType: SharedLinkPaging\n });\n }\n}\n"]}
1
+ {"version":3,"file":"sharedlinks.api.js","sourceRoot":"","sources":["sharedlinks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,cAAe,SAAQ,OAAO;IAUvC,gBAAgB,CAAC,oBAA0C,EAAE,IAA+C;QACxG,iBAAiB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,eAAe;YACrB,WAAW;YACX,SAAS,EAAE,oBAAoB;YAC/B,UAAU,EAAE,eAAe;SAC9B,CAAC,CAAC;IACP,CAAC;IAUD,gBAAgB,CAAC,QAAgB;QAC7B,iBAAiB,CAAC,QAAQ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,MAAM;SACrB,CAAC,CAAC;IACP,CAAC;IAgBD,wBAAwB,CAAC,QAAgB;QACrC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,UAAU,EAAE,eAAe;SAC9B,CAAC,CAAC;IACP,CAAC;IAkBD,eAAe,CACX,IAIsB;QAEtB,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK;YAClB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,eAAe;YACrB,WAAW;YACX,UAAU,EAAE,gBAAgB;SAC/B,CAAC,CAAC;IACP,CAAC;CACJ","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 { RenditionEntry } from '../model/renditionEntry';\nimport { RenditionPaging } from '../model/renditionPaging';\nimport { SharedLinkBodyCreate } from '../model/sharedLinkBodyCreate';\nimport { SharedLinkBodyEmail } from '../model/sharedLinkBodyEmail';\nimport { SharedLinkEntry } from '../model/sharedLinkEntry';\nimport { SharedLinkPaging } from '../model/sharedLinkPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Sharedlinks service.\n */\nexport class SharedlinksApi extends BaseApi {\n /**\n * Create a shared link to a file\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param sharedLinkBodyCreate The nodeId to create a shared link for.\n * @param opts Optional parameters\n * @returns Promise<SharedLinkEntry>\n */\n createSharedLink(sharedLinkBodyCreate: SharedLinkBodyCreate, opts?: ContentIncludeQuery & ContentFieldsQuery): Promise<SharedLinkEntry> {\n throwIfNotDefined(sharedLinkBodyCreate, 'sharedLinkBodyCreate');\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/shared-links',\n queryParams,\n bodyParam: sharedLinkBodyCreate,\n returnType: SharedLinkEntry\n });\n }\n\n /**\n * Deletes a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param sharedId The identifier of a shared link to a file.\n * @returns Promise<{}>\n */\n deleteSharedLink(sharedId: string): Promise<void> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n return this.delete({\n path: '/shared-links/{sharedId}',\n pathParams\n });\n }\n\n /**\n * Email shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param sharedId The identifier of a shared link to a file.\n * @param sharedLinkBodyEmail The shared link email to send.\n * @returns Promise<{}>\n */\n emailSharedLink(sharedId: string, sharedLinkBodyEmail: SharedLinkBodyEmail): Promise<any> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(sharedLinkBodyEmail, 'sharedLinkBodyEmail');\n\n const pathParams = {\n sharedId\n };\n\n return this.post({\n path: '/shared-links/{sharedId}/email',\n pathParams,\n bodyParam: sharedLinkBodyEmail\n });\n }\n\n /**\n * Get a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\n *\n * @param sharedId The identifier of a shared link to a file.\n * @param opts Optional parameters\n * @returns Promise<SharedLinkEntry>\n */\n getSharedLink(sharedId: string, opts?: ContentFieldsQuery): Promise<SharedLinkEntry> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/shared-links/{sharedId}',\n pathParams,\n queryParams,\n returnType: SharedLinkEntry\n });\n }\n\n /**\n * Get shared link content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\n *\n * @param sharedId The identifier of a shared link to a file.\n * @param opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list; for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and the attachment will be returned in the response.\n * (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @returns Promise<Blob>\n */\n getSharedLinkContent(\n sharedId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n const queryParams = {\n attachment: opts?.attachment\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream'],\n returnType: 'blob'\n });\n }\n\n /**\n * Get shared link rendition information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * This API method returns rendition information where the rendition status is CREATED,\n * which means the rendition is available to view/download.\n *\n * **Note:** No authentication is required to call this endpoint.\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 * @returns Promise<RenditionEntry>\n */\n getSharedLinkRendition(sharedId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n sharedId,\n renditionId\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get shared link rendition content\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * **Note:** No authentication is required to call this endpoint.\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 opts Optional parameters\n * @param opts.attachment **true** enables a web browser to download the file as an attachment.\n * **false** means a web browser may preview the file in a new tab or window, but not download the file.\n * You can only set this parameter to **false** if the content type of the file is in the supported list;\n * for example, certain image files and PDF files.\n * If the content type is not supported for preview, then a value of **false** is ignored, and\n * the attachment will be returned in the response. (default to true)\n * @param opts.ifModifiedSince Only returns the content if it has been modified since the date provided.\n * Use the date format defined by HTTP. For example, Wed, 09 Mar 2016 16:56:34 GMT.\n * @param opts.range The Range header indicates the part of a document that the server should return.\n * Single part request supported, for example: bytes=1-10.\n * @returns Promise<Blob>\n */\n getSharedLinkRenditionContent(\n sharedId: string,\n renditionId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(sharedId, 'sharedId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n sharedId,\n renditionId\n };\n\n const queryParams = {\n attachment: opts?.attachment\n };\n\n const headerParams = {\n 'If-Modified-Since': opts?.ifModifiedSince,\n Range: opts?.range\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream'],\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions for a shared link\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of the rendition information for the file with shared link identifier **sharedId**.\n * This API method returns rendition information, including the rendition id, for each rendition\n * where the rendition status is CREATED, which means the rendition is available to view/download.\n *\n * **Note:** No authentication is required to call this endpoint.\n *\n * @param sharedId The identifier of a shared link to a file.\n * @returns Promise<RenditionPaging>\n */\n listSharedLinkRenditions(sharedId: string): Promise<RenditionPaging> {\n throwIfNotDefined(sharedId, 'sharedId');\n\n const pathParams = {\n sharedId\n };\n\n return this.get({\n path: '/shared-links/{sharedId}/renditions',\n pathParams,\n returnType: RenditionPaging\n });\n }\n\n /**\n * List shared links\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Get a list of links that the current user has read permission on source node.\n * The list is ordered in descending modified order.\n *\n * **Note:** The list of links is eventually consistent so newly created shared links may not appear immediately.\n *\n * @param opts Optional parameters\n * @param opts.where Optionally filter the list by \\\"sharedByUser\\\" `userId` of person who shared the link (can also use -me-)\n * where=(sharedByUser='jbloggs')\n * where=(sharedByUser='-me-')\n * @returns Promise<SharedLinkPaging>\n */\n listSharedLinks(\n opts?: {\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<SharedLinkPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\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: '/shared-links',\n queryParams,\n returnType: SharedLinkPaging\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"sites.api.js","sourceRoot":"","sources":["sites.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAIH,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAKhB,0BAA0B,EAC1B,2BAA2B,EAC3B,qCAAqC,EACrC,UAAU,EACV,aAAa,EACb,cAAc,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,QAAS,SAAQ,OAAO;IASjC,4BAA4B,CAAC,MAAc,EAAE,SAAiB,EAAE,IAA2C;QACvG,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE1C,MAAM,QAAQ,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,0BAA0B,CAAC;QAElD,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,8DAA8D;YACpE,UAAU;YACV,SAAS,EAAE,QAAQ;SACtB,CAAC,CAAC;IACP,CAAC;IAiBD,UAAU,CACN,cAA8B,EAC9B,IAAuF;QAEvF,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QACpD,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,WAAW,GAAG;YAChB,iBAAiB,EAAE,IAAI,aAA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,EACd,OAAe,EACf,wBAAkD,EAClD,IAAyB;QAEzB,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,iBAAiB,CAAC,wBAAwB,EAAE,0BAA0B,CAAC,CAAC;QAExE,MAAM,UAAU,GAAG;YACf,MAAM;YACN,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yCAAyC;YAC/C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,wBAAwB;YACnC,UAAU,EAAE,cAAc;SAC7B,CAAC,CAAC;IACP,CAAC;IAQD,yBAAyB,CAAC,MAAc,EAAE,OAAe;QACrD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,MAAM;YACN,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,yCAAyC;YAC/C,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ","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 {\n SiteBodyCreate,\n SiteBodyUpdate,\n SiteContainerEntry,\n SiteContainerPaging,\n SiteEntry,\n SiteGroupEntry,\n SiteGroupPaging,\n SiteMemberEntry,\n SiteMemberPaging,\n SiteMembershipBodyCreate,\n SiteMembershipBodyUpdate,\n SiteMembershipRequestBodyCreate,\n SiteMembershipRequestBodyUpdate,\n SiteMembershipRequestEntry,\n SiteMembershipRequestPaging,\n SiteMembershipRequestWithPersonPaging,\n SitePaging,\n SiteRoleEntry,\n SiteRolePaging\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Sites service.\n */\nexport class SitesApi extends BaseApi {\n /**\n * Approve a site membership request\n * @param siteId The identifier of a site.\n * @param inviteeId The invitee username.\n * @param opts Optional parameters\n * @param opts.siteMembershipApprovalBody Accepting a request to join, optionally, allows assignment of a role to the user.\n * @returns Promise<{}>\n */\n approveSiteMembershipRequest(siteId: string, inviteeId: string, opts?: { siteMembershipApprovalBody?: any }): Promise<any> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(inviteeId, 'inviteeId');\n\n const postBody = opts?.siteMembershipApprovalBody;\n\n const pathParams = {\n siteId,\n inviteeId\n };\n\n return this.post({\n path: '/sites/{siteId}/site-membership-requests/{inviteeId}/approve',\n pathParams,\n bodyParam: postBody\n });\n }\n\n /**\n * Create a site\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param siteBodyCreate The site details\n * @param opts Optional parameters\n * @param opts.skipConfiguration Flag to indicate whether the Share-specific (surf) configuration files for the site should not be created. (default to false)\n * @param opts.skipAddToFavorites Flag to indicate whether the site should not be added to the user's site favorites. (default to false)\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 createSite(\n siteBodyCreate: SiteBodyCreate,\n opts?: { skipConfiguration?: boolean; skipAddToFavorites?: boolean; fields?: string[] }\n ): Promise<SiteEntry> {\n throwIfNotDefined(siteBodyCreate, 'siteBodyCreate');\n opts = opts || {};\n\n const queryParams = {\n skipConfiguration: opts?.skipConfiguration,\n skipAddToFavorites: opts?.skipAddToFavorites,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites',\n queryParams,\n bodyParam: siteBodyCreate,\n returnType: SiteEntry\n });\n }\n\n /**\n * Create a site membership\n * @param siteId The identifier of a site.\n * @param siteMembershipBodyCreate The person to add and their role\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. The list applies to a returned individual\n * entity or entries within a collection. 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<SiteMemberEntry>\n */\n createSiteMembership(siteId: string, siteMembershipBodyCreate: SiteMembershipBodyCreate, opts?: { fields?: string[] }): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipBodyCreate, 'siteMembershipBodyCreate');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites/{siteId}/members',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyCreate,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Create a site membership request\n * @param personId The identifier of a person.\n * @param siteMembershipRequestBodyCreate Site membership request details\n * @param opts Optional parameters\n * @returns Promise<SiteMembershipRequestEntry>\n */\n createSiteMembershipRequestForPerson(\n personId: string,\n siteMembershipRequestBodyCreate: SiteMembershipRequestBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMembershipRequestEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteMembershipRequestBodyCreate, 'siteMembershipRequestBodyCreate');\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}/site-membership-requests',\n pathParams,\n queryParams,\n bodyParam: siteMembershipRequestBodyCreate,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Delete a site\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.permanent Flag to indicate whether the site should be permanently deleted i.e. bypass the trashcan. (default to false)\n * @returns Promise<{}>\n */\n deleteSite(siteId: string, opts?: { permanent?: boolean }): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n permanent: opts?.permanent\n };\n\n return this.delete({\n path: '/sites/{siteId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete a site membership\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @returns Promise<{}>\n */\n deleteSiteMembership(siteId: string, personId: string): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n siteId,\n personId\n };\n\n return this.delete({\n path: '/sites/{siteId}/members/{personId}',\n pathParams\n });\n }\n\n /**\n * Delete a site membership\n *\n * Deletes person **personId** as a member of site **siteId**.\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 deleteSiteMembershipForPerson(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}/sites/{siteId}',\n pathParams\n });\n }\n\n /**\n * Delete a site membership request\n *\n * Deletes the site membership request to site **siteId** 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 siteId The identifier of a site.\n * @returns Promise<{}>\n */\n deleteSiteMembershipRequestForPerson(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}/site-membership-requests/{siteId}',\n pathParams\n });\n }\n\n /**\n * Get a site\n *\n * Gets information for site **siteId**.\n *\n * You can use the **relations** parameter to include one or more related\n * entities in a single response and so reduce network traffic.\n *\n * The entity types in Alfresco are organized in a tree structure.\n * The **sites** entity has two children, **containers** and **members**.\n * The following relations parameter returns all the container and member\n * objects related to the site **siteId**:\n *\n * containers,members\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.relations Use the relations parameter to include one or more related entities in a single response.\n * @returns Promise<SiteEntry>\n */\n getSite(siteId: string, opts?: { relations?: string[] } & ContentFieldsQuery): Promise<SiteEntry> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteEntry\n });\n }\n\n /**\n * Get a site container\n *\n * Gets information on the container **containerId** in site **siteId**.\n * @param siteId The identifier of a site.\n * @param containerId The unique identifier of a site container.\n * @param opts Optional parameters\n * @returns Promise<SiteContainerEntry>\n */\n getSiteContainer(siteId: string, containerId: string, opts?: ContentFieldsQuery): Promise<SiteContainerEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(containerId, 'containerId');\n\n const pathParams = {\n siteId,\n containerId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/containers/{containerId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get a site membership\n *\n * Gets site membership information for person **personId** on site **siteId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<SiteMemberEntry>\n */\n getSiteMembership(siteId: string, personId: string, opts?: ContentFieldsQuery): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n siteId,\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/members/{personId}',\n pathParams,\n queryParams,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Get a site membership\n *\n * Gets site membership information for person **personId** on site **siteId**.\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<SiteRoleEntry>\n */\n getSiteMembershipForPerson(personId: string, siteId: string): Promise<SiteRoleEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n return this.get({\n path: '/people/{personId}/sites/{siteId}',\n pathParams,\n returnType: SiteRoleEntry\n });\n }\n\n /**\n * Get a site membership request\n *\n * Gets the site membership request for site **siteId** for person **personId**, if one exists.\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 * @returns Promise<SiteMembershipRequestEntry>\n */\n getSiteMembershipRequestForPerson(personId: string, siteId: string, opts?: ContentFieldsQuery): Promise<SiteMembershipRequestEntry> {\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}/site-membership-requests/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Get site membership requests\n *\n * You can use the **where** parameter to filter the returned site membership requests by **siteId**. For example:\n *\n * (siteId=mySite)\n *\n * The **where** parameter can also be used to filter by ***personId***. For example:\n *\n * where=(personId=person)\n *\n * This may be combined with the siteId filter, as shown below:\n *\n * where=(siteId=mySite AND personId=person))\n * @param opts Optional parameters\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SiteMembershipRequestWithPersonPaging>\n */\n getSiteMembershipRequests(opts?: { where?: string } & ContentPagingQuery & ContentFieldsQuery): Promise<SiteMembershipRequestWithPersonPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/site-membership-requests',\n queryParams,\n returnType: SiteMembershipRequestWithPersonPaging\n });\n }\n\n /**\n * List site containers\n *\n * Gets a list of containers for the site **siteId**.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteContainerPaging>\n */\n listSiteContainers(siteId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteContainerPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\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: '/sites/{siteId}/containers',\n pathParams,\n queryParams,\n returnType: SiteContainerPaging\n });\n }\n\n /**\n * List site membership requests\n *\n * Gets a list of the current site membership requests 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<SiteMembershipRequestPaging>\n */\n listSiteMembershipRequestsForPerson(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteMembershipRequestPaging> {\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}/site-membership-requests',\n pathParams,\n queryParams,\n returnType: SiteMembershipRequestPaging\n });\n }\n\n /**\n * List site memberships\n *\n * Gets a list of site memberships for site **siteId**.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteMemberPaging>\n */\n listSiteMemberships(siteId: string, opts?: { where?: string } & ContentPagingQuery & ContentFieldsQuery): Promise<SiteMemberPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n opts = opts || {};\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/members',\n pathParams,\n queryParams,\n returnType: SiteMemberPaging\n });\n }\n\n /**\n * List site memberships\n *\n * Gets a list of site membership information for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**.\n *\n * Example to filter by **visibility**, use any one of:\n * - (visibility='PRIVATE')\n * - (visibility='PUBLIC')\n * - (visibility='MODERATED')\n *\n * Example to filter by site **preset**:\n *\n * (preset='site-dashboard')\n *\n * The default sort order for the returned list is for sites to be sorted by ascending title.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - title\n * - role\n * @param personId The identifier of a person.\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.relations Use the relations parameter to include one or more related entities in a single response.\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SiteRolePaging>\n */\n listSiteMembershipsForPerson(\n personId: string,\n opts?: { where?: string; orderBy?: string[]; relations?: string[] } & ContentPagingQuery & ContentFieldsQuery\n ): Promise<SiteRolePaging> {\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 relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/people/{personId}/sites',\n pathParams,\n queryParams,\n returnType: SiteRolePaging\n });\n }\n\n /**\n * List sites\n *\n * Gets a list of sites in this repository.\n *\n * You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**.\n *\n * Example to filter by **visibility**, use any one of:\n *\n * (visibility='PRIVATE')\n * (visibility='PUBLIC')\n * (visibility='MODERATED')\n *\n * Example to filter by site **preset**:\n *\n * (preset='site-dashboard')\n *\n * The default sort order for the returned list is for sites to be sorted by ascending title.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * id\n * title\n * description\n *\n * You can use the **relations** parameter to include one or more related\n * entities in a single response and so reduce network traffic.\n *\n * The entity types in Alfresco are organized in a tree structure.\n * The **sites** entity has two children, **containers** and **members**.\n * The following relations parameter returns all the container and member\n * objects related to each site:\n *\n * containers,members\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.relations Use the relations parameter to include one or more related entities in a single response.\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SitePaging>\n */\n listSites(\n opts?: {\n orderBy?: string[];\n relations?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentFieldsQuery\n ): Promise<SitePaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/sites',\n queryParams,\n returnType: SitePaging\n });\n }\n\n /**\n * Reject a site membership request\n * @param siteId The identifier of a site.\n * @param inviteeId The invitee username.\n * @param opts Optional parameters\n * @param opts.siteMembershipRejectionBody Rejecting a request to join, optionally, allows the inclusion of comment.\n * @returns Promise<{}>\n */\n rejectSiteMembershipRequest(siteId: string, inviteeId: string, opts?: { siteMembershipRejectionBody?: any }): Promise<any> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(inviteeId, 'inviteeId');\n\n const postBody = opts?.siteMembershipRejectionBody;\n\n const pathParams = {\n siteId,\n inviteeId\n };\n\n return this.post({\n path: '/sites/{siteId}/site-membership-requests/{inviteeId}/reject',\n pathParams,\n bodyParam: postBody\n });\n }\n\n /**\n * Update a site\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Update the details for the given site **siteId**. Site Manager or otherwise a\n * (site) admin can update title, description or visibility.\n *\n * Note: the id of a site cannot be updated once the site has been created.\n * @param siteId The identifier of a site.\n * @param siteBodyUpdate The site information to update.\n * @param opts Optional parameters\n * @returns Promise<SiteEntry>\n */\n updateSite(siteId: string, siteBodyUpdate: SiteBodyUpdate, opts?: ContentFieldsQuery): Promise<SiteEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteBodyUpdate, 'siteBodyUpdate');\n\n opts = opts || {};\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}',\n pathParams,\n queryParams,\n bodyParam: siteBodyUpdate,\n returnType: SiteEntry\n });\n }\n\n /**\n * Update a site membership\n *\n * Update the membership of person **personId** in site **siteId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @param siteMembershipBodyUpdate The persons new role\n * @param opts Optional parameters\n * @returns Promise<SiteMemberEntry>\n */\n updateSiteMembership(\n siteId: string,\n personId: string,\n siteMembershipBodyUpdate: SiteMembershipBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteMembershipBodyUpdate, 'siteMembershipBodyUpdate');\n\n const pathParams = {\n siteId,\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}/members/{personId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyUpdate,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Update a site membership request\n *\n * Updates the message for the site membership request to site **siteId** 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 siteId The identifier of a site.\n * @param siteMembershipRequestBodyUpdate The new message to display\n * @param opts Optional parameters\n * @returns Promise<SiteMembershipRequestEntry>\n */\n updateSiteMembershipRequestForPerson(\n personId: string,\n siteId: string,\n siteMembershipRequestBodyUpdate: SiteMembershipRequestBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMembershipRequestEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipRequestBodyUpdate, 'siteMembershipRequestBodyUpdate');\n\n const pathParams = {\n personId,\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/people/{personId}/site-membership-requests/{siteId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipRequestBodyUpdate,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Create a site membership for group\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n * @param siteId The identifier of a site.\n * @param siteMembershipBodyCreate The group to add and it role\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n createSiteGroupMembership(\n siteId: string,\n siteMembershipBodyCreate: SiteMembershipBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipBodyCreate, 'siteMembershipBodyCreate');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites/{siteId}/group-members',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyCreate,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * List group membership for site\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteGroupPaging>\n */\n listSiteGroups(siteId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteGroupPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\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: '/sites/{siteId}/group-members',\n pathParams,\n queryParams,\n returnType: SiteGroupPaging\n });\n }\n\n /**\n * Get information about site membership of group\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * Gets site membership information for group **groupId** on site **siteId**.\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n getSiteGroupMembership(siteId: string, groupId: string, opts?: ContentFieldsQuery): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams,\n queryParams,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * Update site membership of group\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @param siteMembershipBodyUpdate The group new role\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n updateSiteGroupMembership(\n siteId: string,\n groupId: string,\n siteMembershipBodyUpdate: SiteMembershipBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(siteMembershipBodyUpdate, 'siteMembershipBodyUpdate');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyUpdate,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * Delete a group membership for site\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @returns Promise<{}>\n */\n deleteSiteGroupMembership(siteId: string, groupId: string): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n return this.delete({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"sites.api.js","sourceRoot":"","sources":["sites.api.ts"],"names":[],"mappings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AM,UAAU,GAAG;YACf,MAAM;YACN,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yCAAyC;YAC/C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,wBAAwB;YACnC,UAAU,EAAE,cAAc;SAC7B,CAAC,CAAC;IACP,CAAC;IASD,yBAAyB,CAAC,MAAc,EAAE,OAAe;QACrD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,MAAM;YACN,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,yCAAyC;YAC/C,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ","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 {\n SiteBodyCreate,\n SiteBodyUpdate,\n SiteContainerEntry,\n SiteContainerPaging,\n SiteEntry,\n SiteGroupEntry,\n SiteGroupPaging,\n SiteMemberEntry,\n SiteMemberPaging,\n SiteMembershipBodyCreate,\n SiteMembershipBodyUpdate,\n SiteMembershipRequestBodyCreate,\n SiteMembershipRequestBodyUpdate,\n SiteMembershipRequestEntry,\n SiteMembershipRequestPaging,\n SiteMembershipRequestWithPersonPaging,\n SitePaging,\n SiteRoleEntry,\n SiteRolePaging\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Sites service.\n */\nexport class SitesApi extends BaseApi {\n /**\n * Approve a site membership request\n *\n * @param siteId The identifier of a site.\n * @param inviteeId The invitee username.\n * @param opts Optional parameters\n * @param opts.siteMembershipApprovalBody Accepting a request to join, optionally, allows assignment of a role to the user.\n * @returns Promise<{}>\n */\n approveSiteMembershipRequest(siteId: string, inviteeId: string, opts?: { siteMembershipApprovalBody?: any }): Promise<any> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(inviteeId, 'inviteeId');\n\n const postBody = opts?.siteMembershipApprovalBody;\n\n const pathParams = {\n siteId,\n inviteeId\n };\n\n return this.post({\n path: '/sites/{siteId}/site-membership-requests/{inviteeId}/approve',\n pathParams,\n bodyParam: postBody\n });\n }\n\n /**\n * Create a site\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param siteBodyCreate The site details\n * @param opts Optional parameters\n * @param opts.skipConfiguration Flag to indicate whether the Share-specific (surf) configuration files for the site should not be created. (default to false)\n * @param opts.skipAddToFavorites Flag to indicate whether the site should not be added to the user's site favorites. (default to false)\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 createSite(\n siteBodyCreate: SiteBodyCreate,\n opts?: { skipConfiguration?: boolean; skipAddToFavorites?: boolean; fields?: string[] }\n ): Promise<SiteEntry> {\n throwIfNotDefined(siteBodyCreate, 'siteBodyCreate');\n opts = opts || {};\n\n const queryParams = {\n skipConfiguration: opts?.skipConfiguration,\n skipAddToFavorites: opts?.skipAddToFavorites,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites',\n queryParams,\n bodyParam: siteBodyCreate,\n returnType: SiteEntry\n });\n }\n\n /**\n * Create a site membership\n *\n * @param siteId The identifier of a site.\n * @param siteMembershipBodyCreate The person to add and their role\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. The list applies to a returned individual\n * entity or entries within a collection. 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<SiteMemberEntry>\n */\n createSiteMembership(siteId: string, siteMembershipBodyCreate: SiteMembershipBodyCreate, opts?: { fields?: string[] }): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipBodyCreate, 'siteMembershipBodyCreate');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites/{siteId}/members',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyCreate,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Create a site membership request\n *\n * @param personId The identifier of a person.\n * @param siteMembershipRequestBodyCreate Site membership request details\n * @param opts Optional parameters\n * @returns Promise<SiteMembershipRequestEntry>\n */\n createSiteMembershipRequestForPerson(\n personId: string,\n siteMembershipRequestBodyCreate: SiteMembershipRequestBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMembershipRequestEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteMembershipRequestBodyCreate, 'siteMembershipRequestBodyCreate');\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}/site-membership-requests',\n pathParams,\n queryParams,\n bodyParam: siteMembershipRequestBodyCreate,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Delete a site\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.permanent Flag to indicate whether the site should be permanently deleted i.e. bypass the trashcan. (default to false)\n * @returns Promise<{}>\n */\n deleteSite(siteId: string, opts?: { permanent?: boolean }): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n permanent: opts?.permanent\n };\n\n return this.delete({\n path: '/sites/{siteId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete a site membership\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @returns Promise<{}>\n */\n deleteSiteMembership(siteId: string, personId: string): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n siteId,\n personId\n };\n\n return this.delete({\n path: '/sites/{siteId}/members/{personId}',\n pathParams\n });\n }\n\n /**\n * Delete a site membership\n *\n * Deletes person **personId** as a member of site **siteId**.\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 deleteSiteMembershipForPerson(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}/sites/{siteId}',\n pathParams\n });\n }\n\n /**\n * Delete a site membership request\n *\n * Deletes the site membership request to site **siteId** 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 siteId The identifier of a site.\n * @returns Promise<{}>\n */\n deleteSiteMembershipRequestForPerson(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}/site-membership-requests/{siteId}',\n pathParams\n });\n }\n\n /**\n * Get a site\n *\n * Gets information for site **siteId**.\n *\n * You can use the **relations** parameter to include one or more related\n * entities in a single response and so reduce network traffic.\n *\n * The entity types in Alfresco are organized in a tree structure.\n * The **sites** entity has two children, **containers** and **members**.\n * The following relations parameter returns all the container and member\n * objects related to the site **siteId**:\n *\n * containers,members\n *\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @param opts.relations Use the relations parameter to include one or more related entities in a single response.\n * @returns Promise<SiteEntry>\n */\n getSite(siteId: string, opts?: { relations?: string[] } & ContentFieldsQuery): Promise<SiteEntry> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteEntry\n });\n }\n\n /**\n * Get a site container\n *\n * Gets information on the container **containerId** in site **siteId**.\n *\n * @param siteId The identifier of a site.\n * @param containerId The unique identifier of a site container.\n * @param opts Optional parameters\n * @returns Promise<SiteContainerEntry>\n */\n getSiteContainer(siteId: string, containerId: string, opts?: ContentFieldsQuery): Promise<SiteContainerEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(containerId, 'containerId');\n\n const pathParams = {\n siteId,\n containerId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/containers/{containerId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get a site membership\n *\n * Gets site membership information for person **personId** on site **siteId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @returns Promise<SiteMemberEntry>\n */\n getSiteMembership(siteId: string, personId: string, opts?: ContentFieldsQuery): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n\n const pathParams = {\n siteId,\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/members/{personId}',\n pathParams,\n queryParams,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Get a site membership\n *\n * Gets site membership information for person **personId** on site **siteId**.\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<SiteRoleEntry>\n */\n getSiteMembershipForPerson(personId: string, siteId: string): Promise<SiteRoleEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n personId,\n siteId\n };\n\n return this.get({\n path: '/people/{personId}/sites/{siteId}',\n pathParams,\n returnType: SiteRoleEntry\n });\n }\n\n /**\n * Get a site membership request\n *\n * Gets the site membership request for site **siteId** for person **personId**, if one exists.\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 * @returns Promise<SiteMembershipRequestEntry>\n */\n getSiteMembershipRequestForPerson(personId: string, siteId: string, opts?: ContentFieldsQuery): Promise<SiteMembershipRequestEntry> {\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}/site-membership-requests/{siteId}',\n pathParams,\n queryParams,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Get site membership requests\n *\n * You can use the **where** parameter to filter the returned site membership requests by **siteId**. For example:\n *\n * (siteId=mySite)\n *\n * The **where** parameter can also be used to filter by ***personId***. For example:\n *\n * where=(personId=person)\n *\n * This may be combined with the siteId filter, as shown below:\n *\n * where=(siteId=mySite AND personId=person))\n *\n * @param opts Optional parameters\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SiteMembershipRequestWithPersonPaging>\n */\n getSiteMembershipRequests(opts?: { where?: string } & ContentPagingQuery & ContentFieldsQuery): Promise<SiteMembershipRequestWithPersonPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/site-membership-requests',\n queryParams,\n returnType: SiteMembershipRequestWithPersonPaging\n });\n }\n\n /**\n * List site containers\n *\n * Gets a list of containers for the site **siteId**.\n *\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteContainerPaging>\n */\n listSiteContainers(siteId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteContainerPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\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: '/sites/{siteId}/containers',\n pathParams,\n queryParams,\n returnType: SiteContainerPaging\n });\n }\n\n /**\n * List site membership requests\n *\n * Gets a list of the current site membership requests 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<SiteMembershipRequestPaging>\n */\n listSiteMembershipRequestsForPerson(personId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteMembershipRequestPaging> {\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}/site-membership-requests',\n pathParams,\n queryParams,\n returnType: SiteMembershipRequestPaging\n });\n }\n\n /**\n * List site memberships\n *\n * Gets a list of site memberships for site **siteId**.\n *\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteMemberPaging>\n */\n listSiteMemberships(siteId: string, opts?: { where?: string } & ContentPagingQuery & ContentFieldsQuery): Promise<SiteMemberPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n opts = opts || {};\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n where: opts?.where,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/members',\n pathParams,\n queryParams,\n returnType: SiteMemberPaging\n });\n }\n\n /**\n * List site memberships\n *\n * Gets a list of site membership information for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**.\n *\n * Example to filter by **visibility**, use any one of:\n * - (visibility='PRIVATE')\n * - (visibility='PUBLIC')\n * - (visibility='MODERATED')\n *\n * Example to filter by site **preset**:\n *\n * (preset='site-dashboard')\n *\n * The default sort order for the returned list is for sites to be sorted by ascending title.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * - id\n * - title\n * - role\n *\n * @param personId The identifier of a person.\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.relations Use the relations parameter to include one or more related entities in a single response.\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SiteRolePaging>\n */\n listSiteMembershipsForPerson(\n personId: string,\n opts?: { where?: string; orderBy?: string[]; relations?: string[] } & ContentPagingQuery & ContentFieldsQuery\n ): Promise<SiteRolePaging> {\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 relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/people/{personId}/sites',\n pathParams,\n queryParams,\n returnType: SiteRolePaging\n });\n }\n\n /**\n * List sites\n *\n * Gets a list of sites in this repository.\n *\n * You can use the **where** parameter to filter the returned sites by **visibility** or site **preset**.\n *\n * Example to filter by **visibility**, use any one of:\n *\n * (visibility='PRIVATE')\n * (visibility='PUBLIC')\n * (visibility='MODERATED')\n *\n * Example to filter by site **preset**:\n *\n * (preset='site-dashboard')\n *\n * The default sort order for the returned list is for sites to be sorted by ascending title.\n * You can override the default by using the **orderBy** parameter. You can specify one or more of the following fields in the **orderBy** parameter:\n * id\n * title\n * description\n *\n * You can use the **relations** parameter to include one or more related\n * entities in a single response and so reduce network traffic.\n *\n * The entity types in Alfresco are organized in a tree structure.\n * The **sites** entity has two children, **containers** and **members**.\n * The following relations parameter returns all the container and member\n * objects related to each site:\n *\n * containers,members\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 * @param opts.relations Use the relations parameter to include one or more related entities in a single response.\n * @param opts.where A string to restrict the returned objects by using a predicate.\n * @returns Promise<SitePaging>\n */\n listSites(\n opts?: {\n orderBy?: string[];\n relations?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentFieldsQuery\n ): Promise<SitePaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n relations: buildCollectionParam(opts?.relations, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/sites',\n queryParams,\n returnType: SitePaging\n });\n }\n\n /**\n * Reject a site membership request\n *\n * @param siteId The identifier of a site.\n * @param inviteeId The invitee username.\n * @param opts Optional parameters\n * @param opts.siteMembershipRejectionBody Rejecting a request to join, optionally, allows the inclusion of comment.\n * @returns Promise<{}>\n */\n rejectSiteMembershipRequest(siteId: string, inviteeId: string, opts?: { siteMembershipRejectionBody?: any }): Promise<any> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(inviteeId, 'inviteeId');\n\n const postBody = opts?.siteMembershipRejectionBody;\n\n const pathParams = {\n siteId,\n inviteeId\n };\n\n return this.post({\n path: '/sites/{siteId}/site-membership-requests/{inviteeId}/reject',\n pathParams,\n bodyParam: postBody\n });\n }\n\n /**\n * Update a site\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Update the details for the given site **siteId**. Site Manager or otherwise a\n * (site) admin can update title, description or visibility.\n *\n * Note: the id of a site cannot be updated once the site has been created.\n *\n * @param siteId The identifier of a site.\n * @param siteBodyUpdate The site information to update.\n * @param opts Optional parameters\n * @returns Promise<SiteEntry>\n */\n updateSite(siteId: string, siteBodyUpdate: SiteBodyUpdate, opts?: ContentFieldsQuery): Promise<SiteEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteBodyUpdate, 'siteBodyUpdate');\n\n opts = opts || {};\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}',\n pathParams,\n queryParams,\n bodyParam: siteBodyUpdate,\n returnType: SiteEntry\n });\n }\n\n /**\n * Update a site membership\n *\n * Update the membership of person **personId** in site **siteId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n *\n * @param siteId The identifier of a site.\n * @param personId The identifier of a person.\n * @param siteMembershipBodyUpdate The persons new role\n * @param opts Optional parameters\n * @returns Promise<SiteMemberEntry>\n */\n updateSiteMembership(\n siteId: string,\n personId: string,\n siteMembershipBodyUpdate: SiteMembershipBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMemberEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteMembershipBodyUpdate, 'siteMembershipBodyUpdate');\n\n const pathParams = {\n siteId,\n personId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}/members/{personId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyUpdate,\n returnType: SiteMemberEntry\n });\n }\n\n /**\n * Update a site membership request\n *\n * Updates the message for the site membership request to site **siteId** 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 siteId The identifier of a site.\n * @param siteMembershipRequestBodyUpdate The new message to display\n * @param opts Optional parameters\n * @returns Promise<SiteMembershipRequestEntry>\n */\n updateSiteMembershipRequestForPerson(\n personId: string,\n siteId: string,\n siteMembershipRequestBodyUpdate: SiteMembershipRequestBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteMembershipRequestEntry> {\n throwIfNotDefined(personId, 'personId');\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipRequestBodyUpdate, 'siteMembershipRequestBodyUpdate');\n\n const pathParams = {\n personId,\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/people/{personId}/site-membership-requests/{siteId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipRequestBodyUpdate,\n returnType: SiteMembershipRequestEntry\n });\n }\n\n /**\n * Create a site membership for group\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n *\n * @param siteId The identifier of a site.\n * @param siteMembershipBodyCreate The group to add and it role\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n createSiteGroupMembership(\n siteId: string,\n siteMembershipBodyCreate: SiteMembershipBodyCreate,\n opts?: ContentFieldsQuery\n ): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(siteMembershipBodyCreate, 'siteMembershipBodyCreate');\n\n const pathParams = {\n siteId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/sites/{siteId}/group-members',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyCreate,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * List group membership for site\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * @param siteId The identifier of a site.\n * @param opts Optional parameters\n * @returns Promise<SiteGroupPaging>\n */\n listSiteGroups(siteId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<SiteGroupPaging> {\n throwIfNotDefined(siteId, 'siteId');\n\n const pathParams = {\n siteId\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: '/sites/{siteId}/group-members',\n pathParams,\n queryParams,\n returnType: SiteGroupPaging\n });\n }\n\n /**\n * Get information about site membership of group\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * Gets site membership information for group **groupId** on site **siteId**.\n *\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n getSiteGroupMembership(siteId: string, groupId: string, opts?: ContentFieldsQuery): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams,\n queryParams,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * Update site membership of group\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * You can set the **role** to one of four types:\n * - SiteConsumer\n * - SiteCollaborator\n * - SiteContributor\n * - SiteManager\n *\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @param siteMembershipBodyUpdate The group new role\n * @param opts Optional parameters\n * @returns Promise<SiteGroupEntry>\n */\n updateSiteGroupMembership(\n siteId: string,\n groupId: string,\n siteMembershipBodyUpdate: SiteMembershipBodyUpdate,\n opts?: ContentFieldsQuery\n ): Promise<SiteGroupEntry> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(siteMembershipBodyUpdate, 'siteMembershipBodyUpdate');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams,\n queryParams,\n bodyParam: siteMembershipBodyUpdate,\n returnType: SiteGroupEntry\n });\n }\n\n /**\n * Delete a group membership for site\n *\n * @param siteId The identifier of a site.\n * @param groupId The authorityId of a group.\n * @returns Promise<{}>\n */\n deleteSiteGroupMembership(siteId: string, groupId: string): Promise<void> {\n throwIfNotDefined(siteId, 'siteId');\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n siteId,\n groupId\n };\n\n return this.delete({\n path: '/sites/{siteId}/group-members/{groupId}',\n pathParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"tags.api.js","sourceRoot":"","sources":["tags.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OA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SAClB,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,MAAc,EAAE,IAAe;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,SAAS;SACxB,CAAC,CAAC;IACP,CAAC;IAQD,eAAe,CAAC,MAAc,EAAE,GAAY;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","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 { TagBody } from '../model/tagBody';\nimport { TagEntry } from '../model/tagEntry';\nimport { TagPaging } from '../model/tagPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Tags service.\n */\nexport class TagsApi extends BaseApi {\n /**\n * Create a tag for a node\n * @param nodeId The identifier of a node.\n * @param tagBodyCreate The new tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n createTagForNode(nodeId: string, tagBodyCreate: TagBody[], opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagBodyCreate, 'tagBodyCreate');\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}/tags',\n pathParams,\n queryParams,\n bodyParam: tagBodyCreate,\n returnType: TagEntry\n });\n }\n\n /**\n * Delete a tag from a node\n * @param nodeId The identifier of a node.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTagFromNode(nodeId: string, tagId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n nodeId,\n tagId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Get a tag\n * @param tagId The identifier of a tag.\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n getTag(tagId: string, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n returnType: TagEntry\n });\n }\n\n /**\n * List tags\n * @param opts Optional parameters\n * @param opts.tag Name or pattern for which tag is returned. Example of pattern: *test* which returns tags like 'my test 1'\n * @param opts.matching Switches filtering to pattern mode instead of exact mode.\n * @returns Promise<TagPaging>\n */\n listTags(opts?: { tag?: string; matching?: boolean } & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<TagPaging> {\n opts = opts || {};\n\n const pathParams = {};\n\n let where: string;\n if (opts?.tag) {\n where = opts.matching ? `(tag matches ('${opts.tag}'))` : `(tag='${opts.tag}')`;\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 where\n };\n\n return this.get({\n path: '/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * List tags for a node\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<TagPaging>\n */\n listTagsForNode(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<TagPaging> {\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}/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * Update a tag\n * @param tagId The identifier of a tag.\n * @param tagBodyUpdate The updated tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n updateTag(tagId: string, tagBodyUpdate: TagBody, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n throwIfNotDefined(tagBodyUpdate, 'tagBodyUpdate');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n bodyParam: tagBodyUpdate,\n returnType: TagEntry\n });\n }\n\n /**\n * Deletes a tag by **tagId**. This will cause the tag to be removed from all nodes.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTag(tagId: string): Promise<void> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n return this.delete({\n path: '/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Create specified by **tags** list of tags.\n * @param tags List of tags to create.\n * @returns Promise<TagEntry | TagPaging>\n */\n createTags(tags: TagBody[]): Promise<TagEntry | TagPaging> {\n throwIfNotDefined(tags, 'tags');\n\n return this.post({\n path: '/tags',\n bodyParam: tags\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tags List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagPaging>\n */\n assignTagsToNode(nodeId: string, tags: TagBody[]): Promise<TagPaging> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tags,\n returnType: TagPaging\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tag List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagEntry>\n */\n assignTagToNode(nodeId: string, tag: TagBody): Promise<TagEntry> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tag,\n returnType: TagEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"tags.api.js","sourceRoot":"","sources":["tags.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,OAAQ,SAAQ,OAAO;IAShC,gBAAgB,CAAC,MAAc,EAAE,aAAwB,EAAE,IAAyB;QAChF,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;QAElD,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,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E,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,eAAe;YACrB,UAAU;YACV,WAAW;YACX,SAAS,EAAE,aAAa;YACxB,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;IAQD,SAAS,CAAC,KAAa;QACnB,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,eAAe;YACrB,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,UAAU,CAAC,IAAe;QACtB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,OAAO;YACb,SAAS,EAAE,IAAI;SAClB,CAAC,CAAC;IACP,CAAC;IASD,gBAAgB,CAAC,MAAc,EAAE,IAAe;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,SAAS;SACxB,CAAC,CAAC;IACP,CAAC;IASD,eAAe,CAAC,MAAc,EAAE,GAAY;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","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 { TagBody } from '../model/tagBody';\nimport { TagEntry } from '../model/tagEntry';\nimport { TagPaging } from '../model/tagPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Tags service.\n */\nexport class TagsApi extends BaseApi {\n /**\n * Create a tag for a node\n *\n * @param nodeId The identifier of a node.\n * @param tagBodyCreate The new tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n createTagForNode(nodeId: string, tagBodyCreate: TagBody[], opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagBodyCreate, 'tagBodyCreate');\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}/tags',\n pathParams,\n queryParams,\n bodyParam: tagBodyCreate,\n returnType: TagEntry\n });\n }\n\n /**\n * Delete a tag from a node\n *\n * @param nodeId The identifier of a node.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTagFromNode(nodeId: string, tagId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n nodeId,\n tagId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Get a tag\n *\n * @param tagId The identifier of a tag.\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n getTag(tagId: string, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n returnType: TagEntry\n });\n }\n\n /**\n * List tags\n *\n * @param opts Optional parameters\n * @param opts.tag Name or pattern for which tag is returned. Example of pattern: *test* which returns tags like 'my test 1'\n * @param opts.matching Switches filtering to pattern mode instead of exact mode.\n * @returns Promise<TagPaging>\n */\n listTags(opts?: { tag?: string; matching?: boolean } & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<TagPaging> {\n opts = opts || {};\n\n const pathParams = {};\n\n let where: string;\n if (opts?.tag) {\n where = opts.matching ? `(tag matches ('${opts.tag}'))` : `(tag='${opts.tag}')`;\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 where\n };\n\n return this.get({\n path: '/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * List tags for a node\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<TagPaging>\n */\n listTagsForNode(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<TagPaging> {\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}/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * Update a tag\n *\n * @param tagId The identifier of a tag.\n * @param tagBodyUpdate The updated tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n updateTag(tagId: string, tagBodyUpdate: TagBody, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n throwIfNotDefined(tagBodyUpdate, 'tagBodyUpdate');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n bodyParam: tagBodyUpdate,\n returnType: TagEntry\n });\n }\n\n /**\n * Deletes a tag by **tagId**. This will cause the tag to be removed from all nodes.\n *\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTag(tagId: string): Promise<void> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n return this.delete({\n path: '/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Create specified by **tags** list of tags.\n *\n * @param tags List of tags to create.\n * @returns Promise<TagEntry | TagPaging>\n */\n createTags(tags: TagBody[]): Promise<TagEntry | TagPaging> {\n throwIfNotDefined(tags, 'tags');\n\n return this.post({\n path: '/tags',\n bodyParam: tags\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n *\n * @param nodeId Id of node to which tags should be assigned.\n * @param tags List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagPaging>\n */\n assignTagsToNode(nodeId: string, tags: TagBody[]): Promise<TagPaging> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tags,\n returnType: TagPaging\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n *\n * @param nodeId Id of node to which tags should be assigned.\n * @param tag List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagEntry>\n */\n assignTagToNode(nodeId: string, tag: TagBody): Promise<TagEntry> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tag,\n returnType: TagEntry\n });\n }\n}\n"]}