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 Jul 8, 2024
1 parent 05f8124 commit 0827cfd
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 415 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ jobs:
- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
npm publish --access public --tag beta
npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
68 changes: 3 additions & 65 deletions .mock/definition/empathic-voice/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,9 @@ types:
type: optional<list<BuiltinToolConfig>>
docs: List of builtin tools to enable.
metadata: optional<map<string, unknown>>
variables:
type: optional<map<string, optional<string>>>
docs: Dynamic values that can be used to populate EVI prompts.
Tool:
properties:
type:
Expand Down Expand Up @@ -1234,64 +1237,6 @@ types:
properties:
text: string
voice_args: VoiceArgs
Features:
properties:
confidence:
type: optional<double>
docs: Confidence (F->M)
default: 0
validation:
min: -20
max: 20
enthusiasm:
type: optional<double>
docs: Enthusiasm (M->A)
default: 0
validation:
min: -20
max: 20
affirmative:
type: optional<double>
docs: Affirmative (F->A/M)
default: 0
validation:
min: -20
max: 20
articulate:
type: optional<double>
docs: Articulate (A->M)
default: 0
validation:
min: -20
max: 20
maturity:
type: optional<double>
docs: Maturity (M->F)
default: 0
validation:
min: -20
max: 20
defeated:
type: optional<double>
docs: Defeated (N->M)
default: 0
validation:
min: -20
max: 20
feminine:
type: optional<double>
docs: Feminine (M->F)
default: 0
validation:
min: -20
max: 20
nerdy:
type: optional<double>
docs: Nerdy (A->A)
default: 0
validation:
min: -20
max: 20
HTTPValidationError:
properties:
detail: optional<list<ValidationError>>
Expand All @@ -1308,13 +1253,6 @@ types:
VoiceArgs:
properties:
voice: optional<VoiceNameEnum>
features: optional<Features>
characters_per_second_ratio:
type: optional<double>
default: 1
validation:
min: 0.5
max: 2
baseline: optional<boolean>
reconstruct: optional<boolean>
VoiceNameEnum:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hume",
"version": "0.8.0",
"version": "0.7.3",
"private": false,
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
"main": "./index.js",
Expand Down
7 changes: 0 additions & 7 deletions src/api/resources/empathicVoice/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Prompts } from "../resources/prompts/client/Client";
import { Configs } from "../resources/configs/client/Client";
import { Chats } from "../resources/chats/client/Client";
import { ChatGroups } from "../resources/chatGroups/client/Client";
import { Chat } from "../resources/chat/client/Client";

export declare namespace EmpathicVoice {
interface Options {
Expand Down Expand Up @@ -57,10 +56,4 @@ export class EmpathicVoice {
public get chatGroups(): ChatGroups {
return (this._chatGroups ??= new ChatGroups(this._options));
}

protected _chat: Chat | undefined;

public get chat(): Chat {
return (this._chat ??= new Chat(this._options));
}
}
1 change: 1 addition & 0 deletions src/api/resources/empathicVoice/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "./resources";
export * from "./types";
export * from "./client";

Check failure on line 3 in src/api/resources/empathicVoice/index.ts

View workflow job for this annotation

GitHub Actions / compile

Cannot find module './client' or its corresponding type declarations.
50 changes: 0 additions & 50 deletions src/api/resources/empathicVoice/resources/chat/client/Client.ts

This file was deleted.

180 changes: 0 additions & 180 deletions src/api/resources/empathicVoice/resources/chat/client/Socket.ts

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class ChatGroups {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.8.0",
"X-Fern-SDK-Version": "0.7.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -138,7 +138,7 @@ export class ChatGroups {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.8.0",
"X-Fern-SDK-Version": "0.7.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class Chats {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.8.0",
"X-Fern-SDK-Version": "0.7.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -138,7 +138,7 @@ export class Chats {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.8.0",
"X-Fern-SDK-Version": "0.7.3",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Loading

0 comments on commit 0827cfd

Please sign in to comment.