@aws-sdk/client-workdocs 3.241.0 → 3.252.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.
@@ -457,11 +457,8 @@ const serializeAws_restJson1DescribeActivitiesCommand = async (input, context) =
457
457
  });
458
458
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/activities";
459
459
  const query = map({
460
- startTime: [
461
- () => input.StartTime !== void 0,
462
- () => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
463
- ],
464
- endTime: [() => input.EndTime !== void 0, () => (input.EndTime.toISOString().split(".")[0] + "Z").toString()],
460
+ startTime: [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
461
+ endTime: [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
465
462
  organizationId: [, input.OrganizationId],
466
463
  activityTypes: [, input.ActivityTypes],
467
464
  resourceId: [, input.ResourceId],
@@ -877,10 +874,10 @@ const serializeAws_restJson1InitiateDocumentVersionUploadCommand = async (input,
877
874
  let body;
878
875
  body = JSON.stringify({
879
876
  ...(input.ContentCreatedTimestamp != null && {
880
- ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
877
+ ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000).toString(),
881
878
  }),
882
879
  ...(input.ContentModifiedTimestamp != null && {
883
- ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
880
+ ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000).toString(),
884
881
  }),
885
882
  ...(input.ContentType != null && { ContentType: input.ContentType }),
886
883
  ...(input.DocumentSizeInBytes != null && { DocumentSizeInBytes: input.DocumentSizeInBytes }),
@@ -434,11 +434,8 @@ export const serializeAws_restJson1DescribeActivitiesCommand = async (input, con
434
434
  });
435
435
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/activities";
436
436
  const query = map({
437
- startTime: [
438
- () => input.StartTime !== void 0,
439
- () => (input.StartTime.toISOString().split(".")[0] + "Z").toString(),
440
- ],
441
- endTime: [() => input.EndTime !== void 0, () => (input.EndTime.toISOString().split(".")[0] + "Z").toString()],
437
+ startTime: [() => input.StartTime !== void 0, () => input.StartTime.toISOString().split(".")[0] + "Z"],
438
+ endTime: [() => input.EndTime !== void 0, () => input.EndTime.toISOString().split(".")[0] + "Z"],
442
439
  organizationId: [, input.OrganizationId],
443
440
  activityTypes: [, input.ActivityTypes],
444
441
  resourceId: [, input.ResourceId],
@@ -838,10 +835,10 @@ export const serializeAws_restJson1InitiateDocumentVersionUploadCommand = async
838
835
  let body;
839
836
  body = JSON.stringify({
840
837
  ...(input.ContentCreatedTimestamp != null && {
841
- ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
838
+ ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000).toString(),
842
839
  }),
843
840
  ...(input.ContentModifiedTimestamp != null && {
844
- ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000),
841
+ ContentModifiedTimestamp: Math.round(input.ContentModifiedTimestamp.getTime() / 1000).toString(),
845
842
  }),
846
843
  ...(input.ContentType != null && { ContentType: input.ContentType }),
847
844
  ...(input.DocumentSizeInBytes != null && { DocumentSizeInBytes: input.DocumentSizeInBytes }),
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.241.0",
4
+ "version": "3.252.0",
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",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/workdocs.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo workdocs"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.241.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",