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
90
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.57.0 to 2.58.1

16

lib/client.d.ts

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

protected static endpointServiceName: string;
protected "_realmSpecificEndpointTemplateEnabled": boolean;
protected "_endpoint": string;

@@ -33,2 +34,5 @@ protected "_defaultHeaders": any;

targetService: string;
protected _regionId: string;
protected "_region": common.Region;
protected _lastSetRegionOrRegionId: string;
protected _httpClient: common.HttpClient;

@@ -47,2 +51,8 @@ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);

/**
* Determines whether realm specific endpoint should be used or not.
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
*/
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).

@@ -82,3 +92,3 @@ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.

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

@@ -93,3 +103,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.57.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.58.1/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJob API.
*/

@@ -104,5 +114,5 @@ 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.57.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.58.1/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJob API.
*/
getProcessorJob(getProcessorJobRequest: requests.GetProcessorJobRequest): Promise<responses.GetProcessorJobResponse>;
}

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

constructor(params, clientConfiguration) {
this["_realmSpecificEndpointTemplateEnabled"] = false;
this["_endpoint"] = "";

@@ -65,2 +66,4 @@ this["_defaultHeaders"] = {};

this.targetService = "AIServiceDocument";
this._regionId = "";
this._lastSetRegionOrRegionId = "";
const requestSigner = params.authenticationDetailsProvider

@@ -116,2 +119,18 @@ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)

/**
* Determines whether realm specific endpoint should be used or not.
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
*/
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
if (this.logger)
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceDocumentClient.serviceEndpointTemplate, this._region, AIServiceDocumentClient.endpointServiceName);
}
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AIServiceDocumentClient.serviceEndpointTemplate, this._regionId, AIServiceDocumentClient.endpointServiceName);
}
}
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).

@@ -122,3 +141,5 @@ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.

set region(region) {
this._region = region;
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceDocumentClient.serviceEndpointTemplate, region, AIServiceDocumentClient.endpointServiceName);
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
}

@@ -134,3 +155,5 @@ /**

set regionId(regionId) {
this._regionId = regionId;
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AIServiceDocumentClient.serviceEndpointTemplate, regionId, AIServiceDocumentClient.endpointServiceName);
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
}

@@ -165,3 +188,3 @@ /**

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

@@ -222,3 +245,3 @@ cancelProcessorJob(cancelProcessorJobRequest) {

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

@@ -287,3 +310,3 @@ createProcessorJob(createProcessorJobRequest) {

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

@@ -290,0 +313,0 @@ getProcessorJob(getProcessorJobRequest) {

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.57.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.58.1/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.57.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.58.1/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.57.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.58.1/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJobRequest.
*/

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

{
"name": "oci-aidocument",
"version": "2.57.0",
"version": "2.58.1",
"description": "OCI NodeJS client for Ai Document Service",

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

"dependencies": {
"oci-common": "2.57.0",
"oci-workrequests": "2.57.0"
"oci-common": "2.58.1",
"oci-workrequests": "2.58.1"
},

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

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