oci-aidocument 2.49.0
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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/aiservicedocument-waiter.d.ts +29 -0
- package/lib/aiservicedocument-waiter.js +45 -0
- package/lib/aiservicedocument-waiter.js.map +1 -0
- package/lib/client.d.ts +102 -0
- package/lib/client.js +341 -0
- package/lib/client.js.map +1 -0
- package/lib/model/analyze-document-result.d.ts +63 -0
- package/lib/model/analyze-document-result.js +97 -0
- package/lib/model/analyze-document-result.js.map +1 -0
- package/lib/model/bounding-polygon.d.ts +28 -0
- package/lib/model/bounding-polygon.js +61 -0
- package/lib/model/bounding-polygon.js.map +1 -0
- package/lib/model/cell.d.ts +43 -0
- package/lib/model/cell.js +57 -0
- package/lib/model/cell.js.map +1 -0
- package/lib/model/create-processor-job-details.d.ts +33 -0
- package/lib/model/create-processor-job-details.js +69 -0
- package/lib/model/create-processor-job-details.js.map +1 -0
- package/lib/model/detected-document-type.d.ts +29 -0
- package/lib/model/detected-document-type.js +29 -0
- package/lib/model/detected-document-type.js.map +1 -0
- package/lib/model/detected-language.d.ts +29 -0
- package/lib/model/detected-language.js +29 -0
- package/lib/model/detected-language.js.map +1 -0
- package/lib/model/dimensions.d.ts +42 -0
- package/lib/model/dimensions.js +39 -0
- package/lib/model/dimensions.js.map +1 -0
- package/lib/model/document-classification-feature.d.ts +28 -0
- package/lib/model/document-classification-feature.js +54 -0
- package/lib/model/document-classification-feature.js.map +1 -0
- package/lib/model/document-feature.d.ts +22 -0
- package/lib/model/document-feature.js +84 -0
- package/lib/model/document-feature.js.map +1 -0
- package/lib/model/document-field.d.ts +40 -0
- package/lib/model/document-field.js +75 -0
- package/lib/model/document-field.js.map +1 -0
- package/lib/model/document-key-value-extraction-feature.d.ts +24 -0
- package/lib/model/document-key-value-extraction-feature.js +54 -0
- package/lib/model/document-key-value-extraction-feature.js.map +1 -0
- package/lib/model/document-language-classification-feature.d.ts +28 -0
- package/lib/model/document-language-classification-feature.js +54 -0
- package/lib/model/document-language-classification-feature.js.map +1 -0
- package/lib/model/document-metadata.d.ts +29 -0
- package/lib/model/document-metadata.js +29 -0
- package/lib/model/document-metadata.js.map +1 -0
- package/lib/model/document-table-extraction-feature.d.ts +24 -0
- package/lib/model/document-table-extraction-feature.js +54 -0
- package/lib/model/document-table-extraction-feature.js.map +1 -0
- package/lib/model/document-text-extraction-feature.d.ts +28 -0
- package/lib/model/document-text-extraction-feature.js +54 -0
- package/lib/model/document-text-extraction-feature.js.map +1 -0
- package/lib/model/document-type.d.ts +36 -0
- package/lib/model/document-type.js +47 -0
- package/lib/model/document-type.js.map +1 -0
- package/lib/model/field-label.d.ts +29 -0
- package/lib/model/field-label.js +29 -0
- package/lib/model/field-label.js.map +1 -0
- package/lib/model/field-name.d.ts +35 -0
- package/lib/model/field-name.js +57 -0
- package/lib/model/field-name.js.map +1 -0
- package/lib/model/field-value.d.ts +36 -0
- package/lib/model/field-value.js +100 -0
- package/lib/model/field-value.js.map +1 -0
- package/lib/model/general-processor-config.d.ts +40 -0
- package/lib/model/general-processor-config.js +66 -0
- package/lib/model/general-processor-config.js.map +1 -0
- package/lib/model/index.d.ts +96 -0
- package/lib/model/index.js +119 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/inline-document-content.d.ts +28 -0
- package/lib/model/inline-document-content.js +52 -0
- package/lib/model/inline-document-content.js.map +1 -0
- package/lib/model/input-location.d.ts +22 -0
- package/lib/model/input-location.js +72 -0
- package/lib/model/input-location.js.map +1 -0
- package/lib/model/line.d.ts +35 -0
- package/lib/model/line.js +57 -0
- package/lib/model/line.js.map +1 -0
- package/lib/model/normalized-vertex.d.ts +32 -0
- package/lib/model/normalized-vertex.js +29 -0
- package/lib/model/normalized-vertex.js.map +1 -0
- package/lib/model/object-location.d.ts +33 -0
- package/lib/model/object-location.js +29 -0
- package/lib/model/object-location.js.map +1 -0
- package/lib/model/object-storage-locations.d.ts +28 -0
- package/lib/model/object-storage-locations.js +64 -0
- package/lib/model/object-storage-locations.js.map +1 -0
- package/lib/model/output-location.d.ts +33 -0
- package/lib/model/output-location.js +29 -0
- package/lib/model/output-location.js.map +1 -0
- package/lib/model/page.d.ts +51 -0
- package/lib/model/page.js +115 -0
- package/lib/model/page.js.map +1 -0
- package/lib/model/processing-error.d.ts +29 -0
- package/lib/model/processing-error.js +29 -0
- package/lib/model/processing-error.js.map +1 -0
- package/lib/model/processor-config.d.ts +22 -0
- package/lib/model/processor-config.js +68 -0
- package/lib/model/processor-config.js.map +1 -0
- package/lib/model/processor-job.d.ts +83 -0
- package/lib/model/processor-job.js +93 -0
- package/lib/model/processor-job.js.map +1 -0
- package/lib/model/processor-type.d.ts +27 -0
- package/lib/model/processor-type.js +38 -0
- package/lib/model/processor-type.js.map +1 -0
- package/lib/model/table-row.d.ts +26 -0
- package/lib/model/table-row.js +61 -0
- package/lib/model/table-row.js.map +1 -0
- package/lib/model/table.d.ts +47 -0
- package/lib/model/table.js +87 -0
- package/lib/model/table.js.map +1 -0
- package/lib/model/value-array.d.ts +25 -0
- package/lib/model/value-array.js +62 -0
- package/lib/model/value-array.js.map +1 -0
- package/lib/model/value-date.d.ts +28 -0
- package/lib/model/value-date.js +50 -0
- package/lib/model/value-date.js.map +1 -0
- package/lib/model/value-integer.d.ts +28 -0
- package/lib/model/value-integer.js +50 -0
- package/lib/model/value-integer.js.map +1 -0
- package/lib/model/value-number.d.ts +28 -0
- package/lib/model/value-number.js +50 -0
- package/lib/model/value-number.js.map +1 -0
- package/lib/model/value-phone-number.d.ts +28 -0
- package/lib/model/value-phone-number.js +52 -0
- package/lib/model/value-phone-number.js.map +1 -0
- package/lib/model/value-string.d.ts +28 -0
- package/lib/model/value-string.js +50 -0
- package/lib/model/value-string.js.map +1 -0
- package/lib/model/value-time.d.ts +28 -0
- package/lib/model/value-time.js +50 -0
- package/lib/model/value-time.js.map +1 -0
- package/lib/model/word.d.ts +31 -0
- package/lib/model/word.js +57 -0
- package/lib/model/word.js.map +1 -0
- package/lib/request/cancel-processor-job-request.d.ts +35 -0
- package/lib/request/cancel-processor-job-request.js +15 -0
- package/lib/request/cancel-processor-job-request.js.map +1 -0
- package/lib/request/create-processor-job-request.d.ts +36 -0
- package/lib/request/create-processor-job-request.js +15 -0
- package/lib/request/create-processor-job-request.js.map +1 -0
- package/lib/request/get-processor-job-request.d.ts +26 -0
- package/lib/request/get-processor-job-request.js +15 -0
- package/lib/request/get-processor-job-request.js.map +1 -0
- package/lib/request/index.d.ts +18 -0
- package/lib/request/index.js +15 -0
- package/lib/request/index.js.map +1 -0
- package/lib/response/cancel-processor-job-response.d.ts +20 -0
- package/lib/response/cancel-processor-job-response.js +15 -0
- package/lib/response/cancel-processor-job-response.js.map +1 -0
- package/lib/response/create-processor-job-response.d.ts +30 -0
- package/lib/response/create-processor-job-response.js +15 -0
- package/lib/response/create-processor-job-response.js.map +1 -0
- package/lib/response/get-processor-job-response.d.ts +30 -0
- package/lib/response/get-processor-job-response.js +15 -0
- package/lib/response/get-processor-job-response.js.map +1 -0
- package/lib/response/index.d.ts +18 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyze-document-result.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/analyze-document-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkDlC,IAAiB,qBAAqB,CAmErC;AAnED,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhCe,gCAAU,aAgCzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhCe,4CAAsB,yBAgCrC,CAAA;AACH,CAAC,EAnEgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAmErC"}
|
|
@@ -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, 2022, 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 object-bounding polygon box.
|
|
16
|
+
*/
|
|
17
|
+
export interface BoundingPolygon {
|
|
18
|
+
/**
|
|
19
|
+
* An array of normalized points defining the polygon's perimeter, with an implicit segment between subsequent points and between the first and last point.
|
|
20
|
+
* Rectangles are defined with four points. For example, `[{\"x\": 0, \"y\": 0}, {\"x\": 1, \"y\": 0}, {\"x\": 1, \"y\": 0.5}, {\"x\": 0, \"y\": 0.5}]` represents the top half of an image.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"normalizedVertices": Array<model.NormalizedVertex>;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace BoundingPolygon {
|
|
26
|
+
function getJsonObj(obj: BoundingPolygon): object;
|
|
27
|
+
function getDeserializedJsonObj(obj: BoundingPolygon): object;
|
|
28
|
+
}
|
|
@@ -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, 2022, 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.BoundingPolygon = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var BoundingPolygon;
|
|
37
|
+
(function (BoundingPolygon) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"normalizedVertices": obj.normalizedVertices
|
|
41
|
+
? obj.normalizedVertices.map(item => {
|
|
42
|
+
return model.NormalizedVertex.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
BoundingPolygon.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"normalizedVertices": obj.normalizedVertices
|
|
52
|
+
? obj.normalizedVertices.map(item => {
|
|
53
|
+
return model.NormalizedVertex.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
BoundingPolygon.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(BoundingPolygon = exports.BoundingPolygon || (exports.BoundingPolygon = {}));
|
|
61
|
+
//# sourceMappingURL=bounding-polygon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bounding-polygon.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/bounding-polygon.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,eAAe,CA6B/B;AA7BD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA6B/B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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, 2022, 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 single cell in a table.
|
|
16
|
+
*/
|
|
17
|
+
export interface Cell {
|
|
18
|
+
/**
|
|
19
|
+
* The text recognized in the cell.
|
|
20
|
+
*/
|
|
21
|
+
"text": string;
|
|
22
|
+
/**
|
|
23
|
+
* The index of the cell inside the row. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
|
+
*/
|
|
25
|
+
"rowIndex": number;
|
|
26
|
+
/**
|
|
27
|
+
* The index of the cell inside the column. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"columnIndex": number;
|
|
30
|
+
/**
|
|
31
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"confidence": number;
|
|
34
|
+
"boundingPolygon": model.BoundingPolygon;
|
|
35
|
+
/**
|
|
36
|
+
* The words detected in the cell.
|
|
37
|
+
*/
|
|
38
|
+
"wordIndexes": Array<number>;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace Cell {
|
|
41
|
+
function getJsonObj(obj: Cell): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: Cell): object;
|
|
43
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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, 2022, 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.Cell = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Cell;
|
|
37
|
+
(function (Cell) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"boundingPolygon": obj.boundingPolygon
|
|
41
|
+
? model.BoundingPolygon.getJsonObj(obj.boundingPolygon)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
Cell.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"boundingPolygon": obj.boundingPolygon
|
|
50
|
+
? model.BoundingPolygon.getDeserializedJsonObj(obj.boundingPolygon)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
Cell.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(Cell = exports.Cell || (exports.Cell = {}));
|
|
57
|
+
//# sourceMappingURL=cell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/cell.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8BlC,IAAiB,IAAI,CAyBpB;AAzBD,WAAiB,IAAI;IACnB,SAAgB,UAAU,CAAC,GAAS;QAClC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,eAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAS;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAyBpB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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, 2022, 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 details used to create a processor job.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProcessorJobDetails {
|
|
18
|
+
"inputLocation": model.InlineDocumentContent | model.ObjectStorageLocations;
|
|
19
|
+
"outputLocation": model.OutputLocation;
|
|
20
|
+
/**
|
|
21
|
+
* The compartment identifier.
|
|
22
|
+
*/
|
|
23
|
+
"compartmentId": string;
|
|
24
|
+
/**
|
|
25
|
+
* The display name of the processor job.
|
|
26
|
+
*/
|
|
27
|
+
"displayName"?: string;
|
|
28
|
+
"processorConfig": model.GeneralProcessorConfig;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace CreateProcessorJobDetails {
|
|
31
|
+
function getJsonObj(obj: CreateProcessorJobDetails): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: CreateProcessorJobDetails): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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, 2022, 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.CreateProcessorJobDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateProcessorJobDetails;
|
|
37
|
+
(function (CreateProcessorJobDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"inputLocation": obj.inputLocation
|
|
41
|
+
? model.InputLocation.getJsonObj(obj.inputLocation)
|
|
42
|
+
: undefined,
|
|
43
|
+
"outputLocation": obj.outputLocation
|
|
44
|
+
? model.OutputLocation.getJsonObj(obj.outputLocation)
|
|
45
|
+
: undefined,
|
|
46
|
+
"processorConfig": obj.processorConfig
|
|
47
|
+
? model.ProcessorConfig.getJsonObj(obj.processorConfig)
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
CreateProcessorJobDetails.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"inputLocation": obj.inputLocation
|
|
56
|
+
? model.InputLocation.getDeserializedJsonObj(obj.inputLocation)
|
|
57
|
+
: undefined,
|
|
58
|
+
"outputLocation": obj.outputLocation
|
|
59
|
+
? model.OutputLocation.getDeserializedJsonObj(obj.outputLocation)
|
|
60
|
+
: undefined,
|
|
61
|
+
"processorConfig": obj.processorConfig
|
|
62
|
+
? model.ProcessorConfig.getDeserializedJsonObj(obj.processorConfig)
|
|
63
|
+
: undefined
|
|
64
|
+
});
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
CreateProcessorJobDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(CreateProcessorJobDetails = exports.CreateProcessorJobDetails || (exports.CreateProcessorJobDetails = {}));
|
|
69
|
+
//# sourceMappingURL=create-processor-job-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-processor-job-details.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/create-processor-job-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,yBAAyB,CAuCzC;AAvCD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,oCAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,gDAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAuCzC"}
|
|
@@ -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, 2022, 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
|
+
* The detected document type.
|
|
15
|
+
*/
|
|
16
|
+
export interface DetectedDocumentType {
|
|
17
|
+
/**
|
|
18
|
+
* The document type.
|
|
19
|
+
*/
|
|
20
|
+
"documentType": string;
|
|
21
|
+
/**
|
|
22
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
|
+
*/
|
|
24
|
+
"confidence": number;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace DetectedDocumentType {
|
|
27
|
+
function getJsonObj(obj: DetectedDocumentType): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: DetectedDocumentType): 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, 2022, 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.DetectedDocumentType = void 0;
|
|
16
|
+
var DetectedDocumentType;
|
|
17
|
+
(function (DetectedDocumentType) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
DetectedDocumentType.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
DetectedDocumentType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(DetectedDocumentType = exports.DetectedDocumentType || (exports.DetectedDocumentType = {}));
|
|
29
|
+
//# sourceMappingURL=detected-document-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detected-document-type.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/detected-document-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -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, 2022, 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
|
+
* The language detected in a document.
|
|
15
|
+
*/
|
|
16
|
+
export interface DetectedLanguage {
|
|
17
|
+
/**
|
|
18
|
+
* The document language, abbreviated according to the BCP 47 syntax.
|
|
19
|
+
*/
|
|
20
|
+
"language": string;
|
|
21
|
+
/**
|
|
22
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
|
+
*/
|
|
24
|
+
"confidence": number;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace DetectedLanguage {
|
|
27
|
+
function getJsonObj(obj: DetectedLanguage): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: DetectedLanguage): 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, 2022, 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.DetectedLanguage = void 0;
|
|
16
|
+
var DetectedLanguage;
|
|
17
|
+
(function (DetectedLanguage) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
DetectedLanguage.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
DetectedLanguage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(DetectedLanguage = exports.DetectedLanguage || (exports.DetectedLanguage = {}));
|
|
29
|
+
//# sourceMappingURL=detected-language.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detected-language.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/detected-language.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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, 2022, 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
|
+
* The width and height of a page.
|
|
15
|
+
*/
|
|
16
|
+
export interface Dimensions {
|
|
17
|
+
/**
|
|
18
|
+
* the width of a page. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
19
|
+
*/
|
|
20
|
+
"width": number;
|
|
21
|
+
/**
|
|
22
|
+
* The height of a page. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
|
+
*/
|
|
24
|
+
"height": number;
|
|
25
|
+
/**
|
|
26
|
+
* The unit of length.
|
|
27
|
+
*/
|
|
28
|
+
"unit": Dimensions.Unit;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace Dimensions {
|
|
31
|
+
enum Unit {
|
|
32
|
+
Pixel = "PIXEL",
|
|
33
|
+
Inch = "INCH",
|
|
34
|
+
/**
|
|
35
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
36
|
+
* version of the SDK.
|
|
37
|
+
*/
|
|
38
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
39
|
+
}
|
|
40
|
+
function getJsonObj(obj: Dimensions): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: Dimensions): object;
|
|
42
|
+
}
|
|
@@ -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, 2022, 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.Dimensions = void 0;
|
|
16
|
+
var Dimensions;
|
|
17
|
+
(function (Dimensions) {
|
|
18
|
+
let Unit;
|
|
19
|
+
(function (Unit) {
|
|
20
|
+
Unit["Pixel"] = "PIXEL";
|
|
21
|
+
Unit["Inch"] = "INCH";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
Unit["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(Unit = Dimensions.Unit || (Dimensions.Unit = {}));
|
|
28
|
+
function getJsonObj(obj) {
|
|
29
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
30
|
+
return jsonObj;
|
|
31
|
+
}
|
|
32
|
+
Dimensions.getJsonObj = getJsonObj;
|
|
33
|
+
function getDeserializedJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
Dimensions.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(Dimensions = exports.Dimensions || (exports.Dimensions = {}));
|
|
39
|
+
//# sourceMappingURL=dimensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimensions.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/dimensions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,UAAU,CAqB1B;AArBD,WAAiB,UAAU;IACzB,IAAY,IAQX;IARD,WAAY,IAAI;QACd,uBAAe,CAAA;QACf,qBAAa,CAAA;QACb;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EARW,IAAI,GAAJ,eAAI,KAAJ,eAAI,QAQf;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAqB1B"}
|
|
@@ -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, 2022, 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
|
+
* Identifying the document type.
|
|
16
|
+
*/
|
|
17
|
+
export interface DocumentClassificationFeature extends model.DocumentFeature {
|
|
18
|
+
/**
|
|
19
|
+
* The maximum number of results to return. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
20
|
+
*/
|
|
21
|
+
"maxResults"?: number;
|
|
22
|
+
"featureType": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace DocumentClassificationFeature {
|
|
25
|
+
function getJsonObj(obj: DocumentClassificationFeature, isParentJsonObj?: boolean): object;
|
|
26
|
+
const featureType = "DOCUMENT_CLASSIFICATION";
|
|
27
|
+
function getDeserializedJsonObj(obj: DocumentClassificationFeature, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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, 2022, 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.DocumentClassificationFeature = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var DocumentClassificationFeature;
|
|
37
|
+
(function (DocumentClassificationFeature) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.DocumentFeature.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
DocumentClassificationFeature.getJsonObj = getJsonObj;
|
|
45
|
+
DocumentClassificationFeature.featureType = "DOCUMENT_CLASSIFICATION";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.DocumentFeature.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
DocumentClassificationFeature.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(DocumentClassificationFeature = exports.DocumentClassificationFeature || (exports.DocumentClassificationFeature = {}));
|
|
54
|
+
//# sourceMappingURL=document-classification-feature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-classification-feature.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/document-classification-feature.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,6BAA6B,CA4B7C;AA5BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GAC1E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,yCAAW,GAAG,yBAAyB,CAAC;IACrD,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAmC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,oDAAsB,yBAYrC,CAAA;AACH,CAAC,EA5BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA4B7C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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, 2022, 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
|
+
* The type of document analysis.
|
|
15
|
+
*/
|
|
16
|
+
export interface DocumentFeature {
|
|
17
|
+
"featureType": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace DocumentFeature {
|
|
20
|
+
function getJsonObj(obj: DocumentFeature): object;
|
|
21
|
+
function getDeserializedJsonObj(obj: DocumentFeature): object;
|
|
22
|
+
}
|