@vendasta/ai-assistants 0.43.0 → 0.45.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.
Files changed (29) hide show
  1. package/esm2020/lib/_internal/enums/assistant.enum.mjs +2 -1
  2. package/esm2020/lib/_internal/function.api.service.mjs +16 -2
  3. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  8. package/esm2020/lib/_internal/objects/annotations.mjs +21 -1
  9. package/esm2020/lib/_internal/objects/api.mjs +75 -75
  10. package/esm2020/lib/_internal/objects/assistant.mjs +27 -1
  11. package/esm2020/lib/_internal/objects/function.mjs +208 -1
  12. package/esm2020/lib/_internal/objects/index.mjs +6 -6
  13. package/fesm2015/vendasta-ai-assistants.mjs +421 -154
  14. package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
  15. package/fesm2020/vendasta-ai-assistants.mjs +421 -154
  16. package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
  17. package/lib/_internal/enums/assistant.enum.d.ts +2 -1
  18. package/lib/_internal/function.api.service.d.ts +5 -2
  19. package/lib/_internal/interfaces/annotations.interface.d.ts +3 -0
  20. package/lib/_internal/interfaces/api.interface.d.ts +17 -17
  21. package/lib/_internal/interfaces/assistant.interface.d.ts +4 -0
  22. package/lib/_internal/interfaces/function.interface.d.ts +33 -0
  23. package/lib/_internal/interfaces/index.d.ts +5 -5
  24. package/lib/_internal/objects/annotations.d.ts +6 -0
  25. package/lib/_internal/objects/api.d.ts +36 -36
  26. package/lib/_internal/objects/assistant.d.ts +7 -0
  27. package/lib/_internal/objects/function.d.ts +54 -0
  28. package/lib/_internal/objects/index.d.ts +5 -5
  29. package/package.json +1 -1
