@vendasta/ai-assistants 0.61.0 → 0.63.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.
- package/esm2020/lib/_internal/connection.api.service.mjs +6 -2
- package/esm2020/lib/_internal/function.api.service.mjs +12 -2
- package/esm2020/lib/_internal/goal.api.service.mjs +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/function.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +137 -102
- package/esm2020/lib/_internal/objects/function.mjs +111 -1
- package/esm2020/lib/_internal/objects/goal.mjs +47 -1
- package/esm2020/lib/_internal/objects/index.mjs +5 -5
- package/esm2020/lib/_internal/objects/prompt.mjs +53 -1
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +7 -2
- package/fesm2015/vendasta-ai-assistants.mjs +369 -102
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +369 -102
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/connection.api.service.d.ts +3 -2
- package/lib/_internal/function.api.service.d.ts +4 -2
- package/lib/_internal/goal.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +26 -20
- package/lib/_internal/interfaces/function.interface.d.ts +18 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +4 -4
- package/lib/_internal/interfaces/prompt.interface.d.ts +9 -0
- package/lib/_internal/objects/api.d.ts +44 -35
- package/lib/_internal/objects/function.d.ts +30 -0
- package/lib/_internal/objects/goal.d.ts +13 -0
- package/lib/_internal/objects/index.d.ts +4 -4
- package/lib/_internal/objects/prompt.d.ts +15 -0
- package/lib/_internal/prompt-module.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeleteConnectionRequest, GetConnectionRequest, GetConnectionResponse, ListConnectionsRequest, ListConnectionsResponse, UpsertConnectionRequest } from './objects/';
|
|
2
|
-
import { DeleteConnectionRequestInterface, GetConnectionRequestInterface, ListConnectionsRequestInterface, UpsertConnectionRequestInterface } from './interfaces/';
|
|
1
|
+
import { DeleteConnectionRequest, GetConnectionRequest, GetConnectionResponse, ListConnectionsRequest, ListConnectionsResponse, SetConnectionAssistantRequest, UpsertConnectionRequest } from './objects/';
|
|
2
|
+
import { DeleteConnectionRequestInterface, GetConnectionRequestInterface, ListConnectionsRequestInterface, SetConnectionAssistantRequestInterface, UpsertConnectionRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -12,6 +12,7 @@ export declare class ConnectionApiService {
|
|
|
12
12
|
getConnection(r: GetConnectionRequest | GetConnectionRequestInterface): Observable<GetConnectionResponse>;
|
|
13
13
|
deleteConnection(r: DeleteConnectionRequest | DeleteConnectionRequestInterface): Observable<HttpResponse<null>>;
|
|
14
14
|
listConnections(r: ListConnectionsRequest | ListConnectionsRequestInterface): Observable<ListConnectionsResponse>;
|
|
15
|
+
setConnectionAssistant(r: SetConnectionAssistantRequest | SetConnectionAssistantRequestInterface): Observable<HttpResponse<null>>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionApiService, never>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionApiService>;
|
|
17
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
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/';
|
|
1
|
+
import { CreateMCPFromIntegrationRequest, DeleteFunctionRequest, DeleteMCPRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, SerializeFunctionRequest, SerializeFunctionResponse, SerializeMCPRequest, SerializeMCPResponse, UpsertFunctionRequest, UpsertMCPRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateMCPsRequest, ValidateMCPsResponse } from './objects/';
|
|
2
|
+
import { CreateMCPFromIntegrationRequestInterface, DeleteFunctionRequestInterface, DeleteMCPRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, SerializeFunctionRequestInterface, SerializeMCPRequestInterface, 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";
|
|
@@ -20,6 +20,8 @@ export declare class FunctionApiService {
|
|
|
20
20
|
createMcpFromIntegration(r: CreateMCPFromIntegrationRequest | CreateMCPFromIntegrationRequestInterface): Observable<HttpResponse<null>>;
|
|
21
21
|
validateFunctions(r: ValidateFunctionsRequest | ValidateFunctionsRequestInterface): Observable<ValidateFunctionsResponse>;
|
|
22
22
|
validateMcPs(r: ValidateMCPsRequest | ValidateMCPsRequestInterface): Observable<ValidateMCPsResponse>;
|
|
23
|
+
serializeFunction(r: SerializeFunctionRequest | SerializeFunctionRequestInterface): Observable<SerializeFunctionResponse>;
|
|
24
|
+
serializeMcp(r: SerializeMCPRequest | SerializeMCPRequestInterface): Observable<SerializeMCPResponse>;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionApiService, never>;
|
|
24
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionApiService>;
|
|
25
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
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/';
|
|
1
|
+
import { CreateGoalRequest, CreateGoalResponse, DeleteGoalRequest, GetGoalRequest, GetGoalResponse, GetMultiGoalRequest, GetMultiGoalResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListGoalsRequest, ListGoalsResponse, SerializeGoalRequest, SerializeGoalResponse, UpdateGoalRequest, UpsertGoalRequest, ValidateGoalsRequest, ValidateGoalsResponse } from './objects/';
|
|
2
|
+
import { CreateGoalRequestInterface, DeleteGoalRequestInterface, GetGoalRequestInterface, GetMultiGoalRequestInterface, GoalsDisabledForAccountGroupRequestInterface, ListGoalsRequestInterface, SerializeGoalRequestInterface, 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";
|
|
@@ -17,6 +17,7 @@ export declare class GoalApiService {
|
|
|
17
17
|
list(r: ListGoalsRequest | ListGoalsRequestInterface): Observable<ListGoalsResponse>;
|
|
18
18
|
goalsDisabledForAccountGroup(r: GoalsDisabledForAccountGroupRequest | GoalsDisabledForAccountGroupRequestInterface): Observable<GoalsDisabledForAccountGroupResponse>;
|
|
19
19
|
validateGoals(r: ValidateGoalsRequest | ValidateGoalsRequestInterface): Observable<ValidateGoalsResponse>;
|
|
20
|
+
serializeGoal(r: SerializeGoalRequest | SerializeGoalRequestInterface): Observable<SerializeGoalResponse>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoalApiService, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<GoalApiService>;
|
|
22
23
|
}
|
|
@@ -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;
|
|
@@ -91,12 +92,6 @@ export interface ExecuteFunctionResponseInterface {
|
|
|
91
92
|
output?: string;
|
|
92
93
|
metadata?: KeyValuePairInterface[];
|
|
93
94
|
}
|
|
94
|
-
export interface ListFunctionRequestFiltersInterface {
|
|
95
|
-
namespace?: NamespaceInterface;
|
|
96
|
-
namespaces?: NamespaceInterface[];
|
|
97
|
-
mcpId?: string;
|
|
98
|
-
constraintFilters?: ConstraintFilterInterface[];
|
|
99
|
-
}
|
|
100
95
|
export interface ListGoalsRequestFiltersInterface {
|
|
101
96
|
namespace?: NamespaceInterface;
|
|
102
97
|
type?: e.GoalType;
|
|
@@ -111,6 +106,16 @@ export interface ListAssistantRequestFiltersInterface {
|
|
|
111
106
|
namespace?: NamespaceInterface;
|
|
112
107
|
type?: e.AssistantType;
|
|
113
108
|
}
|
|
109
|
+
export interface ListFunctionRequestFiltersInterface {
|
|
110
|
+
namespace?: NamespaceInterface;
|
|
111
|
+
namespaces?: NamespaceInterface[];
|
|
112
|
+
mcpId?: string;
|
|
113
|
+
constraintFilters?: ConstraintFilterInterface[];
|
|
114
|
+
}
|
|
115
|
+
export interface ListAvailableModelsRequestFiltersInterface {
|
|
116
|
+
vendor?: e.ModelVendor[];
|
|
117
|
+
type?: e.ModelType[];
|
|
118
|
+
}
|
|
114
119
|
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
115
120
|
type?: e.AssistantType;
|
|
116
121
|
}
|
|
@@ -121,10 +126,6 @@ export interface ListConnectionsRequestFiltersInterface {
|
|
|
121
126
|
namespace?: NamespaceInterface;
|
|
122
127
|
assistantType?: e.AssistantType;
|
|
123
128
|
}
|
|
124
|
-
export interface ListAvailableModelsRequestFiltersInterface {
|
|
125
|
-
vendor?: e.ModelVendor[];
|
|
126
|
-
type?: e.ModelType[];
|
|
127
|
-
}
|
|
128
129
|
export interface GenerateChatAnswerRequestInterface {
|
|
129
130
|
connectionKey?: ConnectionKeyInterface;
|
|
130
131
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -312,34 +313,38 @@ export interface ListTemplateVariablesRequestInterface {
|
|
|
312
313
|
export interface ListTemplateVariablesResponseInterface {
|
|
313
314
|
assistantScopedVariables?: TemplateVariableInterface[];
|
|
314
315
|
}
|
|
315
|
-
export interface
|
|
316
|
-
|
|
316
|
+
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
317
|
+
includeAllCitations?: boolean;
|
|
318
|
+
enableAsyncFunctions?: boolean;
|
|
319
|
+
maxTokens?: number;
|
|
317
320
|
}
|
|
318
321
|
export interface GetMultiAssistantRequestOptionsInterface {
|
|
319
322
|
skipGoalsHydration?: boolean;
|
|
320
323
|
}
|
|
321
|
-
export interface
|
|
322
|
-
shouldDeploy?: boolean;
|
|
323
|
-
}
|
|
324
|
-
export interface CreateAssistantRequestOptionsInterface {
|
|
324
|
+
export interface UpsertAssistantRequestOptionsInterface {
|
|
325
325
|
applyDefaults?: boolean;
|
|
326
326
|
}
|
|
327
327
|
export interface GetAssistantRequestOptionsInterface {
|
|
328
328
|
skipGoalsHydration?: boolean;
|
|
329
329
|
}
|
|
330
|
-
export interface
|
|
331
|
-
|
|
332
|
-
enableAsyncFunctions?: boolean;
|
|
333
|
-
maxTokens?: number;
|
|
330
|
+
export interface CreateAssistantRequestOptionsInterface {
|
|
331
|
+
applyDefaults?: boolean;
|
|
334
332
|
}
|
|
335
333
|
export interface ExecuteFunctionRequestOptionsInterface {
|
|
336
334
|
skipComputeTemplateVariables?: boolean;
|
|
337
335
|
contextInfo?: ContextInfoInterface;
|
|
338
336
|
}
|
|
337
|
+
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
338
|
+
shouldDeploy?: boolean;
|
|
339
|
+
}
|
|
339
340
|
export interface SetAssistantConnectionsRequestInterface {
|
|
340
341
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
341
342
|
assistantKey?: AssistantKeyInterface;
|
|
342
343
|
}
|
|
344
|
+
export interface SetConnectionAssistantRequestInterface {
|
|
345
|
+
connectionKey?: ConnectionKeyInterface;
|
|
346
|
+
assistantKey?: AssistantKeyInterface;
|
|
347
|
+
}
|
|
343
348
|
export interface ListGoalsRequestSortOptionsInterface {
|
|
344
349
|
field?: string;
|
|
345
350
|
order?: e.ListGoalsRequestSortingOrder;
|
|
@@ -356,6 +361,7 @@ export interface UpdatePromptModuleRequestInterface {
|
|
|
356
361
|
namespace?: NamespaceInterface;
|
|
357
362
|
name?: string;
|
|
358
363
|
description?: string;
|
|
364
|
+
sourcePath?: string;
|
|
359
365
|
}
|
|
360
366
|
export interface UpsertAssistantRequestInterface {
|
|
361
367
|
assistant?: AssistantInterface;
|
|
@@ -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,10 +86,25 @@ 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[];
|
|
90
93
|
}
|
|
94
|
+
export interface SerializeFunctionRequestInterface {
|
|
95
|
+
function?: FunctionInterface;
|
|
96
|
+
}
|
|
97
|
+
export interface SerializeFunctionResponseInterface {
|
|
98
|
+
file?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface SerializeMCPRequestInterface {
|
|
101
|
+
mcp?: MCPInterface;
|
|
102
|
+
headers?: FunctionHeaderInterface[];
|
|
103
|
+
constraints?: ConstraintInterface[];
|
|
104
|
+
}
|
|
105
|
+
export interface SerializeMCPResponseInterface {
|
|
106
|
+
file?: string;
|
|
107
|
+
}
|
|
91
108
|
export interface FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface {
|
|
92
109
|
}
|
|
93
110
|
export interface UpsertMCPRequestInterface {
|
|
@@ -96,6 +113,7 @@ export interface UpsertMCPRequestInterface {
|
|
|
96
113
|
mcpId?: string;
|
|
97
114
|
functions?: FunctionInterface[];
|
|
98
115
|
authStrategy?: FunctionAuthStrategyInterface;
|
|
116
|
+
sourcePath?: string;
|
|
99
117
|
}
|
|
100
118
|
export interface ValidateFunctionsRequestInterface {
|
|
101
119
|
functions?: FunctionInterface[];
|
|
@@ -17,11 +17,18 @@ 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 SerializeGoalRequestInterface {
|
|
27
|
+
goal?: GoalInterface;
|
|
28
|
+
}
|
|
29
|
+
export interface SerializeGoalResponseInterface {
|
|
30
|
+
file?: string;
|
|
31
|
+
}
|
|
25
32
|
export interface ValidateGoalsRequestInterface {
|
|
26
33
|
goals?: GoalInterface[];
|
|
27
34
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
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, ValidateFunctionsRequestInterface, ValidateFunctionsResponseInterface, ValidateMCPsRequestInterface, ValidateMCPsResponseInterface, ValidateFunctionsResponseValidationResultInterface, ValidateMCPsResponseValidationResultInterface, } from './function.interface';
|
|
5
|
-
export { PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, } from './prompt.interface';
|
|
6
|
-
export { GoalInterface, GoalKeyInterface, ValidateGoalsRequestInterface, ValidateGoalsResponseInterface, ValidateGoalsResponseValidationResultInterface, } from './goal.interface';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyImpersonationAuthStrategyInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, SerializeFunctionRequestInterface, SerializeFunctionResponseInterface, SerializeMCPRequestInterface, SerializeMCPResponseInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, ValidateFunctionsRequestInterface, ValidateFunctionsResponseInterface, ValidateMCPsRequestInterface, ValidateMCPsResponseInterface, ValidateFunctionsResponseValidationResultInterface, ValidateMCPsResponseValidationResultInterface, } from './function.interface';
|
|
5
|
+
export { PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, SerializePromptModuleRequestInterface, SerializePromptModuleResponseInterface, } from './prompt.interface';
|
|
6
|
+
export { GoalInterface, GoalKeyInterface, SerializeGoalRequestInterface, SerializeGoalResponseInterface, ValidateGoalsRequestInterface, ValidateGoalsResponseInterface, ValidateGoalsResponseValidationResultInterface, } from './goal.interface';
|
|
7
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
8
8
|
export { ModelInterface, } from './model.interface';
|
|
9
9
|
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIConfigInterface, OpenAIRealtimeConfigInterface, TemplateVariableInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
@@ -12,4 +12,4 @@ export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJob
|
|
|
12
12
|
export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
|
|
13
13
|
export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
14
14
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
15
|
-
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface,
|
|
15
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListGoalsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListConnectionsRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListTemplateVariablesRequestInterface, ListTemplateVariablesResponseInterface, GenerateChatAnswerRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, ExecuteFunctionRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, SetAssistantConnectionsRequestInterface, SetConnectionAssistantRequestInterface, ListGoalsRequestSortOptionsInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModuleVersionsResponseInterface, ValidatePromptModulesRequestInterface, ValidatePromptModulesResponseInterface, ValidatePromptModulesResponseValidationResultInterface, ValidatePromptModuleVersionsResponseValidationResultInterface, ValidationResultInterface, ValidationViolationInterface, } from './api.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;
|
|
@@ -22,3 +23,11 @@ export interface PromptModuleVersionInterface {
|
|
|
22
23
|
createdBy?: string;
|
|
23
24
|
created?: Date;
|
|
24
25
|
}
|
|
26
|
+
export interface SerializePromptModuleRequestInterface {
|
|
27
|
+
promptModule?: PromptModuleInterface;
|
|
28
|
+
content?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface SerializePromptModuleResponseInterface {
|
|
31
|
+
promptModuleFile?: string;
|
|
32
|
+
contentFile?: string;
|
|
33
|
+
}
|
|
@@ -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;
|
|
@@ -147,15 +148,6 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
|
|
|
147
148
|
constructor(kwargs?: i.ExecuteFunctionResponseInterface);
|
|
148
149
|
toApiJson(): object;
|
|
149
150
|
}
|
|
150
|
-
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
151
|
-
namespace: Namespace;
|
|
152
|
-
namespaces: Namespace[];
|
|
153
|
-
mcpId: string;
|
|
154
|
-
constraintFilters: ConstraintFilter[];
|
|
155
|
-
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
156
|
-
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
157
|
-
toApiJson(): object;
|
|
158
|
-
}
|
|
159
151
|
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
160
152
|
namespace: Namespace;
|
|
161
153
|
type: e.GoalType;
|
|
@@ -176,6 +168,22 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
|
|
|
176
168
|
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
177
169
|
toApiJson(): object;
|
|
178
170
|
}
|
|
171
|
+
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
172
|
+
namespace: Namespace;
|
|
173
|
+
namespaces: Namespace[];
|
|
174
|
+
mcpId: string;
|
|
175
|
+
constraintFilters: ConstraintFilter[];
|
|
176
|
+
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
177
|
+
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
178
|
+
toApiJson(): object;
|
|
179
|
+
}
|
|
180
|
+
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
181
|
+
vendor: e.ModelVendor[];
|
|
182
|
+
type: e.ModelType[];
|
|
183
|
+
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
184
|
+
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
185
|
+
toApiJson(): object;
|
|
186
|
+
}
|
|
179
187
|
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
180
188
|
type: e.AssistantType;
|
|
181
189
|
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
@@ -195,13 +203,6 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
195
203
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
196
204
|
toApiJson(): object;
|
|
197
205
|
}
|
|
198
|
-
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
199
|
-
vendor: e.ModelVendor[];
|
|
200
|
-
type: e.ModelType[];
|
|
201
|
-
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
202
|
-
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
203
|
-
toApiJson(): object;
|
|
204
|
-
}
|
|
205
206
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
206
207
|
connectionKey: ConnectionKey;
|
|
207
208
|
chatHistory: ChatMessage[];
|
|
@@ -533,10 +534,12 @@ export declare class ListTemplateVariablesResponse implements i.ListTemplateVari
|
|
|
533
534
|
constructor(kwargs?: i.ListTemplateVariablesResponseInterface);
|
|
534
535
|
toApiJson(): object;
|
|
535
536
|
}
|
|
536
|
-
export declare class
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
538
|
+
includeAllCitations: boolean;
|
|
539
|
+
enableAsyncFunctions: boolean;
|
|
540
|
+
maxTokens: number;
|
|
541
|
+
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
542
|
+
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
540
543
|
toApiJson(): object;
|
|
541
544
|
}
|
|
542
545
|
export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
|
|
@@ -545,16 +548,10 @@ export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssist
|
|
|
545
548
|
constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
|
|
546
549
|
toApiJson(): object;
|
|
547
550
|
}
|
|
548
|
-
export declare class
|
|
549
|
-
shouldDeploy: boolean;
|
|
550
|
-
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
551
|
-
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
552
|
-
toApiJson(): object;
|
|
553
|
-
}
|
|
554
|
-
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
551
|
+
export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
|
|
555
552
|
applyDefaults: boolean;
|
|
556
|
-
static fromProto(proto: any):
|
|
557
|
-
constructor(kwargs?: i.
|
|
553
|
+
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
554
|
+
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
558
555
|
toApiJson(): object;
|
|
559
556
|
}
|
|
560
557
|
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
@@ -563,12 +560,10 @@ export declare class GetAssistantRequestOptions implements i.GetAssistantRequest
|
|
|
563
560
|
constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
|
|
564
561
|
toApiJson(): object;
|
|
565
562
|
}
|
|
566
|
-
export declare class
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
571
|
-
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
563
|
+
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
564
|
+
applyDefaults: boolean;
|
|
565
|
+
static fromProto(proto: any): CreateAssistantRequestOptions;
|
|
566
|
+
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
572
567
|
toApiJson(): object;
|
|
573
568
|
}
|
|
574
569
|
export declare class ExecuteFunctionRequestOptions implements i.ExecuteFunctionRequestOptionsInterface {
|
|
@@ -578,6 +573,12 @@ export declare class ExecuteFunctionRequestOptions implements i.ExecuteFunctionR
|
|
|
578
573
|
constructor(kwargs?: i.ExecuteFunctionRequestOptionsInterface);
|
|
579
574
|
toApiJson(): object;
|
|
580
575
|
}
|
|
576
|
+
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
577
|
+
shouldDeploy: boolean;
|
|
578
|
+
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
579
|
+
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
580
|
+
toApiJson(): object;
|
|
581
|
+
}
|
|
581
582
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
582
583
|
associationStates: SetAssistantConnectionsRequestConnectionState[];
|
|
583
584
|
assistantKey: AssistantKey;
|
|
@@ -585,6 +586,13 @@ export declare class SetAssistantConnectionsRequest implements i.SetAssistantCon
|
|
|
585
586
|
constructor(kwargs?: i.SetAssistantConnectionsRequestInterface);
|
|
586
587
|
toApiJson(): object;
|
|
587
588
|
}
|
|
589
|
+
export declare class SetConnectionAssistantRequest implements i.SetConnectionAssistantRequestInterface {
|
|
590
|
+
connectionKey: ConnectionKey;
|
|
591
|
+
assistantKey: AssistantKey;
|
|
592
|
+
static fromProto(proto: any): SetConnectionAssistantRequest;
|
|
593
|
+
constructor(kwargs?: i.SetConnectionAssistantRequestInterface);
|
|
594
|
+
toApiJson(): object;
|
|
595
|
+
}
|
|
588
596
|
export declare class ListGoalsRequestSortOptions implements i.ListGoalsRequestSortOptionsInterface {
|
|
589
597
|
field: string;
|
|
590
598
|
order: e.ListGoalsRequestSortingOrder;
|
|
@@ -610,6 +618,7 @@ export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRe
|
|
|
610
618
|
namespace: Namespace;
|
|
611
619
|
name: string;
|
|
612
620
|
description: string;
|
|
621
|
+
sourcePath: string;
|
|
613
622
|
static fromProto(proto: any): UpdatePromptModuleRequest;
|
|
614
623
|
constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
|
|
615
624
|
toApiJson(): object;
|
|
@@ -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;
|
|
@@ -138,6 +141,32 @@ export declare class FunctionAuthStrategyPlatformManagedFunctionAuthStrategy imp
|
|
|
138
141
|
constructor(kwargs?: i.FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface);
|
|
139
142
|
toApiJson(): object;
|
|
140
143
|
}
|
|
144
|
+
export declare class SerializeFunctionRequest implements i.SerializeFunctionRequestInterface {
|
|
145
|
+
function: Function;
|
|
146
|
+
static fromProto(proto: any): SerializeFunctionRequest;
|
|
147
|
+
constructor(kwargs?: i.SerializeFunctionRequestInterface);
|
|
148
|
+
toApiJson(): object;
|
|
149
|
+
}
|
|
150
|
+
export declare class SerializeFunctionResponse implements i.SerializeFunctionResponseInterface {
|
|
151
|
+
file: string;
|
|
152
|
+
static fromProto(proto: any): SerializeFunctionResponse;
|
|
153
|
+
constructor(kwargs?: i.SerializeFunctionResponseInterface);
|
|
154
|
+
toApiJson(): object;
|
|
155
|
+
}
|
|
156
|
+
export declare class SerializeMCPRequest implements i.SerializeMCPRequestInterface {
|
|
157
|
+
mcp: MCP;
|
|
158
|
+
headers: FunctionHeader[];
|
|
159
|
+
constraints: Constraint[];
|
|
160
|
+
static fromProto(proto: any): SerializeMCPRequest;
|
|
161
|
+
constructor(kwargs?: i.SerializeMCPRequestInterface);
|
|
162
|
+
toApiJson(): object;
|
|
163
|
+
}
|
|
164
|
+
export declare class SerializeMCPResponse implements i.SerializeMCPResponseInterface {
|
|
165
|
+
file: string;
|
|
166
|
+
static fromProto(proto: any): SerializeMCPResponse;
|
|
167
|
+
constructor(kwargs?: i.SerializeMCPResponseInterface);
|
|
168
|
+
toApiJson(): object;
|
|
169
|
+
}
|
|
141
170
|
export declare class FunctionAuthStrategyUnspecifiedFunctionAuthStrategy implements i.FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface {
|
|
142
171
|
static fromProto(proto: any): FunctionAuthStrategyUnspecifiedFunctionAuthStrategy;
|
|
143
172
|
constructor(kwargs?: i.FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface);
|
|
@@ -149,6 +178,7 @@ export declare class UpsertMCPRequest implements i.UpsertMCPRequestInterface {
|
|
|
149
178
|
mcpId: string;
|
|
150
179
|
functions: Function[];
|
|
151
180
|
authStrategy: FunctionAuthStrategy;
|
|
181
|
+
sourcePath: string;
|
|
152
182
|
static fromProto(proto: any): UpsertMCPRequest;
|
|
153
183
|
constructor(kwargs?: i.UpsertMCPRequestInterface);
|
|
154
184
|
toApiJson(): object;
|
|
@@ -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,6 +31,18 @@ export declare class GoalKey implements i.GoalKeyInterface {
|
|
|
30
31
|
constructor(kwargs?: i.GoalKeyInterface);
|
|
31
32
|
toApiJson(): object;
|
|
32
33
|
}
|
|
34
|
+
export declare class SerializeGoalRequest implements i.SerializeGoalRequestInterface {
|
|
35
|
+
goal: Goal;
|
|
36
|
+
static fromProto(proto: any): SerializeGoalRequest;
|
|
37
|
+
constructor(kwargs?: i.SerializeGoalRequestInterface);
|
|
38
|
+
toApiJson(): object;
|
|
39
|
+
}
|
|
40
|
+
export declare class SerializeGoalResponse implements i.SerializeGoalResponseInterface {
|
|
41
|
+
file: string;
|
|
42
|
+
static fromProto(proto: any): SerializeGoalResponse;
|
|
43
|
+
constructor(kwargs?: i.SerializeGoalResponseInterface);
|
|
44
|
+
toApiJson(): object;
|
|
45
|
+
}
|
|
33
46
|
export declare class ValidateGoalsRequest implements i.ValidateGoalsRequestInterface {
|
|
34
47
|
goals: Goal[];
|
|
35
48
|
static fromProto(proto: any): ValidateGoalsRequest;
|
|
@@ -1,9 +1,9 @@
|
|
|
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, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateMCPsRequest, ValidateMCPsResponse, ValidateFunctionsResponseValidationResult, ValidateMCPsResponseValidationResult, } from './function';
|
|
5
|
-
export { PromptModule, PromptModuleKey, PromptModuleVersion, } from './prompt';
|
|
6
|
-
export { Goal, GoalKey, ValidateGoalsRequest, ValidateGoalsResponse, ValidateGoalsResponseValidationResult, } from './goal';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyImpersonationAuthStrategy, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, SerializeFunctionRequest, SerializeFunctionResponse, SerializeMCPRequest, SerializeMCPResponse, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, ValidateFunctionsRequest, ValidateFunctionsResponse, ValidateMCPsRequest, ValidateMCPsResponse, ValidateFunctionsResponseValidationResult, ValidateMCPsResponseValidationResult, } from './function';
|
|
5
|
+
export { PromptModule, PromptModuleKey, PromptModuleVersion, SerializePromptModuleRequest, SerializePromptModuleResponse, } from './prompt';
|
|
6
|
+
export { Goal, GoalKey, SerializeGoalRequest, SerializeGoalResponse, ValidateGoalsRequest, ValidateGoalsResponse, ValidateGoalsResponseValidationResult, } from './goal';
|
|
7
7
|
export { KeyValuePair, } from './common';
|
|
8
8
|
export { Model, } from './model';
|
|
9
9
|
export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIConfig, OpenAIRealtimeConfig, TemplateVariable, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
@@ -12,4 +12,4 @@ export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, C
|
|
|
12
12
|
export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
|
|
13
13
|
export { Access, MCPOptions, } from './annotations';
|
|
14
14
|
export { FieldMask, } from './field-mask';
|
|
15
|
-
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, ExecuteFunctionRequest, ExecuteFunctionResponse,
|
|
15
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListGoalsRequestFilters, ListAssistantRequestFilters, ListFunctionRequestFilters, ListAvailableModelsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListPromptModuleRequestFilters, ListConnectionsRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, GenerateChatAnswerRequestOptions, GetMultiAssistantRequestOptions, UpsertAssistantRequestOptions, GetAssistantRequestOptions, CreateAssistantRequestOptions, ExecuteFunctionRequestOptions, CreatePromptModuleVersionRequestOptions, SetAssistantConnectionsRequest, SetConnectionAssistantRequest, ListGoalsRequestSortOptions, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidatePromptModuleVersionsResponseValidationResult, ValidationResult, ValidationViolation, } from './api';
|
|
@@ -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;
|
|
@@ -33,3 +34,17 @@ export declare class PromptModuleVersion implements i.PromptModuleVersionInterfa
|
|
|
33
34
|
constructor(kwargs?: i.PromptModuleVersionInterface);
|
|
34
35
|
toApiJson(): object;
|
|
35
36
|
}
|
|
37
|
+
export declare class SerializePromptModuleRequest implements i.SerializePromptModuleRequestInterface {
|
|
38
|
+
promptModule: PromptModule;
|
|
39
|
+
content: string;
|
|
40
|
+
static fromProto(proto: any): SerializePromptModuleRequest;
|
|
41
|
+
constructor(kwargs?: i.SerializePromptModuleRequestInterface);
|
|
42
|
+
toApiJson(): object;
|
|
43
|
+
}
|
|
44
|
+
export declare class SerializePromptModuleResponse implements i.SerializePromptModuleResponseInterface {
|
|
45
|
+
promptModuleFile: string;
|
|
46
|
+
contentFile: string;
|
|
47
|
+
static fromProto(proto: any): SerializePromptModuleResponse;
|
|
48
|
+
constructor(kwargs?: i.SerializePromptModuleResponseInterface);
|
|
49
|
+
toApiJson(): object;
|
|
50
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse } from './objects/';
|
|
2
|
-
import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModulesRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, SerializePromptModuleRequest, SerializePromptModuleResponse, UpdatePromptModuleRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse } from './objects/';
|
|
2
|
+
import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, SerializePromptModuleRequestInterface, UpdatePromptModuleRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModulesRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -23,6 +23,7 @@ export declare class PromptModuleApiService {
|
|
|
23
23
|
validate(r: ValidatePromptModuleRequest | ValidatePromptModuleRequestInterface): Observable<ValidatePromptModuleResponse>;
|
|
24
24
|
validatePromptModules(r: ValidatePromptModulesRequest | ValidatePromptModulesRequestInterface): Observable<ValidatePromptModulesResponse>;
|
|
25
25
|
validatePromptModuleVersions(r: ValidatePromptModuleVersionsRequest | ValidatePromptModuleVersionsRequestInterface): Observable<ValidatePromptModuleVersionsResponse>;
|
|
26
|
+
serializePromptModule(r: SerializePromptModuleRequest | SerializePromptModuleRequestInterface): Observable<SerializePromptModuleResponse>;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PromptModuleApiService, never>;
|
|
27
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<PromptModuleApiService>;
|
|
28
29
|
}
|