@wildix/wim-tools-client 0.0.12 → 0.0.13

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.
@@ -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,6 +38,7 @@ 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
@@ -144,6 +145,7 @@ declare const CreateToolCommand_base: {
144
145
  * // id: "STRING_VALUE", // required
145
146
  * // company: "STRING_VALUE", // required
146
147
  * // name: "STRING_VALUE", // required
148
+ * // category: "STRING_VALUE",
147
149
  * // description: "STRING_VALUE",
148
150
  * // input: { // ToolInput
149
151
  * // variables: [ // ToolVariableList // required
@@ -46,6 +46,7 @@ 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
@@ -46,6 +46,7 @@ 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
@@ -39,6 +39,7 @@ 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
@@ -145,6 +146,7 @@ declare const UpdateToolCommand_base: {
145
146
  * // id: "STRING_VALUE", // required
146
147
  * // company: "STRING_VALUE", // required
147
148
  * // name: "STRING_VALUE", // required
149
+ * // category: "STRING_VALUE",
148
150
  * // description: "STRING_VALUE",
149
151
  * // input: { // ToolInput
150
152
  * // variables: [ // ToolVariableList // required
@@ -378,6 +378,7 @@ export interface ToolInput {
378
378
  export interface CreateToolInput {
379
379
  company?: string | undefined;
380
380
  name: string;
381
+ category?: string | undefined;
381
382
  description?: string | undefined;
382
383
  input: ToolInput;
383
384
  handler: ToolHandler;
@@ -389,6 +390,7 @@ export interface Tool {
389
390
  id: string;
390
391
  company: string;
391
392
  name: string;
393
+ category?: string | undefined;
392
394
  description?: string | undefined;
393
395
  input: ToolInput;
394
396
  handler: ToolHandler;
@@ -505,6 +507,7 @@ export interface UpdateToolInput {
505
507
  company?: string | undefined;
506
508
  toolId: string;
507
509
  name: string;
510
+ category?: string | undefined;
508
511
  description?: string | undefined;
509
512
  input: ToolInput;
510
513
  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.12",
4
+ "version": "0.0.13",
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",