@aws-sdk/client-workdocs 3.934.0 → 3.936.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.
@@ -1,104 +1,50 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
1
+ import {
2
+ ActivityType,
3
+ AdditionalResponseFieldType,
4
+ BooleanEnumType,
5
+ CommentStatusType,
6
+ CommentVisibilityType,
7
+ ContentCategoryType,
8
+ DocumentSourceType,
9
+ DocumentStatusType,
10
+ DocumentThumbnailType,
11
+ DocumentVersionStatus,
12
+ FolderContentType,
13
+ LanguageCodeType,
14
+ LocaleType,
15
+ OrderByFieldType,
16
+ OrderType,
17
+ PrincipalRoleType,
18
+ PrincipalType,
19
+ ResourceCollectionType,
20
+ ResourceSortType,
21
+ ResourceStateType,
22
+ ResourceType,
23
+ ResponseItemType,
24
+ RolePermissionType,
25
+ RoleType,
26
+ SearchCollectionType,
27
+ SearchQueryScopeType,
28
+ SearchResourceType,
29
+ ShareStatusType,
30
+ SortOrder,
31
+ StorageType,
32
+ SubscriptionProtocolType,
33
+ SubscriptionType,
34
+ UserFilterType,
35
+ UserSortType,
36
+ UserStatusType,
37
+ UserType,
38
+ } from "./enums";
3
39
  export interface AbortDocumentVersionUploadRequest {
4
40
  AuthenticationToken?: string | undefined;
5
41
  DocumentId: string | undefined;
6
42
  VersionId: string | undefined;
7
43
  }
8
- export declare class ConcurrentModificationException extends __BaseException {
9
- readonly name: "ConcurrentModificationException";
10
- readonly $fault: "client";
11
- Message?: string | undefined;
12
- constructor(
13
- opts: __ExceptionOptionType<
14
- ConcurrentModificationException,
15
- __BaseException
16
- >
17
- );
18
- }
19
- export declare class EntityNotExistsException extends __BaseException {
20
- readonly name: "EntityNotExistsException";
21
- readonly $fault: "client";
22
- Message?: string | undefined;
23
- EntityIds?: string[] | undefined;
24
- constructor(
25
- opts: __ExceptionOptionType<EntityNotExistsException, __BaseException>
26
- );
27
- }
28
- export declare class FailedDependencyException extends __BaseException {
29
- readonly name: "FailedDependencyException";
30
- readonly $fault: "client";
31
- Message?: string | undefined;
32
- constructor(
33
- opts: __ExceptionOptionType<FailedDependencyException, __BaseException>
34
- );
35
- }
36
- export declare class ProhibitedStateException extends __BaseException {
37
- readonly name: "ProhibitedStateException";
38
- readonly $fault: "client";
39
- Message?: string | undefined;
40
- constructor(
41
- opts: __ExceptionOptionType<ProhibitedStateException, __BaseException>
42
- );
43
- }
44
- export declare class ServiceUnavailableException extends __BaseException {
45
- readonly name: "ServiceUnavailableException";
46
- readonly $fault: "server";
47
- Message?: string | undefined;
48
- constructor(
49
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
50
- );
51
- }
52
- export declare class UnauthorizedOperationException extends __BaseException {
53
- readonly name: "UnauthorizedOperationException";
54
- readonly $fault: "client";
55
- Message?: string | undefined;
56
- Code?: string | undefined;
57
- constructor(
58
- opts: __ExceptionOptionType<UnauthorizedOperationException, __BaseException>
59
- );
60
- }
61
- export declare class UnauthorizedResourceAccessException extends __BaseException {
62
- readonly name: "UnauthorizedResourceAccessException";
63
- readonly $fault: "client";
64
- Message?: string | undefined;
65
- constructor(
66
- opts: __ExceptionOptionType<
67
- UnauthorizedResourceAccessException,
68
- __BaseException
69
- >
70
- );
71
- }
72
44
  export interface ActivateUserRequest {
73
45
  UserId: string | undefined;
74
46
  AuthenticationToken?: string | undefined;
75
47
  }
