@alfresco/js-api 7.8.0 → 7.9.0-10005011517
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2015/index.js +1 -0
- package/esm2015/index.js.map +1 -1
- package/esm2015/src/alfrescoApi.js +34 -1
- package/esm2015/src/alfrescoApi.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/model/formDefinitionRepresentation.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/model/processInstanceFilterRepresentation.js.map +1 -1
- package/esm2015/src/api/activiti-rest-api/model/processInstanceQueryRepresentation.js.map +1 -1
- package/esm2015/src/api/hxi-connector-api/api/base.api.js +23 -0
- package/esm2015/src/api/hxi-connector-api/api/base.api.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/api/index.js +18 -0
- package/esm2015/src/api/hxi-connector-api/api/index.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/api/predictions.api.js +46 -0
- package/esm2015/src/api/hxi-connector-api/api/predictions.api.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/index.js +19 -0
- package/esm2015/src/api/hxi-connector-api/index.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/model/index.js +21 -0
- package/esm2015/src/api/hxi-connector-api/model/index.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/model/prediction.js +32 -0
- package/esm2015/src/api/hxi-connector-api/model/prediction.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionEntry.js +26 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionEntry.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionPaging.js +26 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionPaging.js.map +1 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionPagingList.js +30 -0
- package/esm2015/src/api/hxi-connector-api/model/predictionPagingList.js.map +1 -0
- package/esm2015/src/api-clients/api-client.js +3 -3
- package/esm2015/src/api-clients/api-client.js.map +1 -1
- package/esm2015/src/to-deprecate/alfresco-api-type.js.map +1 -1
- package/esm2015/types.js +18 -0
- package/esm2015/types.js.map +1 -0
- package/esm5/index.js +1 -0
- package/esm5/index.js.map +1 -1
- package/esm5/src/alfrescoApi.js +34 -1
- package/esm5/src/alfrescoApi.js.map +1 -1
- package/esm5/src/api/activiti-rest-api/model/formDefinitionRepresentation.js.map +1 -1
- package/esm5/src/api/activiti-rest-api/model/processInstanceFilterRepresentation.js.map +1 -1
- package/esm5/src/api/activiti-rest-api/model/processInstanceQueryRepresentation.js.map +1 -1
- package/esm5/src/api/hxi-connector-api/api/base.api.js +23 -0
- package/esm5/src/api/hxi-connector-api/api/base.api.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/api/index.js +18 -0
- package/esm5/src/api/hxi-connector-api/api/index.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/api/predictions.api.js +46 -0
- package/esm5/src/api/hxi-connector-api/api/predictions.api.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/index.js +19 -0
- package/esm5/src/api/hxi-connector-api/index.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/model/index.js +21 -0
- package/esm5/src/api/hxi-connector-api/model/index.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/model/prediction.js +32 -0
- package/esm5/src/api/hxi-connector-api/model/prediction.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/model/predictionEntry.js +26 -0
- package/esm5/src/api/hxi-connector-api/model/predictionEntry.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/model/predictionPaging.js +26 -0
- package/esm5/src/api/hxi-connector-api/model/predictionPaging.js.map +1 -0
- package/esm5/src/api/hxi-connector-api/model/predictionPagingList.js +30 -0
- package/esm5/src/api/hxi-connector-api/model/predictionPagingList.js.map +1 -0
- package/esm5/src/api-clients/api-client.js +3 -3
- package/esm5/src/api-clients/api-client.js.map +1 -1
- package/esm5/src/to-deprecate/alfresco-api-type.js.map +1 -1
- package/esm5/types.js +18 -0
- package/esm5/types.js.map +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/alfrescoApi.js +34 -1
- package/src/alfrescoApi.js.map +1 -1
- package/src/api/activiti-rest-api/model/formDefinitionRepresentation.js.map +1 -1
- package/src/api/activiti-rest-api/model/processInstanceFilterRepresentation.js.map +1 -1
- package/src/api/activiti-rest-api/model/processInstanceQueryRepresentation.js.map +1 -1
- package/src/api/hxi-connector-api/api/base.api.js +27 -0
- package/src/api/hxi-connector-api/api/base.api.js.map +1 -0
- package/src/api/hxi-connector-api/api/index.js +21 -0
- package/src/api/hxi-connector-api/api/index.js.map +1 -0
- package/src/api/hxi-connector-api/api/predictions.api.js +50 -0
- package/src/api/hxi-connector-api/api/predictions.api.js.map +1 -0
- package/src/api/hxi-connector-api/index.js +22 -0
- package/src/api/hxi-connector-api/index.js.map +1 -0
- package/src/api/hxi-connector-api/model/index.js +24 -0
- package/src/api/hxi-connector-api/model/index.js.map +1 -0
- package/src/api/hxi-connector-api/model/prediction.js +36 -0
- package/src/api/hxi-connector-api/model/prediction.js.map +1 -0
- package/src/api/hxi-connector-api/model/predictionEntry.js +30 -0
- package/src/api/hxi-connector-api/model/predictionEntry.js.map +1 -0
- package/src/api/hxi-connector-api/model/predictionPaging.js +30 -0
- package/src/api/hxi-connector-api/model/predictionPaging.js.map +1 -0
- package/src/api/hxi-connector-api/model/predictionPagingList.js +34 -0
- package/src/api/hxi-connector-api/model/predictionPagingList.js.map +1 -0
- package/src/api-clients/api-client.js +3 -3
- package/src/api-clients/api-client.js.map +1 -1
- package/src/to-deprecate/alfresco-api-type.js.map +1 -1
- package/types.js +19 -0
- package/types.js.map +1 -0
- package/typings/index.d.ts +1 -0
- package/typings/src/alfrescoApi.d.ts +4 -1
- package/typings/src/alfrescoApiClient.d.ts +1 -1
- package/typings/src/api/activiti-rest-api/api/types.d.ts +2 -2
- package/typings/src/api/activiti-rest-api/api/users.api.d.ts +1 -1
- package/typings/src/api/activiti-rest-api/model/formDefinitionRepresentation.d.ts +2 -0
- package/typings/src/api/activiti-rest-api/model/processInstanceFilterRepresentation.d.ts +1 -0
- package/typings/src/api/activiti-rest-api/model/processInstanceQueryRepresentation.d.ts +5 -2
- package/typings/src/api/content-rest-api/api/categories.api.d.ts +1 -1
- package/typings/src/api/content-rest-api/api/groups.api.d.ts +1 -1
- package/typings/src/api/content-rest-api/api/nodes.api.d.ts +1 -1
- package/typings/src/api/content-rest-api/api/queries.api.d.ts +2 -2
- package/typings/src/api/content-rest-api/api/types.d.ts +3 -3
- package/typings/src/api/gs-classification-rest-api/api/types.d.ts +4 -4
- package/typings/src/api/gs-classification-rest-api/model/declassificationDate.d.ts +1 -1
- package/typings/src/api/gs-core-rest-api/api/types.d.ts +4 -4
- package/typings/src/api/hxi-connector-api/api/base.api.d.ts +21 -0
- package/typings/src/api/hxi-connector-api/api/index.d.ts +17 -0
- package/typings/src/api/hxi-connector-api/api/predictions.api.d.ts +35 -0
- package/typings/src/api/hxi-connector-api/index.d.ts +18 -0
- package/typings/src/api/hxi-connector-api/model/index.d.ts +20 -0
- package/typings/src/api/hxi-connector-api/model/prediction.d.ts +34 -0
- package/typings/src/api/hxi-connector-api/model/predictionEntry.d.ts +21 -0
- package/typings/src/api/hxi-connector-api/model/predictionPaging.d.ts +21 -0
- package/typings/src/api/hxi-connector-api/model/predictionPagingList.d.ts +23 -0
- package/typings/src/to-deprecate/alfresco-api-type.d.ts +1 -0
- package/typings/types.d.ts +17 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { BaseApi } from './base.api';
|
|
18
|
+
import { PredictionPaging, ReviewStatus } from '../model';
|
|
19
|
+
export declare class PredictionsApi extends BaseApi {
|
|
20
|
+
/**
|
|
21
|
+
* List of predictions for a node
|
|
22
|
+
*
|
|
23
|
+
* @param nodeId The identifier of a node.
|
|
24
|
+
* @returns Promise<PredictionPaging>
|
|
25
|
+
*/
|
|
26
|
+
getPredictions(nodeId: string): Promise<PredictionPaging>;
|
|
27
|
+
/**
|
|
28
|
+
* Confirm or reject a prediction
|
|
29
|
+
*
|
|
30
|
+
* @param predictionId The identifier of a prediction.
|
|
31
|
+
* @param reviewStatus New status to apply for prediction. Can be either 'confirmed' or 'rejected'.
|
|
32
|
+
* @returns Promise<void>
|
|
33
|
+
*/
|
|
34
|
+
reviewPrediction(predictionId: string, reviewStatus: ReviewStatus): Promise<void>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from './api';
|
|
18
|
+
export * from './model';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from './prediction';
|
|
18
|
+
export * from './predictionEntry';
|
|
19
|
+
export * from './predictionPaging';
|
|
20
|
+
export * from './predictionPagingList';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export declare class Prediction {
|
|
18
|
+
id: string;
|
|
19
|
+
modelId: string;
|
|
20
|
+
confidenceLevel: number;
|
|
21
|
+
predictionDateTime: Date;
|
|
22
|
+
property: string;
|
|
23
|
+
previousValue: any;
|
|
24
|
+
predictionValue: any;
|
|
25
|
+
updateType: UpdateType;
|
|
26
|
+
reviewStatus: ReviewStatus;
|
|
27
|
+
constructor(input?: Partial<Prediction>);
|
|
28
|
+
}
|
|
29
|
+
export type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';
|
|
30
|
+
export declare enum ReviewStatus {
|
|
31
|
+
UNREVIEWED = "UNREVIEWED",
|
|
32
|
+
CONFIRMED = "CONFIRMED",
|
|
33
|
+
REJECTED = "REJECTED"
|
|
34
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Prediction } from './prediction';
|
|
18
|
+
export declare class PredictionEntry {
|
|
19
|
+
entry: Prediction;
|
|
20
|
+
constructor(input?: Partial<PredictionEntry>);
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { PredictionPagingList } from './predictionPagingList';
|
|
18
|
+
export declare class PredictionPaging {
|
|
19
|
+
list?: PredictionPagingList;
|
|
20
|
+
constructor(input?: Partial<PredictionPaging>);
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Pagination } from '../../content-rest-api/model/pagination';
|
|
18
|
+
import { PredictionEntry } from './predictionEntry';
|
|
19
|
+
export declare class PredictionPagingList {
|
|
20
|
+
pagination?: Pagination;
|
|
21
|
+
entries?: PredictionEntry[];
|
|
22
|
+
constructor(input?: Partial<PredictionPagingList>);
|
|
23
|
+
}
|
|
@@ -30,6 +30,7 @@ export interface AlfrescoApiType {
|
|
|
30
30
|
gsClient: LegacyHttpClient;
|
|
31
31
|
authClient: LegacyHttpClient;
|
|
32
32
|
processAuth: LegacyHttpClient;
|
|
33
|
+
hxiConnectorClient: LegacyHttpClient;
|
|
33
34
|
setConfig(config: AlfrescoApiConfig): void;
|
|
34
35
|
changeWithCredentialsConfig(withCredentials: boolean): void;
|
|
35
36
|
changeCsrfConfig(disableCsrf: boolean): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export type Union<S = string, T extends string | number = string> = T | Omit<S, T>;
|