Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Nov 29, 2024
1 parent 55dd3ac commit 45e7663
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 30 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cartesia/cartesia-js",
"version": "2.0.0-alpha0",
"version": "2.0.0-alpha",
"private": false,
"repository": "https://github.com/cartesia-ai/cartesia-js",
"main": "./index.js",
Expand All @@ -18,7 +18,9 @@
"node-fetch": "2.7.0",
"qs": "6.11.2",
"readable-stream": "^4.5.2",
"form-data-encoder": "^4.0.2"
"form-data-encoder": "^4.0.2",
"emittery": "^1.0.3",
"human-id": "^4.1.1"
},
"devDependencies": {
"@types/url-join": "4.0.1",
Expand All @@ -34,7 +36,8 @@
"jest-environment-jsdom": "29.7.0",
"@types/node": "17.0.33",
"prettier": "2.7.1",
"typescript": "4.6.4"
"typescript": "4.6.4",
"@types/ws": "^8.5.13"
},
"browser": {
"fs": false,
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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/tts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export class Tts {
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -99,8 +99,8 @@ export class Tts {
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/voiceChanger/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export class VoiceChanger {
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -140,8 +140,8 @@ export class VoiceChanger {
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"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.0.0-alpha0",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha0",
"X-Fern-SDK-Version": "2.0.0-alpha",
"User-Agent": "@cartesia/cartesia-js/2.0.0-alpha",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
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.0.0-alpha0";
export const SDK_VERSION = "2.0.0-alpha";
17 changes: 17 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,13 @@
resolved "https://registry.yarnpkg.com/@types/url-join/-/url-join-4.0.1.tgz#4989c97f969464647a8586c7252d97b449cdc045"
integrity sha512-wDXw9LEEUHyV+7UWy7U315nrJGJ7p1BzaCxDpEoLr789Dk1WDVMMlf3iBfbG2F8NdWnYyFbtTxUn2ZNbm1Q4LQ==

"@types/ws@^8.5.13":
version "8.5.13"
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.13.tgz#6414c280875e2691d0d1e080b05addbf5cb91e20"
integrity sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==
dependencies:
"@types/node" "*"

"@types/yargs-parser@*":
version "21.0.3"
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15"
Expand Down Expand Up @@ -1296,6 +1303,11 @@ emittery@^0.13.1:
resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad"
integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==

emittery@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/emittery/-/emittery-1.0.3.tgz#c9d2a9c689870f15251bb13b31c67715c26d69ac"
integrity sha512-tJdCJitoy2lrC2ldJcqN4vkqJ00lT+tOWNT1hBJjO/3FDMJa5TTIiYGCKGkn/WfCyOzUMObeohbVTj00fhiLiA==

emoji-regex@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
Expand Down Expand Up @@ -1647,6 +1659,11 @@ https-proxy-agent@^5.0.1:
agent-base "6"
debug "4"

human-id@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/human-id/-/human-id-4.1.1.tgz#2801fbd61b9a5c1c9170f332802db6408a39a4b0"
integrity sha512-3gKm/gCSUipeLsRYZbbdA1BD83lBoWUkZ7G9VFrhWPAU76KwYo5KR8V28bpoPm/ygy0x5/GCbpRQdY7VLYCoIg==

human-signals@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
Expand Down

0 comments on commit 45e7663

Please sign in to comment.