@aws-sdk/client-workdocs 3.1074.0 → 3.1076.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 CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultWorkDocsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AbortDocumentVersionUpload$, ActivateUser$, AddResourcePermissions$, CreateComment$, CreateCustomMetadata$, CreateFolder$, CreateLabels$, CreateNotificationSubscription$, CreateUser$, DeactivateUser$, DeleteComment$, DeleteCustomMetadata$, DeleteDocument$, DeleteDocumentVersion$, DeleteFolder$, DeleteFolderContents$, DeleteLabels$, DeleteNotificationSubscription$, DeleteUser$, DescribeActivities$, DescribeComments$, DescribeDocumentVersions$, DescribeFolderContents$, DescribeGroups$, DescribeNotificationSubscriptions$, DescribeResourcePermissions$, DescribeRootFolders$, DescribeUsers$, GetCurrentUser$, GetDocument$, GetDocumentPath$, GetDocumentVersion$, GetFolder$, GetFolderPath$, GetResources$, InitiateDocumentVersionUpload$, RemoveAllResourcePermissions$, RemoveResourcePermission$, RestoreDocumentVersions$, SearchResources$, UpdateDocument$, UpdateDocumentVersion$, UpdateFolder$, UpdateUser$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { WorkDocsServiceException } = require("./models/WorkDocsServiceException");
18
- exports.WorkDocsServiceException = WorkDocsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultWorkDocsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "workdocs",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultWorkDocsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1744 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://workdocs-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://workdocs.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class WorkDocsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, WorkDocsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class ConcurrentModificationException extends WorkDocsServiceException {
140
+ name = "ConcurrentModificationException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "ConcurrentModificationException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class EntityNotExistsException extends WorkDocsServiceException {
154
+ name = "EntityNotExistsException";
155
+ $fault = "client";
156
+ Message;
157
+ EntityIds;
158
+ constructor(opts) {
159
+ super({
160
+ name: "EntityNotExistsException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, EntityNotExistsException.prototype);
165
+ this.Message = opts.Message;
166
+ this.EntityIds = opts.EntityIds;
167
+ }
168
+ }
169
+ class FailedDependencyException extends WorkDocsServiceException {
170
+ name = "FailedDependencyException";
171
+ $fault = "client";
172
+ Message;
173
+ constructor(opts) {
174
+ super({
175
+ name: "FailedDependencyException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
180
+ this.Message = opts.Message;
181
+ }
182
+ }
183
+ class ProhibitedStateException extends WorkDocsServiceException {
184
+ name = "ProhibitedStateException";
185
+ $fault = "client";
186
+ Message;
187
+ constructor(opts) {
188
+ super({
189
+ name: "ProhibitedStateException",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ Object.setPrototypeOf(this, ProhibitedStateException.prototype);
194
+ this.Message = opts.Message;
195
+ }
196
+ }
197
+ class ServiceUnavailableException extends WorkDocsServiceException {
198
+ name = "ServiceUnavailableException";
199
+ $fault = "server";
200
+ Message;
201
+ constructor(opts) {
202
+ super({
203
+ name: "ServiceUnavailableException",
204
+ $fault: "server",
205
+ ...opts,
206
+ });
207
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
208
+ this.Message = opts.Message;
209
+ }
210
+ }
211
+ class UnauthorizedOperationException extends WorkDocsServiceException {
212
+ name = "UnauthorizedOperationException";
213
+ $fault = "client";
214
+ Message;
215
+ Code;
216
+ constructor(opts) {
217
+ super({
218
+ name: "UnauthorizedOperationException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
223
+ this.Message = opts.Message;
224
+ this.Code = opts.Code;
225
+ }
226
+ }
227
+ class UnauthorizedResourceAccessException extends WorkDocsServiceException {
228
+ name = "UnauthorizedResourceAccessException";
229
+ $fault = "client";
230
+ Message;
231
+ constructor(opts) {
232
+ super({
233
+ name: "UnauthorizedResourceAccessException",
234
+ $fault: "client",
235
+ ...opts,
236
+ });
237
+ Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
238
+ this.Message = opts.Message;
239
+ }
240
+ }
241
+ class DocumentLockedForCommentsException extends WorkDocsServiceException {
242
+ name = "DocumentLockedForCommentsException";
243
+ $fault = "client";
244
+ Message;
245
+ constructor(opts) {
246
+ super({
247
+ name: "DocumentLockedForCommentsException",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
252
+ this.Message = opts.Message;
253
+ }
254
+ }
255
+ class InvalidCommentOperationException extends WorkDocsServiceException {
256
+ name = "InvalidCommentOperationException";
257
+ $fault = "client";
258
+ Message;
259
+ constructor(opts) {
260
+ super({
261
+ name: "InvalidCommentOperationException",
262
+ $fault: "client",
263
+ ...opts,
264
+ });
265
+ Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
266
+ this.Message = opts.Message;
267
+ }
268
+ }
269
+ class CustomMetadataLimitExceededException extends WorkDocsServiceException {
270
+ name = "CustomMetadataLimitExceededException";
271
+ $fault = "client";
272
+ Message;
273
+ constructor(opts) {
274
+ super({
275
+ name: "CustomMetadataLimitExceededException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
280
+ this.Message = opts.Message;
281
+ }
282
+ }
283
+ class ConflictingOperationException extends WorkDocsServiceException {
284
+ name = "ConflictingOperationException";
285
+ $fault = "client";
286
+ Message;
287
+ constructor(opts) {
288
+ super({
289
+ name: "ConflictingOperationException",
290
+ $fault: "client",
291
+ ...opts,
292
+ });
293
+ Object.setPrototypeOf(this, ConflictingOperationException.prototype);
294
+ this.Message = opts.Message;
295
+ }
296
+ }
297
+ class EntityAlreadyExistsException extends WorkDocsServiceException {
298
+ name = "EntityAlreadyExistsException";
299
+ $fault = "client";
300
+ Message;
301
+ constructor(opts) {
302
+ super({
303
+ name: "EntityAlreadyExistsException",
304
+ $fault: "client",
305
+ ...opts,
306
+ });
307
+ Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
308
+ this.Message = opts.Message;
309
+ }
310
+ }
311
+ class LimitExceededException extends WorkDocsServiceException {
312
+ name = "LimitExceededException";
313
+ $fault = "client";
314
+ Message;
315
+ constructor(opts) {
316
+ super({
317
+ name: "LimitExceededException",
318
+ $fault: "client",
319
+ ...opts,
320
+ });
321
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
322
+ this.Message = opts.Message;
323
+ }
324
+ }
325
+ class TooManyLabelsException extends WorkDocsServiceException {
326
+ name = "TooManyLabelsException";
327
+ $fault = "client";
328
+ Message;
329
+ constructor(opts) {
330
+ super({
331
+ name: "TooManyLabelsException",
332
+ $fault: "client",
333
+ ...opts,
334
+ });
335
+ Object.setPrototypeOf(this, TooManyLabelsException.prototype);
336
+ this.Message = opts.Message;
337
+ }
338
+ }
339
+ class InvalidArgumentException extends WorkDocsServiceException {
340
+ name = "InvalidArgumentException";
341
+ $fault = "client";
342
+ Message;
343
+ constructor(opts) {
344
+ super({
345
+ name: "InvalidArgumentException",
346
+ $fault: "client",
347
+ ...opts,
348
+ });
349
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
350
+ this.Message = opts.Message;
351
+ }
352
+ }
353
+ class TooManySubscriptionsException extends WorkDocsServiceException {
354
+ name = "TooManySubscriptionsException";
355
+ $fault = "client";
356
+ Message;
357
+ constructor(opts) {
358
+ super({
359
+ name: "TooManySubscriptionsException",
360
+ $fault: "client",
361
+ ...opts,
362
+ });
363
+ Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
364
+ this.Message = opts.Message;
365
+ }
366
+ }
367
+ class InvalidOperationException extends WorkDocsServiceException {
368
+ name = "InvalidOperationException";
369
+ $fault = "client";
370
+ Message;
371
+ constructor(opts) {
372
+ super({
373
+ name: "InvalidOperationException",
374
+ $fault: "client",
375
+ ...opts,
376
+ });
377
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
378
+ this.Message = opts.Message;
379
+ }
380
+ }
381
+ class InvalidPasswordException extends WorkDocsServiceException {
382
+ name = "InvalidPasswordException";
383
+ $fault = "client";
384
+ Message;
385
+ constructor(opts) {
386
+ super({
387
+ name: "InvalidPasswordException",
388
+ $fault: "client",
389
+ ...opts,
390
+ });
391
+ Object.setPrototypeOf(this, InvalidPasswordException.prototype);
392
+ this.Message = opts.Message;
393
+ }
394
+ }
395
+ class RequestedEntityTooLargeException extends WorkDocsServiceException {
396
+ name = "RequestedEntityTooLargeException";
397
+ $fault = "client";
398
+ Message;
399
+ constructor(opts) {
400
+ super({
401
+ name: "RequestedEntityTooLargeException",
402
+ $fault: "client",
403
+ ...opts,
404
+ });
405
+ Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
406
+ this.Message = opts.Message;
407
+ }
408
+ }
409
+ class DraftUploadOutOfSyncException extends WorkDocsServiceException {
410
+ name = "DraftUploadOutOfSyncException";
411
+ $fault = "client";
412
+ Message;
413
+ constructor(opts) {
414
+ super({
415
+ name: "DraftUploadOutOfSyncException",
416
+ $fault: "client",
417
+ ...opts,
418
+ });
419
+ Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
420
+ this.Message = opts.Message;
421
+ }
422
+ }
423
+ class ResourceAlreadyCheckedOutException extends WorkDocsServiceException {
424
+ name = "ResourceAlreadyCheckedOutException";
425
+ $fault = "client";
426
+ Message;
427
+ constructor(opts) {
428
+ super({
429
+ name: "ResourceAlreadyCheckedOutException",
430
+ $fault: "client",
431
+ ...opts,
432
+ });
433
+ Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
434
+ this.Message = opts.Message;
435
+ }
436
+ }
437
+ class StorageLimitExceededException extends WorkDocsServiceException {
438
+ name = "StorageLimitExceededException";
439
+ $fault = "client";
440
+ Message;
441
+ constructor(opts) {
442
+ super({
443
+ name: "StorageLimitExceededException",
444
+ $fault: "client",
445
+ ...opts,
446
+ });
447
+ Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
448
+ this.Message = opts.Message;
449
+ }
450
+ }
451
+ class StorageLimitWillExceedException extends WorkDocsServiceException {
452
+ name = "StorageLimitWillExceedException";
453
+ $fault = "client";
454
+ Message;
455
+ constructor(opts) {
456
+ super({
457
+ name: "StorageLimitWillExceedException",
458
+ $fault: "client",
459
+ ...opts,
460
+ });
461
+ Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
462
+ this.Message = opts.Message;
463
+ }
464
+ }
465
+ class DeactivatingLastSystemUserException extends WorkDocsServiceException {
466
+ name = "DeactivatingLastSystemUserException";
467
+ $fault = "client";
468
+ Message;
469
+ Code;
470
+ constructor(opts) {
471
+ super({
472
+ name: "DeactivatingLastSystemUserException",
473
+ $fault: "client",
474
+ ...opts,
475
+ });
476
+ Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
477
+ this.Message = opts.Message;
478
+ this.Code = opts.Code;
479
+ }
480
+ }
481
+ class IllegalUserStateException extends WorkDocsServiceException {
482
+ name = "IllegalUserStateException";
483
+ $fault = "client";
484
+ Message;
485
+ constructor(opts) {
486
+ super({
487
+ name: "IllegalUserStateException",
488
+ $fault: "client",
489
+ ...opts,
490
+ });
491
+ Object.setPrototypeOf(this, IllegalUserStateException.prototype);
492
+ this.Message = opts.Message;
493
+ }
494
+ }
495
+
496
+ const _A = "Authentication";
497
+ const _ADVU = "AbortDocumentVersionUpload";
498
+ const _ADVUR = "AbortDocumentVersionUploadRequest";
499
+ const _AHT = "AuthenticationHeaderType";
500
+ const _AI = "AncestorIds";
501
+ const _ARF = "AdditionalResponseFields";
502
+ const _ARP = "AddResourcePermissions";
503
+ const _ARPR = "AddResourcePermissionsRequest";
504
+ const _ARPRd = "AddResourcePermissionsResponse";
505
+ const _AT = "AuthenticationToken";
506
+ const _ATc = "ActivityTypes";
507
+ const _AU = "ActivateUser";
508
+ const _AUR = "ActivateUserRequest";
509
+ const _AURc = "ActivateUserResponse";
510
+ const _Ac = "Activity";
511
+ const _C = "Code";
512
+ const _CC = "ContentCategories";
513
+ const _CCM = "CreateCustomMetadata";
514
+ const _CCMR = "CreateCustomMetadataRequest";
515
+ const _CCMRr = "CreateCustomMetadataResponse";
516
+ const _CCR = "CreateCommentRequest";
517
+ const _CCRr = "CreateCommentResponse";
518
+ const _CCT = "ContentCreatedTimestamp";
519
+ const _CCr = "CreateComment";
520
+ const _CF = "CreateFolder";
521
+ const _CFR = "CreateFolderRequest";
522
+ const _CFRr = "CreateFolderResponse";
523
+ const _CI = "CommentId";
524
+ const _CIo = "ContributorId";
525
+ const _CIr = "CreatorId";
526
+ const _CL = "CommentList";
527
+ const _CLR = "CreateLabelsRequest";
528
+ const _CLRr = "CreateLabelsResponse";
529
+ const _CLr = "CreateLabels";
530
+ const _CM = "CommentMetadata";
531
+ const _CME = "ConcurrentModificationException";
532
+ const _CMLEE = "CustomMetadataLimitExceededException";
533
+ const _CMT = "ContentModifiedTimestamp";
534
+ const _CMu = "CustomMetadata";
535
+ const _CNS = "CreateNotificationSubscription";
536
+ const _CNSR = "CreateNotificationSubscriptionRequest";
537
+ const _CNSRr = "CreateNotificationSubscriptionResponse";
538
+ const _COE = "ConflictingOperationException";
539
+ const _CR = "CreatedRange";
540
+ const _CS = "CommentStatus";
541
+ const _CT = "CreatedTimestamp";
542
+ const _CTT = "CommentTextType";
543
+ const _CTo = "ContentType";
544
+ const _CTol = "CollectionType";
545
+ const _CU = "CreateUser";
546
+ const _CUR = "CreateUserRequest";
547
+ const _CURr = "CreateUserResponse";
548
+ const _Co = "Comment";
549
+ const _Com = "Comments";
550
+ const _Comp = "Components";
551
+ const _Con = "Contributor";
552
+ const _D = "Documents";
553
+ const _DA = "DeleteAll";
554
+ const _DAR = "DescribeActivitiesRequest";
555
+ const _DARe = "DescribeActivitiesResponse";
556
+ const _DAe = "DescribeActivities";
557
+ const _DC = "DeleteComment";
558
+ const _DCM = "DeleteCustomMetadata";
559
+ const _DCMR = "DeleteCustomMetadataRequest";
560
+ const _DCMRe = "DeleteCustomMetadataResponse";
561
+ const _DCR = "DeleteCommentRequest";
562
+ const _DCRe = "DescribeCommentsRequest";
563
+ const _DCRes = "DescribeCommentsResponse";
564
+ const _DCe = "DescribeComments";
565
+ const _DD = "DeleteDocument";
566
+ const _DDR = "DeleteDocumentRequest";
567
+ const _DDV = "DeleteDocumentVersion";
568
+ const _DDVR = "DeleteDocumentVersionRequest";
569
+ const _DDVRe = "DescribeDocumentVersionsRequest";
570
+ const _DDVRes = "DescribeDocumentVersionsResponse";
571
+ const _DDVe = "DescribeDocumentVersions";
572
+ const _DF = "DeleteFolder";
573
+ const _DFC = "DeleteFolderContents";
574
+ const _DFCR = "DeleteFolderContentsRequest";
575
+ const _DFCRe = "DescribeFolderContentsRequest";
576
+ const _DFCRes = "DescribeFolderContentsResponse";
577
+ const _DFCe = "DescribeFolderContents";
578
+ const _DFR = "DeleteFolderRequest";
579
+ const _DG = "DescribeGroups";
580
+ const _DGR = "DescribeGroupsRequest";
581
+ const _DGRe = "DescribeGroupsResponse";
582
+ const _DI = "DocumentId";
583
+ const _DL = "DeleteLabels";
584
+ const _DLFCE = "DocumentLockedForCommentsException";
585
+ const _DLR = "DeleteLabelsRequest";
586
+ const _DLRe = "DeleteLabelsResponse";
587
+ const _DLSUE = "DeactivatingLastSystemUserException";
588
+ const _DM = "DocumentMetadata";
589
+ const _DML = "DocumentMetadataList";
590
+ const _DNS = "DeleteNotificationSubscription";
591
+ const _DNSR = "DeleteNotificationSubscriptionRequest";
592
+ const _DNSRe = "DescribeNotificationSubscriptionsRequest";
593
+ const _DNSRes = "DescribeNotificationSubscriptionsResponse";
594
+ const _DNSe = "DescribeNotificationSubscriptions";
595
+ const _DPV = "DeletePriorVersions";
596
+ const _DRF = "DescribeRootFolders";
597
+ const _DRFR = "DescribeRootFoldersRequest";
598
+ const _DRFRe = "DescribeRootFoldersResponse";
599
+ const _DRP = "DescribeResourcePermissions";
600
+ const _DRPR = "DescribeResourcePermissionsRequest";
601
+ const _DRPRe = "DescribeResourcePermissionsResponse";
602
+ const _DRT = "DateRangeType";
603
+ const _DSIB = "DocumentSizeInBytes";
604
+ const _DSUM = "DocumentSourceUrlMap";
605
+ const _DTUM = "DocumentThumbnailUrlMap";
606
+ const _DU = "DeactivateUser";
607
+ const _DUOOSE = "DraftUploadOutOfSyncException";
608
+ const _DUR = "DeactivateUserRequest";
609
+ const _DURe = "DeleteUserRequest";
610
+ const _DURes = "DescribeUsersRequest";
611
+ const _DUResc = "DescribeUsersResponse";
612
+ const _DUe = "DeleteUser";
613
+ const _DUes = "DescribeUsers";
614
+ const _DV = "DocumentVersions";
615
+ const _DVM = "DocumentVersionMetadata";
616
+ const _DVML = "DocumentVersionMetadataList";
617
+ const _E = "Endpoint";
618
+ const _EA = "EmailAddress";
619
+ const _EAEE = "EntityAlreadyExistsException";
620
+ const _EAT = "EmailAddressType";
621
+ const _EI = "EntityIds";
622
+ const _EM = "EmailMessage";
623
+ const _ENEE = "EntityNotExistsException";
624
+ const _EP = "EndPoint";
625
+ const _ET = "EndTime";
626
+ const _EV = "EndValue";
627
+ const _F = "Fields";
628
+ const _FDE = "FailedDependencyException";
629
+ const _FI = "FolderId";
630
+ const _FM = "FolderMetadata";
631
+ const _FML = "FolderMetadataList";
632
+ const _Fi = "Filters";
633
+ const _Fie = "Field";
634
+ const _Fo = "Folders";
635
+ const _G = "Groups";
636
+ const _GCU = "GetCurrentUser";
637
+ const _GCUR = "GetCurrentUserRequest";
638
+ const _GCURe = "GetCurrentUserResponse";
639
+ const _GD = "GetDocument";
640
+ const _GDP = "GetDocumentPath";
641
+ const _GDPR = "GetDocumentPathRequest";
642
+ const _GDPRe = "GetDocumentPathResponse";
643
+ const _GDR = "GetDocumentRequest";
644
+ const _GDRe = "GetDocumentResponse";
645
+ const _GDV = "GetDocumentVersion";
646
+ const _GDVR = "GetDocumentVersionRequest";
647
+ const _GDVRe = "GetDocumentVersionResponse";
648
+ const _GF = "GetFolder";
649
+ const _GFP = "GetFolderPath";
650
+ const _GFPR = "GetFolderPathRequest";
651
+ const _GFPRe = "GetFolderPathResponse";
652
+ const _GFR = "GetFolderRequest";
653
+ const _GFRe = "GetFolderResponse";
654
+ const _GM = "GroupMetadata";
655
+ const _GML = "GroupMetadataList";
656
+ const _GN = "GivenName";
657
+ const _GPP = "GrantPoweruserPrivileges";
658
+ const _GR = "GetResources";
659
+ const _GRR = "GetResourcesRequest";
660
+ const _GRRe = "GetResourcesResponse";
661
+ const _I = "Initiator";
662
+ const _IAE = "InvalidArgumentException";
663
+ const _ICM = "IncludeCustomMetadata";
664
+ const _ICOE = "InvalidCommentOperationException";
665
+ const _IDVU = "InitiateDocumentVersionUpload";
666
+ const _IDVUR = "InitiateDocumentVersionUploadRequest";
667
+ const _IDVURn = "InitiateDocumentVersionUploadResponse";
668
+ const _IIA = "IsIndirectActivity";
669
+ const _IIAn = "IncludeIndirectActivities";
670
+ const _IOE = "InvalidOperationException";
671
+ const _IPE = "InvalidPasswordException";
672
+ const _IPI = "InviteePrincipalId";
673
+ const _IUSE = "IllegalUserStateException";
674
+ const _Id = "Id";
675
+ const _In = "Include";
676
+ const _It = "Items";
677
+ const _K = "Keys";
678
+ const _L = "Labels";
679
+ const _LEE = "LimitExceededException";
680
+ const _LRT = "LongRangeType";
681
+ const _LVM = "LatestVersionMetadata";
682
+ const _LVS = "LatestVersionSize";
683
+ const _Li = "Limit";
684
+ const _Lo = "Locale";
685
+ const _M = "Message";
686
+ const _MR = "ModifiedRange";
687
+ const _MT = "MessageType";
688
+ const _MTo = "ModifiedTimestamp";
689
+ const _Ma = "Marker";
690
+ const _Me = "Metadata";
691
+ const _N = "Name";
692
+ const _NC = "NotifyCollaborators";
693
+ const _NO = "NotificationOptions";
694
+ const _O = "Order";
695
+ const _OB = "OrderBy";
696
+ const _OI = "OrganizationId";
697
+ const _ON = "OriginalName";
698
+ const _OP = "OriginalParent";
699
+ const _OUL = "OrganizationUserList";
700
+ const _Ow = "Owner";
701
+ const _P = "Participants";
702
+ const _PFI = "ParentFolderId";
703
+ const _PI = "ParentId";
704
+ const _PIL = "PermissionInfoList";
705
+ const _PIe = "PermissionInfo";
706
+ const _PIr = "PrincipalId";
707
+ const _PL = "PrincipalList";
708
+ const _PSE = "ProhibitedStateException";
709
+ const _PT = "PasswordType";
710
+ const _PTr = "PrincipalType";
711
+ const _Pa = "Password";
712
+ const _Pat = "Path";
713
+ const _Pr = "Principals";
714
+ const _Pri = "Principal";
715
+ const _Pro = "Protocol";
716
+ const _Q = "Query";
717
+ const _QS = "QueryScopes";
718
+ const _QT = "QueryText";
719
+ const _R = "Role";
720
+ const _RACOE = "ResourceAlreadyCheckedOutException";
721
+ const _RARP = "RemoveAllResourcePermissions";
722
+ const _RARPR = "RemoveAllResourcePermissionsRequest";
723
+ const _RBFI = "RecycleBinFolderId";
724
+ const _RDV = "RestoreDocumentVersions";
725
+ const _RDVR = "RestoreDocumentVersionsRequest";
726
+ const _RETLE = "RequestedEntityTooLargeException";
727
+ const _RFI = "RootFolderId";
728
+ const _RI = "ResourceId";
729
+ const _RIL = "ResponseItemsList";
730
+ const _RIWU = "ResponseItemWebUrl";
731
+ const _RIe = "RecipientId";
732
+ const _RIes = "ResponseItem";
733
+ const _RM = "ResourceMetadata";
734
+ const _RNT = "ResourceNameType";
735
+ const _RP = "ResourcePath";
736
+ const _RPC = "ResourcePathComponent";
737
+ const _RPCL = "ResourcePathComponentList";
738
+ const _RRP = "RemoveResourcePermission";
739
+ const _RRPR = "RemoveResourcePermissionRequest";
740
+ const _RS = "ResourceState";
741
+ const _RT = "ResourceTypes";
742
+ const _RTe = "ResourceType";
743
+ const _Ro = "Roles";
744
+ const _S = "Status";
745
+ const _SAIB = "StorageAllocatedInBytes";
746
+ const _SCT = "SearchCollectionTypes";
747
+ const _SE = "SendEmail";
748
+ const _SH = "SignedHeaders";
749
+ const _SI = "SubscriptionId";
750
+ const _SIh = "ShareId";
751
+ const _SL = "SubscriptionList";
752
+ const _SLEE = "StorageLimitExceededException";
753
+ const _SLWEE = "StorageLimitWillExceedException";
754
+ const _SM = "StatusMessage";
755
+ const _SP = "SharePrincipal";
756
+ const _SPL = "SharePrincipalList";
757
+ const _SPT = "SearchPrincipalType";
758
+ const _SPTL = "SearchPrincipalTypeList";
759
+ const _SQ = "SearchQuery";
760
+ const _SQT = "SearchQueryType";
761
+ const _SR = "ShareResults";
762
+ const _SRL = "ShareResultsList";
763
+ const _SRR = "SearchResourcesRequest";
764
+ const _SRRe = "SearchResourcesResponse";
765
+ const _SRSL = "SearchResultSortList";
766
+ const _SRT = "StorageRuleType";
767
+ const _SRe = "SearchResources";
768
+ const _SRh = "ShareResult";
769
+ const _SRi = "SizeRange";
770
+ const _SRt = "StorageRule";
771
+ const _SSR = "SearchSortResult";
772
+ const _ST = "SubscriptionType";
773
+ const _STt = "StartTime";
774
+ const _STto = "StorageType";
775
+ const _SUE = "ServiceUnavailableException";
776
+ const _SUIB = "StorageUtilizedInBytes";
777
+ const _SV = "StartValue";
778
+ const _Si = "Size";
779
+ const _Sig = "Signature";
780
+ const _So = "Sort";
781
+ const _Sou = "Source";
782
+ const _St = "Storage";
783
+ const _Su = "Subscription";
784
+ const _Sub = "Subscriptions";
785
+ const _Sur = "Surname";
786
+ const _T = "Type";
787
+ const _TI = "ThreadId";
788
+ const _TL = "TextLocales";
789
+ const _TMLE = "TooManyLabelsException";
790
+ const _TMSE = "TooManySubscriptionsException";
791
+ const _TNOU = "TotalNumberOfUsers";
792
+ const _TS = "TimeStamp";
793
+ const _TZI = "TimeZoneId";
794
+ const _Te = "Text";
795
+ const _Th = "Thumbnail";
796
+ const _U = "User";
797
+ const _UA = "UserActivities";
798
+ const _UAVT = "UserAttributeValueType";
799
+ const _UD = "UpdateDocument";
800
+ const _UDR = "UpdateDocumentRequest";
801
+ const _UDV = "UpdateDocumentVersion";
802
+ const _UDVR = "UpdateDocumentVersionRequest";
803
+ const _UF = "UpdateFolder";
804
+ const _UFR = "UpdateFolderRequest";
805
+ const _UI = "UserId";
806
+ const _UIs = "UserIds";
807
+ const _UM = "UploadMetadata";
808
+ const _UML = "UserMetadataList";
809
+ const _UMs = "UserMetadata";
810
+ const _UOE = "UnauthorizedOperationException";
811
+ const _URAE = "UnauthorizedResourceAccessException";
812
+ const _USM = "UserStorageMetadata";
813
+ const _UT = "UrlType";
814
+ const _UTs = "UsernameType";
815
+ const _UU = "UploadUrl";
816
+ const _UUR = "UpdateUserRequest";
817
+ const _UURp = "UpdateUserResponse";
818
+ const _UUp = "UpdateUser";
819
+ const _Us = "Username";
820
+ const _Use = "Users";
821
+ const _V = "Visibility";
822
+ const _VI = "VersionId";
823
+ const _VS = "VersionStatus";
824
+ const _WU = "WebUrl";
825
+ const _aT = "activityTypes";
826
+ const _c = "client";
827
+ const _cT = "collectionType";
828
+ const _dA = "deleteAll";
829
+ const _dPV = "deletePriorVersions";
830
+ const _e = "error";
831
+ const _eT = "endTime";
832
+ const _f = "fields";
833
+ const _h = "http";
834
+ const _hE = "httpError";
835
+ const _hH = "httpHeader";
836
+ const _hQ = "httpQuery";
837
+ const _i = "include";
838
+ const _iCM = "includeCustomMetadata";
839
+ const _iIA = "includeIndirectActivities";
840
+ const _k = "keys";
841
+ const _l = "labels";
842
+ const _li = "limit";
843
+ const _m = "marker";
844
+ const _o = "order";
845
+ const _oI = "organizationId";
846
+ const _pI = "principalId";
847
+ const _q = "query";
848
+ const _rI = "resourceId";
849
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.workdocs";
850
+ const _sQ = "searchQuery";
851
+ const _sT = "startTime";
852
+ const _se = "server";
853
+ const _so = "sort";
854
+ const _t = "type";
855
+ const _uI = "userId";
856
+ const _uIs = "userIds";
857
+ const _v = "versionid";
858
+ const _vI = "versionId";
859
+ const n0 = "com.amazonaws.workdocs";
860
+ const _s_registry = TypeRegistry.for(_s);
861
+ var WorkDocsServiceException$ = [-3, _s, "WorkDocsServiceException", 0, [], []];
862
+ _s_registry.registerError(WorkDocsServiceException$, WorkDocsServiceException);
863
+ const n0_registry = TypeRegistry.for(n0);
864
+ var ConcurrentModificationException$ = [-3, n0, _CME,
865
+ { [_e]: _c, [_hE]: 409 },
866
+ [_M],
867
+ [0]
868
+ ];
869
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
870
+ var ConflictingOperationException$ = [-3, n0, _COE,
871
+ { [_e]: _c, [_hE]: 409 },
872
+ [_M],
873
+ [0]
874
+ ];
875
+ n0_registry.registerError(ConflictingOperationException$, ConflictingOperationException);
876
+ var CustomMetadataLimitExceededException$ = [-3, n0, _CMLEE,
877
+ { [_e]: _c, [_hE]: 429 },
878
+ [_M],
879
+ [0]
880
+ ];
881
+ n0_registry.registerError(CustomMetadataLimitExceededException$, CustomMetadataLimitExceededException);
882
+ var DeactivatingLastSystemUserException$ = [-3, n0, _DLSUE,
883
+ { [_e]: _c, [_hE]: 409 },
884
+ [_M, _C],
885
+ [0, 0]
886
+ ];
887
+ n0_registry.registerError(DeactivatingLastSystemUserException$, DeactivatingLastSystemUserException);
888
+ var DocumentLockedForCommentsException$ = [-3, n0, _DLFCE,
889
+ { [_e]: _c, [_hE]: 409 },
890
+ [_M],
891
+ [0]
892
+ ];
893
+ n0_registry.registerError(DocumentLockedForCommentsException$, DocumentLockedForCommentsException);
894
+ var DraftUploadOutOfSyncException$ = [-3, n0, _DUOOSE,
895
+ { [_e]: _c, [_hE]: 409 },
896
+ [_M],
897
+ [0]
898
+ ];
899
+ n0_registry.registerError(DraftUploadOutOfSyncException$, DraftUploadOutOfSyncException);
900
+ var EntityAlreadyExistsException$ = [-3, n0, _EAEE,
901
+ { [_e]: _c, [_hE]: 409 },
902
+ [_M],
903
+ [0]
904
+ ];
905
+ n0_registry.registerError(EntityAlreadyExistsException$, EntityAlreadyExistsException);
906
+ var EntityNotExistsException$ = [-3, n0, _ENEE,
907
+ { [_e]: _c, [_hE]: 404 },
908
+ [_M, _EI],
909
+ [0, 64 | 0]
910
+ ];
911
+ n0_registry.registerError(EntityNotExistsException$, EntityNotExistsException);
912
+ var FailedDependencyException$ = [-3, n0, _FDE,
913
+ { [_e]: _c, [_hE]: 424 },
914
+ [_M],
915
+ [0]
916
+ ];
917
+ n0_registry.registerError(FailedDependencyException$, FailedDependencyException);
918
+ var IllegalUserStateException$ = [-3, n0, _IUSE,
919
+ { [_e]: _c, [_hE]: 409 },
920
+ [_M],
921
+ [0]
922
+ ];
923
+ n0_registry.registerError(IllegalUserStateException$, IllegalUserStateException);
924
+ var InvalidArgumentException$ = [-3, n0, _IAE,
925
+ { [_e]: _c, [_hE]: 400 },
926
+ [_M],
927
+ [0]
928
+ ];
929
+ n0_registry.registerError(InvalidArgumentException$, InvalidArgumentException);
930
+ var InvalidCommentOperationException$ = [-3, n0, _ICOE,
931
+ { [_e]: _c, [_hE]: 409 },
932
+ [_M],
933
+ [0]
934
+ ];
935
+ n0_registry.registerError(InvalidCommentOperationException$, InvalidCommentOperationException);
936
+ var InvalidOperationException$ = [-3, n0, _IOE,
937
+ { [_e]: _c, [_hE]: 405 },
938
+ [_M],
939
+ [0]
940
+ ];
941
+ n0_registry.registerError(InvalidOperationException$, InvalidOperationException);
942
+ var InvalidPasswordException$ = [-3, n0, _IPE,
943
+ { [_e]: _c, [_hE]: 401 },
944
+ [_M],
945
+ [0]
946
+ ];
947
+ n0_registry.registerError(InvalidPasswordException$, InvalidPasswordException);
948
+ var LimitExceededException$ = [-3, n0, _LEE,
949
+ { [_e]: _c, [_hE]: 409 },
950
+ [_M],
951
+ [0]
952
+ ];
953
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
954
+ var ProhibitedStateException$ = [-3, n0, _PSE,
955
+ { [_e]: _c, [_hE]: 409 },
956
+ [_M],
957
+ [0]
958
+ ];
959
+ n0_registry.registerError(ProhibitedStateException$, ProhibitedStateException);
960
+ var RequestedEntityTooLargeException$ = [-3, n0, _RETLE,
961
+ { [_e]: _c, [_hE]: 413 },
962
+ [_M],
963
+ [0]
964
+ ];
965
+ n0_registry.registerError(RequestedEntityTooLargeException$, RequestedEntityTooLargeException);
966
+ var ResourceAlreadyCheckedOutException$ = [-3, n0, _RACOE,
967
+ { [_e]: _c, [_hE]: 409 },
968
+ [_M],
969
+ [0]
970
+ ];
971
+ n0_registry.registerError(ResourceAlreadyCheckedOutException$, ResourceAlreadyCheckedOutException);
972
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
973
+ { [_e]: _se, [_hE]: 503 },
974
+ [_M],
975
+ [0]
976
+ ];
977
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
978
+ var StorageLimitExceededException$ = [-3, n0, _SLEE,
979
+ { [_e]: _c, [_hE]: 409 },
980
+ [_M],
981
+ [0]
982
+ ];
983
+ n0_registry.registerError(StorageLimitExceededException$, StorageLimitExceededException);
984
+ var StorageLimitWillExceedException$ = [-3, n0, _SLWEE,
985
+ { [_e]: _c, [_hE]: 413 },
986
+ [_M],
987
+ [0]
988
+ ];
989
+ n0_registry.registerError(StorageLimitWillExceedException$, StorageLimitWillExceedException);
990
+ var TooManyLabelsException$ = [-3, n0, _TMLE,
991
+ { [_e]: _c, [_hE]: 429 },
992
+ [_M],
993
+ [0]
994
+ ];
995
+ n0_registry.registerError(TooManyLabelsException$, TooManyLabelsException);
996
+ var TooManySubscriptionsException$ = [-3, n0, _TMSE,
997
+ { [_e]: _c, [_hE]: 429 },
998
+ [_M],
999
+ [0]
1000
+ ];
1001
+ n0_registry.registerError(TooManySubscriptionsException$, TooManySubscriptionsException);
1002
+ var UnauthorizedOperationException$ = [-3, n0, _UOE,
1003
+ { [_e]: _c, [_hE]: 403 },
1004
+ [_M, _C],
1005
+ [0, 0]
1006
+ ];
1007
+ n0_registry.registerError(UnauthorizedOperationException$, UnauthorizedOperationException);
1008
+ var UnauthorizedResourceAccessException$ = [-3, n0, _URAE,
1009
+ { [_e]: _c, [_hE]: 404 },
1010
+ [_M],
1011
+ [0]
1012
+ ];
1013
+ n0_registry.registerError(UnauthorizedResourceAccessException$, UnauthorizedResourceAccessException);
1014
+ const errorTypeRegistries = [
1015
+ _s_registry,
1016
+ n0_registry,
1017
+ ];
1018
+ var AuthenticationHeaderType = [0, n0, _AHT, 8, 0];
1019
+ var CommentTextType = [0, n0, _CTT, 8, 0];
1020
+ var EmailAddressType = [0, n0, _EAT, 8, 0];
1021
+ var MessageType = [0, n0, _MT, 8, 0];
1022
+ var PasswordType = [0, n0, _PT, 8, 0];
1023
+ var ResourceNameType = [0, n0, _RNT, 8, 0];
1024
+ var ResponseItemWebUrl = [0, n0, _RIWU, 8, 0];
1025
+ var SearchQueryType = [0, n0, _SQT, 8, 0];
1026
+ var UrlType = [0, n0, _UT, 8, 0];
1027
+ var UserAttributeValueType = [0, n0, _UAVT, 8, 0];
1028
+ var UsernameType = [0, n0, _UTs, 8, 0];
1029
+ var AbortDocumentVersionUploadRequest$ = [3, n0, _ADVUR,
1030
+ 0,
1031
+ [_DI, _VI, _AT],
1032
+ [[0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 2
1033
+ ];
1034
+ var ActivateUserRequest$ = [3, n0, _AUR,
1035
+ 0,
1036
+ [_UI, _AT],
1037
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1038
+ ];
1039
+ var ActivateUserResponse$ = [3, n0, _AURc,
1040
+ 0,
1041
+ [_U],
1042
+ [[() => User$, 0]]
1043
+ ];
1044
+ var Activity$ = [3, n0, _Ac,
1045
+ 0,
1046
+ [_T, _TS, _IIA, _OI, _I, _P, _RM, _OP, _CM],
1047
+ [0, 4, 2, 0, [() => UserMetadata$, 0], [() => Participants$, 0], [() => ResourceMetadata$, 0], [() => ResourceMetadata$, 0], [() => CommentMetadata$, 0]]
1048
+ ];
1049
+ var AddResourcePermissionsRequest$ = [3, n0, _ARPR,
1050
+ 0,
1051
+ [_RI, _Pr, _AT, _NO],
1052
+ [[0, 1], () => SharePrincipalList, [() => AuthenticationHeaderType, { [_hH]: _A }], [() => NotificationOptions$, 0]], 2
1053
+ ];
1054
+ var AddResourcePermissionsResponse$ = [3, n0, _ARPRd,
1055
+ 0,
1056
+ [_SR],
1057
+ [[() => ShareResultsList, 0]]
1058
+ ];
1059
+ var Comment$ = [3, n0, _Co,
1060
+ 0,
1061
+ [_CI, _PI, _TI, _Te, _Con, _CT, _S, _V, _RIe],
1062
+ [0, 0, 0, [() => CommentTextType, 0], [() => User$, 0], 4, 0, 0, 0], 1
1063
+ ];
1064
+ var CommentMetadata$ = [3, n0, _CM,
1065
+ 0,
1066
+ [_CI, _Con, _CT, _CS, _RIe, _CIo],
1067
+ [0, [() => User$, 0], 4, 0, 0, 0]
1068
+ ];
1069
+ var CreateCommentRequest$ = [3, n0, _CCR,
1070
+ 0,
1071
+ [_DI, _VI, _Te, _AT, _PI, _TI, _V, _NC],
1072
+ [[0, 1], [0, 1], [() => CommentTextType, 0], [() => AuthenticationHeaderType, { [_hH]: _A }], 0, 0, 0, 2], 3
1073
+ ];
1074
+ var CreateCommentResponse$ = [3, n0, _CCRr,
1075
+ 0,
1076
+ [_Co],
1077
+ [[() => Comment$, 0]]
1078
+ ];
1079
+ var CreateCustomMetadataRequest$ = [3, n0, _CCMR,
1080
+ 0,
1081
+ [_RI, _CMu, _AT, _VI],
1082
+ [[0, 1], 128 | 0, [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _v }]], 2
1083
+ ];
1084
+ var CreateCustomMetadataResponse$ = [3, n0, _CCMRr,
1085
+ 0,
1086
+ [],
1087
+ []
1088
+ ];
1089
+ var CreateFolderRequest$ = [3, n0, _CFR,
1090
+ 0,
1091
+ [_PFI, _AT, _N],
1092
+ [0, [() => AuthenticationHeaderType, { [_hH]: _A }], [() => ResourceNameType, 0]], 1
1093
+ ];
1094
+ var CreateFolderResponse$ = [3, n0, _CFRr,
1095
+ 0,
1096
+ [_Me],
1097
+ [[() => FolderMetadata$, 0]]
1098
+ ];
1099
+ var CreateLabelsRequest$ = [3, n0, _CLR,
1100
+ 0,
1101
+ [_RI, _L, _AT],
1102
+ [[0, 1], 64 | 0, [() => AuthenticationHeaderType, { [_hH]: _A }]], 2
1103
+ ];
1104
+ var CreateLabelsResponse$ = [3, n0, _CLRr,
1105
+ 0,
1106
+ [],
1107
+ []
1108
+ ];
1109
+ var CreateNotificationSubscriptionRequest$ = [3, n0, _CNSR,
1110
+ 0,
1111
+ [_OI, _E, _Pro, _ST],
1112
+ [[0, 1], 0, 0, 0], 4
1113
+ ];
1114
+ var CreateNotificationSubscriptionResponse$ = [3, n0, _CNSRr,
1115
+ 0,
1116
+ [_Su],
1117
+ [() => Subscription$]
1118
+ ];
1119
+ var CreateUserRequest$ = [3, n0, _CUR,
1120
+ 0,
1121
+ [_Us, _GN, _Sur, _Pa, _OI, _EA, _TZI, _SRt, _AT],
1122
+ [[() => UsernameType, 0], [() => UserAttributeValueType, 0], [() => UserAttributeValueType, 0], [() => PasswordType, 0], 0, [() => EmailAddressType, 0], 0, () => StorageRuleType$, [() => AuthenticationHeaderType, { [_hH]: _A }]], 4
1123
+ ];
1124
+ var CreateUserResponse$ = [3, n0, _CURr,
1125
+ 0,
1126
+ [_U],
1127
+ [[() => User$, 0]]
1128
+ ];
1129
+ var DateRangeType$ = [3, n0, _DRT,
1130
+ 0,
1131
+ [_SV, _EV],
1132
+ [4, 4]
1133
+ ];
1134
+ var DeactivateUserRequest$ = [3, n0, _DUR,
1135
+ 0,
1136
+ [_UI, _AT],
1137
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1138
+ ];
1139
+ var DeleteCommentRequest$ = [3, n0, _DCR,
1140
+ 0,
1141
+ [_DI, _VI, _CI, _AT],
1142
+ [[0, 1], [0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 3
1143
+ ];
1144
+ var DeleteCustomMetadataRequest$ = [3, n0, _DCMR,
1145
+ 0,
1146
+ [_RI, _AT, _VI, _K, _DA],
1147
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _vI }], [64 | 0, { [_hQ]: _k }], [2, { [_hQ]: _dA }]], 1
1148
+ ];
1149
+ var DeleteCustomMetadataResponse$ = [3, n0, _DCMRe,
1150
+ 0,
1151
+ [],
1152
+ []
1153
+ ];
1154
+ var DeleteDocumentRequest$ = [3, n0, _DDR,
1155
+ 0,
1156
+ [_DI, _AT],
1157
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1158
+ ];
1159
+ var DeleteDocumentVersionRequest$ = [3, n0, _DDVR,
1160
+ 0,
1161
+ [_DI, _VI, _DPV, _AT],
1162
+ [[0, 1], [0, 1], [2, { [_hQ]: _dPV }], [() => AuthenticationHeaderType, { [_hH]: _A }]], 3
1163
+ ];
1164
+ var DeleteFolderContentsRequest$ = [3, n0, _DFCR,
1165
+ 0,
1166
+ [_FI, _AT],
1167
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1168
+ ];
1169
+ var DeleteFolderRequest$ = [3, n0, _DFR,
1170
+ 0,
1171
+ [_FI, _AT],
1172
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1173
+ ];
1174
+ var DeleteLabelsRequest$ = [3, n0, _DLR,
1175
+ 0,
1176
+ [_RI, _AT, _L, _DA],
1177
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [64 | 0, { [_hQ]: _l }], [2, { [_hQ]: _dA }]], 1
1178
+ ];
1179
+ var DeleteLabelsResponse$ = [3, n0, _DLRe,
1180
+ 0,
1181
+ [],
1182
+ []
1183
+ ];
1184
+ var DeleteNotificationSubscriptionRequest$ = [3, n0, _DNSR,
1185
+ 0,
1186
+ [_SI, _OI],
1187
+ [[0, 1], [0, 1]], 2
1188
+ ];
1189
+ var DeleteUserRequest$ = [3, n0, _DURe,
1190
+ 0,
1191
+ [_UI, _AT],
1192
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1193
+ ];
1194
+ var DescribeActivitiesRequest$ = [3, n0, _DAR,
1195
+ 0,
1196
+ [_AT, _STt, _ET, _OI, _ATc, _RI, _UI, _IIAn, _Li, _Ma],
1197
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], [4, { [_hQ]: _sT }], [4, { [_hQ]: _eT }], [0, { [_hQ]: _oI }], [0, { [_hQ]: _aT }], [0, { [_hQ]: _rI }], [0, { [_hQ]: _uI }], [2, { [_hQ]: _iIA }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }]]
1198
+ ];
1199
+ var DescribeActivitiesResponse$ = [3, n0, _DARe,
1200
+ 0,
1201
+ [_UA, _Ma],
1202
+ [[() => UserActivities, 0], 0]
1203
+ ];
1204
+ var DescribeCommentsRequest$ = [3, n0, _DCRe,
1205
+ 0,
1206
+ [_DI, _VI, _AT, _Li, _Ma],
1207
+ [[0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }]], 2
1208
+ ];
1209
+ var DescribeCommentsResponse$ = [3, n0, _DCRes,
1210
+ 0,
1211
+ [_Com, _Ma],
1212
+ [[() => CommentList, 0], 0]
1213
+ ];
1214
+ var DescribeDocumentVersionsRequest$ = [3, n0, _DDVRe,
1215
+ 0,
1216
+ [_DI, _AT, _Ma, _Li, _In, _F],
1217
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _m }], [1, { [_hQ]: _li }], [0, { [_hQ]: _i }], [0, { [_hQ]: _f }]], 1
1218
+ ];
1219
+ var DescribeDocumentVersionsResponse$ = [3, n0, _DDVRes,
1220
+ 0,
1221
+ [_DV, _Ma],
1222
+ [[() => DocumentVersionMetadataList, 0], 0]
1223
+ ];
1224
+ var DescribeFolderContentsRequest$ = [3, n0, _DFCRe,
1225
+ 0,
1226
+ [_FI, _AT, _So, _O, _Li, _Ma, _T, _In],
1227
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _so }], [0, { [_hQ]: _o }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }], [0, { [_hQ]: _t }], [0, { [_hQ]: _i }]], 1
1228
+ ];
1229
+ var DescribeFolderContentsResponse$ = [3, n0, _DFCRes,
1230
+ 0,
1231
+ [_Fo, _D, _Ma],
1232
+ [[() => FolderMetadataList, 0], [() => DocumentMetadataList, 0], 0]
1233
+ ];
1234
+ var DescribeGroupsRequest$ = [3, n0, _DGR,
1235
+ 0,
1236
+ [_SQ, _AT, _OI, _Ma, _Li],
1237
+ [[() => SearchQueryType, { [_hQ]: _sQ }], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _oI }], [0, { [_hQ]: _m }], [1, { [_hQ]: _li }]], 1
1238
+ ];
1239
+ var DescribeGroupsResponse$ = [3, n0, _DGRe,
1240
+ 0,
1241
+ [_G, _Ma],
1242
+ [() => GroupMetadataList, 0]
1243
+ ];
1244
+ var DescribeNotificationSubscriptionsRequest$ = [3, n0, _DNSRe,
1245
+ 0,
1246
+ [_OI, _Ma, _Li],
1247
+ [[0, 1], [0, { [_hQ]: _m }], [1, { [_hQ]: _li }]], 1
1248
+ ];
1249
+ var DescribeNotificationSubscriptionsResponse$ = [3, n0, _DNSRes,
1250
+ 0,
1251
+ [_Sub, _Ma],
1252
+ [() => SubscriptionList, 0]
1253
+ ];
1254
+ var DescribeResourcePermissionsRequest$ = [3, n0, _DRPR,
1255
+ 0,
1256
+ [_RI, _AT, _PIr, _Li, _Ma],
1257
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _pI }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }]], 1
1258
+ ];
1259
+ var DescribeResourcePermissionsResponse$ = [3, n0, _DRPRe,
1260
+ 0,
1261
+ [_Pr, _Ma],
1262
+ [() => PrincipalList, 0]
1263
+ ];
1264
+ var DescribeRootFoldersRequest$ = [3, n0, _DRFR,
1265
+ 0,
1266
+ [_AT, _Li, _Ma],
1267
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }]], 1
1268
+ ];
1269
+ var DescribeRootFoldersResponse$ = [3, n0, _DRFRe,
1270
+ 0,
1271
+ [_Fo, _Ma],
1272
+ [[() => FolderMetadataList, 0], 0]
1273
+ ];
1274
+ var DescribeUsersRequest$ = [3, n0, _DURes,
1275
+ 0,
1276
+ [_AT, _OI, _UIs, _Q, _In, _O, _So, _Ma, _Li, _F],
1277
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _oI }], [0, { [_hQ]: _uIs }], [() => SearchQueryType, { [_hQ]: _q }], [0, { [_hQ]: _i }], [0, { [_hQ]: _o }], [0, { [_hQ]: _so }], [0, { [_hQ]: _m }], [1, { [_hQ]: _li }], [0, { [_hQ]: _f }]]
1278
+ ];
1279
+ var DescribeUsersResponse$ = [3, n0, _DUResc,
1280
+ 0,
1281
+ [_Use, _TNOU, _Ma],
1282
+ [[() => OrganizationUserList, 0], 1, 0]
1283
+ ];
1284
+ var DocumentMetadata$ = [3, n0, _DM,
1285
+ 0,
1286
+ [_Id, _CIr, _PFI, _CT, _MTo, _LVM, _RS, _L],
1287
+ [0, 0, 0, 4, 4, [() => DocumentVersionMetadata$, 0], 0, 64 | 0]
1288
+ ];
1289
+ var DocumentVersionMetadata$ = [3, n0, _DVM,
1290
+ 0,
1291
+ [_Id, _N, _CTo, _Si, _Sig, _S, _CT, _MTo, _CCT, _CMT, _CIr, _Th, _Sou],
1292
+ [0, [() => ResourceNameType, 0], 0, 1, 0, 0, 4, 4, 4, 4, 0, [() => DocumentThumbnailUrlMap, 0], [() => DocumentSourceUrlMap, 0]]
1293
+ ];
1294
+ var Filters$ = [3, n0, _Fi,
1295
+ 0,
1296
+ [_TL, _CC, _RT, _L, _Pr, _AI, _SCT, _SRi, _CR, _MR],
1297
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SearchPrincipalTypeList, 64 | 0, 64 | 0, () => LongRangeType$, () => DateRangeType$, () => DateRangeType$]
1298
+ ];
1299
+ var FolderMetadata$ = [3, n0, _FM,
1300
+ 0,
1301
+ [_Id, _N, _CIr, _PFI, _CT, _MTo, _RS, _Sig, _L, _Si, _LVS],
1302
+ [0, [() => ResourceNameType, 0], 0, 0, 4, 4, 0, 0, 64 | 0, 1, 1]
1303
+ ];
1304
+ var GetCurrentUserRequest$ = [3, n0, _GCUR,
1305
+ 0,
1306
+ [_AT],
1307
+ [[() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1308
+ ];
1309
+ var GetCurrentUserResponse$ = [3, n0, _GCURe,
1310
+ 0,
1311
+ [_U],
1312
+ [[() => User$, 0]]
1313
+ ];
1314
+ var GetDocumentPathRequest$ = [3, n0, _GDPR,
1315
+ 0,
1316
+ [_DI, _AT, _Li, _F, _Ma],
1317
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [1, { [_hQ]: _li }], [0, { [_hQ]: _f }], [0, { [_hQ]: _m }]], 1
1318
+ ];
1319
+ var GetDocumentPathResponse$ = [3, n0, _GDPRe,
1320
+ 0,
1321
+ [_Pat],
1322
+ [[() => ResourcePath$, 0]]
1323
+ ];
1324
+ var GetDocumentRequest$ = [3, n0, _GDR,
1325
+ 0,
1326
+ [_DI, _AT, _ICM],
1327
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [2, { [_hQ]: _iCM }]], 1
1328
+ ];
1329
+ var GetDocumentResponse$ = [3, n0, _GDRe,
1330
+ 0,
1331
+ [_Me, _CMu],
1332
+ [[() => DocumentMetadata$, 0], 128 | 0]
1333
+ ];
1334
+ var GetDocumentVersionRequest$ = [3, n0, _GDVR,
1335
+ 0,
1336
+ [_DI, _VI, _AT, _F, _ICM],
1337
+ [[0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _f }], [2, { [_hQ]: _iCM }]], 2
1338
+ ];
1339
+ var GetDocumentVersionResponse$ = [3, n0, _GDVRe,
1340
+ 0,
1341
+ [_Me, _CMu],
1342
+ [[() => DocumentVersionMetadata$, 0], 128 | 0]
1343
+ ];
1344
+ var GetFolderPathRequest$ = [3, n0, _GFPR,
1345
+ 0,
1346
+ [_FI, _AT, _Li, _F, _Ma],
1347
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [1, { [_hQ]: _li }], [0, { [_hQ]: _f }], [0, { [_hQ]: _m }]], 1
1348
+ ];
1349
+ var GetFolderPathResponse$ = [3, n0, _GFPRe,
1350
+ 0,
1351
+ [_Pat],
1352
+ [[() => ResourcePath$, 0]]
1353
+ ];
1354
+ var GetFolderRequest$ = [3, n0, _GFR,
1355
+ 0,
1356
+ [_FI, _AT, _ICM],
1357
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [2, { [_hQ]: _iCM }]], 1
1358
+ ];
1359
+ var GetFolderResponse$ = [3, n0, _GFRe,
1360
+ 0,
1361
+ [_Me, _CMu],
1362
+ [[() => FolderMetadata$, 0], 128 | 0]
1363
+ ];
1364
+ var GetResourcesRequest$ = [3, n0, _GRR,
1365
+ 0,
1366
+ [_AT, _UI, _CTol, _Li, _Ma],
1367
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _cT }], [1, { [_hQ]: _li }], [0, { [_hQ]: _m }]]
1368
+ ];
1369
+ var GetResourcesResponse$ = [3, n0, _GRRe,
1370
+ 0,
1371
+ [_Fo, _D, _Ma],
1372
+ [[() => FolderMetadataList, 0], [() => DocumentMetadataList, 0], 0]
1373
+ ];
1374
+ var GroupMetadata$ = [3, n0, _GM,
1375
+ 0,
1376
+ [_Id, _N],
1377
+ [0, 0]
1378
+ ];
1379
+ var InitiateDocumentVersionUploadRequest$ = [3, n0, _IDVUR,
1380
+ 0,
1381
+ [_AT, _Id, _N, _CCT, _CMT, _CTo, _DSIB, _PFI],
1382
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], 0, [() => ResourceNameType, 0], 4, 4, 0, 1, 0]
1383
+ ];
1384
+ var InitiateDocumentVersionUploadResponse$ = [3, n0, _IDVURn,
1385
+ 0,
1386
+ [_Me, _UM],
1387
+ [[() => DocumentMetadata$, 0], [() => UploadMetadata$, 0]]
1388
+ ];
1389
+ var LongRangeType$ = [3, n0, _LRT,
1390
+ 0,
1391
+ [_SV, _EV],
1392
+ [1, 1]
1393
+ ];
1394
+ var NotificationOptions$ = [3, n0, _NO,
1395
+ 0,
1396
+ [_SE, _EM],
1397
+ [2, [() => MessageType, 0]]
1398
+ ];
1399
+ var Participants$ = [3, n0, _P,
1400
+ 0,
1401
+ [_Use, _G],
1402
+ [[() => UserMetadataList, 0], () => GroupMetadataList]
1403
+ ];
1404
+ var PermissionInfo$ = [3, n0, _PIe,
1405
+ 0,
1406
+ [_R, _T],
1407
+ [0, 0]
1408
+ ];
1409
+ var Principal$ = [3, n0, _Pri,
1410
+ 0,
1411
+ [_Id, _T, _Ro],
1412
+ [0, 0, () => PermissionInfoList]
1413
+ ];
1414
+ var RemoveAllResourcePermissionsRequest$ = [3, n0, _RARPR,
1415
+ 0,
1416
+ [_RI, _AT],
1417
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1418
+ ];
1419
+ var RemoveResourcePermissionRequest$ = [3, n0, _RRPR,
1420
+ 0,
1421
+ [_RI, _PIr, _AT, _PTr],
1422
+ [[0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [0, { [_hQ]: _t }]], 2
1423
+ ];
1424
+ var ResourceMetadata$ = [3, n0, _RM,
1425
+ 0,
1426
+ [_T, _N, _ON, _Id, _VI, _Ow, _PI],
1427
+ [0, [() => ResourceNameType, 0], [() => ResourceNameType, 0], 0, 0, [() => UserMetadata$, 0], 0]
1428
+ ];
1429
+ var ResourcePath$ = [3, n0, _RP,
1430
+ 0,
1431
+ [_Comp],
1432
+ [[() => ResourcePathComponentList, 0]]
1433
+ ];
1434
+ var ResourcePathComponent$ = [3, n0, _RPC,
1435
+ 0,
1436
+ [_Id, _N],
1437
+ [0, [() => ResourceNameType, 0]]
1438
+ ];
1439
+ var ResponseItem$ = [3, n0, _RIes,
1440
+ 0,
1441
+ [_RTe, _WU, _DM, _FM, _CM, _DVM],
1442
+ [0, [() => ResponseItemWebUrl, 0], [() => DocumentMetadata$, 0], [() => FolderMetadata$, 0], [() => CommentMetadata$, 0], [() => DocumentVersionMetadata$, 0]]
1443
+ ];
1444
+ var RestoreDocumentVersionsRequest$ = [3, n0, _RDVR,
1445
+ 0,
1446
+ [_DI, _AT],
1447
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }]], 1
1448
+ ];
1449
+ var SearchPrincipalType$ = [3, n0, _SPT,
1450
+ 0,
1451
+ [_Id, _Ro],
1452
+ [0, 64 | 0], 1
1453
+ ];
1454
+ var SearchResourcesRequest$ = [3, n0, _SRR,
1455
+ 0,
1456
+ [_AT, _QT, _QS, _OI, _ARF, _Fi, _OB, _Li, _Ma],
1457
+ [[() => AuthenticationHeaderType, { [_hH]: _A }], [() => SearchQueryType, 0], 64 | 0, 0, 64 | 0, () => Filters$, () => SearchResultSortList, 1, 0]
1458
+ ];
1459
+ var SearchResourcesResponse$ = [3, n0, _SRRe,
1460
+ 0,
1461
+ [_It, _Ma],
1462
+ [[() => ResponseItemsList, 0], 0]
1463
+ ];
1464
+ var SearchSortResult$ = [3, n0, _SSR,
1465
+ 0,
1466
+ [_Fie, _O],
1467
+ [0, 0]
1468
+ ];
1469
+ var SharePrincipal$ = [3, n0, _SP,
1470
+ 0,
1471
+ [_Id, _T, _R],
1472
+ [0, 0, 0], 3
1473
+ ];
1474
+ var ShareResult$ = [3, n0, _SRh,
1475
+ 0,
1476
+ [_PIr, _IPI, _R, _S, _SIh, _SM],
1477
+ [0, 0, 0, 0, 0, [() => MessageType, 0]]
1478
+ ];
1479
+ var StorageRuleType$ = [3, n0, _SRT,
1480
+ 0,
1481
+ [_SAIB, _STto],
1482
+ [1, 0]
1483
+ ];
1484
+ var Subscription$ = [3, n0, _Su,
1485
+ 0,
1486
+ [_SI, _EP, _Pro],
1487
+ [0, 0, 0]
1488
+ ];
1489
+ var UpdateDocumentRequest$ = [3, n0, _UDR,
1490
+ 0,
1491
+ [_DI, _AT, _N, _PFI, _RS],
1492
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [() => ResourceNameType, 0], 0, 0], 1
1493
+ ];
1494
+ var UpdateDocumentVersionRequest$ = [3, n0, _UDVR,
1495
+ 0,
1496
+ [_DI, _VI, _AT, _VS],
1497
+ [[0, 1], [0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], 0], 2
1498
+ ];
1499
+ var UpdateFolderRequest$ = [3, n0, _UFR,
1500
+ 0,
1501
+ [_FI, _AT, _N, _PFI, _RS],
1502
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [() => ResourceNameType, 0], 0, 0], 1
1503
+ ];
1504
+ var UpdateUserRequest$ = [3, n0, _UUR,
1505
+ 0,
1506
+ [_UI, _AT, _GN, _Sur, _T, _SRt, _TZI, _Lo, _GPP],
1507
+ [[0, 1], [() => AuthenticationHeaderType, { [_hH]: _A }], [() => UserAttributeValueType, 0], [() => UserAttributeValueType, 0], 0, () => StorageRuleType$, 0, 0, 0], 1
1508
+ ];
1509
+ var UpdateUserResponse$ = [3, n0, _UURp,
1510
+ 0,
1511
+ [_U],
1512
+ [[() => User$, 0]]
1513
+ ];
1514
+ var UploadMetadata$ = [3, n0, _UM,
1515
+ 0,
1516
+ [_UU, _SH],
1517
+ [[() => UrlType, 0], 128 | 0]
1518
+ ];
1519
+ var User$ = [3, n0, _U,
1520
+ 0,
1521
+ [_Id, _Us, _EA, _GN, _Sur, _OI, _RFI, _RBFI, _S, _T, _CT, _MTo, _TZI, _Lo, _St],
1522
+ [0, [() => UsernameType, 0], [() => EmailAddressType, 0], [() => UserAttributeValueType, 0], [() => UserAttributeValueType, 0], 0, 0, 0, 0, 0, 4, 4, 0, 0, () => UserStorageMetadata$]
1523
+ ];
1524
+ var UserMetadata$ = [3, n0, _UMs,
1525
+ 0,
1526
+ [_Id, _Us, _GN, _Sur, _EA],
1527
+ [0, [() => UsernameType, 0], [() => UserAttributeValueType, 0], [() => UserAttributeValueType, 0], [() => EmailAddressType, 0]]
1528
+ ];
1529
+ var UserStorageMetadata$ = [3, n0, _USM,
1530
+ 0,
1531
+ [_SUIB, _SRt],
1532
+ [1, () => StorageRuleType$]
1533
+ ];
1534
+ var __Unit = "unit";
1535
+ var CommentList = [1, n0, _CL,
1536
+ 0, [() => Comment$,
1537
+ 0]
1538
+ ];
1539
+ var DocumentMetadataList = [1, n0, _DML,
1540
+ 0, [() => DocumentMetadata$,
1541
+ 0]
1542
+ ];
1543
+ var DocumentVersionMetadataList = [1, n0, _DVML,
1544
+ 0, [() => DocumentVersionMetadata$,
1545
+ 0]
1546
+ ];
1547
+ var FolderMetadataList = [1, n0, _FML,
1548
+ 0, [() => FolderMetadata$,
1549
+ 0]
1550
+ ];
1551
+ var GroupMetadataList = [1, n0, _GML,
1552
+ 0, () => GroupMetadata$
1553
+ ];
1554
+ var OrganizationUserList = [1, n0, _OUL,
1555
+ 0, [() => User$,
1556
+ 0]
1557
+ ];
1558
+ var PermissionInfoList = [1, n0, _PIL,
1559
+ 0, () => PermissionInfo$
1560
+ ];
1561
+ var PrincipalList = [1, n0, _PL,
1562
+ 0, () => Principal$
1563
+ ];
1564
+ var ResourcePathComponentList = [1, n0, _RPCL,
1565
+ 0, [() => ResourcePathComponent$,
1566
+ 0]
1567
+ ];
1568
+ var ResponseItemsList = [1, n0, _RIL,
1569
+ 0, [() => ResponseItem$,
1570
+ 0]
1571
+ ];
1572
+ var SearchPrincipalTypeList = [1, n0, _SPTL,
1573
+ 0, () => SearchPrincipalType$
1574
+ ];
1575
+ var SearchResultSortList = [1, n0, _SRSL,
1576
+ 0, () => SearchSortResult$
1577
+ ];
1578
+ var SharePrincipalList = [1, n0, _SPL,
1579
+ 0, () => SharePrincipal$
1580
+ ];
1581
+ var ShareResultsList = [1, n0, _SRL,
1582
+ 0, [() => ShareResult$,
1583
+ 0]
1584
+ ];
1585
+ var SubscriptionList = [1, n0, _SL,
1586
+ 0, () => Subscription$
1587
+ ];
1588
+ var UserActivities = [1, n0, _UA,
1589
+ 0, [() => Activity$,
1590
+ 0]
1591
+ ];
1592
+ var UserMetadataList = [1, n0, _UML,
1593
+ 0, [() => UserMetadata$,
1594
+ 0]
1595
+ ];
1596
+ var DocumentSourceUrlMap = [2, n0, _DSUM,
1597
+ 0, [0,
1598
+ 0],
1599
+ [() => UrlType,
1600
+ 0]
1601
+ ];
1602
+ var DocumentThumbnailUrlMap = [2, n0, _DTUM,
1603
+ 0, [0,
1604
+ 0],
1605
+ [() => UrlType,
1606
+ 0]
1607
+ ];
1608
+ var AbortDocumentVersionUpload$ = [9, n0, _ADVU,
1609
+ { [_h]: ["DELETE", "/api/v1/documents/{DocumentId}/versions/{VersionId}", 204] }, () => AbortDocumentVersionUploadRequest$, () => __Unit
1610
+ ];
1611
+ var ActivateUser$ = [9, n0, _AU,
1612
+ { [_h]: ["POST", "/api/v1/users/{UserId}/activation", 200] }, () => ActivateUserRequest$, () => ActivateUserResponse$
1613
+ ];
1614
+ var AddResourcePermissions$ = [9, n0, _ARP,
1615
+ { [_h]: ["POST", "/api/v1/resources/{ResourceId}/permissions", 201] }, () => AddResourcePermissionsRequest$, () => AddResourcePermissionsResponse$
1616
+ ];
1617
+ var CreateComment$ = [9, n0, _CCr,
1618
+ { [_h]: ["POST", "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment", 201] }, () => CreateCommentRequest$, () => CreateCommentResponse$
1619
+ ];
1620
+ var CreateCustomMetadata$ = [9, n0, _CCM,
1621
+ { [_h]: ["PUT", "/api/v1/resources/{ResourceId}/customMetadata", 200] }, () => CreateCustomMetadataRequest$, () => CreateCustomMetadataResponse$
1622
+ ];
1623
+ var CreateFolder$ = [9, n0, _CF,
1624
+ { [_h]: ["POST", "/api/v1/folders", 201] }, () => CreateFolderRequest$, () => CreateFolderResponse$
1625
+ ];
1626
+ var CreateLabels$ = [9, n0, _CLr,
1627
+ { [_h]: ["PUT", "/api/v1/resources/{ResourceId}/labels", 200] }, () => CreateLabelsRequest$, () => CreateLabelsResponse$
1628
+ ];
1629
+ var CreateNotificationSubscription$ = [9, n0, _CNS,
1630
+ { [_h]: ["POST", "/api/v1/organizations/{OrganizationId}/subscriptions", 200] }, () => CreateNotificationSubscriptionRequest$, () => CreateNotificationSubscriptionResponse$
1631
+ ];
1632
+ var CreateUser$ = [9, n0, _CU,
1633
+ { [_h]: ["POST", "/api/v1/users", 201] }, () => CreateUserRequest$, () => CreateUserResponse$
1634
+ ];
1635
+ var DeactivateUser$ = [9, n0, _DU,
1636
+ { [_h]: ["DELETE", "/api/v1/users/{UserId}/activation", 204] }, () => DeactivateUserRequest$, () => __Unit
1637
+ ];
1638
+ var DeleteComment$ = [9, n0, _DC,
1639
+ { [_h]: ["DELETE", "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", 204] }, () => DeleteCommentRequest$, () => __Unit
1640
+ ];
1641
+ var DeleteCustomMetadata$ = [9, n0, _DCM,
1642
+ { [_h]: ["DELETE", "/api/v1/resources/{ResourceId}/customMetadata", 200] }, () => DeleteCustomMetadataRequest$, () => DeleteCustomMetadataResponse$
1643
+ ];
1644
+ var DeleteDocument$ = [9, n0, _DD,
1645
+ { [_h]: ["DELETE", "/api/v1/documents/{DocumentId}", 204] }, () => DeleteDocumentRequest$, () => __Unit
1646
+ ];
1647
+ var DeleteDocumentVersion$ = [9, n0, _DDV,
1648
+ { [_h]: ["DELETE", "/api/v1/documentVersions/{DocumentId}/versions/{VersionId}", 204] }, () => DeleteDocumentVersionRequest$, () => __Unit
1649
+ ];
1650
+ var DeleteFolder$ = [9, n0, _DF,
1651
+ { [_h]: ["DELETE", "/api/v1/folders/{FolderId}", 204] }, () => DeleteFolderRequest$, () => __Unit
1652
+ ];
1653
+ var DeleteFolderContents$ = [9, n0, _DFC,
1654
+ { [_h]: ["DELETE", "/api/v1/folders/{FolderId}/contents", 204] }, () => DeleteFolderContentsRequest$, () => __Unit
1655
+ ];
1656
+ var DeleteLabels$ = [9, n0, _DL,
1657
+ { [_h]: ["DELETE", "/api/v1/resources/{ResourceId}/labels", 200] }, () => DeleteLabelsRequest$, () => DeleteLabelsResponse$
1658
+ ];
1659
+ var DeleteNotificationSubscription$ = [9, n0, _DNS,
1660
+ { [_h]: ["DELETE", "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", 200] }, () => DeleteNotificationSubscriptionRequest$, () => __Unit
1661
+ ];
1662
+ var DeleteUser$ = [9, n0, _DUe,
1663
+ { [_h]: ["DELETE", "/api/v1/users/{UserId}", 204] }, () => DeleteUserRequest$, () => __Unit
1664
+ ];
1665
+ var DescribeActivities$ = [9, n0, _DAe,
1666
+ { [_h]: ["GET", "/api/v1/activities", 200] }, () => DescribeActivitiesRequest$, () => DescribeActivitiesResponse$
1667
+ ];
1668
+ var DescribeComments$ = [9, n0, _DCe,
1669
+ { [_h]: ["GET", "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments", 200] }, () => DescribeCommentsRequest$, () => DescribeCommentsResponse$
1670
+ ];
1671
+ var DescribeDocumentVersions$ = [9, n0, _DDVe,
1672
+ { [_h]: ["GET", "/api/v1/documents/{DocumentId}/versions", 200] }, () => DescribeDocumentVersionsRequest$, () => DescribeDocumentVersionsResponse$
1673
+ ];
1674
+ var DescribeFolderContents$ = [9, n0, _DFCe,
1675
+ { [_h]: ["GET", "/api/v1/folders/{FolderId}/contents", 200] }, () => DescribeFolderContentsRequest$, () => DescribeFolderContentsResponse$
1676
+ ];
1677
+ var DescribeGroups$ = [9, n0, _DG,
1678
+ { [_h]: ["GET", "/api/v1/groups", 200] }, () => DescribeGroupsRequest$, () => DescribeGroupsResponse$
1679
+ ];
1680
+ var DescribeNotificationSubscriptions$ = [9, n0, _DNSe,
1681
+ { [_h]: ["GET", "/api/v1/organizations/{OrganizationId}/subscriptions", 200] }, () => DescribeNotificationSubscriptionsRequest$, () => DescribeNotificationSubscriptionsResponse$
1682
+ ];
1683
+ var DescribeResourcePermissions$ = [9, n0, _DRP,
1684
+ { [_h]: ["GET", "/api/v1/resources/{ResourceId}/permissions", 200] }, () => DescribeResourcePermissionsRequest$, () => DescribeResourcePermissionsResponse$
1685
+ ];
1686
+ var DescribeRootFolders$ = [9, n0, _DRF,
1687
+ { [_h]: ["GET", "/api/v1/me/root", 200] }, () => DescribeRootFoldersRequest$, () => DescribeRootFoldersResponse$
1688
+ ];
1689
+ var DescribeUsers$ = [9, n0, _DUes,
1690
+ { [_h]: ["GET", "/api/v1/users", 200] }, () => DescribeUsersRequest$, () => DescribeUsersResponse$
1691
+ ];
1692
+ var GetCurrentUser$ = [9, n0, _GCU,
1693
+ { [_h]: ["GET", "/api/v1/me", 200] }, () => GetCurrentUserRequest$, () => GetCurrentUserResponse$
1694
+ ];
1695
+ var GetDocument$ = [9, n0, _GD,
1696
+ { [_h]: ["GET", "/api/v1/documents/{DocumentId}", 200] }, () => GetDocumentRequest$, () => GetDocumentResponse$
1697
+ ];
1698
+ var GetDocumentPath$ = [9, n0, _GDP,
1699
+ { [_h]: ["GET", "/api/v1/documents/{DocumentId}/path", 200] }, () => GetDocumentPathRequest$, () => GetDocumentPathResponse$
1700
+ ];
1701
+ var GetDocumentVersion$ = [9, n0, _GDV,
1702
+ { [_h]: ["GET", "/api/v1/documents/{DocumentId}/versions/{VersionId}", 200] }, () => GetDocumentVersionRequest$, () => GetDocumentVersionResponse$
1703
+ ];
1704
+ var GetFolder$ = [9, n0, _GF,
1705
+ { [_h]: ["GET", "/api/v1/folders/{FolderId}", 200] }, () => GetFolderRequest$, () => GetFolderResponse$
1706
+ ];
1707
+ var GetFolderPath$ = [9, n0, _GFP,
1708
+ { [_h]: ["GET", "/api/v1/folders/{FolderId}/path", 200] }, () => GetFolderPathRequest$, () => GetFolderPathResponse$
1709
+ ];
1710
+ var GetResources$ = [9, n0, _GR,
1711
+ { [_h]: ["GET", "/api/v1/resources", 200] }, () => GetResourcesRequest$, () => GetResourcesResponse$
1712
+ ];
1713
+ var InitiateDocumentVersionUpload$ = [9, n0, _IDVU,
1714
+ { [_h]: ["POST", "/api/v1/documents", 201] }, () => InitiateDocumentVersionUploadRequest$, () => InitiateDocumentVersionUploadResponse$
1715
+ ];
1716
+ var RemoveAllResourcePermissions$ = [9, n0, _RARP,
1717
+ { [_h]: ["DELETE", "/api/v1/resources/{ResourceId}/permissions", 204] }, () => RemoveAllResourcePermissionsRequest$, () => __Unit
1718
+ ];
1719
+ var RemoveResourcePermission$ = [9, n0, _RRP,
1720
+ { [_h]: ["DELETE", "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}", 204] }, () => RemoveResourcePermissionRequest$, () => __Unit
1721
+ ];
1722
+ var RestoreDocumentVersions$ = [9, n0, _RDV,
1723
+ { [_h]: ["POST", "/api/v1/documentVersions/restore/{DocumentId}", 204] }, () => RestoreDocumentVersionsRequest$, () => __Unit
1724
+ ];
1725
+ var SearchResources$ = [9, n0, _SRe,
1726
+ { [_h]: ["POST", "/api/v1/search", 200] }, () => SearchResourcesRequest$, () => SearchResourcesResponse$
1727
+ ];
1728
+ var UpdateDocument$ = [9, n0, _UD,
1729
+ { [_h]: ["PATCH", "/api/v1/documents/{DocumentId}", 200] }, () => UpdateDocumentRequest$, () => __Unit
1730
+ ];
1731
+ var UpdateDocumentVersion$ = [9, n0, _UDV,
1732
+ { [_h]: ["PATCH", "/api/v1/documents/{DocumentId}/versions/{VersionId}", 200] }, () => UpdateDocumentVersionRequest$, () => __Unit
1733
+ ];
1734
+ var UpdateFolder$ = [9, n0, _UF,
1735
+ { [_h]: ["PATCH", "/api/v1/folders/{FolderId}", 200] }, () => UpdateFolderRequest$, () => __Unit
1736
+ ];
1737
+ var UpdateUser$ = [9, n0, _UUp,
1738
+ { [_h]: ["PATCH", "/api/v1/users/{UserId}", 200] }, () => UpdateUserRequest$, () => UpdateUserResponse$
1739
+ ];
1740
+
1741
+ const getRuntimeConfig$1 = (config) => {
1742
+ return {
1743
+ apiVersion: "2016-05-01",
1744
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1745
+ base64Encoder: config?.base64Encoder ?? toBase64,
1746
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1747
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1748
+ extensions: config?.extensions ?? [],
1749
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultWorkDocsHttpAuthSchemeProvider,
1750
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1751
+ {
1752
+ schemeId: "aws.auth#sigv4",
1753
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1754
+ signer: new AwsSdkSigV4Signer(),
1755
+ },
1756
+ ],
1757
+ logger: config?.logger ?? new NoOpLogger(),
1758
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1759
+ protocolSettings: config?.protocolSettings ?? {
1760
+ defaultNamespace: "com.amazonaws.workdocs",
1761
+ errorTypeRegistries,
1762
+ xmlNamespace: "https://aws.amazon.com/api/v1/",
1763
+ version: "2016-05-01",
1764
+ serviceTarget: "AWSGorillaBoyService",
1765
+ },
1766
+ serviceId: config?.serviceId ?? "WorkDocs",
1767
+ urlParser: config?.urlParser ?? parseUrl,
1768
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1769
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1770
+ };
1771
+ };
1772
+
1773
+ const getRuntimeConfig = (config) => {
1774
+ emitWarningIfUnsupportedVersion(process.version);
1775
+ const defaultsMode = resolveDefaultsModeConfig(config);
1776
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1777
+ const clientSharedValues = getRuntimeConfig$1(config);
1778
+ emitWarningIfUnsupportedVersion$1(process.version);
1779
+ const loaderConfig = {
1780
+ profile: config?.profile,
1781
+ logger: clientSharedValues.logger,
1782
+ };
1783
+ return {
1784
+ ...clientSharedValues,
1785
+ ...config,
1786
+ runtime: "node",
1787
+ defaultsMode,
1788
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1789
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1790
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1791
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1792
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1793
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1794
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1795
+ retryMode: config?.retryMode ??
1796
+ loadConfig({
1797
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1798
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1799
+ }, config),
1800
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1801
+ streamCollector: config?.streamCollector ?? streamCollector,
1802
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1803
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1804
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1805
+ };
1806
+ };
1807
+
34
1808
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1809
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1810
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -964,88 +2738,286 @@ const BooleanEnumType = {
964
2738
  TRUE: "TRUE",
965
2739
  };
