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,119 @@
|
|
|
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.ValueTime = exports.ValueString = exports.ValuePhoneNumber = exports.ValueNumber = exports.ValueInteger = exports.ValueDate = exports.ValueArray = exports.ObjectStorageLocations = exports.InlineDocumentContent = exports.GeneralProcessorConfig = exports.DocumentTextExtractionFeature = exports.DocumentTableExtractionFeature = exports.DocumentLanguageClassificationFeature = exports.DocumentKeyValueExtractionFeature = exports.DocumentClassificationFeature = exports.Word = exports.TableRow = exports.Table = exports.ProcessorType = exports.ProcessorJob = exports.ProcessorConfig = exports.ProcessingError = exports.Page = exports.OutputLocation = exports.ObjectLocation = exports.NormalizedVertex = exports.Line = exports.InputLocation = exports.FieldValue = exports.FieldName = exports.FieldLabel = exports.DocumentType = exports.DocumentMetadata = exports.DocumentField = exports.DocumentFeature = exports.Dimensions = exports.DetectedLanguage = exports.DetectedDocumentType = exports.CreateProcessorJobDetails = exports.Cell = exports.BoundingPolygon = exports.AnalyzeDocumentResult = void 0;
|
|
35
|
+
const AnalyzeDocumentResult = __importStar(require("./analyze-document-result"));
|
|
36
|
+
exports.AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;
|
|
37
|
+
const BoundingPolygon = __importStar(require("./bounding-polygon"));
|
|
38
|
+
exports.BoundingPolygon = BoundingPolygon.BoundingPolygon;
|
|
39
|
+
const Cell = __importStar(require("./cell"));
|
|
40
|
+
exports.Cell = Cell.Cell;
|
|
41
|
+
const CreateProcessorJobDetails = __importStar(require("./create-processor-job-details"));
|
|
42
|
+
exports.CreateProcessorJobDetails = CreateProcessorJobDetails.CreateProcessorJobDetails;
|
|
43
|
+
const DetectedDocumentType = __importStar(require("./detected-document-type"));
|
|
44
|
+
exports.DetectedDocumentType = DetectedDocumentType.DetectedDocumentType;
|
|
45
|
+
const DetectedLanguage = __importStar(require("./detected-language"));
|
|
46
|
+
exports.DetectedLanguage = DetectedLanguage.DetectedLanguage;
|
|
47
|
+
const Dimensions = __importStar(require("./dimensions"));
|
|
48
|
+
exports.Dimensions = Dimensions.Dimensions;
|
|
49
|
+
const DocumentFeature = __importStar(require("./document-feature"));
|
|
50
|
+
exports.DocumentFeature = DocumentFeature.DocumentFeature;
|
|
51
|
+
const DocumentField = __importStar(require("./document-field"));
|
|
52
|
+
exports.DocumentField = DocumentField.DocumentField;
|
|
53
|
+
const DocumentMetadata = __importStar(require("./document-metadata"));
|
|
54
|
+
exports.DocumentMetadata = DocumentMetadata.DocumentMetadata;
|
|
55
|
+
const DocumentType = __importStar(require("./document-type"));
|
|
56
|
+
exports.DocumentType = DocumentType.DocumentType;
|
|
57
|
+
const FieldLabel = __importStar(require("./field-label"));
|
|
58
|
+
exports.FieldLabel = FieldLabel.FieldLabel;
|
|
59
|
+
const FieldName = __importStar(require("./field-name"));
|
|
60
|
+
exports.FieldName = FieldName.FieldName;
|
|
61
|
+
const FieldValue = __importStar(require("./field-value"));
|
|
62
|
+
exports.FieldValue = FieldValue.FieldValue;
|
|
63
|
+
const InputLocation = __importStar(require("./input-location"));
|
|
64
|
+
exports.InputLocation = InputLocation.InputLocation;
|
|
65
|
+
const Line = __importStar(require("./line"));
|
|
66
|
+
exports.Line = Line.Line;
|
|
67
|
+
const NormalizedVertex = __importStar(require("./normalized-vertex"));
|
|
68
|
+
exports.NormalizedVertex = NormalizedVertex.NormalizedVertex;
|
|
69
|
+
const ObjectLocation = __importStar(require("./object-location"));
|
|
70
|
+
exports.ObjectLocation = ObjectLocation.ObjectLocation;
|
|
71
|
+
const OutputLocation = __importStar(require("./output-location"));
|
|
72
|
+
exports.OutputLocation = OutputLocation.OutputLocation;
|
|
73
|
+
const Page = __importStar(require("./page"));
|
|
74
|
+
exports.Page = Page.Page;
|
|
75
|
+
const ProcessingError = __importStar(require("./processing-error"));
|
|
76
|
+
exports.ProcessingError = ProcessingError.ProcessingError;
|
|
77
|
+
const ProcessorConfig = __importStar(require("./processor-config"));
|
|
78
|
+
exports.ProcessorConfig = ProcessorConfig.ProcessorConfig;
|
|
79
|
+
const ProcessorJob = __importStar(require("./processor-job"));
|
|
80
|
+
exports.ProcessorJob = ProcessorJob.ProcessorJob;
|
|
81
|
+
const ProcessorType = __importStar(require("./processor-type"));
|
|
82
|
+
exports.ProcessorType = ProcessorType.ProcessorType;
|
|
83
|
+
const Table = __importStar(require("./table"));
|
|
84
|
+
exports.Table = Table.Table;
|
|
85
|
+
const TableRow = __importStar(require("./table-row"));
|
|
86
|
+
exports.TableRow = TableRow.TableRow;
|
|
87
|
+
const Word = __importStar(require("./word"));
|
|
88
|
+
exports.Word = Word.Word;
|
|
89
|
+
const DocumentClassificationFeature = __importStar(require("./document-classification-feature"));
|
|
90
|
+
exports.DocumentClassificationFeature = DocumentClassificationFeature.DocumentClassificationFeature;
|
|
91
|
+
const DocumentKeyValueExtractionFeature = __importStar(require("./document-key-value-extraction-feature"));
|
|
92
|
+
exports.DocumentKeyValueExtractionFeature = DocumentKeyValueExtractionFeature.DocumentKeyValueExtractionFeature;
|
|
93
|
+
const DocumentLanguageClassificationFeature = __importStar(require("./document-language-classification-feature"));
|
|
94
|
+
exports.DocumentLanguageClassificationFeature = DocumentLanguageClassificationFeature.DocumentLanguageClassificationFeature;
|
|
95
|
+
const DocumentTableExtractionFeature = __importStar(require("./document-table-extraction-feature"));
|
|
96
|
+
exports.DocumentTableExtractionFeature = DocumentTableExtractionFeature.DocumentTableExtractionFeature;
|
|
97
|
+
const DocumentTextExtractionFeature = __importStar(require("./document-text-extraction-feature"));
|
|
98
|
+
exports.DocumentTextExtractionFeature = DocumentTextExtractionFeature.DocumentTextExtractionFeature;
|
|
99
|
+
const GeneralProcessorConfig = __importStar(require("./general-processor-config"));
|
|
100
|
+
exports.GeneralProcessorConfig = GeneralProcessorConfig.GeneralProcessorConfig;
|
|
101
|
+
const InlineDocumentContent = __importStar(require("./inline-document-content"));
|
|
102
|
+
exports.InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
|
|
103
|
+
const ObjectStorageLocations = __importStar(require("./object-storage-locations"));
|
|
104
|
+
exports.ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;
|
|
105
|
+
const ValueArray = __importStar(require("./value-array"));
|
|
106
|
+
exports.ValueArray = ValueArray.ValueArray;
|
|
107
|
+
const ValueDate = __importStar(require("./value-date"));
|
|
108
|
+
exports.ValueDate = ValueDate.ValueDate;
|
|
109
|
+
const ValueInteger = __importStar(require("./value-integer"));
|
|
110
|
+
exports.ValueInteger = ValueInteger.ValueInteger;
|
|
111
|
+
const ValueNumber = __importStar(require("./value-number"));
|
|
112
|
+
exports.ValueNumber = ValueNumber.ValueNumber;
|
|
113
|
+
const ValuePhoneNumber = __importStar(require("./value-phone-number"));
|
|
114
|
+
exports.ValuePhoneNumber = ValuePhoneNumber.ValuePhoneNumber;
|
|
115
|
+
const ValueString = __importStar(require("./value-string"));
|
|
116
|
+
exports.ValueString = ValueString.ValueString;
|
|
117
|
+
const ValueTime = __importStar(require("./value-time"));
|
|
118
|
+
exports.ValueTime = ValueTime.ValueTime;
|
|
119
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -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 content of an inline document.
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineDocumentContent extends model.InputLocation {
|
|
18
|
+
/**
|
|
19
|
+
* Raw document data with Base64 encoding.
|
|
20
|
+
*/
|
|
21
|
+
"data": string;
|
|
22
|
+
"sourceType": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace InlineDocumentContent {
|
|
25
|
+
function getJsonObj(obj: InlineDocumentContent, isParentJsonObj?: boolean): object;
|
|
26
|
+
const sourceType = "INLINE_DOCUMENT_CONTENT";
|
|
27
|
+
function getDeserializedJsonObj(obj: InlineDocumentContent, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.InlineDocumentContent = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var InlineDocumentContent;
|
|
37
|
+
(function (InlineDocumentContent) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.InputLocation.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
InlineDocumentContent.getJsonObj = getJsonObj;
|
|
43
|
+
InlineDocumentContent.sourceType = "INLINE_DOCUMENT_CONTENT";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.InputLocation.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
InlineDocumentContent.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(InlineDocumentContent = exports.InlineDocumentContent || (exports.InlineDocumentContent = {}));
|
|
52
|
+
//# sourceMappingURL=inline-document-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-document-content.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/inline-document-content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,qBAAqB,CAuBrC;AAvBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GACxF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,gCAAU,aAOzB,CAAA;IACY,gCAAU,GAAG,yBAAyB,CAAC;IACpD,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GAC5E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAuBrC"}
|
|
@@ -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 location of the inputs.
|
|
15
|
+
*/
|
|
16
|
+
export interface InputLocation {
|
|
17
|
+
"sourceType": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace InputLocation {
|
|
20
|
+
function getJsonObj(obj: InputLocation): object;
|
|
21
|
+
function getDeserializedJsonObj(obj: InputLocation): object;
|
|
22
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.InputLocation = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var InputLocation;
|
|
38
|
+
(function (InputLocation) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
42
|
+
switch (obj.sourceType) {
|
|
43
|
+
case "INLINE_DOCUMENT_CONTENT":
|
|
44
|
+
return model.InlineDocumentContent.getJsonObj(jsonObj, true);
|
|
45
|
+
case "OBJECT_STORAGE_LOCATIONS":
|
|
46
|
+
return model.ObjectStorageLocations.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
InputLocation.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
58
|
+
switch (obj.sourceType) {
|
|
59
|
+
case "INLINE_DOCUMENT_CONTENT":
|
|
60
|
+
return model.InlineDocumentContent.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "OBJECT_STORAGE_LOCATIONS":
|
|
62
|
+
return model.ObjectStorageLocations.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
default:
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
InputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(InputLocation = exports.InputLocation || (exports.InputLocation = {}));
|
|
72
|
+
//# sourceMappingURL=input-location.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-location.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,aAAa,CA2C7B;AA3CD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA2C7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 line of text.
|
|
16
|
+
*/
|
|
17
|
+
export interface Line {
|
|
18
|
+
/**
|
|
19
|
+
* The text recognized.
|
|
20
|
+
*/
|
|
21
|
+
"text": string;
|
|
22
|
+
/**
|
|
23
|
+
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
|
+
*/
|
|
25
|
+
"confidence": number;
|
|
26
|
+
"boundingPolygon": model.BoundingPolygon;
|
|
27
|
+
/**
|
|
28
|
+
* The array of words.
|
|
29
|
+
*/
|
|
30
|
+
"wordIndexes": Array<number>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace Line {
|
|
33
|
+
function getJsonObj(obj: Line): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: Line): object;
|
|
35
|
+
}
|
|
@@ -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.Line = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Line;
|
|
37
|
+
(function (Line) {
|
|
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
|
+
Line.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
|
+
Line.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(Line = exports.Line || (exports.Line = {}));
|
|
57
|
+
//# sourceMappingURL=line.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/line.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,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,32 @@
|
|
|
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
|
+
* An (x, y) coordinate in the image with dimensions normalized from zero to one.
|
|
15
|
+
* The origin is at top left, with the positive x-axis pointing right and the positive y-axis pointing down.
|
|
16
|
+
* The bottom right corner is at (1, 1).
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface NormalizedVertex {
|
|
20
|
+
/**
|
|
21
|
+
* The X-axis normalized coordinate. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
22
|
+
*/
|
|
23
|
+
"x": number;
|
|
24
|
+
/**
|
|
25
|
+
* The Y-axis normalized coordinate. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
|
+
*/
|
|
27
|
+
"y": number;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace NormalizedVertex {
|
|
30
|
+
function getJsonObj(obj: NormalizedVertex): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: NormalizedVertex): object;
|
|
32
|
+
}
|
|
@@ -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.NormalizedVertex = void 0;
|
|
16
|
+
var NormalizedVertex;
|
|
17
|
+
(function (NormalizedVertex) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
NormalizedVertex.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
NormalizedVertex.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(NormalizedVertex = exports.NormalizedVertex || (exports.NormalizedVertex = {}));
|
|
29
|
+
//# sourceMappingURL=normalized-vertex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalized-vertex.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/normalized-vertex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAsBH,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,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
|
+
/**
|
|
14
|
+
* A location in Object Storage that is uniquely identified by namespace name, bucket name and object name.
|
|
15
|
+
*/
|
|
16
|
+
export interface ObjectLocation {
|
|
17
|
+
/**
|
|
18
|
+
* The Object Storage namespace name.
|
|
19
|
+
*/
|
|
20
|
+
"namespaceName": string;
|
|
21
|
+
/**
|
|
22
|
+
* The Object Storage bucket name.
|
|
23
|
+
*/
|
|
24
|
+
"bucketName": string;
|
|
25
|
+
/**
|
|
26
|
+
* The Object Storage object name.
|
|
27
|
+
*/
|
|
28
|
+
"objectName": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ObjectLocation {
|
|
31
|
+
function getJsonObj(obj: ObjectLocation): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: ObjectLocation): object;
|
|
33
|
+
}
|
|
@@ -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.ObjectLocation = void 0;
|
|
16
|
+
var ObjectLocation;
|
|
17
|
+
(function (ObjectLocation) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
ObjectLocation.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
ObjectLocation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(ObjectLocation = exports.ObjectLocation || (exports.ObjectLocation = {}));
|
|
29
|
+
//# sourceMappingURL=object-location.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-location.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/object-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
|
|
@@ -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
|
+
* A list of object locations in Object Storage.
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectStorageLocations extends model.InputLocation {
|
|
18
|
+
/**
|
|
19
|
+
* The list of ObjectLocations.
|
|
20
|
+
*/
|
|
21
|
+
"objectLocations": Array<model.ObjectLocation>;
|
|
22
|
+
"sourceType": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ObjectStorageLocations {
|
|
25
|
+
function getJsonObj(obj: ObjectStorageLocations, isParentJsonObj?: boolean): object;
|
|
26
|
+
const sourceType = "OBJECT_STORAGE_LOCATIONS";
|
|
27
|
+
function getDeserializedJsonObj(obj: ObjectStorageLocations, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.ObjectStorageLocations = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ObjectStorageLocations;
|
|
37
|
+
(function (ObjectStorageLocations) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.InputLocation.getJsonObj(obj))), {
|
|
40
|
+
"objectLocations": obj.objectLocations
|
|
41
|
+
? obj.objectLocations.map(item => {
|
|
42
|
+
return model.ObjectLocation.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ObjectStorageLocations.getJsonObj = getJsonObj;
|
|
49
|
+
ObjectStorageLocations.sourceType = "OBJECT_STORAGE_LOCATIONS";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.InputLocation.getDeserializedJsonObj(obj))), {
|
|
54
|
+
"objectLocations": obj.objectLocations
|
|
55
|
+
? obj.objectLocations.map(item => {
|
|
56
|
+
return model.ObjectLocation.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
ObjectStorageLocations.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(ObjectStorageLocations = exports.ObjectStorageLocations || (exports.ObjectStorageLocations = {}));
|
|
64
|
+
//# sourceMappingURL=object-storage-locations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-locations.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/object-storage-locations.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,sBAAsB,CAmCtC;AAnCD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAA4B,CAAC,GACzF;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACY,iCAAU,GAAG,0BAA0B,CAAC;IACrD,SAAgB,sBAAsB,CACpC,GAA2B,EAC3B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAA4B,CAAC,GAC7E;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,6CAAsB,yBAkBrC,CAAA;AACH,CAAC,EAnCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAmCtC"}
|