@vendasta/ai-assistants 0.18.0 → 0.20.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.
@@ -1,5 +1,5 @@
1
- import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForGroupRequest, GoalsDisabledForGroupResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
2
- import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForGroupRequestInterface, ListGoalsRequestInterface, UpsertGoalRequestInterface } from './interfaces/';
1
+ import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
2
+ import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForAccountGroupRequestInterface, 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,7 +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
+ goalsDisabledForAccountGroup(r: GoalsDisabledForAccountGroupRequest | GoalsDisabledForAccountGroupRequestInterface): Observable<GoalsDisabledForAccountGroupResponse>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<GoalApiService, never>;
18
18
  static ɵprov: i0.ɵɵInjectableDeclaration<GoalApiService>;
19
19
  }
@@ -219,10 +219,10 @@ export interface GetPromptVersionRequestInterface {
219
219
  export interface GetPromptVersionResponseInterface {
220
220
  promptVersion?: PromptVersionInterface;
221
221
  }
222
- export interface GoalsDisabledForGroupRequestInterface {
223
- groupId?: string;
222
+ export interface GoalsDisabledForAccountGroupRequestInterface {
223
+ accountGroupId?: string;
224
224
  }
225
- export interface GoalsDisabledForGroupResponseInterface {
225
+ export interface GoalsDisabledForAccountGroupResponseInterface {
226
226
  goalsDisabled?: boolean;
227
227
  }
228
228
  export interface ListAllAssistantsAssociatedToConnectionRequestInterface {
@@ -308,6 +308,7 @@ export interface CreatePromptModuleVersionRequestOptionsInterface {
308
308
  export interface GenerateChatAnswerRequestOptionsInterface {
309
309
  includeAllCitations?: boolean;
310
310
  enableAsyncFunctions?: boolean;
311
+ maxTokens?: number;
311
312
  }
312
313
  export interface SetAssistantConnectionsRequestInterface {
313
314
  associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
@@ -14,6 +14,10 @@ export interface AssistantKeyInterface {
14
14
  id?: string;
15
15
  namespace?: NamespaceInterface;
16
16
  }
17
+ export interface BookingConfigInterface {
18
+ calendarId?: string;
19
+ meetingTypeId?: string;
20
+ }
17
21
  export interface ConfigInterface {
18
22
  inboxConfig?: ConfigInboxConfigInterface;
19
23
  voiceConfig?: ConfigVoiceConfigInterface;
@@ -27,6 +31,7 @@ export interface DeepgramConfigInterface {
27
31
  export interface ConfigInboxConfigInterface {
28
32
  leadCaptureEnabled?: boolean;
29
33
  additionalInstructions?: string;
34
+ bookingConfig?: BookingConfigInterface;
30
35
  }
31
36
  export interface ModelConfigInterface {
32
37
  openaiRealtimeConfig?: OpenAIRealtimeConfigInterface;
@@ -2,10 +2,10 @@ export { NamespaceAccountGroupNamespaceInterface, NamespaceAccountGroupsForGroup
2
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
- export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
5
+ export { AssistantInterface, AssistantKeyInterface, BookingConfigInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
6
6
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
7
7
  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 { 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';
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, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, 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';
@@ -383,16 +383,16 @@ export declare class GetPromptVersionResponse implements i.GetPromptVersionRespo
383
383
  constructor(kwargs?: i.GetPromptVersionResponseInterface);
384
384
  toApiJson(): object;
385
385
  }
386
- export declare class GoalsDisabledForGroupRequest implements i.GoalsDisabledForGroupRequestInterface {
387
- groupId: string;
388
- static fromProto(proto: any): GoalsDisabledForGroupRequest;
389
- constructor(kwargs?: i.GoalsDisabledForGroupRequestInterface);
386
+ export declare class GoalsDisabledForAccountGroupRequest implements i.GoalsDisabledForAccountGroupRequestInterface {
387
+ accountGroupId: string;
388
+ static fromProto(proto: any): GoalsDisabledForAccountGroupRequest;
389
+ constructor(kwargs?: i.GoalsDisabledForAccountGroupRequestInterface);
390
390
  toApiJson(): object;
391
391
  }
392
- export declare class GoalsDisabledForGroupResponse implements i.GoalsDisabledForGroupResponseInterface {
392
+ export declare class GoalsDisabledForAccountGroupResponse implements i.GoalsDisabledForAccountGroupResponseInterface {
393
393
  goalsDisabled: boolean;
394
- static fromProto(proto: any): GoalsDisabledForGroupResponse;
395
- constructor(kwargs?: i.GoalsDisabledForGroupResponseInterface);
394
+ static fromProto(proto: any): GoalsDisabledForAccountGroupResponse;
395
+ constructor(kwargs?: i.GoalsDisabledForAccountGroupResponseInterface);
396
396
  toApiJson(): object;
397
397
  }
398
398
  export declare class ListAllAssistantsAssociatedToConnectionRequest implements i.ListAllAssistantsAssociatedToConnectionRequestInterface {
@@ -538,6 +538,7 @@ export declare class CreatePromptModuleVersionRequestOptions implements i.Create
538
538
  export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
539
539
  includeAllCitations: boolean;
540
540
  enableAsyncFunctions: boolean;
541
+ maxTokens: number;
541
542
  static fromProto(proto: any): GenerateChatAnswerRequestOptions;
542
543
  constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
543
544
  toApiJson(): object;
@@ -22,6 +22,13 @@ export declare class AssistantKey implements i.AssistantKeyInterface {
22
22
  constructor(kwargs?: i.AssistantKeyInterface);
23
23
  toApiJson(): object;
24
24
  }
25
+ export declare class BookingConfig implements i.BookingConfigInterface {
26
+ calendarId: string;
27
+ meetingTypeId: string;
28
+ static fromProto(proto: any): BookingConfig;
29
+ constructor(kwargs?: i.BookingConfigInterface);
30
+ toApiJson(): object;
31
+ }
25
32
  export declare class Config implements i.ConfigInterface {
26
33
  inboxConfig: ConfigInboxConfig;
27
34
  voiceConfig: ConfigVoiceConfig;
@@ -44,6 +51,7 @@ export declare class DeepgramConfig implements i.DeepgramConfigInterface {
44
51
  export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
45
52
  leadCaptureEnabled: boolean;
46
53
  additionalInstructions: string;
54
+ bookingConfig: BookingConfig;
47
55
  static fromProto(proto: any): ConfigInboxConfig;
48
56
  constructor(kwargs?: i.ConfigInboxConfigInterface);
49
57
  toApiJson(): object;
@@ -2,10 +2,10 @@ export { NamespaceAccountGroupNamespace, NamespaceAccountGroupsForGroupNamespace
2
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
- export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
5
+ export { Assistant, AssistantKey, BookingConfig, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
6
6
  export { Connection, ConnectionKey, } from './connection';
7
7
  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 { 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';
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, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, 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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"