@vapi-ai/web 1.0.223 → 1.0.224
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 +21 -6
- package/dist/api.d.ts +21 -6
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -117,12 +117,17 @@ export interface CreateAssistantDTO {
|
|
|
117
117
|
* @maxLength 400
|
|
118
118
|
*/
|
|
119
119
|
firstMessage?: string;
|
|
120
|
+
/**
|
|
121
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
122
|
+
*
|
|
123
|
+
* If unspecified, it will hang up.
|
|
124
|
+
* @maxLength 400
|
|
125
|
+
*/
|
|
126
|
+
voicemailMessage?: string;
|
|
120
127
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
121
128
|
interruptionsEnabled?: boolean;
|
|
122
129
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
123
130
|
recordingEnabled?: boolean;
|
|
124
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
125
|
-
voicemailEnabled?: boolean;
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
export interface CreateCustomerDTO {
|
|
@@ -356,12 +361,17 @@ export interface Assistant {
|
|
|
356
361
|
* @maxLength 400
|
|
357
362
|
*/
|
|
358
363
|
firstMessage?: string;
|
|
364
|
+
/**
|
|
365
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
366
|
+
*
|
|
367
|
+
* If unspecified, it will hang up.
|
|
368
|
+
* @maxLength 400
|
|
369
|
+
*/
|
|
370
|
+
voicemailMessage?: string;
|
|
359
371
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
360
372
|
interruptionsEnabled?: boolean;
|
|
361
373
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
362
374
|
recordingEnabled?: boolean;
|
|
363
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
364
|
-
voicemailEnabled?: boolean;
|
|
365
375
|
/** This is the unique identifier for the assistant. */
|
|
366
376
|
id: string;
|
|
367
377
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -452,12 +462,17 @@ export interface UpdateAssistantDTO {
|
|
|
452
462
|
* @maxLength 400
|
|
453
463
|
*/
|
|
454
464
|
firstMessage?: string;
|
|
465
|
+
/**
|
|
466
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
467
|
+
*
|
|
468
|
+
* If unspecified, it will hang up.
|
|
469
|
+
* @maxLength 400
|
|
470
|
+
*/
|
|
471
|
+
voicemailMessage?: string;
|
|
455
472
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
456
473
|
interruptionsEnabled?: boolean;
|
|
457
474
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
458
475
|
recordingEnabled?: boolean;
|
|
459
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
460
|
-
voicemailEnabled?: boolean;
|
|
461
476
|
}
|
|
462
477
|
|
|
463
478
|
export interface BuyPhoneNumberDTO {
|
package/dist/api.d.ts
CHANGED
|
@@ -74,12 +74,17 @@ export interface CreateAssistantDTO {
|
|
|
74
74
|
* @maxLength 400
|
|
75
75
|
*/
|
|
76
76
|
firstMessage?: string;
|
|
77
|
+
/**
|
|
78
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
79
|
+
*
|
|
80
|
+
* If unspecified, it will hang up.
|
|
81
|
+
* @maxLength 400
|
|
82
|
+
*/
|
|
83
|
+
voicemailMessage?: string;
|
|
77
84
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
78
85
|
interruptionsEnabled?: boolean;
|
|
79
86
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
80
87
|
recordingEnabled?: boolean;
|
|
81
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
82
|
-
voicemailEnabled?: boolean;
|
|
83
88
|
}
|
|
84
89
|
export interface CreateCustomerDTO {
|
|
85
90
|
/** This is the number of the customer. */
|
|
@@ -278,12 +283,17 @@ export interface Assistant {
|
|
|
278
283
|
* @maxLength 400
|
|
279
284
|
*/
|
|
280
285
|
firstMessage?: string;
|
|
286
|
+
/**
|
|
287
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
288
|
+
*
|
|
289
|
+
* If unspecified, it will hang up.
|
|
290
|
+
* @maxLength 400
|
|
291
|
+
*/
|
|
292
|
+
voicemailMessage?: string;
|
|
281
293
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
282
294
|
interruptionsEnabled?: boolean;
|
|
283
295
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
284
296
|
recordingEnabled?: boolean;
|
|
285
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
286
|
-
voicemailEnabled?: boolean;
|
|
287
297
|
/** This is the unique identifier for the assistant. */
|
|
288
298
|
id: string;
|
|
289
299
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -344,12 +354,17 @@ export interface UpdateAssistantDTO {
|
|
|
344
354
|
* @maxLength 400
|
|
345
355
|
*/
|
|
346
356
|
firstMessage?: string;
|
|
357
|
+
/**
|
|
358
|
+
* This is the message that the assistant will say if the call is forwarded to voicemail.
|
|
359
|
+
*
|
|
360
|
+
* If unspecified, it will hang up.
|
|
361
|
+
* @maxLength 400
|
|
362
|
+
*/
|
|
363
|
+
voicemailMessage?: string;
|
|
347
364
|
/** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
|
|
348
365
|
interruptionsEnabled?: boolean;
|
|
349
366
|
/** This sets whether calls are recorded for the assistant. Defaults to true. */
|
|
350
367
|
recordingEnabled?: boolean;
|
|
351
|
-
/** This sets whether assistant leaves voicemails when call is not picked up. Defaults to true. */
|
|
352
|
-
voicemailEnabled?: boolean;
|
|
353
368
|
}
|
|
354
369
|
export interface BuyPhoneNumberDTO {
|
|
355
370
|
/**
|