@alfresco/js-api 8.1.0-15303058550 → 9.0.0

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 (109) hide show
  1. package/esm2015/package.json +4 -3
  2. package/esm2015/src/alfrescoApi.js.map +1 -1
  3. package/esm2015/src/api/content-rest-api/api/tags.api.js.map +1 -1
  4. package/esm2015/src/api/content-rest-api/model/aiAnswer.js.map +1 -1
  5. package/esm2015/src/api/content-rest-api/model/aiAnswerObjectReference.js +18 -0
  6. package/esm2015/src/api/content-rest-api/model/aiAnswerObjectReference.js.map +1 -0
  7. package/esm2015/src/api/content-rest-api/model/aiAnswerReference.js.map +1 -1
  8. package/esm2015/src/api/content-rest-api/model/index.js +1 -0
  9. package/esm2015/src/api/content-rest-api/model/index.js.map +1 -1
  10. package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js +21 -0
  11. package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
  12. package/esm2015/src/api/gs-core-rest-api/model/filePlanRole.js +27 -0
  13. package/esm2015/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
  14. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +26 -0
  15. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
  16. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +24 -0
  17. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
  18. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +26 -0
  19. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
  20. package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePaging.js +26 -0
  21. package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
  22. package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +28 -0
  23. package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
  24. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +18 -0
  25. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
  26. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +18 -0
  27. package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
  28. package/esm2015/src/api/gs-core-rest-api/model/index.js +8 -0
  29. package/esm2015/src/api/gs-core-rest-api/model/index.js.map +1 -1
  30. package/esm5/package.json +4 -3
  31. package/esm5/src/alfrescoApi.js.map +1 -1
  32. package/esm5/src/api/content-rest-api/api/tags.api.js.map +1 -1
  33. package/esm5/src/api/content-rest-api/model/aiAnswer.js.map +1 -1
  34. package/esm5/src/api/content-rest-api/model/aiAnswerObjectReference.js +18 -0
  35. package/esm5/src/api/content-rest-api/model/aiAnswerObjectReference.js.map +1 -0
  36. package/esm5/src/api/content-rest-api/model/aiAnswerReference.js.map +1 -1
  37. package/esm5/src/api/content-rest-api/model/index.js +1 -0
  38. package/esm5/src/api/content-rest-api/model/index.js.map +1 -1
  39. package/esm5/src/api/gs-core-rest-api/api/filePlans.api.js +21 -0
  40. package/esm5/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
  41. package/esm5/src/api/gs-core-rest-api/model/filePlanRole.js +27 -0
  42. package/esm5/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
  43. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +26 -0
  44. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
  45. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +24 -0
  46. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
  47. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +26 -0
  48. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
  49. package/esm5/src/api/gs-core-rest-api/model/filePlanRolePaging.js +26 -0
  50. package/esm5/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
  51. package/esm5/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +28 -0
  52. package/esm5/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
  53. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +18 -0
  54. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
  55. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +18 -0
  56. package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
  57. package/esm5/src/api/gs-core-rest-api/model/index.js +8 -0
  58. package/esm5/src/api/gs-core-rest-api/model/index.js.map +1 -1
  59. package/package.json +3 -2
  60. package/src/alfrescoApi.js.map +1 -1
  61. package/src/alfrescoApiClient.js +2 -2
  62. package/src/alfrescoApiClient.js.map +1 -1
  63. package/src/api/content-rest-api/api/tags.api.js.map +1 -1
  64. package/src/api/content-rest-api/model/aiAnswer.js.map +1 -1
  65. package/src/api/content-rest-api/model/aiAnswerObjectReference.js +19 -0
  66. package/src/api/content-rest-api/model/aiAnswerObjectReference.js.map +1 -0
  67. package/src/api/content-rest-api/model/aiAnswerReference.js.map +1 -1
  68. package/src/api/content-rest-api/model/index.js +1 -0
  69. package/src/api/content-rest-api/model/index.js.map +1 -1
  70. package/src/api/gs-core-rest-api/api/filePlans.api.js +21 -0
  71. package/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
  72. package/src/api/gs-core-rest-api/model/filePlanRole.js +31 -0
  73. package/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
  74. package/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +30 -0
  75. package/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
  76. package/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +28 -0
  77. package/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
  78. package/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +30 -0
  79. package/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
  80. package/src/api/gs-core-rest-api/model/filePlanRolePaging.js +30 -0
  81. package/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
  82. package/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +32 -0
  83. package/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
  84. package/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +19 -0
  85. package/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
  86. package/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +19 -0
  87. package/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
  88. package/src/api/gs-core-rest-api/model/index.js +8 -0
  89. package/src/api/gs-core-rest-api/model/index.js.map +1 -1
  90. package/src/assert.js +1 -2
  91. package/src/assert.js.map +1 -1
  92. package/src/utils/param-to-string.js +1 -2
  93. package/src/utils/param-to-string.js.map +1 -1
  94. package/typings/package.json +4 -3
  95. package/typings/src/api/content-rest-api/api/tags.api.d.ts +2 -2
  96. package/typings/src/api/content-rest-api/model/aiAnswer.d.ts +5 -4
  97. package/typings/src/api/content-rest-api/model/aiAnswerObjectReference.d.ts +21 -0
  98. package/typings/src/api/content-rest-api/model/aiAnswerReference.d.ts +2 -1
  99. package/typings/src/api/content-rest-api/model/index.d.ts +1 -0
  100. package/typings/src/api/gs-core-rest-api/api/filePlans.api.d.ts +8 -0
  101. package/typings/src/api/gs-core-rest-api/model/filePlanRole.d.ts +25 -0
  102. package/typings/src/api/gs-core-rest-api/model/filePlanRoleCapability.d.ts +24 -0
  103. package/typings/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.d.ts +21 -0
  104. package/typings/src/api/gs-core-rest-api/model/filePlanRoleEntry.d.ts +21 -0
  105. package/typings/src/api/gs-core-rest-api/model/filePlanRolePaging.d.ts +21 -0
  106. package/typings/src/api/gs-core-rest-api/model/filePlanRolePagingList.d.ts +23 -0
  107. package/typings/src/api/gs-core-rest-api/model/filePlanRoleParameters.d.ts +20 -0
  108. package/typings/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.d.ts +20 -0
  109. package/typings/src/api/gs-core-rest-api/model/index.d.ts +8 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "8.1.0-15303058550",
3
+ "version": "9.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "JavaScript client library for the Alfresco REST API",
6
6
  "author": "Hyland Software, Inc. and its affiliates",
@@ -20,8 +20,9 @@
20
20
  "tslib": "^2.6.1"
21
21
  },
22
22
  "typings": "./typings/index.d.ts",
23
- "module": "./src/index.js",
23
+ "module": "./esm5/index.js",
24
24
  "es2015": "./esm2015/index.js",
25
+ "types": "./src/index.d.ts",
25
26
  "type": "module",
26
27
  "main": "./src/index.js"
