syllable-sdk 1.0.3-rc.4 → 1.0.4-rc.1
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/bin/mcp-server.js +13 -8
- package/bin/mcp-server.js.map +7 -7
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/channels/README.md +16 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/channelservices.d.ts +3 -0
- package/models/components/channelservices.d.ts.map +1 -1
- package/models/components/channelservices.js +1 -0
- package/models/components/channelservices.js.map +1 -1
- package/models/components/organizationchannelconfig.d.ts +9 -0
- package/models/components/organizationchannelconfig.d.ts.map +1 -1
- package/models/components/organizationchannelconfig.js +4 -0
- package/models/components/organizationchannelconfig.js.map +1 -1
- package/openapi.json +80 -34
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/channelservices.ts +1 -0
- package/src/models/components/organizationchannelconfig.ts +9 -0
|
@@ -123,9 +123,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
123
123
|
|
|
124
124
|
async function run() {
|
|
125
125
|
const result = await syllableSDK.outbound.batches.create({
|
|
126
|
-
batchId: "
|
|
126
|
+
batchId: "20251016.9",
|
|
127
127
|
campaignId: 1,
|
|
128
|
-
expiresOn: new Date("2025-10-
|
|
128
|
+
expiresOn: new Date("2025-10-17T00:00:00Z"),
|
|
129
129
|
paused: true,
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -151,9 +151,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
151
151
|
|
|
152
152
|
async function run() {
|
|
153
153
|
const res = await outboundBatchesCreate(syllableSDK, {
|
|
154
|
-
batchId: "
|
|
154
|
+
batchId: "20251016.9",
|
|
155
155
|
campaignId: 1,
|
|
156
|
-
expiresOn: new Date("2025-10-
|
|
156
|
+
expiresOn: new Date("2025-10-17T00:00:00Z"),
|
|
157
157
|
paused: true,
|
|
158
158
|
});
|
|
159
159
|
if (res.ok) {
|
|
@@ -125,6 +125,10 @@ async function run() {
|
|
|
125
125
|
config: {
|
|
126
126
|
accountSid: "AC123...",
|
|
127
127
|
authToken: "sometoken",
|
|
128
|
+
providerCredentials: {
|
|
129
|
+
"api_key": "atk123",
|
|
130
|
+
"username": "test_username",
|
|
131
|
+
},
|
|
128
132
|
telephony: {
|
|
129
133
|
preInputTimeout: 1.2,
|
|
130
134
|
overallInputTimeout: 20,
|
|
@@ -164,6 +168,10 @@ async function run() {
|
|
|
164
168
|
config: {
|
|
165
169
|
accountSid: "AC123...",
|
|
166
170
|
authToken: "sometoken",
|
|
171
|
+
providerCredentials: {
|
|
172
|
+
"api_key": "atk123",
|
|
173
|
+
"username": "test_username",
|
|
174
|
+
},
|
|
167
175
|
telephony: {
|
|
168
176
|
preInputTimeout: 1.2,
|
|
169
177
|
overallInputTimeout: 20,
|
|
@@ -227,6 +235,10 @@ async function run() {
|
|
|
227
235
|
config: {
|
|
228
236
|
accountSid: "AC123...",
|
|
229
237
|
authToken: "sometoken",
|
|
238
|
+
providerCredentials: {
|
|
239
|
+
"api_key": "atk123",
|
|
240
|
+
"username": "test_username",
|
|
241
|
+
},
|
|
230
242
|
telephony: {
|
|
231
243
|
preInputTimeout: 1.2,
|
|
232
244
|
overallInputTimeout: 20,
|
|
@@ -267,6 +279,10 @@ async function run() {
|
|
|
267
279
|
config: {
|
|
268
280
|
accountSid: "AC123...",
|
|
269
281
|
authToken: "sometoken",
|
|
282
|
+
providerCredentials: {
|
|
283
|
+
"api_key": "atk123",
|
|
284
|
+
"username": "test_username",
|
|
285
|
+
},
|
|
270
286
|
telephony: {
|
|
271
287
|
preInputTimeout: 1.2,
|
|
272
288
|
overallInputTimeout: 20,
|
|
@@ -148,8 +148,8 @@ async function run() {
|
|
|
148
148
|
"sheet_name": "Q1 Sales Data",
|
|
149
149
|
},
|
|
150
150
|
},
|
|
151
|
-
startDatetime: new Date("2025-10-
|
|
152
|
-
endDatetime: new Date("2025-10-
|
|
151
|
+
startDatetime: new Date("2025-10-15T00:00:00Z"),
|
|
152
|
+
endDatetime: new Date("2025-10-16T00:00:00Z"),
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
console.log(result);
|
|
@@ -200,8 +200,8 @@ async function run() {
|
|
|
200
200
|
"sheet_name": "Q1 Sales Data",
|
|
201
201
|
},
|
|
202
202
|
},
|
|
203
|
-
startDatetime: new Date("2025-10-
|
|
204
|
-
endDatetime: new Date("2025-10-
|
|
203
|
+
startDatetime: new Date("2025-10-15T00:00:00Z"),
|
|
204
|
+
endDatetime: new Date("2025-10-16T00:00:00Z"),
|
|
205
205
|
});
|
|
206
206
|
if (res.ok) {
|
|
207
207
|
const { value: result } = res;
|
|
@@ -352,8 +352,8 @@ async function run() {
|
|
|
352
352
|
"sheet_name": "Q1 Sales Data",
|
|
353
353
|
},
|
|
354
354
|
},
|
|
355
|
-
startDatetime: new Date("2025-10-
|
|
356
|
-
endDatetime: new Date("2025-10-
|
|
355
|
+
startDatetime: new Date("2025-10-15T00:00:00Z"),
|
|
356
|
+
endDatetime: new Date("2025-10-16T00:00:00Z"),
|
|
357
357
|
},
|
|
358
358
|
});
|
|
359
359
|
|
|
@@ -407,8 +407,8 @@ async function run() {
|
|
|
407
407
|
"sheet_name": "Q1 Sales Data",
|
|
408
408
|
},
|
|
409
409
|
},
|
|
410
|
-
startDatetime: new Date("2025-10-
|
|
411
|
-
endDatetime: new Date("2025-10-
|
|
410
|
+
startDatetime: new Date("2025-10-15T00:00:00Z"),
|
|
411
|
+
endDatetime: new Date("2025-10-16T00:00:00Z"),
|
|
412
412
|
},
|
|
413
413
|
});
|
|
414
414
|
if (res.ok) {
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.2";
|
|
34
|
-
readonly sdkVersion: "1.0.
|
|
34
|
+
readonly sdkVersion: "1.0.4-rc.1";
|
|
35
35
|
readonly genVersion: "2.723.11";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.0.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.4-rc.1 2.723.11 0.0.2 syllable-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# 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: "1.0.
|
|
34
|
+
sdkVersion: "1.0.4-rc.1",
|
|
35
35
|
genVersion: "2.723.11",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.0.4-rc.1 2.723.11 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "1.0.
|
|
25
|
+
currentVersion: "1.0.4-rc.1",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -157,7 +157,7 @@ const usersUsersSendEmail_js_1 = require("./tools/usersUsersSendEmail.js");
|
|
|
157
157
|
function createMCPServer(deps) {
|
|
158
158
|
const server = new mcp_js_1.McpServer({
|
|
159
159
|
name: "SyllableSDK",
|
|
160
|
-
version: "1.0.
|
|
160
|
+
version: "1.0.4-rc.1",
|
|
161
161
|
});
|
|
162
162
|
const client = new core_js_1.SyllableSDKCore({
|
|
163
163
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -8,6 +8,7 @@ export declare const ChannelServices: {
|
|
|
8
8
|
readonly Twilio: "twilio";
|
|
9
9
|
readonly Email: "email";
|
|
10
10
|
readonly Webchat: "webchat";
|
|
11
|
+
readonly Africastalking: "africastalking";
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
13
14
|
* The communication service for a channel.
|
|
@@ -28,6 +29,7 @@ export declare namespace ChannelServices$ {
|
|
|
28
29
|
readonly Twilio: "twilio";
|
|
29
30
|
readonly Email: "email";
|
|
30
31
|
readonly Webchat: "webchat";
|
|
32
|
+
readonly Africastalking: "africastalking";
|
|
31
33
|
}>;
|
|
32
34
|
/** @deprecated use `ChannelServices$outboundSchema` instead. */
|
|
33
35
|
const outboundSchema: z.ZodNativeEnum<{
|
|
@@ -35,6 +37,7 @@ export declare namespace ChannelServices$ {
|
|
|
35
37
|
readonly Twilio: "twilio";
|
|
36
38
|
readonly Email: "email";
|
|
37
39
|
readonly Webchat: "webchat";
|
|
40
|
+
readonly Africastalking: "africastalking";
|
|
38
41
|
}>;
|
|
39
42
|
}
|
|
40
43
|
//# sourceMappingURL=channelservices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelservices.d.ts","sourceRoot":"","sources":["../../src/models/components/channelservices.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"channelservices.d.ts","sourceRoot":"","sources":["../../src/models/components/channelservices.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,eAAe,CACS,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,eAAe,CACS,CAAC;AAElC;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa;;;;;;MAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc;;;;;;MAAiC,CAAC;CAC9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelservices.js","sourceRoot":"","sources":["../../src/models/components/channelservices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"channelservices.js","sourceRoot":"","sources":["../../src/models/components/channelservices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,gBAAgB;CACxB,CAAC;AAMX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAElC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC;AAElC;;;GAGG;AACH,IAAiB,gBAAgB,CAKhC;AALD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAC/D,CAAC,EALgB,gBAAgB,gCAAhB,gBAAgB,QAKhC"}
|
|
@@ -14,6 +14,12 @@ export type OrganizationChannelConfig = {
|
|
|
14
14
|
* The Twilio auth token
|
|
15
15
|
*/
|
|
16
16
|
authToken?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Provider-specific credentials. Initially to be used for AfricasTalking creds.In a future this would be used for Twilio creds too (removing the account_sid and auth_token fields).
|
|
19
|
+
*/
|
|
20
|
+
providerCredentials?: {
|
|
21
|
+
[k: string]: string;
|
|
22
|
+
} | null | undefined;
|
|
17
23
|
/**
|
|
18
24
|
* Telephony configurations to be applied to the targets under the channel
|
|
19
25
|
*/
|
|
@@ -25,6 +31,9 @@ export declare const OrganizationChannelConfig$inboundSchema: z.ZodType<Organiza
|
|
|
25
31
|
export type OrganizationChannelConfig$Outbound = {
|
|
26
32
|
account_sid?: string | null | undefined;
|
|
27
33
|
auth_token?: string | null | undefined;
|
|
34
|
+
provider_credentials?: {
|
|
35
|
+
[k: string]: string;
|
|
36
|
+
} | null | undefined;
|
|
28
37
|
telephony?: TelephonyConfigurations$Outbound | null | undefined;
|
|
29
38
|
};
|
|
30
39
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationchannelconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/organizationchannelconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"organizationchannelconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/organizationchannelconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,GAAG,IAAI,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,SAAS,CAAC,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAYzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -47,22 +47,26 @@ const telephonyconfigurations_js_1 = require("./telephonyconfigurations.js");
|
|
|
47
47
|
exports.OrganizationChannelConfig$inboundSchema = z.object({
|
|
48
48
|
account_sid: z.nullable(z.string()).optional(),
|
|
49
49
|
auth_token: z.nullable(z.string()).optional(),
|
|
50
|
+
provider_credentials: z.nullable(z.record(z.string())).optional(),
|
|
50
51
|
telephony: z.nullable(telephonyconfigurations_js_1.TelephonyConfigurations$inboundSchema).optional(),
|
|
51
52
|
}).transform((v) => {
|
|
52
53
|
return (0, primitives_js_1.remap)(v, {
|
|
53
54
|
"account_sid": "accountSid",
|
|
54
55
|
"auth_token": "authToken",
|
|
56
|
+
"provider_credentials": "providerCredentials",
|
|
55
57
|
});
|
|
56
58
|
});
|
|
57
59
|
/** @internal */
|
|
58
60
|
exports.OrganizationChannelConfig$outboundSchema = z.object({
|
|
59
61
|
accountSid: z.nullable(z.string()).optional(),
|
|
60
62
|
authToken: z.nullable(z.string()).optional(),
|
|
63
|
+
providerCredentials: z.nullable(z.record(z.string())).optional(),
|
|
61
64
|
telephony: z.nullable(telephonyconfigurations_js_1.TelephonyConfigurations$outboundSchema).optional(),
|
|
62
65
|
}).transform((v) => {
|
|
63
66
|
return (0, primitives_js_1.remap)(v, {
|
|
64
67
|
accountSid: "account_sid",
|
|
65
68
|
authToken: "auth_token",
|
|
69
|
+
providerCredentials: "provider_credentials",
|
|
66
70
|
});
|
|
67
71
|
});
|
|
68
72
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationchannelconfig.js","sourceRoot":"","sources":["../../src/models/components/organizationchannelconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"organizationchannelconfig.js","sourceRoot":"","sources":["../../src/models/components/organizationchannelconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FH,0EAMC;AAED,8EAQC;AA3GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6EAKsC;AAwBtC,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjE,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,kEAAqC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,sBAAsB,EAAE,qBAAqB;KAC9C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChE,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,mEAAsC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,mBAAmB,EAAE,sBAAsB;KAC5C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -13187,7 +13187,7 @@
|
|
|
13187
13187
|
"title": "Batch Id",
|
|
13188
13188
|
"description": "Unique ID for conversation batch",
|
|
13189
13189
|
"examples": [
|
|
13190
|
-
"
|
|
13190
|
+
"20251016.9"
|
|
13191
13191
|
]
|
|
13192
13192
|
},
|
|
13193
13193
|
"campaign_id": {
|
|
@@ -13211,7 +13211,7 @@
|
|
|
13211
13211
|
"title": "Expires On",
|
|
13212
13212
|
"description": "Timestamp of batch expiration",
|
|
13213
13213
|
"examples": [
|
|
13214
|
-
"2025-10-
|
|
13214
|
+
"2025-10-17T00:00:00Z"
|
|
13215
13215
|
]
|
|
13216
13216
|
},
|
|
13217
13217
|
"paused": {
|
|
@@ -13264,7 +13264,7 @@
|
|
|
13264
13264
|
"title": "Created At",
|
|
13265
13265
|
"description": "Timestamp of batch creation",
|
|
13266
13266
|
"examples": [
|
|
13267
|
-
"2025-10-
|
|
13267
|
+
"2025-10-16T00:00:00Z"
|
|
13268
13268
|
]
|
|
13269
13269
|
},
|
|
13270
13270
|
"deleted_at": {
|
|
@@ -13280,7 +13280,7 @@
|
|
|
13280
13280
|
"title": "Deleted At",
|
|
13281
13281
|
"description": "Timestamp of batch deletion",
|
|
13282
13282
|
"examples": [
|
|
13283
|
-
"2025-10-
|
|
13283
|
+
"2025-10-16T00:00:00Z"
|
|
13284
13284
|
]
|
|
13285
13285
|
},
|
|
13286
13286
|
"deleted_reason": {
|
|
@@ -13311,7 +13311,7 @@
|
|
|
13311
13311
|
"title": "Last Updated At",
|
|
13312
13312
|
"description": "Timestamp of last change to batch",
|
|
13313
13313
|
"examples": [
|
|
13314
|
-
"2025-10-
|
|
13314
|
+
"2025-10-16T00:00:00Z"
|
|
13315
13315
|
]
|
|
13316
13316
|
},
|
|
13317
13317
|
"last_updated_by": {
|
|
@@ -13776,7 +13776,8 @@
|
|
|
13776
13776
|
"sip",
|
|
13777
13777
|
"twilio",
|
|
13778
13778
|
"email",
|
|
13779
|
-
"webchat"
|
|
13779
|
+
"webchat",
|
|
13780
|
+
"africastalking"
|
|
13780
13781
|
],
|
|
13781
13782
|
"title": "ChannelServices",
|
|
13782
13783
|
"description": "The communication service for a channel."
|
|
@@ -14066,7 +14067,7 @@
|
|
|
14066
14067
|
"title": "Batch Id",
|
|
14067
14068
|
"description": "Unique ID for conversation batch",
|
|
14068
14069
|
"examples": [
|
|
14069
|
-
"
|
|
14070
|
+
"20251016.9"
|
|
14070
14071
|
]
|
|
14071
14072
|
},
|
|
14072
14073
|
"campaign_id": {
|
|
@@ -14090,7 +14091,7 @@
|
|
|
14090
14091
|
"title": "Expires On",
|
|
14091
14092
|
"description": "Timestamp of batch expiration",
|
|
14092
14093
|
"examples": [
|
|
14093
|
-
"2025-10-
|
|
14094
|
+
"2025-10-17T00:00:00Z"
|
|
14094
14095
|
]
|
|
14095
14096
|
},
|
|
14096
14097
|
"paused": {
|
|
@@ -14143,7 +14144,7 @@
|
|
|
14143
14144
|
"title": "Created At",
|
|
14144
14145
|
"description": "Timestamp of batch creation",
|
|
14145
14146
|
"examples": [
|
|
14146
|
-
"2025-10-
|
|
14147
|
+
"2025-10-16T00:00:00Z"
|
|
14147
14148
|
]
|
|
14148
14149
|
},
|
|
14149
14150
|
"deleted_at": {
|
|
@@ -14159,7 +14160,7 @@
|
|
|
14159
14160
|
"title": "Deleted At",
|
|
14160
14161
|
"description": "Timestamp of batch deletion",
|
|
14161
14162
|
"examples": [
|
|
14162
|
-
"2025-10-
|
|
14163
|
+
"2025-10-16T00:00:00Z"
|
|
14163
14164
|
]
|
|
14164
14165
|
},
|
|
14165
14166
|
"deleted_reason": {
|
|
@@ -14190,7 +14191,7 @@
|
|
|
14190
14191
|
"title": "Last Updated At",
|
|
14191
14192
|
"description": "Timestamp of last change to batch",
|
|
14192
14193
|
"examples": [
|
|
14193
|
-
"2025-10-
|
|
14194
|
+
"2025-10-16T00:00:00Z"
|
|
14194
14195
|
]
|
|
14195
14196
|
},
|
|
14196
14197
|
"last_updated_by": {
|
|
@@ -14233,7 +14234,7 @@
|
|
|
14233
14234
|
"title": "Batch Id",
|
|
14234
14235
|
"description": "Unique ID for conversation batch",
|
|
14235
14236
|
"examples": [
|
|
14236
|
-
"
|
|
14237
|
+
"20251016.9"
|
|
14237
14238
|
]
|
|
14238
14239
|
},
|
|
14239
14240
|
"campaign_id": {
|
|
@@ -14257,7 +14258,7 @@
|
|
|
14257
14258
|
"title": "Expires On",
|
|
14258
14259
|
"description": "Timestamp of batch expiration",
|
|
14259
14260
|
"examples": [
|
|
14260
|
-
"2025-10-
|
|
14261
|
+
"2025-10-17T00:00:00Z"
|
|
14261
14262
|
]
|
|
14262
14263
|
},
|
|
14263
14264
|
"paused": {
|
|
@@ -14406,7 +14407,7 @@
|
|
|
14406
14407
|
"title": "Created At",
|
|
14407
14408
|
"description": "Timestamp of request creation",
|
|
14408
14409
|
"examples": [
|
|
14409
|
-
"2025-10-
|
|
14410
|
+
"2025-10-15T00:00:00Z"
|
|
14410
14411
|
]
|
|
14411
14412
|
},
|
|
14412
14413
|
"sent_at": {
|
|
@@ -14422,7 +14423,7 @@
|
|
|
14422
14423
|
"title": "Sent At",
|
|
14423
14424
|
"description": "Timestamp at which request was sent",
|
|
14424
14425
|
"examples": [
|
|
14425
|
-
"2025-10-
|
|
14426
|
+
"2025-10-16T00:00:00Z"
|
|
14426
14427
|
]
|
|
14427
14428
|
},
|
|
14428
14429
|
"attempt_count": {
|
|
@@ -16363,7 +16364,7 @@
|
|
|
16363
16364
|
"title": "Created At",
|
|
16364
16365
|
"description": "Timestamp at which insight upload folder was created",
|
|
16365
16366
|
"examples": [
|
|
16366
|
-
"2025-10-
|
|
16367
|
+
"2025-10-15T00:00:00Z"
|
|
16367
16368
|
]
|
|
16368
16369
|
},
|
|
16369
16370
|
"updated_at": {
|
|
@@ -16372,7 +16373,7 @@
|
|
|
16372
16373
|
"title": "Updated At",
|
|
16373
16374
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16374
16375
|
"examples": [
|
|
16375
|
-
"2025-10-
|
|
16376
|
+
"2025-10-16T00:00:00Z"
|
|
16376
16377
|
]
|
|
16377
16378
|
},
|
|
16378
16379
|
"last_updated_by": {
|
|
@@ -17058,7 +17059,7 @@
|
|
|
17058
17059
|
"title": "Created At",
|
|
17059
17060
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
17060
17061
|
"examples": [
|
|
17061
|
-
"2025-10-
|
|
17062
|
+
"2025-10-15T00:00:00Z"
|
|
17062
17063
|
]
|
|
17063
17064
|
},
|
|
17064
17065
|
"updated_at": {
|
|
@@ -17067,7 +17068,7 @@
|
|
|
17067
17068
|
"title": "Updated At",
|
|
17068
17069
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
17069
17070
|
"examples": [
|
|
17070
|
-
"2025-10-
|
|
17071
|
+
"2025-10-16T00:00:00Z"
|
|
17071
17072
|
]
|
|
17072
17073
|
},
|
|
17073
17074
|
"last_updated_by": {
|
|
@@ -17448,7 +17449,7 @@
|
|
|
17448
17449
|
"title": "Start Datetime",
|
|
17449
17450
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17450
17451
|
"examples": [
|
|
17451
|
-
"2025-10-
|
|
17452
|
+
"2025-10-15T00:00:00Z"
|
|
17452
17453
|
]
|
|
17453
17454
|
},
|
|
17454
17455
|
"end_datetime": {
|
|
@@ -17464,7 +17465,7 @@
|
|
|
17464
17465
|
"title": "End Datetime",
|
|
17465
17466
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17466
17467
|
"examples": [
|
|
17467
|
-
"2025-10-
|
|
17468
|
+
"2025-10-16T00:00:00Z"
|
|
17468
17469
|
]
|
|
17469
17470
|
}
|
|
17470
17471
|
},
|
|
@@ -17539,7 +17540,7 @@
|
|
|
17539
17540
|
"title": "Start Datetime",
|
|
17540
17541
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17541
17542
|
"examples": [
|
|
17542
|
-
"2025-10-
|
|
17543
|
+
"2025-10-15T00:00:00Z"
|
|
17543
17544
|
]
|
|
17544
17545
|
},
|
|
17545
17546
|
"end_datetime": {
|
|
@@ -17555,7 +17556,7 @@
|
|
|
17555
17556
|
"title": "End Datetime",
|
|
17556
17557
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17557
17558
|
"examples": [
|
|
17558
|
-
"2025-10-
|
|
17559
|
+
"2025-10-16T00:00:00Z"
|
|
17559
17560
|
]
|
|
17560
17561
|
},
|
|
17561
17562
|
"id": {
|
|
@@ -17608,7 +17609,7 @@
|
|
|
17608
17609
|
"title": "Created At",
|
|
17609
17610
|
"description": "Timestamp at which the insight workflow was created",
|
|
17610
17611
|
"examples": [
|
|
17611
|
-
"2025-10-
|
|
17612
|
+
"2025-10-15T00:00:00Z"
|
|
17612
17613
|
]
|
|
17613
17614
|
},
|
|
17614
17615
|
"updated_at": {
|
|
@@ -17617,7 +17618,7 @@
|
|
|
17617
17618
|
"title": "Updated At",
|
|
17618
17619
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
17619
17620
|
"examples": [
|
|
17620
|
-
"2025-10-
|
|
17621
|
+
"2025-10-16T00:00:00Z"
|
|
17621
17622
|
]
|
|
17622
17623
|
},
|
|
17623
17624
|
"last_updated_by": {
|
|
@@ -17713,7 +17714,7 @@
|
|
|
17713
17714
|
"title": "Created At",
|
|
17714
17715
|
"description": "Timestamp at which insight upload folder was created",
|
|
17715
17716
|
"examples": [
|
|
17716
|
-
"2025-10-
|
|
17717
|
+
"2025-10-15T00:00:00Z"
|
|
17717
17718
|
]
|
|
17718
17719
|
},
|
|
17719
17720
|
"updated_at": {
|
|
@@ -17722,7 +17723,7 @@
|
|
|
17722
17723
|
"title": "Updated At",
|
|
17723
17724
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17724
17725
|
"examples": [
|
|
17725
|
-
"2025-10-
|
|
17726
|
+
"2025-10-16T00:00:00Z"
|
|
17726
17727
|
]
|
|
17727
17728
|
},
|
|
17728
17729
|
"last_updated_by": {
|
|
@@ -17957,7 +17958,7 @@
|
|
|
17957
17958
|
"title": "Created At",
|
|
17958
17959
|
"description": "Timestamp at which insight tool result was created",
|
|
17959
17960
|
"examples": [
|
|
17960
|
-
"2025-10-
|
|
17961
|
+
"2025-10-15T00:00:00Z"
|
|
17961
17962
|
]
|
|
17962
17963
|
},
|
|
17963
17964
|
"updated_at": {
|
|
@@ -17966,7 +17967,7 @@
|
|
|
17966
17967
|
"title": "Updated At",
|
|
17967
17968
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17968
17969
|
"examples": [
|
|
17969
|
-
"2025-10-
|
|
17970
|
+
"2025-10-16T00:00:00Z"
|
|
17970
17971
|
]
|
|
17971
17972
|
},
|
|
17972
17973
|
"upload_file_metadata": {
|
|
@@ -18111,7 +18112,7 @@
|
|
|
18111
18112
|
"title": "Start Time",
|
|
18112
18113
|
"description": "Start time of the uploaded file",
|
|
18113
18114
|
"examples": [
|
|
18114
|
-
"2025-10-
|
|
18115
|
+
"2025-10-15T00:00:00Z"
|
|
18115
18116
|
]
|
|
18116
18117
|
},
|
|
18117
18118
|
"end_time": {
|
|
@@ -18127,7 +18128,7 @@
|
|
|
18127
18128
|
"title": "End Time",
|
|
18128
18129
|
"description": "End time of the uploaded file",
|
|
18129
18130
|
"examples": [
|
|
18130
|
-
"2025-10-
|
|
18131
|
+
"2025-10-16T00:00:00Z"
|
|
18131
18132
|
]
|
|
18132
18133
|
},
|
|
18133
18134
|
"error_message": {
|
|
@@ -18182,7 +18183,7 @@
|
|
|
18182
18183
|
"title": "Created At",
|
|
18183
18184
|
"description": "Timestamp at which insight upload file was created",
|
|
18184
18185
|
"examples": [
|
|
18185
|
-
"2025-10-
|
|
18186
|
+
"2025-10-15T00:00:00Z"
|
|
18186
18187
|
]
|
|
18187
18188
|
}
|
|
18188
18189
|
},
|
|
@@ -20598,6 +20599,27 @@
|
|
|
20598
20599
|
"sometoken"
|
|
20599
20600
|
]
|
|
20600
20601
|
},
|
|
20602
|
+
"provider_credentials": {
|
|
20603
|
+
"anyOf": [
|
|
20604
|
+
{
|
|
20605
|
+
"additionalProperties": {
|
|
20606
|
+
"type": "string"
|
|
20607
|
+
},
|
|
20608
|
+
"type": "object"
|
|
20609
|
+
},
|
|
20610
|
+
{
|
|
20611
|
+
"type": "null"
|
|
20612
|
+
}
|
|
20613
|
+
],
|
|
20614
|
+
"title": "Provider Credentials",
|
|
20615
|
+
"description": "Provider-specific credentials. Initially to be used for AfricasTalking creds.In a future this would be used for Twilio creds too (removing the account_sid and auth_token fields).",
|
|
20616
|
+
"examples": [
|
|
20617
|
+
{
|
|
20618
|
+
"api_key": "atk123",
|
|
20619
|
+
"username": "test_username"
|
|
20620
|
+
}
|
|
20621
|
+
]
|
|
20622
|
+
},
|
|
20601
20623
|
"telephony": {
|
|
20602
20624
|
"anyOf": [
|
|
20603
20625
|
{
|
|
@@ -20677,6 +20699,18 @@
|
|
|
20677
20699
|
"passive_speech_input_enabled": true,
|
|
20678
20700
|
"pre_input_timeout": 3.0
|
|
20679
20701
|
}
|
|
20702
|
+
},
|
|
20703
|
+
{
|
|
20704
|
+
"provider_credentials": {
|
|
20705
|
+
"api_key": "atk123",
|
|
20706
|
+
"username": "test_username"
|
|
20707
|
+
},
|
|
20708
|
+
"telephony": {
|
|
20709
|
+
"interruptibility": "dtmf_only",
|
|
20710
|
+
"passive_input_start": 0.5,
|
|
20711
|
+
"passive_speech_input_enabled": true,
|
|
20712
|
+
"pre_input_timeout": 3.0
|
|
20713
|
+
}
|
|
20680
20714
|
}
|
|
20681
20715
|
]
|
|
20682
20716
|
}
|
|
@@ -20744,6 +20778,18 @@
|
|
|
20744
20778
|
"passive_speech_input_enabled": true,
|
|
20745
20779
|
"pre_input_timeout": 3.0
|
|
20746
20780
|
}
|
|
20781
|
+
},
|
|
20782
|
+
{
|
|
20783
|
+
"provider_credentials": {
|
|
20784
|
+
"api_key": "atk123",
|
|
20785
|
+
"username": "test_username"
|
|
20786
|
+
},
|
|
20787
|
+
"telephony": {
|
|
20788
|
+
"interruptibility": "dtmf_only",
|
|
20789
|
+
"passive_input_start": 0.5,
|
|
20790
|
+
"passive_speech_input_enabled": true,
|
|
20791
|
+
"pre_input_timeout": 3.0
|
|
20792
|
+
}
|
|
20747
20793
|
}
|
|
20748
20794
|
]
|
|
20749
20795
|
},
|
|
@@ -21166,7 +21212,7 @@
|
|
|
21166
21212
|
"title": "Created At",
|
|
21167
21213
|
"description": "Timestamp of campaign creation",
|
|
21168
21214
|
"examples": [
|
|
21169
|
-
"2025-10-
|
|
21215
|
+
"2025-10-16T00:00:00Z"
|
|
21170
21216
|
]
|
|
21171
21217
|
},
|
|
21172
21218
|
"updated_at": {
|
|
@@ -21175,7 +21221,7 @@
|
|
|
21175
21221
|
"title": "Updated At",
|
|
21176
21222
|
"description": "Timestamp of campaign update",
|
|
21177
21223
|
"examples": [
|
|
21178
|
-
"2025-10-
|
|
21224
|
+
"2025-10-16T00:00:00Z"
|
|
21179
21225
|
]
|
|
21180
21226
|
},
|
|
21181
21227
|
"last_updated_by": {
|