@aws-sdk/client-lex-models-v2 3.583.0 → 3.587.0

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/index.js CHANGED
@@ -1950,13 +1950,13 @@ var se_ListIntentMetricsCommand = /* @__PURE__ */ __name(async (input, context)
1950
1950
  body = JSON.stringify(
1951
1951
  (0, import_smithy_client.take)(input, {
1952
1952
  binBy: (_) => (0, import_smithy_client._json)(_),
1953
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
1953
+ endDateTime: (_) => _.getTime() / 1e3,
1954
1954
  filters: (_) => (0, import_smithy_client._json)(_),
1955
1955
  groupBy: (_) => (0, import_smithy_client._json)(_),
1956
1956
  maxResults: [],
1957
1957
  metrics: (_) => (0, import_smithy_client._json)(_),
1958
1958
  nextToken: [],
1959
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
1959
+ startDateTime: (_) => _.getTime() / 1e3
1960
1960
  })
1961
1961
  );
1962
1962
  b.m("POST").h(headers).b(body);
@@ -1972,10 +1972,10 @@ var se_ListIntentPathsCommand = /* @__PURE__ */ __name(async (input, context) =>
1972
1972
  let body;
1973
1973
  body = JSON.stringify(
1974
1974
  (0, import_smithy_client.take)(input, {
1975
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
1975
+ endDateTime: (_) => _.getTime() / 1e3,
1976
1976
  filters: (_) => (0, import_smithy_client._json)(_),
1977
1977
  intentPath: [],
1978
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
1978
+ startDateTime: (_) => _.getTime() / 1e3
1979
1979
  })
1980
1980
  );
1981
1981
  b.m("POST").h(headers).b(body);
@@ -2013,13 +2013,13 @@ var se_ListIntentStageMetricsCommand = /* @__PURE__ */ __name(async (input, cont
2013
2013
  body = JSON.stringify(
2014
2014
  (0, import_smithy_client.take)(input, {
2015
2015
  binBy: (_) => (0, import_smithy_client._json)(_),
2016
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
2016
+ endDateTime: (_) => _.getTime() / 1e3,
2017
2017
  filters: (_) => (0, import_smithy_client._json)(_),
2018
2018
  groupBy: (_) => (0, import_smithy_client._json)(_),
2019
2019
  maxResults: [],
2020
2020
  metrics: (_) => (0, import_smithy_client._json)(_),
2021
2021
  nextToken: [],
2022
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
2022
+ startDateTime: (_) => _.getTime() / 1e3
2023
2023
  })
2024
2024
  );
2025
2025
  b.m("POST").h(headers).b(body);
@@ -2055,12 +2055,12 @@ var se_ListSessionAnalyticsDataCommand = /* @__PURE__ */ __name(async (input, co
2055
2055
  let body;
2056
2056
  body = JSON.stringify(
2057
2057
  (0, import_smithy_client.take)(input, {
2058
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
2058
+ endDateTime: (_) => _.getTime() / 1e3,
2059
2059
  filters: (_) => (0, import_smithy_client._json)(_),
2060
2060
  maxResults: [],
2061
2061
  nextToken: [],
2062
2062
  sortBy: (_) => (0, import_smithy_client._json)(_),
2063
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
2063
+ startDateTime: (_) => _.getTime() / 1e3
2064
2064
  })
2065
2065
  );
2066
2066
  b.m("POST").h(headers).b(body);
@@ -2077,13 +2077,13 @@ var se_ListSessionMetricsCommand = /* @__PURE__ */ __name(async (input, context)
2077
2077
  body = JSON.stringify(
2078
2078
  (0, import_smithy_client.take)(input, {
2079
2079
  binBy: (_) => (0, import_smithy_client._json)(_),
2080
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
2080
+ endDateTime: (_) => _.getTime() / 1e3,
2081
2081
  filters: (_) => (0, import_smithy_client._json)(_),
2082
2082
  groupBy: (_) => (0, import_smithy_client._json)(_),
2083
2083
  maxResults: [],
2084
2084
  metrics: (_) => (0, import_smithy_client._json)(_),
2085
2085
  nextToken: [],
2086
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
2086
+ startDateTime: (_) => _.getTime() / 1e3
2087
2087
  })
2088
2088
  );
2089
2089
  b.m("POST").h(headers).b(body);
@@ -2220,12 +2220,12 @@ var se_ListUtteranceAnalyticsDataCommand = /* @__PURE__ */ __name(async (input,
2220
2220
  let body;
2221
2221
  body = JSON.stringify(
2222
2222
  (0, import_smithy_client.take)(input, {
2223
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
2223
+ endDateTime: (_) => _.getTime() / 1e3,
2224
2224
  filters: (_) => (0, import_smithy_client._json)(_),
2225
2225
  maxResults: [],
2226
2226
  nextToken: [],
2227
2227
  sortBy: (_) => (0, import_smithy_client._json)(_),
2228
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
2228
+ startDateTime: (_) => _.getTime() / 1e3
2229
2229
  })
2230
2230
  );
2231
2231
  b.m("POST").h(headers).b(body);
@@ -2243,13 +2243,13 @@ var se_ListUtteranceMetricsCommand = /* @__PURE__ */ __name(async (input, contex
2243
2243
  (0, import_smithy_client.take)(input, {
2244
2244
  attributes: (_) => (0, import_smithy_client._json)(_),
2245
2245
  binBy: (_) => (0, import_smithy_client._json)(_),
2246
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
2246
+ endDateTime: (_) => _.getTime() / 1e3,
2247
2247
  filters: (_) => (0, import_smithy_client._json)(_),
2248
2248
  groupBy: (_) => (0, import_smithy_client._json)(_),
2249
2249
  maxResults: [],
2250
2250
  metrics: (_) => (0, import_smithy_client._json)(_),
2251
2251
  nextToken: [],
2252
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
2252
+ startDateTime: (_) => _.getTime() / 1e3
2253
2253
  })
2254
2254
  );
2255
2255
  b.m("POST").h(headers).b(body);
@@ -4735,15 +4735,15 @@ var se_ConversationLogsDataSource = /* @__PURE__ */ __name((input, context) => {
4735
4735
  }, "se_ConversationLogsDataSource");
4736
4736
  var se_ConversationLogsDataSourceFilterBy = /* @__PURE__ */ __name((input, context) => {
4737
4737
  return (0, import_smithy_client.take)(input, {
4738
- endTime: (_) => Math.round(_.getTime() / 1e3),
4738
+ endTime: (_) => _.getTime() / 1e3,
4739
4739
  inputMode: [],
4740
- startTime: (_) => Math.round(_.getTime() / 1e3)
4740
+ startTime: (_) => _.getTime() / 1e3
4741
4741
  });
4742
4742
  }, "se_ConversationLogsDataSourceFilterBy");
4743
4743
  var se_DateRangeFilter = /* @__PURE__ */ __name((input, context) => {
4744
4744
  return (0, import_smithy_client.take)(input, {
4745
- endDateTime: (_) => Math.round(_.getTime() / 1e3),
4746
- startDateTime: (_) => Math.round(_.getTime() / 1e3)
4745
+ endDateTime: (_) => _.getTime() / 1e3,
4746
+ startDateTime: (_) => _.getTime() / 1e3
4747
4747
  });
4748
4748
  }, "se_DateRangeFilter");
4749
4749
  var se_DefaultConditionalBranch = /* @__PURE__ */ __name((input, context) => {
@@ -944,13 +944,13 @@ export const se_ListIntentMetricsCommand = async (input, context) => {
944
944
  let body;
945
945
  body = JSON.stringify(take(input, {
946
946
  binBy: (_) => _json(_),
947
- endDateTime: (_) => Math.round(_.getTime() / 1000),
947
+ endDateTime: (_) => _.getTime() / 1000,
948
948
  filters: (_) => _json(_),
949
949
  groupBy: (_) => _json(_),
950
950
  maxResults: [],
951
951
  metrics: (_) => _json(_),
952
952
  nextToken: [],
953
- startDateTime: (_) => Math.round(_.getTime() / 1000),
953
+ startDateTime: (_) => _.getTime() / 1000,
954
954
  }));
955
955
  b.m("POST").h(headers).b(body);
956
956
  return b.build();
@@ -964,10 +964,10 @@ export const se_ListIntentPathsCommand = async (input, context) => {
964
964
  b.p("botId", () => input.botId, "{botId}", false);
965
965
  let body;
966
966
  body = JSON.stringify(take(input, {
967
- endDateTime: (_) => Math.round(_.getTime() / 1000),
967
+ endDateTime: (_) => _.getTime() / 1000,
968
968
  filters: (_) => _json(_),
969
969
  intentPath: [],
970
- startDateTime: (_) => Math.round(_.getTime() / 1000),
970
+ startDateTime: (_) => _.getTime() / 1000,
971
971
  }));
972
972
  b.m("POST").h(headers).b(body);
973
973
  return b.build();
@@ -1001,13 +1001,13 @@ export const se_ListIntentStageMetricsCommand = async (input, context) => {
1001
1001
  let body;
1002
1002
  body = JSON.stringify(take(input, {
1003
1003
  binBy: (_) => _json(_),
1004
- endDateTime: (_) => Math.round(_.getTime() / 1000),
1004
+ endDateTime: (_) => _.getTime() / 1000,
1005
1005
  filters: (_) => _json(_),
1006
1006
  groupBy: (_) => _json(_),
1007
1007
  maxResults: [],
1008
1008
  metrics: (_) => _json(_),
1009
1009
  nextToken: [],
1010
- startDateTime: (_) => Math.round(_.getTime() / 1000),
1010
+ startDateTime: (_) => _.getTime() / 1000,
1011
1011
  }));
1012
1012
  b.m("POST").h(headers).b(body);
1013
1013
  return b.build();
@@ -1039,12 +1039,12 @@ export const se_ListSessionAnalyticsDataCommand = async (input, context) => {
1039
1039
  b.p("botId", () => input.botId, "{botId}", false);
1040
1040
  let body;
1041
1041
  body = JSON.stringify(take(input, {
1042
- endDateTime: (_) => Math.round(_.getTime() / 1000),
1042
+ endDateTime: (_) => _.getTime() / 1000,
1043
1043
  filters: (_) => _json(_),
1044
1044
  maxResults: [],
1045
1045
  nextToken: [],
1046
1046
  sortBy: (_) => _json(_),
1047
- startDateTime: (_) => Math.round(_.getTime() / 1000),
1047
+ startDateTime: (_) => _.getTime() / 1000,
1048
1048
  }));
1049
1049
  b.m("POST").h(headers).b(body);
1050
1050
  return b.build();
@@ -1059,13 +1059,13 @@ export const se_ListSessionMetricsCommand = async (input, context) => {
1059
1059
  let body;
1060
1060
  body = JSON.stringify(take(input, {
1061
1061
  binBy: (_) => _json(_),
1062
- endDateTime: (_) => Math.round(_.getTime() / 1000),
1062
+ endDateTime: (_) => _.getTime() / 1000,
1063
1063
  filters: (_) => _json(_),
1064
1064
  groupBy: (_) => _json(_),
1065
1065
  maxResults: [],
1066
1066
  metrics: (_) => _json(_),
1067
1067
  nextToken: [],
1068
- startDateTime: (_) => Math.round(_.getTime() / 1000),
1068
+ startDateTime: (_) => _.getTime() / 1000,
1069
1069
  }));
1070
1070
  b.m("POST").h(headers).b(body);
1071
1071
  return b.build();
@@ -1188,12 +1188,12 @@ export const se_ListUtteranceAnalyticsDataCommand = async (input, context) => {
1188
1188
  b.p("botId", () => input.botId, "{botId}", false);
1189
1189
  let body;
1190
1190
  body = JSON.stringify(take(input, {
1191
- endDateTime: (_) => Math.round(_.getTime() / 1000),
1191
+ endDateTime: (_) => _.getTime() / 1000,
1192
1192
  filters: (_) => _json(_),
1193
1193
  maxResults: [],
1194
1194
  nextToken: [],
1195
1195
  sortBy: (_) => _json(_),
1196
- startDateTime: (_) => Math.round(_.getTime() / 1000),
1196
+ startDateTime: (_) => _.getTime() / 1000,
1197
1197
  }));
1198
1198
  b.m("POST").h(headers).b(body);
1199
1199
  return b.build();
@@ -1209,13 +1209,13 @@ export const se_ListUtteranceMetricsCommand = async (input, context) => {
1209
1209
  body = JSON.stringify(take(input, {
1210
1210
  attributes: (_) => _json(_),
1211
1211
  binBy: (_) => _json(_),
1212
- endDateTime: (_) => Math.round(_.getTime() / 1000),
1212
+ endDateTime: (_) => _.getTime() / 1000,
1213
1213
  filters: (_) => _json(_),
1214
1214
  groupBy: (_) => _json(_),
1215
1215
  maxResults: [],
1216
1216
  metrics: (_) => _json(_),
1217
1217
  nextToken: [],
1218
- startDateTime: (_) => Math.round(_.getTime() / 1000),
1218
+ startDateTime: (_) => _.getTime() / 1000,
1219
1219
  }));
1220
1220
  b.m("POST").h(headers).b(body);
1221
1221
  return b.build();
@@ -3664,15 +3664,15 @@ const se_ConversationLogsDataSource = (input, context) => {
3664
3664
  };
3665
3665
  const se_ConversationLogsDataSourceFilterBy = (input, context) => {
3666
3666
  return take(input, {
3667
- endTime: (_) => Math.round(_.getTime() / 1000),
3667
+ endTime: (_) => _.getTime() / 1000,
3668
3668
  inputMode: [],
3669
- startTime: (_) => Math.round(_.getTime() / 1000),
3669
+ startTime: (_) => _.getTime() / 1000,
3670
3670
  });
3671
3671
  };
3672
3672
  const se_DateRangeFilter = (input, context) => {
3673
3673
  return take(input, {
3674
- endDateTime: (_) => Math.round(_.getTime() / 1000),
3675
- startDateTime: (_) => Math.round(_.getTime() / 1000),
3674
+ endDateTime: (_) => _.getTime() / 1000,
3675
+ startDateTime: (_) => _.getTime() / 1000,
3676
3676
  });
3677
3677
  };
3678
3678
  const se_DefaultConditionalBranch = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.587.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",