@aws-sdk/client-connect 3.586.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
@@ -3964,13 +3964,13 @@ var se_GetMetricDataCommand = /* @__PURE__ */ __name(async (input, context) => {
3964
3964
  let body;
3965
3965
  body = JSON.stringify(
3966
3966
  (0, import_smithy_client.take)(input, {
3967
- EndTime: (_) => Math.round(_.getTime() / 1e3),
3967
+ EndTime: (_) => _.getTime() / 1e3,
3968
3968
  Filters: (_) => (0, import_smithy_client._json)(_),
3969
3969
  Groupings: (_) => (0, import_smithy_client._json)(_),
3970
3970
  HistoricalMetrics: (_) => se_HistoricalMetrics(_, context),
3971
3971
  MaxResults: [],
3972
3972
  NextToken: [],
3973
- StartTime: (_) => Math.round(_.getTime() / 1e3)
3973
+ StartTime: (_) => _.getTime() / 1e3
3974
3974
  })
3975
3975
  );
3976
3976
  b.m("POST").h(headers).b(body);
@@ -3985,7 +3985,7 @@ var se_GetMetricDataV2Command = /* @__PURE__ */ __name(async (input, context) =>
3985
3985
  let body;
3986
3986
  body = JSON.stringify(
3987
3987
  (0, import_smithy_client.take)(input, {
3988
- EndTime: (_) => Math.round(_.getTime() / 1e3),
3988
+ EndTime: (_) => _.getTime() / 1e3,
3989
3989
  Filters: (_) => (0, import_smithy_client._json)(_),
3990
3990
  Groupings: (_) => (0, import_smithy_client._json)(_),
3991
3991
  Interval: (_) => (0, import_smithy_client._json)(_),
@@ -3993,7 +3993,7 @@ var se_GetMetricDataV2Command = /* @__PURE__ */ __name(async (input, context) =>
3993
3993
  Metrics: (_) => se_MetricsV2(_, context),
3994
3994
  NextToken: [],
3995
3995
  ResourceArn: [],
3996
- StartTime: (_) => Math.round(_.getTime() / 1e3)
3996
+ StartTime: (_) => _.getTime() / 1e3
3997
3997
  })
3998
3998
  );
3999
3999
  b.m("POST").h(headers).b(body);
@@ -5226,7 +5226,7 @@ var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) =
5226
5226
  QuickConnectId: [],
5227
5227
  References: (_) => (0, import_smithy_client._json)(_),
5228
5228
  RelatedContactId: [],
5229
- ScheduledTime: (_) => Math.round(_.getTime() / 1e3),
5229
+ ScheduledTime: (_) => _.getTime() / 1e3,
5230
5230
  TaskTemplateId: []
5231
5231
  })
5232
5232
  );
@@ -5620,7 +5620,7 @@ var se_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (input, conte
5620
5620
  (0, import_smithy_client.take)(input, {
5621
5621
  ContactId: [],
5622
5622
  InstanceId: [],
5623
- ScheduledTime: (_) => Math.round(_.getTime() / 1e3)
5623
+ ScheduledTime: (_) => _.getTime() / 1e3
5624
5624
  })
5625
5625
  );
5626
5626
  b.m("POST").h(headers).b(body);
@@ -10179,8 +10179,8 @@ var se_RuleActions = /* @__PURE__ */ __name((input, context) => {
10179
10179
  }, "se_RuleActions");
10180
10180
  var se_SearchContactsTimeRange = /* @__PURE__ */ __name((input, context) => {
10181
10181
  return (0, import_smithy_client.take)(input, {
10182
- EndTime: (_) => Math.round(_.getTime() / 1e3),
10183
- StartTime: (_) => Math.round(_.getTime() / 1e3),
10182
+ EndTime: (_) => _.getTime() / 1e3,
10183
+ StartTime: (_) => _.getTime() / 1e3,
10184
10184
  Type: []
10185
10185
  });
10186
10186
  }, "se_SearchContactsTimeRange");
