@vapi-ai/web 2.3.1 → 2.3.2
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 +1224 -1784
- package/dist/api.d.ts +767 -1666
- package/dist/api.js +15 -35
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -377,9 +377,9 @@ class Api extends HttpClient {
|
|
|
377
377
|
/**
|
|
378
378
|
* No description
|
|
379
379
|
*
|
|
380
|
-
* @tags
|
|
380
|
+
* @tags Chats
|
|
381
381
|
* @name ChatControllerListChats
|
|
382
|
-
* @summary List
|
|
382
|
+
* @summary List Chats
|
|
383
383
|
* @request GET:/chat
|
|
384
384
|
* @secure
|
|
385
385
|
*/
|
|
@@ -394,9 +394,9 @@ class Api extends HttpClient {
|
|
|
394
394
|
/**
|
|
395
395
|
* @description Creates a new chat. Requires at least one of: assistantId/assistant, sessionId, or previousChatId. Note: sessionId and previousChatId are mutually exclusive.
|
|
396
396
|
*
|
|
397
|
-
* @tags
|
|
397
|
+
* @tags Chats
|
|
398
398
|
* @name ChatControllerCreateChat
|
|
399
|
-
* @summary Create
|
|
399
|
+
* @summary Create Chat
|
|
400
400
|
* @request POST:/chat
|
|
401
401
|
* @secure
|
|
402
402
|
*/
|
|
@@ -412,9 +412,9 @@ class Api extends HttpClient {
|
|
|
412
412
|
/**
|
|
413
413
|
* No description
|
|
414
414
|
*
|
|
415
|
-
* @tags
|
|
415
|
+
* @tags Chats
|
|
416
416
|
* @name ChatControllerGetChat
|
|
417
|
-
* @summary Get
|
|
417
|
+
* @summary Get Chat
|
|
418
418
|
* @request GET:/chat/{id}
|
|
419
419
|
* @secure
|
|
420
420
|
*/
|
|
@@ -428,9 +428,9 @@ class Api extends HttpClient {
|
|
|
428
428
|
/**
|
|
429
429
|
* No description
|
|
430
430
|
*
|
|
431
|
-
* @tags
|
|
431
|
+
* @tags Chats
|
|
432
432
|
* @name ChatControllerDeleteChat
|
|
433
|
-
* @summary Delete
|
|
433
|
+
* @summary Delete Chat
|
|
434
434
|
* @request DELETE:/chat/{id}
|
|
435
435
|
* @secure
|
|
436
436
|
*/
|
|
@@ -444,9 +444,9 @@ class Api extends HttpClient {
|
|
|
444
444
|
/**
|
|
445
445
|
* No description
|
|
446
446
|
*
|
|
447
|
-
* @tags
|
|
447
|
+
* @tags Chats
|
|
448
448
|
* @name ChatControllerCreateOpenAiChat
|
|
449
|
-
* @summary Create
|
|
449
|
+
* @summary Create Chat (OpenAI Compatible)
|
|
450
450
|
* @request POST:/chat/responses
|
|
451
451
|
* @secure
|
|
452
452
|
*/
|
|
@@ -1079,7 +1079,7 @@ class Api extends HttpClient {
|
|
|
1079
1079
|
*
|
|
1080
1080
|
* @tags Workflow
|
|
1081
1081
|
* @name WorkflowControllerFindAll
|
|
1082
|
-
* @summary
|
|
1082
|
+
* @summary Get Workflows
|
|
1083
1083
|
* @request GET:/workflow
|
|
1084
1084
|
* @secure
|
|
1085
1085
|
*/
|
|
@@ -1095,7 +1095,7 @@ class Api extends HttpClient {
|
|
|
1095
1095
|
*
|
|
1096
1096
|
* @tags Workflow
|
|
1097
1097
|
* @name WorkflowControllerCreate
|
|
1098
|
-
* @summary
|
|
1098
|
+
* @summary Create Workflow
|
|
1099
1099
|
* @request POST:/workflow
|
|
1100
1100
|
* @secure
|
|
1101
1101
|
*/
|
|
@@ -1113,7 +1113,7 @@ class Api extends HttpClient {
|
|
|
1113
1113
|
*
|
|
1114
1114
|
* @tags Workflow
|
|
1115
1115
|
* @name WorkflowControllerFindOne
|
|
1116
|
-
* @summary
|
|
1116
|
+
* @summary Get Workflow
|
|
1117
1117
|
* @request GET:/workflow/{id}
|
|
1118
1118
|
* @secure
|
|
1119
1119
|
*/
|
|
@@ -1129,7 +1129,7 @@ class Api extends HttpClient {
|
|
|
1129
1129
|
*
|
|
1130
1130
|
* @tags Workflow
|
|
1131
1131
|
* @name WorkflowControllerDelete
|
|
1132
|
-
* @summary
|
|
1132
|
+
* @summary Delete Workflow
|
|
1133
1133
|
* @request DELETE:/workflow/{id}
|
|
1134
1134
|
* @secure
|
|
1135
1135
|
*/
|
|
@@ -1145,7 +1145,7 @@ class Api extends HttpClient {
|
|
|
1145
1145
|
*
|
|
1146
1146
|
* @tags Workflow
|
|
1147
1147
|
* @name WorkflowControllerUpdate
|
|
1148
|
-
* @summary
|
|
1148
|
+
* @summary Update Workflow
|
|
1149
1149
|
* @request PATCH:/workflow/{id}
|
|
1150
1150
|
* @secure
|
|
1151
1151
|
*/
|
|
@@ -1503,26 +1503,6 @@ class Api extends HttpClient {
|
|
|
1503
1503
|
...params,
|
|
1504
1504
|
}),
|
|
1505
1505
|
};
|
|
1506
|
-
metrics = {
|
|
1507
|
-
/**
|
|
1508
|
-
* @description Use GET /metric instead
|
|
1509
|
-
*
|
|
1510
|
-
* @tags Analytics
|
|
1511
|
-
* @name AnalyticsControllerFindAllDeprecated
|
|
1512
|
-
* @summary List Billing Metrics
|
|
1513
|
-
* @request GET:/metrics
|
|
1514
|
-
* @deprecated
|
|
1515
|
-
* @secure
|
|
1516
|
-
*/
|
|
1517
|
-
analyticsControllerFindAllDeprecated: (query, params = {}) => this.request({
|
|
1518
|
-
path: `/metrics`,
|
|
1519
|
-
method: 'GET',
|
|
1520
|
-
query: query,
|
|
1521
|
-
secure: true,
|
|
1522
|
-
format: 'json',
|
|
1523
|
-
...params,
|
|
1524
|
-
}),
|
|
1525
|
-
};
|
|
1526
1506
|
analytics = {
|
|
1527
1507
|
/**
|
|
1528
1508
|
* No description
|