@vendasta/ai-assistants 0.46.0 → 0.47.1

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,5 +1,5 @@
1
- import { DeleteFunctionRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, UpsertFunctionRequest, UpsertMCPRequest } from './objects/';
2
- import { DeleteFunctionRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, UpsertFunctionRequestInterface, UpsertMCPRequestInterface } from './interfaces/';
1
+ import { DeleteFunctionRequest, DeleteMCPRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, UpsertFunctionRequest, UpsertMCPRequest } from './objects/';
2
+ import { DeleteFunctionRequestInterface, DeleteMCPRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, UpsertFunctionRequestInterface, UpsertMCPRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -16,6 +16,7 @@ export declare class FunctionApiService {
16
16
  listMcpTools(r: ListMCPToolsRequest | ListMCPToolsRequestInterface): Observable<ListMCPToolsResponse>;
17
17
  upsertMcp(r: UpsertMCPRequest | UpsertMCPRequestInterface): Observable<HttpResponse<null>>;
18
18
  listMcPs(r: ListMCPsRequest | ListMCPsRequestInterface): Observable<ListMCPsResponse>;
19
+ deleteMcp(r: DeleteMCPRequest | DeleteMCPRequestInterface): Observable<HttpResponse<null>>;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<FunctionApiService, never>;
20
21
  static ɵprov: i0.ɵɵInjectableDeclaration<FunctionApiService>;
21
22
  }
@@ -10,9 +10,14 @@ export interface ChatAnswerFunctionExecutionJobResultInterface {
10
10
  content?: string;
11
11
  metadata?: KeyValuePairInterface[];
12
12
  }
13
+ export interface ChatContentInterface {
14
+ text?: string;
15
+ image?: ImageContentInterface;
16
+ }
13
17
  export interface ChatMessageInterface {
14
18
  role?: e.ChatMessageRole;
15
19
  content?: string;
20
+ contentParts?: ChatContentInterface[];
16
21
  }
17
22
  export interface ChatUserInfoInterface {
18
23
  name?: string;
@@ -29,3 +34,8 @@ export interface ChatUserInfoInterface {
29
34
  export interface ContextInfoInterface {
30
35
  variables?: KeyValuePairInterface[];
31
36
  }
37
+ export interface ImageContentInterface {
38
+ url?: string;
39
+ mediaType?: string;
40
+ altText?: string;
41
+ }
@@ -99,27 +99,21 @@ export interface ExecuteFunctionResponseInterface {
99
99
  output?: string;
100
100
  metadata?: KeyValuePairInterface[];
101
101
  }
102
- export interface ListPromptModuleRequestFiltersInterface {
103
- namespace?: NamespaceInterface;
104
- }
105
102
  export interface ListFunctionRequestFiltersInterface {
106
103
  namespace?: NamespaceInterface;
107
104
  namespaces?: NamespaceInterface[];
108
- }
109
- export interface ListConnectionsRequestFiltersInterface {
110
- namespace?: NamespaceInterface;
111
- assistantType?: e.AssistantType;
105
+ mcpId?: string;
112
106
  }
113
107
  export interface ListAvailableModelsRequestFiltersInterface {
114
108
  vendor?: e.ModelVendor[];
115
109
  type?: e.ModelType[];
116
110
  }
117
- export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
118
- type?: e.AssistantType;
111
+ export interface ListConnectionsRequestFiltersInterface {
112
+ namespace?: NamespaceInterface;
113
+ assistantType?: e.AssistantType;
119
114
  }
120
- export interface ListAssistantRequestFiltersInterface {
115
+ export interface ListPromptModuleRequestFiltersInterface {
121
116
  namespace?: NamespaceInterface;
122
- type?: e.AssistantType;
123
117
  }
124
118
  export interface ListGoalsRequestFiltersInterface {
125
119
  namespace?: NamespaceInterface;
@@ -127,6 +121,13 @@ export interface ListGoalsRequestFiltersInterface {
127
121
  supportedChannels?: e.GoalChannel[];
128
122
  namespaces?: NamespaceInterface[];
129
123
  }
124
+ export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
125
+ type?: e.AssistantType;
126
+ }
127
+ export interface ListAssistantRequestFiltersInterface {
128
+ namespace?: NamespaceInterface;
129
+ type?: e.AssistantType;
130
+ }
130
131
  export interface GenerateChatAnswerRequestInterface {
131
132
  connectionKey?: ConnectionKeyInterface;
132
133
  chatHistory?: ChatMessageInterface[];
@@ -349,26 +350,26 @@ export interface ListPromptVersionsResponseInterface {
349
350
  promptVersions?: PromptVersionInterface[];
350
351
  metadata?: PagedResponseMetadataInterface;
351
352
  }
352
- export interface UpsertAssistantRequestOptionsInterface {
353
- applyDefaults?: boolean;
354
- }
355
353
  export interface GenerateChatAnswerRequestOptionsInterface {
356
354
  includeAllCitations?: boolean;
357
355
  enableAsyncFunctions?: boolean;
358
356
  maxTokens?: number;
359
357
  }
360
- export interface CreatePromptModuleVersionRequestOptionsInterface {
361
- shouldDeploy?: boolean;
362
- }
363
- export interface GetAssistantRequestOptionsInterface {
364
- skipGoalsHydration?: boolean;
365
- }
366
358
  export interface GetMultiAssistantRequestOptionsInterface {
367
359
  skipGoalsHydration?: boolean;
368
360
  }
361
+ export interface CreatePromptModuleVersionRequestOptionsInterface {
362
+ shouldDeploy?: boolean;
363
+ }
369
364
  export interface CreateAssistantRequestOptionsInterface {
370
365
  applyDefaults?: boolean;
371
366
  }
367
+ export interface UpsertAssistantRequestOptionsInterface {
368
+ applyDefaults?: boolean;
369
+ }
370
+ export interface GetAssistantRequestOptionsInterface {
371
+ skipGoalsHydration?: boolean;
372
+ }
372
373
  export interface SetAssistantConnectionsRequestInterface {
373
374
  associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
374
375
  assistantKey?: AssistantKeyInterface;
@@ -1,6 +1,10 @@
1
1
  import { NamespaceInterface } from './namespace.interface';
2
2
  import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
3
3
  import * as e from '../enums';
4
+ export interface DeleteMCPRequestInterface {
5
+ namespace?: NamespaceInterface;
6
+ mcpId?: string;
7
+ }
4
8
  export interface ListMCPsRequestFiltersInterface {
5
9
  namespaces?: NamespaceInterface[];
6
10
  mcpIds?: string[];
@@ -39,6 +43,7 @@ export interface FunctionParameterInterface {
39
43
  items?: FunctionParameterInterface;
40
44
  value?: string;
41
45
  location?: e.FunctionParameterParameterLocation;
46
+ required?: boolean;
42
47
  }
43
48
  export interface ListMCPToolsRequestInterface {
44
49
  namespace?: NamespaceInterface;
@@ -61,6 +66,8 @@ export interface ListMCPsResponseInterface {
61
66
  export interface MCPInterface {
62
67
  id?: string;
63
68
  url?: string;
69
+ namespace?: NamespaceInterface;
70
+ authStrategy?: FunctionAuthStrategyInterface;
64
71
  }
65
72
  export interface FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface {
66
73
  requiredScopes?: string[];
@@ -72,4 +79,5 @@ export interface UpsertMCPRequestInterface {
72
79
  url?: string;
73
80
  mcpId?: string;
74
81
  functions?: FunctionInterface[];
82
+ authStrategy?: FunctionAuthStrategyInterface;
75
83
  }
@@ -1,14 +1,14 @@
1
1
  export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
2
2
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
3
- export { ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
3
+ export { DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
4
4
  export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
5
5
  export { GoalInterface, GoalKeyInterface, } from './goal.interface';
6
6
  export { KeyValuePairInterface, } from './common.interface';
7
7
  export { ModelInterface, } from './model.interface';
8
8
  export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
9
9
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
10
- export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, } from './answer.interface';
10
+ export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatContentInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ImageContentInterface, } from './answer.interface';
11
11
  export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
12
12
  export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
13
13
  export { FieldMaskInterface, } from './field-mask.interface';
14
- export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListPromptModuleRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListGoalsRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, GetAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
14
+ export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListFunctionRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListAssistantRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, CreateAssistantRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
@@ -18,9 +18,17 @@ export declare class ChatAnswerFunctionExecutionJobResult implements i.ChatAnswe
18
18
  constructor(kwargs?: i.ChatAnswerFunctionExecutionJobResultInterface);
19
19
  toApiJson(): object;
20
20
  }
21
+ export declare class ChatContent implements i.ChatContentInterface {
22
+ text: string;
23
+ image: ImageContent;
24
+ static fromProto(proto: any): ChatContent;
25
+ constructor(kwargs?: i.ChatContentInterface);
26
+ toApiJson(): object;
27
+ }
21
28
  export declare class ChatMessage implements i.ChatMessageInterface {
22
29
  role: e.ChatMessageRole;
23
30
  content: string;
31
+ contentParts: ChatContent[];
24
32
  static fromProto(proto: any): ChatMessage;
25
33
  constructor(kwargs?: i.ChatMessageInterface);
26
34
  toApiJson(): object;
@@ -46,3 +54,11 @@ export declare class ContextInfo implements i.ContextInfoInterface {
46
54
  constructor(kwargs?: i.ContextInfoInterface);
47
55
  toApiJson(): object;
48
56
  }
57
+ export declare class ImageContent implements i.ImageContentInterface {
58
+ url: string;
59
+ mediaType: string;
60
+ altText: string;
61
+ static fromProto(proto: any): ImageContent;
62
+ constructor(kwargs?: i.ImageContentInterface);
63
+ toApiJson(): object;
64
+ }
@@ -164,29 +164,14 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
164
164
  constructor(kwargs?: i.ExecuteFunctionResponseInterface);
165
165
  toApiJson(): object;
166
166
  }
167
- export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
168
- namespace: Namespace;
169
- type: e.GoalType;
170
- supportedChannels: e.GoalChannel[];
171
- namespaces: Namespace[];
172
- static fromProto(proto: any): ListGoalsRequestFilters;
173
- constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
174
- toApiJson(): object;
175
- }
176
167
  export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
177
168
  namespace: Namespace;
178
169
  namespaces: Namespace[];
170
+ mcpId: string;
179
171
  static fromProto(proto: any): ListFunctionRequestFilters;
180
172
  constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
181
173
  toApiJson(): object;
182
174
  }
183
- export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
184
- namespace: Namespace;
185
- assistantType: e.AssistantType;
186
- static fromProto(proto: any): ListConnectionsRequestFilters;
187
- constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
188
- toApiJson(): object;
189
- }
190
175
  export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
191
176
  vendor: e.ModelVendor[];
192
177
  type: e.ModelType[];
@@ -194,17 +179,26 @@ export declare class ListAvailableModelsRequestFilters implements i.ListAvailabl
194
179
  constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
195
180
  toApiJson(): object;
196
181
  }
182
+ export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
183
+ namespace: Namespace;
184
+ assistantType: e.AssistantType;
185
+ static fromProto(proto: any): ListConnectionsRequestFilters;
186
+ constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
187
+ toApiJson(): object;
188
+ }
197
189
  export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
198
190
  namespace: Namespace;
199
191
  static fromProto(proto: any): ListPromptModuleRequestFilters;
200
192
  constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
201
193
  toApiJson(): object;
202
194
  }
203
- export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
195
+ export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
204
196
  namespace: Namespace;
205
- type: e.AssistantType;
206
- static fromProto(proto: any): ListAssistantRequestFilters;
207
- constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
197
+ type: e.GoalType;
198
+ supportedChannels: e.GoalChannel[];
199
+ namespaces: Namespace[];
200
+ static fromProto(proto: any): ListGoalsRequestFilters;
201
+ constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
208
202
  toApiJson(): object;
209
203
  }
210
204
  export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
@@ -213,6 +207,13 @@ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters imple
213
207
  constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
214
208
  toApiJson(): object;
215
209
  }
210
+ export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
211
+ namespace: Namespace;
212
+ type: e.AssistantType;
213
+ static fromProto(proto: any): ListAssistantRequestFilters;
214
+ constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
215
+ toApiJson(): object;
216
+ }
216
217
  export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
