@vendasta/ai-assistants 0.47.1 → 0.49.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/enums/assistant-type.enum.mjs +18 -0
- package/esm2020/lib/_internal/enums/assistant.enum.mjs +1 -12
- package/esm2020/lib/_internal/enums/constraints.enum.mjs +19 -0
- package/esm2020/lib/_internal/enums/index.mjs +5 -2
- package/esm2020/lib/_internal/enums/namespace.enum.mjs +15 -0
- package/esm2020/lib/_internal/function.api.service.mjs +6 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/constraints.interface.mjs +8 -0
- 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/objects/api.mjs +126 -70
- package/esm2020/lib/_internal/objects/constraints.mjs +101 -0
- package/esm2020/lib/_internal/objects/function.mjs +63 -1
- package/esm2020/lib/_internal/objects/goal.mjs +8 -1
- package/esm2020/lib/_internal/objects/index.mjs +4 -3
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +7 -2
- package/fesm2015/vendasta-ai-assistants.mjs +354 -82
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +354 -82
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/enums/assistant-type.enum.d.ts +10 -0
- package/lib/_internal/enums/assistant.enum.d.ts +0 -10
- package/lib/_internal/enums/constraints.enum.d.ts +10 -0
- package/lib/_internal/enums/index.d.ts +4 -1
- package/lib/_internal/enums/namespace.enum.d.ts +7 -0
- package/lib/_internal/function.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +29 -19
- package/lib/_internal/interfaces/constraints.interface.d.ts +14 -0
- package/lib/_internal/interfaces/function.interface.d.ts +11 -0
- package/lib/_internal/interfaces/goal.interface.d.ts +2 -0
- package/lib/_internal/interfaces/index.d.ts +3 -2
- package/lib/_internal/objects/api.d.ts +52 -36
- package/lib/_internal/objects/constraints.d.ts +25 -0
- package/lib/_internal/objects/function.d.ts +17 -0
- package/lib/_internal/objects/goal.d.ts +2 -0
- package/lib/_internal/objects/index.d.ts +3 -2
- package/lib/_internal/prompt-module.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum AssistantType {
|
|
2
|
+
ASSISTANT_TYPE_UNSPECIFIED = 0,
|
|
3
|
+
ASSISTANT_TYPE_SYSTEM = 1,
|
|
4
|
+
ASSISTANT_TYPE_INBOX = 2,
|
|
5
|
+
ASSISTANT_TYPE_SOCIAL_MARKETING = 3,
|
|
6
|
+
ASSISTANT_TYPE_VOICE_RECEPTIONIST = 4,
|
|
7
|
+
ASSISTANT_TYPE_CUSTOM = 5,
|
|
8
|
+
ASSISTANT_TYPE_SALES_COACH = 6,
|
|
9
|
+
ASSISTANT_TYPE_REPUTATION_MANAGEMENT_REVIEW_AGENT = 7
|
|
10
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export declare enum AssistantType {
|
|
2
|
-
ASSISTANT_TYPE_UNSPECIFIED = 0,
|
|
3
|
-
ASSISTANT_TYPE_SYSTEM = 1,
|
|
4
|
-
ASSISTANT_TYPE_INBOX = 2,
|
|
5
|
-
ASSISTANT_TYPE_SOCIAL_MARKETING = 3,
|
|
6
|
-
ASSISTANT_TYPE_VOICE_RECEPTIONIST = 4,
|
|
7
|
-
ASSISTANT_TYPE_CUSTOM = 5,
|
|
8
|
-
ASSISTANT_TYPE_SALES_COACH = 6,
|
|
9
|
-
ASSISTANT_TYPE_REPUTATION_MANAGEMENT_REVIEW_AGENT = 7
|
|
10
|
-
}
|
|
11
1
|
export declare enum VendorModel {
|
|
12
2
|
VENDOR_MODEL_UNSPECIFIED = 0,
|
|
13
3
|
VENDOR_MODEL_OPEN_AI_REALTIME = 1,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export { NamespaceType, } from './namespace.enum';
|
|
2
|
+
export { AssistantType, } from './assistant-type.enum';
|
|
3
|
+
export { Action, Effect, } from './constraints.enum';
|
|
1
4
|
export { FunctionParameterParameterLocation, } from './function.enum';
|
|
2
5
|
export { GoalChannel, GoalType, } from './goal.enum';
|
|
3
6
|
export { ModelType, ModelVendor, } from './model.enum';
|
|
4
|
-
export {
|
|
7
|
+
export { VendorModel, } from './assistant.enum';
|
|
5
8
|
export { ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessageRole, } from './answer.enum';
|
|
6
9
|
export { SortDirection, } from './integration-tests.enum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeleteFunctionRequest, DeleteMCPRequest, GetFunctionRequest, GetFunctionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, ListFunctionRequest, ListFunctionResponse, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, UpsertFunctionRequest, UpsertMCPRequest } from './objects/';
|
|
2
|
-
import { 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 } from './objects/';
|
|
2
|
+
import { CreateMCPFromIntegrationRequestInterface, DeleteFunctionRequestInterface, DeleteMCPRequestInterface, GetFunctionRequestInterface, GetMultiFunctionRequestInterface, ListFunctionRequestInterface, ListMCPToolsRequestInterface, ListMCPsRequestInterface, UpsertFunctionRequestInterface, UpsertMCPRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -17,6 +17,7 @@ export declare class FunctionApiService {
|
|
|
17
17
|
upsertMcp(r: UpsertMCPRequest | UpsertMCPRequestInterface): Observable<HttpResponse<null>>;
|
|
18
18
|
listMcPs(r: ListMCPsRequest | ListMCPsRequestInterface): Observable<ListMCPsResponse>;
|
|
19
19
|
deleteMcp(r: DeleteMCPRequest | DeleteMCPRequestInterface): Observable<HttpResponse<null>>;
|
|
20
|
+
createMcpFromIntegration(r: CreateMCPFromIntegrationRequest | CreateMCPFromIntegrationRequestInterface): Observable<HttpResponse<null>>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionApiService, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionApiService>;
|
|
22
23
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AssistantInterface, AssistantKeyInterface } from './assistant.interface';
|
|
2
2
|
import { ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ChatAnswerFunctionExecutionJobInterface } from './answer.interface';
|
|
3
3
|
import { ConnectionKeyInterface, ConnectionInterface } from './connection.interface';
|
|
4
|
+
import { ConstraintFilterInterface } from './constraints.interface';
|
|
4
5
|
import { FieldMaskInterface } from './field-mask.interface';
|
|
5
6
|
import { FunctionKeyInterface, FunctionInterface } from './function.interface';
|
|
6
7
|
import { GoalInterface, GoalKeyInterface } from './goal.interface';
|
|
@@ -99,14 +100,8 @@ export interface ExecuteFunctionResponseInterface {
|
|
|
99
100
|
output?: string;
|
|
100
101
|
metadata?: KeyValuePairInterface[];
|
|
101
102
|
}
|
|
102
|
-
export interface
|
|
103
|
-
|
|
104
|
-
namespaces?: NamespaceInterface[];
|
|
105
|
-
mcpId?: string;
|
|
106
|
-
}
|
|
107
|
-
export interface ListAvailableModelsRequestFiltersInterface {
|
|
108
|
-
vendor?: e.ModelVendor[];
|
|
109
|
-
type?: e.ModelType[];
|
|
103
|
+
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
104
|
+
type?: e.AssistantType;
|
|
110
105
|
}
|
|
111
106
|
export interface ListConnectionsRequestFiltersInterface {
|
|
112
107
|
namespace?: NamespaceInterface;
|
|
@@ -120,9 +115,17 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
120
115
|
type?: e.GoalType;
|
|
121
116
|
supportedChannels?: e.GoalChannel[];
|
|
122
117
|
namespaces?: NamespaceInterface[];
|
|
118
|
+
constraintFilters?: ConstraintFilterInterface[];
|
|
123
119
|
}
|
|
124
|
-
export interface
|
|
125
|
-
|
|
120
|
+
export interface ListAvailableModelsRequestFiltersInterface {
|
|
121
|
+
vendor?: e.ModelVendor[];
|
|
122
|
+
type?: e.ModelType[];
|
|
123
|
+
}
|
|
124
|
+
export interface ListFunctionRequestFiltersInterface {
|
|
125
|
+
namespace?: NamespaceInterface;
|
|
126
|
+
namespaces?: NamespaceInterface[];
|
|
127
|
+
mcpId?: string;
|
|
128
|
+
constraintFilters?: ConstraintFilterInterface[];
|
|
126
129
|
}
|
|
127
130
|
export interface ListAssistantRequestFiltersInterface {
|
|
128
131
|
namespace?: NamespaceInterface;
|
|
@@ -350,24 +353,24 @@ export interface ListPromptVersionsResponseInterface {
|
|
|
350
353
|
promptVersions?: PromptVersionInterface[];
|
|
351
354
|
metadata?: PagedResponseMetadataInterface;
|
|
352
355
|
}
|
|
356
|
+
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
357
|
+
shouldDeploy?: boolean;
|
|
358
|
+
}
|
|
359
|
+
export interface GetAssistantRequestOptionsInterface {
|
|
360
|
+
skipGoalsHydration?: boolean;
|
|
361
|
+
}
|
|
353
362
|
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
354
363
|
includeAllCitations?: boolean;
|
|
355
364
|
enableAsyncFunctions?: boolean;
|
|
356
365
|
maxTokens?: number;
|
|
357
366
|
}
|
|
358
|
-
export interface
|
|
359
|
-
skipGoalsHydration?: boolean;
|
|
360
|
-
}
|
|
361
|
-
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
362
|
-
shouldDeploy?: boolean;
|
|
363
|
-
}
|
|
364
|
-
export interface CreateAssistantRequestOptionsInterface {
|
|
367
|
+
export interface UpsertAssistantRequestOptionsInterface {
|
|
365
368
|
applyDefaults?: boolean;
|
|
366
369
|
}
|
|
367
|
-
export interface
|
|
370
|
+
export interface CreateAssistantRequestOptionsInterface {
|
|
368
371
|
applyDefaults?: boolean;
|
|
369
372
|
}
|
|
370
|
-
export interface
|
|
373
|
+
export interface GetMultiAssistantRequestOptionsInterface {
|
|
371
374
|
skipGoalsHydration?: boolean;
|
|
372
375
|
}
|
|
373
376
|
export interface SetAssistantConnectionsRequestInterface {
|
|
@@ -408,3 +411,10 @@ export interface UpsertFunctionRequestInterface {
|
|
|
408
411
|
export interface UpsertGoalRequestInterface {
|
|
409
412
|
goal?: GoalInterface;
|
|
410
413
|
}
|
|
414
|
+
export interface ValidatePromptModuleRequestInterface {
|
|
415
|
+
content?: string;
|
|
416
|
+
}
|
|
417
|
+
export interface ValidatePromptModuleResponseInterface {
|
|
418
|
+
isValid?: boolean;
|
|
419
|
+
errorMessage?: string;
|
|
420
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as e from '../enums';
|
|
2
|
+
export interface ConstraintInterface {
|
|
3
|
+
action?: e.Action;
|
|
4
|
+
scope?: ScopeInterface;
|
|
5
|
+
effect?: e.Effect;
|
|
6
|
+
}
|
|
7
|
+
export interface ConstraintFilterInterface {
|
|
8
|
+
action?: e.Action;
|
|
9
|
+
scope?: ScopeInterface;
|
|
10
|
+
}
|
|
11
|
+
export interface ScopeInterface {
|
|
12
|
+
assistantNamespaceType?: e.NamespaceType;
|
|
13
|
+
assistantType?: e.AssistantType;
|
|
14
|
+
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
import { ConstraintInterface } from './constraints.interface';
|
|
1
2
|
import { NamespaceInterface } from './namespace.interface';
|
|
2
3
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
|
|
3
4
|
import * as e from '../enums';
|
|
5
|
+
export interface FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface {
|
|
6
|
+
connectionId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CreateMCPFromIntegrationRequestInterface {
|
|
9
|
+
namespace?: NamespaceInterface;
|
|
10
|
+
mcpId?: string;
|
|
11
|
+
connectionId?: string;
|
|
12
|
+
}
|
|
4
13
|
export interface DeleteMCPRequestInterface {
|
|
5
14
|
namespace?: NamespaceInterface;
|
|
6
15
|
mcpId?: string;
|
|
@@ -22,10 +31,12 @@ export interface FunctionInterface {
|
|
|
22
31
|
managed?: boolean;
|
|
23
32
|
authStrategy?: FunctionAuthStrategyInterface;
|
|
24
33
|
mcpId?: string;
|
|
34
|
+
constraints?: ConstraintInterface[];
|
|
25
35
|
}
|
|
26
36
|
export interface FunctionAuthStrategyInterface {
|
|
27
37
|
unspecified?: FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface;
|
|
28
38
|
platformManaged?: FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface;
|
|
39
|
+
connectedIntegration?: FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface;
|
|
29
40
|
}
|
|
30
41
|
export interface FunctionHeaderInterface {
|
|
31
42
|
key?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConstraintInterface } from './constraints.interface';
|
|
1
2
|
import { FunctionInterface } from './function.interface';
|
|
2
3
|
import { NamespaceInterface } from './namespace.interface';
|
|
3
4
|
import { PromptModuleInterface } from './prompt.interface';
|
|
@@ -15,6 +16,7 @@ export interface GoalInterface {
|
|
|
15
16
|
supportedChannels?: e.GoalChannel[];
|
|
16
17
|
managed?: boolean;
|
|
17
18
|
overrideOf?: GoalKeyInterface;
|
|
19
|
+
constraints?: ConstraintInterface[];
|
|
18
20
|
}
|
|
19
21
|
export interface GoalKeyInterface {
|
|
20
22
|
id?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
|
|
2
|
+
export { ConstraintInterface, ConstraintFilterInterface, ScopeInterface, } from './constraints.interface';
|
|
2
3
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
3
|
-
export { DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
|
|
4
5
|
export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
|
|
5
6
|
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
6
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
@@ -11,4 +12,4 @@ export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJob
|
|
|
11
12
|
export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
|
|
12
13
|
export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
13
14
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
14
|
-
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface,
|
|
15
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAssistantRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, CreatePromptModuleVersionRequestOptionsInterface, GetAssistantRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, } from './api.interface';
|
|
@@ -2,6 +2,7 @@ import * as i from '../interfaces';
|
|
|
2
2
|
import { Assistant, AssistantKey } from './assistant';
|
|
3
3
|
import { ChatMessage, ChatUserInfo, ContextInfo, ChatAnswerFunctionExecutionJob } from './answer';
|
|
4
4
|
import { ConnectionKey, Connection } from './connection';
|
|
5
|
+
import { ConstraintFilter } from './constraints';
|
|
5
6
|
import { FieldMask } from './field-mask';
|
|
6
7
|
import { FunctionKey, Function } from './function';
|
|
7
8
|
import { Goal, GoalKey } from './goal';
|
|
@@ -164,19 +165,10 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
|
|
|
164
165
|
constructor(kwargs?: i.ExecuteFunctionResponseInterface);
|
|
165
166
|
toApiJson(): object;
|
|
166
167
|
}
|
|
167
|
-
export declare class
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
172
|
-
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
173
|
-
toApiJson(): object;
|
|
174
|
-
}
|
|
175
|
-
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
176
|
-
vendor: e.ModelVendor[];
|
|
177
|
-
type: e.ModelType[];
|
|
178
|
-
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
179
|
-
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
168
|
+
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
169
|
+
type: e.AssistantType;
|
|
170
|
+
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
171
|
+
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
180
172
|
toApiJson(): object;
|
|
181
173
|
}
|
|
182
174
|
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
@@ -197,14 +189,25 @@ export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFilter
|
|
|
197
189
|
type: e.GoalType;
|
|
198
190
|
supportedChannels: e.GoalChannel[];
|
|
199
191
|
namespaces: Namespace[];
|
|
192
|
+
constraintFilters: ConstraintFilter[];
|
|
200
193
|
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
201
194
|
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
202
195
|
toApiJson(): object;
|
|
203
196
|
}
|
|
204
|
-
export declare class
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
197
|
+
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
198
|
+
vendor: e.ModelVendor[];
|
|
199
|
+
type: e.ModelType[];
|
|
200
|
+
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
201
|
+
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
202
|
+
toApiJson(): object;
|
|
203
|
+
}
|
|
204
|
+
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
205
|
+
namespace: Namespace;
|
|
206
|
+
namespaces: Namespace[];
|
|
207
|
+
mcpId: string;
|
|
208
|
+
constraintFilters: ConstraintFilter[];
|
|
209
|
+
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
210
|
+
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
208
211
|
toApiJson(): object;
|
|
209
212
|
}
|
|
210
213
|
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
@@ -610,6 +613,18 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
|
|
|
610
613
|
constructor(kwargs?: i.ListPromptVersionsResponseInterface);
|
|
611
614
|
toApiJson(): object;
|
|
612
615
|
}
|
|
616
|
+
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
617
|
+
shouldDeploy: boolean;
|
|
618
|
+
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
619
|
+
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
620
|
+
toApiJson(): object;
|
|
621
|
+
}
|
|
622
|
+
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
623
|
+
skipGoalsHydration: boolean;
|
|
624
|
+
static fromProto(proto: any): GetAssistantRequestOptions;
|
|
625
|
+
constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
|
|
626
|
+
toApiJson(): object;
|
|
627
|
+
}
|
|
613
628
|
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
614
629
|
includeAllCitations: boolean;
|
|
615
630
|
enableAsyncFunctions: boolean;
|
|
@@ -618,16 +633,10 @@ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatA
|
|
|
618
633
|
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
619
634
|
toApiJson(): object;
|
|
620
635
|
}
|
|
621
|
-
export declare class
|
|
622
|
-
|
|
623
|
-
static fromProto(proto: any):
|
|
624
|
-
constructor(kwargs?: i.
|
|
625
|
-
toApiJson(): object;
|
|
626
|
-
}
|
|
627
|
-
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
628
|
-
shouldDeploy: boolean;
|
|
629
|
-
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
630
|
-
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
636
|
+
export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
|
|
637
|
+
applyDefaults: boolean;
|
|
638
|
+
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
639
|
+
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
631
640
|
toApiJson(): object;
|
|
632
641
|
}
|
|
633
642
|
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
@@ -636,16 +645,10 @@ export declare class CreateAssistantRequestOptions implements i.CreateAssistantR
|
|
|
636
645
|
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
637
646
|
toApiJson(): object;
|
|
638
647
|
}
|
|
639
|
-
export declare class
|
|
640
|
-
applyDefaults: boolean;
|
|
641
|
-
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
642
|
-
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
643
|
-
toApiJson(): object;
|
|
644
|
-
}
|
|
645
|
-
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
648
|
+
export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
|
|
646
649
|
skipGoalsHydration: boolean;
|
|
647
|
-
static fromProto(proto: any):
|
|
648
|
-
constructor(kwargs?: i.
|
|
650
|
+
static fromProto(proto: any): GetMultiAssistantRequestOptions;
|
|
651
|
+
constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
|
|
649
652
|
toApiJson(): object;
|
|
650
653
|
}
|
|
651
654
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
@@ -716,3 +719,16 @@ export declare class UpsertGoalRequest implements i.UpsertGoalRequestInterface {
|
|
|
716
719
|
constructor(kwargs?: i.UpsertGoalRequestInterface);
|
|
717
720
|
toApiJson(): object;
|
|
718
721
|
}
|
|
722
|
+
export declare class ValidatePromptModuleRequest implements i.ValidatePromptModuleRequestInterface {
|
|
723
|
+
content: string;
|
|
724
|
+
static fromProto(proto: any): ValidatePromptModuleRequest;
|
|
725
|
+
constructor(kwargs?: i.ValidatePromptModuleRequestInterface);
|
|
726
|
+
toApiJson(): object;
|
|
727
|
+
}
|
|
728
|
+
export declare class ValidatePromptModuleResponse implements i.ValidatePromptModuleResponseInterface {
|
|
729
|
+
isValid: boolean;
|
|
730
|
+
errorMessage: string;
|
|
731
|
+
static fromProto(proto: any): ValidatePromptModuleResponse;
|
|
732
|
+
constructor(kwargs?: i.ValidatePromptModuleResponseInterface);
|
|
733
|
+
toApiJson(): object;
|
|
734
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class Constraint implements i.ConstraintInterface {
|
|
5
|
+
action: e.Action;
|
|
6
|
+
scope: Scope;
|
|
7
|
+
effect: e.Effect;
|
|
8
|
+
static fromProto(proto: any): Constraint;
|
|
9
|
+
constructor(kwargs?: i.ConstraintInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
12
|
+
export declare class ConstraintFilter implements i.ConstraintFilterInterface {
|
|
13
|
+
action: e.Action;
|
|
14
|
+
scope: Scope;
|
|
15
|
+
static fromProto(proto: any): ConstraintFilter;
|
|
16
|
+
constructor(kwargs?: i.ConstraintFilterInterface);
|
|
17
|
+
toApiJson(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class Scope implements i.ScopeInterface {
|
|
20
|
+
assistantNamespaceType: e.NamespaceType;
|
|
21
|
+
assistantType: e.AssistantType;
|
|
22
|
+
static fromProto(proto: any): Scope;
|
|
23
|
+
constructor(kwargs?: i.ScopeInterface);
|
|
24
|
+
toApiJson(): object;
|
|
25
|
+
}
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { Constraint } from './constraints';
|
|
2
3
|
import { Namespace } from './namespace';
|
|
3
4
|
import { PagedRequestOptions, PagedResponseMetadata } from './paging';
|
|
4
5
|
import * as e from '../enums';
|
|
5
6
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
7
|
+
export declare class FunctionAuthStrategyConnectedIntegrationAuthStrategy implements i.FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface {
|
|
8
|
+
connectionId: string;
|
|
9
|
+
static fromProto(proto: any): FunctionAuthStrategyConnectedIntegrationAuthStrategy;
|
|
10
|
+
constructor(kwargs?: i.FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface);
|
|
11
|
+
toApiJson(): object;
|
|
12
|
+
}
|
|
13
|
+
export declare class CreateMCPFromIntegrationRequest implements i.CreateMCPFromIntegrationRequestInterface {
|
|
14
|
+
namespace: Namespace;
|
|
15
|
+
mcpId: string;
|
|
16
|
+
connectionId: string;
|
|
17
|
+
static fromProto(proto: any): CreateMCPFromIntegrationRequest;
|
|
18
|
+
constructor(kwargs?: i.CreateMCPFromIntegrationRequestInterface);
|
|
19
|
+
toApiJson(): object;
|
|
20
|
+
}
|
|
6
21
|
export declare class DeleteMCPRequest implements i.DeleteMCPRequestInterface {
|
|
7
22
|
namespace: Namespace;
|
|
8
23
|
mcpId: string;
|
|
@@ -30,6 +45,7 @@ export declare class Function implements i.FunctionInterface {
|
|
|
30
45
|
managed: boolean;
|
|
31
46
|
authStrategy: FunctionAuthStrategy;
|
|
32
47
|
mcpId: string;
|
|
48
|
+
constraints: Constraint[];
|
|
33
49
|
static fromProto(proto: any): Function;
|
|
34
50
|
constructor(kwargs?: i.FunctionInterface);
|
|
35
51
|
toApiJson(): object;
|
|
@@ -37,6 +53,7 @@ export declare class Function implements i.FunctionInterface {
|
|
|
37
53
|
export declare class FunctionAuthStrategy implements i.FunctionAuthStrategyInterface {
|
|
38
54
|
unspecified: FunctionAuthStrategyUnspecifiedFunctionAuthStrategy;
|
|
39
55
|
platformManaged: FunctionAuthStrategyPlatformManagedFunctionAuthStrategy;
|
|
56
|
+
connectedIntegration: FunctionAuthStrategyConnectedIntegrationAuthStrategy;
|
|
40
57
|
static fromProto(proto: any): FunctionAuthStrategy;
|
|
41
58
|
constructor(kwargs?: i.FunctionAuthStrategyInterface);
|
|
42
59
|
toApiJson(): object;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { Constraint } from './constraints';
|
|
2
3
|
import { Function } from './function';
|
|
3
4
|
import { Namespace } from './namespace';
|
|
4
5
|
import { PromptModule } from './prompt';
|
|
@@ -17,6 +18,7 @@ export declare class Goal implements i.GoalInterface {
|
|
|
17
18
|
supportedChannels: e.GoalChannel[];
|
|
18
19
|
managed: boolean;
|
|
19
20
|
overrideOf: GoalKey;
|
|
21
|
+
constraints: Constraint[];
|
|
20
22
|
static fromProto(proto: any): Goal;
|
|
21
23
|
constructor(kwargs?: i.GoalInterface);
|
|
22
24
|
toApiJson(): object;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
|
|
2
|
+
export { Constraint, ConstraintFilter, Scope, } from './constraints';
|
|
2
3
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
3
|
-
export { DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
|
|
4
5
|
export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
|
|
5
6
|
export { Goal, GoalKey, } from './goal';
|
|
6
7
|
export { KeyValuePair, } from './common';
|
|
@@ -11,4 +12,4 @@ export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, C
|
|
|
11
12
|
export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
|
|
12
13
|
export { Access, MCPOptions, } from './annotations';
|
|
13
14
|
export { FieldMask, } from './field-mask';
|
|
14
|
-
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse,
|
|
15
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListAllAssistantsAssociatedToConnectionRequestFilters, ListConnectionsRequestFilters, ListPromptModuleRequestFilters, ListGoalsRequestFilters, ListAvailableModelsRequestFilters, ListFunctionRequestFilters, ListAssistantRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, CreatePromptModuleVersionRequestOptions, GetAssistantRequestOptions, GenerateChatAnswerRequestOptions, UpsertAssistantRequestOptions, CreateAssistantRequestOptions, GetMultiAssistantRequestOptions, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, } from './api';
|
|
@@ -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 } from './objects/';
|
|
2
|
-
import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse } from './objects/';
|
|
2
|
+
import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface, ValidatePromptModuleRequestInterface } 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,7 @@ export declare class PromptModuleApiService {
|
|
|
20
20
|
list(r: ListPromptModuleRequest | ListPromptModuleRequestInterface): Observable<ListPromptModuleResponse>;
|
|
21
21
|
listVersions(r: ListPromptModuleVersionsRequest | ListPromptModuleVersionsRequestInterface): Observable<ListPromptModuleVersionsResponse>;
|
|
22
22
|
delete(r: DeletePromptModuleRequest | DeletePromptModuleRequestInterface): Observable<HttpResponse<null>>;
|
|
23
|
+
validate(r: ValidatePromptModuleRequest | ValidatePromptModuleRequestInterface): Observable<ValidatePromptModuleResponse>;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<PromptModuleApiService, never>;
|
|
24
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<PromptModuleApiService>;
|
|
25
26
|
}
|