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
91
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.62.1 to 2.62.2

lib/model/action-type.d.ts

23

lib/aiservicedocument-waiter.d.ts

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

/**
* Waits forModel till it reaches any of the provided states
*
* @param request the request to send
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
* @return response returns GetModelResponse | null (null in case of 404 response)
*/
forModel(request: serviceRequests.GetModelRequest, ...targetStates: models.Model.LifecycleState[]): Promise<serviceResponses.GetModelResponse | null>;
/**
* Waits forProcessorJob till it reaches any of the provided states

@@ -30,2 +38,17 @@ *

forProcessorJob(request: serviceRequests.GetProcessorJobRequest, ...targetStates: models.ProcessorJob.LifecycleState[]): Promise<serviceResponses.GetProcessorJobResponse>;
/**
* Waits forProject till it reaches any of the provided states
*
* @param request the request to send
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
* @return response returns GetProjectResponse | null (null in case of 404 response)
*/
forProject(request: serviceRequests.GetProjectRequest, ...targetStates: models.Project.LifecycleState[]): Promise<serviceResponses.GetProjectResponse | null>;
/**
* Waits forWorkRequest
*
* @param request the request to send
* @return response returns GetWorkRequestResponse
*/
forWorkRequest(request: serviceRequests.GetWorkRequestRequest): Promise<serviceResponses.GetWorkRequestResponse>;
}

@@ -14,2 +14,21 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -26,2 +45,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

exports.AIServiceDocumentWaiter = void 0;
const models = __importStar(require("./model"));
const oci_common_1 = require("oci-common");

@@ -34,2 +54,14 @@ class AIServiceDocumentWaiter {

/**
* Waits forModel till it reaches any of the provided states
*
* @param request the request to send
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
* @return response returns GetModelResponse | null (null in case of 404 response)
*/
forModel(request, ...targetStates) {
return __awaiter(this, void 0, void 0, function* () {
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getModel(request), response => targetStates.includes(response.model.lifecycleState), targetStates.includes(models.Model.LifecycleState.Deleted));
});
}
/**
* Waits forProcessorJob till it reaches any of the provided states

@@ -46,4 +78,27 @@ *

}
/**
* Waits forProject till it reaches any of the provided states
*
* @param request the request to send
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
* @return response returns GetProjectResponse | null (null in case of 404 response)
*/
forProject(request, ...targetStates) {
return __awaiter(this, void 0, void 0, function* () {
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getProject(request), response => targetStates.includes(response.project.lifecycleState), targetStates.includes(models.Project.LifecycleState.Deleted));
});
}
/**
* Waits forWorkRequest
*
* @param request the request to send
* @return response returns GetWorkRequestResponse
*/
forWorkRequest(request) {
return __awaiter(this, void 0, void 0, function* () {
return oci_common_1.genericWaiter(this.config, () => this.client.getWorkRequest(request), response => (response.workRequest.timeFinished ? true : false));
});
}
}
exports.AIServiceDocumentWaiter = AIServiceDocumentWaiter;
//# sourceMappingURL=aiservicedocument-waiter.js.map

166

lib/client.d.ts

