@vendasta/ai-assistants 0.61.0 → 0.62.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/goal.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/_internal/objects/function.mjs +13 -1
- package/esm2020/lib/_internal/objects/goal.mjs +4 -1
- package/esm2020/lib/_internal/objects/prompt.mjs +4 -1
- package/fesm2015/vendasta-ai-assistants.mjs +24 -0
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +24 -0
- 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/goal.interface.d.ts +1 -0
- package/lib/_internal/interfaces/prompt.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +2 -0
- package/lib/_internal/objects/function.d.ts +4 -0
- package/lib/_internal/objects/goal.d.ts +1 -0
- package/lib/_internal/objects/prompt.d.ts +1 -0
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export interface CreatePromptModuleRequestInterface {
|
|
|
43
43
|
description?: string;
|
|
44
44
|
content?: string;
|
|
45
45
|
managed?: boolean;
|
|
46
|
+
sourcePath?: string;
|
|
46
47
|
}
|
|
47
48
|
export interface CreatePromptModuleResponseInterface {
|
|
48
49
|
id?: string;
|
|
@@ -356,6 +357,7 @@ export interface UpdatePromptModuleRequestInterface {
|
|
|
356
357
|
namespace?: NamespaceInterface;
|
|
357
358
|
name?: string;
|
|
358
359
|
description?: string;
|
|
360
|
+
sourcePath?: string;
|
|
359
361
|
}
|
|
360
362
|
export interface UpsertAssistantRequestInterface {
|
|
361
363
|
assistant?: AssistantInterface;
|
|
@@ -9,6 +9,7 @@ export interface CreateMCPFromIntegrationRequestInterface {
|
|
|
9
9
|
namespace?: NamespaceInterface;
|
|
10
10
|
mcpId?: string;
|
|
11
11
|
connectionId?: string;
|
|
12
|
+
sourcePath?: string;
|
|
12
13
|
}
|
|
13
14
|
export interface DeleteMCPRequestInterface {
|
|
14
15
|
namespace?: NamespaceInterface;
|
|
@@ -32,6 +33,7 @@ export interface FunctionInterface {
|
|
|
32
33
|
authStrategy?: FunctionAuthStrategyInterface;
|
|
33
34
|
mcpId?: string;
|
|
34
35
|
constraints?: ConstraintInterface[];
|
|
36
|
+
sourcePath?: string;
|
|
35
37
|
}
|
|
36
38
|
export interface FunctionAuthStrategyInterface {
|
|
37
39
|
unspecified?: FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface;
|
|
@@ -84,6 +86,7 @@ export interface MCPInterface {
|
|
|
84
86
|
url?: string;
|
|
85
87
|
namespace?: NamespaceInterface;
|
|
86
88
|
authStrategy?: FunctionAuthStrategyInterface;
|
|
89
|
+
sourcePath?: string;
|
|
87
90
|
}
|
|
88
91
|
export interface FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface {
|
|
89
92
|
requiredScopes?: string[];
|
|
@@ -96,6 +99,7 @@ export interface UpsertMCPRequestInterface {
|
|
|
96
99
|
mcpId?: string;
|
|
97
100
|
functions?: FunctionInterface[];
|
|
98
101
|
authStrategy?: FunctionAuthStrategyInterface;
|
|
102
|
+
sourcePath?: string;
|
|
99
103
|
}
|
|
100
104
|
export interface ValidateFunctionsRequestInterface {
|
|
101
105
|
functions?: FunctionInterface[];
|
|
@@ -66,6 +66,7 @@ export declare class CreatePromptModuleRequest implements i.CreatePromptModuleRe
|
|
|
66
66
|
description: string;
|
|
67
67
|
content: string;
|
|
68
68
|
managed: boolean;
|
|
69
|
+
sourcePath: string;
|
|
69
70
|
static fromProto(proto: any): CreatePromptModuleRequest;
|
|
70
71
|
constructor(kwargs?: i.CreatePromptModuleRequestInterface);
|
|
71
72
|
toApiJson(): object;
|
|
@@ -610,6 +611,7 @@ export declare class UpdatePromptModuleRequest implements i.UpdatePromptModuleRe
|
|
|
610
611
|
namespace: Namespace;
|
|
611
612
|
name: string;
|
|
612
613
|
description: string;
|
|
614
|
+
sourcePath: string;
|
|
613
615
|
static fromProto(proto: any): UpdatePromptModuleRequest;
|
|
614
616
|
constructor(kwargs?: i.UpdatePromptModuleRequestInterface);
|
|
615
617
|
toApiJson(): object;
|
|
@@ -14,6 +14,7 @@ export declare class CreateMCPFromIntegrationRequest implements i.CreateMCPFromI
|
|
|
14
14
|
namespace: Namespace;
|
|
15
15
|
mcpId: string;
|
|
16
16
|
connectionId: string;
|
|
17
|
+
sourcePath: string;
|
|
17
18
|
static fromProto(proto: any): CreateMCPFromIntegrationRequest;
|
|
18
19
|
constructor(kwargs?: i.CreateMCPFromIntegrationRequestInterface);
|
|
19
20
|
toApiJson(): object;
|
|
@@ -46,6 +47,7 @@ export declare class Function implements i.FunctionInterface {
|
|
|
46
47
|
authStrategy: FunctionAuthStrategy;
|
|
47
48
|
mcpId: string;
|
|
48
49
|
constraints: Constraint[];
|
|
50
|
+
sourcePath: string;
|
|
49
51
|
static fromProto(proto: any): Function;
|
|
50
52
|
constructor(kwargs?: i.FunctionInterface);
|
|
51
53
|
toApiJson(): object;
|
|
@@ -128,6 +130,7 @@ export declare class MCP implements i.MCPInterface {
|
|
|
128
130
|
url: string;
|
|
129
131
|
namespace: Namespace;
|
|
130
132
|
authStrategy: FunctionAuthStrategy;
|
|
133
|
+
sourcePath: string;
|
|
131
134
|
static fromProto(proto: any): MCP;
|
|
132
135
|
constructor(kwargs?: i.MCPInterface);
|
|
133
136
|
toApiJson(): object;
|
|
@@ -149,6 +152,7 @@ export declare class UpsertMCPRequest implements i.UpsertMCPRequestInterface {
|
|
|
149
152
|
mcpId: string;
|
|
150
153
|
functions: Function[];
|
|
151
154
|
authStrategy: FunctionAuthStrategy;
|
|
155
|
+
sourcePath: string;
|
|
152
156
|
static fromProto(proto: any): UpsertMCPRequest;
|
|
153
157
|
constructor(kwargs?: i.UpsertMCPRequestInterface);
|
|
154
158
|
toApiJson(): object;
|
|
@@ -11,6 +11,7 @@ export declare class PromptModule implements i.PromptModuleInterface {
|
|
|
11
11
|
updated: Date;
|
|
12
12
|
deployed: Date;
|
|
13
13
|
managed: boolean;
|
|
14
|
+
sourcePath: string;
|
|
14
15
|
static fromProto(proto: any): PromptModule;
|
|
15
16
|
constructor(kwargs?: i.PromptModuleInterface);
|
|
16
17
|
toApiJson(): object;
|