@vendasta/ai-assistants 0.57.0 → 0.59.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/assistant.api.service.mjs +12 -2
- package/esm2020/lib/_internal/enums/api.enum.mjs +8 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/index.mjs +1 -2
- 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 +452 -477
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +438 -520
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +438 -520
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +4 -2
- package/lib/_internal/enums/api.enum.d.ts +6 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/index.d.ts +0 -1
- package/lib/_internal/interfaces/api.interface.d.ts +90 -89
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +144 -158
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
- package/esm2020/lib/_internal/prompt.api.service.mjs +0 -81
- package/lib/_internal/prompt.api.service.d.ts +0 -23
|
@@ -10,7 +10,7 @@ import { KeyValuePair } from './common';
|
|
|
10
10
|
import { Model } from './model';
|
|
11
11
|
import { Namespace } from './namespace';
|
|
12
12
|
import { PagedRequestOptions, PagedResponseMetadata } from './paging';
|
|
13
|
-
import { PromptModule, PromptModuleVersion,
|
|
13
|
+
import { PromptModule, PromptModuleVersion, PromptModuleKey } from './prompt';
|
|
14
14
|
import * as e from '../enums';
|
|
15
15
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
16
16
|
export declare class BuildDefaultAssistantRequest implements i.BuildDefaultAssistantRequestInterface {
|
|
@@ -34,6 +34,13 @@ export declare class SetAssistantConnectionsRequestConnectionState implements i.
|
|
|
34
34
|
constructor(kwargs?: i.SetAssistantConnectionsRequestConnectionStateInterface);
|
|
35
35
|
toApiJson(): object;
|
|
36
36
|
}
|
|
37
|
+
export declare class StreamingGenerateChatAnswerResponseContentChunk implements i.StreamingGenerateChatAnswerResponseContentChunkInterface {
|
|
38
|
+
content: string;
|
|
39
|
+
contentType: e.StreamingGenerateChatAnswerResponseContentType;
|
|
40
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseContentChunk;
|
|
41
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseContentChunkInterface);
|
|
42
|
+
toApiJson(): object;
|
|
43
|
+
}
|
|
37
44
|
export declare class CreateAssistantRequest implements i.CreateAssistantRequestInterface {
|
|
38
45
|
assistant: Assistant;
|
|
39
46
|
options: CreateAssistantRequestOptions;
|
|
@@ -85,14 +92,6 @@ export declare class CreatePromptModuleVersionRequest implements i.CreatePromptM
|
|
|
85
92
|
constructor(kwargs?: i.CreatePromptModuleVersionRequestInterface);
|
|
86
93
|
toApiJson(): object;
|
|
87
94
|
}
|
|
88
|
-
export declare class CreatePromptRequest implements i.CreatePromptRequestInterface {
|
|
89
|
-
id: string;
|
|
90
|
-
content: string;
|
|
91
|
-
description: string;
|
|
92
|
-
static fromProto(proto: any): CreatePromptRequest;
|
|
93
|
-
constructor(kwargs?: i.CreatePromptRequestInterface);
|
|
94
|
-
toApiJson(): object;
|
|
95
|
-
}
|
|
96
95
|
export declare class DeleteAssistantRequest implements i.DeleteAssistantRequestInterface {
|
|
97
96
|
id: string;
|
|
98
97
|
namespace: Namespace;
|
|
@@ -131,12 +130,6 @@ export declare class DeletePromptModuleRequest implements i.DeletePromptModuleRe
|
|
|
131
130
|
constructor(kwargs?: i.DeletePromptModuleRequestInterface);
|
|
132
131
|
toApiJson(): object;
|
|
133
132
|
}
|
|
134
|
-
export declare class DeletePromptRequest implements i.DeletePromptRequestInterface {
|
|
135
|
-
id: string;
|
|
136
|
-
static fromProto(proto: any): DeletePromptRequest;
|
|
137
|
-
constructor(kwargs?: i.DeletePromptRequestInterface);
|
|
138
|
-
toApiJson(): object;
|
|
139
|
-
}
|
|
140
133
|
export declare class DeployPromptModuleRequest implements i.DeployPromptModuleRequestInterface {
|
|
141
134
|
id: string;
|
|
142
135
|
namespace: Namespace;
|
|
@@ -145,11 +138,13 @@ export declare class DeployPromptModuleRequest implements i.DeployPromptModuleRe
|
|
|
145
138
|
constructor(kwargs?: i.DeployPromptModuleRequestInterface);
|
|
146
139
|
toApiJson(): object;
|
|
147
140
|
}
|
|
148
|
-
export declare class
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
141
|
+
export declare class StreamingGenerateChatAnswerResponseErrorChunk implements i.StreamingGenerateChatAnswerResponseErrorChunkInterface {
|
|
142
|
+
errorMessage: string;
|
|
143
|
+
errorCode: string;
|
|
144
|
+
errorDetails: KeyValuePair[];
|
|
145
|
+
resumable: boolean;
|
|
146
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseErrorChunk;
|
|
147
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseErrorChunkInterface);
|
|
153
148
|
toApiJson(): object;
|
|
154
149
|
}
|
|
155
150
|
export declare class ExecuteFunctionRequest implements i.ExecuteFunctionRequestInterface {
|
|
@@ -168,6 +163,25 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
|
|
|
168
163
|
constructor(kwargs?: i.ExecuteFunctionResponseInterface);
|
|
169
164
|
toApiJson(): object;
|
|
170
165
|
}
|
|
166
|
+
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
167
|
+
namespace: Namespace;
|
|
168
|
+
type: e.GoalType;
|
|
169
|
+
supportedChannels: e.GoalChannel[];
|
|
170
|
+
namespaces: Namespace[];
|
|
171
|
+
constraintFilters: ConstraintFilter[];
|
|
172
|
+
searchTerm: string;
|
|
173
|
+
sortOptions: ListGoalsRequestSortOptions[];
|
|
174
|
+
omitOverrides: boolean;
|
|
175
|
+
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
176
|
+
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
177
|
+
toApiJson(): object;
|
|
178
|
+
}
|
|
179
|
+
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
180
|
+
namespace: Namespace;
|
|
181
|
+
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
182
|
+
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
183
|
+
toApiJson(): object;
|
|
184
|
+
}
|
|
171
185
|
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
172
186
|
namespace: Namespace;
|
|
173
187
|
type: e.AssistantType;
|
|
@@ -175,13 +189,6 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
|
|
|
175
189
|
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
176
190
|
toApiJson(): object;
|
|
177
191
|
}
|
|
178
|
-
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
179
|
-
vendor: e.ModelVendor[];
|
|
180
|
-
type: e.ModelType[];
|
|
181
|
-
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
182
|
-
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
183
|
-
toApiJson(): object;
|
|
184
|
-
}
|
|
185
192
|
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
186
193
|
namespace: Namespace;
|
|
187
194
|
assistantType: e.AssistantType;
|
|
@@ -189,23 +196,20 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
189
196
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
190
197
|
toApiJson(): object;
|
|
191
198
|
}
|
|
192
|
-
export declare class
|
|
193
|
-
namespace: Namespace;
|
|
194
|
-
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
195
|
-
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
196
|
-
toApiJson(): object;
|
|
197
|
-
}
|
|
198
|
-
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
199
|
+
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
199
200
|
namespace: Namespace;
|
|
200
|
-
type: e.GoalType;
|
|
201
|
-
supportedChannels: e.GoalChannel[];
|
|
202
201
|
namespaces: Namespace[];
|
|
202
|
+
mcpId: string;
|
|
203
203
|
constraintFilters: ConstraintFilter[];
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
204
|
+
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
205
|
+
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
206
|
+
toApiJson(): object;
|
|
207
|
+
}
|
|
208
|
+
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
209
|
+
vendor: e.ModelVendor[];
|
|
210
|
+
type: e.ModelType[];
|
|
211
|
+
static fromProto(proto: any): ListAvailableModelsRequestFilters;
|
|
212
|
+
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
209
213
|
toApiJson(): object;
|
|
210
214
|
}
|
|
211
215
|
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
@@ -214,13 +218,36 @@ export declare class ListAllAssistantsAssociatedToConnectionRequestFilters imple
|
|
|
214
218
|
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
215
219
|
toApiJson(): object;
|
|
216
220
|
}
|
|
217
|
-
export declare class
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
export declare class StreamingGenerateChatAnswerResponseFinalChunk implements i.StreamingGenerateChatAnswerResponseFinalChunkInterface {
|
|
222
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseFinalChunk;
|
|
223
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseFinalChunkInterface);
|
|
224
|
+
toApiJson(): object;
|
|
225
|
+
}
|
|
226
|
+
export declare class StreamingGenerateChatAnswerResponseFunctionCompleteChunk implements i.StreamingGenerateChatAnswerResponseFunctionCompleteChunkInterface {
|
|
227
|
+
functionName: string;
|
|
228
|
+
result: string;
|
|
229
|
+
metadata: KeyValuePair[];
|
|
230
|
+
functionCallId: string;
|
|
231
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseFunctionCompleteChunk;
|
|
232
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseFunctionCompleteChunkInterface);
|
|
233
|
+
toApiJson(): object;
|
|
234
|
+
}
|
|
235
|
+
export declare class StreamingGenerateChatAnswerResponseFunctionProgressChunk implements i.StreamingGenerateChatAnswerResponseFunctionProgressChunkInterface {
|
|
236
|
+
functionName: string;
|
|
237
|
+
status: string;
|
|
238
|
+
progressMessage: string;
|
|
239
|
+
functionCallId: string;
|
|
240
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseFunctionProgressChunk;
|
|
241
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseFunctionProgressChunkInterface);
|
|
242
|
+
toApiJson(): object;
|
|
243
|
+
}
|
|
244
|
+
export declare class StreamingGenerateChatAnswerResponseFunctionStartChunk implements i.StreamingGenerateChatAnswerResponseFunctionStartChunkInterface {
|
|
245
|
+
functionName: string;
|
|
246
|
+
functionDescription: string;
|
|
247
|
+
arguments: string;
|
|
248
|
+
functionCallId: string;
|
|
249
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseFunctionStartChunk;
|
|
250
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseFunctionStartChunkInterface);
|
|
224
251
|
toApiJson(): object;
|
|
225
252
|
}
|
|
226
253
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
@@ -298,19 +325,6 @@ export declare class GetDeployedPromptModuleVersionResponse implements i.GetDepl
|
|
|
298
325
|
constructor(kwargs?: i.GetDeployedPromptModuleVersionResponseInterface);
|
|
299
326
|
toApiJson(): object;
|
|
300
327
|
}
|
|
301
|
-
export declare class GetDeployedPromptVersionRequest implements i.GetDeployedPromptVersionRequestInterface {
|
|
302
|
-
id: string;
|
|
303
|
-
static fromProto(proto: any): GetDeployedPromptVersionRequest;
|
|
304
|
-
constructor(kwargs?: i.GetDeployedPromptVersionRequestInterface);
|
|
305
|
-
toApiJson(): object;
|
|
306
|
-
}
|
|
307
|
-
export declare class GetDeployedPromptVersionResponse implements i.GetDeployedPromptVersionResponseInterface {
|
|
308
|
-
prompt: Prompt;
|
|
309
|
-
deployedPromptVersion: PromptVersion;
|
|
310
|
-
static fromProto(proto: any): GetDeployedPromptVersionResponse;
|
|
311
|
-
constructor(kwargs?: i.GetDeployedPromptVersionResponseInterface);
|
|
312
|
-
toApiJson(): object;
|
|
313
|
-
}
|
|
314
328
|
export declare class GetFunctionRequest implements i.GetFunctionRequestInterface {
|
|
315
329
|
id: string;
|
|
316
330
|
namespace: Namespace;
|
|
@@ -364,19 +378,6 @@ export declare class GetMultiAssistantResponse implements i.GetMultiAssistantRes
|
|
|
364
378
|
constructor(kwargs?: i.GetMultiAssistantResponseInterface);
|
|
365
379
|
toApiJson(): object;
|
|
366
380
|
}
|
|
367
|
-
export declare class GetMultiDeployedPromptVersionRequest implements i.GetMultiDeployedPromptVersionRequestInterface {
|
|
368
|
-
ids: string[];
|
|
369
|
-
static fromProto(proto: any): GetMultiDeployedPromptVersionRequest;
|
|
370
|
-
constructor(kwargs?: i.GetMultiDeployedPromptVersionRequestInterface);
|
|
371
|
-
toApiJson(): object;
|
|
372
|
-
}
|
|
373
|
-
export declare class GetMultiDeployedPromptVersionResponse implements i.GetMultiDeployedPromptVersionResponseInterface {
|
|
374
|
-
prompts: Prompt[];
|
|
375
|
-
deployedPromptVersions: PromptVersion[];
|
|
376
|
-
static fromProto(proto: any): GetMultiDeployedPromptVersionResponse;
|
|
377
|
-
constructor(kwargs?: i.GetMultiDeployedPromptVersionResponseInterface);
|
|
378
|
-
toApiJson(): object;
|
|
379
|
-
}
|
|
380
381
|
export declare class GetMultiFunctionRequest implements i.GetMultiFunctionRequestInterface {
|
|
381
382
|
keys: FunctionKey[];
|
|
382
383
|
static fromProto(proto: any): GetMultiFunctionRequest;
|
|
@@ -441,31 +442,6 @@ export declare class GetPromptModuleVersionResponse implements i.GetPromptModule
|
|
|
441
442
|
constructor(kwargs?: i.GetPromptModuleVersionResponseInterface);
|
|
442
443
|
toApiJson(): object;
|
|
443
444
|
}
|
|
444
|
-
export declare class GetPromptRequest implements i.GetPromptRequestInterface {
|
|
445
|
-
id: string;
|
|
446
|
-
static fromProto(proto: any): GetPromptRequest;
|
|
447
|
-
constructor(kwargs?: i.GetPromptRequestInterface);
|
|
448
|
-
toApiJson(): object;
|
|
449
|
-
}
|
|
450
|
-
export declare class GetPromptResponse implements i.GetPromptResponseInterface {
|
|
451
|
-
prompt: Prompt;
|
|
452
|
-
static fromProto(proto: any): GetPromptResponse;
|
|
453
|
-
constructor(kwargs?: i.GetPromptResponseInterface);
|
|
454
|
-
toApiJson(): object;
|
|
455
|
-
}
|
|
456
|
-
export declare class GetPromptVersionRequest implements i.GetPromptVersionRequestInterface {
|
|
457
|
-
id: string;
|
|
458
|
-
version: string;
|
|
459
|
-
static fromProto(proto: any): GetPromptVersionRequest;
|
|
460
|
-
constructor(kwargs?: i.GetPromptVersionRequestInterface);
|
|
461
|
-
toApiJson(): object;
|
|
462
|
-
}
|
|
463
|
-
export declare class GetPromptVersionResponse implements i.GetPromptVersionResponseInterface {
|
|
464
|
-
promptVersion: PromptVersion;
|
|
465
|
-
static fromProto(proto: any): GetPromptVersionResponse;
|
|
466
|
-
constructor(kwargs?: i.GetPromptVersionResponseInterface);
|
|
467
|
-
toApiJson(): object;
|
|
468
|
-
}
|
|
469
445
|
export declare class GoalsDisabledForAccountGroupRequest implements i.GoalsDisabledForAccountGroupRequestInterface {
|
|
470
446
|
accountGroupId: string;
|
|
471
447
|
static fromProto(proto: any): GoalsDisabledForAccountGroupRequest;
|
|
@@ -591,34 +567,6 @@ export declare class ListPromptModuleVersionsResponse implements i.ListPromptMod
|
|
|
591
567
|
constructor(kwargs?: i.ListPromptModuleVersionsResponseInterface);
|
|
592
568
|
toApiJson(): object;
|
|
593
569
|
}
|
|
594
|
-
export declare class ListPromptRequest implements i.ListPromptRequestInterface {
|
|
595
|
-
pagingOptions: PagedRequestOptions;
|
|
596
|
-
static fromProto(proto: any): ListPromptRequest;
|
|
597
|
-
constructor(kwargs?: i.ListPromptRequestInterface);
|
|
598
|
-
toApiJson(): object;
|
|
599
|
-
}
|
|
600
|
-
export declare class ListPromptResponse implements i.ListPromptResponseInterface {
|
|
601
|
-
prompts: Prompt[];
|
|
602
|
-
deployedPromptVersions: PromptVersion[];
|
|
603
|
-
metadata: PagedResponseMetadata;
|
|
604
|
-
static fromProto(proto: any): ListPromptResponse;
|
|
605
|
-
constructor(kwargs?: i.ListPromptResponseInterface);
|
|
606
|
-
toApiJson(): object;
|
|
607
|
-
}
|
|
608
|
-
export declare class ListPromptVersionsRequest implements i.ListPromptVersionsRequestInterface {
|
|
609
|
-
id: string;
|
|
610
|
-
pagingOptions: PagedRequestOptions;
|
|
611
|
-
static fromProto(proto: any): ListPromptVersionsRequest;
|
|
612
|
-
constructor(kwargs?: i.ListPromptVersionsRequestInterface);
|
|
613
|
-
toApiJson(): object;
|
|
614
|
-
}
|
|
615
|
-
export declare class ListPromptVersionsResponse implements i.ListPromptVersionsResponseInterface {
|
|
616
|
-
promptVersions: PromptVersion[];
|
|
617
|
-
metadata: PagedResponseMetadata;
|
|
618
|
-
static fromProto(proto: any): ListPromptVersionsResponse;
|
|
619
|
-
constructor(kwargs?: i.ListPromptVersionsResponseInterface);
|
|
620
|
-
toApiJson(): object;
|
|
621
|
-
}
|
|
622
570
|
export declare class ListTemplateVariablesRequest implements i.ListTemplateVariablesRequestInterface {
|
|
623
571
|
assistantKey: AssistantKey;
|
|
624
572
|
chatUserInfo: ChatUserInfo;
|
|
@@ -632,25 +580,10 @@ export declare class ListTemplateVariablesResponse implements i.ListTemplateVari
|
|
|
632
580
|
constructor(kwargs?: i.ListTemplateVariablesResponseInterface);
|
|
633
581
|
toApiJson(): object;
|
|
634
582
|
}
|
|
635
|
-
export declare class
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
640
|
-
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
641
|
-
toApiJson(): object;
|
|
642
|
-
}
|
|
643
|
-
export declare class ExecuteFunctionRequestOptions implements i.ExecuteFunctionRequestOptionsInterface {
|
|
644
|
-
skipComputeTemplateVariables: boolean;
|
|
645
|
-
contextInfo: ContextInfo;
|
|
646
|
-
static fromProto(proto: any): ExecuteFunctionRequestOptions;
|
|
647
|
-
constructor(kwargs?: i.ExecuteFunctionRequestOptionsInterface);
|
|
648
|
-
toApiJson(): object;
|
|
649
|
-
}
|
|
650
|
-
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
651
|
-
applyDefaults: boolean;
|
|
652
|
-
static fromProto(proto: any): CreateAssistantRequestOptions;
|
|
653
|
-
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
583
|
+
export declare class StreamingGenerateChatAnswerResponseMetadataChunk implements i.StreamingGenerateChatAnswerResponseMetadataChunkInterface {
|
|
584
|
+
metadata: KeyValuePair[];
|
|
585
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseMetadataChunk;
|
|
586
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseMetadataChunkInterface);
|
|
654
587
|
toApiJson(): object;
|
|
655
588
|
}
|
|
656
589
|
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
@@ -659,22 +592,50 @@ export declare class GetAssistantRequestOptions implements i.GetAssistantRequest
|
|
|
659
592
|
constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
|
|
660
593
|
toApiJson(): object;
|
|
661
594
|
}
|
|
595
|
+
export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
|
|
596
|
+
skipGoalsHydration: boolean;
|
|
597
|
+
static fromProto(proto: any): GetMultiAssistantRequestOptions;
|
|
598
|
+
constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
|
|
599
|
+
toApiJson(): object;
|
|
600
|
+
}
|
|
662
601
|
export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantRequestOptionsInterface {
|
|
663
602
|
applyDefaults: boolean;
|
|
664
603
|
static fromProto(proto: any): UpsertAssistantRequestOptions;
|
|
665
604
|
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
666
605
|
toApiJson(): object;
|
|
667
606
|
}
|
|
607
|
+
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
608
|
+
applyDefaults: boolean;
|
|
609
|
+
static fromProto(proto: any): CreateAssistantRequestOptions;
|
|
610
|
+
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
611
|
+
toApiJson(): object;
|
|
612
|
+
}
|
|
613
|
+
export declare class ExecuteFunctionRequestOptions implements i.ExecuteFunctionRequestOptionsInterface {
|
|
614
|
+
skipComputeTemplateVariables: boolean;
|
|
615
|
+
contextInfo: ContextInfo;
|
|
616
|
+
static fromProto(proto: any): ExecuteFunctionRequestOptions;
|
|
617
|
+
constructor(kwargs?: i.ExecuteFunctionRequestOptionsInterface);
|
|
618
|
+
toApiJson(): object;
|
|
619
|
+
}
|
|
620
|
+
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
621
|
+
includeAllCitations: boolean;
|
|
622
|
+
enableAsyncFunctions: boolean;
|
|
623
|
+
maxTokens: number;
|
|
624
|
+
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
625
|
+
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
626
|
+
toApiJson(): object;
|
|
627
|
+
}
|
|
668
628
|
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
669
629
|
shouldDeploy: boolean;
|
|
670
630
|
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
671
631
|
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
672
632
|
toApiJson(): object;
|
|
673
633
|
}
|
|
674
|
-
export declare class
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
634
|
+
export declare class ResumeStreamingGenerateChatAnswerRequest implements i.ResumeStreamingGenerateChatAnswerRequestInterface {
|
|
635
|
+
streamId: string;
|
|
636
|
+
lastReceivedSequenceNumber: number;
|
|
637
|
+
static fromProto(proto: any): ResumeStreamingGenerateChatAnswerRequest;
|
|
638
|
+
constructor(kwargs?: i.ResumeStreamingGenerateChatAnswerRequestInterface);
|
|
678
639
|
toApiJson(): object;
|
|
679
640
|
}
|
|
680
641
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
@@ -691,6 +652,39 @@ export declare class ListGoalsRequestSortOptions implements i.ListGoalsRequestSo
|
|
|
691
652
|
constructor(kwargs?: i.ListGoalsRequestSortOptionsInterface);
|
|
692
653
|
toApiJson(): object;
|
|
693
654
|
}
|
|
655
|
+
export declare class StreamingGenerateChatAnswerResponseStartChunk implements i.StreamingGenerateChatAnswerResponseStartChunkInterface {
|
|
656
|
+
streamId: string;
|
|
657
|
+
metadata: KeyValuePair[];
|
|
658
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponseStartChunk;
|
|
659
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseStartChunkInterface);
|
|
660
|
+
toApiJson(): object;
|
|
661
|
+
}
|
|
662
|
+
export declare class StreamingGenerateChatAnswerRequest implements i.StreamingGenerateChatAnswerRequestInterface {
|
|
663
|
+
connectionKey: ConnectionKey;
|
|
664
|
+
assistantKey: AssistantKey;
|
|
665
|
+
chatHistory: ChatMessage[];
|
|
666
|
+
chatUserInfo: ChatUserInfo;
|
|
667
|
+
chatChannel: e.ChatChannel;
|
|
668
|
+
contextInfo: ContextInfo;
|
|
669
|
+
agentArchitecture: e.AgentArchitecture;
|
|
670
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerRequest;
|
|
671
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerRequestInterface);
|
|
672
|
+
toApiJson(): object;
|
|
673
|
+
}
|
|
674
|
+
export declare class StreamingGenerateChatAnswerResponse implements i.StreamingGenerateChatAnswerResponseInterface {
|
|
675
|
+
sequenceNumber: number;
|
|
676
|
+
start: StreamingGenerateChatAnswerResponseStartChunk;
|
|
677
|
+
content: StreamingGenerateChatAnswerResponseContentChunk;
|
|
678
|
+
metadata: StreamingGenerateChatAnswerResponseMetadataChunk;
|
|
679
|
+
functionStart: StreamingGenerateChatAnswerResponseFunctionStartChunk;
|
|
680
|
+
functionProgress: StreamingGenerateChatAnswerResponseFunctionProgressChunk;
|
|
681
|
+
functionComplete: StreamingGenerateChatAnswerResponseFunctionCompleteChunk;
|
|
682
|
+
final: StreamingGenerateChatAnswerResponseFinalChunk;
|
|
683
|
+
error: StreamingGenerateChatAnswerResponseErrorChunk;
|
|
684
|
+
static fromProto(proto: any): StreamingGenerateChatAnswerResponse;
|
|
685
|
+
constructor(kwargs?: i.StreamingGenerateChatAnswerResponseInterface);
|
|
686
|
+
toApiJson(): object;
|
|
687
|
+
}
|
|
694
688
|
export declare class UpdateAssistantRequest implements i.UpdateAssistantRequestInterface {
|
|
695
689
|
assistant: Assistant;
|
|
696
690
|
fieldMask: FieldMask;
|
|
@@ -713,14 +707,6 @@ export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRe
|
|
|
713
707
|
constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
|
|
714
708
|
toApiJson(): object;
|
|
715
709
|
}
|
|
716
|
-
export declare class UpdatePromptRequest implements i.UpdatePromptRequestInterface {
|
|
717
|
-
id: string;
|
|
718
|
-
content: string;
|
|
719
|
-
description: string;
|
|
720
|
-
static fromProto(proto: any): UpdatePromptRequest;
|
|
721
|
-
constructor(kwargs?: i.UpdatePromptRequestInterface);
|
|
722
|
-
toApiJson(): object;
|
|
723
|
-
}
|
|
724
710
|
export declare class UpsertAssistantRequest implements i.UpsertAssistantRequestInterface {
|
|
725
711
|
assistant: Assistant;
|
|
726
712
|
options: UpsertAssistantRequestOptions;
|
|
@@ -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,
|
|
15
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, StreamingGenerateChatAnswerResponseContentChunk, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, StreamingGenerateChatAnswerResponseErrorChunk, ExecuteFunctionRequest, ExecuteFunctionResponse, ListGoalsRequestFilters, ListPromptModuleRequestFilters, ListAssistantRequestFilters, ListConnectionsRequestFilters, ListFunctionRequestFilters, ListAvailableModelsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, StreamingGenerateChatAnswerResponseFinalChunk, StreamingGenerateChatAnswerResponseFunctionCompleteChunk, StreamingGenerateChatAnswerResponseFunctionProgressChunk, StreamingGenerateChatAnswerResponseFunctionStartChunk, 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, StreamingGenerateChatAnswerResponseMetadataChunk, GetAssistantRequestOptions, GetMultiAssistantRequestOptions, UpsertAssistantRequestOptions, CreateAssistantRequestOptions, ExecuteFunctionRequestOptions, GenerateChatAnswerRequestOptions, CreatePromptModuleVersionRequestOptions, ResumeStreamingGenerateChatAnswerRequest, SetAssistantConnectionsRequest, ListGoalsRequestSortOptions, StreamingGenerateChatAnswerResponseStartChunk, StreamingGenerateChatAnswerRequest, StreamingGenerateChatAnswerResponse, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, } from './api';
|
package/package.json
CHANGED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
// *********************************
|
|
2
|
-
// Code generated by sdkgen
|
|
3
|
-
// DO NOT EDIT!.
|
|
4
|
-
//
|
|
5
|
-
// API Service.
|
|
6
|
-
// *********************************
|
|
7
|
-
import { Injectable } from '@angular/core';
|
|
8
|
-
import { CreatePromptRequest, DeletePromptRequest, DeployPromptRequest, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, UpdatePromptRequest, } from './objects/';
|
|
9
|
-
import { HttpHeaders, HttpClient } from '@angular/common/http';
|
|
10
|
-
import { inject } from '@angular/core';
|
|
11
|
-
import { HostService } from '../_generated/host.service';
|
|
12
|
-
import { map } from 'rxjs/operators';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export class PromptApiService {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.hostService = inject(HostService);
|
|
17
|
-
this.http = inject(HttpClient);
|
|
18
|
-
this._host = this.hostService.hostWithScheme;
|
|
19
|
-
}
|
|
20
|
-
apiOptions() {
|
|
21
|
-
return {
|
|
22
|
-
headers: new HttpHeaders({
|
|
23
|
-
'Content-Type': 'application/json'
|
|
24
|
-
}),
|
|
25
|
-
withCredentials: true
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
create(r) {
|
|
29
|
-
const request = (r.toApiJson) ? r : new CreatePromptRequest(r);
|
|
30
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Create", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
31
|
-
}
|
|
32
|
-
get(r) {
|
|
33
|
-
const request = (r.toApiJson) ? r : new GetPromptRequest(r);
|
|
34
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Get", request.toApiJson(), this.apiOptions())
|
|
35
|
-
.pipe(map(resp => GetPromptResponse.fromProto(resp)));
|
|
36
|
-
}
|
|
37
|
-
getVersion(r) {
|
|
38
|
-
const request = (r.toApiJson) ? r : new GetPromptVersionRequest(r);
|
|
39
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetVersion", request.toApiJson(), this.apiOptions())
|
|
40
|
-
.pipe(map(resp => GetPromptVersionResponse.fromProto(resp)));
|
|
41
|
-
}
|
|
42
|
-
getDeployedVersion(r) {
|
|
43
|
-
const request = (r.toApiJson) ? r : new GetDeployedPromptVersionRequest(r);
|
|
44
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetDeployedVersion", request.toApiJson(), this.apiOptions())
|
|
45
|
-
.pipe(map(resp => GetDeployedPromptVersionResponse.fromProto(resp)));
|
|
46
|
-
}
|
|
47
|
-
getMultiDeployedVersion(r) {
|
|
48
|
-
const request = (r.toApiJson) ? r : new GetMultiDeployedPromptVersionRequest(r);
|
|
49
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/GetMultiDeployedVersion", request.toApiJson(), this.apiOptions())
|
|
50
|
-
.pipe(map(resp => GetMultiDeployedPromptVersionResponse.fromProto(resp)));
|
|
51
|
-
}
|
|
52
|
-
update(r) {
|
|
53
|
-
const request = (r.toApiJson) ? r : new UpdatePromptRequest(r);
|
|
54
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Update", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
55
|
-
}
|
|
56
|
-
deploy(r) {
|
|
57
|
-
const request = (r.toApiJson) ? r : new DeployPromptRequest(r);
|
|
58
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Deploy", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
59
|
-
}
|
|
60
|
-
list(r) {
|
|
61
|
-
const request = (r.toApiJson) ? r : new ListPromptRequest(r);
|
|
62
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/List", request.toApiJson(), this.apiOptions())
|
|
63
|
-
.pipe(map(resp => ListPromptResponse.fromProto(resp)));
|
|
64
|
-
}
|
|
65
|
-
listVersions(r) {
|
|
66
|
-
const request = (r.toApiJson) ? r : new ListPromptVersionsRequest(r);
|
|
67
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/ListVersions", request.toApiJson(), this.apiOptions())
|
|
68
|
-
.pipe(map(resp => ListPromptVersionsResponse.fromProto(resp)));
|
|
69
|
-
}
|
|
70
|
-
delete(r) {
|
|
71
|
-
const request = (r.toApiJson) ? r : new DeletePromptRequest(r);
|
|
72
|
-
return this.http.post(this._host + "/ai_assistants.v1alpha1.PromptService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
PromptApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
76
|
-
PromptApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, providedIn: 'root' });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PromptApiService, decorators: [{
|
|
78
|
-
type: Injectable,
|
|
79
|
-
args: [{ providedIn: 'root' }]
|
|
80
|
-
}] });
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvbXB0LmFwaS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vYWlfYXNzaXN0YW50c19zZGsvc3JjL2xpYi9faW50ZXJuYWwvcHJvbXB0LmFwaS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9DQUFvQztBQUNwQywyQkFBMkI7QUFDM0IsZ0JBQWdCO0FBQ2hCLEVBQUU7QUFDRixlQUFlO0FBQ2Ysb0NBQW9DO0FBQ3BDLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUNDLG1CQUFtQixFQUNuQixtQkFBbUIsRUFDbkIsbUJBQW1CLEVBQ25CLCtCQUErQixFQUMvQixnQ0FBZ0MsRUFDaEMsb0NBQW9DLEVBQ3BDLHFDQUFxQyxFQUNyQyxnQkFBZ0IsRUFDaEIsaUJBQWlCLEVBQ2pCLHVCQUF1QixFQUN2Qix3QkFBd0IsRUFDeEIsaUJBQWlCLEVBQ2pCLGtCQUFrQixFQUNsQix5QkFBeUIsRUFDekIsMEJBQTBCLEVBQzFCLG1CQUFtQixHQUMxQixNQUFNLFlBQVksQ0FBQztBQW1CcEIsT0FBTyxFQUFDLFdBQVcsRUFBRSxVQUFVLEVBQWUsTUFBTSxzQkFBc0IsQ0FBQztBQUMzRSxPQUFPLEVBQUMsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUV2RCxP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IG1hcChyZXNwID0+IExpc3RQcm9tcHRWZXJzaW9uc1Jlc3BvbnNlLmZyb21Qcm90byhyZXNwKSlcbiAgICAgICAgICAgICk7XG4gICAgfVxuICAgIGRlbGV0ZShyOiBEZWxldGVQcm9tcHRSZXF1ZXN0IHwgRGVsZXRlUHJvbXB0UmVxdWVzdEludGVyZmFjZSk6IE9ic2VydmFibGU8SHR0cFJlc3BvbnNlPG51bGw+PiB7XG4gICAgICAgIGNvbnN0IHJlcXVlc3QgPSAoKDxEZWxldGVQcm9tcHRSZXF1ZXN0PnIpLnRvQXBpSnNvbikgPyAoPERlbGV0ZVByb21wdFJlcXVlc3Q+cikgOiBuZXcgRGVsZXRlUHJvbXB0UmVxdWVzdChyKTtcbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0PG51bGw+KHRoaXMuX2hvc3QgKyBcIi9haV9hc3Npc3RhbnRzLnYxYWxwaGExLlByb21wdFNlcnZpY2UvRGVsZXRlXCIsIHJlcXVlc3QudG9BcGlKc29uKCksIHsuLi50aGlzLmFwaU9wdGlvbnMoKSwgb2JzZXJ2ZTogJ3Jlc3BvbnNlJ30pO1xuICAgIH1cbiAgICBcbn1cbiJdfQ==
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CreatePromptRequest, DeletePromptRequest, DeployPromptRequest, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, UpdatePromptRequest } from './objects/';
|
|
2
|
-
import { CreatePromptRequestInterface, DeletePromptRequestInterface, DeployPromptRequestInterface, GetDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionRequestInterface, GetPromptRequestInterface, GetPromptVersionRequestInterface, ListPromptRequestInterface, ListPromptVersionsRequestInterface, UpdatePromptRequestInterface } from './interfaces/';
|
|
3
|
-
import { HttpResponse } from '@angular/common/http';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PromptApiService {
|
|
7
|
-
private readonly hostService;
|
|
8
|
-
private readonly http;
|
|
9
|
-
private _host;
|
|
10
|
-
private apiOptions;
|
|
11
|
-
create(r: CreatePromptRequest | CreatePromptRequestInterface): Observable<HttpResponse<null>>;
|
|
12
|
-
get(r: GetPromptRequest | GetPromptRequestInterface): Observable<GetPromptResponse>;
|
|
13
|
-
getVersion(r: GetPromptVersionRequest | GetPromptVersionRequestInterface): Observable<GetPromptVersionResponse>;
|
|
14
|
-
getDeployedVersion(r: GetDeployedPromptVersionRequest | GetDeployedPromptVersionRequestInterface): Observable<GetDeployedPromptVersionResponse>;
|
|
15
|
-
getMultiDeployedVersion(r: GetMultiDeployedPromptVersionRequest | GetMultiDeployedPromptVersionRequestInterface): Observable<GetMultiDeployedPromptVersionResponse>;
|
|
16
|
-
update(r: UpdatePromptRequest | UpdatePromptRequestInterface): Observable<HttpResponse<null>>;
|
|
17
|
-
deploy(r: DeployPromptRequest | DeployPromptRequestInterface): Observable<HttpResponse<null>>;
|
|
18
|
-
list(r: ListPromptRequest | ListPromptRequestInterface): Observable<ListPromptResponse>;
|
|
19
|
-
listVersions(r: ListPromptVersionsRequest | ListPromptVersionsRequestInterface): Observable<ListPromptVersionsResponse>;
|
|
20
|
-
delete(r: DeletePromptRequest | DeletePromptRequestInterface): Observable<HttpResponse<null>>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PromptApiService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PromptApiService>;
|
|
23
|
-
}
|