966
2740
 
2741
+ exports.AbortDocumentVersionUpload$ = AbortDocumentVersionUpload$;
967
2742
  exports.AbortDocumentVersionUploadCommand = AbortDocumentVersionUploadCommand;
2743
+ exports.AbortDocumentVersionUploadRequest$ = AbortDocumentVersionUploadRequest$;
2744
+ exports.ActivateUser$ = ActivateUser$;
968
2745
  exports.ActivateUserCommand = ActivateUserCommand;
2746
+ exports.ActivateUserRequest$ = ActivateUserRequest$;
2747
+ exports.ActivateUserResponse$ = ActivateUserResponse$;
2748
+ exports.Activity$ = Activity$;
969
2749
  exports.ActivityType = ActivityType;
2750
+ exports.AddResourcePermissions$ = AddResourcePermissions$;
970
2751
  exports.AddResourcePermissionsCommand = AddResourcePermissionsCommand;
2752
+ exports.AddResourcePermissionsRequest$ = AddResourcePermissionsRequest$;
2753
+ exports.AddResourcePermissionsResponse$ = AddResourcePermissionsResponse$;
971
2754
  exports.AdditionalResponseFieldType = AdditionalResponseFieldType;
972
2755
  exports.BooleanEnumType = BooleanEnumType;
