@vapi-ai/web 1.0.225 → 1.0.227
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 +19 -1
- package/dist/api.d.ts +13 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -57,10 +57,13 @@ export interface CreateAssistantDTO {
|
|
|
57
57
|
| "jennifer-playht"
|
|
58
58
|
| "melissa-playht"
|
|
59
59
|
| "will-playht"
|
|
60
|
+
| "chris-playht"
|
|
61
|
+
| "matt-playht"
|
|
60
62
|
| "jack-playht"
|
|
61
63
|
| "ruby-playht"
|
|
62
64
|
| "davis-playht"
|
|
63
65
|
| "donna-playht"
|
|
66
|
+
| "michael-playht"
|
|
64
67
|
| "burt-11labs"
|
|
65
68
|
| "andrea-11labs"
|
|
66
69
|
| "phillip-11labs"
|
|
@@ -150,6 +153,8 @@ export interface CreateAssistantDTO {
|
|
|
150
153
|
recordingEnabled?: boolean;
|
|
151
154
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
152
155
|
endCallFunctionEnabled?: boolean;
|
|
156
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
157
|
+
fillersEnabled?: boolean;
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
export interface CreateCustomerDTO {
|
|
@@ -323,10 +328,13 @@ export interface Assistant {
|
|
|
323
328
|
| "jennifer-playht"
|
|
324
329
|
| "melissa-playht"
|
|
325
330
|
| "will-playht"
|
|
331
|
+
| "chris-playht"
|
|
332
|
+
| "matt-playht"
|
|
326
333
|
| "jack-playht"
|
|
327
334
|
| "ruby-playht"
|
|
328
335
|
| "davis-playht"
|
|
329
336
|
| "donna-playht"
|
|
337
|
+
| "michael-playht"
|
|
330
338
|
| "burt-11labs"
|
|
331
339
|
| "andrea-11labs"
|
|
332
340
|
| "phillip-11labs"
|
|
@@ -416,6 +424,8 @@ export interface Assistant {
|
|
|
416
424
|
recordingEnabled?: boolean;
|
|
417
425
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
418
426
|
endCallFunctionEnabled?: boolean;
|
|
427
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
428
|
+
fillersEnabled?: boolean;
|
|
419
429
|
/** This is the unique identifier for the assistant. */
|
|
420
430
|
id: string;
|
|
421
431
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -446,10 +456,13 @@ export interface UpdateAssistantDTO {
|
|
|
446
456
|
| "jennifer-playht"
|
|
447
457
|
| "melissa-playht"
|
|
448
458
|
| "will-playht"
|
|
459
|
+
| "chris-playht"
|
|
460
|
+
| "matt-playht"
|
|
449
461
|
| "jack-playht"
|
|
450
462
|
| "ruby-playht"
|
|
451
463
|
| "davis-playht"
|
|
452
464
|
| "donna-playht"
|
|
465
|
+
| "michael-playht"
|
|
453
466
|
| "burt-11labs"
|
|
454
467
|
| "andrea-11labs"
|
|
455
468
|
| "phillip-11labs"
|
|
@@ -539,6 +552,8 @@ export interface UpdateAssistantDTO {
|
|
|
539
552
|
recordingEnabled?: boolean;
|
|
540
553
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
541
554
|
endCallFunctionEnabled?: boolean;
|
|
555
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
556
|
+
fillersEnabled?: boolean;
|
|
542
557
|
}
|
|
543
558
|
|
|
544
559
|
export interface BuyPhoneNumberDTO {
|
|
@@ -580,7 +595,10 @@ export interface PhoneNumber {
|
|
|
580
595
|
stripeSubscriptionId?: string;
|
|
581
596
|
/** This is the subscription's status. */
|
|
582
597
|
stripeSubscriptionStatus?: string;
|
|
583
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* This is the subscription's current period start.
|
|
600
|
+
* @format date-time
|
|
601
|
+
*/
|
|
584
602
|
stripeSubscriptionCurrentPeriodStart?: string;
|
|
585
603
|
/** These are the digits of the phone number. */
|
|
586
604
|
number: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface CreateAssistantDTO {
|
|
|
39
39
|
*
|
|
40
40
|
* Basic Voices: `*-rimeai`
|
|
41
41
|
*/
|
|
42
|
-
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
42
|
+
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "chris-playht" | "matt-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "michael-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
43
43
|
/**
|
|
44
44
|
* This sets the spoken language of the user. The assistant will do its best to respond in the same language.
|
|
45
45
|
* When using a language other than `en-*`, only `*-11labs` voices will pronounce the words correctly. There will also be ~1sec of additional latency.
|
|
@@ -92,6 +92,8 @@ export interface CreateAssistantDTO {
|
|
|
92
92
|
recordingEnabled?: boolean;
|
|
93
93
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
94
94
|
endCallFunctionEnabled?: boolean;
|
|
95
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
96
|
+
fillersEnabled?: boolean;
|
|
95
97
|
}
|
|
96
98
|
export interface CreateCustomerDTO {
|
|
97
99
|
/** This is the number of the customer. */
|
|
@@ -255,7 +257,7 @@ export interface Assistant {
|
|
|
255
257
|
*
|
|
256
258
|
* Basic Voices: `*-rimeai`
|
|
257
259
|
*/
|
|
258
|
-
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
260
|
+
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "chris-playht" | "matt-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "michael-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
259
261
|
/**
|
|
260
262
|
* This sets the spoken language of the user. The assistant will do its best to respond in the same language.
|
|
261
263
|
* When using a language other than `en-*`, only `*-11labs` voices will pronounce the words correctly. There will also be ~1sec of additional latency.
|
|
@@ -308,6 +310,8 @@ export interface Assistant {
|
|
|
308
310
|
recordingEnabled?: boolean;
|
|
309
311
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
310
312
|
endCallFunctionEnabled?: boolean;
|
|
313
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
314
|
+
fillersEnabled?: boolean;
|
|
311
315
|
/** This is the unique identifier for the assistant. */
|
|
312
316
|
id: string;
|
|
313
317
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -333,7 +337,7 @@ export interface UpdateAssistantDTO {
|
|
|
333
337
|
*
|
|
334
338
|
* Basic Voices: `*-rimeai`
|
|
335
339
|
*/
|
|
336
|
-
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
340
|
+
voice?: "jennifer-playht" | "melissa-playht" | "will-playht" | "chris-playht" | "matt-playht" | "jack-playht" | "ruby-playht" | "davis-playht" | "donna-playht" | "michael-playht" | "burt-11labs" | "andrea-11labs" | "phillip-11labs" | "steve-11labs" | "joseph-11labs" | "myra-11labs" | "paula-11labs" | "ryan-11labs" | "drew-11labs" | "paul-11labs" | "mrb-11labs" | "matilda-11labs" | "kai-rimeai" | "zion-rimeai" | "xavier-rimeai" | "marty-rimeai" | "hudson-rimeai" | "savannah-rimeai" | "colette-rimeai" | "daphne-rimeai" | "aurora-rimeai" | "nova-rimeai";
|
|
337
341
|
/**
|
|
338
342
|
* This sets the spoken language of the user. The assistant will do its best to respond in the same language.
|
|
339
343
|
* When using a language other than `en-*`, only `*-11labs` voices will pronounce the words correctly. There will also be ~1sec of additional latency.
|
|
@@ -386,6 +390,8 @@ export interface UpdateAssistantDTO {
|
|
|
386
390
|
recordingEnabled?: boolean;
|
|
387
391
|
/** This sets whether the assistant will be able to hang up the call. Defaults to false. */
|
|
388
392
|
endCallFunctionEnabled?: boolean;
|
|
393
|
+
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. */
|
|
394
|
+
fillersEnabled?: boolean;
|
|
389
395
|
}
|
|
390
396
|
export interface BuyPhoneNumberDTO {
|
|
391
397
|
/**
|
|
@@ -425,7 +431,10 @@ export interface PhoneNumber {
|
|
|
425
431
|
stripeSubscriptionId?: string;
|
|
426
432
|
/** This is the subscription's status. */
|
|
427
433
|
stripeSubscriptionStatus?: string;
|
|
428
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* This is the subscription's current period start.
|
|
436
|
+
* @format date-time
|
|
437
|
+
*/
|
|
429
438
|
stripeSubscriptionCurrentPeriodStart?: string;
|
|
430
439
|
/** These are the digits of the phone number. */
|
|
431
440
|
number: string;
|