@vendasta/ai-assistants 0.60.0 → 0.62.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 (35) hide show
  1. package/esm2020/lib/_internal/enums/assistant.enum.mjs +2 -1
  2. package/esm2020/lib/_internal/function.api.service.mjs +12 -2
  3. package/esm2020/lib/_internal/goal.api.service.mjs +7 -2
  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/goal.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/objects/api.mjs +7 -1
  11. package/esm2020/lib/_internal/objects/assistant.mjs +27 -1
  12. package/esm2020/lib/_internal/objects/function.mjs +175 -1
  13. package/esm2020/lib/_internal/objects/goal.mjs +85 -1
  14. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  15. package/esm2020/lib/_internal/objects/prompt.mjs +4 -1
  16. package/fesm2015/vendasta-ai-assistants.mjs +310 -1
  17. package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
  18. package/fesm2020/vendasta-ai-assistants.mjs +310 -1
  19. package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
  20. package/lib/_internal/enums/assistant.enum.d.ts +2 -1
  21. package/lib/_internal/function.api.service.d.ts +4 -2
  22. package/lib/_internal/goal.api.service.d.ts +3 -2
  23. package/lib/_internal/interfaces/api.interface.d.ts +2 -0
  24. package/lib/_internal/interfaces/assistant.interface.d.ts +4 -0
  25. package/lib/_internal/interfaces/function.interface.d.ts +30 -0
  26. package/lib/_internal/interfaces/goal.interface.d.ts +14 -0
  27. package/lib/_internal/interfaces/index.d.ts +3 -3
  28. package/lib/_internal/interfaces/prompt.interface.d.ts +1 -0
  29. package/lib/_internal/objects/api.d.ts +2 -0
  30. package/lib/_internal/objects/assistant.d.ts +7 -0
  31. package/lib/_internal/objects/function.d.ts +48 -0
  32. package/lib/_internal/objects/goal.d.ts +23 -0
  33. package/lib/_internal/objects/index.d.ts +3 -3
  34. package/lib/_internal/objects/prompt.d.ts +1 -0
  35. package/package.json +1 -1
@@ -2,5 +2,6 @@ export declare enum VendorModel {
2
2
  VENDOR_MODEL_UNSPECIFIED = 0,
3
3
  VENDOR_MODEL_OPEN_AI_REALTIME = 1,
4
4
  VENDOR_MODEL_DEEPGRAM = 2,
5
- VENDOR_MODEL_ELEVEN_LABS = 3
5
+ VENDOR_MODEL_ELEVEN_LABS = 3,
6
+ VENDOR_MODEL_OPEN_AI = 4
6
7
  }
