@wildix/wim-tools-client 0.0.4 → 0.0.5
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/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/Tools.d.ts +1 -0
- package/dist-types/commands/AddToolCommand.d.ts +1 -1
- package/dist-types/commands/DeleteToolCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteToolCommand.d.ts +1 -1
- package/dist-types/commands/GetToolCommand.d.ts +1 -1
- package/dist-types/commands/ListToolsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateToolCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +12 -12
- package/package.json +1 -1
|
@@ -66,7 +66,7 @@ const se_GetToolCommand = async (input, context) => {
|
|
|
66
66
|
b.bp("/v1/tools/{toolId}");
|
|
67
67
|
b.p('toolId', () => input.toolId, '{toolId}', false);
|
|
68
68
|
const query = (0, smithy_client_1.map)({
|
|
69
|
-
[_c]: [,
|
|
69
|
+
[_c]: [, input[_c]],
|
|
70
70
|
});
|
|
71
71
|
let body;
|
|
72
72
|
b.m("GET")
|
|
@@ -81,7 +81,7 @@ const se_ListToolsCommand = async (input, context) => {
|
|
|
81
81
|
const headers = {};
|
|
82
82
|
b.bp("/v1/tools");
|
|
83
83
|
const query = (0, smithy_client_1.map)({
|
|
84
|
-
[_c]: [,
|
|
84
|
+
[_c]: [, input[_c]],
|
|
85
85
|
[_f]: [, input[_f]],
|
|
86
86
|
});
|
|
87
87
|
let body;
|
|
@@ -60,7 +60,7 @@ export const se_GetToolCommand = async (input, context) => {
|
|
|
60
60
|
b.bp("/v1/tools/{toolId}");
|
|
61
61
|
b.p('toolId', () => input.toolId, '{toolId}', false);
|
|
62
62
|
const query = map({
|
|
63
|
-
[_c]: [,
|
|
63
|
+
[_c]: [, input[_c]],
|
|
64
64
|
});
|
|
65
65
|
let body;
|
|
66
66
|
b.m("GET")
|
|
@@ -74,7 +74,7 @@ export const se_ListToolsCommand = async (input, context) => {
|
|
|
74
74
|
const headers = {};
|
|
75
75
|
b.bp("/v1/tools");
|
|
76
76
|
const query = map({
|
|
77
|
-
[_c]: [,
|
|
77
|
+
[_c]: [, input[_c]],
|
|
78
78
|
[_f]: [, input[_f]],
|
|
79
79
|
});
|
|
80
80
|
let body;
|
package/dist-types/Tools.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export interface Tools {
|
|
|
35
35
|
/**
|
|
36
36
|
* @see {@link ListToolsCommand}
|
|
37
37
|
*/
|
|
38
|
+
listTools(): Promise<ListToolsCommandOutput>;
|
|
38
39
|
listTools(args: ListToolsCommandInput, options?: __HttpHandlerOptions): Promise<ListToolsCommandOutput>;
|
|
39
40
|
listTools(args: ListToolsCommandInput, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
40
41
|
listTools(args: ListToolsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListToolsCommandOutput) => void): void;
|
|
@@ -35,7 +35,7 @@ declare const AddToolCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, AddToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // AddToolInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* name: "STRING_VALUE", // required
|
|
40
40
|
* description: "STRING_VALUE", // required
|
|
41
41
|
* type: "EMAIL", // required
|
|
@@ -35,7 +35,7 @@ declare const DeleteToolCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, DeleteToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // DeleteToolInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* toolId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeleteToolCommand(input);
|
|
@@ -35,7 +35,7 @@ declare const ExecuteToolCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, ExecuteToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // ExecuteToolInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* toolId: "STRING_VALUE", // required
|
|
40
40
|
* parameters: "DOCUMENT_VALUE", // required
|
|
41
41
|
* context: { // ExecutionContext
|
|
@@ -35,7 +35,7 @@ declare const GetToolCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, GetToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // GetToolInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* toolId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetToolCommand(input);
|
|
@@ -23,7 +23,7 @@ export interface ListToolsCommandOutput extends ListToolsOutput, __MetadataBeare
|
|
|
23
23
|
}
|
|
24
24
|
declare const ListToolsCommand_base: {
|
|
25
25
|
new (input: ListToolsCommandInput): import("@smithy/smithy-client").CommandImpl<ListToolsCommandInput, ListToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (...[input]: [] | [ListToolsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListToolsCommandInput, ListToolsCommandOutput, ToolsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -35,7 +35,7 @@ declare const ListToolsCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, ListToolsCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // ListToolsInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* format: "STRING_VALUE",
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListToolsCommand(input);
|
|
@@ -35,7 +35,7 @@ declare const UpdateToolCommand_base: {
|
|
|
35
35
|
* // const { ToolsClient, UpdateToolCommand } = require("@wildix/wim-tools-client"); // CommonJS import
|
|
36
36
|
* const client = new ToolsClient(config);
|
|
37
37
|
* const input = { // UpdateToolInput
|
|
38
|
-
* company: "STRING_VALUE",
|
|
38
|
+
* company: "STRING_VALUE",
|
|
39
39
|
* toolId: "STRING_VALUE", // required
|
|
40
40
|
* name: "STRING_VALUE",
|
|
41
41
|
* description: "STRING_VALUE",
|
|
@@ -31,10 +31,10 @@ export type ToolType = typeof ToolType[keyof typeof ToolType];
|
|
|
31
31
|
*/
|
|
32
32
|
export interface AddToolInput {
|
|
33
33
|
/**
|
|
34
|
-
* Company that owns the tool
|
|
34
|
+
* Company that owns the tool (optional, derived from auth context)
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
|
-
company
|
|
37
|
+
company?: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* Tool name for LLM
|
|
40
40
|
* @public
|
|
@@ -168,10 +168,10 @@ export declare class ToolNotFoundException extends __BaseException {
|
|
|
168
168
|
*/
|
|
169
169
|
export interface DeleteToolInput {
|
|
170
170
|
/**
|
|
171
|
-
* Company that owns the tool
|
|
171
|
+
* Company that owns the tool (optional, derived from auth context)
|
|
172
172
|
* @public
|
|
173
173
|
*/
|
|
174
|
-
company
|
|
174
|
+
company?: string | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* Tool identifier
|
|
177
177
|
* @public
|
|
@@ -214,10 +214,10 @@ export interface ExecutionContext {
|
|
|
214
214
|
*/
|
|
215
215
|
export interface ExecuteToolInput {
|
|
216
216
|
/**
|
|
217
|
-
* Company executing the tool
|
|
217
|
+
* Company executing the tool (optional, derived from auth context)
|
|
218
218
|
* @public
|
|
219
219
|
*/
|
|
220
|
-
company
|
|
220
|
+
company?: string | undefined;
|
|
221
221
|
/**
|
|
222
222
|
* Tool identifier
|
|
223
223
|
* @public
|
|
@@ -275,10 +275,10 @@ export interface ExecuteToolOutput {
|
|
|
275
275
|
*/
|
|
276
276
|
export interface GetToolInput {
|
|
277
277
|
/**
|
|
278
|
-
* Company identifier
|
|
278
|
+
* Company identifier (optional, derived from auth context)
|
|
279
279
|
* @public
|
|
280
280
|
*/
|
|
281
|
-
company
|
|
281
|
+
company?: string | undefined;
|
|
282
282
|
/**
|
|
283
283
|
* Tool identifier
|
|
284
284
|
* @public
|
|
@@ -300,10 +300,10 @@ export interface GetToolOutput {
|
|
|
300
300
|
*/
|
|
301
301
|
export interface ListToolsInput {
|
|
302
302
|
/**
|
|
303
|
-
* Company identifier
|
|
303
|
+
* Company identifier (optional, derived from auth context)
|
|
304
304
|
* @public
|
|
305
305
|
*/
|
|
306
|
-
company
|
|
306
|
+
company?: string | undefined;
|
|
307
307
|
/**
|
|
308
308
|
* Return in LLM-compatible format
|
|
309
309
|
* @public
|
|
@@ -392,10 +392,10 @@ export interface TestEndpointOutput {
|
|
|
392
392
|
*/
|
|
393
393
|
export interface UpdateToolInput {
|
|
394
394
|
/**
|
|
395
|
-
* Company that owns the tool
|
|
395
|
+
* Company that owns the tool (optional, derived from auth context)
|
|
396
396
|
* @public
|
|
397
397
|
*/
|
|
398
|
-
company
|
|
398
|
+
company?: string | undefined;
|
|
399
399
|
/**
|
|
400
400
|
* Tool identifier
|
|
401
401
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wim-tools-client",
|
|
3
3
|
"description": "@wildix/wim-tools-client client",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|