@@ -89,6 +89,43 @@ /**

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJob API.
*/
cancelProcessorJob(cancelProcessorJobRequest: requests.CancelProcessorJobRequest): Promise<responses.CancelProcessorJobResponse>;
/**
* Cancel the work request with the given ID.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param CancelWorkRequestRequest
* @return CancelWorkRequestResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
*/
cancelWorkRequest(cancelWorkRequestRequest: requests.CancelWorkRequestRequest): Promise<responses.CancelWorkRequestResponse>;
/**
* Moves a model from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param ChangeModelCompartmentRequest
* @return ChangeModelCompartmentResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
*/
changeModelCompartment(changeModelCompartmentRequest: requests.ChangeModelCompartmentRequest): Promise<responses.ChangeModelCompartmentResponse>;
/**
* Move a project from one compartment to another. When provided, If-Match is checked against the ETag values of the resource.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param ChangeProjectCompartmentRequest
* @return ChangeProjectCompartmentResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
*/
changeProjectCompartment(changeProjectCompartmentRequest: requests.ChangeProjectCompartmentRequest): Promise<responses.ChangeProjectCompartmentResponse>;
/**
* Create a new model.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param CreateModelRequest
* @return CreateModelResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/CreateModel.ts.html |here} to see how to use CreateModel API.
*/
createModel(createModelRequest: requests.CreateModelRequest): Promise<responses.CreateModelResponse>;
/**
* Create a processor job for document analysis.

@@ -100,6 +137,43 @@ *

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
*/
createProcessorJob(createProcessorJobRequest: requests.CreateProcessorJobRequest): Promise<responses.CreateProcessorJobResponse>;
/**
* Create a new project.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param CreateProjectRequest
* @return CreateProjectResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/CreateProject.ts.html |here} to see how to use CreateProject API.
*/
createProject(createProjectRequest: requests.CreateProjectRequest): Promise<responses.CreateProjectResponse>;
/**
* Delete a model by identifier.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param DeleteModelRequest
* @return DeleteModelResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/DeleteModel.ts.html |here} to see how to use DeleteModel API.
*/
deleteModel(deleteModelRequest: requests.DeleteModelRequest): Promise<responses.DeleteModelResponse>;
/**
* Delete a project by identifier.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param DeleteProjectRequest
* @return DeleteProjectResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/DeleteProject.ts.html |here} to see how to use DeleteProject API.
*/
deleteProject(deleteProjectRequest: requests.DeleteProjectRequest): Promise<responses.DeleteProjectResponse>;
/**
* Get a model by identifier.
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param GetModelRequest
* @return GetModelResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/GetModel.ts.html |here} to see how to use GetModel API.
*/
getModel(getModelRequest: requests.GetModelRequest): Promise<responses.GetModelResponse>;
/**
* Get the details of a processor job.

@@ -111,5 +185,91 @@ *

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
*/
getProcessorJob(getProcessorJobRequest: requests.GetProcessorJobRequest): Promise<responses.GetProcessorJobResponse>;
/**
* Get a project by identifier.
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param GetProjectRequest
* @return GetProjectResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/GetProject.ts.html |here} to see how to use GetProject API.
*/
getProject(getProjectRequest: requests.GetProjectRequest): Promise<responses.GetProjectResponse>;
/**
* Gets the status of the work request with the given ID.
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param GetWorkRequestRequest
* @return GetWorkRequestResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
*/
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
/**
* Returns a list of models in a compartment.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param ListModelsRequest
* @return ListModelsResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ListModels.ts.html |here} to see how to use ListModels API.
*/
listModels(listModelsRequest: requests.ListModelsRequest): Promise<responses.ListModelsResponse>;
/**
* Returns a list of projects.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param ListProjectsRequest
* @return ListProjectsResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ListProjects.ts.html |here} to see how to use ListProjects API.
*/
listProjects(listProjectsRequest: requests.ListProjectsRequest): Promise<responses.ListProjectsResponse>;
/**
* Returns a (paginated) list of errors for a given work request.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param ListWorkRequestErrorsRequest
* @return ListWorkRequestErrorsResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
*/
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
/**
* Return a (paginated) list of logs for a given work request.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param ListWorkRequestLogsRequest
* @return ListWorkRequestLogsResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
*/
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
/**
* Lists the work requests in a compartment.
*
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
* @param ListWorkRequestsRequest
* @return ListWorkRequestsResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
*/
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
/**
* Updates the model metadata.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param UpdateModelRequest
* @return UpdateModelResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/UpdateModel.ts.html |here} to see how to use UpdateModel API.
*/
updateModel(updateModelRequest: requests.UpdateModelRequest): Promise<responses.UpdateModelResponse>;
/**
* Update the project metadata.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param UpdateProjectRequest
* @return UpdateProjectResponse
* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.2/aidocument/UpdateProject.ts.html |here} to see how to use UpdateProject API.
*/
updateProject(updateProjectRequest: requests.UpdateProjectRequest): Promise<responses.UpdateProjectResponse>;
}

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

"maxResults"?: number;
/**
* The custom model ID.
*/
"modelId"?: string;
"featureType": string;

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

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

