@l7mp/tivadar-ai-api-sdk 0.1.4 → 0.1.6
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 +23 -7
- package/dist/api-client.js +35 -6
- package/dist/apis/CalendarApi.d.ts +64 -48
- package/dist/apis/CalendarApi.js +152 -87
- package/dist/apis/CallsApi.d.ts +92 -0
- package/dist/apis/CallsApi.js +256 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/api-client.d.ts +23 -7
- package/dist/esm/api-client.js +35 -6
- package/dist/esm/apis/CalendarApi.d.ts +64 -48
- package/dist/esm/apis/CalendarApi.js +153 -88
- package/dist/esm/apis/CallsApi.d.ts +92 -0
- package/dist/esm/apis/CallsApi.js +252 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Calendar.d.ts +6 -0
- package/dist/esm/models/Calendar.js +2 -0
- package/dist/esm/models/CalendarCreate.d.ts +32 -0
- package/dist/esm/models/CalendarCreate.js +43 -0
- package/dist/esm/models/CalendarEventCreate.d.ts +0 -6
- package/dist/esm/models/CalendarEventCreate.js +0 -4
- package/dist/esm/models/CalendarEventListResponse.d.ts +33 -0
- package/dist/esm/models/CalendarEventListResponse.js +44 -0
- package/dist/esm/models/CalendarEventUpdate.d.ts +0 -6
- package/dist/esm/models/CalendarEventUpdate.js +0 -2
- package/dist/esm/models/CalendarUpdate.d.ts +32 -0
- package/dist/esm/models/CalendarUpdate.js +41 -0
- package/dist/esm/models/Call.d.ts +64 -0
- package/dist/esm/models/Call.js +55 -0
- package/dist/esm/models/CallCreate.d.ts +52 -0
- package/dist/esm/models/CallCreate.js +47 -0
- package/dist/esm/models/CallUpdate.d.ts +52 -0
- package/dist/esm/models/CallUpdate.js +47 -0
- package/dist/esm/models/index.d.ts +6 -2
- package/dist/esm/models/index.js +6 -2
- package/dist/models/Calendar.d.ts +6 -0
- package/dist/models/Calendar.js +2 -0
- package/dist/models/CalendarCreate.d.ts +32 -0
- package/dist/models/CalendarCreate.js +50 -0
- package/dist/models/CalendarEventCreate.d.ts +0 -6
- package/dist/models/CalendarEventCreate.js +0 -4
- package/dist/models/CalendarEventListResponse.d.ts +33 -0
- package/dist/models/CalendarEventListResponse.js +51 -0
- package/dist/models/CalendarEventUpdate.d.ts +0 -6
- package/dist/models/CalendarEventUpdate.js +0 -2
- package/dist/models/CalendarUpdate.d.ts +32 -0
- package/dist/models/CalendarUpdate.js +48 -0
- package/dist/models/Call.d.ts +64 -0
- package/dist/models/Call.js +62 -0
- package/dist/models/CallCreate.d.ts +52 -0
- package/dist/models/CallCreate.js +54 -0
- package/dist/models/CallUpdate.d.ts +52 -0
- package/dist/models/CallUpdate.js +54 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +2 -3
- package/src/api-client.ts +52 -12
- package/src/apis/CalendarApi.ts +227 -107
- package/src/apis/CallsApi.ts +352 -0
- package/src/apis/index.ts +1 -0
- package/src/models/Calendar.ts +8 -0
- package/src/models/CalendarCreate.ts +66 -0
- package/src/models/CalendarEventCreate.ts +0 -9
- package/src/models/CalendarEventListResponse.ts +74 -0
- package/src/models/CalendarEventUpdate.ts +0 -8
- package/src/models/CalendarUpdate.ts +65 -0
- package/src/models/Call.ts +107 -0
- package/src/models/CallCreate.ts +89 -0
- package/src/models/CallUpdate.ts +89 -0
- package/src/models/index.ts +6 -2
|
@@ -0,0 +1,256 @@
|
|
|
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.OrganizationsOrganizationIdCallsGetSandboxEnum = exports.CallsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class CallsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Delete a call
|
|
34
|
+
*/
|
|
35
|
+
organizationsOrganizationIdCallsCallIdDeleteRaw(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 organizationsOrganizationIdCallsCallIdDelete().');
|
|
39
|
+
}
|
|
40
|
+
if (requestParameters['callId'] == null) {
|
|
41
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdCallsCallIdDelete().');
|
|
42
|
+
}
|
|
43
|
+
const queryParameters = {};
|
|
44
|
+
const headerParameters = {};
|
|
45
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
46
|
+
const token = this.configuration.accessToken;
|
|
47
|
+
const tokenString = yield token("bearerAuth", []);
|
|
48
|
+
if (tokenString) {
|
|
49
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
let urlPath = `/organizations/{organizationId}/calls/{callId}`;
|
|
53
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
54
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
55
|
+
const response = yield this.request({
|
|
56
|
+
path: urlPath,
|
|
57
|
+
method: 'DELETE',
|
|
58
|
+
headers: headerParameters,
|
|
59
|
+
query: queryParameters,
|
|
60
|
+
}, initOverrides);
|
|
61
|
+
return new runtime.VoidApiResponse(response);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Delete a call
|
|
66
|
+
*/
|
|
67
|
+
organizationsOrganizationIdCallsCallIdDelete(requestParameters, initOverrides) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
yield this.organizationsOrganizationIdCallsCallIdDeleteRaw(requestParameters, initOverrides);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get a call by ID
|
|
74
|
+
*/
|
|
75
|
+
organizationsOrganizationIdCallsCallIdGetRaw(requestParameters, initOverrides) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
if (requestParameters['organizationId'] == null) {
|
|
78
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdCallsCallIdGet().');
|
|
79
|
+
}
|
|
80
|
+
if (requestParameters['callId'] == null) {
|
|
81
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdCallsCallIdGet().');
|
|
82
|
+
}
|
|
83
|
+
const queryParameters = {};
|
|
84
|
+
const headerParameters = {};
|
|
85
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
86
|
+
const token = this.configuration.accessToken;
|
|
87
|
+
const tokenString = yield token("bearerAuth", []);
|
|
88
|
+
if (tokenString) {
|
|
89
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
let urlPath = `/organizations/{organizationId}/calls/{callId}`;
|
|
93
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
94
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
95
|
+
const response = yield this.request({
|
|
96
|
+
path: urlPath,
|
|
97
|
+
method: 'GET',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
}, initOverrides);
|
|
101
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CallFromJSON)(jsonValue));
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Get a call by ID
|
|
106
|
+
*/
|
|
107
|
+
organizationsOrganizationIdCallsCallIdGet(requestParameters, initOverrides) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const response = yield this.organizationsOrganizationIdCallsCallIdGetRaw(requestParameters, initOverrides);
|
|
110
|
+
return yield response.value();
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Partial update — only provided fields are modified.
|
|
115
|
+
* Update a call
|
|
116
|
+
*/
|
|
117
|
+
organizationsOrganizationIdCallsCallIdPutRaw(requestParameters, initOverrides) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
if (requestParameters['organizationId'] == null) {
|
|
120
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdCallsCallIdPut().');
|
|
121
|
+
}
|
|
122
|
+
if (requestParameters['callId'] == null) {
|
|
123
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdCallsCallIdPut().');
|
|
124
|
+
}
|
|
125
|
+
if (requestParameters['callUpdate'] == null) {
|
|
126
|
+
throw new runtime.RequiredError('callUpdate', 'Required parameter "callUpdate" was null or undefined when calling organizationsOrganizationIdCallsCallIdPut().');
|
|
127
|
+
}
|
|
128
|
+
const queryParameters = {};
|
|
129
|
+
const headerParameters = {};
|
|
130
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
131
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
132
|
+
const token = this.configuration.accessToken;
|
|
133
|
+
const tokenString = yield token("bearerAuth", []);
|
|
134
|
+
if (tokenString) {
|
|
135
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
let urlPath = `/organizations/{organizationId}/calls/{callId}`;
|
|
139
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
140
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
141
|
+
const response = yield this.request({
|
|
142
|
+
path: urlPath,
|
|
143
|
+
method: 'PUT',
|
|
144
|
+
headers: headerParameters,
|
|
145
|
+
query: queryParameters,
|
|
146
|
+
body: (0, index_1.CallUpdateToJSON)(requestParameters['callUpdate']),
|
|
147
|
+
}, initOverrides);
|
|
148
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CallFromJSON)(jsonValue));
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Partial update — only provided fields are modified.
|
|
153
|
+
* Update a call
|
|
154
|
+
*/
|
|
155
|
+
organizationsOrganizationIdCallsCallIdPut(requestParameters, initOverrides) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const response = yield this.organizationsOrganizationIdCallsCallIdPutRaw(requestParameters, initOverrides);
|
|
158
|
+
return yield response.value();
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Returns calls scoped to the organization via their associated voice agent. Calls without a voice_agent_id are not returned.
|
|
163
|
+
* List calls for an organization
|
|
164
|
+
*/
|
|
165
|
+
organizationsOrganizationIdCallsGetRaw(requestParameters, initOverrides) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
if (requestParameters['organizationId'] == null) {
|
|
168
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdCallsGet().');
|
|
169
|
+
}
|
|
170
|
+
const queryParameters = {};
|
|
171
|
+
if (requestParameters['voiceAgentId'] != null) {
|
|
172
|
+
queryParameters['voice_agent_id'] = requestParameters['voiceAgentId'];
|
|
173
|
+
}
|
|
174
|
+
if (requestParameters['sandbox'] != null) {
|
|
175
|
+
queryParameters['sandbox'] = requestParameters['sandbox'];
|
|
176
|
+
}
|
|
177
|
+
const headerParameters = {};
|
|
178
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
179
|
+
const token = this.configuration.accessToken;
|
|
180
|
+
const tokenString = yield token("bearerAuth", []);
|
|
181
|
+
if (tokenString) {
|
|
182
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
let urlPath = `/organizations/{organizationId}/calls`;
|
|
186
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
187
|
+
const response = yield this.request({
|
|
188
|
+
path: urlPath,
|
|
189
|
+
method: 'GET',
|
|
190
|
+
headers: headerParameters,
|
|
191
|
+
query: queryParameters,
|
|
192
|
+
}, initOverrides);
|
|
193
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.CallFromJSON));
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Returns calls scoped to the organization via their associated voice agent. Calls without a voice_agent_id are not returned.
|
|
198
|
+
* List calls for an organization
|
|
199
|
+
*/
|
|
200
|
+
organizationsOrganizationIdCallsGet(requestParameters, initOverrides) {
|
|
201
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
+
const response = yield this.organizationsOrganizationIdCallsGetRaw(requestParameters, initOverrides);
|
|
203
|
+
return yield response.value();
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Create a new call record
|
|
208
|
+
*/
|
|
209
|
+
organizationsOrganizationIdCallsPostRaw(requestParameters, initOverrides) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
if (requestParameters['organizationId'] == null) {
|
|
212
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdCallsPost().');
|
|
213
|
+
}
|
|
214
|
+
if (requestParameters['callCreate'] == null) {
|
|
215
|
+
throw new runtime.RequiredError('callCreate', 'Required parameter "callCreate" was null or undefined when calling organizationsOrganizationIdCallsPost().');
|
|
216
|
+
}
|
|
217
|
+
const queryParameters = {};
|
|
218
|
+
const headerParameters = {};
|
|
219
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
220
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
221
|
+
const token = this.configuration.accessToken;
|
|
222
|
+
const tokenString = yield token("bearerAuth", []);
|
|
223
|
+
if (tokenString) {
|
|
224
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
let urlPath = `/organizations/{organizationId}/calls`;
|
|
228
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
229
|
+
const response = yield this.request({
|
|
230
|
+
path: urlPath,
|
|
231
|
+
method: 'POST',
|
|
232
|
+
headers: headerParameters,
|
|
233
|
+
query: queryParameters,
|
|
234
|
+
body: (0, index_1.CallCreateToJSON)(requestParameters['callCreate']),
|
|
235
|
+
}, initOverrides);
|
|
236
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CallFromJSON)(jsonValue));
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Create a new call record
|
|
241
|
+
*/
|
|
242
|
+
organizationsOrganizationIdCallsPost(requestParameters, initOverrides) {
|
|
243
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
+
const response = yield this.organizationsOrganizationIdCallsPostRaw(requestParameters, initOverrides);
|
|
245
|
+
return yield response.value();
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.CallsApi = CallsApi;
|
|
250
|
+
/**
|
|
251
|
+
* @export
|
|
252
|
+
*/
|
|
253
|
+
exports.OrganizationsOrganizationIdCallsGetSandboxEnum = {
|
|
254
|
+
True: 'true',
|
|
255
|
+
False: 'false'
|
|
256
|
+
};
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./CalendarApi"), exports);
|
|
20
|
+
__exportStar(require("./CallsApi"), exports);
|
|
20
21
|
__exportStar(require("./ChatAgentsApi"), exports);
|
|
21
22
|
__exportStar(require("./EmbeddingProvidersApi"), exports);
|
|
22
23
|
__exportStar(require("./HistoryApi"), exports);
|
package/dist/esm/api-client.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CallsApi, type OrganizationsOrganizationIdCallsGetSandboxEnum } from "./apis/CallsApi";
|
|
1
2
|
import { CalendarApi } from "./apis/CalendarApi";
|
|
2
3
|
import { ChatAgentsApi } from "./apis/ChatAgentsApi";
|
|
3
4
|
import { HistoryApi } from "./apis/HistoryApi";
|
|
@@ -14,7 +15,7 @@ import { STTProvidersApi } from "./apis/STTProvidersApi";
|
|
|
14
15
|
import { TTSProvidersApi } from "./apis/TTSProvidersApi";
|
|
15
16
|
import { SubscriptionApi } from "./apis/SubscriptionApi";
|
|
16
17
|
import { VoiceAgentsApi } from "./apis/VoiceAgentsApi";
|
|
17
|
-
import type { VoiceAgentCreate, VoiceAgentUpdate, ChatAgentCreate, ChatAgentUpdate, CalendarEventCreate, CalendarEventUpdate, InvitationAccept, InvitationCreate, RagConfigCreate, SipTrunkCreate, DispatchRuleCreate, OrganizationCreate, CreateCheckoutSessionRequest, CancelSubscriptionRequest, UpdatePlanRequest, PauseSubscriptionRequest, BillingPortalRequest } from "./models";
|
|
18
|
+
import type { CallCreate, CallUpdate, VoiceAgentCreate, VoiceAgentUpdate, ChatAgentCreate, ChatAgentUpdate, Calendar, CalendarCreate, CalendarUpdate, CalendarEventCreate, CalendarEventUpdate, InvitationAccept, InvitationCreate, RagConfigCreate, SipTrunkCreate, DispatchRuleCreate, OrganizationCreate, CreateCheckoutSessionRequest, CancelSubscriptionRequest, UpdatePlanRequest, PauseSubscriptionRequest, BillingPortalRequest } from "./models";
|
|
18
19
|
export interface ApiClientConfig {
|
|
19
20
|
baseUrl: string;
|
|
20
21
|
options?: {
|
|
@@ -22,6 +23,13 @@ export interface ApiClientConfig {
|
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
export declare class Api {
|
|
26
|
+
readonly calls: {
|
|
27
|
+
list: (organizationId: string, voiceAgentId?: string, sandbox?: OrganizationsOrganizationIdCallsGetSandboxEnum, options?: RequestInit) => ReturnType<CallsApi["organizationsOrganizationIdCallsGet"]>;
|
|
28
|
+
get: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<CallsApi["organizationsOrganizationIdCallsCallIdGet"]>;
|
|
29
|
+
create: (organizationId: string, callCreate: CallCreate, options?: RequestInit) => ReturnType<CallsApi["organizationsOrganizationIdCallsPost"]>;
|
|
30
|
+
update: (organizationId: string, callId: string, callUpdate: CallUpdate, options?: RequestInit) => ReturnType<CallsApi["organizationsOrganizationIdCallsCallIdPut"]>;
|
|
31
|
+
delete: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<CallsApi["organizationsOrganizationIdCallsCallIdDelete"]>;
|
|
32
|
+
};
|
|
25
33
|
readonly voiceAgents: {
|
|
26
34
|
list: (organizationId: string, options?: RequestInit) => ReturnType<VoiceAgentsApi["organizationsOrganizationIdVoiceAgentsGet"]>;
|
|
27
35
|
listBasic: (organizationId: string, options?: RequestInit) => ReturnType<VoiceAgentsApi["organizationsOrganizationIdVoiceAgentsBasicGet"]>;
|
|
@@ -38,12 +46,19 @@ export declare class Api {
|
|
|
38
46
|
delete: (organizationId: string, chatAgentId: string, options?: RequestInit) => ReturnType<ChatAgentsApi["organizationsOrganizationIdChatAgentsChatAgentIdDelete"]>;
|
|
39
47
|
};
|
|
40
48
|
readonly calendar: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
list: (organizationId: string, voiceAgentId?: string, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsGet"]>;
|
|
50
|
+
get: (organizationId: string, calendarId: string, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdGet"]>;
|
|
51
|
+
getByVoiceAgent: (organizationId: string, voiceAgentId: string, options?: RequestInit) => Promise<Calendar | null>;
|
|
52
|
+
create: (organizationId: string, calendarCreate: CalendarCreate, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsPost"]>;
|
|
53
|
+
update: (organizationId: string, calendarId: string, calendarUpdate: CalendarUpdate, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdPut"]>;
|
|
54
|
+
delete: (organizationId: string, calendarId: string, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdDelete"]>;
|
|
55
|
+
events: {
|
|
56
|
+
list: (organizationId: string, calendarId: string, start: Date, end: Date, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdEventsGet"]>;
|
|
57
|
+
get: (organizationId: string, calendarId: string, eventId: string, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdEventsEventIdGet"]>;
|
|
58
|
+
create: (organizationId: string, calendarId: string, calendarEventCreate: CalendarEventCreate, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdEventsPost"]>;
|
|
59
|
+
update: (organizationId: string, calendarId: string, eventId: string, calendarEventUpdate: CalendarEventUpdate, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdEventsEventIdPut"]>;
|
|
60
|
+
delete: (organizationId: string, calendarId: string, eventId: string, options?: RequestInit) => ReturnType<CalendarApi["organizationsOrganizationIdCalendarsCalendarIdEventsEventIdDelete"]>;
|
|
61
|
+
};
|
|
47
62
|
};
|
|
48
63
|
readonly history: {
|
|
49
64
|
list: (organizationId: string, options?: RequestInit) => ReturnType<HistoryApi["organizationsOrganizationIdConversationsGet"]>;
|
|
@@ -113,6 +128,7 @@ export declare class Api {
|
|
|
113
128
|
readonly embeddingProviders: {
|
|
114
129
|
list: (organizationId: string, options?: RequestInit) => ReturnType<EmbeddingProvidersApi["organizationsOrganizationIdEmbeddingProvidersGet"]>;
|
|
115
130
|
};
|
|
131
|
+
private readonly callsApi;
|
|
116
132
|
private readonly voiceAgentsApi;
|
|
117
133
|
private readonly chatAgentsApi;
|
|
118
134
|
private readonly calendarApi;
|
package/dist/esm/api-client.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { CallsApi } from "./apis/CallsApi";
|
|
1
11
|
import { CalendarApi } from "./apis/CalendarApi";
|
|
2
12
|
import { ChatAgentsApi } from "./apis/ChatAgentsApi";
|
|
3
13
|
import { HistoryApi } from "./apis/HistoryApi";
|
|
@@ -33,6 +43,7 @@ export class Api {
|
|
|
33
43
|
// Pass the headers object by reference so mutations are picked up at request time
|
|
34
44
|
headers: this._auth.headers,
|
|
35
45
|
});
|
|
46
|
+
this.callsApi = new CallsApi(configuration);
|
|
36
47
|
this.voiceAgentsApi = new VoiceAgentsApi(configuration);
|
|
37
48
|
this.chatAgentsApi = new ChatAgentsApi(configuration);
|
|
38
49
|
this.calendarApi = new CalendarApi(configuration);
|
|
@@ -49,6 +60,13 @@ export class Api {
|
|
|
49
60
|
this.llmProvidersApi = new LLMProvidersApi(configuration);
|
|
50
61
|
this.sttProvidersApi = new STTProvidersApi(configuration);
|
|
51
62
|
this.ttsProvidersApi = new TTSProvidersApi(configuration);
|
|
63
|
+
this.calls = {
|
|
64
|
+
list: (organizationId, voiceAgentId, sandbox, options) => this.callsApi.organizationsOrganizationIdCallsGet({ organizationId, voiceAgentId, sandbox }, options),
|
|
65
|
+
get: (organizationId, callId, options) => this.callsApi.organizationsOrganizationIdCallsCallIdGet({ organizationId, callId }, options),
|
|
66
|
+
create: (organizationId, callCreate, options) => this.callsApi.organizationsOrganizationIdCallsPost({ organizationId, callCreate }, options),
|
|
67
|
+
update: (organizationId, callId, callUpdate, options) => this.callsApi.organizationsOrganizationIdCallsCallIdPut({ organizationId, callId, callUpdate }, options),
|
|
68
|
+
delete: (organizationId, callId, options) => this.callsApi.organizationsOrganizationIdCallsCallIdDelete({ organizationId, callId }, options),
|
|
69
|
+
};
|
|
52
70
|
this.voiceAgents = {
|
|
53
71
|
list: (organizationId, options) => this.voiceAgentsApi.organizationsOrganizationIdVoiceAgentsGet({ organizationId }, options),
|
|
54
72
|
listBasic: (organizationId, options) => this.voiceAgentsApi.organizationsOrganizationIdVoiceAgentsBasicGet({ organizationId }, options),
|
|
@@ -65,12 +83,23 @@ export class Api {
|
|
|
65
83
|
delete: (organizationId, chatAgentId, options) => this.chatAgentsApi.organizationsOrganizationIdChatAgentsChatAgentIdDelete({ organizationId, chatAgentId }, options),
|
|
66
84
|
};
|
|
67
85
|
this.calendar = {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
86
|
+
list: (organizationId, voiceAgentId, options) => this.calendarApi.organizationsOrganizationIdCalendarsGet({ organizationId, voiceAgentId }, options),
|
|
87
|
+
get: (organizationId, calendarId, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdGet({ organizationId, calendarId }, options),
|
|
88
|
+
getByVoiceAgent: (organizationId, voiceAgentId, options) => __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
var _a;
|
|
90
|
+
const result = yield this.calendarApi.organizationsOrganizationIdCalendarsGet({ organizationId, voiceAgentId }, options);
|
|
91
|
+
return (_a = result.data[0]) !== null && _a !== void 0 ? _a : null;
|
|
92
|
+
}),
|
|
93
|
+
create: (organizationId, calendarCreate, options) => this.calendarApi.organizationsOrganizationIdCalendarsPost({ organizationId, calendarCreate }, options),
|
|
94
|
+
update: (organizationId, calendarId, calendarUpdate, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdPut({ organizationId, calendarId, calendarUpdate }, options),
|
|
95
|
+
delete: (organizationId, calendarId, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdDelete({ organizationId, calendarId }, options),
|
|
96
|
+
events: {
|
|
97
|
+
list: (organizationId, calendarId, start, end, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdEventsGet({ organizationId, calendarId, start, end }, options),
|
|
98
|
+
get: (organizationId, calendarId, eventId, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdEventsEventIdGet({ organizationId, calendarId, eventId }, options),
|
|
99
|
+
create: (organizationId, calendarId, calendarEventCreate, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdEventsPost({ organizationId, calendarId, calendarEventCreate }, options),
|
|
100
|
+
update: (organizationId, calendarId, eventId, calendarEventUpdate, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdEventsEventIdPut({ organizationId, calendarId, eventId, calendarEventUpdate }, options),
|
|
101
|
+
delete: (organizationId, calendarId, eventId, options) => this.calendarApi.organizationsOrganizationIdCalendarsCalendarIdEventsEventIdDelete({ organizationId, calendarId, eventId }, options),
|
|
102
|
+
},
|
|
74
103
|
};
|
|
75
104
|
this.history = {
|
|
76
105
|
list: (organizationId, options) => this.historyApi.organizationsOrganizationIdConversationsGet({ organizationId }, options),
|
|
@@ -10,131 +10,147 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Calendar, CalendarEvent, CalendarEventCreate,
|
|
14
|
-
export interface
|
|
13
|
+
import type { Calendar, CalendarCreate, CalendarEvent, CalendarEventCreate, CalendarEventListResponse, CalendarEventUpdate, CalendarListResponse, CalendarUpdate } from '../models/index';
|
|
14
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdDeleteRequest {
|
|
15
15
|
organizationId: string;
|
|
16
|
+
calendarId: string;
|
|
16
17
|
}
|
|
17
|
-
export interface
|
|
18
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdDeleteRequest {
|
|
18
19
|
organizationId: string;
|
|
20
|
+
calendarId: string;
|
|
19
21
|
eventId: string;
|
|
20
22
|
}
|
|
21
|
-
export interface
|
|
23
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdGetRequest {
|
|
22
24
|
organizationId: string;
|
|
25
|
+
calendarId: string;
|
|
23
26
|
eventId: string;
|
|
24
27
|
}
|
|
25
|
-
export interface
|
|
28
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdPutRequest {
|
|
26
29
|
organizationId: string;
|
|
30
|
+
calendarId: string;
|
|
27
31
|
eventId: string;
|
|
28
32
|
calendarEventUpdate: CalendarEventUpdate;
|
|
29
33
|
}
|
|
30
|
-
export interface
|
|
34
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdEventsGetRequest {
|
|
31
35
|
organizationId: string;
|
|
36
|
+
calendarId: string;
|
|
32
37
|
start: Date;
|
|
33
38
|
end: Date;
|
|
34
|
-
calendarIds?: string;
|
|
35
39
|
}
|
|
36
|
-
export interface
|
|
40
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdEventsPostRequest {
|
|
37
41
|
organizationId: string;
|
|
42
|
+
calendarId: string;
|
|
38
43
|
calendarEventCreate: CalendarEventCreate;
|
|
39
44
|
}
|
|
40
|
-
export interface
|
|
45
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdGetRequest {
|
|
46
|
+
organizationId: string;
|
|
47
|
+
calendarId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface OrganizationsOrganizationIdCalendarsCalendarIdPutRequest {
|
|
41
50
|
organizationId: string;
|
|
42
|
-
|
|
51
|
+
calendarId: string;
|
|
52
|
+
calendarUpdate: CalendarUpdate;
|
|
43
53
|
}
|
|
44
|
-
export interface
|
|
54
|
+
export interface OrganizationsOrganizationIdCalendarsGetRequest {
|
|
45
55
|
organizationId: string;
|
|
46
|
-
voiceAgentId
|
|
56
|
+
voiceAgentId?: string;
|
|
47
57
|
}
|
|
48
|
-
export interface
|
|
58
|
+
export interface OrganizationsOrganizationIdCalendarsPostRequest {
|
|
49
59
|
organizationId: string;
|
|
50
|
-
|
|
60
|
+
calendarCreate: CalendarCreate;
|
|
51
61
|
}
|
|
52
62
|
/**
|
|
53
63
|
*
|
|
54
64
|
*/
|
|
55
65
|
export declare class CalendarApi extends runtime.BaseAPI {
|
|
56
66
|
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
67
|
+
* Deletes the calendar and all associated events.
|
|
68
|
+
* Delete a calendar
|
|
59
69
|
*/
|
|
60
|
-
|
|
70
|
+
organizationsOrganizationIdCalendarsCalendarIdDeleteRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
61
71
|
/**
|
|
62
|
-
*
|
|
63
|
-
*
|
|
72
|
+
* Deletes the calendar and all associated events.
|
|
73
|
+
* Delete a calendar
|
|
64
74
|
*/
|
|
65
|
-
|
|
75
|
+
organizationsOrganizationIdCalendarsCalendarIdDelete(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
76
|
/**
|
|
67
77
|
* Delete a calendar event
|
|
68
78
|
*/
|
|
69
|
-
|
|
79
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdDeleteRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
70
80
|
/**
|
|
71
81
|
* Delete a calendar event
|
|
72
82
|
*/
|
|
73
|
-
|
|
83
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdDelete(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
74
84
|
/**
|
|
75
85
|
* Get a single calendar event
|
|
76
86
|
*/
|
|
77
|
-
|
|
87
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdGetRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarEvent>>;
|
|
78
88
|
/**
|
|
79
89
|
* Get a single calendar event
|
|
80
90
|
*/
|
|
81
|
-
|
|
91
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdGet(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarEvent>;
|
|
82
92
|
/**
|
|
83
93
|
* Partial update - only provided fields will be modified
|
|
84
94
|
* Update a calendar event
|
|
85
95
|
*/
|
|
86
|
-
|
|
96
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdPutRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarEvent>>;
|
|
87
97
|
/**
|
|
88
98
|
* Partial update - only provided fields will be modified
|
|
89
99
|
* Update a calendar event
|
|
90
100
|
*/
|
|
91
|
-
|
|
101
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsEventIdPut(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsEventIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarEvent>;
|
|
92
102
|
/**
|
|
93
|
-
* Returns events and their associated calendars. Optionally filter by specific calendar IDs.
|
|
94
103
|
* List calendar events within a date range
|
|
95
104
|
*/
|
|
96
|
-
|
|
105
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsGetRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarEventListResponse>>;
|
|
97
106
|
/**
|
|
98
|
-
* Returns events and their associated calendars. Optionally filter by specific calendar IDs.
|
|
99
107
|
* List calendar events within a date range
|
|
100
108
|
*/
|
|
101
|
-
|
|
109
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsGet(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarEventListResponse>;
|
|
102
110
|
/**
|
|
103
111
|
* Create a new calendar event
|
|
104
112
|
*/
|
|
105
|
-
|
|
113
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsPostRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarEvent>>;
|
|
106
114
|
/**
|
|
107
115
|
* Create a new calendar event
|
|
108
116
|
*/
|
|
109
|
-
|
|
117
|
+
organizationsOrganizationIdCalendarsCalendarIdEventsPost(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdEventsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarEvent>;
|
|
110
118
|
/**
|
|
111
|
-
*
|
|
112
|
-
* Delete calendar for a voice agent
|
|
119
|
+
* Get a calendar by ID
|
|
113
120
|
*/
|
|
114
|
-
|
|
121
|
+
organizationsOrganizationIdCalendarsCalendarIdGetRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Calendar>>;
|
|
115
122
|
/**
|
|
116
|
-
*
|
|
117
|
-
* Delete calendar for a voice agent
|
|
123
|
+
* Get a calendar by ID
|
|
118
124
|
*/
|
|
119
|
-
|
|
125
|
+
organizationsOrganizationIdCalendarsCalendarIdGet(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Calendar>;
|
|
120
126
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
127
|
+
* Re-assign the calendar to a different voice agent in the same organization.
|
|
128
|
+
* Update a calendar
|
|
123
129
|
*/
|
|
124
|
-
|
|
130
|
+
organizationsOrganizationIdCalendarsCalendarIdPutRaw(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Calendar>>;
|
|
125
131
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
132
|
+
* Re-assign the calendar to a different voice agent in the same organization.
|
|
133
|
+
* Update a calendar
|
|
128
134
|
*/
|
|
129
|
-
|
|
135
|
+
organizationsOrganizationIdCalendarsCalendarIdPut(requestParameters: OrganizationsOrganizationIdCalendarsCalendarIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Calendar>;
|
|
136
|
+
/**
|
|
137
|
+
* Returns all calendars with agent information. Optionally filter by voice_agent_id.
|
|
138
|
+
* List all calendars in the organization
|
|
139
|
+
*/
|
|
140
|
+
organizationsOrganizationIdCalendarsGetRaw(requestParameters: OrganizationsOrganizationIdCalendarsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarListResponse>>;
|
|
141
|
+
/**
|
|
142
|
+
* Returns all calendars with agent information. Optionally filter by voice_agent_id.
|
|
143
|
+
* List all calendars in the organization
|
|
144
|
+
*/
|
|
145
|
+
organizationsOrganizationIdCalendarsGet(requestParameters: OrganizationsOrganizationIdCalendarsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarListResponse>;
|
|
130
146
|
/**
|
|
131
|
-
* Creates a new calendar
|
|
147
|
+
* Creates a new calendar linked to the specified voice agent. Only one calendar per agent is allowed.
|
|
132
148
|
* Create a calendar for a voice agent
|
|
133
149
|
*/
|
|
134
|
-
|
|
150
|
+
organizationsOrganizationIdCalendarsPostRaw(requestParameters: OrganizationsOrganizationIdCalendarsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Calendar>>;
|
|
135
151
|
/**
|
|
136
|
-
* Creates a new calendar
|
|
152
|
+
* Creates a new calendar linked to the specified voice agent. Only one calendar per agent is allowed.
|
|
137
153
|
* Create a calendar for a voice agent
|
|
138
154
|
*/
|
|
139
|
-
|
|
155
|
+
organizationsOrganizationIdCalendarsPost(requestParameters: OrganizationsOrganizationIdCalendarsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Calendar>;
|
|
140
156
|
}
|