@wildix/xbees-conversations-client 1.1.5 → 1.1.6

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.
@@ -1798,10 +1798,10 @@ const de_CommandError = async (output, context) => {
1798
1798
  case "wildix.xbees.conversations#TagsLimitReachedException":
1799
1799
  throw await de_TagsLimitReachedExceptionRes(parsedOutput, context);
1800
1800
  case "TargetNotEligibleException":
1801
- case "wildix.xbees.conversations#TargetNotEligibleException":
1801
+ case "wildix.xbees.kite#TargetNotEligibleException":
1802
1802
  throw await de_TargetNotEligibleExceptionRes(parsedOutput, context);
1803
1803
  case "TargetNotFoundException":
1804
- case "wildix.xbees.conversations#TargetNotFoundException":
1804
+ case "wildix.xbees.kite#TargetNotFoundException":
1805
1805
  throw await de_TargetNotFoundExceptionRes(parsedOutput, context);
1806
1806
  case "MemberNotFoundException":
1807
1807
  case "wildix.xbees.conversations#MemberNotFoundException":
@@ -2056,41 +2056,41 @@ const de_TagsLimitReachedExceptionRes = async (parsedOutput, context) => {
2056
2056
  });
2057
2057
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2058
2058
  };
2059
- const de_TargetNotEligibleExceptionRes = async (parsedOutput, context) => {
2059
+ const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
2060
2060
  const contents = (0, smithy_client_1.map)({});
2061
2061
  const data = parsedOutput.body;
2062
2062
  const doc = (0, smithy_client_1.take)(data, {
2063
2063
  'message': smithy_client_1.expectString,
2064
- 'reason': smithy_client_1.expectString,
2065
2064
  });
2066
2065
  Object.assign(contents, doc);
2067
- const exception = new models_0_1.TargetNotEligibleException({
2066
+ const exception = new models_0_1.TriggerNotFoundException({
2068
2067
  $metadata: deserializeMetadata(parsedOutput),
2069
2068
  ...contents
2070
2069
  });
2071
2070
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2072
2071
  };
2073
- const de_TargetNotFoundExceptionRes = async (parsedOutput, context) => {
2072
+ const de_TargetNotEligibleExceptionRes = async (parsedOutput, context) => {
2074
2073
  const contents = (0, smithy_client_1.map)({});
2075
2074
  const data = parsedOutput.body;
2076
2075
  const doc = (0, smithy_client_1.take)(data, {
2077
2076
  'message': smithy_client_1.expectString,
2077
+ 'reason': smithy_client_1.expectString,
2078
2078
  });
2079
2079
  Object.assign(contents, doc);
2080
- const exception = new models_0_1.TargetNotFoundException({
2080
+ const exception = new models_0_1.TargetNotEligibleException({
2081
2081
  $metadata: deserializeMetadata(parsedOutput),
2082
2082
  ...contents
2083
2083
  });
2084
2084
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2085
2085
  };
2086
- const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
2086
+ const de_TargetNotFoundExceptionRes = async (parsedOutput, context) => {
2087
2087
  const contents = (0, smithy_client_1.map)({});
2088
2088
  const data = parsedOutput.body;
2089
2089
  const doc = (0, smithy_client_1.take)(data, {
2090
2090
  'message': smithy_client_1.expectString,
2091
2091
  });
2092
2092
  Object.assign(contents, doc);
2093
- const exception = new models_0_1.TriggerNotFoundException({
2093
+ const exception = new models_0_1.TargetNotFoundException({
2094
2094
  $metadata: deserializeMetadata(parsedOutput),
2095
2095
  ...contents
2096
2096
  });
@@ -1685,10 +1685,10 @@ const de_CommandError = async (output, context) => {
1685
1685
  case "wildix.xbees.conversations#TagsLimitReachedException":
1686
1686
  throw await de_TagsLimitReachedExceptionRes(parsedOutput, context);
1687
1687
  case "TargetNotEligibleException":
1688
- case "wildix.xbees.conversations#TargetNotEligibleException":
1688
+ case "wildix.xbees.kite#TargetNotEligibleException":
1689
1689
  throw await de_TargetNotEligibleExceptionRes(parsedOutput, context);
1690
1690
  case "TargetNotFoundException":
1691
- case "wildix.xbees.conversations#TargetNotFoundException":
1691
+ case "wildix.xbees.kite#TargetNotFoundException":
1692
1692
  throw await de_TargetNotFoundExceptionRes(parsedOutput, context);
1693
1693
  case "MemberNotFoundException":
1694
1694
  case "wildix.xbees.conversations#MemberNotFoundException":
@@ -1943,41 +1943,41 @@ const de_TagsLimitReachedExceptionRes = async (parsedOutput, context) => {
1943
1943
  });
1944
1944
  return __decorateServiceException(exception, parsedOutput.body);
1945
1945
  };
1946
- const de_TargetNotEligibleExceptionRes = async (parsedOutput, context) => {
1946
+ const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
1947
1947
  const contents = map({});
1948
1948
  const data = parsedOutput.body;
1949
1949
  const doc = take(data, {
1950
1950
  'message': __expectString,
1951
- 'reason': __expectString,
1952
1951
  });
1953
1952
  Object.assign(contents, doc);
1954
- const exception = new TargetNotEligibleException({
1953
+ const exception = new TriggerNotFoundException({
1955
1954
  $metadata: deserializeMetadata(parsedOutput),
1956
1955
  ...contents
1957
1956
  });
1958
1957
  return __decorateServiceException(exception, parsedOutput.body);
1959
1958
  };
1960
- const de_TargetNotFoundExceptionRes = async (parsedOutput, context) => {
1959
+ const de_TargetNotEligibleExceptionRes = async (parsedOutput, context) => {
1961
1960
  const contents = map({});
1962
1961
  const data = parsedOutput.body;
1963
1962
  const doc = take(data, {
1964
1963
  'message': __expectString,
1964
+ 'reason': __expectString,
1965
1965
  });
1966
1966
  Object.assign(contents, doc);
1967
- const exception = new TargetNotFoundException({
1967
+ const exception = new TargetNotEligibleException({
1968
1968
  $metadata: deserializeMetadata(parsedOutput),
1969
1969
  ...contents
1970
1970
  });
1971
1971
  return __decorateServiceException(exception, parsedOutput.body);
1972
1972
  };
1973
- const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
1973
+ const de_TargetNotFoundExceptionRes = async (parsedOutput, context) => {
1974
1974
  const contents = map({});
1975
1975
  const data = parsedOutput.body;
1976
1976
  const doc = take(data, {
1977
1977
  'message': __expectString,
1978
1978
  });
1979
1979
  Object.assign(contents, doc);
1980
- const exception = new TriggerNotFoundException({
1980
+ const exception = new TargetNotFoundException({
1981
1981
  $metadata: deserializeMetadata(parsedOutput),
1982
1982
  ...contents
1983
1983
  });
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.1.5",
4
+ "version": "1.1.6",
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",