Skip to content

Commit

Permalink
Releasing version 2.82.0
Browse files Browse the repository at this point in the history
Releasing version 2.82.0
  • Loading branch information
oci-dex-release-bot committed Mar 5, 2024
2 parents 43aa1a6 + dbdaf4b commit 52a6526
Show file tree
Hide file tree
Showing 166 changed files with 912 additions and 165 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).
## 2.82.0 - 2024-03-05
### Added
- Support for Linux capabilities configuration for the containers in the Container Instances service
- Support for service platforms in the Oracle Store Platform Gateway service
- Support for whisper models and delete job operation in the Speech service
- Support for new SQL insight content types in news reports in the Operations Insights service
- Support for launching virtual machines with multiple volumes in the Compute service

### Breaking Changes
- The field `capacityPlanningResources` has been made optional in the model `NewsContentTypes` in the Operations Insights service


## 2.81.0 - 2024-02-27
### Added
- Support for specifying dialog version when creating skills entities in the Digital Assistant service
Expand Down
2 changes: 1 addition & 1 deletion lib/accessgovernancecp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-accessgovernancecp",
"version": "2.81.0",
"version": "2.82.0",
"description": "OCI NodeJS client for Access Governance Cp Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/adm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-adm",
"version": "2.81.0",
"version": "2.82.0",
"description": "OCI NodeJS client for Adm Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aianomalydetection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aianomalydetection",
"version": "2.81.0",
"version": "2.82.0",
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aidocument/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aidocument",
"version": "2.81.0",
"version": "2.82.0",
"description": "OCI NodeJS client for Ai Document Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/ailanguage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-ailanguage",
"version": "2.81.0",
"version": "2.82.0",
"description": "OCI NodeJS client for Ai Language Service",
"repository": {
"type": "git",
Expand Down
70 changes: 70 additions & 0 deletions lib/aispeech/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,76 @@ export class AIServiceSpeechClient {
}
}

/**
* Delete API cleans job, tasks and the related metadata. However the generated transcriptions in customer tenancy will not be deleted.
* This operation does not retry by default if the user has not defined a retry configuration.
* @param DeleteTranscriptionJobRequest
* @return DeleteTranscriptionJobResponse
* @throws OciError when an error occurs
* @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.
*/
public async deleteTranscriptionJob(
deleteTranscriptionJobRequest: requests.DeleteTranscriptionJobRequest
): Promise<responses.DeleteTranscriptionJobResponse> {
if (this.logger)
this.logger.debug("Calling operation AIServiceSpeechClient#deleteTranscriptionJob.");
const operationName = "deleteTranscriptionJob";
const apiReferenceLink =
"https://docs.oracle.com/iaas/api/#/en/speech/20220101/TranscriptionJob/DeleteTranscriptionJob";
const pathParams = {
"{transcriptionJobId}": deleteTranscriptionJobRequest.transcriptionJobId
};

const queryParams = {};

let headerParams = {
"Content-Type": common.Constants.APPLICATION_JSON,
"if-match": deleteTranscriptionJobRequest.ifMatch,
"opc-request-id": deleteTranscriptionJobRequest.opcRequestId,
"opc-retry-token": deleteTranscriptionJobRequest.opcRetryToken
};

const specRetryConfiguration = common.NoRetryConfigurationDetails;
const retrier = GenericRetrier.createPreferredRetrier(
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
deleteTranscriptionJobRequest.retryConfiguration,
specRetryConfiguration
);
if (this.logger) retrier.logger = this.logger;
const request = await composeRequest({
baseEndpoint: this._endpoint,
defaultHeaders: this._defaultHeaders,
path: "/transcriptionJobs/{transcriptionJobId}",
method: "DELETE",
pathParams: pathParams,
headerParams: headerParams,
queryParams: queryParams
});
try {
const response = await retrier.makeServiceCall(
this._httpClient,
request,
this.targetService,
operationName,
apiReferenceLink
);
const sdkResponse = composeResponse({
responseObject: <responses.DeleteTranscriptionJobResponse>{},
responseHeaders: [
{
value: response.headers.get("opc-request-id"),
key: "opcRequestId",
dataType: "string"
}
]
});

return sdkResponse;
} catch (err) {
throw err;
}
}