217
218
  connectionKey: ConnectionKey;
218
219
  chatHistory: ChatMessage[];
@@ -609,18 +610,26 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
609
610
  constructor(kwargs?: i.ListPromptVersionsResponseInterface);
610
611
  toApiJson(): object;
611
612
  }
613
+ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
614
+ includeAllCitations: boolean;
615
+ enableAsyncFunctions: boolean;
616
+ maxTokens: number;
617
+ static fromProto(proto: any): GenerateChatAnswerRequestOptions;
618
+ constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
619
+ toApiJson(): object;
620
+ }
621
+ export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
622
+ skipGoalsHydration: boolean;
623
+ static fromProto(proto: any): GetMultiAssistantRequestOptions;
624
+ constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
625
+ toApiJson(): object;
626
+ }
612
627
  export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
613
628
  shouldDeploy: boolean;
614
629
  static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
615
630
  constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
616
631
  toApiJson(): object;
617
632
  }
618
- export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
619
- skipGoalsHydration: boolean;
620
- static fromProto(proto: any): GetAssistantRequestOptions;
621
- constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
622
- toApiJson(): object;
623
- }
624
633
  export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
625
634
  applyDefaults: boolean;
626
635
  static fromProto(proto: any): CreateAssistantRequestOptions;
@@ -633,18 +642,10 @@ export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantR
633
642
  constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
