@alfresco/js-api 10.2.0-30612540894 → 10.2.0-30804668708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2015/package.json +1 -1
- package/esm2015/src/alfrescoApi.js.map +1 -1
- package/esm2015/src/alfrescoApiClient.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/about.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/accountIntegration.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/adminEndpoints.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/adminGroups.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/adminTenants.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/adminUsers.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/appDefinitions.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/checklists.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/comments.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/content.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/dataSources.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/decisionAudits.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/decisionTables.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/endpoints.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/formModels.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/groups.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/iDMSync.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/integrationBox.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/integrationDrive.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/integrationSSO.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/modelJsonBpmn.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/models.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/modelsBpmn.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/modelsHistory.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/processDefinitions.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/processInstanceVariables.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/processInstances.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/processScopes.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/report.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/runtimeAppDeployments.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/scriptFiles.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/submittedForms.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/systemProperties.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/taskActions.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/taskForms.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/taskVariables.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/tasks.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/temporary.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/userFilters.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/userProfile.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/api/users.api.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/model/jsonNode.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/model/objectNode.js.map +1 -1
- package/esm2015/src/api/auth-rest-api/api/authentication.api.js.map +1 -1
- package/esm2015/src/api/content-custom-api/api/classes.api.js.map +1 -1
- package/esm2015/src/api/content-custom-api/api/content.api.js.map +1 -1
- package/esm2015/src/api/content-custom-api/api/webscript.api.js.map +1 -1
- package/esm2015/src/api/content-custom-api/model/dateAlfresco.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/actions.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/activities.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/audit.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/categories.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/comments.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/downloads.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/favorites.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/groups.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/networks.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/nodes.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/people.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/preferences.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/probes.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/queries.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/ratings.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/renditions.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/sharedlinks.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/sites.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/tags.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/trashcan.api.js.map +1 -1
- package/esm2015/src/api/content-rest-api/api/versions.api.js.map +1 -1
- package/esm2015/src/api/discovery-rest-api/api/discovery.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/authorityClearance.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/classificationGuides.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/classificationReasons.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/declassificationExemptions.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/securityControlSettings.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/securityGroups.api.js.map +1 -1
- package/esm2015/src/api/gs-classification-rest-api/api/securityMarks.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/files.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/gsSites.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/legal-hold.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/recordCategories.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/recordFolders.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/records.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/transferContainers.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/transfers.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/unfiledContainers.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.js.map +1 -1
- package/esm2015/src/api/model-rest-api/api/aspects.api.js.map +1 -1
- package/esm2015/src/api/model-rest-api/api/types.api.js.map +1 -1
- package/esm2015/src/api/search-rest-api/api/search.api.js.map +1 -1
- package/esm2015/src/assert.js.map +1 -1
- package/esm2015/src/authentication/contentAuth.js.map +1 -1
- package/esm2015/src/authentication/oauth2Auth.js.map +1 -1
- package/esm2015/src/authentication/processAuth.js.map +1 -1
- package/esm2015/src/contentClient.js.map +1 -1
- package/esm2015/src/processClient.js.map +1 -1
- package/esm2015/src/utils/lazy-api.js.map +1 -1
- package/esm2015/src/utils/param-to-string.js.map +1 -1
- package/package.json +1 -1
- package/src/alfrescoApi.js.map +1 -1
- package/src/alfrescoApiClient.js.map +1 -1
- package/src/api/activiti-rest-api/api/about.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/accountIntegration.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/adminEndpoints.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/adminGroups.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/adminTenants.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/adminUsers.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/appDefinitions.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/checklists.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/comments.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/content.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/dataSources.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/decisionAudits.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/decisionTables.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/endpoints.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/formModels.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/groups.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/iDMSync.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/integrationBox.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/integrationDrive.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/integrationSSO.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/modelJsonBpmn.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/models.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/modelsBpmn.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/modelsHistory.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/processDefinitions.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/processInstanceVariables.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/processInstances.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/processScopes.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/report.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/runtimeAppDeployments.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/scriptFiles.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/submittedForms.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/systemProperties.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/taskActions.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/taskForms.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/taskVariables.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/tasks.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/temporary.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/userFilters.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/userProfile.api.js.map +1 -1
- package/src/api/activiti-rest-api/api/users.api.js.map +1 -1
- package/src/api/activiti-rest-api/model/jsonNode.js.map +1 -1
- package/src/api/activiti-rest-api/model/objectNode.js.map +1 -1
- package/src/api/auth-rest-api/api/authentication.api.js.map +1 -1
- package/src/api/content-custom-api/api/classes.api.js.map +1 -1
- package/src/api/content-custom-api/api/content.api.js.map +1 -1
- package/src/api/content-custom-api/api/webscript.api.js.map +1 -1
- package/src/api/content-custom-api/model/dateAlfresco.js.map +1 -1
- package/src/api/content-rest-api/api/actions.api.js.map +1 -1
- package/src/api/content-rest-api/api/activities.api.js.map +1 -1
- package/src/api/content-rest-api/api/audit.api.js.map +1 -1
- package/src/api/content-rest-api/api/categories.api.js.map +1 -1
- package/src/api/content-rest-api/api/comments.api.js.map +1 -1
- package/src/api/content-rest-api/api/downloads.api.js.map +1 -1
- package/src/api/content-rest-api/api/favorites.api.js.map +1 -1
- package/src/api/content-rest-api/api/groups.api.js.map +1 -1
- package/src/api/content-rest-api/api/networks.api.js.map +1 -1
- package/src/api/content-rest-api/api/nodes.api.js.map +1 -1
- package/src/api/content-rest-api/api/people.api.js.map +1 -1
- package/src/api/content-rest-api/api/preferences.api.js.map +1 -1
- package/src/api/content-rest-api/api/probes.api.js.map +1 -1
- package/src/api/content-rest-api/api/queries.api.js.map +1 -1
- package/src/api/content-rest-api/api/ratings.api.js.map +1 -1
- package/src/api/content-rest-api/api/renditions.api.js.map +1 -1
- package/src/api/content-rest-api/api/sharedlinks.api.js.map +1 -1
- package/src/api/content-rest-api/api/sites.api.js.map +1 -1
- package/src/api/content-rest-api/api/tags.api.js.map +1 -1
- package/src/api/content-rest-api/api/trashcan.api.js.map +1 -1
- package/src/api/content-rest-api/api/versions.api.js.map +1 -1
- package/src/api/discovery-rest-api/api/discovery.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/authorityClearance.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/classificationGuides.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/classificationReasons.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/declassificationExemptions.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/securityControlSettings.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/securityGroups.api.js.map +1 -1
- package/src/api/gs-classification-rest-api/api/securityMarks.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/files.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/gsSites.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/legal-hold.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/recordCategories.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/recordFolders.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/records.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/transferContainers.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/transfers.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/unfiledContainers.api.js.map +1 -1
- package/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.js.map +1 -1
- package/src/api/model-rest-api/api/aspects.api.js.map +1 -1
- package/src/api/model-rest-api/api/types.api.js.map +1 -1
- package/src/api/search-rest-api/api/search.api.js.map +1 -1
- package/src/assert.js.map +1 -1
- package/src/authentication/contentAuth.js.map +1 -1
- package/src/authentication/oauth2Auth.js.map +1 -1
- package/src/authentication/processAuth.js.map +1 -1
- package/src/contentClient.js.map +1 -1
- package/src/processClient.js.map +1 -1
- package/src/utils/lazy-api.js.map +1 -1
- package/src/utils/param-to-string.js.map +1 -1
- package/typings/package.json +1 -1
- package/typings/src/alfrescoApi.d.ts +3 -0
- package/typings/src/alfrescoApiClient.d.ts +3 -0
- package/typings/src/api/activiti-rest-api/api/about.api.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/api/accountIntegration.api.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/api/adminEndpoints.api.d.ts +10 -0
- package/typings/src/api/activiti-rest-api/api/adminGroups.api.d.ts +16 -0
- package/typings/src/api/activiti-rest-api/api/adminTenants.api.d.ts +8 -0
- package/typings/src/api/activiti-rest-api/api/adminUsers.api.d.ts +5 -0
- package/typings/src/api/activiti-rest-api/api/appDefinitions.api.d.ts +7 -0
- package/typings/src/api/activiti-rest-api/api/checklists.api.d.ts +3 -0
- package/typings/src/api/activiti-rest-api/api/comments.api.d.ts +4 -0
- package/typings/src/api/activiti-rest-api/api/content.api.d.ts +11 -0
- package/typings/src/api/activiti-rest-api/api/dataSources.api.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/api/decisionAudits.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/decisionTables.api.d.ts +3 -0
- package/typings/src/api/activiti-rest-api/api/endpoints.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/formModels.api.d.ts +6 -0
- package/typings/src/api/activiti-rest-api/api/groups.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/iDMSync.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/integrationAlfrescoCloud.api.d.ts +6 -0
- package/typings/src/api/activiti-rest-api/api/integrationAlfrescoOnPremise.api.d.ts +5 -0
- package/typings/src/api/activiti-rest-api/api/integrationBox.api.d.ts +7 -0
- package/typings/src/api/activiti-rest-api/api/integrationDrive.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/integrationSSO.api.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/api/modelJsonBpmn.api.d.ts +4 -0
- package/typings/src/api/activiti-rest-api/api/models.api.d.ts +13 -0
- package/typings/src/api/activiti-rest-api/api/modelsBpmn.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/modelsHistory.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/processDefinitions.api.d.ts +11 -0
- package/typings/src/api/activiti-rest-api/api/processInstanceVariables.api.d.ts +5 -0
- package/typings/src/api/activiti-rest-api/api/processInstances.api.d.ts +20 -0
- package/typings/src/api/activiti-rest-api/api/processScopes.api.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/api/report.api.d.ts +3 -0
- package/typings/src/api/activiti-rest-api/api/runtimeAppDefinitions.api.d.ts +3 -0
- package/typings/src/api/activiti-rest-api/api/runtimeAppDeployments.api.d.ts +5 -0
- package/typings/src/api/activiti-rest-api/api/scriptFiles.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/submittedForms.api.d.ts +4 -0
- package/typings/src/api/activiti-rest-api/api/systemProperties.api.d.ts +4 -0
- package/typings/src/api/activiti-rest-api/api/taskActions.api.d.ts +11 -0
- package/typings/src/api/activiti-rest-api/api/taskForms.api.d.ts +7 -0
- package/typings/src/api/activiti-rest-api/api/taskVariables.api.d.ts +6 -0
- package/typings/src/api/activiti-rest-api/api/tasks.api.d.ts +14 -0
- package/typings/src/api/activiti-rest-api/api/temporary.api.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/api/userFilters.api.d.ts +12 -0
- package/typings/src/api/activiti-rest-api/api/userProfile.api.d.ts +5 -0
- package/typings/src/api/activiti-rest-api/api/users.api.d.ts +6 -0
- package/typings/src/api/auth-rest-api/api/authentication.api.d.ts +4 -0
- package/typings/src/api/content-custom-api/api/classes.api.d.ts +1 -0
- package/typings/src/api/content-custom-api/api/content.api.d.ts +8 -0
- package/typings/src/api/content-custom-api/api/webscript.api.d.ts +1 -0
- package/typings/src/api/content-custom-api/model/dateAlfresco.d.ts +3 -0
- package/typings/src/api/content-rest-api/api/actions.api.d.ts +4 -0
- package/typings/src/api/content-rest-api/api/activities.api.d.ts +1 -0
- package/typings/src/api/content-rest-api/api/audit.api.d.ts +8 -0
- package/typings/src/api/content-rest-api/api/categories.api.d.ts +8 -0
- package/typings/src/api/content-rest-api/api/comments.api.d.ts +4 -0
- package/typings/src/api/content-rest-api/api/downloads.api.d.ts +3 -0
- package/typings/src/api/content-rest-api/api/favorites.api.d.ts +8 -0
- package/typings/src/api/content-rest-api/api/groups.api.d.ts +9 -0
- package/typings/src/api/content-rest-api/api/networks.api.d.ts +3 -0
- package/typings/src/api/content-rest-api/api/nodes.api.d.ts +24 -0
- package/typings/src/api/content-rest-api/api/people.api.d.ts +10 -0
- package/typings/src/api/content-rest-api/api/preferences.api.d.ts +2 -0
- package/typings/src/api/content-rest-api/api/probes.api.d.ts +1 -0
- package/typings/src/api/content-rest-api/api/queries.api.d.ts +3 -0
- package/typings/src/api/content-rest-api/api/ratings.api.d.ts +4 -0
- package/typings/src/api/content-rest-api/api/renditions.api.d.ts +5 -0
- package/typings/src/api/content-rest-api/api/sharedlinks.api.d.ts +9 -0
- package/typings/src/api/content-rest-api/api/sites.api.d.ts +28 -0
- package/typings/src/api/content-rest-api/api/tags.api.d.ts +10 -0
- package/typings/src/api/content-rest-api/api/trashcan.api.d.ts +11 -0
- package/typings/src/api/content-rest-api/api/versions.api.d.ts +11 -0
- package/typings/src/api/discovery-rest-api/api/discovery.api.d.ts +1 -0
- package/typings/src/api/gs-classification-rest-api/api/authorityClearance.api.d.ts +2 -0
- package/typings/src/api/gs-classification-rest-api/api/classificationGuides.api.d.ts +13 -0
- package/typings/src/api/gs-classification-rest-api/api/classificationReasons.api.d.ts +5 -0
- package/typings/src/api/gs-classification-rest-api/api/declassificationExemptions.api.d.ts +5 -0
- package/typings/src/api/gs-classification-rest-api/api/defaultClassificationValues.api.d.ts +1 -0
- package/typings/src/api/gs-classification-rest-api/api/nodeSecurityMarks.api.d.ts +2 -0
- package/typings/src/api/gs-classification-rest-api/api/securityControlSettings.api.d.ts +3 -0
- package/typings/src/api/gs-classification-rest-api/api/securityGroups.api.d.ts +6 -0
- package/typings/src/api/gs-classification-rest-api/api/securityMarks.api.d.ts +6 -0
- package/typings/src/api/gs-core-rest-api/api/filePlans.api.d.ts +5 -0
- package/typings/src/api/gs-core-rest-api/api/files.api.d.ts +2 -0
- package/typings/src/api/gs-core-rest-api/api/gsSites.api.d.ts +4 -0
- package/typings/src/api/gs-core-rest-api/api/legal-hold.api.d.ts +9 -0
- package/typings/src/api/gs-core-rest-api/api/recordCategories.api.d.ts +5 -0
- package/typings/src/api/gs-core-rest-api/api/recordFolders.api.d.ts +5 -0
- package/typings/src/api/gs-core-rest-api/api/records.api.d.ts +7 -0
- package/typings/src/api/gs-core-rest-api/api/transferContainers.api.d.ts +3 -0
- package/typings/src/api/gs-core-rest-api/api/transfers.api.d.ts +3 -0
- package/typings/src/api/gs-core-rest-api/api/unfiledContainers.api.d.ts +5 -0
- package/typings/src/api/gs-core-rest-api/api/unfiledRecordFolders.api.d.ts +6 -0
- package/typings/src/api/model-rest-api/api/aspects.api.d.ts +2 -0
- package/typings/src/api/model-rest-api/api/types.api.d.ts +2 -0
- package/typings/src/api/search-rest-api/api/search.api.d.ts +2 -0
- package/typings/src/assert.d.ts +1 -0
- package/typings/src/authentication/contentAuth.d.ts +6 -0
- package/typings/src/authentication/oauth2Auth.d.ts +5 -0
- package/typings/src/authentication/processAuth.d.ts +6 -0
- package/typings/src/contentClient.d.ts +1 -0
- package/typings/src/processClient.d.ts +1 -0
- package/typings/src/utils/lazy-api.d.ts +1 -0
- package/typings/src/utils/param-to-string.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temporary.api.js","sourceRoot":"","sources":["temporary.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"temporary.api.js","sourceRoot":"","sources":["temporary.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;IAOrC,aAAa,CAAC,MAAc,EAAE,oBAA4B;QAEtD,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;QAC/D,CAAC;QAGD,IAAI,oBAAoB,KAAK,SAAS,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;YACtE,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;QAC7E,CAAC;QAED,MAAM,WAAW,GAAG;YAChB,MAAM;YACN,oBAAoB;SACvB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+DAA+D;YACrE,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAQD,YAAY,CAAC,MAAc,EAAE,oBAA4B;QAErD,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC9D,CAAC;QAGD,IAAI,oBAAoB,KAAK,SAAS,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;YACtE,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAC5E,CAAC;QAED,MAAM,WAAW,GAAG;YAChB,MAAM;YACN,oBAAoB;SACvB,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8DAA8D;YACpE,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAKD,UAAU;QACN,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2CAA2C;SACpD,CAAC,CAAC;IACP,CAAC;IAKD,UAAU;QACN,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,2CAA2C;SACpD,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Temporary service.\n */\nexport class TemporaryApi extends BaseApi {\n /**\n * completeTasks\n *\n * @param userId userId\n * @param processDefinitionKey processDefinitionKey\n */\n completeTasks(userId: number, processDefinitionKey: string) {\n // verify the required parameter 'userId' is set\n if (userId === undefined || userId === null) {\n throw new Error(`Missing param 'userId' in completeTasks`);\n }\n\n // verify the required parameter 'processDefinitionKey' is set\n if (processDefinitionKey === undefined || processDefinitionKey === null) {\n throw new Error(`Missing param 'processDefinitionKey' in completeTasks`);\n }\n\n const queryParams = {\n userId,\n processDefinitionKey\n };\n\n return this.get({\n path: '/api/enterprise/temporary/generate-report-data/complete-tasks',\n queryParams\n });\n }\n\n /**\n * generateData\n *\n * @param userId userId\n * @param processDefinitionKey processDefinitionKey\n */\n generateData(userId: number, processDefinitionKey: string) {\n // verify the required parameter 'userId' is set\n if (userId === undefined || userId === null) {\n throw new Error(`Missing param 'userId' in generateData`);\n }\n\n // verify the required parameter 'processDefinitionKey' is set\n if (processDefinitionKey === undefined || processDefinitionKey === null) {\n throw new Error(`Missing param 'processDefinitionKey' in generateData`);\n }\n\n const queryParams = {\n userId,\n processDefinitionKey\n };\n\n return this.get({\n path: '/api/enterprise/temporary/generate-report-data/start-process',\n queryParams\n });\n }\n\n /**\n * Function to receive the result of the getHeaders operation.\n */\n getHeaders() {\n return this.get({\n path: '/api/enterprise/temporary/example-headers'\n });\n }\n\n /**\n * Function to receive the result of the getOptions operation.\n */\n getOptions() {\n return this.get({\n path: '/api/enterprise/temporary/example-options'\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userFilters.api.js","sourceRoot":"","sources":["userFilters.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAEH,wDAAwD,EAGxD,4BAA4B,EAC/B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,cAAe,SAAQ,OAAO;IAMvC,+BAA+B,CAC3B,uCAAgF;QAEhF,iBAAiB,CAAC,uCAAuC,EAAE,yCAAyC,CAAC,CAAC;QAEtG,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mCAAmC;YACzC,SAAS,EAAE,uCAAuC;SACrD,CAAC,CAAC;IACP,CAAC;IAOD,oBAAoB,CAAC,4BAA0D;QAC3E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BAA4B;YACvC,UAAU,EAAE,4BAA4B;SAC3C,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n ResultListDataRepresentationUserProcessInstanceFilterRepresentation,\n ResultListDataRepresentationUserTaskFilterRepresentation,\n UserFilterOrderRepresentation,\n UserProcessInstanceFilterRepresentation,\n UserTaskFilterRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { AppIdQuery } from './types';\n\n/**\n * UserFiltersApi service.\n */\nexport class UserFiltersApi extends BaseApi {\n /**\n * Create a process instance filter\n * @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n createUserProcessInstanceFilter(\n userProcessInstanceFilterRepresentation: UserProcessInstanceFilterRepresentation\n ): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userProcessInstanceFilterRepresentation, 'userProcessInstanceFilterRepresentation');\n\n return this.post({\n path: '/api/enterprise/filters/processes',\n bodyParam: userProcessInstanceFilterRepresentation\n });\n }\n\n /**\n * Create a task filter\n * @param userTaskFilterRepresentation userTaskFilterRepresentation\n * @returns Promise<UserTaskFilterRepresentation>\n */\n createUserTaskFilter(userTaskFilterRepresentation: UserTaskFilterRepresentation): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userTaskFilterRepresentation, 'userTaskFilterRepresentation');\n\n return this.post({\n path: '/api/enterprise/filters/tasks',\n bodyParam: userTaskFilterRepresentation,\n returnType: UserTaskFilterRepresentation\n });\n }\n\n /**\n * Delete a process instance filter\n * @param userFilterId userFilterId\n * @returns Promise<{}>\n */\n deleteUserProcessInstanceFilter(userFilterId: number): Promise<void> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.delete({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * Delete a task filter\n * @param userFilterId userFilterId\n * @returns Promise<{}>\n */\n deleteUserTaskFilter(userFilterId: number): Promise<void> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.delete({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * Get a process instance filter\n * @param userFilterId userFilterId\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n getUserProcessInstanceFilter(userFilterId: number): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.get({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * List process instance filters\n *\n * Returns filters for the current user, optionally filtered by *appId*.\n * @param opts Optional parameters\n * @returns Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation>\n */\n getUserProcessInstanceFilters(opts?: AppIdQuery): Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation> {\n return this.get({\n path: '/api/enterprise/filters/processes',\n queryParams: opts\n });\n }\n\n /**\n * Get a task filter\n * @param userFilterId userFilterId\n * @returns Promise<UserTaskFilterRepresentation>\n */\n getUserTaskFilter(userFilterId: number): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.get({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams,\n returnType: UserTaskFilterRepresentation\n });\n }\n\n /**\n * List task filters\n *\n * Returns filters for the current user, optionally filtered by *appId*.\n * @param opts Optional parameters\n * @returns Promise<ResultListDataRepresentationUserTaskFilterRepresentation>\n */\n getUserTaskFilters(opts?: AppIdQuery): Promise<ResultListDataRepresentationUserTaskFilterRepresentation> {\n return this.get({\n path: '/api/enterprise/filters/tasks',\n queryParams: opts,\n returnType: ResultListDataRepresentationUserTaskFilterRepresentation\n });\n }\n\n /**\n * Re-order the list of user process instance filters\n * @param filterOrderRepresentation filterOrderRepresentation\n * @returns Promise<{}>\n */\n orderUserProcessInstanceFilters(filterOrderRepresentation: UserFilterOrderRepresentation): Promise<any> {\n throwIfNotDefined(filterOrderRepresentation, 'filterOrderRepresentation');\n\n return this.put({\n path: '/api/enterprise/filters/processes',\n bodyParam: filterOrderRepresentation\n });\n }\n\n /**\n * Re-order the list of user task filters\n * @param filterOrderRepresentation filterOrderRepresentation\n * @returns Promise<{}>\n */\n orderUserTaskFilters(filterOrderRepresentation: UserFilterOrderRepresentation): Promise<any> {\n throwIfNotDefined(filterOrderRepresentation, 'filterOrderRepresentation');\n\n return this.put({\n path: '/api/enterprise/filters/tasks',\n bodyParam: filterOrderRepresentation\n });\n }\n\n /**\n * Update a process instance filter\n * @param userFilterId userFilterId\n * @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n updateUserProcessInstanceFilter(\n userFilterId: number,\n userProcessInstanceFilterRepresentation: UserProcessInstanceFilterRepresentation\n ): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n throwIfNotDefined(userProcessInstanceFilterRepresentation, 'userProcessInstanceFilterRepresentation');\n\n const pathParams = {\n userFilterId\n };\n\n return this.put({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams,\n bodyParam: userProcessInstanceFilterRepresentation\n });\n }\n\n /**\n * Update a task filter\n * @param userFilterId userFilterId\n * @param userTaskFilterRepresentation userTaskFilterRepresentation\n * @returns Promise<UserTaskFilterRepresentation>\n */\n updateUserTaskFilter(userFilterId: number, userTaskFilterRepresentation: UserTaskFilterRepresentation): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n throwIfNotDefined(userTaskFilterRepresentation, 'userTaskFilterRepresentation');\n\n const pathParams = {\n userFilterId\n };\n\n return this.put({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams,\n bodyParam: userTaskFilterRepresentation,\n returnType: UserTaskFilterRepresentation\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"userFilters.api.js","sourceRoot":"","sources":["userFilters.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAEH,wDAAwD,EAGxD,4BAA4B,EAC/B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,cAAe,SAAQ,OAAO;IAOvC,+BAA+B,CAC3B,uCAAgF;QAEhF,iBAAiB,CAAC,uCAAuC,EAAE,yCAAyC,CAAC,CAAC;QAEtG,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,mCAAmC;YACzC,SAAS,EAAE,uCAAuC;SACrD,CAAC,CAAC;IACP,CAAC;IAQD,oBAAoB,CAAC,4BAA0D;QAC3E,iBAAiB,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,CAAC;QAEhF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,4BAA4B;YACvC,UAAU,EAAE,4BAA4B;SAC3C,CAAC,CAAC;IACP,CAAC;IAQD,+BAA+B,CAAC,YAAoB;QAChD,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM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AE,mCAAmC;YACzC,SAAS,EAAE,yBAAyB;SACvC,CAAC,CAAC;IACP,CAAC;IAQD,oBAAoB,CAAC,yBAAwD;QACzE,iBAAiB,CAAC,yBAAyB,EAAE,2BAA2B,CAAC,CAAC;QAE1E,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,yBAAyB;SACvC,CAAC,CAAC;IACP,CAAC;IASD,+BAA+B,CAC3B,YAAoB,EACpB,uCAAgF;QAEhF,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAChD,iBAAiB,CAAC,uCAAuC,EAAE,yCAAyC,CAAC,CAAC;QAEtG,MAAM,UAAU,GAAG;YACf,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,kDAAkD;YACxD,UAAU;YACV,SAAS,EAAE,uCAAuC;SACrD,CAAC,CAAC;IACP,CAAC;IASD,oBAAoB,CAAC,YAAoB,EAAE,4BAA0D;QACjG,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAChD,iBAAiB,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,CAAC;QAEhF,MAAM,UAAU,GAAG;YACf,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,8CAA8C;YACpD,UAAU;YACV,SAAS,EAAE,4BAA4B;YACvC,UAAU,EAAE,4BAA4B;SAC3C,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n ResultListDataRepresentationUserProcessInstanceFilterRepresentation,\n ResultListDataRepresentationUserTaskFilterRepresentation,\n UserFilterOrderRepresentation,\n UserProcessInstanceFilterRepresentation,\n UserTaskFilterRepresentation\n} from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { AppIdQuery } from './types';\n\n/**\n * UserFiltersApi service.\n */\nexport class UserFiltersApi extends BaseApi {\n /**\n * Create a process instance filter\n *\n * @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n createUserProcessInstanceFilter(\n userProcessInstanceFilterRepresentation: UserProcessInstanceFilterRepresentation\n ): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userProcessInstanceFilterRepresentation, 'userProcessInstanceFilterRepresentation');\n\n return this.post({\n path: '/api/enterprise/filters/processes',\n bodyParam: userProcessInstanceFilterRepresentation\n });\n }\n\n /**\n * Create a task filter\n *\n * @param userTaskFilterRepresentation userTaskFilterRepresentation\n * @returns Promise<UserTaskFilterRepresentation>\n */\n createUserTaskFilter(userTaskFilterRepresentation: UserTaskFilterRepresentation): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userTaskFilterRepresentation, 'userTaskFilterRepresentation');\n\n return this.post({\n path: '/api/enterprise/filters/tasks',\n bodyParam: userTaskFilterRepresentation,\n returnType: UserTaskFilterRepresentation\n });\n }\n\n /**\n * Delete a process instance filter\n *\n * @param userFilterId userFilterId\n * @returns Promise<{}>\n */\n deleteUserProcessInstanceFilter(userFilterId: number): Promise<void> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.delete({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * Delete a task filter\n *\n * @param userFilterId userFilterId\n * @returns Promise<{}>\n */\n deleteUserTaskFilter(userFilterId: number): Promise<void> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.delete({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * Get a process instance filter\n *\n * @param userFilterId userFilterId\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n getUserProcessInstanceFilter(userFilterId: number): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.get({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams\n });\n }\n\n /**\n * List process instance filters\n *\n * Returns filters for the current user, optionally filtered by *appId*.\n *\n * @param opts Optional parameters\n * @returns Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation>\n */\n getUserProcessInstanceFilters(opts?: AppIdQuery): Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation> {\n return this.get({\n path: '/api/enterprise/filters/processes',\n queryParams: opts\n });\n }\n\n /**\n * Get a task filter\n *\n * @param userFilterId userFilterId\n * @returns Promise<UserTaskFilterRepresentation>\n */\n getUserTaskFilter(userFilterId: number): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n\n const pathParams = {\n userFilterId\n };\n\n return this.get({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams,\n returnType: UserTaskFilterRepresentation\n });\n }\n\n /**\n * List task filters\n *\n * Returns filters for the current user, optionally filtered by *appId*.\n *\n * @param opts Optional parameters\n * @returns Promise<ResultListDataRepresentationUserTaskFilterRepresentation>\n */\n getUserTaskFilters(opts?: AppIdQuery): Promise<ResultListDataRepresentationUserTaskFilterRepresentation> {\n return this.get({\n path: '/api/enterprise/filters/tasks',\n queryParams: opts,\n returnType: ResultListDataRepresentationUserTaskFilterRepresentation\n });\n }\n\n /**\n * Re-order the list of user process instance filters\n *\n * @param filterOrderRepresentation filterOrderRepresentation\n * @returns Promise<{}>\n */\n orderUserProcessInstanceFilters(filterOrderRepresentation: UserFilterOrderRepresentation): Promise<any> {\n throwIfNotDefined(filterOrderRepresentation, 'filterOrderRepresentation');\n\n return this.put({\n path: '/api/enterprise/filters/processes',\n bodyParam: filterOrderRepresentation\n });\n }\n\n /**\n * Re-order the list of user task filters\n *\n * @param filterOrderRepresentation filterOrderRepresentation\n * @returns Promise<{}>\n */\n orderUserTaskFilters(filterOrderRepresentation: UserFilterOrderRepresentation): Promise<any> {\n throwIfNotDefined(filterOrderRepresentation, 'filterOrderRepresentation');\n\n return this.put({\n path: '/api/enterprise/filters/tasks',\n bodyParam: filterOrderRepresentation\n });\n }\n\n /**\n * Update a process instance filter\n *\n * @param userFilterId userFilterId\n * @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation\n * @returns Promise<UserProcessInstanceFilterRepresentation>\n */\n updateUserProcessInstanceFilter(\n userFilterId: number,\n userProcessInstanceFilterRepresentation: UserProcessInstanceFilterRepresentation\n ): Promise<UserProcessInstanceFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n throwIfNotDefined(userProcessInstanceFilterRepresentation, 'userProcessInstanceFilterRepresentation');\n\n const pathParams = {\n userFilterId\n };\n\n return this.put({\n path: '/api/enterprise/filters/processes/{userFilterId}',\n pathParams,\n bodyParam: userProcessInstanceFilterRepresentation\n });\n }\n\n /**\n * Update a task filter\n *\n * @param userFilterId userFilterId\n * @param userTaskFilterRepresentation userTaskFilterRepresentation\n * @returns Promise<UserTaskFilterRepresentation>\n */\n updateUserTaskFilter(userFilterId: number, userTaskFilterRepresentation: UserTaskFilterRepresentation): Promise<UserTaskFilterRepresentation> {\n throwIfNotDefined(userFilterId, 'userFilterId');\n throwIfNotDefined(userTaskFilterRepresentation, 'userTaskFilterRepresentation');\n\n const pathParams = {\n userFilterId\n };\n\n return this.put({\n path: '/api/enterprise/filters/tasks/{userFilterId}',\n pathParams,\n bodyParam: userTaskFilterRepresentation,\n returnType: UserTaskFilterRepresentation\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userProfile.api.js","sourceRoot":"","sources":["userProfile.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,cAAe,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"userProfile.api.js","sourceRoot":"","sources":["userProfile.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,cAAe,SAAQ,OAAO;IAOvC,cAAc,CAAC,4BAA0D;QACrE,iBAAiB,CAAC,4BAA4B,EAAE,8BAA8B,CAAC,CAAC;QAEhF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,kCAAkC;YACxC,SAAS,EAAE,4BAA4B;SAC1C,CAAC,CAAC;IACP,CAAC;IAQD,iBAAiB;QACb,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,iCAAiC;YACvC,OAAO,EAAE,CAAC,kBAAkB,EAAE,KAAK,CAAC;SACvC,CAAC,CAAC;IACP,CAAC;IAMD,oBAAoB;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,GAAG,iCAAiC,CAAC;IACvE,CAAC;IASD,UAAU;QACN,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,yBAAyB;YAC/B,UAAU,EAAE,kBAAkB;SACjC,CAAC,CAAC;IACP,CAAC;IASD,aAAa,CAAC,kBAAsC;QAChD,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,yBAAyB;YAC/B,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,kBAAkB;SACjC,CAAC,CAAC;IACP,CAAC;IAQD,oBAAoB,CAAC,IAAS;QAC1B,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEhC,MAAM,UAAU,GAAG;YACf,IAAI;SACP,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,iCAAiC;YACvC,UAAU;YACV,UAAU,EAAE,yBAAyB;SACxC,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ChangePasswordRepresentation } from '../model/changePasswordRepresentation';\nimport { ImageUploadRepresentation } from '../model/imageUploadRepresentation';\nimport { UserRepresentation } from '../model/userRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Userprofile service.\n */\nexport class UserProfileApi extends BaseApi {\n /**\n * Change user password\n *\n * @param changePasswordRepresentation changePasswordRepresentation\n * @return Promise<{}>\n */\n changePassword(changePasswordRepresentation: ChangePasswordRepresentation): Promise<any> {\n throwIfNotDefined(changePasswordRepresentation, 'changePasswordRepresentation');\n\n return this.post({\n path: '/api/enterprise/profile-password',\n bodyParam: changePasswordRepresentation\n });\n }\n\n /**\n * Retrieve user profile picture\n * Generally returns an image file\n *\n * @return Promise<Blob>\n */\n getProfilePicture(): Promise<any> {\n return this.get({\n path: '/api/enterprise/profile-picture',\n accepts: ['application/json', '*/*']\n });\n }\n\n /**\n * Retrieve user URL profile picture\n * Generally returns an image file\n */\n getProfilePictureUrl() {\n return this.apiClient.basePath + '/app/rest/admin/profile-picture';\n }\n\n /**\n * Get user profile\n * This operation returns account information for the current user.\n * This is useful to get the name, email, the groups that the user is part of, the user picture, etc.\n *\n * @return Promise<UserRepresentation>\n */\n getProfile(): Promise<UserRepresentation> {\n return this.get({\n path: '/api/enterprise/profile',\n returnType: UserRepresentation\n });\n }\n\n /**\n * Update user profile.\n * Only a first name, last name, email and company can be updated\n *\n * @param userRepresentation userRepresentation\n * @return Promise<UserRepresentation>\n */\n updateProfile(userRepresentation: UserRepresentation): Promise<UserRepresentation> {\n throwIfNotDefined(userRepresentation, 'userRepresentation');\n\n return this.post({\n path: '/api/enterprise/profile',\n bodyParam: userRepresentation,\n returnType: UserRepresentation\n });\n }\n\n /**\n * Change user profile picture\n *\n * @param file file\n * @return Promise<ImageUploadRepresentation>\n */\n uploadProfilePicture(file: any): Promise<ImageUploadRepresentation> {\n throwIfNotDefined(file, 'file');\n\n const formParams = {\n file\n };\n\n return this.post({\n path: '/api/enterprise/profile-picture',\n formParams,\n returnType: ImageUploadRepresentation\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.api.js","sourceRoot":"","sources":["users.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAKH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iB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,IAAI,CAAC,YAAY,CAAC;YAC9B,yBAAyB,EAAE,IAAI,CAAC,2BAA2B,CAAC;YAC5D,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC;YACpC,gBAAgB,EAAE,IAAI,CAAC,kBAAkB,CAAC;YAC1C,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;YACxB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;SAC7B,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,uBAAuB;YAC7B,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAQD,oBAAoB,CAAC,aAA0C;QAC3D,iBAAiB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;QAElD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,aAAa;SAC3B,CAAC,CAAC;IACP,CAAC;IASD,UAAU,CAAC,MAAc,EAAE,WAA+B;QACtD,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;QAE9C,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,kBAAkB;SACjC,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ResetPasswordRepresentation } from '../model/resetPasswordRepresentation';\nimport { ResultListDataRepresentationLightUserRepresentation } from '../model/resultListDataRepresentationLightUserRepresentation';\nimport { UserActionRepresentation } from '../model/userActionRepresentation';\nimport { UserRepresentation } from '../model/userRepresentation';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\nexport type GetUsersQuery = {\n filter?: string;\n email?: string;\n externalId?: string;\n externalIdCaseInsensitive?: string;\n excludeTaskId?: string;\n excludeProcessId?: string;\n groupId?: number;\n tenantId?: number;\n};\n\n/**\n * Users service.\n */\nexport class UsersApi extends BaseApi {\n /**\n * Execute an action for a specific user\n *\n * Typical action is updating/reset password\n *\n * @param userId userId\n * @param actionRequest actionRequest\n * @returns Promise<{}>\n */\n executeAction(userId: number, actionRequest: UserActionRepresentation): Promise<any> {\n throwIfNotDefined(userId, 'userId');\n throwIfNotDefined(actionRequest, 'actionRequest');\n\n const pathParams = {\n userId\n };\n\n return this.post({\n path: '/api/enterprise/users/{userId}',\n pathParams,\n bodyParam: actionRequest\n });\n }\n\n /**\n * Stream user profile picture\n *\n * @param userId userId\n * @returns Promise<{}>\n */\n getUserProfilePictureUrl(userId: string): string {\n return this.apiClient.basePath + '/app/rest/users/' + userId + '/picture';\n }\n\n /**\n * Get a user\n *\n * @param userId userId\n * @returns Promise<UserRepresentation>\n */\n getUser(userId: number): Promise<UserRepresentation> {\n throwIfNotDefined(userId, 'userId');\n\n const pathParams = {\n userId\n };\n\n return this.get({\n path: '/api/enterprise/users/{userId}',\n pathParams,\n returnType: UserRepresentation\n });\n }\n\n /**\n * Query users\n *\n * A common use case is that a user wants to select another user (eg. when assigning a task) or group.\n *\n * @param opts Optional parameters\n * @returns Promise<ResultListDataRepresentationLightUserRepresentation>\n */\n getUsers(opts?: GetUsersQuery): Promise<ResultListDataRepresentationLightUserRepresentation> {\n opts = opts || {};\n\n const queryParams = {\n filter: opts['filter'],\n email: opts['email'],\n externalId: opts['externalId'],\n externalIdCaseInsensitive: opts['externalIdCaseInsensitive'],\n excludeTaskId: opts['excludeTaskId'],\n excludeProcessId: opts['excludeProcessId'],\n groupId: opts['groupId'],\n tenantId: opts['tenantId']\n };\n\n return this.get({\n path: '/api/enterprise/users',\n queryParams\n });\n }\n\n /**\n * Request a password reset\n *\n * @param resetPassword resetPassword\n * @returns Promise<{}>\n */\n requestPasswordReset(resetPassword: ResetPasswordRepresentation): Promise<any> {\n throwIfNotDefined(resetPassword, 'resetPassword');\n\n return this.post({\n path: '/api/enterprise/idm/passwords',\n bodyParam: resetPassword\n });\n }\n\n /**\n * Update a user\n *\n * @param userId userId\n * @param userRequest userRequest\n * @returns Promise<UserRepresentation>\n */\n updateUser(userId: number, userRequest: UserRepresentation): Promise<UserRepresentation> {\n throwIfNotDefined(userId, 'userId');\n throwIfNotDefined(userRequest, 'userRequest');\n\n const pathParams = {\n userId\n };\n\n return this.put({\n path: '/api/enterprise/users/{userId}',\n pathParams,\n bodyParam: userRequest,\n returnType: UserRepresentation\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonNode.js","sourceRoot":"","sources":["jsonNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface JsonNode {\n array?: boolean;\n bigDecimal?: boolean;\n bigInteger?: boolean;\n binary?: boolean;\n
|
|
1
|
+
{"version":3,"file":"jsonNode.js","sourceRoot":"","sources":["jsonNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface JsonNode {\n array?: boolean;\n bigDecimal?: boolean;\n bigInteger?: boolean;\n binary?: boolean;\n\n boolean?: boolean;\n containerNode?: boolean;\n double?: boolean;\n float?: boolean;\n floatingPointNumber?: boolean;\n int?: boolean;\n integralNumber?: boolean;\n long?: boolean;\n missingNode?: boolean;\n nodeType?: 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING';\n null?: boolean;\n\n number?: boolean;\n object?: boolean;\n pojo?: boolean;\n short?: boolean;\n textual?: boolean;\n valueNode?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectNode.js","sourceRoot":"","sources":["objectNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface ObjectNode {\n array?: boolean;\n bigDecimal?: boolean;\n bigInteger?: boolean;\n binary?: boolean;\n
|
|
1
|
+
{"version":3,"file":"objectNode.js","sourceRoot":"","sources":["objectNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface ObjectNode {\n array?: boolean;\n bigDecimal?: boolean;\n bigInteger?: boolean;\n binary?: boolean;\n boolean?: boolean;\n containerNode?: boolean;\n double?: boolean;\n float?: boolean;\n floatingPointNumber?: boolean;\n int?: boolean;\n integralNumber?: boolean;\n long?: boolean;\n missingNode?: boolean;\n nodeType?: 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING';\n null?: boolean;\n\n number?: boolean;\n object?: boolean;\n pojo?: boolean;\n short?: boolean;\n textual?: boolean;\n valueNode?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.api.js","sourceRoot":"","sources":["authentication.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,iBAAkB,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"authentication.api.js","sourceRoot":"","sources":["authentication.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKpD,MAAM,OAAO,iBAAkB,SAAQ,OAAO;IAS1C,YAAY,CAAC,gBAA4B;QACrC,iBAAiB,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;QAExD,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,gBAAgB;YAC3B,UAAU,EAAE,WAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IAOD,SAAS;QACL,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,eAAe;YACrB,UAAU,EAAE,WAAW;SAC1B,CAAC,CAAC;IACP,CAAC;IASD,YAAY;QACR,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,eAAe;SACxB,CAAC,CAAC;IACP,CAAC;IAcD,cAAc;QACV,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,eAAe;YACrB,UAAU,EAAE,gBAAgB;SAC/B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { TicketBody } from '../model/ticketBody';\nimport { TicketEntry } from '../model/ticketEntry';\nimport { ValidTicketEntry } from '../model/validTicketEntry';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\n\n/**\n * Authentication service.\n */\nexport class AuthenticationApi extends BaseApi {\n /**\n * Create ticket (login)\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param ticketBodyCreate The user credential.\n * @returns Promise<TicketEntry>\n */\n createTicket(ticketBodyCreate: TicketBody): Promise<TicketEntry> {\n throwIfNotDefined(ticketBodyCreate, 'ticketBodyCreate');\n\n return this.post({\n path: '/tickets',\n bodyParam: ticketBodyCreate,\n returnType: TicketEntry\n });\n }\n\n /**\n * Get ticket (login)\n *\n * @returns Promise<TicketEntry>\n */\n getTicket(): Promise<TicketEntry> {\n return this.get({\n path: '/tickets/-me-',\n returnType: TicketEntry\n });\n }\n\n /**\n * Delete ticket (logout)\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @returns Promise<{}>\n */\n deleteTicket(): Promise<void> {\n return this.delete({\n path: '/tickets/-me-'\n });\n }\n\n /**\n * Validate ticket\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Validates the specified ticket (derived from Authorization header) is still valid.\n * For example, you can pass the Authorization request header using Javascript:\n * Javascript\n * request.setRequestHeader (\\\"Authorization\\\", \\\"Basic \\\" + btoa(ticket));\n *\n * @returns Promise<ValidTicketEntry>\n */\n validateTicket(): Promise<ValidTicketEntry> {\n return this.get({\n path: '/tickets/-me-',\n returnType: ValidTicketEntry\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classes.api.js","sourceRoot":"","sources":["classes.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,UAAW,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"classes.api.js","sourceRoot":"","sources":["classes.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,UAAW,SAAQ,OAAO;IAOnC,QAAQ,CAAC,SAAiB;QAEtB,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC7D,CAAC;QAED,OAAO,IAAI,CAAC,GAAG,CAAmB;YAC9B,IAAI,EAAE,0BAA0B;YAChC,UAAU,EAAE,EAAE,SAAS,EAAE;YACzB,UAAU,EAAE,gBAAgB;YAC5B,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,WAAW,GAAG,IAAI;SAC/D,CAAC,CAAC;IACP,CAAC;IAED,aAAa,CAAC,SAAiB;QAE3B,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QACjD,CAAC;QAED,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU,EAAE,EAAE,SAAS,EAAE;YACzB,UAAU,EAAE,gBAAgB;YAC5B,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,WAAW,GAAG,IAAI;SAC/D,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ClassDescription } from '../model/classDescription';\nimport { BaseApi } from './base.api';\n\n/**\n * Constructs a new ClassesApi.\n */\nexport class ClassesApi extends BaseApi {\n /**\n * Gets the class information for the specified className.\n *\n * @param className The identifier of the class.\n * @returns a Promise, with data of type ClassDescription\n */\n getClass(className: string): Promise<ClassDescription> {\n // verify the required parameter 'className' is set\n if (className === undefined || className === null) {\n throw new Error(`Missing param 'className' in getClass`);\n }\n\n return this.get<ClassDescription>({\n path: '/api/classes/{className}',\n pathParams: { className },\n returnType: ClassDescription,\n contextRoot: this.apiClientPrivate.config.contextRoot + '/s'\n });\n }\n\n getSubclasses(className: string): Promise<ClassDescription[]> {\n // verify the required parameter 'className' is set\n if (className === undefined || className === null) {\n throw new Error(`Missing param 'className'`);\n }\n\n return this.get({\n path: `/api/classes/{className}/subclasses`,\n pathParams: { className },\n returnType: ClassDescription,\n contextRoot: this.apiClientPrivate.config.contextRoot + '/s'\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,OAAO,UAAW,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"content.api.js","sourceRoot":"","sources":["content.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,OAAO,UAAW,SAAQ,OAAO;IASnC,uBAAuB,CAAC,MAAc,EAAE,UAAoB,EAAE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AoB,EAAE,MAAe;QAC7G,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,SAAS;YACT,MAAM;YACN,YAAY;YACZ,SAAS;YACT,cAAc;YACd,QAAQ;YACR,UAAU;YACV,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,CACtC,CAAC;IACN,CAAC;IAWD,oBAAoB,CAAC,MAAc,EAAE,SAAiB,EAAE,UAAoB,EAAE,MAAe;QACzF,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,SAAS;YACT,MAAM;YACN,YAAY;YACZ,SAAS;YACT,UAAU;YACV,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;YAC/B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,CACtC,CAAC;IACN,CAAC;IASD,uBAAuB,CAAC,MAAc,EAAE,UAAoB;QACxD,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,GAAG,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,cAAc,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAC/H,CAAC;IAUD,yBAAyB,CAAC,QAAgB,EAAE,WAAmB,EAAE,UAAoB;QACjF,OAAO,CACH,IAAI,CAAC,SAAS,CAAC,QAAQ;YACvB,gBAAgB;YAChB,QAAQ;YACR,cAAc;YACd,WAAW;YACX,UAAU;YACV,cAAc;YACd,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAClC,CAAC;IACN,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\nexport class ContentApi extends BaseApi {\n /**\n * Get thumbnail URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentThumbnailUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/doclib/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get preview URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getDocumentPreviewUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/imgpreview/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getContentUrl(nodeId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get rendition URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getRenditionUrl(nodeId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get version's rendition URL for the given nodeId\n *\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param encoding of the document\n * @param [attachment] retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionRenditionUrl(nodeId: string, versionId: string, encoding: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/renditions/' +\n encoding +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content URL for the given nodeId and versionId\n *\n * @param nodeId The ID of the document node\n * @param versionId The ID of the version\n * @param [attachment] Retrieve content as an attachment for download\n * @param [ticket] Custom ticket to use for authentication\n * @returns The URL address pointing to the content.\n */\n getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean, ticket?: string): string {\n return (\n this.apiClient.basePath +\n '/nodes/' +\n nodeId +\n '/versions/' +\n versionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false') +\n this.apiClient.getAlfTicket(ticket)\n );\n }\n\n /**\n * Get content url for the given shared link id\n *\n * @param linkId - The ID of the shared link\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkContentUrl(linkId: string, attachment?: boolean): string {\n return this.apiClient.basePath + '/shared-links/' + linkId + '/content' + '?attachment=' + (attachment ? 'true' : 'false');\n }\n\n /**\n * Gets the rendition content for file with shared link identifier sharedId.\n *\n * @param sharedId - The identifier of a shared link to a file.\n * @param renditionId - The name of a thumbnail rendition, for example doclib, or pdf.\n * @param [attachment] Retrieve content as an attachment for download\n * @returns The URL address pointing to the content.\n */\n getSharedLinkRenditionUrl(sharedId: string, renditionId: string, attachment?: boolean): string {\n return (\n this.apiClient.basePath +\n '/shared-links/' +\n sharedId +\n '/renditions/' +\n renditionId +\n '/content' +\n '?attachment=' +\n (attachment ? 'true' : 'false')\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webscript.api.js","sourceRoot":"","sources":["webscript.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;IAAzC;;QACI,kBAAa,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"webscript.api.js","sourceRoot":"","sources":["webscript.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAKrC,MAAM,OAAO,YAAa,SAAQ,OAAO;IAAzC;;QACI,kBAAa,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAoD/D,CAAC;IArCG,gBAAgB,CACZ,UAAkB,EAClB,UAAkB,EAClB,UAAgB,EAChB,WAAoB,EACpB,WAAoB,EACpB,QAAc;QAEd,WAAW,GAAG,WAAW,IAAI,UAAU,CAAC;QACxC,WAAW,GAAG,WAAW,IAAI,SAAS,CAAC;QACvC,QAAQ,GAAG,QAAQ,IAAI,IAAI,CAAC;QAE5B,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;QACpE,CAAC;QAED,MAAM,YAAY,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;QAElD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CACzB,GAAG,GAAG,WAAW,GAAG,GAAG,GAAG,UAAU,EACpC,UAAU,EACV,EAAE,EACF,UAAU,EACV,EAAE,EACF,EAAE,EACF,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,WAAW,CACd,CAAC;IACN,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\n\n/**\n * Constructs a new WebscriptApi.\n */\nexport class WebscriptApi extends BaseApi {\n allowedMethod: string[] = ['GET', 'POST', 'PUT', 'DELETE'];\n\n /**\n * Call a get on a Web Scripts see https://wiki.alfresco.com/wiki/Web_Scripts for more details about Web Scripts\n * Url syntax definition : http[s]://<host>:<port>/[<contextPath>/]/<servicePath>[/<scriptPath>][?<scriptArgs>]\n * example: http://localhost:8081/share/service/mytasks?priority=1\n *\n * @param httpMethod GET, POST, PUT and DELETE\n * @param scriptPath script path\n * @param scriptArgs script arguments\n * @param contextRoot default value alfresco\n * @param servicePath default value service\n * @param postBody post body\n * @returns A promise that is resolved return the webScript data and {error} if rejected.\n */\n executeWebScript(\n httpMethod: string,\n scriptPath: string,\n scriptArgs?: any,\n contextRoot?: string,\n servicePath?: string,\n postBody?: any\n ): Promise<any> {\n contextRoot = contextRoot || 'alfresco';\n servicePath = servicePath || 'service';\n postBody = postBody || null;\n\n if (!httpMethod || this.allowedMethod.indexOf(httpMethod) === -1) {\n throw new Error('method allowed value GET, POST, PUT and DELETE');\n }\n\n if (!scriptPath) {\n throw new Error('Missing param scriptPath in executeWebScript');\n }\n\n const contentTypes = ['application/json'];\n const accepts = ['application/json', 'text/html'];\n\n return this.apiClient.callApi(\n '/' + servicePath + '/' + scriptPath,\n httpMethod,\n {},\n scriptArgs,\n {},\n {},\n postBody,\n contentTypes,\n accepts,\n null,\n contextRoot\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateAlfresco.js","sourceRoot":"","sources":["dateAlfresco.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,OAAO,YAAa,SAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"dateAlfresco.js","sourceRoot":"","sources":["dateAlfresco.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,OAAO,YAAa,SAAQ,IAAI;IAOlC,MAAM,CAAC,SAAS,CAAC,aAAkB;QAC/B,IAAI,aAAa,YAAY,IAAI,EAAE,CAAC;YAChC,OAAO,aAAa,CAAC;QACzB,CAAC;aAAM,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;YAC3C,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC;QAED,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,MAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;QACrF,MAAM,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa,CA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AC,CAAC,GAAG,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,EAAE,CAAC,CAAC;QAC7G,CAAC;aAAM,CAAC;YACJ,OAAO,CAAC,CAAC;QACb,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class DateAlfresco extends Date {\n /**\n * Parses an ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDate(dateToConvert: any): Date {\n if (dateToConvert instanceof Date) {\n return dateToConvert;\n } else if (typeof dateToConvert === 'number') {\n return new Date(dateToConvert);\n }\n\n const dateLength = 10;\n const separatorPos = dateToConvert.substring(dateLength).search(/[+-]/) + dateLength;\n const dateStr = separatorPos > dateLength ? dateToConvert.substring(0, separatorPos) : dateToConvert;\n const tzStr = separatorPos > dateLength ? dateToConvert.substring(separatorPos) : '';\n const parsedDate = this.parseDateTime(dateStr);\n const tzOffsetMins = this.parseDateTimeZone(tzStr);\n parsedDate.setTime(parsedDate.getTime() + tzOffsetMins * 60000);\n return parsedDate;\n }\n\n /**\n * Parses the date component of a ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The date value as a string.\n * @returns The parsed date object.\n */\n static parseDateTime(dateToConvert: string): Date {\n // TODO: review when Safari 10 is released\n // return new Date(str.replace(/T/i, ' '));\n\n // Compatible with Safari 9.1.2\n const dateParts = dateToConvert.split(/[^0-9]/).map(function (s) {\n return parseInt(s, 10);\n });\n return new Date(\n Date.UTC(\n dateParts[0],\n dateParts[1] - 1 || 0,\n dateParts[2] || 1,\n dateParts[3] || 0,\n dateParts[4] || 0,\n dateParts[5] || 0,\n dateParts[6] || 0\n )\n );\n }\n\n /**\n * Parses the timezone component of a ISO-8601 string representation of a date value.\n *\n * @param dateToConvert The timezone offset as a string, e.g. '+0000', '+2000' or '-0500'.\n * @returns The number of minutes offset from UTC.\n */\n static parseDateTimeZone(dateToConvert: string): number {\n const match = /([+-])(\\d{2}):?(\\d{2})?/.exec(dateToConvert);\n if (match !== null) {\n return parseInt(match[1] + '1', 10) * -1 * (parseInt(match[2], 10) * 60) + parseInt(match[3] || '0', 10);\n } else {\n return 0;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.api.js","sourceRoot":"","sources":["actions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAyC,oBAAoB,EAAyB,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,UAAW,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"actions.api.js","sourceRoot":"","sources":["actions.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAyC,oBAAoB,EAAyB,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM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AM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,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,oCAAoC;YAC1C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActionBodyExec, ActionDefinitionEntry, ActionDefinitionList, ActionExecResultEntry } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Actions service.\n */\nexport class ActionsApi extends BaseApi {\n /**\n * Retrieve the details of an action definition\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param actionDefinitionId The identifier of an action definition.\n * @returns Promise<ActionDefinitionEntry>\n */\n actionDetails(actionDefinitionId: string): Promise<ActionDefinitionEntry> {\n throwIfNotDefined(actionDefinitionId, 'actionDefinitionId');\n\n const pathParams = {\n actionDefinitionId\n };\n\n return this.get({\n path: '/action-definitions/{actionDefinitionId}',\n pathParams\n });\n }\n\n /**\n * Execute an action\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * @param actionBodyExec Action execution details\n * @returns Promise<ActionExecResultEntry>\n */\n actionExec(actionBodyExec: ActionBodyExec): Promise<ActionExecResultEntry> {\n throwIfNotDefined(actionBodyExec, 'actionBodyExec');\n\n return this.post({\n path: '/action-executions',\n bodyParam: actionBodyExec\n });\n }\n\n /**\n * Retrieve list of available actions\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of all available actions\n *\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n *\n * You can use any of the following fields to order the results:\n * - name\n * - title\n *\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n listActions(opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n opts = opts || {};\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/action-definitions',\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n\n /**\n * Retrieve actions for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2 and newer versions.\n *\n * Retrieve the list of actions that may be executed against the given **nodeId**.\n * The default sort order for the returned list is for actions to be sorted by ascending name.\n * You can override the default by using the **orderBy** parameter.\n * You can use any of the following fields to order the results:\n * - name\n * - title\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @returns Promise<ActionDefinitionList>\n */\n nodeActions(nodeId: string, opts?: { orderBy?: string[] } & ContentPagingQuery & ContentFieldsQuery): Promise<ActionDefinitionList> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/action-definitions',\n pathParams,\n queryParams,\n returnType: ActionDefinitionList\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activities.api.js","sourceRoot":"","sources":["activities.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,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,aAAc,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"activities.api.js","sourceRoot":"","sources":["activities.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,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,aAAc,SAAQ,OAAO;IAatC,uBAAuB,CACnB,QAAgB,EAChB,IAIsB;QAEtB,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAElB,MAAM,UAAU,GAAG;YACf,QAAQ;SACX,CAAC;QAEF,MAAM,WAAW,mCACV,IAAI,KACP,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC,GACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;YACrC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,cAAc;SAC7B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActivityPaging } from '../model/activityPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Activities service.\n */\nexport class ActivitiesApi extends BaseApi {\n /**\n * List activities\n *\n * Gets a list of activities for person **personId**.\n * You can use the -me- string in place of <personId> to specify the currently authenticated user.\n *\n * @param personId The identifier of a person.\n * @param opts Optional parameters\n * @param opts.who A filter to include the user's activities only me, other user's activities only others'\n * @param opts.siteId Include only activity feed entries relating to this site.\n * @returns Promise<ActivityPaging>\n */\n listActivitiesForPerson(\n personId: string,\n opts?: {\n who?: string;\n siteId?: string;\n } & ContentPagingQuery &\n ContentFieldsQuery\n ): Promise<ActivityPaging> {\n throwIfNotDefined(personId, 'personId');\n opts = opts || {};\n\n const pathParams = {\n personId\n };\n\n const queryParams = {\n ...opts,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/people/{personId}/activities',\n pathParams,\n queryParams,\n returnType: ActivityPaging\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.api.js","sourceRoot":"","sources":["audit.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAY,cAAc,EAAmB,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACxG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,QAAS,SAAQ,OAAO;IAmBjC,6BAA6B,CAAC,kBAA0B,EAAE,KAAa;QACnE,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAWD,gBAAgB,CAAC,kBAA0B,EAAE,YAAoB;QAC7D,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;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ACX,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuditApp, AuditAppPaging, AuditBodyUpdate, AuditEntryEntry, AuditEntryPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Audit service.\n */\nexport class AuditApi extends BaseApi {\n /**\n * Permanently delete audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Permanently delete audit entries for an audit application **auditApplicationId**.\n * The **where** clause must be specified, either with an inclusive time period or for\n * an inclusive range of ids. The delete is within the context of the given audit application.\n * For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * You must have admin rights to delete audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param where Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids. For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * @return Promise<{}>\n */\n deleteAuditEntriesForAuditApp(auditApplicationId: string, where: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(where, 'where');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n where\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Permanently delete an audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to delete audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @return Promise<{}>\n */\n deleteAuditEntry(auditApplicationId: string, auditEntryId: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams\n });\n }\n\n /**\n * Get audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to retrieve audit information.\n *\n * You can use the **include** parameter to return the minimum and/or maximum audit record id for the application.\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @return Promise<AuditApp>\n */\n getAuditApp(auditApplicationId: string, opts?: ContentFieldsQuery & ContentIncludeQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to access audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @param opts Optional parameters\n * @return Promise<AuditEntryEntry>\n */\n getAuditEntry(auditApplicationId: string, auditEntryId: string, opts?: ContentFieldsQuery): Promise<AuditEntryEntry> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams,\n queryParams,\n returnType: AuditEntryEntry\n });\n }\n\n /**\n * Gets a list of audit applications in this repository.\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * This list may include pre-configured audit applications, if enabled, such as:\n *\n * - alfresco-access\n * - CMISChangeLog\n * - Alfresco Tagging Service\n * - Alfresco Sync Service (used by Enterprise Cloud Sync)\n *\n * You must have admin rights to retrieve audit information.\n * @param opts Optional parameters\n * @return Promise<AuditAppPaging>\n */\n listAuditApps(opts?: ContentPagingQuery & ContentFieldsQuery): Promise<AuditAppPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications',\n queryParams,\n returnType: AuditAppPaging\n });\n }\n\n /**\n * List audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of audit entries for audit application **auditApplicationId**.\n * You can use the **include** parameter to return additional **values** information.\n * The list can be filtered by one or more of:\n * - **createdByUser** person id\n * - **createdAt** inclusive time period\n * - **id** inclusive range of ids\n * - **valuesKey** audit entry values contains the exact matching key\n * - **valuesValue** audit entry values contains the exact matching value\n *\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * You must have admin rights to retrieve audit information.\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='jbloggs')\n * - where=(id BETWEEN ('1234', '4321')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(valuesKey='/alfresco-access/login/user')\n * - where=(valuesKey='/alfresco-access/transaction/action' and valuesValue='DELETE')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForAuditApp(\n auditApplicationId: string,\n opts?: {\n where?: string;\n orderBy?: string[];\n } & ContentPagingQuery &\n ContentFieldsQuery &\n ContentIncludeQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n opts = opts || {};\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * List audit entries for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * The list can be filtered by **createdByUser** and for a given inclusive time period.\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * This relies on the pre-configured 'alfresco-access' audit application.\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='-me-')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForNode(\n nodeId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * Update audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * New audit entries will not be created for a disabled audit application until\n * it is re-enabled (and system-wide auditing is also enabled).\n * Note, it is still possible to query &/or delete any existing audit entries even\n * if auditing is disabled for the audit application.\n * You must have admin rights to update audit application.\n * @param auditApplicationId The identifier of an audit application.\n * @param auditAppBodyUpdate The audit application to update.\n * @param opts Optional parameters\n * @returns Promise<AuditApp>\n */\n updateAuditApp(auditApplicationId: string, auditAppBodyUpdate: AuditBodyUpdate, opts?: ContentFieldsQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditAppBodyUpdate, 'auditAppBodyUpdate');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams,\n bodyParam: auditAppBodyUpdate\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"audit.api.js","sourceRoot":"","sources":["audit.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAY,cAAc,EAAmB,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACxG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAMlE,MAAM,OAAO,QAAS,SAAQ,OAAO;IAoBjC,6BAA6B,CAAC,kBAA0B,EAAE,KAAa;QACnE,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAElC,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,KAAK;SACR,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,wDAAwD;YAC9D,UAAU;YACV,WAAW;SACd,CAAC,CAAC;IACP,CAAC;IAYD,gBAAgB,CAAC,kBAA0B,EAAE,YAAoB;QAC7D,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAEhD,MAAM,UAAU,GAAG;YACf,kBAAkB;YAClB,YAAY;SACf,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC;YACf,IAAI,EAAE,uEAAuE;YAC7E,UAAU;SACb,CAAC,CAAC;IACP,CAAC;IAcD,WAAW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E,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK;YAClB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,+BAA+B;YACrC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,gBAAgB;SAC/B,CAAC,CAAC;IACP,CAAC;IAkBD,cAAc,CAAC,kBAA0B,EAAE,kBAAmC,EAAE,IAAyB;QACrG,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAC5D,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,kBAAkB;SACrB,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0CAA0C;YAChD,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuditApp, AuditAppPaging, AuditBodyUpdate, AuditEntryEntry, AuditEntryPaging } from '../model';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\n/**\n * Audit service.\n */\nexport class AuditApi extends BaseApi {\n /**\n * Permanently delete audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Permanently delete audit entries for an audit application **auditApplicationId**.\n * The **where** clause must be specified, either with an inclusive time period or for\n * an inclusive range of ids. The delete is within the context of the given audit application.\n * For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * You must have admin rights to delete audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param where Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids. For example:\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(id BETWEEN ('1234', '4321')\n * @return Promise<{}>\n */\n deleteAuditEntriesForAuditApp(auditApplicationId: string, where: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(where, 'where');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n where\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Permanently delete an audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to delete audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @return Promise<{}>\n */\n deleteAuditEntry(auditApplicationId: string, auditEntryId: string): Promise<void> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n return this.delete({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams\n });\n }\n\n /**\n * Get audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to retrieve audit information.\n *\n * You can use the **include** parameter to return the minimum and/or maximum audit record id for the application.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @return Promise<AuditApp>\n */\n getAuditApp(auditApplicationId: string, opts?: ContentFieldsQuery & ContentIncludeQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams\n });\n }\n\n /**\n * Get audit entry\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n * You must have admin rights to access audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditEntryId The identifier of an audit entry.\n * @param opts Optional parameters\n * @return Promise<AuditEntryEntry>\n */\n getAuditEntry(auditApplicationId: string, auditEntryId: string, opts?: ContentFieldsQuery): Promise<AuditEntryEntry> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditEntryId, 'auditEntryId');\n\n const pathParams = {\n auditApplicationId,\n auditEntryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries/{auditEntryId}',\n pathParams,\n queryParams,\n returnType: AuditEntryEntry\n });\n }\n\n /**\n * Gets a list of audit applications in this repository.\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * This list may include pre-configured audit applications, if enabled, such as:\n *\n * - alfresco-access\n * - CMISChangeLog\n * - Alfresco Tagging Service\n * - Alfresco Sync Service (used by Enterprise Cloud Sync)\n *\n * You must have admin rights to retrieve audit information.\n *\n * @param opts Optional parameters\n * @return Promise<AuditAppPaging>\n */\n listAuditApps(opts?: ContentPagingQuery & ContentFieldsQuery): Promise<AuditAppPaging> {\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications',\n queryParams,\n returnType: AuditAppPaging\n });\n }\n\n /**\n * List audit entries for an audit application\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * Gets a list of audit entries for audit application **auditApplicationId**.\n * You can use the **include** parameter to return additional **values** information.\n * The list can be filtered by one or more of:\n * - **createdByUser** person id\n * - **createdAt** inclusive time period\n * - **id** inclusive range of ids\n * - **valuesKey** audit entry values contains the exact matching key\n * - **valuesValue** audit entry values contains the exact matching value\n *\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * You must have admin rights to retrieve audit information.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='jbloggs')\n * - where=(id BETWEEN ('1234', '4321')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(valuesKey='/alfresco-access/login/user')\n * - where=(valuesKey='/alfresco-access/transaction/action' and valuesValue='DELETE')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForAuditApp(\n auditApplicationId: string,\n opts?: {\n where?: string;\n orderBy?: string[];\n } & ContentPagingQuery &\n ContentFieldsQuery &\n ContentIncludeQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n opts = opts || {};\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/audit-applications/{auditApplicationId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * List audit entries for a node\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * The list can be filtered by **createdByUser** and for a given inclusive time period.\n * The default sort order is **createdAt** ascending, but you can use an optional **ASC** or **DESC**\n * modifier to specify an ascending or descending sort order.\n *\n * For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.\n * This relies on the pre-configured 'alfresco-access' audit application.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to\n * sort the list by one or more fields.\n * Each field has a default sort order, which is normally ascending order. Read the API method implementation notes\n * above to check if any fields used in this method have a descending default search order.\n * To sort the entities in a specific order, you can use the **ASC** and **DESC** keywords for any field.\n * @param opts.where Optionally filter the list. Here are some examples:\n * - where=(createdByUser='-me-')\n * - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * - where=(createdByUser='jbloggs' and createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')\n * @returns Promise<AuditEntryPaging>\n */\n listAuditEntriesForNode(\n nodeId: string,\n opts?: {\n orderBy?: string[];\n where?: string;\n } & ContentPagingQuery &\n ContentIncludeQuery &\n ContentFieldsQuery\n ): Promise<AuditEntryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n opts = opts || {};\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n orderBy: buildCollectionParam(opts?.orderBy, 'csv'),\n maxItems: opts?.maxItems,\n where: opts?.where,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/audit-entries',\n pathParams,\n queryParams,\n returnType: AuditEntryPaging\n });\n }\n\n /**\n * Update audit application info\n *\n * **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.\n *\n * New audit entries will not be created for a disabled audit application until\n * it is re-enabled (and system-wide auditing is also enabled).\n * Note, it is still possible to query &/or delete any existing audit entries even\n * if auditing is disabled for the audit application.\n * You must have admin rights to update audit application.\n *\n * @param auditApplicationId The identifier of an audit application.\n * @param auditAppBodyUpdate The audit application to update.\n * @param opts Optional parameters\n * @returns Promise<AuditApp>\n */\n updateAuditApp(auditApplicationId: string, auditAppBodyUpdate: AuditBodyUpdate, opts?: ContentFieldsQuery): Promise<AuditApp> {\n throwIfNotDefined(auditApplicationId, 'auditApplicationId');\n throwIfNotDefined(auditAppBodyUpdate, 'auditAppBodyUpdate');\n\n const pathParams = {\n auditApplicationId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/audit-applications/{auditApplicationId}',\n pathParams,\n queryParams,\n bodyParam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AAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,wCAAwC;YAC9C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;IASD,kBAAkB,CAAC,MAAc,EAAE,sBAA0C,EAAE,IAAoB;QAC/F,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QAEpE,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;YACjD,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,sBAAsB;YACjC,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { CategoryBody, CategoryEntry, CategoryLinkBody, CategoryPaging } from '../model';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type CategoryQuery = ContentFieldsQuery & ContentIncludeQuery;\n\n/**\n * Categories service.\n */\nexport class CategoriesApi extends BaseApi {\n /**\n * List of subcategories within category\n *\n * Gets a list of subcategories with category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to obtain a list of top level categories.\n *\n * You can use the **include** parameter to return additional **values** information.\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getSubcategories(categoryId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Get a category\n *\n * Get a specific category with categoryId.\n * You can use the **include** parameter to return additional **values** information.\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n getCategory(categoryId: string, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n returnType: CategoryEntry\n });\n }\n\n /**\n * List of categories that node is assigned to\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getCategoryLinksForNode(nodeId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Deletes the category **categoryId**.\n *\n * This will cause everything to be removed from the category.\n * You must have admin rights to delete a category.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n deleteCategory(categoryId: string): Promise<void> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n return this.delete({\n path: '/categories/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Unassign a node from category\n * @param nodeId The identifier of a node.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n unlinkNodeFromCategory(nodeId: string, categoryId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n nodeId,\n categoryId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/category-links/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Update a category\n *\n * Updates the category **categoryId**.\n * You must have admin rights to update a category.\n * @param categoryId The identifier of a category.\n * @param categoryBodyUpdate The updated category\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n updateCategory(categoryId: string, categoryBodyUpdate: CategoryBody, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyUpdate, 'categoryBodyUpdate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n bodyParam: categoryBodyUpdate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Create new categories\n *\n * Creates new categories within the category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to create a new top level category.\n * You must have admin rights to create a category.\n * @param categoryId The identifier of a category.\n * @param categoryBodyCreate List of categories to create.\n * @param opts Optional parameters.\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n createSubcategories(categoryId: string, categoryBodyCreate: CategoryBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyCreate, 'categoryBodyCreate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n bodyParam: categoryBodyCreate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Assign a node to a category\n * @param nodeId The identifier of a node.\n * @param categoryLinkBodyCreate The new category link\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n linkNodeToCategory(nodeId: string, categoryLinkBodyCreate: CategoryLinkBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryLinkBodyCreate, 'categoryLinkBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n bodyParam: categoryLinkBodyCreate,\n returnType: CategoryEntry\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"categories.api.js","sourceRoot":"","sources":["categories.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACp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A0C,EAAE,IAAoB;QAC/F,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC;QAEpE,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;YACjD,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;SACtD,CAAC;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,gCAAgC;YACtC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,sBAAsB;YACjC,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { CategoryBody, CategoryEntry, CategoryLinkBody, CategoryPaging } from '../model';\nimport { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './types';\n\nexport type CategoryQuery = ContentFieldsQuery & ContentIncludeQuery;\n\n/**\n * Categories service.\n */\nexport class CategoriesApi extends BaseApi {\n /**\n * List of subcategories within category\n *\n * Gets a list of subcategories with category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to obtain a list of top level categories.\n *\n * You can use the **include** parameter to return additional **values** information.\n *\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getSubcategories(categoryId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Get a category\n *\n * Get a specific category with categoryId.\n * You can use the **include** parameter to return additional **values** information.\n *\n * @param categoryId The identifier of a category.\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n getCategory(categoryId: string, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n returnType: CategoryEntry\n });\n }\n\n /**\n * List of categories that node is assigned to\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging>\n */\n getCategoryLinksForNode(nodeId: string, opts?: ContentPagingQuery & CategoryQuery): Promise<CategoryPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n returnType: CategoryPaging\n });\n }\n\n /**\n * Deletes the category **categoryId**.\n *\n * This will cause everything to be removed from the category.\n * You must have admin rights to delete a category.\n *\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n deleteCategory(categoryId: string): Promise<void> {\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n categoryId\n };\n\n return this.delete({\n path: '/categories/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Unassign a node from category\n *\n * @param nodeId The identifier of a node.\n * @param categoryId The identifier of a category.\n * @returns Promise<{}>\n */\n unlinkNodeFromCategory(nodeId: string, categoryId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryId, 'categoryId');\n\n const pathParams = {\n nodeId,\n categoryId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/category-links/{categoryId}',\n pathParams\n });\n }\n\n /**\n * Update a category\n *\n * Updates the category **categoryId**.\n * You must have admin rights to update a category.\n *\n * @param categoryId The identifier of a category.\n * @param categoryBodyUpdate The updated category\n * @param opts Optional parameters\n * @returns Promise<CategoryEntry>\n */\n updateCategory(categoryId: string, categoryBodyUpdate: CategoryBody, opts?: CategoryQuery): Promise<CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyUpdate, 'categoryBodyUpdate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.put({\n path: '/categories/{categoryId}',\n pathParams,\n queryParams,\n bodyParam: categoryBodyUpdate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Create new categories\n *\n * Creates new categories within the category **categoryId**.\n * The parameter categoryId can be set to the alias -root- to create a new top level category.\n * You must have admin rights to create a category.\n *\n * @param categoryId The identifier of a category.\n * @param categoryBodyCreate List of categories to create.\n * @param opts Optional parameters.\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n createSubcategories(categoryId: string, categoryBodyCreate: CategoryBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(categoryId, 'categoryId');\n throwIfNotDefined(categoryBodyCreate, 'categoryBodyCreate');\n\n const pathParams = {\n categoryId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/categories/{categoryId}/subcategories',\n pathParams,\n queryParams,\n bodyParam: categoryBodyCreate,\n returnType: CategoryEntry\n });\n }\n\n /**\n * Assign a node to a category\n *\n * @param nodeId The identifier of a node.\n * @param categoryLinkBodyCreate The new category link\n * @param opts Optional parameters\n * @returns Promise<CategoryPaging | CategoryEntry>\n */\n linkNodeToCategory(nodeId: string, categoryLinkBodyCreate: CategoryLinkBody[], opts?: CategoryQuery): Promise<CategoryPaging | CategoryEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(categoryLinkBodyCreate, 'categoryLinkBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv'),\n include: buildCollectionParam(opts?.include, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/category-links',\n pathParams,\n queryParams,\n bodyParam: categoryLinkBodyCreate,\n returnType: CategoryEntry\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.api.js","sourceRoot":"","sources":["comments.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,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,WAAY,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file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C,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEpC,MAAM,UAAU,GAAG;YACf,MAAM;SACT,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,SAAS,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;IAWD,aAAa,CAAC,MAAc,EAAE,SAAiB,EAAE,iBAA8B,EAAE,IAAyB;QACtG,iBAAiB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,iBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1C,iBAAiB,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAE1D,MAAM,UAAU,GAAG;YACf,MAAM;YACN,SAAS;SACZ,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,sCAAsC;YAC5C,UAAU;YACV,WAAW;YACX,SAAS,EAAE,iBAAiB;YAC5B,UAAU,EAAE,YAAY;SAC3B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommentBody } from '../model/commentBody';\nimport { CommentEntry } from '../model/commentEntry';\nimport { CommentPaging } from '../model/commentPaging';\nimport { BaseApi } from './base.api';\nimport { throwIfNotDefined } from '../../../assert';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { ContentFieldsQuery, ContentPagingQuery } from './types';\n\n/**\n * Comments service.\n */\nexport class CommentsApi extends BaseApi {\n /**\n * Create a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentBodyCreate The comment text. Note that you can also provide a list of comments.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n createComment(nodeId: string, commentBodyCreate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentBodyCreate, 'commentBodyCreate');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n bodyParam: commentBodyCreate,\n returnType: CommentEntry\n });\n }\n\n /**\n * Delete a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @returns Promise<{}>\n */\n deleteComment(nodeId: string, commentId: string): Promise<void> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n return this.delete({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams\n });\n }\n\n /**\n * List comments\n *\n * Gets a list of comments for the node **nodeId**, sorted chronologically with the newest comment first.\n *\n * @param nodeId The identifier of a node.\n * @param opts Optional parameters\n * @returns Promise<CommentPaging>\n */\n listComments(nodeId: string, opts?: ContentPagingQuery & ContentFieldsQuery): Promise<CommentPaging> {\n throwIfNotDefined(nodeId, 'nodeId');\n\n const pathParams = {\n nodeId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/nodes/{nodeId}/comments',\n pathParams,\n queryParams,\n returnType: CommentPaging\n });\n }\n\n /**\n * Update a comment\n *\n * @param nodeId The identifier of a node.\n * @param commentId The identifier of a comment.\n * @param commentBodyUpdate The JSON representing the comment to be updated.\n * @param opts Optional parameters\n * @returns Promise<CommentEntry>\n */\n updateComment(nodeId: string, commentId: string, commentBodyUpdate: CommentBody, opts?: ContentFieldsQuery): Promise<CommentEntry> {\n throwIfNotDefined(nodeId, 'nodeId');\n throwIfNotDefined(commentId, 'commentId');\n throwIfNotDefined(commentBodyUpdate, 'commentBodyUpdate');\n\n const pathParams = {\n nodeId,\n commentId\n };\n\n const queryParams = {\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/nodes/{nodeId}/comments/{commentId}',\n pathParams,\n queryParams,\n bodyParam: commentBodyUpdate,\n returnType: CommentEntry\n });\n }\n}\n"]}
|