export interface DocumentKeyValueExtractionFeature extends model.DocumentFeature {
/**
* The custom model ID.
*/
"modelId"?: string;
"featureType": string;

@@ -20,0 +24,0 @@ }

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

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

@@ -20,4 +22,16 @@ export import AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;

export import Cell = Cell.Cell;
import * as ChangeModelCompartmentDetails from "./change-model-compartment-details";
export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
import * as ChangeProjectCompartmentDetails from "./change-project-compartment-details";
export import ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
import * as CreateModelDetails from "./create-model-details";
export import CreateModelDetails = CreateModelDetails.CreateModelDetails;
import * as CreateProcessorJobDetails from "./create-processor-job-details";
export import CreateProcessorJobDetails = CreateProcessorJobDetails.CreateProcessorJobDetails;
import * as CreateProjectDetails from "./create-project-details";
export import CreateProjectDetails = CreateProjectDetails.CreateProjectDetails;
import * as Dataset from "./dataset";
export import Dataset = Dataset.Dataset;
import * as DatasetSummary from "./dataset-summary";
export import DatasetSummary = DatasetSummary.DatasetSummary;
import * as DetectedDocumentType from "./detected-document-type";

@@ -29,2 +43,8 @@ export import DetectedDocumentType = DetectedDocumentType.DetectedDocumentType;

export import Dimensions = Dimensions.Dimensions;
import * as DocumentClassificationConfidenceEntry from "./document-classification-confidence-entry";
export import DocumentClassificationConfidenceEntry = DocumentClassificationConfidenceEntry.DocumentClassificationConfidenceEntry;
import * as DocumentClassificationLabelMetricsReport from "./document-classification-label-metrics-report";
export import DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
import * as DocumentClassificationOverallMetricsReport from "./document-classification-overall-metrics-report";
export import DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
import * as DocumentFeature from "./document-feature";

@@ -46,4 +66,18 @@ export import DocumentFeature = DocumentFeature.DocumentFeature;

export import InputLocation = InputLocation.InputLocation;
import * as KeyValueDetectionConfidenceEntry from "./key-value-detection-confidence-entry";
export import KeyValueDetectionConfidenceEntry = KeyValueDetectionConfidenceEntry.KeyValueDetectionConfidenceEntry;
import * as KeyValueDetectionLabelMetricsReport from "./key-value-detection-label-metrics-report";
export import KeyValueDetectionLabelMetricsReport = KeyValueDetectionLabelMetricsReport.KeyValueDetectionLabelMetricsReport;
import * as KeyValueDetectionOverallMetricsReport from "./key-value-detection-overall-metrics-report";
export import KeyValueDetectionOverallMetricsReport = KeyValueDetectionOverallMetricsReport.KeyValueDetectionOverallMetricsReport;
import * as Line from "./line";
export import Line = Line.Line;
import * as Model from "./model";
export import Model = Model.Model;
import * as ModelCollection from "./model-collection";
export import ModelCollection = ModelCollection.ModelCollection;
import * as ModelMetrics from "./model-metrics";
export import ModelMetrics = ModelMetrics.ModelMetrics;
import * as ModelSummary from "./model-summary";
export import ModelSummary = ModelSummary.ModelSummary;
import * as NormalizedVertex from "./normalized-vertex";

@@ -53,2 +87,6 @@ export import NormalizedVertex = NormalizedVertex.NormalizedVertex;

export import ObjectLocation = ObjectLocation.ObjectLocation;
import * as OperationStatus from "./operation-status";
export import OperationStatus = OperationStatus.OperationStatus;
import * as OperationType from "./operation-type";
export import OperationType = OperationType.OperationType;
import * as OutputLocation from "./output-location";

@@ -66,2 +104,10 @@ export import OutputLocation = OutputLocation.OutputLocation;

export import ProcessorType = ProcessorType.ProcessorType;
import * as Project from "./project";
export import Project = Project.Project;
import * as ProjectCollection from "./project-collection";
export import ProjectCollection = ProjectCollection.ProjectCollection;
import * as ProjectSummary from "./project-summary";
export import ProjectSummary = ProjectSummary.ProjectSummary;
import * as SortOrder from "./sort-order";
export import SortOrder = SortOrder.SortOrder;
import * as Table from "./table";

