@vendasta/ai-assistants 0.16.0 → 0.18.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 +7 -2
- package/esm2020/lib/_internal/goal.api.service.mjs +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +120 -22
- package/esm2020/lib/_internal/objects/function.mjs +33 -1
- package/esm2020/lib/_internal/objects/goal.mjs +4 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/prompt.mjs +4 -1
- package/fesm2015/vendasta-ai-assistants.mjs +168 -22
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +168 -22
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +3 -2
- package/lib/_internal/goal.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +23 -8
- package/lib/_internal/interfaces/function.interface.d.ts +6 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/prompt.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +43 -16
- package/lib/_internal/objects/function.d.ts +9 -0
- package/lib/_internal/objects/goal.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/prompt.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
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/';
|
|
1
|
+
import { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, DeleteAssistantRequest, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, SetAssistantConnectionsRequest, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
+
import { BuildDefaultAssistantRequestInterface, 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";
|
|
@@ -10,6 +10,7 @@ export declare class AssistantApiService {
|
|
|
10
10
|
private apiOptions;
|
|
11
11
|
upsertAssistant(r: UpsertAssistantRequest | UpsertAssistantRequestInterface): Observable<UpsertAssistantResponse>;
|
|
12
12
|
getAssistant(r: GetAssistantRequest | GetAssistantRequestInterface): Observable<GetAssistantResponse>;
|
|
13
|
+
buildDefaultAssistant(r: BuildDefaultAssistantRequest | BuildDefaultAssistantRequestInterface): Observable<BuildDefaultAssistantResponse>;
|
|
13
14
|
deleteAssistant(r: DeleteAssistantRequest | DeleteAssistantRequestInterface): Observable<HttpResponse<null>>;
|
|
14
15
|
listAssistant(r: ListAssistantRequest | ListAssistantRequestInterface): Observable<ListAssistantResponse>;
|
|
15
16
|
listAllAssistantsAssociatedToConnection(r: ListAllAssistantsAssociatedToConnectionRequest | ListAllAssistantsAssociatedToConnectionRequestInterface): Observable<ListAllAssistantsAssociatedToConnectionResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
|
|
2
|
-
import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, ListGoalsRequestInterface, UpsertGoalRequestInterface } from './interfaces/';
|
|
1
|
+
import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForGroupRequest, GoalsDisabledForGroupResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
|
|
2
|
+
import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForGroupRequestInterface, ListGoalsRequestInterface, UpsertGoalRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -13,6 +13,7 @@ export declare class GoalApiService {
|
|
|
13
13
|
getMulti(r: GetMultiGoalRequest | GetMultiGoalRequestInterface): Observable<GetMultiGoalResponse>;
|
|
14
14
|
delete(r: DeleteGoalRequest | DeleteGoalRequestInterface): Observable<HttpResponse<null>>;
|
|
15
15
|
list(r: ListGoalsRequest | ListGoalsRequestInterface): Observable<ListGoalsResponse>;
|
|
16
|
+
goalsDisabledForGroup(r: GoalsDisabledForGroupRequest | GoalsDisabledForGroupRequestInterface): Observable<GoalsDisabledForGroupResponse>;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoalApiService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<GoalApiService>;
|
|
18
19
|
}
|
|
@@ -8,6 +8,14 @@ import { NamespaceInterface } from './namespace.interface';
|
|
|
8
8
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
|
|
9
9
|
import { PromptModuleInterface, PromptModuleVersionInterface, PromptInterface, PromptVersionInterface, PromptModuleKeyInterface } from './prompt.interface';
|
|
10
10
|
import * as e from '../enums';
|
|
11
|
+
export interface BuildDefaultAssistantRequestInterface {
|
|
12
|
+
id?: string;
|
|
13
|
+
namespace?: NamespaceInterface;
|
|
14
|
+
type?: e.AssistantType;
|
|
15
|
+
}
|
|
16
|
+
export interface BuildDefaultAssistantResponseInterface {
|
|
17
|
+
assistant?: AssistantInterface;
|
|
18
|
+
}
|
|
11
19
|
export interface SetAssistantConnectionsRequestConnectionStateInterface {
|
|
12
20
|
connectionKey?: ConnectionKeyInterface;
|
|
13
21
|
isAssociated?: boolean;
|
|
@@ -18,6 +26,7 @@ export interface CreatePromptModuleRequestInterface {
|
|
|
18
26
|
name?: string;
|
|
19
27
|
description?: string;
|
|
20
28
|
content?: string;
|
|
29
|
+
managed?: boolean;
|
|
21
30
|
}
|
|
22
31
|
export interface CreatePromptModuleVersionRequestInterface {
|
|
23
32
|
id?: string;
|
|
@@ -70,8 +79,9 @@ export interface ListConnectionsRequestFiltersInterface {
|
|
|
70
79
|
namespace?: NamespaceInterface;
|
|
71
80
|
assistantType?: e.AssistantType;
|
|
72
81
|
}
|
|
73
|
-
export interface
|
|
82
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
74
83
|
namespace?: NamespaceInterface;
|
|
84
|
+
type?: e.AssistantType;
|
|
75
85
|
}
|
|
76
86
|
export interface ListGoalsRequestFiltersInterface {
|
|
77
87
|
namespace?: NamespaceInterface;
|
|
@@ -81,9 +91,8 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
81
91
|
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
82
92
|
type?: e.AssistantType;
|
|
83
93
|
}
|
|
84
|
-
export interface
|
|
94
|
+
export interface ListFunctionRequestFiltersInterface {
|
|
85
95
|
namespace?: NamespaceInterface;
|
|
86
|
-
type?: e.AssistantType;
|
|
87
96
|
}
|
|
88
97
|
export interface GenerateChatAnswerRequestInterface {
|
|
89
98
|
connectionKey?: ConnectionKeyInterface;
|
|
@@ -210,6 +219,12 @@ export interface GetPromptVersionRequestInterface {
|
|
|
210
219
|
export interface GetPromptVersionResponseInterface {
|
|
211
220
|
promptVersion?: PromptVersionInterface;
|
|
212
221
|
}
|
|
222
|
+
export interface GoalsDisabledForGroupRequestInterface {
|
|
223
|
+
groupId?: string;
|
|
224
|
+
}
|
|
225
|
+
export interface GoalsDisabledForGroupResponseInterface {
|
|
226
|
+
goalsDisabled?: boolean;
|
|
227
|
+
}
|
|
213
228
|
export interface ListAllAssistantsAssociatedToConnectionRequestInterface {
|
|
214
229
|
connectionKey?: ConnectionKeyInterface;
|
|
215
230
|
filters?: ListAllAssistantsAssociatedToConnectionRequestFiltersInterface;
|
|
@@ -284,15 +299,15 @@ export interface ListPromptVersionsResponseInterface {
|
|
|
284
299
|
promptVersions?: PromptVersionInterface[];
|
|
285
300
|
metadata?: PagedResponseMetadataInterface;
|
|
286
301
|
}
|
|
287
|
-
export interface
|
|
288
|
-
|
|
289
|
-
enableAsyncFunctions?: boolean;
|
|
302
|
+
export interface UpsertAssistantRequestOptionsInterface {
|
|
303
|
+
applyDefaults?: boolean;
|
|
290
304
|
}
|
|
291
305
|
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
292
306
|
shouldDeploy?: boolean;
|
|
293
307
|
}
|
|
294
|
-
export interface
|
|
295
|
-
|
|
308
|
+
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
309
|
+
includeAllCitations?: boolean;
|
|
310
|
+
enableAsyncFunctions?: boolean;
|
|
296
311
|
}
|
|
297
312
|
export interface SetAssistantConnectionsRequestInterface {
|
|
298
313
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
@@ -8,6 +8,12 @@ export interface FunctionInterface {
|
|
|
8
8
|
functionParameters?: FunctionParameterInterface[];
|
|
9
9
|
generatesAnswer?: boolean;
|
|
10
10
|
updated?: Date;
|
|
11
|
+
headers?: FunctionHeaderInterface[];
|
|
12
|
+
managed?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface FunctionHeaderInterface {
|
|
15
|
+
key?: string;
|
|
16
|
+
value?: string;
|
|
11
17
|
}
|
|
12
18
|
export interface FunctionKeyInterface {
|
|
13
19
|
id?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespaceInterface, NamespaceAccountGroupsForGroupNamespaceInterface, NamespaceAccountGroupsForPartnerNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
|
|
2
|
-
export { FunctionInterface, FunctionKeyInterface, FunctionParameterInterface, } from './function.interface';
|
|
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
5
|
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
@@ -8,4 +8,4 @@ export { KeyValuePairInterface, } from './common.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';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListPromptModuleRequestFiltersInterface, ListConnectionsRequestFiltersInterface,
|
|
11
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListPromptModuleRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListFunctionRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, GoalsDisabledForGroupRequestInterface, GoalsDisabledForGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, UpsertAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
|
|
@@ -10,6 +10,20 @@ import { PagedRequestOptions, PagedResponseMetadata } from './paging';
|
|
|
10
10
|
import { PromptModule, PromptModuleVersion, Prompt, PromptVersion, PromptModuleKey } from './prompt';
|
|
11
11
|
import * as e from '../enums';
|
|
12
12
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
13
|
+
export declare class BuildDefaultAssistantRequest implements i.BuildDefaultAssistantRequestInterface {
|
|
14
|
+
id: string;
|
|
15
|
+
namespace: Namespace;
|
|
16
|
+
type: e.AssistantType;
|
|
17
|
+
static fromProto(proto: any): BuildDefaultAssistantRequest;
|
|
18
|
+
constructor(kwargs?: i.BuildDefaultAssistantRequestInterface);
|
|
19
|
+
toApiJson(): object;
|
|
20
|
+
}
|
|
21
|
+
export declare class BuildDefaultAssistantResponse implements i.BuildDefaultAssistantResponseInterface {
|
|
22
|
+
assistant: Assistant;
|
|
23
|
+
static fromProto(proto: any): BuildDefaultAssistantResponse;
|
|
24
|
+
constructor(kwargs?: i.BuildDefaultAssistantResponseInterface);
|
|
25
|
+
toApiJson(): object;
|
|
26
|
+
}
|
|
13
27
|
export declare class SetAssistantConnectionsRequestConnectionState implements i.SetAssistantConnectionsRequestConnectionStateInterface {
|
|
14
28
|
connectionKey: ConnectionKey;
|
|
15
29
|
isAssociated: boolean;
|
|
@@ -23,6 +37,7 @@ export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRe
|
|
|
23
37
|
name: string;
|
|
24
38
|
description: string;
|
|
25
39
|
content: string;
|
|
40
|
+
managed: boolean;
|
|
26
41
|
static fromProto(proto: any): CreatePromptModuleRequest;
|
|
27
42
|
constructor(kwargs?: i.CreatePromptModuleRequestInterface);
|
|
28
43
|
toApiJson(): object;
|
|
@@ -114,10 +129,11 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
114
129
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
115
130
|
toApiJson(): object;
|
|
116
131
|
}
|
|
117
|
-
export declare class
|
|
132
|
+
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
118
133
|
namespace: Namespace;
|
|
119
|
-
|
|
120
|
-
|
|
134
|
+
type: e.AssistantType;
|
|
135
|
+
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
136
|
+
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
121
137
|
toApiJson(): object;
|
|
122
138
|
}
|
|
123
139
|
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
@@ -134,11 +150,10 @@ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters imple
|
|
|
134
150
|
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
135
151
|
toApiJson(): object;
|
|
136
152
|
}
|
|
137
|
-
export declare class
|
|
153
|
+
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
138
154
|
namespace: Namespace;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
155
|
+
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
156
|
+
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
142
157
|
toApiJson(): object;
|
|
143
158
|
}
|
|
144
159
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
@@ -368,6 +383,18 @@ export declare class GetPromptVersionResponse implements i.GetPromptVersionRespo
|
|
|
368
383
|
constructor(kwargs?: i.GetPromptVersionResponseInterface);
|
|
369
384
|
toApiJson(): object;
|
|
370
385
|
}
|
|
386
|
+
export declare class GoalsDisabledForGroupRequest implements i.GoalsDisabledForGroupRequestInterface {
|
|
387
|
+
groupId: string;
|
|
388
|
+
static fromProto(proto: any): GoalsDisabledForGroupRequest;
|
|
389
|
+
constructor(kwargs?: i.GoalsDisabledForGroupRequestInterface);
|
|
390
|
+
toApiJson(): object;
|
|
391
|
+
}
|
|
392
|
+
export declare class GoalsDisabledForGroupResponse implements i.GoalsDisabledForGroupResponseInterface {
|
|
393
|
+
goalsDisabled: boolean;
|
|
394
|
+
static fromProto(proto: any): GoalsDisabledForGroupResponse;
|
|
395
|
+
constructor(kwargs?: i.GoalsDisabledForGroupResponseInterface);
|
|
396
|
+
toApiJson(): object;
|
|
397
|
+
}
|
|
371
398
|
export declare class ListAllAssistantsAssociatedToConnectionRequest implements i.ListAllAssistantsAssociatedToConnectionRequestInterface {
|
|
372
399
|
connectionKey: ConnectionKey;
|
|
373
400
|
filters: ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
@@ -496,11 +523,10 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
|
|
|
496
523
|
constructor(kwargs?: i.ListPromptVersionsResponseInterface);
|
|
497
524
|
toApiJson(): object;
|
|
498
525
|
}
|
|
499
|
-
export declare class
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
526
|
+
export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
|
|
527
|
+
applyDefaults: boolean;
|
|
528
|
+
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
529
|
+
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
504
530
|
toApiJson(): object;
|
|
505
531
|
}
|
|
506
532
|
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
@@ -509,10 +535,11 @@ export declare class CreatePromptModuleVersionRequestOptions implements i.Create
|
|
|
509
535
|
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
510
536
|
toApiJson(): object;
|
|
511
537
|
}
|
|
512
|
-
export declare class
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
538
|
+
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
539
|
+
includeAllCitations: boolean;
|
|
540
|
+
enableAsyncFunctions: boolean;
|
|
541
|
+
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
542
|
+
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
516
543
|
toApiJson(): object;
|
|
517
544
|
}
|
|
518
545
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
@@ -10,10 +10,19 @@ export declare class Function implements i.FunctionInterface {
|
|
|
10
10
|
functionParameters: FunctionParameter[];
|
|
11
11
|
generatesAnswer: boolean;
|
|
12
12
|
updated: Date;
|
|
13
|
+
headers: FunctionHeader[];
|
|
14
|
+
managed: boolean;
|
|
13
15
|
static fromProto(proto: any): Function;
|
|
14
16
|
constructor(kwargs?: i.FunctionInterface);
|
|
15
17
|
toApiJson(): object;
|
|
16
18
|
}
|
|
19
|
+
export declare class FunctionHeader implements i.FunctionHeaderInterface {
|
|
20
|
+
key: string;
|
|
21
|
+
value: string;
|
|
22
|
+
static fromProto(proto: any): FunctionHeader;
|
|
23
|
+
constructor(kwargs?: i.FunctionHeaderInterface);
|
|
24
|
+
toApiJson(): object;
|
|
25
|
+
}
|
|
17
26
|
export declare class FunctionKey implements i.FunctionKeyInterface {
|
|
18
27
|
id: string;
|
|
19
28
|
namespace: Namespace;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace, NamespaceAccountGroupsForPartnerNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
|
|
2
|
-
export { Function, FunctionKey, FunctionParameter, } from './function';
|
|
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
5
|
export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
@@ -8,4 +8,4 @@ export { KeyValuePair, } from './common';
|
|
|
8
8
|
export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
|
|
9
9
|
export { Access, } from './annotations';
|
|
10
10
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListPromptModuleRequestFilters, ListConnectionsRequestFilters,
|
|
11
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListPromptModuleRequestFilters, ListConnectionsRequestFilters, ListAssistantRequestFilters, ListGoalsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListFunctionRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GoalsDisabledForGroupRequest, GoalsDisabledForGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, UpsertAssistantRequestOptions, CreatePromptModuleVersionRequestOptions, GenerateChatAnswerRequestOptions, SetAssistantConnectionsRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
|
|
@@ -21,6 +21,7 @@ export declare class PromptModule implements i.PromptModuleInterface {
|
|
|
21
21
|
deployedBy: string;
|
|
22
22
|
updated: Date;
|
|
23
23
|
deployed: Date;
|
|
24
|
+
managed: boolean;
|
|
24
25
|
static fromProto(proto: any): PromptModule;
|
|
25
26
|
constructor(kwargs?: i.PromptModuleInterface);
|
|
26
27
|
toApiJson(): object;
|