2756
+ exports.Comment$ = Comment$;
2757
+ exports.CommentMetadata$ = CommentMetadata$;
973
2758
  exports.CommentStatusType = CommentStatusType;
974
2759
  exports.CommentVisibilityType = CommentVisibilityType;
2760
+ exports.ConcurrentModificationException = ConcurrentModificationException;
2761
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
2762
+ exports.ConflictingOperationException = ConflictingOperationException;
2763
+ exports.ConflictingOperationException$ = ConflictingOperationException$;
975
2764
  exports.ContentCategoryType = ContentCategoryType;
2765
+ exports.CreateComment$ = CreateComment$;
976
2766
  exports.CreateCommentCommand = CreateCommentCommand;
2767
+ exports.CreateCommentRequest$ = CreateCommentRequest$;
2768
+ exports.CreateCommentResponse$ = CreateCommentResponse$;
2769
+ exports.CreateCustomMetadata$ = CreateCustomMetadata$;
977
2770
  exports.CreateCustomMetadataCommand = CreateCustomMetadataCommand;
2771
+ exports.CreateCustomMetadataRequest$ = CreateCustomMetadataRequest$;
2772
+ exports.CreateCustomMetadataResponse$ = CreateCustomMetadataResponse$;
2773
+ exports.CreateFolder$ = CreateFolder$;
978
2774
  exports.CreateFolderCommand = CreateFolderCommand;