@@ -11,5 +11,6 @@ export declare enum AssistantType {
11
11
  export declare enum VendorModel {
12
12
  VENDOR_MODEL_UNSPECIFIED = 0,
13
13
  VENDOR_MODEL_OPEN_AI_REALTIME = 1,
14
- VENDOR_MODEL_DEEPGRAM = 2
14
+ VENDOR_MODEL_DEEPGRAM = 2,
15
+ VENDOR_MODEL_ELEVEN_LABS = 3
15
16
  }
@@ -1,5 +1,5 @@
1
- import { DeleteFunctionRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, UpsertFunctionRequest } from './objects/';
2
- import { DeleteFunctionRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, UpsertFunctionRequestInterface } from './interfaces/';
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/';
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,9 @@ export declare class FunctionApiService {
13
13
  getMulti(r: GetMultiFunctionRequest | GetMultiFunctionRequestInterface): Observable<GetMultiFunctionResponse>;
14
14
  list(r: ListFunctionRequest | ListFunctionRequestInterface): Observable<ListFunctionResponse>;
15
15
  delete(r: DeleteFunctionRequest | DeleteFunctionRequestInterface): Observable<HttpResponse<null>>;
16
+ listMcpTools(r: ListMCPToolsRequest | ListMCPToolsRequestInterface): Observable<ListMCPToolsResponse>;
17
+ upsertMcp(r: UpsertMCPRequest | UpsertMCPRequestInterface): Observable<HttpResponse<null>>;
18
+ listMcPs(r: ListMCPsRequest | ListMCPsRequestInterface): Observable<ListMCPsResponse>;
16
19
  static ɵfac: i0.ɵɵFactoryDeclaration<FunctionApiService, never>;
17
20
  static ɵprov: i0.ɵɵInjectableDeclaration<FunctionApiService>;
18
21
  }
@@ -2,3 +2,6 @@ export interface AccessInterface {
2
2
  scope?: string[];
3
3
  public?: boolean;
4
4
  }
5
+ export interface MCPOptionsInterface {
6
+ serverId?: string[];
7
+ }
@@ -99,21 +99,17 @@ 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 ListConnectionsRequestFiltersInterface {
106
103
  namespace?: NamespaceInterface;
107
104
  assistantType?: e.AssistantType;
108
105
  }
109
- export interface ListFunctionRequestFiltersInterface {
110
- namespace?: NamespaceInterface;
111
- namespaces?: NamespaceInterface[];
112
- }
113
106
  export interface ListAvailableModelsRequestFiltersInterface {
114
107
  vendor?: e.ModelVendor[];
115
108
  type?: e.ModelType[];
116
109
  }
110
+ export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
111
+ type?: e.AssistantType;
112
+ }
117
113
  export interface ListGoalsRequestFiltersInterface {
118
114
  namespace?: NamespaceInterface;
119
115
  type?: e.GoalType;
@@ -124,8 +120,12 @@ export interface ListAssistantRequestFiltersInterface {
124
120
  namespace?: NamespaceInterface;
125
121
  type?: e.AssistantType;
126
122
  }
127
- export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
128
- type?: e.AssistantType;
123
+ export interface ListFunctionRequestFiltersInterface {
124
+ namespace?: NamespaceInterface;
125
+ namespaces?: NamespaceInterface[];
126
+ }
127
+ export interface ListPromptModuleRequestFiltersInterface {
128
+ namespace?: NamespaceInterface;
129
129
  }
130
130
  export interface GenerateChatAnswerRequestInterface {
131
131
  connectionKey?: ConnectionKeyInterface;
@@ -342,22 +342,22 @@ export interface ListPromptVersionsResponseInterface {
342
342
  promptVersions?: PromptVersionInterface[];
343
343
  metadata?: PagedResponseMetadataInterface;
344
344
  }
345
- export interface GetAssistantRequestOptionsInterface {
346
- skipGoalsHydration?: boolean;
347
- }
348
345
  export interface UpsertAssistantRequestOptionsInterface {
349
346
  applyDefaults?: boolean;
350
347
  }
348
+ export interface CreateAssistantRequestOptionsInterface {
349
+ applyDefaults?: boolean;
350
+ }
351
+ export interface CreatePromptModuleVersionRequestOptionsInterface {
352
+ shouldDeploy?: boolean;
353
+ }
351
354
  export interface GenerateChatAnswerRequestOptionsInterface {
352
355
  includeAllCitations?: boolean;
353
356
  enableAsyncFunctions?: boolean;
354
357
  maxTokens?: number;
355
358
  }
356
- export interface CreatePromptModuleVersionRequestOptionsInterface {
357
- shouldDeploy?: boolean;
358
- }
359
- export interface CreateAssistantRequestOptionsInterface {
360
- applyDefaults?: boolean;
359
+ export interface GetAssistantRequestOptionsInterface {
360
+ skipGoalsHydration?: boolean;
361
361
  }
362
362
  export interface SetAssistantConnectionsRequestInterface {
363
363
  associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
@@ -29,6 +29,9 @@ export interface ConfigurableGoalInterface {
29
29
  export interface DeepgramConfigInterface {
30
30
  voice?: string;
31
31
  }
32
+ export interface ElevenLabsConfigInterface {
33
+ voice?: string;
34
+ }
32
35
  export interface ConfigInboxConfigInterface {
33
36
  leadCaptureEnabled?: boolean;
34
37
  additionalInstructions?: string;
@@ -36,6 +39,7 @@ export interface ConfigInboxConfigInterface {
36
39
  export interface ModelConfigInterface {
37
40
  openaiRealtimeConfig?: OpenAIRealtimeConfigInterface;
38
41
  deepgramConfig?: DeepgramConfigInterface;
42
+ elevenLabsConfig?: ElevenLabsConfigInterface;
39
43
  }
40
44
  export interface OpenAIRealtimeConfigInterface {
41
45
  voice?: string;
@@ -1,5 +1,10 @@
1
1
  import { NamespaceInterface } from './namespace.interface';
2
+ import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
2
3
  import * as e from '../enums';
4
+ export interface ListMCPsRequestFiltersInterface {
5
+ namespaces?: NamespaceInterface[];
6
+ mcpIds?: string[];
7
+ }
3
8
  export interface FunctionInterface {
4
9
  id?: string;
5
10
  namespace?: NamespaceInterface;
@@ -34,8 +39,36 @@ export interface FunctionParameterInterface {
34
39
  value?: string;
35
40
  location?: e.FunctionParameterParameterLocation;
36
41
  }
42
+ export interface ListMCPToolsRequestInterface {
43
+ namespace?: NamespaceInterface;
44
+ url?: string;
45
+ authStrategy?: FunctionAuthStrategyInterface;
46
+ headers?: FunctionHeaderInterface[];
47
+ mcpId?: string;
48
+ }
49
+ export interface ListMCPToolsResponseInterface {
50
+ functions?: FunctionInterface[];
51
+ }
52
+ export interface ListMCPsRequestInterface {
53
+ filters?: ListMCPsRequestFiltersInterface;
54
+ pagingOptions?: PagedRequestOptionsInterface;
55
+ }
56
+ export interface ListMCPsResponseInterface {
57
+ mcps?: MCPInterface[];
58
+ pagingMetadata?: PagedResponseMetadataInterface;
59
+ }
60
+ export interface MCPInterface {
61
+ id?: string;
62
+ url?: string;
63
+ }
37
64
  export interface FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface {
38
65
  requiredScopes?: string[];
39
66
  }
40
67
  export interface FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface {
41
68
  }
69
+ export interface UpsertMCPRequestInterface {
70
+ namespace?: NamespaceInterface;
71
+ url?: string;
72
+ mcpId?: string;
73
+ functions?: FunctionInterface[];
74
+ }
@@ -1,14 +1,14 @@
1
1
  export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
2
- export { FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, } from './function.interface';
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
4
  export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
4
5
  export { GoalInterface, GoalKeyInterface, } from './goal.interface';
5
6
  export { KeyValuePairInterface, } from './common.interface';
6
7
  export { ModelInterface, } from './model.interface';
7
- export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
8
+ export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
8
9
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
9
10
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, } from './answer.interface';
10
- export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.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
- export { AccessInterface, } from './annotations.interface';
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, ListConnectionsRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, 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, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, CreateAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, 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, ListConnectionsRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, 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, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, UpsertAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, GetAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
@@ -7,3 +7,9 @@ export declare class Access implements i.AccessInterface {
7
7
  constructor(kwargs?: i.AccessInterface);
8
8
  toApiJson(): object;
9
9
  }
10
+ export declare class MCPOptions implements i.MCPOptionsInterface {
11
+ serverId: string[];
12
+ static fromProto(proto: any): MCPOptions;
13
+ constructor(kwargs?: i.MCPOptionsInterface);
14
+ toApiJson(): object;
15
+ }
@@ -164,12 +164,6 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
164
164
  constructor(kwargs?: i.ExecuteFunctionResponseInterface);
165
165
  toApiJson(): object;
166
166
  }
167
- export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
168
- type: e.AssistantType;
169
- static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
170
- constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
171
- toApiJson(): object;
172
- }
173
167
  export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
174
168
  namespace: Namespace;
175
169
  assistantType: e.AssistantType;
@@ -177,17 +171,17 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
177
171
  constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
178
172
  toApiJson(): object;
179
173
  }
180
- export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
181
- namespace: Namespace;
182
- namespaces: Namespace[];
183
- static fromProto(proto: any): ListFunctionRequestFilters;
184
- constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
174
+ export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
175
+ vendor: e.ModelVendor[];
176
+ type: e.ModelType[];
177
+ static fromProto(proto: any): ListAvailableModelsRequestFilters;
178
+ constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
185
179
  toApiJson(): object;
186
180
  }
187
- export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
188
- namespace: Namespace;
189
- static fromProto(proto: any): ListPromptModuleRequestFilters;
190
- constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
181
+ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
182
+ type: e.AssistantType;
183
+ static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
184
+ constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
191
185
  toApiJson(): object;
192
186
  }
193
187
  export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
@@ -206,11 +200,17 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
206
200
  constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
207
201
  toApiJson(): object;
208
202
  }
209
- export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
210
- vendor: e.ModelVendor[];
211
- type: e.ModelType[];
212
- static fromProto(proto: any): ListAvailableModelsRequestFilters;
213
- constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
203
+ export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
204
+ namespace: Namespace;
205
+ namespaces: Namespace[];
206
+ static fromProto(proto: any): ListFunctionRequestFilters;
207
+ constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
208
+ toApiJson(): object;
209
+ }
210
+ export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
211
+ namespace: Namespace;
212
+ static fromProto(proto: any): ListPromptModuleRequestFilters;
213
+ constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
214
214
  toApiJson(): object;
215
215
  }
