@vendasta/ai-assistants 0.32.0 → 0.33.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,5 +1,5 @@
1
- import { DeleteTestCasesRequest, ListTestCasesByConnectionRequest, ListTestCasesByConnectionResponse, RunTestsRequest, RunTestsResponse, UpsertTestCasesRequest } from './objects/';
2
- import { DeleteTestCasesRequestInterface, ListTestCasesByConnectionRequestInterface, RunTestsRequestInterface, UpsertTestCasesRequestInterface } from './interfaces/';
1
+ import { DeleteTestCasesRequest, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, RunTestsRequest, RunTestsResponse, UpsertTestCasesRequest } from './objects/';
2
+ import { DeleteTestCasesRequestInterface, ListTestCasesByAssistantRequestInterface, RunTestsRequestInterface, UpsertTestCasesRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -8,7 +8,7 @@ export declare class IntegrationTestApiService {
8
8
  private readonly http;
9
9
  private _host;
10
10
  private apiOptions;
11
- listTestCasesByConnection(r: ListTestCasesByConnectionRequest | ListTestCasesByConnectionRequestInterface): Observable<ListTestCasesByConnectionResponse>;
11
+ listTestCasesByAssistant(r: ListTestCasesByAssistantRequest | ListTestCasesByAssistantRequestInterface): Observable<ListTestCasesByAssistantResponse>;
12
12
  upsertTestCases(r: UpsertTestCasesRequest | UpsertTestCasesRequestInterface): Observable<HttpResponse<null>>;
13
13
  deleteTestCases(r: DeleteTestCasesRequest | DeleteTestCasesRequestInterface): Observable<HttpResponse<null>>;
14
14
  runTests(r: RunTestsRequest | RunTestsRequestInterface): Observable<RunTestsResponse>;
@@ -7,7 +7,7 @@ export { AssistantInterface, AssistantKeyInterface, ConfigInterface, Configurabl
7
7
  export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
8
8
  export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, } from './answer.interface';
9
9
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
10
- export { DeleteTestCasesRequestInterface, ListTestCasesByConnectionRequestInterface, ListTestCasesByConnectionResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, TestCaseInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
10
+ export { DeleteTestCasesRequestInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, TestCaseInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
11
11
  export { AccessInterface, } from './annotations.interface';
12
12
  export { FieldMaskInterface, } from './field-mask.interface';
13
13
  export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListFunctionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListGoalsRequestFiltersInterface, 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, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, CreateAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
@@ -1,20 +1,20 @@
1
+ import { AssistantKeyInterface } from './assistant.interface';
1
2
  import { ChatMessageInterface } from './answer.interface';
2
- import { ConnectionKeyInterface } from './connection.interface';
3
3
  import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
4
4
  export interface DeleteTestCasesRequestInterface {
5
- connection?: ConnectionKeyInterface;
5
+ assistant?: AssistantKeyInterface;
6
6
  testCaseIds?: string[];
7
7
  }
8
- export interface ListTestCasesByConnectionRequestInterface {
9
- connection?: ConnectionKeyInterface;
8
+ export interface ListTestCasesByAssistantRequestInterface {
9
+ assistant?: AssistantKeyInterface;
10
10
  pagingOptions?: PagedRequestOptionsInterface;
11
11
  }
12
- export interface ListTestCasesByConnectionResponseInterface {
12
+ export interface ListTestCasesByAssistantResponseInterface {
13
13
  testCases?: TestCaseInterface[];
14
14
  pagingMetadata?: PagedResponseMetadataInterface;
15
15
  }
16
16
  export interface RunTestsRequestInterface {
17
- connection?: ConnectionKeyInterface;
17
+ assistant?: AssistantKeyInterface;
18
18
  testCaseIds?: string[];
19
19
  }
20
20
  export interface RunTestsResponseInterface {
@@ -27,6 +27,6 @@ export interface TestCaseInterface {
27
27
  expectation?: string;
28
28
  }
29
29
  export interface UpsertTestCasesRequestInterface {
30
- connection?: ConnectionKeyInterface;
30
+ assistant?: AssistantKeyInterface;
31
31
  testCases?: TestCaseInterface[];
32
32
  }
@@ -7,7 +7,7 @@ export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, Conf
7
7
  export { Connection, ConnectionKey, } from './connection';
8
8
  export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, ContextInfo, } from './answer';
9
9
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
10
- export { DeleteTestCasesRequest, ListTestCasesByConnectionRequest, ListTestCasesByConnectionResponse, RunTestsRequest, RunTestsResponse, TestCase, UpsertTestCasesRequest, } from './integration-tests';
10
+ export { DeleteTestCasesRequest, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, RunTestsRequest, RunTestsResponse, TestCase, UpsertTestCasesRequest, } from './integration-tests';
11
11
  export { Access, } from './annotations';
12
12
  export { FieldMask, } from './field-mask';
13
13
  export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListPromptModuleRequestFilters, ListConnectionsRequestFilters, ListGoalsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListAssistantRequestFilters, ListFunctionRequestFilters, 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, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, CreatePromptModuleVersionRequestOptions, GenerateChatAnswerRequestOptions, CreateAssistantRequestOptions, UpsertAssistantRequestOptions, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
@@ -1,31 +1,31 @@
1
1
  import * as i from '../interfaces';
2
+ import { AssistantKey } from './assistant';
2
3
  import { ChatMessage } from './answer';
3
- import { ConnectionKey } from './connection';
4
4
  import { PagedRequestOptions, PagedResponseMetadata } from './paging';
5
5
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
6
6
  export declare class DeleteTestCasesRequest implements i.DeleteTestCasesRequestInterface {
7
- connection: ConnectionKey;
7
+ assistant: AssistantKey;
8
8
  testCaseIds: string[];
9
9
  static fromProto(proto: any): DeleteTestCasesRequest;
10
10
  constructor(kwargs?: i.DeleteTestCasesRequestInterface);
11
11
  toApiJson(): object;
12
12
  }
13
- export declare class ListTestCasesByConnectionRequest implements i.ListTestCasesByConnectionRequestInterface {
14
- connection: ConnectionKey;
13
+ export declare class ListTestCasesByAssistantRequest implements i.ListTestCasesByAssistantRequestInterface {
14
+ assistant: AssistantKey;
15
15
  pagingOptions: PagedRequestOptions;
16
- static fromProto(proto: any): ListTestCasesByConnectionRequest;
17
- constructor(kwargs?: i.ListTestCasesByConnectionRequestInterface);
16
+ static fromProto(proto: any): ListTestCasesByAssistantRequest;
17
+ constructor(kwargs?: i.ListTestCasesByAssistantRequestInterface);
18
18
  toApiJson(): object;
19
19
  }
20
- export declare class ListTestCasesByConnectionResponse implements i.ListTestCasesByConnectionResponseInterface {
20
+ export declare class ListTestCasesByAssistantResponse implements i.ListTestCasesByAssistantResponseInterface {
21
21
  testCases: TestCase[];
22
22
  pagingMetadata: PagedResponseMetadata;
23
- static fromProto(proto: any): ListTestCasesByConnectionResponse;
24
- constructor(kwargs?: i.ListTestCasesByConnectionResponseInterface);
23
+ static fromProto(proto: any): ListTestCasesByAssistantResponse;
24
+ constructor(kwargs?: i.ListTestCasesByAssistantResponseInterface);
25
25
  toApiJson(): object;
26
26
  }
27
27
  export declare class RunTestsRequest implements i.RunTestsRequestInterface {
28
- connection: ConnectionKey;
28
+ assistant: AssistantKey;
29
29
  testCaseIds: string[];
30
30
  static fromProto(proto: any): RunTestsRequest;
31
31
  constructor(kwargs?: i.RunTestsRequestInterface);
@@ -47,7 +47,7 @@ export declare class TestCase implements i.TestCaseInterface {
47
47
  toApiJson(): object;
48
48
  }
49
49
  export declare class UpsertTestCasesRequest implements i.UpsertTestCasesRequestInterface {
50
- connection: ConnectionKey;
50
+ assistant: AssistantKey;
51
51
  testCases: TestCase[];
52
52
  static fromProto(proto: any): UpsertTestCasesRequest;
53
53
  constructor(kwargs?: i.UpsertTestCasesRequestInterface);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"