2775
+ exports.CreateFolderRequest$ = CreateFolderRequest$;
2776
+ exports.CreateFolderResponse$ = CreateFolderResponse$;
2777
+ exports.CreateLabels$ = CreateLabels$;
979
2778
  exports.CreateLabelsCommand = CreateLabelsCommand;
2779
+ exports.CreateLabelsRequest$ = CreateLabelsRequest$;
2780
+ exports.CreateLabelsResponse$ = CreateLabelsResponse$;
2781
+ exports.CreateNotificationSubscription$ = CreateNotificationSubscription$;
980
2782
  exports.CreateNotificationSubscriptionCommand = CreateNotificationSubscriptionCommand;
2783
+ exports.CreateNotificationSubscriptionRequest$ = CreateNotificationSubscriptionRequest$;
2784
+ exports.CreateNotificationSubscriptionResponse$ = CreateNotificationSubscriptionResponse$;
2785
+ exports.CreateUser$ = CreateUser$;
981
2786
  exports.CreateUserCommand = CreateUserCommand;
2787
+ exports.CreateUserRequest$ = CreateUserRequest$;
2788
+ exports.CreateUserResponse$ = CreateUserResponse$;
2789
+ exports.CustomMetadataLimitExceededException = CustomMetadataLimitExceededException;
2790
+ exports.CustomMetadataLimitExceededException$ = CustomMetadataLimitExceededException$;
2791
+ exports.DateRangeType$ = DateRangeType$;
2792
+ exports.DeactivateUser$ = DeactivateUser$;
982
2793
  exports.DeactivateUserCommand = DeactivateUserCommand;
