@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.
- package/esm2020/lib/_internal/enums/goal.enum.mjs +14 -2
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/namespace.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +13 -1
- package/esm2020/lib/_internal/objects/goal.mjs +7 -1
- package/esm2020/lib/_internal/objects/namespace.mjs +1 -7
- package/fesm2015/vendasta-ai-assistants.mjs +32 -8
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +32 -8
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/enums/goal.enum.d.ts +12 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +2 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +1 -0
- package/lib/_internal/interfaces/namespace.interface.d.ts +0 -2
- package/lib/_internal/objects/api.d.ts +2 -0
- package/lib/_internal/objects/goal.d.ts +1 -0
- package/lib/_internal/objects/namespace.d.ts +0 -2
- package/package.json +1 -1
|
@@ -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
|
-
|
|
14
|
+
GOAL_TYPE_GOAL = 1,
|
|
4
15
|
GOAL_TYPE_KNOWLEDGE = 2,
|
|
5
16
|
GOAL_TYPE_PERSONALITY = 3,
|
|
6
17
|
GOAL_TYPE_CUSTOM = 4
|
|
@@ -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;
|
|
@@ -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;
|