@aws-sdk/client-workdocs 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/WorkDocsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +357 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +597 -2109
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/WorkDocsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +330 -1
  9. package/dist-es/protocols/Aws_restJson1.js +1127 -2299
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/WorkDocsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +177 -76
  13. package/dist-types/ts3.4/WorkDocs.d.ts +210 -0
  14. package/dist-types/ts3.4/WorkDocsClient.d.ts +114 -0
  15. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +41 -0
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  58. package/dist-types/ts3.4/index.d.ts +6 -0
  59. package/dist-types/ts3.4/models/WorkDocsServiceException.d.ts +6 -0
  60. package/dist-types/ts3.4/models/index.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +1622 -0
  62. package/dist-types/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  72. package/package.json +33 -33
@@ -0,0 +1,1622 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
3
+ export interface AbortDocumentVersionUploadRequest {
4
+
5
+ AuthenticationToken?: string;
6
+
7
+ DocumentId: string | undefined;
8
+
9
+ VersionId: string | undefined;
10
+ }
11
+ export declare namespace AbortDocumentVersionUploadRequest {
12
+
13
+ const filterSensitiveLog: (obj: AbortDocumentVersionUploadRequest) => any;
14
+ }
15
+
16
+ export declare class EntityNotExistsException extends __BaseException {
17
+ readonly name: "EntityNotExistsException";
18
+ readonly $fault: "client";
19
+ Message?: string;
20
+ EntityIds?: string[];
21
+
22
+ constructor(opts: __ExceptionOptionType<EntityNotExistsException, __BaseException>);
23
+ }
24
+
25
+ export declare class FailedDependencyException extends __BaseException {
26
+ readonly name: "FailedDependencyException";
27
+ readonly $fault: "client";
28
+ Message?: string;
29
+
30
+ constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
31
+ }
32
+
33
+ export declare class ProhibitedStateException extends __BaseException {
34
+ readonly name: "ProhibitedStateException";
35
+ readonly $fault: "client";
36
+ Message?: string;
37
+
38
+ constructor(opts: __ExceptionOptionType<ProhibitedStateException, __BaseException>);
39
+ }
40
+
41
+ export declare class ServiceUnavailableException extends __BaseException {
42
+ readonly name: "ServiceUnavailableException";
43
+ readonly $fault: "server";
44
+ Message?: string;
45
+
46
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
47
+ }
48
+
49
+ export declare class UnauthorizedOperationException extends __BaseException {
50
+ readonly name: "UnauthorizedOperationException";
51
+ readonly $fault: "client";
52
+ Message?: string;
53
+ Code?: string;
54
+
55
+ constructor(opts: __ExceptionOptionType<UnauthorizedOperationException, __BaseException>);
56
+ }
57
+
58
+ export declare class UnauthorizedResourceAccessException extends __BaseException {
59
+ readonly name: "UnauthorizedResourceAccessException";
60
+ readonly $fault: "client";
61
+ Message?: string;
62
+
63
+ constructor(opts: __ExceptionOptionType<UnauthorizedResourceAccessException, __BaseException>);
64
+ }
65
+ export interface ActivateUserRequest {
66
+
67
+ UserId: string | undefined;
68
+
69
+ AuthenticationToken?: string;
70
+ }
71
+ export declare namespace ActivateUserRequest {
72
+
73
+ const filterSensitiveLog: (obj: ActivateUserRequest) => any;
74
+ }
75
+ export declare enum LocaleType {
76
+ DE = "de",
77
+ DEFAULT = "default",
78
+ EN = "en",
79
+ ES = "es",
80
+ FR = "fr",
81
+ JA = "ja",
82
+ KO = "ko",
83
+ PT_BR = "pt_BR",
84
+ RU = "ru",
85
+ ZH_CN = "zh_CN",
86
+ ZH_TW = "zh_TW"
87
+ }
88
+ export declare enum UserStatusType {
89
+ ACTIVE = "ACTIVE",
90
+ INACTIVE = "INACTIVE",
91
+ PENDING = "PENDING"
92
+ }
93
+ export declare enum StorageType {
94
+ QUOTA = "QUOTA",
95
+ UNLIMITED = "UNLIMITED"
96
+ }
97
+
98
+ export interface StorageRuleType {
99
+
100
+ StorageAllocatedInBytes?: number;
101
+
102
+ StorageType?: StorageType | string;
103
+ }
104
+ export declare namespace StorageRuleType {
105
+
106
+ const filterSensitiveLog: (obj: StorageRuleType) => any;
107
+ }
108
+
109
+ export interface UserStorageMetadata {
110
+
111
+ StorageUtilizedInBytes?: number;
112
+
113
+ StorageRule?: StorageRuleType;
114
+ }
115
+ export declare namespace UserStorageMetadata {
116
+
117
+ const filterSensitiveLog: (obj: UserStorageMetadata) => any;
118
+ }
119
+ export declare enum UserType {
120
+ ADMIN = "ADMIN",
121
+ MINIMALUSER = "MINIMALUSER",
122
+ POWERUSER = "POWERUSER",
123
+ USER = "USER",
124
+ WORKSPACESUSER = "WORKSPACESUSER"
125
+ }
126
+
127
+ export interface User {
128
+
129
+ Id?: string;
130
+
131
+ Username?: string;
132
+
133
+ EmailAddress?: string;
134
+
135
+ GivenName?: string;
136
+
137
+ Surname?: string;
138
+
139
+ OrganizationId?: string;
140
+
141
+ RootFolderId?: string;
142
+
143
+ RecycleBinFolderId?: string;
144
+
145
+ Status?: UserStatusType | string;
146
+
147
+ Type?: UserType | string;
148
+
149
+ CreatedTimestamp?: Date;
150
+
151
+ ModifiedTimestamp?: Date;
152
+
153
+ TimeZoneId?: string;
154
+
155
+ Locale?: LocaleType | string;
156
+
157
+ Storage?: UserStorageMetadata;
158
+ }
159
+ export declare namespace User {
160
+
161
+ const filterSensitiveLog: (obj: User) => any;
162
+ }
163
+ export interface ActivateUserResponse {
164
+
165
+ User?: User;
166
+ }
167
+ export declare namespace ActivateUserResponse {
168
+
169
+ const filterSensitiveLog: (obj: ActivateUserResponse) => any;
170
+ }
171
+ export declare enum CommentStatusType {
172
+ DELETED = "DELETED",
173
+ DRAFT = "DRAFT",
174
+ PUBLISHED = "PUBLISHED"
175
+ }
176
+
177
+ export interface CommentMetadata {
178
+
179
+ CommentId?: string;
180
+
181
+ Contributor?: User;
182
+
183
+ CreatedTimestamp?: Date;
184
+
185
+ CommentStatus?: CommentStatusType | string;
186
+
187
+ RecipientId?: string;
188
+ }
189
+ export declare namespace CommentMetadata {
190
+
191
+ const filterSensitiveLog: (obj: CommentMetadata) => any;
192
+ }
193
+
194
+ export interface UserMetadata {
195
+
196
+ Id?: string;
197
+
198
+ Username?: string;
199
+
200
+ GivenName?: string;
201
+
202
+ Surname?: string;
203
+
204
+ EmailAddress?: string;
205
+ }
206
+ export declare namespace UserMetadata {
207
+
208
+ const filterSensitiveLog: (obj: UserMetadata) => any;
209
+ }
210
+ export declare enum ResourceType {
211
+ DOCUMENT = "DOCUMENT",
212
+ FOLDER = "FOLDER"
213
+ }
214
+
215
+ export interface ResourceMetadata {
216
+
217
+ Type?: ResourceType | string;
218
+
219
+ Name?: string;
220
+
221
+ OriginalName?: string;
222
+
223
+ Id?: string;
224
+
225
+ VersionId?: string;
226
+
227
+ Owner?: UserMetadata;
228
+
229
+ ParentId?: string;
230
+ }
231
+ export declare namespace ResourceMetadata {
232
+
233
+ const filterSensitiveLog: (obj: ResourceMetadata) => any;
234
+ }
235
+
236
+ export interface GroupMetadata {
237
+
238
+ Id?: string;
239
+
240
+ Name?: string;
241
+ }
242
+ export declare namespace GroupMetadata {
243
+
244
+ const filterSensitiveLog: (obj: GroupMetadata) => any;
245
+ }
246
+
247
+ export interface Participants {
248
+
249
+ Users?: UserMetadata[];
250
+
251
+ Groups?: GroupMetadata[];
252
+ }
253
+ export declare namespace Participants {
254
+
255
+ const filterSensitiveLog: (obj: Participants) => any;
256
+ }
257
+ export declare enum ActivityType {
258
+ DOCUMENT_ANNOTATION_ADDED = "DOCUMENT_ANNOTATION_ADDED",
259
+ DOCUMENT_ANNOTATION_DELETED = "DOCUMENT_ANNOTATION_DELETED",
260
+ DOCUMENT_CHECKED_IN = "DOCUMENT_CHECKED_IN",
261
+ DOCUMENT_CHECKED_OUT = "DOCUMENT_CHECKED_OUT",
262
+ DOCUMENT_COMMENT_ADDED = "DOCUMENT_COMMENT_ADDED",
263
+ DOCUMENT_COMMENT_DELETED = "DOCUMENT_COMMENT_DELETED",
264
+ DOCUMENT_MOVED = "DOCUMENT_MOVED",
265
+ DOCUMENT_RECYCLED = "DOCUMENT_RECYCLED",
266
+ DOCUMENT_RENAMED = "DOCUMENT_RENAMED",
267
+ DOCUMENT_RESTORED = "DOCUMENT_RESTORED",
268
+ DOCUMENT_REVERTED = "DOCUMENT_REVERTED",
269
+ DOCUMENT_SHAREABLE_LINK_CREATED = "DOCUMENT_SHAREABLE_LINK_CREATED",
270
+ DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED = "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
271
+ DOCUMENT_SHAREABLE_LINK_REMOVED = "DOCUMENT_SHAREABLE_LINK_REMOVED",
272
+ DOCUMENT_SHARED = "DOCUMENT_SHARED",
273
+ DOCUMENT_SHARE_PERMISSION_CHANGED = "DOCUMENT_SHARE_PERMISSION_CHANGED",
274
+ DOCUMENT_UNSHARED = "DOCUMENT_UNSHARED",
275
+ DOCUMENT_VERSION_DELETED = "DOCUMENT_VERSION_DELETED",
276
+ DOCUMENT_VERSION_DOWNLOADED = "DOCUMENT_VERSION_DOWNLOADED",
277
+ DOCUMENT_VERSION_UPLOADED = "DOCUMENT_VERSION_UPLOADED",
278
+ DOCUMENT_VERSION_VIEWED = "DOCUMENT_VERSION_VIEWED",
279
+ FOLDER_CREATED = "FOLDER_CREATED",
280
+ FOLDER_DELETED = "FOLDER_DELETED",
281
+ FOLDER_MOVED = "FOLDER_MOVED",
282
+ FOLDER_RECYCLED = "FOLDER_RECYCLED",
283
+ FOLDER_RENAMED = "FOLDER_RENAMED",
284
+ FOLDER_RESTORED = "FOLDER_RESTORED",
285
+ FOLDER_SHAREABLE_LINK_CREATED = "FOLDER_SHAREABLE_LINK_CREATED",
286
+ FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED = "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
287
+ FOLDER_SHAREABLE_LINK_REMOVED = "FOLDER_SHAREABLE_LINK_REMOVED",
288
+ FOLDER_SHARED = "FOLDER_SHARED",
289
+ FOLDER_SHARE_PERMISSION_CHANGED = "FOLDER_SHARE_PERMISSION_CHANGED",
290
+ FOLDER_UNSHARED = "FOLDER_UNSHARED"
291
+ }
292
+
293
+ export interface Activity {
294
+
295
+ Type?: ActivityType | string;
296
+
297
+ TimeStamp?: Date;
298
+
299
+ IsIndirectActivity?: boolean;
300
+
301
+ OrganizationId?: string;
302
+
303
+ Initiator?: UserMetadata;
304
+
305
+ Participants?: Participants;
306
+
307
+ ResourceMetadata?: ResourceMetadata;
308
+
309
+ OriginalParent?: ResourceMetadata;
310
+
311
+ CommentMetadata?: CommentMetadata;
312
+ }
313
+ export declare namespace Activity {
314
+
315
+ const filterSensitiveLog: (obj: Activity) => any;
316
+ }
317
+
318
+ export interface NotificationOptions {
319
+
320
+ SendEmail?: boolean;
321
+
322
+ EmailMessage?: string;
323
+ }
324
+ export declare namespace NotificationOptions {
325
+
326
+ const filterSensitiveLog: (obj: NotificationOptions) => any;
327
+ }
328
+ export declare enum RoleType {
329
+ CONTRIBUTOR = "CONTRIBUTOR",
330
+ COOWNER = "COOWNER",
331
+ OWNER = "OWNER",
332
+ VIEWER = "VIEWER"
333
+ }
334
+ export declare enum PrincipalType {
335
+ ANONYMOUS = "ANONYMOUS",
336
+ GROUP = "GROUP",
337
+ INVITE = "INVITE",
338
+ ORGANIZATION = "ORGANIZATION",
339
+ USER = "USER"
340
+ }
341
+
342
+ export interface SharePrincipal {
343
+
344
+ Id: string | undefined;
345
+
346
+ Type: PrincipalType | string | undefined;
347
+
348
+ Role: RoleType | string | undefined;
349
+ }
350
+ export declare namespace SharePrincipal {
351
+
352
+ const filterSensitiveLog: (obj: SharePrincipal) => any;
353
+ }
354
+ export interface AddResourcePermissionsRequest {
355
+
356
+ AuthenticationToken?: string;
357
+
358
+ ResourceId: string | undefined;
359
+
360
+ Principals: SharePrincipal[] | undefined;
361
+
362
+ NotificationOptions?: NotificationOptions;
363
+ }
364
+ export declare namespace AddResourcePermissionsRequest {
365
+
366
+ const filterSensitiveLog: (obj: AddResourcePermissionsRequest) => any;
367
+ }
368
+ export declare enum ShareStatusType {
369
+ FAILURE = "FAILURE",
370
+ SUCCESS = "SUCCESS"
371
+ }
372
+
373
+ export interface ShareResult {
374
+
375
+ PrincipalId?: string;
376
+
377
+ InviteePrincipalId?: string;
378
+
379
+ Role?: RoleType | string;
380
+
381
+ Status?: ShareStatusType | string;
382
+
383
+ ShareId?: string;
384
+
385
+ StatusMessage?: string;
386
+ }
387
+ export declare namespace ShareResult {
388
+
389
+ const filterSensitiveLog: (obj: ShareResult) => any;
390
+ }
391
+ export interface AddResourcePermissionsResponse {
392
+
393
+ ShareResults?: ShareResult[];
394
+ }
395
+ export declare namespace AddResourcePermissionsResponse {
396
+
397
+ const filterSensitiveLog: (obj: AddResourcePermissionsResponse) => any;
398
+ }
399
+ export declare enum CommentVisibilityType {
400
+ PRIVATE = "PRIVATE",
401
+ PUBLIC = "PUBLIC"
402
+ }
403
+ export interface CreateCommentRequest {
404
+
405
+ AuthenticationToken?: string;
406
+
407
+ DocumentId: string | undefined;
408
+
409
+ VersionId: string | undefined;
410
+
411
+ ParentId?: string;
412
+
413
+ ThreadId?: string;
414
+
415
+ Text: string | undefined;
416
+
417
+ Visibility?: CommentVisibilityType | string;
418
+
419
+ NotifyCollaborators?: boolean;
420
+ }
421
+ export declare namespace CreateCommentRequest {
422
+
423
+ const filterSensitiveLog: (obj: CreateCommentRequest) => any;
424
+ }
425
+
426
+ export interface Comment {
427
+
428
+ CommentId: string | undefined;
429
+
430
+ ParentId?: string;
431
+
432
+ ThreadId?: string;
433
+
434
+ Text?: string;
435
+
436
+ Contributor?: User;
437
+
438
+ CreatedTimestamp?: Date;
439
+
440
+ Status?: CommentStatusType | string;
441
+
442
+ Visibility?: CommentVisibilityType | string;
443
+
444
+ RecipientId?: string;
445
+ }
446
+ export declare namespace Comment {
447
+
448
+ const filterSensitiveLog: (obj: Comment) => any;
449
+ }
450
+ export interface CreateCommentResponse {
451
+
452
+ Comment?: Comment;
453
+ }
454
+ export declare namespace CreateCommentResponse {
455
+
456
+ const filterSensitiveLog: (obj: CreateCommentResponse) => any;
457
+ }
458
+
459
+ export declare class DocumentLockedForCommentsException extends __BaseException {
460
+ readonly name: "DocumentLockedForCommentsException";
461
+ readonly $fault: "client";
462
+ Message?: string;
463
+
464
+ constructor(opts: __ExceptionOptionType<DocumentLockedForCommentsException, __BaseException>);
465
+ }
466
+
467
+ export declare class InvalidCommentOperationException extends __BaseException {
468
+ readonly name: "InvalidCommentOperationException";
469
+ readonly $fault: "client";
470
+ Message?: string;
471
+
472
+ constructor(opts: __ExceptionOptionType<InvalidCommentOperationException, __BaseException>);
473
+ }
474
+ export interface CreateCustomMetadataRequest {
475
+
476
+ AuthenticationToken?: string;
477
+
478
+ ResourceId: string | undefined;
479
+
480
+ VersionId?: string;
481
+
482
+ CustomMetadata: {
483
+ [key: string]: string;
484
+ } | undefined;
485
+ }
486
+ export declare namespace CreateCustomMetadataRequest {
487
+
488
+ const filterSensitiveLog: (obj: CreateCustomMetadataRequest) => any;
489
+ }
490
+ export interface CreateCustomMetadataResponse {
491
+ }
492
+ export declare namespace CreateCustomMetadataResponse {
493
+
494
+ const filterSensitiveLog: (obj: CreateCustomMetadataResponse) => any;
495
+ }
496
+
497
+ export declare class CustomMetadataLimitExceededException extends __BaseException {
498
+ readonly name: "CustomMetadataLimitExceededException";
499
+ readonly $fault: "client";
500
+ Message?: string;
501
+
502
+ constructor(opts: __ExceptionOptionType<CustomMetadataLimitExceededException, __BaseException>);
503
+ }
504
+
505
+ export declare class ConflictingOperationException extends __BaseException {
506
+ readonly name: "ConflictingOperationException";
507
+ readonly $fault: "client";
508
+ Message?: string;
509
+
510
+ constructor(opts: __ExceptionOptionType<ConflictingOperationException, __BaseException>);
511
+ }
512
+ export interface CreateFolderRequest {
513
+
514
+ AuthenticationToken?: string;
515
+
516
+ Name?: string;
517
+
518
+ ParentFolderId: string | undefined;
519
+ }
520
+ export declare namespace CreateFolderRequest {
521
+
522
+ const filterSensitiveLog: (obj: CreateFolderRequest) => any;
523
+ }
524
+ export declare enum ResourceStateType {
525
+ ACTIVE = "ACTIVE",
526
+ RECYCLED = "RECYCLED",
527
+ RECYCLING = "RECYCLING",
528
+ RESTORING = "RESTORING"
529
+ }
530
+
531
+ export interface FolderMetadata {
532
+
533
+ Id?: string;
534
+
535
+ Name?: string;
536
+
537
+ CreatorId?: string;
538
+
539
+ ParentFolderId?: string;
540
+
541
+ CreatedTimestamp?: Date;
542
+
543
+ ModifiedTimestamp?: Date;
544
+
545
+ ResourceState?: ResourceStateType | string;
546
+
547
+ Signature?: string;
548
+
549
+ Labels?: string[];
550
+
551
+ Size?: number;
552
+
553
+ LatestVersionSize?: number;
554
+ }
555
+ export declare namespace FolderMetadata {
556
+
557
+ const filterSensitiveLog: (obj: FolderMetadata) => any;
558
+ }
559
+ export interface CreateFolderResponse {
560
+
561
+ Metadata?: FolderMetadata;
562
+ }
563
+ export declare namespace CreateFolderResponse {
564
+
565
+ const filterSensitiveLog: (obj: CreateFolderResponse) => any;
566
+ }
567
+
568
+ export declare class EntityAlreadyExistsException extends __BaseException {
569
+ readonly name: "EntityAlreadyExistsException";
570
+ readonly $fault: "client";
571
+ Message?: string;
572
+
573
+ constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
574
+ }
575
+
576
+ export declare class LimitExceededException extends __BaseException {
577
+ readonly name: "LimitExceededException";
578
+ readonly $fault: "client";
579
+ Message?: string;
580
+
581
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
582
+ }
583
+ export interface CreateLabelsRequest {
584
+
585
+ ResourceId: string | undefined;
586
+
587
+ Labels: string[] | undefined;
588
+
589
+ AuthenticationToken?: string;
590
+ }
591
+ export declare namespace CreateLabelsRequest {
592
+
593
+ const filterSensitiveLog: (obj: CreateLabelsRequest) => any;
594
+ }
595
+ export interface CreateLabelsResponse {
596
+ }
597
+ export declare namespace CreateLabelsResponse {
598
+
599
+ const filterSensitiveLog: (obj: CreateLabelsResponse) => any;
600
+ }
601
+
602
+ export declare class TooManyLabelsException extends __BaseException {
603
+ readonly name: "TooManyLabelsException";
604
+ readonly $fault: "client";
605
+ Message?: string;
606
+
607
+ constructor(opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>);
608
+ }
609
+ export declare enum SubscriptionProtocolType {
610
+ HTTPS = "HTTPS"
611
+ }
612
+ export declare enum SubscriptionType {
613
+ ALL = "ALL"
614
+ }
615
+ export interface CreateNotificationSubscriptionRequest {
616
+
617
+ OrganizationId: string | undefined;
618
+
619
+ Endpoint: string | undefined;
620
+
621
+ Protocol: SubscriptionProtocolType | string | undefined;
622
+
623
+ SubscriptionType: SubscriptionType | string | undefined;
624
+ }
625
+ export declare namespace CreateNotificationSubscriptionRequest {
626
+
627
+ const filterSensitiveLog: (obj: CreateNotificationSubscriptionRequest) => any;
628
+ }
629
+
630
+ export interface Subscription {
631
+
632
+ SubscriptionId?: string;
633
+
634
+ EndPoint?: string;
635
+
636
+ Protocol?: SubscriptionProtocolType | string;
637
+ }
638
+ export declare namespace Subscription {
639
+
640
+ const filterSensitiveLog: (obj: Subscription) => any;
641
+ }
642
+ export interface CreateNotificationSubscriptionResponse {
643
+
644
+ Subscription?: Subscription;
645
+ }
646
+ export declare namespace CreateNotificationSubscriptionResponse {
647
+
648
+ const filterSensitiveLog: (obj: CreateNotificationSubscriptionResponse) => any;
649
+ }
650
+
651
+ export declare class TooManySubscriptionsException extends __BaseException {
652
+ readonly name: "TooManySubscriptionsException";
653
+ readonly $fault: "client";
654
+ Message?: string;
655
+
656
+ constructor(opts: __ExceptionOptionType<TooManySubscriptionsException, __BaseException>);
657
+ }
658
+ export interface CreateUserRequest {
659
+
660
+ OrganizationId?: string;
661
+
662
+ Username: string | undefined;
663
+
664
+ EmailAddress?: string;
665
+
666
+ GivenName: string | undefined;
667
+
668
+ Surname: string | undefined;
669
+
670
+ Password: string | undefined;
671
+
672
+ TimeZoneId?: string;
673
+
674
+ StorageRule?: StorageRuleType;
675
+
676
+ AuthenticationToken?: string;
677
+ }
678
+ export declare namespace CreateUserRequest {
679
+
680
+ const filterSensitiveLog: (obj: CreateUserRequest) => any;
681
+ }
682
+ export interface CreateUserResponse {
683
+
684
+ User?: User;
685
+ }
686
+ export declare namespace CreateUserResponse {
687
+
688
+ const filterSensitiveLog: (obj: CreateUserResponse) => any;
689
+ }
690
+ export interface DeactivateUserRequest {
691
+
692
+ UserId: string | undefined;
693
+
694
+ AuthenticationToken?: string;
695
+ }
696
+ export declare namespace DeactivateUserRequest {
697
+
698
+ const filterSensitiveLog: (obj: DeactivateUserRequest) => any;
699
+ }
700
+ export interface DeleteCommentRequest {
701
+
702
+ AuthenticationToken?: string;
703
+
704
+ DocumentId: string | undefined;
705
+
706
+ VersionId: string | undefined;
707
+
708
+ CommentId: string | undefined;
709
+ }
710
+ export declare namespace DeleteCommentRequest {
711
+
712
+ const filterSensitiveLog: (obj: DeleteCommentRequest) => any;
713
+ }
714
+ export interface DeleteCustomMetadataRequest {
715
+
716
+ AuthenticationToken?: string;
717
+
718
+ ResourceId: string | undefined;
719
+
720
+ VersionId?: string;
721
+
722
+ Keys?: string[];
723
+
724
+ DeleteAll?: boolean;
725
+ }
726
+ export declare namespace DeleteCustomMetadataRequest {
727
+
728
+ const filterSensitiveLog: (obj: DeleteCustomMetadataRequest) => any;
729
+ }
730
+ export interface DeleteCustomMetadataResponse {
731
+ }
732
+ export declare namespace DeleteCustomMetadataResponse {
733
+
734
+ const filterSensitiveLog: (obj: DeleteCustomMetadataResponse) => any;
735
+ }
736
+
737
+ export declare class ConcurrentModificationException extends __BaseException {
738
+ readonly name: "ConcurrentModificationException";
739
+ readonly $fault: "client";
740
+ Message?: string;
741
+
742
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
743
+ }
744
+ export interface DeleteDocumentRequest {
745
+
746
+ AuthenticationToken?: string;
747
+
748
+ DocumentId: string | undefined;
749
+ }
750
+ export declare namespace DeleteDocumentRequest {
751
+
752
+ const filterSensitiveLog: (obj: DeleteDocumentRequest) => any;
753
+ }
754
+ export interface DeleteFolderRequest {
755
+
756
+ AuthenticationToken?: string;
757
+
758
+ FolderId: string | undefined;
759
+ }
760
+ export declare namespace DeleteFolderRequest {
761
+
762
+ const filterSensitiveLog: (obj: DeleteFolderRequest) => any;
763
+ }
764
+ export interface DeleteFolderContentsRequest {
765
+
766
+ AuthenticationToken?: string;
767
+
768
+ FolderId: string | undefined;
769
+ }
770
+ export declare namespace DeleteFolderContentsRequest {
771
+
772
+ const filterSensitiveLog: (obj: DeleteFolderContentsRequest) => any;
773
+ }
774
+ export interface DeleteLabelsRequest {
775
+
776
+ ResourceId: string | undefined;
777
+
778
+ AuthenticationToken?: string;
779
+
780
+ Labels?: string[];
781
+
782
+ DeleteAll?: boolean;
783
+ }
784
+ export declare namespace DeleteLabelsRequest {
785
+
786
+ const filterSensitiveLog: (obj: DeleteLabelsRequest) => any;
787
+ }
788
+ export interface DeleteLabelsResponse {
789
+ }
790
+ export declare namespace DeleteLabelsResponse {
791
+
792
+ const filterSensitiveLog: (obj: DeleteLabelsResponse) => any;
793
+ }
794
+ export interface DeleteNotificationSubscriptionRequest {
795
+
796
+ SubscriptionId: string | undefined;
797
+
798
+ OrganizationId: string | undefined;
799
+ }
800
+ export declare namespace DeleteNotificationSubscriptionRequest {
801
+
802
+ const filterSensitiveLog: (obj: DeleteNotificationSubscriptionRequest) => any;
803
+ }
804
+ export interface DeleteUserRequest {
805
+
806
+ AuthenticationToken?: string;
807
+
808
+ UserId: string | undefined;
809
+ }
810
+ export declare namespace DeleteUserRequest {
811
+
812
+ const filterSensitiveLog: (obj: DeleteUserRequest) => any;
813
+ }
814
+ export interface DescribeActivitiesRequest {
815
+
816
+ AuthenticationToken?: string;
817
+
818
+ StartTime?: Date;
819
+
820
+ EndTime?: Date;
821
+
822
+ OrganizationId?: string;
823
+
824
+ ActivityTypes?: string;
825
+
826
+ ResourceId?: string;
827
+
828
+ UserId?: string;
829
+
830
+ IncludeIndirectActivities?: boolean;
831
+
832
+ Limit?: number;
833
+
834
+ Marker?: string;
835
+ }
836
+ export declare namespace DescribeActivitiesRequest {
837
+
838
+ const filterSensitiveLog: (obj: DescribeActivitiesRequest) => any;
839
+ }
840
+ export interface DescribeActivitiesResponse {
841
+
842
+ UserActivities?: Activity[];
843
+
844
+ Marker?: string;
845
+ }
846
+ export declare namespace DescribeActivitiesResponse {
847
+
848
+ const filterSensitiveLog: (obj: DescribeActivitiesResponse) => any;
849
+ }
850
+
851
+ export declare class InvalidArgumentException extends __BaseException {
852
+ readonly name: "InvalidArgumentException";
853
+ readonly $fault: "client";
854
+ Message?: string;
855
+
856
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
857
+ }
858
+ export interface DescribeCommentsRequest {
859
+
860
+ AuthenticationToken?: string;
861
+
862
+ DocumentId: string | undefined;
863
+
864
+ VersionId: string | undefined;
865
+
866
+ Limit?: number;
867
+
868
+ Marker?: string;
869
+ }
870
+ export declare namespace DescribeCommentsRequest {
871
+
872
+ const filterSensitiveLog: (obj: DescribeCommentsRequest) => any;
873
+ }
874
+ export interface DescribeCommentsResponse {
875
+
876
+ Comments?: Comment[];
877
+
878
+ Marker?: string;
879
+ }
880
+ export declare namespace DescribeCommentsResponse {
881
+
882
+ const filterSensitiveLog: (obj: DescribeCommentsResponse) => any;
883
+ }
884
+ export interface DescribeDocumentVersionsRequest {
885
+
886
+ AuthenticationToken?: string;
887
+
888
+ DocumentId: string | undefined;
889
+
890
+ Marker?: string;
891
+
892
+ Limit?: number;
893
+
894
+ Include?: string;
895
+
896
+ Fields?: string;
897
+ }
898
+ export declare namespace DescribeDocumentVersionsRequest {
899
+
900
+ const filterSensitiveLog: (obj: DescribeDocumentVersionsRequest) => any;
901
+ }
902
+ export declare enum DocumentSourceType {
903
+ ORIGINAL = "ORIGINAL",
904
+ WITH_COMMENTS = "WITH_COMMENTS"
905
+ }
906
+ export declare enum DocumentStatusType {
907
+ ACTIVE = "ACTIVE",
908
+ INITIALIZED = "INITIALIZED"
909
+ }
910
+ export declare enum DocumentThumbnailType {
911
+ LARGE = "LARGE",
912
+ SMALL = "SMALL",
913
+ SMALL_HQ = "SMALL_HQ"
914
+ }
915
+
916
+ export interface DocumentVersionMetadata {
917
+
918
+ Id?: string;
919
+
920
+ Name?: string;
921
+
922
+ ContentType?: string;
923
+
924
+ Size?: number;
925
+
926
+ Signature?: string;
927
+
928
+ Status?: DocumentStatusType | string;
929
+
930
+ CreatedTimestamp?: Date;
931
+
932
+ ModifiedTimestamp?: Date;
933
+
934
+ ContentCreatedTimestamp?: Date;
935
+
936
+ ContentModifiedTimestamp?: Date;
937
+
938
+ CreatorId?: string;
939
+
940
+ Thumbnail?: {
941
+ [key: string]: string;
942
+ };
943
+
944
+ Source?: {
945
+ [key: string]: string;
946
+ };
947
+ }
948
+ export declare namespace DocumentVersionMetadata {
949
+
950
+ const filterSensitiveLog: (obj: DocumentVersionMetadata) => any;
951
+ }
952
+ export interface DescribeDocumentVersionsResponse {
953
+
954
+ DocumentVersions?: DocumentVersionMetadata[];
955
+
956
+ Marker?: string;
957
+ }
958
+ export declare namespace DescribeDocumentVersionsResponse {
959
+
960
+ const filterSensitiveLog: (obj: DescribeDocumentVersionsResponse) => any;
961
+ }
962
+ export declare enum OrderType {
963
+ ASCENDING = "ASCENDING",
964
+ DESCENDING = "DESCENDING"
965
+ }
966
+ export declare enum ResourceSortType {
967
+ DATE = "DATE",
968
+ NAME = "NAME"
969
+ }
970
+ export declare enum FolderContentType {
971
+ ALL = "ALL",
972
+ DOCUMENT = "DOCUMENT",
973
+ FOLDER = "FOLDER"
974
+ }
975
+ export interface DescribeFolderContentsRequest {
976
+
977
+ AuthenticationToken?: string;
978
+
979
+ FolderId: string | undefined;
980
+
981
+ Sort?: ResourceSortType | string;
982
+
983
+ Order?: OrderType | string;
984
+
985
+ Limit?: number;
986
+
987
+ Marker?: string;
988
+
989
+ Type?: FolderContentType | string;
990
+
991
+ Include?: string;
992
+ }
993
+ export declare namespace DescribeFolderContentsRequest {
994
+
995
+ const filterSensitiveLog: (obj: DescribeFolderContentsRequest) => any;
996
+ }
997
+
998
+ export interface DocumentMetadata {
999
+
1000
+ Id?: string;
1001
+
1002
+ CreatorId?: string;
1003
+
1004
+ ParentFolderId?: string;
1005
+
1006
+ CreatedTimestamp?: Date;
1007
+
1008
+ ModifiedTimestamp?: Date;
1009
+
1010
+ LatestVersionMetadata?: DocumentVersionMetadata;
1011
+
1012
+ ResourceState?: ResourceStateType | string;
1013
+
1014
+ Labels?: string[];
1015
+ }
1016
+ export declare namespace DocumentMetadata {
1017
+
1018
+ const filterSensitiveLog: (obj: DocumentMetadata) => any;
1019
+ }
1020
+ export interface DescribeFolderContentsResponse {
1021
+
1022
+ Folders?: FolderMetadata[];
1023
+
1024
+ Documents?: DocumentMetadata[];
1025
+
1026
+ Marker?: string;
1027
+ }
1028
+ export declare namespace DescribeFolderContentsResponse {
1029
+
1030
+ const filterSensitiveLog: (obj: DescribeFolderContentsResponse) => any;
1031
+ }
1032
+ export interface DescribeGroupsRequest {
1033
+
1034
+ AuthenticationToken?: string;
1035
+
1036
+ SearchQuery: string | undefined;
1037
+
1038
+ OrganizationId?: string;
1039
+
1040
+ Marker?: string;
1041
+
1042
+ Limit?: number;
1043
+ }
1044
+ export declare namespace DescribeGroupsRequest {
1045
+
1046
+ const filterSensitiveLog: (obj: DescribeGroupsRequest) => any;
1047
+ }
1048
+ export interface DescribeGroupsResponse {
1049
+
1050
+ Groups?: GroupMetadata[];
1051
+
1052
+ Marker?: string;
1053
+ }
1054
+ export declare namespace DescribeGroupsResponse {
1055
+
1056
+ const filterSensitiveLog: (obj: DescribeGroupsResponse) => any;
1057
+ }
1058
+ export interface DescribeNotificationSubscriptionsRequest {
1059
+
1060
+ OrganizationId: string | undefined;
1061
+
1062
+ Marker?: string;
1063
+
1064
+ Limit?: number;
1065
+ }
1066
+ export declare namespace DescribeNotificationSubscriptionsRequest {
1067
+
1068
+ const filterSensitiveLog: (obj: DescribeNotificationSubscriptionsRequest) => any;
1069
+ }
1070
+ export interface DescribeNotificationSubscriptionsResponse {
1071
+
1072
+ Subscriptions?: Subscription[];
1073
+
1074
+ Marker?: string;
1075
+ }
1076
+ export declare namespace DescribeNotificationSubscriptionsResponse {
1077
+
1078
+ const filterSensitiveLog: (obj: DescribeNotificationSubscriptionsResponse) => any;
1079
+ }
1080
+ export interface DescribeResourcePermissionsRequest {
1081
+
1082
+ AuthenticationToken?: string;
1083
+
1084
+ ResourceId: string | undefined;
1085
+
1086
+ PrincipalId?: string;
1087
+
1088
+ Limit?: number;
1089
+
1090
+ Marker?: string;
1091
+ }
1092
+ export declare namespace DescribeResourcePermissionsRequest {
1093
+
1094
+ const filterSensitiveLog: (obj: DescribeResourcePermissionsRequest) => any;
1095
+ }
1096
+ export declare enum RolePermissionType {
1097
+ DIRECT = "DIRECT",
1098
+ INHERITED = "INHERITED"
1099
+ }
1100
+
1101
+ export interface PermissionInfo {
1102
+
1103
+ Role?: RoleType | string;
1104
+
1105
+ Type?: RolePermissionType | string;
1106
+ }
1107
+ export declare namespace PermissionInfo {
1108
+
1109
+ const filterSensitiveLog: (obj: PermissionInfo) => any;
1110
+ }
1111
+
1112
+ export interface Principal {
1113
+
1114
+ Id?: string;
1115
+
1116
+ Type?: PrincipalType | string;
1117
+
1118
+ Roles?: PermissionInfo[];
1119
+ }
1120
+ export declare namespace Principal {
1121
+
1122
+ const filterSensitiveLog: (obj: Principal) => any;
1123
+ }
1124
+ export interface DescribeResourcePermissionsResponse {
1125
+
1126
+ Principals?: Principal[];
1127
+
1128
+ Marker?: string;
1129
+ }
1130
+ export declare namespace DescribeResourcePermissionsResponse {
1131
+
1132
+ const filterSensitiveLog: (obj: DescribeResourcePermissionsResponse) => any;
1133
+ }
1134
+ export interface DescribeRootFoldersRequest {
1135
+
1136
+ AuthenticationToken: string | undefined;
1137
+
1138
+ Limit?: number;
1139
+
1140
+ Marker?: string;
1141
+ }
1142
+ export declare namespace DescribeRootFoldersRequest {
1143
+
1144
+ const filterSensitiveLog: (obj: DescribeRootFoldersRequest) => any;
1145
+ }
1146
+ export interface DescribeRootFoldersResponse {
1147
+
1148
+ Folders?: FolderMetadata[];
1149
+
1150
+ Marker?: string;
1151
+ }
1152
+ export declare namespace DescribeRootFoldersResponse {
1153
+
1154
+ const filterSensitiveLog: (obj: DescribeRootFoldersResponse) => any;
1155
+ }
1156
+ export declare enum UserFilterType {
1157
+ ACTIVE_PENDING = "ACTIVE_PENDING",
1158
+ ALL = "ALL"
1159
+ }
1160
+ export declare enum UserSortType {
1161
+ FULL_NAME = "FULL_NAME",
1162
+ STORAGE_LIMIT = "STORAGE_LIMIT",
1163
+ STORAGE_USED = "STORAGE_USED",
1164
+ USER_NAME = "USER_NAME",
1165
+ USER_STATUS = "USER_STATUS"
1166
+ }
1167
+ export interface DescribeUsersRequest {
1168
+
1169
+ AuthenticationToken?: string;
1170
+
1171
+ OrganizationId?: string;
1172
+
1173
+ UserIds?: string;
1174
+
1175
+ Query?: string;
1176
+
1177
+ Include?: UserFilterType | string;
1178
+
1179
+ Order?: OrderType | string;
1180
+
1181
+ Sort?: UserSortType | string;
1182
+
1183
+ Marker?: string;
1184
+
1185
+ Limit?: number;
1186
+
1187
+ Fields?: string;
1188
+ }
1189
+ export declare namespace DescribeUsersRequest {
1190
+
1191
+ const filterSensitiveLog: (obj: DescribeUsersRequest) => any;
1192
+ }
1193
+ export interface DescribeUsersResponse {
1194
+
1195
+ Users?: User[];
1196
+
1197
+ TotalNumberOfUsers?: number;
1198
+
1199
+ Marker?: string;
1200
+ }
1201
+ export declare namespace DescribeUsersResponse {
1202
+
1203
+ const filterSensitiveLog: (obj: DescribeUsersResponse) => any;
1204
+ }
1205
+
1206
+ export declare class RequestedEntityTooLargeException extends __BaseException {
1207
+ readonly name: "RequestedEntityTooLargeException";
1208
+ readonly $fault: "client";
1209
+ Message?: string;
1210
+
1211
+ constructor(opts: __ExceptionOptionType<RequestedEntityTooLargeException, __BaseException>);
1212
+ }
1213
+ export interface GetCurrentUserRequest {
1214
+
1215
+ AuthenticationToken: string | undefined;
1216
+ }
1217
+ export declare namespace GetCurrentUserRequest {
1218
+
1219
+ const filterSensitiveLog: (obj: GetCurrentUserRequest) => any;
1220
+ }
1221
+ export interface GetCurrentUserResponse {
1222
+
1223
+ User?: User;
1224
+ }
1225
+ export declare namespace GetCurrentUserResponse {
1226
+
1227
+ const filterSensitiveLog: (obj: GetCurrentUserResponse) => any;
1228
+ }
1229
+ export interface GetDocumentRequest {
1230
+
1231
+ AuthenticationToken?: string;
1232
+
1233
+ DocumentId: string | undefined;
1234
+
1235
+ IncludeCustomMetadata?: boolean;
1236
+ }
1237
+ export declare namespace GetDocumentRequest {
1238
+
1239
+ const filterSensitiveLog: (obj: GetDocumentRequest) => any;
1240
+ }
1241
+ export interface GetDocumentResponse {
1242
+
1243
+ Metadata?: DocumentMetadata;
1244
+
1245
+ CustomMetadata?: {
1246
+ [key: string]: string;
1247
+ };
1248
+ }
1249
+ export declare namespace GetDocumentResponse {
1250
+
1251
+ const filterSensitiveLog: (obj: GetDocumentResponse) => any;
1252
+ }
1253
+
1254
+ export declare class InvalidPasswordException extends __BaseException {
1255
+ readonly name: "InvalidPasswordException";
1256
+ readonly $fault: "client";
1257
+ Message?: string;
1258
+
1259
+ constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
1260
+ }
1261
+ export interface GetDocumentPathRequest {
1262
+
1263
+ AuthenticationToken?: string;
1264
+
1265
+ DocumentId: string | undefined;
1266
+
1267
+ Limit?: number;
1268
+
1269
+ Fields?: string;
1270
+
1271
+ Marker?: string;
1272
+ }
1273
+ export declare namespace GetDocumentPathRequest {
1274
+
1275
+ const filterSensitiveLog: (obj: GetDocumentPathRequest) => any;
1276
+ }
1277
+
1278
+ export interface ResourcePathComponent {
1279
+
1280
+ Id?: string;
1281
+
1282
+ Name?: string;
1283
+ }
1284
+ export declare namespace ResourcePathComponent {
1285
+
1286
+ const filterSensitiveLog: (obj: ResourcePathComponent) => any;
1287
+ }
1288
+
1289
+ export interface ResourcePath {
1290
+
1291
+ Components?: ResourcePathComponent[];
1292
+ }
1293
+ export declare namespace ResourcePath {
1294
+
1295
+ const filterSensitiveLog: (obj: ResourcePath) => any;
1296
+ }
1297
+ export interface GetDocumentPathResponse {
1298
+
1299
+ Path?: ResourcePath;
1300
+ }
1301
+ export declare namespace GetDocumentPathResponse {
1302
+
1303
+ const filterSensitiveLog: (obj: GetDocumentPathResponse) => any;
1304
+ }
1305
+ export interface GetDocumentVersionRequest {
1306
+
1307
+ AuthenticationToken?: string;
1308
+
1309
+ DocumentId: string | undefined;
1310
+
1311
+ VersionId: string | undefined;
1312
+
1313
+ Fields?: string;
1314
+
1315
+ IncludeCustomMetadata?: boolean;
1316
+ }
1317
+ export declare namespace GetDocumentVersionRequest {
1318
+
1319
+ const filterSensitiveLog: (obj: GetDocumentVersionRequest) => any;
1320
+ }
1321
+ export interface GetDocumentVersionResponse {
1322
+
1323
+ Metadata?: DocumentVersionMetadata;
1324
+
1325
+ CustomMetadata?: {
1326
+ [key: string]: string;
1327
+ };
1328
+ }
1329
+ export declare namespace GetDocumentVersionResponse {
1330
+
1331
+ const filterSensitiveLog: (obj: GetDocumentVersionResponse) => any;
1332
+ }
1333
+ export interface GetFolderRequest {
1334
+
1335
+ AuthenticationToken?: string;
1336
+
1337
+ FolderId: string | undefined;
1338
+
1339
+ IncludeCustomMetadata?: boolean;
1340
+ }
1341
+ export declare namespace GetFolderRequest {
1342
+
1343
+ const filterSensitiveLog: (obj: GetFolderRequest) => any;
1344
+ }
1345
+ export interface GetFolderResponse {
1346
+
1347
+ Metadata?: FolderMetadata;
1348
+
1349
+ CustomMetadata?: {
1350
+ [key: string]: string;
1351
+ };
1352
+ }
1353
+ export declare namespace GetFolderResponse {
1354
+
1355
+ const filterSensitiveLog: (obj: GetFolderResponse) => any;
1356
+ }
1357
+ export interface GetFolderPathRequest {
1358
+
1359
+ AuthenticationToken?: string;
1360
+
1361
+ FolderId: string | undefined;
1362
+
1363
+ Limit?: number;
1364
+
1365
+ Fields?: string;
1366
+
1367
+ Marker?: string;
1368
+ }
1369
+ export declare namespace GetFolderPathRequest {
1370
+
1371
+ const filterSensitiveLog: (obj: GetFolderPathRequest) => any;
1372
+ }
1373
+ export interface GetFolderPathResponse {
1374
+
1375
+ Path?: ResourcePath;
1376
+ }
1377
+ export declare namespace GetFolderPathResponse {
1378
+
1379
+ const filterSensitiveLog: (obj: GetFolderPathResponse) => any;
1380
+ }
1381
+ export declare enum ResourceCollectionType {
1382
+ SHARED_WITH_ME = "SHARED_WITH_ME"
1383
+ }
1384
+ export interface GetResourcesRequest {
1385
+
1386
+ AuthenticationToken?: string;
1387
+
1388
+ UserId?: string;
1389
+
1390
+ CollectionType?: ResourceCollectionType | string;
1391
+
1392
+ Limit?: number;
1393
+
1394
+ Marker?: string;
1395
+ }
1396
+ export declare namespace GetResourcesRequest {
1397
+
1398
+ const filterSensitiveLog: (obj: GetResourcesRequest) => any;
1399
+ }
1400
+ export interface GetResourcesResponse {
1401
+
1402
+ Folders?: FolderMetadata[];
1403
+
1404
+ Documents?: DocumentMetadata[];
1405
+
1406
+ Marker?: string;
1407
+ }
1408
+ export declare namespace GetResourcesResponse {
1409
+
1410
+ const filterSensitiveLog: (obj: GetResourcesResponse) => any;
1411
+ }
1412
+
1413
+ export declare class DraftUploadOutOfSyncException extends __BaseException {
1414
+ readonly name: "DraftUploadOutOfSyncException";
1415
+ readonly $fault: "client";
1416
+ Message?: string;
1417
+
1418
+ constructor(opts: __ExceptionOptionType<DraftUploadOutOfSyncException, __BaseException>);
1419
+ }
1420
+ export interface InitiateDocumentVersionUploadRequest {
1421
+
1422
+ AuthenticationToken?: string;
1423
+
1424
+ Id?: string;
1425
+
1426
+ Name?: string;
1427
+
1428
+ ContentCreatedTimestamp?: Date;
1429
+
1430
+ ContentModifiedTimestamp?: Date;
1431
+
1432
+ ContentType?: string;
1433
+
1434
+ DocumentSizeInBytes?: number;
1435
+
1436
+ ParentFolderId: string | undefined;
1437
+ }
1438
+ export declare namespace InitiateDocumentVersionUploadRequest {
1439
+
1440
+ const filterSensitiveLog: (obj: InitiateDocumentVersionUploadRequest) => any;
1441
+ }
1442
+
1443
+ export interface UploadMetadata {
1444
+
1445
+ UploadUrl?: string;
1446
+
1447
+ SignedHeaders?: {
1448
+ [key: string]: string;
1449
+ };
1450
+ }
1451
+ export declare namespace UploadMetadata {
1452
+
1453
+ const filterSensitiveLog: (obj: UploadMetadata) => any;
1454
+ }
1455
+ export interface InitiateDocumentVersionUploadResponse {
1456
+
1457
+ Metadata?: DocumentMetadata;
1458
+
1459
+ UploadMetadata?: UploadMetadata;
1460
+ }
1461
+ export declare namespace InitiateDocumentVersionUploadResponse {
1462
+
1463
+ const filterSensitiveLog: (obj: InitiateDocumentVersionUploadResponse) => any;
1464
+ }
1465
+
1466
+ export declare class ResourceAlreadyCheckedOutException extends __BaseException {
1467
+ readonly name: "ResourceAlreadyCheckedOutException";
1468
+ readonly $fault: "client";
1469
+ Message?: string;
1470
+
1471
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyCheckedOutException, __BaseException>);
1472
+ }
1473
+
1474
+ export declare class StorageLimitExceededException extends __BaseException {
1475
+ readonly name: "StorageLimitExceededException";
1476
+ readonly $fault: "client";
1477
+ Message?: string;
1478
+
1479
+ constructor(opts: __ExceptionOptionType<StorageLimitExceededException, __BaseException>);
1480
+ }
1481
+
1482
+ export declare class StorageLimitWillExceedException extends __BaseException {
1483
+ readonly name: "StorageLimitWillExceedException";
1484
+ readonly $fault: "client";
1485
+ Message?: string;
1486
+
1487
+ constructor(opts: __ExceptionOptionType<StorageLimitWillExceedException, __BaseException>);
1488
+ }
1489
+ export interface RemoveAllResourcePermissionsRequest {
1490
+
1491
+ AuthenticationToken?: string;
1492
+
1493
+ ResourceId: string | undefined;
1494
+ }
1495
+ export declare namespace RemoveAllResourcePermissionsRequest {
1496
+
1497
+ const filterSensitiveLog: (obj: RemoveAllResourcePermissionsRequest) => any;
1498
+ }
1499
+ export interface RemoveResourcePermissionRequest {
1500
+
1501
+ AuthenticationToken?: string;
1502
+
1503
+ ResourceId: string | undefined;
1504
+
1505
+ PrincipalId: string | undefined;
1506
+
1507
+ PrincipalType?: PrincipalType | string;
1508
+ }
1509
+ export declare namespace RemoveResourcePermissionRequest {
1510
+
1511
+ const filterSensitiveLog: (obj: RemoveResourcePermissionRequest) => any;
1512
+ }
1513
+ export interface UpdateDocumentRequest {
1514
+
1515
+ AuthenticationToken?: string;
1516
+
1517
+ DocumentId: string | undefined;
1518
+
1519
+ Name?: string;
1520
+
1521
+ ParentFolderId?: string;
1522
+
1523
+ ResourceState?: ResourceStateType | string;
1524
+ }
1525
+ export declare namespace UpdateDocumentRequest {
1526
+
1527
+ const filterSensitiveLog: (obj: UpdateDocumentRequest) => any;
1528
+ }
1529
+
1530
+ export declare class InvalidOperationException extends __BaseException {
1531
+ readonly name: "InvalidOperationException";
1532
+ readonly $fault: "client";
1533
+ Message?: string;
1534
+
1535
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
1536
+ }
1537
+ export declare enum DocumentVersionStatus {
1538
+ ACTIVE = "ACTIVE"
1539
+ }
1540
+ export interface UpdateDocumentVersionRequest {
1541
+
1542
+ AuthenticationToken?: string;
1543
+
1544
+ DocumentId: string | undefined;
1545
+
1546
+ VersionId: string | undefined;
1547
+
1548
+ VersionStatus?: DocumentVersionStatus | string;
1549
+ }
1550
+ export declare namespace UpdateDocumentVersionRequest {
1551
+
1552
+ const filterSensitiveLog: (obj: UpdateDocumentVersionRequest) => any;
1553
+ }
1554
+ export interface UpdateFolderRequest {
1555
+
1556
+ AuthenticationToken?: string;
1557
+
1558
+ FolderId: string | undefined;
1559
+
1560
+ Name?: string;
1561
+
1562
+ ParentFolderId?: string;
1563
+
1564
+ ResourceState?: ResourceStateType | string;
1565
+ }
1566
+ export declare namespace UpdateFolderRequest {
1567
+
1568
+ const filterSensitiveLog: (obj: UpdateFolderRequest) => any;
1569
+ }
1570
+
1571
+ export declare class DeactivatingLastSystemUserException extends __BaseException {
1572
+ readonly name: "DeactivatingLastSystemUserException";
1573
+ readonly $fault: "client";
1574
+ Message?: string;
1575
+ Code?: string;
1576
+
1577
+ constructor(opts: __ExceptionOptionType<DeactivatingLastSystemUserException, __BaseException>);
1578
+ }
1579
+
1580
+ export declare class IllegalUserStateException extends __BaseException {
1581
+ readonly name: "IllegalUserStateException";
1582
+ readonly $fault: "client";
1583
+ Message?: string;
1584
+
1585
+ constructor(opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>);
1586
+ }
1587
+ export declare enum BooleanEnumType {
1588
+ FALSE = "FALSE",
1589
+ TRUE = "TRUE"
1590
+ }
1591
+ export interface UpdateUserRequest {
1592
+
1593
+ AuthenticationToken?: string;
1594
+
1595
+ UserId: string | undefined;
1596
+
1597
+ GivenName?: string;
1598
+
1599
+ Surname?: string;
1600
+
1601
+ Type?: UserType | string;
1602
+
1603
+ StorageRule?: StorageRuleType;
1604
+
1605
+ TimeZoneId?: string;
1606
+
1607
+ Locale?: LocaleType | string;
1608
+
1609
+ GrantPoweruserPrivileges?: BooleanEnumType | string;
1610
+ }
1611
+ export declare namespace UpdateUserRequest {
1612
+
1613
+ const filterSensitiveLog: (obj: UpdateUserRequest) => any;
1614
+ }
1615
+ export interface UpdateUserResponse {
1616
+
1617
+ User?: User;
1618
+ }
1619
+ export declare namespace UpdateUserResponse {
1620
+
1621
+ const filterSensitiveLog: (obj: UpdateUserResponse) => any;
1622
+ }