@@ -71,6 +117,32 @@ export import Table = Table.Table;

export import TableRow = TableRow.TableRow;
import * as UpdateModelDetails from "./update-model-details";
export import UpdateModelDetails = UpdateModelDetails.UpdateModelDetails;
import * as UpdateProjectDetails from "./update-project-details";
export import UpdateProjectDetails = UpdateProjectDetails.UpdateProjectDetails;
import * as Word from "./word";
export import Word = Word.Word;
import * as WorkRequest from "./work-request";
export import WorkRequest = WorkRequest.WorkRequest;
import * as WorkRequestError from "./work-request-error";
export import WorkRequestError = WorkRequestError.WorkRequestError;
import * as WorkRequestErrorCollection from "./work-request-error-collection";
export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
import * as WorkRequestLogEntry from "./work-request-log-entry";
export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection";
export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
import * as WorkRequestResource from "./work-request-resource";
export import WorkRequestResource = WorkRequestResource.WorkRequestResource;
import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key";
export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
import * as WorkRequestSummary from "./work-request-summary";
export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
import * as WorkRequestSummaryCollection from "./work-request-summary-collection";
export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
import * as DataScienceLabelingDataset from "./data-science-labeling-dataset";
export import DataScienceLabelingDataset = DataScienceLabelingDataset.DataScienceLabelingDataset;
import * as DocumentClassificationFeature from "./document-classification-feature";
export import DocumentClassificationFeature = DocumentClassificationFeature.DocumentClassificationFeature;
import * as DocumentClassificationModelMetrics from "./document-classification-model-metrics";
export import DocumentClassificationModelMetrics = DocumentClassificationModelMetrics.DocumentClassificationModelMetrics;
import * as DocumentKeyValueExtractionFeature from "./document-key-value-extraction-feature";

@@ -88,2 +160,6 @@ export import DocumentKeyValueExtractionFeature = DocumentKeyValueExtractionFeature.DocumentKeyValueExtractionFeature;

export import InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
import * as KeyValueDetectionModelMetrics from "./key-value-detection-model-metrics";
export import KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
import * as ObjectStorageDataset from "./object-storage-dataset";
export import ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
import * as ObjectStorageLocations from "./object-storage-locations";

@@ -90,0 +166,0 @@ export import ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;

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

Object.defineProperty(exports, "__esModule", { value: true });
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;
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;
const ActionType = __importStar(require("./action-type"));
exports.ActionType = ActionType.ActionType;
const AnalyzeDocumentResult = __importStar(require("./analyze-document-result"));

@@ -42,4 +45,16 @@ exports.AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;

exports.Cell = Cell.Cell;
const ChangeModelCompartmentDetails = __importStar(require("./change-model-compartment-details"));
exports.ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
const ChangeProjectCompartmentDetails = __importStar(require("./change-project-compartment-details"));
exports.ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
const CreateModelDetails = __importStar(require("./create-model-details"));
exports.CreateModelDetails = CreateModelDetails.CreateModelDetails;
const CreateProcessorJobDetails = __importStar(require("./create-processor-job-details"));
exports.CreateProcessorJobDetails = CreateProcessorJobDetails.CreateProcessorJobDetails;
const CreateProjectDetails = __importStar(require("./create-project-details"));
exports.CreateProjectDetails = CreateProjectDetails.CreateProjectDetails;
const Dataset = __importStar(require("./dataset"));
exports.Dataset = Dataset.Dataset;
const DatasetSummary = __importStar(require("./dataset-summary"));
exports.DatasetSummary = DatasetSummary.DatasetSummary;
const DetectedDocumentType = __importStar(require("./detected-document-type"));

@@ -51,2 +66,8 @@ exports.DetectedDocumentType = DetectedDocumentType.DetectedDocumentType;

exports.Dimensions = Dimensions.Dimensions;
const DocumentClassificationConfidenceEntry = __importStar(require("./document-classification-confidence-entry"));
exports.DocumentClassificationConfidenceEntry = DocumentClassificationConfidenceEntry.DocumentClassificationConfidenceEntry;
const DocumentClassificationLabelMetricsReport = __importStar(require("./document-classification-label-metrics-report"));
exports.DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
const DocumentClassificationOverallMetricsReport = __importStar(require("./document-classification-overall-metrics-report"));
exports.DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
const DocumentFeature = __importStar(require("./document-feature"));