634
643
  toApiJson(): object;
635
644
  }
636
- export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
645
+ export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
637
646
  skipGoalsHydration: boolean;
638
- static fromProto(proto: any): GetMultiAssistantRequestOptions;
639
- constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
640
- toApiJson(): object;
641
- }
642
- export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
643
- includeAllCitations: boolean;
644
- enableAsyncFunctions: boolean;
645
- maxTokens: number;
646
- static fromProto(proto: any): GenerateChatAnswerRequestOptions;
647
- constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
647
+ static fromProto(proto: any): GetAssistantRequestOptions;
648
+ constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
648
649
  toApiJson(): object;
649
650
  }
650
651
  export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
@@ -3,6 +3,13 @@ import { Namespace } from './namespace';
3
3
  import { PagedRequestOptions, PagedResponseMetadata } from './paging';
4
4
  import * as e from '../enums';
5
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
6
+ export declare class DeleteMCPRequest implements i.DeleteMCPRequestInterface {
7
+ namespace: Namespace;
8
+ mcpId: string;
9
+ static fromProto(proto: any): DeleteMCPRequest;
10
+ constructor(kwargs?: i.DeleteMCPRequestInterface);
11
+ toApiJson(): object;
12
+ }
6
13
  export declare class ListMCPsRequestFilters implements i.ListMCPsRequestFiltersInterface {
7
14
  namespaces: Namespace[];
8
15
  mcpIds: string[];
@@ -56,6 +63,7 @@ export declare class FunctionParameter implements i.FunctionParameterInterface {
56
63
  items: FunctionParameter;
57
64
  value: string;
58
65
  location: e.FunctionParameterParameterLocation;
66
+ required: boolean;
59
67
  static fromProto(proto: any): FunctionParameter;
60
68
  constructor(kwargs?: i.FunctionParameterInterface);
61
69
  toApiJson(): object;
@@ -93,6 +101,8 @@ export declare class ListMCPsResponse implements i.ListMCPsResponseInterface {
93
101
  export declare class MCP implements i.MCPInterface {
94
102
  id: string;
95
103
  url: string;
104
+ namespace: Namespace;
105
+ authStrategy: FunctionAuthStrategy;
96
106
  static fromProto(proto: any): MCP;
97
107
  constructor(kwargs?: i.MCPInterface);
98
108
  toApiJson(): object;
@@ -113,6 +123,7 @@ export declare class UpsertMCPRequest implements i.UpsertMCPRequestInterface {
113
123
  url: string;
114
124
  mcpId: string;
115
125
  functions: Function[];
126
+ authStrategy: FunctionAuthStrategy;
116
127
  static fromProto(proto: any): UpsertMCPRequest;
117
128
  constructor(kwargs?: i.UpsertMCPRequestInterface);
118
129
  toApiJson(): object;
@@ -1,14 +1,14 @@
1
1
  export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
2
2
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
3
- export { ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
3
+ export { DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
4
4
  export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
5
5
  export { Goal, GoalKey, } from './goal';
6
6
  export { KeyValuePair, } from './common';
7
7
  export { Model, } from './model';
8
8
  export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
9
9
  export { Connection, ConnectionKey, } from './connection';
10
- export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, ContextInfo, } from './answer';
10
+ export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatContent, ChatMessage, ChatUserInfo, ContextInfo, ImageContent, } from './answer';
11
11
  export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
12
12
  export { Access, MCPOptions, } from './annotations';
13
13
  export { FieldMask, } from './field-mask';
14
- export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListAllAssistantsAssociatedToConnectionRequestFilters, ListFunctionRequestFilters, ListConnectionsRequestFilters, ListAvailableModelsRequestFilters, ListGoalsRequestFilters, ListAssistantRequestFilters, ListPromptModuleRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, CreateAssistantRequestOptions, UpsertAssistantRequestOptions, GenerateChatAnswerRequestOptions, CreatePromptModuleVersionRequestOptions, GetMultiAssistantRequestOptions, GetAssistantRequestOptions, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
14
+ export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListFunctionRequestFilters, ListAvailableModelsRequestFilters, ListConnectionsRequestFilters, ListPromptModuleRequestFilters, ListGoalsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAssistantRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, GenerateChatAnswerRequestOptions, GetMultiAssistantRequestOptions, CreatePromptModuleVersionRequestOptions, CreateAssistantRequestOptions, UpsertAssistantRequestOptions, GetAssistantRequestOptions, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.46.0",
3
+ "version": "0.47.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"