@@ -11097,6 +11097,7 @@ var de_RoutingCriteria = /* @__PURE__ */ __name((output, context) => {
11097
11097
  var de_RoutingProfile = /* @__PURE__ */ __name((output, context) => {
11098
11098
  return (0, import_smithy_client.take)(output, {
11099
11099
  AgentAvailabilityTimer: import_smithy_client.expectString,
11100
+ AssociatedQueueIds: import_smithy_client._json,
11100
11101
  DefaultOutboundQueueId: import_smithy_client.expectString,
11101
11102
  Description: import_smithy_client.expectString,
11102
11103
  InstanceId: import_smithy_client.expectString,
@@ -1540,13 +1540,13 @@ export const se_GetMetricDataCommand = async (input, context) => {
1540
1540
  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
1541
1541
  let body;
1542
1542
  body = JSON.stringify(take(input, {
1543
- EndTime: (_) => Math.round(_.getTime() / 1000),
1543
+ EndTime: (_) => _.getTime() / 1000,
1544
1544
  Filters: (_) => _json(_),
1545
1545
  Groupings: (_) => _json(_),
1546
1546
  HistoricalMetrics: (_) => se_HistoricalMetrics(_, context),
1547
1547
  MaxResults: [],
1548
1548
  NextToken: [],
1549
- StartTime: (_) => Math.round(_.getTime() / 1000),
1549
+ StartTime: (_) => _.getTime() / 1000,
1550
1550
  }));
1551
1551
  b.m("POST").h(headers).b(body);
1552
1552
  return b.build();
@@ -1559,7 +1559,7 @@ export const se_GetMetricDataV2Command = async (input, context) => {
1559
1559
  b.bp("/metrics/data");
1560
1560
  let body;
1561
1561
  body = JSON.stringify(take(input, {
1562
- EndTime: (_) => Math.round(_.getTime() / 1000),
1562
+ EndTime: (_) => _.getTime() / 1000,
1563
1563
  Filters: (_) => _json(_),
1564
1564
  Groupings: (_) => _json(_),
1565
1565
  Interval: (_) => _json(_),
@@ -1567,7 +1567,7 @@ export const se_GetMetricDataV2Command = async (input, context) => {
1567
1567
  Metrics: (_) => se_MetricsV2(_, context),
1568
1568
  NextToken: [],
1569
1569
  ResourceArn: [],
1570
- StartTime: (_) => Math.round(_.getTime() / 1000),
1570
+ StartTime: (_) => _.getTime() / 1000,
1571
1571
  }));
1572
1572
  b.m("POST").h(headers).b(body);
1573
1573
  return b.build();
@@ -2736,7 +2736,7 @@ export const se_StartTaskContactCommand = async (input, context) => {
2736
2736
  QuickConnectId: [],
2737
2737
  References: (_) => _json(_),
2738
2738
  RelatedContactId: [],
2739
- ScheduledTime: (_) => Math.round(_.getTime() / 1000),
2739
+ ScheduledTime: (_) => _.getTime() / 1000,
2740
2740
  TaskTemplateId: [],
2741
2741
  }));
2742
2742
  b.m("PUT").h(headers).b(body);
@@ -3090,7 +3090,7 @@ export const se_UpdateContactScheduleCommand = async (input, context) => {
3090
3090
  body = JSON.stringify(take(input, {
3091
3091
  ContactId: [],
3092
3092
  InstanceId: [],
3093
- ScheduledTime: (_) => Math.round(_.getTime() / 1000),
3093
+ ScheduledTime: (_) => _.getTime() / 1000,
3094
3094
  }));
3095
3095
  b.m("POST").h(headers).b(body);
3096
3096
  return b.build();
@@ -7604,8 +7604,8 @@ const se_RuleActions = (input, context) => {
7604
7604
  };
7605
7605
  const se_SearchContactsTimeRange = (input, context) => {
7606
7606
  return take(input, {
7607
- EndTime: (_) => Math.round(_.getTime() / 1000),
7608
- StartTime: (_) => Math.round(_.getTime() / 1000),
7607
+ EndTime: (_) => _.getTime() / 1000,
7608
+ StartTime: (_) => _.getTime() / 1000,
7609
7609
  Type: [],
7610
7610
  });
7611
7611
  };
@@ -8586,6 +8586,7 @@ const de_RoutingCriteria = (output, context) => {
8586
8586
  const de_RoutingProfile = (output, context) => {
8587
8587
  return take(output, {
8588
8588
  AgentAvailabilityTimer: __expectString,
8589
+ AssociatedQueueIds: _json,
8589
8590
  DefaultOutboundQueueId: __expectString,
8590
8591
  Description: __expectString,
8591
8592
  InstanceId: __expectString,
@@ -65,6 +65,9 @@ declare const DescribeRoutingProfileCommand_base: {
65
65
  * // LastModifiedTime: new Date("TIMESTAMP"),
66
66
  * // LastModifiedRegion: "STRING_VALUE",
67
67
  * // IsDefault: true || false,
68
+ * // AssociatedQueueIds: [ // AssociatedQueueIdList
69
+ * // "STRING_VALUE",
70
+ * // ],
68
71
  * // },
69
72
  * // };
70
73
  *
@@ -111,6 +111,9 @@ declare const SearchRoutingProfilesCommand_base: {
111
111
  * // LastModifiedTime: new Date("TIMESTAMP"),
112
112
  * // LastModifiedRegion: "STRING_VALUE",
113
113
  * // IsDefault: true || false,
114
+ * // AssociatedQueueIds: [ // AssociatedQueueIdList
115
+ * // "STRING_VALUE",
116
+ * // ],
114
117
  * // },
115
118
  * // ],
116
119
  * // NextToken: "STRING_VALUE",
@@ -1321,6 +1321,11 @@ export interface RoutingProfile {
1321
1321
  * @public
1322
1322
  */
1323
1323
  IsDefault?: boolean;
1324
+ /**
1325
+ * <p>The IDs of the associated queue.</p>
1326
+ * @public
1327
+ */
1328
+ AssociatedQueueIds?: string[];
1324
1329
  }
1325
1330
  /**
1326
1331
  * @public
@@ -5254,8 +5254,8 @@ export interface RoutingProfileSearchCriteria {
5254
5254
  /**
5255
5255
  * <p>A leaf node condition which can be used to specify a string condition.</p>
5256
5256
  * <note>
5257
- * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
5258
- * <code>description</code>, and <code>resourceID</code>.</p>
5257
+ * <p>The currently supported values for <code>FieldName</code> are
5258
+ * <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and <code>resourceID</code>.</p>
5259
5259
  * </note>
5260
5260
  * @public
5261
5261
  */
@@ -586,6 +586,7 @@ export interface RoutingProfile {
586
586
  LastModifiedTime?: Date;
587
587
  LastModifiedRegion?: string;
588
588
  IsDefault?: boolean;
589
+ AssociatedQueueIds?: string[];
589
590
  }
590
591
  export interface DescribeRoutingProfileResponse {
591
592
  RoutingProfile?: RoutingProfile;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.586.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-connect",
@@ -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",