Skip to content

Commit dbdaf4b

Browse files
Releasing version 2.82.0
1 parent 43aa1a6 commit dbdaf4b

File tree

166 files changed

+912
-165
lines changed

Some content is hidden

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

166 files changed

+912
-165
lines changed

CHANGELOG.md

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

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.82.0 - 2024-03-05
7+
### Added
8+
- Support for Linux capabilities configuration for the containers in the Container Instances service
9+
- Support for service platforms in the Oracle Store Platform Gateway service
10+
- Support for whisper models and delete job operation in the Speech service
11+
- Support for new SQL insight content types in news reports in the Operations Insights service
12+
- Support for launching virtual machines with multiple volumes in the Compute service
13+
14+
### Breaking Changes
15+
- The field `capacityPlanningResources` has been made optional in the model `NewsContentTypes` in the Operations Insights service
16+
17+
618
## 2.81.0 - 2024-02-27
719
### Added
820
- Support for specifying dialog version when creating skills entities in the Digital Assistant service

lib/accessgovernancecp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.81.0",
3+
"version": "2.82.0",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.81.0",
3+
"version": "2.82.0",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

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.81.0",
3+
"version": "2.82.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.81.0",
3+
"version": "2.82.0",
44
"description": "OCI NodeJS client for Ai Document 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.81.0",
3+
"version": "2.82.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/lib/client.ts

+70
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,76 @@ export class AIServiceSpeechClient {
516516
}
517517
}
518518

