@vendasta/ai-assistants 0.51.0 → 0.53.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/function.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/_internal/objects/function.mjs +27 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +33 -1
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +33 -1
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +2 -0
- package/lib/_internal/interfaces/function.interface.d.ts +4 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +2 -0
- package/lib/_internal/objects/function.d.ts +7 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -70,10 +70,12 @@ export interface DeleteConnectionRequestInterface {
|
|
|
70
70
|
export interface DeleteFunctionRequestInterface {
|
|
71
71
|
id?: string;
|
|
72
72
|
namespace?: NamespaceInterface;
|
|
73
|
+
removeFromGoals?: boolean;
|
|
73
74
|
}
|
|
74
75
|
export interface DeleteGoalRequestInterface {
|
|
75
76
|
id?: string;
|
|
76
77
|
namespace?: NamespaceInterface;
|
|
78
|
+
removeFromAssistants?: boolean;
|
|
77
79
|
}
|
|
78
80
|
export interface DeletePromptModuleRequestInterface {
|
|
79
81
|
id?: string;
|
|
@@ -37,6 +37,7 @@ export interface FunctionAuthStrategyInterface {
|
|
|
37
37
|
unspecified?: FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface;
|
|
38
38
|
platformManaged?: FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface;
|
|
39
39
|
connectedIntegration?: FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface;
|
|
40
|
+
impersonation?: FunctionAuthStrategyImpersonationAuthStrategyInterface;
|
|
40
41
|
}
|
|
41
42
|
export interface FunctionHeaderInterface {
|
|
42
43
|
key?: string;
|
|
@@ -57,6 +58,9 @@ export interface FunctionParameterInterface {
|
|
|
57
58
|
required?: boolean;
|
|
58
59
|
enumValues?: string[];
|
|
59
60
|
}
|
|
61
|
+
export interface FunctionAuthStrategyImpersonationAuthStrategyInterface {
|
|
62
|
+
requiredScopes?: string[];
|
|
63
|
+
}
|
|
60
64
|
export interface ListMCPToolsRequestInterface {
|
|
61
65
|
namespace?: NamespaceInterface;
|
|
62
66
|
url?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterface, NamespaceInterface, NamespacePartnerNamespaceInterface, NamespaceSystemNamespaceInterface, } from './namespace.interface';
|
|
2
2
|
export { ConstraintInterface, ConstraintFilterInterface, ScopeInterface, } from './constraints.interface';
|
|
3
3
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
4
|
-
export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyImpersonationAuthStrategyInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
|
|
5
5
|
export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, PromptVersionInterface, } from './prompt.interface';
|
|
6
6
|
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
7
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
@@ -111,6 +111,7 @@ export declare class DeleteConnectionRequest implements i.DeleteConnectionReques
|
|
|
111
111
|
export declare class DeleteFunctionRequest implements i.DeleteFunctionRequestInterface {
|
|
112
112
|
id: string;
|
|
113
113
|
namespace: Namespace;
|
|
114
|
+
removeFromGoals: boolean;
|
|
114
115
|
static fromProto(proto: any): DeleteFunctionRequest;
|
|
115
116
|
constructor(kwargs?: i.DeleteFunctionRequestInterface);
|
|
116
117
|
toApiJson(): object;
|
|
@@ -118,6 +119,7 @@ export declare class DeleteFunctionRequest implements i.DeleteFunctionRequestInt
|
|
|
118
119
|
export declare class DeleteGoalRequest implements i.DeleteGoalRequestInterface {
|
|
119
120
|
id: string;
|
|
120
121
|
namespace: Namespace;
|
|
122
|
+
removeFromAssistants: boolean;
|
|
121
123
|
static fromProto(proto: any): DeleteGoalRequest;
|
|
122
124
|
constructor(kwargs?: i.DeleteGoalRequestInterface);
|
|
123
125
|
toApiJson(): object;
|
|
@@ -54,6 +54,7 @@ export declare class FunctionAuthStrategy implements i.FunctionAuthStrategyInter
|
|
|
54
54
|
unspecified: FunctionAuthStrategyUnspecifiedFunctionAuthStrategy;
|
|
55
55
|
platformManaged: FunctionAuthStrategyPlatformManagedFunctionAuthStrategy;
|
|
56
56
|
connectedIntegration: FunctionAuthStrategyConnectedIntegrationAuthStrategy;
|
|
57
|
+
impersonation: FunctionAuthStrategyImpersonationAuthStrategy;
|
|
57
58
|
static fromProto(proto: any): FunctionAuthStrategy;
|
|
58
59
|
constructor(kwargs?: i.FunctionAuthStrategyInterface);
|
|
59
60
|
toApiJson(): object;
|
|
@@ -86,6 +87,12 @@ export declare class FunctionParameter implements i.FunctionParameterInterface {
|
|
|
86
87
|
constructor(kwargs?: i.FunctionParameterInterface);
|
|
87
88
|
toApiJson(): object;
|
|
88
89
|
}
|
|
90
|
+
export declare class FunctionAuthStrategyImpersonationAuthStrategy implements i.FunctionAuthStrategyImpersonationAuthStrategyInterface {
|
|
91
|
+
requiredScopes: string[];
|
|
92
|
+
static fromProto(proto: any): FunctionAuthStrategyImpersonationAuthStrategy;
|
|
93
|
+
constructor(kwargs?: i.FunctionAuthStrategyImpersonationAuthStrategyInterface);
|
|
94
|
+
toApiJson(): object;
|
|
95
|
+
}
|
|
89
96
|
export declare class ListMCPToolsRequest implements i.ListMCPToolsRequestInterface {
|
|
90
97
|
namespace: Namespace;
|
|
91
98
|
url: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { NamespaceAccountGroupNamespace, NamespaceGlobalNamespace, Namespace, NamespacePartnerNamespace, NamespaceSystemNamespace, } from './namespace';
|
|
2
2
|
export { Constraint, ConstraintFilter, Scope, } from './constraints';
|
|
3
3
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
4
|
-
export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
|
|
4
|
+
export { FunctionAuthStrategyConnectedIntegrationAuthStrategy, CreateMCPFromIntegrationRequest, DeleteMCPRequest, ListMCPsRequestFilters, Function, FunctionAuthStrategy, FunctionHeader, FunctionKey, FunctionParameter, FunctionAuthStrategyImpersonationAuthStrategy, ListMCPToolsRequest, ListMCPToolsResponse, ListMCPsRequest, ListMCPsResponse, MCP, FunctionAuthStrategyPlatformManagedFunctionAuthStrategy, FunctionAuthStrategyUnspecifiedFunctionAuthStrategy, UpsertMCPRequest, } from './function';
|
|
5
5
|
export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersion, } from './prompt';
|
|
6
6
|
export { Goal, GoalKey, } from './goal';
|
|
7
7
|
export { KeyValuePair, } from './common';
|