@vendasta/ai-assistants 0.9.0 → 0.10.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/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +125 -32
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/prompt.mjs +10 -1
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +11 -2
- package/fesm2015/vendasta-ai-assistants.mjs +142 -31
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +142 -31
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +27 -11
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/prompt.interface.d.ts +2 -0
- package/lib/_internal/objects/api.d.ts +45 -20
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/prompt.d.ts +2 -0
- package/lib/_internal/prompt-module.api.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -6,13 +6,20 @@ import { GoalInterface, GoalKeyInterface } from './goal.interface';
|
|
|
6
6
|
import { KeyValuePairInterface } from './common.interface';
|
|
7
7
|
import { NamespaceInterface } from './namespace.interface';
|
|
8
8
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
|
|
9
|
-
import {
|
|
9
|
+
import { PromptModuleInterface, PromptModuleVersionInterface, PromptInterface, PromptVersionInterface, PromptModuleKeyInterface } from './prompt.interface';
|
|
10
10
|
import * as e from '../enums';
|
|
11
11
|
export interface SetAssistantConnectionsRequestConnectionStateInterface {
|
|
12
12
|
connectionKey?: ConnectionKeyInterface;
|
|
13
13
|
isAssociated?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export interface CreatePromptModuleRequestInterface {
|
|
16
|
+
id?: string;
|
|
17
|
+
namespace?: NamespaceInterface;
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
content?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CreatePromptModuleVersionRequestInterface {
|
|
16
23
|
id?: string;
|
|
17
24
|
namespace?: NamespaceInterface;
|
|
18
25
|
content?: string;
|
|
@@ -55,25 +62,25 @@ export interface DeployPromptRequestInterface {
|
|
|
55
62
|
id?: string;
|
|
56
63
|
version?: string;
|
|
57
64
|
}
|
|
58
|
-
export interface
|
|
59
|
-
type?: e.AssistantType;
|
|
60
|
-
}
|
|
61
|
-
export interface ListFunctionRequestFiltersInterface {
|
|
65
|
+
export interface ListGoalsRequestFiltersInterface {
|
|
62
66
|
namespace?: NamespaceInterface;
|
|
63
67
|
}
|
|
64
|
-
export interface
|
|
68
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
65
69
|
namespace?: NamespaceInterface;
|
|
66
|
-
assistantType?: e.AssistantType;
|
|
67
70
|
}
|
|
68
|
-
export interface
|
|
71
|
+
export interface ListFunctionRequestFiltersInterface {
|
|
69
72
|
namespace?: NamespaceInterface;
|
|
73
|
+
}
|
|
74
|
+
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
70
75
|
type?: e.AssistantType;
|
|
71
76
|
}
|
|
72
|
-
export interface
|
|
77
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
73
78
|
namespace?: NamespaceInterface;
|
|
79
|
+
type?: e.AssistantType;
|
|
74
80
|
}
|
|
75
|
-
export interface
|
|
81
|
+
export interface ListConnectionsRequestFiltersInterface {
|
|
76
82
|
namespace?: NamespaceInterface;
|
|
83
|
+
assistantType?: e.AssistantType;
|
|
77
84
|
}
|
|
78
85
|
export interface GenerateChatAnswerRequestInterface {
|
|
79
86
|
connectionKey?: ConnectionKeyInterface;
|
|
@@ -109,6 +116,14 @@ export interface GetConnectionRequestInterface {
|
|
|
109
116
|
export interface GetConnectionResponseInterface {
|
|
110
117
|
connection?: ConnectionInterface;
|
|
111
118
|
}
|
|
119
|
+
export interface GetDeployedPromptModuleVersionRequestInterface {
|
|
120
|
+
id?: string;
|
|
121
|
+
namespace?: NamespaceInterface;
|
|
122
|
+
}
|
|
123
|
+
export interface GetDeployedPromptModuleVersionResponseInterface {
|
|
124
|
+
promptModule?: PromptModuleInterface;
|
|
125
|
+
deployedPromptModuleVersion?: PromptModuleVersionInterface;
|
|
126
|
+
}
|
|
112
127
|
export interface GetDeployedPromptVersionRequestInterface {
|
|
113
128
|
id?: string;
|
|
114
129
|
}
|
|
@@ -277,7 +292,8 @@ export interface SetAssistantConnectionsRequestInterface {
|
|
|
277
292
|
export interface UpdatePromptModuleRequestInterface {
|
|
278
293
|
id?: string;
|
|
279
294
|
namespace?: NamespaceInterface;
|
|
280
|
-
|
|
295
|
+
name?: string;
|
|
296
|
+
description?: string;
|
|
281
297
|
}
|
|
282
298
|
export interface UpdatePromptRequestInterface {
|
|
283
299
|
id?: string;
|
|
@@ -8,4 +8,4 @@ export { KeyValuePairInterface, } from './common.interface';
|
|
|
8
8
|
export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
|
|
9
9
|
export { AccessInterface, } from './annotations.interface';
|
|
10
10
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface,
|
|
11
|
+
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListGoalsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListConnectionsRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
|
|
@@ -11,9 +11,11 @@ export interface PromptModuleInterface {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
namespace?: NamespaceInterface;
|
|
13
13
|
name?: string;
|
|
14
|
+
description?: string;
|
|
14
15
|
deployedVersion?: string;
|
|
15
16
|
deployedBy?: string;
|
|
16
17
|
updated?: Date;
|
|
18
|
+
deployed?: Date;
|
|
17
19
|
}
|
|
18
20
|
export interface PromptModuleKeyInterface {
|
|
19
21
|
id?: string;
|
|
@@ -7,7 +7,7 @@ import { Goal, GoalKey } from './goal';
|
|
|
7
7
|
import { KeyValuePair } from './common';
|
|
8
8
|
import { Namespace } from './namespace';
|
|
9
9
|
import { PagedRequestOptions, PagedResponseMetadata } from './paging';
|
|
10
|
-
import {
|
|
10
|
+
import { PromptModule, PromptModuleVersion, Prompt, PromptVersion, PromptModuleKey } from './prompt';
|
|
11
11
|
import * as e from '../enums';
|
|
12
12
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
13
13
|
export declare class SetAssistantConnectionsRequestConnectionState implements i.SetAssistantConnectionsRequestConnectionStateInterface {
|
|
@@ -20,11 +20,21 @@ export declare class SetAssistantConnectionsRequestConnectionState implements i.
|
|
|
20
20
|
export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRequestInterface {
|
|
21
21
|
id: string;
|
|
22
22
|
namespace: Namespace;
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
23
25
|
content: string;
|
|
24
26
|
static fromProto(proto: any): CreatePromptModuleRequest;
|
|
25
27
|
constructor(kwargs?: i.CreatePromptModuleRequestInterface);
|
|
26
28
|
toApiJson(): object;
|
|
27
29
|
}
|
|
30
|
+
export declare class CreatePromptModuleVersionRequest implements i.CreatePromptModuleVersionRequestInterface {
|
|
31
|
+
id: string;
|
|
32
|
+
namespace: Namespace;
|
|
33
|
+
content: string;
|
|
34
|
+
static fromProto(proto: any): CreatePromptModuleVersionRequest;
|
|
35
|
+
constructor(kwargs?: i.CreatePromptModuleVersionRequestInterface);
|
|
36
|
+
toApiJson(): object;
|
|
37
|
+
}
|
|
28
38
|
export declare class CreatePromptRequest implements i.CreatePromptRequestInterface {
|
|
29
39
|
id: string;
|
|
30
40
|
content: string;
|
|
@@ -90,10 +100,16 @@ export declare class DeployPromptRequest implements i.DeployPromptRequestInterfa
|
|
|
90
100
|
constructor(kwargs?: i.DeployPromptRequestInterface);
|
|
91
101
|
toApiJson(): object;
|
|
92
102
|
}
|
|
93
|
-
export declare class
|
|
94
|
-
|
|
95
|
-
static fromProto(proto: any):
|
|
96
|
-
constructor(kwargs?: i.
|
|
103
|
+
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
104
|
+
namespace: Namespace;
|
|
105
|
+
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
106
|
+
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
107
|
+
toApiJson(): object;
|
|
108
|
+
}
|
|
109
|
+
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
110
|
+
namespace: Namespace;
|
|
111
|
+
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
112
|
+
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
97
113
|
toApiJson(): object;
|
|
98
114
|
}
|
|
99
115
|
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
@@ -102,11 +118,10 @@ export declare class ListFunctionRequestFilters implements i.ListFunctionRequest
|
|
|
102
118
|
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
103
119
|
toApiJson(): object;
|
|
104
120
|
}
|
|
105
|
-
export declare class
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
121
|
+
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
122
|
+
type: e.AssistantType;
|
|
123
|
+
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
124
|
+
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
110
125
|
toApiJson(): object;
|
|
111
126
|
}
|
|
112
127
|
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
@@ -116,16 +131,11 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
|
|
|
116
131
|
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
117
132
|
toApiJson(): object;
|
|
118
133
|
}
|
|
119
|
-
export declare class
|
|
120
|
-
namespace: Namespace;
|
|
121
|
-
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
122
|
-
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
123
|
-
toApiJson(): object;
|
|
124
|
-
}
|
|
125
|
-
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
134
|
+
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
126
135
|
namespace: Namespace;
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
assistantType: e.AssistantType;
|
|
137
|
+
static fromProto(proto: any): ListConnectionsRequestFilters;
|
|
138
|
+
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
129
139
|
toApiJson(): object;
|
|
130
140
|
}
|
|
131
141
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
@@ -186,6 +196,20 @@ export declare class GetConnectionResponse implements i.GetConnectionResponseInt
|
|
|
186
196
|
constructor(kwargs?: i.GetConnectionResponseInterface);
|
|
187
197
|
toApiJson(): object;
|
|
188
198
|
}
|
|
199
|
+
export declare class GetDeployedPromptModuleVersionRequest implements i.GetDeployedPromptModuleVersionRequestInterface {
|
|
200
|
+
id: string;
|
|
201
|
+
namespace: Namespace;
|
|
202
|
+
static fromProto(proto: any): GetDeployedPromptModuleVersionRequest;
|
|
203
|
+
constructor(kwargs?: i.GetDeployedPromptModuleVersionRequestInterface);
|
|
204
|
+
toApiJson(): object;
|
|
205
|
+
}
|
|
206
|
+
export declare class GetDeployedPromptModuleVersionResponse implements i.GetDeployedPromptModuleVersionResponseInterface {
|
|
207
|
+
promptModule: PromptModule;
|
|
208
|
+
deployedPromptModuleVersion: PromptModuleVersion;
|
|
209
|
+
static fromProto(proto: any): GetDeployedPromptModuleVersionResponse;
|
|
210
|
+
constructor(kwargs?: i.GetDeployedPromptModuleVersionResponseInterface);
|
|
211
|
+
toApiJson(): object;
|
|
212
|
+
}
|
|
189
213
|
export declare class GetDeployedPromptVersionRequest implements i.GetDeployedPromptVersionRequestInterface {
|
|
190
214
|
id: string;
|
|
191
215
|
static fromProto(proto: any): GetDeployedPromptVersionRequest;
|
|
@@ -486,7 +510,8 @@ export declare class SetAssistantConnectionsRequest implements i.SetAssistantCon
|
|
|
486
510
|
export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRequestInterface {
|
|
487
511
|
id: string;
|
|
488
512
|
namespace: Namespace;
|
|
489
|
-
|
|
513
|
+
name: string;
|
|
514
|
+
description: string;
|
|
490
515
|
static fromProto(proto: any): UpdatePromptModuleRequest;
|
|
491
516
|
constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
|
|
492
517
|
toApiJson(): object;
|
|
@@ -8,4 +8,4 @@ export { KeyValuePair, } from './common';
|
|
|
8
8
|
export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
|
|
9
9
|
export { Access, } from './annotations';
|
|
10
10
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest,
|
|
11
|
+
export { SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListGoalsRequestFilters, ListPromptModuleRequestFilters, ListFunctionRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAssistantRequestFilters, ListConnectionsRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, GenerateChatAnswerRequestOptions, SetAssistantConnectionsRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
|
|
@@ -16,9 +16,11 @@ export declare class PromptModule implements i.PromptModuleInterface {
|
|
|
16
16
|
id: string;
|
|
17
17
|
namespace: Namespace;
|
|
18
18
|
name: string;
|
|
19
|
+
description: string;
|
|
19
20
|
deployedVersion: string;
|
|
20
21
|
deployedBy: string;
|
|
21
22
|
updated: Date;
|
|
23
|
+
deployed: Date;
|
|
22
24
|
static fromProto(proto: any): PromptModule;
|
|
23
25
|
constructor(kwargs?: i.PromptModuleInterface);
|
|
24
26
|
toApiJson(): object;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreatePromptModuleRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest } from './objects/';
|
|
2
|
-
import { CreatePromptModuleRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreatePromptModuleRequest, 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/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -9,8 +9,10 @@ export declare class PromptModuleApiService {
|
|
|
9
9
|
private _host;
|
|
10
10
|
private apiOptions;
|
|
11
11
|
create(r: CreatePromptModuleRequest | CreatePromptModuleRequestInterface): Observable<HttpResponse<null>>;
|
|
12
|
+
createVersion(r: CreatePromptModuleVersionRequest | CreatePromptModuleVersionRequestInterface): Observable<HttpResponse<null>>;
|
|
12
13
|
get(r: GetPromptModuleRequest | GetPromptModuleRequestInterface): Observable<GetPromptModuleResponse>;
|
|
13
14
|
getVersion(r: GetPromptModuleVersionRequest | GetPromptModuleVersionRequestInterface): Observable<GetPromptModuleVersionResponse>;
|
|
15
|
+
getDeployedVersion(r: GetDeployedPromptModuleVersionRequest | GetDeployedPromptModuleVersionRequestInterface): Observable<GetDeployedPromptModuleVersionResponse>;
|
|
14
16
|
getHydratedDeployedVersion(r: GetHydratedDeployedPromptModuleVersionRequest | GetHydratedDeployedPromptModuleVersionRequestInterface): Observable<GetHydratedDeployedPromptModuleVersionResponse>;
|
|
15
17
|
getMultiHydratedDeployedVersion(r: GetMultiHydratedDeployedPromptModuleVersionRequest | GetMultiHydratedDeployedPromptModuleVersionRequestInterface): Observable<GetMultiHydratedDeployedPromptModuleVersionResponse>;
|
|
16
18
|
update(r: UpdatePromptModuleRequest | UpdatePromptModuleRequestInterface): Observable<HttpResponse<null>>;
|