@aws-sdk/client-workdocs 3.54.1 → 3.58.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/WorkDocsClient.js +13 -13
  3. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +3 -3
  4. package/dist-cjs/commands/ActivateUserCommand.js +3 -3
  5. package/dist-cjs/commands/AddResourcePermissionsCommand.js +3 -3
  6. package/dist-cjs/commands/CreateCommentCommand.js +3 -3
  7. package/dist-cjs/commands/CreateCustomMetadataCommand.js +3 -3
  8. package/dist-cjs/commands/CreateFolderCommand.js +3 -3
  9. package/dist-cjs/commands/CreateLabelsCommand.js +3 -3
  10. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +3 -3
  11. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  12. package/dist-cjs/commands/DeactivateUserCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteCommentCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDocumentCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteFolderCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteFolderContentsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteLabelsCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeActivitiesCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeCommentsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeFolderContentsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeGroupsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeRootFoldersCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
  30. package/dist-cjs/commands/GetCurrentUserCommand.js +3 -3
  31. package/dist-cjs/commands/GetDocumentCommand.js +3 -3
  32. package/dist-cjs/commands/GetDocumentPathCommand.js +3 -3
  33. package/dist-cjs/commands/GetDocumentVersionCommand.js +3 -3
  34. package/dist-cjs/commands/GetFolderCommand.js +3 -3
  35. package/dist-cjs/commands/GetFolderPathCommand.js +3 -3
  36. package/dist-cjs/commands/GetResourcesCommand.js +3 -3
  37. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +3 -3
  38. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +3 -3
  39. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateDocumentCommand.js +3 -3
  41. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +3 -3
  42. package/dist-cjs/commands/UpdateFolderCommand.js +3 -3
  43. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  44. package/dist-cjs/endpoints.js +1 -1
  45. package/dist-cjs/protocols/Aws_restJson1.js +264 -264
  46. package/dist-cjs/runtimeConfig.browser.js +4 -4
  47. package/dist-cjs/runtimeConfig.js +9 -9
  48. package/dist-cjs/runtimeConfig.native.js +1 -1
  49. package/dist-es/WorkDocs.js +41 -41
  50. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +4 -4
  51. package/dist-es/pagination/DescribeFolderContentsPaginator.js +4 -4
  52. package/dist-es/pagination/DescribeUsersPaginator.js +4 -4
  53. package/dist-es/protocols/Aws_restJson1.js +41 -41
  54. package/dist-types/runtimeConfig.native.d.ts +2 -2
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  56. package/package.json +34 -34
@@ -11,7 +11,7 @@ export var serializeAws_restJson1AbortDocumentVersionUploadCommand = function (i
11
11
  case 1:
12
12
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
13
13
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
14
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
14
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
15
15
  "/api/v1/documents/{DocumentId}/versions/{VersionId}";
16
16
  if (input.DocumentId !== undefined) {
17
17
  labelValue = input.DocumentId;
@@ -53,7 +53,7 @@ export var serializeAws_restJson1ActivateUserCommand = function (input, context)
53
53
  case 1:
54
54
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
55
55
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
56
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}/activation";
56
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}/activation";
57
57
  if (input.UserId !== undefined) {
58
58
  labelValue = input.UserId;
59
59
  if (labelValue.length <= 0) {
@@ -84,7 +84,7 @@ export var serializeAws_restJson1AddResourcePermissionsCommand = function (input
84
84
  case 1:
85
85
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
86
86
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
87
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
87
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
88
88
  "/api/v1/resources/{ResourceId}/permissions";
89
89
  if (input.ResourceId !== undefined) {
90
90
  labelValue = input.ResourceId;
@@ -121,7 +121,7 @@ export var serializeAws_restJson1CreateCommentCommand = function (input, context
121
121
  case 1:
122
122
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
123
123
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
124
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
124
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
125
125
  "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment";
126
126
  if (input.DocumentId !== undefined) {
127
127
  labelValue = input.DocumentId;
@@ -165,7 +165,7 @@ export var serializeAws_restJson1CreateCustomMetadataCommand = function (input,
165
165
  case 1:
166
166
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
167
167
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
168
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
168
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
169
169
  "/api/v1/resources/{ResourceId}/customMetadata";
170
170
  if (input.ResourceId !== undefined) {
171
171
  labelValue = input.ResourceId;
@@ -203,7 +203,7 @@ export var serializeAws_restJson1CreateFolderCommand = function (input, context)
203
203
  case 1:
204
204
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
205
205
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
206
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders";
206
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders";
207
207
  body = JSON.stringify(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ParentFolderId !== undefined &&
208
208
  input.ParentFolderId !== null && { ParentFolderId: input.ParentFolderId })));
209
209
  return [2, new __HttpRequest({
@@ -226,7 +226,7 @@ export var serializeAws_restJson1CreateLabelsCommand = function (input, context)
226
226
  case 1:
227
227
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
228
228
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
229
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources/{ResourceId}/labels";
229
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources/{ResourceId}/labels";
230
230
  if (input.ResourceId !== undefined) {
231
231
  labelValue = input.ResourceId;
232
232
  if (labelValue.length <= 0) {
@@ -261,7 +261,7 @@ export var serializeAws_restJson1CreateNotificationSubscriptionCommand = functio
261
261
  headers = {
262
262
  "content-type": "application/json",
263
263
  };
264
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
264
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
265
265
  "/api/v1/organizations/{OrganizationId}/subscriptions";
266
266
  if (input.OrganizationId !== undefined) {
267
267
  labelValue = input.OrganizationId;
@@ -295,7 +295,7 @@ export var serializeAws_restJson1CreateUserCommand = function (input, context) {
295
295
  case 1:
296
296
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
297
297
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
298
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users";
298
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users";
299
299
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress })), (input.GivenName !== undefined && input.GivenName !== null && { GivenName: input.GivenName })), (input.OrganizationId !== undefined &&
300
300
  input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.StorageRule !== undefined &&
301
301
  input.StorageRule !== null && { StorageRule: serializeAws_restJson1StorageRuleType(input.StorageRule, context) })), (input.Surname !== undefined && input.Surname !== null && { Surname: input.Surname })), (input.TimeZoneId !== undefined && input.TimeZoneId !== null && { TimeZoneId: input.TimeZoneId })), (input.Username !== undefined && input.Username !== null && { Username: input.Username })));
@@ -319,7 +319,7 @@ export var serializeAws_restJson1DeactivateUserCommand = function (input, contex
319
319
  case 1:
320
320
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
321
321
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
322
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}/activation";
322
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}/activation";
323
323
  if (input.UserId !== undefined) {
324
324
  labelValue = input.UserId;
325
325
  if (labelValue.length <= 0) {
@@ -350,7 +350,7 @@ export var serializeAws_restJson1DeleteCommentCommand = function (input, context
350
350
  case 1:
351
351
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
352
352
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
353
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
353
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
354
354
  "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}";
355
355
  if (input.DocumentId !== undefined) {
356
356
  labelValue = input.DocumentId;
@@ -402,7 +402,7 @@ export var serializeAws_restJson1DeleteCustomMetadataCommand = function (input,
402
402
  case 1:
403
403
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
404
404
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
405
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
405
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
406
406
  "/api/v1/resources/{ResourceId}/customMetadata";
407
407
  if (input.ResourceId !== undefined) {
408
408
  labelValue = input.ResourceId;
@@ -436,7 +436,7 @@ export var serializeAws_restJson1DeleteDocumentCommand = function (input, contex
436
436
  case 1:
437
437
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
438
438
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
439
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
439
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
440
440
  if (input.DocumentId !== undefined) {
441
441
  labelValue = input.DocumentId;
442
442
  if (labelValue.length <= 0) {
@@ -467,7 +467,7 @@ export var serializeAws_restJson1DeleteFolderCommand = function (input, context)
467
467
  case 1:
468
468
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
469
469
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
470
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
470
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
471
471
  if (input.FolderId !== undefined) {
472
472
  labelValue = input.FolderId;
473
473
  if (labelValue.length <= 0) {
@@ -498,7 +498,7 @@ export var serializeAws_restJson1DeleteFolderContentsCommand = function (input,
498
498
  case 1:
499
499
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
500
500
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
501
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/contents";
501
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/contents";
502
502
  if (input.FolderId !== undefined) {
503
503
  labelValue = input.FolderId;
504
504
  if (labelValue.length <= 0) {
@@ -529,7 +529,7 @@ export var serializeAws_restJson1DeleteLabelsCommand = function (input, context)
529
529
  case 1:
530
530
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
531
531
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
532
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources/{ResourceId}/labels";
532
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources/{ResourceId}/labels";
533
533
  if (input.ResourceId !== undefined) {
534
534
  labelValue = input.ResourceId;
535
535
  if (labelValue.length <= 0) {
@@ -562,7 +562,7 @@ export var serializeAws_restJson1DeleteNotificationSubscriptionCommand = functio
562
562
  case 1:
563
563
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
564
564
  headers = {};
565
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
565
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
566
566
  "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}";
567
567
  if (input.SubscriptionId !== undefined) {
568
568
  labelValue = input.SubscriptionId;
@@ -604,7 +604,7 @@ export var serializeAws_restJson1DeleteUserCommand = function (input, context) {
604
604
  case 1:
605
605
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
606
606
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
607
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}";
607
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}";
608
608
  if (input.UserId !== undefined) {
609
609
  labelValue = input.UserId;
610
610
  if (labelValue.length <= 0) {
@@ -635,7 +635,7 @@ export var serializeAws_restJson1DescribeActivitiesCommand = function (input, co
635
635
  case 1:
636
636
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
637
637
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
638
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/activities";
638
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/activities";
639
639
  query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.StartTime !== undefined && { startTime: (input.StartTime.toISOString().split(".")[0] + "Z").toString() })), (input.EndTime !== undefined && { endTime: (input.EndTime.toISOString().split(".")[0] + "Z").toString() })), (input.OrganizationId !== undefined && { organizationId: input.OrganizationId })), (input.ActivityTypes !== undefined && { activityTypes: input.ActivityTypes })), (input.ResourceId !== undefined && { resourceId: input.ResourceId })), (input.UserId !== undefined && { userId: input.UserId })), (input.IncludeIndirectActivities !== undefined && {
640
640
  includeIndirectActivities: input.IncludeIndirectActivities.toString(),
641
641
  })), (input.Limit !== undefined && { limit: input.Limit.toString() })), (input.Marker !== undefined && { marker: input.Marker }));
@@ -660,7 +660,7 @@ export var serializeAws_restJson1DescribeCommentsCommand = function (input, cont
660
660
  case 1:
661
661
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
662
662
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
663
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
663
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
664
664
  "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments";
665
665
  if (input.DocumentId !== undefined) {
666
666
  labelValue = input.DocumentId;
@@ -704,7 +704,7 @@ export var serializeAws_restJson1DescribeDocumentVersionsCommand = function (inp
704
704
  case 1:
705
705
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
706
706
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
707
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}/versions";
707
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}/versions";
708
708
  if (input.DocumentId !== undefined) {
709
709
  labelValue = input.DocumentId;
710
710
  if (labelValue.length <= 0) {
@@ -737,7 +737,7 @@ export var serializeAws_restJson1DescribeFolderContentsCommand = function (input
737
737
  case 1:
738
738
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
739
739
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
740
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/contents";
740
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/contents";
741
741
  if (input.FolderId !== undefined) {
742
742
  labelValue = input.FolderId;
743
743
  if (labelValue.length <= 0) {
@@ -770,7 +770,7 @@ export var serializeAws_restJson1DescribeGroupsCommand = function (input, contex
770
770
  case 1:
771
771
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
772
772
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
773
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/groups";
773
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/groups";
774
774
  query = __assign(__assign(__assign(__assign({}, (input.SearchQuery !== undefined && { searchQuery: input.SearchQuery })), (input.OrganizationId !== undefined && { organizationId: input.OrganizationId })), (input.Marker !== undefined && { marker: input.Marker })), (input.Limit !== undefined && { limit: input.Limit.toString() }));
775
775
  return [2, new __HttpRequest({
776
776
  protocol: protocol,
@@ -793,7 +793,7 @@ export var serializeAws_restJson1DescribeNotificationSubscriptionsCommand = func
793
793
  case 1:
794
794
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
795
795
  headers = {};
796
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
796
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
797
797
  "/api/v1/organizations/{OrganizationId}/subscriptions";
798
798
  if (input.OrganizationId !== undefined) {
799
799
  labelValue = input.OrganizationId;
@@ -827,7 +827,7 @@ export var serializeAws_restJson1DescribeResourcePermissionsCommand = function (
827
827
  case 1:
828
828
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
829
829
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
830
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
830
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
831
831
  "/api/v1/resources/{ResourceId}/permissions";
832
832
  if (input.ResourceId !== undefined) {
833
833
  labelValue = input.ResourceId;
@@ -861,7 +861,7 @@ export var serializeAws_restJson1DescribeRootFoldersCommand = function (input, c
861
861
  case 1:
862
862
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
863
863
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
864
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/me/root";
864
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/me/root";
865
865
  query = __assign(__assign({}, (input.Limit !== undefined && { limit: input.Limit.toString() })), (input.Marker !== undefined && { marker: input.Marker }));
866
866
  return [2, new __HttpRequest({
867
867
  protocol: protocol,
@@ -884,7 +884,7 @@ export var serializeAws_restJson1DescribeUsersCommand = function (input, context
884
884
  case 1:
885
885
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
886
886
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
887
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users";
887
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users";
888
888
  query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.OrganizationId !== undefined && { organizationId: input.OrganizationId })), (input.UserIds !== undefined && { userIds: input.UserIds })), (input.Query !== undefined && { query: input.Query })), (input.Include !== undefined && { include: input.Include })), (input.Order !== undefined && { order: input.Order })), (input.Sort !== undefined && { sort: input.Sort })), (input.Marker !== undefined && { marker: input.Marker })), (input.Limit !== undefined && { limit: input.Limit.toString() })), (input.Fields !== undefined && { fields: input.Fields }));
889
889
  return [2, new __HttpRequest({
890
890
  protocol: protocol,
@@ -907,7 +907,7 @@ export var serializeAws_restJson1GetCurrentUserCommand = function (input, contex
907
907
  case 1:
908
908
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
909
909
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
910
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/me";
910
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/me";
911
911
  return [2, new __HttpRequest({
912
912
  protocol: protocol,
913
913
  hostname: hostname,
@@ -928,7 +928,7 @@ export var serializeAws_restJson1GetDocumentCommand = function (input, context)
928
928
  case 1:
929
929
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
930
930
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
931
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
931
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
932
932
  if (input.DocumentId !== undefined) {
933
933
  labelValue = input.DocumentId;
934
934
  if (labelValue.length <= 0) {
@@ -961,7 +961,7 @@ export var serializeAws_restJson1GetDocumentPathCommand = function (input, conte
961
961
  case 1:
962
962
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
963
963
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
964
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}/path";
964
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}/path";
965
965
  if (input.DocumentId !== undefined) {
966
966
  labelValue = input.DocumentId;
967
967
  if (labelValue.length <= 0) {
@@ -994,7 +994,7 @@ export var serializeAws_restJson1GetDocumentVersionCommand = function (input, co
994
994
  case 1:
995
995
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
996
996
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
997
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
997
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
998
998
  "/api/v1/documents/{DocumentId}/versions/{VersionId}";
999
999
  if (input.DocumentId !== undefined) {
1000
1000
  labelValue = input.DocumentId;
@@ -1038,7 +1038,7 @@ export var serializeAws_restJson1GetFolderCommand = function (input, context) {
1038
1038
  case 1:
1039
1039
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1040
1040
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1041
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
1041
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
1042
1042
  if (input.FolderId !== undefined) {
1043
1043
  labelValue = input.FolderId;
1044
1044
  if (labelValue.length <= 0) {
@@ -1071,7 +1071,7 @@ export var serializeAws_restJson1GetFolderPathCommand = function (input, context
1071
1071
  case 1:
1072
1072
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1073
1073
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1074
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/path";
1074
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}/path";
1075
1075
  if (input.FolderId !== undefined) {
1076
1076
  labelValue = input.FolderId;
1077
1077
  if (labelValue.length <= 0) {
@@ -1104,7 +1104,7 @@ export var serializeAws_restJson1GetResourcesCommand = function (input, context)
1104
1104
  case 1:
1105
1105
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1106
1106
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1107
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources";
1107
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/resources";
1108
1108
  query = __assign(__assign(__assign(__assign({}, (input.UserId !== undefined && { userId: input.UserId })), (input.CollectionType !== undefined && { collectionType: input.CollectionType })), (input.Limit !== undefined && { limit: input.Limit.toString() })), (input.Marker !== undefined && { marker: input.Marker }));
1109
1109
  return [2, new __HttpRequest({
1110
1110
  protocol: protocol,
@@ -1127,7 +1127,7 @@ export var serializeAws_restJson1InitiateDocumentVersionUploadCommand = function
1127
1127
  case 1:
1128
1128
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1129
1129
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1130
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents";
1130
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents";
1131
1131
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentCreatedTimestamp !== undefined &&
1132
1132
  input.ContentCreatedTimestamp !== null && {
1133
1133
  ContentCreatedTimestamp: Math.round(input.ContentCreatedTimestamp.getTime() / 1000),
@@ -1157,7 +1157,7 @@ export var serializeAws_restJson1RemoveAllResourcePermissionsCommand = function
1157
1157
  case 1:
1158
1158
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1159
1159
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1160
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1160
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1161
1161
  "/api/v1/resources/{ResourceId}/permissions";
1162
1162
  if (input.ResourceId !== undefined) {
1163
1163
  labelValue = input.ResourceId;
@@ -1189,7 +1189,7 @@ export var serializeAws_restJson1RemoveResourcePermissionCommand = function (inp
1189
1189
  case 1:
1190
1190
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1191
1191
  headers = __assign({}, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1192
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1192
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1193
1193
  "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}";
1194
1194
  if (input.ResourceId !== undefined) {
1195
1195
  labelValue = input.ResourceId;
@@ -1233,7 +1233,7 @@ export var serializeAws_restJson1UpdateDocumentCommand = function (input, contex
1233
1233
  case 1:
1234
1234
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1235
1235
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1236
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
1236
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/documents/{DocumentId}";
1237
1237
  if (input.DocumentId !== undefined) {
1238
1238
  labelValue = input.DocumentId;
1239
1239
  if (labelValue.length <= 0) {
@@ -1266,7 +1266,7 @@ export var serializeAws_restJson1UpdateDocumentVersionCommand = function (input,
1266
1266
  case 1:
1267
1267
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1268
1268
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1269
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1269
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
1270
1270
  "/api/v1/documents/{DocumentId}/versions/{VersionId}";
1271
1271
  if (input.DocumentId !== undefined) {
1272
1272
  labelValue = input.DocumentId;
@@ -1309,7 +1309,7 @@ export var serializeAws_restJson1UpdateFolderCommand = function (input, context)
1309
1309
  case 1:
1310
1310
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1311
1311
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1312
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
1312
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/folders/{FolderId}";
1313
1313
  if (input.FolderId !== undefined) {
1314
1314
  labelValue = input.FolderId;
1315
1315
  if (labelValue.length <= 0) {
@@ -1342,7 +1342,7 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
1342
1342
  case 1:
1343
1343
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1344
1344
  headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.AuthenticationToken) && { authentication: input.AuthenticationToken }));
1345
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}";
1345
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v1/users/{UserId}";
1346
1346
  if (input.UserId !== undefined) {
1347
1347
  labelValue = input.UserId;
1348
1348
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.54.1",
4
+ "version": "3.58.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",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.58.0",
22
+ "@aws-sdk/config-resolver": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.58.0",
24
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.58.0",
28
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.58.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.58.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.58.0",
35
+ "@aws-sdk/node-config-provider": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.58.0",
37
+ "@aws-sdk/protocol-http": "3.58.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
48
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"