@vendasta/ai-assistants 0.20.0 → 1.0.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.
@@ -9,7 +9,9 @@ export declare enum ChatChannel {
9
9
  CHAT_CHANNEL_UNSPECIFIED = 1,
10
10
  CHAT_CHANNEL_WEB = 2,
11
11
  CHAT_CHANNEL_SMS = 3,
12
- CHAT_CHANNEL_WHATSAPP = 4
12
+ CHAT_CHANNEL_WHATSAPP = 4,
13
+ CHAT_CHANNEL_FACEBOOK = 5,
14
+ CHAT_CHANNEL_INSTAGRAM = 7
13
15
  }
14
16
  export declare enum ChatMessageRole {
15
17
  CHAT_MESSAGE_ROLE_INVALID = 0,
@@ -1,5 +1,5 @@
1
- import { DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListGoalsRequest, ListGoalsResponse, UpsertGoalRequest } from './objects/';
2
- import { DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForAccountGroupRequestInterface, ListGoalsRequestInterface, UpsertGoalRequestInterface } from './interfaces/';
1
+ import { CreateGoalRequest, CreateGoalResponse, DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListGoalsRequest, ListGoalsResponse, UpdateGoalRequest, UpsertGoalRequest } from './objects/';
2
+ import { CreateGoalRequestInterface, DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForAccountGroupRequestInterface, ListGoalsRequestInterface, UpdateGoalRequestInterface, 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";
@@ -9,6 +9,8 @@ export declare class GoalApiService {
9
9
  private _host;
10
10
  private apiOptions;
11
11
  upsert(r: UpsertGoalRequest | UpsertGoalRequestInterface): Observable<HttpResponse<null>>;
12
+ create(r: CreateGoalRequest | CreateGoalRequestInterface): Observable<CreateGoalResponse>;
13
+ update(r: UpdateGoalRequest | UpdateGoalRequestInterface): Observable<HttpResponse<null>>;
12
14
  get(r: GetGoalRequest | GetGoalRequestInterface): Observable<GetGoalResponse>;
13
15
  getMulti(r: GetMultiGoalRequest | GetMultiGoalRequestInterface): Observable<GetMultiGoalResponse>;
14
16
  delete(r: DeleteGoalRequest | DeleteGoalRequestInterface): Observable<HttpResponse<null>>;
@@ -20,6 +20,12 @@ export interface SetAssistantConnectionsRequestConnectionStateInterface {
20
20
  connectionKey?: ConnectionKeyInterface;
21
21
  isAssociated?: boolean;
22
22
  }
23
+ export interface CreateGoalRequestInterface {
24
+ goal?: GoalInterface;
25
+ }
26
+ export interface CreateGoalResponseInterface {
27
+ id?: string;
28
+ }
23
29
  export interface CreatePromptModuleRequestInterface {
24
30
  id?: string;
25
31
  namespace?: NamespaceInterface;
@@ -28,6 +34,9 @@ export interface CreatePromptModuleRequestInterface {
28
34
  content?: string;
29
35
  managed?: boolean;
30
36
  }
37
+ export interface CreatePromptModuleResponseInterface {
38
+ id?: string;
39
+ }
31
40
  export interface CreatePromptModuleVersionRequestInterface {
32
41
  id?: string;
33
42
  namespace?: NamespaceInterface;
@@ -72,28 +81,28 @@ export interface DeployPromptRequestInterface {
72
81
  id?: string;
73
82
  version?: string;
74
83
  }
75
- export interface ListPromptModuleRequestFiltersInterface {
76
- namespace?: NamespaceInterface;
77
- }
78
84
  export interface ListConnectionsRequestFiltersInterface {
79
85
  namespace?: NamespaceInterface;
80
86
  assistantType?: e.AssistantType;
81
87
  }
82
- export interface ListAssistantRequestFiltersInterface {
88
+ export interface ListPromptModuleRequestFiltersInterface {
83
89
  namespace?: NamespaceInterface;
90
+ }
91
+ export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
84
92
  type?: e.AssistantType;
85
93
  }
86
- export interface ListGoalsRequestFiltersInterface {
94
+ export interface ListAssistantRequestFiltersInterface {
87
95
  namespace?: NamespaceInterface;
88
- type?: e.GoalType;
89
- supportedChannels?: e.GoalChannel[];
90
- }
91
- export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
92
96
  type?: e.AssistantType;
93
97
  }
94
98
  export interface ListFunctionRequestFiltersInterface {
95
99
  namespace?: NamespaceInterface;
96
100
  }
101
+ export interface ListGoalsRequestFiltersInterface {
102
+ namespace?: NamespaceInterface;
103
+ type?: e.GoalType;
104
+ supportedChannels?: e.GoalChannel[];
105
+ }
97
106
  export interface GenerateChatAnswerRequestInterface {
98
107
  connectionKey?: ConnectionKeyInterface;
99
108
  chatHistory?: ChatMessageInterface[];
@@ -302,18 +311,21 @@ export interface ListPromptVersionsResponseInterface {
302
311
  export interface UpsertAssistantRequestOptionsInterface {
303
312
  applyDefaults?: boolean;
304
313
  }
305
- export interface CreatePromptModuleVersionRequestOptionsInterface {
306
- shouldDeploy?: boolean;
307
- }
308
314
  export interface GenerateChatAnswerRequestOptionsInterface {
309
315
  includeAllCitations?: boolean;
310
316
  enableAsyncFunctions?: boolean;
311
317
  maxTokens?: number;
312
318
  }
319
+ export interface CreatePromptModuleVersionRequestOptionsInterface {
320
+ shouldDeploy?: boolean;
321
+ }
313
322
  export interface SetAssistantConnectionsRequestInterface {
314
323
  associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
315
324
  assistantKey?: AssistantKeyInterface;
316
325
  }
326
+ export interface UpdateGoalRequestInterface {
327
+ goal?: GoalInterface;
328
+ }
317
329
  export interface UpdatePromptModuleRequestInterface {
318
330
  id?: string;
319
331
  namespace?: NamespaceInterface;
@@ -1,4 +1,5 @@
1
1
  import { GoalInterface } from './goal.interface';
2
+ import { KeyValuePairInterface } from './common.interface';
2
3
  import { NamespaceInterface } from './namespace.interface';
3
4
  import * as e from '../enums';
4
5
  export interface AssistantInterface {
@@ -14,16 +15,13 @@ export interface AssistantKeyInterface {
14
15
  id?: string;
15
16
  namespace?: NamespaceInterface;
16
17
  }
17
- export interface BookingConfigInterface {
18
- calendarId?: string;
19
- meetingTypeId?: string;
20
- }
21
18
  export interface ConfigInterface {
22
19
  inboxConfig?: ConfigInboxConfigInterface;
23
20
  voiceConfig?: ConfigVoiceConfigInterface;
24
21
  }
25
22
  export interface ConfigurableGoalInterface {
26
23
  goal?: GoalInterface;
24
+ configuration?: KeyValuePairInterface[];
27
25
  }
28
26
  export interface DeepgramConfigInterface {
29
27
  voice?: string;
@@ -31,7 +29,6 @@ export interface DeepgramConfigInterface {
31
29
  export interface ConfigInboxConfigInterface {
32
30
  leadCaptureEnabled?: boolean;
33
31
  additionalInstructions?: string;
34
- bookingConfig?: BookingConfigInterface;
35
32
  }
36
33
  export interface ModelConfigInterface {
37
34
  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, BookingConfigInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
6
- export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
7
5
  export { KeyValuePairInterface, } from './common.interface';
6
+ export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
7
+ export { ConnectionInterface, ConnectionKeyInterface, } from './connection.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, 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';
11
+ export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListGoalsRequestFiltersInterface, 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, GenerateChatAnswerRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
@@ -31,6 +31,18 @@ export declare class SetAssistantConnectionsRequestConnectionState implements i.
31
31
  constructor(kwargs?: i.SetAssistantConnectionsRequestConnectionStateInterface);
32
32
  toApiJson(): object;
33
33
  }
34
+ export declare class CreateGoalRequest implements i.CreateGoalRequestInterface {
35
+ goal: Goal;
36
+ static fromProto(proto: any): CreateGoalRequest;
37
+ constructor(kwargs?: i.CreateGoalRequestInterface);
38
+ toApiJson(): object;
39
+ }
40
+ export declare class CreateGoalResponse implements i.CreateGoalResponseInterface {
41
+ id: string;
42
+ static fromProto(proto: any): CreateGoalResponse;
43
+ constructor(kwargs?: i.CreateGoalResponseInterface);
44
+ toApiJson(): object;
45
+ }
34
46
  export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRequestInterface {
35
47
  id: string;
36
48
  namespace: Namespace;
@@ -42,6 +54,12 @@ export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRe
42
54
  constructor(kwargs?: i.CreatePromptModuleRequestInterface);
43
55
  toApiJson(): object;
44
56
  }
57
+ export declare class CreatePromptModuleResponse implements i.CreatePromptModuleResponseInterface {
58
+ id: string;
59
+ static fromProto(proto: any): CreatePromptModuleResponse;
60
+ constructor(kwargs?: i.CreatePromptModuleResponseInterface);
61
+ toApiJson(): object;
62
+ }
45
63
  export declare class CreatePromptModuleVersionRequest implements i.CreatePromptModuleVersionRequestInterface {
46
64
  id: string;
47
65
  namespace: Namespace;
@@ -116,17 +134,23 @@ export declare class DeployPromptRequest implements i.DeployPromptRequestInterfa
116
134
  constructor(kwargs?: i.DeployPromptRequestInterface);
117
135
  toApiJson(): object;
118
136
  }
137
+ export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
138
+ namespace: Namespace;
139
+ assistantType: e.AssistantType;
140
+ static fromProto(proto: any): ListConnectionsRequestFilters;
141
+ constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
142
+ toApiJson(): object;
143
+ }
119
144
  export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
120
145
  namespace: Namespace;
121
146
  static fromProto(proto: any): ListPromptModuleRequestFilters;
122
147
  constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
123
148
  toApiJson(): object;
124
149
  }
125
- export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
126
- namespace: Namespace;
127
- assistantType: e.AssistantType;
128
- static fromProto(proto: any): ListConnectionsRequestFilters;
129
- constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
150
+ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
151
+ type: e.AssistantType;
152
+ static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
153
+ constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
130
154
  toApiJson(): object;
131
155
  }
132
156
  export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
@@ -136,6 +160,12 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
136
160
  constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
137
161
  toApiJson(): object;
138
162
  }
163
+ export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
164
+ namespace: Namespace;
165
+ static fromProto(proto: any): ListFunctionRequestFilters;
166
+ constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
167
+ toApiJson(): object;
168
+ }
139
169
  export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
140
170
  namespace: Namespace;
141
171
  type: e.GoalType;
@@ -144,18 +174,6 @@ export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFilter
144
174
  constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
145
175
  toApiJson(): object;
146
176
  }
147
- export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
148
- type: e.AssistantType;
149
- static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
150
- constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
151
- toApiJson(): object;
152
- }
153
- export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
154
- namespace: Namespace;
155
- static fromProto(proto: any): ListFunctionRequestFilters;
156
- constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
157
- toApiJson(): object;
158
- }
159
177
  export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
160
178
  connectionKey: ConnectionKey;
161
179
  chatHistory: ChatMessage[];
@@ -523,18 +541,18 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
523
541
  constructor(kwargs?: i.ListPromptVersionsResponseInterface);
524
542
  toApiJson(): object;
525
543
  }
526
- export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
527
- applyDefaults: boolean;
528
- static fromProto(proto: any): UpsertAssistantRequestOptions;
529
- constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
530
- toApiJson(): object;
531
- }
532
544
  export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
533
545
  shouldDeploy: boolean;
534
546
  static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
535
547
  constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
536
548
  toApiJson(): object;
537
549
  }
