@vapi-ai/web 1.0.228 → 1.0.229
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 +8 -2
- package/dist/api.d.ts +7 -1
- package/dist/api.js +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -163,6 +163,8 @@ export interface CreateAssistantDTO {
|
|
|
163
163
|
endCallFunctionEnabled?: boolean;
|
|
164
164
|
/** 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
165
|
fillersEnabled?: boolean;
|
|
166
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
167
|
+
keywords?: string[];
|
|
166
168
|
}
|
|
167
169
|
|
|
168
170
|
export interface CreateCustomerDTO {
|
|
@@ -442,6 +444,8 @@ export interface Assistant {
|
|
|
442
444
|
endCallFunctionEnabled?: boolean;
|
|
443
445
|
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
|
|
444
446
|
fillersEnabled?: boolean;
|
|
447
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
448
|
+
keywords?: string[];
|
|
445
449
|
/** This is the unique identifier for the assistant. */
|
|
446
450
|
id: string;
|
|
447
451
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -578,6 +582,8 @@ export interface UpdateAssistantDTO {
|
|
|
578
582
|
endCallFunctionEnabled?: boolean;
|
|
579
583
|
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
|
|
580
584
|
fillersEnabled?: boolean;
|
|
585
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
586
|
+
keywords?: string[];
|
|
581
587
|
}
|
|
582
588
|
|
|
583
589
|
export interface BuyPhoneNumberDTO {
|
|
@@ -711,7 +717,7 @@ export enum ContentType {
|
|
|
711
717
|
}
|
|
712
718
|
|
|
713
719
|
export class HttpClient<SecurityDataType = unknown> {
|
|
714
|
-
public baseUrl: string = "https://
|
|
720
|
+
public baseUrl: string = "https://hugely-stirred-krill.ngrok-free.app";
|
|
715
721
|
private securityData: SecurityDataType | null = null;
|
|
716
722
|
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
717
723
|
private abortControllers = new Map<CancelToken, AbortController>();
|
|
@@ -878,7 +884,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
878
884
|
/**
|
|
879
885
|
* @title Vapi API
|
|
880
886
|
* @version 1.0
|
|
881
|
-
* @baseUrl https://
|
|
887
|
+
* @baseUrl https://hugely-stirred-krill.ngrok-free.app
|
|
882
888
|
* @contact
|
|
883
889
|
*
|
|
884
890
|
* API for building voice assistants
|
package/dist/api.d.ts
CHANGED
|
@@ -94,6 +94,8 @@ export interface CreateAssistantDTO {
|
|
|
94
94
|
endCallFunctionEnabled?: boolean;
|
|
95
95
|
/** 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
96
|
fillersEnabled?: boolean;
|
|
97
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
98
|
+
keywords?: string[];
|
|
97
99
|
}
|
|
98
100
|
export interface CreateCustomerDTO {
|
|
99
101
|
/** This is the number of the customer. */
|
|
@@ -312,6 +314,8 @@ export interface Assistant {
|
|
|
312
314
|
endCallFunctionEnabled?: boolean;
|
|
313
315
|
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
|
|
314
316
|
fillersEnabled?: boolean;
|
|
317
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
318
|
+
keywords?: string[];
|
|
315
319
|
/** This is the unique identifier for the assistant. */
|
|
316
320
|
id: string;
|
|
317
321
|
/** This is the unique identifier for the org that this assistant belongs to. */
|
|
@@ -392,6 +396,8 @@ export interface UpdateAssistantDTO {
|
|
|
392
396
|
endCallFunctionEnabled?: boolean;
|
|
393
397
|
/** This sets whether the assistant will use fillers like Well..., Okay cool..., etc. Defaults to true when using gpt-4. Else, defaults to false. */
|
|
394
398
|
fillersEnabled?: boolean;
|
|
399
|
+
/** These keywords are passed to the transcription model to help it pick up use-case specific words. */
|
|
400
|
+
keywords?: string[];
|
|
395
401
|
}
|
|
396
402
|
export interface BuyPhoneNumberDTO {
|
|
397
403
|
/**
|
|
@@ -536,7 +542,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
536
542
|
/**
|
|
537
543
|
* @title Vapi API
|
|
538
544
|
* @version 1.0
|
|
539
|
-
* @baseUrl https://
|
|
545
|
+
* @baseUrl https://hugely-stirred-krill.ngrok-free.app
|
|
540
546
|
* @contact
|
|
541
547
|
*
|
|
542
548
|
* API for building voice assistants
|
package/dist/api.js
CHANGED
|
@@ -40,7 +40,7 @@ var ContentType;
|
|
|
40
40
|
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
41
41
|
class HttpClient {
|
|
42
42
|
constructor(apiConfig = {}) {
|
|
43
|
-
this.baseUrl = "https://
|
|
43
|
+
this.baseUrl = "https://hugely-stirred-krill.ngrok-free.app";
|
|
44
44
|
this.securityData = null;
|
|
45
45
|
this.abortControllers = new Map();
|
|
46
46
|
this.customFetch = (...fetchParams) => fetch(...fetchParams);
|
|
@@ -156,7 +156,7 @@ exports.HttpClient = HttpClient;
|
|
|
156
156
|
/**
|
|
157
157
|
* @title Vapi API
|
|
158
158
|
* @version 1.0
|
|
159
|
-
* @baseUrl https://
|
|
159
|
+
* @baseUrl https://hugely-stirred-krill.ngrok-free.app
|
|
160
160
|
* @contact
|
|
161
161
|
*
|
|
162
162
|
* API for building voice assistants
|