2794
+ exports.DeactivateUserRequest$ = DeactivateUserRequest$;
2795
+ exports.DeactivatingLastSystemUserException = DeactivatingLastSystemUserException;
2796
+ exports.DeactivatingLastSystemUserException$ = DeactivatingLastSystemUserException$;
2797
+ exports.DeleteComment$ = DeleteComment$;
983
2798
  exports.DeleteCommentCommand = DeleteCommentCommand;
2799
+ exports.DeleteCommentRequest$ = DeleteCommentRequest$;
2800
+ exports.DeleteCustomMetadata$ = DeleteCustomMetadata$;
984
2801
  exports.DeleteCustomMetadataCommand = DeleteCustomMetadataCommand;
2802
+ exports.DeleteCustomMetadataRequest$ = DeleteCustomMetadataRequest$;
2803
+ exports.DeleteCustomMetadataResponse$ = DeleteCustomMetadataResponse$;
2804
+ exports.DeleteDocument$ = DeleteDocument$;
985
2805
  exports.DeleteDocumentCommand = DeleteDocumentCommand;
2806
+ exports.DeleteDocumentRequest$ = DeleteDocumentRequest$;
2807
+ exports.DeleteDocumentVersion$ = DeleteDocumentVersion$;
986
2808
  exports.DeleteDocumentVersionCommand = DeleteDocumentVersionCommand;
