@vapi-ai/web 1.0.230 → 1.0.231

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.
Files changed (3) hide show
  1. package/api.ts +24 -3
  2. package/dist/api.d.ts +24 -3
  3. package/package.json +1 -1
package/api.ts CHANGED
@@ -155,6 +155,13 @@ export interface CreateAssistantDTO {
155
155
  * @maxLength 400
156
156
  */
157
157
  voicemailMessage?: string;
158
+ /**
159
+ * This is the message that the assistant will say if it ends the call.
160
+ *
161
+ * If unspecified, it will hang up without saying anything.
162
+ * @maxLength 400
163
+ */
164
+ endCallMessage?: string;
158
165
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
159
166
  interruptionsEnabled?: boolean;
160
167
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -163,7 +170,7 @@ export interface CreateAssistantDTO {
163
170
  endCallFunctionEnabled?: boolean;
164
171
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
165
172
  fillersEnabled?: boolean;
166
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
173
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
167
174
  keywords?: string[];
168
175
  }
169
176
 
@@ -436,6 +443,13 @@ export interface Assistant {
436
443
  * @maxLength 400
437
444
  */
438
445
  voicemailMessage?: string;
446
+ /**
447
+ * This is the message that the assistant will say if it ends the call.
448
+ *
449
+ * If unspecified, it will hang up without saying anything.
450
+ * @maxLength 400
451
+ */
452
+ endCallMessage?: string;
439
453
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
440
454
  interruptionsEnabled?: boolean;
441
455
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -444,7 +458,7 @@ export interface Assistant {
444
458
  endCallFunctionEnabled?: boolean;
445
459
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
446
460
  fillersEnabled?: boolean;
447
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
461
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
448
462
  keywords?: string[];
449
463
  /** This is the unique identifier for the assistant. */
450
464
  id: string;
@@ -574,6 +588,13 @@ export interface UpdateAssistantDTO {
574
588
  * @maxLength 400
575
589
  */
576
590
  voicemailMessage?: string;
591
+ /**
592
+ * This is the message that the assistant will say if it ends the call.
593
+ *
594
+ * If unspecified, it will hang up without saying anything.
595
+ * @maxLength 400
596
+ */
597
+ endCallMessage?: string;
577
598
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
578
599
  interruptionsEnabled?: boolean;
579
600
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -582,7 +603,7 @@ export interface UpdateAssistantDTO {
582
603
  endCallFunctionEnabled?: boolean;
583
604
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
584
605
  fillersEnabled?: boolean;
585
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
606
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
586
607
  keywords?: string[];
587
608
  }
588
609
 
package/dist/api.d.ts CHANGED
@@ -86,6 +86,13 @@ export interface CreateAssistantDTO {
86
86
  * @maxLength 400
87
87
  */
88
88
  voicemailMessage?: string;
89
+ /**
90
+ * This is the message that the assistant will say if it ends the call.
91
+ *
92
+ * If unspecified, it will hang up without saying anything.
93
+ * @maxLength 400
94
+ */
95
+ endCallMessage?: string;
89
96
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
90
97
  interruptionsEnabled?: boolean;
91
98
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -94,7 +101,7 @@ export interface CreateAssistantDTO {
94
101
  endCallFunctionEnabled?: boolean;
95
102
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
96
103
  fillersEnabled?: boolean;
97
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
104
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
98
105
  keywords?: string[];
99
106
  }
100
107
  export interface CreateCustomerDTO {
@@ -306,6 +313,13 @@ export interface Assistant {
306
313
  * @maxLength 400
307
314
  */
308
315
  voicemailMessage?: string;
316
+ /**
317
+ * This is the message that the assistant will say if it ends the call.
318
+ *
319
+ * If unspecified, it will hang up without saying anything.
320
+ * @maxLength 400
321
+ */
322
+ endCallMessage?: string;
309
323
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
310
324
  interruptionsEnabled?: boolean;
311
325
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -314,7 +328,7 @@ export interface Assistant {
314
328
  endCallFunctionEnabled?: boolean;
315
329
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
316
330
  fillersEnabled?: boolean;
317
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
331
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
318
332
  keywords?: string[];
319
333
  /** This is the unique identifier for the assistant. */
320
334
  id: string;
@@ -388,6 +402,13 @@ export interface UpdateAssistantDTO {
388
402
  * @maxLength 400
389
403
  */
390
404
  voicemailMessage?: string;
405
+ /**
406
+ * This is the message that the assistant will say if it ends the call.
407
+ *
408
+ * If unspecified, it will hang up without saying anything.
409
+ * @maxLength 400
410
+ */
411
+ endCallMessage?: string;
391
412
  /** This sets whether the user can interrupt the assistant while it's speaking. Defaults to true. */
392
413
  interruptionsEnabled?: boolean;
393
414
  /** This sets whether the assistant's calls are recorded. Defaults to true. */
@@ -396,7 +417,7 @@ export interface UpdateAssistantDTO {
396
417
  endCallFunctionEnabled?: boolean;
397
418
  /** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
398
419
  fillersEnabled?: boolean;
399
- /** These keywords are passed to the transcription model to help it pick up use-case specific words. */
420
+ /** These keywords are passed to the transcription model to help it pick up use-case specific words. Anything that may not be a common word, like your company name, should be added here. */
400
421
  keywords?: string[];
401
422
  }
402
423
  export interface BuyPhoneNumberDTO {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-ai/web",
3
- "version": "1.0.230",
3
+ "version": "1.0.231",
4
4
  "description": "",
5
5
  "main": "dist/vapi.js",
6
6
  "types": "dist/vapi.d.ts",