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:
@@ -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>;
|
||||
|
Reference in New Issue
Block a user