New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oci-aidocument

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-aidocument - npm Package Compare versions

Comparing version 2.63.0 to 2.64.0

lib/model/analyze-document-details.d.ts

59

lib/client.d.ts

@@ -83,2 +83,12 @@ /**

/**
* Perform different types of document analysis.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param AnalyzeDocumentRequest
* @return AnalyzeDocumentResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/AnalyzeDocument.ts.html |here} to see how to use AnalyzeDocument API.
*/
analyzeDocument(analyzeDocumentRequest: requests.AnalyzeDocumentRequest): Promise<responses.AnalyzeDocumentResponse>;
/**
* Cancel a processor job.

@@ -90,3 +100,3 @@ *

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
*/

@@ -100,3 +110,3 @@ cancelProcessorJob(cancelProcessorJobRequest: requests.CancelProcessorJobRequest): Promise<responses.CancelProcessorJobResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
*/

@@ -110,3 +120,3 @@ cancelWorkRequest(cancelWorkRequestRequest: requests.CancelWorkRequestRequest): Promise<responses.CancelWorkRequestResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
*/

@@ -120,3 +130,3 @@ changeModelCompartment(changeModelCompartmentRequest: requests.ChangeModelCompartmentRequest): Promise<responses.ChangeModelCompartmentResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
*/

@@ -131,3 +141,3 @@ changeProjectCompartment(changeProjectCompartmentRequest: requests.ChangeProjectCompartmentRequest): Promise<responses.ChangeProjectCompartmentResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
*/

@@ -142,3 +152,3 @@ createModel(createModelRequest: requests.CreateModelRequest): Promise<responses.CreateModelResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
*/

@@ -153,3 +163,3 @@ createProcessorJob(createProcessorJobRequest: requests.CreateProcessorJobRequest): Promise<responses.CreateProcessorJobResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
*/

@@ -163,3 +173,3 @@ createProject(createProjectRequest: requests.CreateProjectRequest): Promise<responses.CreateProjectResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
*/

@@ -173,3 +183,3 @@ deleteModel(deleteModelRequest: requests.DeleteModelRequest): Promise<responses.DeleteModelResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
*/

@@ -183,3 +193,3 @@ deleteProject(deleteProjectRequest: requests.DeleteProjectRequest): Promise<responses.DeleteProjectResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
*/

@@ -194,3 +204,3 @@ getModel(getModelRequest: requests.GetModelRequest): Promise<responses.GetModelResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
*/

@@ -204,3 +214,3 @@ getProcessorJob(getProcessorJobRequest: requests.GetProcessorJobRequest): Promise<responses.GetProcessorJobResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
*/

@@ -214,3 +224,3 @@ getProject(getProjectRequest: requests.GetProjectRequest): Promise<responses.GetProjectResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
*/

@@ -225,3 +235,3 @@ getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
*/

@@ -236,3 +246,3 @@ listModels(listModelsRequest: requests.ListModelsRequest): Promise<responses.ListModelsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
*/

@@ -247,3 +257,3 @@ listProjects(listProjectsRequest: requests.ListProjectsRequest): Promise<responses.ListProjectsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
*/

@@ -258,3 +268,3 @@ listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
*/

@@ -269,6 +279,15 @@ listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
*/
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
/**
* Updates the model metadata only selected path parameter.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param PatchModelRequest
* @return PatchModelResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/PatchModel.ts.html |here} to see how to use PatchModel API.
*/
patchModel(patchModelRequest: requests.PatchModelRequest): Promise<responses.PatchModelResponse>;
/**
* Updates the model metadata.

@@ -279,3 +298,3 @@ * This operation does not retry by default if the user has not defined a retry configuration.

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
*/

@@ -289,5 +308,5 @@ updateModel(updateModelRequest: requests.UpdateModelRequest): Promise<responses.UpdateModelResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
*/
updateProject(updateProjectRequest: requests.UpdateProjectRequest): Promise<responses.UpdateProjectResponse>;
}

@@ -50,2 +50,10 @@ /**

/**
* 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.
*/
"componentModels"?: Array<model.ComponentModel>;
/**
* the alias name of the model.
*/
"aliasName"?: string;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.

@@ -52,0 +60,0 @@ */

@@ -48,2 +48,7 @@ "use strict";

? model.Dataset.getJsonObj(obj.validationDataset)
: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getJsonObj(item);
})
: undefined

@@ -64,2 +69,7 @@ });

? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getDeserializedJsonObj(item);
})
: undefined

@@ -66,0 +76,0 @@ });

