syllable-sdk 0.1.0-alpha.149 → 0.1.0-alpha.151

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.
@@ -125,9 +125,9 @@ const syllableSDK = new SyllableSDK({
125
125
 
126
126
  async function run() {
127
127
  const result = await syllableSDK.outbound.batches.create({
128
- batchId: "20250514.9",
128
+ batchId: "20250515.9",
129
129
  campaignId: 1,
130
- expiresOn: new Date("2025-05-15T00:00:00Z"),
130
+ expiresOn: new Date("2025-05-16T00:00:00Z"),
131
131
  paused: true,
132
132
  });
133
133
 
@@ -154,9 +154,9 @@ const syllableSDK = new SyllableSDKCore({
154
154
 
155
155
  async function run() {
156
156
  const res = await outboundBatchesCreate(syllableSDK, {
157
- batchId: "20250514.9",
157
+ batchId: "20250515.9",
158
158
  campaignId: 1,
159
- expiresOn: new Date("2025-05-15T00:00:00Z"),
159
+ expiresOn: new Date("2025-05-16T00:00:00Z"),
160
160
  paused: true,
161
161
  });
162
162
 
@@ -618,7 +618,7 @@ async function run() {
618
618
  batchId: "<id>",
619
619
  communicationRequest: {
620
620
  referenceId: "12345",
621
- target: "user@email.com",
621
+ target: "+15125551234",
622
622
  requestVariables: {},
623
623
  },
624
624
  });
@@ -649,7 +649,7 @@ async function run() {
649
649
  batchId: "<id>",
650
650
  communicationRequest: {
651
651
  referenceId: "12345",
652
- target: "user@email.com",
652
+ target: "+15125551234",
653
653
  requestVariables: {},
654
654
  },
655
655
  });
@@ -131,8 +131,8 @@ async function run() {
131
131
  1,
132
132
  ],
133
133
  conditions: {},
134
- startDatetime: new Date("2025-05-13T00:00:00Z"),
135
- endDatetime: new Date("2025-05-14T00:00:00Z"),
134
+ startDatetime: new Date("2025-05-14T00:00:00Z"),
135
+ endDatetime: new Date("2025-05-15T00:00:00Z"),
136
136
  });
137
137
 
138
138
  // Handle the result
@@ -165,8 +165,8 @@ async function run() {
165
165
  1,
166
166
  ],
167
167
  conditions: {},
168
- startDatetime: new Date("2025-05-13T00:00:00Z"),
169
- endDatetime: new Date("2025-05-14T00:00:00Z"),
168
+ startDatetime: new Date("2025-05-14T00:00:00Z"),
169
+ endDatetime: new Date("2025-05-15T00:00:00Z"),
170
170
  });
171
171
 
172
172
  if (!res.ok) {
@@ -303,8 +303,8 @@ async function run() {
303
303
  1,
304
304
  ],
305
305
  conditions: {},
306
- startDatetime: new Date("2025-05-13T00:00:00Z"),
307
- endDatetime: new Date("2025-05-14T00:00:00Z"),
306
+ startDatetime: new Date("2025-05-14T00:00:00Z"),
307
+ endDatetime: new Date("2025-05-15T00:00:00Z"),
308
308
  },
309
309
  });
310
310
 
@@ -340,8 +340,8 @@ async function run() {
340
340
  1,
341
341
  ],
342
342
  conditions: {},
343
- startDatetime: new Date("2025-05-13T00:00:00Z"),
344
- endDatetime: new Date("2025-05-14T00:00:00Z"),
343
+ startDatetime: new Date("2025-05-14T00:00:00Z"),
344
+ endDatetime: new Date("2025-05-15T00:00:00Z"),
345
345
  },
346
346
  });
347
347
 
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "syllable-sdk",
5
- "version": "0.1.0-alpha.149",
5
+ "version": "0.1.0-alpha.151",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "0.0.2";
30
- readonly sdkVersion: "0.1.0-alpha.149";
30
+ readonly sdkVersion: "0.1.0-alpha.151";
31
31
  readonly genVersion: "2.512.4";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.149 2.512.4 0.0.2 syllable-sdk";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.151 2.512.4 0.0.2 syllable-sdk";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
31
31
  exports.SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "0.0.2",
34
- sdkVersion: "0.1.0-alpha.149",
34
+ sdkVersion: "0.1.0-alpha.151",
35
35
  genVersion: "2.512.4",
