@wildix/xbees-conversations-client 1.0.18 → 1.0.20

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.
@@ -255,6 +255,9 @@ const de_DeleteChannelCommandError = async (output, context) => {
255
255
  };
256
256
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
257
257
  switch (errorCode) {
258
+ case "ChannelNotFoundException":
259
+ case "wildix.xbees.conversations#ChannelNotFoundException":
260
+ throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
258
261
  case "ValidationException":
259
262
  case "smithy.framework#ValidationException":
260
263
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -241,6 +241,9 @@ const de_DeleteChannelCommandError = async (output, context) => {
241
241
  };
242
242
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
243
243
  switch (errorCode) {
244
+ case "ChannelNotFoundException":
245
+ case "wildix.xbees.conversations#ChannelNotFoundException":
246
+ throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
244
247
  case "ValidationException":
245
248
  case "smithy.framework#ValidationException":
246
249
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -44,6 +44,8 @@ export interface DeleteChannelCommandOutput extends DeleteChannelOutput, __Metad
44
44
  * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
45
45
  * @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
46
46
  *
47
+ * @throws {@link ChannelNotFoundException} (client fault)
48
+ *
47
49
  * @throws {@link ValidationException} (client fault)
48
50
  *
49
51
  * @throws {@link ConversationsServiceException}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.0.18",
4
+ "version": "1.0.20",
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",
@@ -17,7 +17,6 @@
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
- "tslib": "^2.5.0",
21
20
  "@aws-crypto/sha256-browser": "3.0.0",
22
21
  "@aws-crypto/sha256-js": "3.0.0",
23
22
  "@aws-sdk/types": "latest",
@@ -42,17 +41,18 @@
42
41
  "@smithy/util-defaults-mode-node": "^2.0.15",
43
42
  "@smithy/util-retry": "^2.0.3",
44
43
  "@smithy/util-utf8": "^2.0.0",
45
- "@wildix/smithy-utils": "latest"
44
+ "@wildix/smithy-utils": "latest",
45
+ "tslib": "^2.5.0"
46
46
  },
47
47
  "devDependencies": {
48
+ "@smithy/service-client-documentation-generator": "^2.0.0",
48
49
  "@tsconfig/node14": "1.0.3",
50
+ "@types/node": "^14.14.31",
49
51
  "concurrently": "7.0.0",
50
52
  "downlevel-dts": "0.10.1",
51
53
  "rimraf": "^3.0.0",
52
54
  "typedoc": "0.23.23",
53
- "typescript": "~4.9.5",
54
- "@smithy/service-client-documentation-generator": "^2.0.0",
55
- "@types/node": "^14.14.31"
55
+ "typescript": "~4.9.5"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=14.0.0"
@@ -73,5 +73,6 @@
73
73
  },
74
74
  "react-native": {
75
75
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
76
- }
77
- }
76
+ },
77
+ "gitHead": "272a3d0abc6d05ec40d3613908a26f49379fadc4"
78
+ }