76
- export declare const LocaleType: {
77
- readonly DE: "de";
78
- readonly DEFAULT: "default";
79
- readonly EN: "en";
80
- readonly ES: "es";
81
- readonly FR: "fr";
82
- readonly JA: "ja";
83
- readonly KO: "ko";
84
- readonly PT_BR: "pt_BR";
85
- readonly RU: "ru";
86
- readonly ZH_CN: "zh_CN";
87
- readonly ZH_TW: "zh_TW";
88
- };
89
- export type LocaleType = (typeof LocaleType)[keyof typeof LocaleType];
90
- export declare const UserStatusType: {
91
- readonly ACTIVE: "ACTIVE";
92
- readonly INACTIVE: "INACTIVE";
93
- readonly PENDING: "PENDING";
94
- };
95
- export type UserStatusType =
96
- (typeof UserStatusType)[keyof typeof UserStatusType];
97
- export declare const StorageType: {
98
- readonly QUOTA: "QUOTA";
99
- readonly UNLIMITED: "UNLIMITED";
100
- };
101
- export type StorageType = (typeof StorageType)[keyof typeof StorageType];
102
48
  export interface StorageRuleType {
103
49
  StorageAllocatedInBytes?: number | undefined;
104
50
  StorageType?: StorageType | undefined;
@@ -107,14 +53,6 @@ export interface UserStorageMetadata {
107
53
  StorageUtilizedInBytes?: number | undefined;
108
54
  StorageRule?: StorageRuleType | undefined;
109
55
  }
110
- export declare const UserType: {
111
- readonly ADMIN: "ADMIN";
112
- readonly MINIMALUSER: "MINIMALUSER";
113
- readonly POWERUSER: "POWERUSER";
114
- readonly USER: "USER";
115
- readonly WORKSPACESUSER: "WORKSPACESUSER";
116
- };
117
- export type UserType = (typeof UserType)[keyof typeof UserType];
118
56
  export interface User {
119
57
  Id?: string | undefined;
120
58
  Username?: string | undefined;
@@ -135,13 +73,6 @@ export interface User {
135
73
  export interface ActivateUserResponse {
136
74
  User?: User | undefined;
137
75
  }
138
- export declare const CommentStatusType: {
139
- readonly DELETED: "DELETED";
140
- readonly DRAFT: "DRAFT";
141
- readonly PUBLISHED: "PUBLISHED";
142
- };
143
- export type CommentStatusType =
144
- (typeof CommentStatusType)[keyof typeof CommentStatusType];
145
76
  export interface CommentMetadata {
146
77
  CommentId?: string | undefined;
147
78
  Contributor?: User | undefined;
@@ -157,11 +88,6 @@ export interface UserMetadata {
157
88
  Surname?: string | undefined;
158
89
  EmailAddress?: string | undefined;
159
90
  }
160
- export declare const ResourceType: {
161
- readonly DOCUMENT: "DOCUMENT";
162
- readonly FOLDER: "FOLDER";
163
- };
164
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
165
91
  export interface ResourceMetadata {
166
92
  Type?: ResourceType | undefined;
167
93
  Name?: string | undefined;
@@ -179,42 +105,6 @@ export interface Participants {
179
105
  Users?: UserMetadata[] | undefined;
180
106
  Groups?: GroupMetadata[] | undefined;
181
107
  }
182
- export declare const ActivityType: {
183
- readonly DOCUMENT_ANNOTATION_ADDED: "DOCUMENT_ANNOTATION_ADDED";
184
- readonly DOCUMENT_ANNOTATION_DELETED: "DOCUMENT_ANNOTATION_DELETED";
185
- readonly DOCUMENT_CHECKED_IN: "DOCUMENT_CHECKED_IN";
186
- readonly DOCUMENT_CHECKED_OUT: "DOCUMENT_CHECKED_OUT";
187
- readonly DOCUMENT_COMMENT_ADDED: "DOCUMENT_COMMENT_ADDED";
188
- readonly DOCUMENT_COMMENT_DELETED: "DOCUMENT_COMMENT_DELETED";
189
- readonly DOCUMENT_MOVED: "DOCUMENT_MOVED";
190
- readonly DOCUMENT_RECYCLED: "DOCUMENT_RECYCLED";
191
- readonly DOCUMENT_RENAMED: "DOCUMENT_RENAMED";
192
- readonly DOCUMENT_RESTORED: "DOCUMENT_RESTORED";
193
- readonly DOCUMENT_REVERTED: "DOCUMENT_REVERTED";
194
- readonly DOCUMENT_SHAREABLE_LINK_CREATED: "DOCUMENT_SHAREABLE_LINK_CREATED";
195
- readonly DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED: "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED";
196
- readonly DOCUMENT_SHAREABLE_LINK_REMOVED: "DOCUMENT_SHAREABLE_LINK_REMOVED";
197
- readonly DOCUMENT_SHARED: "DOCUMENT_SHARED";
198
- readonly DOCUMENT_SHARE_PERMISSION_CHANGED: "DOCUMENT_SHARE_PERMISSION_CHANGED";
199
- readonly DOCUMENT_UNSHARED: "DOCUMENT_UNSHARED";
200
- readonly DOCUMENT_VERSION_DELETED: "DOCUMENT_VERSION_DELETED";
201
- readonly DOCUMENT_VERSION_DOWNLOADED: "DOCUMENT_VERSION_DOWNLOADED";
202
- readonly DOCUMENT_VERSION_UPLOADED: "DOCUMENT_VERSION_UPLOADED";
203
- readonly DOCUMENT_VERSION_VIEWED: "DOCUMENT_VERSION_VIEWED";
204
- readonly FOLDER_CREATED: "FOLDER_CREATED";
205
- readonly FOLDER_DELETED: "FOLDER_DELETED";
206
- readonly FOLDER_MOVED: "FOLDER_MOVED";
207
- readonly FOLDER_RECYCLED: "FOLDER_RECYCLED";
208
- readonly FOLDER_RENAMED: "FOLDER_RENAMED";
209
- readonly FOLDER_RESTORED: "FOLDER_RESTORED";
210
- readonly FOLDER_SHAREABLE_LINK_CREATED: "FOLDER_SHAREABLE_LINK_CREATED";
211
- readonly FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED: "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED";
212
- readonly FOLDER_SHAREABLE_LINK_REMOVED: "FOLDER_SHAREABLE_LINK_REMOVED";
213
- readonly FOLDER_SHARED: "FOLDER_SHARED";
214
- readonly FOLDER_SHARE_PERMISSION_CHANGED: "FOLDER_SHARE_PERMISSION_CHANGED";
215
- readonly FOLDER_UNSHARED: "FOLDER_UNSHARED";
216
- };
217
- export type ActivityType = (typeof ActivityType)[keyof typeof ActivityType];
218
108
  export interface Activity {
219
109
  Type?: ActivityType | undefined;
220
110
  TimeStamp?: Date | undefined;
@@ -226,30 +116,10 @@ export interface Activity {
226
116
  OriginalParent?: ResourceMetadata | undefined;
227
117
  CommentMetadata?: CommentMetadata | undefined;
228
118
  }
229
- export declare const AdditionalResponseFieldType: {
230
- readonly WEBURL: "WEBURL";
231
- };
232
- export type AdditionalResponseFieldType =
233
- (typeof AdditionalResponseFieldType)[keyof typeof AdditionalResponseFieldType];
234
119
  export interface NotificationOptions {
235
120
  SendEmail?: boolean | undefined;
236
121
  EmailMessage?: string | undefined;
237
122
  }
238
- export declare const RoleType: {
239
- readonly CONTRIBUTOR: "CONTRIBUTOR";
240
- readonly COOWNER: "COOWNER";
241
- readonly OWNER: "OWNER";
242
- readonly VIEWER: "VIEWER";
243
- };
244
- export type RoleType = (typeof RoleType)[keyof typeof RoleType];
245
- export declare const PrincipalType: {
246
- readonly ANONYMOUS: "ANONYMOUS";
247
- readonly GROUP: "GROUP";
248
- readonly INVITE: "INVITE";
249
- readonly ORGANIZATION: "ORGANIZATION";
250
- readonly USER: "USER";
251
- };
252
- export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
253
123
  export interface SharePrincipal {
254
124
  Id: string | undefined;
255
125
  Type: PrincipalType | undefined;
@@ -261,12 +131,6 @@ export interface AddResourcePermissionsRequest {
261
131
  Principals: SharePrincipal[] | undefined;
262
132
  NotificationOptions?: NotificationOptions | undefined;
263
133
  }
264
- export declare const ShareStatusType: {
265
- readonly FAILURE: "FAILURE";
266
- readonly SUCCESS: "SUCCESS";
267
- };
268
- export type ShareStatusType =
269
- (typeof ShareStatusType)[keyof typeof ShareStatusType];
270
134
  export interface ShareResult {
271
135
  PrincipalId?: string | undefined;
272
136
  InviteePrincipalId?: string | undefined;
@@ -278,12 +142,6 @@ export interface ShareResult {
278
142
  export interface AddResourcePermissionsResponse {
279
143
  ShareResults?: ShareResult[] | undefined;
280
144
  }
281
- export declare const CommentVisibilityType: {
282
- readonly PRIVATE: "PRIVATE";
283
- readonly PUBLIC: "PUBLIC";
284
- };
285
- export type CommentVisibilityType =
286
- (typeof CommentVisibilityType)[keyof typeof CommentVisibilityType];
287
145
  export interface CreateCommentRequest {
288
146
  AuthenticationToken?: string | undefined;
289
147
  DocumentId: string | undefined;
@@ -308,28 +166,6 @@ export interface Comment {
308
166
  export interface CreateCommentResponse {
309
167
  Comment?: Comment | undefined;
310
168
  }
311
- export declare class DocumentLockedForCommentsException extends __BaseException {
312
- readonly name: "DocumentLockedForCommentsException";
313
- readonly $fault: "client";
314
- Message?: string | undefined;
315
- constructor(
316
- opts: __ExceptionOptionType<
317
- DocumentLockedForCommentsException,
318
- __BaseException
319
- >
320
- );
321
- }
322
- export declare class InvalidCommentOperationException extends __BaseException {
323
- readonly name: "InvalidCommentOperationException";
324
- readonly $fault: "client";
325
- Message?: string | undefined;
326
- constructor(
327
- opts: __ExceptionOptionType<
328
- InvalidCommentOperationException,
329
- __BaseException
330
- >
331
- );
332
- }
333
169
  export interface CreateCustomMetadataRequest {
334
170
  AuthenticationToken?: string | undefined;
335
171
  ResourceId: string | undefined;
@@ -337,38 +173,11 @@ export interface CreateCustomMetadataRequest {
337
173
  CustomMetadata: Record<string, string> | undefined;
338
174
  }
339
175
  export interface CreateCustomMetadataResponse {}
340
- export declare class CustomMetadataLimitExceededException extends __BaseException {
341
- readonly name: "CustomMetadataLimitExceededException";
342
- readonly $fault: "client";
343
- Message?: string | undefined;
344
- constructor(
345
- opts: __ExceptionOptionType<
346
- CustomMetadataLimitExceededException,
347
- __BaseException
348
- >
349
- );
350
- }
351
- export declare class ConflictingOperationException extends __BaseException {
352
- readonly name: "ConflictingOperationException";
353
- readonly $fault: "client";
354
- Message?: string | undefined;
355
- constructor(
356
- opts: __ExceptionOptionType<ConflictingOperationException, __BaseException>
357
- );
358
- }
359
176
  export interface CreateFolderRequest {
360
177
  AuthenticationToken?: string | undefined;
361
178
  Name?: string | undefined;
362
179
  ParentFolderId: string | undefined;
363
180
  }
364
- export declare const ResourceStateType: {
365
- readonly ACTIVE: "ACTIVE";
366
- readonly RECYCLED: "RECYCLED";
367
- readonly RECYCLING: "RECYCLING";
368
- readonly RESTORING: "RESTORING";
369
- };
370
- export type ResourceStateType =
371
- (typeof ResourceStateType)[keyof typeof ResourceStateType];
372
181
  export interface FolderMetadata {
373
182
  Id?: string | undefined;
374
183
  Name?: string | undefined;
@@ -385,47 +194,12 @@ export interface FolderMetadata {
385
194
  export interface CreateFolderResponse {
386
195
  Metadata?: FolderMetadata | undefined;
387
196
  }
388
- export declare class EntityAlreadyExistsException extends __BaseException {
389
- readonly name: "EntityAlreadyExistsException";
390
- readonly $fault: "client";
391
- Message?: string | undefined;
392
- constructor(
393
- opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>
394
- );
395
- }
396
- export declare class LimitExceededException extends __BaseException {
397
- readonly name: "LimitExceededException";
398
- readonly $fault: "client";
399
- Message?: string | undefined;
400
- constructor(
401
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
402
- );
403
- }
404
197
  export interface CreateLabelsRequest {
405
198
  ResourceId: string | undefined;
406
199
  Labels: string[] | undefined;
407
200
  AuthenticationToken?: string | undefined;
408
201
  }
409
202
  export interface CreateLabelsResponse {}
410
- export declare class TooManyLabelsException extends __BaseException {
411
- readonly name: "TooManyLabelsException";
412
- readonly $fault: "client";
413
- Message?: string | undefined;
414
- constructor(
415
- opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>
416
- );
417
- }
418
- export declare const SubscriptionProtocolType: {
419
- readonly HTTPS: "HTTPS";
420
- readonly SQS: "SQS";
421
- };
422
- export type SubscriptionProtocolType =
423
- (typeof SubscriptionProtocolType)[keyof typeof SubscriptionProtocolType];
424
- export declare const SubscriptionType: {
425
- readonly ALL: "ALL";
426
- };
427
- export type SubscriptionType =
428
- (typeof SubscriptionType)[keyof typeof SubscriptionType];
429
203
  export interface CreateNotificationSubscriptionRequest {
430
204
  OrganizationId: string | undefined;
431
205
  Endpoint: string | undefined;
@@ -440,22 +214,6 @@ export interface Subscription {
440
214
  export interface CreateNotificationSubscriptionResponse {
441
215
  Subscription?: Subscription | undefined;
442
216
  }
443
- export declare class InvalidArgumentException extends __BaseException {
444
- readonly name: "InvalidArgumentException";
445
- readonly $fault: "client";
446
- Message?: string | undefined;
447
- constructor(
448
- opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
449
- );
450
- }
451
- export declare class TooManySubscriptionsException extends __BaseException {
452
- readonly name: "TooManySubscriptionsException";
453
- readonly $fault: "client";
454
- Message?: string | undefined;
455
- constructor(
456
- opts: __ExceptionOptionType<TooManySubscriptionsException, __BaseException>
457
- );
458
- }
459
217
  export interface CreateUserRequest {
460
218
  OrganizationId?: string | undefined;
461
219
  Username: string | undefined;
@@ -498,14 +256,6 @@ export interface DeleteDocumentVersionRequest {
498
256
  VersionId: string | undefined;
499
257
  DeletePriorVersions: boolean | undefined;
500
258
  }
501
- export declare class InvalidOperationException extends __BaseException {
502
- readonly name: "InvalidOperationException";
503
- readonly $fault: "client";
504
- Message?: string | undefined;
505
- constructor(
506
- opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
507
- );
508
- }
509
259
  export interface DeleteFolderRequest {
510
260
  AuthenticationToken?: string | undefined;
511
261
  FolderId: string | undefined;
@@ -564,25 +314,6 @@ export interface DescribeDocumentVersionsRequest {
564
314
  Include?: string | undefined;
565
315
  Fields?: string | undefined;
566
316
  }
567
- export declare const DocumentSourceType: {
568
- readonly ORIGINAL: "ORIGINAL";
569
- readonly WITH_COMMENTS: "WITH_COMMENTS";
570
- };
571
- export type DocumentSourceType =
572
- (typeof DocumentSourceType)[keyof typeof DocumentSourceType];
573
- export declare const DocumentStatusType: {
574
- readonly ACTIVE: "ACTIVE";
575
- readonly INITIALIZED: "INITIALIZED";
576
- };
577
- export type DocumentStatusType =
578
- (typeof DocumentStatusType)[keyof typeof DocumentStatusType];
579
- export declare const DocumentThumbnailType: {
580
- readonly LARGE: "LARGE";
581
- readonly SMALL: "SMALL";
582
- readonly SMALL_HQ: "SMALL_HQ";
583
- };
584
- export type DocumentThumbnailType =
585
- (typeof DocumentThumbnailType)[keyof typeof DocumentThumbnailType];
586
317
  export interface DocumentVersionMetadata {
587
318
  Id?: string | undefined;
588
319
  Name?: string | undefined;
@@ -602,32 +333,6 @@ export interface DescribeDocumentVersionsResponse {
602
333
  DocumentVersions?: DocumentVersionMetadata[] | undefined;
603
334
  Marker?: string | undefined;
604
335
  }
605
- export declare class InvalidPasswordException extends __BaseException {
606
- readonly name: "InvalidPasswordException";
607
- readonly $fault: "client";
608
- Message?: string | undefined;
609
- constructor(
610
- opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>
611
- );
612
- }
613
- export declare const OrderType: {
614
- readonly ASCENDING: "ASCENDING";
615
- readonly DESCENDING: "DESCENDING";
616
- };
617
- export type OrderType = (typeof OrderType)[keyof typeof OrderType];
618
- export declare const ResourceSortType: {
619
- readonly DATE: "DATE";
620
- readonly NAME: "NAME";
621
- };
622
- export type ResourceSortType =
623
- (typeof ResourceSortType)[keyof typeof ResourceSortType];
624
- export declare const FolderContentType: {
625
- readonly ALL: "ALL";
626
- readonly DOCUMENT: "DOCUMENT";
627
- readonly FOLDER: "FOLDER";
628
- };
629
- export type FolderContentType =
630
- (typeof FolderContentType)[keyof typeof FolderContentType];
631
336
  export interface DescribeFolderContentsRequest {
632
337
  AuthenticationToken?: string | undefined;
633
338
  FolderId: string | undefined;
@@ -680,12 +385,6 @@ export interface DescribeResourcePermissionsRequest {
680
385
  Limit?: number | undefined;
681
386
  Marker?: string | undefined;
682
387
  }
683
- export declare const RolePermissionType: {
684
- readonly DIRECT: "DIRECT";
685
- readonly INHERITED: "INHERITED";
686
- };
687
- export type RolePermissionType =
688
- (typeof RolePermissionType)[keyof typeof RolePermissionType];
689
388
  export interface PermissionInfo {
690
389
  Role?: RoleType | undefined;
691
390
  Type?: RolePermissionType | undefined;
@@ -708,20 +407,6 @@ export interface DescribeRootFoldersResponse {
708
407
  Folders?: FolderMetadata[] | undefined;
709
408
  Marker?: string | undefined;
710
409
  }
711
- export declare const UserFilterType: {
712
- readonly ACTIVE_PENDING: "ACTIVE_PENDING";
713
- readonly ALL: "ALL";
714
- };
715
- export type UserFilterType =
716
- (typeof UserFilterType)[keyof typeof UserFilterType];
717
- export declare const UserSortType: {
718
- readonly FULL_NAME: "FULL_NAME";
719
- readonly STORAGE_LIMIT: "STORAGE_LIMIT";
720
- readonly STORAGE_USED: "STORAGE_USED";
721
- readonly USER_NAME: "USER_NAME";
722
- readonly USER_STATUS: "USER_STATUS";
723
- };
724
- export type UserSortType = (typeof UserSortType)[keyof typeof UserSortType];
725
410
  export interface DescribeUsersRequest {
726
411
  AuthenticationToken?: string | undefined;
727
412
  OrganizationId?: string | undefined;
@@ -739,17 +424,6 @@ export interface DescribeUsersResponse {
739
424
  TotalNumberOfUsers?: number | undefined;
740
425
  Marker?: string | undefined;
741
426
  }
742
- export declare class RequestedEntityTooLargeException extends __BaseException {
743
- readonly name: "RequestedEntityTooLargeException";
744
- readonly $fault: "client";
745
- Message?: string | undefined;
746
- constructor(
747
- opts: __ExceptionOptionType<
748
- RequestedEntityTooLargeException,
749
- __BaseException
750
- >
751
- );
752
- }
753
427
  export interface GetCurrentUserRequest {
754
428
  AuthenticationToken: string | undefined;
755
429
  }
@@ -812,11 +486,6 @@ export interface GetFolderPathRequest {
812
486
  export interface GetFolderPathResponse {
813
487
  Path?: ResourcePath | undefined;
814
488
  }
815
- export declare const ResourceCollectionType: {
816
- readonly SHARED_WITH_ME: "SHARED_WITH_ME";
817
- };
818
- export type ResourceCollectionType =
819
- (typeof ResourceCollectionType)[keyof typeof ResourceCollectionType];
820
489
  export interface GetResourcesRequest {
821
490
  AuthenticationToken?: string | undefined;
822
491
  UserId?: string | undefined;
@@ -829,14 +498,6 @@ export interface GetResourcesResponse {
829
498
  Documents?: DocumentMetadata[] | undefined;
830
499
  Marker?: string | undefined;
831
500
  }
832
- export declare class DraftUploadOutOfSyncException extends __BaseException {
833
- readonly name: "DraftUploadOutOfSyncException";
834
- readonly $fault: "client";
835
- Message?: string | undefined;
836
- constructor(
837
- opts: __ExceptionOptionType<DraftUploadOutOfSyncException, __BaseException>
838
- );
839
- }
840
501
  export interface InitiateDocumentVersionUploadRequest {
841
502
  AuthenticationToken?: string | undefined;
842
503
  Id?: string | undefined;
@@ -855,36 +516,6 @@ export interface InitiateDocumentVersionUploadResponse {
855
516
  Metadata?: DocumentMetadata | undefined;
856
517
  UploadMetadata?: UploadMetadata | undefined;
857
518
  }
858
- export declare class ResourceAlreadyCheckedOutException extends __BaseException {
859
- readonly name: "ResourceAlreadyCheckedOutException";
860
- readonly $fault: "client";
861
- Message?: string | undefined;
862
- constructor(
863
- opts: __ExceptionOptionType<
864
- ResourceAlreadyCheckedOutException,
865
- __BaseException
866
- >
867
- );
868
- }
869
- export declare class StorageLimitExceededException extends __BaseException {
870
- readonly name: "StorageLimitExceededException";
871
- readonly $fault: "client";
872
- Message?: string | undefined;
873
- constructor(
874
- opts: __ExceptionOptionType<StorageLimitExceededException, __BaseException>
875
- );
876
- }
877
- export declare class StorageLimitWillExceedException extends __BaseException {
878
- readonly name: "StorageLimitWillExceedException";
879
- readonly $fault: "client";
880
- Message?: string | undefined;
881
- constructor(
882
- opts: __ExceptionOptionType<
883
- StorageLimitWillExceedException,
884
- __BaseException
885
- >
886
- );
887
- }
888
519
  export interface RemoveAllResourcePermissionsRequest {
889
520
  AuthenticationToken?: string | undefined;
890
521
  ResourceId: string | undefined;
@@ -899,88 +530,18 @@ export interface RestoreDocumentVersionsRequest {
899
530
  AuthenticationToken?: string | undefined;
900
531
  DocumentId: string | undefined;
901
532
  }
902
- export declare const ContentCategoryType: {
903
- readonly AUDIO: "AUDIO";
904
- readonly DOCUMENT: "DOCUMENT";
905
- readonly IMAGE: "IMAGE";
906
- readonly OTHER: "OTHER";
907
- readonly PDF: "PDF";
908
- readonly PRESENTATION: "PRESENTATION";
909
- readonly SOURCE_CODE: "SOURCE_CODE";
910
- readonly SPREADSHEET: "SPREADSHEET";
911
- readonly VIDEO: "VIDEO";
912
- };
913
- export type ContentCategoryType =
914
- (typeof ContentCategoryType)[keyof typeof ContentCategoryType];
915
533
  export interface DateRangeType {
916
534
  StartValue?: Date | undefined;
917
535
  EndValue?: Date | undefined;
918
536
  }
919
- export declare const PrincipalRoleType: {
920
- readonly CONTRIBUTOR: "CONTRIBUTOR";
921
- readonly COOWNER: "COOWNER";
922
- readonly OWNER: "OWNER";
923
- readonly VIEWER: "VIEWER";
924
- };
925
- export type PrincipalRoleType =
926
- (typeof PrincipalRoleType)[keyof typeof PrincipalRoleType];
927
537
  export interface SearchPrincipalType {
928
538
  Id: string | undefined;
929
539
  Roles?: PrincipalRoleType[] | undefined;
930
540
  }
931
- export declare const SearchResourceType: {
932
- readonly COMMENT: "COMMENT";
933
- readonly DOCUMENT: "DOCUMENT";
934
- readonly DOCUMENT_VERSION: "DOCUMENT_VERSION";
935
- readonly FOLDER: "FOLDER";
936
- };
937
- export type SearchResourceType =
938
- (typeof SearchResourceType)[keyof typeof SearchResourceType];
939
- export declare const SearchCollectionType: {
940
- readonly OWNED: "OWNED";
941
- readonly SHARED_WITH_ME: "SHARED_WITH_ME";
942
- };
943
- export type SearchCollectionType =
944
- (typeof SearchCollectionType)[keyof typeof SearchCollectionType];
945
541
  export interface LongRangeType {
946
542
  StartValue?: number | undefined;
947
543
  EndValue?: number | undefined;
948
544
  }
949
- export declare const LanguageCodeType: {
950
- readonly AR: "AR";
951
- readonly BG: "BG";
952
- readonly BN: "BN";
953
- readonly CS: "CS";
954
- readonly DA: "DA";
955
- readonly DE: "DE";
956
- readonly DEFAULT: "DEFAULT";
957
- readonly EL: "EL";
958
- readonly EN: "EN";
959
- readonly ES: "ES";
960
- readonly FA: "FA";
961
- readonly FI: "FI";
962
- readonly FR: "FR";
963
- readonly HI: "HI";
964
- readonly HU: "HU";
965
- readonly ID: "ID";
966
- readonly IT: "IT";
967
- readonly JA: "JA";
968
- readonly KO: "KO";
969
- readonly LT: "LT";
970
- readonly LV: "LV";
971
- readonly NL: "NL";
972
- readonly NO: "NO";
973
- readonly PT: "PT";
974
- readonly RO: "RO";
975
- readonly RU: "RU";
976
- readonly SV: "SV";
977
- readonly SW: "SW";
978
- readonly TH: "TH";
979
- readonly TR: "TR";
980
- readonly ZH: "ZH";
981
- };
982
- export type LanguageCodeType =
983
- (typeof LanguageCodeType)[keyof typeof LanguageCodeType];
984
545
  export interface Filters {
985
546
  TextLocales?: LanguageCodeType[] | undefined;
986
547
  ContentCategories?: ContentCategoryType[] | undefined;
@@ -993,30 +554,10 @@ export interface Filters {
993
554
  CreatedRange?: DateRangeType | undefined;
994
555
  ModifiedRange?: DateRangeType | undefined;
995
556
  }
996
- export declare const OrderByFieldType: {
997
- readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
998
- readonly MODIFIED_TIMESTAMP: "MODIFIED_TIMESTAMP";
999
- readonly NAME: "NAME";
1000
- readonly RELEVANCE: "RELEVANCE";
1001
- readonly SIZE: "SIZE";
1002
- };
1003
- export type OrderByFieldType =
1004
- (typeof OrderByFieldType)[keyof typeof OrderByFieldType];
1005
- export declare const SortOrder: {
1006
- readonly ASC: "ASC";
1007
- readonly DESC: "DESC";
1008
- };
1009
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1010
557
  export interface SearchSortResult {
1011
558
  Field?: OrderByFieldType | undefined;
1012
559
  Order?: SortOrder | undefined;
1013
560
  }
1014
- export declare const SearchQueryScopeType: {
1015
- readonly CONTENT: "CONTENT";
1016
- readonly NAME: "NAME";
1017
- };
1018
- export type SearchQueryScopeType =
1019
- (typeof SearchQueryScopeType)[keyof typeof SearchQueryScopeType];
1020
561
  export interface SearchResourcesRequest {
1021
562
  AuthenticationToken?: string | undefined;
1022
563
  QueryText?: string | undefined;
@@ -1028,14 +569,6 @@ export interface SearchResourcesRequest {
1028
569
  Limit?: number | undefined;
1029
570
  Marker?: string | undefined;
1030
571
  }
1031
- export declare const ResponseItemType: {
1032
- readonly COMMENT: "COMMENT";
1033
- readonly DOCUMENT: "DOCUMENT";
1034
- readonly DOCUMENT_VERSION: "DOCUMENT_VERSION";
1035
- readonly FOLDER: "FOLDER";
1036
- };
1037
- export type ResponseItemType =
1038
- (typeof ResponseItemType)[keyof typeof ResponseItemType];
1039
572
  export interface ResponseItem {
1040
573
  ResourceType?: ResponseItemType | undefined;
1041
574
  WebUrl?: string | undefined;
@@ -1055,11 +588,6 @@ export interface UpdateDocumentRequest {
1055
588
  ParentFolderId?: string | undefined;
1056
589
  ResourceState?: ResourceStateType | undefined;
1057
590
  }
1058
- export declare const DocumentVersionStatus: {
1059
- readonly ACTIVE: "ACTIVE";
1060
- };
1061
- export type DocumentVersionStatus =
1062
- (typeof DocumentVersionStatus)[keyof typeof DocumentVersionStatus];
1063
591
  export interface UpdateDocumentVersionRequest {
1064
592
  AuthenticationToken?: string | undefined;
1065
593
  DocumentId: string | undefined;
@@ -1073,32 +601,6 @@ export interface UpdateFolderRequest {
1073
601
  ParentFolderId?: string | undefined;
1074
602
  ResourceState?: ResourceStateType | undefined;
1075
603
  }
1076
- export declare class DeactivatingLastSystemUserException extends __BaseException {
1077
- readonly name: "DeactivatingLastSystemUserException";
1078
- readonly $fault: "client";
1079
- Message?: string | undefined;
1080
- Code?: string | undefined;
1081
- constructor(
1082
- opts: __ExceptionOptionType<
1083
- DeactivatingLastSystemUserException,
1084
- __BaseException
1085
- >
1086
- );
1087
- }
1088
- export declare class IllegalUserStateException extends __BaseException {
1089
- readonly name: "IllegalUserStateException";
1090
- readonly $fault: "client";
1091
- Message?: string | undefined;
1092
- constructor(
1093
- opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>
1094
- );
1095
- }
1096
- export declare const BooleanEnumType: {
1097
- readonly FALSE: "FALSE";
1098
- readonly TRUE: "TRUE";
1099
- };
1100
- export type BooleanEnumType =
1101
- (typeof BooleanEnumType)[keyof typeof BooleanEnumType];
1102
604
  export interface UpdateUserRequest {
1103
605
  AuthenticationToken?: string | undefined;
1104
606
  UserId: string | undefined;