@vendasta/ai-assistants 0.59.0 → 0.60.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.
@@ -2,7 +2,7 @@ export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, Na
2
2
  export { Constraint, ConstraintFilter, Scope, } from './constraints';
3
3
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
4
4
  export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyImpersonationAuthStrategy, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
5
- export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
5
+ export { PromptModule, PromptModuleKey, PromptModuleVersion, } from './prompt';
6
6
  export { Goal, GoalKey, } from './goal';
7
7
  export { KeyValuePair, } from './common';
8
8
  export { Model, } from './model';
@@ -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, 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';
15
+ export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListFunctionRequestFilters, ListGoalsRequestFilters, ListAssistantRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListPromptModuleRequestFilters, ListConnectionsRequestFilters, ListAvailableModelsRequestFilters, 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, UpsertAssistantRequestOptions, GetMultiAssistantRequestOptions, CreatePromptModuleVersionRequestOptions, CreateAssistantRequestOptions, GetAssistantRequestOptions, GenerateChatAnswerRequestOptions, ExecuteFunctionRequestOptions, SetAssistantConnectionsRequest, ListGoalsRequestSortOptions, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse, ValidatePromptModulesResponseValidationResult, ValidatePromptModuleVersionsResponseValidationResult, ValidationResult, ValidationViolation, } from './api';
@@ -1,17 +1,6 @@
1
1
  import * as i from '../interfaces';
2
2
  import { Namespace } from './namespace';
3
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
- export declare class Prompt implements i.PromptInterface {
5
- id: string;
6
- deployedVersion: string;
7
- deployedBy: string;
8
- updated: Date;
9
- description: string;
10
- deployed: Date;
11
- static fromProto(proto: any): Prompt;
12
- constructor(kwargs?: i.PromptInterface);
13
- toApiJson(): object;
14
- }
15
4
  export declare class PromptModule implements i.PromptModuleInterface {
16
5
  id: string;
17
6
  namespace: Namespace;
@@ -44,13 +33,3 @@ export declare class PromptModuleVersion implements i.PromptModuleVersionInterfa
44
33
  constructor(kwargs?: i.PromptModuleVersionInterface);
45
34
  toApiJson(): object;
46
35
  }
47
- export declare class PromptVersion implements i.PromptVersionInterface {
48
- id: string;
49
- version: string;
50
- content: string;
51
- createdBy: string;
52
- created: Date;
53
- static fromProto(proto: any): PromptVersion;
54
- constructor(kwargs?: i.PromptVersionInterface);
55
- toApiJson(): object;
56
- }
@@ -1,5 +1,5 @@
1
- import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse } from './objects/';
2
- import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface, ValidatePromptModuleRequestInterface } from './interfaces/';
1
+ import { CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, DeletePromptModuleRequest, DeployPromptModuleRequest, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, UpdatePromptModuleRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, ValidatePromptModuleVersionsRequest, ValidatePromptModuleVersionsResponse, ValidatePromptModulesRequest, ValidatePromptModulesResponse } from './objects/';
2
+ import { CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, GetDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetPromptModuleRequestInterface, GetPromptModuleVersionRequestInterface, ListPromptModuleRequestInterface, ListPromptModuleVersionsRequestInterface, UpdatePromptModuleRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModulesRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -21,6 +21,8 @@ export declare class PromptModuleApiService {
21
21
  listVersions(r: ListPromptModuleVersionsRequest | ListPromptModuleVersionsRequestInterface): Observable<ListPromptModuleVersionsResponse>;
22
22
  delete(r: DeletePromptModuleRequest | DeletePromptModuleRequestInterface): Observable<HttpResponse<null>>;
23
23
  validate(r: ValidatePromptModuleRequest | ValidatePromptModuleRequestInterface): Observable<ValidatePromptModuleResponse>;
24
+ validatePromptModules(r: ValidatePromptModulesRequest | ValidatePromptModulesRequestInterface): Observable<ValidatePromptModulesResponse>;
25
+ validatePromptModuleVersions(r: ValidatePromptModuleVersionsRequest | ValidatePromptModuleVersionsRequestInterface): Observable<ValidatePromptModuleVersionsResponse>;
24
26
  static ɵfac: i0.ɵɵFactoryDeclaration<PromptModuleApiService, never>;
25
27
  static ɵprov: i0.ɵɵInjectableDeclaration<PromptModuleApiService>;
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/ai-assistants",
3
- "version": "0.59.0",
3
+ "version": "0.60.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"