oci-aidocument 2.63.0 → 2.65.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 +6 -6
- package/lib/client.d.ts +39 -20
- package/lib/client.js +164 -20
- package/lib/client.js.map +1 -1
- package/lib/model/analyze-document-details.d.ts +41 -0
- package/lib/model/analyze-document-details.js +75 -0
- package/lib/model/analyze-document-details.js.map +1 -0
- package/lib/model/component-model.d.ts +25 -0
- package/lib/model/component-model.js +29 -0
- package/lib/model/component-model.js.map +1 -0
- package/lib/model/create-model-details.d.ts +8 -0
- package/lib/model/create-model-details.js +10 -0
- package/lib/model/create-model-details.js.map +1 -1
- package/lib/model/detected-document-type.d.ts +4 -0
- package/lib/model/detected-document-type.js.map +1 -1
- package/lib/model/document-classification-feature.d.ts +4 -0
- package/lib/model/document-classification-feature.js.map +1 -1
- package/lib/model/document-details.d.ts +22 -0
- package/lib/model/document-details.js +72 -0
- package/lib/model/document-details.js.map +1 -0
- package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
- package/lib/model/document-key-value-extraction-feature.js.map +1 -1
- package/lib/model/index.d.ts +16 -0
- package/lib/model/index.js +18 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/inline-document-details.d.ts +28 -0
- package/lib/model/inline-document-details.js +52 -0
- package/lib/model/inline-document-details.js.map +1 -0
- package/lib/model/model-summary.d.ts +16 -0
- package/lib/model/model-summary.js +10 -0
- package/lib/model/model-summary.js.map +1 -1
- package/lib/model/model.d.ts +17 -1
- package/lib/model/model.js +10 -0
- package/lib/model/model.js.map +1 -1
- package/lib/model/object-storage-document-details.d.ts +36 -0
- package/lib/model/object-storage-document-details.js +54 -0
- package/lib/model/object-storage-document-details.js.map +1 -0
- package/lib/model/operation-type.d.ts +1 -0
- package/lib/model/operation-type.js +1 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/output-location.d.ts +1 -1
- package/lib/model/patch-model-details.d.ts +26 -0
- package/lib/model/patch-model-details.js +61 -0
- package/lib/model/patch-model-details.js.map +1 -0
- package/lib/model/patch-model-operation.d.ts +38 -0
- package/lib/model/patch-model-operation.js +35 -0
- package/lib/model/patch-model-operation.js.map +1 -0
- package/lib/model/patch-response-message.d.ts +33 -0
- package/lib/model/patch-response-message.js +29 -0
- package/lib/model/patch-response-message.js.map +1 -0
- package/lib/request/analyze-document-request.d.ts +36 -0
- package/lib/request/analyze-document-request.js +15 -0
- package/lib/request/analyze-document-request.js.map +1 -0
- package/lib/request/cancel-processor-job-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-processor-job-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-processor-job-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-models-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/patch-model-request.d.ts +40 -0
- package/lib/request/patch-model-request.js +15 -0
- package/lib/request/patch-model-request.js.map +1 -0
- package/lib/request/update-model-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/lib/response/analyze-document-response.d.ts +40 -0
- package/lib/response/analyze-document-response.js +15 -0
- package/lib/response/analyze-document-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/lib/response/patch-model-response.d.ts +35 -0
- package/lib/response/patch-model-response.js +15 -0
- package/lib/response/patch-model-response.js.map +1 -0
- package/package.json +3 -3
package/lib/model/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as ActionType from "./action-type";
|
|
14
14
|
export import ActionType = ActionType.ActionType;
|
|
15
|
+
import * as AnalyzeDocumentDetails from "./analyze-document-details";
|
|
16
|
+
export import AnalyzeDocumentDetails = AnalyzeDocumentDetails.AnalyzeDocumentDetails;
|
|
15
17
|
import * as AnalyzeDocumentResult from "./analyze-document-result";
|
|
16
18
|
export import AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;
|
|
17
19
|
import * as BoundingPolygon from "./bounding-polygon";
|
|
@@ -22,6 +24,8 @@ import * as ChangeModelCompartmentDetails from "./change-model-compartment-detai
|
|
|
22
24
|
export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
|
|
23
25
|
import * as ChangeProjectCompartmentDetails from "./change-project-compartment-details";
|
|
24
26
|
export import ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
|
|
27
|
+
import * as ComponentModel from "./component-model";
|
|
28
|
+
export import ComponentModel = ComponentModel.ComponentModel;
|
|
25
29
|
import * as CreateModelDetails from "./create-model-details";
|
|
26
30
|
export import CreateModelDetails = CreateModelDetails.CreateModelDetails;
|
|
27
31
|
import * as CreateProcessorJobDetails from "./create-processor-job-details";
|
|
@@ -44,6 +48,8 @@ import * as DocumentClassificationLabelMetricsReport from "./document-classifica
|
|
|
44
48
|
export import DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
|
|
45
49
|
import * as DocumentClassificationOverallMetricsReport from "./document-classification-overall-metrics-report";
|
|
46
50
|
export import DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
|
|
51
|
+
import * as DocumentDetails from "./document-details";
|
|
52
|
+
export import DocumentDetails = DocumentDetails.DocumentDetails;
|
|
47
53
|
import * as DocumentFeature from "./document-feature";
|
|
48
54
|
export import DocumentFeature = DocumentFeature.DocumentFeature;
|
|
49
55
|
import * as DocumentField from "./document-field";
|
|
@@ -88,6 +94,12 @@ import * as OutputLocation from "./output-location";
|
|
|
88
94
|
export import OutputLocation = OutputLocation.OutputLocation;
|
|
89
95
|
import * as Page from "./page";
|
|
90
96
|
export import Page = Page.Page;
|
|
97
|
+
import * as PatchModelDetails from "./patch-model-details";
|
|
98
|
+
export import PatchModelDetails = PatchModelDetails.PatchModelDetails;
|
|
99
|
+
import * as PatchModelOperation from "./patch-model-operation";
|
|
100
|
+
export import PatchModelOperation = PatchModelOperation.PatchModelOperation;
|
|
101
|
+
import * as PatchResponseMessage from "./patch-response-message";
|
|
102
|
+
export import PatchResponseMessage = PatchResponseMessage.PatchResponseMessage;
|
|
91
103
|
import * as ProcessingError from "./processing-error";
|
|
92
104
|
export import ProcessingError = ProcessingError.ProcessingError;
|
|
93
105
|
import * as ProcessorConfig from "./processor-config";
|
|
@@ -150,10 +162,14 @@ import * as GeneralProcessorConfig from "./general-processor-config";
|
|
|
150
162
|
export import GeneralProcessorConfig = GeneralProcessorConfig.GeneralProcessorConfig;
|
|
151
163
|
import * as InlineDocumentContent from "./inline-document-content";
|
|
152
164
|
export import InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
|
|
165
|
+
import * as InlineDocumentDetails from "./inline-document-details";
|
|
166
|
+
export import InlineDocumentDetails = InlineDocumentDetails.InlineDocumentDetails;
|
|
153
167
|
import * as KeyValueDetectionModelMetrics from "./key-value-detection-model-metrics";
|
|
154
168
|
export import KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
|
|
155
169
|
import * as ObjectStorageDataset from "./object-storage-dataset";
|
|
156
170
|
export import ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
|
|
171
|
+
import * as ObjectStorageDocumentDetails from "./object-storage-document-details";
|
|
172
|
+
export import ObjectStorageDocumentDetails = ObjectStorageDocumentDetails.ObjectStorageDocumentDetails;
|
|
157
173
|
import * as ObjectStorageLocations from "./object-storage-locations";
|
|
158
174
|
export import ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;
|
|
159
175
|
import * as ValueArray from "./value-array";
|
package/lib/model/index.js
CHANGED
|
@@ -31,10 +31,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.
|
|
35
|
-
exports.ValueTime = exports.ValueString = exports.ValuePhoneNumber = exports.ValueNumber = exports.ValueInteger = exports.ValueDate = exports.ValueArray = exports.ObjectStorageLocations = exports.ObjectStorageDataset = exports.KeyValueDetectionModelMetrics = exports.InlineDocumentContent = exports.GeneralProcessorConfig = exports.DocumentTextExtractionFeature = exports.DocumentTableExtractionFeature = exports.DocumentLanguageClassificationFeature = exports.DocumentKeyValueExtractionFeature = exports.DocumentClassificationModelMetrics = exports.DocumentClassificationFeature = exports.DataScienceLabelingDataset = exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.Word = exports.UpdateProjectDetails = void 0;
|
|
34
|
+
exports.Project = exports.ProcessorType = exports.ProcessorJob = exports.ProcessorConfig = exports.ProcessingError = exports.PatchResponseMessage = exports.PatchModelOperation = exports.PatchModelDetails = exports.Page = exports.OutputLocation = exports.OperationType = exports.OperationStatus = exports.ObjectLocation = exports.NormalizedVertex = exports.ModelSummary = exports.ModelMetrics = exports.ModelCollection = exports.Model = exports.Line = exports.KeyValueDetectionOverallMetricsReport = exports.KeyValueDetectionLabelMetricsReport = exports.KeyValueDetectionConfidenceEntry = exports.InputLocation = exports.FieldValue = exports.FieldName = exports.FieldLabel = exports.DocumentType = exports.DocumentMetadata = exports.DocumentField = exports.DocumentFeature = exports.DocumentDetails = exports.DocumentClassificationOverallMetricsReport = exports.DocumentClassificationLabelMetricsReport = exports.DocumentClassificationConfidenceEntry = exports.Dimensions = exports.DetectedLanguage = exports.DetectedDocumentType = exports.DatasetSummary = exports.Dataset = exports.CreateProjectDetails = exports.CreateProcessorJobDetails = exports.CreateModelDetails = exports.ComponentModel = exports.ChangeProjectCompartmentDetails = exports.ChangeModelCompartmentDetails = exports.Cell = exports.BoundingPolygon = exports.AnalyzeDocumentResult = exports.AnalyzeDocumentDetails = exports.ActionType = void 0;
|
|
35
|
+
exports.ValueTime = exports.ValueString = exports.ValuePhoneNumber = exports.ValueNumber = exports.ValueInteger = exports.ValueDate = exports.ValueArray = exports.ObjectStorageLocations = exports.ObjectStorageDocumentDetails = exports.ObjectStorageDataset = exports.KeyValueDetectionModelMetrics = exports.InlineDocumentDetails = exports.InlineDocumentContent = exports.GeneralProcessorConfig = exports.DocumentTextExtractionFeature = exports.DocumentTableExtractionFeature = exports.DocumentLanguageClassificationFeature = exports.DocumentKeyValueExtractionFeature = exports.DocumentClassificationModelMetrics = exports.DocumentClassificationFeature = exports.DataScienceLabelingDataset = exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.Word = exports.UpdateProjectDetails = exports.UpdateModelDetails = exports.TableRow = exports.Table = exports.SortOrder = exports.ProjectSummary = exports.ProjectCollection = void 0;
|
|
36
36
|
const ActionType = __importStar(require("./action-type"));
|
|
37
37
|
exports.ActionType = ActionType.ActionType;
|
|
38
|
+
const AnalyzeDocumentDetails = __importStar(require("./analyze-document-details"));
|
|
39
|
+
exports.AnalyzeDocumentDetails = AnalyzeDocumentDetails.AnalyzeDocumentDetails;
|
|
38
40
|
const AnalyzeDocumentResult = __importStar(require("./analyze-document-result"));
|
|
39
41
|
exports.AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;
|
|
40
42
|
const BoundingPolygon = __importStar(require("./bounding-polygon"));
|
|
@@ -45,6 +47,8 @@ const ChangeModelCompartmentDetails = __importStar(require("./change-model-compa
|
|
|
45
47
|
exports.ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
|
|
46
48
|
const ChangeProjectCompartmentDetails = __importStar(require("./change-project-compartment-details"));
|
|
47
49
|
exports.ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
|
|
50
|
+
const ComponentModel = __importStar(require("./component-model"));
|
|
51
|
+
exports.ComponentModel = ComponentModel.ComponentModel;
|
|
48
52
|
const CreateModelDetails = __importStar(require("./create-model-details"));
|
|
49
53
|
exports.CreateModelDetails = CreateModelDetails.CreateModelDetails;
|
|
50
54
|
const CreateProcessorJobDetails = __importStar(require("./create-processor-job-details"));
|
|
@@ -67,6 +71,8 @@ const DocumentClassificationLabelMetricsReport = __importStar(require("./documen
|
|
|
67
71
|
exports.DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
|
|
68
72
|
const DocumentClassificationOverallMetricsReport = __importStar(require("./document-classification-overall-metrics-report"));
|
|
69
73
|
exports.DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
|
|
74
|
+
const DocumentDetails = __importStar(require("./document-details"));
|
|
75
|
+
exports.DocumentDetails = DocumentDetails.DocumentDetails;
|
|
70
76
|
const DocumentFeature = __importStar(require("./document-feature"));
|
|
71
77
|
exports.DocumentFeature = DocumentFeature.DocumentFeature;
|
|
72
78
|
const DocumentField = __importStar(require("./document-field"));
|
|
@@ -111,6 +117,12 @@ const OutputLocation = __importStar(require("./output-location"));
|
|
|
111
117
|
exports.OutputLocation = OutputLocation.OutputLocation;
|
|
112
118
|
const Page = __importStar(require("./page"));
|
|
113
119
|
exports.Page = Page.Page;
|
|
120
|
+
const PatchModelDetails = __importStar(require("./patch-model-details"));
|
|
121
|
+
exports.PatchModelDetails = PatchModelDetails.PatchModelDetails;
|
|
122
|
+
const PatchModelOperation = __importStar(require("./patch-model-operation"));
|
|
123
|
+
exports.PatchModelOperation = PatchModelOperation.PatchModelOperation;
|
|
124
|
+
const PatchResponseMessage = __importStar(require("./patch-response-message"));
|
|
125
|
+
exports.PatchResponseMessage = PatchResponseMessage.PatchResponseMessage;
|
|
114
126
|
const ProcessingError = __importStar(require("./processing-error"));
|
|
115
127
|
exports.ProcessingError = ProcessingError.ProcessingError;
|
|
116
128
|
const ProcessorConfig = __importStar(require("./processor-config"));
|
|
@@ -173,10 +185,14 @@ const GeneralProcessorConfig = __importStar(require("./general-processor-config"
|
|
|
173
185
|
exports.GeneralProcessorConfig = GeneralProcessorConfig.GeneralProcessorConfig;
|
|
174
186
|
const InlineDocumentContent = __importStar(require("./inline-document-content"));
|
|
175
187
|
exports.InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
|
|
188
|
+
const InlineDocumentDetails = __importStar(require("./inline-document-details"));
|
|
189
|
+
exports.InlineDocumentDetails = InlineDocumentDetails.InlineDocumentDetails;
|
|
176
190
|
const KeyValueDetectionModelMetrics = __importStar(require("./key-value-detection-model-metrics"));
|
|
177
191
|
exports.KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
|
|
178
192
|
const ObjectStorageDataset = __importStar(require("./object-storage-dataset"));
|
|
179
193
|
exports.ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
|
|
194
|
+
const ObjectStorageDocumentDetails = __importStar(require("./object-storage-document-details"));
|
|
195
|
+
exports.ObjectStorageDocumentDetails = ObjectStorageDocumentDetails.ObjectStorageDocumentDetails;
|
|
180
196
|
const ObjectStorageLocations = __importStar(require("./object-storage-locations"));
|
|
181
197
|
exports.ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;
|
|
182
198
|
const ValueArray = __importStar(require("./value-array"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,6CAA+B;AACjB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AAC/B,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,mDAAqC;AACvB,QAAA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AACxC,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,yDAA2C;AAC7B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,kHAAoG;AACtF,QAAA,qCAAqC,G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AAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The document incorporated in the request payload.
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineDocumentDetails extends model.DocumentDetails {
|
|
18
|
+
/**
|
|
19
|
+
* Raw document data with Base64 encoding.
|
|
20
|
+
*/
|
|
21
|
+
"data": string;
|
|
22
|
+
"source": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace InlineDocumentDetails {
|
|
25
|
+
function getJsonObj(obj: InlineDocumentDetails, isParentJsonObj?: boolean): object;
|
|
26
|
+
const source = "INLINE";
|
|
27
|
+
function getDeserializedJsonObj(obj: InlineDocumentDetails, 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, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.InlineDocumentDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var InlineDocumentDetails;
|
|
37
|
+
(function (InlineDocumentDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.DocumentDetails.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
InlineDocumentDetails.getJsonObj = getJsonObj;
|
|
43
|
+
InlineDocumentDetails.source = "INLINE";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.DocumentDetails.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
InlineDocumentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(InlineDocumentDetails = exports.InlineDocumentDetails || (exports.InlineDocumentDetails = {}));
|
|
52
|
+
//# sourceMappingURL=inline-document-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-document-details.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/inline-document-details.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,eAAe,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GAC1F,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,gCAAU,aAOzB,CAAA;IACY,4BAAM,GAAG,QAAQ,CAAC;IAC/B,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAuBrC"}
|
|
@@ -63,9 +63,25 @@ export interface ModelSummary {
|
|
|
63
63
|
* The precision of the trained model. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
64
64
|
*/
|
|
65
65
|
"precision"?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The tenancy id of the model.
|
|
68
|
+
*/
|
|
69
|
+
"tenancyId"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* the alias name of the model.
|
|
72
|
+
*/
|
|
73
|
+
"aliasName"?: string;
|
|
66
74
|
"trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
67
75
|
"testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
68
76
|
"validationDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
77
|
+
/**
|
|
78
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) list of active custom Key Value models that need to be composed.
|
|
79
|
+
*/
|
|
80
|
+
"componentModels"?: Array<model.ComponentModel>;
|
|
81
|
+
/**
|
|
82
|
+
* Set to true when the model is created by using multiple key value extraction models.
|
|
83
|
+
*/
|
|
84
|
+
"isComposedModel"?: boolean;
|
|
69
85
|
/**
|
|
70
86
|
* A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
|
|
71
87
|
* For example: `{\"bar-key\": \"value\"}`
|
|
@@ -45,6 +45,11 @@ var ModelSummary;
|
|
|
45
45
|
: undefined,
|
|
46
46
|
"validationDataset": obj.validationDataset
|
|
47
47
|
? model.Dataset.getJsonObj(obj.validationDataset)
|
|
48
|
+
: undefined,
|
|
49
|
+
"componentModels": obj.componentModels
|
|
50
|
+
? obj.componentModels.map(item => {
|
|
51
|
+
return model.ComponentModel.getJsonObj(item);
|
|
52
|
+
})
|
|
48
53
|
: undefined
|
|
49
54
|
});
|
|
50
55
|
return jsonObj;
|
|
@@ -60,6 +65,11 @@ var ModelSummary;
|
|
|
60
65
|
: undefined,
|
|
61
66
|
"validationDataset": obj.validationDataset
|
|
62
67
|
? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
|
|
68
|
+
: undefined,
|
|
69
|
+
"componentModels": obj.componentModels
|
|
70
|
+
? obj.componentModels.map(item => {
|
|
71
|
+
return model.ComponentModel.getDeserializedJsonObj(item);
|
|
72
|
+
})
|
|
63
73
|
: undefined
|
|
64
74
|
});
|
|
65
75
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-summary.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"model-summary.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8FlC,IA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,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC7D,CAAC,CAAC,SAAS;YACb,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;IAtBe,mCAAsB,yBAsBrC,CAAA;AACH,CAAC,EA/CgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA+C5B"}
|
package/lib/model/model.d.ts
CHANGED
|
@@ -35,6 +35,14 @@ export interface Model {
|
|
|
35
35
|
* The type of the Document model.
|
|
36
36
|
*/
|
|
37
37
|
"modelType": Model.ModelType;
|
|
38
|
+
/**
|
|
39
|
+
* The tenancy id of the model.
|
|
40
|
+
*/
|
|
41
|
+
"tenancyId"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* the alias name of the model.
|
|
44
|
+
*/
|
|
45
|
+
"aliasName"?: string;
|
|
38
46
|
/**
|
|
39
47
|
* The collection of labels used to train the custom model.
|
|
40
48
|
*/
|
|
@@ -51,9 +59,17 @@ export interface Model {
|
|
|
51
59
|
* The total hours actually used for model training. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
52
60
|
*/
|
|
53
61
|
"trainedTimeInHours"?: number;
|
|
54
|
-
"trainingDataset"
|
|
62
|
+
"trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
55
63
|
"testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
56
64
|
"validationDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
|
|
65
|
+
/**
|
|
66
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) collection of active custom Key Value models that need to be composed.
|
|
67
|
+
*/
|
|
68
|
+
"componentModels"?: Array<model.ComponentModel>;
|
|
69
|
+
/**
|
|
70
|
+
* Set to true when the model is created by using multiple key value extraction models.
|
|
71
|
+
*/
|
|
72
|
+
"isComposedModel"?: boolean;
|
|
57
73
|
/**
|
|
58
74
|
* The version of the model.
|
|
59
75
|
*/
|
package/lib/model/model.js
CHANGED
|
@@ -70,6 +70,11 @@ var Model;
|
|
|
70
70
|
"validationDataset": obj.validationDataset
|
|
71
71
|
? model.Dataset.getJsonObj(obj.validationDataset)
|
|
72
72
|
: undefined,
|
|
73
|
+
"componentModels": obj.componentModels
|
|
74
|
+
? obj.componentModels.map(item => {
|
|
75
|
+
return model.ComponentModel.getJsonObj(item);
|
|
76
|
+
})
|
|
77
|
+
: undefined,
|
|
73
78
|
"metrics": obj.metrics ? model.ModelMetrics.getJsonObj(obj.metrics) : undefined
|
|
74
79
|
});
|
|
75
80
|
return jsonObj;
|
|
@@ -86,6 +91,11 @@ var Model;
|
|
|
86
91
|
"validationDataset": obj.validationDataset
|
|
87
92
|
? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
|
|
88
93
|
: undefined,
|
|
94
|
+
"componentModels": obj.componentModels
|
|
95
|
+
? obj.componentModels.map(item => {
|
|
96
|
+
return model.ComponentModel.getDeserializedJsonObj(item);
|
|
97
|
+
})
|
|
98
|
+
: undefined,
|
|
89
99
|
"metrics": obj.metrics ? model.ModelMetrics.getDeserializedJsonObj(obj.metrics) : undefined
|
|
90
100
|
});
|
|
91
101
|
return jsonObj;
|
package/lib/model/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1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O,CAAC;IACjB,CAAC;IAxBe,4BAAsB,yBAwBrC,CAAA;AACH,CAAC,EA3EgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA2ErB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A document in OCI Object Storage.
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectStorageDocumentDetails extends model.DocumentDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The Object Storage namespace.
|
|
20
|
+
*/
|
|
21
|
+
"namespaceName": string;
|
|
22
|
+
/**
|
|
23
|
+
* The Object Storage bucket name.
|
|
24
|
+
*/
|
|
25
|
+
"bucketName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The Object Storage object name.
|
|
28
|
+
*/
|
|
29
|
+
"objectName": string;
|
|
30
|
+
"source": string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace ObjectStorageDocumentDetails {
|
|
33
|
+
function getJsonObj(obj: ObjectStorageDocumentDetails, isParentJsonObj?: boolean): object;
|
|
34
|
+
const source = "OBJECT_STORAGE";
|
|
35
|
+
function getDeserializedJsonObj(obj: ObjectStorageDocumentDetails, isParentJsonObj?: boolean): object;
|
|
36
|
+
}
|
|
@@ -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, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ObjectStorageDocumentDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ObjectStorageDocumentDetails;
|
|
37
|
+
(function (ObjectStorageDocumentDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.DocumentDetails.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
ObjectStorageDocumentDetails.getJsonObj = getJsonObj;
|
|
45
|
+
ObjectStorageDocumentDetails.source = "OBJECT_STORAGE";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.DocumentDetails.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
ObjectStorageDocumentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(ObjectStorageDocumentDetails = exports.ObjectStorageDocumentDetails || (exports.ObjectStorageDocumentDetails = {}));
|
|
54
|
+
//# sourceMappingURL=object-storage-document-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-document-details.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/object-storage-document-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GACzE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,mCAAM,GAAG,gBAAgB,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAkC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,mDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
|
|
@@ -22,6 +22,7 @@ export declare enum OperationType {
|
|
|
22
22
|
UpdateModel = "UPDATE_MODEL",
|
|
23
23
|
DeleteModel = "DELETE_MODEL",
|
|
24
24
|
MoveModel = "MOVE_MODEL",
|
|
25
|
+
ComposeModel = "COMPOSE_MODEL",
|
|
25
26
|
/**
|
|
26
27
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
28
|
* version of the SDK.
|
|
@@ -26,6 +26,7 @@ var OperationType;
|
|
|
26
26
|
OperationType["UpdateModel"] = "UPDATE_MODEL";
|
|
27
27
|
OperationType["DeleteModel"] = "DELETE_MODEL";
|
|
28
28
|
OperationType["MoveModel"] = "MOVE_MODEL";
|
|
29
|
+
OperationType["ComposeModel"] = "COMPOSE_MODEL";
|
|
29
30
|
/**
|
|
30
31
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
31
32
|
* version of the SDK.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAgBX;AAhBD,WAAY,aAAa;IACvB,iDAAgC,CAAA;IAChC,iDAAgC,CAAA;IAChC,iDAAgC,CAAA;IAChC,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,+CAA8B,CAAA;IAE9B;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAhBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAgBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
14
|
+
* The object storage location where to store analysis results.
|
|
15
15
|
*/
|
|
16
16
|
export interface OutputLocation {
|
|
17
17
|
/**
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Understanding API
|
|
3
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
4
|
+
* OpenAPI spec version: 20221109
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The model parameters to be updated using patch operation.
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchModelDetails {
|
|
18
|
+
/**
|
|
19
|
+
* A list of patch operations for model.
|
|
20
|
+
*/
|
|
21
|
+
"operations"?: Array<model.PatchModelOperation>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace PatchModelDetails {
|
|
24
|
+
function getJsonObj(obj: PatchModelDetails): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: PatchModelDetails): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Document Understanding API
|
|
4
|
+
* Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
|
|
5
|
+
* OpenAPI spec version: 20221109
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchModelDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PatchModelDetails;
|
|
37
|
+
(function (PatchModelDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"operations": obj.operations
|
|
41
|
+
? obj.operations.map(item => {
|
|
42
|
+
return model.PatchModelOperation.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
PatchModelDetails.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"operations": obj.operations
|
|
52
|
+
? obj.operations.map(item => {
|
|
53
|
+
return model.PatchModelOperation.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
PatchModelDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(PatchModelDetails = exports.PatchModelDetails || (exports.PatchModelDetails = {}));
|
|
61
|
+
//# sourceMappingURL=patch-model-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-model-details.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/patch-model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,iBAAiB,CA6BjC;AA7BD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6BjC"}
|