@vendasta/ai-assistants 0.5.0 → 0.7.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/assistant.api.service.mjs +6 -2
- package/esm2020/lib/_internal/enums/assistant.enum.mjs +2 -1
- package/esm2020/lib/_internal/enums/goal.enum.mjs +14 -0
- package/esm2020/lib/_internal/enums/index.mjs +2 -1
- package/esm2020/lib/_internal/goal.api.service.mjs +58 -0
- package/esm2020/lib/_internal/index.mjs +3 -1
- 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/function.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -7
- package/esm2020/lib/_internal/objects/api.mjs +801 -51
- package/esm2020/lib/_internal/objects/assistant.mjs +31 -1
- package/esm2020/lib/_internal/objects/function.mjs +34 -0
- package/esm2020/lib/_internal/objects/goal.mjs +96 -0
- package/esm2020/lib/_internal/objects/index.mjs +6 -4
- package/esm2020/lib/_internal/objects/prompt.mjs +119 -1
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +81 -0
- package/fesm2015/vendasta-ai-assistants.mjs +1529 -365
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +1529 -365
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +3 -2
- package/lib/_internal/enums/assistant.enum.d.ts +2 -1
- package/lib/_internal/enums/goal.enum.d.ts +6 -0
- package/lib/_internal/enums/index.d.ts +1 -0
- package/lib/_internal/goal.api.service.d.ts +18 -0
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/interfaces/api.interface.d.ts +116 -4
- package/lib/_internal/interfaces/assistant.interface.d.ts +5 -0
- package/lib/_internal/interfaces/function.interface.d.ts +5 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +19 -0
- package/lib/_internal/interfaces/index.d.ts +5 -3
- package/lib/_internal/interfaces/prompt.interface.d.ts +23 -0
- package/lib/_internal/objects/api.d.ts +202 -6
- package/lib/_internal/objects/assistant.d.ts +8 -0
- package/lib/_internal/objects/function.d.ts +10 -0
- package/lib/_internal/objects/goal.d.ts +27 -0
- package/lib/_internal/objects/index.d.ts +5 -3
- package/lib/_internal/objects/prompt.d.ts +32 -0
- package/lib/_internal/prompt-module.api.service.d.ts +23 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeleteAssistantRequest, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
-
import { DeleteAssistantRequestInterface, GenerateChatAnswerRequestInterface, GetAssistantRequestInterface, GetChatAnswerFunctionExecutionJobRequestInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAssistantRequestInterface, UpsertAssistantRequestInterface } from './interfaces/';
|
|
1
|
+
import { DeleteAssistantRequest, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, SetAssistantConnectionsRequest, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
+
import { DeleteAssistantRequestInterface, GenerateChatAnswerRequestInterface, GetAssistantRequestInterface, GetChatAnswerFunctionExecutionJobRequestInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAssistantRequestInterface, SetAssistantConnectionsRequestInterface, UpsertAssistantRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -15,6 +15,7 @@ export declare class AssistantApiService {
|
|
|
15
15
|
listAllAssistantsAssociatedToConnection(r: ListAllAssistantsAssociatedToConnectionRequest | ListAllAssistantsAssociatedToConnectionRequestInterface): Observable<ListAllAssistantsAssociatedToConnectionResponse>;
|
|
16
16
|
generateChatAnswer(r: GenerateChatAnswerRequest | GenerateChatAnswerRequestInterface): Observable<GenerateChatAnswerResponse>;
|
|
17
17
|
getChatAnswerFunctionExecutionJob(r: GetChatAnswerFunctionExecutionJobRequest | GetChatAnswerFunctionExecutionJobRequestInterface): Observable<GetChatAnswerFunctionExecutionJobResponse>;
|
|
18
|
+
setAssistantConnections(r: SetAssistantConnectionsRequest | SetAssistantConnectionsRequestInterface): Observable<HttpResponse<null>>;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantApiService, never>;
|
|
19
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantApiService>;
|
|
20
21
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
|
|
2
|
+
import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, ListGoalsRequestInterface, UpsertGoalRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GoalApiService {
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private _host;
|
|
10
|
+
private apiOptions;
|
|
11
|
+
upsert(r: UpsertGoalRequest | UpsertGoalRequestInterface): Observable<HttpResponse<null>>;
|
|
12
|
+
get(r: GetGoalRequest | GetGoalRequestInterface): Observable<GetGoalResponse>;
|
|
13
|
+
getMulti(r: GetMultiGoalRequest | GetMultiGoalRequestInterface): Observable<GetMultiGoalResponse>;
|
|
14
|
+
delete(r: DeleteGoalRequest | DeleteGoalRequestInterface): Observable<HttpResponse<null>>;
|
|
15
|
+
list(r: ListGoalsRequest | ListGoalsRequestInterface): Observable<ListGoalsResponse>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoalApiService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoalApiService>;
|
|
18
|
+
}
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export * from './objects';
|
|
|
3
3
|
export * from './interfaces';
|
|
4
4
|
export { AssistantApiService } from './assistant.api.service';
|
|
5
5
|
export { ConnectionApiService } from './connection.api.service';
|
|
6
|
+
export { GoalApiService } from './goal.api.service';
|
|
7
|
+
export { PromptModuleApiService } from './prompt-module.api.service';
|
|
6
8
|
export { PromptApiService } from './prompt.api.service';
|
|
@@ -1,14 +1,25 @@
|
|
|
1
|
-
import { AssistantInterface } from './assistant.interface';
|
|
1
|
+
import { AssistantInterface, AssistantKeyInterface } from './assistant.interface';
|
|
2
2
|
import { ChatMessageInterface, ChatUserInfoInterface, ChatAnswerFunctionExecutionJobInterface } from './answer.interface';
|
|
3
3
|
import { ConnectionKeyInterface, ConnectionInterface } from './connection.interface';
|
|
4
|
+
import { GoalInterface, GoalKeyInterface } from './goal.interface';
|
|
4
5
|
import { KeyValuePairInterface } from './common.interface';
|
|
5
6
|
import { NamespaceInterface } from './namespace.interface';
|
|
6
7
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
|
|
7
|
-
import { PromptInterface, PromptVersionInterface } from './prompt.interface';
|
|
8
|
+
import { PromptInterface, PromptVersionInterface, PromptModuleKeyInterface, PromptModuleInterface, PromptModuleVersionInterface } from './prompt.interface';
|
|
8
9
|
import * as e from '../enums';
|
|
10
|
+
export interface SetAssistantConnectionsRequestConnectionStateInterface {
|
|
11
|
+
connectionKey?: ConnectionKeyInterface;
|
|
12
|
+
isAssociated?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface CreatePromptModuleRequestInterface {
|
|
15
|
+
id?: string;
|
|
16
|
+
namespace?: NamespaceInterface;
|
|
17
|
+
content?: string;
|
|
18
|
+
}
|
|
9
19
|
export interface CreatePromptRequestInterface {
|
|
10
20
|
id?: string;
|
|
11
21
|
content?: string;
|
|
22
|
+
description?: string;
|
|
12
23
|
}
|
|
13
24
|
export interface DeleteAssistantRequestInterface {
|
|
14
25
|
id?: string;
|
|
@@ -19,16 +30,31 @@ export interface DeleteConnectionRequestInterface {
|
|
|
19
30
|
connectionType?: string;
|
|
20
31
|
namespace?: NamespaceInterface;
|
|
21
32
|
}
|
|
33
|
+
export interface DeleteGoalRequestInterface {
|
|
34
|
+
id?: string;
|
|
35
|
+
namespace?: NamespaceInterface;
|
|
36
|
+
}
|
|
37
|
+
export interface DeletePromptModuleRequestInterface {
|
|
38
|
+
id?: string;
|
|
39
|
+
namespace?: NamespaceInterface;
|
|
40
|
+
}
|
|
22
41
|
export interface DeletePromptRequestInterface {
|
|
23
42
|
id?: string;
|
|
24
43
|
}
|
|
44
|
+
export interface DeployPromptModuleRequestInterface {
|
|
45
|
+
id?: string;
|
|
46
|
+
namespace?: NamespaceInterface;
|
|
47
|
+
version?: string;
|
|
48
|
+
}
|
|
25
49
|
export interface DeployPromptRequestInterface {
|
|
26
50
|
id?: string;
|
|
27
51
|
version?: string;
|
|
28
52
|
}
|
|
29
|
-
export interface
|
|
53
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
54
|
+
namespace?: NamespaceInterface;
|
|
55
|
+
}
|
|
56
|
+
export interface ListGoalsRequestFiltersInterface {
|
|
30
57
|
namespace?: NamespaceInterface;
|
|
31
|
-
type?: e.AssistantType;
|
|
32
58
|
}
|
|
33
59
|
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
34
60
|
type?: e.AssistantType;
|
|
@@ -36,6 +62,10 @@ export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface
|
|
|
36
62
|
export interface ListConnectionsRequestFiltersInterface {
|
|
37
63
|
namespace?: NamespaceInterface;
|
|
38
64
|
}
|
|
65
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
66
|
+
namespace?: NamespaceInterface;
|
|
67
|
+
type?: e.AssistantType;
|
|
68
|
+
}
|
|
39
69
|
export interface GenerateChatAnswerRequestInterface {
|
|
40
70
|
connectionKey?: ConnectionKeyInterface;
|
|
41
71
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -77,6 +107,21 @@ export interface GetDeployedPromptVersionResponseInterface {
|
|
|
77
107
|
prompt?: PromptInterface;
|
|
78
108
|
deployedPromptVersion?: PromptVersionInterface;
|
|
79
109
|
}
|
|
110
|
+
export interface GetGoalRequestInterface {
|
|
111
|
+
id?: string;
|
|
112
|
+
namespace?: NamespaceInterface;
|
|
113
|
+
}
|
|
114
|
+
export interface GetGoalResponseInterface {
|
|
115
|
+
goal?: GoalInterface;
|
|
116
|
+
}
|
|
117
|
+
export interface GetHydratedDeployedPromptModuleVersionRequestInterface {
|
|
118
|
+
id?: string;
|
|
119
|
+
namespace?: NamespaceInterface;
|
|
120
|
+
variables?: KeyValuePairInterface[];
|
|
121
|
+
}
|
|
122
|
+
export interface GetHydratedDeployedPromptModuleVersionResponseInterface {
|
|
123
|
+
content?: string;
|
|
124
|
+
}
|
|
80
125
|
export interface GetMultiDeployedPromptVersionRequestInterface {
|
|
81
126
|
ids?: string[];
|
|
82
127
|
}
|
|
@@ -84,6 +129,34 @@ export interface GetMultiDeployedPromptVersionResponseInterface {
|
|
|
84
129
|
prompts?: PromptInterface[];
|
|
85
130
|
deployedPromptVersions?: PromptVersionInterface[];
|
|
86
131
|
}
|
|
132
|
+
export interface GetMultiGoalRequestInterface {
|
|
133
|
+
keys?: GoalKeyInterface[];
|
|
134
|
+
}
|
|
135
|
+
export interface GetMultiGoalResponseInterface {
|
|
136
|
+
goals?: GoalInterface[];
|
|
137
|
+
}
|
|
138
|
+
export interface GetMultiHydratedDeployedPromptModuleVersionRequestInterface {
|
|
139
|
+
keys?: PromptModuleKeyInterface[];
|
|
140
|
+
variables?: KeyValuePairInterface[];
|
|
141
|
+
}
|
|
142
|
+
export interface GetMultiHydratedDeployedPromptModuleVersionResponseInterface {
|
|
143
|
+
contents?: string[];
|
|
144
|
+
}
|
|
145
|
+
export interface GetPromptModuleRequestInterface {
|
|
146
|
+
id?: string;
|
|
147
|
+
namespace?: NamespaceInterface;
|
|
148
|
+
}
|
|
149
|
+
export interface GetPromptModuleResponseInterface {
|
|
150
|
+
promptModule?: PromptModuleInterface;
|
|
151
|
+
}
|
|
152
|
+
export interface GetPromptModuleVersionRequestInterface {
|
|
153
|
+
id?: string;
|
|
154
|
+
namespace?: NamespaceInterface;
|
|
155
|
+
version?: string;
|
|
156
|
+
}
|
|
157
|
+
export interface GetPromptModuleVersionResponseInterface {
|
|
158
|
+
promptModuleVersion?: PromptModuleVersionInterface;
|
|
159
|
+
}
|
|
87
160
|
export interface GetPromptRequestInterface {
|
|
88
161
|
id?: string;
|
|
89
162
|
}
|
|
@@ -121,6 +194,32 @@ export interface ListConnectionsResponseInterface {
|
|
|
121
194
|
connections?: ConnectionInterface[];
|
|
122
195
|
metadata?: PagedResponseMetadataInterface;
|
|
123
196
|
}
|
|
197
|
+
export interface ListGoalsRequestInterface {
|
|
198
|
+
filters?: ListGoalsRequestFiltersInterface;
|
|
199
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
200
|
+
}
|
|
201
|
+
export interface ListGoalsResponseInterface {
|
|
202
|
+
goals?: GoalInterface[];
|
|
203
|
+
metadata?: PagedResponseMetadataInterface;
|
|
204
|
+
}
|
|
205
|
+
export interface ListPromptModuleRequestInterface {
|
|
206
|
+
filters?: ListPromptModuleRequestFiltersInterface;
|
|
207
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
208
|
+
}
|
|
209
|
+
export interface ListPromptModuleResponseInterface {
|
|
210
|
+
promptModules?: PromptModuleInterface[];
|
|
211
|
+
deployedPromptModuleVersions?: PromptModuleVersionInterface[];
|
|
212
|
+
metadata?: PagedResponseMetadataInterface;
|
|
213
|
+
}
|
|
214
|
+
export interface ListPromptModuleVersionsRequestInterface {
|
|
215
|
+
id?: string;
|
|
216
|
+
namespace?: NamespaceInterface;
|
|
217
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
218
|
+
}
|
|
219
|
+
export interface ListPromptModuleVersionsResponseInterface {
|
|
220
|
+
promptModuleVersions?: PromptModuleVersionInterface[];
|
|
221
|
+
metadata?: PagedResponseMetadataInterface;
|
|
222
|
+
}
|
|
124
223
|
export interface ListPromptRequestInterface {
|
|
125
224
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
126
225
|
}
|
|
@@ -141,9 +240,19 @@ export interface GenerateChatAnswerRequestOptionsInterface {
|
|
|
141
240
|
includeAllCitations?: boolean;
|
|
142
241
|
enableAsyncFunctions?: boolean;
|
|
143
242
|
}
|
|
243
|
+
export interface SetAssistantConnectionsRequestInterface {
|
|
244
|
+
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
245
|
+
assistantKey?: AssistantKeyInterface;
|
|
246
|
+
}
|
|
247
|
+
export interface UpdatePromptModuleRequestInterface {
|
|
248
|
+
id?: string;
|
|
249
|
+
namespace?: NamespaceInterface;
|
|
250
|
+
content?: string;
|
|
251
|
+
}
|
|
144
252
|
export interface UpdatePromptRequestInterface {
|
|
145
253
|
id?: string;
|
|
146
254
|
content?: string;
|
|
255
|
+
description?: string;
|
|
147
256
|
}
|
|
148
257
|
export interface UpsertAssistantRequestInterface {
|
|
149
258
|
assistant?: AssistantInterface;
|
|
@@ -154,3 +263,6 @@ export interface UpsertAssistantResponseInterface {
|
|
|
154
263
|
export interface UpsertConnectionRequestInterface {
|
|
155
264
|
connection?: ConnectionInterface;
|
|
156
265
|
}
|
|
266
|
+
export interface UpsertGoalRequestInterface {
|
|
267
|
+
goal?: GoalInterface;
|
|
268
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GoalKeyInterface } from './goal.interface';
|
|
1
2
|
import { NamespaceInterface } from './namespace.interface';
|
|
2
3
|
import * as e from '../enums';
|
|
3
4
|
export interface AssistantInterface {
|
|
@@ -7,6 +8,7 @@ export interface AssistantInterface {
|
|
|
7
8
|
type?: e.AssistantType;
|
|
8
9
|
avatarUrl?: string;
|
|
9
10
|
config?: ConfigInterface;
|
|
11
|
+
configurableGoals?: ConfigurableGoalInterface[];
|
|
10
12
|
}
|
|
11
13
|
export interface AssistantKeyInterface {
|
|
12
14
|
id?: string;
|
|
@@ -15,6 +17,9 @@ export interface AssistantKeyInterface {
|
|
|
15
17
|
export interface ConfigInterface {
|
|
16
18
|
inboxConfig?: ConfigInboxConfigInterface;
|
|
17
19
|
}
|
|
20
|
+
export interface ConfigurableGoalInterface {
|
|
21
|
+
goalKey?: GoalKeyInterface;
|
|
22
|
+
}
|
|
18
23
|
export interface ConfigInboxConfigInterface {
|
|
19
24
|
leadCaptureEnabled?: boolean;
|
|
20
25
|
additionalInstructions?: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FunctionKeyInterface } from './function.interface';
|
|
2
|
+
import { NamespaceInterface } from './namespace.interface';
|
|
3
|
+
import { PromptModuleKeyInterface } from './prompt.interface';
|
|
4
|
+
import * as e from '../enums';
|
|
5
|
+
export interface GoalInterface {
|
|
6
|
+
id?: string;
|
|
7
|
+
namespace?: NamespaceInterface;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
type?: e.GoalType;
|
|
11
|
+
promptModules?: PromptModuleKeyInterface[];
|
|
12
|
+
functions?: FunctionKeyInterface[];
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updated?: Date;
|
|
15
|
+
}
|
|
16
|
+
export interface GoalKeyInterface {
|
|
17
|
+
id?: string;
|
|
18
|
+
namespace?: NamespaceInterface;
|
|
19
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
|
|
2
|
-
export {
|
|
2
|
+
export { FunctionKeyInterface, } from './function.interface';
|
|
3
|
+
export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
|
|
4
|
+
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
5
|
+
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, ConfigInboxConfigInterface, } from './assistant.interface';
|
|
3
6
|
export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
|
|
4
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
5
8
|
export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
|
|
6
|
-
export { PromptInterface, PromptVersionInterface, } from './prompt.interface';
|
|
7
9
|
export { AccessInterface, } from './annotations.interface';
|
|
8
10
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
9
|
-
export { CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeletePromptRequestInterface, DeployPromptRequestInterface,
|
|
11
|
+
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListPromptModuleRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAssistantRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
+
import { NamespaceInterface } from './namespace.interface';
|
|
1
2
|
export interface PromptInterface {
|
|
2
3
|
id?: string;
|
|
3
4
|
deployedVersion?: string;
|
|
4
5
|
deployedBy?: string;
|
|
5
6
|
updated?: Date;
|
|
7
|
+
description?: string;
|
|
8
|
+
deployed?: Date;
|
|
9
|
+
}
|
|
10
|
+
export interface PromptModuleInterface {
|
|
11
|
+
id?: string;
|
|
12
|
+
namespace?: NamespaceInterface;
|
|
13
|
+
name?: string;
|
|
14
|
+
deployedVersion?: string;
|
|
15
|
+
deployedBy?: string;
|
|
16
|
+
updated?: Date;
|
|
17
|
+
}
|
|
18
|
+
export interface PromptModuleKeyInterface {
|
|
19
|
+
id?: string;
|
|
20
|
+
namespace?: NamespaceInterface;
|
|
21
|
+
}
|
|
22
|
+
export interface PromptModuleVersionInterface {
|
|
23
|
+
id?: string;
|
|
24
|
+
namespace?: NamespaceInterface;
|
|
25
|
+
version?: string;
|
|
26
|
+
content?: string;
|
|
27
|
+
createdBy?: string;
|
|
28
|
+
created?: Date;
|
|
6
29
|
}
|
|
7
30
|
export interface PromptVersionInterface {
|
|
8
31
|
id?: string;
|
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
-
import { Assistant } from './assistant';
|
|
2
|
+
import { Assistant, AssistantKey } from './assistant';
|
|
3
3
|
import { ChatMessage, ChatUserInfo, ChatAnswerFunctionExecutionJob } from './answer';
|
|
4
4
|
import { ConnectionKey, Connection } from './connection';
|
|
5
|
+
import { Goal, GoalKey } from './goal';
|
|
5
6
|
import { KeyValuePair } from './common';
|
|
6
7
|
import { Namespace } from './namespace';
|
|
7
8
|
import { PagedRequestOptions, PagedResponseMetadata } from './paging';
|
|
8
|
-
import { Prompt, PromptVersion } from './prompt';
|
|
9
|
+
import { Prompt, PromptVersion, PromptModuleKey, PromptModule, PromptModuleVersion } from './prompt';
|
|
9
10
|
import * as e from '../enums';
|
|
10
11
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
12
|
+
export declare class SetAssistantConnectionsRequestConnectionState implements i.SetAssistantConnectionsRequestConnectionStateInterface {
|
|
13
|
+
connectionKey: ConnectionKey;
|
|
14
|
+
isAssociated: boolean;
|
|
15
|
+
static fromProto(proto: any): SetAssistantConnectionsRequestConnectionState;
|
|
16
|
+
constructor(kwargs?: i.SetAssistantConnectionsRequestConnectionStateInterface);
|
|
17
|
+
toApiJson(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRequestInterface {
|
|
20
|
+
id: string;
|
|
21
|
+
namespace: Namespace;
|
|
22
|
+
content: string;
|
|
23
|
+
static fromProto(proto: any): CreatePromptModuleRequest;
|
|
24
|
+
constructor(kwargs?: i.CreatePromptModuleRequestInterface);
|
|
25
|
+
toApiJson(): object;
|
|
26
|
+
}
|
|
11
27
|
export declare class CreatePromptRequest implements i.CreatePromptRequestInterface {
|
|
12
28
|
id: string;
|
|
13
29
|
content: string;
|
|
30
|
+
description: string;
|
|
14
31
|
static fromProto(proto: any): CreatePromptRequest;
|
|
15
32
|
constructor(kwargs?: i.CreatePromptRequestInterface);
|
|
16
33
|
toApiJson(): object;
|
|
@@ -30,12 +47,34 @@ export declare class DeleteConnectionRequest implements i.DeleteConnectionReques
|
|
|
30
47
|
constructor(kwargs?: i.DeleteConnectionRequestInterface);
|
|
31
48
|
toApiJson(): object;
|
|
32
49
|
}
|
|
50
|
+
export declare class DeleteGoalRequest implements i.DeleteGoalRequestInterface {
|
|
51
|
+
id: string;
|
|
52
|
+
namespace: Namespace;
|
|
53
|
+
static fromProto(proto: any): DeleteGoalRequest;
|
|
54
|
+
constructor(kwargs?: i.DeleteGoalRequestInterface);
|
|
55
|
+
toApiJson(): object;
|
|
56
|
+
}
|
|
57
|
+
export declare class DeletePromptModuleRequest implements i.DeletePromptModuleRequestInterface {
|
|
58
|
+
id: string;
|
|
59
|
+
namespace: Namespace;
|
|
60
|
+
static fromProto(proto: any): DeletePromptModuleRequest;
|
|
61
|
+
constructor(kwargs?: i.DeletePromptModuleRequestInterface);
|
|
62
|
+
toApiJson(): object;
|
|
63
|
+
}
|
|
33
64
|
export declare class DeletePromptRequest implements i.DeletePromptRequestInterface {
|
|
34
65
|
id: string;
|
|
35
66
|
static fromProto(proto: any): DeletePromptRequest;
|
|
36
67
|
constructor(kwargs?: i.DeletePromptRequestInterface);
|
|
37
68
|
toApiJson(): object;
|
|
38
69
|
}
|
|
70
|
+
export declare class DeployPromptModuleRequest implements i.DeployPromptModuleRequestInterface {
|
|
71
|
+
id: string;
|
|
72
|
+
namespace: Namespace;
|
|
73
|
+
version: string;
|
|
74
|
+
static fromProto(proto: any): DeployPromptModuleRequest;
|
|
75
|
+
constructor(kwargs?: i.DeployPromptModuleRequestInterface);
|
|
76
|
+
toApiJson(): object;
|
|
77
|
+
}
|
|
39
78
|
export declare class DeployPromptRequest implements i.DeployPromptRequestInterface {
|
|
40
79
|
id: string;
|
|
41
80
|
version: string;
|
|
@@ -43,11 +82,16 @@ export declare class DeployPromptRequest implements i.DeployPromptRequestInterfa
|
|
|
43
82
|
constructor(kwargs?: i.DeployPromptRequestInterface);
|
|
44
83
|
toApiJson(): object;
|
|
45
84
|
}
|
|
46
|
-
export declare class
|
|
85
|
+
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
47
86
|
namespace: Namespace;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
87
|
+
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
88
|
+
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
89
|
+
toApiJson(): object;
|
|
90
|
+
}
|
|
91
|
+
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
92
|
+
namespace: Namespace;
|
|
93
|
+
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
94
|
+
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
51
95
|
toApiJson(): object;
|
|
52
96
|
}
|
|
53
97
|
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
@@ -62,6 +106,13 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
62
106
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
63
107
|
toApiJson(): object;
|
|
64
108
|
}
|
|
109
|
+
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
110
|
+
namespace: Namespace;
|
|
111
|
+
type: e.AssistantType;
|
|
112
|
+
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
113
|
+
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
114
|
+
toApiJson(): object;
|
|
115
|
+
}
|
|
65
116
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
66
117
|
connectionKey: ConnectionKey;
|
|
67
118
|
chatHistory: ChatMessage[];
|
|
@@ -133,6 +184,33 @@ export declare class GetDeployedPromptVersionResponse implements i.GetDeployedPr
|
|
|
133
184
|
constructor(kwargs?: i.GetDeployedPromptVersionResponseInterface);
|
|
134
185
|
toApiJson(): object;
|
|
135
186
|
}
|
|
187
|
+
export declare class GetGoalRequest implements i.GetGoalRequestInterface {
|
|
188
|
+
id: string;
|
|
189
|
+
namespace: Namespace;
|
|
190
|
+
static fromProto(proto: any): GetGoalRequest;
|
|
191
|
+
constructor(kwargs?: i.GetGoalRequestInterface);
|
|
192
|
+
toApiJson(): object;
|
|
193
|
+
}
|
|
194
|
+
export declare class GetGoalResponse implements i.GetGoalResponseInterface {
|
|
195
|
+
goal: Goal;
|
|
196
|
+
static fromProto(proto: any): GetGoalResponse;
|
|
197
|
+
constructor(kwargs?: i.GetGoalResponseInterface);
|
|
198
|
+
toApiJson(): object;
|
|
199
|
+
}
|
|
200
|
+
export declare class GetHydratedDeployedPromptModuleVersionRequest implements i.GetHydratedDeployedPromptModuleVersionRequestInterface {
|
|
201
|
+
id: string;
|
|
202
|
+
namespace: Namespace;
|
|
203
|
+
variables: KeyValuePair[];
|
|
204
|
+
static fromProto(proto: any): GetHydratedDeployedPromptModuleVersionRequest;
|
|
205
|
+
constructor(kwargs?: i.GetHydratedDeployedPromptModuleVersionRequestInterface);
|
|
206
|
+
toApiJson(): object;
|
|
207
|
+
}
|
|
208
|
+
export declare class GetHydratedDeployedPromptModuleVersionResponse implements i.GetHydratedDeployedPromptModuleVersionResponseInterface {
|
|
209
|
+
content: string;
|
|
210
|
+
static fromProto(proto: any): GetHydratedDeployedPromptModuleVersionResponse;
|
|
211
|
+
constructor(kwargs?: i.GetHydratedDeployedPromptModuleVersionResponseInterface);
|
|
212
|
+
toApiJson(): object;
|
|
213
|
+
}
|
|
136
214
|
export declare class GetMultiDeployedPromptVersionRequest implements i.GetMultiDeployedPromptVersionRequestInterface {
|
|
137
215
|
ids: string[];
|
|
138
216
|
static fromProto(proto: any): GetMultiDeployedPromptVersionRequest;
|
|
@@ -146,6 +224,58 @@ export declare class GetMultiDeployedPromptVersionResponse implements i.GetMulti
|
|
|
146
224
|
constructor(kwargs?: i.GetMultiDeployedPromptVersionResponseInterface);
|
|
147
225
|
toApiJson(): object;
|
|
148
226
|
}
|
|
227
|
+
export declare class GetMultiGoalRequest implements i.GetMultiGoalRequestInterface {
|
|
228
|
+
keys: GoalKey[];
|
|
229
|
+
static fromProto(proto: any): GetMultiGoalRequest;
|
|
230
|
+
constructor(kwargs?: i.GetMultiGoalRequestInterface);
|
|
231
|
+
toApiJson(): object;
|
|
232
|
+
}
|
|
233
|
+
export declare class GetMultiGoalResponse implements i.GetMultiGoalResponseInterface {
|
|
234
|
+
goals: Goal[];
|
|
235
|
+
static fromProto(proto: any): GetMultiGoalResponse;
|
|
236
|
+
constructor(kwargs?: i.GetMultiGoalResponseInterface);
|
|
237
|
+
toApiJson(): object;
|
|
238
|
+
}
|
|
239
|
+
export declare class GetMultiHydratedDeployedPromptModuleVersionRequest implements i.GetMultiHydratedDeployedPromptModuleVersionRequestInterface {
|
|
240
|
+
keys: PromptModuleKey[];
|
|
241
|
+
variables: KeyValuePair[];
|
|
242
|
+
static fromProto(proto: any): GetMultiHydratedDeployedPromptModuleVersionRequest;
|
|
243
|
+
constructor(kwargs?: i.GetMultiHydratedDeployedPromptModuleVersionRequestInterface);
|
|
244
|
+
toApiJson(): object;
|
|
245
|
+
}
|
|
246
|
+
export declare class GetMultiHydratedDeployedPromptModuleVersionResponse implements i.GetMultiHydratedDeployedPromptModuleVersionResponseInterface {
|
|
247
|
+
contents: string[];
|
|
248
|
+
static fromProto(proto: any): GetMultiHydratedDeployedPromptModuleVersionResponse;
|
|
249
|
+
constructor(kwargs?: i.GetMultiHydratedDeployedPromptModuleVersionResponseInterface);
|
|
250
|
+
toApiJson(): object;
|
|
251
|
+
}
|
|
252
|
+
export declare class GetPromptModuleRequest implements i.GetPromptModuleRequestInterface {
|
|
253
|
+
id: string;
|
|
254
|
+
namespace: Namespace;
|
|
255
|
+
static fromProto(proto: any): GetPromptModuleRequest;
|
|
256
|
+
constructor(kwargs?: i.GetPromptModuleRequestInterface);
|
|
257
|
+
toApiJson(): object;
|
|
258
|
+
}
|
|
259
|
+
export declare class GetPromptModuleResponse implements i.GetPromptModuleResponseInterface {
|
|
260
|
+
promptModule: PromptModule;
|
|
261
|
+
static fromProto(proto: any): GetPromptModuleResponse;
|
|
262
|
+
constructor(kwargs?: i.GetPromptModuleResponseInterface);
|
|
263
|
+
toApiJson(): object;
|
|
264
|
+
}
|
|
265
|
+
export declare class GetPromptModuleVersionRequest implements i.GetPromptModuleVersionRequestInterface {
|
|
266
|
+
id: string;
|
|
267
|
+
namespace: Namespace;
|
|
268
|
+
version: string;
|
|
269
|
+
static fromProto(proto: any): GetPromptModuleVersionRequest;
|
|
270
|
+
constructor(kwargs?: i.GetPromptModuleVersionRequestInterface);
|
|
271
|
+
toApiJson(): object;
|
|
272
|
+
}
|
|
273
|
+
export declare class GetPromptModuleVersionResponse implements i.GetPromptModuleVersionResponseInterface {
|
|
274
|
+
promptModuleVersion: PromptModuleVersion;
|
|
275
|
+
static fromProto(proto: any): GetPromptModuleVersionResponse;
|
|
276
|
+
constructor(kwargs?: i.GetPromptModuleVersionResponseInterface);
|
|
277
|
+
toApiJson(): object;
|
|
278
|
+
}
|
|
149
279
|
export declare class GetPromptRequest implements i.GetPromptRequestInterface {
|
|
150
280
|
id: string;
|
|
151
281
|
static fromProto(proto: any): GetPromptRequest;
|
|
@@ -213,6 +343,50 @@ export declare class ListConnectionsResponse implements i.ListConnectionsRespons
|
|
|
213
343
|
constructor(kwargs?: i.ListConnectionsResponseInterface);
|
|
214
344
|
toApiJson(): object;
|
|
215
345
|
}
|
|
346
|
+
export declare class ListGoalsRequest implements i.ListGoalsRequestInterface {
|
|
347
|
+
filters: ListGoalsRequestFilters;
|
|
348
|
+
pagingOptions: PagedRequestOptions;
|
|
349
|
+
static fromProto(proto: any): ListGoalsRequest;
|
|
350
|
+
constructor(kwargs?: i.ListGoalsRequestInterface);
|
|
351
|
+
toApiJson(): object;
|
|
352
|
+
}
|
|
353
|
+
export declare class ListGoalsResponse implements i.ListGoalsResponseInterface {
|
|
354
|
+
goals: Goal[];
|
|
355
|
+
metadata: PagedResponseMetadata;
|
|
356
|
+
static fromProto(proto: any): ListGoalsResponse;
|
|
357
|
+
constructor(kwargs?: i.ListGoalsResponseInterface);
|
|
358
|
+
toApiJson(): object;
|
|
359
|
+
}
|
|
360
|
+
export declare class ListPromptModuleRequest implements i.ListPromptModuleRequestInterface {
|
|
361
|
+
filters: ListPromptModuleRequestFilters;
|
|
362
|
+
pagingOptions: PagedRequestOptions;
|
|
363
|
+
static fromProto(proto: any): ListPromptModuleRequest;
|
|
364
|
+
constructor(kwargs?: i.ListPromptModuleRequestInterface);
|
|
365
|
+
toApiJson(): object;
|
|
366
|
+
}
|
|
367
|
+
export declare class ListPromptModuleResponse implements i.ListPromptModuleResponseInterface {
|
|
368
|
+
promptModules: PromptModule[];
|
|
369
|
+
deployedPromptModuleVersions: PromptModuleVersion[];
|
|
370
|
+
metadata: PagedResponseMetadata;
|
|
371
|
+
static fromProto(proto: any): ListPromptModuleResponse;
|
|
372
|
+
constructor(kwargs?: i.ListPromptModuleResponseInterface);
|
|
373
|
+
toApiJson(): object;
|
|
374
|
+
}
|
|
375
|
+
export declare class ListPromptModuleVersionsRequest implements i.ListPromptModuleVersionsRequestInterface {
|
|
376
|
+
id: string;
|
|
377
|
+
namespace: Namespace;
|
|
378
|
+
pagingOptions: PagedRequestOptions;
|
|
379
|
+
static fromProto(proto: any): ListPromptModuleVersionsRequest;
|
|
380
|
+
constructor(kwargs?: i.ListPromptModuleVersionsRequestInterface);
|
|
381
|
+
toApiJson(): object;
|
|
382
|
+
}
|
|
383
|
+
export declare class ListPromptModuleVersionsResponse implements i.ListPromptModuleVersionsResponseInterface {
|
|
384
|
+
promptModuleVersions: PromptModuleVersion[];
|
|
385
|
+
metadata: PagedResponseMetadata;
|
|
386
|
+
static fromProto(proto: any): ListPromptModuleVersionsResponse;
|
|
387
|
+
constructor(kwargs?: i.ListPromptModuleVersionsResponseInterface);
|
|
388
|
+
toApiJson(): object;
|
|
389
|
+
}
|
|
216
390
|
export declare class ListPromptRequest implements i.ListPromptRequestInterface {
|
|
217
391
|
pagingOptions: PagedRequestOptions;
|
|
218
392
|
static fromProto(proto: any): ListPromptRequest;
|
|
@@ -248,9 +422,25 @@ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatA
|
|
|
248
422
|
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
249
423
|
toApiJson(): object;
|
|
250
424
|
}
|
|
425
|
+
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
426
|
+
associationStates: SetAssistantConnectionsRequestConnectionState[];
|
|
427
|
+
assistantKey: AssistantKey;
|
|
428
|
+
static fromProto(proto: any): SetAssistantConnectionsRequest;
|
|
429
|
+
constructor(kwargs?: i.SetAssistantConnectionsRequestInterface);
|
|
430
|
+
toApiJson(): object;
|
|
431
|
+
}
|
|
432
|
+
export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRequestInterface {
|
|
433
|
+
id: string;
|
|
434
|
+
namespace: Namespace;
|
|
435
|
+
content: string;
|
|
436
|
+
static fromProto(proto: any): UpdatePromptModuleRequest;
|
|
437
|
+
constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
|
|
438
|
+
toApiJson(): object;
|
|
439
|
+
}
|
|
251
440
|
export declare class UpdatePromptRequest implements i.UpdatePromptRequestInterface {
|
|
252
441
|
id: string;
|
|
253
442
|
content: string;
|
|
443
|
+
description: string;
|
|
254
444
|
static fromProto(proto: any): UpdatePromptRequest;
|
|
255
445
|
constructor(kwargs?: i.UpdatePromptRequestInterface);
|
|
256
446
|
toApiJson(): object;
|
|
@@ -273,3 +463,9 @@ export declare class UpsertConnectionRequest implements i.UpsertConnectionReques
|
|
|
273
463
|
constructor(kwargs?: i.UpsertConnectionRequestInterface);
|
|
274
464
|
toApiJson(): object;
|
|
275
465
|
}
|
|
466
|
+
export declare class UpsertGoalRequest implements i.UpsertGoalRequestInterface {
|
|
467
|
+
goal: Goal;
|
|
468
|
+
static fromProto(proto: any): UpsertGoalRequest;
|
|
469
|
+
constructor(kwargs?: i.UpsertGoalRequestInterface);
|
|
470
|
+
toApiJson(): object;
|
|
471
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { GoalKey } from './goal';
|
|
2
3
|
import { Namespace } from './namespace';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -9,6 +10,7 @@ export declare class Assistant implements i.AssistantInterface {
|
|
|
9
10
|
type: e.AssistantType;
|
|
10
11
|
avatarUrl: string;
|
|
11
12
|
config: Config;
|
|
13
|
+
configurableGoals: ConfigurableGoal[];
|
|
12
14
|
static fromProto(proto: any): Assistant;
|
|
13
15
|
constructor(kwargs?: i.AssistantInterface);
|
|
14
16
|
toApiJson(): object;
|
|
@@ -26,6 +28,12 @@ export declare class Config implements i.ConfigInterface {
|
|
|
26
28
|
constructor(kwargs?: i.ConfigInterface);
|
|
27
29
|
toApiJson(): object;
|
|
28
30
|
}
|
|
31
|
+
export declare class ConfigurableGoal implements i.ConfigurableGoalInterface {
|
|
32
|
+
goalKey: GoalKey;
|
|
33
|
+
static fromProto(proto: any): ConfigurableGoal;
|
|
34
|
+
constructor(kwargs?: i.ConfigurableGoalInterface);
|
|
35
|
+
toApiJson(): object;
|
|
36
|
+
}
|
|
29
37
|
export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
|
|
30
38
|
leadCaptureEnabled: boolean;
|
|
31
39
|
additionalInstructions: string;
|