syllable-sdk 0.1.0-alpha.50 → 0.1.0-alpha.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/agents/README.md +8 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +1 -0
- package/models/components/agentcreate.d.ts +13 -1
- package/models/components/agentcreate.d.ts.map +1 -1
- package/models/components/agentcreate.js +10 -0
- package/models/components/agentcreate.js.map +1 -1
- package/models/components/agentresponse.d.ts +10 -0
- package/models/components/agentresponse.d.ts.map +1 -1
- package/models/components/agentresponse.js +8 -0
- package/models/components/agentresponse.js.map +1 -1
- package/models/components/agentsttprovider.d.ts +37 -0
- package/models/components/agentsttprovider.d.ts.map +1 -0
- package/models/components/agentsttprovider.js +54 -0
- package/models/components/agentsttprovider.js.map +1 -0
- package/models/components/agentupdate.d.ts +13 -1
- package/models/components/agentupdate.d.ts.map +1 -1
- package/models/components/agentupdate.js +10 -0
- package/models/components/agentupdate.js.map +1 -1
- package/models/components/agentwaitsound.d.ts +37 -0
- package/models/components/agentwaitsound.d.ts.map +1 -0
- package/models/components/agentwaitsound.js +54 -0
- package/models/components/agentwaitsound.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/promptcreaterequest.d.ts +1 -1
- package/models/components/promptupdaterequest.d.ts +1 -1
- package/openapi.json +122 -4
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentcreate.ts +29 -1
- package/src/models/components/agentresponse.ts +18 -0
- package/src/models/components/agentsttprovider.ts +40 -0
- package/src/models/components/agentupdate.ts +29 -1
- package/src/models/components/agentwaitsound.ts +40 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/promptcreaterequest.ts +1 -1
- package/src/models/components/promptupdaterequest.ts +1 -1
|
@@ -1 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yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./agentcreate.js"), exports);
|
|
|
21
21
|
__exportStar(require("./agentlanguage.js"), exports);
|
|
22
22
|
__exportStar(require("./agentproperties.js"), exports);
|
|
23
23
|
__exportStar(require("./agentresponse.js"), exports);
|
|
24
|
+
__exportStar(require("./agentsttprovider.js"), exports);
|
|
24
25
|
__exportStar(require("./agenttooldefaults.js"), exports);
|
|
25
26
|
__exportStar(require("./agenttoolfielddefault.js"), exports);
|
|
26
27
|
__exportStar(require("./agentupdate.js"), exports);
|
|
@@ -29,6 +30,7 @@ __exportStar(require("./agentvoicedisplayname.js"), exports);
|
|
|
29
30
|
__exportStar(require("./agentvoicegender.js"), exports);
|
|
30
31
|
__exportStar(require("./agentvoicemodel.js"), exports);
|
|
31
32
|
__exportStar(require("./agentvoicevarname.js"), exports);
|
|
33
|
+
__exportStar(require("./agentwaitsound.js"), exports);
|
|
32
34
|
__exportStar(require("./availabletarget.js"), exports);
|
|
33
35
|
__exportStar(require("./availabletargetproperties.js"), exports);
|
|
34
36
|
__exportStar(require("./channel.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,yDAAuC;AACvC,6DAA2C;AAC3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C;AACxC,8DAA4C;AAC5C,yDAAuC;AACvC,gEAA8C;AAC9C,8DAA4C;AAC5C,mDAAiC;AACjC,oEAAkD;AAClD,2DAAyC;AACzC,+DAA6C;AAC7C,mDAAiC;AACjC,mDAAiC;AACjC,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,yDAAuC;AACvC,sDAAoC;AACpC,0DAAwC;AACxC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,uEAAqD;AACrD,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC;AACtC,yDAAuC;AACvC,6DAA2C;AAC3C,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,iEAA+C;AAC/C,+CAA6B;AAC7B,yDAAuC;AACvC,uDAAqC;AACrC,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;AAChD,oDAAkC;AAClC,8DAA4C;AAC5C,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,yDAAuC;AACvC,kEAAgD;AAChD,iDAA+B;AAC/B,2DAAyC;AACzC,yDAAuC;AACvC,8DAA4C;AAC5C,+DAA6C;AAC7C,gEAA8C;AAC9C,kEAAgD;AAChD,4DAA0C;AAC1C,+DAA6C;AAC7C,iDAA+B;AAC/B,6CAA2B;AAC3B,uDAAqC;AACrC,6DAA2C;AAC3C,wDAAsC;AACtC,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C;AAC3C,iEAA+C;AAC/C,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,8DAA4C;AAC5C,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAC/C,mEAAiD;AACjD,2DAAyC;AACzC,yEAAuD;AACvD,gEAA8C;AAC9C,yEAAuD;AACvD,qEAAmD;AACnD,8EAA4D;AAC5D,yDAAuC;AACvC,qEAAmD;AACnD,yEAAuD;AACvD,yEAAuD;AACvD,kEAAgD;AAChD,mEAAiD;AACjD,2DAAyC;AACzC,gEAA8C;AAC9C,gEAA8C;AAC9C,wDAAsC;AACtC,2DAAyC;AACzC,qDAAmC;AACnC,uDAAqC;AACrC,yDAAuC;AACvC,wDAAsC;AACtC,sDAAoC;AACpC,2DAAyC;AACzC,gDAA8B;AAC9B,4DAA0C;AAC1C,yDAAuC;AACvC,uDAAqC;AACrC,4DAA0C;AAC1C,+CAA6B;AAC7B,qDAAmC;AACnC,oDAAkC;AAClC,0DAAwC;AACxC,8DAA4C;AAC5C,yDAAuC;AACvC,gEAA8C;AAC9C,8DAA4C;AAC5C,mDAAiC;AACjC,oEAAkD;AAClD,2DAAyC;AACzC,+DAA6C;AAC7C,mDAAiC;AACjC,mDAAiC;AACjC,2DAAyC;AACzC,qDAAmC;AACnC,4DAA0C;AAC1C,yDAAuC;AACvC,sDAAoC;AACpC,0DAAwC;AACxC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,uEAAqD;AACrD,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC"}
|
|
@@ -25,7 +25,7 @@ export type PromptCreateRequest = {
|
|
|
25
25
|
tools?: Array<string> | undefined;
|
|
26
26
|
llmConfig: PromptLlmConfig;
|
|
27
27
|
/**
|
|
28
|
-
* Whether to include the default tools (`
|
|
28
|
+
* 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.
|
|
29
29
|
*/
|
|
30
30
|
includeDefaultTools?: boolean | undefined;
|
|
31
31
|
};
|
|
@@ -33,7 +33,7 @@ export type PromptUpdateRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
editComments?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Whether to include the default tools (`
|
|
36
|
+
* 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.
|
|
37
37
|
*/
|
|
38
38
|
includeDefaultTools?: boolean | undefined;
|
|
39
39
|
};
|
package/openapi.json
CHANGED
|
@@ -7317,8 +7317,40 @@
|
|
|
7317
7317
|
"agent_initiated": {
|
|
7318
7318
|
"type": "boolean",
|
|
7319
7319
|
"title": "Agent Initiated",
|
|
7320
|
-
"description": "Whether the agent initiates conversation with a user after the
|
|
7320
|
+
"description": "Whether the agent initiates conversation with a user after the custom message is delivered",
|
|
7321
7321
|
"default": false
|
|
7322
|
+
},
|
|
7323
|
+
"stt_provider": {
|
|
7324
|
+
"anyOf": [
|
|
7325
|
+
{
|
|
7326
|
+
"$ref": "#/components/schemas/AgentSttProvider"
|
|
7327
|
+
},
|
|
7328
|
+
{
|
|
7329
|
+
"type": "null"
|
|
7330
|
+
}
|
|
7331
|
+
],
|
|
7332
|
+
"description": "Speech-to-text provider for the agent.",
|
|
7333
|
+
"examples": [
|
|
7334
|
+
"Google STT V1",
|
|
7335
|
+
"Google STT V2",
|
|
7336
|
+
"Deepgram Nova 2"
|
|
7337
|
+
]
|
|
7338
|
+
},
|
|
7339
|
+
"wait_sound": {
|
|
7340
|
+
"anyOf": [
|
|
7341
|
+
{
|
|
7342
|
+
"$ref": "#/components/schemas/AgentWaitSound"
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
"type": "null"
|
|
7346
|
+
}
|
|
7347
|
+
],
|
|
7348
|
+
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7349
|
+
"examples": [
|
|
7350
|
+
"Keyboard 1",
|
|
7351
|
+
"Keyboard 2",
|
|
7352
|
+
"Call Center"
|
|
7353
|
+
]
|
|
7322
7354
|
}
|
|
7323
7355
|
},
|
|
7324
7356
|
"type": "object",
|
|
@@ -7503,6 +7535,40 @@
|
|
|
7503
7535
|
"description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
|
|
7504
7536
|
"default": false
|
|
7505
7537
|
},
|
|
7538
|
+
"stt_provider": {
|
|
7539
|
+
"anyOf": [
|
|
7540
|
+
{
|
|
7541
|
+
"type": "string"
|
|
7542
|
+
},
|
|
7543
|
+
{
|
|
7544
|
+
"type": "null"
|
|
7545
|
+
}
|
|
7546
|
+
],
|
|
7547
|
+
"title": "Stt Provider",
|
|
7548
|
+
"description": "Speech-to-text provider for the agent.",
|
|
7549
|
+
"examples": [
|
|
7550
|
+
"Google STT V1",
|
|
7551
|
+
"Google STT V2",
|
|
7552
|
+
"Deepgram Nova 2"
|
|
7553
|
+
]
|
|
7554
|
+
},
|
|
7555
|
+
"wait_sound": {
|
|
7556
|
+
"anyOf": [
|
|
7557
|
+
{
|
|
7558
|
+
"type": "string"
|
|
7559
|
+
},
|
|
7560
|
+
{
|
|
7561
|
+
"type": "null"
|
|
7562
|
+
}
|
|
7563
|
+
],
|
|
7564
|
+
"title": "Wait Sound",
|
|
7565
|
+
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7566
|
+
"examples": [
|
|
7567
|
+
"Keyboard 1",
|
|
7568
|
+
"Keyboard 2",
|
|
7569
|
+
"Call Center"
|
|
7570
|
+
]
|
|
7571
|
+
},
|
|
7506
7572
|
"id": {
|
|
7507
7573
|
"type": "integer",
|
|
7508
7574
|
"title": "Id",
|
|
@@ -7606,6 +7672,16 @@
|
|
|
7606
7672
|
"title": "AgentResponse",
|
|
7607
7673
|
"description": "When a user interacts with the Syllable system, they do so by communicating with an agent.\nAn agent is linked to a prompt, a custom message, and one or more channel targets to define its\nbehavior and capabilities."
|
|
7608
7674
|
},
|
|
7675
|
+
"AgentSttProvider": {
|
|
7676
|
+
"type": "string",
|
|
7677
|
+
"enum": [
|
|
7678
|
+
"Google STT V1",
|
|
7679
|
+
"Google STT V2",
|
|
7680
|
+
"Deepgram Nova 2"
|
|
7681
|
+
],
|
|
7682
|
+
"title": "AgentSttProvider",
|
|
7683
|
+
"description": "Speech-to-text providers supported by agents."
|
|
7684
|
+
},
|
|
7609
7685
|
"AgentToolDefaults": {
|
|
7610
7686
|
"properties": {
|
|
7611
7687
|
"tool_name": {
|
|
@@ -7769,9 +7845,41 @@
|
|
|
7769
7845
|
"agent_initiated": {
|
|
7770
7846
|
"type": "boolean",
|
|
7771
7847
|
"title": "Agent Initiated",
|
|
7772
|
-
"description": "Whether the agent initiates conversation with a user after the
|
|
7848
|
+
"description": "Whether the agent initiates conversation with a user after the custom message is delivered",
|
|
7773
7849
|
"default": false
|
|
7774
7850
|
},
|
|
7851
|
+
"stt_provider": {
|
|
7852
|
+
"anyOf": [
|
|
7853
|
+
{
|
|
7854
|
+
"$ref": "#/components/schemas/AgentSttProvider"
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
"type": "null"
|
|
7858
|
+
}
|
|
7859
|
+
],
|
|
7860
|
+
"description": "Speech-to-text provider for the agent.",
|
|
7861
|
+
"examples": [
|
|
7862
|
+
"Google STT V1",
|
|
7863
|
+
"Google STT V2",
|
|
7864
|
+
"Deepgram Nova 2"
|
|
7865
|
+
]
|
|
7866
|
+
},
|
|
7867
|
+
"wait_sound": {
|
|
7868
|
+
"anyOf": [
|
|
7869
|
+
{
|
|
7870
|
+
"$ref": "#/components/schemas/AgentWaitSound"
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
7873
|
+
"type": "null"
|
|
7874
|
+
}
|
|
7875
|
+
],
|
|
7876
|
+
"description": "Sound to play while waiting for a response from the LLM.",
|
|
7877
|
+
"examples": [
|
|
7878
|
+
"Keyboard 1",
|
|
7879
|
+
"Keyboard 2",
|
|
7880
|
+
"Call Center"
|
|
7881
|
+
]
|
|
7882
|
+
},
|
|
7775
7883
|
"id": {
|
|
7776
7884
|
"type": "integer",
|
|
7777
7885
|
"title": "Id",
|
|
@@ -7966,6 +8074,16 @@
|
|
|
7966
8074
|
"title": "AgentVoiceVarName",
|
|
7967
8075
|
"description": "The variable name of an agent voice (used when procesing messages)."
|
|
7968
8076
|
},
|
|
8077
|
+
"AgentWaitSound": {
|
|
8078
|
+
"type": "string",
|
|
8079
|
+
"enum": [
|
|
8080
|
+
"Keyboard 1",
|
|
8081
|
+
"Keyboard 2",
|
|
8082
|
+
"Call Center"
|
|
8083
|
+
],
|
|
8084
|
+
"title": "AgentWaitSound",
|
|
8085
|
+
"description": "Wait sounds supported by agents."
|
|
8086
|
+
},
|
|
7969
8087
|
"AvailableTarget": {
|
|
7970
8088
|
"properties": {
|
|
7971
8089
|
"organization_id": {
|
|
@@ -11695,7 +11813,7 @@
|
|
|
11695
11813
|
"include_default_tools": {
|
|
11696
11814
|
"type": "boolean",
|
|
11697
11815
|
"title": "Include Default Tools",
|
|
11698
|
-
"description": "Whether to include the default tools (`
|
|
11816
|
+
"description": "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.",
|
|
11699
11817
|
"default": true
|
|
11700
11818
|
}
|
|
11701
11819
|
},
|
|
@@ -12048,7 +12166,7 @@
|
|
|
12048
12166
|
"include_default_tools": {
|
|
12049
12167
|
"type": "boolean",
|
|
12050
12168
|
"title": "Include Default Tools",
|
|
12051
|
-
"description": "Whether to include the default tools (`
|
|
12169
|
+
"description": "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.",
|
|
12052
12170
|
"default": true
|
|
12053
12171
|
}
|
|
12054
12172
|
},
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.51",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.51 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -7,12 +7,22 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AgentSttProvider,
|
|
12
|
+
AgentSttProvider$inboundSchema,
|
|
13
|
+
AgentSttProvider$outboundSchema,
|
|
14
|
+
} from "./agentsttprovider.js";
|
|
10
15
|
import {
|
|
11
16
|
AgentToolDefaults,
|
|
12
17
|
AgentToolDefaults$inboundSchema,
|
|
13
18
|
AgentToolDefaults$Outbound,
|
|
14
19
|
AgentToolDefaults$outboundSchema,
|
|
15
20
|
} from "./agenttooldefaults.js";
|
|
21
|
+
import {
|
|
22
|
+
AgentWaitSound,
|
|
23
|
+
AgentWaitSound$inboundSchema,
|
|
24
|
+
AgentWaitSound$outboundSchema,
|
|
25
|
+
} from "./agentwaitsound.js";
|
|
16
26
|
|
|
17
27
|
export type AgentCreate = {
|
|
18
28
|
/**
|
|
@@ -66,9 +76,17 @@ export type AgentCreate = {
|
|
|
66
76
|
*/
|
|
67
77
|
toolHeaders: { [k: string]: string } | null;
|
|
68
78
|
/**
|
|
69
|
-
* Whether the agent initiates conversation with a user after the
|
|
79
|
+
* Whether the agent initiates conversation with a user after the custom message is delivered
|
|
70
80
|
*/
|
|
71
81
|
agentInitiated?: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Speech-to-text provider for the agent.
|
|
84
|
+
*/
|
|
85
|
+
sttProvider?: AgentSttProvider | null | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Sound to play while waiting for a response from the LLM.
|
|
88
|
+
*/
|
|
89
|
+
waitSound?: AgentWaitSound | null | undefined;
|
|
72
90
|
};
|
|
73
91
|
|
|
74
92
|
/** @internal */
|
|
@@ -90,6 +108,8 @@ export const AgentCreate$inboundSchema: z.ZodType<
|
|
|
90
108
|
variables: z.record(z.string()),
|
|
91
109
|
tool_headers: z.nullable(z.record(z.string())),
|
|
92
110
|
agent_initiated: z.boolean().default(false),
|
|
111
|
+
stt_provider: z.nullable(AgentSttProvider$inboundSchema).optional(),
|
|
112
|
+
wait_sound: z.nullable(AgentWaitSound$inboundSchema).optional(),
|
|
93
113
|
}).transform((v) => {
|
|
94
114
|
return remap$(v, {
|
|
95
115
|
"prompt_id": "promptId",
|
|
@@ -98,6 +118,8 @@ export const AgentCreate$inboundSchema: z.ZodType<
|
|
|
98
118
|
"prompt_tool_defaults": "promptToolDefaults",
|
|
99
119
|
"tool_headers": "toolHeaders",
|
|
100
120
|
"agent_initiated": "agentInitiated",
|
|
121
|
+
"stt_provider": "sttProvider",
|
|
122
|
+
"wait_sound": "waitSound",
|
|
101
123
|
});
|
|
102
124
|
});
|
|
103
125
|
|
|
@@ -116,6 +138,8 @@ export type AgentCreate$Outbound = {
|
|
|
116
138
|
variables: { [k: string]: string };
|
|
117
139
|
tool_headers: { [k: string]: string } | null;
|
|
118
140
|
agent_initiated: boolean;
|
|
141
|
+
stt_provider?: string | null | undefined;
|
|
142
|
+
wait_sound?: string | null | undefined;
|
|
119
143
|
};
|
|
120
144
|
|
|
121
145
|
/** @internal */
|
|
@@ -137,6 +161,8 @@ export const AgentCreate$outboundSchema: z.ZodType<
|
|
|
137
161
|
variables: z.record(z.string()),
|
|
138
162
|
toolHeaders: z.nullable(z.record(z.string())),
|
|
139
163
|
agentInitiated: z.boolean().default(false),
|
|
164
|
+
sttProvider: z.nullable(AgentSttProvider$outboundSchema).optional(),
|
|
165
|
+
waitSound: z.nullable(AgentWaitSound$outboundSchema).optional(),
|
|
140
166
|
}).transform((v) => {
|
|
141
167
|
return remap$(v, {
|
|
142
168
|
promptId: "prompt_id",
|
|
@@ -145,6 +171,8 @@ export const AgentCreate$outboundSchema: z.ZodType<
|
|
|
145
171
|
promptToolDefaults: "prompt_tool_defaults",
|
|
146
172
|
toolHeaders: "tool_headers",
|
|
147
173
|
agentInitiated: "agent_initiated",
|
|
174
|
+
sttProvider: "stt_provider",
|
|
175
|
+
waitSound: "wait_sound",
|
|
148
176
|
});
|
|
149
177
|
});
|
|
150
178
|
|
|
@@ -106,6 +106,14 @@ export type AgentResponse = {
|
|
|
106
106
|
* Whether the agent initiates conversation with a user after the custom_message is delivered
|
|
107
107
|
*/
|
|
108
108
|
agentInitiated?: boolean | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Speech-to-text provider for the agent.
|
|
111
|
+
*/
|
|
112
|
+
sttProvider?: string | null | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Sound to play while waiting for a response from the LLM.
|
|
115
|
+
*/
|
|
116
|
+
waitSound?: string | null | undefined;
|
|
109
117
|
/**
|
|
110
118
|
* The agent ID
|
|
111
119
|
*/
|
|
@@ -159,6 +167,8 @@ export const AgentResponse$inboundSchema: z.ZodType<
|
|
|
159
167
|
variables: z.record(z.string()),
|
|
160
168
|
tool_headers: z.nullable(z.record(z.string())),
|
|
161
169
|
agent_initiated: z.boolean().default(false),
|
|
170
|
+
stt_provider: z.nullable(z.string()).optional(),
|
|
171
|
+
wait_sound: z.nullable(z.string()).optional(),
|
|
162
172
|
id: z.number().int(),
|
|
163
173
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
164
174
|
last_updated_by: z.nullable(z.string()),
|
|
@@ -177,6 +187,8 @@ export const AgentResponse$inboundSchema: z.ZodType<
|
|
|
177
187
|
"prompt_tool_defaults": "promptToolDefaults",
|
|
178
188
|
"tool_headers": "toolHeaders",
|
|
179
189
|
"agent_initiated": "agentInitiated",
|
|
190
|
+
"stt_provider": "sttProvider",
|
|
191
|
+
"wait_sound": "waitSound",
|
|
180
192
|
"updated_at": "updatedAt",
|
|
181
193
|
"last_updated_by": "lastUpdatedBy",
|
|
182
194
|
"custom_message": "customMessage",
|
|
@@ -200,6 +212,8 @@ export type AgentResponse$Outbound = {
|
|
|
200
212
|
variables: { [k: string]: string };
|
|
201
213
|
tool_headers: { [k: string]: string } | null;
|
|
202
214
|
agent_initiated: boolean;
|
|
215
|
+
stt_provider?: string | null | undefined;
|
|
216
|
+
wait_sound?: string | null | undefined;
|
|
203
217
|
id: number;
|
|
204
218
|
updated_at: string;
|
|
205
219
|
last_updated_by: string | null;
|
|
@@ -229,6 +243,8 @@ export const AgentResponse$outboundSchema: z.ZodType<
|
|
|
229
243
|
variables: z.record(z.string()),
|
|
230
244
|
toolHeaders: z.nullable(z.record(z.string())),
|
|
231
245
|
agentInitiated: z.boolean().default(false),
|
|
246
|
+
sttProvider: z.nullable(z.string()).optional(),
|
|
247
|
+
waitSound: z.nullable(z.string()).optional(),
|
|
232
248
|
id: z.number().int(),
|
|
233
249
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
234
250
|
lastUpdatedBy: z.nullable(z.string()),
|
|
@@ -247,6 +263,8 @@ export const AgentResponse$outboundSchema: z.ZodType<
|
|
|
247
263
|
promptToolDefaults: "prompt_tool_defaults",
|
|
248
264
|
toolHeaders: "tool_headers",
|
|
249
265
|
agentInitiated: "agent_initiated",
|
|
266
|
+
sttProvider: "stt_provider",
|
|
267
|
+
waitSound: "wait_sound",
|
|
250
268
|
updatedAt: "updated_at",
|
|
251
269
|
lastUpdatedBy: "last_updated_by",
|
|
252
270
|
customMessage: "custom_message",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Speech-to-text providers supported by agents.
|
|
10
|
+
*/
|
|
11
|
+
export const AgentSttProvider = {
|
|
12
|
+
GoogleSTTV1: "Google STT V1",
|
|
13
|
+
GoogleSTTV2: "Google STT V2",
|
|
14
|
+
DeepgramNova2: "Deepgram Nova 2",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* Speech-to-text providers supported by agents.
|
|
18
|
+
*/
|
|
19
|
+
export type AgentSttProvider = ClosedEnum<typeof AgentSttProvider>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AgentSttProvider$inboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof AgentSttProvider
|
|
24
|
+
> = z.nativeEnum(AgentSttProvider);
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const AgentSttProvider$outboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof AgentSttProvider
|
|
29
|
+
> = AgentSttProvider$inboundSchema;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export namespace AgentSttProvider$ {
|
|
36
|
+
/** @deprecated use `AgentSttProvider$inboundSchema` instead. */
|
|
37
|
+
export const inboundSchema = AgentSttProvider$inboundSchema;
|
|
38
|
+
/** @deprecated use `AgentSttProvider$outboundSchema` instead. */
|
|
39
|
+
export const outboundSchema = AgentSttProvider$outboundSchema;
|
|
40
|
+
}
|
|
@@ -7,12 +7,22 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AgentSttProvider,
|
|
12
|
+
AgentSttProvider$inboundSchema,
|
|
13
|
+
AgentSttProvider$outboundSchema,
|
|
14
|
+
} from "./agentsttprovider.js";
|
|
10
15
|
import {
|
|
11
16
|
AgentToolDefaults,
|
|
12
17
|
AgentToolDefaults$inboundSchema,
|
|
13
18
|
AgentToolDefaults$Outbound,
|
|
14
19
|
AgentToolDefaults$outboundSchema,
|
|
15
20
|
} from "./agenttooldefaults.js";
|
|
21
|
+
import {
|
|
22
|
+
AgentWaitSound,
|
|
23
|
+
AgentWaitSound$inboundSchema,
|
|
24
|
+
AgentWaitSound$outboundSchema,
|
|
25
|
+
} from "./agentwaitsound.js";
|
|
16
26
|
|
|
17
27
|
export type AgentUpdate = {
|
|
18
28
|
/**
|
|
@@ -66,9 +76,17 @@ export type AgentUpdate = {
|
|
|
66
76
|
*/
|
|
67
77
|
toolHeaders: { [k: string]: string } | null;
|
|
68
78
|
/**
|
|
69
|
-
* Whether the agent initiates conversation with a user after the
|
|
79
|
+
* Whether the agent initiates conversation with a user after the custom message is delivered
|
|
70
80
|
*/
|
|
71
81
|
agentInitiated?: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Speech-to-text provider for the agent.
|
|
84
|
+
*/
|
|
85
|
+
sttProvider?: AgentSttProvider | null | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Sound to play while waiting for a response from the LLM.
|
|
88
|
+
*/
|
|
89
|
+
waitSound?: AgentWaitSound | null | undefined;
|
|
72
90
|
/**
|
|
73
91
|
* The agent ID
|
|
74
92
|
*/
|
|
@@ -94,6 +112,8 @@ export const AgentUpdate$inboundSchema: z.ZodType<
|
|
|
94
112
|
variables: z.record(z.string()),
|
|
95
113
|
tool_headers: z.nullable(z.record(z.string())),
|
|
96
114
|
agent_initiated: z.boolean().default(false),
|
|
115
|
+
stt_provider: z.nullable(AgentSttProvider$inboundSchema).optional(),
|
|
116
|
+
wait_sound: z.nullable(AgentWaitSound$inboundSchema).optional(),
|
|
97
117
|
id: z.number().int(),
|
|
98
118
|
}).transform((v) => {
|
|
99
119
|
return remap$(v, {
|
|
@@ -103,6 +123,8 @@ export const AgentUpdate$inboundSchema: z.ZodType<
|
|
|
103
123
|
"prompt_tool_defaults": "promptToolDefaults",
|
|
104
124
|
"tool_headers": "toolHeaders",
|
|
105
125
|
"agent_initiated": "agentInitiated",
|
|
126
|
+
"stt_provider": "sttProvider",
|
|
127
|
+
"wait_sound": "waitSound",
|
|
106
128
|
});
|
|
107
129
|
});
|
|
108
130
|
|
|
@@ -121,6 +143,8 @@ export type AgentUpdate$Outbound = {
|
|
|
121
143
|
variables: { [k: string]: string };
|
|
122
144
|
tool_headers: { [k: string]: string } | null;
|
|
123
145
|
agent_initiated: boolean;
|
|
146
|
+
stt_provider?: string | null | undefined;
|
|
147
|
+
wait_sound?: string | null | undefined;
|
|
124
148
|
id: number;
|
|
125
149
|
};
|
|
126
150
|
|
|
@@ -143,6 +167,8 @@ export const AgentUpdate$outboundSchema: z.ZodType<
|
|
|
143
167
|
variables: z.record(z.string()),
|
|
144
168
|
toolHeaders: z.nullable(z.record(z.string())),
|
|
145
169
|
agentInitiated: z.boolean().default(false),
|
|
170
|
+
sttProvider: z.nullable(AgentSttProvider$outboundSchema).optional(),
|
|
171
|
+
waitSound: z.nullable(AgentWaitSound$outboundSchema).optional(),
|
|
146
172
|
id: z.number().int(),
|
|
147
173
|
}).transform((v) => {
|
|
148
174
|
return remap$(v, {
|
|
@@ -152,6 +178,8 @@ export const AgentUpdate$outboundSchema: z.ZodType<
|
|
|
152
178
|
promptToolDefaults: "prompt_tool_defaults",
|
|
153
179
|
toolHeaders: "tool_headers",
|
|
154
180
|
agentInitiated: "agent_initiated",
|
|
181
|
+
sttProvider: "stt_provider",
|
|
182
|
+
waitSound: "wait_sound",
|
|
155
183
|
});
|
|
156
184
|
});
|
|
157
185
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Wait sounds supported by agents.
|
|
10
|
+
*/
|
|
11
|
+
export const AgentWaitSound = {
|
|
12
|
+
Keyboard1: "Keyboard 1",
|
|
13
|
+
Keyboard2: "Keyboard 2",
|
|
14
|
+
CallCenter: "Call Center",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* Wait sounds supported by agents.
|
|
18
|
+
*/
|
|
19
|
+
export type AgentWaitSound = ClosedEnum<typeof AgentWaitSound>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const AgentWaitSound$inboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof AgentWaitSound
|
|
24
|
+
> = z.nativeEnum(AgentWaitSound);
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const AgentWaitSound$outboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof AgentWaitSound
|
|
29
|
+
> = AgentWaitSound$inboundSchema;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export namespace AgentWaitSound$ {
|
|
36
|
+
/** @deprecated use `AgentWaitSound$inboundSchema` instead. */
|
|
37
|
+
export const inboundSchema = AgentWaitSound$inboundSchema;
|
|
38
|
+
/** @deprecated use `AgentWaitSound$outboundSchema` instead. */
|
|
39
|
+
export const outboundSchema = AgentWaitSound$outboundSchema;
|
|
40
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./agentcreate.js";
|
|
|
6
6
|
export * from "./agentlanguage.js";
|
|
7
7
|
export * from "./agentproperties.js";
|
|
8
8
|
export * from "./agentresponse.js";
|
|
9
|
+
export * from "./agentsttprovider.js";
|
|
9
10
|
export * from "./agenttooldefaults.js";
|
|
10
11
|
export * from "./agenttoolfielddefault.js";
|
|
11
12
|
export * from "./agentupdate.js";
|
|
@@ -14,6 +15,7 @@ export * from "./agentvoicedisplayname.js";
|
|
|
14
15
|
export * from "./agentvoicegender.js";
|
|
15
16
|
export * from "./agentvoicemodel.js";
|
|
16
17
|
export * from "./agentvoicevarname.js";
|
|
18
|
+
export * from "./agentwaitsound.js";
|
|
17
19
|
export * from "./availabletarget.js";
|
|
18
20
|
export * from "./availabletargetproperties.js";
|
|
19
21
|
export * from "./channel.js";
|
|
@@ -37,7 +37,7 @@ export type PromptCreateRequest = {
|
|
|
37
37
|
tools?: Array<string> | undefined;
|
|
38
38
|
llmConfig: PromptLlmConfig;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to include the default tools (`
|
|
40
|
+
* 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.
|
|
41
41
|
*/
|
|
42
42
|
includeDefaultTools?: boolean | undefined;
|
|
43
43
|
};
|
|
@@ -45,7 +45,7 @@ export type PromptUpdateRequest = {
|
|
|
45
45
|
*/
|
|
46
46
|
editComments?: string | null | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* Whether to include the default tools (`
|
|
48
|
+
* 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.
|
|
49
49
|
*/
|
|
50
50
|
includeDefaultTools?: boolean | undefined;
|
|
51
51
|
};
|