2809
+ exports.DeleteDocumentVersionRequest$ = DeleteDocumentVersionRequest$;
2810
+ exports.DeleteFolder$ = DeleteFolder$;
987
2811
  exports.DeleteFolderCommand = DeleteFolderCommand;
2812
+ exports.DeleteFolderContents$ = DeleteFolderContents$;
988
2813
  exports.DeleteFolderContentsCommand = DeleteFolderContentsCommand;
2814
+ exports.DeleteFolderContentsRequest$ = DeleteFolderContentsRequest$;
2815
+ exports.DeleteFolderRequest$ = DeleteFolderRequest$;
2816
+ exports.DeleteLabels$ = DeleteLabels$;
989
2817
  exports.DeleteLabelsCommand = DeleteLabelsCommand;
2818
+ exports.DeleteLabelsRequest$ = DeleteLabelsRequest$;
2819
+ exports.DeleteLabelsResponse$ = DeleteLabelsResponse$;
2820
+ exports.DeleteNotificationSubscription$ = DeleteNotificationSubscription$;
990
2821
  exports.DeleteNotificationSubscriptionCommand = DeleteNotificationSubscriptionCommand;
2822
+ exports.DeleteNotificationSubscriptionRequest$ = DeleteNotificationSubscriptionRequest$;
2823
+ exports.DeleteUser$ = DeleteUser$;
991
2824
  exports.DeleteUserCommand = DeleteUserCommand;
