mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-29442 moving to node 20.18.1 (#10500)
* AAE-0000 - moving to node 20.18.1 * AAE-29442 Adjusted to the new eslint rule
This commit is contained in:
@@ -304,7 +304,6 @@ export class AlfrescoApi implements Emitter, AlfrescoApiType {
|
||||
|
||||
/**
|
||||
* login Alfresco API
|
||||
*
|
||||
* @param username Username to login
|
||||
* @param password Password to login
|
||||
* @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.
|
||||
@@ -383,7 +382,6 @@ export class AlfrescoApi implements Emitter, AlfrescoApiType {
|
||||
|
||||
/**
|
||||
* login Tickets
|
||||
*
|
||||
* @param ticketEcm alfresco ticket
|
||||
* @param ticketBpm alfresco ticket
|
||||
*/
|
||||
@@ -558,7 +556,6 @@ export class AlfrescoApi implements Emitter, AlfrescoApiType {
|
||||
|
||||
/**
|
||||
* Set the current Ticket
|
||||
*
|
||||
* @param ticketEcm ecm ticket
|
||||
* @param ticketBpm bpm ticket
|
||||
*/
|
||||
|
@@ -35,7 +35,6 @@ export type AlfrescoApiClientPromise<T = any> = Promise<T> & {
|
||||
|
||||
/**
|
||||
* Builds a string representation of an array-type actual parameter, according to the given collection format.
|
||||
*
|
||||
* @param param An array parameter.
|
||||
* @param collectionFormat The array element separator strategy.
|
||||
* @returns A string representation of the supplied collection, using the specified delimiter. Returns
|
||||
@@ -343,7 +342,6 @@ export class AlfrescoApiClient implements ee.Emitter, LegacyHttpClient {
|
||||
|
||||
/**
|
||||
* Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
|
||||
*
|
||||
* @param contentTypes content types
|
||||
* @returns The chosen content type, preferring JSON.
|
||||
*/
|
||||
@@ -369,7 +367,6 @@ export class AlfrescoApiClient implements ee.Emitter, LegacyHttpClient {
|
||||
* <li>application/json; charset=UTF8</li>
|
||||
* <li>APPLICATION/JSON</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param contentType The MIME content type to check.
|
||||
* @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
|
||||
*/
|
||||
|
@@ -24,7 +24,6 @@ export class AboutApi extends BaseApi {
|
||||
/**
|
||||
* Get server type and version
|
||||
* Provides information about the running Alfresco Process Services Suite. The response payload object has the properties type, majorVersion, minorVersion, revisionVersion and edition.
|
||||
*
|
||||
* @return Promise<{ [key: string]: string; }>
|
||||
*/
|
||||
getAppVersion(): Promise<{ [key: string]: string }> {
|
||||
|
@@ -25,7 +25,6 @@ export class AccountIntegrationApi extends BaseApi {
|
||||
/**
|
||||
* Retrieve external account information
|
||||
* Accounts are used to integrate with third party apps and clients
|
||||
*
|
||||
* @return Promise<ResultListDataRepresentationAccountRepresentation>
|
||||
*/
|
||||
getAccounts(): Promise<ResultListDataRepresentationAccountRepresentation> {
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class AdminEndpointsApi extends BaseApi {
|
||||
/**
|
||||
* Add an endpoint authorization
|
||||
*
|
||||
* @param createRepresentation createRepresentation
|
||||
* @return Promise<EndpointBasicAuthRepresentation>
|
||||
*/
|
||||
@@ -41,7 +40,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create an endpoint
|
||||
*
|
||||
* @param representation representation
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
*/
|
||||
@@ -56,7 +54,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get an endpoint authorization
|
||||
*
|
||||
* @param basicAuthId basicAuthId
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<EndpointBasicAuthRepresentation>
|
||||
@@ -83,7 +80,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List endpoint authorizations
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<EndpointBasicAuthRepresentation>
|
||||
*/
|
||||
@@ -103,7 +99,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get an endpoint
|
||||
*
|
||||
* @param endpointConfigurationId endpointConfigurationId
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
@@ -129,7 +124,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List endpoints
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
*/
|
||||
@@ -148,7 +142,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete an endpoint authorization
|
||||
*
|
||||
* @param basicAuthId basicAuthId
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<{}>
|
||||
@@ -174,7 +167,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete an endpoint
|
||||
*
|
||||
* @param endpointConfigurationId endpointConfigurationId
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<{}>
|
||||
@@ -200,7 +192,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update an endpoint authorization
|
||||
*
|
||||
* @param basicAuthId basicAuthId
|
||||
* @param createRepresentation createRepresentation
|
||||
* @return Promise<EndpointBasicAuthRepresentation>
|
||||
@@ -226,7 +217,6 @@ export class AdminEndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update an endpoint
|
||||
*
|
||||
* @param endpointConfigurationId endpointConfigurationId
|
||||
* @param representation representation
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
|
@@ -31,7 +31,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class AdminGroupsApi extends BaseApi {
|
||||
/**
|
||||
* Activate a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -50,7 +49,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add users to a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -69,7 +67,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add capabilities to a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param addGroupCapabilitiesRepresentation addGroupCapabilitiesRepresentation
|
||||
* @return Promise<{}>
|
||||
@@ -91,7 +88,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add a user to a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param userId userId
|
||||
* @return Promise<{}>
|
||||
@@ -113,7 +109,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a related group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param relatedGroupId relatedGroupId
|
||||
* @param type type
|
||||
@@ -142,7 +137,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a group
|
||||
*
|
||||
* @param groupRepresentation groupRepresentation
|
||||
* @return Promise<GroupRepresentation>
|
||||
*/
|
||||
@@ -158,7 +152,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a capability from a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param groupCapabilityId groupCapabilityId
|
||||
* @return Promise<{}>
|
||||
@@ -180,7 +173,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a member from a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param userId userId
|
||||
* @return Promise<{}>
|
||||
@@ -202,7 +194,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -221,7 +212,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a related group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param relatedGroupId relatedGroupId
|
||||
* @return Promise<{}>
|
||||
@@ -243,7 +233,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List group capabilities
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<string>
|
||||
*/
|
||||
@@ -262,7 +251,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get group members
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationLightUserRepresentation>
|
||||
@@ -286,7 +274,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<AbstractGroupRepresentation>
|
||||
@@ -307,7 +294,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query groups
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<LightGroupRepresentation>
|
||||
*/
|
||||
@@ -320,7 +306,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get related groups
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<LightGroupRepresentation>
|
||||
*/
|
||||
@@ -339,7 +324,6 @@ export class AdminGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @param groupRepresentation groupRepresentation
|
||||
* @return Promise<GroupRepresentation>
|
||||
|
@@ -26,7 +26,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
/**
|
||||
* Create a tenant
|
||||
* Only a tenant manager may access this endpoint
|
||||
*
|
||||
* @param createTenantRepresentation createTenantRepresentation
|
||||
* @return Promise<LightTenantRepresentation>
|
||||
*/
|
||||
@@ -41,7 +40,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a tenant
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -60,7 +58,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get tenant events
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<TenantEvent>
|
||||
*/
|
||||
@@ -80,7 +77,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a tenant's logo
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -99,7 +95,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a tenant
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<TenantRepresentation>
|
||||
*/
|
||||
@@ -120,7 +115,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
/**
|
||||
* List tenants
|
||||
* Only a tenant manager may access this endpoint
|
||||
*
|
||||
* @return Promise<LightTenantRepresentation>
|
||||
*/
|
||||
getTenants(): Promise<LightTenantRepresentation> {
|
||||
@@ -131,7 +125,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a tenant
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @param createTenantRepresentation createTenantRepresentation
|
||||
* @return Promise<TenantRepresentation>
|
||||
@@ -154,7 +147,6 @@ export class AdminTenantsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a tenant's logo
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @param file file
|
||||
* @return Promise<ImageUploadRepresentation>
|
||||
|
@@ -44,7 +44,6 @@ export interface GetUsersOpts {
|
||||
export class AdminUsersApi extends BaseApi {
|
||||
/**
|
||||
* Bulk update a list of users
|
||||
*
|
||||
* @param update update
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -59,7 +58,6 @@ export class AdminUsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a user
|
||||
*
|
||||
* @param userRepresentation userRepresentation
|
||||
* @return Promise<UserRepresentation>
|
||||
*/
|
||||
@@ -75,7 +73,6 @@ export class AdminUsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a user
|
||||
*
|
||||
* @param userId userId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<AbstractUserRepresentation>
|
||||
@@ -96,7 +93,6 @@ export class AdminUsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query users
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationAbstractUserRepresentation>
|
||||
*/
|
||||
@@ -109,7 +105,6 @@ export class AdminUsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a user
|
||||
*
|
||||
* @param userId userId
|
||||
* @param userRepresentation userRepresentation
|
||||
* @return Promise<{}>
|
||||
|
@@ -30,7 +30,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class AppDefinitionsApi extends BaseApi {
|
||||
/**
|
||||
* deleteAppDefinition
|
||||
*
|
||||
* @param appDefinitionId appDefinitionId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -51,7 +50,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
* Export an app definition
|
||||
*
|
||||
* This will return a zip file containing the app definition model and all related models (process definitions and forms).
|
||||
*
|
||||
* @param modelId modelId from a runtime app or the id of an app definition model
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -75,7 +73,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get an app definition
|
||||
*
|
||||
* @param modelId Application definition ID
|
||||
* @return Promise<AppDefinitionRepresentation>
|
||||
*/
|
||||
@@ -94,7 +91,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* importAndPublishApp
|
||||
*
|
||||
* @param file file
|
||||
* @param opts options
|
||||
* @return Promise<AppDefinitionUpdateResultRepresentation>
|
||||
@@ -124,7 +120,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
* Allows a zip file to be uploaded containing an app definition and any number of included models.
|
||||
* <p>This is useful to bootstrap an environment (for users or continuous integration).<p>
|
||||
* Before using any processes included in the import the app must be published and deployed.
|
||||
*
|
||||
* @param file file
|
||||
* @param opts Optional parameters
|
||||
* @param opts.renewIdmEntries Whether to renew user and group identifiers (default to false)
|
||||
@@ -149,7 +144,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
* Publish an app definition
|
||||
*
|
||||
* Publishing an app definition makes it available for use. The application must not have any validation errors or an error will be returned.<p>Before an app definition can be used by other users, it must also be deployed for their use
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param publishModel publishModel
|
||||
* @return Promise<AppDefinitionUpdateResultRepresentation>
|
||||
@@ -171,7 +165,6 @@ export class AppDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update an app definition
|
||||
*
|
||||
* @param modelId Application definition ID
|
||||
* @param updatedModel updatedModel |
|
||||
* @return Promise<AppDefinitionUpdateResultRepresentation>
|
||||
|
@@ -27,7 +27,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ChecklistsApi extends BaseApi {
|
||||
/**
|
||||
* Create a task checklist
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param taskRepresentation taskRepresentation
|
||||
* @return Promise<TaskRepresentation>
|
||||
@@ -50,7 +49,6 @@ export class ChecklistsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get checklist for a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<ResultListDataRepresentationTaskRepresentation>
|
||||
*/
|
||||
@@ -70,7 +68,6 @@ export class ChecklistsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Change the order of items on a checklist
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param orderRepresentation orderRepresentation
|
||||
* @return Promise<{}>
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ActivitiCommentsApi extends BaseApi {
|
||||
/**
|
||||
* Add a comment to a process instance
|
||||
*
|
||||
* @param commentRequest commentRequest
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<CommentRepresentation>
|
||||
@@ -49,7 +48,6 @@ export class ActivitiCommentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add a comment to a task
|
||||
*
|
||||
* @param commentRequest commentRequest
|
||||
* @param taskId taskId
|
||||
* @return Promise<CommentRepresentation>
|
||||
@@ -72,7 +70,6 @@ export class ActivitiCommentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get comments for a process
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationCommentRepresentation>
|
||||
@@ -97,7 +94,6 @@ export class ActivitiCommentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get comments for a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationCommentRepresentation>
|
||||
|
@@ -29,7 +29,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ContentApi extends BaseApi {
|
||||
/**
|
||||
* Attach existing content to a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param relatedContent relatedContent
|
||||
* @param opts Optional parameters
|
||||
@@ -75,7 +74,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Attach existing content to a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param relatedContent relatedContent
|
||||
* @param opts Optional parameters
|
||||
@@ -119,7 +117,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Upload content and create a local representation
|
||||
*
|
||||
* @param file file
|
||||
* @return Promise<RelatedContentRepresentation>
|
||||
*/
|
||||
@@ -140,7 +137,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a local representation of content from a remote repository
|
||||
*
|
||||
* @param relatedContent relatedContent
|
||||
* @return Promise<RelatedContentRepresentation>
|
||||
*/
|
||||
@@ -156,7 +152,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a local content representation
|
||||
*
|
||||
* @param contentId contentId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -175,7 +170,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a local content representation
|
||||
*
|
||||
* @param contentId contentId
|
||||
* @return Promise<RelatedContentRepresentation>
|
||||
*/
|
||||
@@ -195,7 +189,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get content Raw URL for the given contentId
|
||||
*
|
||||
* @param contentId contentId
|
||||
*/
|
||||
getRawContentUrl(contentId: number): string {
|
||||
@@ -204,7 +197,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Stream content rendition
|
||||
*
|
||||
* @param contentId contentId
|
||||
* @param renditionType renditionType
|
||||
* @return Promise<{}>
|
||||
@@ -240,7 +232,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List content attached to a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationRelatedContentRepresentation>
|
||||
@@ -267,7 +258,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List content attached to a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationRelatedContentRepresentation>
|
||||
@@ -292,7 +282,6 @@ export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Lists processes and tasks on workflow started with provided document
|
||||
*
|
||||
* @param sourceId - id of the document that workflow or task has been started with
|
||||
* @param source - source of the document that workflow or task has been started with
|
||||
* @param size - size of the entries to get
|
||||
|
@@ -24,7 +24,6 @@ import { BaseApi } from './base.api';
|
||||
export class DataSourcesApi extends BaseApi {
|
||||
/**
|
||||
* Get data sources
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationDataSourceRepresentation>
|
||||
*/
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class DecisionAuditsApi extends BaseApi {
|
||||
/**
|
||||
* Get an audit trail
|
||||
*
|
||||
* @param auditTrailId auditTrailId
|
||||
* @return Promise<DecisionAuditRepresentation>
|
||||
*/
|
||||
@@ -46,7 +45,6 @@ export class DecisionAuditsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query decision table audit trails
|
||||
*
|
||||
* @param decisionKey decisionKey
|
||||
* @param dmnDeploymentId dmnDeploymentId
|
||||
* @return Promise<ResultListDataRepresentationDecisionAuditRepresentation>
|
||||
|
@@ -36,7 +36,6 @@ export interface GetDecisionTablesOpts {
|
||||
export class DecisionTablesApi extends BaseApi {
|
||||
/**
|
||||
* Get definition for a decision table
|
||||
*
|
||||
* @param decisionTableId decisionTableId
|
||||
* @return Promise<JsonNode>
|
||||
*/
|
||||
@@ -55,7 +54,6 @@ export class DecisionTablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a decision table
|
||||
*
|
||||
* @param decisionTableId decisionTableId
|
||||
* @return Promise<RuntimeDecisionTableRepresentation>
|
||||
*/
|
||||
@@ -74,7 +72,6 @@ export class DecisionTablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query decision tables
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation>
|
||||
*/
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class EndpointsApi extends BaseApi {
|
||||
/**
|
||||
* Get an endpoint configuration
|
||||
*
|
||||
* @param endpointConfigurationId endpointConfigurationId
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
*/
|
||||
@@ -44,7 +43,6 @@ export class EndpointsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List endpoint configurations
|
||||
*
|
||||
* @return Promise<EndpointConfigurationRepresentation>
|
||||
*/
|
||||
getEndpointConfigurations(): Promise<EndpointConfigurationRepresentation> {
|
||||
|
@@ -43,7 +43,6 @@ export interface GetFormsOpts {
|
||||
export class FormModelsApi extends BaseApi {
|
||||
/**
|
||||
* Get form content
|
||||
*
|
||||
* @param formId formId
|
||||
* @return Promise<FormDefinitionRepresentation>
|
||||
*/
|
||||
@@ -62,7 +61,6 @@ export class FormModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get form history
|
||||
*
|
||||
* @param formId formId
|
||||
* @param formHistoryId formHistoryId
|
||||
* @return Promise<FormRepresentation>
|
||||
@@ -85,7 +83,6 @@ export class FormModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a form model
|
||||
*
|
||||
* @param formId {number} formId
|
||||
* @return Promise<FormRepresentation>
|
||||
*/
|
||||
@@ -105,7 +102,6 @@ export class FormModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get forms
|
||||
*
|
||||
* @param input input
|
||||
* @return Promise<FormRepresentation>
|
||||
*/
|
||||
@@ -137,7 +133,6 @@ export class FormModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update form model content
|
||||
*
|
||||
* @param formId ID of the form to update
|
||||
* @param saveRepresentation saveRepresentation
|
||||
* @return Promise<FormRepresentation>
|
||||
@@ -162,7 +157,6 @@ export class FormModelsApi extends BaseApi {
|
||||
* Validate form model content
|
||||
*
|
||||
* The model content to be validated must be specified in the POST body
|
||||
*
|
||||
* @param formId formId
|
||||
* @param saveRepresentation saveRepresentation
|
||||
* @return Promise<ValidationErrorRepresentation>
|
||||
|
@@ -33,7 +33,6 @@ export interface GetGroupsOpts {
|
||||
export class ActivitiGroupsApi extends BaseApi {
|
||||
/**
|
||||
* Query groups
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationLightGroupRepresentation>
|
||||
*/
|
||||
@@ -46,7 +45,6 @@ export class ActivitiGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List members of a group
|
||||
*
|
||||
* @param groupId groupId
|
||||
* @return Promise<ResultListDataRepresentationLightUserRepresentation>
|
||||
*/
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class IDMSyncApi extends BaseApi {
|
||||
/**
|
||||
* Get log file for a sync log entry
|
||||
*
|
||||
* @param syncLogEntryId syncLogEntryId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -44,7 +43,6 @@ export class IDMSyncApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List sync log entries
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.tenantId {number} tenantId
|
||||
* @param opts.page {number} page
|
||||
|
@@ -30,7 +30,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
/**
|
||||
* Alfresco Cloud Authorization
|
||||
* Returns Alfresco OAuth HTML Page
|
||||
*
|
||||
* @param code code
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -50,7 +49,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List Alfresco networks
|
||||
*
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoNetworkRepresenation>
|
||||
*/
|
||||
getAllNetworks(): Promise<ResultListDataRepresentationAlfrescoNetworkRepresenation> {
|
||||
@@ -62,7 +60,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
/**
|
||||
* List Alfresco sites
|
||||
* Returns ALL Sites
|
||||
*
|
||||
* @param networkId networkId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoSiteRepresenation>
|
||||
*/
|
||||
@@ -81,7 +78,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific folder identified by path
|
||||
*
|
||||
* @param networkId networkId
|
||||
* @param opts Optional parameters
|
||||
* @param opts.siteId {string} siteId
|
||||
@@ -107,7 +103,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific folder
|
||||
*
|
||||
* @param networkId networkId
|
||||
* @param folderId folderId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoContentRepresentation>
|
||||
@@ -129,7 +124,6 @@ export class IntegrationAlfrescoCloudApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific site
|
||||
*
|
||||
* @param networkId networkId
|
||||
* @param siteId siteId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoContentRepresentation>
|
||||
|
@@ -30,7 +30,6 @@ export class IntegrationAlfrescoOnPremiseApi extends BaseApi {
|
||||
/**
|
||||
* List Alfresco sites
|
||||
* Returns ALL Sites
|
||||
*
|
||||
* @param repositoryId repositoryId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoSiteRepresenation>
|
||||
*/
|
||||
@@ -49,7 +48,6 @@ export class IntegrationAlfrescoOnPremiseApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific folder identified by folder path
|
||||
*
|
||||
* @param repositoryId repositoryId
|
||||
* @param siteId siteId
|
||||
* @param folderPath folderPath
|
||||
@@ -78,7 +76,6 @@ export class IntegrationAlfrescoOnPremiseApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific folder
|
||||
*
|
||||
* @param repositoryId repositoryId
|
||||
* @param folderId folderId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoContentRepresentation>
|
||||
@@ -100,7 +97,6 @@ export class IntegrationAlfrescoOnPremiseApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders inside a specific site
|
||||
*
|
||||
* @param repositoryId repositoryId
|
||||
* @param siteId siteId
|
||||
* @return Promise<ResultListDataRepresentationAlfrescoContentRepresentation>
|
||||
@@ -124,7 +120,6 @@ export class IntegrationAlfrescoOnPremiseApi extends BaseApi {
|
||||
* List Alfresco repositories
|
||||
*
|
||||
* A tenant administrator can configure one or more Alfresco repositories to use when working with content.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.tenantId {string} tenantId
|
||||
* @param opts.includeAccounts {boolean} includeAccounts (default to true)
|
||||
|
@@ -26,7 +26,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
/**
|
||||
* Box Authorization
|
||||
* Returns Box OAuth HTML Page
|
||||
*
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
confirmAuthorisation(): Promise<any> {
|
||||
@@ -38,7 +37,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add Box account
|
||||
*
|
||||
* @param userId userId
|
||||
* @param credentials credentials
|
||||
* @return Promise<{}>
|
||||
@@ -60,7 +58,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete account information
|
||||
*
|
||||
* @param userId userId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -82,7 +79,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get status information
|
||||
*
|
||||
* @return Promise<boolean>
|
||||
*/
|
||||
getBoxPluginStatus(): Promise<boolean> {
|
||||
@@ -94,7 +90,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List file and folders
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.filter filter
|
||||
* @param opts.parent parent
|
||||
@@ -112,7 +107,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get account information
|
||||
*
|
||||
* @param userId userId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -132,7 +126,6 @@ export class IntegrationBoxApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update account information
|
||||
*
|
||||
* @param userId userId
|
||||
* @param credentials credentials
|
||||
* @return Promise<{}>
|
||||
|
@@ -25,7 +25,6 @@ export class IntegrationDriveApi extends BaseApi {
|
||||
/**
|
||||
* Drive Authorization
|
||||
* Returns Drive OAuth HTML Page
|
||||
*
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
confirmAuthorisation(): Promise<any> {
|
||||
@@ -37,7 +36,6 @@ export class IntegrationDriveApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List files and folders
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.filter {string} filter
|
||||
* @param opts.parent {string} parent
|
||||
|
@@ -21,7 +21,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ModelJsonBpmnApi extends BaseApi {
|
||||
/**
|
||||
* Export a previous process definition model to a JSON
|
||||
*
|
||||
* @param processModelId processModelId
|
||||
* @param processModelHistoryId processModelHistoryId
|
||||
*/
|
||||
@@ -42,7 +41,6 @@ export class ModelJsonBpmnApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Export a process definition model to a JSON
|
||||
*
|
||||
* @param processModelId processModelId
|
||||
*/
|
||||
getEditorDisplayJsonClient(processModelId: number) {
|
||||
@@ -60,7 +58,6 @@ export class ModelJsonBpmnApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Function to receive the result of the getModelJSONForProcessDefinition operation.
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
*/
|
||||
getModelJSON(processDefinitionId: string) {
|
||||
@@ -78,7 +75,6 @@ export class ModelJsonBpmnApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Function to receive the result of the getModelHistoryJSON operation.
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
*/
|
||||
getModelJSONForProcessDefinition(processInstanceId: string) {
|
||||
|
@@ -32,7 +32,6 @@ export interface GetModelsQuery {
|
||||
export class ModelsApi extends BaseApi {
|
||||
/**
|
||||
* Create a new model
|
||||
*
|
||||
* @param modelRepresentation modelRepresentation
|
||||
* @return Promise<ModelRepresentation>
|
||||
*/
|
||||
@@ -48,7 +47,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a model
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param opts Optional parameters
|
||||
* @param opts.cascade cascade
|
||||
@@ -76,7 +74,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Duplicate an existing model
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param modelRepresentation modelRepresentation
|
||||
* @return Promise<ModelRepresentation>
|
||||
@@ -99,7 +96,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get model content
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @return Promise<ObjectNode>
|
||||
*/
|
||||
@@ -118,7 +114,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a model's thumbnail image
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @return Promise<string>
|
||||
*/
|
||||
@@ -140,7 +135,6 @@ export class ModelsApi extends BaseApi {
|
||||
* Get a model
|
||||
*
|
||||
* Models act as containers for process, form, decision table and app definitions
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ModelRepresentation>
|
||||
@@ -166,7 +160,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List process definition models shared with the current user
|
||||
*
|
||||
* @return Promise<ResultListDataRepresentationModelRepresentation>
|
||||
*/
|
||||
getModelsToIncludeInAppDefinition(): Promise<ResultListDataRepresentationModelRepresentation> {
|
||||
@@ -178,7 +171,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List models (process, form, decision rule or app)
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationModelRepresentation>
|
||||
*/
|
||||
@@ -192,7 +184,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a new version of a model
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param file file
|
||||
* @return Promise<ModelRepresentation>
|
||||
@@ -220,7 +211,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Import a BPMN 2.0 XML file
|
||||
*
|
||||
* @param file file
|
||||
* @return Promise<ModelRepresentation>
|
||||
*/
|
||||
@@ -241,7 +231,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update model content
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param values values
|
||||
* @return Promise<ModelRepresentation>
|
||||
@@ -266,7 +255,6 @@ export class ModelsApi extends BaseApi {
|
||||
* Update a model
|
||||
*
|
||||
* This method allows you to update the metadata of a model. In order to update the content of the model you will need to call the specific endpoint for that model type.
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param updatedModel updatedModel
|
||||
* @return Promise<ModelRepresentation>
|
||||
@@ -289,7 +277,6 @@ export class ModelsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Validate model content
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param opts Optional parameters
|
||||
* @param opts.values values
|
||||
|
@@ -24,7 +24,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ModelsBpmnApi extends BaseApi {
|
||||
/**
|
||||
* Export a historic version of a process definition as BPMN 2.0 XML
|
||||
*
|
||||
* @param processModelId processModelId
|
||||
* @param processModelHistoryId processModelHistoryId
|
||||
* @return Promise<{}>
|
||||
@@ -49,7 +48,6 @@ export class ModelsBpmnApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Export a process definition as BPMN 2.0 XML
|
||||
*
|
||||
* @param processModelId processModelId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ModelsHistoryApi extends BaseApi {
|
||||
/**
|
||||
* List a model's historic versions
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param opts Optional parameters
|
||||
* @param opts.includeLatestVersion includeLatestVersion
|
||||
@@ -53,7 +52,6 @@ export class ModelsHistoryApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a historic version of a model
|
||||
*
|
||||
* @param modelId modelId
|
||||
* @param modelHistoryId modelHistoryId
|
||||
* @return Promise<ModelRepresentation>
|
||||
|
@@ -32,7 +32,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ProcessDefinitionsApi extends BaseApi {
|
||||
/**
|
||||
* Add a user or group involvement to a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @param identityLinkRepresentation identityLinkRepresentation
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
@@ -54,7 +53,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a user or group involvement from a process definition
|
||||
*
|
||||
* @param processDefinitionId Process definition ID
|
||||
* @param family Identity type
|
||||
* @param identityId User or group ID
|
||||
@@ -79,7 +77,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a user or group involvement with a process definition
|
||||
*
|
||||
* @param processDefinitionId Process definition ID
|
||||
* @param family Identity type
|
||||
* @param identityId User or group ID
|
||||
@@ -104,7 +101,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List either the users or groups involved with a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @param family Identity type
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
@@ -126,7 +122,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List the users and groups involved with a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
*/
|
||||
@@ -145,7 +140,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List the decision tables associated with a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @return Promise<ResultListDataRepresentationRuntimeDecisionTableRepresentation>
|
||||
*/
|
||||
@@ -164,7 +158,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List the forms associated with a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @return Promise<ResultListDataRepresentationRuntimeFormRepresentation>
|
||||
*/
|
||||
@@ -183,7 +176,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Retrieve the start form for a process definition
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @return Promise<FormDefinitionRepresentation>
|
||||
*/
|
||||
@@ -202,7 +194,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
* Retrieve a list of process definitions
|
||||
*
|
||||
* Get a list of process definitions (visible within the tenant of the user)
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationProcessDefinitionRepresentation>
|
||||
*/
|
||||
@@ -219,7 +210,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Retrieve field values (e.g. the typeahead field)
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @param field field
|
||||
* @return Promise<FormValueRepresentation[]>
|
||||
@@ -238,7 +228,6 @@ export class ProcessDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Retrieve field values (eg. the table field)
|
||||
*
|
||||
* @param processDefinitionId processDefinitionId
|
||||
* @param field field
|
||||
* @param column column
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ProcessInstanceVariablesApi extends BaseApi {
|
||||
/**
|
||||
* Create or update variables
|
||||
*
|
||||
* @param processInstanceId Process instance ID
|
||||
* @param restVariables restVariables
|
||||
* @return Promise<RestVariable>
|
||||
@@ -47,7 +46,6 @@ export class ProcessInstanceVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a variable
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param variableName variableName
|
||||
* @return Promise<{}>
|
||||
@@ -69,7 +67,6 @@ export class ProcessInstanceVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a variable
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param variableName variableName
|
||||
* @return Promise<RestVariable>
|
||||
@@ -91,7 +88,6 @@ export class ProcessInstanceVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List variables
|
||||
*
|
||||
* @param processInstanceId Process instance ID
|
||||
* @return Promise<RestVariable>
|
||||
*/
|
||||
@@ -110,7 +106,6 @@ export class ProcessInstanceVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a variable
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param variableName variableName
|
||||
* @param restVariable restVariable
|
||||
|
@@ -38,7 +38,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ProcessInstancesApi extends BaseApi {
|
||||
/**
|
||||
* Activate a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -58,7 +57,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Add a user or group involvement to a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param identityLinkRepresentation identityLinkRepresentation
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
@@ -80,7 +78,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a user or group involvement from a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param family family
|
||||
* @param identityId identityId
|
||||
@@ -110,7 +107,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
* Cancel or remove a process instance
|
||||
*
|
||||
* If the process instance has not yet been completed, it will be cancelled. If it has already finished or been cancelled then the process instance will be removed and will no longer appear in queries.
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -131,7 +127,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
* List process instances using a filter
|
||||
*
|
||||
* The request body provided must define either a valid filterId value or filter object
|
||||
*
|
||||
* @param filterRequest filterRequest
|
||||
* @return Promise<ResultListDataRepresentationProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -149,7 +144,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get decision tasks in a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ResultListDataRepresentationDecisionTaskRepresentation>
|
||||
*/
|
||||
@@ -169,7 +163,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get historic variables for a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ProcessInstanceVariableRepresentation>
|
||||
*/
|
||||
@@ -188,7 +181,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query historic process instances
|
||||
*
|
||||
* @param queryRequest queryRequest
|
||||
* @return Promise<ResultListDataRepresentationProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -206,7 +198,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a user or group involvement with a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param family family
|
||||
* @param identityId identityId
|
||||
@@ -234,7 +225,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List either the users or groups involved with a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @param family family
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
@@ -256,7 +246,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List the users and groups involved with a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<IdentityLinkRepresentation>
|
||||
*/
|
||||
@@ -275,7 +264,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List content attached to process instance fields
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ResultListDataRepresentationProcessContentRepresentation>
|
||||
*/
|
||||
@@ -295,7 +283,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the process diagram for the process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<string>
|
||||
*/
|
||||
@@ -319,7 +306,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
* Get a process instance start form
|
||||
*
|
||||
* The start form for a process instance can be retrieved when the process definition has a start form defined (hasStartForm = true on the process instance)
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<FormDefinitionRepresentation>
|
||||
*/
|
||||
@@ -338,7 +324,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -358,7 +343,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query process instances
|
||||
*
|
||||
* @param processInstancesQuery processInstancesQuery
|
||||
* @return Promise<ResultListDataRepresentationProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -376,7 +360,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the audit log for a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ProcessInstanceAuditInfoRepresentation>
|
||||
*/
|
||||
@@ -395,7 +378,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Retrieve the process audit in the PDF format
|
||||
*
|
||||
* @param processInstanceId processId
|
||||
* @returns process audit
|
||||
*/
|
||||
@@ -417,7 +399,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Start a process instance
|
||||
*
|
||||
* @param startRequest startRequest
|
||||
* @return Promise<ProcessInstanceRepresentation>
|
||||
*/
|
||||
@@ -433,7 +414,6 @@ export class ProcessInstancesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Suspend a process instance
|
||||
*
|
||||
* @param processInstanceId processInstanceId
|
||||
* @return Promise<ProcessInstanceRepresentation>
|
||||
*/
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class ProcessScopesApi extends BaseApi {
|
||||
/**
|
||||
* List runtime process scopes
|
||||
*
|
||||
* @param processScopesRequest processScopesRequest
|
||||
* @return Promise<ProcessScopeRepresentation>
|
||||
*/
|
||||
|
@@ -105,7 +105,6 @@ export class ReportApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Export a report
|
||||
*
|
||||
* @param reportId report id
|
||||
* @param bodyParam body parameters
|
||||
*/
|
||||
@@ -127,7 +126,6 @@ export class ReportApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Save a report
|
||||
*
|
||||
* @param reportId report id
|
||||
* @param opts Optional parameters
|
||||
*/
|
||||
@@ -154,7 +152,6 @@ export class ReportApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a report
|
||||
*
|
||||
* @param reportId report id
|
||||
*/
|
||||
deleteReport(reportId: string) {
|
||||
|
@@ -31,7 +31,6 @@ export class RuntimeAppDefinitionsApi extends BaseApi {
|
||||
* Deploy a published app
|
||||
*
|
||||
* Deploying an app allows the user to see it on his/her landing page. Apps must be published before they can be deployed.
|
||||
*
|
||||
* @param saveObject saveObject
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -46,7 +45,6 @@ export class RuntimeAppDefinitionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a runtime app
|
||||
*
|
||||
* @param appDefinitionId appDefinitionId
|
||||
* @return Promise<AppDefinitionRepresentation>
|
||||
*/
|
||||
@@ -67,7 +65,6 @@ export class RuntimeAppDefinitionsApi extends BaseApi {
|
||||
* List runtime apps
|
||||
*
|
||||
* When a user logs in into Alfresco Process Services Suite, a landing page is displayed containing all the apps that the user is allowed to see and use. These are referred to as runtime apps.
|
||||
*
|
||||
* @return Promise<ResultListDataRepresentationAppDefinitionRepresentation>
|
||||
*/
|
||||
getAppDefinitions(): Promise<ResultListDataRepresentationAppDefinitionRepresentation> {
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class RuntimeAppDeploymentsApi extends BaseApi {
|
||||
/**
|
||||
* Remove an app deployment
|
||||
*
|
||||
* @param appDeploymentId appDeploymentId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -45,7 +44,6 @@ export class RuntimeAppDeploymentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Export the app archive for a deployment
|
||||
*
|
||||
* @param deploymentId deploymentId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -67,7 +65,6 @@ export class RuntimeAppDeploymentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query app deployments
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationAppDeploymentRepresentation>
|
||||
*/
|
||||
@@ -89,7 +86,6 @@ export class RuntimeAppDeploymentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get an app deployment
|
||||
*
|
||||
* @param appDeploymentId appDeploymentId
|
||||
* @return Promise<AppDeploymentRepresentation>
|
||||
*/
|
||||
@@ -110,7 +106,6 @@ export class RuntimeAppDeploymentsApi extends BaseApi {
|
||||
/**
|
||||
* Get an app by deployment ID or DMN deployment ID
|
||||
* Either a deploymentId or a dmnDeploymentId must be provided
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<AppDeploymentRepresentation>
|
||||
*/
|
||||
|
@@ -23,7 +23,6 @@ import { BaseApi } from './base.api';
|
||||
export class ScriptFilesApi extends BaseApi {
|
||||
/**
|
||||
* getControllers
|
||||
*
|
||||
* @returns Promise<string>
|
||||
*/
|
||||
getControllers(): Promise<string> {
|
||||
@@ -37,7 +36,6 @@ export class ScriptFilesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* getLibraries
|
||||
*
|
||||
* @returns Promise<string>
|
||||
*/
|
||||
getLibraries(): Promise<string> {
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class SubmittedFormsApi extends BaseApi {
|
||||
/**
|
||||
* List submissions for a form
|
||||
*
|
||||
* @param formId formId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<ResultListDataRepresentationSubmittedFormRepresentation>
|
||||
@@ -51,7 +50,6 @@ export class SubmittedFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List submissions for a process instance
|
||||
*
|
||||
* @param processId processId
|
||||
* @return Promise<ResultListDataRepresentationSubmittedFormRepresentation>
|
||||
*/
|
||||
@@ -71,7 +69,6 @@ export class SubmittedFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a form submission
|
||||
*
|
||||
* @param submittedFormId submittedFormId
|
||||
* @return Promise<SubmittedFormRepresentation>
|
||||
*/
|
||||
@@ -91,7 +88,6 @@ export class SubmittedFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the submitted form for a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<SubmittedFormRepresentation>
|
||||
*/
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class SystemPropertiesApi extends BaseApi {
|
||||
/**
|
||||
* Get global date format
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<GlobalDateFormatRepresentation>
|
||||
*/
|
||||
@@ -44,7 +43,6 @@ export class SystemPropertiesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get password validation constraints
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<PasswordValidationConstraints>
|
||||
*/
|
||||
@@ -65,7 +63,6 @@ export class SystemPropertiesApi extends BaseApi {
|
||||
* Retrieve system properties
|
||||
*
|
||||
* Typical value is AllowInvolveByEmail
|
||||
*
|
||||
* @return Promise<SystemPropertiesRepresentation>
|
||||
*/
|
||||
getProperties(): Promise<SystemPropertiesRepresentation> {
|
||||
@@ -76,7 +73,6 @@ export class SystemPropertiesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get involved users who can edit forms
|
||||
*
|
||||
* @param tenantId tenantId
|
||||
* @return Promise<boolean>
|
||||
*/
|
||||
|
@@ -25,7 +25,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class TaskActionsApi extends BaseApi {
|
||||
/**
|
||||
* Assign a task to a user
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param userIdentifier userIdentifier
|
||||
* @return Promise<TaskRepresentation>
|
||||
@@ -48,7 +47,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Attach a form to a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param formIdentifier formIdentifier
|
||||
* @return Promise<{}>
|
||||
@@ -72,7 +70,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
* Claim a task
|
||||
*
|
||||
* To claim a task (in case the task is assigned to a group)
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -93,7 +90,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
* Complete a task
|
||||
*
|
||||
* Use this endpoint to complete a standalone task or task without a form
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -112,7 +108,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delegate a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param userIdentifier userIdentifier
|
||||
* @return Promise<{}>
|
||||
@@ -134,7 +129,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Involve a group with a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param groupId groupId
|
||||
* @return Promise<{}>
|
||||
@@ -156,7 +150,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Involve a user with a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param userIdentifier userIdentifier
|
||||
* @return Promise<{}>
|
||||
@@ -178,7 +171,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a form from a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -197,7 +189,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove an involved group from a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param identifier identifier
|
||||
* @return Promise<{}>
|
||||
@@ -227,9 +218,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Resolve a task
|
||||
*
|
||||
*
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -250,7 +238,6 @@ export class TaskActionsApi extends BaseApi {
|
||||
* Unclaim a task
|
||||
*
|
||||
* To unclaim a task (in case the task was assigned to a group)
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
|
@@ -31,7 +31,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class TaskFormsApi extends BaseApi {
|
||||
/**
|
||||
* Complete a task form
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param completeTaskFormRepresentation completeTaskFormRepresentation
|
||||
* @return Promise<{}>
|
||||
@@ -53,7 +52,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get task variables
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<ProcessInstanceVariableRepresentation>
|
||||
*/
|
||||
@@ -73,7 +71,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
/**
|
||||
* Retrieve Column Field Values
|
||||
* Specific case to retrieve information on a specific column
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param field field
|
||||
* @param column column
|
||||
@@ -110,7 +107,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
* Retrieve populated field values
|
||||
*
|
||||
* Form field values that are populated through a REST backend, can be retrieved via this service
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param field field
|
||||
* @return Promise<FormValueRepresentation []>
|
||||
@@ -132,7 +128,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a task form
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<FormDefinitionRepresentation>
|
||||
*/
|
||||
@@ -151,7 +146,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Save a task form
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param saveTaskFormRepresentation saveTaskFormRepresentation
|
||||
* @return Promise<{}>
|
||||
@@ -173,7 +167,6 @@ export class TaskFormsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Retrieve Task Form Variables
|
||||
*
|
||||
* @param taskId taskId
|
||||
*/
|
||||
getTaskFormVariables(taskId: string) {
|
||||
|
@@ -26,7 +26,6 @@ import { ScopeQuery } from './types';
|
||||
export class TaskVariablesApi extends BaseApi {
|
||||
/**
|
||||
* Create variables
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param restVariables restVariables
|
||||
* @return Promise<RestVariable>
|
||||
@@ -48,7 +47,6 @@ export class TaskVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create or update variables
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -67,7 +65,6 @@ export class TaskVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a variable
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param variableName variableName
|
||||
* @param opts Optional parameters
|
||||
@@ -90,7 +87,6 @@ export class TaskVariablesApi extends BaseApi {
|
||||
}
|
||||
/**
|
||||
* Get a variable
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param variableName variableName
|
||||
* @param opts Optional parameters
|
||||
@@ -114,7 +110,6 @@ export class TaskVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List variables
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<RestVariable>
|
||||
@@ -135,7 +130,6 @@ export class TaskVariablesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a variable
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param variableName variableName
|
||||
* @param restVariable restVariable
|
||||
|
@@ -34,7 +34,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class TasksApi extends BaseApi {
|
||||
/**
|
||||
* List the users and groups involved with a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param identityLinkRepresentation identityLinkRepresentation
|
||||
* @returns Promise<IdentityLinkRepresentation>
|
||||
@@ -58,7 +57,6 @@ export class TasksApi extends BaseApi {
|
||||
* Create a standalone task
|
||||
*
|
||||
* A standalone task is one which is not associated with any process instance.
|
||||
*
|
||||
* @param taskRepresentation taskRepresentation
|
||||
* @returns Promise<TaskRepresentation>
|
||||
*/
|
||||
@@ -74,7 +72,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Remove a user or group involvement from a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param family family
|
||||
* @param identityId identityId
|
||||
@@ -102,7 +99,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -121,7 +117,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Filter a list of tasks
|
||||
*
|
||||
* @param tasksFilter tasksFilter
|
||||
* @returns Promise<ResultListDataRepresentationTaskRepresentation>
|
||||
*/
|
||||
@@ -137,7 +132,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a user or group involvement with a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param family family
|
||||
* @param identityId identityId
|
||||
@@ -165,7 +159,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List either the users or groups involved with a process instance
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param family family
|
||||
* @returns Promise<IdentityLinkRepresentation>
|
||||
@@ -187,7 +180,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* getIdentityLinks
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<IdentityLinkRepresentation>
|
||||
*/
|
||||
@@ -206,7 +198,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the audit log for a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<TaskAuditInfoRepresentation>
|
||||
*/
|
||||
@@ -225,7 +216,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the audit log for a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<Blob> task audit in blob
|
||||
*/
|
||||
@@ -246,7 +236,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a task
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @returns Promise<TaskRepresentation>
|
||||
*/
|
||||
@@ -266,7 +255,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Query historic tasks
|
||||
*
|
||||
* @param queryRequest queryRequest
|
||||
* @returns Promise<ResultListDataRepresentationTaskRepresentation>
|
||||
*/
|
||||
@@ -282,7 +270,6 @@ export class TasksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List tasks
|
||||
*
|
||||
* @param tasksQuery tasksQuery
|
||||
* @returns Promise<ResultListDataRepresentationTaskRepresentation>
|
||||
*/
|
||||
@@ -300,7 +287,6 @@ export class TasksApi extends BaseApi {
|
||||
* Update a task
|
||||
*
|
||||
* You can edit only name, description and dueDate (ISO 8601 string).
|
||||
*
|
||||
* @param taskId taskId
|
||||
* @param updated updated
|
||||
* @returns Promise<TaskRepresentation>
|
||||
|
@@ -23,7 +23,6 @@ import { BaseApi } from './base.api';
|
||||
export class TemporaryApi extends BaseApi {
|
||||
/**
|
||||
* completeTasks
|
||||
*
|
||||
* @param userId userId
|
||||
* @param processDefinitionKey processDefinitionKey
|
||||
*/
|
||||
@@ -51,7 +50,6 @@ export class TemporaryApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* generateData
|
||||
*
|
||||
* @param userId userId
|
||||
* @param processDefinitionKey processDefinitionKey
|
||||
*/
|
||||
|
@@ -32,7 +32,6 @@ import { AppIdQuery } from './types';
|
||||
export class UserFiltersApi extends BaseApi {
|
||||
/**
|
||||
* Create a process instance filter
|
||||
*
|
||||
* @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation
|
||||
* @returns Promise<UserProcessInstanceFilterRepresentation>
|
||||
*/
|
||||
@@ -49,7 +48,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a task filter
|
||||
*
|
||||
* @param userTaskFilterRepresentation userTaskFilterRepresentation
|
||||
* @returns Promise<UserTaskFilterRepresentation>
|
||||
*/
|
||||
@@ -65,7 +63,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a process instance filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -84,7 +81,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a task filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -103,7 +99,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a process instance filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @returns Promise<UserProcessInstanceFilterRepresentation>
|
||||
*/
|
||||
@@ -124,7 +119,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
* List process instance filters
|
||||
*
|
||||
* Returns filters for the current user, optionally filtered by *appId*.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation>
|
||||
*/
|
||||
@@ -137,7 +131,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a task filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @returns Promise<UserTaskFilterRepresentation>
|
||||
*/
|
||||
@@ -159,7 +152,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
* List task filters
|
||||
*
|
||||
* Returns filters for the current user, optionally filtered by *appId*.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<ResultListDataRepresentationUserTaskFilterRepresentation>
|
||||
*/
|
||||
@@ -173,7 +165,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Re-order the list of user process instance filters
|
||||
*
|
||||
* @param filterOrderRepresentation filterOrderRepresentation
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -188,7 +179,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Re-order the list of user task filters
|
||||
*
|
||||
* @param filterOrderRepresentation filterOrderRepresentation
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -203,7 +193,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a process instance filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @param userProcessInstanceFilterRepresentation userProcessInstanceFilterRepresentation
|
||||
* @returns Promise<UserProcessInstanceFilterRepresentation>
|
||||
@@ -228,7 +217,6 @@ export class UserFiltersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a task filter
|
||||
*
|
||||
* @param userFilterId userFilterId
|
||||
* @param userTaskFilterRepresentation userTaskFilterRepresentation
|
||||
* @returns Promise<UserTaskFilterRepresentation>
|
||||
|
@@ -27,7 +27,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class UserProfileApi extends BaseApi {
|
||||
/**
|
||||
* Change user password
|
||||
*
|
||||
* @param changePasswordRepresentation changePasswordRepresentation
|
||||
* @return Promise<{}>
|
||||
*/
|
||||
@@ -43,7 +42,6 @@ export class UserProfileApi extends BaseApi {
|
||||
/**
|
||||
* Retrieve user profile picture
|
||||
* Generally returns an image file
|
||||
*
|
||||
* @return Promise<Blob>
|
||||
*/
|
||||
getProfilePicture(): Promise<any> {
|
||||
@@ -65,7 +63,6 @@ export class UserProfileApi extends BaseApi {
|
||||
* Get user profile
|
||||
* This operation returns account information for the current user.
|
||||
* This is useful to get the name, email, the groups that the user is part of, the user picture, etc.
|
||||
*
|
||||
* @return Promise<UserRepresentation>
|
||||
*/
|
||||
getProfile(): Promise<UserRepresentation> {
|
||||
@@ -78,7 +75,6 @@ export class UserProfileApi extends BaseApi {
|
||||
/**
|
||||
* Update user profile.
|
||||
* Only a first name, last name, email and company can be updated
|
||||
*
|
||||
* @param userRepresentation userRepresentation
|
||||
* @return Promise<UserRepresentation>
|
||||
*/
|
||||
@@ -94,7 +90,6 @@ export class UserProfileApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Change user profile picture
|
||||
*
|
||||
* @param file file
|
||||
* @return Promise<ImageUploadRepresentation>
|
||||
*/
|
||||
|
@@ -41,7 +41,6 @@ export class UsersApi extends BaseApi {
|
||||
* Execute an action for a specific user
|
||||
*
|
||||
* Typical action is updating/reset password
|
||||
*
|
||||
* @param userId userId
|
||||
* @param actionRequest actionRequest
|
||||
* @returns Promise<{}>
|
||||
@@ -63,7 +62,6 @@ export class UsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Stream user profile picture
|
||||
*
|
||||
* @param userId userId
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -73,7 +71,6 @@ export class UsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a user
|
||||
*
|
||||
* @param userId userId
|
||||
* @returns Promise<UserRepresentation>
|
||||
*/
|
||||
@@ -95,7 +92,6 @@ export class UsersApi extends BaseApi {
|
||||
* Query users
|
||||
*
|
||||
* A common use case is that a user wants to select another user (eg. when assigning a task) or group.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<ResultListDataRepresentationLightUserRepresentation>
|
||||
*/
|
||||
@@ -121,7 +117,6 @@ export class UsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Request a password reset
|
||||
*
|
||||
* @param resetPassword resetPassword
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -136,7 +131,6 @@ export class UsersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a user
|
||||
*
|
||||
* @param userId userId
|
||||
* @param userRequest userRequest
|
||||
* @returns Promise<UserRepresentation>
|
||||
|
@@ -29,7 +29,6 @@ export class AuthenticationApi extends BaseApi {
|
||||
* Create ticket (login)
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param ticketBodyCreate The user credential.
|
||||
* @returns Promise<TicketEntry>
|
||||
*/
|
||||
@@ -45,7 +44,6 @@ export class AuthenticationApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get ticket (login)
|
||||
*
|
||||
* @returns Promise<TicketEntry>
|
||||
*/
|
||||
getTicket(): Promise<TicketEntry> {
|
||||
@@ -59,7 +57,6 @@ export class AuthenticationApi extends BaseApi {
|
||||
* Delete ticket (logout)
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
deleteTicket(): Promise<void> {
|
||||
@@ -77,7 +74,6 @@ export class AuthenticationApi extends BaseApi {
|
||||
* For example, you can pass the Authorization request header using Javascript:
|
||||
* Javascript
|
||||
* request.setRequestHeader (\"Authorization\", \"Basic \" + btoa(ticket));
|
||||
*
|
||||
* @returns Promise<ValidTicketEntry>
|
||||
*/
|
||||
validateTicket(): Promise<ValidTicketEntry> {
|
||||
|
@@ -24,7 +24,6 @@ import { BaseApi } from './base.api';
|
||||
export class ClassesApi extends BaseApi {
|
||||
/**
|
||||
* Gets the class information for the specified className.
|
||||
*
|
||||
* @param className The identifier of the class.
|
||||
* @returns a Promise, with data of type ClassDescription
|
||||
*/
|
||||
|
@@ -18,125 +18,159 @@
|
||||
import { BaseApi } from './base.api';
|
||||
|
||||
export class ContentApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get thumbnail URL for the given nodeId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getDocumentThumbnailUrl(nodeId: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId +
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/renditions/doclib/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get preview URL for the given nodeId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getDocumentPreviewUrl(nodeId: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId +
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/renditions/imgpreview/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get content URL for the given nodeId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getContentUrl(nodeId: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId +
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get rendition URL for the given nodeId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param encoding of the document
|
||||
* @param [attachment=false] retrieve content as an attachment for download
|
||||
* @param [attachment] retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getRenditionUrl(nodeId: string, encoding: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId +
|
||||
'/renditions/' + encoding + '/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/renditions/' +
|
||||
encoding +
|
||||
'/content' +
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get version's rendition URL for the given nodeId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param versionId The ID of the version
|
||||
* @param encoding of the document
|
||||
* @param [attachment=false] retrieve content as an attachment for download
|
||||
* @param [attachment] retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getVersionRenditionUrl(nodeId: string, versionId: string, encoding: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId + '/versions/' + versionId +
|
||||
'/renditions/' + encoding + '/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/versions/' +
|
||||
versionId +
|
||||
'/renditions/' +
|
||||
encoding +
|
||||
'/content' +
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get content URL for the given nodeId and versionId
|
||||
*
|
||||
* @param nodeId The ID of the document node
|
||||
* @param versionId The ID of the version
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @param [ticket] Custom ticket to use for authentication
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean, ticket?: string): string {
|
||||
return this.apiClient.basePath + '/nodes/' + nodeId +
|
||||
'/versions/' + versionId + '/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket);
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/nodes/' +
|
||||
nodeId +
|
||||
'/versions/' +
|
||||
versionId +
|
||||
'/content' +
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false') +
|
||||
this.apiClient.getAlfTicket(ticket)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get content url for the given shared link id
|
||||
*
|
||||
* @param linkId - The ID of the shared link
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getSharedLinkContentUrl(linkId: string, attachment?: boolean): string {
|
||||
return this.apiClient.basePath + '/shared-links/' + linkId +
|
||||
'/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false');
|
||||
return this.apiClient.basePath + '/shared-links/' + linkId + '/content' + '?attachment=' + (attachment ? 'true' : 'false');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the rendition content for file with shared link identifier sharedId.
|
||||
*
|
||||
* @param sharedId - The identifier of a shared link to a file.
|
||||
* @param renditionId - The name of a thumbnail rendition, for example doclib, or pdf.
|
||||
* @param [attachment=false] Retrieve content as an attachment for download
|
||||
* @param [attachment] Retrieve content as an attachment for download
|
||||
* @returns The URL address pointing to the content.
|
||||
*/
|
||||
getSharedLinkRenditionUrl(sharedId: string, renditionId: string, attachment?: boolean): string {
|
||||
return this.apiClient.basePath + '/shared-links/' + sharedId +
|
||||
'/renditions/' + renditionId + '/content' +
|
||||
'?attachment=' + (attachment ? 'true' : 'false');
|
||||
return (
|
||||
this.apiClient.basePath +
|
||||
'/shared-links/' +
|
||||
sharedId +
|
||||
'/renditions/' +
|
||||
renditionId +
|
||||
'/content' +
|
||||
'?attachment=' +
|
||||
(attachment ? 'true' : 'false')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@@ -27,7 +27,6 @@ export class WebscriptApi extends BaseApi {
|
||||
* Call a get on a Web Scripts see https://wiki.alfresco.com/wiki/Web_Scripts for more details about Web Scripts
|
||||
* Url syntax definition : http[s]://<host>:<port>/[<contextPath>/]/<servicePath>[/<scriptPath>][?<scriptArgs>]
|
||||
* example: http://localhost:8081/share/service/mytasks?priority=1
|
||||
*
|
||||
* @param httpMethod GET, POST, PUT and DELETE
|
||||
* @param scriptPath script path
|
||||
* @param scriptArgs script arguments
|
||||
|
@@ -18,7 +18,6 @@
|
||||
export class DateAlfresco extends Date {
|
||||
/**
|
||||
* Parses an ISO-8601 string representation of a date value.
|
||||
*
|
||||
* @param dateToConvert The date value as a string.
|
||||
* @returns The parsed date object.
|
||||
*/
|
||||
@@ -41,7 +40,6 @@ export class DateAlfresco extends Date {
|
||||
|
||||
/**
|
||||
* Parses the date component of a ISO-8601 string representation of a date value.
|
||||
*
|
||||
* @param dateToConvert The date value as a string.
|
||||
* @returns The parsed date object.
|
||||
*/
|
||||
@@ -50,7 +48,7 @@ export class DateAlfresco extends Date {
|
||||
// return new Date(str.replace(/T/i, ' '));
|
||||
|
||||
// Compatible with Safari 9.1.2
|
||||
const dateParts = dateToConvert.split(/[^0-9]/).map(function(s) {
|
||||
const dateParts = dateToConvert.split(/[^0-9]/).map(function (s) {
|
||||
return parseInt(s, 10);
|
||||
});
|
||||
return new Date(
|
||||
@@ -68,7 +66,6 @@ export class DateAlfresco extends Date {
|
||||
|
||||
/**
|
||||
* Parses the timezone component of a ISO-8601 string representation of a date value.
|
||||
*
|
||||
* @param dateToConvert The timezone offset as a string, e.g. '+0000', '+2000' or '-0500'.
|
||||
* @returns The number of minutes offset from UTC.
|
||||
*/
|
||||
|
@@ -29,7 +29,6 @@ export class ActionsApi extends BaseApi {
|
||||
* Retrieve the details of an action definition
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param actionDefinitionId The identifier of an action definition.
|
||||
* @returns Promise<ActionDefinitionEntry>
|
||||
*/
|
||||
@@ -50,7 +49,6 @@ export class ActionsApi extends BaseApi {
|
||||
* Execute an action
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param actionBodyExec Action execution details
|
||||
* @returns Promise<ActionExecResultEntry>
|
||||
*/
|
||||
@@ -76,8 +74,6 @@ export class ActionsApi extends BaseApi {
|
||||
* You can use any of the following fields to order the results:
|
||||
* - name
|
||||
* - title
|
||||
*
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
* sort the list by one or more fields.
|
||||
@@ -114,7 +110,6 @@ export class ActionsApi extends BaseApi {
|
||||
* You can use any of the following fields to order the results:
|
||||
* - name
|
||||
* - title
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
|
@@ -30,7 +30,6 @@ export class ActivitiesApi extends BaseApi {
|
||||
*
|
||||
* Gets a list of activities for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.who A filter to include the user's activities only me, other user's activities only others'
|
||||
|
@@ -25,7 +25,6 @@ import { BaseApi } from '../../hxi-connector-api/api/base.api';
|
||||
export class AgentsApi extends BaseApi {
|
||||
/**
|
||||
* Gets all agents.
|
||||
*
|
||||
* @returns AgentPaging object containing the agents.
|
||||
*/
|
||||
getAgents(): Promise<AgentPaging> {
|
||||
|
@@ -37,7 +37,6 @@ export class AuditApi extends BaseApi {
|
||||
* - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')
|
||||
* - where=(id BETWEEN ('1234', '4321')
|
||||
* You must have admin rights to delete audit information.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param where Audit entries to permanently delete for an audit application, given an inclusive time period or range of ids. For example:
|
||||
* - where=(createdAt BETWEEN ('2017-06-02T12:13:51.593+01:00' , '2017-06-04T10:05:16.536+01:00')
|
||||
@@ -68,7 +67,6 @@ export class AuditApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.
|
||||
* You must have admin rights to delete audit information.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param auditEntryId The identifier of an audit entry.
|
||||
* @return Promise<{}>
|
||||
@@ -95,7 +93,6 @@ export class AuditApi extends BaseApi {
|
||||
* You must have admin rights to retrieve audit information.
|
||||
*
|
||||
* You can use the **include** parameter to return the minimum and/or maximum audit record id for the application.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<AuditApp>
|
||||
@@ -124,7 +121,6 @@ export class AuditApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.2 and newer versions.
|
||||
* You must have admin rights to access audit information.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param auditEntryId The identifier of an audit entry.
|
||||
* @param opts Optional parameters
|
||||
@@ -164,7 +160,6 @@ export class AuditApi extends BaseApi {
|
||||
* - Alfresco Sync Service (used by Enterprise Cloud Sync)
|
||||
*
|
||||
* You must have admin rights to retrieve audit information.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @return Promise<AuditAppPaging>
|
||||
*/
|
||||
@@ -201,7 +196,6 @@ export class AuditApi extends BaseApi {
|
||||
*
|
||||
* For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.
|
||||
* You must have admin rights to retrieve audit information.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
@@ -262,7 +256,6 @@ export class AuditApi extends BaseApi {
|
||||
*
|
||||
* For example, specifying orderBy=createdAt DESC returns audit entries in descending **createdAt** order.
|
||||
* This relies on the pre-configured 'alfresco-access' audit application.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
@@ -319,7 +312,6 @@ export class AuditApi extends BaseApi {
|
||||
* Note, it is still possible to query &/or delete any existing audit entries even
|
||||
* if auditing is disabled for the audit application.
|
||||
* You must have admin rights to update audit application.
|
||||
*
|
||||
* @param auditApplicationId The identifier of an audit application.
|
||||
* @param auditAppBodyUpdate The audit application to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -34,7 +34,6 @@ export class CategoriesApi extends BaseApi {
|
||||
* The parameter categoryId can be set to the alias -root- to obtain a list of top level categories.
|
||||
*
|
||||
* You can use the **include** parameter to return additional **values** information.
|
||||
*
|
||||
* @param categoryId The identifier of a category.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<CategoryPaging>
|
||||
@@ -66,7 +65,6 @@ export class CategoriesApi extends BaseApi {
|
||||
*
|
||||
* Get a specific category with categoryId.
|
||||
* You can use the **include** parameter to return additional **values** information.
|
||||
*
|
||||
* @param categoryId The identifier of a category.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<CategoryEntry>
|
||||
@@ -93,7 +91,6 @@ export class CategoriesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List of categories that node is assigned to
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<CategoryPaging>
|
||||
@@ -125,7 +122,6 @@ export class CategoriesApi extends BaseApi {
|
||||
*
|
||||
* This will cause everything to be removed from the category.
|
||||
* You must have admin rights to delete a category.
|
||||
*
|
||||
* @param categoryId The identifier of a category.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -144,7 +140,6 @@ export class CategoriesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Unassign a node from category
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param categoryId The identifier of a category.
|
||||
* @returns Promise<{}>
|
||||
@@ -169,7 +164,6 @@ export class CategoriesApi extends BaseApi {
|
||||
*
|
||||
* Updates the category **categoryId**.
|
||||
* You must have admin rights to update a category.
|
||||
*
|
||||
* @param categoryId The identifier of a category.
|
||||
* @param categoryBodyUpdate The updated category
|
||||
* @param opts Optional parameters
|
||||
@@ -203,7 +197,6 @@ export class CategoriesApi extends BaseApi {
|
||||
* Creates new categories within the category **categoryId**.
|
||||
* The parameter categoryId can be set to the alias -root- to create a new top level category.
|
||||
* You must have admin rights to create a category.
|
||||
*
|
||||
* @param categoryId The identifier of a category.
|
||||
* @param categoryBodyCreate List of categories to create.
|
||||
* @param opts Optional parameters.
|
||||
@@ -233,7 +226,6 @@ export class CategoriesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Assign a node to a category
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param categoryLinkBodyCreate The new category link
|
||||
* @param opts Optional parameters
|
||||
|
@@ -29,7 +29,6 @@ import { ContentFieldsQuery, ContentPagingQuery } from './types';
|
||||
export class CommentsApi extends BaseApi {
|
||||
/**
|
||||
* Create a comment
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param commentBodyCreate The comment text. Note that you can also provide a list of comments.
|
||||
* @param opts Optional parameters
|
||||
@@ -58,7 +57,6 @@ export class CommentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a comment
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param commentId The identifier of a comment.
|
||||
* @returns Promise<{}>
|
||||
@@ -82,7 +80,6 @@ export class CommentsApi extends BaseApi {
|
||||
* List comments
|
||||
*
|
||||
* Gets a list of comments for the node **nodeId**, sorted chronologically with the newest comment first.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<CommentPaging>
|
||||
@@ -110,7 +107,6 @@ export class CommentsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a comment
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param commentId The identifier of a comment.
|
||||
* @param commentBodyUpdate The JSON representing the comment to be updated.
|
||||
|
@@ -36,7 +36,6 @@ export class DownloadsApi extends BaseApi {
|
||||
* By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour)
|
||||
* Information about the existing progress at the time of cancelling can be retrieved by calling the **GET /downloads/{downloadId}** endpoint
|
||||
* The cancel operation is done asynchronously.
|
||||
*
|
||||
* @param downloadId The identifier of a download node.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -58,7 +57,6 @@ export class DownloadsApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
* **Note:** The content of the download node can be obtained using the **GET /nodes/{downloadId}/content** endpoint
|
||||
*
|
||||
* @param downloadBodyCreate The nodeIds the content of which will be zipped, which zip will be set as the content of our download node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.fields A list of field names. You can use this parameter to restrict the fields
|
||||
@@ -86,7 +84,6 @@ export class DownloadsApi extends BaseApi {
|
||||
* Get a download
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
*
|
||||
* @param downloadId The identifier of a download node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.fields A list of field names. You can use this parameter to restrict the fields
|
||||
|
@@ -30,7 +30,6 @@ export class FavoritesApi extends BaseApi {
|
||||
*
|
||||
* Favorite a **site**, **file**, or **folder** in the repository.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param favoriteBodyCreate An object identifying the entity to be favorited.
|
||||
* The object consists of a single property which is an object with the name site, file, or folder.
|
||||
@@ -76,7 +75,6 @@ export class FavoritesApi extends BaseApi {
|
||||
* Create a site favorite
|
||||
*
|
||||
* **Note:** this endpoint is deprecated as of Alfresco 4.2, and will be removed in the future. Use /people/{personId}/favorites instead.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param favoriteSiteBodyCreate The id of the site to favorite.
|
||||
* @param opts Optional parameters
|
||||
@@ -106,7 +104,6 @@ export class FavoritesApi extends BaseApi {
|
||||
* Delete a favorite
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param favoriteId The identifier of a favorite.
|
||||
* @returns Promise<{}>
|
||||
@@ -133,7 +130,6 @@ export class FavoritesApi extends BaseApi {
|
||||
* Use /people/{personId}/favorites/{favoriteId} instead.
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @returns Promise<{}>
|
||||
@@ -158,7 +154,6 @@ export class FavoritesApi extends BaseApi {
|
||||
*
|
||||
* Gets favorite **favoriteId** for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param favoriteId The identifier of a favorite.
|
||||
* @param opts Optional parameters
|
||||
@@ -201,7 +196,6 @@ export class FavoritesApi extends BaseApi {
|
||||
* Use /people/{personId}/favorites/{favoriteId} instead.
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
@@ -240,7 +234,6 @@ export class FavoritesApi extends BaseApi {
|
||||
* Use /people/{personId}/favorites instead.
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SitePaging>
|
||||
@@ -271,7 +264,6 @@ export class FavoritesApi extends BaseApi {
|
||||
*
|
||||
* Gets a list of favorites for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts optional parameters
|
||||
* @returns Promise<FavoritePaging>
|
||||
|
@@ -75,7 +75,6 @@ export class GroupsApi extends BaseApi {
|
||||
* The group will be created in the **APP.DEFAULT** and **AUTH.ALF** zones.
|
||||
*
|
||||
* You must have admin rights to create a group.
|
||||
*
|
||||
* @param groupBodyCreate The group to create.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<GroupEntry>
|
||||
@@ -104,7 +103,6 @@ export class GroupsApi extends BaseApi {
|
||||
* If the added group was previously a root group then it becomes a non-root group since it now has a parent.
|
||||
* It is an error to specify an **id** that does not exist.
|
||||
* You must have admin rights to create a group membership.
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param groupMembershipBodyCreate The group membership to add (person or sub-group).
|
||||
* @param opts Optional parameters
|
||||
@@ -140,7 +138,6 @@ export class GroupsApi extends BaseApi {
|
||||
* In this case, removing a group member does not delete the person or sub-group itself.
|
||||
* If a removed sub-group no longer has any parent groups then it becomes a root group.
|
||||
* You must have admin rights to delete a group.
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise
|
||||
@@ -174,7 +171,6 @@ export class GroupsApi extends BaseApi {
|
||||
* Delete group member **groupMemberId** (person or sub-group) from group **groupId**.
|
||||
* Removing a group member does not delete the person or sub-group itself.\
|
||||
* If a removed sub-group no longer has any parent groups then it becomes a root group.
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param groupMemberId The identifier of a person or group.
|
||||
* @returns Promise<{}>
|
||||
@@ -201,7 +197,6 @@ export class GroupsApi extends BaseApi {
|
||||
*
|
||||
* Get details for group **groupId**.
|
||||
* You can use the **include** parameter to return additional information.
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<GroupEntry>
|
||||
@@ -241,7 +236,6 @@ export class GroupsApi extends BaseApi {
|
||||
* You can override the default by using the **orderBy** parameter. You can specify one of the following fields in the **orderBy** parameter:
|
||||
* - id
|
||||
* - displayName
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<GroupMemberPaging>
|
||||
@@ -273,7 +267,6 @@ export class GroupsApi extends BaseApi {
|
||||
* List group memberships
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.skipCount The number of entities that exist in the collection before those included in this list.
|
||||
@@ -327,7 +320,6 @@ export class GroupsApi extends BaseApi {
|
||||
* List groups
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<GroupPaging>
|
||||
*/
|
||||
@@ -353,7 +345,6 @@ export class GroupsApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
* You must have admin rights to update a group.
|
||||
*
|
||||
* @param groupId The identifier of a group.
|
||||
* @param groupBodyUpdate The group information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -28,7 +28,6 @@ import { ContentFieldsQuery, ContentPagingQuery } from './types';
|
||||
export class NetworksApi extends BaseApi {
|
||||
/**
|
||||
* Get a network
|
||||
*
|
||||
* @param networkId The identifier of a network.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PersonNetworkEntry>
|
||||
@@ -56,7 +55,6 @@ export class NetworksApi extends BaseApi {
|
||||
* Get network information
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param networkId The identifier of a network.
|
||||
* @param opts Optional parameters
|
||||
@@ -88,7 +86,6 @@ export class NetworksApi extends BaseApi {
|
||||
*
|
||||
* Gets a list of network memberships for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PersonNetworkPaging>
|
||||
|
@@ -91,7 +91,6 @@ export class NodesApi extends BaseApi {
|
||||
* If the source **nodeId** is a folder, then all of its children are also copied.
|
||||
*
|
||||
* If the source **nodeId** is a file, it's properties, aspects and tags are copied, it's ratings, comments and locks are not.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param nodeBodyCopy The targetParentId and, optionally, a new name which should include the file extension.
|
||||
* @param opts Optional parameters
|
||||
@@ -123,7 +122,6 @@ export class NodesApi extends BaseApi {
|
||||
* Create node association
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a source node.
|
||||
* @param associationBodyCreate The target node id and assoc type.
|
||||
* @param opts Optional parameters
|
||||
@@ -159,7 +157,6 @@ export class NodesApi extends BaseApi {
|
||||
* Create a node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node. You can also use one of these well-known aliases:
|
||||
* -my-
|
||||
* -shared-
|
||||
@@ -223,7 +220,6 @@ export class NodesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a folder
|
||||
*
|
||||
* @param name - folder name
|
||||
* @param relativePath - The relativePath specifies the folder structure to create relative to the node identified by nodeId.
|
||||
* @param nodeId default value root.The identifier of a node where add the folder. You can also use one of these well-known aliases: -my- | -shared- | -root-
|
||||
@@ -246,7 +242,6 @@ export class NodesApi extends BaseApi {
|
||||
* Create secondary child
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a parent node.
|
||||
* @param secondaryChildAssociationBodyCreate The child node id and assoc type.
|
||||
* @param opts Optional parameters
|
||||
@@ -292,7 +287,6 @@ export class NodesApi extends BaseApi {
|
||||
* If the association type is **not** specified, then all peer associations, of any type, in the direction
|
||||
* from source to target, are deleted.
|
||||
* **Note:** After removal of the peer association, or associations, from source to target, the two nodes may still have peer associations in the other direction.
|
||||
*
|
||||
* @param nodeId The identifier of a source node.
|
||||
* @param targetId The identifier of a target node.
|
||||
* @param opts Optional parameters
|
||||
@@ -333,7 +327,6 @@ export class NodesApi extends BaseApi {
|
||||
* child association is restored. This applies recursively for any primary children. No other secondary child associations or
|
||||
* peer associations are restored for any of the nodes in the primary parent-child hierarchy of restored nodes, regardless of whether the original
|
||||
* associations were to nodes inside or outside the restored hierarchy.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.permanent If **true** then the node is deleted permanently, without moving to the trashcan.
|
||||
@@ -359,7 +352,6 @@ export class NodesApi extends BaseApi {
|
||||
}
|
||||
/**
|
||||
* Delete multiple nodes
|
||||
*
|
||||
* @param nodeIds The list of node IDs to delete.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.permanent If **true** then nodes are deleted permanently, without moving to the trashcan.
|
||||
@@ -388,7 +380,6 @@ export class NodesApi extends BaseApi {
|
||||
* If the association type is **not** specified, then all secondary child associations, of any type in the direction
|
||||
* from parent to secondary child, will be deleted. The child will still have a primary parent and may still be
|
||||
* associated as a secondary child with other secondary parents.
|
||||
*
|
||||
* @param nodeId The identifier of a parent node.
|
||||
* @param childId The identifier of a child node.
|
||||
* @param opts Optional parameters
|
||||
@@ -417,7 +408,6 @@ export class NodesApi extends BaseApi {
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* You can use the **include** parameter to return additional information.
|
||||
*
|
||||
* @param nodeId The identifier of a node. You can also use one of these well-known aliases:
|
||||
* - -my-
|
||||
* - -shared-
|
||||
@@ -451,7 +441,6 @@ export class NodesApi extends BaseApi {
|
||||
* Get node content
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.attachment **true** enables a web browser to download the file as an attachment.
|
||||
@@ -536,7 +525,6 @@ export class NodesApi extends BaseApi {
|
||||
* - createdAt
|
||||
* - modifiedByUser
|
||||
* - createdByUser
|
||||
*
|
||||
* @param nodeId The identifier of a node. You can also use one of these well-known aliases:
|
||||
* - -my-
|
||||
* - -shared-
|
||||
@@ -600,7 +588,6 @@ export class NodesApi extends BaseApi {
|
||||
*
|
||||
* Gets a list of parent nodes that are associated with the current child **nodeId**.
|
||||
* The list includes both the primary parent and any secondary parents.
|
||||
*
|
||||
* @param nodeId The identifier of a child node. You can also use one of these well-known aliases:
|
||||
* - -my-
|
||||
* - -shared-
|
||||
@@ -651,7 +638,6 @@ export class NodesApi extends BaseApi {
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* Gets a list of secondary child nodes that are associated with the current parent **nodeId**, via a secondary child association.
|
||||
*
|
||||
* @param nodeId The identifier of a parent node. You can also use one of these well-known aliases:
|
||||
* -my-
|
||||
* -shared-
|
||||
@@ -698,7 +684,6 @@ export class NodesApi extends BaseApi {
|
||||
* List source associations
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a target node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list by **assocType**. Here's an example:
|
||||
@@ -738,7 +723,6 @@ export class NodesApi extends BaseApi {
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* Gets a list of target nodes that are associated with the current source **nodeId**.
|
||||
*
|
||||
* @param nodeId The identifier of a source node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list by **assocType**. Here's an example:
|
||||
@@ -781,7 +765,6 @@ export class NodesApi extends BaseApi {
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* If a lock on the node cannot be taken, then an error is returned.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param nodeBodyLock Lock details.
|
||||
* @param opts Optional parameters
|
||||
@@ -818,7 +801,6 @@ export class NodesApi extends BaseApi {
|
||||
* The moved node retains its name unless you specify a new **name** in the request body.
|
||||
* If the source **nodeId** is a folder, then its children are also moved.
|
||||
* The move will effectively change the primary parent.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param nodeBodyMove The targetParentId and, optionally, a new name which should include the file extension.
|
||||
* @param opts Optional parameters
|
||||
@@ -853,7 +835,6 @@ export class NodesApi extends BaseApi {
|
||||
*
|
||||
* The current user must be the owner of the locks or have admin rights, otherwise an error is returned.
|
||||
* If a lock on the node cannot be released, then an error is returned.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<NodeEntry>
|
||||
@@ -882,7 +863,6 @@ export class NodesApi extends BaseApi {
|
||||
* Update a node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param nodeBodyUpdate The node information to update.
|
||||
* @param opts Optional parameters
|
||||
@@ -913,7 +893,6 @@ export class NodesApi extends BaseApi {
|
||||
* Update node content
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param contentBodyUpdate The binary content
|
||||
* @param opts Optional parameters
|
||||
@@ -965,7 +944,6 @@ export class NodesApi extends BaseApi {
|
||||
* Generate a direct access content url for a given node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.1 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @returns Promise<DirectAccessUrlEntry>
|
||||
*/
|
||||
|
@@ -30,7 +30,6 @@ export class PeopleApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
* **Note:** setting properties of type d:content and d:category are not supported.
|
||||
*
|
||||
* @param personBodyCreate The person details.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PersonEntry>
|
||||
@@ -58,7 +57,6 @@ export class PeopleApi extends BaseApi {
|
||||
* Deletes the avatar image related to person **personId**.
|
||||
* You must be the person or have admin rights to update a person's avatar.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -84,7 +82,6 @@ export class PeopleApi extends BaseApi {
|
||||
* the **placeholder** query parameter can be optionally used to request a placeholder image to be returned.
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.attachment **true** enables a web browser to download the file as an attachment.
|
||||
@@ -131,7 +128,6 @@ export class PeopleApi extends BaseApi {
|
||||
* Get a person
|
||||
*
|
||||
* You can use the `-me-` string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PersonEntry>
|
||||
@@ -171,7 +167,6 @@ export class PeopleApi extends BaseApi {
|
||||
* - id
|
||||
* - firstName
|
||||
* - lastName
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
* sort the list by one or more fields.
|
||||
@@ -209,7 +204,6 @@ export class PeopleApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param clientBody The client name to send email with app-specific url.
|
||||
* @returns Promise<{}>
|
||||
@@ -234,7 +228,6 @@ export class PeopleApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2.1 and newer versions.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param passwordResetBody The reset password details
|
||||
* @returns Promise<{}>
|
||||
@@ -267,7 +260,6 @@ export class PeopleApi extends BaseApi {
|
||||
* You must be the person or have admin rights to update a person's avatar.
|
||||
*
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param contentBodyUpdate The binary content
|
||||
* @returns Promise<{}>
|
||||
@@ -304,7 +296,6 @@ export class PeopleApi extends BaseApi {
|
||||
* Admin users cannot be disabled by setting enabled to false.
|
||||
* Non-admin users may not disable themselves.
|
||||
* **Note:** setting properties of type d:content and d:category are not supported.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param personBodyUpdate The person details.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -30,7 +30,6 @@ export class PreferencesApi extends BaseApi {
|
||||
*
|
||||
* Gets a specific preference for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param preferenceName The name of the preference.
|
||||
* @param opts Optional parameters
|
||||
@@ -63,7 +62,6 @@ export class PreferencesApi extends BaseApi {
|
||||
* Note that each preference consists of an **id** and a **value**.
|
||||
*
|
||||
* The **value** can be of any JSON type.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PreferencePaging>
|
||||
|
@@ -32,7 +32,6 @@ export class ProbesApi extends BaseApi {
|
||||
* The readiness probe is normally only used to check repository startup.
|
||||
* The liveness probe should then be used to check the repository is still responding to requests.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param probeId The name of the probe:
|
||||
* - -ready-
|
||||
* - -live-
|
||||
|
@@ -79,7 +79,6 @@ export class QueriesApi extends BaseApi {
|
||||
* - name
|
||||
* - modifiedAt
|
||||
* - createdAt
|
||||
*
|
||||
* @param term The term to search for.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<NodePaging>
|
||||
@@ -122,7 +121,6 @@ export class QueriesApi extends BaseApi {
|
||||
* - id
|
||||
* - firstName
|
||||
* - lastName
|
||||
*
|
||||
* @param term The term to search for.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<PersonPaging>
|
||||
@@ -164,7 +162,6 @@ export class QueriesApi extends BaseApi {
|
||||
* - id
|
||||
* - title
|
||||
* - description
|
||||
*
|
||||
* @param term The term to search for.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SitePaging>
|
||||
|
@@ -29,7 +29,6 @@ import { ContentFieldsQuery, ContentPagingQuery } from './types';
|
||||
export class RatingsApi extends BaseApi {
|
||||
/**
|
||||
* Create a rating
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param ratingBodyCreate For \"myRating\" the type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar.
|
||||
* For example, to \"like\" a file the following body would be used:
|
||||
@@ -67,7 +66,6 @@ export class RatingsApi extends BaseApi {
|
||||
* Delete a rating
|
||||
*
|
||||
* Deletes rating **ratingId** from node **nodeId**.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param ratingId The identifier of a rating.
|
||||
* @returns Promise<{}>
|
||||
@@ -91,7 +89,6 @@ export class RatingsApi extends BaseApi {
|
||||
* Get a rating
|
||||
*
|
||||
* Get the specific rating **ratingId** on node **nodeId**.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param ratingId The identifier of a rating.
|
||||
* @param opts Optional parameters
|
||||
@@ -122,7 +119,6 @@ export class RatingsApi extends BaseApi {
|
||||
* List ratings
|
||||
*
|
||||
* Gets a list of ratings for node **nodeId**.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RatingPaging>
|
||||
|
@@ -27,7 +27,6 @@ export class RenditionsApi extends BaseApi {
|
||||
* Create rendition
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionBodyCreate The rendition \"id\".
|
||||
* @returns Promise<{}>
|
||||
@@ -51,7 +50,6 @@ export class RenditionsApi extends BaseApi {
|
||||
* Get rendition information
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @returns Promise<RenditionEntry>
|
||||
@@ -76,7 +74,6 @@ export class RenditionsApi extends BaseApi {
|
||||
* Get rendition content
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @param opts Optional parameters
|
||||
@@ -143,7 +140,6 @@ export class RenditionsApi extends BaseApi {
|
||||
* You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where**
|
||||
* clause will return just the CREATED renditions:
|
||||
* - (status='CREATED')
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where A string to restrict the returned objects by using a predicate.
|
||||
@@ -168,7 +164,6 @@ export class RenditionsApi extends BaseApi {
|
||||
* Generate a direct access content url for a given rendition of a node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.1 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The identifier of a version
|
||||
* @returns Promise<DirectAccessUrlEntry>
|
||||
|
@@ -24,7 +24,6 @@ import { BaseApi } from '../../hxi-connector-api/api/base.api';
|
||||
export class SearchAiApi extends BaseApi {
|
||||
/**
|
||||
* Ask a question to the AI.
|
||||
*
|
||||
* @param questions QuestionRequest array containing questions to ask.
|
||||
* @returns QuestionModel object containing information about questions.
|
||||
*/
|
||||
@@ -41,7 +40,6 @@ export class SearchAiApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get an answer to specific question.
|
||||
*
|
||||
* @param questionId The ID of the question to get an answer for.
|
||||
* @returns AiAnswerEntry object containing the answer.
|
||||
*/
|
||||
@@ -53,7 +51,6 @@ export class SearchAiApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the knowledge retrieval configuration.
|
||||
*
|
||||
* @returns KnowledgeRetrievalConfigEntry object containing the configuration.
|
||||
*/
|
||||
getConfig(): Promise<KnowledgeRetrievalConfigEntry> {
|
||||
|
@@ -34,7 +34,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* Create a shared link to a file
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param sharedLinkBodyCreate The nodeId to create a shared link for.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SharedLinkEntry>
|
||||
@@ -59,7 +58,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* Deletes a shared link
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -80,7 +78,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* Email shared link
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @param sharedLinkBodyEmail The shared link email to send.
|
||||
* @returns Promise<{}>
|
||||
@@ -105,7 +102,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SharedLinkEntry>
|
||||
@@ -134,7 +130,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.attachment **true** enables a web browser to download the file as an attachment.
|
||||
@@ -190,7 +185,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* which means the rendition is available to view/download.
|
||||
*
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @returns Promise<RenditionEntry>
|
||||
@@ -216,7 +210,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @param opts Optional parameters
|
||||
@@ -278,7 +271,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* where the rendition status is CREATED, which means the rendition is available to view/download.
|
||||
*
|
||||
* **Note:** No authentication is required to call this endpoint.
|
||||
*
|
||||
* @param sharedId The identifier of a shared link to a file.
|
||||
* @returns Promise<RenditionPaging>
|
||||
*/
|
||||
@@ -305,7 +297,6 @@ export class SharedlinksApi extends BaseApi {
|
||||
* The list is ordered in descending modified order.
|
||||
*
|
||||
* **Note:** The list of links is eventually consistent so newly created shared links may not appear immediately.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list by \"sharedByUser\" `userId` of person who shared the link (can also use -me-)
|
||||
* where=(sharedByUser='jbloggs')
|
||||
|
@@ -47,7 +47,6 @@ import { ContentFieldsQuery, ContentPagingQuery } from './types';
|
||||
export class SitesApi extends BaseApi {
|
||||
/**
|
||||
* Approve a site membership request
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param inviteeId The invitee username.
|
||||
* @param opts Optional parameters
|
||||
@@ -76,7 +75,6 @@ export class SitesApi extends BaseApi {
|
||||
* Create a site
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param siteBodyCreate The site details
|
||||
* @param opts Optional parameters
|
||||
* @param opts.skipConfiguration Flag to indicate whether the Share-specific (surf) configuration files for the site should not be created. (default to false)
|
||||
@@ -111,7 +109,6 @@ export class SitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a site membership
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param siteMembershipBodyCreate The person to add and their role
|
||||
* @param opts Optional parameters
|
||||
@@ -144,7 +141,6 @@ export class SitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a site membership request
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteMembershipRequestBodyCreate Site membership request details
|
||||
* @param opts Optional parameters
|
||||
@@ -178,7 +174,6 @@ export class SitesApi extends BaseApi {
|
||||
/**
|
||||
* Delete a site
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.permanent Flag to indicate whether the site should be permanently deleted i.e. bypass the trashcan. (default to false)
|
||||
@@ -205,7 +200,6 @@ export class SitesApi extends BaseApi {
|
||||
/**
|
||||
* Delete a site membership
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param personId The identifier of a person.
|
||||
* @returns Promise<{}>
|
||||
@@ -230,7 +224,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Deletes person **personId** as a member of site **siteId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @returns Promise<{}>
|
||||
@@ -255,7 +248,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Deletes the site membership request to site **siteId** for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @returns Promise<{}>
|
||||
@@ -289,7 +281,6 @@ export class SitesApi extends BaseApi {
|
||||
* objects related to the site **siteId**:
|
||||
*
|
||||
* containers,members
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.relations Use the relations parameter to include one or more related entities in a single response.
|
||||
@@ -319,7 +310,6 @@ export class SitesApi extends BaseApi {
|
||||
* Get a site container
|
||||
*
|
||||
* Gets information on the container **containerId** in site **siteId**.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param containerId The unique identifier of a site container.
|
||||
* @param opts Optional parameters
|
||||
@@ -350,7 +340,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Gets site membership information for person **personId** on site **siteId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
@@ -382,7 +371,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Gets site membership information for person **personId** on site **siteId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @returns Promise<SiteRoleEntry>
|
||||
@@ -408,7 +396,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Gets the site membership request for site **siteId** for person **personId**, if one exists.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
@@ -449,7 +436,6 @@ export class SitesApi extends BaseApi {
|
||||
* This may be combined with the siteId filter, as shown below:
|
||||
*
|
||||
* where=(siteId=mySite AND personId=person))
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where A string to restrict the returned objects by using a predicate.
|
||||
* @returns Promise<SiteMembershipRequestWithPersonPaging>
|
||||
@@ -473,7 +459,6 @@ export class SitesApi extends BaseApi {
|
||||
* List site containers
|
||||
*
|
||||
* Gets a list of containers for the site **siteId**.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SiteContainerPaging>
|
||||
@@ -504,7 +489,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Gets a list of the current site membership requests for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SiteMembershipRequestPaging>
|
||||
@@ -534,7 +518,6 @@ export class SitesApi extends BaseApi {
|
||||
* List site memberships
|
||||
*
|
||||
* Gets a list of site memberships for site **siteId**.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SiteMemberPaging>
|
||||
@@ -585,7 +568,6 @@ export class SitesApi extends BaseApi {
|
||||
* - id
|
||||
* - title
|
||||
* - role
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
@@ -657,8 +639,6 @@ export class SitesApi extends BaseApi {
|
||||
* objects related to each site:
|
||||
*
|
||||
* containers,members
|
||||
*
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
* sort the list by one or more fields.
|
||||
@@ -695,7 +675,6 @@ export class SitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Reject a site membership request
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param inviteeId The invitee username.
|
||||
* @param opts Optional parameters
|
||||
@@ -729,7 +708,6 @@ export class SitesApi extends BaseApi {
|
||||
* (site) admin can update title, description or visibility.
|
||||
*
|
||||
* Note: the id of a site cannot be updated once the site has been created.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param siteBodyUpdate The site information to update.
|
||||
* @param opts Optional parameters
|
||||
@@ -768,7 +746,6 @@ export class SitesApi extends BaseApi {
|
||||
* - SiteCollaborator
|
||||
* - SiteContributor
|
||||
* - SiteManager
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteMembershipBodyUpdate The persons new role
|
||||
@@ -808,7 +785,6 @@ export class SitesApi extends BaseApi {
|
||||
*
|
||||
* Updates the message for the site membership request to site **siteId** for person **personId**.
|
||||
* You can use the -me- string in place of <personId> to specify the currently authenticated user.
|
||||
*
|
||||
* @param personId The identifier of a person.
|
||||
* @param siteId The identifier of a site.
|
||||
* @param siteMembershipRequestBodyUpdate The new message to display
|
||||
@@ -852,7 +828,6 @@ export class SitesApi extends BaseApi {
|
||||
* - SiteCollaborator
|
||||
* - SiteContributor
|
||||
* - SiteManager
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param siteMembershipBodyCreate The group to add and it role
|
||||
* @param opts Optional parameters
|
||||
@@ -887,7 +862,6 @@ export class SitesApi extends BaseApi {
|
||||
* List group membership for site
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SiteGroupPaging>
|
||||
@@ -917,7 +891,6 @@ export class SitesApi extends BaseApi {
|
||||
* Get information about site membership of group
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.
|
||||
* Gets site membership information for group **groupId** on site **siteId**.
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param groupId The authorityId of a group.
|
||||
* @param opts Optional parameters
|
||||
@@ -954,7 +927,6 @@ export class SitesApi extends BaseApi {
|
||||
* - SiteCollaborator
|
||||
* - SiteContributor
|
||||
* - SiteManager
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param groupId The authorityId of a group.
|
||||
* @param siteMembershipBodyUpdate The group new role
|
||||
@@ -991,7 +963,6 @@ export class SitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a group membership for site
|
||||
*
|
||||
* @param siteId The identifier of a site.
|
||||
* @param groupId The authorityId of a group.
|
||||
* @returns Promise<{}>
|
||||
|
@@ -29,7 +29,6 @@ import { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './t
|
||||
export class TagsApi extends BaseApi {
|
||||
/**
|
||||
* Create a tag for a node
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param tagBodyCreate The new tag
|
||||
* @param opts Optional parameters
|
||||
@@ -58,7 +57,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a tag from a node
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param tagId The identifier of a tag.
|
||||
* @returns Promise<{}>
|
||||
@@ -80,7 +78,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a tag
|
||||
*
|
||||
* @param tagId The identifier of a tag.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TagEntry>
|
||||
@@ -106,7 +103,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List tags
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.tag Name or pattern for which tag is returned. Example of pattern: *test* which returns tags like 'my test 1'
|
||||
* @param opts.matching Switches filtering to pattern mode instead of exact mode.
|
||||
@@ -139,7 +135,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List tags for a node
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TagPaging>
|
||||
@@ -167,7 +162,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a tag
|
||||
*
|
||||
* @param tagId The identifier of a tag.
|
||||
* @param tagBodyUpdate The updated tag
|
||||
* @param opts Optional parameters
|
||||
@@ -196,7 +190,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Deletes a tag by **tagId**. This will cause the tag to be removed from all nodes.
|
||||
*
|
||||
* @param tagId The identifier of a tag.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -215,7 +208,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create specified by **tags** list of tags.
|
||||
*
|
||||
* @param tags List of tags to create.
|
||||
* @returns Promise<TagEntry[]>
|
||||
*/
|
||||
@@ -230,7 +222,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.
|
||||
*
|
||||
* @param nodeId Id of node to which tags should be assigned.
|
||||
* @param tags List of tags to create and assign or just assign if they already exist.
|
||||
* @returns Promise<TagPaging>
|
||||
@@ -246,7 +237,6 @@ export class TagsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Assign tags to node. If tag is new then tag is also created additionally, if tag already exists then it is just assigned.
|
||||
*
|
||||
* @param nodeId Id of node to which tags should be assigned.
|
||||
* @param tag List of tags to create and assign or just assign if they already exist.
|
||||
* @returns Promise<TagEntry>
|
||||
|
@@ -28,7 +28,6 @@ import { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './t
|
||||
|
||||
/**
|
||||
* Trashcan service.
|
||||
*
|
||||
* @module TrashcanApi
|
||||
*/
|
||||
export class TrashcanApi extends BaseApi {
|
||||
@@ -36,7 +35,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Permanently delete a deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -57,7 +55,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Get rendition information for a deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @returns Promise<RenditionEntry>
|
||||
@@ -82,7 +79,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Get rendition content of a deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
* @param opts Optional parameters
|
||||
@@ -142,7 +138,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Get a deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<DeletedNodeEntry>
|
||||
@@ -170,7 +165,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Get deleted node content
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.attachment **true** enables a web browser to download the file as an attachment.
|
||||
@@ -232,7 +226,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* clause will return just the CREATED renditions:
|
||||
*
|
||||
* - (status='CREATED')
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where A string to restrict the returned objects by using a predicate.
|
||||
@@ -265,7 +258,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Gets a list of deleted nodes for the current user.
|
||||
* If the current user is an administrator deleted nodes for all users will be returned.
|
||||
* The list of deleted nodes will be ordered with the most recently deleted node at the top of the list.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<DeletedNodesPaging>
|
||||
*/
|
||||
@@ -298,7 +290,6 @@ export class TrashcanApi extends BaseApi {
|
||||
*
|
||||
* Also, any previously shared link will not be restored since it is deleted at the time
|
||||
* of delete of each node.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.deletedNodeBodyRestore The targetParentId if the node is restored to a new location.
|
||||
@@ -336,7 +327,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Generate a direct access content url for a given deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.1 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @returns Promise<DirectAccessUrlEntry>
|
||||
*/
|
||||
@@ -358,7 +348,6 @@ export class TrashcanApi extends BaseApi {
|
||||
* Generate a direct access content url for a given rendition of a deleted node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.1 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param renditionId The identifier of a version
|
||||
* @returns Promise<DirectAccessUrlEntry>
|
||||
|
@@ -23,7 +23,6 @@ import { ContentFieldsQuery, ContentIncludeQuery, ContentPagingQuery } from './t
|
||||
|
||||
/**
|
||||
* Versions service.
|
||||
*
|
||||
* @module VersionsApi
|
||||
*/
|
||||
export class VersionsApi extends BaseApi {
|
||||
@@ -31,7 +30,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Create rendition for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param renditionBodyCreate The rendition \"id\".
|
||||
@@ -70,7 +68,6 @@ export class VersionsApi extends BaseApi {
|
||||
* can remove the \"cm:versionable\" aspect (via update node) which will also disable versioning. In this
|
||||
* case, you can re-enable versioning by adding back the \"cm:versionable\" aspect or using the version
|
||||
* params (majorVersion and comment) on a subsequent file content update.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @returns Promise<{}>
|
||||
@@ -94,7 +91,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Get version information
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @returns Promise<VersionEntry>
|
||||
@@ -119,7 +115,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Get version content
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param opts Optional parameters
|
||||
@@ -177,7 +172,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Get rendition information for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
@@ -205,7 +199,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Get rendition content for a file version
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param renditionId The name of a thumbnail rendition, for example *doclib*, or *pdf*.
|
||||
@@ -281,7 +274,6 @@ export class VersionsApi extends BaseApi {
|
||||
*
|
||||
* The list is ordered in descending modified order. So the most recent version is first and
|
||||
* the original version is last in the list.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<VersionPaging>
|
||||
@@ -317,7 +309,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested.
|
||||
* You can use the **where** parameter to filter the returned renditions by **status**. For example, the following **where**
|
||||
* clause will return just the CREATED renditions: (status='CREATED')
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param opts Optional parameters
|
||||
@@ -349,7 +340,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Attempts to revert the version identified by **versionId** and **nodeId** to the live node.
|
||||
* If the node is successfully reverted then the content and metadata for that versioned node
|
||||
* will be promoted to the live node and a new version will appear in the version history.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version, ie. version label, within the version history of a node.
|
||||
* @param revertBody Optionally, specify a version comment and whether this should be a major version, or not.
|
||||
@@ -383,7 +373,6 @@ export class VersionsApi extends BaseApi {
|
||||
* Generate a direct access content url for a given version of a node
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 7.1 and newer versions.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @param versionId The identifier of a version
|
||||
* @returns Promise<DirectAccessUrlEntry>
|
||||
|
@@ -26,7 +26,6 @@ export class DiscoveryApi extends BaseApi {
|
||||
* Get repository information
|
||||
*
|
||||
* **Note:** this endpoint is available in Alfresco 5.2 and newer versions.
|
||||
*
|
||||
* @returns Promise<DiscoveryEntry>
|
||||
*/
|
||||
getRepositoryInformation(): Promise<DiscoveryEntry> {
|
||||
|
@@ -25,7 +25,6 @@ import { GsPagingQuery } from './types';
|
||||
export class AuthorityClearanceApi extends BaseApi {
|
||||
/**
|
||||
* Get the authority clearances for a single user/group
|
||||
*
|
||||
* @param authorityId The name for the authority for which the clearance is to be fetched. Can be left blank in which case it will fetch it for all users with pagination
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<AuthorityClearanceGroupPaging>
|
||||
@@ -44,7 +43,6 @@ export class AuthorityClearanceApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Updates the authority clearance.
|
||||
*
|
||||
* @param authorityId The name for the authority for which the clearance is to be updated
|
||||
* @param authorityClearance AuthorityClearanceBody
|
||||
* @returns Promise<SecurityMarkEntry | SecurityMarkPaging>
|
||||
|
@@ -40,7 +40,6 @@ export interface CombinedInstructionsOpts {
|
||||
export class ClassificationGuidesApi extends BaseApi {
|
||||
/**
|
||||
* Combines instructions from the given topics and the user defined instruction, if any.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.instructions Instructions
|
||||
* @returns Promise<InstructionEntry>
|
||||
@@ -54,7 +53,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a classification guide
|
||||
*
|
||||
* @param classificationGuide Classification guide
|
||||
* @returns Promise<ClassificationGuideEntry>
|
||||
*/
|
||||
@@ -69,7 +67,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a subtopic
|
||||
*
|
||||
* @param topicId The identifier for the topic
|
||||
* @param topic Subtopic
|
||||
* @param opts Optional parameters
|
||||
@@ -98,7 +95,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create a topic
|
||||
*
|
||||
* @param classificationGuideId The identifier for the classification guide
|
||||
* @param topic Topic
|
||||
* @param opts Optional parameters
|
||||
@@ -127,7 +123,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a classification guide
|
||||
*
|
||||
* @param classificationGuideId The identifier for the classification guide
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -146,7 +141,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a topic
|
||||
*
|
||||
* @param topicId The identifier for the topic
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -165,7 +159,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List all classification guides
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to sort the list by one or more fields.
|
||||
* Each field has a default sort order, which is normally ascending order. Read the API method implementation notes
|
||||
@@ -194,7 +187,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List all subtopics
|
||||
*
|
||||
* @param topicId The identifier for the topic
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
@@ -243,7 +235,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List all topics
|
||||
*
|
||||
* @param classificationGuideId The identifier for the classification guide
|
||||
* @param opts Optional parameters
|
||||
* @param opts.orderBy A string to control the order of the entities returned in a list. You can use the **orderBy** parameter to
|
||||
@@ -292,7 +283,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get classification guide information
|
||||
*
|
||||
* @param classificationGuideId The identifier for the classification guide
|
||||
* @returns Promise<ClassificationGuideEntry>
|
||||
*/
|
||||
@@ -311,7 +301,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get topic information
|
||||
*
|
||||
* @param topicId The identifier for the topic
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TopicEntry>
|
||||
@@ -339,7 +328,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
* Update a classification guide
|
||||
*
|
||||
* Updates the classification guide with id **classificationGuideId**. For example, you can rename a classification guide.
|
||||
*
|
||||
* @param classificationGuideId The identifier for the classification guide
|
||||
* @param classificationGuide Classification guide
|
||||
* @returns Promise<ClassificationGuideEntry>
|
||||
@@ -364,7 +352,6 @@ export class ClassificationGuidesApi extends BaseApi {
|
||||
*
|
||||
* Updates the topic with id **topicId**.
|
||||
* Use this to rename a topic or to add, edit, or remove the instruction associated with it.
|
||||
*
|
||||
* @param topicId The identifier for the topic
|
||||
* @param topic Topic
|
||||
* @param opts Optional parameters
|
||||
|
@@ -29,7 +29,6 @@ export class ClassificationReasonsApi extends BaseApi {
|
||||
* Creates a new classification reason.
|
||||
*
|
||||
* **Note:** You can create more than one reason by specifying a list of reasons in the JSON body.
|
||||
*
|
||||
* @param classificationReason Classification reason
|
||||
* @returns Promise<ClassificationReasonEntry>
|
||||
*/
|
||||
@@ -47,7 +46,6 @@ export class ClassificationReasonsApi extends BaseApi {
|
||||
*
|
||||
* You can't delete a classification reason that is being used to classify content.
|
||||
* There must be at least one classification reason.
|
||||
*
|
||||
* @param classificationReasonId The identifier for the classification reason
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -66,7 +64,6 @@ export class ClassificationReasonsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List all classification reasons
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<ClassificationReasonsPaging>
|
||||
*/
|
||||
@@ -85,7 +82,6 @@ export class ClassificationReasonsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get classification reason information
|
||||
*
|
||||
* @param classificationReasonId The identifier for the classification reason
|
||||
* @returns Promise<ClassificationReasonEntry>
|
||||
*/
|
||||
@@ -104,7 +100,6 @@ export class ClassificationReasonsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Updates the classification reason with id **classificationReasonId**. For example, you can change a classification reason code or description.
|
||||
*
|
||||
* @param classificationReasonId The identifier for the classification reason
|
||||
* @param classificationReason Classification reason
|
||||
* @returns Promise<ClassificationReasonEntry>
|
||||
|
@@ -26,7 +26,6 @@ import { GsPagingQuery } from './types';
|
||||
export class DeclassificationExemptionsApi extends BaseApi {
|
||||
/**
|
||||
* Create a declassification exemption
|
||||
*
|
||||
* @param declassificationExemption Declassification exemption
|
||||
* @returns Promise<DeclassificationExemptionEntry>
|
||||
*/
|
||||
@@ -42,7 +41,6 @@ export class DeclassificationExemptionsApi extends BaseApi {
|
||||
/**
|
||||
* Deletes the declassification exemption with id **declassificationExemptionId**.
|
||||
* You can't delete a classification exemption that is being used to classify content.
|
||||
*
|
||||
* @param declassificationExemptionId The identifier for the declassification exemption
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -61,7 +59,6 @@ export class DeclassificationExemptionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* List all declassification exemptions
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<DeclassificationExemptionsPaging>
|
||||
*/
|
||||
@@ -74,7 +71,6 @@ export class DeclassificationExemptionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get declassification exemption information
|
||||
*
|
||||
* @param declassificationExemptionId The identifier for the declassification exemption
|
||||
* @returns Promise<DeclassificationExemptionEntry>
|
||||
*/
|
||||
@@ -93,7 +89,6 @@ export class DeclassificationExemptionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a declassification exemption
|
||||
*
|
||||
* @param declassificationExemptionId The identifier for the declassification exemption
|
||||
* @param declassificationExemption Declassification exemption
|
||||
* @returns Promise<DeclassificationExemptionEntry>
|
||||
|
@@ -26,7 +26,6 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
export class DefaultClassificationValuesApi extends BaseApi {
|
||||
/**
|
||||
* Calculates the default declassification date for **nodeId** based on the properties of the node and the current declassification time frame.
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @returns Promise<DeclassificationDate>
|
||||
*/
|
||||
|
@@ -27,7 +27,6 @@ import { GsPagingQuery } from './types';
|
||||
export class NodeSecurityMarksApi extends BaseApi {
|
||||
/**
|
||||
* Add/Remove security mark on a node
|
||||
*
|
||||
* @param nodeId The key for the node id.
|
||||
* @param dataBody Array of NodeSecurityMarkBody.
|
||||
* @returns Promise<SecurityMarkPaging>
|
||||
@@ -49,7 +48,6 @@ export class NodeSecurityMarksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get security marks on a node
|
||||
*
|
||||
* @param nodeId The key for the node id.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SecurityMarkPaging>
|
||||
|
@@ -21,13 +21,11 @@ import { throwIfNotDefined } from '../../../assert';
|
||||
|
||||
/**
|
||||
* SecurityControlSettingsApi service.
|
||||
*
|
||||
* @module SecurityControlSettingsApi
|
||||
*/
|
||||
export class SecurityControlSettingsApi extends BaseApi {
|
||||
/**
|
||||
* Get security control setting value
|
||||
*
|
||||
* @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:
|
||||
* -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file
|
||||
* @returns Promise<SecurityControlSettingEntry>
|
||||
@@ -47,7 +45,6 @@ export class SecurityControlSettingsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update security control setting value
|
||||
*
|
||||
* @param securityControlSettingKey The key for the security control setting. You can use one of the following settings:
|
||||
* -declassificationTimeFrame- for the declassification time frame value set in alfresco-global.properties file
|
||||
* @param securityControlSettingValue The new value for the security control setting. This can be a string or number, depending on the setting key.
|
||||
|
@@ -21,13 +21,11 @@ import { GsGroupInclude, GsPagingQuery } from './types';
|
||||
|
||||
/**
|
||||
* SecurityGroupsApi service.
|
||||
*
|
||||
* @module SecurityGroupsApi
|
||||
*/
|
||||
export class SecurityGroupsApi extends BaseApi {
|
||||
/**
|
||||
* Get All security groups
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SecurityGroupPaging>
|
||||
*/
|
||||
@@ -40,7 +38,6 @@ export class SecurityGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create security group
|
||||
*
|
||||
* @param securityGroupBody securityGroupBody.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SecurityGroupEntry>
|
||||
@@ -55,7 +52,6 @@ export class SecurityGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get a security groups information
|
||||
*
|
||||
* @param securityGroupId The Key of Security Group id for which info is required
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<SecurityGroupEntry>
|
||||
@@ -74,7 +70,6 @@ export class SecurityGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update a security groups information
|
||||
*
|
||||
* @param securityGroupId The Key of Security Group id for which info is required
|
||||
* @param securityGroupBody SecurityGroupBody
|
||||
* @param opts Optional parameters
|
||||
@@ -95,7 +90,6 @@ export class SecurityGroupsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete security group
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @returns Promise<SecurityMarkEntry>
|
||||
*/
|
||||
|
@@ -22,13 +22,11 @@ import { GsPagingQuery } from './types';
|
||||
|
||||
/**
|
||||
* Security Marks API.
|
||||
*
|
||||
* @module SecurityMarksApi
|
||||
*/
|
||||
export class SecurityMarksApi extends BaseApi {
|
||||
/**
|
||||
* Get security mark value
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @param opts Options
|
||||
* @returns Promise<SecurityMarkPaging>
|
||||
@@ -49,7 +47,6 @@ export class SecurityMarksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create security marks
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @param securityMarkBody securityMarkBody[].
|
||||
* @returns Promise<SecurityMarkEntry|SecurityMarkPaging>
|
||||
@@ -69,7 +66,6 @@ export class SecurityMarksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get security mark value information
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @param securityMarkId The key for the security mark id
|
||||
* @returns Promise<SecurityMarkEntry>
|
||||
@@ -91,7 +87,6 @@ export class SecurityMarksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Updates Security Mark value
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @param securityMarkId The key for the security mark is in use or not.
|
||||
* @param securityMarkBody securityMarkBody.
|
||||
@@ -116,7 +111,6 @@ export class SecurityMarksApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete security mark
|
||||
*
|
||||
* @param securityGroupId The key for the security group id.
|
||||
* @param securityMarkId The key for the security mark id.
|
||||
* @returns Promise<any>
|
||||
|
@@ -21,4 +21,4 @@ import { PathElement } from '../../content-rest-api';
|
||||
* An ordered list of ancestors starting with the classification guide and ending with the parent of this topic.
|
||||
* This field is only returned when requested.
|
||||
*/
|
||||
export interface Path extends Array<PathElement> {}
|
||||
export type Path = Array<PathElement>;
|
||||
|
@@ -17,4 +17,4 @@
|
||||
|
||||
import { SecurityMark } from './securityMark';
|
||||
|
||||
export interface SecurityMarks extends Array<SecurityMark> {}
|
||||
export type SecurityMarks = Array<SecurityMark>;
|
||||
|
@@ -17,4 +17,4 @@
|
||||
|
||||
import { SecurityMarkBody } from './securityMarkBody';
|
||||
|
||||
export interface SecurityMarksBody extends Array<SecurityMarkBody> {}
|
||||
export type SecurityMarksBody = Array<SecurityMarkBody>;
|
||||
|
@@ -31,7 +31,6 @@ import { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './t
|
||||
export class FilePlansApi extends BaseApi {
|
||||
/**
|
||||
* Create record categories for a file plan
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param nodeBodyCreate The node information to create.
|
||||
* @param opts Optional parameters
|
||||
@@ -73,7 +72,6 @@ export class FilePlansApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the file plan's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<FilePlanEntry>
|
||||
@@ -103,7 +101,6 @@ export class FilePlansApi extends BaseApi {
|
||||
*
|
||||
* Minimal information for each child is returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RecordCategoryPaging>
|
||||
@@ -135,7 +132,6 @@ export class FilePlansApi extends BaseApi {
|
||||
* Update a file plan
|
||||
*
|
||||
* **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order.
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param filePlanBodyUpdate The file plan information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -23,7 +23,6 @@ import { RecordsIncludeQuery } from './types';
|
||||
|
||||
/**
|
||||
* Files service.
|
||||
*
|
||||
* @module FilesApi
|
||||
*/
|
||||
export class FilesApi extends BaseApi {
|
||||
@@ -31,7 +30,6 @@ export class FilesApi extends BaseApi {
|
||||
* Declare as record
|
||||
*
|
||||
* Declares the file **fileId** in the unfiled records container. The original file is moved to the Records Management site and a secondary parent association is created in the file's original site.
|
||||
*
|
||||
* @param fileId The identifier of a non-record file.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.hideRecord Flag to indicate whether the record should be hidden from the current parent folder. (default to false)
|
||||
|
@@ -30,7 +30,6 @@ export class GsSitesApi extends BaseApi {
|
||||
*
|
||||
* The creator will be added as a member with Site Manager role.
|
||||
* When you create the RM site, the **filePlan** structure is also created including special containers, such as containers for transfers, holds and, unfiled records.
|
||||
*
|
||||
* @param siteBodyCreate The site details
|
||||
* @param opts Optional parameters
|
||||
* @param opts.skipAddToFavorites Flag to indicate whether the RM site should not be added to the user's site favorites. (default to false)
|
||||
@@ -48,7 +47,6 @@ export class GsSitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete the Records Management (RM) site
|
||||
*
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
deleteRMSite(): Promise<void> {
|
||||
@@ -59,7 +57,6 @@ export class GsSitesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get the Records Management (RM) site
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RMSiteEntry>
|
||||
*/
|
||||
@@ -79,7 +76,6 @@ export class GsSitesApi extends BaseApi {
|
||||
*
|
||||
* Update the details for the RM site. Site Manager or other (site) admin can update title or description.
|
||||
* **Note**: the id, site visibility, or compliance of the RM site cannot be updated once the site has been created.
|
||||
*
|
||||
* @param siteBodyUpdate The RM site information to update.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RMSiteEntry>
|
||||
|
@@ -24,13 +24,11 @@ import { HoldBulkStatusEntry } from '../model/holdBulkStatusEntry';
|
||||
|
||||
/**
|
||||
* Legal Holds service.
|
||||
*
|
||||
* @module LegalHoldApi
|
||||
*/
|
||||
export class LegalHoldApi extends BaseApi {
|
||||
/**
|
||||
* List of legal holds
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param options Optional parameters
|
||||
* @returns Promise<HoldPaging>
|
||||
@@ -57,7 +55,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Assign node to legal hold
|
||||
*
|
||||
* @param holdId The identifier of a hold
|
||||
* @param nodeId The id of the node to be assigned to existing hold
|
||||
* @returns Promise<HoldEntry>
|
||||
@@ -76,7 +73,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Assign nodes to legal hold
|
||||
*
|
||||
* @param holdId The identifier of a hold
|
||||
* @param nodeIds The list with id of nodes to assign to existing hold
|
||||
* @returns Promise<HoldPaging>
|
||||
@@ -95,7 +91,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Deletes the relationship between a child with id nodeId and a parent hold with id holdId
|
||||
*
|
||||
* @param holdId The identifier of a hold
|
||||
* @param nodeId The Id of the node which is unassigned
|
||||
* @returns Empty response
|
||||
@@ -112,7 +107,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create new hold
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param hold Hold to create
|
||||
* @returns Promise<HoldEntry>
|
||||
@@ -135,7 +129,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Create list of new holds
|
||||
*
|
||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||
* @param holds Array of holds
|
||||
* @returns Promise<HoldPaging>
|
||||
@@ -158,7 +151,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Start the asynchronous bulk process for a hold with id holdId based on search query results.
|
||||
*
|
||||
* @param holdId The identifier of a hold
|
||||
* @param query Search query
|
||||
* @returns Promise<BulkAssignHoldResponseEntry>
|
||||
@@ -179,7 +171,6 @@ export class LegalHoldApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get status of bulk operation with **bulkStatusId** for **holdId**.
|
||||
*
|
||||
* @param bulkStatusId The identifier of a bulk status
|
||||
* @param holdId The identifier of a hold
|
||||
* @returns Promise<HoldsBulkStatusEntry>
|
||||
|
@@ -33,7 +33,6 @@ import { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './t
|
||||
export class RecordCategoriesApi extends BaseApi {
|
||||
/**
|
||||
* Create a record category or a record folder
|
||||
*
|
||||
* @param recordCategoryId The identifier of a record category.
|
||||
* @param nodeBodyCreate The node information to create.
|
||||
* @param opts Optional parameters
|
||||
@@ -71,7 +70,6 @@ export class RecordCategoriesApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a record category
|
||||
*
|
||||
* @param recordCategoryId The identifier of a record category.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -93,7 +91,6 @@ export class RecordCategoriesApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the record category's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param recordCategoryId The identifier of a record category.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.relativePath Return information on children in the record category resolved by this path. The path is relative to **recordCategoryId**.
|
||||
@@ -132,7 +129,6 @@ export class RecordCategoriesApi extends BaseApi {
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* The list of child nodes includes primary children and secondary children, if there are any.
|
||||
*
|
||||
* @param recordCategoryId The identifier of a record category.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list. Here are some examples:
|
||||
@@ -180,7 +176,6 @@ export class RecordCategoriesApi extends BaseApi {
|
||||
*
|
||||
* **Note:** If you want to add or remove aspects, then you must use **GET /record-categories/{recordCategoryId}** first to get the complete set of *aspectNames*.
|
||||
* **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order.
|
||||
*
|
||||
* @param recordCategoryId The identifier of a record category.
|
||||
* @param recordCategoryBodyUpdate The record category information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -30,7 +30,6 @@ export class RecordFoldersApi extends BaseApi {
|
||||
*
|
||||
* Create a record as a primary child of **recordFolderId**.
|
||||
* This endpoint supports both JSON and multipart/form-data (file upload).
|
||||
*
|
||||
* @param recordFolderId The identifier of a record folder.
|
||||
* @param recordBodyCreate The record information to create. This field is ignored for multipart/form-data content uploads.
|
||||
* @param opts Optional parameters
|
||||
@@ -61,7 +60,6 @@ export class RecordFoldersApi extends BaseApi {
|
||||
/**
|
||||
* Deletes record folder **recordFolderId**.
|
||||
* Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||
*
|
||||
* @param recordFolderId The identifier of a record folder.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -83,7 +81,6 @@ export class RecordFoldersApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the record folder's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param recordFolderId The identifier of a record folder.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RecordFolderEntry>
|
||||
@@ -114,7 +111,6 @@ export class RecordFoldersApi extends BaseApi {
|
||||
* Minimal information for each record is returned by default.
|
||||
* The list of records includes primary children and secondary children, if there are any.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param recordFolderId The identifier of a record folder.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list. Here are some examples:
|
||||
@@ -159,7 +155,6 @@ export class RecordFoldersApi extends BaseApi {
|
||||
*
|
||||
* **Note:** if you want to add or remove aspects, then you must use **GET /record-folders/{recordFolderId}** first to get the complete set of *aspectNames*.
|
||||
* **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order.
|
||||
*
|
||||
* @param recordFolderId The identifier of a record folder.
|
||||
* @param recordFolderBodyUpdate The record folder information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -25,13 +25,11 @@ import { RecordsIncludeQuery } from './types';
|
||||
|
||||
/**
|
||||
* Records service.
|
||||
*
|
||||
* @module RecordsApi
|
||||
*/
|
||||
export class RecordsApi extends BaseApi {
|
||||
/**
|
||||
* Complete a record
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RecordEntry>
|
||||
@@ -58,7 +56,6 @@ export class RecordsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete a record. Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -81,7 +78,6 @@ export class RecordsApi extends BaseApi {
|
||||
* You need to specify the target record folder by providing its id **targetParentId**
|
||||
* If the record is already filed, a link to the target record folder is created.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @param nodeBodyFile The target record folder id
|
||||
* @param opts Optional parameters
|
||||
@@ -114,7 +110,6 @@ export class RecordsApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the record's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<RecordEntry>
|
||||
@@ -141,7 +136,6 @@ export class RecordsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Get record content
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.attachment **true** enables a web browser to download the file as an attachment.
|
||||
@@ -191,22 +185,21 @@ export class RecordsApi extends BaseApi {
|
||||
* Updates the record **recordId**. For example, you can rename a record:
|
||||
* JSON
|
||||
* {
|
||||
* \"name\":\"My new name\"
|
||||
* \"name\":\"My new name\"
|
||||
* }
|
||||
*
|
||||
* You can also set or update one or more properties:
|
||||
* JSON
|
||||
* {
|
||||
* \"properties\":
|
||||
* {
|
||||
* \"cm:title\":\"New title\",
|
||||
* \"cm:description\":\"New description\"
|
||||
* }
|
||||
* \"properties\":
|
||||
* {
|
||||
* \"cm:title\":\"New title\",
|
||||
* \"cm:description\":\"New description\"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* **Note:** if you want to add or remove aspects, then you must use **GET /records/{recordId}** first to get the complete set of *aspectNames*.
|
||||
* **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order.
|
||||
*
|
||||
* @param recordId The identifier of a record.
|
||||
* @param recordBodyUpdate The record information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -32,7 +32,6 @@ export class TransferContainersApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the transfer container's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param transferContainerId The identifier of a transfer container. You can also use the -transfers- alias.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TransferContainerEntry>
|
||||
@@ -62,7 +61,6 @@ export class TransferContainersApi extends BaseApi {
|
||||
*
|
||||
* Minimal information for each child is returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param transferContainerId The identifier of a transfer container. You can also use the -transfers- alias.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TransferContainerAssociationPaging>
|
||||
@@ -96,7 +94,6 @@ export class TransferContainersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Update transfer container
|
||||
*
|
||||
* @param transferContainerId The identifier of a transfer container. You can also use the -transfers- alias.
|
||||
* @param nodeBodyUpdate The node information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -24,7 +24,6 @@ import { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './t
|
||||
|
||||
/**
|
||||
* Transfers service.
|
||||
*
|
||||
* @module TransfersApi
|
||||
*/
|
||||
export class TransfersApi extends BaseApi {
|
||||
@@ -33,7 +32,6 @@ export class TransfersApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the transfer's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param transferId The identifier of a transfer.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TransferEntry>
|
||||
@@ -63,7 +61,6 @@ export class TransfersApi extends BaseApi {
|
||||
*
|
||||
* Minimal information for each child is returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param transferId The identifier of a transfer.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TransferAssociationPaging>
|
||||
|
@@ -23,13 +23,11 @@ import { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './t
|
||||
|
||||
/**
|
||||
* Unfiled containers service.
|
||||
*
|
||||
* @module UnfiledContainersApi
|
||||
*/
|
||||
export class UnfiledContainersApi extends BaseApi {
|
||||
/**
|
||||
* Creates a record or an unfiled record folder as a primary child of **unfiledContainerId**.
|
||||
*
|
||||
* @param unfiledContainerId The identifier of an unfiled records container. You can use the **-unfiled-** alias.
|
||||
* @param nodeBodyCreate The node information to create.
|
||||
* @param opts Optional parameters
|
||||
@@ -75,7 +73,6 @@ export class UnfiledContainersApi extends BaseApi {
|
||||
* Mandatory fields and the unfiled records container's aspects and properties are returned by default.
|
||||
*
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param unfiledContainerId The identifier of an unfiled records container. You can use the **-unfiled-** alias.
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<UnfiledContainerEntry>
|
||||
@@ -107,7 +104,6 @@ export class UnfiledContainersApi extends BaseApi {
|
||||
*
|
||||
* Minimal information for each child is returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param unfiledContainerId The identifier of an unfiled records container. You can use the **-unfiled-** alias.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list. Here are some examples:
|
||||
@@ -152,7 +148,6 @@ export class UnfiledContainersApi extends BaseApi {
|
||||
* Update an unfiled record container
|
||||
*
|
||||
* **Note:** Currently there is no optimistic locking for updates, so they are applied in \"last one wins\" order.
|
||||
*
|
||||
* @param unfiledContainerId The identifier of an unfiled records container. You can use the **-unfiled-** alias.
|
||||
* @param unfiledContainerBodyUpdate The unfiled record container information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -26,13 +26,11 @@ import { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './t
|
||||
|
||||
/**
|
||||
* UnfiledRecordFoldersApi service.
|
||||
*
|
||||
* @module UnfiledRecordFoldersApi
|
||||
*/
|
||||
export class UnfiledRecordFoldersApi extends BaseApi {
|
||||
/**
|
||||
* Create a record or an unfiled record folder
|
||||
*
|
||||
* @param unfiledRecordFolderId The identifier of an unfiled record folder.
|
||||
* @param nodeBodyCreate The node information to create.
|
||||
* @param opts Optional parameters
|
||||
@@ -71,7 +69,6 @@ export class UnfiledRecordFoldersApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Delete an unfiled record folder. Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||
*
|
||||
* @param unfiledRecordFolderId The identifier of an unfiled record folder.
|
||||
* @returns Promise<{}>
|
||||
*/
|
||||
@@ -93,7 +90,6 @@ export class UnfiledRecordFoldersApi extends BaseApi {
|
||||
*
|
||||
* Mandatory fields and the unfiled record folder's aspects and properties are returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param unfiledRecordFolderId The identifier of an unfiled record folder.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.relativePath Return information on children in the unfiled records container resolved by this path. The path is relative to **unfiledRecordFolderId**.
|
||||
@@ -130,7 +126,6 @@ export class UnfiledRecordFoldersApi extends BaseApi {
|
||||
*
|
||||
* Minimal information for each child is returned by default.
|
||||
* You can use the **include** parameter (include=allowableOperations) to return additional information.
|
||||
*
|
||||
* @param unfiledRecordFolderId The identifier of an unfiled record folder.
|
||||
* @param opts Optional parameters
|
||||
* @param opts.where Optionally filter the list. Here are some examples:
|
||||
@@ -177,7 +172,6 @@ export class UnfiledRecordFoldersApi extends BaseApi {
|
||||
/**
|
||||
* Updates unfiled record folder **unfiledRecordFolderId**.
|
||||
* For example, you can rename a record folder:
|
||||
*
|
||||
* @param unfiledRecordFolderId The identifier of an unfiled record folder.
|
||||
* @param unfiledRecordFolderBodyUpdate The record folder information to update.
|
||||
* @param opts Optional parameters
|
||||
|
@@ -22,7 +22,6 @@ import { PredictionPaging, ReviewStatus } from '../model';
|
||||
export class PredictionsApi extends BaseApi {
|
||||
/**
|
||||
* List of predictions for a node
|
||||
*
|
||||
* @param nodeId The identifier of a node.
|
||||
* @returns Promise<PredictionPaging>
|
||||
*/
|
||||
@@ -42,7 +41,6 @@ export class PredictionsApi extends BaseApi {
|
||||
|
||||
/**
|
||||
* Confirm or reject a prediction
|
||||
*
|
||||
* @param predictionId The identifier of a prediction.
|
||||
* @param reviewStatus New status to apply for prediction. Can be either 'confirmed' or 'rejected'.
|
||||
* @returns Promise<void>
|
||||
|
@@ -68,7 +68,6 @@ export class AspectsApi extends BaseApi {
|
||||
* Get an aspect
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param aspectId The `Qname` of an aspect(prefix:name) e.g 'cm:title'
|
||||
* @returns Promise<AspectEntry>
|
||||
*/
|
||||
@@ -90,7 +89,6 @@ export class AspectsApi extends BaseApi {
|
||||
* List aspects
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<AspectPaging>
|
||||
*/
|
||||
|
@@ -65,7 +65,6 @@ export class TypesApi extends BaseApi {
|
||||
* Get a type
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param typeId The `Qname` of a type(prefix:name) e.g 'cm:content'
|
||||
* @returns Promise<TypeEntry>
|
||||
*/
|
||||
@@ -87,7 +86,6 @@ export class TypesApi extends BaseApi {
|
||||
* List types
|
||||
*
|
||||
* **Note:** This is available in Alfresco 7.0.0 and newer versions.
|
||||
*
|
||||
* @param opts Optional parameters
|
||||
* @returns Promise<TypePaging>
|
||||
*/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user