@vendasta/ai-assistants 0.19.0 → 0.20.0
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/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/_internal/objects/assistant.mjs +30 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +36 -1
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +36 -1
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/interfaces/assistant.interface.d.ts +5 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/_internal/objects/assistant.d.ts +8 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -308,6 +308,7 @@ export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
|
308
308
|
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
309
309
|
includeAllCitations?: boolean;
|
|
310
310
|
enableAsyncFunctions?: boolean;
|
|
311
|
+
maxTokens?: number;
|
|
311
312
|
}
|
|
312
313
|
export interface SetAssistantConnectionsRequestInterface {
|
|
313
314
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
@@ -14,6 +14,10 @@ export interface AssistantKeyInterface {
|
|
|
14
14
|
id?: string;
|
|
15
15
|
namespace?: NamespaceInterface;
|
|
16
16
|
}
|
|
17
|
+
export interface BookingConfigInterface {
|
|
18
|
+
calendarId?: string;
|
|
19
|
+
meetingTypeId?: string;
|
|
20
|
+
}
|
|
17
21
|
export interface ConfigInterface {
|
|
18
22
|
inboxConfig?: ConfigInboxConfigInterface;
|
|
19
23
|
voiceConfig?: ConfigVoiceConfigInterface;
|
|
@@ -27,6 +31,7 @@ export interface DeepgramConfigInterface {
|
|
|
27
31
|
export interface ConfigInboxConfigInterface {
|
|
28
32
|
leadCaptureEnabled?: boolean;
|
|
29
33
|
additionalInstructions?: string;
|
|
34
|
+
bookingConfig?: BookingConfigInterface;
|
|
30
35
|
}
|
|
31
36
|
export interface ModelConfigInterface {
|
|
32
37
|
openaiRealtimeConfig?: OpenAIRealtimeConfigInterface;
|
|
@@ -2,7 +2,7 @@ export { NamespaceAccountGroupNamespaceInterface, NamespaceAccountGroupsForGroup
|
|
|
2
2
|
export { FunctionInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, } from './function.interface';
|
|
3
3
|
export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
|
|
4
4
|
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
5
|
-
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
5
|
+
export { AssistantInterface, AssistantKeyInterface, BookingConfigInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
6
6
|
export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
|
|
7
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
8
8
|
export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
|
|
@@ -538,6 +538,7 @@ export declare class CreatePromptModuleVersionRequestOptions implements i.Create
|
|
|
538
538
|
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
539
539
|
includeAllCitations: boolean;
|
|
540
540
|
enableAsyncFunctions: boolean;
|
|
541
|
+
maxTokens: number;
|
|
541
542
|
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
542
543
|
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
543
544
|
toApiJson(): object;
|
|
@@ -22,6 +22,13 @@ export declare class AssistantKey implements i.AssistantKeyInterface {
|
|
|
22
22
|
constructor(kwargs?: i.AssistantKeyInterface);
|
|
23
23
|
toApiJson(): object;
|
|
24
24
|
}
|
|
25
|
+
export declare class BookingConfig implements i.BookingConfigInterface {
|
|
26
|
+
calendarId: string;
|
|
27
|
+
meetingTypeId: string;
|
|
28
|
+
static fromProto(proto: any): BookingConfig;
|
|
29
|
+
constructor(kwargs?: i.BookingConfigInterface);
|
|
30
|
+
toApiJson(): object;
|
|
31
|
+
}
|
|
25
32
|
export declare class Config implements i.ConfigInterface {
|
|
26
33
|
inboxConfig: ConfigInboxConfig;
|
|
27
34
|
voiceConfig: ConfigVoiceConfig;
|
|
@@ -44,6 +51,7 @@ export declare class DeepgramConfig implements i.DeepgramConfigInterface {
|
|
|
44
51
|
export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
|
|
45
52
|
leadCaptureEnabled: boolean;
|
|
46
53
|
additionalInstructions: string;
|
|
54
|
+
bookingConfig: BookingConfig;
|
|
47
55
|
static fromProto(proto: any): ConfigInboxConfig;
|
|
48
56
|
constructor(kwargs?: i.ConfigInboxConfigInterface);
|
|
49
57
|
toApiJson(): object;
|
|
@@ -2,7 +2,7 @@ export { NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace
|
|
|
2
2
|
export { Function, FunctionHeader, FunctionKey, FunctionParameter, } from './function';
|
|
3
3
|
export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
|
|
4
4
|
export { Goal, GoalKey, } from './goal';
|
|
5
|
-
export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
5
|
+
export { Assistant, AssistantKey, BookingConfig, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
6
6
|
export { Connection, ConnectionKey, } from './connection';
|
|
7
7
|
export { KeyValuePair, } from './common';
|
|
8
8
|
export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
|