@@ -68,4 +89,18 @@ exports.DocumentFeature = DocumentFeature.DocumentFeature;

exports.InputLocation = InputLocation.InputLocation;
const KeyValueDetectionConfidenceEntry = __importStar(require("./key-value-detection-confidence-entry"));
exports.KeyValueDetectionConfidenceEntry = KeyValueDetectionConfidenceEntry.KeyValueDetectionConfidenceEntry;
const KeyValueDetectionLabelMetricsReport = __importStar(require("./key-value-detection-label-metrics-report"));
exports.KeyValueDetectionLabelMetricsReport = KeyValueDetectionLabelMetricsReport.KeyValueDetectionLabelMetricsReport;
const KeyValueDetectionOverallMetricsReport = __importStar(require("./key-value-detection-overall-metrics-report"));
exports.KeyValueDetectionOverallMetricsReport = KeyValueDetectionOverallMetricsReport.KeyValueDetectionOverallMetricsReport;
const Line = __importStar(require("./line"));
exports.Line = Line.Line;
const Model = __importStar(require("./model"));
exports.Model = Model.Model;
const ModelCollection = __importStar(require("./model-collection"));
exports.ModelCollection = ModelCollection.ModelCollection;
const ModelMetrics = __importStar(require("./model-metrics"));
exports.ModelMetrics = ModelMetrics.ModelMetrics;
const ModelSummary = __importStar(require("./model-summary"));
exports.ModelSummary = ModelSummary.ModelSummary;
const NormalizedVertex = __importStar(require("./normalized-vertex"));

@@ -75,2 +110,6 @@ exports.NormalizedVertex = NormalizedVertex.NormalizedVertex;

exports.ObjectLocation = ObjectLocation.ObjectLocation;
const OperationStatus = __importStar(require("./operation-status"));
exports.OperationStatus = OperationStatus.OperationStatus;
const OperationType = __importStar(require("./operation-type"));
exports.OperationType = OperationType.OperationType;
const OutputLocation = __importStar(require("./output-location"));

@@ -88,2 +127,10 @@ exports.OutputLocation = OutputLocation.OutputLocation;

exports.ProcessorType = ProcessorType.ProcessorType;
const Project = __importStar(require("./project"));
exports.Project = Project.Project;
const ProjectCollection = __importStar(require("./project-collection"));
exports.ProjectCollection = ProjectCollection.ProjectCollection;
const ProjectSummary = __importStar(require("./project-summary"));
exports.ProjectSummary = ProjectSummary.ProjectSummary;
const SortOrder = __importStar(require("./sort-order"));
exports.SortOrder = SortOrder.SortOrder;
const Table = __importStar(require("./table"));

@@ -93,6 +140,32 @@ exports.Table = Table.Table;

exports.TableRow = TableRow.TableRow;
const UpdateModelDetails = __importStar(require("./update-model-details"));
exports.UpdateModelDetails = UpdateModelDetails.UpdateModelDetails;
const UpdateProjectDetails = __importStar(require("./update-project-details"));
exports.UpdateProjectDetails = UpdateProjectDetails.UpdateProjectDetails;
const Word = __importStar(require("./word"));
exports.Word = Word.Word;
const WorkRequest = __importStar(require("./work-request"));
exports.WorkRequest = WorkRequest.WorkRequest;
const WorkRequestError = __importStar(require("./work-request-error"));
exports.WorkRequestError = WorkRequestError.WorkRequestError;
const WorkRequestErrorCollection = __importStar(require("./work-request-error-collection"));
exports.WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
const WorkRequestLogEntry = __importStar(require("./work-request-log-entry"));
exports.WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
const WorkRequestLogEntryCollection = __importStar(require("./work-request-log-entry-collection"));
exports.WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
const WorkRequestResource = __importStar(require("./work-request-resource"));
exports.WorkRequestResource = WorkRequestResource.WorkRequestResource;
const WorkRequestResourceMetadataKey = __importStar(require("./work-request-resource-metadata-key"));
exports.WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
const WorkRequestSummary = __importStar(require("./work-request-summary"));
exports.WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
const WorkRequestSummaryCollection = __importStar(require("./work-request-summary-collection"));
exports.WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
const DataScienceLabelingDataset = __importStar(require("./data-science-labeling-dataset"));
exports.DataScienceLabelingDataset = DataScienceLabelingDataset.DataScienceLabelingDataset;
const DocumentClassificationFeature = __importStar(require("./document-classification-feature"));
exports.DocumentClassificationFeature = DocumentClassificationFeature.DocumentClassificationFeature;
const DocumentClassificationModelMetrics = __importStar(require("./document-classification-model-metrics"));
exports.DocumentClassificationModelMetrics = DocumentClassificationModelMetrics.DocumentClassificationModelMetrics;
const DocumentKeyValueExtractionFeature = __importStar(require("./document-key-value-extraction-feature"));

