oci-aidocument 2.62.1 → 2.62.3
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/lib/aiservicedocument-waiter.d.ts +23 -0
- package/lib/aiservicedocument-waiter.js +55 -0
- package/lib/aiservicedocument-waiter.js.map +1 -1
- package/lib/client.d.ts +163 -3
- package/lib/client.js +1132 -19
- package/lib/client.js.map +1 -1
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/change-model-compartment-details.d.ts +25 -0
- package/lib/model/change-model-compartment-details.js +29 -0
- package/lib/model/change-model-compartment-details.js.map +1 -0
- package/lib/model/change-project-compartment-details.d.ts +25 -0
- package/lib/model/change-project-compartment-details.js +29 -0
- package/lib/model/change-project-compartment-details.js.map +1 -0
- package/lib/model/create-model-details.d.ts +75 -0
- package/lib/model/create-model-details.js +69 -0
- package/lib/model/create-model-details.js.map +1 -0
- package/lib/model/create-project-details.d.ts +51 -0
- package/lib/model/create-project-details.js +29 -0
- package/lib/model/create-project-details.js.map +1 -0
- package/lib/model/data-science-labeling-dataset.d.ts +28 -0
- package/lib/model/data-science-labeling-dataset.js +52 -0
- package/lib/model/data-science-labeling-dataset.js.map +1 -0
- package/lib/model/dataset-summary.d.ts +33 -0
- package/lib/model/dataset-summary.js +29 -0
- package/lib/model/dataset-summary.js.map +1 -0
- package/lib/model/dataset.d.ts +22 -0
- package/lib/model/dataset.js +72 -0
- package/lib/model/dataset.js.map +1 -0
- package/lib/model/document-classification-confidence-entry.d.ts +37 -0
- package/lib/model/document-classification-confidence-entry.js +29 -0
- package/lib/model/document-classification-confidence-entry.js.map +1 -0
- package/lib/model/document-classification-feature.d.ts +4 -0
- package/lib/model/document-classification-feature.js.map +1 -1
- package/lib/model/document-classification-label-metrics-report.d.ts +34 -0
- package/lib/model/document-classification-label-metrics-report.js +61 -0
- package/lib/model/document-classification-label-metrics-report.js.map +1 -0
- package/lib/model/document-classification-model-metrics.d.ts +29 -0
- package/lib/model/document-classification-model-metrics.js +72 -0
- package/lib/model/document-classification-model-metrics.js.map +1 -0
- package/lib/model/document-classification-overall-metrics-report.d.ts +30 -0
- package/lib/model/document-classification-overall-metrics-report.js +61 -0
- package/lib/model/document-classification-overall-metrics-report.js.map +1 -0
- package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
- package/lib/model/document-key-value-extraction-feature.js.map +1 -1
- package/lib/model/index.d.ts +76 -0
- package/lib/model/index.js +78 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-value-detection-confidence-entry.d.ts +41 -0
- package/lib/model/key-value-detection-confidence-entry.js +29 -0
- package/lib/model/key-value-detection-confidence-entry.js.map +1 -0
- package/lib/model/key-value-detection-label-metrics-report.d.ts +38 -0
- package/lib/model/key-value-detection-label-metrics-report.js +61 -0
- package/lib/model/key-value-detection-label-metrics-report.js.map +1 -0
- package/lib/model/key-value-detection-model-metrics.d.ts +29 -0
- package/lib/model/key-value-detection-model-metrics.js +72 -0
- package/lib/model/key-value-detection-model-metrics.js.map +1 -0
- package/lib/model/key-value-detection-overall-metrics-report.d.ts +34 -0
- package/lib/model/key-value-detection-overall-metrics-report.js +61 -0
- package/lib/model/key-value-detection-overall-metrics-report.js.map +1 -0
- package/lib/model/model-collection.d.ts +26 -0
- package/lib/model/model-collection.js +61 -0
- package/lib/model/model-collection.js.map +1 -0
- package/lib/model/model-metrics.d.ts +24 -0
- package/lib/model/model-metrics.js +80 -0
- package/lib/model/model-metrics.js.map +1 -0
- package/lib/model/model-summary.d.ts +101 -0
- package/lib/model/model-summary.js +69 -0
- package/lib/model/model-summary.js.map +1 -0
- package/lib/model/model.d.ts +136 -0
- package/lib/model/model.js +95 -0
- package/lib/model/model.js.map +1 -0
- package/lib/model/object-storage-dataset.d.ts +36 -0
- package/lib/model/object-storage-dataset.js +52 -0
- package/lib/model/object-storage-dataset.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +34 -0
- package/lib/model/operation-type.js +45 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/project-collection.d.ts +26 -0
- package/lib/model/project-collection.js +61 -0
- package/lib/model/project-collection.js.map +1 -0
- package/lib/model/project-summary.d.ts +81 -0
- package/lib/model/project-summary.js +29 -0
- package/lib/model/project-summary.js.map +1 -0
- package/lib/model/project.d.ts +94 -0
- package/lib/model/project.js +43 -0
- package/lib/model/project.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-model-details.d.ts +47 -0
- package/lib/model/update-model-details.js +29 -0
- package/lib/model/update-model-details.js.map +1 -0
- package/lib/model/update-project-details.d.ts +47 -0
- package/lib/model/update-project-details.js +29 -0
- package/lib/model/update-project-details.js.map +1 -0
- package/lib/model/value-array.d.ts +3 -0
- package/lib/model/value-array.js.map +1 -1
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +28 -0
- package/lib/model/work-request-resource-metadata-key.js +39 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +63 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +63 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-processor-job-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-model-compartment-request.d.ts +40 -0
- package/lib/request/change-model-compartment-request.js +15 -0
- package/lib/request/change-model-compartment-request.js.map +1 -0
- package/lib/request/change-project-compartment-request.d.ts +40 -0
- package/lib/request/change-project-compartment-request.js +15 -0
- package/lib/request/change-project-compartment-request.js.map +1 -0
- package/lib/request/create-model-request.d.ts +36 -0
- package/lib/request/create-model-request.js +15 -0
- package/lib/request/create-model-request.js.map +1 -0
- package/lib/request/create-processor-job-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +36 -0
- package/lib/request/create-project-request.js +15 -0
- package/lib/request/create-project-request.js.map +1 -0
- package/lib/request/delete-model-request.d.ts +35 -0
- package/lib/request/delete-model-request.js +15 -0
- package/lib/request/delete-model-request.js.map +1 -0
- package/lib/request/delete-project-request.d.ts +35 -0
- package/lib/request/delete-project-request.js +15 -0
- package/lib/request/delete-project-request.js.map +1 -0
- package/lib/request/get-model-request.d.ts +26 -0
- package/lib/request/get-model-request.js +15 -0
- package/lib/request/get-model-request.js.map +1 -0
- package/lib/request/get-processor-job-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +26 -0
- package/lib/request/get-project-request.js +15 -0
- package/lib/request/get-project-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +34 -0
- package/lib/request/index.js +30 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-models-request.d.ts +66 -0
- package/lib/request/list-models-request.js +24 -0
- package/lib/request/list-models-request.js.map +1 -0
- package/lib/request/list-projects-request.d.ts +62 -0
- package/lib/request/list-projects-request.js +24 -0
- package/lib/request/list-projects-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-model-request.d.ts +40 -0
- package/lib/request/update-model-request.js +15 -0
- package/lib/request/update-model-request.js.map +1 -0
- package/lib/request/update-project-request.d.ts +40 -0
- package/lib/request/update-project-request.js +15 -0
- package/lib/request/update-project-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-model-compartment-response.d.ts +20 -0
- package/lib/response/change-model-compartment-response.js +15 -0
- package/lib/response/change-model-compartment-response.js.map +1 -0
- package/lib/response/change-project-compartment-response.d.ts +20 -0
- package/lib/response/change-project-compartment-response.js +15 -0
- package/lib/response/change-project-compartment-response.js.map +1 -0
- package/lib/response/create-model-response.d.ts +45 -0
- package/lib/response/create-model-response.js +15 -0
- package/lib/response/create-model-response.js.map +1 -0
- package/lib/response/create-project-response.d.ts +45 -0
- package/lib/response/create-project-response.js +15 -0
- package/lib/response/create-project-response.js.map +1 -0
- package/lib/response/delete-model-response.d.ts +25 -0
- package/lib/response/delete-model-response.js +15 -0
- package/lib/response/delete-model-response.js.map +1 -0
- package/lib/response/delete-project-response.d.ts +25 -0
- package/lib/response/delete-project-response.js +15 -0
- package/lib/response/delete-project-response.js.map +1 -0
- package/lib/response/get-model-response.d.ts +30 -0
- package/lib/response/get-model-response.js +15 -0
- package/lib/response/get-model-response.js.map +1 -0
- package/lib/response/get-project-response.d.ts +30 -0
- package/lib/response/get-project-response.js +15 -0
- package/lib/response/get-project-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +34 -0
- package/lib/response/list-models-response.d.ts +32 -0
- package/lib/response/list-models-response.js +15 -0
- package/lib/response/list-models-response.js.map +1 -0
- package/lib/response/list-projects-response.d.ts +32 -0
- package/lib/response/list-projects-response.js +15 -0
- package/lib/response/list-projects-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-model-response.d.ts +25 -0
- package/lib/response/update-model-response.js +15 -0
- package/lib/response/update-model-response.js.map +1 -0
- package/lib/response/update-project-response.d.ts +25 -0
- package/lib/response/update-project-response.js +15 -0
- package/lib/response/update-project-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A log message from the execution of a work request.
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkRequestLogEntry {
|
|
17
|
+
/**
|
|
18
|
+
* A human-readable log message.
|
|
19
|
+
*/
|
|
20
|
+
"message": string;
|
|
21
|
+
/**
|
|
22
|
+
* When the log message was written, as an RFC3339 formatted datetime.
|
|
23
|
+
*/
|
|
24
|
+
"timestamp": Date;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestLogEntry {
|
|
27
|
+
function getJsonObj(obj: WorkRequestLogEntry): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.WorkRequestLogEntry = void 0;
|
|
16
|
+
var WorkRequestLogEntry;
|
|
17
|
+
(function (WorkRequestLogEntry) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
WorkRequestLogEntry.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
WorkRequestLogEntry.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(WorkRequestLogEntry = exports.WorkRequestLogEntry || (exports.WorkRequestLogEntry = {}));
|
|
29
|
+
//# sourceMappingURL=work-request-log-entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Possible Metadata keys for workRequest resource metadata
|
|
15
|
+
**/
|
|
16
|
+
export declare enum WorkRequestResourceMetadataKey {
|
|
17
|
+
IsDryRun = "IS_DRY_RUN",
|
|
18
|
+
DisplayName = "DISPLAY_NAME",
|
|
19
|
+
/**
|
|
20
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
21
|
+
* version of the SDK.
|
|
22
|
+
*/
|
|
23
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
24
|
+
}
|
|
25
|
+
export declare namespace WorkRequestResourceMetadataKey {
|
|
26
|
+
function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey;
|
|
27
|
+
function getDeserializedJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.WorkRequestResourceMetadataKey = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible Metadata keys for workRequest resource metadata
|
|
18
|
+
**/
|
|
19
|
+
var WorkRequestResourceMetadataKey;
|
|
20
|
+
(function (WorkRequestResourceMetadataKey) {
|
|
21
|
+
WorkRequestResourceMetadataKey["IsDryRun"] = "IS_DRY_RUN";
|
|
22
|
+
WorkRequestResourceMetadataKey["DisplayName"] = "DISPLAY_NAME";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
WorkRequestResourceMetadataKey["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(WorkRequestResourceMetadataKey = exports.WorkRequestResourceMetadataKey || (exports.WorkRequestResourceMetadataKey = {}));
|
|
29
|
+
(function (WorkRequestResourceMetadataKey) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
WorkRequestResourceMetadataKey.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
WorkRequestResourceMetadataKey.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(WorkRequestResourceMetadataKey = exports.WorkRequestResourceMetadataKey || (exports.WorkRequestResourceMetadataKey = {}));
|
|
39
|
+
//# sourceMappingURL=work-request-resource-metadata-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-resource-metadata-key.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request-resource-metadata-key.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,8BASX;AATD,WAAY,8BAA8B;IACxC,yDAAuB,CAAA;IACvB,8DAA4B,CAAA;IAE5B;;;OAGG;IACH,gEAA8B,CAAA;AAChC,CAAC,EATW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QASzC;AAED,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAmC;QAEnC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,qDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAS9C"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A resource created, or operated on, by a work request.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestResource {
|
|
18
|
+
/**
|
|
19
|
+
* The resource type the work request affects.
|
|
20
|
+
*/
|
|
21
|
+
"entityType": string;
|
|
22
|
+
/**
|
|
23
|
+
* The way in which this resource is affected by the work tracked in the work request.
|
|
24
|
+
* A resource being created, updated, or deleted remains in the IN_PROGRESS state until
|
|
25
|
+
* the work is complete for. At that point, it transitions to CREATED, UPDATED,
|
|
26
|
+
* or DELETED, as appropriate.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"actionType": model.ActionType;
|
|
30
|
+
/**
|
|
31
|
+
* The identifier of the resource the work request affects.
|
|
32
|
+
*/
|
|
33
|
+
"identifier": string;
|
|
34
|
+
/**
|
|
35
|
+
* The URI path that the user can do a GET on to access the resource metadata.
|
|
36
|
+
*/
|
|
37
|
+
"entityUri"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Additional information that helps to explain the resource.
|
|
40
|
+
*/
|
|
41
|
+
"metadata"?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export declare namespace WorkRequestResource {
|
|
46
|
+
function getJsonObj(obj: WorkRequestResource): object;
|
|
47
|
+
function getDeserializedJsonObj(obj: WorkRequestResource): object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.WorkRequestResource = void 0;
|
|
16
|
+
var WorkRequestResource;
|
|
17
|
+
(function (WorkRequestResource) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
WorkRequestResource.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
WorkRequestResource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(WorkRequestResource = exports.WorkRequestResource || (exports.WorkRequestResource = {}));
|
|
29
|
+
//# sourceMappingURL=work-request-resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-resource.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmCH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The results of a workRequest search.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestSummaryCollection {
|
|
18
|
+
/**
|
|
19
|
+
* The list of workRequestSummary objects.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.WorkRequestSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace WorkRequestSummaryCollection {
|
|
24
|
+
function getJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.WorkRequestSummaryCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestSummaryCollection;
|
|
37
|
+
(function (WorkRequestSummaryCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.WorkRequestSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestSummaryCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.WorkRequestSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestSummaryCollection = exports.WorkRequestSummaryCollection || (exports.WorkRequestSummaryCollection = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-summary-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A summary of the status of a work request.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The type of the work request.
|
|
20
|
+
*/
|
|
21
|
+
"operationType": model.OperationType;
|
|
22
|
+
/**
|
|
23
|
+
* The status of the current work request.
|
|
24
|
+
*/
|
|
25
|
+
"status": model.OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the work request.
|
|
28
|
+
*/
|
|
29
|
+
"id": string;
|
|
30
|
+
/**
|
|
31
|
+
* The compartment identifier.
|
|
32
|
+
*/
|
|
33
|
+
"compartmentId": string;
|
|
34
|
+
/**
|
|
35
|
+
* The resources affected by this work request.
|
|
36
|
+
*/
|
|
37
|
+
"resources": Array<model.WorkRequestResource>;
|
|
38
|
+
/**
|
|
39
|
+
* The percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"percentComplete": number;
|
|
42
|
+
/**
|
|
43
|
+
* The date and time the request was created, as described in
|
|
44
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"timeAccepted": Date;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339),
|
|
50
|
+
* section 14.29.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"timeStarted"?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"timeFinished"?: Date;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace WorkRequestSummary {
|
|
61
|
+
function getJsonObj(obj: WorkRequestSummary): object;
|
|
62
|
+
function getDeserializedJsonObj(obj: WorkRequestSummary): object;
|
|
63
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.WorkRequestSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestSummary;
|
|
37
|
+
(function (WorkRequestSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"resources": obj.resources
|
|
41
|
+
? obj.resources.map(item => {
|
|
42
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestSummary.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"resources": obj.resources
|
|
52
|
+
? obj.resources.map(item => {
|
|
53
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestSummary = exports.WorkRequestSummary || (exports.WorkRequestSummary = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkDlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The workrequest status details.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The type of work request.
|
|
20
|
+
*/
|
|
21
|
+
"operationType": model.OperationType;
|
|
22
|
+
/**
|
|
23
|
+
* The status of the current work request.
|
|
24
|
+
*/
|
|
25
|
+
"status": model.OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the work request.
|
|
28
|
+
*/
|
|
29
|
+
"id": string;
|
|
30
|
+
/**
|
|
31
|
+
* The compartment identifier.
|
|
32
|
+
*/
|
|
33
|
+
"compartmentId": string;
|
|
34
|
+
/**
|
|
35
|
+
* The resources affected by this work request.
|
|
36
|
+
*/
|
|
37
|
+
"resources": Array<model.WorkRequestResource>;
|
|
38
|
+
/**
|
|
39
|
+
* The percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"percentComplete": number;
|
|
42
|
+
/**
|
|
43
|
+
* The date and time the request was created, as described in
|
|
44
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"timeAccepted": Date;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339),
|
|
50
|
+
* section 14.29.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"timeStarted"?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"timeFinished"?: Date;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace WorkRequest {
|
|
61
|
+
function getJsonObj(obj: WorkRequest): object;
|
|
62
|
+
function getDeserializedJsonObj(obj: WorkRequest): object;
|
|
63
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.WorkRequest = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequest;
|
|
37
|
+
(function (WorkRequest) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"resources": obj.resources
|
|
41
|
+
? obj.resources.map(item => {
|
|
42
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequest.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"resources": obj.resources
|
|
52
|
+
? obj.resources.map(item => {
|
|
53
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequest = exports.WorkRequest || (exports.WorkRequest = {}));
|
|
61
|
+
//# sourceMappingURL=work-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/work-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkDlC,IAAiB,WAAW,CA6B3B;AA7BD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA6B3B"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJobRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelProcessorJobRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.3/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelWorkRequestRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the asynchronous request.
|
|
20
|
+
*/
|
|
21
|
+
"workRequestId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The client request ID for tracing.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=cancel-work-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-work-request-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/cancel-work-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|