2825
+ exports.DeleteUserRequest$ = DeleteUserRequest$;
2826
+ exports.DescribeActivities$ = DescribeActivities$;
992
2827
  exports.DescribeActivitiesCommand = DescribeActivitiesCommand;
2828
+ exports.DescribeActivitiesRequest$ = DescribeActivitiesRequest$;
2829
+ exports.DescribeActivitiesResponse$ = DescribeActivitiesResponse$;
2830
+ exports.DescribeComments$ = DescribeComments$;
993
2831
  exports.DescribeCommentsCommand = DescribeCommentsCommand;
2832
+ exports.DescribeCommentsRequest$ = DescribeCommentsRequest$;
2833
+ exports.DescribeCommentsResponse$ = DescribeCommentsResponse$;
2834
+ exports.DescribeDocumentVersions$ = DescribeDocumentVersions$;
994
2835
  exports.DescribeDocumentVersionsCommand = DescribeDocumentVersionsCommand;
2836
+ exports.DescribeDocumentVersionsRequest$ = DescribeDocumentVersionsRequest$;
2837
+ exports.DescribeDocumentVersionsResponse$ = DescribeDocumentVersionsResponse$;
2838
+ exports.DescribeFolderContents$ = DescribeFolderContents$;
995
2839
  exports.DescribeFolderContentsCommand = DescribeFolderContentsCommand;
2840
+ exports.DescribeFolderContentsRequest$ = DescribeFolderContentsRequest$;
2841
+ exports.DescribeFolderContentsResponse$ = DescribeFolderContentsResponse$;
2842
+ exports.DescribeGroups$ = DescribeGroups$;
996
2843
  exports.DescribeGroupsCommand = DescribeGroupsCommand;
2844
+ exports.DescribeGroupsRequest$ = DescribeGroupsRequest$;
2845
+ exports.DescribeGroupsResponse$ = DescribeGroupsResponse$;
2846
+ exports.DescribeNotificationSubscriptions$ = DescribeNotificationSubscriptions$;
997
2847
  exports.DescribeNotificationSubscriptionsCommand = DescribeNotificationSubscriptionsCommand;
2848
+ exports.DescribeNotificationSubscriptionsRequest$ = DescribeNotificationSubscriptionsRequest$;
2849
+ exports.DescribeNotificationSubscriptionsResponse$ = DescribeNotificationSubscriptionsResponse$;
2850
+ exports.DescribeResourcePermissions$ = DescribeResourcePermissions$;
998
2851
  exports.DescribeResourcePermissionsCommand = DescribeResourcePermissionsCommand;
2852
+ exports.DescribeResourcePermissionsRequest$ = DescribeResourcePermissionsRequest$;
2853
+ exports.DescribeResourcePermissionsResponse$ = DescribeResourcePermissionsResponse$;
2854
+ exports.DescribeRootFolders$ = DescribeRootFolders$;
999
2855
  exports.DescribeRootFoldersCommand = DescribeRootFoldersCommand;
