retell-sdk 5.63.0 → 5.65.0
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/CHANGELOG.md +42 -0
- package/README.md +29 -0
- package/client.d.mts +20 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -8
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +102 -12
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +102 -12
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +32 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +32 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/app.d.mts +439 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +439 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +69 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +65 -0
- package/resources/app.mjs.map +1 -0
- package/resources/asset.d.mts +53 -0
- package/resources/asset.d.mts.map +1 -0
- package/resources/asset.d.ts +53 -0
- package/resources/asset.d.ts.map +1 -0
- package/resources/asset.js +20 -0
- package/resources/asset.js.map +1 -0
- package/resources/asset.mjs +16 -0
- package/resources/asset.mjs.map +1 -0
- package/resources/batch-call.d.mts +4 -2
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +4 -2
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +221 -27
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +221 -27
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +37 -5
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +37 -5
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +4 -10
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +4 -10
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +2 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +2 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +24 -11
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +24 -11
- package/resources/chat.d.ts.map +1 -1
- package/resources/contact.d.mts +669 -0
- package/resources/contact.d.mts.map +1 -0
- package/resources/contact.d.ts +669 -0
- package/resources/contact.d.ts.map +1 -0
- package/resources/contact.js +100 -0
- package/resources/contact.js.map +1 -0
- package/resources/contact.mjs +96 -0
- package/resources/contact.mjs.map +1 -0
- package/resources/conversation-flow-component.d.mts +56 -8
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +56 -8
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +120 -16
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +120 -16
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +3 -1
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +3 -1
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/crm.d.mts +226 -0
- package/resources/crm.d.mts.map +1 -0
- package/resources/crm.d.ts +226 -0
- package/resources/crm.d.ts.map +1 -0
- package/resources/crm.js +46 -0
- package/resources/crm.js.map +1 -0
- package/resources/crm.mjs +42 -0
- package/resources/crm.mjs.map +1 -0
- package/resources/export-request.d.mts +2 -2
- package/resources/export-request.d.mts.map +1 -1
- package/resources/export-request.d.ts +2 -2
- package/resources/export-request.d.ts.map +1 -1
- package/resources/index.d.mts +8 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-base.d.mts +16 -8
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +16 -8
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +66 -10
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +66 -10
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +3 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +3 -1
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.mts +14 -8
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +14 -8
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/tests.d.mts +6 -6
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +6 -6
- package/resources/tests.d.ts.map +1 -1
- package/resources/voice.d.mts +4 -4
- package/resources/voice.d.mts.map +1 -1
- package/resources/voice.d.ts +4 -4
- package/resources/voice.d.ts.map +1 -1
- package/src/client.ts +116 -0
- package/src/resources/agent.ts +141 -9
- package/src/resources/app.ts +593 -0
- package/src/resources/asset.ts +69 -0
- package/src/resources/batch-call.ts +6 -1
- package/src/resources/call.ts +289 -25
- package/src/resources/chat-agent.ts +4 -10
- package/src/resources/chat.ts +28 -11
- package/src/resources/contact.ts +910 -0
- package/src/resources/conversation-flow-component.ts +56 -8
- package/src/resources/conversation-flow.ts +127 -15
- package/src/resources/crm.ts +298 -0
- package/src/resources/export-request.ts +2 -2
- package/src/resources/index.ts +50 -0
- package/src/resources/knowledge-base.ts +16 -8
- package/src/resources/llm.ts +73 -9
- package/src/resources/phone-number.ts +14 -8
- package/src/resources/tests.ts +6 -6
- package/src/resources/voice.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Contact = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
|
+
const uploads_1 = require("../internal/uploads.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
class Contact extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Create a new contact.
|
|
12
|
+
*/
|
|
13
|
+
create(body, options) {
|
|
14
|
+
return this._client.post('/create-contact', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Update an existing contact.
|
|
18
|
+
*/
|
|
19
|
+
update(contactID, body, options) {
|
|
20
|
+
return this._client.patch((0, path_1.path) `/update-contact/${contactID}`, { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List contacts, newest conversation first by default, with the total count of
|
|
24
|
+
* matches alongside the page. Page through results with `pagination_key`; `skip`
|
|
25
|
+
* is available for offset-style paging but is slower on large contact sets and can
|
|
26
|
+
* repeat or miss rows as contacts are updated.
|
|
27
|
+
*/
|
|
28
|
+
list(body = {}, options) {
|
|
29
|
+
return this._client.post('/list-contacts', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Delete a contact. A contact linked to a record in a connected CRM cannot be
|
|
33
|
+
* deleted while two-way sync is active — unlink the CRM app first, otherwise the
|
|
34
|
+
* next sync would recreate it.
|
|
35
|
+
*/
|
|
36
|
+
delete(contactID, options) {
|
|
37
|
+
return this._client.delete((0, path_1.path) `/delete-contact/${contactID}`, {
|
|
38
|
+
...options,
|
|
39
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Trigger a backfill job that re-applies analysis data mappings to contacts using
|
|
44
|
+
* historical call data. Only one backfill job can run per organization at a time.
|
|
45
|
+
*/
|
|
46
|
+
backfillAnalysisData(body, options) {
|
|
47
|
+
return this._client.post('/backfill-contact-analysis-data', { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Start an incremental contact import from an uploaded CSV: creates new contacts
|
|
51
|
+
* and updates existing ones matched by phone number. Mapped columns overwrite the
|
|
52
|
+
* matched contact's fields; unmapped columns are ignored. Runs asynchronously —
|
|
53
|
+
* poll get-contact-import for progress.
|
|
54
|
+
*/
|
|
55
|
+
createImport(body, options) {
|
|
56
|
+
return this._client.post('/create-contact-import', { body, ...options });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Retrieve a contact by ID.
|
|
60
|
+
*/
|
|
61
|
+
get(contactID, options) {
|
|
62
|
+
return this._client.get((0, path_1.path) `/get-contact/${contactID}`, options);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get the status of the contact analysis data backfill job.
|
|
66
|
+
*/
|
|
67
|
+
getBackfillJobStatus(options) {
|
|
68
|
+
return this._client.get('/get-backfill-contact-job-status', options);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Retrieve a contact by phone number. At most one contact exists per phone number
|
|
72
|
+
* in an organization.
|
|
73
|
+
*/
|
|
74
|
+
getByPhone(phoneNumber, options) {
|
|
75
|
+
return this._client.get((0, path_1.path) `/get-contact-by-phone/${phoneNumber}`, options);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Status and counts for the org's current or latest contact import.
|
|
79
|
+
*/
|
|
80
|
+
getImport(options) {
|
|
81
|
+
return this._client.get('/get-contact-import', options);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* List a contact's conversations (inbound calls, outbound calls, and chats) merged
|
|
85
|
+
* into a single timeline, most recent first. Results are matched by the contact's
|
|
86
|
+
* phone number. Use the returned `pagination_key` to fetch the next page.
|
|
87
|
+
*/
|
|
88
|
+
listConversations(contactID, query = {}, options) {
|
|
89
|
+
return this._client.get((0, path_1.path) `/list-contact-conversations/${contactID}`, { query, ...options });
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Upload a CSV file for a contact import. The file is stored privately and
|
|
93
|
+
* referenced by the returned upload_id in create-contact-import.
|
|
94
|
+
*/
|
|
95
|
+
uploadImportFile(body, options) {
|
|
96
|
+
return this._client.post('/upload-contact-import-file', (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.Contact = Contact;
|
|
100
|
+
//# sourceMappingURL=contact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../src/resources/contact.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAAmD;AAEnD,oDAAkE;AAClE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,OAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,SAAS,EAAE,EAA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GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;OAGG;IACH,gBAAgB,CACd,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,6BAA6B,EAC7B,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AA3HD,0BA2HC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { multipartFormRequestOptions } from "../internal/uploads.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
export class Contact extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create a new contact.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/create-contact', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Update an existing contact.
|
|
15
|
+
*/
|
|
16
|
+
update(contactID, body, options) {
|
|
17
|
+
return this._client.patch(path `/update-contact/${contactID}`, { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* List contacts, newest conversation first by default, with the total count of
|
|
21
|
+
* matches alongside the page. Page through results with `pagination_key`; `skip`
|
|
22
|
+
* is available for offset-style paging but is slower on large contact sets and can
|
|
23
|
+
* repeat or miss rows as contacts are updated.
|
|
24
|
+
*/
|
|
25
|
+
list(body = {}, options) {
|
|
26
|
+
return this._client.post('/list-contacts', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Delete a contact. A contact linked to a record in a connected CRM cannot be
|
|
30
|
+
* deleted while two-way sync is active — unlink the CRM app first, otherwise the
|
|
31
|
+
* next sync would recreate it.
|
|
32
|
+
*/
|
|
33
|
+
delete(contactID, options) {
|
|
34
|
+
return this._client.delete(path `/delete-contact/${contactID}`, {
|
|
35
|
+
...options,
|
|
36
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Trigger a backfill job that re-applies analysis data mappings to contacts using
|
|
41
|
+
* historical call data. Only one backfill job can run per organization at a time.
|
|
42
|
+
*/
|
|
43
|
+
backfillAnalysisData(body, options) {
|
|
44
|
+
return this._client.post('/backfill-contact-analysis-data', { body, ...options });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Start an incremental contact import from an uploaded CSV: creates new contacts
|
|
48
|
+
* and updates existing ones matched by phone number. Mapped columns overwrite the
|
|
49
|
+
* matched contact's fields; unmapped columns are ignored. Runs asynchronously —
|
|
50
|
+
* poll get-contact-import for progress.
|
|
51
|
+
*/
|
|
52
|
+
createImport(body, options) {
|
|
53
|
+
return this._client.post('/create-contact-import', { body, ...options });
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Retrieve a contact by ID.
|
|
57
|
+
*/
|
|
58
|
+
get(contactID, options) {
|
|
59
|
+
return this._client.get(path `/get-contact/${contactID}`, options);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get the status of the contact analysis data backfill job.
|
|
63
|
+
*/
|
|
64
|
+
getBackfillJobStatus(options) {
|
|
65
|
+
return this._client.get('/get-backfill-contact-job-status', options);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Retrieve a contact by phone number. At most one contact exists per phone number
|
|
69
|
+
* in an organization.
|
|
70
|
+
*/
|
|
71
|
+
getByPhone(phoneNumber, options) {
|
|
72
|
+
return this._client.get(path `/get-contact-by-phone/${phoneNumber}`, options);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Status and counts for the org's current or latest contact import.
|
|
76
|
+
*/
|
|
77
|
+
getImport(options) {
|
|
78
|
+
return this._client.get('/get-contact-import', options);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* List a contact's conversations (inbound calls, outbound calls, and chats) merged
|
|
82
|
+
* into a single timeline, most recent first. Results are matched by the contact's
|
|
83
|
+
* phone number. Use the returned `pagination_key` to fetch the next page.
|
|
84
|
+
*/
|
|
85
|
+
listConversations(contactID, query = {}, options) {
|
|
86
|
+
return this._client.get(path `/list-contact-conversations/${contactID}`, { query, ...options });
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Upload a CSV file for a contact import. The file is stored privately and
|
|
90
|
+
* referenced by the returned upload_id in create-contact-import.
|
|
91
|
+
*/
|
|
92
|
+
uploadImportFile(body, options) {
|
|
93
|
+
return this._client.post('/upload-contact-import-file', multipartFormRequestOptions({ body, ...options }, this._client));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact.mjs","sourceRoot":"","sources":["../src/resources/contact.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,2BAA2B,EAAE,gCAA4B;AAClE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC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C;IACvE,CAAC;IAED;;;OAGG;IACH,UAAU,CAAC,WAAmB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;OAIG;IACH,iBAAiB,CACf,SAAiB,EACjB,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;OAGG;IACH,gBAAgB,CACd,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,6BAA6B,EAC7B,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1377,6 +1377,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
|
+
/**
|
|
1381
|
+
* @deprecated
|
|
1382
|
+
*/
|
|
1380
1383
|
interface CheckAvailabilityCalTool {
|
|
1381
1384
|
/**
|
|
1382
1385
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -1411,6 +1414,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
1411
1414
|
*/
|
|
1412
1415
|
timezone?: string;
|
|
1413
1416
|
}
|
|
1417
|
+
/**
|
|
1418
|
+
* @deprecated
|
|
1419
|
+
*/
|
|
1414
1420
|
interface BookAppointmentCalTool {
|
|
1415
1421
|
/**
|
|
1416
1422
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -1486,7 +1492,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
1486
1492
|
*/
|
|
1487
1493
|
keep_current_language?: boolean;
|
|
1488
1494
|
/**
|
|
1489
|
-
* If true, keep the current voice when swapping agents.
|
|
1495
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
1496
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
1497
|
+
* Defaults to false.
|
|
1490
1498
|
*/
|
|
1491
1499
|
keep_current_voice?: boolean;
|
|
1492
1500
|
speak_during_execution?: boolean;
|
|
@@ -4639,7 +4647,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
4639
4647
|
*/
|
|
4640
4648
|
keep_current_language?: boolean;
|
|
4641
4649
|
/**
|
|
4642
|
-
* If true, keep the current voice when swapping agents.
|
|
4650
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
4651
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
4652
|
+
* Defaults to false.
|
|
4643
4653
|
*/
|
|
4644
4654
|
keep_current_voice?: boolean;
|
|
4645
4655
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -6049,6 +6059,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
6049
6059
|
required?: Array<string>;
|
|
6050
6060
|
}
|
|
6051
6061
|
}
|
|
6062
|
+
/**
|
|
6063
|
+
* @deprecated
|
|
6064
|
+
*/
|
|
6052
6065
|
interface CheckAvailabilityCalTool {
|
|
6053
6066
|
/**
|
|
6054
6067
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -6087,6 +6100,9 @@ export declare namespace ConversationFlowComponentResponse {
|
|
|
6087
6100
|
*/
|
|
6088
6101
|
tool_id?: string;
|
|
6089
6102
|
}
|
|
6103
|
+
/**
|
|
6104
|
+
* @deprecated
|
|
6105
|
+
*/
|
|
6090
6106
|
interface BookAppointmentCalTool {
|
|
6091
6107
|
/**
|
|
6092
6108
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -6130,8 +6146,8 @@ export interface ConversationFlowComponentListResponse {
|
|
|
6130
6146
|
/**
|
|
6131
6147
|
* Whether more results are available.
|
|
6132
6148
|
*/
|
|
6133
|
-
has_more
|
|
6134
|
-
items
|
|
6149
|
+
has_more: boolean;
|
|
6150
|
+
items: Array<ConversationFlowComponentResponse>;
|
|
6135
6151
|
/**
|
|
6136
6152
|
* Pagination key for the next page.
|
|
6137
6153
|
*/
|
|
@@ -7431,6 +7447,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
7431
7447
|
}
|
|
7432
7448
|
}
|
|
7433
7449
|
}
|
|
7450
|
+
/**
|
|
7451
|
+
* @deprecated
|
|
7452
|
+
*/
|
|
7434
7453
|
interface CheckAvailabilityCalTool {
|
|
7435
7454
|
/**
|
|
7436
7455
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -7465,6 +7484,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
7465
7484
|
*/
|
|
7466
7485
|
timezone?: string;
|
|
7467
7486
|
}
|
|
7487
|
+
/**
|
|
7488
|
+
* @deprecated
|
|
7489
|
+
*/
|
|
7468
7490
|
interface BookAppointmentCalTool {
|
|
7469
7491
|
/**
|
|
7470
7492
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -7540,7 +7562,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
7540
7562
|
*/
|
|
7541
7563
|
keep_current_language?: boolean;
|
|
7542
7564
|
/**
|
|
7543
|
-
* If true, keep the current voice when swapping agents.
|
|
7565
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
7566
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
7567
|
+
* Defaults to false.
|
|
7544
7568
|
*/
|
|
7545
7569
|
keep_current_voice?: boolean;
|
|
7546
7570
|
speak_during_execution?: boolean;
|
|
@@ -10693,7 +10717,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
10693
10717
|
*/
|
|
10694
10718
|
keep_current_language?: boolean;
|
|
10695
10719
|
/**
|
|
10696
|
-
* If true, keep the current voice when swapping agents.
|
|
10720
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
10721
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
10722
|
+
* Defaults to false.
|
|
10697
10723
|
*/
|
|
10698
10724
|
keep_current_voice?: boolean;
|
|
10699
10725
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -12103,6 +12129,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
12103
12129
|
required?: Array<string>;
|
|
12104
12130
|
}
|
|
12105
12131
|
}
|
|
12132
|
+
/**
|
|
12133
|
+
* @deprecated
|
|
12134
|
+
*/
|
|
12106
12135
|
interface CheckAvailabilityCalTool {
|
|
12107
12136
|
/**
|
|
12108
12137
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -12141,6 +12170,9 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
12141
12170
|
*/
|
|
12142
12171
|
tool_id?: string;
|
|
12143
12172
|
}
|
|
12173
|
+
/**
|
|
12174
|
+
* @deprecated
|
|
12175
|
+
*/
|
|
12144
12176
|
interface BookAppointmentCalTool {
|
|
12145
12177
|
/**
|
|
12146
12178
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -13505,6 +13537,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
13505
13537
|
}
|
|
13506
13538
|
}
|
|
13507
13539
|
}
|
|
13540
|
+
/**
|
|
13541
|
+
* @deprecated
|
|
13542
|
+
*/
|
|
13508
13543
|
interface CheckAvailabilityCalTool {
|
|
13509
13544
|
/**
|
|
13510
13545
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -13539,6 +13574,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
13539
13574
|
*/
|
|
13540
13575
|
timezone?: string;
|
|
13541
13576
|
}
|
|
13577
|
+
/**
|
|
13578
|
+
* @deprecated
|
|
13579
|
+
*/
|
|
13542
13580
|
interface BookAppointmentCalTool {
|
|
13543
13581
|
/**
|
|
13544
13582
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -13614,7 +13652,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
13614
13652
|
*/
|
|
13615
13653
|
keep_current_language?: boolean;
|
|
13616
13654
|
/**
|
|
13617
|
-
* If true, keep the current voice when swapping agents.
|
|
13655
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
13656
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
13657
|
+
* Defaults to false.
|
|
13618
13658
|
*/
|
|
13619
13659
|
keep_current_voice?: boolean;
|
|
13620
13660
|
speak_during_execution?: boolean;
|
|
@@ -16767,7 +16807,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
16767
16807
|
*/
|
|
16768
16808
|
keep_current_language?: boolean;
|
|
16769
16809
|
/**
|
|
16770
|
-
* If true, keep the current voice when swapping agents.
|
|
16810
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
16811
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
16812
|
+
* Defaults to false.
|
|
16771
16813
|
*/
|
|
16772
16814
|
keep_current_voice?: boolean;
|
|
16773
16815
|
model_choice?: AgentSwapNode.ModelChoice;
|
|
@@ -18146,6 +18188,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
18146
18188
|
required?: Array<string>;
|
|
18147
18189
|
}
|
|
18148
18190
|
}
|
|
18191
|
+
/**
|
|
18192
|
+
* @deprecated
|
|
18193
|
+
*/
|
|
18149
18194
|
interface CheckAvailabilityCalTool {
|
|
18150
18195
|
/**
|
|
18151
18196
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -18184,6 +18229,9 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
18184
18229
|
*/
|
|
18185
18230
|
tool_id?: string;
|
|
18186
18231
|
}
|
|
18232
|
+
/**
|
|
18233
|
+
* @deprecated
|
|
18234
|
+
*/
|
|
18187
18235
|
interface BookAppointmentCalTool {
|
|
18188
18236
|
/**
|
|
18189
18237
|
* Cal.com Api key that have access to the cal.com event you want to book
|