/**
* Gets a Transcription Job by identifier
* This operation does not retry by default if the user has not defined a retry configuration.
Expand Down
151 changes: 138 additions & 13 deletions lib/aispeech/lib/model/transcription-model-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,92 @@ import common = require("oci-common");
* Model details.
*/
export interface TranscriptionModelDetails {
/**
* Select a model to use for generating transcriptions. Currently supported models are:
* - ORACLE
* - WHISPER_MEDIUM
* - WHISPER_LARGE_V2 (upon service request)
*
*/
"modelType"?: string;
/**
* Domain for input files.
*/
"domain"?: TranscriptionModelDetails.Domain;
/**
* Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
* - en-US: English - United States
* - es-ES: Spanish - Spain
* - pt-BR: Portuguese - Brazil
* - en-GB: English - Great Britain
* - en-AU: English - Australia
* - en-IN: English - India
* - hi-IN: Hindi - India
* - fr-FR: French - France
* - de-DE: German - Germany
* - it-IT: Italian - Italy
*
*/
*
* Oracle supported language codes are (Oracle models are locale specific).
* - en-US: English - United States (default)
* - es-ES: Spanish - Spain
* - pt-BR: Portuguese - Brazil
* - en-GB: English - Great Britain
* - en-AU: English - Australia
* - en-IN: English - India
* - hi-IN: Hindi - India
* - fr-FR: French - France
* - de-DE: German - Germany
* - it-IT: Italian - Italy
* <p>
Whisper supported language codes are (Whisper models are locale agnostic).
* - af: Afrikaans
* - ar: Arabic
* - az: Azerbaijani
* - be: Belarusian
* - bg: Bulgarian
* - bs: Bosnian
* - ca: Catalan
* - cs: Czech
* - cy: Welsh
* - da: Danish
* - de: German
* - el: Greek
* - en: English (default)
* - es: Spanish
* - et: Estonian
* - fa: Persian
* - fi: Finnish
* - fr: French
* - gl: Galician
* - he: Hebrew
* - hi: Hindi
* - hr: Croatian
* - hu: Hungarian
* - hy: Armenian
* - id: Indonesian
* - is: Icelandic
* - it: Italian
* - ja: Japanese
* - kk: Kazakh
* - kn: Kannada
* - ko: Korean
* - lt: Lithuanian
* - lv: Latvian
* - mi: Maori
* - mk: Macedonian
* - mr: Marathi
* - ms: Malay
* - ne: Nepali
* - nl: Dutch
* - no: Norwegian
* - pl: Polish
* - pt: Portuguese
* - ro: Romanian
* - ru: Russian
* - sk: Slovak
* - sl: Slovenian
* - sr: Serbian
* - sv: Swedish
* - sw: Swahili
* - ta: Tamil
* - th: Thai
* - tl: Tagalog
* - tr: Turkish
* - uk: Ukrainian
* - ur: Urdu
* - vi: Vietnamese
* - zh: Chinese
*
*/
"languageCode"?: TranscriptionModelDetails.LanguageCode;
"transcriptionSettings"?: model.TranscriptionSettings;
}
Expand All @@ -61,6 +129,63 @@ export namespace TranscriptionModelDetails {
FrFr = "fr-FR",
DeDe = "de-DE",
ItIt = "it-IT",
Af = "af",
Ar = "ar",
Az = "az",
Be = "be",
Bg = "bg",
Bs = "bs",
Ca = "ca",
Cs = "cs",
Cy = "cy",
Da = "da",
De = "de",
El = "el",
En = "en",
Es = "es",
Et = "et",
Fa = "fa",
Fi = "fi",
Fr = "fr",
Gl = "gl",
He = "he",
Hi = "hi",
Hr = "hr",
Hu = "hu",
Hy = "hy",
Id = "id",
Is = "is",
It = "it",
Ja = "ja",
Kk = "kk",
Kn = "kn",
Ko = "ko",
Lt = "lt",
Lv = "lv",
Mi = "mi",
Mk = "mk",
Mr = "mr",
Ms = "ms",
Ne = "ne",
Nl = "nl",
No = "no",
Pl = "pl",
Pt = "pt",
Ro = "ro",
Ru = "ru",
Sk = "sk",
Sl = "sl",
Sr = "sr",
Sv = "sv",
Sw = "sw",
Ta = "ta",
Th = "th",
Tl = "tl",
Tr = "tr",
Uk = "uk",
Ur = "ur",
Vi = "vi",
Zh = "zh",
/**
* This value is used if a service returns a value for this enum that is not recognized by this
* version of the SDK.
Expand Down
47 changes: 47 additions & 0 deletions lib/aispeech/lib/request/delete-transcription-job-request.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
*
*
* OpenAPI spec version: 20220101
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* 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.
*/

import * as model from "../model";
import common = require("oci-common");

/**
* @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.
*/
export interface DeleteTranscriptionJobRequest extends common.BaseRequest {
/**
* Unique Transcription Job identifier.
*/
"transcriptionJobId": string;
/**
* For optimistic concurrency control. In the PUT or DELETE call
* for a resource, set the {@code if-match} parameter to the value of the
* etag from a previous GET or POST response for that resource.
* The resource will be updated or deleted only if the etag you
* provide matches the resource's current etag value.
*
*/
"ifMatch"?: string;
/**
* The client request ID for tracing.
*/
"opcRequestId"?: string;
/**
* A token that uniquely identifies a request so it can be retried in case of a timeout or
* server error without risk of executing that same action again. Retry tokens expire after 24
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
* has been deleted and purged from the system, then a retry of the original creation request
* might be rejected.
*
*/
"opcRetryToken"?: string;
}
2 changes: 2 additions & 0 deletions lib/aispeech/lib/request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import * as ChangeTranscriptionJobCompartmentRequest from "./change-transcriptio
export import ChangeTranscriptionJobCompartmentRequest = ChangeTranscriptionJobCompartmentRequest.ChangeTranscriptionJobCompartmentRequest;
import * as CreateTranscriptionJobRequest from "./create-transcription-job-request";
export import CreateTranscriptionJobRequest = CreateTranscriptionJobRequest.CreateTranscriptionJobRequest;
import * as DeleteTranscriptionJobRequest from "./delete-transcription-job-request";
export import DeleteTranscriptionJobRequest = DeleteTranscriptionJobRequest.DeleteTranscriptionJobRequest;
import * as GetTranscriptionJobRequest from "./get-transcription-job-request";
export import GetTranscriptionJobRequest = GetTranscriptionJobRequest.GetTranscriptionJobRequest;
import * as GetTranscriptionTaskRequest from "./get-transcription-task-request";
Expand Down
24 changes: 24 additions & 0 deletions lib/aispeech/lib/response/delete-transcription-job-response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
*
*
* OpenAPI spec version: 20220101
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* 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.
*/

import * as model from "../model";
import common = require("oci-common");

export interface DeleteTranscriptionJobResponse {
/**
* Unique Oracle-assigned identifier for the request. If you need to contact
* Oracle about a particular request, please provide the request ID.
*
*/
"opcRequestId": string;
}
2 changes: 2 additions & 0 deletions lib/aispeech/lib/response/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import * as ChangeTranscriptionJobCompartmentResponse from "./change-transcripti
export import ChangeTranscriptionJobCompartmentResponse = ChangeTranscriptionJobCompartmentResponse.ChangeTranscriptionJobCompartmentResponse;
import * as CreateTranscriptionJobResponse from "./create-transcription-job-response";
export import CreateTranscriptionJobResponse = CreateTranscriptionJobResponse.CreateTranscriptionJobResponse;
import * as DeleteTranscriptionJobResponse from "./delete-transcription-job-response";
export import DeleteTranscriptionJobResponse = DeleteTranscriptionJobResponse.DeleteTranscriptionJobResponse;
import * as GetTranscriptionJobResponse from "./get-transcription-job-response";
export import GetTranscriptionJobResponse = GetTranscriptionJobResponse.GetTranscriptionJobResponse;
import * as GetTranscriptionTaskResponse from "./get-transcription-task-response";
Expand Down
Loading

0 comments on commit 52a6526

Please sign in to comment.