-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* ACS-8597 add operation status api, use entry for assign response * ACS-8597 review remarks - property order, docs cosistency
- Loading branch information
1 parent
61faf92
commit 94787b5
Showing
14 changed files
with
304 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
lib/js-api/src/api/gs-core-rest-api/docs/BulkAssignHoldResponseEntry.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# BulkAssignHoldResponseEntry | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | | ||
| --------- | ------------------------------------------------------- | -------------------------------------------------- | | ||
| **Entry** | [**BulkAssignHoldResponse**](BulkAssignHoldResponse.md) | Response received after bulk assign hold operation | |
8 changes: 8 additions & 0 deletions
8
lib/js-api/src/api/gs-core-rest-api/docs/HoldBulkOperation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# HoldBulkOperation | ||
|
||
## Properties | ||
|
||
| Name | Type | Default value | Description | | ||
| --------- | -------------------------------------------------------------- | ------------- | ---------------------------------------------------- | | ||
| **op** | **string** | | Operations type. Currently only **ADD** type exists. | | ||
| **query** | [**RequestQuery**](../../search-rest-api/docs/RequestQuery.md) | | Query to get files to assign to a hold. | |
14 changes: 14 additions & 0 deletions
14
lib/js-api/src/api/gs-core-rest-api/docs/HoldBulkStatus.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# HoldBulkStatus | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|---------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | | ||
| **bulkStatusId** | **string** | Bulk status id | | | ||
| **errorsCount** | **number** | Number of errors thrown during bulk operation | | | ||
| **holdBulkOperation** | [**HoldBulkOperation**](HoldBulkOperation.md) | Specifies operation type and targeted files | | | ||
| **processedItems** | **number** | Number of processed files | | | ||
| **status** | **string** | Current status of operation | | | ||
| **totalItems** | **number** | Number of targeted files | | | ||
| **startTime** | **Date** | Date and time of operation start | | | ||
| **endTime** | **Date** | Date and time of operation end | Is included only after operation is completed | |
7 changes: 7 additions & 0 deletions
7
lib/js-api/src/api/gs-core-rest-api/docs/HoldBulkStatusEntry.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# HoldBulkStatusEntry | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | | ||
|---------------------- | --------------------------------------------- | --------------------------------------------- | | ||
| **entry** | [**HoldBulkStatus**](HoldBulkStatus.md) | Current status of hulk assign holds operation | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
lib/js-api/src/api/gs-core-rest-api/model/bulkAssignHoldResponseEntry.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/*! | ||
* @license | ||
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import { BulkAssignHoldResponse } from './bulkAssignHoldResponse'; | ||
|
||
export interface BulkAssignHoldResponseEntry { | ||
entry: BulkAssignHoldResponse; | ||
} |
30 changes: 30 additions & 0 deletions
30
lib/js-api/src/api/gs-core-rest-api/model/holdBulkOperation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/*! | ||
* @license | ||
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
export class HoldBulkOperation { | ||
op: string; | ||
query: { | ||
language: string; | ||
query: string; | ||
}; | ||
|
||
constructor(input?: Partial<HoldBulkOperation>) { | ||
if (input) { | ||
Object.assign(this, input); | ||
} | ||
} | ||
} |
Oops, something went wrong.