@vendasta/ai-assistants 0.20.0 → 0.21.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.
@@ -1,4 +1,5 @@
1
1
  import { GoalInterface } from './goal.interface';
2
+ import { KeyValuePairInterface } from './common.interface';
2
3
  import { NamespaceInterface } from './namespace.interface';
3
4
  import * as e from '../enums';
4
5
  export interface AssistantInterface {
@@ -14,16 +15,13 @@ export interface AssistantKeyInterface {
14
15
  id?: string;
15
16
  namespace?: NamespaceInterface;
16
17
  }
17
- export interface BookingConfigInterface {
18
- calendarId?: string;
19
- meetingTypeId?: string;
20
- }
21
18
  export interface ConfigInterface {
22
19
  inboxConfig?: ConfigInboxConfigInterface;
23
20
  voiceConfig?: ConfigVoiceConfigInterface;
24
21
  }
25
22
  export interface ConfigurableGoalInterface {
26
23
  goal?: GoalInterface;
24
+ configuration?: KeyValuePairInterface[];
27
25
  }
28
26
  export interface DeepgramConfigInterface {
29
27
  voice?: string;
@@ -31,7 +29,6 @@ export interface DeepgramConfigInterface {
31
29
  export interface ConfigInboxConfigInterface {
32
30
  leadCaptureEnabled?: boolean;
33
31
  additionalInstructions?: string;
34
- bookingConfig?: BookingConfigInterface;
35
32
  }
36
33
  export interface ModelConfigInterface {
37
34
  openaiRealtimeConfig?: OpenAIRealtimeConfigInterface;
@@ -2,9 +2,9 @@ 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, BookingConfigInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
6
- export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
7
5
  export { KeyValuePairInterface, } from './common.interface';
6
+ export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
7
+ export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
8
8
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
9
9
  export { AccessInterface, } from './annotations.interface';
10
10
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
2
  import { Goal } from './goal';
3
+ import { KeyValuePair } from './common';
3
4
  import { Namespace } from './namespace';
4
5
  import * as e from '../enums';
5
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
@@ -22,13 +23,6 @@ export declare class AssistantKey implements i.AssistantKeyInterface {
22
23
  constructor(kwargs?: i.AssistantKeyInterface);
23
24
  toApiJson(): object;
24
25
  }
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
- }
32
26
  export declare class Config implements i.ConfigInterface {
33
27
  inboxConfig: ConfigInboxConfig;
34
28
  voiceConfig: ConfigVoiceConfig;
@@ -38,6 +32,7 @@ export declare class Config implements i.ConfigInterface {
38
32
  }
39
33
  export declare class ConfigurableGoal implements i.ConfigurableGoalInterface {
40
34
  goal: Goal;
35
+ configuration: KeyValuePair[];
41
36
  static fromProto(proto: any): ConfigurableGoal;
42
37
  constructor(kwargs?: i.ConfigurableGoalInterface);
43
38
  toApiJson(): object;
@@ -51,7 +46,6 @@ export declare class DeepgramConfig implements i.DeepgramConfigInterface {
51
46
  export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
52
47
  leadCaptureEnabled: boolean;
53
48
  additionalInstructions: string;
54
- bookingConfig: BookingConfig;
55
49
  static fromProto(proto: any): ConfigInboxConfig;
56
50
  constructor(kwargs?: i.ConfigInboxConfigInterface);
57
51
  toApiJson(): object;
@@ -2,9 +2,9 @@ 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, BookingConfig, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
6
- export { Connection, ConnectionKey, } from './connection';
7
5
  export { KeyValuePair, } from './common';
6
+ export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
7
+ export { Connection, ConnectionKey, } from './connection';
8
8
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
9
9
  export { Access, } from './annotations';
10
10
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"