@@ -110,2 +183,6 @@ exports.DocumentKeyValueExtractionFeature = DocumentKeyValueExtractionFeature.DocumentKeyValueExtractionFeature;

exports.InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
const KeyValueDetectionModelMetrics = __importStar(require("./key-value-detection-model-metrics"));
exports.KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
const ObjectStorageDataset = __importStar(require("./object-storage-dataset"));
exports.ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
const ObjectStorageLocations = __importStar(require("./object-storage-locations"));

@@ -112,0 +189,0 @@ exports.ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;

@@ -18,2 +18,5 @@ /**

export interface ValueArray extends model.FieldValue {
/**
* The array of values.
*/
"items": Array<model.DocumentField>;

@@ -20,0 +23,0 @@ "valueType": string;

2

lib/request/cancel-processor-job-request.d.ts

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

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJobRequest.
*/

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

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

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJobRequest.
*/

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

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

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.62.1/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.62.2/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJobRequest.
*/

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

@@ -15,5 +15,39 @@ /**

export import CancelProcessorJobRequest = CancelProcessorJobRequest.CancelProcessorJobRequest;
import * as CancelWorkRequestRequest from "./cancel-work-request-request";
export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest;
import * as ChangeModelCompartmentRequest from "./change-model-compartment-request";
export import ChangeModelCompartmentRequest = ChangeModelCompartmentRequest.ChangeModelCompartmentRequest;
import * as ChangeProjectCompartmentRequest from "./change-project-compartment-request";
export import ChangeProjectCompartmentRequest = ChangeProjectCompartmentRequest.ChangeProjectCompartmentRequest;
import * as CreateModelRequest from "./create-model-request";
export import CreateModelRequest = CreateModelRequest.CreateModelRequest;
import * as CreateProcessorJobRequest from "./create-processor-job-request";
export import CreateProcessorJobRequest = CreateProcessorJobRequest.CreateProcessorJobRequest;
import * as CreateProjectRequest from "./create-project-request";
export import CreateProjectRequest = CreateProjectRequest.CreateProjectRequest;
import * as DeleteModelRequest from "./delete-model-request";
export import DeleteModelRequest = DeleteModelRequest.DeleteModelRequest;
import * as DeleteProjectRequest from "./delete-project-request";
export import DeleteProjectRequest = DeleteProjectRequest.DeleteProjectRequest;
import * as GetModelRequest from "./get-model-request";
export import GetModelRequest = GetModelRequest.GetModelRequest;
import * as GetProcessorJobRequest from "./get-processor-job-request";
export import GetProcessorJobRequest = GetProcessorJobRequest.GetProcessorJobRequest;
import * as GetProjectRequest from "./get-project-request";
export import GetProjectRequest = GetProjectRequest.GetProjectRequest;
import * as GetWorkRequestRequest from "./get-work-request-request";
export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest;
import * as ListModelsRequest from "./list-models-request";
export import ListModelsRequest = ListModelsRequest.ListModelsRequest;
import * as ListProjectsRequest from "./list-projects-request";
export import ListProjectsRequest = ListProjectsRequest.ListProjectsRequest;
import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request";
export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest;
import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request";
export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest;
import * as ListWorkRequestsRequest from "./list-work-requests-request";
export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest;
import * as UpdateModelRequest from "./update-model-request";
export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest;
import * as UpdateProjectRequest from "./update-project-request";
export import UpdateProjectRequest = UpdateProjectRequest.UpdateProjectRequest;

@@ -14,3 +14,33 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListWorkRequestsRequest = exports.ListWorkRequestLogsRequest = exports.ListWorkRequestErrorsRequest = exports.ListProjectsRequest = exports.ListModelsRequest = void 0;
const ListModelsRequest = __importStar(require("./list-models-request"));
exports.ListModelsRequest = ListModelsRequest.ListModelsRequest;
const ListProjectsRequest = __importStar(require("./list-projects-request"));
exports.ListProjectsRequest = ListProjectsRequest.ListProjectsRequest;
const ListWorkRequestErrorsRequest = __importStar(require("./list-work-request-errors-request"));
exports.ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest;
const ListWorkRequestLogsRequest = __importStar(require("./list-work-request-logs-request"));
exports.ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest;
const ListWorkRequestsRequest = __importStar(require("./list-work-requests-request"));
exports.ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest;
//# sourceMappingURL=index.js.map

@@ -15,5 +15,39 @@ /**

export import CancelProcessorJobResponse = CancelProcessorJobResponse.CancelProcessorJobResponse;
import * as CancelWorkRequestResponse from "./cancel-work-request-response";
export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse;
import * as ChangeModelCompartmentResponse from "./change-model-compartment-response";
export import ChangeModelCompartmentResponse = ChangeModelCompartmentResponse.ChangeModelCompartmentResponse;
import * as ChangeProjectCompartmentResponse from "./change-project-compartment-response";
export import ChangeProjectCompartmentResponse = ChangeProjectCompartmentResponse.ChangeProjectCompartmentResponse;
import * as CreateModelResponse from "./create-model-response";
export import CreateModelResponse = CreateModelResponse.CreateModelResponse;
import * as CreateProcessorJobResponse from "./create-processor-job-response";
export import CreateProcessorJobResponse = CreateProcessorJobResponse.CreateProcessorJobResponse;
import * as CreateProjectResponse from "./create-project-response";
export import CreateProjectResponse = CreateProjectResponse.CreateProjectResponse;
import * as DeleteModelResponse from "./delete-model-response";
export import DeleteModelResponse = DeleteModelResponse.DeleteModelResponse;
import * as DeleteProjectResponse from "./delete-project-response";
export import DeleteProjectResponse = DeleteProjectResponse.DeleteProjectResponse;
import * as GetModelResponse from "./get-model-response";
export import GetModelResponse = GetModelResponse.GetModelResponse;
import * as GetProcessorJobResponse from "./get-processor-job-response";
export import GetProcessorJobResponse = GetProcessorJobResponse.GetProcessorJobResponse;
import * as GetProjectResponse from "./get-project-response";
export import GetProjectResponse = GetProjectResponse.GetProjectResponse;
import * as GetWorkRequestResponse from "./get-work-request-response";
export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse;
import * as ListModelsResponse from "./list-models-response";
export import ListModelsResponse = ListModelsResponse.ListModelsResponse;
import * as ListProjectsResponse from "./list-projects-response";
export import ListProjectsResponse = ListProjectsResponse.ListProjectsResponse;
import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response";
export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse;
import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response";
export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse;
import * as ListWorkRequestsResponse from "./list-work-requests-response";
export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse;
import * as UpdateModelResponse from "./update-model-response";
export import UpdateModelResponse = UpdateModelResponse.UpdateModelResponse;
import * as UpdateProjectResponse from "./update-project-response";
export import UpdateProjectResponse = UpdateProjectResponse.UpdateProjectResponse;
{
"name": "oci-aidocument",
"version": "2.62.1",
"version": "2.62.2",
"description": "OCI NodeJS client for Ai Document Service",

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

"dependencies": {
"oci-common": "2.62.1",
"oci-workrequests": "2.62.1"
"oci-common": "2.62.2",
"oci-workrequests": "2.62.2"
},

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

Sorry, the diff of this file is not supported yet

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

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