@@ -22,2 +22,6 @@ /**

/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Key-Value Extraction model that was used to extract the key-value pairs.
*/
"documentId"?: string;
/**
* The confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

@@ -24,0 +28,0 @@ */

@@ -26,2 +26,6 @@ /**

"modelId"?: string;
/**
* The custom model tenancy ID when modelId represents aliasName.
*/
"tenancyId"?: string;
"featureType": string;

@@ -28,0 +32,0 @@ }

@@ -22,2 +22,6 @@ /**

"modelId"?: string;
/**
* The custom model tenancy ID when modelId represents aliasName.
*/
"tenancyId"?: string;
"featureType": string;

@@ -24,0 +28,0 @@ }

@@ -15,2 +15,4 @@ /**

export import ActionType = ActionType.ActionType;
import * as AnalyzeDocumentDetails from "./analyze-document-details";
export import AnalyzeDocumentDetails = AnalyzeDocumentDetails.AnalyzeDocumentDetails;
import * as AnalyzeDocumentResult from "./analyze-document-result";

@@ -26,2 +28,4 @@ export import AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;

export import ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
import * as ComponentModel from "./component-model";
export import ComponentModel = ComponentModel.ComponentModel;
import * as CreateModelDetails from "./create-model-details";

@@ -49,2 +53,4 @@ export import CreateModelDetails = CreateModelDetails.CreateModelDetails;

export import DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
import * as DocumentDetails from "./document-details";
export import DocumentDetails = DocumentDetails.DocumentDetails;
import * as DocumentFeature from "./document-feature";

@@ -94,2 +100,8 @@ export import DocumentFeature = DocumentFeature.DocumentFeature;

export import Page = Page.Page;
import * as PatchModelDetails from "./patch-model-details";
export import PatchModelDetails = PatchModelDetails.PatchModelDetails;
import * as PatchModelOperation from "./patch-model-operation";
export import PatchModelOperation = PatchModelOperation.PatchModelOperation;
import * as PatchResponseMessage from "./patch-response-message";
export import PatchResponseMessage = PatchResponseMessage.PatchResponseMessage;
import * as ProcessingError from "./processing-error";

@@ -157,2 +169,4 @@ export import ProcessingError = ProcessingError.ProcessingError;

export import InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
import * as InlineDocumentDetails from "./inline-document-details";
export import InlineDocumentDetails = InlineDocumentDetails.InlineDocumentDetails;
import * as KeyValueDetectionModelMetrics from "./key-value-detection-model-metrics";

@@ -162,2 +176,4 @@ export import KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;

export import ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
import * as ObjectStorageDocumentDetails from "./object-storage-document-details";
export import ObjectStorageDocumentDetails = ObjectStorageDocumentDetails.ObjectStorageDocumentDetails;
import * as ObjectStorageLocations from "./object-storage-locations";

@@ -164,0 +180,0 @@ export import ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;

@@ -34,6 +34,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateModelDetails = exports.TableRow = exports.Table = exports.SortOrder = exports.ProjectSummary = exports.ProjectCollection = exports.Project = exports.ProcessorType = exports.ProcessorJob = exports.ProcessorConfig = exports.ProcessingError = 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.DocumentClassificationOverallMetricsReport = exports.DocumentClassificationLabelMetricsReport = exports.DocumentClassificationConfidenceEntry = exports.Dimensions = exports.DetectedLanguage = exports.DetectedDocumentType = exports.DatasetSummary = exports.Dataset = exports.CreateProjectDetails = exports.CreateProcessorJobDetails = exports.CreateModelDetails = exports.ChangeProjectCompartmentDetails = exports.ChangeModelCompartmentDetails = exports.Cell = exports.BoundingPolygon = exports.AnalyzeDocumentResult = exports.ActionType = void 0;
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;
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;
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;
const ActionType = __importStar(require("./action-type"));
exports.ActionType = ActionType.ActionType;
const AnalyzeDocumentDetails = __importStar(require("./analyze-document-details"));
exports.AnalyzeDocumentDetails = AnalyzeDocumentDetails.AnalyzeDocumentDetails;
const AnalyzeDocumentResult = __importStar(require("./analyze-document-result"));

@@ -49,2 +51,4 @@ exports.AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;

exports.ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
const ComponentModel = __importStar(require("./component-model"));
exports.ComponentModel = ComponentModel.ComponentModel;
const CreateModelDetails = __importStar(require("./create-model-details"));

@@ -72,2 +76,4 @@ exports.CreateModelDetails = CreateModelDetails.CreateModelDetails;

exports.DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
const DocumentDetails = __importStar(require("./document-details"));
exports.DocumentDetails = DocumentDetails.DocumentDetails;
const DocumentFeature = __importStar(require("./document-feature"));

@@ -117,2 +123,8 @@ exports.DocumentFeature = DocumentFeature.DocumentFeature;

exports.Page = Page.Page;
const PatchModelDetails = __importStar(require("./patch-model-details"));
exports.PatchModelDetails = PatchModelDetails.PatchModelDetails;
const PatchModelOperation = __importStar(require("./patch-model-operation"));
exports.PatchModelOperation = PatchModelOperation.PatchModelOperation;
const PatchResponseMessage = __importStar(require("./patch-response-message"));
exports.PatchResponseMessage = PatchResponseMessage.PatchResponseMessage;
const ProcessingError = __importStar(require("./processing-error"));

@@ -180,2 +192,4 @@ exports.ProcessingError = ProcessingError.ProcessingError;

exports.InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
const InlineDocumentDetails = __importStar(require("./inline-document-details"));
exports.InlineDocumentDetails = InlineDocumentDetails.InlineDocumentDetails;
const KeyValueDetectionModelMetrics = __importStar(require("./key-value-detection-model-metrics"));

@@ -185,2 +199,4 @@ exports.KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;

exports.ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
const ObjectStorageDocumentDetails = __importStar(require("./object-storage-document-details"));
exports.ObjectStorageDocumentDetails = ObjectStorageDocumentDetails.ObjectStorageDocumentDetails;
const ObjectStorageLocations = __importStar(require("./object-storage-locations"));

@@ -187,0 +203,0 @@ exports.ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;

@@ -66,2 +66,10 @@ /**

"precision"?: number;
/**
* The tenancy id of the model.
*/
"tenancyId"?: string;
/**
* the alias name of the model.
*/
"aliasName"?: string;
"trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;