2856
+ exports.DescribeRootFoldersRequest$ = DescribeRootFoldersRequest$;
2857
+ exports.DescribeRootFoldersResponse$ = DescribeRootFoldersResponse$;
2858
+ exports.DescribeUsers$ = DescribeUsers$;
1000
2859
  exports.DescribeUsersCommand = DescribeUsersCommand;
2860
+ exports.DescribeUsersRequest$ = DescribeUsersRequest$;
2861
+ exports.DescribeUsersResponse$ = DescribeUsersResponse$;
2862
+ exports.DocumentLockedForCommentsException = DocumentLockedForCommentsException;
2863
+ exports.DocumentLockedForCommentsException$ = DocumentLockedForCommentsException$;
2864
+ exports.DocumentMetadata$ = DocumentMetadata$;
1001
2865
  exports.DocumentSourceType = DocumentSourceType;
1002
2866
  exports.DocumentStatusType = DocumentStatusType;
1003
2867
  exports.DocumentThumbnailType = DocumentThumbnailType;
2868
+ exports.DocumentVersionMetadata$ = DocumentVersionMetadata$;
1004
2869
  exports.DocumentVersionStatus = DocumentVersionStatus;
2870
+ exports.DraftUploadOutOfSyncException = DraftUploadOutOfSyncException;
2871
+ exports.DraftUploadOutOfSyncException$ = DraftUploadOutOfSyncException$;
2872
+ exports.EntityAlreadyExistsException = EntityAlreadyExistsException;
2873
+ exports.EntityAlreadyExistsException$ = EntityAlreadyExistsException$;
2874
+ exports.EntityNotExistsException = EntityNotExistsException;
2875
+ exports.EntityNotExistsException$ = EntityNotExistsException$;
2876
+ exports.FailedDependencyException = FailedDependencyException;
2877
+ exports.FailedDependencyException$ = FailedDependencyException$;
2878
+ exports.Filters$ = Filters$;
1005
2879
  exports.FolderContentType = FolderContentType;
2880
+ exports.FolderMetadata$ = FolderMetadata$;
2881
+ exports.GetCurrentUser$ = GetCurrentUser$;
1006
2882
  exports.GetCurrentUserCommand = GetCurrentUserCommand;
2883
+ exports.GetCurrentUserRequest$ = GetCurrentUserRequest$;
2884
+ exports.GetCurrentUserResponse$ = GetCurrentUserResponse$;
2885
+ exports.GetDocument$ = GetDocument$;
1007
2886
  exports.GetDocumentCommand = GetDocumentCommand;
2887
+ exports.GetDocumentPath$ = GetDocumentPath$;
1008
2888
  exports.GetDocumentPathCommand = GetDocumentPathCommand;
2889
+ exports.GetDocumentPathRequest$ = GetDocumentPathRequest$;
2890
+ exports.GetDocumentPathResponse$ = GetDocumentPathResponse$;
2891
+ exports.GetDocumentRequest$ = GetDocumentRequest$;
2892
+ exports.GetDocumentResponse$ = GetDocumentResponse$;
2893
+ exports.GetDocumentVersion$ = GetDocumentVersion$;
1009
2894
  exports.GetDocumentVersionCommand = GetDocumentVersionCommand;
2895
+ exports.GetDocumentVersionRequest$ = GetDocumentVersionRequest$;
2896
+ exports.GetDocumentVersionResponse$ = GetDocumentVersionResponse$;
2897
+ exports.GetFolder$ = GetFolder$;
1010
2898
  exports.GetFolderCommand = GetFolderCommand;
2899
+ exports.GetFolderPath$ = GetFolderPath$;
1011
2900
  exports.GetFolderPathCommand = GetFolderPathCommand;
2901
+ exports.GetFolderPathRequest$ = GetFolderPathRequest$;
2902
+ exports.GetFolderPathResponse$ = GetFolderPathResponse$;
2903
+ exports.GetFolderRequest$ = GetFolderRequest$;
2904
+ exports.GetFolderResponse$ = GetFolderResponse$;
2905
+ exports.GetResources$ = GetResources$;
1012
2906
  exports.GetResourcesCommand = GetResourcesCommand;
2907
+ exports.GetResourcesRequest$ = GetResourcesRequest$;
2908
+ exports.GetResourcesResponse$ = GetResourcesResponse$;
2909
+ exports.GroupMetadata$ = GroupMetadata$;
2910
+ exports.IllegalUserStateException = IllegalUserStateException;
2911
+ exports.IllegalUserStateException$ = IllegalUserStateException$;
2912
+ exports.InitiateDocumentVersionUpload$ = InitiateDocumentVersionUpload$;
1013
2913
  exports.InitiateDocumentVersionUploadCommand = InitiateDocumentVersionUploadCommand;
2914
+ exports.InitiateDocumentVersionUploadRequest$ = InitiateDocumentVersionUploadRequest$;
2915
+ exports.InitiateDocumentVersionUploadResponse$ = InitiateDocumentVersionUploadResponse$;
2916
+ exports.InvalidArgumentException = InvalidArgumentException;
2917
+ exports.InvalidArgumentException$ = InvalidArgumentException$;
2918
+ exports.InvalidCommentOperationException = InvalidCommentOperationException;
2919
+ exports.InvalidCommentOperationException$ = InvalidCommentOperationException$;
2920
+ exports.InvalidOperationException = InvalidOperationException;
2921
+ exports.InvalidOperationException$ = InvalidOperationException$;
2922
+ exports.InvalidPasswordException = InvalidPasswordException;
2923
+ exports.InvalidPasswordException$ = InvalidPasswordException$;
1014
2924
  exports.LanguageCodeType = LanguageCodeType;
2925
+ exports.LimitExceededException = LimitExceededException;
2926
+ exports.LimitExceededException$ = LimitExceededException$;
1015
2927
  exports.LocaleType = LocaleType;
2928
+ exports.LongRangeType$ = LongRangeType$;
2929
+ exports.NotificationOptions$ = NotificationOptions$;
1016
2930
  exports.OrderByFieldType = OrderByFieldType;
1017
2931
  exports.OrderType = OrderType;
2932
+ exports.Participants$ = Participants$;
2933
+ exports.PermissionInfo$ = PermissionInfo$;
2934
+ exports.Principal$ = Principal$;
1018
2935
  exports.PrincipalRoleType = PrincipalRoleType;
1019
2936
  exports.PrincipalType = PrincipalType;
2937
+ exports.ProhibitedStateException = ProhibitedStateException;
2938
+ exports.ProhibitedStateException$ = ProhibitedStateException$;
2939
+ exports.RemoveAllResourcePermissions$ = RemoveAllResourcePermissions$;
1020
2940
  exports.RemoveAllResourcePermissionsCommand = RemoveAllResourcePermissionsCommand;
2941
+ exports.RemoveAllResourcePermissionsRequest$ = RemoveAllResourcePermissionsRequest$;
2942
+ exports.RemoveResourcePermission$ = RemoveResourcePermission$;
1021
2943
  exports.RemoveResourcePermissionCommand = RemoveResourcePermissionCommand;
2944
+ exports.RemoveResourcePermissionRequest$ = RemoveResourcePermissionRequest$;
2945
+ exports.RequestedEntityTooLargeException = RequestedEntityTooLargeException;
2946
+ exports.RequestedEntityTooLargeException$ = RequestedEntityTooLargeException$;
2947
+ exports.ResourceAlreadyCheckedOutException = ResourceAlreadyCheckedOutException;
2948
+ exports.ResourceAlreadyCheckedOutException$ = ResourceAlreadyCheckedOutException$;
1022
2949
  exports.ResourceCollectionType = ResourceCollectionType;
2950
+ exports.ResourceMetadata$ = ResourceMetadata$;
2951
+ exports.ResourcePath$ = ResourcePath$;
2952
+ exports.ResourcePathComponent$ = ResourcePathComponent$;
1023
2953
  exports.ResourceSortType = ResourceSortType;
1024
2954
  exports.ResourceStateType = ResourceStateType;
1025
2955
  exports.ResourceType = ResourceType;
2956
+ exports.ResponseItem$ = ResponseItem$;
1026
2957
  exports.ResponseItemType = ResponseItemType;
2958
+ exports.RestoreDocumentVersions$ = RestoreDocumentVersions$;
1027
2959
  exports.RestoreDocumentVersionsCommand = RestoreDocumentVersionsCommand;
2960
+ exports.RestoreDocumentVersionsRequest$ = RestoreDocumentVersionsRequest$;
1028
2961
  exports.RolePermissionType = RolePermissionType;
1029
2962
  exports.RoleType = RoleType;
1030
2963
  exports.SearchCollectionType = SearchCollectionType;
2964
+ exports.SearchPrincipalType$ = SearchPrincipalType$;
1031
2965
  exports.SearchQueryScopeType = SearchQueryScopeType;
1032
2966
  exports.SearchResourceType = SearchResourceType;
2967
+ exports.SearchResources$ = SearchResources$;
1033
2968
  exports.SearchResourcesCommand = SearchResourcesCommand;
2969
+ exports.SearchResourcesRequest$ = SearchResourcesRequest$;
2970
+ exports.SearchResourcesResponse$ = SearchResourcesResponse$;
2971
+ exports.SearchSortResult$ = SearchSortResult$;
2972
+ exports.ServiceUnavailableException = ServiceUnavailableException;
2973
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
2974
+ exports.SharePrincipal$ = SharePrincipal$;
2975
+ exports.ShareResult$ = ShareResult$;
1034
2976
  exports.ShareStatusType = ShareStatusType;
1035
2977
  exports.SortOrder = SortOrder;
2978
+ exports.StorageLimitExceededException = StorageLimitExceededException;
2979
+ exports.StorageLimitExceededException$ = StorageLimitExceededException$;
2980
+ exports.StorageLimitWillExceedException = StorageLimitWillExceedException;
2981
+ exports.StorageLimitWillExceedException$ = StorageLimitWillExceedException$;
2982
+ exports.StorageRuleType$ = StorageRuleType$;
1036
2983
  exports.StorageType = StorageType;
2984
+ exports.Subscription$ = Subscription$;
1037
2985
  exports.SubscriptionProtocolType = SubscriptionProtocolType;
1038
2986
  exports.SubscriptionType = SubscriptionType;
2987
+ exports.TooManyLabelsException = TooManyLabelsException;
2988
+ exports.TooManyLabelsException$ = TooManyLabelsException$;
2989
+ exports.TooManySubscriptionsException = TooManySubscriptionsException;
2990
+ exports.TooManySubscriptionsException$ = TooManySubscriptionsException$;
2991
+ exports.UnauthorizedOperationException = UnauthorizedOperationException;
2992
+ exports.UnauthorizedOperationException$ = UnauthorizedOperationException$;
2993
+ exports.UnauthorizedResourceAccessException = UnauthorizedResourceAccessException;
2994
+ exports.UnauthorizedResourceAccessException$ = UnauthorizedResourceAccessException$;
2995
+ exports.UpdateDocument$ = UpdateDocument$;
1039
2996
  exports.UpdateDocumentCommand = UpdateDocumentCommand;
2997
+ exports.UpdateDocumentRequest$ = UpdateDocumentRequest$;
2998
+ exports.UpdateDocumentVersion$ = UpdateDocumentVersion$;
1040
2999
  exports.UpdateDocumentVersionCommand = UpdateDocumentVersionCommand;
3000
+ exports.UpdateDocumentVersionRequest$ = UpdateDocumentVersionRequest$;
3001
+ exports.UpdateFolder$ = UpdateFolder$;
1041
3002
  exports.UpdateFolderCommand = UpdateFolderCommand;
3003
+ exports.UpdateFolderRequest$ = UpdateFolderRequest$;
3004
+ exports.UpdateUser$ = UpdateUser$;
1042
3005
  exports.UpdateUserCommand = UpdateUserCommand;
3006
+ exports.UpdateUserRequest$ = UpdateUserRequest$;
3007
+ exports.UpdateUserResponse$ = UpdateUserResponse$;
3008
+ exports.UploadMetadata$ = UploadMetadata$;
3009
+ exports.User$ = User$;
1043
3010
  exports.UserFilterType = UserFilterType;
3011
+ exports.UserMetadata$ = UserMetadata$;
1044
3012
  exports.UserSortType = UserSortType;
1045
3013
  exports.UserStatusType = UserStatusType;
3014
+ exports.UserStorageMetadata$ = UserStorageMetadata$;
1046
3015
  exports.UserType = UserType;
1047
3016
  exports.WorkDocs = WorkDocs;
1048
3017
  exports.WorkDocsClient = WorkDocsClient;
3018
+ exports.WorkDocsServiceException = WorkDocsServiceException;
3019
+ exports.WorkDocsServiceException$ = WorkDocsServiceException$;
3020
+ exports.errorTypeRegistries = errorTypeRegistries;
1049
3021
  exports.paginateDescribeActivities = paginateDescribeActivities;
1050
3022
  exports.paginateDescribeComments = paginateDescribeComments;
1051
3023
  exports.paginateDescribeDocumentVersions = paginateDescribeDocumentVersions;