216
216
  export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
@@ -596,12 +596,10 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
596
596
  constructor(kwargs?: i.ListPromptVersionsResponseInterface);
597
597
  toApiJson(): object;
598
598
  }
599
- export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
600
- includeAllCitations: boolean;
601
- enableAsyncFunctions: boolean;
602
- maxTokens: number;
603
- static fromProto(proto: any): GenerateChatAnswerRequestOptions;
604
- constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
599
+ export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
600
+ applyDefaults: boolean;
601
+ static fromProto(proto: any): UpsertAssistantRequestOptions;
602
+ constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
605
603
  toApiJson(): object;
606
604
  }
607
605
  export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
@@ -610,22 +608,24 @@ export declare class CreateAssistantRequestOptions implements i.CreateAssistantR
610
608
  constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
611
609
  toApiJson(): object;
612
610
  }
613
- export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
614
- skipGoalsHydration: boolean;
615
- static fromProto(proto: any): GetAssistantRequestOptions;
616
- constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
617
- toApiJson(): object;
618
- }
619
611
  export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
620
612
  shouldDeploy: boolean;
621
613
  static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
622
614
  constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
623
615
  toApiJson(): object;
624
616
  }
625
- export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
626
- applyDefaults: boolean;
627
- static fromProto(proto: any): UpsertAssistantRequestOptions;
628
- constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
617
+ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
618
+ includeAllCitations: boolean;
619
+ enableAsyncFunctions: boolean;
620
+ maxTokens: number;
621
+ static fromProto(proto: any): GenerateChatAnswerRequestOptions;
622
+ constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
623
+ toApiJson(): object;
624
+ }
625
+ export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
626
+ skipGoalsHydration: boolean;
627
+ static fromProto(proto: any): GetAssistantRequestOptions;
628
+ constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
629
629
  toApiJson(): object;
