Skip to content

Commit 3ebf89c

Browse files
Releasing version 2.14.0
Releasing version 2.14.0
2 parents 47fec44 + 56aa9f6 commit 3ebf89c

File tree

890 files changed

+57560
-2645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

890 files changed

+57560
-2645
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 2.14.0 - 2022-02-15
7+
### Added
8+
- Support for the AI Vision service
9+
- Support for the Threat Intelligence service
10+
- Support for creation of NoSQL database tables with on-demand throughput capacity in the NoSQL Database Cloud service
11+
- Support for tagging features in the Oracle Container Engine for Kubernetes (OKE) service
12+
- Support for trace snapshots in the Application Performance Monitoring service
13+
- Support for auditing and alerts in the Data Safe service
14+
- Support for data discovery and data masking in the Data Safe service
15+
- Support for customized subscriptions and delivery of announcements by email and SMS in the Announcements service
16+
17+
### Breaking Changes
18+
- The deprecated API `QueryOld` from `QueryClient` and its request model `QueryOldRequest` were removed in the Application Performance Monitoring service
19+
620
## 2.13.0 - 2022-02-08
721
### Added
822
- Support for managing tablespaces in the Database Management service

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Full documentation can be found [on the sdk for typescript and javascript docume
5050

5151
## Versions Supported
5252

53-
The SDK for TypeScript and JavaScript currently supports NodeJS version 14.15.4 and TypeScript version 4.1.3.
53+
The SDK for TypeScript and JavaScript currently supports NodeJS version 14 & 16 and TypeScript version 4.1.3.
5454

5555
## Node & Browser Support
5656

index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,5 @@ export import osuborganizationsubscription = require("oci-osuborganizationsubscr
183183
export import osubsubscription = require("oci-osubsubscription");
184184
export import osubusage = require("oci-osubusage");
185185
export import dashboardservice = require("oci-dashboardservice");
186+
export import aivision = require("oci-aivision");
187+
export import threatintelligence = require("oci-threatintelligence");

lib/aianomalydetection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.13.0",
3+
"version": "2.14.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.13.0",
3+
"version": "2.14.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aivision/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# OCI NodeJS client for Ai Vision Service
3+
4+
This module enables you to write code to manage resources for Ai Vision Service.
5+
6+
## Requirements
7+
8+
To use this module, you must have the following:
9+
10+
- An Oracle Cloud Infrastructure account.
11+
- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm).
12+
- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure)
13+
14+
## Installing
15+
16+
Use the following command to install this module:
17+
18+
```
19+
npm install oci-aivision
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/aivision/index.ts

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* VisionService API
3+
* A description of the VisionService API.
4+
* OpenAPI spec version: 20220125
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as requests from "./lib/request";
15+
import * as models from "./lib/model";
16+
import * as responses from "./lib/response";
17+
import * as client from "./lib/client";
18+
import * as aiservicevision_waiter from "./lib/aiservicevision-waiter";
19+
20+
export { models };
21+
export { requests };
22+
export { responses };
23+
export import AIServiceVisionClient = client.AIServiceVisionClient;
24+
export import AIServiceVisionWaiter = aiservicevision_waiter.AIServiceVisionWaiter;
+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/**
2+
* VisionService API
3+
* A description of the VisionService API.
4+
* OpenAPI spec version: 20220125
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as serviceRequests from "./request";
15+
import * as serviceResponses from "./response";
16+
import * as models from "./model";
17+
import { AIServiceVisionClient } from "./client";
18+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
19+
20+
export class AIServiceVisionWaiter {
21+
public constructor(
22+
private client: AIServiceVisionClient,
23+
private readonly config?: WaiterConfiguration
24+
) {}
25+
26+
/**
27+
* Waits forDocumentJob till it reaches any of the provided states
28+
*
29+
* @param request the request to send
30+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
31+
* @return response returns GetDocumentJobResponse
32+
*/
33+
public async forDocumentJob(
34+
request: serviceRequests.GetDocumentJobRequest,
35+
...targetStates: models.DocumentJob.LifecycleState[]
36+
): Promise<serviceResponses.GetDocumentJobResponse> {
37+
return genericWaiter(
38+
this.config,
39+
() => this.client.getDocumentJob(request),
40+
response => targetStates.includes(response.documentJob.lifecycleState!)
41+
);
42+
}
43+
44+
/**
45+
* Waits forImageJob till it reaches any of the provided states
46+
*
47+
* @param request the request to send
48+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
49+
* @return response returns GetImageJobResponse
50+
*/
51+
public async forImageJob(
52+
request: serviceRequests.GetImageJobRequest,
53+
...targetStates: models.ImageJob.LifecycleState[]
54+
): Promise<serviceResponses.GetImageJobResponse> {
55+
return genericWaiter(
56+
this.config,
57+
() => this.client.getImageJob(request),
58+
response => targetStates.includes(response.imageJob.lifecycleState!)
59+
);
60+
}
61+
62+
/**
63+
* Waits forModel till it reaches any of the provided states
64+
*
65+
* @param request the request to send
66+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
67+
* @return response returns GetModelResponse | null (null in case of 404 response)
68+
*/
69+
public async forModel(
70+
request: serviceRequests.GetModelRequest,
71+
...targetStates: models.Model.LifecycleState[]
72+
): Promise<serviceResponses.GetModelResponse | null> {
73+
return genericTerminalConditionWaiter(
74+
this.config,
75+
() => this.client.getModel(request),
76+
response => targetStates.includes(response.model.lifecycleState!),
77+
targetStates.includes(models.Model.LifecycleState.Deleted)
78+
);
79+
}
80+
81+
/**
82+
* Waits forProject till it reaches any of the provided states
83+
*
84+
* @param request the request to send
85+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
86+
* @return response returns GetProjectResponse | null (null in case of 404 response)
87+
*/
88+
public async forProject(
89+
request: serviceRequests.GetProjectRequest,
90+
...targetStates: models.Project.LifecycleState[]
91+
): Promise<serviceResponses.GetProjectResponse | null> {
92+
return genericTerminalConditionWaiter(
93+
this.config,
94+
() => this.client.getProject(request),
95+
response => targetStates.includes(response.project.lifecycleState!),
96+
targetStates.includes(models.Project.LifecycleState.Deleted)
97+
);
98+
}
99+
100+
/**
101+
* Waits forWorkRequest
102+
*
103+
* @param request the request to send
104+
* @return response returns GetWorkRequestResponse
105+
*/
106+
public async forWorkRequest(
107+
request: serviceRequests.GetWorkRequestRequest
108+
): Promise<serviceResponses.GetWorkRequestResponse> {
109+
return genericWaiter(
110+
this.config,
111+
() => this.client.getWorkRequest(request),
112+
response => (response.workRequest.timeFinished ? true : false)
113+
);
114+
}
115+
}

0 commit comments

Comments
 (0)