@@ -1,5 +1,5 @@
1
- import { CreateMCPFromIntegrationRequest, DeleteFunctionRequest, DeleteMCPRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, UpsertFunctionRequest, UpsertMCPRequest } from './objects/';
2
- import { CreateMCPFromIntegrationRequestInterface, DeleteFunctionRequestInterface, DeleteMCPRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, UpsertFunctionRequestInterface, UpsertMCPRequestInterface } from './interfaces/';
1
+ import { CreateMCPFromIntegrationRequest, DeleteFunctionRequest, DeleteMCPRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, UpsertFunctionRequest, UpsertMCPRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateMCPsRequest, ValidateMCPsResponse } from './objects/';
2
+ import { CreateMCPFromIntegrationRequestInterface, DeleteFunctionRequestInterface, DeleteMCPRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, UpsertFunctionRequestInterface, UpsertMCPRequestInterface, ValidateFunctionsRequestInterface, ValidateMCPsRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -18,6 +18,8 @@ export declare class FunctionApiService {
18
18
  listMcPs(r: ListMCPsRequest | ListMCPsRequestInterface): Observable<ListMCPsResponse>;
19
19
  deleteMcp(r: DeleteMCPRequest | DeleteMCPRequestInterface): Observable<HttpResponse<null>>;
20
20
  createMcpFromIntegration(r: CreateMCPFromIntegrationRequest | CreateMCPFromIntegrationRequestInterface): Observable<HttpResponse<null>>;
21
+ validateFunctions(r: ValidateFunctionsRequest | ValidateFunctionsRequestInterface): Observable<ValidateFunctionsResponse>;
22
+ validateMcPs(r: ValidateMCPsRequest | ValidateMCPsRequestInterface): Observable<ValidateMCPsResponse>;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<FunctionApiService, never>;
22
24
  static ɵprov: i0.ɵɵInjectableDeclaration<FunctionApiService>;
23
25
  }
@@ -1,5 +1,5 @@
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/';
1
+ import { CreateGoalRequest, CreateGoalResponse, DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListGoalsRequest, ListGoalsResponse, UpdateGoalRequest, UpsertGoalRequest, ValidateGoalsRequest, ValidateGoalsResponse } from './objects/';
2
+ import { CreateGoalRequestInterface, DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForAccountGroupRequestInterface, ListGoalsRequestInterface, UpdateGoalRequestInterface, UpsertGoalRequestInterface, ValidateGoalsRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -16,6 +16,7 @@ export declare class GoalApiService {
16
16
  delete(r: DeleteGoalRequest | DeleteGoalRequestInterface): Observable<HttpResponse<null>>;
17
17
  list(r: ListGoalsRequest | ListGoalsRequestInterface): Observable<ListGoalsResponse>;
18
18
  goalsDisabledForAccountGroup(r: GoalsDisabledForAccountGroupRequest | GoalsDisabledForAccountGroupRequestInterface): Observable<GoalsDisabledForAccountGroupResponse>;
19
+ validateGoals(r: ValidateGoalsRequest | ValidateGoalsRequestInterface): Observable<ValidateGoalsResponse>;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<GoalApiService, never>;
20
21
  static ɵprov: i0.ɵɵInjectableDeclaration<GoalApiService>;
21
22
  }
@@ -43,6 +43,7 @@ export interface CreatePromptModuleRequestInterface {
43
43
  description?: string;
44
44
  content?: string;
45
45
  managed?: boolean;
46
+ sourcePath?: string;
46
47
  }
47
48
  export interface CreatePromptModuleResponseInterface {
48
49
  id?: string;
@@ -356,6 +357,7 @@ export interface UpdatePromptModuleRequestInterface {
356
357
  namespace?: NamespaceInterface;
357
358
  name?: string;
358
359
  description?: string;
360
+ sourcePath?: string;
359
361
  }
360
362
  export interface UpsertAssistantRequestInterface {
361
363
  assistant?: AssistantInterface;
@@ -42,6 +42,10 @@ export interface ModelConfigInterface {
42
42
  openaiRealtimeConfig?: OpenAIRealtimeConfigInterface;
43
43
  deepgramConfig?: DeepgramConfigInterface;
44
44
  elevenLabsConfig?: ElevenLabsConfigInterface;
45
+ openaiConfig?: OpenAIConfigInterface;
46
+ }
47
+ export interface OpenAIConfigInterface {
48
+ voice?: string;
45
49
  }
46
50
  export interface OpenAIRealtimeConfigInterface {
47
51
  voice?: string;
@@ -9,6 +9,7 @@ export interface CreateMCPFromIntegrationRequestInterface {
9
9
  namespace?: NamespaceInterface;
10
10
  mcpId?: string;
11
11
  connectionId?: string;
12
+ sourcePath?: string;
12
13
  }
13
14
  export interface DeleteMCPRequestInterface {
14
15
  namespace?: NamespaceInterface;
@@ -32,6 +33,7 @@ export interface FunctionInterface {
32
33
  authStrategy?: FunctionAuthStrategyInterface;
33
34
  mcpId?: string;
34
35
  constraints?: ConstraintInterface[];
36
+ sourcePath?: string;
35
37
  }
36
38
  export interface FunctionAuthStrategyInterface {
37
39
  unspecified?: FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface;
@@ -84,6 +86,7 @@ export interface MCPInterface {
84
86
  url?: string;
85
87
  namespace?: NamespaceInterface;
86
88
  authStrategy?: FunctionAuthStrategyInterface;
89
+ sourcePath?: string;
87
90
  }
88
91
  export interface FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface {
89
92
  requiredScopes?: string[];
@@ -96,4 +99,31 @@ export interface UpsertMCPRequestInterface {
96
99
  mcpId?: string;
97
100
  functions?: FunctionInterface[];
98
101
  authStrategy?: FunctionAuthStrategyInterface;
102
+ sourcePath?: string;
103
+ }
104
+ export interface ValidateFunctionsRequestInterface {
105
+ functions?: FunctionInterface[];
106
+ }
107
+ export interface ValidateFunctionsResponseInterface {
108
+ results?: ValidateFunctionsResponseValidationResultInterface[];
109
+ allValid?: boolean;
110
+ }
111
+ export interface ValidateMCPsRequestInterface {
112
+ mcps?: MCPInterface[];
113
+ }
114
+ export interface ValidateMCPsResponseInterface {
115
+ results?: ValidateMCPsResponseValidationResultInterface[];
116
+ allValid?: boolean;
117
+ }
118
+ export interface ValidateFunctionsResponseValidationResultInterface {
119
+ functionId?: string;
120
+ namespace?: NamespaceInterface;
121
+ isValid?: boolean;
122
+ errorMessage?: string;
123
+ }
124
+ export interface ValidateMCPsResponseValidationResultInterface {
125
+ mcpId?: string;
126
+ namespace?: NamespaceInterface;
127
+ isValid?: boolean;
128
+ errorMessage?: string;
99
129
  }
@@ -17,8 +17,22 @@ export interface GoalInterface {
17
17
  managed?: boolean;
18
18
  overrideOf?: GoalKeyInterface;
19
19
  constraints?: ConstraintInterface[];
20
+ sourcePath?: string;
20
21
  }
21
22
  export interface GoalKeyInterface {
22
23
  id?: string;
23
24
  namespace?: NamespaceInterface;
24
25
  }
26
+ export interface ValidateGoalsRequestInterface {
27
+ goals?: GoalInterface[];
28
+ }
29
+ export interface ValidateGoalsResponseInterface {
30
+ results?: ValidateGoalsResponseValidationResultInterface[];
31
+ allValid?: boolean;
32
+ }
33
+ export interface ValidateGoalsResponseValidationResultInterface {
34
+ goalId?: string;
35
+ namespace?: NamespaceInterface;
36
+ isValid?: boolean;
37
+ errorMessage?: string;
38
+ }
@@ -1,12 +1,12 @@
1
1
  export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
2
2
  export { ConstraintInterface, ConstraintFilterInterface, ScopeInterface, } from './constraints.interface';
3
3
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
4
- export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyImpersonationAuthStrategyInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
4
+ export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyImpersonationAuthStrategyInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, ValidateFunctionsRequestInterface, ValidateFunctionsResponseInterface, ValidateMCPsRequestInterface, ValidateMCPsResponseInterface, ValidateFunctionsResponseValidationResultInterface, ValidateMCPsResponseValidationResultInterface, } from './function.interface';
5
5
  export { PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, } from './prompt.interface';
6
- export { GoalInterface, GoalKeyInterface, } from './goal.interface';
6
+ export { GoalInterface, GoalKeyInterface, ValidateGoalsRequestInterface, ValidateGoalsResponseInterface, ValidateGoalsResponseValidationResultInterface, } from './goal.interface';
7
7
  export { KeyValuePairInterface, } from './common.interface';
8
8
  export { ModelInterface, } from './model.interface';
9
- export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, TemplateVariableInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
9
+ export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIConfigInterface, OpenAIRealtimeConfigInterface, TemplateVariableInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
10
10
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
11
11
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatContentInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ImageContentInterface, } from './answer.interface';
12
12
  export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
@@ -9,6 +9,7 @@ export interface PromptModuleInterface {
9
9
  updated?: Date;
10
10
  deployed?: Date;
11
11
  managed?: boolean;
12
+ sourcePath?: string;
12
13
  }
13
14
  export interface PromptModuleKeyInterface {
14
15
  id?: string;
@@ -66,6 +66,7 @@ export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRe
66
66
  description: string;
67
67
  content: string;
68
68
  managed: boolean;
69
+ sourcePath: string;
69
70
  static fromProto(proto: any): CreatePromptModuleRequest;
70
71
  constructor(kwargs?: i.CreatePromptModuleRequestInterface);
71
72
  toApiJson(): object;
@@ -610,6 +611,7 @@ export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRe
610
611
  namespace: Namespace;
611
612
  name: string;
612
613
  description: string;
614
+ sourcePath: string;
613
615
  static fromProto(proto: any): UpdatePromptModuleRequest;
614
616
  constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
615
617
  toApiJson(): object;
@@ -65,10 +65,17 @@ export declare class ModelConfig implements i.ModelConfigInterface {
65
65
  openaiRealtimeConfig: OpenAIRealtimeConfig;
66
66
  deepgramConfig: DeepgramConfig;
67
67
  elevenLabsConfig: ElevenLabsConfig;
68
+ openaiConfig: OpenAIConfig;
68
69
  static fromProto(proto: any): ModelConfig;
69
70
  constructor(kwargs?: i.ModelConfigInterface);
70
71
  toApiJson(): object;
71
72
  }
73
+ export declare class OpenAIConfig implements i.OpenAIConfigInterface {
74
+ voice: string;
75
+ static fromProto(proto: any): OpenAIConfig;
76
+ constructor(kwargs?: i.OpenAIConfigInterface);
77
+ toApiJson(): object;
78
+ }
72
79
  export declare class OpenAIRealtimeConfig implements i.OpenAIRealtimeConfigInterface {
73
80
  voice: string;
74
81
  turnDetection: OpenAIRealtimeConfigTurnDetection;
@@ -14,6 +14,7 @@ export declare class CreateMCPFromIntegrationRequest implements i.CreateMCPFromI
14
14
  namespace: Namespace;
15
15
  mcpId: string;
16
16
  connectionId: string;
17
+ sourcePath: string;
17
18
  static fromProto(proto: any): CreateMCPFromIntegrationRequest;
18
19
  constructor(kwargs?: i.CreateMCPFromIntegrationRequestInterface);
19
20
  toApiJson(): object;
@@ -46,6 +47,7 @@ export declare class Function implements i.FunctionInterface {
46
47
  authStrategy: FunctionAuthStrategy;
47
48
  mcpId: string;
48
49
  constraints: Constraint[];
50
+ sourcePath: string;
49
51
  static fromProto(proto: any): Function;
50
52
  constructor(kwargs?: i.FunctionInterface);
51
53
  toApiJson(): object;
@@ -128,6 +130,7 @@ export declare class MCP implements i.MCPInterface {
128
130
  url: string;
129
131
  namespace: Namespace;
130
132
  authStrategy: FunctionAuthStrategy;
133
+ sourcePath: string;
131
134
  static fromProto(proto: any): MCP;
132
135
  constructor(kwargs?: i.MCPInterface);
133
136
  toApiJson(): object;
@@ -149,7 +152,52 @@ export declare class UpsertMCPRequest implements i.UpsertMCPRequestInterface {
149
152
  mcpId: string;
150
153
  functions: Function[];
151
154
  authStrategy: FunctionAuthStrategy;
155
+ sourcePath: string;
152
156
  static fromProto(proto: any): UpsertMCPRequest;
153
157
  constructor(kwargs?: i.UpsertMCPRequestInterface);
154
158
  toApiJson(): object;
155
159
  }
160
+ export declare class ValidateFunctionsRequest implements i.ValidateFunctionsRequestInterface {
161
+ functions: Function[];
162
+ static fromProto(proto: any): ValidateFunctionsRequest;
163
+ constructor(kwargs?: i.ValidateFunctionsRequestInterface);
164
+ toApiJson(): object;
165
+ }
166
+ export declare class ValidateFunctionsResponse implements i.ValidateFunctionsResponseInterface {
167
+ results: ValidateFunctionsResponseValidationResult[];
168
+ allValid: boolean;
169
+ static fromProto(proto: any): ValidateFunctionsResponse;
170
+ constructor(kwargs?: i.ValidateFunctionsResponseInterface);
171
+ toApiJson(): object;
172
+ }
173
+ export declare class ValidateMCPsRequest implements i.ValidateMCPsRequestInterface {
174
+ mcps: MCP[];
175
+ static fromProto(proto: any): ValidateMCPsRequest;
176
+ constructor(kwargs?: i.ValidateMCPsRequestInterface);
177
+ toApiJson(): object;
178
+ }
179
+ export declare class ValidateMCPsResponse implements i.ValidateMCPsResponseInterface {
180
+ results: ValidateMCPsResponseValidationResult[];
181
+ allValid: boolean;
182
+ static fromProto(proto: any): ValidateMCPsResponse;
183
+ constructor(kwargs?: i.ValidateMCPsResponseInterface);
184
+ toApiJson(): object;
185
+ }
186
+ export declare class ValidateFunctionsResponseValidationResult implements i.ValidateFunctionsResponseValidationResultInterface {
187
+ functionId: string;
188
+ namespace: Namespace;
189
+ isValid: boolean;
190
+ errorMessage: string;
191
+ static fromProto(proto: any): ValidateFunctionsResponseValidationResult;
192
+ constructor(kwargs?: i.ValidateFunctionsResponseValidationResultInterface);
193
+ toApiJson(): object;
194
+ }
195
+ export declare class ValidateMCPsResponseValidationResult implements i.ValidateMCPsResponseValidationResultInterface {
196
+ mcpId: string;
197
+ namespace: Namespace;
198
+ isValid: boolean;
199
+ errorMessage: string;
200
+ static fromProto(proto: any): ValidateMCPsResponseValidationResult;
201
+ constructor(kwargs?: i.ValidateMCPsResponseValidationResultInterface);
202
+ toApiJson(): object;
203
+ }
@@ -19,6 +19,7 @@ export declare class Goal implements i.GoalInterface {
19
19
  managed: boolean;
20
20
  overrideOf: GoalKey;
21
21
  constraints: Constraint[];
22
+ sourcePath: string;
22
23
  static fromProto(proto: any): Goal;
23
24
  constructor(kwargs?: i.GoalInterface);
24
25
  toApiJson(): object;
@@ -30,3 +31,25 @@ export declare class GoalKey implements i.GoalKeyInterface {
30
31
  constructor(kwargs?: i.GoalKeyInterface);
31
32
  toApiJson(): object;
32
33
  }
34
+ export declare class ValidateGoalsRequest implements i.ValidateGoalsRequestInterface {
35
+ goals: Goal[];
36
+ static fromProto(proto: any): ValidateGoalsRequest;
37
+ constructor(kwargs?: i.ValidateGoalsRequestInterface);
38
+ toApiJson(): object;
39
+ }
40
+ export declare class ValidateGoalsResponse implements i.ValidateGoalsResponseInterface {
41
+ results: ValidateGoalsResponseValidationResult[];
42
+ allValid: boolean;
43
+ static fromProto(proto: any): ValidateGoalsResponse;
44
+ constructor(kwargs?: i.ValidateGoalsResponseInterface);
45
+ toApiJson(): object;
46
+ }
47
+ export declare class ValidateGoalsResponseValidationResult implements i.ValidateGoalsResponseValidationResultInterface {
48
+ goalId: string;
49
+ namespace: Namespace;
50
+ isValid: boolean;
51
+ errorMessage: string;
52
+ static fromProto(proto: any): ValidateGoalsResponseValidationResult;
53
+ constructor(kwargs?: i.ValidateGoalsResponseValidationResultInterface);
54
+ toApiJson(): object;
55
+ }
@@ -1,12 +1,12 @@
1
1
  export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
2
2
  export { Constraint, ConstraintFilter, Scope, } from './constraints';
3
3
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
4
- export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyImpersonationAuthStrategy, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
4
+ export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyImpersonationAuthStrategy, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateMCPsRequest, ValidateMCPsResponse, ValidateFunctionsResponseValidationResult, ValidateMCPsResponseValidationResult, } from './function';
5
5
  export { PromptModule, PromptModuleKey, PromptModuleVersion, } from './prompt';
6
- export { Goal, GoalKey, } from './goal';
6
+ export { Goal, GoalKey, ValidateGoalsRequest, ValidateGoalsResponse, ValidateGoalsResponseValidationResult, } from './goal';
7
7
  export { KeyValuePair, } from './common';
8
8
  export { Model, } from './model';
9
- export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, TemplateVariable, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
9
+ export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIConfig, OpenAIRealtimeConfig, TemplateVariable, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
10
10
  export { Connection, ConnectionKey, } from './connection';
11
11
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatContent, ChatMessage, ChatUserInfo, ContextInfo, ImageContent, } from './answer';
12
12
  export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
@@ -11,6 +11,7 @@ export declare class PromptModule implements i.PromptModuleInterface {
11
11
  updated: Date;
12
12
  deployed: Date;
13
13
  managed: boolean;
14
+ sourcePath: string;
14
15
  static fromProto(proto: any): PromptModule;
15
16
  constructor(kwargs?: i.PromptModuleInterface);
16
17
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.60.0",
3
+ "version": "0.62.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"