630
630
  }
631
631
  export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
@@ -46,6 +46,12 @@ export declare class DeepgramConfig implements i.DeepgramConfigInterface {
46
46
  constructor(kwargs?: i.DeepgramConfigInterface);
47
47
  toApiJson(): object;
48
48
  }
49
+ export declare class ElevenLabsConfig implements i.ElevenLabsConfigInterface {
50
+ voice: string;
51
+ static fromProto(proto: any): ElevenLabsConfig;
52
+ constructor(kwargs?: i.ElevenLabsConfigInterface);
53
+ toApiJson(): object;
54
+ }
49
55
  export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
50
56
  leadCaptureEnabled: boolean;
51
57
  additionalInstructions: string;
@@ -56,6 +62,7 @@ export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
56
62
  export declare class ModelConfig implements i.ModelConfigInterface {
57
63
  openaiRealtimeConfig: OpenAIRealtimeConfig;
58
64
  deepgramConfig: DeepgramConfig;
65
+ elevenLabsConfig: ElevenLabsConfig;
59
66
  static fromProto(proto: any): ModelConfig;
60
67
  constructor(kwargs?: i.ModelConfigInterface);
61
68
  toApiJson(): object;
@@ -1,7 +1,15 @@
1
1
  import * as i from '../interfaces';
2
2
  import { Namespace } from './namespace';
3
+ import { PagedRequestOptions, PagedResponseMetadata } from './paging';
3
4
  import * as e from '../enums';
4
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
6
+ export declare class ListMCPsRequestFilters implements i.ListMCPsRequestFiltersInterface {
7
+ namespaces: Namespace[];
8
+ mcpIds: string[];
9
+ static fromProto(proto: any): ListMCPsRequestFilters;
10
+ constructor(kwargs?: i.ListMCPsRequestFiltersInterface);
11
+ toApiJson(): object;
12
+ }
5
13
  export declare class Function implements i.FunctionInterface {
6
14
  id: string;
7
15
  namespace: Namespace;
@@ -51,6 +59,43 @@ export declare class FunctionParameter implements i.FunctionParameterInterface {
51
59
  constructor(kwargs?: i.FunctionParameterInterface);
52
60
  toApiJson(): object;
53
61
  }
62
+ export declare class ListMCPToolsRequest implements i.ListMCPToolsRequestInterface {
63
+ namespace: Namespace;
64
+ url: string;
65
+ authStrategy: FunctionAuthStrategy;
66
+ headers: FunctionHeader[];
67
+ mcpId: string;
68
+ static fromProto(proto: any): ListMCPToolsRequest;
69
+ constructor(kwargs?: i.ListMCPToolsRequestInterface);
70
+ toApiJson(): object;
71
+ }
72
+ export declare class ListMCPToolsResponse implements i.ListMCPToolsResponseInterface {
73
+ functions: Function[];
74
+ static fromProto(proto: any): ListMCPToolsResponse;
75
+ constructor(kwargs?: i.ListMCPToolsResponseInterface);
76
+ toApiJson(): object;
77
+ }
78
+ export declare class ListMCPsRequest implements i.ListMCPsRequestInterface {
79
+ filters: ListMCPsRequestFilters;
80
+ pagingOptions: PagedRequestOptions;
81
+ static fromProto(proto: any): ListMCPsRequest;
82
+ constructor(kwargs?: i.ListMCPsRequestInterface);
83
+ toApiJson(): object;
84
+ }
85
+ export declare class ListMCPsResponse implements i.ListMCPsResponseInterface {
86
+ mcps: MCP[];
87
+ pagingMetadata: PagedResponseMetadata;
88
+ static fromProto(proto: any): ListMCPsResponse;
89
+ constructor(kwargs?: i.ListMCPsResponseInterface);
90
+ toApiJson(): object;
91
+ }
92
+ export declare class MCP implements i.MCPInterface {
93
+ id: string;
94
+ url: string;
95
+ static fromProto(proto: any): MCP;
96
+ constructor(kwargs?: i.MCPInterface);
97
+ toApiJson(): object;
98
+ }
54
99
  export declare class FunctionAuthStrategyPlatformManagedFunctionAuthStrategy implements i.FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface {
55
100
  requiredScopes: string[];
56
101
  static fromProto(proto: any): FunctionAuthStrategyPlatformManagedFunctionAuthStrategy;
@@ -62,3 +107,12 @@ export declare class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy impleme
62
107
  constructor(kwargs?: i.FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface);
63
108
  toApiJson(): object;
64
109
  }
110
+ export declare class UpsertMCPRequest implements i.UpsertMCPRequestInterface {
111
+ namespace: Namespace;
112
+ url: string;
113
+ mcpId: string;
114
+ functions: Function[];
115
+ static fromProto(proto: any): UpsertMCPRequest;
116
+ constructor(kwargs?: i.UpsertMCPRequestInterface);
117
+ toApiJson(): object;
118
+ }
@@ -1,14 +1,14 @@
1
1
  export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
2
- export { Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, } from './function';
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
4
  export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
4
5
  export { Goal, GoalKey, } from './goal';
5
6
  export { KeyValuePair, } from './common';
6
7
  export { Model, } from './model';
7
- export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
8
+ export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
8
9
  export { Connection, ConnectionKey, } from './connection';
9
10
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, ContextInfo, } from './answer';
10
- export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
11
11
  export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
12
- export { Access, } from './annotations';
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, ListAvailableModelsRequestFilters, ListConnectionsRequestFilters, ListFunctionRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListGoalsRequestFilters, ListAssistantRequestFilters, ListPromptModuleRequestFilters, 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, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, GetAssistantRequestOptions, UpsertAssistantRequestOptions, GenerateChatAnswerRequestOptions, CreatePromptModuleVersionRequestOptions, CreateAssistantRequestOptions, 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, ListConnectionsRequestFilters, ListAvailableModelsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListGoalsRequestFilters, ListAssistantRequestFilters, ListFunctionRequestFilters, ListPromptModuleRequestFilters, 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, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, UpsertAssistantRequestOptions, CreateAssistantRequestOptions, CreatePromptModuleVersionRequestOptions, GenerateChatAnswerRequestOptions, 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.43.0",
3
+ "version": "0.45.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"