@vendasta/ai-assistants 0.47.1 → 0.48.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/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +111 -68
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +7 -2
- package/fesm2015/vendasta-ai-assistants.mjs +116 -68
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +116 -68
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +23 -16
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +43 -30
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/prompt-module.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -104,16 +104,20 @@ export interface ListFunctionRequestFiltersInterface {
|
|
|
104
104
|
namespaces?: NamespaceInterface[];
|
|
105
105
|
mcpId?: string;
|
|
106
106
|
}
|
|
107
|
-
export interface
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
108
|
+
namespace?: NamespaceInterface;
|
|
109
|
+
}
|
|
110
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
111
|
+
namespace?: NamespaceInterface;
|
|
112
|
+
type?: e.AssistantType;
|
|
110
113
|
}
|
|
111
114
|
export interface ListConnectionsRequestFiltersInterface {
|
|
112
115
|
namespace?: NamespaceInterface;
|
|
113
116
|
assistantType?: e.AssistantType;
|
|
114
117
|
}
|
|
115
|
-
export interface
|
|
116
|
-
|
|
118
|
+
export interface ListAvailableModelsRequestFiltersInterface {
|
|
119
|
+
vendor?: e.ModelVendor[];
|
|
120
|
+
type?: e.ModelType[];
|
|
117
121
|
}
|
|
118
122
|
export interface ListGoalsRequestFiltersInterface {
|
|
119
123
|
namespace?: NamespaceInterface;
|
|
@@ -124,10 +128,6 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
124
128
|
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
125
129
|
type?: e.AssistantType;
|
|
126
130
|
}
|
|
127
|
-
export interface ListAssistantRequestFiltersInterface {
|
|
128
|
-
namespace?: NamespaceInterface;
|
|
129
|
-
type?: e.AssistantType;
|
|
130
|
-
}
|
|
131
131
|
export interface GenerateChatAnswerRequestInterface {
|
|
132
132
|
connectionKey?: ConnectionKeyInterface;
|
|
133
133
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -350,22 +350,22 @@ export interface ListPromptVersionsResponseInterface {
|
|
|
350
350
|
promptVersions?: PromptVersionInterface[];
|
|
351
351
|
metadata?: PagedResponseMetadataInterface;
|
|
352
352
|
}
|
|
353
|
+
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
354
|
+
shouldDeploy?: boolean;
|
|
355
|
+
}
|
|
353
356
|
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
354
357
|
includeAllCitations?: boolean;
|
|
355
358
|
enableAsyncFunctions?: boolean;
|
|
356
359
|
maxTokens?: number;
|
|
357
360
|
}
|
|
358
|
-
export interface
|
|
359
|
-
|
|
360
|
-
}
|
|
361
|
-
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
362
|
-
shouldDeploy?: boolean;
|
|
361
|
+
export interface UpsertAssistantRequestOptionsInterface {
|
|
362
|
+
applyDefaults?: boolean;
|
|
363
363
|
}
|
|
364
364
|
export interface CreateAssistantRequestOptionsInterface {
|
|
365
365
|
applyDefaults?: boolean;
|
|
366
366
|
}
|
|
367
|
-
export interface
|
|
368
|
-
|
|
367
|
+
export interface GetMultiAssistantRequestOptionsInterface {
|
|
368
|
+
skipGoalsHydration?: boolean;
|
|
369
369
|
}
|
|
370
370
|
export interface GetAssistantRequestOptionsInterface {
|
|
371
371
|
skipGoalsHydration?: boolean;
|
|
@@ -408,3 +408,10 @@ export interface UpsertFunctionRequestInterface {
|
|
|
408
408
|
export interface UpsertGoalRequestInterface {
|
|
409
409
|
goal?: GoalInterface;
|
|
410
410
|
}
|
|
411
|
+
export interface ValidatePromptModuleRequestInterface {
|
|
412
|
+
content?: string;
|
|
413
|
+
}
|
|
414
|
+
export interface ValidatePromptModuleResponseInterface {
|
|
415
|
+
isValid?: boolean;
|
|
416
|
+
errorMessage?: string;
|
|
417
|
+
}
|
|
@@ -11,4 +11,4 @@ export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJob
|
|
|
11
11
|
export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
|
|
12
12
|
export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
13
13
|
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, ListFunctionRequestFiltersInterface,
|
|
14
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListFunctionRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, 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, GenerateChatAnswerRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, } from './api.interface';
|
|
@@ -172,11 +172,17 @@ export declare class ListFunctionRequestFilters implements i.ListFunctionRequest
|
|
|
172
172
|
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
173
173
|
toApiJson(): object;
|
|
174
174
|
}
|
|
175
|
-
export declare class
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
175
|
+
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
176
|
+
namespace: Namespace;
|
|
177
|
+
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
178
|
+
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
179
|
+
toApiJson(): object;
|
|
180
|
+
}
|
|
181
|
+
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
182
|
+
namespace: Namespace;
|
|
183
|
+
type: e.AssistantType;
|
|
184
|
+
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
185
|
+
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
180
186
|
toApiJson(): object;
|
|
181
187
|
}
|
|
182
188
|
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
@@ -186,10 +192,11 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
186
192
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
187
193
|
toApiJson(): object;
|
|
188
194
|
}
|
|
189
|
-
export declare class
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
195
|
+
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
196
|
+
vendor: e.ModelVendor[];
|
|
197
|
+
type: e.ModelType[];
|
|
198
|
+
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
199
|
+
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
193
200
|
toApiJson(): object;
|
|
194
201
|
}
|
|
195
202
|
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
@@ -207,13 +214,6 @@ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters imple
|
|
|
207
214
|
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
208
215
|
toApiJson(): object;
|
|
209
216
|
}
|
|
210
|
-
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
211
|
-
namespace: Namespace;
|
|
212
|
-
type: e.AssistantType;
|
|
213
|
-
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
214
|
-
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
215
|
-
toApiJson(): object;
|
|
216
|
-
}
|
|
217
217
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
218
218
|
connectionKey: ConnectionKey;
|
|
219
219
|
chatHistory: ChatMessage[];
|
|
@@ -610,6 +610,12 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
|
|
|
610
610
|
constructor(kwargs?: i.ListPromptVersionsResponseInterface);
|
|
611
611
|
toApiJson(): object;
|
|
612
612
|
}
|
|
613
|
+
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
614
|
+
shouldDeploy: boolean;
|
|
615
|
+
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
616
|
+
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
617
|
+
toApiJson(): object;
|
|
618
|
+
}
|
|
613
619
|
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
614
620
|
includeAllCitations: boolean;
|
|
615
621
|
enableAsyncFunctions: boolean;
|
|
@@ -618,16 +624,10 @@ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatA
|
|
|
618
624
|
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
619
625
|
toApiJson(): object;
|
|
620
626
|
}
|
|
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);
|
|
627
|
+
export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
|
|
628
|
+
applyDefaults: boolean;
|
|
629
|
+
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
630
|
+
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
631
631
|
toApiJson(): object;
|
|
632
632
|
}
|
|
633
633
|
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
@@ -636,10 +636,10 @@ export declare class CreateAssistantRequestOptions implements i.CreateAssistantR
|
|
|
636
636
|
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
637
637
|
toApiJson(): object;
|
|
638
638
|
}
|
|
639
|
-
export declare class
|
|
640
|
-
|
|
641
|
-
static fromProto(proto: any):
|
|
642
|
-
constructor(kwargs?: i.
|
|
639
|
+
export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
|
|
640
|
+
skipGoalsHydration: boolean;
|
|
641
|
+
static fromProto(proto: any): GetMultiAssistantRequestOptions;
|
|
642
|
+
constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
|
|
643
643
|
toApiJson(): object;
|
|
644
644
|
}
|
|
645
645
|
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
@@ -716,3 +716,16 @@ export declare class UpsertGoalRequest implements i.UpsertGoalRequestInterface {
|
|
|
716
716
|
constructor(kwargs?: i.UpsertGoalRequestInterface);
|
|
717
717
|
toApiJson(): object;
|
|
718
718
|
}
|
|
719
|
+
export declare class ValidatePromptModuleRequest implements i.ValidatePromptModuleRequestInterface {
|
|
720
|
+
content: string;
|
|
721
|
+
static fromProto(proto: any): ValidatePromptModuleRequest;
|
|
722
|
+
constructor(kwargs?: i.ValidatePromptModuleRequestInterface);
|
|
723
|
+
toApiJson(): object;
|
|
724
|
+
}
|
|
725
|
+
export declare class ValidatePromptModuleResponse implements i.ValidatePromptModuleResponseInterface {
|
|
726
|
+
isValid: boolean;
|
|
727
|
+
errorMessage: string;
|
|
728
|
+
static fromProto(proto: any): ValidatePromptModuleResponse;
|
|
729
|
+
constructor(kwargs?: i.ValidatePromptModuleResponseInterface);
|
|
730
|
+
toApiJson(): object;
|
|
731
|
+
}
|
|
@@ -11,4 +11,4 @@ export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, C
|
|
|
11
11
|
export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
|
|
12
12
|
export { Access, MCPOptions, } from './annotations';
|
|
13
13
|
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, ListFunctionRequestFilters,
|
|
14
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListFunctionRequestFilters, ListPromptModuleRequestFilters, ListAssistantRequestFilters, ListConnectionsRequestFilters, ListAvailableModelsRequestFilters, ListGoalsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, 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, GenerateChatAnswerRequestOptions, UpsertAssistantRequestOptions, CreateAssistantRequestOptions, GetMultiAssistantRequestOptions, GetAssistantRequestOptions, 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
|
}
|