@vendasta/ai-assistants 0.8.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.
@@ -1,6 +1,7 @@
1
1
  export declare enum GoalType {
2
2
  GOAL_TYPE_INVALID = 0,
3
- GOAL_TYPE_KNOWLEDGE = 1,
4
- GOAL_TYPE_PERSONALITY = 2,
5
- GOAL_TYPE_CUSTOM = 3
3
+ GOAL_TYPE_OBJECTIVE = 1,
4
+ GOAL_TYPE_KNOWLEDGE = 2,
5
+ GOAL_TYPE_PERSONALITY = 3,
6
+ GOAL_TYPE_CUSTOM = 4
6
7
  }
@@ -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 { PromptInterface, PromptVersionInterface, PromptModuleKeyInterface, PromptModuleInterface, PromptModuleVersionInterface } from './prompt.interface';
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,24 +62,25 @@ export interface DeployPromptRequestInterface {
55
62
  id?: string;
56
63
  version?: string;
57
64
  }
58
- export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
59
- type?: e.AssistantType;
60
- }
61
- export interface ListFunctionRequestFiltersInterface {
65
+ export interface ListGoalsRequestFiltersInterface {
62
66
  namespace?: NamespaceInterface;
63
67
  }
64
- export interface ListConnectionsRequestFiltersInterface {
68
+ export interface ListPromptModuleRequestFiltersInterface {
65
69
  namespace?: NamespaceInterface;
66
70
  }
67
- export interface ListAssistantRequestFiltersInterface {
71
+ export interface ListFunctionRequestFiltersInterface {
68
72
  namespace?: NamespaceInterface;
73
+ }
74
+ export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
69
75
  type?: e.AssistantType;
70
76
  }
71
- export interface ListGoalsRequestFiltersInterface {
77
+ export interface ListAssistantRequestFiltersInterface {
72
78
  namespace?: NamespaceInterface;
79
+ type?: e.AssistantType;
73
80
  }
74
- export interface ListPromptModuleRequestFiltersInterface {
81
+ export interface ListConnectionsRequestFiltersInterface {
75
82
  namespace?: NamespaceInterface;
83
+ assistantType?: e.AssistantType;
76
84
  }
77
85
  export interface GenerateChatAnswerRequestInterface {
78
86
  connectionKey?: ConnectionKeyInterface;
@@ -108,6 +116,14 @@ export interface GetConnectionRequestInterface {
108
116
  export interface GetConnectionResponseInterface {
109
117
  connection?: ConnectionInterface;
110
118
  }
119
+ export interface GetDeployedPromptModuleVersionRequestInterface {
120
+ id?: string;
121
+ namespace?: NamespaceInterface;
122
+ }
123
+ export interface GetDeployedPromptModuleVersionResponseInterface {
124
+ promptModule?: PromptModuleInterface;
125
+ deployedPromptModuleVersion?: PromptModuleVersionInterface;
126
+ }
111
127
  export interface GetDeployedPromptVersionRequestInterface {
112
128
  id?: string;
113
129
  }
@@ -276,7 +292,8 @@ export interface SetAssistantConnectionsRequestInterface {
276
292
  export interface UpdatePromptModuleRequestInterface {
277
293
  id?: string;
278
294
  namespace?: NamespaceInterface;
279
- content?: string;
295
+ name?: string;
296
+ description?: string;
280
297
  }
281
298
  export interface UpdatePromptRequestInterface {
282
299
  id?: string;
@@ -1,5 +1,6 @@
1
1
  import { AssistantKeyInterface } from './assistant.interface';
2
2
  import { NamespaceInterface } from './namespace.interface';
3
+ import * as e from '../enums';
3
4
  export interface ConnectionInterface {
4
5
  id?: string;
5
6
  namespace?: NamespaceInterface;
@@ -10,6 +11,7 @@ export interface ConnectionInterface {
10
11
  connectionTypeName?: string;
11
12
  iconUrl?: string;
12
13
  isConnectionLocked?: boolean;
14
+ supportedAssistantTypes?: e.AssistantType[];
13
15
  }
14
16
  export interface ConnectionKeyInterface {
15
17
  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, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, 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
+ 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 { Prompt, PromptVersion, PromptModuleKey, PromptModule, PromptModuleVersion } from './prompt';
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 ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
94
- type: e.AssistantType;
95
- static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
96
- constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
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,10 +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 ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
106
- namespace: Namespace;
107
- static fromProto(proto: any): ListConnectionsRequestFilters;
108
- 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);
109
125
  toApiJson(): object;
110
126
  }
111
127
  export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
@@ -115,16 +131,11 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
115
131
  constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
116
132
  toApiJson(): object;
117
133
  }
118
- export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
119
- namespace: Namespace;
120
- static fromProto(proto: any): ListGoalsRequestFilters;
121
- constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
122
- toApiJson(): object;
123
- }
124
- export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
134
+ export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
125
135
  namespace: Namespace;
126
- static fromProto(proto: any): ListPromptModuleRequestFilters;
127
- constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
136
+ assistantType: e.AssistantType;
137
+ static fromProto(proto: any): ListConnectionsRequestFilters;
138
+ constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
128
139
  toApiJson(): object;
129
140
  }
130
141
  export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
@@ -185,6 +196,20 @@ export declare class GetConnectionResponse implements i.GetConnectionResponseInt
185
196
  constructor(kwargs?: i.GetConnectionResponseInterface);
186
197
  toApiJson(): object;
187
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
+ }
188
213
  export declare class GetDeployedPromptVersionRequest implements i.GetDeployedPromptVersionRequestInterface {
189
214
  id: string;
190
215
  static fromProto(proto: any): GetDeployedPromptVersionRequest;
@@ -485,7 +510,8 @@ export declare class SetAssistantConnectionsRequest implements i.SetAssistantCon
485
510
  export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRequestInterface {
486
511
  id: string;
487
512
  namespace: Namespace;
488
- content: string;
513
+ name: string;
514
+ description: string;
489
515
  static fromProto(proto: any): UpdatePromptModuleRequest;
490
516
  constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
491
517
  toApiJson(): object;
@@ -1,6 +1,7 @@
1
1
  import * as i from '../interfaces';
2
2
  import { AssistantKey } from './assistant';
3
3
  import { Namespace } from './namespace';
4
+ import * as e from '../enums';
4
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
5
6
  export declare class Connection implements i.ConnectionInterface {
6
7
  id: string;
@@ -12,6 +13,7 @@ export declare class Connection implements i.ConnectionInterface {
12
13
  connectionTypeName: string;
13
14
  iconUrl: string;
14
15
  isConnectionLocked: boolean;
16
+ supportedAssistantTypes: e.AssistantType[];
15
17
  static fromProto(proto: any): Connection;
16
18
  constructor(kwargs?: i.ConnectionInterface);
17
19
  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, ListAllAssistantsAssociatedToConnectionRequestFilters, ListFunctionRequestFilters, ListConnectionsRequestFilters, ListAssistantRequestFilters, ListGoalsRequestFilters, ListPromptModuleRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, 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';
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>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"