@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":"trashcan.api.js","sourceRoot":"","sources":["trashcan.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EA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I,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,iCAAiC;YACvC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,sBAAsB;YACvC,UAAU,EAAE,SAAS;SACxB,CAAC,CAAC;IACP,CAAC;IASD,sBAAsB,CAAC,MAAc;QACjC,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAUD,+BAA+B,CAAC,MAAc,EAAE,WAAmB;QAC/D,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,4EAA4E;YAClF,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 { DeletedNodeEntry } from '../model/deletedNodeEntry';\nimport { DeletedNodesPaging } from '../model/deletedNodesPaging';\nimport { DirectAccessUrlEntry } from '../model/directAccessUrlEntry';\nimport { NodeEntry } from '../model/nodeEntry';\nimport { RenditionEntry } from '../model/renditionEntry';\nimport { RenditionPaging } from '../model/renditionPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Trashcan service.\n * @module TrashcanApi\n */\nexport class TrashcanApi extends BaseApi {\n /**\n * Permanently delete a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param nodeId The identifier of a node.\n * @returns Promise<{}>\n */\n deleteDeletedNode(nodeId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.delete({\n path: '/deleted-nodes/{nodeId}',\n pathParams\n });\n }\n\n /**\n * Get rendition information for a deleted node\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 getArchivedNodeRendition(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: '/deleted-nodes/{nodeId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content of a deleted node\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;\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 * @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 getArchivedNodeRenditionContent(\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 opts = opts || {};\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 return this.get({\n path: '/deleted-nodes/{nodeId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream']\n });\n }\n\n /**\n * Get a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<DeletedNodeEntry>\n */\n getDeletedNode(nodeId: string, opts?: ContentIncludeQuery): Promise<DeletedNodeEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/deleted-nodes/{nodeId}',\n pathParams,\n queryParams,\n returnType: DeletedNodeEntry\n });\n }\n\n /**\n * Get deleted node 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 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 getDeletedNodeContent(\n nodeId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\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 const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/deleted-nodes/{nodeId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions for a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Each rendition returned has a **status**: `CREATED` means it is available to view or download,\n * `NOT_CREATED` means the rendition can be requested.\n *\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 *\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 listDeletedNodeRenditions(nodeId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n where: opts?.where\n };\n\n return this.get({\n path: '/deleted-nodes/{nodeId}/renditions',\n pathParams,\n queryParams,\n returnType: RenditionPaging\n });\n }\n\n /**\n * List deleted nodes\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of deleted nodes for the current user.\n * If the current user is an administrator deleted nodes for all users will be returned.\n * The list of deleted nodes will be ordered with the most recently deleted node at the top of the list.\n * @param opts Optional parameters\n * @returns Promise<DeletedNodesPaging>\n */\n listDeletedNodes(opts?: ContentPagingQuery & ContentIncludeQuery): Promise<DeletedNodesPaging> {\n const queryParams = {\n ...(opts || {}),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/deleted-nodes',\n queryParams,\n returnType: DeletedNodesPaging\n });\n }\n\n /**\n * Restore a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Attempts to restore the deleted node **nodeId** to its original location or to a new location.\n *\n * If the node is successfully restored to its former primary parent, then only the\n * primary child association will be restored, including recursively for any primary\n * children. It should be noted that no other secondary child associations or peer\n * associations will be restored, for any of the nodes within the primary parent-child\n * hierarchy of restored nodes, irrespective of whether these associations were to\n * nodes within or outside the restored hierarchy.\n *\n * Also, any previously shared link will not be restored since it is deleted at the time\n * of delete of each node.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.deletedNodeBodyRestore The targetParentId if the node is restored to a new location.\n * @returns Promise<NodeEntry>\n */\n restoreDeletedNode(\n nodeId: string,\n opts?: {\n deletedNodeBodyRestore?: {\n targetParentId?: string;\n assocType?: string;\n };\n } & ContentFieldsQuery\n ): Promise<NodeEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\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: '/deleted-nodes/{nodeId}/restore',\n pathParams,\n queryParams,\n bodyParam: opts?.deletedNodeBodyRestore,\n returnType: NodeEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given deleted node\n *\n * **Note:** this endpoint is available in Alfresco 7.1 and newer versions.\n * @param nodeId The identifier of a node.\n * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/deleted-nodes/{nodeId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given rendition of a deleted 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 requestRenditionDirectAccessUrl(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: '/deleted-nodes/{nodeId}/renditions/{renditionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"trashcan.api.js","sourceRoot":"","sources":["trashcan.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAQlE,MAAM,OAAO,WAAY,SAAQ,OAAO;IASpC,iBAAiB,CAAC,MAAc;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AoB;SACnC,CAAC,CAAC;IACP,CAAC;IAWD,+BAA+B,CAAC,MAAc,EAAE,WAAmB;QAC/D,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,4EAA4E;YAClF,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 { DeletedNodeEntry } from '../model/deletedNodeEntry';\nimport { DeletedNodesPaging } from '../model/deletedNodesPaging';\nimport { DirectAccessUrlEntry } from '../model/directAccessUrlEntry';\nimport { NodeEntry } from '../model/nodeEntry';\nimport { RenditionEntry } from '../model/renditionEntry';\nimport { RenditionPaging } from '../model/renditionPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Trashcan service.\n *\n * @module TrashcanApi\n */\nexport class TrashcanApi extends BaseApi {\n /**\n * Permanently delete a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @returns Promise<{}>\n */\n deleteDeletedNode(nodeId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.delete({\n path: '/deleted-nodes/{nodeId}',\n pathParams\n });\n }\n\n /**\n * Get rendition information for a deleted node\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 getArchivedNodeRendition(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: '/deleted-nodes/{nodeId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content of a deleted node\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;\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 * @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 getArchivedNodeRenditionContent(\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 opts = opts || {};\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 return this.get({\n path: '/deleted-nodes/{nodeId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts: ['application/octet-stream']\n });\n }\n\n /**\n * Get a deleted node\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 opts Optional parameters\n * @returns Promise<DeletedNodeEntry>\n */\n getDeletedNode(nodeId: string, opts?: ContentIncludeQuery): Promise<DeletedNodeEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/deleted-nodes/{nodeId}',\n pathParams,\n queryParams,\n returnType: DeletedNodeEntry\n });\n }\n\n /**\n * Get deleted node 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 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 getDeletedNodeContent(\n nodeId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\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 const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/deleted-nodes/{nodeId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List renditions for a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Each rendition returned has a **status**: `CREATED` means it is available to view or download,\n * `NOT_CREATED` means the rendition can be requested.\n *\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 *\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 listDeletedNodeRenditions(nodeId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n where: opts?.where\n };\n\n return this.get({\n path: '/deleted-nodes/{nodeId}/renditions',\n pathParams,\n queryParams,\n returnType: RenditionPaging\n });\n }\n\n /**\n * List deleted nodes\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets a list of deleted nodes for the current user.\n * If the current user is an administrator deleted nodes for all users will be returned.\n * The list of deleted nodes will be ordered with the most recently deleted node at the top of the list.\n *\n * @param opts Optional parameters\n * @returns Promise<DeletedNodesPaging>\n */\n listDeletedNodes(opts?: ContentPagingQuery & ContentIncludeQuery): Promise<DeletedNodesPaging> {\n const queryParams = {\n ...(opts || {}),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/deleted-nodes',\n queryParams,\n returnType: DeletedNodesPaging\n });\n }\n\n /**\n * Restore a deleted node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Attempts to restore the deleted node **nodeId** to its original location or to a new location.\n *\n * If the node is successfully restored to its former primary parent, then only the\n * primary child association will be restored, including recursively for any primary\n * children. It should be noted that no other secondary child associations or peer\n * associations will be restored, for any of the nodes within the primary parent-child\n * hierarchy of restored nodes, irrespective of whether these associations were to\n * nodes within or outside the restored hierarchy.\n *\n * Also, any previously shared link will not be restored since it is deleted at the time\n * of delete of each node.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.deletedNodeBodyRestore The targetParentId if the node is restored to a new location.\n * @returns Promise<NodeEntry>\n */\n restoreDeletedNode(\n nodeId: string,\n opts?: {\n deletedNodeBodyRestore?: {\n targetParentId?: string;\n assocType?: string;\n };\n } & ContentFieldsQuery\n ): Promise<NodeEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\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: '/deleted-nodes/{nodeId}/restore',\n pathParams,\n queryParams,\n bodyParam: opts?.deletedNodeBodyRestore,\n returnType: NodeEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given deleted 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 * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/deleted-nodes/{nodeId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given rendition of a deleted 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 requestRenditionDirectAccessUrl(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: '/deleted-nodes/{nodeId}/renditions/{renditionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"versions.api.js","sourceRoot":"","sources":["versions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,oBAAoB,EAAuB,cAAc,EAAE,eAAe,EAAc,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC/I,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOlE,MAAM,OAAO,WAAY,SAAQ,OAAO;IAUpC,sBAAsB,CAAC,MAAc,EAAE,SAAiB,EAAE,mBAAwC;QAC9F,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1C,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,SAAS,EAAE,mBAAmB;SACjC,CAAC,CAAC;IACP,CAAC;IAsBD,aAAa,CAAC,MAAc,EAAE,SAAiB;QAC3C,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE1C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,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,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,6CAA6C;YACnD,UAAU;YACV,WAAW;YACX,SAAS,EAAE,UAAU;YACrB,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;IAUD,sBAAsB,CAAC,MAAc,EAAE,SAAiB;QACpD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE1C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gEAAgE;YACtE,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, RevertBody, VersionEntry, VersionPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Versions service.\n * @module VersionsApi\n */\nexport class VersionsApi extends BaseApi {\n /**\n * Create rendition for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param renditionBodyCreate The rendition \\\"id\\\".\n * @returns Promise<{}>\n */\n createVersionRendition(nodeId: string, versionId: string, renditionBodyCreate: RenditionBodyCreate): Promise<any> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(renditionBodyCreate, 'renditionBodyCreate');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions',\n pathParams,\n bodyParam: renditionBodyCreate\n });\n }\n\n /**\n * Delete a version\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Delete the version identified by **versionId** and **nodeId*.\n *\n * If the version is successfully deleted then the content and metadata for that versioned node\n * will be deleted and will no longer appear in the version history. This operation cannot be undone.\n *\n * If the most recent version is deleted the live node will revert to the next most recent version.\n *\n * We currently do not allow the last version to be deleted. If you wish to clear the history then you\n * can remove the \\\"cm:versionable\\\" aspect (via update node) which will also disable versioning. In this\n * case, you can re-enable versioning by adding back the \\\"cm:versionable\\\" aspect or using the version\n * params (majorVersion and comment) on a subsequent file content update.\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @returns Promise<{}>\n */\n deleteVersion(nodeId: string, versionId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/versions/{versionId}',\n pathParams\n });\n }\n\n /**\n * Get version 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 versionId The identifier of a version, ie. version label, within the version history of a node.\n * @returns Promise<VersionEntry>\n */\n getVersion(nodeId: string, versionId: string): Promise<VersionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}',\n pathParams,\n returnType: VersionEntry\n });\n }\n\n /**\n * Get version 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 versionId The identifier of a version, ie. version label, within the version history of a node.\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.\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 getVersionContent(\n nodeId: string,\n versionId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\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 const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n /**\n * Get rendition information for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @returns Promise<RenditionEntry>\n */\n getVersionRendition(nodeId: string, versionId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n versionId,\n renditionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history 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\n * 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.\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 * @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.\n * (default to false)\n * @returns Promise<Blob>\n */\n getVersionRenditionContent(\n nodeId: string,\n versionId: 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(versionId, 'versionId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n opts = opts || {};\n\n const pathParams = {\n nodeId,\n versionId,\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}/versions/{versionId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List version history\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets the version history as an ordered list of versions for the specified **nodeId**.\n *\n * The list is ordered in descending modified order. So the most recent version is first and\n * the original version is last in the list.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<VersionPaging>\n */\n listVersionHistory(nodeId: string, opts?: ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<VersionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions',\n pathParams,\n queryParams,\n returnType: VersionPaging\n });\n }\n\n /**\n * List renditions for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * Gets a list of the rendition information for each rendition of the version of file **nodeId** and **versionId**, 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: (status='CREATED')\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history 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 listVersionRenditions(nodeId: string, versionId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions',\n pathParams,\n queryParams: opts,\n returnType: RenditionPaging\n });\n }\n\n /**\n * Revert a version\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Attempts to revert the version identified by **versionId** and **nodeId** to the live node.\n * If the node is successfully reverted then the content and metadata for that versioned node\n * will be promoted to the live node and a new version will appear in the version history.\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param revertBody Optionally, specify a version comment and whether this should be a major version, or not.\n * @param opts Optional parameters\n * @returns Promise<VersionEntry>\n */\n revertVersion(nodeId: string, versionId: string, revertBody: RevertBody, opts?: ContentFieldsQuery): Promise<VersionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(revertBody, 'revertBody');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/revert',\n pathParams,\n queryParams,\n bodyParam: revertBody,\n returnType: VersionEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given version 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 versionId The identifier of a version\n * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string, versionId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"versions.api.js","sourceRoot":"","sources":["versions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,oBAAoB,EAAuB,cAAc,EAAE,eAAe,EAAc,YAAY,EAAE,aAAa,EAAE,MAAM,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AE1C,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gEAAgE;YACtE,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, RevertBody, VersionEntry, VersionPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Versions service.\n *\n * @module VersionsApi\n */\nexport class VersionsApi extends BaseApi {\n /**\n * Create rendition for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param renditionBodyCreate The rendition \\\"id\\\".\n * @returns Promise<{}>\n */\n createVersionRendition(nodeId: string, versionId: string, renditionBodyCreate: RenditionBodyCreate): Promise<any> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(renditionBodyCreate, 'renditionBodyCreate');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions',\n pathParams,\n bodyParam: renditionBodyCreate\n });\n }\n\n /**\n * Delete a version\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Delete the version identified by **versionId** and **nodeId*.\n *\n * If the version is successfully deleted then the content and metadata for that versioned node\n * will be deleted and will no longer appear in the version history. This operation cannot be undone.\n *\n * If the most recent version is deleted the live node will revert to the next most recent version.\n *\n * We currently do not allow the last version to be deleted. If you wish to clear the history then you\n * can remove the \\\"cm:versionable\\\" aspect (via update node) which will also disable versioning. In this\n * case, you can re-enable versioning by adding back the \\\"cm:versionable\\\" aspect or using the version\n * params (majorVersion and comment) on a subsequent file content update.\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @returns Promise<{}>\n */\n deleteVersion(nodeId: string, versionId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/versions/{versionId}',\n pathParams\n });\n }\n\n /**\n * Get version 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 versionId The identifier of a version, ie. version label, within the version history of a node.\n * @returns Promise<VersionEntry>\n */\n getVersion(nodeId: string, versionId: string): Promise<VersionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}',\n pathParams,\n returnType: VersionEntry\n });\n }\n\n /**\n * Get version 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 versionId The identifier of a version, ie. version label, within the version history of a node.\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.\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 getVersionContent(\n nodeId: string,\n versionId: string,\n opts?: {\n attachment?: boolean;\n ifModifiedSince?: string;\n range?: string;\n }\n ): Promise<Blob> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\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 const accepts = ['application/octet-stream'];\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n /**\n * Get rendition information for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.\n * @returns Promise<RenditionEntry>\n */\n getVersionRendition(nodeId: string, versionId: string, renditionId: string): Promise<RenditionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n const pathParams = {\n nodeId,\n versionId,\n renditionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions/{renditionId}',\n pathParams,\n returnType: RenditionEntry\n });\n }\n\n /**\n * Get rendition content for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history 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\n * 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.\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 * @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.\n * (default to false)\n * @returns Promise<Blob>\n */\n getVersionRenditionContent(\n nodeId: string,\n versionId: 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(versionId, 'versionId');\n throwIfNotDefined(renditionId, 'renditionId');\n\n opts = opts || {};\n\n const pathParams = {\n nodeId,\n versionId,\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}/versions/{versionId}/renditions/{renditionId}/content',\n pathParams,\n queryParams,\n headerParams,\n accepts,\n returnType: 'blob'\n });\n }\n\n /**\n * List version history\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Gets the version history as an ordered list of versions for the specified **nodeId**.\n *\n * The list is ordered in descending modified order. So the most recent version is first and\n * the original version is last in the list.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<VersionPaging>\n */\n listVersionHistory(nodeId: string, opts?: ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<VersionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions',\n pathParams,\n queryParams,\n returnType: VersionPaging\n });\n }\n\n /**\n * List renditions for a file version\n *\n * **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.\n *\n * Gets a list of the rendition information for each rendition of the version of file **nodeId** and **versionId**, 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: (status='CREATED')\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history 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 listVersionRenditions(nodeId: string, versionId: string, opts?: { where?: string }): Promise<RenditionPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.get({\n path: '/nodes/{nodeId}/versions/{versionId}/renditions',\n pathParams,\n queryParams: opts,\n returnType: RenditionPaging\n });\n }\n\n /**\n * Revert a version\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Attempts to revert the version identified by **versionId** and **nodeId** to the live node.\n * If the node is successfully reverted then the content and metadata for that versioned node\n * will be promoted to the live node and a new version will appear in the version history.\n *\n * @param nodeId The identifier of a node.\n * @param versionId The identifier of a version, ie. version label, within the version history of a node.\n * @param revertBody Optionally, specify a version comment and whether this should be a major version, or not.\n * @param opts Optional parameters\n * @returns Promise<VersionEntry>\n */\n revertVersion(nodeId: string, versionId: string, revertBody: RevertBody, opts?: ContentFieldsQuery): Promise<VersionEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n throwIfNotDefined(revertBody, 'revertBody');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/revert',\n pathParams,\n queryParams,\n bodyParam: revertBody,\n returnType: VersionEntry\n });\n }\n\n /**\n * Generate a direct access content url for a given version 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 versionId The identifier of a version\n * @returns Promise<DirectAccessUrlEntry>\n */\n requestDirectAccessUrl(nodeId: string, versionId: string): Promise<DirectAccessUrlEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(versionId, 'versionId');\n\n const pathParams = {\n nodeId,\n versionId\n };\n\n return this.post({\n path: '/nodes/{nodeId}/versions/{versionId}/request-direct-access-url',\n pathParams,\n returnType: DirectAccessUrlEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"discovery.api.js","sourceRoot":"","sources":["discovery.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;IAOrC,wBAAwB;QACpB,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,YAAY;YAClB,UAAU,EAAE,cAAc;SAC7B,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 { DiscoveryEntry } from '../model/discoveryEntry';\nimport { BaseApi } from './base.api';\n\n/**\n * Discovery service.\n */\nexport class DiscoveryApi extends BaseApi {\n /**\n * Get repository information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n * @returns Promise<DiscoveryEntry>\n */\n getRepositoryInformation(): Promise<DiscoveryEntry> {\n return this.get({\n path: '/discovery',\n returnType: DiscoveryEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"discovery.api.js","sourceRoot":"","sources":["discovery.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;IAQrC,wBAAwB;QACpB,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,YAAY;YAClB,UAAU,EAAE,cAAc;SAC7B,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 { DiscoveryEntry } from '../model/discoveryEntry';\nimport { BaseApi } from './base.api';\n\n/**\n * Discovery service.\n */\nexport class DiscoveryApi extends BaseApi {\n /**\n * Get repository information\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @returns Promise<DiscoveryEntry>\n */\n getRepositoryInformation(): Promise<DiscoveryEntry> {\n return this.get({\n path: '/discovery',\n returnType: DiscoveryEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"authorityClearance.api.js","sourceRoot":"","sources":["authorityClearance.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAOrC,MAAM,OAAO,qBAAsB,SAAQ,OAAO;IAO9C,iCAAiC,CAAC,WAAmB,EAAE,IAAoB;QACvE,MAAM,UAAU,GAAG;YACf,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAQD,wBAAwB,CAAC,WAAmB,EAAE,kBAA0C;QACpF,MAAM,UAAU,GAAG;YACf,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,SAAS,EAAE,kBAAkB;SAChC,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 { BaseApi } from './base.api';\nimport { AuthorityClearanceGroupPaging, NodeSecurityMarkBody, SecurityMarkEntry, SecurityMarkPaging } from '../model';\nimport { GsPagingQuery } from './types';\n\n/**\n * AuthorityClearanceApi service.\n */\nexport class AuthorityClearanceApi extends BaseApi {\n /**\n * Get the authority clearances for a single user/group\n * @param authorityId The name for the authority for which the clearance is to be fetched. Can be left blank in which case it will fetch it for all users with pagination\n * @param opts Optional parameters\n * @returns Promise<AuthorityClearanceGroupPaging>\n */\n getAuthorityClearanceForAuthority(authorityId: string, opts?: GsPagingQuery): Promise<AuthorityClearanceGroupPaging> {\n const pathParams = {\n authorityId\n };\n\n return this.get({\n path: '/cleared-authorities/{authorityId}/clearing-marks',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Updates the authority clearance.\n * @param authorityId The name for the authority for which the clearance is to be updated\n * @param authorityClearance AuthorityClearanceBody\n * @returns Promise<SecurityMarkEntry | SecurityMarkPaging>\n */\n updateAuthorityClearance(authorityId: string, authorityClearance: NodeSecurityMarkBody[]): Promise<SecurityMarkEntry | SecurityMarkPaging> {\n const pathParams = {\n authorityId\n };\n\n return this.post({\n path: '/cleared-authorities/{authorityId}/clearing-marks',\n pathParams,\n bodyParam: authorityClearance\n });\n }\n}\n"]}
1
+ {"version":3,"file":"authorityClearance.api.js","sourceRoot":"","sources":["authorityClearance.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAOrC,MAAM,OAAO,qBAAsB,SAAQ,OAAO;IAQ9C,iCAAiC,CAAC,WAAmB,EAAE,IAAoB;QACvE,MAAM,UAAU,GAAG;YACf,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IASD,wBAAwB,CAAC,WAAmB,EAAE,kBAA0C;QACpF,MAAM,UAAU,GAAG;YACf,WAAW;SACd,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,SAAS,EAAE,kBAAkB;SAChC,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 { BaseApi } from './base.api';\nimport { AuthorityClearanceGroupPaging, NodeSecurityMarkBody, SecurityMarkEntry, SecurityMarkPaging } from '../model';\nimport { GsPagingQuery } from './types';\n\n/**\n * AuthorityClearanceApi service.\n */\nexport class AuthorityClearanceApi extends BaseApi {\n /**\n * Get the authority clearances for a single user/group\n *\n * @param authorityId The name for the authority for which the clearance is to be fetched. Can be left blank in which case it will fetch it for all users with pagination\n * @param opts Optional parameters\n * @returns Promise<AuthorityClearanceGroupPaging>\n */\n getAuthorityClearanceForAuthority(authorityId: string, opts?: GsPagingQuery): Promise<AuthorityClearanceGroupPaging> {\n const pathParams = {\n authorityId\n };\n\n return this.get({\n path: '/cleared-authorities/{authorityId}/clearing-marks',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Updates the authority clearance.\n *\n * @param authorityId The name for the authority for which the clearance is to be updated\n * @param authorityClearance AuthorityClearanceBody\n * @returns Promise<SecurityMarkEntry | SecurityMarkPaging>\n */\n updateAuthorityClearance(authorityId: string, authorityClearance: NodeSecurityMarkBody[]): Promise<SecurityMarkEntry | SecurityMarkPaging> {\n const pathParams = {\n authorityId\n };\n\n return this.post({\n path: '/cleared-authorities/{authorityId}/clearing-marks',\n pathParams,\n bodyParam: authorityClearance\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"classificationGuides.api.js","sourceRoot":"","sources":["classificationGuides.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAKH,cAAc,EAEd,UAAU,EACV,WAAW,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAUpD,MAAM,OAAO,uBAAwB,SAAQ,OAAO;IAOhD,oBAAoB,CAAC,IAA+B;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wBAAwB;YAC9B,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY;SAChC,CAAC,CAAC;IACP,CAAC;IAOD,yBAAyB,CAAC,mBAA4C;QAClE,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wBAAwB;YAC9B,SAAS,EAAE,mBAAmB;SACjC,CAAC,CAAC;IACP,CAAC;IASD,cAAc,CAAC,OAAe,EAAE,KAAgB,EAAE,IAAqB;QACnE,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,6BAA6B;YACnC,UAAU;YACV,WAAW;YACX,SAAS,EAA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E,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mBAAmB;YACzB,UAAU;YACV,WAAW;YACX,UAAU,EAAE,UAAU;SACzB,CAAC,CAAC;IACP,CAAC;IAUD,yBAAyB,CAAC,qBAA6B,EAAE,mBAA4C;QACjG,iBAAiB,CAAC,qBAAqB,EAAE,uBAAuB,CAAC,CAAC;QAClE,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,qBAAqB;SACxB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gDAAgD;YACtD,UAAU;YACV,SAAS,EAAE,mBAAmB;SACjC,CAAC,CAAC;IACP,CAAC;IAYD,WAAW,CAAC,OAAe,EAAE,KAAgB,EAAE,IAAqB;QAChE,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,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,mBAAmB;YACzB,UAAU;YACV,WAAW;YACX,SAAS,EAAE,KAAK;YAChB,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 {\n ClassificationGuideBody,\n ClassificationGuideEntry,\n ClassificationGuidePaging,\n InstructionEntry,\n SubtopicPaging,\n TopicBody,\n TopicEntry,\n TopicPaging\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsIncludeQuery, GsPagingQuery } from './types';\n\nexport interface CombinedInstructionsOpts {\n instructions?: any;\n}\n\n/**\n * ClassificationGuidesApi service.\n */\nexport class ClassificationGuidesApi extends BaseApi {\n /**\n * Combines instructions from the given topics and the user defined instruction, if any.\n * @param opts Optional parameters\n * @param opts.instructions Instructions\n * @returns Promise<InstructionEntry>\n */\n combinedInstructions(opts?: CombinedInstructionsOpts): Promise<InstructionEntry> {\n return this.post({\n path: '/combined-instructions',\n bodyParam: opts?.instructions\n });\n }\n\n /**\n * Create a classification guide\n * @param classificationGuide Classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n createClassificationGuide(classificationGuide: ClassificationGuideBody): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuide, 'classificationGuide');\n\n return this.post({\n path: '/classification-guides',\n bodyParam: classificationGuide\n });\n }\n\n /**\n * Create a subtopic\n * @param topicId The identifier for the topic\n * @param topic Subtopic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n createSubtopic(topicId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/topics/{topicId}/subtopics',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n\n /**\n * Create a topic\n * @param classificationGuideId The identifier for the classification guide\n * @param topic Topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n createTopic(classificationGuideId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n classificationGuideId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/classification-guides/{classificationGuideId}/topics',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n\n /**\n * Delete a classification guide\n * @param classificationGuideId The identifier for the classification guide\n * @returns Promise<{}>\n */\n deleteClassificationGuide(classificationGuideId: string): Promise<void> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.delete({\n path: '/classification-guides/{classificationGuideId}',\n pathParams\n });\n }\n\n /**\n * Delete a topic\n * @param topicId The identifier for the topic\n * @returns Promise<{}>\n */\n deleteTopic(topicId: string): Promise<void> {\n throwIfNotDefined(topicId, 'topicId');\n\n const pathParams = {\n topicId\n };\n\n return this.delete({\n path: '/topics/{topicId}',\n pathParams\n });\n }\n\n /**\n * List all classification guides\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 sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR. Fields to filter on:\n * enabled - e.g. (enabled = true OR enabled = false)\n * @returns Promise<ClassificationGuidePaging>\n */\n listClassificationGuides(opts?: { orderBy?: string[]; where?: string } & GsPagingQuery & GsIncludeQuery): Promise<ClassificationGuidePaging> {\n opts = opts || {};\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/classification-guides',\n queryParams\n });\n }\n\n /**\n * List all subtopics\n * @param topicId The identifier for the topic\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR. Fields to filter on:\n * - hasInstruction\n * - hasSubtopics\n * @param opts.includeSource Also include **source** in addition to **entries** with folder information on the parent guide/topic\n * @returns Promise<SubtopicPaging>\n */\n listSubtopics(\n topicId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n includeSource?: boolean;\n } & GsPagingQuery &\n GsIncludeQuery\n ): Promise<SubtopicPaging> {\n throwIfNotDefined(topicId, 'topicId');\n opts = opts || {};\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n includeSource: opts?.includeSource\n };\n\n return this.get({\n path: '/topics/{topicId}/subtopics',\n pathParams,\n queryParams,\n returnType: SubtopicPaging\n });\n }\n\n /**\n * List all topics\n * @param classificationGuideId The identifier for the classification guide\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR e.g. (instruction=true and hasSubtopics=false). Fields to filter on:\n * - hasInstruction\n * - hasSubtopics\n * @param opts.includeSource Also include **source** in addition to **entries** with folder information on the parent guide/topic\n * @returns Promise<TopicPaging>\n */\n listTopics(\n classificationGuideId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n includeSource?: boolean;\n } & GsPagingQuery &\n GsIncludeQuery\n ): Promise<TopicPaging> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n opts = opts || {};\n\n const pathParams = {\n classificationGuideId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n includeSource: opts?.includeSource\n };\n\n return this.get({\n path: '/classification-guides/{classificationGuideId}/topics',\n pathParams,\n queryParams,\n returnType: TopicPaging\n });\n }\n\n /**\n * Get classification guide information\n * @param classificationGuideId The identifier for the classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n showClassificationGuideById(classificationGuideId: string): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.get({\n path: '/classification-guides/{classificationGuideId}',\n pathParams\n });\n }\n\n /**\n * Get topic information\n * @param topicId The identifier for the topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n showTopicById(topicId: string, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/topics/{topicId}',\n pathParams,\n queryParams,\n returnType: TopicEntry\n });\n }\n\n /**\n * Update a classification guide\n *\n * Updates the classification guide with id **classificationGuideId**. For example, you can rename a classification guide.\n * @param classificationGuideId The identifier for the classification guide\n * @param classificationGuide Classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n updateClassificationGuide(classificationGuideId: string, classificationGuide: ClassificationGuideBody): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n throwIfNotDefined(classificationGuide, 'classificationGuide');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.put({\n path: '/classification-guides/{classificationGuideId}',\n pathParams,\n bodyParam: classificationGuide\n });\n }\n\n /**\n * Update a topic\n *\n * Updates the topic with id **topicId**.\n * Use this to rename a topic or to add, edit, or remove the instruction associated with it.\n * @param topicId The identifier for the topic\n * @param topic Topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n updateTopic(topicId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/topics/{topicId}',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"classificationGuides.api.js","sourceRoot":"","sources":["classificationGuides.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAKH,cAAc,EAEd,UAAU,EACV,WAAW,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAUpD,MAAM,OAAO,uBAAwB,SAAQ,OAAO;IAQhD,oBAAoB,CAAC,IAA+B;QAChD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wBAAwB;YAC9B,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY;SAChC,CAAC,CAAC;IACP,CAAC;IAQD,yBAAyB,CAAC,mBAA4C;QAClE,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,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AAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,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,mBAAmB;YACzB,UAAU;YACV,WAAW;YACX,SAAS,EAAE,KAAK;YAChB,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 {\n ClassificationGuideBody,\n ClassificationGuideEntry,\n ClassificationGuidePaging,\n InstructionEntry,\n SubtopicPaging,\n TopicBody,\n TopicEntry,\n TopicPaging\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsIncludeQuery, GsPagingQuery } from './types';\n\nexport interface CombinedInstructionsOpts {\n instructions?: any;\n}\n\n/**\n * ClassificationGuidesApi service.\n */\nexport class ClassificationGuidesApi extends BaseApi {\n /**\n * Combines instructions from the given topics and the user defined instruction, if any.\n *\n * @param opts Optional parameters\n * @param opts.instructions Instructions\n * @returns Promise<InstructionEntry>\n */\n combinedInstructions(opts?: CombinedInstructionsOpts): Promise<InstructionEntry> {\n return this.post({\n path: '/combined-instructions',\n bodyParam: opts?.instructions\n });\n }\n\n /**\n * Create a classification guide\n *\n * @param classificationGuide Classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n createClassificationGuide(classificationGuide: ClassificationGuideBody): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuide, 'classificationGuide');\n\n return this.post({\n path: '/classification-guides',\n bodyParam: classificationGuide\n });\n }\n\n /**\n * Create a subtopic\n *\n * @param topicId The identifier for the topic\n * @param topic Subtopic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n createSubtopic(topicId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/topics/{topicId}/subtopics',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n\n /**\n * Create a topic\n *\n * @param classificationGuideId The identifier for the classification guide\n * @param topic Topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n createTopic(classificationGuideId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n classificationGuideId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/classification-guides/{classificationGuideId}/topics',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n\n /**\n * Delete a classification guide\n *\n * @param classificationGuideId The identifier for the classification guide\n * @returns Promise<{}>\n */\n deleteClassificationGuide(classificationGuideId: string): Promise<void> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.delete({\n path: '/classification-guides/{classificationGuideId}',\n pathParams\n });\n }\n\n /**\n * Delete a topic\n *\n * @param topicId The identifier for the topic\n * @returns Promise<{}>\n */\n deleteTopic(topicId: string): Promise<void> {\n throwIfNotDefined(topicId, 'topicId');\n\n const pathParams = {\n topicId\n };\n\n return this.delete({\n path: '/topics/{topicId}',\n pathParams\n });\n }\n\n /**\n * List all classification guides\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 sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR. Fields to filter on:\n * enabled - e.g. (enabled = true OR enabled = false)\n * @returns Promise<ClassificationGuidePaging>\n */\n listClassificationGuides(opts?: { orderBy?: string[]; where?: string } & GsPagingQuery & GsIncludeQuery): Promise<ClassificationGuidePaging> {\n opts = opts || {};\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where\n };\n\n return this.get({\n path: '/classification-guides',\n queryParams\n });\n }\n\n /**\n * List all subtopics\n *\n * @param topicId The identifier for the topic\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR. Fields to filter on:\n * - hasInstruction\n * - hasSubtopics\n * @param opts.includeSource Also include **source** in addition to **entries** with folder information on the parent guide/topic\n * @returns Promise<SubtopicPaging>\n */\n listSubtopics(\n topicId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n includeSource?: boolean;\n } & GsPagingQuery &\n GsIncludeQuery\n ): Promise<SubtopicPaging> {\n throwIfNotDefined(topicId, 'topicId');\n opts = opts || {};\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n includeSource: opts?.includeSource\n };\n\n return this.get({\n path: '/topics/{topicId}/subtopics',\n pathParams,\n queryParams,\n returnType: SubtopicPaging\n });\n }\n\n /**\n * List all topics\n *\n * @param classificationGuideId The identifier for the classification guide\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where A string to restrict the returned objects by using a predicate. Supported operations are AND, NOT, and OR e.g. (instruction=true and hasSubtopics=false). Fields to filter on:\n * - hasInstruction\n * - hasSubtopics\n * @param opts.includeSource Also include **source** in addition to **entries** with folder information on the parent guide/topic\n * @returns Promise<TopicPaging>\n */\n listTopics(\n classificationGuideId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n includeSource?: boolean;\n } & GsPagingQuery &\n GsIncludeQuery\n ): Promise<TopicPaging> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n opts = opts || {};\n\n const pathParams = {\n classificationGuideId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n where: opts?.where,\n includeSource: opts?.includeSource\n };\n\n return this.get({\n path: '/classification-guides/{classificationGuideId}/topics',\n pathParams,\n queryParams,\n returnType: TopicPaging\n });\n }\n\n /**\n * Get classification guide information\n *\n * @param classificationGuideId The identifier for the classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n showClassificationGuideById(classificationGuideId: string): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.get({\n path: '/classification-guides/{classificationGuideId}',\n pathParams\n });\n }\n\n /**\n * Get topic information\n *\n * @param topicId The identifier for the topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n showTopicById(topicId: string, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/topics/{topicId}',\n pathParams,\n queryParams,\n returnType: TopicEntry\n });\n }\n\n /**\n * Update a classification guide\n *\n * Updates the classification guide with id **classificationGuideId**. For example, you can rename a classification guide.\n *\n * @param classificationGuideId The identifier for the classification guide\n * @param classificationGuide Classification guide\n * @returns Promise<ClassificationGuideEntry>\n */\n updateClassificationGuide(classificationGuideId: string, classificationGuide: ClassificationGuideBody): Promise<ClassificationGuideEntry> {\n throwIfNotDefined(classificationGuideId, 'classificationGuideId');\n throwIfNotDefined(classificationGuide, 'classificationGuide');\n\n const pathParams = {\n classificationGuideId\n };\n\n return this.put({\n path: '/classification-guides/{classificationGuideId}',\n pathParams,\n bodyParam: classificationGuide\n });\n }\n\n /**\n * Update a topic\n *\n * Updates the topic with id **topicId**.\n * Use this to rename a topic or to add, edit, or remove the instruction associated with it.\n *\n * @param topicId The identifier for the topic\n * @param topic Topic\n * @param opts Optional parameters\n * @returns Promise<TopicEntry>\n */\n updateTopic(topicId: string, topic: TopicBody, opts?: GsIncludeQuery): Promise<TopicEntry> {\n throwIfNotDefined(topicId, 'topicId');\n throwIfNotDefined(topic, 'topic');\n\n const pathParams = {\n topicId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/topics/{topicId}',\n pathParams,\n queryParams,\n bodyParam: topic,\n returnType: TopicEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"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sBAAsB;SACzB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,0BAA0B,CAAC,sBAA8B,EAAE,oBAA8C;QACrG,iBAAiB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QACpE,iBAAiB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,MAAM,UAAU,GAAG;YACf,sBAAsB;SACzB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;YACV,SAAS,EAAE,oBAAoB;SAClC,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 { ClassificationReasonBody, ClassificationReasonEntry, ClassificationReasonsPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsFieldsQuery, GsPagingQuery } from './types';\n\n/**\n * ClassificationReasonsApi service.\n */\nexport class ClassificationReasonsApi extends BaseApi {\n /**\n * Creates a new classification reason.\n *\n * **Note:** You can create more than one reason by specifying a list of reasons in the JSON body.\n * @param classificationReason Classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n createClassificationReason(classificationReason: ClassificationReasonBody): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReason, 'classificationReason');\n\n return this.post({\n path: '/classification-reasons',\n bodyParam: classificationReason\n });\n }\n\n /**\n * Deletes the classification reason **classificationReasonId**.\n *\n * You can't delete a classification reason that is being used to classify content.\n * There must be at least one classification reason.\n * @param classificationReasonId The identifier for the classification reason\n * @returns Promise<{}>\n */\n deleteClassificationReason(classificationReasonId: string): Promise<void> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.delete({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams\n });\n }\n\n /**\n * List all classification reasons\n * @param opts Optional parameters\n * @returns Promise<ClassificationReasonsPaging>\n */\n listClassificationReasons(opts?: GsPagingQuery & GsFieldsQuery): Promise<ClassificationReasonsPaging> {\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: '/classification-reasons',\n queryParams\n });\n }\n\n /**\n * Get classification reason information\n * @param classificationReasonId The identifier for the classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n showClassificationReasonById(classificationReasonId: string): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.get({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams\n });\n }\n\n /**\n * Updates the classification reason with id **classificationReasonId**. For example, you can change a classification reason code or description.\n * @param classificationReasonId The identifier for the classification reason\n * @param classificationReason Classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n updateClassificationReason(classificationReasonId: string, classificationReason: ClassificationReasonBody): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n throwIfNotDefined(classificationReason, 'classificationReason');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.put({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams,\n bodyParam: classificationReason\n });\n }\n}\n"]}
1
+ {"version":3,"file":"classificationReasons.api.js","sourceRoot":"","sources":["classificationReasons.api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AAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,0BAA0B,CAAC,sBAA8B,EAAE,oBAA8C;QACrG,iBAAiB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QACpE,iBAAiB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,MAAM,UAAU,GAAG;YACf,sBAAsB;SACzB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;YACV,SAAS,EAAE,oBAAoB;SAClC,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 { ClassificationReasonBody, ClassificationReasonEntry, ClassificationReasonsPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsFieldsQuery, GsPagingQuery } from './types';\n\n/**\n * ClassificationReasonsApi service.\n */\nexport class ClassificationReasonsApi extends BaseApi {\n /**\n * Creates a new classification reason.\n *\n * **Note:** You can create more than one reason by specifying a list of reasons in the JSON body.\n *\n * @param classificationReason Classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n createClassificationReason(classificationReason: ClassificationReasonBody): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReason, 'classificationReason');\n\n return this.post({\n path: '/classification-reasons',\n bodyParam: classificationReason\n });\n }\n\n /**\n * Deletes the classification reason **classificationReasonId**.\n *\n * You can't delete a classification reason that is being used to classify content.\n * There must be at least one classification reason.\n *\n * @param classificationReasonId The identifier for the classification reason\n * @returns Promise<{}>\n */\n deleteClassificationReason(classificationReasonId: string): Promise<void> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.delete({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams\n });\n }\n\n /**\n * List all classification reasons\n *\n * @param opts Optional parameters\n * @returns Promise<ClassificationReasonsPaging>\n */\n listClassificationReasons(opts?: GsPagingQuery & GsFieldsQuery): Promise<ClassificationReasonsPaging> {\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: '/classification-reasons',\n queryParams\n });\n }\n\n /**\n * Get classification reason information\n *\n * @param classificationReasonId The identifier for the classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n showClassificationReasonById(classificationReasonId: string): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.get({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams\n });\n }\n\n /**\n * Updates the classification reason with id **classificationReasonId**. For example, you can change a classification reason code or description.\n *\n * @param classificationReasonId The identifier for the classification reason\n * @param classificationReason Classification reason\n * @returns Promise<ClassificationReasonEntry>\n */\n updateClassificationReason(classificationReasonId: string, classificationReason: ClassificationReasonBody): Promise<ClassificationReasonEntry> {\n throwIfNotDefined(classificationReasonId, 'classificationReasonId');\n throwIfNotDefined(classificationReason, 'classificationReason');\n\n const pathParams = {\n classificationReasonId\n };\n\n return this.put({\n path: '/classification-reasons/{classificationReasonId}',\n pathParams,\n bodyParam: classificationReason\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"declassificationExemptions.api.js","sourceRoot":"","sources":["declassificationExemptions.api.ts"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AI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,4DAA4D;YAClE,UAAU;YACV,SAAS,EAAE,yBAAyB;SACvC,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 { DeclassificationExemptionBody, DeclassificationExemptionEntry, DeclassificationExemptionsPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsPagingQuery } from './types';\n\n/**\n * DeclassificationExemptionsApi service.\n */\nexport class DeclassificationExemptionsApi extends BaseApi {\n /**\n * Create a declassification exemption\n * @param declassificationExemption Declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n createDeclassificationExemption(declassificationExemption: DeclassificationExemptionBody): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemption, 'declassificationExemption');\n\n return this.post({\n path: '/declassification-exemptions',\n bodyParam: declassificationExemption\n });\n }\n\n /**\n * Deletes the declassification exemption with id **declassificationExemptionId**.\n * You can't delete a classification exemption that is being used to classify content.\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @returns Promise<{}>\n */\n deleteDeclassificationExemption(declassificationExemptionId: string): Promise<void> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.delete({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams\n });\n }\n\n /**\n * List all declassification exemptions\n * @param opts Optional parameters\n * @returns Promise<DeclassificationExemptionsPaging>\n */\n listDeclassificationExemptions(opts?: GsPagingQuery): Promise<DeclassificationExemptionsPaging> {\n return this.get({\n path: '/declassification-exemptions',\n queryParams: opts\n });\n }\n\n /**\n * Get declassification exemption information\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n showDeclassificationExemptionById(declassificationExemptionId: string): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.get({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams\n });\n }\n\n /**\n * Update a declassification exemption\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @param declassificationExemption Declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n updateDeclassificationExemption(\n declassificationExemptionId: string,\n declassificationExemption: DeclassificationExemptionBody\n ): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n throwIfNotDefined(declassificationExemption, 'declassificationExemption');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.put({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams,\n bodyParam: declassificationExemption\n });\n }\n}\n"]}
1
+ {"version":3,"file":"declassificationExemptions.api.js","sourceRoot":"","sources":["declassificationExemptions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,6BAA8B,SAAQ,OAAO;IAOtD,+BAA+B,CAAC,yBAAwD;QACpF,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAE1E,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,8BAA8B;YACpC,SAAS,EAAE,yBAAyB;SACvC,CAAC,CAAC;IACP,CAAC;IASD,+BAA+B,CAAC,2BAAmC;QAC/D,iBAAiB,CAAC,2BAA2B,EAAE,6BAA6B,CAAC,CAAC;QAE9E,MAAM,UAAU,GAAG;YACf,2BAA2B;SAC9B,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,4DAA4D;YAClE,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,8BAA8B,CAAC,IAAoB;QAC/C,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8BAA8B;YACpC,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAQD,iCAAiC,CAAC,2BAAmC;QACjE,iBAAiB,CAAC,2BAA2B,EAAE,6BAA6B,CAAC,CAAC;QAE9E,MAAM,UAAU,GAAG;YACf,2BAA2B;SAC9B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,4DAA4D;YAClE,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,+BAA+B,CAC3B,2BAAmC,EACnC,yBAAwD;QAExD,iBAAiB,CAAC,2BAA2B,EAAE,6BAA6B,CAAC,CAAC;QAC9E,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAE1E,MAAM,UAAU,GAAG;YACf,2BAA2B;SAC9B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,4DAA4D;YAClE,UAAU;YACV,SAAS,EAAE,yBAAyB;SACvC,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 { DeclassificationExemptionBody, DeclassificationExemptionEntry, DeclassificationExemptionsPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { GsPagingQuery } from './types';\n\n/**\n * DeclassificationExemptionsApi service.\n */\nexport class DeclassificationExemptionsApi extends BaseApi {\n /**\n * Create a declassification exemption\n *\n * @param declassificationExemption Declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n createDeclassificationExemption(declassificationExemption: DeclassificationExemptionBody): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemption, 'declassificationExemption');\n\n return this.post({\n path: '/declassification-exemptions',\n bodyParam: declassificationExemption\n });\n }\n\n /**\n * Deletes the declassification exemption with id **declassificationExemptionId**.\n * You can't delete a classification exemption that is being used to classify content.\n *\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @returns Promise<{}>\n */\n deleteDeclassificationExemption(declassificationExemptionId: string): Promise<void> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.delete({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams\n });\n }\n\n /**\n * List all declassification exemptions\n *\n * @param opts Optional parameters\n * @returns Promise<DeclassificationExemptionsPaging>\n */\n listDeclassificationExemptions(opts?: GsPagingQuery): Promise<DeclassificationExemptionsPaging> {\n return this.get({\n path: '/declassification-exemptions',\n queryParams: opts\n });\n }\n\n /**\n * Get declassification exemption information\n *\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n showDeclassificationExemptionById(declassificationExemptionId: string): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.get({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams\n });\n }\n\n /**\n * Update a declassification exemption\n *\n * @param declassificationExemptionId The identifier for the declassification exemption\n * @param declassificationExemption Declassification exemption\n * @returns Promise<DeclassificationExemptionEntry>\n */\n updateDeclassificationExemption(\n declassificationExemptionId: string,\n declassificationExemption: DeclassificationExemptionBody\n ): Promise<DeclassificationExemptionEntry> {\n throwIfNotDefined(declassificationExemptionId, 'declassificationExemptionId');\n throwIfNotDefined(declassificationExemption, 'declassificationExemption');\n\n const pathParams = {\n declassificationExemptionId\n };\n\n return this.put({\n path: '/declassification-exemptions/{declassificationExemptionId}',\n pathParams,\n bodyParam: declassificationExemption\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"defaultClassificationValues.api.js","sourceRoot":"","sources":["defaultClassificationValues.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,8BAA+B,SAAQ,OAAO;IAMvD,oCAAoC,CAAC,MAAc;QAC/C,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,yEAAyE;YAC/E,UAAU;YACV,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 { DeclassificationDate } from '../model';\nimport { BaseApi } from './base.api';\nimport { DateAlfresco } from '../../content-custom-api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * DefaultClassificationValuesApi service.\n */\nexport class DefaultClassificationValuesApi extends BaseApi {\n /**\n * Calculates the default declassification date for **nodeId** based on the properties of the node and the current declassification time frame.\n * @param nodeId The identifier of a node.\n * @returns Promise<DeclassificationDate>\n */\n calculateDefaultDeclassificationDate(nodeId: string): Promise<DeclassificationDate> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/default-classification-values/{nodeId}/calculate-declassification-date',\n pathParams,\n returnType: DateAlfresco\n });\n }\n}\n"]}
1
+ {"version":3,"file":"defaultClassificationValues.api.js","sourceRoot":"","sources":["defaultClassificationValues.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,8BAA+B,SAAQ,OAAO;IAOvD,oCAAoC,CAAC,MAAc;QAC/C,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,yEAAyE;YAC/E,UAAU;YACV,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 { DeclassificationDate } from '../model';\nimport { BaseApi } from './base.api';\nimport { DateAlfresco } from '../../content-custom-api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * DefaultClassificationValuesApi service.\n */\nexport class DefaultClassificationValuesApi extends BaseApi {\n /**\n * Calculates the default declassification date for **nodeId** based on the properties of the node and the current declassification time frame.\n *\n * @param nodeId The identifier of a node.\n * @returns Promise<DeclassificationDate>\n */\n calculateDefaultDeclassificationDate(nodeId: string): Promise<DeclassificationDate> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/default-classification-values/{nodeId}/calculate-declassification-date',\n pathParams,\n returnType: DateAlfresco\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"nodeSecurityMarks.api.js","sourceRoot":"","sources":["nodeSecurityMarks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQpD,MAAM,OAAO,oBAAqB,SAAQ,OAAO;IAO7C,yBAAyB,CAAC,MAAc,EAAE,QAAqC;QAC3E,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,SAAS,EAAE,QAAQ;SACtB,CAAC,CAAC;IACP,CAAC;IAQD,sBAAsB,CAAC,MAAc,EAAE,IAAoB;QACvD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,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 { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { NodeSecurityMarkBody } from '../model/nodeSecurityMarkBody';\nimport { SecurityMarkPaging } from '../model/securityMarkPaging';\nimport { GsPagingQuery } from './types';\n\n/**\n * NodeSecurityMarksApi\n */\nexport class NodeSecurityMarksApi extends BaseApi {\n /**\n * Add/Remove security mark on a node\n * @param nodeId The key for the node id.\n * @param dataBody Array of NodeSecurityMarkBody.\n * @returns Promise<SecurityMarkPaging>\n */\n manageSecurityMarksOnNode(nodeId: string, dataBody: Array<NodeSecurityMarkBody>): Promise<SecurityMarkPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(dataBody, 'dataBody');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/secured-nodes/{nodeId}/securing-marks',\n pathParams,\n bodyParam: dataBody\n });\n }\n\n /**\n * Get security marks on a node\n * @param nodeId The key for the node id.\n * @param opts Optional parameters\n * @returns Promise<SecurityMarkPaging>\n */\n getSecurityMarksOnNode(nodeId: string, opts?: GsPagingQuery): Promise<SecurityMarkPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.get({\n path: '/secured-nodes/{nodeId}/securing-marks',\n pathParams,\n queryParams: opts\n });\n }\n}\n"]}
1
+ {"version":3,"file":"nodeSecurityMarks.api.js","sourceRoot":"","sources":["nodeSecurityMarks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQpD,MAAM,OAAO,oBAAqB,SAAQ,OAAO;IAQ7C,yBAAyB,CAAC,MAAc,EAAE,QAAqC;QAC3E,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,SAAS,EAAE,QAAQ;SACtB,CAAC,CAAC;IACP,CAAC;IASD,sBAAsB,CAAC,MAAc,EAAE,IAAoB;QACvD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,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 { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { NodeSecurityMarkBody } from '../model/nodeSecurityMarkBody';\nimport { SecurityMarkPaging } from '../model/securityMarkPaging';\nimport { GsPagingQuery } from './types';\n\n/**\n * NodeSecurityMarksApi\n */\nexport class NodeSecurityMarksApi extends BaseApi {\n /**\n * Add/Remove security mark on a node\n *\n * @param nodeId The key for the node id.\n * @param dataBody Array of NodeSecurityMarkBody.\n * @returns Promise<SecurityMarkPaging>\n */\n manageSecurityMarksOnNode(nodeId: string, dataBody: Array<NodeSecurityMarkBody>): Promise<SecurityMarkPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(dataBody, 'dataBody');\n\n const pathParams = {\n nodeId\n };\n\n return this.post({\n path: '/secured-nodes/{nodeId}/securing-marks',\n pathParams,\n bodyParam: dataBody\n });\n }\n\n /**\n * Get security marks on a node\n *\n * @param nodeId The key for the node id.\n * @param opts Optional parameters\n * @returns Promise<SecurityMarkPaging>\n */\n getSecurityMarksOnNode(nodeId: string, opts?: GsPagingQuery): Promise<SecurityMarkPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n return this.get({\n path: '/secured-nodes/{nodeId}/securing-marks',\n pathParams,\n queryParams: opts\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"securityControlSettings.api.js","sourceRoot":"","sources":["securityControlSettings.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,0BAA2B,SAAQ,OAAO;IAOnD,yBAAyB,CAAC,yBAAiC;QACvD,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAE1E,MAAM,UAAU,GAAG;YACf,yBAAyB;SAC5B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wDAAwD;YAC9D,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,4BAA4B,CACxB,yBAAiC,EACjC,2BAAuD;QAEvD,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAC1E,iBAAiB,CAAC,2BAA2B,EAAE,6BAA6B,CAAC,CAAC;QAE9E,MAAM,UAAU,GAAG;YACf,yBAAyB;SAC5B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,SAAS,EAAE,2BAA2B;SACzC,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 { SecurityControlSettingBody, SecurityControlSettingEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * SecurityControlSettingsApi service.\n * @module SecurityControlSettingsApi\n */\nexport class SecurityControlSettingsApi extends BaseApi {\n /**\n * Get security control setting value\n * @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:\n * -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file\n * @returns Promise<SecurityControlSettingEntry>\n */\n getSecurityControlSetting(securityControlSettingKey: string): Promise<SecurityControlSettingEntry> {\n throwIfNotDefined(securityControlSettingKey, 'securityControlSettingKey');\n\n const pathParams = {\n securityControlSettingKey\n };\n\n return this.get({\n path: '/security-control-settings/{securityControlSettingKey}',\n pathParams\n });\n }\n\n /**\n * Update security control setting value\n * @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:\n * -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file\n * @param securityControlSettingValue The new value for the security control setting. This can be a string or number, depending on the setting key.\n * @returns Promise<SecurityControlSettingEntry>\n */\n updateSecurityControlSetting(\n securityControlSettingKey: string,\n securityControlSettingValue: SecurityControlSettingBody\n ): Promise<SecurityControlSettingEntry> {\n throwIfNotDefined(securityControlSettingKey, 'securityControlSettingKey');\n throwIfNotDefined(securityControlSettingValue, 'securityControlSettingValue');\n\n const pathParams = {\n securityControlSettingKey\n };\n\n return this.put({\n path: '/security-control-settings/{securityControlSettingKey}',\n pathParams,\n bodyParam: securityControlSettingValue\n });\n }\n}\n"]}
1
+ {"version":3,"file":"securityControlSettings.api.js","sourceRoot":"","sources":["securityControlSettings.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,0BAA2B,SAAQ,OAAO;IAQnD,yBAAyB,CAAC,yBAAiC;QACvD,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAE1E,MAAM,UAAU,GAAG;YACf,yBAAyB;SAC5B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wDAAwD;YAC9D,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAUD,4BAA4B,CACxB,yBAAiC,EACjC,2BAAuD;QAEvD,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAC1E,iBAAiB,CAAC,2BAA2B,EAAE,6BAA6B,CAAC,CAAC;QAE9E,MAAM,UAAU,GAAG;YACf,yBAAyB;SAC5B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,SAAS,EAAE,2BAA2B;SACzC,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 { SecurityControlSettingBody, SecurityControlSettingEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * SecurityControlSettingsApi service.\n *\n * @module SecurityControlSettingsApi\n */\nexport class SecurityControlSettingsApi extends BaseApi {\n /**\n * Get security control setting value\n *\n * @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:\n * -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file\n * @returns Promise<SecurityControlSettingEntry>\n */\n getSecurityControlSetting(securityControlSettingKey: string): Promise<SecurityControlSettingEntry> {\n throwIfNotDefined(securityControlSettingKey, 'securityControlSettingKey');\n\n const pathParams = {\n securityControlSettingKey\n };\n\n return this.get({\n path: '/security-control-settings/{securityControlSettingKey}',\n pathParams\n });\n }\n\n /**\n * Update security control setting value\n *\n * @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:\n * -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file\n * @param securityControlSettingValue The new value for the security control setting. This can be a string or number, depending on the setting key.\n * @returns Promise<SecurityControlSettingEntry>\n */\n updateSecurityControlSetting(\n securityControlSettingKey: string,\n securityControlSettingValue: SecurityControlSettingBody\n ): Promise<SecurityControlSettingEntry> {\n throwIfNotDefined(securityControlSettingKey, 'securityControlSettingKey');\n throwIfNotDefined(securityControlSettingValue, 'securityControlSettingValue');\n\n const pathParams = {\n securityControlSettingKey\n };\n\n return this.put({\n path: '/security-control-settings/{securityControlSettingKey}',\n pathParams,\n bodyParam: securityControlSettingValue\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"securityGroups.api.js","sourceRoot":"","sources":["securityGroups.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAQrC,MAAM,OAAO,iBAAkB,SAAQ,OAAO;IAM1C,iBAAiB,CAAC,IAAqC;QACnD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAQD,mBAAmB,CAAC,iBAAoC,EAAE,IAAqB;QAC3E,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE,iBAAiB;SAC/B,CAAC,CAAC;IACP,CAAC;IAQD,oBAAoB,CAAC,eAAuB,EAAE,IAAqB;QAC/D,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IASD,mBAAmB,CAAC,eAAuB,EAAE,iBAAoC,EAAE,IAAqB;QACpG,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE,iBAAiB;SAC/B,CAAC,CAAC;IACP,CAAC;IAOD,mBAAmB,CAAC,eAAuB;QACvC,MAAM,UAAU,GAAG,EAAE,eAAe,EAAE,CAAC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,oCAAoC;YAC1C,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 { BaseApi } from './base.api';\nimport { SecurityGroupBody, SecurityGroupEntry, SecurityGroupPaging } from '../model';\nimport { GsGroupInclude, GsPagingQuery } from './types';\n\n/**\n * SecurityGroupsApi service.\n * @module SecurityGroupsApi\n */\nexport class SecurityGroupsApi extends BaseApi {\n /**\n * Get All security groups\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupPaging>\n */\n getSecurityGroups(opts?: GsPagingQuery & GsGroupInclude): Promise<SecurityGroupPaging> {\n return this.get({\n path: '/security-groups',\n queryParams: opts\n });\n }\n\n /**\n * Create security group\n * @param securityGroupBody securityGroupBody.\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n createSecurityGroup(securityGroupBody: SecurityGroupBody, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n return this.post({\n path: '/security-groups',\n queryParams: opts,\n bodyParam: securityGroupBody\n });\n }\n\n /**\n * Get a security groups information\n * @param securityGroupId The Key of Security Group id for which info is required\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n getSecurityGroupInfo(securityGroupId: string, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n const pathParams = {\n securityGroupId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Update a security groups information\n * @param securityGroupId The Key of Security Group id for which info is required\n * @param securityGroupBody SecurityGroupBody\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n updateSecurityGroup(securityGroupId: string, securityGroupBody: SecurityGroupBody, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n const pathParams = {\n securityGroupId\n };\n\n return this.put({\n path: '/security-groups/{securityGroupId}',\n pathParams,\n queryParams: opts,\n bodyParam: securityGroupBody\n });\n }\n\n /**\n * Delete security group\n * @param securityGroupId The key for the security group id.\n * @returns Promise<SecurityMarkEntry>\n */\n deleteSecurityGroup(securityGroupId: string): Promise<void> {\n const pathParams = { securityGroupId };\n return this.delete({\n path: '/security-groups/{securityGroupId}',\n pathParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"securityGroups.api.js","sourceRoot":"","sources":["securityGroups.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AASrC,MAAM,OAAO,iBAAkB,SAAQ,OAAO;IAO1C,iBAAiB,CAAC,IAAqC;QACnD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IASD,mBAAmB,CAAC,iBAAoC,EAAE,IAAqB;QAC3E,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE,iBAAiB;SAC/B,CAAC,CAAC;IACP,CAAC;IASD,oBAAoB,CAAC,eAAuB,EAAE,IAAqB;QAC/D,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAUD,mBAAmB,CAAC,eAAuB,EAAE,iBAAoC,EAAE,IAAqB;QACpG,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oCAAoC;YAC1C,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE,iBAAiB;SAC/B,CAAC,CAAC;IACP,CAAC;IAQD,mBAAmB,CAAC,eAAuB;QACvC,MAAM,UAAU,GAAG,EAAE,eAAe,EAAE,CAAC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,oCAAoC;YAC1C,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 { BaseApi } from './base.api';\nimport { SecurityGroupBody, SecurityGroupEntry, SecurityGroupPaging } from '../model';\nimport { GsGroupInclude, GsPagingQuery } from './types';\n\n/**\n * SecurityGroupsApi service.\n *\n * @module SecurityGroupsApi\n */\nexport class SecurityGroupsApi extends BaseApi {\n /**\n * Get All security groups\n *\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupPaging>\n */\n getSecurityGroups(opts?: GsPagingQuery & GsGroupInclude): Promise<SecurityGroupPaging> {\n return this.get({\n path: '/security-groups',\n queryParams: opts\n });\n }\n\n /**\n * Create security group\n *\n * @param securityGroupBody securityGroupBody.\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n createSecurityGroup(securityGroupBody: SecurityGroupBody, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n return this.post({\n path: '/security-groups',\n queryParams: opts,\n bodyParam: securityGroupBody\n });\n }\n\n /**\n * Get a security groups information\n *\n * @param securityGroupId The Key of Security Group id for which info is required\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n getSecurityGroupInfo(securityGroupId: string, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n const pathParams = {\n securityGroupId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Update a security groups information\n *\n * @param securityGroupId The Key of Security Group id for which info is required\n * @param securityGroupBody SecurityGroupBody\n * @param opts Optional parameters\n * @returns Promise<SecurityGroupEntry>\n */\n updateSecurityGroup(securityGroupId: string, securityGroupBody: SecurityGroupBody, opts?: GsGroupInclude): Promise<SecurityGroupEntry> {\n const pathParams = {\n securityGroupId\n };\n\n return this.put({\n path: '/security-groups/{securityGroupId}',\n pathParams,\n queryParams: opts,\n bodyParam: securityGroupBody\n });\n }\n\n /**\n * Delete security group\n *\n * @param securityGroupId The key for the security group id.\n * @returns Promise<SecurityMarkEntry>\n */\n deleteSecurityGroup(securityGroupId: string): Promise<void> {\n const pathParams = { securityGroupId };\n return this.delete({\n path: '/security-groups/{securityGroupId}',\n pathParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"securityMarks.api.js","sourceRoot":"","sources":["securityMarks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQpD,MAAM,OAAO,gBAAiB,SAAQ,OAAO;IAOzC,gBAAgB,CAAC,eAAuB,EAAE,IAAoB;QAC1D,iBAAiB,CAAC,eAAe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;IACP,CAAC;IAQD,kBAAkB,CAAC,eAAuB,EAAE,cAAsB;QAC9D,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QACtD,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,eAAe;YACf,cAAc;SACjB,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,oEAAoE;YAC1E,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 { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { SecurityMarkBody, SecurityMarkEntry, SecurityMarkPaging } from '../model';\nimport { GsPagingQuery } from './types';\n\n/**\n * Security Marks API.\n * @module SecurityMarksApi\n */\nexport class SecurityMarksApi extends BaseApi {\n /**\n * Get security mark value\n * @param securityGroupId The key for the security group id.\n * @param opts Options\n * @returns Promise<SecurityMarkPaging>\n */\n getSecurityMarks(securityGroupId: string, opts?: GsPagingQuery): Promise<SecurityMarkPaging> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n\n const pathParams = {\n securityGroupId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}/security-marks',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Create security marks\n * @param securityGroupId The key for the security group id.\n * @param securityMarkBody securityMarkBody[].\n * @returns Promise<SecurityMarkEntry|SecurityMarkPaging>\n */\n createSecurityMarks(securityGroupId: string, securityMarkBody: SecurityMarkBody[]): Promise<SecurityMarkPaging | SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkBody, 'securityMarkBody');\n\n const pathParams = { securityGroupId };\n\n return this.post({\n path: '/security-groups/{securityGroupId}/security-marks',\n pathParams,\n bodyParam: securityMarkBody\n });\n }\n\n /**\n * Get security mark value information\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark id\n * @returns Promise<SecurityMarkEntry>\n */\n getSecurityMark(securityGroupId: string, securityMarkId: string): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams\n });\n }\n\n /**\n * Updates Security Mark value\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark is in use or not.\n * @param securityMarkBody securityMarkBody.\n * @returns Promise<SecurityMarkEntry>\n */\n updateSecurityMark(securityGroupId: string, securityMarkId: string, securityMarkBody: SecurityMarkBody): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n throwIfNotDefined(securityMarkBody, 'securityMarkBody');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.put({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams,\n bodyParam: securityMarkBody\n });\n }\n\n /**\n * Delete security mark\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark id.\n * @returns Promise<any>\n */\n deleteSecurityMark(securityGroupId: string, securityMarkId: string): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.delete({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"securityMarks.api.js","sourceRoot":"","sources":["securityMarks.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AASpD,MAAM,OAAO,gBAAiB,SAAQ,OAAO;IAQzC,gBAAgB,CAAC,eAAuB,EAAE,IAAoB;QAC1D,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IASD,mBAAmB,CAAC,eAAuB,EAAE,gBAAoC;QAC7E,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QACtD,iBAAiB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;QAExD,MAAM,UAAU,GAAG,EAAE,eAAe,EAAE,CAAC;QAEvC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,SAAS,EAAE,gBAAgB;SAC9B,CAAC,CAAC;IACP,CAAC;IASD,eAAe,CAAC,eAAuB,EAAE,cAAsB;QAC3D,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QACtD,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,eAAe;YACf,cAAc;SACjB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oEAAoE;YAC1E,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAUD,kBAAkB,CAAC,eAAuB,EAAE,cAAsB,EAAE,gBAAkC;QAClG,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QACtD,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QACpD,iBAAiB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;QAExD,MAAM,UAAU,GAAG;YACf,eAAe;YACf,cAAc;SACjB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,oEAAoE;YAC1E,UAAU;YACV,SAAS,EAAE,gBAAgB;SAC9B,CAAC,CAAC;IACP,CAAC;IASD,kBAAkB,CAAC,eAAuB,EAAE,cAAsB;QAC9D,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QACtD,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,eAAe;YACf,cAAc;SACjB,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,oEAAoE;YAC1E,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 { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { SecurityMarkBody, SecurityMarkEntry, SecurityMarkPaging } from '../model';\nimport { GsPagingQuery } from './types';\n\n/**\n * Security Marks API.\n *\n * @module SecurityMarksApi\n */\nexport class SecurityMarksApi extends BaseApi {\n /**\n * Get security mark value\n *\n * @param securityGroupId The key for the security group id.\n * @param opts Options\n * @returns Promise<SecurityMarkPaging>\n */\n getSecurityMarks(securityGroupId: string, opts?: GsPagingQuery): Promise<SecurityMarkPaging> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n\n const pathParams = {\n securityGroupId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}/security-marks',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Create security marks\n *\n * @param securityGroupId The key for the security group id.\n * @param securityMarkBody securityMarkBody[].\n * @returns Promise<SecurityMarkEntry|SecurityMarkPaging>\n */\n createSecurityMarks(securityGroupId: string, securityMarkBody: SecurityMarkBody[]): Promise<SecurityMarkPaging | SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkBody, 'securityMarkBody');\n\n const pathParams = { securityGroupId };\n\n return this.post({\n path: '/security-groups/{securityGroupId}/security-marks',\n pathParams,\n bodyParam: securityMarkBody\n });\n }\n\n /**\n * Get security mark value information\n *\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark id\n * @returns Promise<SecurityMarkEntry>\n */\n getSecurityMark(securityGroupId: string, securityMarkId: string): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.get({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams\n });\n }\n\n /**\n * Updates Security Mark value\n *\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark is in use or not.\n * @param securityMarkBody securityMarkBody.\n * @returns Promise<SecurityMarkEntry>\n */\n updateSecurityMark(securityGroupId: string, securityMarkId: string, securityMarkBody: SecurityMarkBody): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n throwIfNotDefined(securityMarkBody, 'securityMarkBody');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.put({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams,\n bodyParam: securityMarkBody\n });\n }\n\n /**\n * Delete security mark\n *\n * @param securityGroupId The key for the security group id.\n * @param securityMarkId The key for the security mark id.\n * @returns Promise<any>\n */\n deleteSecurityMark(securityGroupId: string, securityMarkId: string): Promise<SecurityMarkEntry> {\n throwIfNotDefined(securityGroupId, 'securityGroupId');\n throwIfNotDefined(securityMarkId, 'securityMarkId');\n\n const pathParams = {\n securityGroupId,\n securityMarkId\n };\n\n return this.delete({\n path: '/security-groups/{securityGroupId}/security-marks/{securityMarkId}',\n pathParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,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BAC5B,eAAe,CAAC,IAAI,CAAC,aAAa,UAAU,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC;YACpE,CAAC;YACD,IAAI,UAAU,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;gBACnC,eAAe,CAAC,IAAI,CAAC,sBAAsB,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjI,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU,EAAE;gBACR,UAAU;aACb;YACD,WAAW,EAAE;gBACT,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;aACnF;SACJ,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 { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\nimport { FilePlanRolePaging, FilePlanRoleParameters } from '../model';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * Gets a list of roles for the specified file plan.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param parameters Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlanRoles(filePlanId: string, parameters?: FilePlanRoleParameters): Promise<FilePlanRolePaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n const whereConditions: string[] = [];\n if (parameters?.where) {\n if (parameters.where.personId) {\n whereConditions.push(`personId='${parameters.where.personId}'`);\n }\n if (parameters.where.capabilityNames) {\n whereConditions.push(`capabilityName in (${parameters.where.capabilityNames.map((value) => \"'\" + value + \"'\").join(', ')})`);\n }\n }\n return this.get({\n path: '/file-plans/{filePlanId}/roles',\n pathParams: {\n filePlanId\n },\n queryParams: {\n where: whereConditions.length ? `(${whereConditions.join(' and ')})` : undefined\n }\n });\n }\n}\n"]}
1
+ {"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IAUrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MA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ACpE,CAAC;YACD,IAAI,UAAU,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;gBACnC,eAAe,CAAC,IAAI,CAAC,sBAAsB,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjI,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU,EAAE;gBACR,UAAU;aACb;YACD,WAAW,EAAE;gBACT,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;aACnF;SACJ,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 { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\nimport { FilePlanRolePaging, FilePlanRoleParameters } from '../model';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n *\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n *\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n *\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n *\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * Gets a list of roles for the specified file plan.\n *\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param parameters Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlanRoles(filePlanId: string, parameters?: FilePlanRoleParameters): Promise<FilePlanRolePaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n const whereConditions: string[] = [];\n if (parameters?.where) {\n if (parameters.where.personId) {\n whereConditions.push(`personId='${parameters.where.personId}'`);\n }\n if (parameters.where.capabilityNames) {\n whereConditions.push(`capabilityName in (${parameters.where.capabilityNames.map((value) => \"'\" + value + \"'\").join(', ')})`);\n }\n }\n return this.get({\n path: '/file-plans/{filePlanId}/roles',\n pathParams: {\n filePlanId\n },\n queryParams: {\n where: whereConditions.length ? `(${whereConditions.join(' and ')})` : undefined\n }\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"files.api.js","sourceRoot":"","sources":["files.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,QAAS,SAAQ,OAAO;IAUjC,aAAa,CACT,MAAc,EACd,IAGuB;QAEvB,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,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,IAAI,CAAC;YACb,IAAI,EAAE,yBAAyB;YAC/B,UAAU;YACV,WAAW;YACX,UAAU,EAAE,WAAW;SAC1B,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 { RecordEntry } from '../model/recordEntry';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery } from './types';\n\n/**\n * Files service.\n * @module FilesApi\n */\nexport class FilesApi extends BaseApi {\n /**\n * Declare as record\n *\n * Declares the file **fileId** in the unfiled records container. The original file is moved to the Records Management site and a secondary parent association is created in the file's original site.\n * @param fileId The identifier of a non-record file.\n * @param opts Optional parameters\n * @param opts.hideRecord Flag to indicate whether the record should be hidden from the current parent folder. (default to false)\n * @returns Promise<RecordEntry>\n */\n declareRecord(\n fileId: string,\n opts?: {\n hideRecord?: boolean;\n parentId?: string;\n } & RecordsIncludeQuery\n ): Promise<RecordEntry> {\n throwIfNotDefined(fileId, 'fileId');\n\n const pathParams = {\n fileId\n };\n\n const queryParams = {\n hideRecord: opts?.hideRecord,\n parentId: opts?.parentId,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/files/{fileId}/declare',\n pathParams,\n queryParams,\n returnType: RecordEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"files.api.js","sourceRoot":"","sources":["files.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQpD,MAAM,OAAO,QAAS,SAAQ,OAAO;IAWjC,aAAa,CACT,MAAc,EACd,IAGuB;QAEvB,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,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,IAAI,CAAC;YACb,IAAI,EAAE,yBAAyB;YAC/B,UAAU;YACV,WAAW;YACX,UAAU,EAAE,WAAW;SAC1B,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 { RecordEntry } from '../model/recordEntry';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery } from './types';\n\n/**\n * Files service.\n *\n * @module FilesApi\n */\nexport class FilesApi extends BaseApi {\n /**\n * Declare as record\n *\n * Declares the file **fileId** in the unfiled records container. The original file is moved to the Records Management site and a secondary parent association is created in the file's original site.\n *\n * @param fileId The identifier of a non-record file.\n * @param opts Optional parameters\n * @param opts.hideRecord Flag to indicate whether the record should be hidden from the current parent folder. (default to false)\n * @returns Promise<RecordEntry>\n */\n declareRecord(\n fileId: string,\n opts?: {\n hideRecord?: boolean;\n parentId?: string;\n } & RecordsIncludeQuery\n ): Promise<RecordEntry> {\n throwIfNotDefined(fileId, 'fileId');\n\n const pathParams = {\n fileId\n };\n\n const queryParams = {\n hideRecord: opts?.hideRecord,\n parentId: opts?.parentId,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/files/{fileId}/declare',\n pathParams,\n queryParams,\n returnType: RecordEntry\n });\n }\n}\n"]}