@l7mp/tivadar-ai-api-sdk 0.2.5 → 0.2.7
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/dist/api-client.d.ts +29 -2
- package/dist/api-client.js +24 -1
- package/dist/apis/PhonebookApi.d.ts +133 -0
- package/dist/apis/PhonebookApi.js +434 -0
- package/dist/apis/RAGApi.d.ts +15 -13
- package/dist/apis/RAGApi.js +47 -45
- package/dist/apis/ToolsApi.d.ts +68 -0
- package/dist/apis/ToolsApi.js +205 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/api-client.d.ts +29 -2
- package/dist/esm/api-client.js +24 -1
- package/dist/esm/apis/PhonebookApi.d.ts +133 -0
- package/dist/esm/apis/PhonebookApi.js +430 -0
- package/dist/esm/apis/RAGApi.d.ts +15 -13
- package/dist/esm/apis/RAGApi.js +47 -45
- package/dist/esm/apis/ToolsApi.d.ts +68 -0
- package/dist/esm/apis/ToolsApi.js +201 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AgentTool.d.ts +79 -0
- package/dist/esm/models/AgentTool.js +66 -0
- package/dist/esm/models/AgentToolUpsert.d.ts +40 -0
- package/dist/esm/models/AgentToolUpsert.js +45 -0
- package/dist/esm/models/Notification.d.ts +16 -17
- package/dist/esm/models/Notification.js +8 -8
- package/dist/esm/models/NotificationCreate.d.ts +3 -4
- package/dist/esm/models/NotificationCreate.js +4 -2
- package/dist/esm/models/NotificationLocalizedContentValue.d.ts +38 -0
- package/dist/esm/models/NotificationLocalizedContentValue.js +47 -0
- package/dist/esm/models/NotificationUpdate.d.ts +3 -4
- package/dist/esm/models/NotificationUpdate.js +4 -2
- package/dist/esm/models/Phonebook.d.ts +56 -0
- package/dist/esm/models/Phonebook.js +59 -0
- package/dist/esm/models/PhonebookEntry.d.ts +89 -0
- package/dist/esm/models/PhonebookEntry.js +79 -0
- package/dist/esm/models/PhonebookEntryCreate.d.ts +50 -0
- package/dist/esm/models/PhonebookEntryCreate.js +51 -0
- package/dist/esm/models/PhonebookEntryUpdate.d.ts +50 -0
- package/dist/esm/models/PhonebookEntryUpdate.js +47 -0
- package/dist/esm/models/PhonebookImportResult.d.ts +57 -0
- package/dist/esm/models/PhonebookImportResult.js +60 -0
- package/dist/esm/models/PhonebookImportResultErrorsInner.d.ts +38 -0
- package/dist/esm/models/PhonebookImportResultErrorsInner.js +47 -0
- package/dist/esm/models/PhonebookUpdate.d.ts +32 -0
- package/dist/esm/models/PhonebookUpdate.js +41 -0
- package/dist/esm/models/Tool.d.ts +102 -0
- package/dist/esm/models/Tool.js +77 -0
- package/dist/esm/models/ToolCreate.d.ts +84 -0
- package/dist/esm/models/ToolCreate.js +63 -0
- package/dist/esm/models/ToolUpdate.d.ts +78 -0
- package/dist/esm/models/ToolUpdate.js +55 -0
- package/dist/esm/models/UserPreferences.d.ts +1 -1
- package/dist/esm/models/UserPreferences.js +3 -1
- package/dist/esm/models/UserPreferencesUpdate.d.ts +1 -1
- package/dist/esm/models/UserPreferencesUpdate.js +3 -1
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/models/AgentTool.d.ts +79 -0
- package/dist/models/AgentTool.js +73 -0
- package/dist/models/AgentToolUpsert.d.ts +40 -0
- package/dist/models/AgentToolUpsert.js +52 -0
- package/dist/models/Notification.d.ts +16 -17
- package/dist/models/Notification.js +8 -8
- package/dist/models/NotificationCreate.d.ts +3 -4
- package/dist/models/NotificationCreate.js +4 -2
- package/dist/models/NotificationLocalizedContentValue.d.ts +38 -0
- package/dist/models/NotificationLocalizedContentValue.js +54 -0
- package/dist/models/NotificationUpdate.d.ts +3 -4
- package/dist/models/NotificationUpdate.js +4 -2
- package/dist/models/Phonebook.d.ts +56 -0
- package/dist/models/Phonebook.js +66 -0
- package/dist/models/PhonebookEntry.d.ts +89 -0
- package/dist/models/PhonebookEntry.js +87 -0
- package/dist/models/PhonebookEntryCreate.d.ts +50 -0
- package/dist/models/PhonebookEntryCreate.js +58 -0
- package/dist/models/PhonebookEntryUpdate.d.ts +50 -0
- package/dist/models/PhonebookEntryUpdate.js +54 -0
- package/dist/models/PhonebookImportResult.d.ts +57 -0
- package/dist/models/PhonebookImportResult.js +67 -0
- package/dist/models/PhonebookImportResultErrorsInner.d.ts +38 -0
- package/dist/models/PhonebookImportResultErrorsInner.js +54 -0
- package/dist/models/PhonebookUpdate.d.ts +32 -0
- package/dist/models/PhonebookUpdate.js +48 -0
- package/dist/models/Tool.d.ts +102 -0
- package/dist/models/Tool.js +84 -0
- package/dist/models/ToolCreate.d.ts +84 -0
- package/dist/models/ToolCreate.js +70 -0
- package/dist/models/ToolUpdate.d.ts +78 -0
- package/dist/models/ToolUpdate.js +62 -0
- package/dist/models/UserPreferences.d.ts +1 -1
- package/dist/models/UserPreferences.js +3 -1
- package/dist/models/UserPreferencesUpdate.d.ts +1 -1
- package/dist/models/UserPreferencesUpdate.js +3 -1
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/api-client.ts +54 -2
- package/src/apis/PhonebookApi.ts +599 -0
- package/src/apis/RAGApi.ts +69 -67
- package/src/apis/ToolsApi.ts +287 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AgentTool.ts +134 -0
- package/src/models/AgentToolUpsert.ts +74 -0
- package/src/models/CalendarEvent.ts +1 -0
- package/src/models/CalendarEventCreate.ts +1 -0
- package/src/models/CalendarEventUpdate.ts +1 -0
- package/src/models/Call.ts +1 -0
- package/src/models/CallCreate.ts +1 -0
- package/src/models/CallUpdate.ts +1 -0
- package/src/models/Notification.ts +29 -22
- package/src/models/NotificationCreate.ts +12 -4
- package/src/models/NotificationLocalizedContentValue.ts +75 -0
- package/src/models/NotificationUpdate.ts +12 -4
- package/src/models/Phonebook.ts +102 -0
- package/src/models/PhonebookEntry.ts +148 -0
- package/src/models/PhonebookEntryCreate.ts +91 -0
- package/src/models/PhonebookEntryUpdate.ts +89 -0
- package/src/models/PhonebookImportResult.ts +110 -0
- package/src/models/PhonebookImportResultErrorsInner.ts +75 -0
- package/src/models/PhonebookUpdate.ts +65 -0
- package/src/models/Tool.ts +160 -0
- package/src/models/ToolCreate.ts +132 -0
- package/src/models/ToolUpdate.ts +121 -0
- package/src/models/UserPreferences.ts +4 -4
- package/src/models/UserPreferencesUpdate.ts +4 -4
- package/src/models/index.ts +13 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ToolsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ToolsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* List available tools in the catalog
|
|
34
|
+
*/
|
|
35
|
+
organizationsOrganizationIdToolsGetRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['organizationId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdToolsGet().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
43
|
+
const token = this.configuration.accessToken;
|
|
44
|
+
const tokenString = yield token("bearerAuth", []);
|
|
45
|
+
if (tokenString) {
|
|
46
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
let urlPath = `/organizations/{organizationId}/tools`;
|
|
50
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
51
|
+
const response = yield this.request({
|
|
52
|
+
path: urlPath,
|
|
53
|
+
method: 'GET',
|
|
54
|
+
headers: headerParameters,
|
|
55
|
+
query: queryParameters,
|
|
56
|
+
}, initOverrides);
|
|
57
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ToolFromJSON));
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* List available tools in the catalog
|
|
62
|
+
*/
|
|
63
|
+
organizationsOrganizationIdToolsGet(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
const response = yield this.organizationsOrganizationIdToolsGetRaw(requestParameters, initOverrides);
|
|
66
|
+
return yield response.value();
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* List tools enabled (or previously configured) for a voice agent
|
|
71
|
+
*/
|
|
72
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGetRaw(requestParameters, initOverrides) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
if (requestParameters['organizationId'] == null) {
|
|
75
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet().');
|
|
76
|
+
}
|
|
77
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
78
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet().');
|
|
79
|
+
}
|
|
80
|
+
const queryParameters = {};
|
|
81
|
+
const headerParameters = {};
|
|
82
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
83
|
+
const token = this.configuration.accessToken;
|
|
84
|
+
const tokenString = yield token("bearerAuth", []);
|
|
85
|
+
if (tokenString) {
|
|
86
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools`;
|
|
90
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
91
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
92
|
+
const response = yield this.request({
|
|
93
|
+
path: urlPath,
|
|
94
|
+
method: 'GET',
|
|
95
|
+
headers: headerParameters,
|
|
96
|
+
query: queryParameters,
|
|
97
|
+
}, initOverrides);
|
|
98
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.AgentToolFromJSON));
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* List tools enabled (or previously configured) for a voice agent
|
|
103
|
+
*/
|
|
104
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGetRaw(requestParameters, initOverrides);
|
|
107
|
+
return yield response.value();
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Remove a tool configuration from a voice agent
|
|
112
|
+
*/
|
|
113
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDeleteRaw(requestParameters, initOverrides) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
if (requestParameters['organizationId'] == null) {
|
|
116
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
119
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['toolName'] == null) {
|
|
122
|
+
throw new runtime.RequiredError('toolName', 'Required parameter "toolName" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
123
|
+
}
|
|
124
|
+
const queryParameters = {};
|
|
125
|
+
const headerParameters = {};
|
|
126
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
127
|
+
const token = this.configuration.accessToken;
|
|
128
|
+
const tokenString = yield token("bearerAuth", []);
|
|
129
|
+
if (tokenString) {
|
|
130
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools/{toolName}`;
|
|
134
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
135
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
136
|
+
urlPath = urlPath.replace(`{${"toolName"}}`, encodeURIComponent(String(requestParameters['toolName'])));
|
|
137
|
+
const response = yield this.request({
|
|
138
|
+
path: urlPath,
|
|
139
|
+
method: 'DELETE',
|
|
140
|
+
headers: headerParameters,
|
|
141
|
+
query: queryParameters,
|
|
142
|
+
}, initOverrides);
|
|
143
|
+
return new runtime.VoidApiResponse(response);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Remove a tool configuration from a voice agent
|
|
148
|
+
*/
|
|
149
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete(requestParameters, initOverrides) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDeleteRaw(requestParameters, initOverrides);
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Enable or update a tool for a voice agent
|
|
156
|
+
*/
|
|
157
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePutRaw(requestParameters, initOverrides) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
+
if (requestParameters['organizationId'] == null) {
|
|
160
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
161
|
+
}
|
|
162
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
163
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
164
|
+
}
|
|
165
|
+
if (requestParameters['toolName'] == null) {
|
|
166
|
+
throw new runtime.RequiredError('toolName', 'Required parameter "toolName" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
167
|
+
}
|
|
168
|
+
if (requestParameters['agentToolUpsert'] == null) {
|
|
169
|
+
throw new runtime.RequiredError('agentToolUpsert', 'Required parameter "agentToolUpsert" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
170
|
+
}
|
|
171
|
+
const queryParameters = {};
|
|
172
|
+
const headerParameters = {};
|
|
173
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
174
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
175
|
+
const token = this.configuration.accessToken;
|
|
176
|
+
const tokenString = yield token("bearerAuth", []);
|
|
177
|
+
if (tokenString) {
|
|
178
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools/{toolName}`;
|
|
182
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
183
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
184
|
+
urlPath = urlPath.replace(`{${"toolName"}}`, encodeURIComponent(String(requestParameters['toolName'])));
|
|
185
|
+
const response = yield this.request({
|
|
186
|
+
path: urlPath,
|
|
187
|
+
method: 'PUT',
|
|
188
|
+
headers: headerParameters,
|
|
189
|
+
query: queryParameters,
|
|
190
|
+
body: (0, index_1.AgentToolUpsertToJSON)(requestParameters['agentToolUpsert']),
|
|
191
|
+
}, initOverrides);
|
|
192
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AgentToolFromJSON)(jsonValue));
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Enable or update a tool for a voice agent
|
|
197
|
+
*/
|
|
198
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut(requestParameters, initOverrides) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePutRaw(requestParameters, initOverrides);
|
|
201
|
+
return yield response.value();
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.ToolsApi = ToolsApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './LLMProvidersApi';
|
|
|
8
8
|
export * from './MembersApi';
|
|
9
9
|
export * from './NotificationsApi';
|
|
10
10
|
export * from './OrganizationsApi';
|
|
11
|
+
export * from './PhonebookApi';
|
|
11
12
|
export * from './PlaygroundApi';
|
|
12
13
|
export * from './ProfileApi';
|
|
13
14
|
export * from './RAGApi';
|
|
@@ -16,4 +17,5 @@ export * from './SIPApi';
|
|
|
16
17
|
export * from './STTProvidersApi';
|
|
17
18
|
export * from './SubscriptionApi';
|
|
18
19
|
export * from './TTSProvidersApi';
|
|
20
|
+
export * from './ToolsApi';
|
|
19
21
|
export * from './VoiceAgentsApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./LLMProvidersApi"), exports);
|
|
|
26
26
|
__exportStar(require("./MembersApi"), exports);
|
|
27
27
|
__exportStar(require("./NotificationsApi"), exports);
|
|
28
28
|
__exportStar(require("./OrganizationsApi"), exports);
|
|
29
|
+
__exportStar(require("./PhonebookApi"), exports);
|
|
29
30
|
__exportStar(require("./PlaygroundApi"), exports);
|
|
30
31
|
__exportStar(require("./ProfileApi"), exports);
|
|
31
32
|
__exportStar(require("./RAGApi"), exports);
|
|
@@ -34,4 +35,5 @@ __exportStar(require("./SIPApi"), exports);
|
|
|
34
35
|
__exportStar(require("./STTProvidersApi"), exports);
|
|
35
36
|
__exportStar(require("./SubscriptionApi"), exports);
|
|
36
37
|
__exportStar(require("./TTSProvidersApi"), exports);
|
|
38
|
+
__exportStar(require("./ToolsApi"), exports);
|
|
37
39
|
__exportStar(require("./VoiceAgentsApi"), exports);
|
package/dist/esm/api-client.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ import { STTProvidersApi } from "./apis/STTProvidersApi";
|
|
|
17
17
|
import { TTSProvidersApi } from "./apis/TTSProvidersApi";
|
|
18
18
|
import { SubscriptionApi } from "./apis/SubscriptionApi";
|
|
19
19
|
import { VoiceAgentsApi } from "./apis/VoiceAgentsApi";
|
|
20
|
-
import
|
|
20
|
+
import { ToolsApi } from "./apis/ToolsApi";
|
|
21
|
+
import { PhonebookApi } from "./apis/PhonebookApi";
|
|
22
|
+
import type { CallCreate, CallUpdate, NotificationScope, NotificationSeverity, NotificationType, VoiceAgentCreate, VoiceAgentUpdate, ChatAgentCreate, ChatAgentUpdate, Calendar, CalendarCreate, CalendarUpdate, CalendarEventCreate, CalendarEventUpdate, InvitationAccept, InvitationCreate, RagConfigCreate, SipTrunkCreate, DispatchRuleCreate, PhoneNumberCreate, OrganizationCreate, CreateCheckoutSessionRequest, CancelSubscriptionRequest, UpdatePlanRequest, PauseSubscriptionRequest, BillingPortalRequest, UserPreferencesUpdate, AgentToolUpsert, PhonebookUpdate, PhonebookEntryCreate, PhonebookEntryUpdate } from "./models";
|
|
21
23
|
export interface ApiClientConfig {
|
|
22
24
|
baseUrl: string;
|
|
23
25
|
options?: {
|
|
@@ -97,7 +99,7 @@ export declare class Api {
|
|
|
97
99
|
upload: (organizationId: string, ragConfigName: string, file: File, sourceUrl?: string, metadata?: string, options?: RequestInit) => ReturnType<RAGApi["organizationsOrganizationIdRagRagConfigNameDocumentsPost"]>;
|
|
98
100
|
list: (organizationId: string, ragConfigName: string, status?: OrganizationsOrganizationIdRagRagConfigNameDocumentsGetStatusEnum, options?: RequestInit) => ReturnType<RAGApi["organizationsOrganizationIdRagRagConfigNameDocumentsGet"]>;
|
|
99
101
|
get: (organizationId: string, ragConfigName: string, documentId: string, options?: RequestInit) => ReturnType<RAGApi["organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdGet"]>;
|
|
100
|
-
download: (organizationId: string, ragConfigName: string, documentId: string, options?: RequestInit) => ReturnType<RAGApi["
|
|
102
|
+
download: (organizationId: string, ragConfigName: string, documentId: string, options?: RequestInit) => ReturnType<RAGApi["downloadDocumentFile"]>;
|
|
101
103
|
replace: (organizationId: string, ragConfigName: string, documentId: string, file: File, sourceUrl?: string, options?: RequestInit) => ReturnType<RAGApi["organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdPut"]>;
|
|
102
104
|
delete: (organizationId: string, ragConfigName: string, documentId: string, options?: RequestInit) => ReturnType<RAGApi["organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdDelete"]>;
|
|
103
105
|
};
|
|
@@ -150,6 +152,29 @@ export declare class Api {
|
|
|
150
152
|
readonly embeddingProviders: {
|
|
151
153
|
list: (organizationId: string, options?: RequestInit) => ReturnType<EmbeddingProvidersApi["organizationsOrganizationIdEmbeddingProvidersGet"]>;
|
|
152
154
|
};
|
|
155
|
+
readonly tools: {
|
|
156
|
+
listCatalog: (organizationId: string, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdToolsGet"]>;
|
|
157
|
+
listForAgent: (organizationId: string, voiceAgentId: string, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet"]>;
|
|
158
|
+
upsertForAgent: (organizationId: string, voiceAgentId: string, toolName: string, agentToolUpsert: AgentToolUpsert, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut"]>;
|
|
159
|
+
removeFromAgent: (organizationId: string, voiceAgentId: string, toolName: string, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete"]>;
|
|
160
|
+
};
|
|
161
|
+
readonly phonebook: {
|
|
162
|
+
get: (organizationId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookGet"]>;
|
|
163
|
+
update: (organizationId: string, phonebookUpdate: PhonebookUpdate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookPatch"]>;
|
|
164
|
+
entries: {
|
|
165
|
+
list: (organizationId: string, params?: {
|
|
166
|
+
search?: string;
|
|
167
|
+
limit?: number;
|
|
168
|
+
offset?: number;
|
|
169
|
+
}, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesGet"]>;
|
|
170
|
+
get: (organizationId: string, entryId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdGet"]>;
|
|
171
|
+
create: (organizationId: string, phonebookEntryCreate: PhonebookEntryCreate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesPost"]>;
|
|
172
|
+
update: (organizationId: string, entryId: string, phonebookEntryUpdate: PhonebookEntryUpdate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdPatch"]>;
|
|
173
|
+
delete: (organizationId: string, entryId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdDelete"]>;
|
|
174
|
+
import: (organizationId: string, file: Blob, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesImportPost"]>;
|
|
175
|
+
export: (organizationId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesExportGet"]>;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
153
178
|
private readonly callsApi;
|
|
154
179
|
private readonly voiceAgentsApi;
|
|
155
180
|
private readonly chatAgentsApi;
|
|
@@ -169,6 +194,8 @@ export declare class Api {
|
|
|
169
194
|
private readonly llmProvidersApi;
|
|
170
195
|
private readonly sttProvidersApi;
|
|
171
196
|
private readonly ttsProvidersApi;
|
|
197
|
+
private readonly toolsApi;
|
|
198
|
+
private readonly phonebookApi;
|
|
172
199
|
private readonly _auth;
|
|
173
200
|
constructor(config: ApiClientConfig);
|
|
174
201
|
/**
|
package/dist/esm/api-client.js
CHANGED
|
@@ -26,6 +26,8 @@ import { STTProvidersApi } from "./apis/STTProvidersApi";
|
|
|
26
26
|
import { TTSProvidersApi } from "./apis/TTSProvidersApi";
|
|
27
27
|
import { SubscriptionApi } from "./apis/SubscriptionApi";
|
|
28
28
|
import { VoiceAgentsApi } from "./apis/VoiceAgentsApi";
|
|
29
|
+
import { ToolsApi } from "./apis/ToolsApi";
|
|
30
|
+
import { PhonebookApi } from "./apis/PhonebookApi";
|
|
29
31
|
import { Configuration } from "./runtime";
|
|
30
32
|
export class Api {
|
|
31
33
|
constructor(config) {
|
|
@@ -64,6 +66,8 @@ export class Api {
|
|
|
64
66
|
this.llmProvidersApi = new LLMProvidersApi(configuration);
|
|
65
67
|
this.sttProvidersApi = new STTProvidersApi(configuration);
|
|
66
68
|
this.ttsProvidersApi = new TTSProvidersApi(configuration);
|
|
69
|
+
this.toolsApi = new ToolsApi(configuration);
|
|
70
|
+
this.phonebookApi = new PhonebookApi(configuration);
|
|
67
71
|
this.calls = {
|
|
68
72
|
list: (organizationId, voiceAgentId, sandbox, options) => this.callsApi.organizationsOrganizationIdCallsGet({ organizationId, voiceAgentId, sandbox }, options),
|
|
69
73
|
get: (organizationId, callId, options) => this.callsApi.organizationsOrganizationIdCallsCallIdGet({ organizationId, callId }, options),
|
|
@@ -140,7 +144,7 @@ export class Api {
|
|
|
140
144
|
upload: (organizationId, ragConfigName, file, sourceUrl, metadata, options) => this.ragApi.organizationsOrganizationIdRagRagConfigNameDocumentsPost({ organizationId, ragConfigName, file, sourceUrl, metadata }, options),
|
|
141
145
|
list: (organizationId, ragConfigName, status, options) => this.ragApi.organizationsOrganizationIdRagRagConfigNameDocumentsGet({ organizationId, ragConfigName, status }, options),
|
|
142
146
|
get: (organizationId, ragConfigName, documentId, options) => this.ragApi.organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdGet({ organizationId, ragConfigName, documentId }, options),
|
|
143
|
-
download: (organizationId, ragConfigName, documentId, options) => this.ragApi.
|
|
147
|
+
download: (organizationId, ragConfigName, documentId, options) => this.ragApi.downloadDocumentFile({ organizationId, ragConfigName, documentId }, options),
|
|
144
148
|
replace: (organizationId, ragConfigName, documentId, file, sourceUrl, options) => this.ragApi.organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdPut({ organizationId, ragConfigName, documentId, file, sourceUrl }, options),
|
|
145
149
|
delete: (organizationId, ragConfigName, documentId, options) => this.ragApi.organizationsOrganizationIdRagRagConfigNameDocumentsDocumentIdDelete({ organizationId, ragConfigName, documentId }, options),
|
|
146
150
|
},
|
|
@@ -187,6 +191,25 @@ export class Api {
|
|
|
187
191
|
this.ttsProviders = {
|
|
188
192
|
list: (organizationId, options) => this.ttsProvidersApi.organizationsOrganizationIdTtsProvidersGet({ organizationId }, options),
|
|
189
193
|
};
|
|
194
|
+
this.tools = {
|
|
195
|
+
listCatalog: (organizationId, options) => this.toolsApi.organizationsOrganizationIdToolsGet({ organizationId }, options),
|
|
196
|
+
listForAgent: (organizationId, voiceAgentId, options) => this.toolsApi.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet({ organizationId, voiceAgentId }, options),
|
|
197
|
+
upsertForAgent: (organizationId, voiceAgentId, toolName, agentToolUpsert, options) => this.toolsApi.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut({ organizationId, voiceAgentId, toolName, agentToolUpsert }, options),
|
|
198
|
+
removeFromAgent: (organizationId, voiceAgentId, toolName, options) => this.toolsApi.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete({ organizationId, voiceAgentId, toolName }, options),
|
|
199
|
+
};
|
|
200
|
+
this.phonebook = {
|
|
201
|
+
get: (organizationId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookGet({ organizationId }, options),
|
|
202
|
+
update: (organizationId, phonebookUpdate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookPatch({ organizationId, phonebookUpdate }, options),
|
|
203
|
+
entries: {
|
|
204
|
+
list: (organizationId, params, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesGet({ organizationId, search: params === null || params === void 0 ? void 0 : params.search, limit: params === null || params === void 0 ? void 0 : params.limit, offset: params === null || params === void 0 ? void 0 : params.offset }, options),
|
|
205
|
+
get: (organizationId, entryId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdGet({ organizationId, entryId }, options),
|
|
206
|
+
create: (organizationId, phonebookEntryCreate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesPost({ organizationId, phonebookEntryCreate }, options),
|
|
207
|
+
update: (organizationId, entryId, phonebookEntryUpdate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdPatch({ organizationId, entryId, phonebookEntryUpdate }, options),
|
|
208
|
+
delete: (organizationId, entryId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdDelete({ organizationId, entryId }, options),
|
|
209
|
+
import: (organizationId, file, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesImportPost({ organizationId, file }, options),
|
|
210
|
+
export: (organizationId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesExportGet({ organizationId }, options),
|
|
211
|
+
},
|
|
212
|
+
};
|
|
190
213
|
}
|
|
191
214
|
/**
|
|
192
215
|
* Set the Bearer token for Authorization header.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { Phonebook, PhonebookEntry, PhonebookEntryCreate, PhonebookEntryUpdate, PhonebookImportResult, PhonebookUpdate } from '../models/index';
|
|
14
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest {
|
|
15
|
+
organizationId: string;
|
|
16
|
+
entryId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest {
|
|
19
|
+
organizationId: string;
|
|
20
|
+
entryId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest {
|
|
23
|
+
organizationId: string;
|
|
24
|
+
entryId: string;
|
|
25
|
+
phonebookEntryUpdate: PhonebookEntryUpdate;
|
|
26
|
+
}
|
|
27
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesExportGetRequest {
|
|
28
|
+
organizationId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesGetRequest {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
search?: string;
|
|
33
|
+
limit?: number;
|
|
34
|
+
offset?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesImportPostRequest {
|
|
37
|
+
organizationId: string;
|
|
38
|
+
file: Blob;
|
|
39
|
+
}
|
|
40
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesPostRequest {
|
|
41
|
+
organizationId: string;
|
|
42
|
+
phonebookEntryCreate: PhonebookEntryCreate;
|
|
43
|
+
}
|
|
44
|
+
export interface OrganizationsOrganizationIdPhonebookGetRequest {
|
|
45
|
+
organizationId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface OrganizationsOrganizationIdPhonebookPatchRequest {
|
|
48
|
+
organizationId: string;
|
|
49
|
+
phonebookUpdate: PhonebookUpdate;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
export declare class PhonebookApi extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Delete a phonebook entry
|
|
57
|
+
*/
|
|
58
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdDeleteRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a phonebook entry
|
|
61
|
+
*/
|
|
62
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdDelete(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Get a phonebook entry by ID
|
|
65
|
+
*/
|
|
66
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
67
|
+
/**
|
|
68
|
+
* Get a phonebook entry by ID
|
|
69
|
+
*/
|
|
70
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
71
|
+
/**
|
|
72
|
+
* Update a phonebook entry
|
|
73
|
+
*/
|
|
74
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdPatchRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
75
|
+
/**
|
|
76
|
+
* Update a phonebook entry
|
|
77
|
+
*/
|
|
78
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdPatch(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
79
|
+
/**
|
|
80
|
+
* Export phonebook entries as CSV
|
|
81
|
+
*/
|
|
82
|
+
organizationsOrganizationIdPhonebookEntriesExportGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesExportGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
83
|
+
/**
|
|
84
|
+
* Export phonebook entries as CSV
|
|
85
|
+
*/
|
|
86
|
+
organizationsOrganizationIdPhonebookEntriesExportGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesExportGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
87
|
+
/**
|
|
88
|
+
* List phonebook entries
|
|
89
|
+
*/
|
|
90
|
+
organizationsOrganizationIdPhonebookEntriesGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PhonebookEntry>>>;
|
|
91
|
+
/**
|
|
92
|
+
* List phonebook entries
|
|
93
|
+
*/
|
|
94
|
+
organizationsOrganizationIdPhonebookEntriesGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PhonebookEntry>>;
|
|
95
|
+
/**
|
|
96
|
+
* Upload a CSV file. The header row is required and must contain at least `phone` and `name` columns. Optional columns: `company`, `email`. Header aliases (case-insensitive): phone/phone_number/number, name/full_name/contact, company/organization, email/email_address. Existing entries with the same phone are updated; new ones are inserted.
|
|
97
|
+
* Import phonebook entries from a CSV file
|
|
98
|
+
*/
|
|
99
|
+
organizationsOrganizationIdPhonebookEntriesImportPostRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesImportPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookImportResult>>;
|
|
100
|
+
/**
|
|
101
|
+
* Upload a CSV file. The header row is required and must contain at least `phone` and `name` columns. Optional columns: `company`, `email`. Header aliases (case-insensitive): phone/phone_number/number, name/full_name/contact, company/organization, email/email_address. Existing entries with the same phone are updated; new ones are inserted.
|
|
102
|
+
* Import phonebook entries from a CSV file
|
|
103
|
+
*/
|
|
104
|
+
organizationsOrganizationIdPhonebookEntriesImportPost(requestParameters: OrganizationsOrganizationIdPhonebookEntriesImportPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookImportResult>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a phonebook entry
|
|
107
|
+
*/
|
|
108
|
+
organizationsOrganizationIdPhonebookEntriesPostRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a phonebook entry
|
|
111
|
+
*/
|
|
112
|
+
organizationsOrganizationIdPhonebookEntriesPost(requestParameters: OrganizationsOrganizationIdPhonebookEntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the phonebook record (lazily created on first access).
|
|
115
|
+
* Get the organization\'s phonebook settings
|
|
116
|
+
*/
|
|
117
|
+
organizationsOrganizationIdPhonebookGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Phonebook>>;
|
|
118
|
+
/**
|
|
119
|
+
* Returns the phonebook record (lazily created on first access).
|
|
120
|
+
* Get the organization\'s phonebook settings
|
|
121
|
+
*/
|
|
122
|
+
organizationsOrganizationIdPhonebookGet(requestParameters: OrganizationsOrganizationIdPhonebookGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Phonebook>;
|
|
123
|
+
/**
|
|
124
|
+
* Update phonebook settings such as the auto_populate flag.
|
|
125
|
+
* Update phonebook settings
|
|
126
|
+
*/
|
|
127
|
+
organizationsOrganizationIdPhonebookPatchRaw(requestParameters: OrganizationsOrganizationIdPhonebookPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Phonebook>>;
|
|
128
|
+
/**
|
|
129
|
+
* Update phonebook settings such as the auto_populate flag.
|
|
130
|
+
* Update phonebook settings
|
|
131
|
+
*/
|
|
132
|
+
organizationsOrganizationIdPhonebookPatch(requestParameters: OrganizationsOrganizationIdPhonebookPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Phonebook>;
|
|
133
|
+
}
|