@wildix/wim-tools-client 0.0.16 → 0.0.17
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/models/models_0.js +14 -14
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-types/commands/ExecuteToolCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +9 -10
- package/package.json +1 -1
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ToolExecutionException = exports.ToolVariableType = exports.ToolHandler = exports.ToolMcpTransport = exports.ToolAuthorizationType = exports.ToolEmailHandler = exports.ToolChatHandler = exports.ToolStringValue = exports.
|
|
3
|
+
exports.ToolExecutionException = exports.ToolVariableType = exports.ToolHandler = exports.ToolMcpTransport = exports.ToolAuthorizationType = exports.ToolEmailHandler = exports.ToolChatHandler = exports.ToolStringValue = exports.ValidationException = exports.NotFoundException = exports.AlreadyExistException = void 0;
|
|
4
4
|
const ToolsServiceException_1 = require("./ToolsServiceException");
|
|
5
|
+
class AlreadyExistException extends ToolsServiceException_1.ToolsServiceException {
|
|
6
|
+
name = "AlreadyExistException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AlreadyExistException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AlreadyExistException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AlreadyExistException = AlreadyExistException;
|
|
5
18
|
class NotFoundException extends ToolsServiceException_1.ToolsServiceException {
|
|
6
19
|
name = "NotFoundException";
|
|
7
20
|
$fault = "client";
|
|
@@ -28,19 +41,6 @@ class ValidationException extends ToolsServiceException_1.ToolsServiceException
|
|
|
28
41
|
}
|
|
29
42
|
}
|
|
30
43
|
exports.ValidationException = ValidationException;
|
|
31
|
-
class AlreadyExistException extends ToolsServiceException_1.ToolsServiceException {
|
|
32
|
-
name = "AlreadyExistException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "AlreadyExistException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, AlreadyExistException.prototype);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.AlreadyExistException = AlreadyExistException;
|
|
44
44
|
var ToolStringValue;
|
|
45
45
|
(function (ToolStringValue) {
|
|
46
46
|
ToolStringValue.visit = (value, visitor) => {
|
|
@@ -196,7 +196,6 @@ const de_ExecuteToolCommand = async (output, context) => {
|
|
|
196
196
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
197
197
|
const doc = (0, smithy_client_1.take)(data, {
|
|
198
198
|
'result': _ => de_ToolExecutionResult(_, context),
|
|
199
|
-
'traceId': smithy_client_1.expectString,
|
|
200
199
|
});
|
|
201
200
|
Object.assign(contents, doc);
|
|
202
201
|
return contents;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ToolsServiceException as __BaseException } from "./ToolsServiceException";
|
|
2
|
-
export class
|
|
3
|
-
name = "
|
|
2
|
+
export class AlreadyExistException extends __BaseException {
|
|
3
|
+
name = "AlreadyExistException";
|
|
4
4
|
$fault = "client";
|
|
5
5
|
constructor(opts) {
|
|
6
6
|
super({
|
|
7
|
-
name: "
|
|
7
|
+
name: "AlreadyExistException",
|
|
8
8
|
$fault: "client",
|
|
9
9
|
...opts
|
|
10
10
|
});
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, AlreadyExistException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
15
|
-
name = "
|
|
14
|
+
export class NotFoundException extends __BaseException {
|
|
15
|
+
name = "NotFoundException";
|
|
16
16
|
$fault = "client";
|
|
17
17
|
constructor(opts) {
|
|
18
18
|
super({
|
|
19
|
-
name: "
|
|
19
|
+
name: "NotFoundException",
|
|
20
20
|
$fault: "client",
|
|
21
21
|
...opts
|
|
22
22
|
});
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
23
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
export class
|
|
27
|
-
name = "
|
|
26
|
+
export class ValidationException extends __BaseException {
|
|
27
|
+
name = "ValidationException";
|
|
28
28
|
$fault = "client";
|
|
29
29
|
constructor(opts) {
|
|
30
30
|
super({
|
|
31
|
-
name: "
|
|
31
|
+
name: "ValidationException",
|
|
32
32
|
$fault: "client",
|
|
33
33
|
...opts
|
|
34
34
|
});
|
|
35
|
-
Object.setPrototypeOf(this,
|
|
35
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export var ToolStringValue;
|
|
@@ -183,7 +183,6 @@ export const de_ExecuteToolCommand = async (output, context) => {
|
|
|
183
183
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
184
184
|
const doc = take(data, {
|
|
185
185
|
'result': _ => de_ToolExecutionResult(_, context),
|
|
186
|
-
'traceId': __expectString,
|
|
187
186
|
});
|
|
188
187
|
Object.assign(contents, doc);
|
|
189
188
|
return contents;
|
|
@@ -4,35 +4,35 @@ import { DocumentType as __DocumentType } from "@smithy/types";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
8
|
-
readonly name: "
|
|
7
|
+
export declare class AlreadyExistException extends __BaseException {
|
|
8
|
+
readonly name: "AlreadyExistException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
10
|
/**
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistException, __BaseException>);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
export declare class
|
|
19
|
-
readonly name: "
|
|
18
|
+
export declare class NotFoundException extends __BaseException {
|
|
19
|
+
readonly name: "NotFoundException";
|
|
20
20
|
readonly $fault: "client";
|
|
21
21
|
/**
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
|
-
constructor(opts: __ExceptionOptionType<
|
|
24
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
|
-
export declare class
|
|
30
|
-
readonly name: "
|
|
29
|
+
export declare class ValidationException extends __BaseException {
|
|
30
|
+
readonly name: "ValidationException";
|
|
31
31
|
readonly $fault: "client";
|
|
32
32
|
/**
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
35
|
-
constructor(opts: __ExceptionOptionType<
|
|
35
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @public
|
|
@@ -475,7 +475,6 @@ export interface ToolExecutionResult {
|
|
|
475
475
|
*/
|
|
476
476
|
export interface ExecuteToolOutput {
|
|
477
477
|
result: ToolExecutionResult;
|
|
478
|
-
traceId: string;
|
|
479
478
|
}
|
|
480
479
|
/**
|
|
481
480
|
* @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.17",
|
|
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",
|