@wildix/wim-tools-client 0.0.12 → 0.0.14
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 +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateToolCommand.d.ts +2 -2
- package/dist-types/commands/DescribeToolsCommand.d.ts +0 -1
- package/dist-types/commands/GetToolCommand.d.ts +1 -1
- package/dist-types/commands/ListToolsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateToolCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +3 -1
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ const se_CreateToolCommand = async (input, context) => {
|
|
|
17
17
|
});
|
|
18
18
|
let body;
|
|
19
19
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
20
|
+
'category': [],
|
|
20
21
|
'description': [],
|
|
21
22
|
'handler': _ => se_ToolHandler(_, context),
|
|
22
23
|
'input': _ => (0, smithy_client_1._json)(_),
|
|
@@ -129,6 +130,7 @@ const se_UpdateToolCommand = async (input, context) => {
|
|
|
129
130
|
});
|
|
130
131
|
let body;
|
|
131
132
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
133
|
+
'category': [],
|
|
132
134
|
'description': [],
|
|
133
135
|
'handler': _ => se_ToolHandler(_, context),
|
|
134
136
|
'input': _ => (0, smithy_client_1._json)(_),
|
|
@@ -363,6 +365,7 @@ const de_Document = (output, context) => {
|
|
|
363
365
|
};
|
|
364
366
|
const de_Tool = (output, context) => {
|
|
365
367
|
return (0, smithy_client_1.take)(output, {
|
|
368
|
+
'category': smithy_client_1.expectString,
|
|
366
369
|
'company': smithy_client_1.expectString,
|
|
367
370
|
'description': smithy_client_1.expectString,
|
|
368
371
|
'handler': (_) => de_ToolHandler((0, core_1.awsExpectUnion)(_), context),
|
|
@@ -14,6 +14,7 @@ export const se_CreateToolCommand = async (input, context) => {
|
|
|
14
14
|
});
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify(take(input, {
|
|
17
|
+
'category': [],
|
|
17
18
|
'description': [],
|
|
18
19
|
'handler': _ => se_ToolHandler(_, context),
|
|
19
20
|
'input': _ => _json(_),
|
|
@@ -120,6 +121,7 @@ export const se_UpdateToolCommand = async (input, context) => {
|
|
|
120
121
|
});
|
|
121
122
|
let body;
|
|
122
123
|
body = JSON.stringify(take(input, {
|
|
124
|
+
'category': [],
|
|
123
125
|
'description': [],
|
|
124
126
|
'handler': _ => se_ToolHandler(_, context),
|
|
125
127
|
'input': _ => _json(_),
|
|
@@ -346,6 +348,7 @@ const de_Document = (output, context) => {
|
|
|
346
348
|
};
|
|
347
349
|
const de_Tool = (output, context) => {
|
|
348
350
|
return take(output, {
|
|
351
|
+
'category': __expectString,
|
|
349
352
|
'company': __expectString,
|
|
350
353
|
'description': __expectString,
|
|
351
354
|
'handler': (_) => de_ToolHandler(__expectUnion(_), context),
|
|
@@ -38,13 +38,13 @@ declare const CreateToolCommand_base: {
|
|
|
38
38
|
* const input = { // CreateToolInput
|
|
39
39
|
* company: "STRING_VALUE",
|
|
40
40
|
* name: "STRING_VALUE", // required
|
|
41
|
+
* category: "STRING_VALUE",
|
|
41
42
|
* description: "STRING_VALUE",
|
|
42
43
|
* input: { // ToolInput
|
|
43
44
|
* variables: [ // ToolVariableList // required
|
|
44
45
|
* { // ToolVariable
|
|
45
46
|
* name: "STRING_VALUE", // required
|
|
46
47
|
* type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
47
|
-
* description: "STRING_VALUE", // required
|
|
48
48
|
* required: true || false,
|
|
49
49
|
* },
|
|
50
50
|
* ],
|
|
@@ -144,13 +144,13 @@ declare const CreateToolCommand_base: {
|
|
|
144
144
|
* // id: "STRING_VALUE", // required
|
|
145
145
|
* // company: "STRING_VALUE", // required
|
|
146
146
|
* // name: "STRING_VALUE", // required
|
|
147
|
+
* // category: "STRING_VALUE",
|
|
147
148
|
* // description: "STRING_VALUE",
|
|
148
149
|
* // input: { // ToolInput
|
|
149
150
|
* // variables: [ // ToolVariableList // required
|
|
150
151
|
* // { // ToolVariable
|
|
151
152
|
* // name: "STRING_VALUE", // required
|
|
152
153
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
153
|
-
* // description: "STRING_VALUE", // required
|
|
154
154
|
* // required: true || false,
|
|
155
155
|
* // },
|
|
156
156
|
* // ],
|
|
@@ -53,7 +53,6 @@ declare const DescribeToolsCommand_base: {
|
|
|
53
53
|
* // { // ToolVariable
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
56
|
-
* // description: "STRING_VALUE", // required
|
|
57
56
|
* // required: true || false,
|
|
58
57
|
* // },
|
|
59
58
|
* // ],
|
|
@@ -46,13 +46,13 @@ declare const GetToolCommand_base: {
|
|
|
46
46
|
* // id: "STRING_VALUE", // required
|
|
47
47
|
* // company: "STRING_VALUE", // required
|
|
48
48
|
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // category: "STRING_VALUE",
|
|
49
50
|
* // description: "STRING_VALUE",
|
|
50
51
|
* // input: { // ToolInput
|
|
51
52
|
* // variables: [ // ToolVariableList // required
|
|
52
53
|
* // { // ToolVariable
|
|
53
54
|
* // name: "STRING_VALUE", // required
|
|
54
55
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
55
|
-
* // description: "STRING_VALUE", // required
|
|
56
56
|
* // required: true || false,
|
|
57
57
|
* // },
|
|
58
58
|
* // ],
|
|
@@ -46,13 +46,13 @@ declare const ListToolsCommand_base: {
|
|
|
46
46
|
* // id: "STRING_VALUE", // required
|
|
47
47
|
* // company: "STRING_VALUE", // required
|
|
48
48
|
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // category: "STRING_VALUE",
|
|
49
50
|
* // description: "STRING_VALUE",
|
|
50
51
|
* // input: { // ToolInput
|
|
51
52
|
* // variables: [ // ToolVariableList // required
|
|
52
53
|
* // { // ToolVariable
|
|
53
54
|
* // name: "STRING_VALUE", // required
|
|
54
55
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
55
|
-
* // description: "STRING_VALUE", // required
|
|
56
56
|
* // required: true || false,
|
|
57
57
|
* // },
|
|
58
58
|
* // ],
|
|
@@ -39,13 +39,13 @@ declare const UpdateToolCommand_base: {
|
|
|
39
39
|
* company: "STRING_VALUE",
|
|
40
40
|
* toolId: "STRING_VALUE", // required
|
|
41
41
|
* name: "STRING_VALUE", // required
|
|
42
|
+
* category: "STRING_VALUE",
|
|
42
43
|
* description: "STRING_VALUE",
|
|
43
44
|
* input: { // ToolInput
|
|
44
45
|
* variables: [ // ToolVariableList // required
|
|
45
46
|
* { // ToolVariable
|
|
46
47
|
* name: "STRING_VALUE", // required
|
|
47
48
|
* type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
48
|
-
* description: "STRING_VALUE", // required
|
|
49
49
|
* required: true || false,
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
@@ -145,13 +145,13 @@ declare const UpdateToolCommand_base: {
|
|
|
145
145
|
* // id: "STRING_VALUE", // required
|
|
146
146
|
* // company: "STRING_VALUE", // required
|
|
147
147
|
* // name: "STRING_VALUE", // required
|
|
148
|
+
* // category: "STRING_VALUE",
|
|
148
149
|
* // description: "STRING_VALUE",
|
|
149
150
|
* // input: { // ToolInput
|
|
150
151
|
* // variables: [ // ToolVariableList // required
|
|
151
152
|
* // { // ToolVariable
|
|
152
153
|
* // name: "STRING_VALUE", // required
|
|
153
154
|
* // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
|
|
154
|
-
* // description: "STRING_VALUE", // required
|
|
155
155
|
* // required: true || false,
|
|
156
156
|
* // },
|
|
157
157
|
* // ],
|
|
@@ -363,7 +363,6 @@ export type ToolVariableType = typeof ToolVariableType[keyof typeof ToolVariable
|
|
|
363
363
|
export interface ToolVariable {
|
|
364
364
|
name: string;
|
|
365
365
|
type: ToolVariableType;
|
|
366
|
-
description: string;
|
|
367
366
|
required?: boolean | undefined;
|
|
368
367
|
}
|
|
369
368
|
/**
|
|
@@ -378,6 +377,7 @@ export interface ToolInput {
|
|
|
378
377
|
export interface CreateToolInput {
|
|
379
378
|
company?: string | undefined;
|
|
380
379
|
name: string;
|
|
380
|
+
category?: string | undefined;
|
|
381
381
|
description?: string | undefined;
|
|
382
382
|
input: ToolInput;
|
|
383
383
|
handler: ToolHandler;
|
|
@@ -389,6 +389,7 @@ export interface Tool {
|
|
|
389
389
|
id: string;
|
|
390
390
|
company: string;
|
|
391
391
|
name: string;
|
|
392
|
+
category?: string | undefined;
|
|
392
393
|
description?: string | undefined;
|
|
393
394
|
input: ToolInput;
|
|
394
395
|
handler: ToolHandler;
|
|
@@ -505,6 +506,7 @@ export interface UpdateToolInput {
|
|
|
505
506
|
company?: string | undefined;
|
|
506
507
|
toolId: string;
|
|
507
508
|
name: string;
|
|
509
|
+
category?: string | undefined;
|
|
508
510
|
description?: string | undefined;
|
|
509
511
|
input: ToolInput;
|
|
510
512
|
handler: ToolHandler;
|
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.14",
|
|
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",
|