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:
Vito Albano
2024-12-18 11:14:52 +00:00
committed by GitHub
parent dd44e492b7
commit 872fb16b62
144 changed files with 5267 additions and 6842 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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