@aws-sdk/client-workdocs 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 +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1738,8 +1738,8 @@ var se_DescribeActivitiesCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1738
1738
|
});
|
|
1739
1739
|
b.bp("/api/v1/activities");
|
|
1740
1740
|
const query = (0, import_smithy_client.map)({
|
|
1741
|
-
[_sT]: [() => input.StartTime !== void 0, () => (
|
|
1742
|
-
[_eT]: [() => input.EndTime !== void 0, () => (
|
|
1741
|
+
[_sT]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()],
|
|
1742
|
+
[_eT]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],
|
|
1743
1743
|
[_oI]: [, input[_OI]],
|
|
1744
1744
|
[_aT]: [, input[_ATc]],
|
|
1745
1745
|
[_rI]: [, input[_RI]],
|
|
@@ -1996,8 +1996,8 @@ var se_InitiateDocumentVersionUploadCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
1996
1996
|
let body;
|
|
1997
1997
|
body = JSON.stringify(
|
|
1998
1998
|
(0, import_smithy_client.take)(input, {
|
|
1999
|
-
ContentCreatedTimestamp: (_) =>
|
|
2000
|
-
ContentModifiedTimestamp: (_) =>
|
|
1999
|
+
ContentCreatedTimestamp: (_) => _.getTime() / 1e3,
|
|
2000
|
+
ContentModifiedTimestamp: (_) => _.getTime() / 1e3,
|
|
2001
2001
|
ContentType: [],
|
|
2002
2002
|
DocumentSizeInBytes: [],
|
|
2003
2003
|
Id: [],
|
|
@@ -3127,8 +3127,8 @@ var de_UnauthorizedResourceAccessExceptionRes = /* @__PURE__ */ __name(async (pa
|
|
|
3127
3127
|
}, "de_UnauthorizedResourceAccessExceptionRes");
|
|
3128
3128
|
var se_DateRangeType = /* @__PURE__ */ __name((input, context) => {
|
|
3129
3129
|
return (0, import_smithy_client.take)(input, {
|
|
3130
|
-
EndValue: (_) =>
|
|
3131
|
-
StartValue: (_) =>
|
|
3130
|
+
EndValue: (_) => _.getTime() / 1e3,
|
|
3131
|
+
StartValue: (_) => _.getTime() / 1e3
|
|
3132
3132
|
});
|
|
3133
3133
|
}, "se_DateRangeType");
|
|
3134
3134
|
var se_Filters = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { 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, 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, 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 { ConcurrentModificationException, ConflictingOperationException, CustomMetadataLimitExceededException, DeactivatingLastSystemUserException, DocumentLockedForCommentsException, DraftUploadOutOfSyncException, EntityAlreadyExistsException, EntityNotExistsException, FailedDependencyException, IllegalUserStateException, InvalidArgumentException, InvalidCommentOperationException, InvalidOperationException, InvalidPasswordException, LimitExceededException, ProhibitedStateException, RequestedEntityTooLargeException, ResourceAlreadyCheckedOutException, ServiceUnavailableException, StorageLimitExceededException, StorageLimitWillExceedException, TooManyLabelsException, TooManySubscriptionsException, UnauthorizedOperationException, UnauthorizedResourceAccessException, } from "../models/models_0";
|
|
5
5
|
import { WorkDocsServiceException as __BaseException } from "../models/WorkDocsServiceException";
|
|
6
6
|
export const se_AbortDocumentVersionUploadCommand = async (input, context) => {
|
|
@@ -278,8 +278,8 @@ export const se_DescribeActivitiesCommand = async (input, context) => {
|
|
|
278
278
|
});
|
|
279
279
|
b.bp("/api/v1/activities");
|
|
280
280
|
const query = map({
|
|
281
|
-
[_sT]: [() => input.StartTime !== void 0, () => (input[_ST]
|
|
282
|
-
[_eT]: [() => input.EndTime !== void 0, () => (input[_ET]
|
|
281
|
+
[_sT]: [() => input.StartTime !== void 0, () => __serializeDateTime(input[_ST]).toString()],
|
|
282
|
+
[_eT]: [() => input.EndTime !== void 0, () => __serializeDateTime(input[_ET]).toString()],
|
|
283
283
|
[_oI]: [, input[_OI]],
|
|
284
284
|
[_aT]: [, input[_ATc]],
|
|
285
285
|
[_rI]: [, input[_RI]],
|
|
@@ -535,8 +535,8 @@ export const se_InitiateDocumentVersionUploadCommand = async (input, context) =>
|
|
|
535
535
|
b.bp("/api/v1/documents");
|
|
536
536
|
let body;
|
|
537
537
|
body = JSON.stringify(take(input, {
|
|
538
|
-
ContentCreatedTimestamp: (_) =>
|
|
539
|
-
ContentModifiedTimestamp: (_) =>
|
|
538
|
+
ContentCreatedTimestamp: (_) => _.getTime() / 1000,
|
|
539
|
+
ContentModifiedTimestamp: (_) => _.getTime() / 1000,
|
|
540
540
|
ContentType: [],
|
|
541
541
|
DocumentSizeInBytes: [],
|
|
542
542
|
Id: [],
|
|
@@ -1655,8 +1655,8 @@ const de_UnauthorizedResourceAccessExceptionRes = async (parsedOutput, context)
|
|
|
1655
1655
|
};
|
|
1656
1656
|
const se_DateRangeType = (input, context) => {
|
|
1657
1657
|
return take(input, {
|
|
1658
|
-
EndValue: (_) =>
|
|
1659
|
-
StartValue: (_) =>
|
|
1658
|
+
EndValue: (_) => _.getTime() / 1000,
|
|
1659
|
+
StartValue: (_) => _.getTime() / 1000,
|
|
1660
1660
|
});
|
|
1661
1661
|
};
|
|
1662
1662
|
const se_Filters = (input, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workdocs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workdocs 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-workdocs",
|
|
@@ -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.
|
|
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/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.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
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.
|
|
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.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
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.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
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.
|
|
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.
|
|
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.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.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",
|