@vendasta/ai-assistants 0.11.0 → 0.12.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,6 +1,17 @@
1
+ export declare enum GoalChannel {
2
+ GOAL_CHANNEL_INVALID = 0,
3
+ GOAL_CHANNEL_SMS = 1,
4
+ GOAL_CHANNEL_EMAIL = 2,
5
+ GOAL_CHANNEL_PLATFORM = 3,
6
+ GOAL_CHANNEL_WEBCHAT = 4,
7
+ GOAL_CHANNEL_VOICE = 5,
8
+ GOAL_CHANNEL_WHATSAPP = 6,
9
+ GOAL_CHANNEL_INSTAGRAM = 7,
10
+ GOAL_CHANNEL_FACEBOOK = 8
11
+ }
1
12
  export declare enum GoalType {
2
13
  GOAL_TYPE_INVALID = 0,
3
- GOAL_TYPE_OBJECTIVE = 1,
14
+ GOAL_TYPE_GOAL = 1,
4
15
  GOAL_TYPE_KNOWLEDGE = 2,
5
16
  GOAL_TYPE_PERSONALITY = 3,
6
17
  GOAL_TYPE_CUSTOM = 4
@@ -1,3 +1,3 @@
1
- export { GoalType, } from './goal.enum';
1
+ export { GoalChannel, GoalType, } from './goal.enum';
2
2
  export { AssistantType, } from './assistant.enum';
3
3
  export { ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessageRole, } from './answer.enum';
@@ -64,6 +64,8 @@ export interface DeployPromptRequestInterface {
64
64
  }
65
65
  export interface ListGoalsRequestFiltersInterface {
66
66
  namespace?: NamespaceInterface;
67
+ type?: e.GoalType;
68
+ supportedChannels?: e.GoalChannel[];
67
69
  }
68
70
  export interface ListPromptModuleRequestFiltersInterface {
69
71
  namespace?: NamespaceInterface;
@@ -12,6 +12,7 @@ export interface GoalInterface {
12
12
  functions?: FunctionKeyInterface[];
13
13
  updatedBy?: string;
14
14
  updated?: Date;
15
+ supportedChannels?: e.GoalChannel[];
15
16
  }
16
17
  export interface GoalKeyInterface {
17
18
  id?: string;
@@ -8,7 +8,6 @@ export interface NamespaceAccountGroupsForPartnerNamespaceInterface {
8
8
  partnerId?: string;
9
9
  }
10
10
  export interface NamespaceGlobalNamespaceInterface {
11
- contextId?: string;
12
11
  }
13
12
  export interface NamespaceInterface {
14
13
  accountGroupNamespace?: NamespaceAccountGroupNamespaceInterface;
@@ -22,5 +21,4 @@ export interface NamespacePartnerNamespaceInterface {
22
21
  partnerId?: string;
23
22
  }
24
23
  export interface NamespaceSystemNamespaceInterface {
25
- contextId?: string;
26
24
  }
@@ -102,6 +102,8 @@ export declare class DeployPromptRequest implements i.DeployPromptRequestInterfa
102
102
  }
103
103
  export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
104
104
  namespace: Namespace;
105
+ type: e.GoalType;
106
+ supportedChannels: e.GoalChannel[];
105
107
  static fromProto(proto: any): ListGoalsRequestFilters;
106
108
  constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
107
109
  toApiJson(): object;
@@ -14,6 +14,7 @@ export declare class Goal implements i.GoalInterface {
14
14
  functions: FunctionKey[];
15
15
  updatedBy: string;
16
16
  updated: Date;
17
+ supportedChannels: e.GoalChannel[];
17
18
  static fromProto(proto: any): Goal;
18
19
  constructor(kwargs?: i.GoalInterface);
19
20
  toApiJson(): object;
@@ -19,7 +19,6 @@ export declare class NamespaceAccountGroupsForPartnerNamespace implements i.Name
19
19
  toApiJson(): object;
20
20
  }
21
21
  export declare class NamespaceGlobalNamespace implements i.NamespaceGlobalNamespaceInterface {
22
- contextId: string;
23
22
  static fromProto(proto: any): NamespaceGlobalNamespace;
24
23
  constructor(kwargs?: i.NamespaceGlobalNamespaceInterface);
25
24
  toApiJson(): object;
@@ -42,7 +41,6 @@ export declare class NamespacePartnerNamespace implements i.NamespacePartnerName
42
41
  toApiJson(): object;
43
42
  }
44
43
  export declare class NamespaceSystemNamespace implements i.NamespaceSystemNamespaceInterface {
45
- contextId: string;
46
44
  static fromProto(proto: any): NamespaceSystemNamespace;
47
45
  constructor(kwargs?: i.NamespaceSystemNamespaceInterface);
48
46
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"