Skip to content

Commit

Permalink
Release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 12, 2024
1 parent bbb1b40 commit 419aa47
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cartesia/cartesia-js",
"version": "2.1.0-alpha0",
"version": "2.1.0",
"private": false,
"repository": "https://github.com/cartesia-ai/cartesia-js",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/apiStatus/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class ApiStatus {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/datasets/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export class Datasets {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -119,8 +119,8 @@ export class Datasets {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -185,8 +185,8 @@ export class Datasets {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -258,8 +258,8 @@ export class Datasets {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
32 changes: 16 additions & 16 deletions src/api/resources/voices/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -123,8 +123,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -186,8 +186,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -250,8 +250,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -313,8 +313,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -383,8 +383,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -454,8 +454,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -559,8 +559,8 @@ export class Voices {
"Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@cartesia/cartesia-js",
"X-Fern-SDK-Version": "2.1.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.1.0-alpha0",
"X-Fern-SDK-Version": "2.1.0",
"User-Agent": "@cartesia/cartesia-js/2.1.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 2 additions & 6 deletions src/api/resources/voices/types/LocalizeDialect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@
import * as Cartesia from "../../../index";

/**
* The dialect to localize to.
* The dialect to localize to. Only supported for English (`en`).
*/
export type LocalizeDialect =
/**
* Only available when language is set to English (`en`).
* */
| Cartesia.LocalizeEnglishDialect
/**
* The standard dialect for the language.
* */
| "st";
Cartesia.LocalizeEnglishDialect;
4 changes: 2 additions & 2 deletions src/serialization/resources/voices/types/LocalizeDialect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import * as core from "../../../../core";
import { LocalizeEnglishDialect } from "./LocalizeEnglishDialect";

export const LocalizeDialect: core.serialization.Schema<serializers.LocalizeDialect.Raw, Cartesia.LocalizeDialect> =
core.serialization.undiscriminatedUnion([LocalizeEnglishDialect, core.serialization.stringLiteral("st")]);
core.serialization.undiscriminatedUnion([LocalizeEnglishDialect]);

export declare namespace LocalizeDialect {
type Raw = LocalizeEnglishDialect.Raw | "st";
type Raw = LocalizeEnglishDialect.Raw;
}
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = "2.1.0-alpha0";
export const SDK_VERSION = "2.1.0";
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1117,9 +1117,9 @@ camelcase@^6.2.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001669:
version "1.0.30001687"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz#d0ac634d043648498eedf7a3932836beba90ebae"
integrity sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==
version "1.0.30001688"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001688.tgz#f9d3ede749f083ce0db4c13db9d828adaf2e8d0a"
integrity sha512-Nmqpru91cuABu/DTCXbM2NSRHzM2uVHfPnhJ/1zEAJx/ILBRVmz3pzH4N7DZqbdG0gWClsCC05Oj0mJ/1AWMbA==

chalk@^4.0.0, chalk@^4.1.0:
version "4.1.2"
Expand Down

0 comments on commit 419aa47

Please sign in to comment.