@@ -71,2 +79,10 @@ "testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;

/**
* 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.
*/
"componentModels"?: Array<model.ComponentModel>;
/**
* Set to true when the model is created by using multiple key value extraction models.
*/
"isComposedModel"?: boolean;
/**
* A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.

@@ -73,0 +89,0 @@ * For example: `{\"bar-key\": \"value\"}`

@@ -48,2 +48,7 @@ "use strict";

? model.Dataset.getJsonObj(obj.validationDataset)
: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getJsonObj(item);
})
: undefined

@@ -64,2 +69,7 @@ });

? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getDeserializedJsonObj(item);
})
: undefined

@@ -66,0 +76,0 @@ });

@@ -39,2 +39,10 @@ /**

/**
* The tenancy id of the model.
*/
"tenancyId"?: string;
/**
* the alias name of the model.
*/
"aliasName"?: string;
/**
* The collection of labels used to train the custom model.

@@ -55,6 +63,14 @@ */

"trainedTimeInHours"?: number;
"trainingDataset": model.DataScienceLabelingDataset | model.ObjectStorageDataset;
"trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
"testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
"validationDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
/**
* 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.
*/
"componentModels"?: Array<model.ComponentModel>;
/**
* Set to true when the model is created by using multiple key value extraction models.
*/
"isComposedModel"?: boolean;
/**
* The version of the model.

@@ -61,0 +77,0 @@ */

@@ -73,2 +73,7 @@ "use strict";

: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getJsonObj(item);
})
: undefined,
"metrics": obj.metrics ? model.ModelMetrics.getJsonObj(obj.metrics) : undefined

@@ -90,2 +95,7 @@ });

: undefined,
"componentModels": obj.componentModels
? obj.componentModels.map(item => {
return model.ComponentModel.getDeserializedJsonObj(item);
})
: undefined,
"metrics": obj.metrics ? model.ModelMetrics.getDeserializedJsonObj(obj.metrics) : undefined

@@ -92,0 +102,0 @@ });

@@ -25,2 +25,3 @@ /**

MoveModel = "MOVE_MODEL",
ComposeModel = "COMPOSE_MODEL",
/**

@@ -27,0 +28,0 @@ * This value is used if a service returns a value for this enum that is not recognized by this

@@ -29,2 +29,3 @@ "use strict";

OperationType["MoveModel"] = "MOVE_MODEL";
OperationType["ComposeModel"] = "COMPOSE_MODEL";
/**

@@ -31,0 +32,0 @@ * This value is used if a service returns a value for this enum that is not recognized by this

@@ -14,3 +14,3 @@ /**

/**
* The Object Storage Location.
* The object storage location where to store analysis results.
*/

