@aws-sdk/client-qbusiness 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 +6 -6
- package/dist-es/protocols/Aws_restJson1.js +7 -7
- package/package.json +19 -19
package/dist-cjs/index.js
CHANGED
|
@@ -1439,8 +1439,8 @@ var se_ListDataSourceSyncJobsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1439
1439
|
const query = (0, import_smithy_client.map)({
|
|
1440
1440
|
[_nT]: [, input[_nT]],
|
|
1441
1441
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1442
|
-
[_sT]: [() => input.startTime !== void 0, () => (
|
|
1443
|
-
[_eT]: [() => input.endTime !== void 0, () => (
|
|
1442
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sT]).toString()],
|
|
1443
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_eT]).toString()],
|
|
1444
1444
|
[_sS]: [, input[_sF]]
|
|
1445
1445
|
});
|
|
1446
1446
|
let body;
|
|
@@ -1471,7 +1471,7 @@ var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1471
1471
|
const query = (0, import_smithy_client.map)({
|
|
1472
1472
|
[_uET]: [
|
|
1473
1473
|
(0, import_smithy_client.expectNonNull)(input.updatedEarlierThan, `updatedEarlierThan`) != null,
|
|
1474
|
-
() => (
|
|
1474
|
+
() => (0, import_smithy_client.serializeDateTime)(input[_uET]).toString()
|
|
1475
1475
|
],
|
|
1476
1476
|
[_dSI]: [, input[_dSI]],
|
|
1477
1477
|
[_nT]: [, input[_nT]],
|
|
@@ -1572,7 +1572,7 @@ var se_PutFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1572
1572
|
let body;
|
|
1573
1573
|
body = JSON.stringify(
|
|
1574
1574
|
(0, import_smithy_client.take)(input, {
|
|
1575
|
-
messageCopiedAt: (_) =>
|
|
1575
|
+
messageCopiedAt: (_) => _.getTime() / 1e3,
|
|
1576
1576
|
messageUsefulness: (_) => se_MessageUsefulnessFeedback(_, context)
|
|
1577
1577
|
})
|
|
1578
1578
|
);
|
|
@@ -3017,7 +3017,7 @@ var se_DocumentAttributeTarget = /* @__PURE__ */ __name((input, context) => {
|
|
|
3017
3017
|
}, "se_DocumentAttributeTarget");
|
|
3018
3018
|
var se_DocumentAttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
3019
3019
|
return DocumentAttributeValue.visit(input, {
|
|
3020
|
-
dateValue: (value) => ({ dateValue:
|
|
3020
|
+
dateValue: (value) => ({ dateValue: value.getTime() / 1e3 }),
|
|
3021
3021
|
longValue: (value) => ({ longValue: value }),
|
|
3022
3022
|
stringListValue: (value) => ({ stringListValue: (0, import_smithy_client._json)(value) }),
|
|
3023
3023
|
stringValue: (value) => ({ stringValue: value }),
|
|
@@ -3067,7 +3067,7 @@ var se_MessageUsefulnessFeedback = /* @__PURE__ */ __name((input, context) => {
|
|
|
3067
3067
|
return (0, import_smithy_client.take)(input, {
|
|
3068
3068
|
comment: [],
|
|
3069
3069
|
reason: [],
|
|
3070
|
-
submittedAt: (_) =>
|
|
3070
|
+
submittedAt: (_) => _.getTime() / 1e3,
|
|
3071
3071
|
usefulness: []
|
|
3072
3072
|
});
|
|
3073
3073
|
}, "se_MessageUsefulnessFeedback");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { AccessDeniedException, ChatInputStream, ConflictException, DocumentAttributeValue, DocumentContent, InternalServerException, LicenseNotFoundException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { QBusinessServiceException as __BaseException } from "../models/QBusinessServiceException";
|
|
@@ -474,8 +474,8 @@ export const se_ListDataSourceSyncJobsCommand = async (input, context) => {
|
|
|
474
474
|
const query = map({
|
|
475
475
|
[_nT]: [, input[_nT]],
|
|
476
476
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
477
|
-
[_sT]: [() => input.startTime !== void 0, () => (input[_sT]
|
|
478
|
-
[_eT]: [() => input.endTime !== void 0, () => (input[_eT]
|
|
477
|
+
[_sT]: [() => input.startTime !== void 0, () => __serializeDateTime(input[_sT]).toString()],
|
|
478
|
+
[_eT]: [() => input.endTime !== void 0, () => __serializeDateTime(input[_eT]).toString()],
|
|
479
479
|
[_sS]: [, input[_sF]],
|
|
480
480
|
});
|
|
481
481
|
let body;
|
|
@@ -506,7 +506,7 @@ export const se_ListGroupsCommand = async (input, context) => {
|
|
|
506
506
|
const query = map({
|
|
507
507
|
[_uET]: [
|
|
508
508
|
__expectNonNull(input.updatedEarlierThan, `updatedEarlierThan`) != null,
|
|
509
|
-
() => (input[_uET]
|
|
509
|
+
() => __serializeDateTime(input[_uET]).toString(),
|
|
510
510
|
],
|
|
511
511
|
[_dSI]: [, input[_dSI]],
|
|
512
512
|
[_nT]: [, input[_nT]],
|
|
@@ -606,7 +606,7 @@ export const se_PutFeedbackCommand = async (input, context) => {
|
|
|
606
606
|
});
|
|
607
607
|
let body;
|
|
608
608
|
body = JSON.stringify(take(input, {
|
|
609
|
-
messageCopiedAt: (_) =>
|
|
609
|
+
messageCopiedAt: (_) => _.getTime() / 1000,
|
|
610
610
|
messageUsefulness: (_) => se_MessageUsefulnessFeedback(_, context),
|
|
611
611
|
}));
|
|
612
612
|
b.m("POST").h(headers).q(query).b(body);
|
|
@@ -2033,7 +2033,7 @@ const se_DocumentAttributeTarget = (input, context) => {
|
|
|
2033
2033
|
};
|
|
2034
2034
|
const se_DocumentAttributeValue = (input, context) => {
|
|
2035
2035
|
return DocumentAttributeValue.visit(input, {
|
|
2036
|
-
dateValue: (value) => ({ dateValue:
|
|
2036
|
+
dateValue: (value) => ({ dateValue: value.getTime() / 1000 }),
|
|
2037
2037
|
longValue: (value) => ({ longValue: value }),
|
|
2038
2038
|
stringListValue: (value) => ({ stringListValue: _json(value) }),
|
|
2039
2039
|
stringValue: (value) => ({ stringValue: value }),
|
|
@@ -2087,7 +2087,7 @@ const se_MessageUsefulnessFeedback = (input, context) => {
|
|
|
2087
2087
|
return take(input, {
|
|
2088
2088
|
comment: [],
|
|
2089
2089
|
reason: [],
|
|
2090
|
-
submittedAt: (_) =>
|
|
2090
|
+
submittedAt: (_) => _.getTime() / 1000,
|
|
2091
2091
|
usefulness: [],
|
|
2092
2092
|
});
|
|
2093
2093
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-qbusiness",
|
|
@@ -20,23 +20,23 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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/eventstream-handler-node": "3.577.0",
|
|
28
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
28
|
+
"@aws-sdk/middleware-eventstream": "3.587.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
34
34
|
"@aws-sdk/types": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^3.0.
|
|
39
|
-
"@smithy/core": "^2.
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
38
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
39
|
+
"@smithy/core": "^2.1.1",
|
|
40
40
|
"@smithy/eventstream-serde-browser": "^3.0.0",
|
|
41
41
|
"@smithy/eventstream-serde-config-resolver": "^3.0.0",
|
|
42
42
|
"@smithy/eventstream-serde-node": "^3.0.0",
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"@smithy/hash-node": "^3.0.0",
|
|
45
45
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
46
46
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
47
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
48
|
-
"@smithy/middleware-retry": "^3.0.
|
|
47
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
48
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
49
49
|
"@smithy/middleware-serde": "^3.0.0",
|
|
50
50
|
"@smithy/middleware-stack": "^3.0.0",
|
|
51
|
-
"@smithy/node-config-provider": "^3.
|
|
51
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
52
52
|
"@smithy/node-http-handler": "^3.0.0",
|
|
53
53
|
"@smithy/protocol-http": "^4.0.0",
|
|
54
|
-
"@smithy/smithy-client": "^3.
|
|
54
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
55
55
|
"@smithy/types": "^3.0.0",
|
|
56
56
|
"@smithy/url-parser": "^3.0.0",
|
|
57
57
|
"@smithy/util-base64": "^3.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
62
|
-
"@smithy/util-endpoints": "^2.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
62
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
63
63
|
"@smithy/util-middleware": "^3.0.0",
|
|
64
64
|
"@smithy/util-retry": "^3.0.0",
|
|
65
65
|
"@smithy/util-utf8": "^3.0.0",
|