27
- }
28
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"alfrescoApi.js","sourceRoot":"","sources":["alfrescoApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAA8B,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,OAAO,WAAW;IA0BpB,YAAY,MAA0B,EAAS,UAAuB;QAAvB,eAAU,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,IAAI,IAAI,CAAC,oBAAoB,EAAE,EAAE,CAAC;YAC9B,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;QACzC,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,qBAAqB;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC;IAChF,CAAC;IAEO,UAAU,CAAC,KAAa,EAAE,QAAc;QAC5C,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,KAAa,EAAE,QAAc;QAC/B,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;YAExC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC7B,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 ee, { EmitterMethod, Emitter } from 'event-emitter';\nimport { ContentAuth } from './authentication/contentAuth';\nimport { ProcessAuth } from './authentication/processAuth';\nimport { Oauth2Auth } from './authentication/oauth2Auth';\nimport { ContentClient } from './contentClient';\nimport { ProcessClient } from './processClient';\nimport { Storage } from './storage';\nimport { AlfrescoApiConfig } from './alfrescoApiConfig';\nimport { Authentication } from './authentication/authentication';\nimport { AlfrescoApiType } from './to-deprecate/alfresco-api-type';\nimport { HttpClient } from './api-clients/http-client.interface';\n\nexport class AlfrescoApi implements Emitter, AlfrescoApiType {\n __type = 'legacy-client';\n storage: Storage;\n config: AlfrescoApiConfig;\n contentClient: ContentClient;\n contentPrivateClient: ContentClient;\n processClient: ProcessClient;\n searchClient: ContentClient;\n discoveryClient: ContentClient;\n gsClient: ContentClient;\n authClient: ContentClient;\n hxiConnectorClient: ContentClient;\n oauth2Auth: Oauth2Auth;\n processAuth: ProcessAuth;\n contentAuth: ContentAuth;\n\n on: EmitterMethod;\n off: EmitterMethod;\n once: EmitterMethod;\n\n bufferEvents: string[] = [];\n\n emit: (type: string, ...args: any[]) => void;\n\n username: string;\n\n constructor(config?: AlfrescoApiConfig, public httpClient?: HttpClient) {\n ee(this);\n\n if (config) {\n this.setConfig(config);\n }\n }\n\n setConfig(config: AlfrescoApiConfig) {\n if (!config) {\n config = {};\n }\n\n this.storage = Storage.getInstance();\n this.storage.setDomainPrefix(config.domainPrefix);\n\n this.initConfig(config);\n this.validateTicket(config);\n }\n\n private initConfig(config: AlfrescoApiConfig) {\n this.config = new AlfrescoApiConfig(config);\n\n this.clientsFactory();\n\n this.errorListeners();\n this.ticketMismatchListeners();\n if (this.config.oauthInit) {\n this.initAuth(config);\n\n if (this.isLoggedIn()) {\n this.emitBuffer('logged-in');\n }\n }\n }\n\n private validateTicket(config: AlfrescoApiConfig) {\n if (config.ticketEcm && !this.isOauthConfiguration()) {\n if (!this.contentAuth) {\n this.contentAuth = new ContentAuth(this.config, this, this.httpClient);\n }\n this.contentAuth\n .validateTicket()\n .then((ticket) => {\n config.ticketEcm = ticket;\n })\n .catch((error) => {\n if (error.status === 401) {\n config.ticketEcm = null;\n this.initConfig(config);\n this.emitBuffer('ticket_invalidated');\n }\n });\n }\n }\n\n private initAuth(config: AlfrescoApiConfig): void {\n if (this.isOauthConfiguration()) {\n if (!this.oauth2Auth) {\n this.oauth2Auth = new Oauth2Auth(this.config, this, this.httpClient);\n } else {\n this.oauth2Auth.setConfig(this.config, this);\n }\n\n this.oauth2Auth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.setAuthenticationClientECMBPM(this.oauth2Auth.getAuthentication(), this.oauth2Auth.getAuthentication());\n } else {\n if (!this.processAuth) {\n this.processAuth = new ProcessAuth(this.config, this.httpClient);\n } else {\n this.processAuth.setConfig(this.config);\n }\n\n this.processAuth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.processAuth?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n if (!this.contentAuth) {\n this.contentAuth = new ContentAuth(this.config, this, this.httpClient);\n } else {\n this.contentAuth.setConfig(config);\n }\n\n this.contentAuth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.contentAuth?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n this.setAuthenticationClientECMBPM(this.contentAuth.getAuthentication(), this.processAuth.getAuthentication());\n }\n }\n\n private clientsFactory() {\n if (!this.contentPrivateClient) {\n this.contentPrivateClient = new ContentClient(this.config, `/api/${this.config.tenant}/private/alfresco/versions/1`, this.httpClient);\n } else {\n this.contentPrivateClient.setConfig(this.config, `/api/${this.config.tenant}/private/alfresco/versions/1`);\n }\n\n if (!this.contentClient) {\n this.contentClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/alfresco/versions/1`, this.httpClient);\n } else {\n this.contentClient.setConfig(this.config, `/api/${this.config.tenant}/public/alfresco/versions/1`);\n }\n\n if (!this.authClient) {\n this.authClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/authentication/versions/1`, this.httpClient);\n } else {\n this.authClient.setConfig(this.config, `/api/${this.config.tenant}/public/authentication/versions/1`);\n }\n\n if (!this.searchClient) {\n this.searchClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/search/versions/1`, this.httpClient);\n } else {\n this.searchClient.setConfig(this.config, `/api/${this.config.tenant}/public/search/versions/1`);\n }\n\n if (!this.discoveryClient) {\n this.discoveryClient = new ContentClient(this.config, `/api`, this.httpClient);\n } else {\n this.discoveryClient.setConfig(this.config, `/api`);\n }\n\n if (!this.gsClient) {\n this.gsClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/gs/versions/1`, this.httpClient);\n } else {\n this.gsClient.setConfig(this.config, `/api/${this.config.tenant}/public/gs/versions/1`);\n }\n\n if (!this.processClient) {\n this.processClient = new ProcessClient(this.config, this.httpClient);\n } else {\n this.processClient.setConfig(this.config);\n }\n\n if (!this.hxiConnectorClient) {\n this.hxiConnectorClient = new ContentClient(this.config, `/api/${this.config.tenant}/private/hxi/versions/1`, this.httpClient);\n } else {\n this.hxiConnectorClient.setConfig(this.config, `/api/${this.config.tenant}/private/hxi/versions/1`);\n }\n }\n\n /**@private? */\n errorListeners() {\n this.contentClient.off('error', () => {});\n this.authClient.off('error', () => {});\n this.contentPrivateClient.off('error', () => {});\n this.processClient.off('error', () => {});\n this.searchClient.off('error', () => {});\n this.discoveryClient.off('error', () => {});\n this.gsClient.off('error', () => {});\n this.hxiConnectorClient.off('error', () => {});\n\n this.contentClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.authClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.contentPrivateClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.processClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.searchClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.discoveryClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.gsClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.hxiConnectorClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n }\n\n ticketMismatchListeners() {\n this.contentClient?.off('ticket_mismatch', () => {});\n this.processClient?.off('ticket_mismatch', () => {});\n\n this.contentClient?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n this.processClient?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n }\n\n /**@private? */\n errorHandler(error: { status?: number }) {\n if (this.config.oauthInit && error.status === 401) {\n this.invalidateSession();\n }\n\n this.emitBuffer('error', error);\n }\n\n ticketMismatchHandler(error: { newTicket?: string }) {\n if (error.newTicket) {\n this.config.ticketEcm = error.newTicket;\n this.initConfig(this.config);\n }\n\n this.emitBuffer('ticket_mismatch', error);\n }\n\n changeWithCredentialsConfig(withCredentials: boolean) {\n this.config.withCredentials = withCredentials;\n }\n\n changeCsrfConfig(disableCsrf: boolean) {\n this.config.disableCsrf = disableCsrf;\n this.processAuth.changeCsrfConfig(disableCsrf);\n }\n\n changeEcmHost(hostEcm: string) {\n this.config.hostEcm = hostEcm;\n this.contentAuth.changeHost();\n this.contentClient.changeHost();\n this.authClient.changeHost();\n }\n\n changeBpmHost(hostBpm: string) {\n this.config.hostBpm = hostBpm;\n this.processAuth.changeHost();\n this.processClient.changeHost();\n }\n\n /**\n * login Alfresco API\n * @param username Username to login\n * @param password Password to login\n * @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.\n */\n login(username: string, password: string): Promise<any> {\n if (!this.isCredentialValid(username) || !this.isCredentialValid(password)) {\n return Promise.reject(new Error('missing username or password'));\n }\n\n if (username) {\n username = username.trim();\n }\n\n this.username = username;\n\n if (this.isOauthConfiguration()) {\n const promise = this.oauth2Auth.login(username, password);\n promise.then((accessToken) => {\n this.config.accessToken = accessToken;\n });\n return promise;\n } else {\n if (this.isBpmConfiguration()) {\n const promise = this.processAuth.login(username, password);\n promise.then((ticketBpm) => {\n this.config.ticketBpm = ticketBpm;\n });\n return promise;\n } else if (this.isEcmConfiguration()) {\n const promise = this.contentAuth.login(username, password);\n promise.then((ticketEcm) => {\n this.setAuthenticationClientECMBPM(this.contentAuth.getAuthentication(), null);\n this.config.ticketEcm = ticketEcm;\n });\n return promise;\n } else if (this.isEcmBpmConfiguration()) {\n const contentProcessPromise = this.loginBPMECM(username, password);\n\n contentProcessPromise.then((data) => {\n this.config.ticketEcm = data[0];\n this.config.ticketBpm = data[1];\n });\n\n return contentProcessPromise;\n } else {\n return Promise.reject(new Error('Unknown configuration'));\n }\n }\n }\n\n isCredentialValid(credential: string): boolean {\n return credential !== undefined && credential !== null && credential !== '';\n }\n\n implicitLogin(): Promise<any> {\n if (!this.isOauthConfiguration()) {\n return Promise.reject(new Error('Missing the required oauth2 configuration'));\n }\n\n return new Promise(() => {\n this.oauth2Auth.implicitLogin();\n });\n }\n\n setAuthenticationClientECMBPM(authECM: Authentication, authBPM: Authentication) {\n this.contentClient.setAuthentications(authECM);\n this.authClient.setAuthentications(authECM);\n this.searchClient.setAuthentications(authECM);\n this.contentPrivateClient.setAuthentications(authECM);\n this.processClient.setAuthentications(authBPM);\n this.searchClient.setAuthentications(authECM);\n this.discoveryClient.setAuthentications(authECM);\n this.gsClient.setAuthentications(authECM);\n this.hxiConnectorClient.setAuthentications(authECM);\n }\n\n /**\n * login Tickets\n * @param ticketEcm alfresco ticket\n * @param ticketBpm alfresco ticket\n */\n loginTicket(ticketEcm: string, ticketBpm: string): Promise<string> {\n this.config.ticketEcm = ticketEcm;\n this.config.ticketBpm = ticketBpm;\n\n return this.contentAuth.validateTicket();\n }\n\n private loginBPMECM(username: string, password: string): Promise<[string, string]> {\n const contentPromise = this.contentAuth.login(username, password);\n const processPromise = this.processAuth.login(username, password);\n\n const promise: any = new Promise<[string, string]>((resolve, reject) => {\n Promise.all([contentPromise, processPromise]).then(\n (data) => {\n promise.emit('success');\n resolve(data);\n },\n (error) => {\n this.contentAuth.invalidateSession();\n this.processAuth.invalidateSession();\n\n if (error.status === 401) {\n promise.emit('unauthorized');\n }\n promise.emit('error');\n reject(error);\n }\n );\n });\n\n ee(promise); // jshint ignore:line\n return promise;\n }\n\n /**\n * logout Alfresco API\n */\n logout(): Promise<void> {\n this.username = null;\n\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.logOut();\n }\n\n if (this.isBpmConfiguration()) {\n return this.processAuth.logout();\n }\n\n if (this.isEcmConfiguration()) {\n const contentPromise = this.contentAuth.logout();\n contentPromise.then(\n () => (this.config.ticket = undefined),\n () => {}\n );\n return contentPromise;\n }\n\n if (this.isEcmBpmConfiguration()) {\n return this._logoutBPMECM();\n }\n\n return Promise.resolve();\n }\n\n private _logoutBPMECM(): Promise<void> {\n const contentPromise = this.contentAuth.logout();\n const processPromise = this.processAuth.logout();\n\n const promise: any = new Promise<void>((resolve, reject) => {\n Promise.all([contentPromise, processPromise]).then(\n () => {\n this.config.ticket = undefined;\n promise.emit('logout');\n resolve();\n },\n (error) => {\n if (error.status === 401) {\n promise.emit('unauthorized');\n }\n promise.emit('error');\n reject(error);\n }\n );\n });\n\n ee(promise); // jshint ignore:line\n return promise;\n }\n\n /**\n * If the client is logged in return true\n */\n isLoggedIn(): boolean {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n }\n\n if (this.isBpmConfiguration()) {\n return this.processAuth.isLoggedIn();\n }\n\n if (this.isEcmConfiguration()) {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn();\n }\n\n if (this.isEcmBpmConfiguration()) {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn() && this.processAuth.isLoggedIn();\n }\n\n return false;\n }\n\n isBpmLoggedIn(): boolean {\n if (this.isBpmConfiguration() || this.isEcmBpmConfiguration()) {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n } else {\n return this.processAuth.isLoggedIn();\n }\n }\n return false;\n }\n\n isEcmLoggedIn(): boolean {\n if (this.isEcmConfiguration() || this.isEcmBpmConfiguration()) {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n } else {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn();\n }\n }\n return false;\n }\n\n getBpmUsername(): string {\n if (this.isOauthConfiguration()) {\n return this.username || this.oauth2Auth.storage.getItem('USERNAME');\n } else {\n return this.username || this.processAuth.storage.getItem('APS_USERNAME');\n }\n }\n\n getEcmUsername(): string {\n if (this.isOauthConfiguration()) {\n return this.username || this.oauth2Auth.storage.getItem('USERNAME');\n } else {\n return this.username || this.contentAuth.storage.getItem('ACS_USERNAME');\n }\n }\n\n /**\n * refresh token\n */\n refreshToken(): Promise<any> {\n if (!this.isOauthConfiguration()) {\n return Promise.reject(new Error('Missing the required oauth2 configuration'));\n }\n\n if (this.config.oauth2.implicitFlow) {\n return Promise.reject(new Error('Manual refresh token not possible in implicit flow'));\n }\n\n return this.oauth2Auth.refreshToken();\n }\n\n getTicketAuth(): string {\n return this.oauth2Auth?.getToken();\n }\n\n /**\n * Set the current Ticket\n * @param ticketEcm ecm ticket\n * @param ticketBpm bpm ticket\n */\n setTicket(ticketEcm: string, ticketBpm: string) {\n if (this.contentAuth) {\n this.contentAuth.setTicket(ticketEcm);\n }\n if (this.processAuth) {\n this.processAuth.setTicket(ticketBpm);\n }\n }\n\n /**\n * invalidate the current session\n */\n invalidateSession() {\n if (this.oauth2Auth) {\n this.oauth2Auth.invalidateSession();\n } else {\n this.contentAuth.invalidateSession();\n this.processAuth.invalidateSession();\n }\n }\n\n /**\n * Get the current Ticket for the Bpm\n */\n getTicketBpm(): string {\n return this.processAuth?.getTicket();\n }\n\n /**\n * Get the current Ticket for the Ecm\n */\n getTicketEcm(): string {\n return this.contentAuth?.getTicket();\n }\n\n /**\n * Get the current Ticket for the Ecm and BPM\n */\n getTicket(): [string, string] {\n return [this.contentAuth.getTicket(), this.processAuth.getTicket()];\n }\n\n isBpmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'BPM';\n }\n\n isEcmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'ECM';\n }\n\n isOauthConfiguration(): boolean {\n return this.config.authType === 'OAUTH';\n }\n\n isPublicUrl(): boolean {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isPublicUrl();\n }\n return false;\n }\n\n isEcmBpmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'ALL';\n }\n\n private emitBuffer(event: string, callback?: any): void {\n this.emit(event, callback);\n this.bufferEvents.push(event);\n }\n\n reply(event: string, callback?: any): void {\n if (this.bufferEvents.indexOf(event) >= 0) {\n // eslint-disable-next-line prefer-rest-params\n Function.prototype.apply.call(callback, this, arguments);\n } else {\n this.on(event, callback);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"alfrescoApi.js","sourceRoot":"","sources":["alfrescoApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAA8B,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,OAAO,WAAW;IA0BpB,YAAY,MAA0B,EAAS,UAAuB;QAAvB,eAAU,GAAV,UAAU,CAAa;QAzBtE,WAAM,GAAG,eAAe,CAAC;QAmBzB,iBAAY,GAAa,EAAE,CAAC;QAOxB,EAAE,CAAC,IAAI,CAAC,CAAC;QAET,IAAI,MAAM,EAAE,CAAC;YACT,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IAED,SAAS,CAAC,MAAyB;QAC/B,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,MAAM,GAAG,EA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U,CAAC,KAAa,EAAE,QAAc;QAC5C,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,KAAa,EAAE,QAAc;QAC/B,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;YAExC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC7B,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 ee, { EmitterMethod, Emitter } from 'event-emitter';\nimport { ContentAuth } from './authentication/contentAuth';\nimport { ProcessAuth } from './authentication/processAuth';\nimport { Oauth2Auth } from './authentication/oauth2Auth';\nimport { ContentClient } from './contentClient';\nimport { ProcessClient } from './processClient';\nimport { Storage } from './storage';\nimport { AlfrescoApiConfig } from './alfrescoApiConfig';\nimport { Authentication } from './authentication/authentication';\nimport { AlfrescoApiType } from './to-deprecate/alfresco-api-type';\nimport { HttpClient } from './api-clients/http-client.interface';\n\nexport class AlfrescoApi implements Emitter, AlfrescoApiType {\n __type = 'legacy-client';\n storage: Storage;\n config: AlfrescoApiConfig;\n contentClient: ContentClient;\n contentPrivateClient: ContentClient;\n processClient: ProcessClient;\n searchClient: ContentClient;\n discoveryClient: ContentClient;\n gsClient: ContentClient;\n authClient: ContentClient;\n hxiConnectorClient: ContentClient;\n oauth2Auth: Oauth2Auth;\n processAuth: ProcessAuth;\n contentAuth: ContentAuth;\n\n on: EmitterMethod;\n off: EmitterMethod;\n once: EmitterMethod;\n\n bufferEvents: string[] = [];\n\n emit: (type: string, ...args: any[]) => void;\n\n username: string;\n\n constructor(config?: AlfrescoApiConfig, public httpClient?: HttpClient) {\n ee(this);\n\n if (config) {\n this.setConfig(config);\n }\n }\n\n setConfig(config: AlfrescoApiConfig) {\n if (!config) {\n config = {};\n }\n\n this.storage = Storage.getInstance();\n this.storage.setDomainPrefix(config.domainPrefix);\n\n this.initConfig(config);\n this.validateTicket(config);\n }\n\n private initConfig(config: AlfrescoApiConfig) {\n this.config = new AlfrescoApiConfig(config);\n\n this.clientsFactory();\n\n this.errorListeners();\n this.ticketMismatchListeners();\n if (this.config.oauthInit) {\n this.initAuth(config);\n\n if (this.isLoggedIn()) {\n this.emitBuffer('logged-in');\n }\n }\n }\n\n private validateTicket(config: AlfrescoApiConfig) {\n if (config.ticketEcm && !this.isOauthConfiguration()) {\n if (!this.contentAuth) {\n this.contentAuth = new ContentAuth(this.config, this, this.httpClient);\n }\n this.contentAuth\n .validateTicket()\n .then((ticket) => {\n config.ticketEcm = ticket;\n })\n .catch((error) => {\n if (error.status === 401) {\n config.ticketEcm = null;\n this.initConfig(config);\n this.emitBuffer('ticket_invalidated');\n }\n });\n }\n }\n\n private initAuth(config: AlfrescoApiConfig): void {\n if (this.isOauthConfiguration()) {\n if (!this.oauth2Auth) {\n this.oauth2Auth = new Oauth2Auth(this.config, this, this.httpClient);\n } else {\n this.oauth2Auth.setConfig(this.config, this);\n }\n\n this.oauth2Auth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.setAuthenticationClientECMBPM(this.oauth2Auth.getAuthentication(), this.oauth2Auth.getAuthentication());\n } else {\n if (!this.processAuth) {\n this.processAuth = new ProcessAuth(this.config, this.httpClient);\n } else {\n this.processAuth.setConfig(this.config);\n }\n\n this.processAuth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.processAuth?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n if (!this.contentAuth) {\n this.contentAuth = new ContentAuth(this.config, this, this.httpClient);\n } else {\n this.contentAuth.setConfig(config);\n }\n\n this.contentAuth?.on('logged-in', () => {\n this.emitBuffer('logged-in');\n });\n\n this.contentAuth?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n this.setAuthenticationClientECMBPM(this.contentAuth.getAuthentication(), this.processAuth.getAuthentication());\n }\n }\n\n private clientsFactory() {\n if (!this.contentPrivateClient) {\n this.contentPrivateClient = new ContentClient(this.config, `/api/${this.config.tenant}/private/alfresco/versions/1`, this.httpClient);\n } else {\n this.contentPrivateClient.setConfig(this.config, `/api/${this.config.tenant}/private/alfresco/versions/1`);\n }\n\n if (!this.contentClient) {\n this.contentClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/alfresco/versions/1`, this.httpClient);\n } else {\n this.contentClient.setConfig(this.config, `/api/${this.config.tenant}/public/alfresco/versions/1`);\n }\n\n if (!this.authClient) {\n this.authClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/authentication/versions/1`, this.httpClient);\n } else {\n this.authClient.setConfig(this.config, `/api/${this.config.tenant}/public/authentication/versions/1`);\n }\n\n if (!this.searchClient) {\n this.searchClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/search/versions/1`, this.httpClient);\n } else {\n this.searchClient.setConfig(this.config, `/api/${this.config.tenant}/public/search/versions/1`);\n }\n\n if (!this.discoveryClient) {\n this.discoveryClient = new ContentClient(this.config, `/api`, this.httpClient);\n } else {\n this.discoveryClient.setConfig(this.config, `/api`);\n }\n\n if (!this.gsClient) {\n this.gsClient = new ContentClient(this.config, `/api/${this.config.tenant}/public/gs/versions/1`, this.httpClient);\n } else {\n this.gsClient.setConfig(this.config, `/api/${this.config.tenant}/public/gs/versions/1`);\n }\n\n if (!this.processClient) {\n this.processClient = new ProcessClient(this.config, this.httpClient);\n } else {\n this.processClient.setConfig(this.config);\n }\n\n if (!this.hxiConnectorClient) {\n this.hxiConnectorClient = new ContentClient(this.config, `/api/${this.config.tenant}/private/hxi/versions/1`, this.httpClient);\n } else {\n this.hxiConnectorClient.setConfig(this.config, `/api/${this.config.tenant}/private/hxi/versions/1`);\n }\n }\n\n /**@private? */\n errorListeners() {\n this.contentClient.off('error', () => {});\n this.authClient.off('error', () => {});\n this.contentPrivateClient.off('error', () => {});\n this.processClient.off('error', () => {});\n this.searchClient.off('error', () => {});\n this.discoveryClient.off('error', () => {});\n this.gsClient.off('error', () => {});\n this.hxiConnectorClient.off('error', () => {});\n\n this.contentClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.authClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.contentPrivateClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.processClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.searchClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.discoveryClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.gsClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n\n this.hxiConnectorClient.on('error', (error: any) => {\n this.errorHandler(error);\n });\n }\n\n ticketMismatchListeners() {\n this.contentClient?.off('ticket_mismatch', () => {});\n this.processClient?.off('ticket_mismatch', () => {});\n\n this.contentClient?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n\n this.processClient?.on('ticket_mismatch', (error: any) => {\n this.ticketMismatchHandler(error);\n });\n }\n\n /**@private? */\n errorHandler(error: { status?: number }) {\n if (this.config.oauthInit && error.status === 401) {\n this.invalidateSession();\n }\n\n this.emitBuffer('error', error);\n }\n\n ticketMismatchHandler(error: { newTicket?: string }) {\n if (error.newTicket) {\n this.config.ticketEcm = error.newTicket;\n this.initConfig(this.config);\n }\n\n this.emitBuffer('ticket_mismatch', error);\n }\n\n changeWithCredentialsConfig(withCredentials: boolean) {\n this.config.withCredentials = withCredentials;\n }\n\n changeCsrfConfig(disableCsrf: boolean) {\n this.config.disableCsrf = disableCsrf;\n this.processAuth.changeCsrfConfig(disableCsrf);\n }\n\n changeEcmHost(hostEcm: string) {\n this.config.hostEcm = hostEcm;\n this.contentAuth.changeHost();\n this.contentClient.changeHost();\n this.authClient.changeHost();\n }\n\n changeBpmHost(hostBpm: string) {\n this.config.hostBpm = hostBpm;\n this.processAuth.changeHost();\n this.processClient.changeHost();\n }\n\n /**\n * login Alfresco API\n * @param username Username to login\n * @param password Password to login\n * @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.\n */\n login(username: string, password: string): Promise<any> {\n if (!this.isCredentialValid(username) || !this.isCredentialValid(password)) {\n return Promise.reject(new Error('missing username or password'));\n }\n\n if (username) {\n username = username.trim();\n }\n\n this.username = username;\n\n if (this.isOauthConfiguration()) {\n const promise = this.oauth2Auth.login(username, password);\n promise.then((accessToken) => {\n this.config.accessToken = accessToken;\n });\n return promise;\n } else {\n if (this.isBpmConfiguration()) {\n const promise = this.processAuth.login(username, password);\n promise.then((ticketBpm) => {\n this.config.ticketBpm = ticketBpm;\n });\n return promise;\n } else if (this.isEcmConfiguration()) {\n const promise = this.contentAuth.login(username, password);\n promise.then((ticketEcm) => {\n this.setAuthenticationClientECMBPM(this.contentAuth.getAuthentication(), null);\n this.config.ticketEcm = ticketEcm;\n });\n return promise;\n } else if (this.isEcmBpmConfiguration()) {\n const contentProcessPromise = this.loginBPMECM(username, password);\n\n contentProcessPromise.then((data) => {\n this.config.ticketEcm = data[0];\n this.config.ticketBpm = data[1];\n });\n\n return contentProcessPromise;\n } else {\n return Promise.reject(new Error('Unknown configuration'));\n }\n }\n }\n\n isCredentialValid(credential: string): boolean {\n return credential !== undefined && credential !== null && credential !== '';\n }\n\n implicitLogin(): Promise<any> {\n if (!this.isOauthConfiguration()) {\n return Promise.reject(new Error('Missing the required oauth2 configuration'));\n }\n\n return new Promise(() => {\n this.oauth2Auth.implicitLogin();\n });\n }\n\n setAuthenticationClientECMBPM(authECM: Authentication, authBPM: Authentication) {\n this.contentClient.setAuthentications(authECM);\n this.authClient.setAuthentications(authECM);\n this.searchClient.setAuthentications(authECM);\n this.contentPrivateClient.setAuthentications(authECM);\n this.processClient.setAuthentications(authBPM);\n this.searchClient.setAuthentications(authECM);\n this.discoveryClient.setAuthentications(authECM);\n this.gsClient.setAuthentications(authECM);\n this.hxiConnectorClient.setAuthentications(authECM);\n }\n\n /**\n * login Tickets\n * @param ticketEcm alfresco ticket\n * @param ticketBpm alfresco ticket\n */\n loginTicket(ticketEcm: string, ticketBpm: string): Promise<string> {\n this.config.ticketEcm = ticketEcm;\n this.config.ticketBpm = ticketBpm;\n\n return this.contentAuth.validateTicket();\n }\n\n private loginBPMECM(username: string, password: string): Promise<[string, string]> {\n const contentPromise = this.contentAuth.login(username, password);\n const processPromise = this.processAuth.login(username, password);\n\n const promise: any = new Promise<[string, string]>((resolve, reject) => {\n Promise.all([contentPromise, processPromise]).then(\n (data) => {\n promise.emit('success');\n resolve(data);\n },\n (error) => {\n this.contentAuth.invalidateSession();\n this.processAuth.invalidateSession();\n\n if (error.status === 401) {\n promise.emit('unauthorized');\n }\n promise.emit('error');\n reject(error);\n }\n );\n });\n\n ee(promise); // jshint ignore:line\n return promise;\n }\n\n /**\n * logout Alfresco API\n */\n logout(): Promise<void> {\n this.username = null;\n\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.logOut();\n }\n\n if (this.isBpmConfiguration()) {\n return this.processAuth.logout();\n }\n\n if (this.isEcmConfiguration()) {\n const contentPromise = this.contentAuth.logout();\n contentPromise.then(\n (): void => (this.config.ticket = undefined),\n (): void => {}\n );\n return contentPromise;\n }\n\n if (this.isEcmBpmConfiguration()) {\n return this._logoutBPMECM();\n }\n\n return Promise.resolve();\n }\n\n private _logoutBPMECM(): Promise<void> {\n const contentPromise = this.contentAuth.logout();\n const processPromise = this.processAuth.logout();\n\n const promise: any = new Promise<void>((resolve, reject) => {\n Promise.all([contentPromise, processPromise]).then(\n () => {\n this.config.ticket = undefined;\n promise.emit('logout');\n resolve();\n },\n (error) => {\n if (error.status === 401) {\n promise.emit('unauthorized');\n }\n promise.emit('error');\n reject(error);\n }\n );\n });\n\n ee(promise); // jshint ignore:line\n return promise;\n }\n\n /**\n * If the client is logged in return true\n */\n isLoggedIn(): boolean {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n }\n\n if (this.isBpmConfiguration()) {\n return this.processAuth.isLoggedIn();\n }\n\n if (this.isEcmConfiguration()) {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn();\n }\n\n if (this.isEcmBpmConfiguration()) {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn() && this.processAuth.isLoggedIn();\n }\n\n return false;\n }\n\n isBpmLoggedIn(): boolean {\n if (this.isBpmConfiguration() || this.isEcmBpmConfiguration()) {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n } else {\n return this.processAuth.isLoggedIn();\n }\n }\n return false;\n }\n\n isEcmLoggedIn(): boolean {\n if (this.isEcmConfiguration() || this.isEcmBpmConfiguration()) {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isLoggedIn();\n } else {\n return this.config.withCredentials ? true : this.contentAuth.isLoggedIn();\n }\n }\n return false;\n }\n\n getBpmUsername(): string {\n if (this.isOauthConfiguration()) {\n return this.username || this.oauth2Auth.storage.getItem('USERNAME');\n } else {\n return this.username || this.processAuth.storage.getItem('APS_USERNAME');\n }\n }\n\n getEcmUsername(): string {\n if (this.isOauthConfiguration()) {\n return this.username || this.oauth2Auth.storage.getItem('USERNAME');\n } else {\n return this.username || this.contentAuth.storage.getItem('ACS_USERNAME');\n }\n }\n\n /**\n * refresh token\n */\n refreshToken(): Promise<any> {\n if (!this.isOauthConfiguration()) {\n return Promise.reject(new Error('Missing the required oauth2 configuration'));\n }\n\n if (this.config.oauth2.implicitFlow) {\n return Promise.reject(new Error('Manual refresh token not possible in implicit flow'));\n }\n\n return this.oauth2Auth.refreshToken();\n }\n\n getTicketAuth(): string {\n return this.oauth2Auth?.getToken();\n }\n\n /**\n * Set the current Ticket\n * @param ticketEcm ecm ticket\n * @param ticketBpm bpm ticket\n */\n setTicket(ticketEcm: string, ticketBpm: string) {\n if (this.contentAuth) {\n this.contentAuth.setTicket(ticketEcm);\n }\n if (this.processAuth) {\n this.processAuth.setTicket(ticketBpm);\n }\n }\n\n /**\n * invalidate the current session\n */\n invalidateSession() {\n if (this.oauth2Auth) {\n this.oauth2Auth.invalidateSession();\n } else {\n this.contentAuth.invalidateSession();\n this.processAuth.invalidateSession();\n }\n }\n\n /**\n * Get the current Ticket for the Bpm\n */\n getTicketBpm(): string {\n return this.processAuth?.getTicket();\n }\n\n /**\n * Get the current Ticket for the Ecm\n */\n getTicketEcm(): string {\n return this.contentAuth?.getTicket();\n }\n\n /**\n * Get the current Ticket for the Ecm and BPM\n */\n getTicket(): [string, string] {\n return [this.contentAuth.getTicket(), this.processAuth.getTicket()];\n }\n\n isBpmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'BPM';\n }\n\n isEcmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'ECM';\n }\n\n isOauthConfiguration(): boolean {\n return this.config.authType === 'OAUTH';\n }\n\n isPublicUrl(): boolean {\n if (this.isOauthConfiguration()) {\n return this.oauth2Auth.isPublicUrl();\n }\n return false;\n }\n\n isEcmBpmConfiguration(): boolean {\n return this.config.provider && this.config.provider.toUpperCase() === 'ALL';\n }\n\n private emitBuffer(event: string, callback?: any): void {\n this.emit(event, callback);\n this.bufferEvents.push(event);\n }\n\n reply(event: string, callback?: any): void {\n if (this.bufferEvents.indexOf(event) >= 0) {\n // eslint-disable-next-line prefer-rest-params\n Function.prototype.apply.call(callback, this, arguments);\n } else {\n this.on(event, callback);\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"tags.api.js","sourceRoot":"","sources":["tags.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,OAAQ,SAAQ,OAAO;IAQhC,gBAAgB,CAAC,MAAc,EAAE,aAAwB,EAAE,IAAyB;QAChF,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;QAElD,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU;YACV,WAAW;YACX,SAAS,EAAE,aAAa;YACxB,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;IAQD,iBAAiB,CAAC,MAAc,EAAE,KAAa;QAC3C,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,MAAM;YACN,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,8BAA8B;YACp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C,MAAM,CAAC;YACf,IAAI,EAAE,eAAe;YACrB,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAOD,UAAU,CAAC,IAAe;QACtB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,OAAO;YACb,SAAS,EAAE,IAAI;SAClB,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,MAAc,EAAE,IAAe;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,SAAS;SACxB,CAAC,CAAC;IACP,CAAC;IAQD,eAAe,CAAC,MAAc,EAAE,GAAY;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,EAAE,MAAM,EAAE;YACtB,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { TagBody } from '../model/tagBody';\nimport { TagEntry } from '../model/tagEntry';\nimport { TagPaging } from '../model/tagPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Tags service.\n */\nexport class TagsApi extends BaseApi {\n /**\n * Create a tag for a node\n * @param nodeId The identifier of a node.\n * @param tagBodyCreate The new tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n createTagForNode(nodeId: string, tagBodyCreate: TagBody[], opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagBodyCreate, 'tagBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams,\n queryParams,\n bodyParam: tagBodyCreate,\n returnType: TagEntry\n });\n }\n\n /**\n * Delete a tag from a node\n * @param nodeId The identifier of a node.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTagFromNode(nodeId: string, tagId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n nodeId,\n tagId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Get a tag\n * @param tagId The identifier of a tag.\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n getTag(tagId: string, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n returnType: TagEntry\n });\n }\n\n /**\n * List tags\n * @param opts Optional parameters\n * @param opts.tag Name or pattern for which tag is returned. Example of pattern: *test* which returns tags like 'my test 1'\n * @param opts.matching Switches filtering to pattern mode instead of exact mode.\n * @returns Promise<TagPaging>\n */\n listTags(opts?: { tag?: string; matching?: boolean } & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<TagPaging> {\n opts = opts || {};\n\n const pathParams = {};\n\n let where: string;\n if (opts?.tag) {\n where = opts.matching ? `(tag matches ('${opts.tag}'))` : `(tag='${opts.tag}')`;\n }\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where\n };\n\n return this.get({\n path: '/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * List tags for a node\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<TagPaging>\n */\n listTagsForNode(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<TagPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * Update a tag\n * @param tagId The identifier of a tag.\n * @param tagBodyUpdate The updated tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n updateTag(tagId: string, tagBodyUpdate: TagBody, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n throwIfNotDefined(tagBodyUpdate, 'tagBodyUpdate');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n bodyParam: tagBodyUpdate,\n returnType: TagEntry\n });\n }\n\n /**\n * Deletes a tag by **tagId**. This will cause the tag to be removed from all nodes.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTag(tagId: string): Promise<void> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n return this.delete({\n path: '/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Create specified by **tags** list of tags.\n * @param tags List of tags to create.\n * @returns Promise<TagEntry[]>\n */\n createTags(tags: TagBody[]): Promise<TagEntry[]> {\n throwIfNotDefined(tags, 'tags');\n\n return this.post({\n path: '/tags',\n bodyParam: tags\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tags List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagPaging>\n */\n assignTagsToNode(nodeId: string, tags: TagBody[]): Promise<TagPaging> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tags,\n returnType: TagPaging\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tag List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagEntry>\n */\n assignTagToNode(nodeId: string, tag: TagBody): Promise<TagEntry> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tag,\n returnType: TagEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"tags.api.js","sourceRoot":"","sources":["tags.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,OAAQ,SAAQ,OAAO;IAQhC,gBAAgB,CAAC,MAAc,EAAE,aAAwB,EAAE,IAAyB;QAChF,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,aAAa,EAAE,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E;YACtB,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,QAAQ;SACvB,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { TagBody } from '../model/tagBody';\nimport { TagEntry } from '../model/tagEntry';\nimport { TagPaging } from '../model/tagPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Tags service.\n */\nexport class TagsApi extends BaseApi {\n /**\n * Create a tag for a node\n * @param nodeId The identifier of a node.\n * @param tagBodyCreate The new tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n createTagForNode(nodeId: string, tagBodyCreate: TagBody[], opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagBodyCreate, 'tagBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams,\n queryParams,\n bodyParam: tagBodyCreate,\n returnType: TagEntry\n });\n }\n\n /**\n * Delete a tag from a node\n * @param nodeId The identifier of a node.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTagFromNode(nodeId: string, tagId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n nodeId,\n tagId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Get a tag\n * @param tagId The identifier of a tag.\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n getTag(tagId: string, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n returnType: TagEntry\n });\n }\n\n /**\n * List tags\n * @param opts Optional parameters\n * @param opts.tag Name or pattern for which tag is returned. Example of pattern: *test* which returns tags like 'my test 1'\n * @param opts.matching Switches filtering to pattern mode instead of exact mode.\n * @returns Promise<TagPaging>\n */\n listTags(opts?: { tag?: string; matching?: boolean } & ContentPagingQuery & ContentIncludeQuery & ContentFieldsQuery): Promise<TagPaging> {\n opts = opts || {};\n\n const pathParams = {};\n\n let where: string;\n if (opts?.tag) {\n where = opts.matching ? `(tag matches ('${opts.tag}'))` : `(tag='${opts.tag}')`;\n }\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv'),\n where\n };\n\n return this.get({\n path: '/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * List tags for a node\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<TagPaging>\n */\n listTagsForNode(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<TagPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/tags',\n pathParams,\n queryParams,\n returnType: TagPaging\n });\n }\n\n /**\n * Update a tag\n * @param tagId The identifier of a tag.\n * @param tagBodyUpdate The updated tag\n * @param opts Optional parameters\n * @returns Promise<TagEntry>\n */\n updateTag(tagId: string, tagBodyUpdate: TagBody, opts?: ContentFieldsQuery): Promise<TagEntry> {\n throwIfNotDefined(tagId, 'tagId');\n throwIfNotDefined(tagBodyUpdate, 'tagBodyUpdate');\n\n const pathParams = {\n tagId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/tags/{tagId}',\n pathParams,\n queryParams,\n bodyParam: tagBodyUpdate,\n returnType: TagEntry\n });\n }\n\n /**\n * Deletes a tag by **tagId**. This will cause the tag to be removed from all nodes.\n * @param tagId The identifier of a tag.\n * @returns Promise<{}>\n */\n deleteTag(tagId: string): Promise<void> {\n throwIfNotDefined(tagId, 'tagId');\n\n const pathParams = {\n tagId\n };\n\n return this.delete({\n path: '/tags/{tagId}',\n pathParams\n });\n }\n\n /**\n * Create specified by **tags** list of tags.\n * @param tags List of tags to create.\n * @returns Promise<TagEntry | TagPaging>\n */\n createTags(tags: TagBody[]): Promise<TagEntry | TagPaging> {\n throwIfNotDefined(tags, 'tags');\n\n return this.post({\n path: '/tags',\n bodyParam: tags\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tags List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagPaging>\n */\n assignTagsToNode(nodeId: string, tags: TagBody[]): Promise<TagPaging> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tags,\n returnType: TagPaging\n });\n }\n\n /**\n * Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.\n * @param nodeId Id of node to which tags should be assigned.\n * @param tag List of tags to create and assign or just assign if they already exist.\n * @returns Promise<TagEntry>\n */\n assignTagToNode(nodeId: string, tag: TagBody): Promise<TagEntry> {\n return this.post({\n path: '/nodes/{nodeId}/tags',\n pathParams: { nodeId },\n bodyParam: tag,\n returnType: TagEntry\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"aiAnswer.js","sourceRoot":"","sources":["aiAnswer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 { AiAnswerReference } from './aiAnswerReference';\n\nexport interface AiAnswer {\n answer: string;\n questionId: string;\n references: AiAnswerReference[];\n}\n"]}
1
+ {"version":3,"file":"aiAnswer.js","sourceRoot":"","sources":["aiAnswer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 { AiAnswerObjectReference } from './aiAnswerObjectReference';\n\nexport interface AiAnswer {\n answer?: string;\n question: string;\n complete: boolean;\n objectReferences: AiAnswerObjectReference[];\n}\n"]}
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/content-rest-api/model/aiAnswerObjectReference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aiAnswerObjectReference.js","sourceRoot":"","sources":["aiAnswerObjectReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 { AiAnswerReference } from './aiAnswerReference';\n\nexport interface AiAnswerObjectReference {\n objectId: string;\n references: AiAnswerReference[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"aiAnswerReference.js","sourceRoot":"","sources":["aiAnswerReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface AiAnswerReference {\n referenceId: string;\n referenceText: string;\n}\n"]}
1
+ {"version":3,"file":"aiAnswerReference.js","sourceRoot":"","sources":["aiAnswerReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface AiAnswerReference {\n referenceId: string;\n rankScore: number;\n rank: number;\n}\n"]}
@@ -33,6 +33,7 @@ export * from './agentPagingList';
33
33
  export * from './aiAnswer';
34
34
  export * from './aiAnswerEntry';
35
35
  export * from './aiAnswerReference';
36
+ export * from './aiAnswerObjectReference';
36
37
  export * from './association';
37
38
  export * from './associationBody';
38
39
  export * from './associationEntry';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY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Ac,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './actionBodyExec';\nexport * from './actionDefinition';\nexport * from './actionDefinitionEntry';\nexport * from './actionDefinitionList';\nexport * from './actionDefinitionListList';\nexport * from './actionExecResult';\nexport * from './actionExecResultEntry';\nexport * from './actionParameterDefinition';\nexport * from './activity';\nexport * from './activityEntry';\nexport * from './activityPaging';\nexport * from './activityPagingList';\nexport * from './agent';\nexport * from './agentEntry';\nexport * from './agentPaging';\nexport * from './agentPagingList';\nexport * from './aiAnswer';\nexport * from './aiAnswerEntry';\nexport * from './aiAnswerReference';\nexport * from './association';\nexport * from './associationBody';\nexport * from './associationEntry';\nexport * from './associationInfo';\nexport * from './auditApp';\nexport * from './auditAppEntry';\nexport * from './auditAppPaging';\nexport * from './auditAppPagingList';\nexport * from './auditBodyUpdate';\nexport * from './auditEntry';\nexport * from './auditEntryEntry';\nexport * from './auditEntryPaging';\nexport * from './auditEntryPagingList';\nexport * from './capabilities';\nexport * from './childAssociation';\nexport * from './childAssociationBody';\nexport * from './childAssociationEntry';\nexport * from './childAssociationInfo';\nexport * from './clientBody';\nexport * from './category';\nexport * from './categoryBody';\nexport * from './categoryEntry';\nexport * from './CategoryLinkBody';\nexport * from './categoryPaging';\nexport * from './categoryPagingList';\nexport * from './comment';\nexport * from './commentBody';\nexport * from './commentEntry';\nexport * from './commentPaging';\nexport * from './commentPagingList';\nexport * from './company';\nexport * from './constraint';\nexport * from './contentInfo';\nexport * from './definition';\nexport * from './deletedNodeBodyRestore';\nexport * from './deletedNodeEntry';\nexport * from './deletedNodesPaging';\nexport * from './deletedNodesPagingList';\nexport * from './directAccessUrl';\nexport * from './directAccessUrlEntry';\nexport * from './download';\nexport * from './download-status';\nexport * from './downloadBodyCreate';\nexport * from './downloadEntry';\nexport * from './errorError';\nexport * from './favorite';\nexport * from './favoriteBodyCreate';\nexport * from './favoriteEntry';\nexport * from './favoritePaging';\nexport * from './favoritePagingList';\nexport * from './favoriteSite';\nexport * from './favoriteSiteBodyCreate';\nexport * from './favoriteSiteEntry';\nexport * from './group';\nexport * from './groupBodyCreate';\nexport * from './groupBodyUpdate';\nexport * from './groupEntry';\nexport * from './groupMember';\nexport * from './groupMemberEntry';\nexport * from './groupMemberPaging';\nexport * from './groupMemberPagingList';\nexport * from './groupMembershipBodyCreate';\nexport * from './groupPaging';\nexport * from './groupPagingList';\nexport * from './knowledgeRetrievalConfig';\nexport * from './knowledgeRetrievalConfigEntry';\nexport * from './modelError';\nexport * from './networkQuota';\nexport * from './node';\nexport * from './nodeAssociationEntry';\nexport * from './nodeAssociationPaging';\nexport * from './nodeAssociationPagingList';\nexport * from './nodeBodyCopy';\nexport * from './nodeBodyCreate';\nexport * from './nodeBodyCreateAssociation';\nexport * from './nodeBodyLock';\nexport * from './nodeBodyMove';\nexport * from './nodeBodyUpdate';\nexport * from './nodeChildAssociationEntry';\nexport * from './nodeChildAssociationPaging';\nexport * from './nodeChildAssociationPagingList';\nexport * from './nodeEntry';\nexport * from './nodePaging';\nexport * from './nodePagingList';\nexport * from './pagination';\nexport * from './passwordResetBody';\nexport * from './pathElement';\nexport * from './pathInfo';\nexport * from './permissionElement';\nexport * from './permissionsBody';\nexport * from './permissionsInfo';\nexport * from './person';\nexport * from './personBodyCreate';\nexport * from './personBodyUpdate';\nexport * from './personEntry';\nexport * from './personNetwork';\nexport * from './personNetworkEntry';\nexport * from './personNetworkPaging';\nexport * from './personNetworkPagingList';\nexport * from './personPaging';\nexport * from './personPagingList';\nexport * from './preference';\nexport * from './preferenceEntry';\nexport * from './preferencePaging';\nexport * from './preferencePagingList';\nexport * from './probeEntry';\nexport * from './probeEntryEntry';\nexport * from './property';\nexport * from './questionModel';\nexport * from './questionRequest';\nexport * from './rating';\nexport * from './ratingAggregate';\nexport * from './ratingBody';\nexport * from './ratingEntry';\nexport * from './ratingPaging';\nexport * from './ratingPagingList';\nexport * from './rendition';\nexport * from './renditionBodyCreate';\nexport * from './renditionEntry';\nexport * from './renditionPaging';\nexport * from './renditionPagingList';\nexport * from './revertBody';\nexport * from './sharedLink';\nexport * from './sharedLinkBodyCreate';\nexport * from './sharedLinkBodyEmail';\nexport * from './sharedLinkEntry';\nexport * from './sharedLinkPaging';\nexport * from './sharedLinkPagingList';\nexport * from './site';\nexport * from './siteBodyCreate';\nexport * from './siteBodyUpdate';\nexport * from './siteContainer';\nexport * from './siteContainerEntry';\nexport * from './siteContainerPaging';\nexport * from './siteContainerPagingList';\nexport * from './siteEntry';\nexport * from './siteMember';\nexport * from './siteMemberEntry';\nexport * from './siteMemberPaging';\nexport * from './siteMemberPagingList';\nexport * from './siteGroup';\nexport * from './siteGroupEntry';\nexport * from './siteGroupPaging';\nexport * from './siteGroupPagingList';\nexport * from './siteMembershipApprovalBody';\nexport * from './siteMembershipBodyCreate';\nexport * from './siteMembershipBodyUpdate';\nexport * from './siteMembershipRejectionBody';\nexport * from './siteMembershipRequest';\nexport * from './siteMembershipRequestBodyCreate';\nexport * from './siteMembershipRequestBodyUpdate';\nexport * from './siteMembershipRequestEntry';\nexport * from './siteMembershipRequestPaging';\nexport * from './siteMembershipRequestPagingList';\nexport * from './siteMembershipRequestWithPerson';\nexport * from './siteMembershipRequestWithPersonEntry';\nexport * from './siteMembershipRequestWithPersonPaging';\nexport * from './siteMembershipRequestWithPersonPagingList';\nexport * from './sitePaging';\nexport * from './sitePagingList';\nexport * from './siteRole';\nexport * from './siteRoleEntry';\nexport * from './siteRolePaging';\nexport * from './siteRolePagingList';\nexport * from './tag';\nexport * from './tagBody';\nexport * from './tagEntry';\nexport * from './tagPaging';\nexport * from './tagPagingList';\nexport * from './userInfo';\nexport * from './version';\nexport * from './versionEntry';\nexport * from './versionPaging';\nexport * from './versionPagingList';\nexport * from './deletedNode';\nexport * from './nodeAssociation';\nexport * from './nodeChildAssociation';\nexport * from './sizeDetails';\nexport * from './sizeDetailsEntry';\nexport * from './jobIdBody';\nexport * from './jobIdBodyEntry';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,c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,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './actionBodyExec';\nexport * from './actionDefinition';\nexport * from './actionDefinitionEntry';\nexport * from './actionDefinitionList';\nexport * from './actionDefinitionListList';\nexport * from './actionExecResult';\nexport * from './actionExecResultEntry';\nexport * from './actionParameterDefinition';\nexport * from './activity';\nexport * from './activityEntry';\nexport * from './activityPaging';\nexport * from './activityPagingList';\nexport * from './agent';\nexport * from './agentEntry';\nexport * from './agentPaging';\nexport * from './agentPagingList';\nexport * from './aiAnswer';\nexport * from './aiAnswerEntry';\nexport * from './aiAnswerReference';\nexport * from './aiAnswerObjectReference';\nexport * from './association';\nexport * from './associationBody';\nexport * from './associationEntry';\nexport * from './associationInfo';\nexport * from './auditApp';\nexport * from './auditAppEntry';\nexport * from './auditAppPaging';\nexport * from './auditAppPagingList';\nexport * from './auditBodyUpdate';\nexport * from './auditEntry';\nexport * from './auditEntryEntry';\nexport * from './auditEntryPaging';\nexport * from './auditEntryPagingList';\nexport * from './capabilities';\nexport * from './childAssociation';\nexport * from './childAssociationBody';\nexport * from './childAssociationEntry';\nexport * from './childAssociationInfo';\nexport * from './clientBody';\nexport * from './category';\nexport * from './categoryBody';\nexport * from './categoryEntry';\nexport * from './CategoryLinkBody';\nexport * from './categoryPaging';\nexport * from './categoryPagingList';\nexport * from './comment';\nexport * from './commentBody';\nexport * from './commentEntry';\nexport * from './commentPaging';\nexport * from './commentPagingList';\nexport * from './company';\nexport * from './constraint';\nexport * from './contentInfo';\nexport * from './definition';\nexport * from './deletedNodeBodyRestore';\nexport * from './deletedNodeEntry';\nexport * from './deletedNodesPaging';\nexport * from './deletedNodesPagingList';\nexport * from './directAccessUrl';\nexport * from './directAccessUrlEntry';\nexport * from './download';\nexport * from './download-status';\nexport * from './downloadBodyCreate';\nexport * from './downloadEntry';\nexport * from './errorError';\nexport * from './favorite';\nexport * from './favoriteBodyCreate';\nexport * from './favoriteEntry';\nexport * from './favoritePaging';\nexport * from './favoritePagingList';\nexport * from './favoriteSite';\nexport * from './favoriteSiteBodyCreate';\nexport * from './favoriteSiteEntry';\nexport * from './group';\nexport * from './groupBodyCreate';\nexport * from './groupBodyUpdate';\nexport * from './groupEntry';\nexport * from './groupMember';\nexport * from './groupMemberEntry';\nexport * from './groupMemberPaging';\nexport * from './groupMemberPagingList';\nexport * from './groupMembershipBodyCreate';\nexport * from './groupPaging';\nexport * from './groupPagingList';\nexport * from './knowledgeRetrievalConfig';\nexport * from './knowledgeRetrievalConfigEntry';\nexport * from './modelError';\nexport * from './networkQuota';\nexport * from './node';\nexport * from './nodeAssociationEntry';\nexport * from './nodeAssociationPaging';\nexport * from './nodeAssociationPagingList';\nexport * from './nodeBodyCopy';\nexport * from './nodeBodyCreate';\nexport * from './nodeBodyCreateAssociation';\nexport * from './nodeBodyLock';\nexport * from './nodeBodyMove';\nexport * from './nodeBodyUpdate';\nexport * from './nodeChildAssociationEntry';\nexport * from './nodeChildAssociationPaging';\nexport * from './nodeChildAssociationPagingList';\nexport * from './nodeEntry';\nexport * from './nodePaging';\nexport * from './nodePagingList';\nexport * from './pagination';\nexport * from './passwordResetBody';\nexport * from './pathElement';\nexport * from './pathInfo';\nexport * from './permissionElement';\nexport * from './permissionsBody';\nexport * from './permissionsInfo';\nexport * from './person';\nexport * from './personBodyCreate';\nexport * from './personBodyUpdate';\nexport * from './personEntry';\nexport * from './personNetwork';\nexport * from './personNetworkEntry';\nexport * from './personNetworkPaging';\nexport * from './personNetworkPagingList';\nexport * from './personPaging';\nexport * from './personPagingList';\nexport * from './preference';\nexport * from './preferenceEntry';\nexport * from './preferencePaging';\nexport * from './preferencePagingList';\nexport * from './probeEntry';\nexport * from './probeEntryEntry';\nexport * from './property';\nexport * from './questionModel';\nexport * from './questionRequest';\nexport * from './rating';\nexport * from './ratingAggregate';\nexport * from './ratingBody';\nexport * from './ratingEntry';\nexport * from './ratingPaging';\nexport * from './ratingPagingList';\nexport * from './rendition';\nexport * from './renditionBodyCreate';\nexport * from './renditionEntry';\nexport * from './renditionPaging';\nexport * from './renditionPagingList';\nexport * from './revertBody';\nexport * from './sharedLink';\nexport * from './sharedLinkBodyCreate';\nexport * from './sharedLinkBodyEmail';\nexport * from './sharedLinkEntry';\nexport * from './sharedLinkPaging';\nexport * from './sharedLinkPagingList';\nexport * from './site';\nexport * from './siteBodyCreate';\nexport * from './siteBodyUpdate';\nexport * from './siteContainer';\nexport * from './siteContainerEntry';\nexport * from './siteContainerPaging';\nexport * from './siteContainerPagingList';\nexport * from './siteEntry';\nexport * from './siteMember';\nexport * from './siteMemberEntry';\nexport * from './siteMemberPaging';\nexport * from './siteMemberPagingList';\nexport * from './siteGroup';\nexport * from './siteGroupEntry';\nexport * from './siteGroupPaging';\nexport * from './siteGroupPagingList';\nexport * from './siteMembershipApprovalBody';\nexport * from './siteMembershipBodyCreate';\nexport * from './siteMembershipBodyUpdate';\nexport * from './siteMembershipRejectionBody';\nexport * from './siteMembershipRequest';\nexport * from './siteMembershipRequestBodyCreate';\nexport * from './siteMembershipRequestBodyUpdate';\nexport * from './siteMembershipRequestEntry';\nexport * from './siteMembershipRequestPaging';\nexport * from './siteMembershipRequestPagingList';\nexport * from './siteMembershipRequestWithPerson';\nexport * from './siteMembershipRequestWithPersonEntry';\nexport * from './siteMembershipRequestWithPersonPaging';\nexport * from './siteMembershipRequestWithPersonPagingList';\nexport * from './sitePaging';\nexport * from './sitePagingList';\nexport * from './siteRole';\nexport * from './siteRoleEntry';\nexport * from './siteRolePaging';\nexport * from './siteRolePagingList';\nexport * from './tag';\nexport * from './tagBody';\nexport * from './tagEntry';\nexport * from './tagPaging';\nexport * from './tagPagingList';\nexport * from './userInfo';\nexport * from './version';\nexport * from './versionEntry';\nexport * from './versionPaging';\nexport * from './versionPagingList';\nexport * from './deletedNode';\nexport * from './nodeAssociation';\nexport * from './nodeChildAssociation';\nexport * from './sizeDetails';\nexport * from './sizeDetailsEntry';\nexport * from './jobIdBody';\nexport * from './jobIdBodyEntry';\n"]}
@@ -94,5 +94,26 @@ export class FilePlansApi extends BaseApi {
94
94
  returnType: FilePlanEntry
95
95
  });
96
96
  }
97
+ getFilePlanRoles(filePlanId, parameters) {
98
+ throwIfNotDefined(filePlanId, 'filePlanId');
99
+ const whereConditions = [];
100
+ if (parameters === null || parameters === void 0 ? void 0 : parameters.where) {
101
+ if (parameters.where.personId) {
102
+ whereConditions.push(`personId='${parameters.where.personId}'`);
103
+ }
104
+ if (parameters.where.capabilityNames) {
105
+ whereConditions.push(`capabilityName in (${parameters.where.capabilityNames.map((value) => "'" + value + "'").join(', ')})`);
106
+ }
107
+ }
108
+ return this.get({
109
+ path: '/file-plans/{filePlanId}/roles',
110
+ pathParams: {
111
+ filePlanId
112
+ },
113
+ queryParams: {
114
+ where: whereConditions.length ? `(${whereConditions.join(' and ')})` : undefined
115
+ }
116
+ });
117
+ }
97
118
  }
98
119
  //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/api/filePlans.api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,oBAAoB,C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AJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,aAAa,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,aAAa;YAClC,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAWD,cAAc,CAAC,UAAkB,EAAE,kBAAsC,EAAE,IAA0B;QACjG,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n}\n"]}
1
+ {"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,WAAW;YACX,YAAY,EAAE,CAAC,kBAAkB,EAAE,qBAAqB,CA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AC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjI,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU,EAAE;gBACR,UAAU;aACb;YACD,WAAW,EAAE;gBACT,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;aACnF;SACJ,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\nimport { FilePlanRolePaging, FilePlanRoleParameters } from '../model';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * Gets a list of roles for the specified file plan.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param parameters Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlanRoles(filePlanId: string, parameters?: FilePlanRoleParameters): Promise<FilePlanRolePaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n const whereConditions: string[] = [];\n if (parameters?.where) {\n if (parameters.where.personId) {\n whereConditions.push(`personId='${parameters.where.personId}'`);\n }\n if (parameters.where.capabilityNames) {\n whereConditions.push(`capabilityName in (${parameters.where.capabilityNames.map((value) => \"'\" + value + \"'\").join(', ')})`);\n }\n }\n return this.get({\n path: '/file-plans/{filePlanId}/roles',\n pathParams: {\n filePlanId\n },\n queryParams: {\n where: whereConditions.length ? `(${whereConditions.join(' and ')})` : undefined\n }\n });\n }\n}\n"]}
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FilePlanRoleCapability } from './filePlanRoleCapability';
18
+ export class FilePlanRole {
19
+ constructor(input) {
20
+ var _a;
21
+ if (input) {
22
+ Object.assign(this, input);
23
+ this.capabilities = (_a = input.capabilities) === null || _a === void 0 ? void 0 : _a.map((capability) => new FilePlanRoleCapability(capability));
24
+ }
25
+ }
26
+ }
27
+ //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePlanRole.js","sourceRoot":"","sources":["filePlanRole.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,OAAO,YAAY;IAOrB,YAAY,KAA6B;;QACrC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,MAAA,KAAK,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC;QACxG,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 { FilePlanRoleCapability } from './filePlanRoleCapability';\n\nexport class FilePlanRole {\n displayLabel: string;\n groupShortName: string;\n name: string;\n roleGroupName: string;\n capabilities: FilePlanRoleCapability[];\n\n constructor(input?: Partial<FilePlanRole>) {\n if (input) {\n Object.assign(this, input);\n this.capabilities = input.capabilities?.map((capability) => new FilePlanRoleCapability(capability));\n }\n }\n}\n"]}
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';
18
+ export class FilePlanRoleCapability {
19
+ constructor(input) {
20
+ if (input) {
21
+ Object.assign(this, input);
22
+ this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;
23
+ }
24
+ }
25
+ }
26
+ //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePlanRoleCapability.js","sourceRoot":"","sources":["filePlanRoleCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,OAAO,sBAAsB;IAM/B,YAAY,KAAuC;QAC/C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,2BAA2B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACxF,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 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 { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';\n\nexport class FilePlanRoleCapability {\n group: FilePlanRoleCapabilityGroup;\n index: number;\n name: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapability>) {\n if (input) {\n Object.assign(this, input);\n this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;\n }\n }\n}\n"]}
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export class FilePlanRoleCapabilityGroup {
18
+ constructor(input) {
19
+ if (input) {
20
+ Object.assign(this, input);
21
+ }
22
+ }
23
+ }
24
+ //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePlanRoleCapabilityGroup.js","sourceRoot":"","sources":["filePlanRoleCapabilityGroup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,OAAO,2BAA2B;IAIpC,YAAY,KAA4C;QACpD,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class FilePlanRoleCapabilityGroup {\n id: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapabilityGroup>) {\n if (input) {\n Object.assign(this, input);\n }\n }\n}\n"]}