@@ -17,0 +17,0 @@ export interface OutputLocation {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJobRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJobRequest.
*/

@@ -18,0 +18,0 @@ export interface CancelProcessorJobRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
*/

@@ -18,0 +18,0 @@ export interface CancelWorkRequestRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartmentRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartmentRequest.
*/

@@ -19,0 +19,0 @@ export interface ChangeModelCompartmentRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartmentRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartmentRequest.
*/

@@ -19,0 +19,0 @@ export interface ChangeProjectCompartmentRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModelRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateModel.ts.html |here} to see how to use CreateModelRequest.
*/

@@ -19,0 +19,0 @@ export interface CreateModelRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJobRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJobRequest.
*/

@@ -19,0 +19,0 @@ export interface CreateProcessorJobRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProjectRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/CreateProject.ts.html |here} to see how to use CreateProjectRequest.
*/

@@ -19,0 +19,0 @@ export interface CreateProjectRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModelRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModelRequest.
*/

@@ -18,0 +18,0 @@ export interface DeleteModelRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProjectRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProjectRequest.
*/

@@ -18,0 +18,0 @@ export interface DeleteProjectRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetModel.ts.html |here} to see how to use GetModelRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetModel.ts.html |here} to see how to use GetModelRequest.
*/

@@ -18,0 +18,0 @@ export interface GetModelRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJobRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJobRequest.
*/

@@ -18,0 +18,0 @@ export interface GetProcessorJobRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetProject.ts.html |here} to see how to use GetProjectRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetProject.ts.html |here} to see how to use GetProjectRequest.
*/

@@ -18,0 +18,0 @@ export interface GetProjectRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
*/

@@ -18,0 +18,0 @@ export interface GetWorkRequestRequest extends common.BaseRequest {

@@ -13,2 +13,4 @@ /**

*/
import * as AnalyzeDocumentRequest from "./analyze-document-request";
export import AnalyzeDocumentRequest = AnalyzeDocumentRequest.AnalyzeDocumentRequest;
import * as CancelProcessorJobRequest from "./cancel-processor-job-request";

@@ -50,2 +52,4 @@ export import CancelProcessorJobRequest = CancelProcessorJobRequest.CancelProcessorJobRequest;

export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest;
import * as PatchModelRequest from "./patch-model-request";
export import PatchModelRequest = PatchModelRequest.PatchModelRequest;
import * as UpdateModelRequest from "./update-model-request";

@@ -52,0 +56,0 @@ export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest;

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListModels.ts.html |here} to see how to use ListModelsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListModels.ts.html |here} to see how to use ListModelsRequest.
*/

@@ -19,0 +19,0 @@ export interface ListModelsRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjectsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListProjects.ts.html |here} to see how to use ListProjectsRequest.
*/

@@ -19,0 +19,0 @@ export interface ListProjectsRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
*/

@@ -19,0 +19,0 @@ export interface ListWorkRequestErrorsRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
*/

@@ -19,0 +19,0 @@ export interface ListWorkRequestLogsRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
*/

@@ -19,0 +19,0 @@ export interface ListWorkRequestsRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModelRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModelRequest.
*/

@@ -19,0 +19,0 @@ export interface UpdateModelRequest extends common.BaseRequest {

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProjectRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProjectRequest.
*/

@@ -19,0 +19,0 @@ export interface UpdateProjectRequest extends common.BaseRequest {

@@ -13,2 +13,4 @@ /**

*/
import * as AnalyzeDocumentResponse from "./analyze-document-response";
export import AnalyzeDocumentResponse = AnalyzeDocumentResponse.AnalyzeDocumentResponse;
import * as CancelProcessorJobResponse from "./cancel-processor-job-response";

@@ -50,2 +52,4 @@ export import CancelProcessorJobResponse = CancelProcessorJobResponse.CancelProcessorJobResponse;

export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse;
import * as PatchModelResponse from "./patch-model-response";
export import PatchModelResponse = PatchModelResponse.PatchModelResponse;
import * as UpdateModelResponse from "./update-model-response";

@@ -52,0 +56,0 @@ export import UpdateModelResponse = UpdateModelResponse.UpdateModelResponse;

@@ -1,2 +0,2 @@

Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.

@@ -73,6 +73,6 @@ This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
• You must give any other recipients of the Work or Derivative Works a copy of this License; and
• You must cause any modified files to carry prominent notices stating that You changed the files; and
• You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
• If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
- You must cause any modified files to carry prominent notices stating that You changed the files; and
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

@@ -90,2 +90,2 @@ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS
{
"name": "oci-aidocument",
"version": "2.63.0",
"version": "2.64.0",
"description": "OCI NodeJS client for Ai Document Service",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "2.63.0",
"oci-workrequests": "2.63.0"
"oci-common": "2.64.0",
"oci-workrequests": "2.64.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc