@aws-sdk/client-workdocs 3.750.0 → 3.772.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 +62 -62
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AbortDocumentVersionUploadCommand: () => AbortDocumentVersionUploadCommand,
|
|
25
25
|
AbortDocumentVersionUploadRequestFilterSensitiveLog: () => AbortDocumentVersionUploadRequestFilterSensitiveLog,
|
|
26
26
|
ActivateUserCommand: () => ActivateUserCommand,
|
|
@@ -219,7 +219,7 @@ __export(src_exports, {
|
|
|
219
219
|
paginateDescribeUsers: () => paginateDescribeUsers,
|
|
220
220
|
paginateSearchResources: () => paginateSearchResources
|
|
221
221
|
});
|
|
222
|
-
module.exports = __toCommonJS(
|
|
222
|
+
module.exports = __toCommonJS(index_exports);
|
|
223
223
|
|
|
224
224
|
// src/WorkDocsClient.ts
|
|
225
225
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -346,9 +346,9 @@ var WorkDocsClient = class extends import_smithy_client.Client {
|
|
|
346
346
|
this.middlewareStack.use(
|
|
347
347
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
348
348
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultWorkDocsHttpAuthSchemeParametersProvider,
|
|
349
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
349
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
350
350
|
"aws.auth#sigv4": config.credentials
|
|
351
|
-
})
|
|
351
|
+
}), "identityProviderConfigProvider")
|
|
352
352
|
})
|
|
353
353
|
);
|
|
354
354
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -1539,8 +1539,8 @@ var se_AddResourcePermissionsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1539
1539
|
let body;
|
|
1540
1540
|
body = JSON.stringify(
|
|
1541
1541
|
(0, import_smithy_client.take)(input, {
|
|
1542
|
-
NotificationOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1543
|
-
Principals: (_) => (0, import_smithy_client._json)(_)
|
|
1542
|
+
NotificationOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NotificationOptions"),
|
|
1543
|
+
Principals: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Principals")
|
|
1544
1544
|
})
|
|
1545
1545
|
);
|
|
1546
1546
|
b.m("POST").h(headers).b(body);
|
|
@@ -1582,7 +1582,7 @@ var se_CreateCustomMetadataCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1582
1582
|
let body;
|
|
1583
1583
|
body = JSON.stringify(
|
|
1584
1584
|
(0, import_smithy_client.take)(input, {
|
|
1585
|
-
CustomMetadata: (_) => (0, import_smithy_client._json)(_)
|
|
1585
|
+
CustomMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomMetadata")
|
|
1586
1586
|
})
|
|
1587
1587
|
);
|
|
1588
1588
|
b.m("PUT").h(headers).q(query).b(body);
|
|
@@ -1616,7 +1616,7 @@ var se_CreateLabelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1616
1616
|
let body;
|
|
1617
1617
|
body = JSON.stringify(
|
|
1618
1618
|
(0, import_smithy_client.take)(input, {
|
|
1619
|
-
Labels: (_) => (0, import_smithy_client._json)(_)
|
|
1619
|
+
Labels: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Labels")
|
|
1620
1620
|
})
|
|
1621
1621
|
);
|
|
1622
1622
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1654,7 +1654,7 @@ var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1654
1654
|
GivenName: [],
|
|
1655
1655
|
OrganizationId: [],
|
|
1656
1656
|
Password: [],
|
|
1657
|
-
StorageRule: (_) => (0, import_smithy_client._json)(_),
|
|
1657
|
+
StorageRule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StorageRule"),
|
|
1658
1658
|
Surname: [],
|
|
1659
1659
|
TimeZoneId: [],
|
|
1660
1660
|
Username: []
|
|
@@ -2052,8 +2052,8 @@ var se_InitiateDocumentVersionUploadCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
2052
2052
|
let body;
|
|
2053
2053
|
body = JSON.stringify(
|
|
2054
2054
|
(0, import_smithy_client.take)(input, {
|
|
2055
|
-
ContentCreatedTimestamp: (_) => _.getTime() / 1e3,
|
|
2056
|
-
ContentModifiedTimestamp: (_) => _.getTime() / 1e3,
|
|
2055
|
+
ContentCreatedTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ContentCreatedTimestamp"),
|
|
2056
|
+
ContentModifiedTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ContentModifiedTimestamp"),
|
|
2057
2057
|
ContentType: [],
|
|
2058
2058
|
DocumentSizeInBytes: [],
|
|
2059
2059
|
Id: [],
|
|
@@ -2111,13 +2111,13 @@ var se_SearchResourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2111
2111
|
let body;
|
|
2112
2112
|
body = JSON.stringify(
|
|
2113
2113
|
(0, import_smithy_client.take)(input, {
|
|
2114
|
-
AdditionalResponseFields: (_) => (0, import_smithy_client._json)(_),
|
|
2115
|
-
Filters: (_) => se_Filters(_, context),
|
|
2114
|
+
AdditionalResponseFields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalResponseFields"),
|
|
2115
|
+
Filters: /* @__PURE__ */ __name((_) => se_Filters(_, context), "Filters"),
|
|
2116
2116
|
Limit: [],
|
|
2117
2117
|
Marker: [],
|
|
2118
|
-
OrderBy: (_) => (0, import_smithy_client._json)(_),
|
|
2118
|
+
OrderBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OrderBy"),
|
|
2119
2119
|
OrganizationId: [],
|
|
2120
|
-
QueryScopes: (_) => (0, import_smithy_client._json)(_),
|
|
2120
|
+
QueryScopes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueryScopes"),
|
|
2121
2121
|
QueryText: []
|
|
2122
2122
|
})
|
|
2123
2123
|
);
|
|
@@ -2194,7 +2194,7 @@ var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2194
2194
|
GivenName: [],
|
|
2195
2195
|
GrantPoweruserPrivileges: [],
|
|
2196
2196
|
Locale: [],
|
|
2197
|
-
StorageRule: (_) => (0, import_smithy_client._json)(_),
|
|
2197
|
+
StorageRule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StorageRule"),
|
|
2198
2198
|
Surname: [],
|
|
2199
2199
|
TimeZoneId: [],
|
|
2200
2200
|
Type: []
|
|
@@ -2222,7 +2222,7 @@ var de_ActivateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2222
2222
|
});
|
|
2223
2223
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2224
2224
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2225
|
-
User: (_) => de_User(_, context)
|
|
2225
|
+
User: /* @__PURE__ */ __name((_) => de_User(_, context), "User")
|
|
2226
2226
|
});
|
|
2227
2227
|
Object.assign(contents, doc);
|
|
2228
2228
|
return contents;
|
|
@@ -2250,7 +2250,7 @@ var de_CreateCommentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2250
2250
|
});
|
|
2251
2251
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2252
2252
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2253
|
-
Comment: (_) => de_Comment(_, context)
|
|
2253
|
+
Comment: /* @__PURE__ */ __name((_) => de_Comment(_, context), "Comment")
|
|
2254
2254
|
});
|
|
2255
2255
|
Object.assign(contents, doc);
|
|
2256
2256
|
return contents;
|
|
@@ -2274,7 +2274,7 @@ var de_CreateFolderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2274
2274
|
});
|
|
2275
2275
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2276
2276
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2277
|
-
Metadata: (_) => de_FolderMetadata(_, context)
|
|
2277
|
+
Metadata: /* @__PURE__ */ __name((_) => de_FolderMetadata(_, context), "Metadata")
|
|
2278
2278
|
});
|
|
2279
2279
|
Object.assign(contents, doc);
|
|
2280
2280
|
return contents;
|
|
@@ -2312,7 +2312,7 @@ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2312
2312
|
});
|
|
2313
2313
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2314
2314
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2315
|
-
User: (_) => de_User(_, context)
|
|
2315
|
+
User: /* @__PURE__ */ __name((_) => de_User(_, context), "User")
|
|
2316
2316
|
});
|
|
2317
2317
|
Object.assign(contents, doc);
|
|
2318
2318
|
return contents;
|
|
@@ -2427,7 +2427,7 @@ var de_DescribeActivitiesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2427
2427
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2428
2428
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2429
2429
|
Marker: import_smithy_client.expectString,
|
|
2430
|
-
UserActivities: (_) => de_UserActivities(_, context)
|
|
2430
|
+
UserActivities: /* @__PURE__ */ __name((_) => de_UserActivities(_, context), "UserActivities")
|
|
2431
2431
|
});
|
|
2432
2432
|
Object.assign(contents, doc);
|
|
2433
2433
|
return contents;
|
|
@@ -2441,7 +2441,7 @@ var de_DescribeCommentsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2441
2441
|
});
|
|
2442
2442
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2443
2443
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2444
|
-
Comments: (_) => de_CommentList(_, context),
|
|
2444
|
+
Comments: /* @__PURE__ */ __name((_) => de_CommentList(_, context), "Comments"),
|
|
2445
2445
|
Marker: import_smithy_client.expectString
|
|
2446
2446
|
});
|
|
2447
2447
|
Object.assign(contents, doc);
|
|
@@ -2456,7 +2456,7 @@ var de_DescribeDocumentVersionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2456
2456
|
});
|
|
2457
2457
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2458
2458
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2459
|
-
DocumentVersions: (_) => de_DocumentVersionMetadataList(_, context),
|
|
2459
|
+
DocumentVersions: /* @__PURE__ */ __name((_) => de_DocumentVersionMetadataList(_, context), "DocumentVersions"),
|
|
2460
2460
|
Marker: import_smithy_client.expectString
|
|
2461
2461
|
});
|
|
2462
2462
|
Object.assign(contents, doc);
|
|
@@ -2471,8 +2471,8 @@ var de_DescribeFolderContentsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2471
2471
|
});
|
|
2472
2472
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2473
2473
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2474
|
-
Documents: (_) => de_DocumentMetadataList(_, context),
|
|
2475
|
-
Folders: (_) => de_FolderMetadataList(_, context),
|
|
2474
|
+
Documents: /* @__PURE__ */ __name((_) => de_DocumentMetadataList(_, context), "Documents"),
|
|
2475
|
+
Folders: /* @__PURE__ */ __name((_) => de_FolderMetadataList(_, context), "Folders"),
|
|
2476
2476
|
Marker: import_smithy_client.expectString
|
|
2477
2477
|
});
|
|
2478
2478
|
Object.assign(contents, doc);
|
|
@@ -2532,7 +2532,7 @@ var de_DescribeRootFoldersCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2532
2532
|
});
|
|
2533
2533
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2534
2534
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2535
|
-
Folders: (_) => de_FolderMetadataList(_, context),
|
|
2535
|
+
Folders: /* @__PURE__ */ __name((_) => de_FolderMetadataList(_, context), "Folders"),
|
|
2536
2536
|
Marker: import_smithy_client.expectString
|
|
2537
2537
|
});
|
|
2538
2538
|
Object.assign(contents, doc);
|
|
@@ -2549,7 +2549,7 @@ var de_DescribeUsersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2549
2549
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2550
2550
|
Marker: import_smithy_client.expectString,
|
|
2551
2551
|
TotalNumberOfUsers: import_smithy_client.expectLong,
|
|
2552
|
-
Users: (_) => de_OrganizationUserList(_, context)
|
|
2552
|
+
Users: /* @__PURE__ */ __name((_) => de_OrganizationUserList(_, context), "Users")
|
|
2553
2553
|
});
|
|
2554
2554
|
Object.assign(contents, doc);
|
|
2555
2555
|
return contents;
|
|
@@ -2563,7 +2563,7 @@ var de_GetCurrentUserCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2563
2563
|
});
|
|
2564
2564
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2565
2565
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2566
|
-
User: (_) => de_User(_, context)
|
|
2566
|
+
User: /* @__PURE__ */ __name((_) => de_User(_, context), "User")
|
|
2567
2567
|
});
|
|
2568
2568
|
Object.assign(contents, doc);
|
|
2569
2569
|
return contents;
|
|
@@ -2578,7 +2578,7 @@ var de_GetDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2578
2578
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2579
2579
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2580
2580
|
CustomMetadata: import_smithy_client._json,
|
|
2581
|
-
Metadata: (_) => de_DocumentMetadata(_, context)
|
|
2581
|
+
Metadata: /* @__PURE__ */ __name((_) => de_DocumentMetadata(_, context), "Metadata")
|
|
2582
2582
|
});
|
|
2583
2583
|
Object.assign(contents, doc);
|
|
2584
2584
|
return contents;
|
|
@@ -2607,7 +2607,7 @@ var de_GetDocumentVersionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2607
2607
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2608
2608
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2609
2609
|
CustomMetadata: import_smithy_client._json,
|
|
2610
|
-
Metadata: (_) => de_DocumentVersionMetadata(_, context)
|
|
2610
|
+
Metadata: /* @__PURE__ */ __name((_) => de_DocumentVersionMetadata(_, context), "Metadata")
|
|
2611
2611
|
});
|
|
2612
2612
|
Object.assign(contents, doc);
|
|
2613
2613
|
return contents;
|
|
@@ -2622,7 +2622,7 @@ var de_GetFolderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2622
2622
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2623
2623
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2624
2624
|
CustomMetadata: import_smithy_client._json,
|
|
2625
|
-
Metadata: (_) => de_FolderMetadata(_, context)
|
|
2625
|
+
Metadata: /* @__PURE__ */ __name((_) => de_FolderMetadata(_, context), "Metadata")
|
|
2626
2626
|
});
|
|
2627
2627
|
Object.assign(contents, doc);
|
|
2628
2628
|
return contents;
|
|
@@ -2650,8 +2650,8 @@ var de_GetResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2650
2650
|
});
|
|
2651
2651
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2652
2652
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2653
|
-
Documents: (_) => de_DocumentMetadataList(_, context),
|
|
2654
|
-
Folders: (_) => de_FolderMetadataList(_, context),
|
|
2653
|
+
Documents: /* @__PURE__ */ __name((_) => de_DocumentMetadataList(_, context), "Documents"),
|
|
2654
|
+
Folders: /* @__PURE__ */ __name((_) => de_FolderMetadataList(_, context), "Folders"),
|
|
2655
2655
|
Marker: import_smithy_client.expectString
|
|
2656
2656
|
});
|
|
2657
2657
|
Object.assign(contents, doc);
|
|
@@ -2666,7 +2666,7 @@ var de_InitiateDocumentVersionUploadCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2666
2666
|
});
|
|
2667
2667
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2668
2668
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2669
|
-
Metadata: (_) => de_DocumentMetadata(_, context),
|
|
2669
|
+
Metadata: /* @__PURE__ */ __name((_) => de_DocumentMetadata(_, context), "Metadata"),
|
|
2670
2670
|
UploadMetadata: import_smithy_client._json
|
|
2671
2671
|
});
|
|
2672
2672
|
Object.assign(contents, doc);
|
|
@@ -2711,7 +2711,7 @@ var de_SearchResourcesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2711
2711
|
});
|
|
2712
2712
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2713
2713
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2714
|
-
Items: (_) => de_ResponseItemsList(_, context),
|
|
2714
|
+
Items: /* @__PURE__ */ __name((_) => de_ResponseItemsList(_, context), "Items"),
|
|
2715
2715
|
Marker: import_smithy_client.expectString
|
|
2716
2716
|
});
|
|
2717
2717
|
Object.assign(contents, doc);
|
|
@@ -2756,7 +2756,7 @@ var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2756
2756
|
});
|
|
2757
2757
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2758
2758
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2759
|
-
User: (_) => de_User(_, context)
|
|
2759
|
+
User: /* @__PURE__ */ __name((_) => de_User(_, context), "User")
|
|
2760
2760
|
});
|
|
2761
2761
|
Object.assign(contents, doc);
|
|
2762
2762
|
return contents;
|
|
@@ -3183,17 +3183,17 @@ var de_UnauthorizedResourceAccessExceptionRes = /* @__PURE__ */ __name(async (pa
|
|
|
3183
3183
|
}, "de_UnauthorizedResourceAccessExceptionRes");
|
|
3184
3184
|
var se_DateRangeType = /* @__PURE__ */ __name((input, context) => {
|
|
3185
3185
|
return (0, import_smithy_client.take)(input, {
|
|
3186
|
-
EndValue: (_) => _.getTime() / 1e3,
|
|
3187
|
-
StartValue: (_) => _.getTime() / 1e3
|
|
3186
|
+
EndValue: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndValue"),
|
|
3187
|
+
StartValue: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartValue")
|
|
3188
3188
|
});
|
|
3189
3189
|
}, "se_DateRangeType");
|
|
3190
3190
|
var se_Filters = /* @__PURE__ */ __name((input, context) => {
|
|
3191
3191
|
return (0, import_smithy_client.take)(input, {
|
|
3192
3192
|
AncestorIds: import_smithy_client._json,
|
|
3193
3193
|
ContentCategories: import_smithy_client._json,
|
|
3194
|
-
CreatedRange: (_) => se_DateRangeType(_, context),
|
|
3194
|
+
CreatedRange: /* @__PURE__ */ __name((_) => se_DateRangeType(_, context), "CreatedRange"),
|
|
3195
3195
|
Labels: import_smithy_client._json,
|
|
3196
|
-
ModifiedRange: (_) => se_DateRangeType(_, context),
|
|
3196
|
+
ModifiedRange: /* @__PURE__ */ __name((_) => se_DateRangeType(_, context), "ModifiedRange"),
|
|
3197
3197
|
Principals: import_smithy_client._json,
|
|
3198
3198
|
ResourceTypes: import_smithy_client._json,
|
|
3199
3199
|
SearchCollectionTypes: import_smithy_client._json,
|
|
@@ -3203,22 +3203,22 @@ var se_Filters = /* @__PURE__ */ __name((input, context) => {
|
|
|
3203
3203
|
}, "se_Filters");
|
|
3204
3204
|
var de_Activity = /* @__PURE__ */ __name((output, context) => {
|
|
3205
3205
|
return (0, import_smithy_client.take)(output, {
|
|
3206
|
-
CommentMetadata: (_) => de_CommentMetadata(_, context),
|
|
3206
|
+
CommentMetadata: /* @__PURE__ */ __name((_) => de_CommentMetadata(_, context), "CommentMetadata"),
|
|
3207
3207
|
Initiator: import_smithy_client._json,
|
|
3208
3208
|
IsIndirectActivity: import_smithy_client.expectBoolean,
|
|
3209
3209
|
OrganizationId: import_smithy_client.expectString,
|
|
3210
3210
|
OriginalParent: import_smithy_client._json,
|
|
3211
3211
|
Participants: import_smithy_client._json,
|
|
3212
3212
|
ResourceMetadata: import_smithy_client._json,
|
|
3213
|
-
TimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3213
|
+
TimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TimeStamp"),
|
|
3214
3214
|
Type: import_smithy_client.expectString
|
|
3215
3215
|
});
|
|
3216
3216
|
}, "de_Activity");
|
|
3217
3217
|
var de_Comment = /* @__PURE__ */ __name((output, context) => {
|
|
3218
3218
|
return (0, import_smithy_client.take)(output, {
|
|
3219
3219
|
CommentId: import_smithy_client.expectString,
|
|
3220
|
-
Contributor: (_) => de_User(_, context),
|
|
3221
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3220
|
+
Contributor: /* @__PURE__ */ __name((_) => de_User(_, context), "Contributor"),
|
|
3221
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3222
3222
|
ParentId: import_smithy_client.expectString,
|
|
3223
3223
|
RecipientId: import_smithy_client.expectString,
|
|
3224
3224
|
Status: import_smithy_client.expectString,
|
|
@@ -3237,20 +3237,20 @@ var de_CommentMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
|
3237
3237
|
return (0, import_smithy_client.take)(output, {
|
|
3238
3238
|
CommentId: import_smithy_client.expectString,
|
|
3239
3239
|
CommentStatus: import_smithy_client.expectString,
|
|
3240
|
-
Contributor: (_) => de_User(_, context),
|
|
3240
|
+
Contributor: /* @__PURE__ */ __name((_) => de_User(_, context), "Contributor"),
|
|
3241
3241
|
ContributorId: import_smithy_client.expectString,
|
|
3242
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3242
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3243
3243
|
RecipientId: import_smithy_client.expectString
|
|
3244
3244
|
});
|
|
3245
3245
|
}, "de_CommentMetadata");
|
|
3246
3246
|
var de_DocumentMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
3247
3247
|
return (0, import_smithy_client.take)(output, {
|
|
3248
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3248
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3249
3249
|
CreatorId: import_smithy_client.expectString,
|
|
3250
3250
|
Id: import_smithy_client.expectString,
|
|
3251
3251
|
Labels: import_smithy_client._json,
|
|
3252
|
-
LatestVersionMetadata: (_) => de_DocumentVersionMetadata(_, context),
|
|
3253
|
-
ModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3252
|
+
LatestVersionMetadata: /* @__PURE__ */ __name((_) => de_DocumentVersionMetadata(_, context), "LatestVersionMetadata"),
|
|
3253
|
+
ModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedTimestamp"),
|
|
3254
3254
|
ParentFolderId: import_smithy_client.expectString,
|
|
3255
3255
|
ResourceState: import_smithy_client.expectString
|
|
3256
3256
|
});
|
|
@@ -3263,13 +3263,13 @@ var de_DocumentMetadataList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3263
3263
|
}, "de_DocumentMetadataList");
|
|
3264
3264
|
var de_DocumentVersionMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
3265
3265
|
return (0, import_smithy_client.take)(output, {
|
|
3266
|
-
ContentCreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3267
|
-
ContentModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3266
|
+
ContentCreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ContentCreatedTimestamp"),
|
|
3267
|
+
ContentModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ContentModifiedTimestamp"),
|
|
3268
3268
|
ContentType: import_smithy_client.expectString,
|
|
3269
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3269
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3270
3270
|
CreatorId: import_smithy_client.expectString,
|
|
3271
3271
|
Id: import_smithy_client.expectString,
|
|
3272
|
-
ModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3272
|
+
ModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedTimestamp"),
|
|
3273
3273
|
Name: import_smithy_client.expectString,
|
|
3274
3274
|
Signature: import_smithy_client.expectString,
|
|
3275
3275
|
Size: import_smithy_client.expectLong,
|
|
@@ -3286,12 +3286,12 @@ var de_DocumentVersionMetadataList = /* @__PURE__ */ __name((output, context) =>
|
|
|
3286
3286
|
}, "de_DocumentVersionMetadataList");
|
|
3287
3287
|
var de_FolderMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
3288
3288
|
return (0, import_smithy_client.take)(output, {
|
|
3289
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3289
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3290
3290
|
CreatorId: import_smithy_client.expectString,
|
|
3291
3291
|
Id: import_smithy_client.expectString,
|
|
3292
3292
|
Labels: import_smithy_client._json,
|
|
3293
3293
|
LatestVersionSize: import_smithy_client.expectLong,
|
|
3294
|
-
ModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3294
|
+
ModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedTimestamp"),
|
|
3295
3295
|
Name: import_smithy_client.expectString,
|
|
3296
3296
|
ParentFolderId: import_smithy_client.expectString,
|
|
3297
3297
|
ResourceState: import_smithy_client.expectString,
|
|
@@ -3313,10 +3313,10 @@ var de_OrganizationUserList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3313
3313
|
}, "de_OrganizationUserList");
|
|
3314
3314
|
var de_ResponseItem = /* @__PURE__ */ __name((output, context) => {
|
|
3315
3315
|
return (0, import_smithy_client.take)(output, {
|
|
3316
|
-
CommentMetadata: (_) => de_CommentMetadata(_, context),
|
|
3317
|
-
DocumentMetadata: (_) => de_DocumentMetadata(_, context),
|
|
3318
|
-
DocumentVersionMetadata: (_) => de_DocumentVersionMetadata(_, context),
|
|
3319
|
-
FolderMetadata: (_) => de_FolderMetadata(_, context),
|
|
3316
|
+
CommentMetadata: /* @__PURE__ */ __name((_) => de_CommentMetadata(_, context), "CommentMetadata"),
|
|
3317
|
+
DocumentMetadata: /* @__PURE__ */ __name((_) => de_DocumentMetadata(_, context), "DocumentMetadata"),
|
|
3318
|
+
DocumentVersionMetadata: /* @__PURE__ */ __name((_) => de_DocumentVersionMetadata(_, context), "DocumentVersionMetadata"),
|
|
3319
|
+
FolderMetadata: /* @__PURE__ */ __name((_) => de_FolderMetadata(_, context), "FolderMetadata"),
|
|
3320
3320
|
ResourceType: import_smithy_client.expectString,
|
|
3321
3321
|
WebUrl: import_smithy_client.expectString
|
|
3322
3322
|
});
|
|
@@ -3329,12 +3329,12 @@ var de_ResponseItemsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3329
3329
|
}, "de_ResponseItemsList");
|
|
3330
3330
|
var de_User = /* @__PURE__ */ __name((output, context) => {
|
|
3331
3331
|
return (0, import_smithy_client.take)(output, {
|
|
3332
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3332
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
3333
3333
|
EmailAddress: import_smithy_client.expectString,
|
|
3334
3334
|
GivenName: import_smithy_client.expectString,
|
|
3335
3335
|
Id: import_smithy_client.expectString,
|
|
3336
3336
|
Locale: import_smithy_client.expectString,
|
|
3337
|
-
ModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3337
|
+
ModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedTimestamp"),
|
|
3338
3338
|
OrganizationId: import_smithy_client.expectString,
|
|
3339
3339
|
RecycleBinFolderId: import_smithy_client.expectString,
|
|
3340
3340
|
RootFolderId: import_smithy_client.expectString,
|
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.772.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|