syllable-sdk
Advanced tools
Comparing version 0.1.0-alpha.50 to 0.1.0-alpha.51
@@ -121,2 +121,4 @@ # Agents | ||
}, | ||
sttProvider: "Google STT V2", | ||
waitSound: "Keyboard 2", | ||
}); | ||
@@ -163,2 +165,4 @@ | ||
}, | ||
sttProvider: "Google STT V2", | ||
waitSound: "Keyboard 2", | ||
}); | ||
@@ -232,2 +236,4 @@ | ||
}, | ||
sttProvider: "Google STT V2", | ||
waitSound: "Keyboard 2", | ||
id: 488852, | ||
@@ -277,2 +283,4 @@ }); | ||
}, | ||
sttProvider: "Google STT V2", | ||
waitSound: "Keyboard 2", | ||
id: 488852, | ||
@@ -279,0 +287,0 @@ }); |
@@ -5,3 +5,3 @@ | ||
"name": "syllable-sdk", | ||
"version": "0.1.0-alpha.50", | ||
"version": "0.1.0-alpha.51", | ||
"exports": { | ||
@@ -8,0 +8,0 @@ ".": "./src/index.ts", |
@@ -30,6 +30,6 @@ import { HTTPClient } from "./http.js"; | ||
readonly openapiDocVersion: "0.0.2"; | ||
readonly sdkVersion: "0.1.0-alpha.50"; | ||
readonly sdkVersion: "0.1.0-alpha.51"; | ||
readonly genVersion: "2.512.4"; | ||
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.50 2.512.4 0.0.2 syllable-sdk"; | ||
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.51 2.512.4 0.0.2 syllable-sdk"; | ||
}; | ||
//# sourceMappingURL=config.d.ts.map |
@@ -34,6 +34,6 @@ "use strict"; | ||
openapiDocVersion: "0.0.2", | ||
sdkVersion: "0.1.0-alpha.50", | ||
sdkVersion: "0.1.0-alpha.51", | ||
genVersion: "2.512.4", | ||
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.50 2.512.4 0.0.2 syllable-sdk", | ||
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.51 2.512.4 0.0.2 syllable-sdk", | ||
}; | ||
//# sourceMappingURL=config.js.map |
@@ -212,2 +212,3 @@ { | ||
"sdk-docs/models/components/languageconfig", | ||
"sdk-docs/models/components/languagegroupagentinfo", | ||
"sdk-docs/models/components/languagegroupcreaterequest", | ||
@@ -214,0 +215,0 @@ "sdk-docs/models/components/languagegroupproperties", |
import * as z from "zod"; | ||
import { Result as SafeParseResult } from "../../types/fp.js"; | ||
import { SDKValidationError } from "../errors/sdkvalidationerror.js"; | ||
import { AgentSttProvider } from "./agentsttprovider.js"; | ||
import { AgentToolDefaults, AgentToolDefaults$Outbound } from "./agenttooldefaults.js"; | ||
import { AgentWaitSound } from "./agentwaitsound.js"; | ||
export type AgentCreate = { | ||
@@ -61,5 +63,13 @@ /** | ||
/** | ||
* Whether the agent initiates conversation with a user after the custom_message is delivered | ||
* Whether the agent initiates conversation with a user after the custom message is delivered | ||
*/ | ||
agentInitiated?: boolean | undefined; | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: AgentSttProvider | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: AgentWaitSound | null | undefined; | ||
}; | ||
@@ -87,2 +97,4 @@ /** @internal */ | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
}; | ||
@@ -89,0 +101,0 @@ /** @internal */ |
@@ -35,3 +35,5 @@ "use strict"; | ||
const schemas_js_1 = require("../../lib/schemas.js"); | ||
const agentsttprovider_js_1 = require("./agentsttprovider.js"); | ||
const agenttooldefaults_js_1 = require("./agenttooldefaults.js"); | ||
const agentwaitsound_js_1 = require("./agentwaitsound.js"); | ||
/** @internal */ | ||
@@ -52,2 +54,4 @@ exports.AgentCreate$inboundSchema = z.object({ | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(agentsttprovider_js_1.AgentSttProvider$inboundSchema).optional(), | ||
wait_sound: z.nullable(agentwaitsound_js_1.AgentWaitSound$inboundSchema).optional(), | ||
}).transform((v) => { | ||
@@ -61,2 +65,4 @@ return (0, primitives_js_1.remap)(v, { | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
}); | ||
@@ -79,2 +85,4 @@ }); | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(agentsttprovider_js_1.AgentSttProvider$outboundSchema).optional(), | ||
waitSound: z.nullable(agentwaitsound_js_1.AgentWaitSound$outboundSchema).optional(), | ||
}).transform((v) => { | ||
@@ -88,2 +96,4 @@ return (0, primitives_js_1.remap)(v, { | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
}); | ||
@@ -90,0 +100,0 @@ }); |
@@ -77,2 +77,10 @@ import * as z from "zod"; | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: string | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: string | null | undefined; | ||
/** | ||
* The agent ID | ||
@@ -131,2 +139,4 @@ */ | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
id: number; | ||
@@ -133,0 +143,0 @@ updated_at: string; |
@@ -56,2 +56,4 @@ "use strict"; | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(z.string()).optional(), | ||
wait_sound: z.nullable(z.string()).optional(), | ||
id: z.number().int(), | ||
@@ -73,2 +75,4 @@ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)), | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
"updated_at": "updatedAt", | ||
@@ -96,2 +100,4 @@ "last_updated_by": "lastUpdatedBy", | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(z.string()).optional(), | ||
waitSound: z.nullable(z.string()).optional(), | ||
id: z.number().int(), | ||
@@ -113,2 +119,4 @@ updatedAt: z.date().transform(v => v.toISOString()), | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
updatedAt: "updated_at", | ||
@@ -115,0 +123,0 @@ lastUpdatedBy: "last_updated_by", |
import * as z from "zod"; | ||
import { Result as SafeParseResult } from "../../types/fp.js"; | ||
import { SDKValidationError } from "../errors/sdkvalidationerror.js"; | ||
import { AgentSttProvider } from "./agentsttprovider.js"; | ||
import { AgentToolDefaults, AgentToolDefaults$Outbound } from "./agenttooldefaults.js"; | ||
import { AgentWaitSound } from "./agentwaitsound.js"; | ||
export type AgentUpdate = { | ||
@@ -61,6 +63,14 @@ /** | ||
/** | ||
* Whether the agent initiates conversation with a user after the custom_message is delivered | ||
* Whether the agent initiates conversation with a user after the custom message is delivered | ||
*/ | ||
agentInitiated?: boolean | undefined; | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: AgentSttProvider | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: AgentWaitSound | null | undefined; | ||
/** | ||
* The agent ID | ||
@@ -91,2 +101,4 @@ */ | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
id: number; | ||
@@ -93,0 +105,0 @@ }; |
@@ -35,3 +35,5 @@ "use strict"; | ||
const schemas_js_1 = require("../../lib/schemas.js"); | ||
const agentsttprovider_js_1 = require("./agentsttprovider.js"); | ||
const agenttooldefaults_js_1 = require("./agenttooldefaults.js"); | ||
const agentwaitsound_js_1 = require("./agentwaitsound.js"); | ||
/** @internal */ | ||
@@ -52,2 +54,4 @@ exports.AgentUpdate$inboundSchema = z.object({ | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(agentsttprovider_js_1.AgentSttProvider$inboundSchema).optional(), | ||
wait_sound: z.nullable(agentwaitsound_js_1.AgentWaitSound$inboundSchema).optional(), | ||
id: z.number().int(), | ||
@@ -62,2 +66,4 @@ }).transform((v) => { | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
}); | ||
@@ -80,2 +86,4 @@ }); | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(agentsttprovider_js_1.AgentSttProvider$outboundSchema).optional(), | ||
waitSound: z.nullable(agentwaitsound_js_1.AgentWaitSound$outboundSchema).optional(), | ||
id: z.number().int(), | ||
@@ -90,2 +98,4 @@ }).transform((v) => { | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
}); | ||
@@ -92,0 +102,0 @@ }); |
@@ -5,2 +5,3 @@ export * from "./agentcreate.js"; | ||
export * from "./agentresponse.js"; | ||
export * from "./agentsttprovider.js"; | ||
export * from "./agenttooldefaults.js"; | ||
@@ -14,2 +15,3 @@ export * from "./agenttoolfielddefault.js"; | ||
export * from "./agentvoicevarname.js"; | ||
export * from "./agentwaitsound.js"; | ||
export * from "./availabletarget.js"; | ||
@@ -16,0 +18,0 @@ export * from "./availabletargetproperties.js"; |
@@ -24,2 +24,3 @@ "use strict"; | ||
__exportStar(require("./agentresponse.js"), exports); | ||
__exportStar(require("./agentsttprovider.js"), exports); | ||
__exportStar(require("./agenttooldefaults.js"), exports); | ||
@@ -33,2 +34,3 @@ __exportStar(require("./agenttoolfielddefault.js"), exports); | ||
__exportStar(require("./agentvoicevarname.js"), exports); | ||
__exportStar(require("./agentwaitsound.js"), exports); | ||
__exportStar(require("./availabletarget.js"), exports); | ||
@@ -35,0 +37,0 @@ __exportStar(require("./availabletargetproperties.js"), exports); |
@@ -28,3 +28,3 @@ import * as z from "zod"; | ||
/** | ||
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt. | ||
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt. | ||
*/ | ||
@@ -31,0 +31,0 @@ includeDefaultTools?: boolean | undefined; |
@@ -36,3 +36,3 @@ import * as z from "zod"; | ||
/** | ||
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated. | ||
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated. | ||
*/ | ||
@@ -39,0 +39,0 @@ includeDefaultTools?: boolean | undefined; |
{ | ||
"name": "syllable-sdk", | ||
"version": "0.1.0-alpha.50", | ||
"version": "0.1.0-alpha.51", | ||
"author": "Speakeasy", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -60,6 +60,6 @@ /* | ||
openapiDocVersion: "0.0.2", | ||
sdkVersion: "0.1.0-alpha.50", | ||
sdkVersion: "0.1.0-alpha.51", | ||
genVersion: "2.512.4", | ||
userAgent: | ||
"speakeasy-sdk/typescript 0.1.0-alpha.50 2.512.4 0.0.2 syllable-sdk", | ||
"speakeasy-sdk/typescript 0.1.0-alpha.51 2.512.4 0.0.2 syllable-sdk", | ||
} as const; |
@@ -11,2 +11,7 @@ /* | ||
import { | ||
AgentSttProvider, | ||
AgentSttProvider$inboundSchema, | ||
AgentSttProvider$outboundSchema, | ||
} from "./agentsttprovider.js"; | ||
import { | ||
AgentToolDefaults, | ||
@@ -17,2 +22,7 @@ AgentToolDefaults$inboundSchema, | ||
} from "./agenttooldefaults.js"; | ||
import { | ||
AgentWaitSound, | ||
AgentWaitSound$inboundSchema, | ||
AgentWaitSound$outboundSchema, | ||
} from "./agentwaitsound.js"; | ||
@@ -71,5 +81,13 @@ export type AgentCreate = { | ||
/** | ||
* Whether the agent initiates conversation with a user after the custom_message is delivered | ||
* Whether the agent initiates conversation with a user after the custom message is delivered | ||
*/ | ||
agentInitiated?: boolean | undefined; | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: AgentSttProvider | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: AgentWaitSound | null | undefined; | ||
}; | ||
@@ -96,2 +114,4 @@ | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(AgentSttProvider$inboundSchema).optional(), | ||
wait_sound: z.nullable(AgentWaitSound$inboundSchema).optional(), | ||
}).transform((v) => { | ||
@@ -105,2 +125,4 @@ return remap$(v, { | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
}); | ||
@@ -124,2 +146,4 @@ }); | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
}; | ||
@@ -146,2 +170,4 @@ | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(AgentSttProvider$outboundSchema).optional(), | ||
waitSound: z.nullable(AgentWaitSound$outboundSchema).optional(), | ||
}).transform((v) => { | ||
@@ -155,2 +181,4 @@ return remap$(v, { | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
}); | ||
@@ -157,0 +185,0 @@ }); |
@@ -110,2 +110,10 @@ /* | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: string | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: string | null | undefined; | ||
/** | ||
* The agent ID | ||
@@ -163,2 +171,4 @@ */ | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(z.string()).optional(), | ||
wait_sound: z.nullable(z.string()).optional(), | ||
id: z.number().int(), | ||
@@ -182,2 +192,4 @@ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)), | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
"updated_at": "updatedAt", | ||
@@ -206,2 +218,4 @@ "last_updated_by": "lastUpdatedBy", | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
id: number; | ||
@@ -236,2 +250,4 @@ updated_at: string; | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(z.string()).optional(), | ||
waitSound: z.nullable(z.string()).optional(), | ||
id: z.number().int(), | ||
@@ -255,2 +271,4 @@ updatedAt: z.date().transform(v => v.toISOString()), | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
updatedAt: "updated_at", | ||
@@ -257,0 +275,0 @@ lastUpdatedBy: "last_updated_by", |
@@ -11,2 +11,7 @@ /* | ||
import { | ||
AgentSttProvider, | ||
AgentSttProvider$inboundSchema, | ||
AgentSttProvider$outboundSchema, | ||
} from "./agentsttprovider.js"; | ||
import { | ||
AgentToolDefaults, | ||
@@ -17,2 +22,7 @@ AgentToolDefaults$inboundSchema, | ||
} from "./agenttooldefaults.js"; | ||
import { | ||
AgentWaitSound, | ||
AgentWaitSound$inboundSchema, | ||
AgentWaitSound$outboundSchema, | ||
} from "./agentwaitsound.js"; | ||
@@ -71,6 +81,14 @@ export type AgentUpdate = { | ||
/** | ||
* Whether the agent initiates conversation with a user after the custom_message is delivered | ||
* Whether the agent initiates conversation with a user after the custom message is delivered | ||
*/ | ||
agentInitiated?: boolean | undefined; | ||
/** | ||
* Speech-to-text provider for the agent. | ||
*/ | ||
sttProvider?: AgentSttProvider | null | undefined; | ||
/** | ||
* Sound to play while waiting for a response from the LLM. | ||
*/ | ||
waitSound?: AgentWaitSound | null | undefined; | ||
/** | ||
* The agent ID | ||
@@ -100,2 +118,4 @@ */ | ||
agent_initiated: z.boolean().default(false), | ||
stt_provider: z.nullable(AgentSttProvider$inboundSchema).optional(), | ||
wait_sound: z.nullable(AgentWaitSound$inboundSchema).optional(), | ||
id: z.number().int(), | ||
@@ -110,2 +130,4 @@ }).transform((v) => { | ||
"agent_initiated": "agentInitiated", | ||
"stt_provider": "sttProvider", | ||
"wait_sound": "waitSound", | ||
}); | ||
@@ -129,2 +151,4 @@ }); | ||
agent_initiated: boolean; | ||
stt_provider?: string | null | undefined; | ||
wait_sound?: string | null | undefined; | ||
id: number; | ||
@@ -152,2 +176,4 @@ }; | ||
agentInitiated: z.boolean().default(false), | ||
sttProvider: z.nullable(AgentSttProvider$outboundSchema).optional(), | ||
waitSound: z.nullable(AgentWaitSound$outboundSchema).optional(), | ||
id: z.number().int(), | ||
@@ -162,2 +188,4 @@ }).transform((v) => { | ||
agentInitiated: "agent_initiated", | ||
sttProvider: "stt_provider", | ||
waitSound: "wait_sound", | ||
}); | ||
@@ -164,0 +192,0 @@ }); |
@@ -9,2 +9,3 @@ /* | ||
export * from "./agentresponse.js"; | ||
export * from "./agentsttprovider.js"; | ||
export * from "./agenttooldefaults.js"; | ||
@@ -18,2 +19,3 @@ export * from "./agenttoolfielddefault.js"; | ||
export * from "./agentvoicevarname.js"; | ||
export * from "./agentwaitsound.js"; | ||
export * from "./availabletarget.js"; | ||
@@ -20,0 +22,0 @@ export * from "./availabletargetproperties.js"; |
@@ -40,3 +40,3 @@ /* | ||
/** | ||
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt. | ||
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt. | ||
*/ | ||
@@ -43,0 +43,0 @@ includeDefaultTools?: boolean | undefined; |
@@ -48,3 +48,3 @@ /* | ||
/** | ||
* Whether to include the default tools (`summary`, `hangup`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated. | ||
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated. | ||
*/ | ||
@@ -51,0 +51,0 @@ includeDefaultTools?: boolean | undefined; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
4798130
1597
89610