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