@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":"alfrescoApiClient.js","sourceRoot":"","sources":["alfrescoApiClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA4BH,oDAoBC;AA9CD,iDAA6C;AAG7C,uDAAoD;AAEpD,mCAA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IAAI,IAAI,YAAY,EAAE,CAAC;YAC9B,IAAI,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrC,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;QACD,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAcO,MAAM,CAAC,UAAU,CAAC,WAAmB;QACzC,OAAO,OAAO,CAAC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,mBAAmB,CAAU,OAAmB,EAAE,YAAkC;QAChF,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;YAC1B,EAAE,CAA4B,KAAQ,EAAE,EAA4B,EAAE,OAAa;gBAC/E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACpC,OAAO,IAAmC,CAAC;YAC/C,CAAC;YACD,IAAI,CAA4B,KAAQ,EAAE,EAA4B,EAAE,OAAa;gBACjF,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACtC,OAAO,IAAmC,CAAC;YAC/C,CAAC;YACD,IAAI,CAA4B,KAAQ,EAAE,GAAG,IAAW;gBACpD,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;YAC7C,CAAC;YACD,GAAG,CAA4B,KAAQ,EAAE,EAA6B,EAAE,OAAa;gBACjF,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACrC,OAAO,IAAmC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAxVD,8CAwVC","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 { EventEmitter } from 'eventemitter3';\nimport { AlfrescoApiConfig } from './alfrescoApiConfig';\nimport { Authentication } from './authentication/authentication';\nimport { FetchHttpClient } from './fetchHttpClient';\nimport { Emitters, HttpClient, LegacyHttpClient, RequestOptions, SecurityOptions } from './api-clients/http-client.interface';\nimport { paramToString } from './utils';\nimport { Storage } from './storage';\nimport { EventEmitterInstance } from './types';\n\ndeclare const Buffer: any;\n\nexport type AlfrescoApiClientPromise<T = any> = Promise<T> & {\n on: <K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n off: <K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n once: <K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n emit: <K extends string | symbol>(event: K, ...args: any[]) => boolean;\n abort?: () => void;\n};\n\n/**\n * Builds a string representation of an array-type actual parameter, according to the given collection format.\n * @param param An array parameter.\n * @param collectionFormat The array element separator strategy.\n * @returns A string representation of the supplied collection, using the specified delimiter. Returns\n * <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.\n */\nexport function buildCollectionParam(param: string[], collectionFormat: string): string | any[] {\n if (!param) {\n return null;\n }\n\n switch (collectionFormat) {\n case 'csv':\n return param.map(paramToString).join(',');\n case 'ssv':\n return param.map(paramToString).join(' ');\n case 'tsv':\n return param.map(paramToString).join('\\t');\n case 'pipes':\n return param.map(paramToString).join('|');\n case 'multi':\n // return the array directly as SuperAgent will handle it as expected\n return param.map(paramToString);\n default:\n throw new Error('Unknown collection format: ' + collectionFormat);\n }\n}\n\nexport class AlfrescoApiClient implements LegacyHttpClient {\n private readonly eventEmitter = new EventEmitter();\n\n storage: Storage;\n host: string;\n className: string;\n config: AlfrescoApiConfig;\n url: string;\n /**\n * The base URL against which to resolve every API call's (relative) path.\n */\n basePath = '';\n\n /**\n * The authentication methods to be included for all API calls.\n */\n authentications: Authentication = {\n basicAuth: {\n ticket: ''\n },\n type: 'basic'\n };\n /**\n * The default HTTP headers to be included for all API calls.\n */\n defaultHeaders = {};\n\n /**\n * The default HTTP timeout for all API calls.\n */\n timeout: number | { deadline?: number; response?: number } = undefined;\n\n contentTypes = {\n JSON: ['application/json']\n };\n\n httpClient: HttpClient;\n\n constructor(host?: string, httpClient?: HttpClient) {\n this.host = host;\n this.storage = Storage.getInstance();\n // fallback for backward compatibility\n this.httpClient = httpClient || new FetchHttpClient();\n }\n\n // EventEmitter delegation methods\n on<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.on(event, fn, context);\n return this;\n }\n\n off<K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.off(event, fn, context);\n return this;\n }\n\n once<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.once(event, fn, context);\n return this;\n }\n\n emit<K extends string | symbol>(event: K, ...args: any[]): boolean {\n return this.eventEmitter.emit(event, ...args);\n }\n\n request<T = any>(options: RequestOptions): Promise<T> {\n return this.buildRequestCall(this.basePath, options, this.httpClient.request.bind(this.httpClient));\n }\n\n post<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.post.bind(this.httpClient));\n }\n\n put<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.put.bind(this.httpClient));\n }\n\n get<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.get.bind(this.httpClient));\n }\n\n delete<T = void>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall<T>(url, options, this.httpClient.delete.bind(this.httpClient));\n }\n\n callApi(\n path: string,\n httpMethod: string,\n pathParams?: any,\n queryParams?: any,\n headerParams?: any,\n formParams?: any,\n bodyParam?: any,\n contentTypes?: string[],\n accepts?: string[],\n returnType?: any,\n contextRoot?: string,\n responseType?: string,\n url?: string\n ): AlfrescoApiClientPromise<any> {\n const callApiUrl = url ?? this.getCallApiUrl({ contextRoot, path, pathParams });\n\n const options: RequestOptions = {\n path,\n httpMethod,\n pathParams,\n queryParams,\n headerParams,\n formParams,\n bodyParam,\n contentTypes,\n accepts,\n returnType,\n contextRoot,\n responseType,\n url\n };\n\n return this.buildRequestCall(callApiUrl, options, this.httpClient.request.bind(this.httpClient));\n }\n\n callCustomApi(\n path: string,\n httpMethod: string,\n pathParams?: any,\n queryParams?: any,\n headerParams?: any,\n formParams?: any,\n bodyParam?: any,\n contentTypes?: string[],\n accepts?: string[],\n returnType?: any,\n contextRoot?: string,\n responseType?: string\n ): AlfrescoApiClientPromise<any> {\n const customApiUrl = AlfrescoApiClient.buildUrl(path, '', pathParams);\n const options: RequestOptions = {\n path,\n httpMethod,\n pathParams,\n queryParams,\n headerParams,\n formParams,\n bodyParam,\n contentTypes,\n accepts,\n returnType,\n contextRoot,\n responseType\n };\n\n return this.buildRequestCall(customApiUrl, options, this.httpClient.request.bind(this.httpClient));\n }\n\n isCsrfEnabled(): boolean {\n if (this.config) {\n return !this.config.disableCsrf;\n } else {\n return true;\n }\n }\n\n isBpmRequest(): boolean {\n return this.className === 'ProcessAuth' || this.className === 'ProcessClient';\n }\n\n basicAuth(username: string, password: string): string {\n const str = username + ':' + password;\n\n let base64;\n\n if (typeof Buffer === 'function') {\n base64 = Buffer.from(str, 'binary').toString('base64');\n } else {\n base64 = btoa(str);\n }\n\n return 'Basic ' + base64;\n }\n\n isWithCredentials(): boolean {\n return !!this.config?.withCredentials;\n }\n\n getAlfTicket(ticket: string): string {\n const ticketParam = this.isWithCredentials() ? '&ticket=' : '&alf_ticket=';\n\n if (ticket) {\n return ticketParam + ticket;\n } else {\n const ticketConfig = this.config.ticketEcm;\n const ticketStorage = this.storage.getItem('ticket-ECM');\n\n if (ticketConfig && ticketStorage && ticketConfig !== ticketStorage) {\n this.emit('ticket_mismatch', { newTicket: ticketStorage });\n return ticketParam + ticketStorage;\n } else if (ticketConfig) {\n return ticketParam + ticketConfig;\n } else if (ticketStorage) {\n return ticketParam + ticketStorage;\n }\n }\n\n return '';\n }\n\n /**\n * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders\n * with parameter values\n */\n private static buildUrl(basePath: string, path: string, pathParams: any): string {\n if (path && path !== '' && !path.match(/^\\//)) {\n path = '/' + path;\n }\n const url = basePath + path;\n\n return AlfrescoApiClient.addParamsToUrl(url, pathParams);\n }\n\n private static addParamsToUrl(path: string, pathParams: any) {\n return path.replace(/\\{([\\w-]+)}/g, (fullMatch, key) => {\n let value;\n\n if (Object.prototype.hasOwnProperty.call(pathParams, key)) {\n value = paramToString(pathParams[key]);\n } else {\n value = fullMatch;\n }\n\n return encodeURIComponent(value);\n });\n }\n\n private getCallApiUrl({ contextRoot, path, pathParams }: { contextRoot?: string; path: string; pathParams?: any }): string {\n const basePath = contextRoot ? `${this.host}/${contextRoot}` : this.basePath;\n\n return AlfrescoApiClient.buildUrl(basePath, path, pathParams);\n }\n\n private buildRequestCall<T = any>(\n url: string,\n options: RequestOptions,\n httpCall: (url: string, options: RequestOptions, security: SecurityOptions, emitters: Emitters) => Promise<T>\n ): AlfrescoApiClientPromise<T> {\n const security = this.getSecurityOptions();\n const emitters = this.getEventEmitters();\n const httpRequestOptions = this.getRequestOptionsWithAcceptAndContentType(options);\n const promise = httpCall(url, httpRequestOptions, security, emitters);\n\n return this.addPromiseListeners(promise, emitters.eventEmitter);\n }\n\n private getSecurityOptions(): SecurityOptions {\n return {\n isBpmRequest: this.isBpmRequest(),\n enableCsrf: this.isCsrfEnabled(),\n withCredentials: this.isWithCredentials(),\n authentications: this.authentications,\n defaultHeaders: this.defaultHeaders\n };\n }\n\n private getEventEmitters(): Emitters {\n const apiClientEmitter = {\n on: this.on.bind(this),\n off: this.off.bind(this),\n once: this.once.bind(this),\n emit: this.emit.bind(this)\n };\n\n return {\n apiClientEmitter,\n eventEmitter: new EventEmitter()\n };\n }\n\n private getRequestOptionsWithAcceptAndContentType(options: RequestOptions): RequestOptions {\n const contentType = AlfrescoApiClient.jsonPreferredMime(options.contentTypes);\n const accept = AlfrescoApiClient.jsonPreferredMime(options.accepts);\n\n return {\n ...options,\n contentType,\n accept\n };\n }\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n * @param contentTypes content types\n * @returns The chosen content type, preferring JSON.\n */\n private static jsonPreferredMime(contentTypes: readonly string[]): string {\n if (!contentTypes?.length) {\n return 'application/json';\n }\n\n for (const item of contentTypes) {\n if (AlfrescoApiClient.isJsonMime(item)) {\n return item;\n }\n }\n return contentTypes[0];\n }\n\n /**\n * Checks whether the given content type represents JSON.<br>\n *\n * JSON content type examples:<br>\n * <ul>\n * <li>application/json</li>\n * <li>application/json; charset=UTF8</li>\n * <li>APPLICATION/JSON</li>\n * </ul>\n * @param contentType The MIME content type to check.\n * @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.\n */\n private static isJsonMime(contentType: string): boolean {\n return Boolean(contentType?.match(/^application\\/json(;.*)?$/i));\n }\n\n addPromiseListeners<T = any>(promise: Promise<T>, eventEmitter: EventEmitterInstance): AlfrescoApiClientPromise<T> {\n return Object.assign(promise, {\n on<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.on(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n },\n once<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.once(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n },\n emit<K extends string | symbol>(event: K, ...args: any[]): boolean {\n return eventEmitter.emit(event, ...args);\n },\n off<K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.off(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n }\n });\n }\n}\n"]}
1
+ {"version":3,"file":"alfrescoApiClient.js","sourceRoot":"","sources":["alfrescoApiClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA6BH,oDAoBC;AA/CD,iDAA6C;AAG7C,uDAAoD;AAEpD,mCAAwC;AACxC,uCAAoC;AAqBpC,SAAgB,oBAAoB,CAAC,KAAe,EAAE,gBAAwB;IAC1E,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,QAAQ,gBAAgB,EAAE,CAAC;QACvB,KAAK,KAAK;YACN,OAAO,KAAK,CAAC,GAAG,CAAC,qBAAa,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,KAAK,KAAK;YACN,OAAO,KAAK,CAAC,GAAG,CAAC,qBAAa,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,KAAK,KAAK;YACN,OAAO,KAAK,CAAC,GAAG,CAAC,qBAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,KAAK,OAAO;YACR,OAAO,KAAK,CAAC,GAAG,CAAC,qBAAa,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,KAAK,OAAO;YAER,OAAO,KAAK,CAAC,GAAG,CAAC,qBAAa,CAAC,CAAC;QACpC;YACI,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,gBAAgB,CAAC,CAAC;IAC1E,CAAC;AACL,CAAC;AAED,MAAa,iBAAiB;IAsC1B,YAAY,IAAa,EAAE,UA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IAAW;gBACpD,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;YAC7C,CAAC;YACD,GAAG,CAA4B,KAAQ,EAAE,EAA6B,EAAE,OAAa;gBACjF,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;gBACrC,OAAO,IAAmC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA1VD,8CA0VC","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 { EventEmitter } from 'eventemitter3';\nimport { AlfrescoApiConfig } from './alfrescoApiConfig';\nimport { Authentication } from './authentication/authentication';\nimport { FetchHttpClient } from './fetchHttpClient';\nimport { Emitters, HttpClient, LegacyHttpClient, RequestOptions, SecurityOptions } from './api-clients/http-client.interface';\nimport { paramToString } from './utils';\nimport { Storage } from './storage';\nimport { EventEmitterInstance } from './types';\n\ndeclare const Buffer: any;\n\nexport type AlfrescoApiClientPromise<T = any> = Promise<T> & {\n on: <K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n off: <K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n once: <K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any) => AlfrescoApiClientPromise<T>;\n emit: <K extends string | symbol>(event: K, ...args: any[]) => boolean;\n abort?: () => void;\n};\n\n/**\n * Builds a string representation of an array-type actual parameter, according to the given collection format.\n *\n * @param param An array parameter.\n * @param collectionFormat The array element separator strategy.\n * @returns A string representation of the supplied collection, using the specified delimiter. Returns\n * <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.\n */\nexport function buildCollectionParam(param: string[], collectionFormat: string): string | any[] {\n if (!param) {\n return null;\n }\n\n switch (collectionFormat) {\n case 'csv':\n return param.map(paramToString).join(',');\n case 'ssv':\n return param.map(paramToString).join(' ');\n case 'tsv':\n return param.map(paramToString).join('\\t');\n case 'pipes':\n return param.map(paramToString).join('|');\n case 'multi':\n // return the array directly as SuperAgent will handle it as expected\n return param.map(paramToString);\n default:\n throw new Error('Unknown collection format: ' + collectionFormat);\n }\n}\n\nexport class AlfrescoApiClient implements LegacyHttpClient {\n private readonly eventEmitter = new EventEmitter();\n\n storage: Storage;\n host: string;\n className: string;\n config: AlfrescoApiConfig;\n url: string;\n /**\n * The base URL against which to resolve every API call's (relative) path.\n */\n basePath = '';\n\n /**\n * The authentication methods to be included for all API calls.\n */\n authentications: Authentication = {\n basicAuth: {\n ticket: ''\n },\n type: 'basic'\n };\n /**\n * The default HTTP headers to be included for all API calls.\n */\n defaultHeaders = {};\n\n /**\n * The default HTTP timeout for all API calls.\n */\n timeout: number | { deadline?: number; response?: number } = undefined;\n\n contentTypes = {\n JSON: ['application/json']\n };\n\n httpClient: HttpClient;\n\n constructor(host?: string, httpClient?: HttpClient) {\n this.host = host;\n this.storage = Storage.getInstance();\n // fallback for backward compatibility\n this.httpClient = httpClient || new FetchHttpClient();\n }\n\n // EventEmitter delegation methods\n on<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.on(event, fn, context);\n return this;\n }\n\n off<K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.off(event, fn, context);\n return this;\n }\n\n once<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): this {\n this.eventEmitter.once(event, fn, context);\n return this;\n }\n\n emit<K extends string | symbol>(event: K, ...args: any[]): boolean {\n return this.eventEmitter.emit(event, ...args);\n }\n\n request<T = any>(options: RequestOptions): Promise<T> {\n return this.buildRequestCall(this.basePath, options, this.httpClient.request.bind(this.httpClient));\n }\n\n post<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.post.bind(this.httpClient));\n }\n\n put<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.put.bind(this.httpClient));\n }\n\n get<T = any>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall(url, options, this.httpClient.get.bind(this.httpClient));\n }\n\n delete<T = void>(options: RequestOptions): AlfrescoApiClientPromise<T> {\n const url = this.getCallApiUrl(options);\n return this.buildRequestCall<T>(url, options, this.httpClient.delete.bind(this.httpClient));\n }\n\n callApi(\n path: string,\n httpMethod: string,\n pathParams?: any,\n queryParams?: any,\n headerParams?: any,\n formParams?: any,\n bodyParam?: any,\n contentTypes?: string[],\n accepts?: string[],\n returnType?: any,\n contextRoot?: string,\n responseType?: string,\n url?: string\n ): AlfrescoApiClientPromise<any> {\n const callApiUrl = url ?? this.getCallApiUrl({ contextRoot, path, pathParams });\n\n const options: RequestOptions = {\n path,\n httpMethod,\n pathParams,\n queryParams,\n headerParams,\n formParams,\n bodyParam,\n contentTypes,\n accepts,\n returnType,\n contextRoot,\n responseType,\n url\n };\n\n return this.buildRequestCall(callApiUrl, options, this.httpClient.request.bind(this.httpClient));\n }\n\n callCustomApi(\n path: string,\n httpMethod: string,\n pathParams?: any,\n queryParams?: any,\n headerParams?: any,\n formParams?: any,\n bodyParam?: any,\n contentTypes?: string[],\n accepts?: string[],\n returnType?: any,\n contextRoot?: string,\n responseType?: string\n ): AlfrescoApiClientPromise<any> {\n const customApiUrl = AlfrescoApiClient.buildUrl(path, '', pathParams);\n const options: RequestOptions = {\n path,\n httpMethod,\n pathParams,\n queryParams,\n headerParams,\n formParams,\n bodyParam,\n contentTypes,\n accepts,\n returnType,\n contextRoot,\n responseType\n };\n\n return this.buildRequestCall(customApiUrl, options, this.httpClient.request.bind(this.httpClient));\n }\n\n isCsrfEnabled(): boolean {\n if (this.config) {\n return !this.config.disableCsrf;\n } else {\n return true;\n }\n }\n\n isBpmRequest(): boolean {\n return this.className === 'ProcessAuth' || this.className === 'ProcessClient';\n }\n\n basicAuth(username: string, password: string): string {\n const str = username + ':' + password;\n\n let base64;\n\n if (typeof Buffer === 'function') {\n base64 = Buffer.from(str, 'binary').toString('base64');\n } else {\n base64 = btoa(str);\n }\n\n return 'Basic ' + base64;\n }\n\n isWithCredentials(): boolean {\n return !!this.config?.withCredentials;\n }\n\n getAlfTicket(ticket: string): string {\n const ticketParam = this.isWithCredentials() ? '&ticket=' : '&alf_ticket=';\n\n if (ticket) {\n return ticketParam + ticket;\n } else {\n const ticketConfig = this.config.ticketEcm;\n const ticketStorage = this.storage.getItem('ticket-ECM');\n\n if (ticketConfig && ticketStorage && ticketConfig !== ticketStorage) {\n this.emit('ticket_mismatch', { newTicket: ticketStorage });\n return ticketParam + ticketStorage;\n } else if (ticketConfig) {\n return ticketParam + ticketConfig;\n } else if (ticketStorage) {\n return ticketParam + ticketStorage;\n }\n }\n\n return '';\n }\n\n /**\n * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders\n * with parameter values\n */\n private static buildUrl(basePath: string, path: string, pathParams: any): string {\n if (path && path !== '' && !path.match(/^\\//)) {\n path = '/' + path;\n }\n const url = basePath + path;\n\n return AlfrescoApiClient.addParamsToUrl(url, pathParams);\n }\n\n private static addParamsToUrl(path: string, pathParams: any) {\n return path.replace(/\\{([\\w-]+)}/g, (fullMatch, key) => {\n let value;\n\n if (Object.prototype.hasOwnProperty.call(pathParams, key)) {\n value = paramToString(pathParams[key]);\n } else {\n value = fullMatch;\n }\n\n return encodeURIComponent(value);\n });\n }\n\n private getCallApiUrl({ contextRoot, path, pathParams }: { contextRoot?: string; path: string; pathParams?: any }): string {\n const basePath = contextRoot ? `${this.host}/${contextRoot}` : this.basePath;\n\n return AlfrescoApiClient.buildUrl(basePath, path, pathParams);\n }\n\n private buildRequestCall<T = any>(\n url: string,\n options: RequestOptions,\n httpCall: (url: string, options: RequestOptions, security: SecurityOptions, emitters: Emitters) => Promise<T>\n ): AlfrescoApiClientPromise<T> {\n const security = this.getSecurityOptions();\n const emitters = this.getEventEmitters();\n const httpRequestOptions = this.getRequestOptionsWithAcceptAndContentType(options);\n const promise = httpCall(url, httpRequestOptions, security, emitters);\n\n return this.addPromiseListeners(promise, emitters.eventEmitter);\n }\n\n private getSecurityOptions(): SecurityOptions {\n return {\n isBpmRequest: this.isBpmRequest(),\n enableCsrf: this.isCsrfEnabled(),\n withCredentials: this.isWithCredentials(),\n authentications: this.authentications,\n defaultHeaders: this.defaultHeaders\n };\n }\n\n private getEventEmitters(): Emitters {\n const apiClientEmitter = {\n on: this.on.bind(this),\n off: this.off.bind(this),\n once: this.once.bind(this),\n emit: this.emit.bind(this)\n };\n\n return {\n apiClientEmitter,\n eventEmitter: new EventEmitter()\n };\n }\n\n private getRequestOptionsWithAcceptAndContentType(options: RequestOptions): RequestOptions {\n const contentType = AlfrescoApiClient.jsonPreferredMime(options.contentTypes);\n const accept = AlfrescoApiClient.jsonPreferredMime(options.accepts);\n\n return {\n ...options,\n contentType,\n accept\n };\n }\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n *\n * @param contentTypes content types\n * @returns The chosen content type, preferring JSON.\n */\n private static jsonPreferredMime(contentTypes: readonly string[]): string {\n if (!contentTypes?.length) {\n return 'application/json';\n }\n\n for (const item of contentTypes) {\n if (AlfrescoApiClient.isJsonMime(item)) {\n return item;\n }\n }\n return contentTypes[0];\n }\n\n /**\n * Checks whether the given content type represents JSON.<br>\n *\n * JSON content type examples:<br>\n * <ul>\n * <li>application/json</li>\n * <li>application/json; charset=UTF8</li>\n * <li>APPLICATION/JSON</li>\n * </ul>\n *\n * @param contentType The MIME content type to check.\n * @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.\n */\n private static isJsonMime(contentType: string): boolean {\n return Boolean(contentType?.match(/^application\\/json(;.*)?$/i));\n }\n\n addPromiseListeners<T = any>(promise: Promise<T>, eventEmitter: EventEmitterInstance): AlfrescoApiClientPromise<T> {\n return Object.assign(promise, {\n on<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.on(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n },\n once<K extends string | symbol>(event: K, fn: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.once(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n },\n emit<K extends string | symbol>(event: K, ...args: any[]): boolean {\n return eventEmitter.emit(event, ...args);\n },\n off<K extends string | symbol>(event: K, fn?: (...args: any[]) => void, context?: any): AlfrescoApiClientPromise<T> {\n eventEmitter.off(event, fn, context);\n return this as AlfrescoApiClientPromise<T>;\n }\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"about.api.js","sourceRoot":"","sources":["about.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAgBrC,MAAa,QAAS,SAAQ,kBAAO;IAMjC,aAAa;QACT,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6BAA6B;SACtC,CAAC,CAAC;IACP,CAAC;CACJ;AAXD,4BAWC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Product version model for Process Services.\n */\nexport interface BpmProductVersionModel {\n edition: string;\n majorVersion: string;\n revisionVersion: string;\n minorVersion: string;\n type: string;\n}\n\n/**\n * About service.\n */\nexport class AboutApi extends BaseApi {\n /**\n * Get server type and version\n * Provides information about the running Alfresco Process Services Suite. The response payload object has the properties type, majorVersion, minorVersion, revisionVersion and edition.\n * @return Promise<{ [key: string]: string; }>\n */\n getAppVersion(): Promise<BpmProductVersionModel> {\n return this.get({\n path: '/api/enterprise/app-version'\n });\n }\n}\n"]}
1
+ {"version":3,"file":"about.api.js","sourceRoot":"","sources":["about.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAqC;AAgBrC,MAAa,QAAS,SAAQ,kBAAO;IAOjC,aAAa;QACT,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6BAA6B;SACtC,CAAC,CAAC;IACP,CAAC;CACJ;AAZD,4BAYC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Product version model for Process Services.\n */\nexport interface BpmProductVersionModel {\n edition: string;\n majorVersion: string;\n revisionVersion: string;\n minorVersion: string;\n type: string;\n}\n\n/**\n * About service.\n */\nexport class AboutApi extends BaseApi {\n /**\n * Get server type and version\n * Provides information about the running Alfresco Process Services Suite. The response payload object has the properties type, majorVersion, minorVersion, revisionVersion and edition.\n *\n * @return Promise<{ [key: string]: string; }>\n */\n getAppVersion(): Promise<BpmProductVersionModel> {\n return this.get({\n path: '/api/enterprise/app-version'\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"accountIntegration.api.js","sourceRoot":"","sources":["accountIntegration.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AAKrC,MAAa,qBAAsB,SAAQ,kBAAO;IAM9C,WAAW;QACP,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;SAC9C,CAAC,CAAC;IACP,CAAC;CACJ;AAXD,sDAWC","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 { ResultListDataRepresentationAccountRepresentation } from '../model';\nimport { BaseApi } from './base.api';\n\n/**\n * AccountIntegrationApi service.\n */\nexport class AccountIntegrationApi extends BaseApi {\n /**\n * Retrieve external account information\n * Accounts are used to integrate with third party apps and clients\n * @return Promise<ResultListDataRepresentationAccountRepresentation>\n */\n getAccounts(): Promise<ResultListDataRepresentationAccountRepresentation> {\n return this.get({\n path: '/api/enterprise/account/integration'\n });\n }\n}\n"]}
1
+ {"version":3,"file":"accountIntegration.api.js","sourceRoot":"","sources":["accountIntegration.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AAKrC,MAAa,qBAAsB,SAAQ,kBAAO;IAO9C,WAAW;QACP,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;SAC9C,CAAC,CAAC;IACP,CAAC;CACJ;AAZD,sDAYC","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 { ResultListDataRepresentationAccountRepresentation } from '../model';\nimport { BaseApi } from './base.api';\n\n/**\n * AccountIntegrationApi service.\n */\nexport class AccountIntegrationApi extends BaseApi {\n /**\n * Retrieve external account information\n * Accounts are used to integrate with third party apps and clients\n *\n * @return Promise<ResultListDataRepresentationAccountRepresentation>\n */\n getAccounts(): Promise<ResultListDataRepresentationAccountRepresentation> {\n return this.get({\n path: '/api/enterprise/account/integration'\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"adminEndpoints.api.js","sourceRoot":"","sources":["adminEndpoints.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAuI;AACvI,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAM1C,4BAA4B,CAAC,oBAA2D;QACpF,IAAA,0BAAiB,EAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mCAAmC;YACzC,SAAS,EAAE,oBAAoB;YAC/B,UAAU,EAAE,uCAA+B;SAC9C,CAAC,CAAC;IACP,CAAC;IAOD,2BAA2B,CAAC,cAAmD;QAC3E,IAAA,0BAAiB,EAAC,cAAc,EAAE,g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uCAA+B;SAC9C,CAAC,CAAC;IACP,CAAC;IAQD,2BAA2B,CACvB,uBAA+B,EAC/B,cAAmD;QAEnD,IAAA,0BAAiB,EAAC,uBAAuB,EAAE,yBAAyB,CAAC,CAAC;QACtE,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,uBAAuB;SAC1B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2DAA2D;YACjE,UAAU;YACV,SAAS,EAAE,cAAc;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ;AAxND,8CAwNC","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 { CreateEndpointBasicAuthRepresentation, EndpointBasicAuthRepresentation, EndpointConfigurationRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminEndpointsApi service.\n */\nexport class AdminEndpointsApi extends BaseApi {\n /**\n * Add an endpoint authorization\n * @param createRepresentation createRepresentation\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n createBasicAuthConfiguration(createRepresentation: CreateEndpointBasicAuthRepresentation): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(createRepresentation, 'createRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/basic-auths',\n bodyParam: createRepresentation,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Create an endpoint\n * @param representation representation\n * @return Promise<EndpointConfigurationRepresentation>\n */\n createEndpointConfiguration(representation: EndpointConfigurationRepresentation): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(representation, 'representation');\n\n return this.post({\n path: '/api/enterprise/admin/endpoints',\n bodyParam: representation\n });\n }\n\n /**\n * Get an endpoint authorization\n * @param basicAuthId basicAuthId\n * @param tenantId tenantId\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n getBasicAuthConfiguration(basicAuthId: number, tenantId: number): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n basicAuthId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n queryParams,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * List endpoint authorizations\n * @param tenantId tenantId\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n getBasicAuthConfigurations(tenantId: number): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/basic-auths',\n queryParams,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Get an endpoint\n * @param endpointConfigurationId endpointConfigurationId\n * @param tenantId tenantId\n * @return Promise<EndpointConfigurationRepresentation>\n */\n getEndpointConfiguration(endpointConfigurationId: number, tenantId: number): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List endpoints\n * @param tenantId tenantId\n * @return Promise<EndpointConfigurationRepresentation>\n */\n getEndpointConfigurations(tenantId: number): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/endpoints',\n queryParams\n });\n }\n\n /**\n * Delete an endpoint authorization\n * @param basicAuthId basicAuthId\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n removeBasicAuthConfiguration(basicAuthId: number, tenantId: number): Promise<void> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n basicAuthId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete an endpoint\n * @param endpointConfigurationId endpointConfigurationId\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n removeEndpointConfiguration(endpointConfigurationId: number, tenantId: number): Promise<void> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Update an endpoint authorization\n * @param basicAuthId basicAuthId\n * @param createRepresentation createRepresentation\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n updateBasicAuthConfiguration(\n basicAuthId: number,\n createRepresentation: CreateEndpointBasicAuthRepresentation\n ): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(createRepresentation, 'createRepresentation');\n\n const pathParams = {\n basicAuthId\n };\n\n return this.put({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n bodyParam: createRepresentation,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Update an endpoint\n * @param endpointConfigurationId endpointConfigurationId\n * @param representation representation\n * @return Promise<EndpointConfigurationRepresentation>\n */\n updateEndpointConfiguration(\n endpointConfigurationId: number,\n representation: EndpointConfigurationRepresentation\n ): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(representation, 'representation');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n return this.put({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n bodyParam: representation\n });\n }\n}\n"]}
1
+ {"version":3,"file":"adminEndpoints.api.js","sourceRoot":"","sources":["adminEndpoints.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAAuI;AACvI,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAO1C,4BAA4B,CAAC,oBAA2D;QACpF,IAAA,0BAAiB,EAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;QAEhE,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mCAAmC;YACzC,SAAS,EAAE,oBAAoB;YAC/B,UAAU,EAAE,uCAA+B;SAC9C,CAAC,CAAC;IACP,CAAC;IAQD,2BAA2B,CAAC,cAAmD;QAC3E,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,iCAAiC;YACvC,SAAS,EAAE,cAAc;SAC5B,CAAC,CAAC;IACP,CAAC;IASD,yBAAyB,CAAC,WAAmB,EAAE,QAAgB;QAC3D,IAAA,0BAAiB,EAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAC9C,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAExC,MAAM,UAAU,GAAG;YACf,WAAW;SACd,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,WA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\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 { CreateEndpointBasicAuthRepresentation, EndpointBasicAuthRepresentation, EndpointConfigurationRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminEndpointsApi service.\n */\nexport class AdminEndpointsApi extends BaseApi {\n /**\n * Add an endpoint authorization\n *\n * @param createRepresentation createRepresentation\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n createBasicAuthConfiguration(createRepresentation: CreateEndpointBasicAuthRepresentation): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(createRepresentation, 'createRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/basic-auths',\n bodyParam: createRepresentation,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Create an endpoint\n *\n * @param representation representation\n * @return Promise<EndpointConfigurationRepresentation>\n */\n createEndpointConfiguration(representation: EndpointConfigurationRepresentation): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(representation, 'representation');\n\n return this.post({\n path: '/api/enterprise/admin/endpoints',\n bodyParam: representation\n });\n }\n\n /**\n * Get an endpoint authorization\n *\n * @param basicAuthId basicAuthId\n * @param tenantId tenantId\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n getBasicAuthConfiguration(basicAuthId: number, tenantId: number): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n basicAuthId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n queryParams,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * List endpoint authorizations\n *\n * @param tenantId tenantId\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n getBasicAuthConfigurations(tenantId: number): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/basic-auths',\n queryParams,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Get an endpoint\n *\n * @param endpointConfigurationId endpointConfigurationId\n * @param tenantId tenantId\n * @return Promise<EndpointConfigurationRepresentation>\n */\n getEndpointConfiguration(endpointConfigurationId: number, tenantId: number): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * List endpoints\n *\n * @param tenantId tenantId\n * @return Promise<EndpointConfigurationRepresentation>\n */\n getEndpointConfigurations(tenantId: number): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const queryParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/endpoints',\n queryParams\n });\n }\n\n /**\n * Delete an endpoint authorization\n *\n * @param basicAuthId basicAuthId\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n removeBasicAuthConfiguration(basicAuthId: number, tenantId: number): Promise<void> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n basicAuthId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Delete an endpoint\n *\n * @param endpointConfigurationId endpointConfigurationId\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n removeEndpointConfiguration(endpointConfigurationId: number, tenantId: number): Promise<void> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n const queryParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Update an endpoint authorization\n *\n * @param basicAuthId basicAuthId\n * @param createRepresentation createRepresentation\n * @return Promise<EndpointBasicAuthRepresentation>\n */\n updateBasicAuthConfiguration(\n basicAuthId: number,\n createRepresentation: CreateEndpointBasicAuthRepresentation\n ): Promise<EndpointBasicAuthRepresentation> {\n throwIfNotDefined(basicAuthId, 'basicAuthId');\n throwIfNotDefined(createRepresentation, 'createRepresentation');\n\n const pathParams = {\n basicAuthId\n };\n\n return this.put({\n path: '/api/enterprise/admin/basic-auths/{basicAuthId}',\n pathParams,\n bodyParam: createRepresentation,\n returnType: EndpointBasicAuthRepresentation\n });\n }\n\n /**\n * Update an endpoint\n *\n * @param endpointConfigurationId endpointConfigurationId\n * @param representation representation\n * @return Promise<EndpointConfigurationRepresentation>\n */\n updateEndpointConfiguration(\n endpointConfigurationId: number,\n representation: EndpointConfigurationRepresentation\n ): Promise<EndpointConfigurationRepresentation> {\n throwIfNotDefined(endpointConfigurationId, 'endpointConfigurationId');\n throwIfNotDefined(representation, 'representation');\n\n const pathParams = {\n endpointConfigurationId\n };\n\n return this.put({\n path: '/api/enterprise/admin/endpoints/{endpointConfigurationId}',\n pathParams,\n bodyParam: representation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"adminGroups.api.js","sourceRoot":"","sources":["adminGroups.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAMkB;AAClB,yCAAqC;AACrC,4CAAoD;AAKpD,M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YAC9C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAOD,SAAS,CAAC,IAAqE;QAC3E,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8BAA8B;YACpC,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAOD,gBAAgB,CAAC,OAAe;QAC5B,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,uDAAuD;YAC7D,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,WAAW,CAAC,OAAe,EAAE,mBAAwC;QACjE,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,IAAA,0BAAiB,EAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,SAAS,EAAE,mBAAmB;YAC9B,UAAU,EAAE,2BAAmB;SAClC,CAAC,CAAC;IACP,CAAC;CACJ;AA3TD,wCA2TC","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 AbstractGroupRepresentation,\n AddGroupCapabilitiesRepresentation,\n GroupRepresentation,\n LightGroupRepresentation,\n ResultListDataRepresentationLightUserRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminGroupsApi service.\n */\nexport class AdminGroupsApi extends BaseApi {\n /**\n * Activate a group\n * @param groupId groupId\n * @return Promise<{}>\n */\n activate(groupId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/action/activate',\n pathParams\n });\n }\n\n /**\n * Add users to a group\n * @param groupId groupId\n * @return Promise<{}>\n */\n addAllUsersToGroup(groupId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/add-all-users',\n pathParams\n });\n }\n\n /**\n * Add capabilities to a group\n * @param groupId groupId\n * @param addGroupCapabilitiesRepresentation addGroupCapabilitiesRepresentation\n * @return Promise<{}>\n */\n addGroupCapabilities(groupId: number, addGroupCapabilitiesRepresentation: AddGroupCapabilitiesRepresentation): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(addGroupCapabilitiesRepresentation, 'addGroupCapabilitiesRepresentation');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/capabilities',\n pathParams,\n bodyParam: addGroupCapabilitiesRepresentation\n });\n }\n\n /**\n * Add a user to a group\n * @param groupId groupId\n * @param userId userId\n * @return Promise<{}>\n */\n addGroupMember(groupId: number, userId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n groupId,\n userId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/members/{userId}',\n pathParams\n });\n }\n\n /**\n * Get a related group\n * @param groupId groupId\n * @param relatedGroupId relatedGroupId\n * @param type type\n * @return Promise<{}>\n */\n addRelatedGroup(groupId: number, relatedGroupId: number, type: string): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(relatedGroupId, 'relatedGroupId');\n throwIfNotDefined(type, 'type');\n\n const pathParams = {\n groupId,\n relatedGroupId\n };\n\n const queryParams = {\n type\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups/{relatedGroupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Create a group\n * @param groupRepresentation groupRepresentation\n * @return Promise<GroupRepresentation>\n */\n createNewGroup(groupRepresentation: GroupRepresentation): Promise<GroupRepresentation> {\n throwIfNotDefined(groupRepresentation, 'groupRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/groups',\n bodyParam: groupRepresentation,\n returnType: GroupRepresentation\n });\n }\n\n /**\n * Remove a capability from a group\n * @param groupId groupId\n * @param groupCapabilityId groupCapabilityId\n * @return Promise<{}>\n */\n deleteGroupCapability(groupId: number, groupCapabilityId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupCapabilityId, 'groupCapabilityId');\n\n const pathParams = {\n groupId,\n groupCapabilityId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/capabilities/{groupCapabilityId}',\n pathParams\n });\n }\n\n /**\n * Delete a member from a group\n * @param groupId groupId\n * @param userId userId\n * @return Promise<{}>\n */\n deleteGroupMember(groupId: number, userId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n groupId,\n userId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/members/{userId}',\n pathParams\n });\n }\n\n /**\n * Delete a group\n * @param groupId groupId\n * @return Promise<{}>\n */\n deleteGroup(groupId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams\n });\n }\n\n /**\n * Delete a related group\n * @param groupId groupId\n * @param relatedGroupId relatedGroupId\n * @return Promise<{}>\n */\n deleteRelatedGroup(groupId: number, relatedGroupId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(relatedGroupId, 'relatedGroupId');\n\n const pathParams = {\n groupId,\n relatedGroupId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups/{relatedGroupId}',\n pathParams\n });\n }\n\n /**\n * List group capabilities\n * @param groupId groupId\n * @return Promise<string>\n */\n getCapabilities(groupId: number): Promise<string> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/potential-capabilities',\n pathParams\n });\n }\n\n /**\n * Get group members\n * @param groupId groupId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationLightUserRepresentation>\n */\n getGroupUsers(\n groupId: number,\n opts?: { filter?: string; page?: number; pageSize?: number }\n ): Promise<ResultListDataRepresentationLightUserRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/users',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Get a group\n * @param groupId groupId\n * @param opts Optional parameters\n * @return Promise<AbstractGroupRepresentation>\n */\n getGroup(groupId: number, opts?: { includeAllUsers?: boolean; summary?: boolean }): Promise<AbstractGroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Query groups\n * @param opts Optional parameters\n * @return Promise<LightGroupRepresentation>\n */\n getGroups(opts?: { tenantId?: number; functional?: boolean; summary?: boolean }): Promise<LightGroupRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/groups',\n queryParams: opts\n });\n }\n\n /**\n * Get related groups\n * @param groupId groupId\n * @return Promise<LightGroupRepresentation>\n */\n getRelatedGroups(groupId: number): Promise<LightGroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups',\n pathParams\n });\n }\n\n /**\n * Update a group\n * @param groupId groupId\n * @param groupRepresentation groupRepresentation\n * @return Promise<GroupRepresentation>\n */\n updateGroup(groupId: number, groupRepresentation: GroupRepresentation): Promise<GroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupRepresentation, 'groupRepresentation');\n\n const pathParams = {\n groupId\n };\n\n return this.put({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams,\n bodyParam: groupRepresentation,\n returnType: GroupRepresentation\n });\n }\n}\n"]}
1
+ {"version":3,"file":"adminGroups.api.js","sourceRoot":"","sources":["adminGroups.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAMkB;AAClB,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,cAAe,SAAQ,kBAAO;IAOvC,QAAQ,CAAC,OAAe;QACpB,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wDAAwD;YAC9D,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,kBAAkB,CAAC,OAAe;QAC9B,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sDAAsD;YAC5D,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,oBAAoB,CAAC,OAAe,EAAE,kCAAsE;QACxG,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,IAAA,0BAAiB,EAAC,kCAAkC,EAAE,oCAAoC,CA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EF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,SAAS,EAAE,mBAAmB;YAC9B,UAAU,EAAE,2BAAmB;SAClC,CAAC,CAAC;IACP,CAAC;CACJ;AA3UD,wCA2UC","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 AbstractGroupRepresentation,\n AddGroupCapabilitiesRepresentation,\n GroupRepresentation,\n LightGroupRepresentation,\n ResultListDataRepresentationLightUserRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminGroupsApi service.\n */\nexport class AdminGroupsApi extends BaseApi {\n /**\n * Activate a group\n *\n * @param groupId groupId\n * @return Promise<{}>\n */\n activate(groupId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/action/activate',\n pathParams\n });\n }\n\n /**\n * Add users to a group\n *\n * @param groupId groupId\n * @return Promise<{}>\n */\n addAllUsersToGroup(groupId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/add-all-users',\n pathParams\n });\n }\n\n /**\n * Add capabilities to a group\n *\n * @param groupId groupId\n * @param addGroupCapabilitiesRepresentation addGroupCapabilitiesRepresentation\n * @return Promise<{}>\n */\n addGroupCapabilities(groupId: number, addGroupCapabilitiesRepresentation: AddGroupCapabilitiesRepresentation): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(addGroupCapabilitiesRepresentation, 'addGroupCapabilitiesRepresentation');\n\n const pathParams = {\n groupId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/capabilities',\n pathParams,\n bodyParam: addGroupCapabilitiesRepresentation\n });\n }\n\n /**\n * Add a user to a group\n *\n * @param groupId groupId\n * @param userId userId\n * @return Promise<{}>\n */\n addGroupMember(groupId: number, userId: number): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n groupId,\n userId\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/members/{userId}',\n pathParams\n });\n }\n\n /**\n * Get a related group\n *\n * @param groupId groupId\n * @param relatedGroupId relatedGroupId\n * @param type type\n * @return Promise<{}>\n */\n addRelatedGroup(groupId: number, relatedGroupId: number, type: string): Promise<any> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(relatedGroupId, 'relatedGroupId');\n throwIfNotDefined(type, 'type');\n\n const pathParams = {\n groupId,\n relatedGroupId\n };\n\n const queryParams = {\n type\n };\n\n return this.post({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups/{relatedGroupId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Create a group\n *\n * @param groupRepresentation groupRepresentation\n * @return Promise<GroupRepresentation>\n */\n createNewGroup(groupRepresentation: GroupRepresentation): Promise<GroupRepresentation> {\n throwIfNotDefined(groupRepresentation, 'groupRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/groups',\n bodyParam: groupRepresentation,\n returnType: GroupRepresentation\n });\n }\n\n /**\n * Remove a capability from a group\n *\n * @param groupId groupId\n * @param groupCapabilityId groupCapabilityId\n * @return Promise<{}>\n */\n deleteGroupCapability(groupId: number, groupCapabilityId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupCapabilityId, 'groupCapabilityId');\n\n const pathParams = {\n groupId,\n groupCapabilityId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/capabilities/{groupCapabilityId}',\n pathParams\n });\n }\n\n /**\n * Delete a member from a group\n *\n * @param groupId groupId\n * @param userId userId\n * @return Promise<{}>\n */\n deleteGroupMember(groupId: number, userId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n groupId,\n userId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/members/{userId}',\n pathParams\n });\n }\n\n /**\n * Delete a group\n *\n * @param groupId groupId\n * @return Promise<{}>\n */\n deleteGroup(groupId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams\n });\n }\n\n /**\n * Delete a related group\n *\n * @param groupId groupId\n * @param relatedGroupId relatedGroupId\n * @return Promise<{}>\n */\n deleteRelatedGroup(groupId: number, relatedGroupId: number): Promise<void> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(relatedGroupId, 'relatedGroupId');\n\n const pathParams = {\n groupId,\n relatedGroupId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups/{relatedGroupId}',\n pathParams\n });\n }\n\n /**\n * List group capabilities\n *\n * @param groupId groupId\n * @return Promise<string>\n */\n getCapabilities(groupId: number): Promise<string> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/potential-capabilities',\n pathParams\n });\n }\n\n /**\n * Get group members\n *\n * @param groupId groupId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationLightUserRepresentation>\n */\n getGroupUsers(\n groupId: number,\n opts?: { filter?: string; page?: number; pageSize?: number }\n ): Promise<ResultListDataRepresentationLightUserRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/users',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Get a group\n *\n * @param groupId groupId\n * @param opts Optional parameters\n * @return Promise<AbstractGroupRepresentation>\n */\n getGroup(groupId: number, opts?: { includeAllUsers?: boolean; summary?: boolean }): Promise<AbstractGroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Query groups\n *\n * @param opts Optional parameters\n * @return Promise<LightGroupRepresentation>\n */\n getGroups(opts?: { tenantId?: number; functional?: boolean; summary?: boolean }): Promise<LightGroupRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/groups',\n queryParams: opts\n });\n }\n\n /**\n * Get related groups\n *\n * @param groupId groupId\n * @return Promise<LightGroupRepresentation>\n */\n getRelatedGroups(groupId: number): Promise<LightGroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n\n const pathParams = {\n groupId\n };\n\n return this.get({\n path: '/api/enterprise/admin/groups/{groupId}/related-groups',\n pathParams\n });\n }\n\n /**\n * Update a group\n *\n * @param groupId groupId\n * @param groupRepresentation groupRepresentation\n * @return Promise<GroupRepresentation>\n */\n updateGroup(groupId: number, groupRepresentation: GroupRepresentation): Promise<GroupRepresentation> {\n throwIfNotDefined(groupId, 'groupId');\n throwIfNotDefined(groupRepresentation, 'groupRepresentation');\n\n const pathParams = {\n groupId\n };\n\n return this.put({\n path: '/api/enterprise/admin/groups/{groupId}',\n pathParams,\n bodyParam: groupRepresentation,\n returnType: GroupRepresentation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"adminTenants.api.js","sourceRoot":"","sources":["adminTenants.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAA+I;AAC/I,yCAAqC;AACrC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;IAOD,UAAU;QACN,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;SACxC,CAAC,CAAC;IACP,CAAC;IAQD,MAAM,CAAC,QAAgB,EAAE,0BAAsD;QAC3E,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,0BAA0B,EAAE,4BAA4B,CAAC,CAAC;QAE5E,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,SAAS,EAAE,0BAA0B;YACrC,UAAU,EAAE,4BAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,QAAgB,EAAE,IAAS;QACxC,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,UAAU,GAAG;YACf,IAAI;SACP,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,+CAA+C;YACrD,UAAU;YACV,UAAU;YACV,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,UAAU,EAAE,iCAAyB;SACxC,CAAC,CAAC;IACP,CAAC;CACJ;AArJD,0CAqJC","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 { CreateTenantRepresentation, ImageUploadRepresentation, LightTenantRepresentation, TenantEvent, TenantRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminTenantsApi service.\n */\nexport class AdminTenantsApi extends BaseApi {\n /**\n * Create a tenant\n * Only a tenant manager may access this endpoint\n * @param createTenantRepresentation createTenantRepresentation\n * @return Promise<LightTenantRepresentation>\n */\n createTenant(createTenantRepresentation: CreateTenantRepresentation): Promise<LightTenantRepresentation> {\n throwIfNotDefined(createTenantRepresentation, 'groupId');\n\n return this.post({\n path: '/api/enterprise/admin/tenants',\n bodyParam: createTenantRepresentation\n });\n }\n\n /**\n * Delete a tenant\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n deleteTenant(tenantId: number): Promise<void> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams\n });\n }\n\n /**\n * Get tenant events\n * @param tenantId tenantId\n * @return Promise<TenantEvent>\n */\n getTenantEvents(tenantId: number): Promise<TenantEvent> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}/events',\n pathParams,\n returnType: TenantEvent\n });\n }\n\n /**\n * Get a tenant's logo\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n getTenantLogo(tenantId: number): Promise<any> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}/logo',\n pathParams\n });\n }\n\n /**\n * Get a tenant\n * @param tenantId tenantId\n * @return Promise<TenantRepresentation>\n */\n getTenant(tenantId: number): Promise<TenantRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams,\n returnType: TenantRepresentation\n });\n }\n\n /**\n * List tenants\n * Only a tenant manager may access this endpoint\n * @return Promise<LightTenantRepresentation>\n */\n getTenants(): Promise<LightTenantRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/tenants'\n });\n }\n\n /**\n * Update a tenant\n * @param tenantId tenantId\n * @param createTenantRepresentation createTenantRepresentation\n * @return Promise<TenantRepresentation>\n */\n update(tenantId: number, createTenantRepresentation: CreateTenantRepresentation): Promise<TenantRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n throwIfNotDefined(createTenantRepresentation, 'createTenantRepresentation');\n\n const pathParams = {\n tenantId\n };\n\n return this.put({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams,\n bodyParam: createTenantRepresentation,\n returnType: TenantRepresentation\n });\n }\n\n /**\n * Update a tenant's logo\n * @param tenantId tenantId\n * @param file file\n * @return Promise<ImageUploadRepresentation>\n */\n uploadTenantLogo(tenantId: number, file: any): Promise<ImageUploadRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n throwIfNotDefined(file, 'file');\n\n const pathParams = {\n tenantId\n };\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/admin/tenants/{tenantId}/logo',\n pathParams,\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: ImageUploadRepresentation\n });\n }\n}\n"]}
1
+ {"version":3,"file":"adminTenants.api.js","sourceRoot":"","sources":["adminTenants.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAA+I;AAC/I,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,eAAgB,SAAQ,kBAAO;IAQxC,YAAY,CAAC,0BAAsD;QAC/D,IAAA,0BAAiB,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC;QAEzD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,0BAA0B;SACxC,CAAC,CAAC;IACP,CAAC;IAQD,Y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AAC;QAE5E,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,SAAS,EAAE,0BAA0B;YACrC,UAAU,EAAE,4BAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IASD,gBAAgB,CAAC,QAAgB,EAAE,IAAS;QACxC,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,UAAU,GAAG;YACf,IAAI;SACP,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,+CAA+C;YACrD,UAAU;YACV,UAAU;YACV,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,UAAU,EAAE,iCAAyB;SACxC,CAAC,CAAC;IACP,CAAC;CACJ;AA7JD,0CA6JC","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 { CreateTenantRepresentation, ImageUploadRepresentation, LightTenantRepresentation, TenantEvent, TenantRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AdminTenantsApi service.\n */\nexport class AdminTenantsApi extends BaseApi {\n /**\n * Create a tenant\n * Only a tenant manager may access this endpoint\n *\n * @param createTenantRepresentation createTenantRepresentation\n * @return Promise<LightTenantRepresentation>\n */\n createTenant(createTenantRepresentation: CreateTenantRepresentation): Promise<LightTenantRepresentation> {\n throwIfNotDefined(createTenantRepresentation, 'groupId');\n\n return this.post({\n path: '/api/enterprise/admin/tenants',\n bodyParam: createTenantRepresentation\n });\n }\n\n /**\n * Delete a tenant\n *\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n deleteTenant(tenantId: number): Promise<void> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.delete({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams\n });\n }\n\n /**\n * Get tenant events\n *\n * @param tenantId tenantId\n * @return Promise<TenantEvent>\n */\n getTenantEvents(tenantId: number): Promise<TenantEvent> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}/events',\n pathParams,\n returnType: TenantEvent\n });\n }\n\n /**\n * Get a tenant's logo\n *\n * @param tenantId tenantId\n * @return Promise<{}>\n */\n getTenantLogo(tenantId: number): Promise<any> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}/logo',\n pathParams\n });\n }\n\n /**\n * Get a tenant\n *\n * @param tenantId tenantId\n * @return Promise<TenantRepresentation>\n */\n getTenant(tenantId: number): Promise<TenantRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n\n const pathParams = {\n tenantId\n };\n\n return this.get({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams,\n returnType: TenantRepresentation\n });\n }\n\n /**\n * List tenants\n * Only a tenant manager may access this endpoint\n *\n * @return Promise<LightTenantRepresentation>\n */\n getTenants(): Promise<LightTenantRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/tenants'\n });\n }\n\n /**\n * Update a tenant\n *\n * @param tenantId tenantId\n * @param createTenantRepresentation createTenantRepresentation\n * @return Promise<TenantRepresentation>\n */\n update(tenantId: number, createTenantRepresentation: CreateTenantRepresentation): Promise<TenantRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n throwIfNotDefined(createTenantRepresentation, 'createTenantRepresentation');\n\n const pathParams = {\n tenantId\n };\n\n return this.put({\n path: '/api/enterprise/admin/tenants/{tenantId}',\n pathParams,\n bodyParam: createTenantRepresentation,\n returnType: TenantRepresentation\n });\n }\n\n /**\n * Update a tenant's logo\n *\n * @param tenantId tenantId\n * @param file file\n * @return Promise<ImageUploadRepresentation>\n */\n uploadTenantLogo(tenantId: number, file: any): Promise<ImageUploadRepresentation> {\n throwIfNotDefined(tenantId, 'tenantId');\n throwIfNotDefined(file, 'file');\n\n const pathParams = {\n tenantId\n };\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/admin/tenants/{tenantId}/logo',\n pathParams,\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: ImageUploadRepresentation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"adminUsers.api.js","sourceRoot":"","sources":["adminUsers.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAKkB;AAClB,yCAAqC;AACrC,4CAAoD;AAmBpD,MAAa,aAAc,SAAQ,kBAAO;IAMtC,eAAe,CAAC,MAAoC;QAChD,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6BAA6B;YACnC,SAAS,EAAE,MAAM;SACpB,CAAC,CAAC;IACP,CAAC;IAOD,aAAa,CAAC,kBAAsC;QAChD,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,6BAA6B;YACnC,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,0BAAkB;SACjC,CAAC,CAAC;IACP,CAAC;IAQD,OAAO,CAAC,MAAc,EAAE,IAA4B;QAChD,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,sCAAsC;YAC5C,UAAU;YACV,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAOD,QAAQ,CAAC,IAAmB;QACxB,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6BAA6B;YACnC,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;IAQD,iBAAiB,CAAC,MAAc,EAAE,kBAAsC;QACpE,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,sCAAsC;YAC5C,UAAU;YACV,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAlFD,sCAkFC","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 AbstractUserRepresentation,\n BulkUserUpdateRepresentation,\n ResultListDataRepresentationAbstractUserRepresentation,\n UserRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\nexport interface GetUsersOpts {\n filter?: string;\n status?: string;\n accountType?: string;\n sort?: string;\n company?: string;\n start?: number;\n page?: number;\n size?: number;\n groupId?: number;\n tenantId?: number;\n summary?: boolean;\n}\n\n/**\n * AdminUsersApi service.\n */\nexport class AdminUsersApi extends BaseApi {\n /**\n * Bulk update a list of users\n * @param update update\n * @return Promise<{}>\n */\n bulkUpdateUsers(update: BulkUserUpdateRepresentation): Promise<any> {\n throwIfNotDefined(update, 'update');\n\n return this.put({\n path: '/api/enterprise/admin/users',\n bodyParam: update\n });\n }\n\n /**\n * Create a user\n * @param userRepresentation userRepresentation\n * @return Promise<UserRepresentation>\n */\n createNewUser(userRepresentation: UserRepresentation): Promise<UserRepresentation> {\n throwIfNotDefined(userRepresentation, 'userRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/users',\n bodyParam: userRepresentation,\n returnType: UserRepresentation\n });\n }\n\n /**\n * Get a user\n * @param userId userId\n * @param opts Optional parameters\n * @return Promise<AbstractUserRepresentation>\n */\n getUser(userId: number, opts?: { summary?: boolean }): Promise<AbstractUserRepresentation> {\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n userId\n };\n\n return this.get({\n path: '/api/enterprise/admin/users/{userId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Query users\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationAbstractUserRepresentation>\n */\n getUsers(opts?: GetUsersOpts): Promise<ResultListDataRepresentationAbstractUserRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/users',\n queryParams: opts\n });\n }\n\n /**\n * Update a user\n * @param userId userId\n * @param userRepresentation userRepresentation\n * @return Promise<{}>\n */\n updateUserDetails(userId: number, userRepresentation: UserRepresentation): Promise<any> {\n throwIfNotDefined(userId, 'userId');\n throwIfNotDefined(userRepresentation, 'userRepresentation');\n\n const pathParams = {\n userId\n };\n\n return this.put({\n path: '/api/enterprise/admin/users/{userId}',\n pathParams,\n bodyParam: userRepresentation\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MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,sCAAsC;YAC5C,UAAU;YACV,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAvFD,sCAuFC","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 AbstractUserRepresentation,\n BulkUserUpdateRepresentation,\n ResultListDataRepresentationAbstractUserRepresentation,\n UserRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\nexport interface GetUsersOpts {\n filter?: string;\n status?: string;\n accountType?: string;\n sort?: string;\n company?: string;\n start?: number;\n page?: number;\n size?: number;\n groupId?: number;\n tenantId?: number;\n summary?: boolean;\n}\n\n/**\n * AdminUsersApi service.\n */\nexport class AdminUsersApi extends BaseApi {\n /**\n * Bulk update a list of users\n *\n * @param update update\n * @return Promise<{}>\n */\n bulkUpdateUsers(update: BulkUserUpdateRepresentation): Promise<any> {\n throwIfNotDefined(update, 'update');\n\n return this.put({\n path: '/api/enterprise/admin/users',\n bodyParam: update\n });\n }\n\n /**\n * Create a user\n *\n * @param userRepresentation userRepresentation\n * @return Promise<UserRepresentation>\n */\n createNewUser(userRepresentation: UserRepresentation): Promise<UserRepresentation> {\n throwIfNotDefined(userRepresentation, 'userRepresentation');\n\n return this.post({\n path: '/api/enterprise/admin/users',\n bodyParam: userRepresentation,\n returnType: UserRepresentation\n });\n }\n\n /**\n * Get a user\n *\n * @param userId userId\n * @param opts Optional parameters\n * @return Promise<AbstractUserRepresentation>\n */\n getUser(userId: number, opts?: { summary?: boolean }): Promise<AbstractUserRepresentation> {\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n userId\n };\n\n return this.get({\n path: '/api/enterprise/admin/users/{userId}',\n pathParams,\n queryParams: opts\n });\n }\n\n /**\n * Query users\n *\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationAbstractUserRepresentation>\n */\n getUsers(opts?: GetUsersOpts): Promise<ResultListDataRepresentationAbstractUserRepresentation> {\n return this.get({\n path: '/api/enterprise/admin/users',\n queryParams: opts\n });\n }\n\n /**\n * Update a user\n *\n * @param userId userId\n * @param userRepresentation userRepresentation\n * @return Promise<{}>\n */\n updateUserDetails(userId: number, userRepresentation: UserRepresentation): Promise<any> {\n throwIfNotDefined(userId, 'userId');\n throwIfNotDefined(userRepresentation, 'userRepresentation');\n\n const pathParams = {\n userId\n };\n\n return this.put({\n path: '/api/enterprise/admin/users/{userId}',\n pathParams,\n bodyParam: userRepresentation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"appDefinitions.api.js","sourceRoot":"","sources":["appDefinitions.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAQH,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAM1C,mBAAmB,CAAC,eAAuB;QACvC,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,mDAAmD;YACzD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,mBAAmB,CAAC,OAAe;QAC/B,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,YAAY,G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EAAE,SAAS,CAAC,CAAC;QACtC,IAAA,0BAAiB,EAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mDAAmD;YACzD,UAAU;YACV,SAAS,EAAE,YAAY;SAC1B,CAAC,CAAC;IACP,CAAC;IAQD,mBAAmB,CAAC,OAAe,EAAE,YAAmD;QACpF,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACtC,IAAA,0BAAiB,EAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC;YACjC,MAAM,UAAU,GAAG;gBACf,IAAI,EAAE,YAAY;aACrB,CAAC;YAEF,OAAO,IAAI,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,kDAAkD;gBACxD,UAAU;gBACV,UAAU;gBACV,SAAS,EAAE,YAAY;gBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;aACxC,CAAC,CAAC;QACP,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,GAAG,CAAC;gBACZ,IAAI,EAAE,2CAA2C;gBACjD,UAAU;gBACV,SAAS,EAAE,YAAY;aAC1B,CAAC,CAAC;QACP,CAAC;IACL,CAAC;CACJ;AA1KD,8CA0KC","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 AppDefinitionPublishRepresentation,\n AppDefinitionRepresentation,\n AppDefinitionSaveRepresentation,\n AppDefinitionUpdateResultRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AppDefinitionsApi service.\n */\nexport class AppDefinitionsApi extends BaseApi {\n /**\n * deleteAppDefinition\n * @param appDefinitionId appDefinitionId\n * @return Promise<{}>\n */\n deleteAppDefinition(appDefinitionId: number): Promise<void> {\n throwIfNotDefined(appDefinitionId, 'appDefinitionId');\n\n const pathParams = {\n appDefinitionId\n };\n\n return this.delete({\n path: '/api/enterprise/app-definitions/{appDefinitionId}',\n pathParams\n });\n }\n\n /**\n * Export an app definition\n *\n * This will return a zip file containing the app definition model and all related models (process definitions and forms).\n * @param modelId modelId from a runtime app or the id of an app definition model\n * @return Promise<{}>\n */\n exportAppDefinition(modelId: number): Promise<any> {\n throwIfNotDefined(modelId, 'modelId');\n\n const pathParams = {\n modelId\n };\n\n const contentTypes = ['application/json'];\n const accepts = ['application/json', 'application/zip'];\n\n return this.get({\n path: '/api/enterprise/app-definitions/{modelId}/export',\n pathParams,\n contentTypes,\n accepts\n });\n }\n\n /**\n * Get an app definition\n * @param modelId Application definition ID\n * @return Promise<AppDefinitionRepresentation>\n */\n getAppDefinition(modelId: number): Promise<AppDefinitionRepresentation> {\n throwIfNotDefined(modelId, 'modelId');\n\n const pathParams = {\n modelId\n };\n\n return this.get({\n path: '/api/enterprise/app-definitions/{modelId}',\n pathParams\n });\n }\n\n /**\n * importAndPublishApp\n * @param file file\n * @param opts options\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n importAndPublishApp(file: any, opts?: { renewIdmEntries?: boolean }): Promise<AppDefinitionUpdateResultRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n const queryParams = {\n renewIdmEntries: opts?.renewIdmEntries\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/publish-app',\n formParams,\n queryParams,\n contentTypes: ['multipart/form-data']\n });\n }\n\n /**\n * Import a new app definition\n *\n * Allows a zip file to be uploaded containing an app definition and any number of included models.\n * <p>This is useful to bootstrap an environment (for users or continuous integration).<p>\n * Before using any processes included in the import the app must be published and deployed.\n * @param file file\n * @param opts Optional parameters\n * @param opts.renewIdmEntries Whether to renew user and group identifiers (default to false)\n * @return Promise<AppDefinitionRepresentation>\n */\n importAppDefinition(file: any, opts?: { renewIdmEntries?: string }): Promise<AppDefinitionRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/import',\n queryParams: opts,\n formParams,\n contentTypes: ['multipart/form-data']\n });\n }\n\n /**\n * Publish an app definition\n *\n * Publishing an app definition makes it available for use. The application must not have any validation errors or an error will be returned.<p>Before an app definition can be used by other users, it must also be deployed for their use\n * @param modelId modelId\n * @param publishModel publishModel\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n publishAppDefinition(modelId: number, publishModel: AppDefinitionPublishRepresentation): Promise<AppDefinitionUpdateResultRepresentation> {\n throwIfNotDefined(modelId, 'modelId');\n throwIfNotDefined(publishModel, 'publishModel');\n\n const pathParams = {\n modelId\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/{modelId}/publish',\n pathParams,\n bodyParam: publishModel\n });\n }\n\n /**\n * Update an app definition\n * @param modelId Application definition ID\n * @param updatedModel updatedModel |\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n updateAppDefinition(modelId: number, updatedModel: AppDefinitionSaveRepresentation | any): Promise<any> {\n throwIfNotDefined(modelId, 'modelId');\n throwIfNotDefined(updatedModel, 'updatedModel');\n\n const pathParams = {\n modelId\n };\n\n if (!updatedModel['appDefinition']) {\n const formParams = {\n file: updatedModel\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/{modelId}/import',\n pathParams,\n formParams,\n bodyParam: updatedModel,\n contentTypes: ['multipart/form-data']\n });\n } else {\n return this.put({\n path: '/api/enterprise/app-definitions/{modelId}',\n pathParams,\n bodyParam: updatedModel\n });\n }\n }\n}\n"]}
1
+ {"version":3,"file":"appDefinitions.api.js","sourceRoot":"","sources":["appDefinitions.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAQH,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAO1C,mBAAmB,CAAC,eAAuB;QACvC,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,mDAAmD;YACzD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAUD,mBAAmB,CAAC,OAAe;QAC/B,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,MAAM,YAAY,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;QAExD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;YACV,YAAY;YACZ,OAAO;SACV,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,OAAe;QAC5B,IAAA,0BAAiB,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG;YACf,OAAO;SACV,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2CAA2C;YACjD,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IASD,mBAAmB,CAAC,IAAS,EAAE,IAAoC;QAC/D,IAAA,0BAAiB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,UAAU,GAAG;YACf,IAAI;SACP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AI,CAAC;gBACb,IAAI,EAAE,kDAAkD;gBACxD,UAAU;gBACV,UAAU;gBACV,SAAS,EAAE,YAAY;gBACvB,YAAY,EAAE,CAAC,qBAAqB,CAAC;aACxC,CAAC,CAAC;QACP,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,GAAG,CAAC;gBACZ,IAAI,EAAE,2CAA2C;gBACjD,UAAU;gBACV,SAAS,EAAE,YAAY;aAC1B,CAAC,CAAC;QACP,CAAC;IACL,CAAC;CACJ;AAjLD,8CAiLC","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 AppDefinitionPublishRepresentation,\n AppDefinitionRepresentation,\n AppDefinitionSaveRepresentation,\n AppDefinitionUpdateResultRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * AppDefinitionsApi service.\n */\nexport class AppDefinitionsApi extends BaseApi {\n /**\n * deleteAppDefinition\n *\n * @param appDefinitionId appDefinitionId\n * @return Promise<{}>\n */\n deleteAppDefinition(appDefinitionId: number): Promise<void> {\n throwIfNotDefined(appDefinitionId, 'appDefinitionId');\n\n const pathParams = {\n appDefinitionId\n };\n\n return this.delete({\n path: '/api/enterprise/app-definitions/{appDefinitionId}',\n pathParams\n });\n }\n\n /**\n * Export an app definition\n *\n * This will return a zip file containing the app definition model and all related models (process definitions and forms).\n *\n * @param modelId modelId from a runtime app or the id of an app definition model\n * @return Promise<{}>\n */\n exportAppDefinition(modelId: number): Promise<any> {\n throwIfNotDefined(modelId, 'modelId');\n\n const pathParams = {\n modelId\n };\n\n const contentTypes = ['application/json'];\n const accepts = ['application/json', 'application/zip'];\n\n return this.get({\n path: '/api/enterprise/app-definitions/{modelId}/export',\n pathParams,\n contentTypes,\n accepts\n });\n }\n\n /**\n * Get an app definition\n *\n * @param modelId Application definition ID\n * @return Promise<AppDefinitionRepresentation>\n */\n getAppDefinition(modelId: number): Promise<AppDefinitionRepresentation> {\n throwIfNotDefined(modelId, 'modelId');\n\n const pathParams = {\n modelId\n };\n\n return this.get({\n path: '/api/enterprise/app-definitions/{modelId}',\n pathParams\n });\n }\n\n /**\n * importAndPublishApp\n *\n * @param file file\n * @param opts options\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n importAndPublishApp(file: any, opts?: { renewIdmEntries?: boolean }): Promise<AppDefinitionUpdateResultRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n const queryParams = {\n renewIdmEntries: opts?.renewIdmEntries\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/publish-app',\n formParams,\n queryParams,\n contentTypes: ['multipart/form-data']\n });\n }\n\n /**\n * Import a new app definition\n *\n * Allows a zip file to be uploaded containing an app definition and any number of included models.\n * <p>This is useful to bootstrap an environment (for users or continuous integration).<p>\n * Before using any processes included in the import the app must be published and deployed.\n *\n * @param file file\n * @param opts Optional parameters\n * @param opts.renewIdmEntries Whether to renew user and group identifiers (default to false)\n * @return Promise<AppDefinitionRepresentation>\n */\n importAppDefinition(file: any, opts?: { renewIdmEntries?: string }): Promise<AppDefinitionRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/import',\n queryParams: opts,\n formParams,\n contentTypes: ['multipart/form-data']\n });\n }\n\n /**\n * Publish an app definition\n *\n * Publishing an app definition makes it available for use. The application must not have any validation errors or an error will be returned.<p>Before an app definition can be used by other users, it must also be deployed for their use\n *\n * @param modelId modelId\n * @param publishModel publishModel\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n publishAppDefinition(modelId: number, publishModel: AppDefinitionPublishRepresentation): Promise<AppDefinitionUpdateResultRepresentation> {\n throwIfNotDefined(modelId, 'modelId');\n throwIfNotDefined(publishModel, 'publishModel');\n\n const pathParams = {\n modelId\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/{modelId}/publish',\n pathParams,\n bodyParam: publishModel\n });\n }\n\n /**\n * Update an app definition\n *\n * @param modelId Application definition ID\n * @param updatedModel updatedModel |\n * @return Promise<AppDefinitionUpdateResultRepresentation>\n */\n updateAppDefinition(modelId: number, updatedModel: AppDefinitionSaveRepresentation | any): Promise<any> {\n throwIfNotDefined(modelId, 'modelId');\n throwIfNotDefined(updatedModel, 'updatedModel');\n\n const pathParams = {\n modelId\n };\n\n if (!updatedModel['appDefinition']) {\n const formParams = {\n file: updatedModel\n };\n\n return this.post({\n path: '/api/enterprise/app-definitions/{modelId}/import',\n pathParams,\n formParams,\n bodyParam: updatedModel,\n contentTypes: ['multipart/form-data']\n });\n } else {\n return this.put({\n path: '/api/enterprise/app-definitions/{modelId}',\n pathParams,\n bodyParam: updatedModel\n });\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"checklists.api.js","sourceRoot":"","sources":["checklists.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,4HAAyH;AACzH,oEAAiE;AACjE,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,aAAc,SAAQ,kBAAO;IAOtC,UAAU,CAAC,MAAc,EAAE,kBAAsC;QAC7D,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,uCAAkB;SACjC,CAAC,CAAC;IACP,CAAC;IAOD,YAAY,CAAC,MAAc;QACvB,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,UAAU,EAAE,+FAA8C;SAC7D,CAAC,CAAC;IACP,CAAC;IAQD,cAAc,CAAC,MAAc,EAAE,mBAAiD;QAC5E,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,SAAS,EAAE,mBAAmB;YAC9B,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ;AA9DD,sCA8DC","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 { ChecklistOrderRepresentation } from '../model/checklistOrderRepresentation';\nimport { ResultListDataRepresentationTaskRepresentation } from '../model/resultListDataRepresentationTaskRepresentation';\nimport { TaskRepresentation } from '../model/taskRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Checklists service.\n */\nexport class ChecklistsApi extends BaseApi {\n /**\n * Create a task checklist\n * @param taskId taskId\n * @param taskRepresentation taskRepresentation\n * @return Promise<TaskRepresentation>\n */\n addSubtask(taskId: string, taskRepresentation: TaskRepresentation): Promise<TaskRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(taskRepresentation, 'taskRepresentation');\n\n const pathParams = {\n taskId\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n pathParams,\n bodyParam: taskRepresentation,\n returnType: TaskRepresentation\n });\n }\n\n /**\n * Get checklist for a task\n * @param taskId taskId\n * @return Promise<ResultListDataRepresentationTaskRepresentation>\n */\n getChecklist(taskId: string): Promise<ResultListDataRepresentationTaskRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n pathParams,\n returnType: ResultListDataRepresentationTaskRepresentation\n });\n }\n\n /**\n * Change the order of items on a checklist\n * @param taskId taskId\n * @param orderRepresentation orderRepresentation\n * @return Promise<{}>\n */\n orderChecklist(taskId: string, orderRepresentation: ChecklistOrderRepresentation): Promise<any> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(orderRepresentation, 'orderRepresentation');\n\n const pathParams = {\n taskId\n };\n\n return this.put({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n bodyParam: orderRepresentation,\n pathParams\n });\n }\n}\n"]}
1
+ {"version":3,"file":"checklists.api.js","sourceRoot":"","sources":["checklists.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,4HAAyH;AACzH,oEAAiE;AACjE,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,aAAc,SAAQ,kBAAO;IAQtC,UAAU,CAAC,MAAc,EAAE,kBAAsC;QAC7D,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,uCAAkB;SACjC,CAAC,CAAC;IACP,CAAC;IAQD,YAAY,CAAC,MAAc;QACvB,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,UAAU,EAAE,+FAA8C;SAC7D,CAAC,CAAC;IACP,CAAC;IASD,cAAc,CAAC,MAAc,EAAE,mBAAiD;QAC5E,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,IAAA,0BAAiB,EAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;QAE9D,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,SAAS,EAAE,mBAAmB;YAC9B,UAAU;SACb,CAAC,CAAC;IACP,CAAC;CACJ;AAjED,sCAiEC","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 { ChecklistOrderRepresentation } from '../model/checklistOrderRepresentation';\nimport { ResultListDataRepresentationTaskRepresentation } from '../model/resultListDataRepresentationTaskRepresentation';\nimport { TaskRepresentation } from '../model/taskRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Checklists service.\n */\nexport class ChecklistsApi extends BaseApi {\n /**\n * Create a task checklist\n *\n * @param taskId taskId\n * @param taskRepresentation taskRepresentation\n * @return Promise<TaskRepresentation>\n */\n addSubtask(taskId: string, taskRepresentation: TaskRepresentation): Promise<TaskRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(taskRepresentation, 'taskRepresentation');\n\n const pathParams = {\n taskId\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n pathParams,\n bodyParam: taskRepresentation,\n returnType: TaskRepresentation\n });\n }\n\n /**\n * Get checklist for a task\n *\n * @param taskId taskId\n * @return Promise<ResultListDataRepresentationTaskRepresentation>\n */\n getChecklist(taskId: string): Promise<ResultListDataRepresentationTaskRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n pathParams,\n returnType: ResultListDataRepresentationTaskRepresentation\n });\n }\n\n /**\n * Change the order of items on a checklist\n *\n * @param taskId taskId\n * @param orderRepresentation orderRepresentation\n * @return Promise<{}>\n */\n orderChecklist(taskId: string, orderRepresentation: ChecklistOrderRepresentation): Promise<any> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(orderRepresentation, 'orderRepresentation');\n\n const pathParams = {\n taskId\n };\n\n return this.put({\n path: '/api/enterprise/tasks/{taskId}/checklist',\n bodyParam: orderRepresentation,\n pathParams\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"comments.api.js","sourceRoot":"","sources":["comments.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,0EAAuE;AACvE,kIAA+H;AAC/H,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,mBAAoB,S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EAAE,yCAAyC;YAC/C,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,qGAAiD;SAChE,CAAC,CAAC;IACP,CAAC;CACJ;AAzFD,kDAyFC","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 { CommentRepresentation } from '../model/commentRepresentation';\nimport { ResultListDataRepresentationCommentRepresentation } from '../model/resultListDataRepresentationCommentRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Comments service.\n */\nexport class ActivitiCommentsApi extends BaseApi {\n /**\n * Add a comment to a process instance\n * @param commentRequest commentRequest\n * @param processInstanceId processInstanceId\n * @return Promise<CommentRepresentation>\n */\n addProcessInstanceComment(commentRequest: CommentRepresentation, processInstanceId: string): Promise<CommentRepresentation> {\n throwIfNotDefined(commentRequest, 'commentRequest');\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n const pathParams = {\n processInstanceId\n };\n\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/comments',\n pathParams,\n bodyParam: commentRequest,\n returnType: CommentRepresentation\n });\n }\n\n /**\n * Add a comment to a task\n * @param commentRequest commentRequest\n * @param taskId taskId\n * @return Promise<CommentRepresentation>\n */\n addTaskComment(commentRequest: CommentRepresentation, taskId: string): Promise<CommentRepresentation> {\n throwIfNotDefined(commentRequest, 'commentRequest');\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/comments',\n pathParams,\n bodyParam: commentRequest,\n returnType: CommentRepresentation\n });\n }\n\n /**\n * Get comments for a process\n * @param processInstanceId processInstanceId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationCommentRepresentation>\n */\n getProcessInstanceComments(\n processInstanceId: string,\n opts?: { latestFirst?: boolean }\n ): Promise<ResultListDataRepresentationCommentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n const pathParams = {\n processInstanceId\n };\n\n return this.get({\n path: '/api/enterprise/process-instances/{processInstanceId}/comments',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationCommentRepresentation\n });\n }\n\n /**\n * Get comments for a task\n * @param taskId taskId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationCommentRepresentation>\n */\n getTaskComments(taskId: string, opts?: { latestFirst?: boolean }): Promise<ResultListDataRepresentationCommentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/comments',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationCommentRepresentation\n });\n }\n}\n"]}
1
+ {"version":3,"file":"comments.api.js","sourceRoot":"","sources":["comments.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,0EAAuE;AACvE,kIAA+H;AAC/H,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,mBAAoB,SAAQ,kBAAO;IAQ5C,yBAAyB,CAAC,cAAqC,EAAE,iBAAyB;QACtF,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QACpD,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gEAAgE;YACtE,UAAU;YACV,SAAS,EAAE,cAAc;YACzB,UAAU,EAAE,6CAAqB;SACpC,CAAC,CAAC;IACP,CAAC;IASD,cAAc,CAAC,cAAqC,EAAE,MAAc;QAChE,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QACpD,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,yCAAyC;YAC/C,UAAU;YACV,SAAS,EAAE,cAAc;YACzB,UAAU,EAAE,6CAAqB;SACpC,CAAC,CAAC;IACP,CAAC;IASD,0BAA0B,CACtB,iBAAyB,EACzB,IAAgC;QAEhC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gEAAgE;YACtE,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,qGAAiD;SAChE,CAAC,CAAC;IACP,CAAC;IASD,eAAe,CAAC,MAAc,EAAE,IAAgC;QAC5D,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yCAAyC;YAC/C,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,qGAAiD;SAChE,CAAC,CAAC;IACP,CAAC;CACJ;AA7FD,kDA6FC","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 { CommentRepresentation } from '../model/commentRepresentation';\nimport { ResultListDataRepresentationCommentRepresentation } from '../model/resultListDataRepresentationCommentRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Comments service.\n */\nexport class ActivitiCommentsApi extends BaseApi {\n /**\n * Add a comment to a process instance\n *\n * @param commentRequest commentRequest\n * @param processInstanceId processInstanceId\n * @return Promise<CommentRepresentation>\n */\n addProcessInstanceComment(commentRequest: CommentRepresentation, processInstanceId: string): Promise<CommentRepresentation> {\n throwIfNotDefined(commentRequest, 'commentRequest');\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n const pathParams = {\n processInstanceId\n };\n\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/comments',\n pathParams,\n bodyParam: commentRequest,\n returnType: CommentRepresentation\n });\n }\n\n /**\n * Add a comment to a task\n *\n * @param commentRequest commentRequest\n * @param taskId taskId\n * @return Promise<CommentRepresentation>\n */\n addTaskComment(commentRequest: CommentRepresentation, taskId: string): Promise<CommentRepresentation> {\n throwIfNotDefined(commentRequest, 'commentRequest');\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/comments',\n pathParams,\n bodyParam: commentRequest,\n returnType: CommentRepresentation\n });\n }\n\n /**\n * Get comments for a process\n *\n * @param processInstanceId processInstanceId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationCommentRepresentation>\n */\n getProcessInstanceComments(\n processInstanceId: string,\n opts?: { latestFirst?: boolean }\n ): Promise<ResultListDataRepresentationCommentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n const pathParams = {\n processInstanceId\n };\n\n return this.get({\n path: '/api/enterprise/process-instances/{processInstanceId}/comments',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationCommentRepresentation\n });\n }\n\n /**\n * Get comments for a task\n *\n * @param taskId taskId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationCommentRepresentation>\n */\n getTaskComments(taskId: string, opts?: { latestFirst?: boolean }): Promise<ResultListDataRepresentationCommentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/comments',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationCommentRepresentation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAIkB;AAClB,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,UAAW,SAAQ,kBAAO;IAQnC,qCAAqC,CACjC,iBAAyB,EACzB,cAAkD,EAClD,IAAqC;QAErC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAC1D,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,IAAI,cAAc,YAAY,oCAA4B,EAAE,CAAC;YACzD,OAAO,IAAI,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,+DAA+D;gBACrE,UAAU;gBACV,WAAW,EAAE,IAAI;gBACjB,SAAS,EAAE,cAAc;gBACzB,UAAU,EAAE,oCAA4B;aAC3C,CAAC,CAAC;QACP,CAAC;aAAM,CAAC;YACJ,MAAM,UAAU,GAAG;gBACf,IAAI,EAAE,cAAc;aACvB,CAAC;YAEF,OAAO,IAAI,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,mEAAmE;gBACzE,UAAU;gBACV,UAAU;gBACV,WAAW,EAAE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UAAU;gBACV,UAAU,EAAE,MAAM;gBAClB,YAAY,EAAE,MAAM;aACvB,CAAC,CAAC;QACP,CAAC;IACL,CAAC;IAQD,mCAAmC,CAC/B,iBAAyB,EACzB,IAAqC;QAErC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+DAA+D;YACrE,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,gEAAwD;SACvE,CAAC,CAAC;IACP,CAAC;IAQD,wBAAwB,CACpB,MAAc,EACd,IAAqC;QAErC,IAAA,0BAAiB,EAAC,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;YACjB,UAAU,EAAE,gEAAwD;SACvE,CAAC,CAAC;IACP,CAAC;IAUD,6BAA6B,CACzB,QAAgB,EAChB,MAAc,EACd,IAAa,EACb,IAAa;QAEb,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kCAAkC;YACxC,WAAW,EAAE;gBACT,QAAQ;gBACR,MAAM;gBACN,IAAI;gBACJ,IAAI;aACP;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAzRD,gCAyRC","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 RelatedContentRepresentation,\n ResultListDataRepresentationRelatedContentRepresentation,\n ResultListDataRepresentationRelatedProcessTask\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Content service.\n */\nexport class ContentApi extends BaseApi {\n /**\n * Attach existing content to a process instance\n * @param processInstanceId processInstanceId\n * @param relatedContent relatedContent\n * @param opts Optional parameters\n * @return Promise<RelatedContentRepresentation>\n */\n createRelatedContentOnProcessInstance(\n processInstanceId: string,\n relatedContent: RelatedContentRepresentation | any,\n opts?: { isRelatedContent?: boolean }\n ): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n opts = opts || {};\n\n const pathParams = {\n processInstanceId\n };\n\n if (relatedContent instanceof RelatedContentRepresentation) {\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/content',\n pathParams,\n queryParams: opts,\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n } else {\n const formParams = {\n file: relatedContent\n };\n\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/raw-content',\n pathParams,\n formParams,\n queryParams: opts,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n }\n\n /**\n * Attach existing content to a task\n * @param taskId taskId\n * @param relatedContent relatedContent\n * @param opts Optional parameters\n * @return Promise<RelatedContentRepresentation>\n */\n createRelatedContentOnTask(\n taskId: string,\n relatedContent: RelatedContentRepresentation | any,\n opts?: { isRelatedContent?: boolean }\n ): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n const pathParams = {\n taskId\n };\n\n if (relatedContent instanceof RelatedContentRepresentation) {\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/content',\n pathParams,\n queryParams: opts,\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n } else {\n const formParams = {\n file: relatedContent\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/raw-content',\n pathParams,\n queryParams: opts,\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n }\n\n /**\n * Upload content and create a local representation\n * @param file file\n * @return Promise<RelatedContentRepresentation>\n */\n createTemporaryRawRelatedContent(file: any): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/content/raw',\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Create a local representation of content from a remote repository\n * @param relatedContent relatedContent\n * @return Promise<RelatedContentRepresentation>\n */\n createTemporaryRelatedContent(relatedContent: RelatedContentRepresentation): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n return this.post({\n path: '/api/enterprise/content',\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Remove a local content representation\n * @param contentId contentId\n * @return Promise<{}>\n */\n deleteContent(contentId: number): Promise<void> {\n throwIfNotDefined(contentId, 'contentId');\n\n const pathParams = {\n contentId\n };\n\n return this.delete({\n path: '/api/enterprise/content/{contentId}',\n pathParams\n });\n }\n\n /**\n * Get a local content representation\n * @param contentId contentId\n * @return Promise<RelatedContentRepresentation>\n */\n getContent(contentId: number): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(contentId, 'contentId');\n\n const pathParams = {\n contentId\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}',\n pathParams,\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Get content Raw URL for the given contentId\n * @param contentId contentId\n */\n getRawContentUrl(contentId: number): string {\n return `${this.apiClient.basePath}/api/enterprise/content/${contentId}/raw`;\n }\n\n /**\n * Stream content rendition\n * @param contentId contentId\n * @param renditionType renditionType\n * @return Promise<{}>\n */\n getRawContent(contentId: number, renditionType?: string): Promise<any> {\n throwIfNotDefined(contentId, 'contentId');\n\n if (renditionType) {\n const pathParams = {\n contentId,\n renditionType\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}/rendition/{renditionType}',\n pathParams,\n returnType: 'blob',\n responseType: 'blob'\n });\n } else {\n const pathParams = {\n contentId\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}/raw',\n pathParams,\n returnType: 'blob',\n responseType: 'blob'\n });\n }\n }\n\n /**\n * List content attached to a process instance\n * @param processInstanceId processInstanceId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRelatedContentRepresentation>\n */\n getRelatedContentForProcessInstance(\n processInstanceId: string,\n opts?: { isRelatedContent?: boolean }\n ): Promise<ResultListDataRepresentationRelatedContentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n opts = opts || {};\n\n const pathParams = {\n processInstanceId\n };\n\n return this.get({\n path: '/api/enterprise/process-instances/{processInstanceId}/content',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationRelatedContentRepresentation\n });\n }\n\n /**\n * List content attached to a task\n * @param taskId taskId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRelatedContentRepresentation>\n */\n getRelatedContentForTask(\n taskId: string,\n opts?: { isRelatedContent?: boolean }\n ): Promise<ResultListDataRepresentationRelatedContentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/content',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationRelatedContentRepresentation\n });\n }\n\n /**\n * Lists processes and tasks on workflow started with provided document\n * @param sourceId - id of the document that workflow or task has been started with\n * @param source - source of the document that workflow or task has been started with\n * @param size - size of the entries to get\n * @param page - page number\n * @return Promise<ResultListDataRepresentationRelatedProcessTask>\n */\n getProcessesAndTasksOnContent(\n sourceId: string,\n source: string,\n size?: number,\n page?: number\n ): Promise<ResultListDataRepresentationRelatedProcessTask> {\n throwIfNotDefined(sourceId, 'sourceId');\n throwIfNotDefined(source, 'source');\n\n return this.get({\n path: '/api/enterprise/document-runtime',\n queryParams: {\n sourceId,\n source,\n size,\n page\n }\n });\n }\n}\n"]}
1
+ {"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,oCAIkB;AAClB,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,UAAW,SAAQ,kBAAO;IASnC,qCAAqC,CACjC,iBAAyB,EACzB,cAAkD,EAClD,IAAqC;QAErC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAC1D,IAAA,0BAAiB,EAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,IAAI,cAAc,YAAY,oCAA4B,EAAE,CAAC;YACzD,OAAO,IAAI,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,+DAA+D;gBACrE,UAAU;gBACV,WAAW,EAAE,IAAI;gBACjB,SAAS,EAAE,cAAc;gBACzB,UAAU,EAAE,oCAA4B;aAC3C,CAAC,CAAC;QACP,CAAC;aAAM,CAAC;YACJ,MAAM,UAAU,GAAG;gBACf,IAAI,EAAE,cAAc;aACvB,CAAC;YAEF,OAAO,IAAI,CAAC,IAAI,CAAC;gBACb,IAAI,EAAE,mEAAmE;gBACzE,UAAU;gBACV,UAAU;gBACV,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,CAAC,qBAAqB,CAAC;gBACrC,UAAU,EAAE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C,CAAC;QACP,CAAC;IACL,CAAC;IASD,mCAAmC,CAC/B,iBAAyB,EACzB,IAAqC;QAErC,IAAA,0BAAiB,EAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,iBAAiB;SACpB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+DAA+D;YACrE,UAAU;YACV,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,gEAAwD;SACvE,CAAC,CAAC;IACP,CAAC;IASD,wBAAwB,CACpB,MAAc,EACd,IAAqC;QAErC,IAAA,0BAAiB,EAAC,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;YACjB,UAAU,EAAE,gEAAwD;SACvE,CAAC,CAAC;IACP,CAAC;IAWD,6BAA6B,CACzB,QAAgB,EAChB,MAAc,EACd,IAAa,EACb,IAAa;QAEb,IAAA,0BAAiB,EAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAA,0BAAiB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kCAAkC;YACxC,WAAW,EAAE;gBACT,QAAQ;gBACR,MAAM;gBACN,IAAI;gBACJ,IAAI;aACP;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AApSD,gCAoSC","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 RelatedContentRepresentation,\n ResultListDataRepresentationRelatedContentRepresentation,\n ResultListDataRepresentationRelatedProcessTask\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Content service.\n */\nexport class ContentApi extends BaseApi {\n /**\n * Attach existing content to a process instance\n *\n * @param processInstanceId processInstanceId\n * @param relatedContent relatedContent\n * @param opts Optional parameters\n * @return Promise<RelatedContentRepresentation>\n */\n createRelatedContentOnProcessInstance(\n processInstanceId: string,\n relatedContent: RelatedContentRepresentation | any,\n opts?: { isRelatedContent?: boolean }\n ): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n opts = opts || {};\n\n const pathParams = {\n processInstanceId\n };\n\n if (relatedContent instanceof RelatedContentRepresentation) {\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/content',\n pathParams,\n queryParams: opts,\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n } else {\n const formParams = {\n file: relatedContent\n };\n\n return this.post({\n path: '/api/enterprise/process-instances/{processInstanceId}/raw-content',\n pathParams,\n formParams,\n queryParams: opts,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n }\n\n /**\n * Attach existing content to a task\n *\n * @param taskId taskId\n * @param relatedContent relatedContent\n * @param opts Optional parameters\n * @return Promise<RelatedContentRepresentation>\n */\n createRelatedContentOnTask(\n taskId: string,\n relatedContent: RelatedContentRepresentation | any,\n opts?: { isRelatedContent?: boolean }\n ): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n const pathParams = {\n taskId\n };\n\n if (relatedContent instanceof RelatedContentRepresentation) {\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/content',\n pathParams,\n queryParams: opts,\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n } else {\n const formParams = {\n file: relatedContent\n };\n\n return this.post({\n path: '/api/enterprise/tasks/{taskId}/raw-content',\n pathParams,\n queryParams: opts,\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n }\n\n /**\n * Upload content and create a local representation\n *\n * @param file file\n * @return Promise<RelatedContentRepresentation>\n */\n createTemporaryRawRelatedContent(file: any): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/content/raw',\n formParams,\n contentTypes: ['multipart/form-data'],\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Create a local representation of content from a remote repository\n *\n * @param relatedContent relatedContent\n * @return Promise<RelatedContentRepresentation>\n */\n createTemporaryRelatedContent(relatedContent: RelatedContentRepresentation): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(relatedContent, 'relatedContent');\n\n return this.post({\n path: '/api/enterprise/content',\n bodyParam: relatedContent,\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Remove a local content representation\n *\n * @param contentId contentId\n * @return Promise<{}>\n */\n deleteContent(contentId: number): Promise<void> {\n throwIfNotDefined(contentId, 'contentId');\n\n const pathParams = {\n contentId\n };\n\n return this.delete({\n path: '/api/enterprise/content/{contentId}',\n pathParams\n });\n }\n\n /**\n * Get a local content representation\n *\n * @param contentId contentId\n * @return Promise<RelatedContentRepresentation>\n */\n getContent(contentId: number): Promise<RelatedContentRepresentation> {\n throwIfNotDefined(contentId, 'contentId');\n\n const pathParams = {\n contentId\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}',\n pathParams,\n returnType: RelatedContentRepresentation\n });\n }\n\n /**\n * Get content Raw URL for the given contentId\n *\n * @param contentId contentId\n */\n getRawContentUrl(contentId: number): string {\n return `${this.apiClient.basePath}/api/enterprise/content/${contentId}/raw`;\n }\n\n /**\n * Stream content rendition\n *\n * @param contentId contentId\n * @param renditionType renditionType\n * @return Promise<{}>\n */\n getRawContent(contentId: number, renditionType?: string): Promise<any> {\n throwIfNotDefined(contentId, 'contentId');\n\n if (renditionType) {\n const pathParams = {\n contentId,\n renditionType\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}/rendition/{renditionType}',\n pathParams,\n returnType: 'blob',\n responseType: 'blob'\n });\n } else {\n const pathParams = {\n contentId\n };\n\n return this.get({\n path: '/api/enterprise/content/{contentId}/raw',\n pathParams,\n returnType: 'blob',\n responseType: 'blob'\n });\n }\n }\n\n /**\n * List content attached to a process instance\n *\n * @param processInstanceId processInstanceId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRelatedContentRepresentation>\n */\n getRelatedContentForProcessInstance(\n processInstanceId: string,\n opts?: { isRelatedContent?: boolean }\n ): Promise<ResultListDataRepresentationRelatedContentRepresentation> {\n throwIfNotDefined(processInstanceId, 'processInstanceId');\n\n opts = opts || {};\n\n const pathParams = {\n processInstanceId\n };\n\n return this.get({\n path: '/api/enterprise/process-instances/{processInstanceId}/content',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationRelatedContentRepresentation\n });\n }\n\n /**\n * List content attached to a task\n *\n * @param taskId taskId\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRelatedContentRepresentation>\n */\n getRelatedContentForTask(\n taskId: string,\n opts?: { isRelatedContent?: boolean }\n ): Promise<ResultListDataRepresentationRelatedContentRepresentation> {\n throwIfNotDefined(taskId, 'taskId');\n\n const pathParams = {\n taskId\n };\n\n return this.get({\n path: '/api/enterprise/tasks/{taskId}/content',\n pathParams,\n queryParams: opts,\n returnType: ResultListDataRepresentationRelatedContentRepresentation\n });\n }\n\n /**\n * Lists processes and tasks on workflow started with provided document\n *\n * @param sourceId - id of the document that workflow or task has been started with\n * @param source - source of the document that workflow or task has been started with\n * @param size - size of the entries to get\n * @param page - page number\n * @return Promise<ResultListDataRepresentationRelatedProcessTask>\n */\n getProcessesAndTasksOnContent(\n sourceId: string,\n source: string,\n size?: number,\n page?: number\n ): Promise<ResultListDataRepresentationRelatedProcessTask> {\n throwIfNotDefined(sourceId, 'sourceId');\n throwIfNotDefined(source, 'source');\n\n return this.get({\n path: '/api/enterprise/document-runtime',\n queryParams: {\n sourceId,\n source,\n size,\n page\n }\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"dataSources.api.js","sourceRoot":"","sources":["dataSources.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AAKrC,MAAa,cAAe,SAAQ,kBAAO;IAMvC,cAAc,CAAC,IAA4B;QACvC,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;CACJ;AAZD,wCAYC","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 { ResultListDataRepresentationDataSourceRepresentation } from '../model';\nimport { BaseApi } from './base.api';\n\n/**\n * DataSourcesApi service.\n */\nexport class DataSourcesApi extends BaseApi {\n /**\n * Get data sources\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationDataSourceRepresentation>\n */\n getDataSources(opts?: { tenantId?: number }): Promise<ResultListDataRepresentationDataSourceRepresentation> {\n return this.get({\n path: '/api/enterprise/editor/data-sources',\n queryParams: opts\n });\n }\n}\n"]}
1
+ {"version":3,"file":"dataSources.api.js","sourceRoot":"","sources":["dataSources.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AAKrC,MAAa,cAAe,SAAQ,kBAAO;IAOvC,cAAc,CAAC,IAA4B;QACvC,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;CACJ;AAbD,wCAaC","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 { ResultListDataRepresentationDataSourceRepresentation } from '../model';\nimport { BaseApi } from './base.api';\n\n/**\n * DataSourcesApi service.\n */\nexport class DataSourcesApi extends BaseApi {\n /**\n * Get data sources\n *\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationDataSourceRepresentation>\n */\n getDataSources(opts?: { tenantId?: number }): Promise<ResultListDataRepresentationDataSourceRepresentation> {\n return this.get({\n path: '/api/enterprise/editor/data-sources',\n queryParams: opts\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"decisionAudits.api.js","sourceRoot":"","sources":["decisionAudits.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,sFAAmF;AACnF,8IAA2I;AAC3I,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAM1C,aAAa,CAAC,YAAoB;QAC9B,IAAA,0BAAiB,EAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QAE1C,MAAM,UAAU,GAAG;YACf,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,UAAU,EAAE,yDAA2B;SAC1C,CAAC,CAAC;IACP,CAAC;IAQD,cAAc,CAAC,WAAmB,EAAE,eAAuB;QACvD,IAAA,0BAAiB,EAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAC9C,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,WAAW,GAAG;YAChB,WAAW;YACX,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kCAAkC;YACxC,WAAW;YACX,UAAU,EAAE,iHAAuD;SACtE,CAAC,CAAC;IACP,CAAC;CACJ;AAzCD,8CAyCC","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 { DecisionAuditRepresentation } from '../model/decisionAuditRepresentation';\nimport { ResultListDataRepresentationDecisionAuditRepresentation } from '../model/resultListDataRepresentationDecisionAuditRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * DecisionAuditsApi service.\n */\nexport class DecisionAuditsApi extends BaseApi {\n /**\n * Get an audit trail\n * @param auditTrailId auditTrailId\n * @return Promise<DecisionAuditRepresentation>\n */\n getAuditTrail(auditTrailId: number): Promise<DecisionAuditRepresentation> {\n throwIfNotDefined(auditTrailId, 'taskId');\n\n const pathParams = {\n auditTrailId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/audits/{auditTrailId}',\n pathParams,\n returnType: DecisionAuditRepresentation\n });\n }\n\n /**\n * Query decision table audit trails\n * @param decisionKey decisionKey\n * @param dmnDeploymentId dmnDeploymentId\n * @return Promise<ResultListDataRepresentationDecisionAuditRepresentation>\n */\n getAuditTrails(decisionKey: string, dmnDeploymentId: number): Promise<ResultListDataRepresentationDecisionAuditRepresentation> {\n throwIfNotDefined(decisionKey, 'decisionKey');\n throwIfNotDefined(dmnDeploymentId, 'dmnDeploymentId');\n\n const queryParams = {\n decisionKey,\n dmnDeploymentId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/audits',\n queryParams,\n returnType: ResultListDataRepresentationDecisionAuditRepresentation\n });\n }\n}\n"]}
1
+ {"version":3,"file":"decisionAudits.api.js","sourceRoot":"","sources":["decisionAudits.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,sFAAmF;AACnF,8IAA2I;AAC3I,yCAAqC;AACrC,4CAAoD;AAKpD,MAAa,iBAAkB,SAAQ,kBAAO;IAO1C,aAAa,CAAC,YAAoB;QAC9B,IAAA,0BAAiB,EAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QAE1C,MAAM,UAAU,GAAG;YACf,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iDAAiD;YACvD,UAAU;YACV,UAAU,EAAE,yDAA2B;SAC1C,CAAC,CAAC;IACP,CAAC;IASD,cAAc,CAAC,WAAmB,EAAE,eAAuB;QACvD,IAAA,0BAAiB,EAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAC9C,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,WAAW,GAAG;YAChB,WAAW;YACX,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kCAAkC;YACxC,WAAW;YACX,UAAU,EAAE,iHAAuD;SACtE,CAAC,CAAC;IACP,CAAC;CACJ;AA3CD,8CA2CC","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 { DecisionAuditRepresentation } from '../model/decisionAuditRepresentation';\nimport { ResultListDataRepresentationDecisionAuditRepresentation } from '../model/resultListDataRepresentationDecisionAuditRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * DecisionAuditsApi service.\n */\nexport class DecisionAuditsApi extends BaseApi {\n /**\n * Get an audit trail\n *\n * @param auditTrailId auditTrailId\n * @return Promise<DecisionAuditRepresentation>\n */\n getAuditTrail(auditTrailId: number): Promise<DecisionAuditRepresentation> {\n throwIfNotDefined(auditTrailId, 'taskId');\n\n const pathParams = {\n auditTrailId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/audits/{auditTrailId}',\n pathParams,\n returnType: DecisionAuditRepresentation\n });\n }\n\n /**\n * Query decision table audit trails\n *\n * @param decisionKey decisionKey\n * @param dmnDeploymentId dmnDeploymentId\n * @return Promise<ResultListDataRepresentationDecisionAuditRepresentation>\n */\n getAuditTrails(decisionKey: string, dmnDeploymentId: number): Promise<ResultListDataRepresentationDecisionAuditRepresentation> {\n throwIfNotDefined(decisionKey, 'decisionKey');\n throwIfNotDefined(dmnDeploymentId, 'dmnDeploymentId');\n\n const queryParams = {\n decisionKey,\n dmnDeploymentId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/audits',\n queryParams,\n returnType: ResultListDataRepresentationDecisionAuditRepresentation\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"decisionTables.api.js","sourceRoot":"","sources":["decisionTables.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AACrC,4CAAoD;AAgBpD,MAAa,iBAAkB,SAAQ,kBAAO;IAM1C,0BAA0B,CAAC,eAAuB;QAC9C,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wEAAwE;YAC9E,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAOD,gBAAgB,CAAC,eAAuB;QACpC,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6DAA6D;YACnE,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAOD,iBAAiB,CAAC,IAA4B;QAC1C,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2CAA2C;YACjD,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;CACJ;AAhDD,8CAgDC","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 { JsonNode, ResultListDataRepresentationRuntimeDecisionTableRepresentation, RuntimeDecisionTableRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\nexport interface GetDecisionTablesOpts {\n nameLike?: string;\n keyLike?: string;\n tenantIdLike?: string;\n deploymentId?: number;\n sort?: string;\n order?: string;\n start?: number;\n size?: number;\n}\n\n/**\n * DecisionTablesApi service.\n */\nexport class DecisionTablesApi extends BaseApi {\n /**\n * Get definition for a decision table\n * @param decisionTableId decisionTableId\n * @return Promise<JsonNode>\n */\n getDecisionTableEditorJson(decisionTableId: number): Promise<JsonNode> {\n throwIfNotDefined(decisionTableId, 'decisionTableId');\n\n const pathParams = {\n decisionTableId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/decision-tables/{decisionTableId}/editorJson',\n pathParams\n });\n }\n\n /**\n * Get a decision table\n * @param decisionTableId decisionTableId\n * @return Promise<RuntimeDecisionTableRepresentation>\n */\n getDecisionTable(decisionTableId: number): Promise<RuntimeDecisionTableRepresentation> {\n throwIfNotDefined(decisionTableId, 'decisionTableId');\n\n const pathParams = {\n decisionTableId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/decision-tables/{decisionTableId}',\n pathParams\n });\n }\n\n /**\n * Query decision tables\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation>\n */\n getDecisionTables(opts?: GetDecisionTablesOpts): Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation> {\n return this.get({\n path: '/api/enterprise/decisions/decision-tables',\n queryParams: opts\n });\n }\n}\n"]}
1
+ {"version":3,"file":"decisionTables.api.js","sourceRoot":"","sources":["decisionTables.api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAqC;AACrC,4CAAoD;AAgBpD,MAAa,iBAAkB,SAAQ,kBAAO;IAO1C,0BAA0B,CAAC,eAAuB;QAC9C,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,wEAAwE;YAC9E,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,eAAuB;QACpC,IAAA,0BAAiB,EAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;QAEtD,MAAM,UAAU,GAAG;YACf,eAAe;SAClB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,6DAA6D;YACnE,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAQD,iBAAiB,CAAC,IAA4B;QAC1C,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2CAA2C;YACjD,WAAW,EAAE,IAAI;SACpB,CAAC,CAAC;IACP,CAAC;CACJ;AAnDD,8CAmDC","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 { JsonNode, ResultListDataRepresentationRuntimeDecisionTableRepresentation, RuntimeDecisionTableRepresentation } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\nexport interface GetDecisionTablesOpts {\n nameLike?: string;\n keyLike?: string;\n tenantIdLike?: string;\n deploymentId?: number;\n sort?: string;\n order?: string;\n start?: number;\n size?: number;\n}\n\n/**\n * DecisionTablesApi service.\n */\nexport class DecisionTablesApi extends BaseApi {\n /**\n * Get definition for a decision table\n *\n * @param decisionTableId decisionTableId\n * @return Promise<JsonNode>\n */\n getDecisionTableEditorJson(decisionTableId: number): Promise<JsonNode> {\n throwIfNotDefined(decisionTableId, 'decisionTableId');\n\n const pathParams = {\n decisionTableId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/decision-tables/{decisionTableId}/editorJson',\n pathParams\n });\n }\n\n /**\n * Get a decision table\n *\n * @param decisionTableId decisionTableId\n * @return Promise<RuntimeDecisionTableRepresentation>\n */\n getDecisionTable(decisionTableId: number): Promise<RuntimeDecisionTableRepresentation> {\n throwIfNotDefined(decisionTableId, 'decisionTableId');\n\n const pathParams = {\n decisionTableId\n };\n\n return this.get({\n path: '/api/enterprise/decisions/decision-tables/{decisionTableId}',\n pathParams\n });\n }\n\n /**\n * Query decision tables\n *\n * @param opts Optional parameters\n * @return Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation>\n */\n getDecisionTables(opts?: GetDecisionTablesOpts): Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation> {\n return this.get({\n path: '/api/enterprise/decisions/decision-tables',\n queryParams: opts\n });\n }\n}\n"]}