519+
/**
520+
* Delete API cleans job, tasks and the related metadata. However the generated transcriptions in customer tenancy will not be deleted.
521+
* This operation does not retry by default if the user has not defined a retry configuration.
522+
* @param DeleteTranscriptionJobRequest
523+
* @return DeleteTranscriptionJobResponse
524+
* @throws OciError when an error occurs
525+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aispeech/DeleteTranscriptionJob.ts.html |here} to see how to use DeleteTranscriptionJob API.
526+
*/
527+
public async deleteTranscriptionJob(
528+
deleteTranscriptionJobRequest: requests.DeleteTranscriptionJobRequest
529+
): Promise<responses.DeleteTranscriptionJobResponse> {
530+
if (this.logger)
531+
this.logger.debug("Calling operation AIServiceSpeechClient#deleteTranscriptionJob.");
532+
const operationName = "deleteTranscriptionJob";
533+
const apiReferenceLink =
534+
"https://docs.oracle.com/iaas/api/#/en/speech/20220101/TranscriptionJob/DeleteTranscriptionJob";
535+
const pathParams = {
536+
"{transcriptionJobId}": deleteTranscriptionJobRequest.transcriptionJobId
537+
};
538+
539+
const queryParams = {};
540+
541+
let headerParams = {
542+
"Content-Type": common.Constants.APPLICATION_JSON,
543+
"if-match": deleteTranscriptionJobRequest.ifMatch,
544+
"opc-request-id": deleteTranscriptionJobRequest.opcRequestId,
545+
"opc-retry-token": deleteTranscriptionJobRequest.opcRetryToken
546+
};
547+
548+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
549+
const retrier = GenericRetrier.createPreferredRetrier(
550+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
551+
deleteTranscriptionJobRequest.retryConfiguration,
552+
specRetryConfiguration
553+
);
554+
if (this.logger) retrier.logger = this.logger;
555+
const request = await composeRequest({
556+
baseEndpoint: this._endpoint,
557+
defaultHeaders: this._defaultHeaders,
558+
path: "/transcriptionJobs/{transcriptionJobId}",
559+
method: "DELETE",
560+
pathParams: pathParams,
561+
headerParams: headerParams,
562+
queryParams: queryParams
563+
});
564+
try {
565+
const response = await retrier.makeServiceCall(
566+
this._httpClient,
567+
request,
568+
this.targetService,
569+
operationName,
570+
apiReferenceLink
571+
);
572+
const sdkResponse = composeResponse({
573+
responseObject: <responses.DeleteTranscriptionJobResponse>{},
574+
responseHeaders: [
575+
{
576+
value: response.headers.get("opc-request-id"),
577+
key: "opcRequestId",
578+
dataType: "string"
579+
}
580+
]
581+
});
582+
583+
return sdkResponse;
584+
} catch (err) {
585+
throw err;
586+
}
587+
}
588+
519589
/**
520590
* Gets a Transcription Job by identifier
521591
* This operation does not retry by default if the user has not defined a retry configuration.

lib/aispeech/lib/model/transcription-model-details.ts

+138-13
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,92 @@ import common = require("oci-common");
1818
* Model details.
1919
*/
2020
export interface TranscriptionModelDetails {
21+
/**
22+
* Select a model to use for generating transcriptions. Currently supported models are:
23+
* - ORACLE
24+
* - WHISPER_MEDIUM
25+
* - WHISPER_LARGE_V2 (upon service request)
26+
*
27+
*/
28+
"modelType"?: string;
2129
/**
2230
* Domain for input files.
2331
*/
2432
"domain"?: TranscriptionModelDetails.Domain;
2533
/**
26-
* Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
27-
* - en-US: English - United States
28-
* - es-ES: Spanish - Spain
29-
* - pt-BR: Portuguese - Brazil
30-
* - en-GB: English - Great Britain
31-
* - en-AU: English - Australia
32-
* - en-IN: English - India
33-
* - hi-IN: Hindi - India
34-
* - fr-FR: French - France
35-
* - de-DE: German - Germany
36-
* - it-IT: Italian - Italy
37-
*
38-
*/
34+
*
35+
* Oracle supported language codes are (Oracle models are locale specific).
36+
* - en-US: English - United States (default)
37+
* - es-ES: Spanish - Spain
38+
* - pt-BR: Portuguese - Brazil
39+
* - en-GB: English - Great Britain
40+
* - en-AU: English - Australia
41+
* - en-IN: English - India
42+
* - hi-IN: Hindi - India
43+
* - fr-FR: French - France
44+
* - de-DE: German - Germany
45+
* - it-IT: Italian - Italy
46+
* <p>
47+
Whisper supported language codes are (Whisper models are locale agnostic).
48+
* - af: Afrikaans
49+
* - ar: Arabic
50+
* - az: Azerbaijani
51+
* - be: Belarusian
52+
* - bg: Bulgarian
53+
* - bs: Bosnian
54+
* - ca: Catalan
55+
* - cs: Czech
56+
* - cy: Welsh
57+
* - da: Danish
58+
* - de: German
59+
* - el: Greek
60+
* - en: English (default)
61+
* - es: Spanish
62+
* - et: Estonian
63+
* - fa: Persian
64+
* - fi: Finnish
65+
* - fr: French
66+
* - gl: Galician
67+
* - he: Hebrew
68+
* - hi: Hindi
69+
* - hr: Croatian
70+
* - hu: Hungarian
71+
* - hy: Armenian
72+
* - id: Indonesian
73+
* - is: Icelandic
74+
* - it: Italian
75+
* - ja: Japanese
76+
* - kk: Kazakh
77+
* - kn: Kannada
78+
* - ko: Korean
79+
* - lt: Lithuanian
80+
* - lv: Latvian
81+
* - mi: Maori
82+
* - mk: Macedonian
83+
* - mr: Marathi
84+
* - ms: Malay
85+
* - ne: Nepali
86+
* - nl: Dutch
87+
* - no: Norwegian
88+
* - pl: Polish
89+
* - pt: Portuguese
90+
* - ro: Romanian
91+
* - ru: Russian
92+
* - sk: Slovak
93+
* - sl: Slovenian
94+
* - sr: Serbian
95+
* - sv: Swedish
96+
* - sw: Swahili
97+
* - ta: Tamil
98+
* - th: Thai
99+
* - tl: Tagalog
100+
* - tr: Turkish
101+
* - uk: Ukrainian
102+
* - ur: Urdu
103+
* - vi: Vietnamese
104+
* - zh: Chinese
105+
*
106+
*/
39107
"languageCode"?: TranscriptionModelDetails.LanguageCode;
40108
"transcriptionSettings"?: model.TranscriptionSettings;
41109
}
@@ -61,6 +129,63 @@ export namespace TranscriptionModelDetails {
61129
FrFr = "fr-FR",
62130
DeDe = "de-DE",
63131
ItIt = "it-IT",
132+
Af = "af",
133+
Ar = "ar",
134+
Az = "az",
135+
Be = "be",
136+
Bg = "bg",
137+
Bs = "bs",
138+
Ca = "ca",
139+
Cs = "cs",
140+
Cy = "cy",
141+
Da = "da",
142+
De = "de",
143+
El = "el",
144+
En = "en",
145+
Es = "es",
146+
Et = "et",
147+
Fa = "fa",
148+
Fi = "fi",
149+
Fr = "fr",
150+
Gl = "gl",
151+
He = "he",
152+
Hi = "hi",
153+
Hr = "hr",
154+
Hu = "hu",
155+
Hy = "hy",
156+
Id = "id",
157+
Is = "is",
158+
It = "it",
159+
Ja = "ja",
160+
Kk = "kk",
161+
Kn = "kn",
162+
Ko = "ko",
163+
Lt = "lt",
164+
Lv = "lv",
165+
Mi = "mi",
166+
Mk = "mk",
167+
Mr = "mr",
168+
Ms = "ms",
169+
Ne = "ne",
170+
Nl = "nl",
171+
No = "no",
172+
Pl = "pl",
173+
Pt = "pt",
174+
Ro = "ro",
175+
Ru = "ru",
176+
Sk = "sk",
177+
Sl = "sl",
178+
Sr = "sr",
179+
Sv = "sv",
180+
Sw = "sw",
181+
Ta = "ta",
182+
Th = "th",
183+
Tl = "tl",
184+
Tr = "tr",
185+
Uk = "uk",
186+
Ur = "ur",
187+
Vi = "vi",
188+
Zh = "zh",
64189
/**
65190
* This value is used if a service returns a value for this enum that is not recognized by this
66191
* version of the SDK.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
*
3+
*
4+
* OpenAPI spec version: 20220101
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2024, 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 model from "../model";
15+
import common = require("oci-common");
16+
17+
/**
18+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aispeech/DeleteTranscriptionJob.ts.html |here} to see how to use DeleteTranscriptionJobRequest.
19+
*/
20+
export interface DeleteTranscriptionJobRequest extends common.BaseRequest {
21+
/**
22+
* Unique Transcription Job identifier.
23+
*/
24+
"transcriptionJobId": string;
25+
/**
26+
* For optimistic concurrency control. In the PUT or DELETE call
27+
* for a resource, set the {@code if-match} parameter to the value of the
28+
* etag from a previous GET or POST response for that resource.
29+
* The resource will be updated or deleted only if the etag you
30+
* provide matches the resource's current etag value.
31+
*
32+
*/
33+
"ifMatch"?: string;
34+
/**
35+
* The client request ID for tracing.
36+
*/
37+
"opcRequestId"?: string;
38+
/**
39+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
40+
* server error without risk of executing that same action again. Retry tokens expire after 24
41+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
42+
* has been deleted and purged from the system, then a retry of the original creation request
43+
* might be rejected.
44+
*
45+
*/
46+
"opcRetryToken"?: string;
47+
}

lib/aispeech/lib/request/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import * as ChangeTranscriptionJobCompartmentRequest from "./change-transcriptio
1919
export import ChangeTranscriptionJobCompartmentRequest = ChangeTranscriptionJobCompartmentRequest.ChangeTranscriptionJobCompartmentRequest;
2020
import * as CreateTranscriptionJobRequest from "./create-transcription-job-request";
2121
export import CreateTranscriptionJobRequest = CreateTranscriptionJobRequest.CreateTranscriptionJobRequest;
22+
import * as DeleteTranscriptionJobRequest from "./delete-transcription-job-request";
23+
export import DeleteTranscriptionJobRequest = DeleteTranscriptionJobRequest.DeleteTranscriptionJobRequest;
2224
import * as GetTranscriptionJobRequest from "./get-transcription-job-request";
2325
export import GetTranscriptionJobRequest = GetTranscriptionJobRequest.GetTranscriptionJobRequest;
2426
import * as GetTranscriptionTaskRequest from "./get-transcription-task-request";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
*
3+
*
4+
* OpenAPI spec version: 20220101
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2024, 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 model from "../model";
15+
import common = require("oci-common");
16+
17+
export interface DeleteTranscriptionJobResponse {
18+
/**
19+
* Unique Oracle-assigned identifier for the request. If you need to contact
20+
* Oracle about a particular request, please provide the request ID.
21+
*
22+
*/
23+
"opcRequestId": string;
24+
}

lib/aispeech/lib/response/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import * as ChangeTranscriptionJobCompartmentResponse from "./change-transcripti
1919
export import ChangeTranscriptionJobCompartmentResponse = ChangeTranscriptionJobCompartmentResponse.ChangeTranscriptionJobCompartmentResponse;
2020
import * as CreateTranscriptionJobResponse from "./create-transcription-job-response";
2121
export import CreateTranscriptionJobResponse = CreateTranscriptionJobResponse.CreateTranscriptionJobResponse;
22+
import * as DeleteTranscriptionJobResponse from "./delete-transcription-job-response";
23+
export import DeleteTranscriptionJobResponse = DeleteTranscriptionJobResponse.DeleteTranscriptionJobResponse;
2224
import * as GetTranscriptionJobResponse from "./get-transcription-job-response";
2325
export import GetTranscriptionJobResponse = GetTranscriptionJobResponse.GetTranscriptionJobResponse;
2426
import * as GetTranscriptionTaskResponse from "./get-transcription-task-response";

0 commit comments

Comments
 (0)