@vapi-ai/web 1.0.231 → 1.0.232
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/api.ts +506 -356
- package/dist/api.d.ts +330 -235
- package/dist/api.js +42 -42
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -164,48 +164,6 @@ exports.HttpClient = HttpClient;
|
|
|
164
164
|
class Api extends HttpClient {
|
|
165
165
|
constructor() {
|
|
166
166
|
super(...arguments);
|
|
167
|
-
this.call = {
|
|
168
|
-
/**
|
|
169
|
-
* No description
|
|
170
|
-
*
|
|
171
|
-
* @tags Calls
|
|
172
|
-
* @name CallControllerFindAll
|
|
173
|
-
* @summary List Calls
|
|
174
|
-
* @request GET:/call
|
|
175
|
-
* @secure
|
|
176
|
-
*/
|
|
177
|
-
callControllerFindAll: (params = {}) => this.request(Object.assign({ path: `/call`, method: "GET", secure: true, format: "json" }, params)),
|
|
178
|
-
/**
|
|
179
|
-
* No description
|
|
180
|
-
*
|
|
181
|
-
* @tags Calls
|
|
182
|
-
* @name CallControllerFindOne
|
|
183
|
-
* @summary Get Call
|
|
184
|
-
* @request GET:/call/{id}
|
|
185
|
-
* @secure
|
|
186
|
-
*/
|
|
187
|
-
callControllerFindOne: (id, params = {}) => this.request(Object.assign({ path: `/call/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
188
|
-
/**
|
|
189
|
-
* No description
|
|
190
|
-
*
|
|
191
|
-
* @tags Calls
|
|
192
|
-
* @name CallControllerCreatePhoneCall
|
|
193
|
-
* @summary Create Phone Call
|
|
194
|
-
* @request POST:/call/phone
|
|
195
|
-
* @secure
|
|
196
|
-
*/
|
|
197
|
-
callControllerCreatePhoneCall: (data, params = {}) => this.request(Object.assign({ path: `/call/phone`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
198
|
-
/**
|
|
199
|
-
* No description
|
|
200
|
-
*
|
|
201
|
-
* @tags Calls
|
|
202
|
-
* @name CallControllerCreateWebCall
|
|
203
|
-
* @summary Create Web Call
|
|
204
|
-
* @request POST:/call/web
|
|
205
|
-
* @secure
|
|
206
|
-
*/
|
|
207
|
-
callControllerCreateWebCall: (data, params = {}) => this.request(Object.assign({ path: `/call/web`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
208
|
-
};
|
|
209
167
|
this.assistant = {
|
|
210
168
|
/**
|
|
211
169
|
* No description
|
|
@@ -258,6 +216,48 @@ class Api extends HttpClient {
|
|
|
258
216
|
*/
|
|
259
217
|
assistantControllerRemove: (id, params = {}) => this.request(Object.assign({ path: `/assistant/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
260
218
|
};
|
|
219
|
+
this.call = {
|
|
220
|
+
/**
|
|
221
|
+
* No description
|
|
222
|
+
*
|
|
223
|
+
* @tags Calls
|
|
224
|
+
* @name CallControllerFindAll
|
|
225
|
+
* @summary List Calls
|
|
226
|
+
* @request GET:/call
|
|
227
|
+
* @secure
|
|
228
|
+
*/
|
|
229
|
+
callControllerFindAll: (params = {}) => this.request(Object.assign({ path: `/call`, method: "GET", secure: true, format: "json" }, params)),
|
|
230
|
+
/**
|
|
231
|
+
* No description
|
|
232
|
+
*
|
|
233
|
+
* @tags Calls
|
|
234
|
+
* @name CallControllerFindOne
|
|
235
|
+
* @summary Get Call
|
|
236
|
+
* @request GET:/call/{id}
|
|
237
|
+
* @secure
|
|
238
|
+
*/
|
|
239
|
+
callControllerFindOne: (id, params = {}) => this.request(Object.assign({ path: `/call/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
240
|
+
/**
|
|
241
|
+
* No description
|
|
242
|
+
*
|
|
243
|
+
* @tags Calls
|
|
244
|
+
* @name CallControllerCreatePhoneCall
|
|
245
|
+
* @summary Create Phone Call
|
|
246
|
+
* @request POST:/call/phone
|
|
247
|
+
* @secure
|
|
248
|
+
*/
|
|
249
|
+
callControllerCreatePhoneCall: (data, params = {}) => this.request(Object.assign({ path: `/call/phone`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
250
|
+
/**
|
|
251
|
+
* No description
|
|
252
|
+
*
|
|
253
|
+
* @tags Calls
|
|
254
|
+
* @name CallControllerCreateWebCall
|
|
255
|
+
* @summary Create Web Call
|
|
256
|
+
* @request POST:/call/web
|
|
257
|
+
* @secure
|
|
258
|
+
*/
|
|
259
|
+
callControllerCreateWebCall: (data, params = {}) => this.request(Object.assign({ path: `/call/web`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
260
|
+
};
|
|
261
261
|
this.phoneNumber = {
|
|
262
262
|
/**
|
|
263
263
|
* No description
|