36
- userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.149 2.512.4 0.0.2 syllable-sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.151 2.512.4 0.0.2 syllable-sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -20,7 +20,7 @@ export type AgentVoice = {
20
20
  */
21
21
  displayName: AgentVoiceDisplayName;
22
22
  /**
23
- * The variable name of an agent voice (used when procesing messages).
23
+ * The variable name of an agent voice (used when processing messages).
24
24
  */
25
25
  varName: AgentVoiceVarName;
26
26
  /**
@@ -15,15 +15,23 @@ export declare const AgentVoiceDisplayName: {
15
15
  readonly Charlotte: "Charlotte";
16
16
  readonly Chris: "Chris";
17
17
  readonly Clara: "Clara";
18
+ readonly CmnTWWavenetA: "cmn-TW-Wavenet-A";
18
19
  readonly Coral: "Coral";
19
20
  readonly Daniel: "Daniel";
20
21
  readonly Echo: "Echo";
22
+ readonly EnUSNeural2D: "en-US-Neural2-D";
23
+ readonly EnUSNeural2F: "en-US-Neural2-F";
24
+ readonly EnUSNeural2J: "en-US-Neural2-J";
25
+ readonly EnUSStudioO: "en-US-Studio-O";
21
26
  readonly Eric: "Eric";
27
+ readonly EsUSNeural2A: "es-US-Neural2-A";
28
+ readonly EsUSNeural2B: "es-US-Neural2-B";
22
29
  readonly Fable: "Fable";
23
30
  readonly George: "George";
24
31
  readonly Isabella: "Isabella";
25
32
  readonly Jerry: "Jerry";
26
33
  readonly Jessica: "Jessica";
34
+ readonly KoKRNeural2A: "ko-KR-Neural2-A";
27
35
  readonly Laura: "Laura";
28
36
  readonly Liam: "Liam";
29
37
  readonly Lily: "Lily";
@@ -41,7 +49,9 @@ export declare const AgentVoiceDisplayName: {
41
49
  readonly Shimmer: "Shimmer";
42
50
  readonly Sienna: "Sienna";
43
51
  readonly Tara: "Tara";
52
+ readonly ViVNNeural2A: "vi-VN-Neural2-A";
44
53
  readonly Will: "Will";
54
+ readonly YueHKStandardC: "yue-HK-Standard-C";
45
55
  };
46
56
  /**
47
57
  * Display names of voices that Syllable supports.
@@ -69,15 +79,23 @@ export declare namespace AgentVoiceDisplayName$ {
69
79
  readonly Charlotte: "Charlotte";
70
80
  readonly Chris: "Chris";
71
81
  readonly Clara: "Clara";
82
+ readonly CmnTWWavenetA: "cmn-TW-Wavenet-A";
72
83
  readonly Coral: "Coral";
73
84
  readonly Daniel: "Daniel";
74
85
  readonly Echo: "Echo";
86
+ readonly EnUSNeural2D: "en-US-Neural2-D";
87
+ readonly EnUSNeural2F: "en-US-Neural2-F";
88
+ readonly EnUSNeural2J: "en-US-Neural2-J";
89
+ readonly EnUSStudioO: "en-US-Studio-O";
75
90
  readonly Eric: "Eric";
91
+ readonly EsUSNeural2A: "es-US-Neural2-A";
92
+ readonly EsUSNeural2B: "es-US-Neural2-B";
76
93
  readonly Fable: "Fable";
77
94
  readonly George: "George";
78
95
  readonly Isabella: "Isabella";
79
96
  readonly Jerry: "Jerry";
80
97
  readonly Jessica: "Jessica";
98
+ readonly KoKRNeural2A: "ko-KR-Neural2-A";
81
99
  readonly Laura: "Laura";
82
100
  readonly Liam: "Liam";
83
101
  readonly Lily: "Lily";
@@ -95,7 +113,9 @@ export declare namespace AgentVoiceDisplayName$ {
95
113
  readonly Shimmer: "Shimmer";
96
114
  readonly Sienna: "Sienna";
97
115
  readonly Tara: "Tara";
116
+ readonly ViVNNeural2A: "vi-VN-Neural2-A";
98
117
  readonly Will: "Will";
118
+ readonly YueHKStandardC: "yue-HK-Standard-C";
99
119
  }>;
100
120
  /** @deprecated use `AgentVoiceDisplayName$outboundSchema` instead. */
101
121
  const outboundSchema: z.ZodNativeEnum<{
@@ -110,15 +130,23 @@ export declare namespace AgentVoiceDisplayName$ {
110
130
  readonly Charlotte: "Charlotte";
111
131
  readonly Chris: "Chris";
112
132
  readonly Clara: "Clara";
133
+ readonly CmnTWWavenetA: "cmn-TW-Wavenet-A";
113
134
  readonly Coral: "Coral";
114
135
  readonly Daniel: "Daniel";
115
136
  readonly Echo: "Echo";
137
+ readonly EnUSNeural2D: "en-US-Neural2-D";
138
+ readonly EnUSNeural2F: "en-US-Neural2-F";
139
+ readonly EnUSNeural2J: "en-US-Neural2-J";
140
+ readonly EnUSStudioO: "en-US-Studio-O";
116
141
  readonly Eric: "Eric";
142
+ readonly EsUSNeural2A: "es-US-Neural2-A";
143
+ readonly EsUSNeural2B: "es-US-Neural2-B";
117
144
  readonly Fable: "Fable";
118
145
  readonly George: "George";
119
146
  readonly Isabella: "Isabella";
120
147
  readonly Jerry: "Jerry";
121
148
  readonly Jessica: "Jessica";
149
+ readonly KoKRNeural2A: "ko-KR-Neural2-A";
122
150
  readonly Laura: "Laura";
123
151
  readonly Liam: "Liam";
124
152
  readonly Lily: "Lily";
@@ -136,7 +164,9 @@ export declare namespace AgentVoiceDisplayName$ {
136
164
  readonly Shimmer: "Shimmer";
137
165
  readonly Sienna: "Sienna";
138
166
  readonly Tara: "Tara";
167
+ readonly ViVNNeural2A: "vi-VN-Neural2-A";
139
168
  readonly Will: "Will";
169
+ readonly YueHKStandardC: "yue-HK-Standard-C";
140
170
  }>;
141
171
  }
142
172
  //# sourceMappingURL=agentvoicedisplayname.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agentvoicedisplayname.d.ts","sourceRoot":"","sources":["../../src/models/components/agentvoicedisplayname.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCxB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC;AAExC;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAuC,CAAC;CACpE"}
1
+ {"version":3,"file":"agentvoicedisplayname.d.ts","sourceRoot":"","sources":["../../src/models/components/agentvoicedisplayname.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC;AAExC;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAuC,CAAC;CACpE"}
@@ -43,15 +43,23 @@ exports.AgentVoiceDisplayName = {
43
43
  Charlotte: "Charlotte",
44
44
  Chris: "Chris",
45
45
  Clara: "Clara",
46
+ CmnTWWavenetA: "cmn-TW-Wavenet-A",
46
47
  Coral: "Coral",
47
48
  Daniel: "Daniel",
48
49
  Echo: "Echo",
50
+ EnUSNeural2D: "en-US-Neural2-D",
51
+ EnUSNeural2F: "en-US-Neural2-F",
52
+ EnUSNeural2J: "en-US-Neural2-J",
53
+ EnUSStudioO: "en-US-Studio-O",
49
54
  Eric: "Eric",
55
+ EsUSNeural2A: "es-US-Neural2-A",
56
+ EsUSNeural2B: "es-US-Neural2-B",
50
57
  Fable: "Fable",
51
58
  George: "George",
52
59
  Isabella: "Isabella",
53
60
  Jerry: "Jerry",
54
61
  Jessica: "Jessica",
62
+ KoKRNeural2A: "ko-KR-Neural2-A",
55
63
  Laura: "Laura",
56
64
  Liam: "Liam",
57
65
  Lily: "Lily",
@@ -69,7 +77,9 @@ exports.AgentVoiceDisplayName = {
69
77
  Shimmer: "Shimmer",
70
78
  Sienna: "Sienna",
71
79
  Tara: "Tara",
80
+ ViVNNeural2A: "vi-VN-Neural2-A",
72
81
  Will: "Will",
82
+ YueHKStandardC: "yue-HK-Standard-C",
73
83
  };
74
84
  /** @internal */
75
85
  exports.AgentVoiceDisplayName$inboundSchema = z.nativeEnum(exports.AgentVoiceDisplayName);
@@ -1 +1 @@
1
- {"version":3,"file":"agentvoicedisplayname.js","sourceRoot":"","sources":["../../src/models/components/agentvoicedisplayname.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,qBAAqB,GAAG;IACnC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC;AAExC;;;GAGG;AACH,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AACrE,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC"}
1
+ {"version":3,"file":"agentvoicedisplayname.js","sourceRoot":"","sources":["../../src/models/components/agentvoicedisplayname.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,qBAAqB,GAAG;IACnC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,kBAAkB;IACjC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,iBAAiB;IAC/B,YAAY,EAAE,iBAAiB;IAC/B,YAAY,EAAE,iBAAiB;IAC/B,WAAW,EAAE,gBAAgB;IAC7B,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,iBAAiB;IAC/B,YAAY,EAAE,iBAAiB;IAC/B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,iBAAiB;IAC/B,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,iBAAiB;IAC/B,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,mBAAmB;CAC3B,CAAC;AAMX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC;AAExC;;;GAGG;AACH,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AACrE,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC"}
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  /**
4
- * The variable name of an agent voice (used when procesing messages).
4
+ * The variable name of an agent voice (used when processing messages).
5
5
  */
6
6
  export declare const AgentVoiceVarName: {
7
7
  readonly OpenaiAlloy: "openai:alloy";
@@ -44,7 +44,7 @@ export declare const AgentVoiceVarName: {
44
44
  readonly WavenetFemaleViVNNeural2A: "wavenet:female/vi-VN-Neural2-A";
45
45
  };
46
46
  /**
47
- * The variable name of an agent voice (used when procesing messages).
47
+ * The variable name of an agent voice (used when processing messages).
48
48
  */
49
49
  export type AgentVoiceVarName = ClosedEnum<typeof AgentVoiceVarName>;
50
50
  /** @internal */
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.AgentVoiceVarName$ = exports.AgentVoiceVarName$outboundSchema = exports.AgentVoiceVarName$inboundSchema = exports.AgentVoiceVarName = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  /**
32
- * The variable name of an agent voice (used when procesing messages).
32
+ * The variable name of an agent voice (used when processing messages).
33
33
  */
34
34
  exports.AgentVoiceVarName = {
35
35
  OpenaiAlloy: "openai:alloy",
@@ -11,7 +11,7 @@ export type CommunicationRequest = {
11
11
  */
12
12
  referenceId: string;
13
13
  /**
14
- * Target phone number or email address
14
+ * Target phone number
15
15
  */
16
16
  target: string;
17
17
  /**
@@ -13,7 +13,7 @@ export type CommunicationRequestResult = {
13
13
  */
14
14
  referenceId: string;
15
15
  /**
16
- * Target phone number or email address
16
+ * Target phone number
17
17
  */
18
18
  target: string;
19
19
  /**
@@ -10,6 +10,7 @@ export declare const RequestStatus: {
10
10
  readonly Connected: "CONNECTED";
11
11
  readonly Failed: "FAILED";
12
12
  readonly Canceled: "CANCELED";
13
+ readonly Invalid: "INVALID";
13
14
  };
14
15
  /**
15
16
  * Status of a communication request.
@@ -32,6 +33,7 @@ export declare namespace RequestStatus$ {
32
33
  readonly Connected: "CONNECTED";
33
34
  readonly Failed: "FAILED";
34
35
  readonly Canceled: "CANCELED";
36
+ readonly Invalid: "INVALID";
35
37
  }>;
36
38
  /** @deprecated use `RequestStatus$outboundSchema` instead. */
37
39
  const outboundSchema: z.ZodNativeEnum<{
@@ -41,6 +43,7 @@ export declare namespace RequestStatus$ {
41
43
  readonly Connected: "CONNECTED";
42
44
  readonly Failed: "FAILED";
43
45
  readonly Canceled: "CANCELED";
46
+ readonly Invalid: "INVALID";
44
47
  }>;
45
48
  }
46
49
  //# sourceMappingURL=requeststatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"requeststatus.d.ts","sourceRoot":"","sources":["../../src/models/components/requeststatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAEhC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC;AAEhC;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa;;;;;;;MAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc;;;;;;;MAA+B,CAAC;CAC5D"}
1
+ {"version":3,"file":"requeststatus.d.ts","sourceRoot":"","sources":["../../src/models/components/requeststatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,aAAa,CACvD,OAAO,aAAa,CACS,CAAC;AAEhC,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,aAAa,CACS,CAAC;AAEhC;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa;;;;;;;;MAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc;;;;;;;;MAA+B,CAAC;CAC5D"}
@@ -38,6 +38,7 @@ exports.RequestStatus = {
38
38
  Connected: "CONNECTED",
39
39
  Failed: "FAILED",
40
40
  Canceled: "CANCELED",
41
+ Invalid: "INVALID",
41
42
  };
42
43
  /** @internal */
43
44
  exports.RequestStatus$inboundSchema = z.nativeEnum(exports.RequestStatus);
@@ -1 +1 @@
1
- {"version":3,"file":"requeststatus.js","sourceRoot":"","sources":["../../src/models/components/requeststatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAEhC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC;AAEhC;;;GAGG;AACH,IAAiB,cAAc,CAK9B;AALD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAC7D,CAAC,EALgB,cAAc,8BAAd,cAAc,QAK9B"}
1
+ {"version":3,"file":"requeststatus.js","sourceRoot":"","sources":["../../src/models/components/requeststatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAEhC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC;AAEhC;;;GAGG;AACH,IAAiB,cAAc,CAK9B;AALD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAC7D,CAAC,EALgB,cAAc,8BAAd,cAAc,QAK9B"}
package/openapi.json CHANGED
@@ -11274,14 +11274,14 @@
11274
11274
  "$ref": "#/components/schemas/TtsProvider",
11275
11275
  "description": "The provider for the voice",
11276
11276
  "examples": [
11277
- "Google"
11277
+ "OpenAI"
11278
11278
  ]
11279
11279
  },
11280
11280
  "display_name": {
11281
11281
  "$ref": "#/components/schemas/AgentVoiceDisplayName",
11282
11282
  "description": "The display name of the voice",
11283
11283
  "examples": [
11284
- "Alejandro"
11284
+ "Alloy"
11285
11285
  ]
11286
11286
  },
11287
11287
  "var_name": {
@@ -11289,7 +11289,7 @@
11289
11289
  "description": "The variable name of the voice (used when processing messages)",
11290
11290
  "deprecated": true,
11291
11291
  "examples": [
11292
- "wavenet:male/es-US-Neural2-B"
11292
+ "openai:alloy"
11293
11293
  ]
11294
11294
  },
11295
11295
  "gender": {
@@ -11303,7 +11303,7 @@
11303
11303
  "$ref": "#/components/schemas/AgentVoiceModel",
11304
11304
  "description": "The model of the voice",
11305
11305
  "examples": [
11306
- "WaveNet"
11306
+ "tts-1"
11307
11307
  ]
11308
11308
  },
11309
11309
  "supported_languages": {
@@ -11315,8 +11315,8 @@
11315
11315
  "description": "Languages supported by the voice",
11316
11316
  "examples": [
11317
11317
  {
11318
- "code": "es-US",
11319
- "name": "Spanish"
11318
+ "code": "en-US",
11319
+ "name": "English"
11320
11320
  }
11321
11321
  ]
11322
11322
  },
@@ -11356,15 +11356,23 @@
11356
11356
  "Charlotte",
11357
11357
  "Chris",
11358
11358
  "Clara",
11359
+ "cmn-TW-Wavenet-A",
11359
11360
  "Coral",
11360
11361
  "Daniel",
11361
11362
  "Echo",
11363
+ "en-US-Neural2-D",
11364
+ "en-US-Neural2-F",
11365
+ "en-US-Neural2-J",
11366
+ "en-US-Studio-O",
11362
11367
  "Eric",
11368
+ "es-US-Neural2-A",
11369
+ "es-US-Neural2-B",
11363
11370
  "Fable",
11364
11371
  "George",
11365
11372
  "Isabella",
11366
11373
  "Jerry",
11367
11374
  "Jessica",
11375
+ "ko-KR-Neural2-A",
11368
11376
  "Laura",
11369
11377
  "Liam",
11370
11378
  "Lily",
@@ -11382,7 +11390,9 @@
11382
11390
  "Shimmer",
11383
11391
  "Sienna",
11384
11392
  "Tara",
11385
- "Will"
11393
+ "vi-VN-Neural2-A",
11394
+ "Will",
11395
+ "yue-HK-Standard-C"
11386
11396
  ],
11387
11397
  "title": "AgentVoiceDisplayName",
11388
11398
  "description": "Display names of voices that Syllable supports."
@@ -11453,7 +11463,7 @@
11453
11463
  "wavenet:female/vi-VN-Neural2-A"
11454
11464
  ],
11455
11465
  "title": "AgentVoiceVarName",
11456
- "description": "The variable name of an agent voice (used when procesing messages)."
11466
+ "description": "The variable name of an agent voice (used when processing messages)."
11457
11467
  },
11458
11468
  "AgentWaitSound": {
11459
11469
  "type": "string",
@@ -11535,7 +11545,7 @@
11535
11545
  "title": "Batch Id",
11536
11546
  "description": "Unique ID for conversation batch",
11537
11547
  "examples": [
11538
- "20250514.9"
11548
+ "20250515.9"
11539
11549
  ]
11540
11550
  },
11541
11551
  "campaign_id": {
@@ -11559,7 +11569,7 @@
11559
11569
  "title": "Expires On",
11560
11570
  "description": "Timestamp of batch expiration",
11561
11571
  "examples": [
11562
- "2025-05-15T00:00:00Z"
11572
+ "2025-05-16T00:00:00Z"
11563
11573
  ]
11564
11574
  },
11565
11575
  "paused": {
@@ -11612,7 +11622,7 @@
11612
11622
  "title": "Created At",
11613
11623
  "description": "Timestamp of batch creation",
11614
11624
  "examples": [
11615
- "2025-05-14T00:00:00Z"
11625
+ "2025-05-15T00:00:00Z"
11616
11626
  ]
11617
11627
  },
11618
11628
  "deleted_at": {
@@ -11628,7 +11638,7 @@
11628
11638
  "title": "Deleted At",
11629
11639
  "description": "Timestamp of batch deletion",
11630
11640
  "examples": [
11631
- "2025-05-14T00:00:00Z"
11641
+ "2025-05-15T00:00:00Z"
11632
11642
  ]
11633
11643
  },
11634
11644
  "deleted_reason": {
@@ -11659,7 +11669,7 @@
11659
11669
  "title": "Last Updated At",
11660
11670
  "description": "Timestamp of last change to batch",
11661
11671
  "examples": [
11662
- "2025-05-14T00:00:00Z"
11672
+ "2025-05-15T00:00:00Z"
11663
11673
  ]
11664
11674
  },
11665
11675
  "last_updated_by": {
@@ -12174,7 +12184,7 @@
12174
12184
  "title": "Batch Id",
12175
12185
  "description": "Unique ID for conversation batch",
12176
12186
  "examples": [
12177
- "20250514.9"
12187
+ "20250515.9"
12178
12188
  ]
12179
12189
  },
12180
12190
  "campaign_id": {
@@ -12198,7 +12208,7 @@
12198
12208
  "title": "Expires On",
12199
12209
  "description": "Timestamp of batch expiration",
12200
12210
  "examples": [
12201
- "2025-05-15T00:00:00Z"
12211
+ "2025-05-16T00:00:00Z"
12202
12212
  ]
12203
12213
  },
12204
12214
  "paused": {
@@ -12251,7 +12261,7 @@
12251
12261
  "title": "Created At",
12252
12262
  "description": "Timestamp of batch creation",
12253
12263
  "examples": [
12254
- "2025-05-14T00:00:00Z"
12264
+ "2025-05-15T00:00:00Z"
12255
12265
  ]
12256
12266
  },
12257
12267
  "deleted_at": {
@@ -12267,7 +12277,7 @@
12267
12277
  "title": "Deleted At",
12268
12278
  "description": "Timestamp of batch deletion",
12269
12279
  "examples": [
12270
- "2025-05-14T00:00:00Z"
12280
+ "2025-05-15T00:00:00Z"
12271
12281
  ]
12272
12282
  },
12273
12283
  "deleted_reason": {
@@ -12298,7 +12308,7 @@
12298
12308
  "title": "Last Updated At",
12299
12309
  "description": "Timestamp of last change to batch",
12300
12310
  "examples": [
12301
- "2025-05-14T00:00:00Z"
12311
+ "2025-05-15T00:00:00Z"
12302
12312
  ]
12303
12313
  },
12304
12314
  "last_updated_by": {
@@ -12341,7 +12351,7 @@
12341
12351
  "title": "Batch Id",
12342
12352
  "description": "Unique ID for conversation batch",
12343
12353
  "examples": [
12344
- "20250514.9"
12354
+ "20250515.9"
12345
12355
  ]
12346
12356
  },
12347
12357
  "campaign_id": {
@@ -12365,7 +12375,7 @@
12365
12375
  "title": "Expires On",
12366
12376
  "description": "Timestamp of batch expiration",
12367
12377
  "examples": [
12368
- "2025-05-15T00:00:00Z"
12378
+ "2025-05-16T00:00:00Z"
12369
12379
  ]
12370
12380
  },
12371
12381
  "paused": {
@@ -12443,9 +12453,10 @@
12443
12453
  "target": {
12444
12454
  "type": "string",
12445
12455
  "title": "Target",
12446
- "description": "Target phone number or email address",
12456
+ "description": "Target phone number",
12447
12457
  "examples": [
12448
- "user@email.com"
12458
+ "512-555-1234",
12459
+ "+15125551234"
12449
12460
  ]
12450
12461
  },
12451
12462
  "request_variables": {
@@ -12475,9 +12486,10 @@
12475
12486
  "target": {
12476
12487
  "type": "string",
12477
12488
  "title": "Target",
12478
- "description": "Target phone number or email address",
12489
+ "description": "Target phone number",
12479
12490
  "examples": [
12480
- "user@email.com"
12491
+ "512-555-1234",
12492
+ "+15125551234"
12481
12493
  ]
12482
12494
  },
12483
12495
  "request_variables": {
@@ -12506,7 +12518,7 @@
12506
12518
  "title": "Created At",
12507
12519
  "description": "Timestamp of request creation",
12508
12520
  "examples": [
12509
- "2025-05-13T00:00:00Z"
12521
+ "2025-05-14T00:00:00Z"
12510
12522
  ]
12511
12523
  },
12512
12524
  "sent_at": {
@@ -12522,7 +12534,7 @@
12522
12534
  "title": "Sent At",
12523
12535
  "description": "Timestamp at which request was sent",
12524
12536
  "examples": [
12525
- "2025-05-14T00:00:00Z"
12537
+ "2025-05-15T00:00:00Z"
12526
12538
  ]
12527
12539
  },
12528
12540
  "attempt_count": {
@@ -12574,7 +12586,8 @@
12574
12586
  "INITIATED",
12575
12587
  "CONNECTED",
12576
12588
  "FAILED",
12577
- "CANCELED"
12589
+ "CANCELED",
12590
+ "INVALID"
12578
12591
  ]
12579
12592
  },
12580
12593
  "channel_manager_status": {
@@ -14421,7 +14434,7 @@
14421
14434
  "title": "Created At",
14422
14435
  "description": "Timestamp at which insight upload folder was created",
14423
14436
  "examples": [
14424
- "2025-05-13T00:00:00Z"
14437
+ "2025-05-14T00:00:00Z"
14425
14438
  ]
14426
14439
  },
14427
14440
  "updated_at": {
@@ -14430,7 +14443,7 @@
14430
14443
  "title": "Updated At",
14431
14444
  "description": "Timestamp at which insight upload folder was last updated",
14432
14445
  "examples": [
14433
- "2025-05-14T00:00:00Z"
14446
+ "2025-05-15T00:00:00Z"
14434
14447
  ]
14435
14448
  },
14436
14449
  "last_updated_by": {
@@ -15145,7 +15158,7 @@
15145
15158
  "title": "Created At",
15146
15159
  "description": "Timestamp of at which insight tool configuration was created",
15147
15160
  "examples": [
15148
- "2025-05-13T00:00:00Z"
15161
+ "2025-05-14T00:00:00Z"
15149
15162
  ]
15150
15163
  },
15151
15164
  "updated_at": {
@@ -15154,7 +15167,7 @@
15154
15167
  "title": "Updated At",
15155
15168
  "description": "Timestamp at which insight tool configuration was last updated",
15156
15169
  "examples": [
15157
- "2025-05-14T00:00:00Z"
15170
+ "2025-05-15T00:00:00Z"
15158
15171
  ]
15159
15172
  },
15160
15173
  "last_updated_by": {
@@ -15499,7 +15512,7 @@
15499
15512
  "title": "Start Datetime",
15500
15513
  "description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
15501
15514
  "examples": [
15502
- "2025-05-13T00:00:00Z"
15515
+ "2025-05-14T00:00:00Z"
15503
15516
  ]
15504
15517
  },
15505
15518
  "end_datetime": {
@@ -15515,7 +15528,7 @@
15515
15528
  "title": "End Datetime",
15516
15529
  "description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
15517
15530
  "examples": [
15518
- "2025-05-14T00:00:00Z"
15531
+ "2025-05-15T00:00:00Z"
15519
15532
  ]
15520
15533
  }
15521
15534
  },
@@ -15589,7 +15602,7 @@
15589
15602
  "title": "Start Datetime",
15590
15603
  "description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
15591
15604
  "examples": [
15592
- "2025-05-13T00:00:00Z"
15605
+ "2025-05-14T00:00:00Z"
15593
15606
  ]
15594
15607
  },
15595
15608
  "end_datetime": {
@@ -15605,7 +15618,7 @@
15605
15618
  "title": "End Datetime",
15606
15619
  "description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
15607
15620
  "examples": [
15608
- "2025-05-14T00:00:00Z"
15621
+ "2025-05-15T00:00:00Z"
15609
15622
  ]
15610
15623
  },
15611
15624
  "id": {
@@ -15643,7 +15656,7 @@
15643
15656
  "title": "Created At",
15644
15657
  "description": "Timestamp at which the insight workflow was created",
15645
15658
  "examples": [
15646
- "2025-05-13T00:00:00Z"
15659
+ "2025-05-14T00:00:00Z"
15647
15660
  ]
15648
15661
  },
15649
15662
  "updated_at": {
@@ -15652,7 +15665,7 @@
15652
15665
  "title": "Updated At",
15653
15666
  "description": "Timestamp of most recent update to the insight workflow",
15654
15667
  "examples": [
15655
- "2025-05-14T00:00:00Z"
15668
+ "2025-05-15T00:00:00Z"
15656
15669
  ]
15657
15670
  },
15658
15671
  "last_updated_by": {
@@ -15748,7 +15761,7 @@
15748
15761
  "title": "Created At",
15749
15762
  "description": "Timestamp at which insight upload folder was created",
15750
15763
  "examples": [
15751
- "2025-05-13T00:00:00Z"
15764
+ "2025-05-14T00:00:00Z"
15752
15765
  ]
15753
15766
  },
15754
15767
  "updated_at": {
@@ -15757,7 +15770,7 @@
15757
15770
  "title": "Updated At",
15758
15771
  "description": "Timestamp at which insight upload folder was last updated",
15759
15772
  "examples": [
15760
- "2025-05-14T00:00:00Z"
15773
+ "2025-05-15T00:00:00Z"
15761
15774
  ]
15762
15775
  },
15763
15776
  "last_updated_by": {
@@ -15992,7 +16005,7 @@
15992
16005
  "title": "Created At",
15993
16006
  "description": "Timestamp at which insight tool result was created",
15994
16007
  "examples": [
15995
- "2025-05-13T00:00:00Z"
16008
+ "2025-05-14T00:00:00Z"
15996
16009
  ]
15997
16010
  },
15998
16011
  "updated_at": {
@@ -16001,7 +16014,7 @@
16001
16014
  "title": "Updated At",
16002
16015
  "description": "Timestamp at which insight tool result was last updated",
16003
16016
  "examples": [
16004
- "2025-05-14T00:00:00Z"
16017
+ "2025-05-15T00:00:00Z"
16005
16018
  ]
16006
16019
  }
16007
16020
  },
@@ -16136,7 +16149,7 @@
16136
16149
  "title": "Start Time",
16137
16150
  "description": "Start time of the uploaded file",
16138
16151
  "examples": [
16139
- "2025-05-13T00:00:00Z"
16152
+ "2025-05-14T00:00:00Z"
16140
16153
  ]
16141
16154
  },
16142
16155
  "end_time": {
@@ -16152,7 +16165,7 @@
16152
16165
  "title": "End Time",
16153
16166
  "description": "End time of the uploaded file",
16154
16167
  "examples": [
16155
- "2025-05-14T00:00:00Z"
16168
+ "2025-05-15T00:00:00Z"
16156
16169
  ]
16157
16170
  },
16158
16171
  "error_message": {
@@ -16207,7 +16220,7 @@
16207
16220
  "title": "Created At",
16208
16221
  "description": "Timestamp at which insight upload file was created",
16209
16222
  "examples": [
16210
- "2025-05-13T00:00:00Z"
16223
+ "2025-05-14T00:00:00Z"
16211
16224
  ]
16212
16225
  }
16213
16226
  },
@@ -18628,7 +18641,7 @@
18628
18641
  "title": "Created At",
18629
18642
  "description": "Timestamp of campaign creation",
18630
18643
  "examples": [
18631
- "2025-05-14T00:00:00Z"
18644
+ "2025-05-15T00:00:00Z"
18632
18645
  ]
18633
18646
  },
18634
18647
  "updated_at": {
@@ -18637,7 +18650,7 @@
18637
18650
  "title": "Updated At",
18638
18651
  "description": "Timestamp of campaign update",
18639
18652
  "examples": [
18640
- "2025-05-14T00:00:00Z"
18653
+ "2025-05-15T00:00:00Z"
18641
18654
  ]
18642
18655
  },
18643
18656
  "last_updated_by": {
@@ -19430,7 +19443,8 @@
19430
19443
  "INITIATED",
19431
19444
  "CONNECTED",
19432
19445
  "FAILED",
19433
- "CANCELED"
19446
+ "CANCELED",
19447
+ "INVALID"
19434
19448
  ],
19435
19449
  "title": "RequestStatus",
19436
19450
  "description": "Status of a communication request."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syllable-sdk",
3
- "version": "0.1.0-alpha.149",
3
+ "version": "0.1.0-alpha.151",
4
4
  "author": "Syllable",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
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.149",
60
+ sdkVersion: "0.1.0-alpha.151",
61
61
  genVersion: "2.512.4",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.1.0-alpha.149 2.512.4 0.0.2 syllable-sdk",
63
+ "speakeasy-sdk/typescript 0.1.0-alpha.151 2.512.4 0.0.2 syllable-sdk",
64
64
  } as const;
@@ -52,7 +52,7 @@ export type AgentVoice = {
52
52
  */
53
53
  displayName: AgentVoiceDisplayName;
54
54
  /**
55
- * The variable name of an agent voice (used when procesing messages).
55
+ * The variable name of an agent voice (used when processing messages).
56
56
  */
57
57
  varName: AgentVoiceVarName;
58
58
  /**
@@ -20,15 +20,23 @@ export const AgentVoiceDisplayName = {
20
20
  Charlotte: "Charlotte",
21
21
  Chris: "Chris",
22
22
  Clara: "Clara",
23
+ CmnTWWavenetA: "cmn-TW-Wavenet-A",
23
24
  Coral: "Coral",
24
25
  Daniel: "Daniel",
25
26
  Echo: "Echo",
27
+ EnUSNeural2D: "en-US-Neural2-D",
28
+ EnUSNeural2F: "en-US-Neural2-F",
29
+ EnUSNeural2J: "en-US-Neural2-J",
30
+ EnUSStudioO: "en-US-Studio-O",
26
31
  Eric: "Eric",
32
+ EsUSNeural2A: "es-US-Neural2-A",
33
+ EsUSNeural2B: "es-US-Neural2-B",
27
34
  Fable: "Fable",
28
35
  George: "George",
29
36
  Isabella: "Isabella",
30
37
  Jerry: "Jerry",
31
38
  Jessica: "Jessica",
39
+ KoKRNeural2A: "ko-KR-Neural2-A",
32
40
  Laura: "Laura",
33
41
  Liam: "Liam",
34
42
  Lily: "Lily",
@@ -46,7 +54,9 @@ export const AgentVoiceDisplayName = {
46
54
  Shimmer: "Shimmer",
47
55
  Sienna: "Sienna",
48
56
  Tara: "Tara",
57
+ ViVNNeural2A: "vi-VN-Neural2-A",
49
58
  Will: "Will",
59
+ YueHKStandardC: "yue-HK-Standard-C",
50
60
  } as const;
51
61
  /**
52
62
  * Display names of voices that Syllable supports.
@@ -6,7 +6,7 @@ import * as z from "zod";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  /**
9
- * The variable name of an agent voice (used when procesing messages).
9
+ * The variable name of an agent voice (used when processing messages).
10
10
  */
11
11
  export const AgentVoiceVarName = {
12
12
  OpenaiAlloy: "openai:alloy",
@@ -49,7 +49,7 @@ export const AgentVoiceVarName = {
49
49
  WavenetFemaleViVNNeural2A: "wavenet:female/vi-VN-Neural2-A",
50
50
  } as const;
51
51
  /**
52
- * The variable name of an agent voice (used when procesing messages).
52
+ * The variable name of an agent voice (used when processing messages).
53
53
  */
54
54
  export type AgentVoiceVarName = ClosedEnum<typeof AgentVoiceVarName>;
55
55
 
@@ -19,7 +19,7 @@ export type CommunicationRequest = {
19
19
  */
20
20
  referenceId: string;
21
21
  /**
22
- * Target phone number or email address
22
+ * Target phone number
23
23
  */
24
24
  target: string;
25
25
  /**
@@ -26,7 +26,7 @@ export type CommunicationRequestResult = {
26
26
  */
27
27
  referenceId: string;
28
28
  /**
29
- * Target phone number or email address
29
+ * Target phone number
30
30
  */
31
31
  target: string;
32
32
  /**
@@ -15,6 +15,7 @@ export const RequestStatus = {
15
15
  Connected: "CONNECTED",
16
16
  Failed: "FAILED",
17
17
  Canceled: "CANCELED",
18
+ Invalid: "INVALID",
18
19
  } as const;
19
20
  /**
20
21
  * Status of a communication request.