550
+ export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
551
+ applyDefaults: boolean;
552
+ static fromProto(proto: any): UpsertAssistantRequestOptions;
553
+ constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
554
+ toApiJson(): object;
555
+ }
538
556
  export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
539
557
  includeAllCitations: boolean;
540
558
  enableAsyncFunctions: boolean;
@@ -550,6 +568,12 @@ export declare class SetAssistantConnectionsRequest implements i.SetAssistantCon
550
568
  constructor(kwargs?: i.SetAssistantConnectionsRequestInterface);
551
569
  toApiJson(): object;
552
570
  }
571
+ export declare class UpdateGoalRequest implements i.UpdateGoalRequestInterface {
572
+ goal: Goal;
573
+ static fromProto(proto: any): UpdateGoalRequest;
574
+ constructor(kwargs?: i.UpdateGoalRequestInterface);
575
+ toApiJson(): object;
576
+ }
553
577
  export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRequestInterface {
554
578
  id: string;
555
579
  namespace: Namespace;
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
2
  import { Goal } from './goal';
3
+ import { KeyValuePair } from './common';
3
4
  import { Namespace } from './namespace';
4
5
  import * as e from '../enums';
5
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
@@ -22,13 +23,6 @@ export declare class AssistantKey implements i.AssistantKeyInterface {
22
23
  constructor(kwargs?: i.AssistantKeyInterface);
23
24
  toApiJson(): object;
24
25
  }
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
- }
32
26
  export declare class Config implements i.ConfigInterface {
33
27
  inboxConfig: ConfigInboxConfig;
34
28
  voiceConfig: ConfigVoiceConfig;
@@ -38,6 +32,7 @@ export declare class Config implements i.ConfigInterface {
38
32
  }
39
33
  export declare class ConfigurableGoal implements i.ConfigurableGoalInterface {
40
34
  goal: Goal;
35
+ configuration: KeyValuePair[];
41
36
  static fromProto(proto: any): ConfigurableGoal;
42
37
  constructor(kwargs?: i.ConfigurableGoalInterface);
43
38
  toApiJson(): object;
@@ -51,7 +46,6 @@ export declare class DeepgramConfig implements i.DeepgramConfigInterface {
51
46
  export declare class ConfigInboxConfig implements i.ConfigInboxConfigInterface {
52
47
  leadCaptureEnabled: boolean;
53
48
  additionalInstructions: string;
54
- bookingConfig: BookingConfig;
55
49
  static fromProto(proto: any): ConfigInboxConfig;
56
50
  constructor(kwargs?: i.ConfigInboxConfigInterface);
57
51
  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, BookingConfig, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
6
- export { Connection, ConnectionKey, } from './connection';
7
5
  export { KeyValuePair, } from './common';
6
+ export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
7
+ export { Connection, ConnectionKey, } from './connection';
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, 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';
11
+ export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListConnectionsRequestFilters, ListPromptModuleRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAssistantRequestFilters, ListFunctionRequestFilters, ListGoalsRequestFilters, 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, GenerateChatAnswerRequestOptions, CreatePromptModuleVersionRequestOptions, UpsertAssistantRequestOptions, SetAssistantConnectionsRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
@@ -1,4 +1,4 @@
1
- import { CreatePromptModuleRequest, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest } from './objects/';
1
+ import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest } from './objects/';
2
2
  import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
@@ -8,7 +8,7 @@ export declare class PromptModuleApiService {
8
8
  private readonly http;
9
9
  private _host;
10
10
  private apiOptions;
11
- create(r: CreatePromptModuleRequest | CreatePromptModuleRequestInterface): Observable<HttpResponse<null>>;
11
+ create(r: CreatePromptModuleRequest | CreatePromptModuleRequestInterface): Observable<CreatePromptModuleResponse>;
12
12
  createVersion(r: CreatePromptModuleVersionRequest | CreatePromptModuleVersionRequestInterface): Observable<HttpResponse<null>>;
13
13
  get(r: GetPromptModuleRequest | GetPromptModuleRequestInterface): Observable<GetPromptModuleResponse>;
14
14
  getVersion(r: GetPromptModuleVersionRequest | GetPromptModuleVersionRequestInterface): Observable<GetPromptModuleVersionResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.20.0",
3
+ "version": "1.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"