@aws-sdk/client-workdocs 3.301.0 → 3.303.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.
@@ -73,28 +73,32 @@ export interface ActivateUserRequest {
73
73
  UserId: string | undefined;
74
74
  AuthenticationToken?: string;
75
75
  }
76
- export declare enum LocaleType {
77
- DE = "de",
78
- DEFAULT = "default",
79
- EN = "en",
80
- ES = "es",
81
- FR = "fr",
82
- JA = "ja",
83
- KO = "ko",
84
- PT_BR = "pt_BR",
85
- RU = "ru",
86
- ZH_CN = "zh_CN",
87
- ZH_TW = "zh_TW",
88
- }
89
- export declare enum UserStatusType {
90
- ACTIVE = "ACTIVE",
91
- INACTIVE = "INACTIVE",
92
- PENDING = "PENDING",
93
- }
94
- export declare enum StorageType {
95
- QUOTA = "QUOTA",
96
- UNLIMITED = "UNLIMITED",
97
- }
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];
98
102
  export interface StorageRuleType {
99
103
  StorageAllocatedInBytes?: number;
100
104
  StorageType?: StorageType | string;
@@ -103,13 +107,14 @@ export interface UserStorageMetadata {
103
107
  StorageUtilizedInBytes?: number;
104
108
  StorageRule?: StorageRuleType;
105
109
  }
106
- export declare enum UserType {
107
- ADMIN = "ADMIN",
108
- MINIMALUSER = "MINIMALUSER",
109
- POWERUSER = "POWERUSER",
110
- USER = "USER",
111
- WORKSPACESUSER = "WORKSPACESUSER",
112
- }
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];
113
118
  export interface User {
114
119
  Id?: string;
115
120
  Username?: string;
@@ -130,11 +135,13 @@ export interface User {
130
135
  export interface ActivateUserResponse {
131
136
  User?: User;
132
137
  }
133
- export declare enum CommentStatusType {
134
- DELETED = "DELETED",
135
- DRAFT = "DRAFT",
136
- PUBLISHED = "PUBLISHED",
137
- }
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];
138
145
  export interface CommentMetadata {
139
146
  CommentId?: string;
140
147
  Contributor?: User;
@@ -150,10 +157,11 @@ export interface UserMetadata {
150
157
  Surname?: string;
151
158
  EmailAddress?: string;
152
159
  }
153
- export declare enum ResourceType {
154
- DOCUMENT = "DOCUMENT",
155
- FOLDER = "FOLDER",
156
- }
160
+ export declare const ResourceType: {
161
+ readonly DOCUMENT: "DOCUMENT";
162
+ readonly FOLDER: "FOLDER";
163
+ };
164
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
157
165
  export interface ResourceMetadata {
158
166
  Type?: ResourceType | string;
159
167
  Name?: string;
@@ -171,41 +179,42 @@ export interface Participants {
171
179
  Users?: UserMetadata[];
172
180
  Groups?: GroupMetadata[];
173
181
  }
174
- export declare enum ActivityType {
175
- DOCUMENT_ANNOTATION_ADDED = "DOCUMENT_ANNOTATION_ADDED",
176
- DOCUMENT_ANNOTATION_DELETED = "DOCUMENT_ANNOTATION_DELETED",
177
- DOCUMENT_CHECKED_IN = "DOCUMENT_CHECKED_IN",
178
- DOCUMENT_CHECKED_OUT = "DOCUMENT_CHECKED_OUT",
179
- DOCUMENT_COMMENT_ADDED = "DOCUMENT_COMMENT_ADDED",
180
- DOCUMENT_COMMENT_DELETED = "DOCUMENT_COMMENT_DELETED",
181
- DOCUMENT_MOVED = "DOCUMENT_MOVED",
182
- DOCUMENT_RECYCLED = "DOCUMENT_RECYCLED",
183
- DOCUMENT_RENAMED = "DOCUMENT_RENAMED",
184
- DOCUMENT_RESTORED = "DOCUMENT_RESTORED",
185
- DOCUMENT_REVERTED = "DOCUMENT_REVERTED",
186
- DOCUMENT_SHAREABLE_LINK_CREATED = "DOCUMENT_SHAREABLE_LINK_CREATED",
187
- DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED = "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
188
- DOCUMENT_SHAREABLE_LINK_REMOVED = "DOCUMENT_SHAREABLE_LINK_REMOVED",
189
- DOCUMENT_SHARED = "DOCUMENT_SHARED",
190
- DOCUMENT_SHARE_PERMISSION_CHANGED = "DOCUMENT_SHARE_PERMISSION_CHANGED",
191
- DOCUMENT_UNSHARED = "DOCUMENT_UNSHARED",
192
- DOCUMENT_VERSION_DELETED = "DOCUMENT_VERSION_DELETED",
193
- DOCUMENT_VERSION_DOWNLOADED = "DOCUMENT_VERSION_DOWNLOADED",
194
- DOCUMENT_VERSION_UPLOADED = "DOCUMENT_VERSION_UPLOADED",
195
- DOCUMENT_VERSION_VIEWED = "DOCUMENT_VERSION_VIEWED",
196
- FOLDER_CREATED = "FOLDER_CREATED",
197
- FOLDER_DELETED = "FOLDER_DELETED",
198
- FOLDER_MOVED = "FOLDER_MOVED",
199
- FOLDER_RECYCLED = "FOLDER_RECYCLED",
200
- FOLDER_RENAMED = "FOLDER_RENAMED",
201
- FOLDER_RESTORED = "FOLDER_RESTORED",
202
- FOLDER_SHAREABLE_LINK_CREATED = "FOLDER_SHAREABLE_LINK_CREATED",
203
- FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED = "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
204
- FOLDER_SHAREABLE_LINK_REMOVED = "FOLDER_SHAREABLE_LINK_REMOVED",
205
- FOLDER_SHARED = "FOLDER_SHARED",
206
- FOLDER_SHARE_PERMISSION_CHANGED = "FOLDER_SHARE_PERMISSION_CHANGED",
207
- FOLDER_UNSHARED = "FOLDER_UNSHARED",
208
- }
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];
209
218
  export interface Activity {
210
219
  Type?: ActivityType | string;
211
220
  TimeStamp?: Date;
@@ -217,26 +226,30 @@ export interface Activity {
217
226
  OriginalParent?: ResourceMetadata;
218
227
  CommentMetadata?: CommentMetadata;
219
228
  }
220
- export declare enum AdditionalResponseFieldType {
221
- WEBURL = "WEBURL",
222
- }
229
+ export declare const AdditionalResponseFieldType: {
230
+ readonly WEBURL: "WEBURL";
231
+ };
232
+ export type AdditionalResponseFieldType =
233
+ (typeof AdditionalResponseFieldType)[keyof typeof AdditionalResponseFieldType];
223
234
  export interface NotificationOptions {
224
235
  SendEmail?: boolean;
225
236
  EmailMessage?: string;
226
237
  }
227
- export declare enum RoleType {
228
- CONTRIBUTOR = "CONTRIBUTOR",
229
- COOWNER = "COOWNER",
230
- OWNER = "OWNER",
231
- VIEWER = "VIEWER",
232
- }
233
- export declare enum PrincipalType {
234
- ANONYMOUS = "ANONYMOUS",
235
- GROUP = "GROUP",
236
- INVITE = "INVITE",
237
- ORGANIZATION = "ORGANIZATION",
238
- USER = "USER",
239
- }
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];
240
253
  export interface SharePrincipal {
241
254
  Id: string | undefined;
242
255
  Type: PrincipalType | string | undefined;
@@ -248,10 +261,12 @@ export interface AddResourcePermissionsRequest {
248
261
  Principals: SharePrincipal[] | undefined;
249
262
  NotificationOptions?: NotificationOptions;
250
263
  }
251
- export declare enum ShareStatusType {
252
- FAILURE = "FAILURE",
253
- SUCCESS = "SUCCESS",
254
- }
264
+ export declare const ShareStatusType: {
265
+ readonly FAILURE: "FAILURE";
266
+ readonly SUCCESS: "SUCCESS";
267
+ };
268
+ export type ShareStatusType =
269
+ (typeof ShareStatusType)[keyof typeof ShareStatusType];
255
270
  export interface ShareResult {
256
271
  PrincipalId?: string;
257
272
  InviteePrincipalId?: string;
@@ -263,10 +278,12 @@ export interface ShareResult {
263
278
  export interface AddResourcePermissionsResponse {
264
279
  ShareResults?: ShareResult[];
265
280
  }
266
- export declare enum CommentVisibilityType {
267
- PRIVATE = "PRIVATE",
268
- PUBLIC = "PUBLIC",
269
- }
281
+ export declare const CommentVisibilityType: {
282
+ readonly PRIVATE: "PRIVATE";
283
+ readonly PUBLIC: "PUBLIC";
284
+ };
285
+ export type CommentVisibilityType =
286
+ (typeof CommentVisibilityType)[keyof typeof CommentVisibilityType];
270
287
  export interface CreateCommentRequest {
271
288
  AuthenticationToken?: string;
272
289
  DocumentId: string | undefined;
@@ -344,12 +361,14 @@ export interface CreateFolderRequest {
344
361
  Name?: string;
345
362
  ParentFolderId: string | undefined;
346
363
  }
347
- export declare enum ResourceStateType {
348
- ACTIVE = "ACTIVE",
349
- RECYCLED = "RECYCLED",
350
- RECYCLING = "RECYCLING",
351
- RESTORING = "RESTORING",
352
- }
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];
353
372
  export interface FolderMetadata {
354
373
  Id?: string;
355
374
  Name?: string;
@@ -396,13 +415,17 @@ export declare class TooManyLabelsException extends __BaseException {
396
415
  opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>
397
416
  );
398
417
  }
399
- export declare enum SubscriptionProtocolType {
400
- HTTPS = "HTTPS",
401
- SQS = "SQS",
402
- }
403
- export declare enum SubscriptionType {
404
- ALL = "ALL",
405
- }
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];
406
429
  export interface CreateNotificationSubscriptionRequest {
407
430
  OrganizationId: string | undefined;
408
431
  Endpoint: string | undefined;
@@ -541,19 +564,25 @@ export interface DescribeDocumentVersionsRequest {
541
564
  Include?: string;
542
565
  Fields?: string;
543
566
  }
544
- export declare enum DocumentSourceType {
545
- ORIGINAL = "ORIGINAL",
546
- WITH_COMMENTS = "WITH_COMMENTS",
547
- }
548
- export declare enum DocumentStatusType {
549
- ACTIVE = "ACTIVE",
550
- INITIALIZED = "INITIALIZED",
551
- }
552
- export declare enum DocumentThumbnailType {
553
- LARGE = "LARGE",
554
- SMALL = "SMALL",
555
- SMALL_HQ = "SMALL_HQ",
556
- }
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];
557
586
  export interface DocumentVersionMetadata {
558
587
  Id?: string;
559
588
  Name?: string;
@@ -581,19 +610,24 @@ export declare class InvalidPasswordException extends __BaseException {
581
610
  opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>
582
611
  );
583
612
  }
584
- export declare enum OrderType {
585
- ASCENDING = "ASCENDING",
586
- DESCENDING = "DESCENDING",
587
- }
588
- export declare enum ResourceSortType {
589
- DATE = "DATE",
590
- NAME = "NAME",
591
- }
592
- export declare enum FolderContentType {
593
- ALL = "ALL",
594
- DOCUMENT = "DOCUMENT",
595
- FOLDER = "FOLDER",
596
- }
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];
597
631
  export interface DescribeFolderContentsRequest {
598
632
  AuthenticationToken?: string;
599
633
  FolderId: string | undefined;
@@ -646,10 +680,12 @@ export interface DescribeResourcePermissionsRequest {
646
680
  Limit?: number;
647
681
  Marker?: string;
648
682
  }
649
- export declare enum RolePermissionType {
650
- DIRECT = "DIRECT",
651
- INHERITED = "INHERITED",
652
- }
683
+ export declare const RolePermissionType: {
684
+ readonly DIRECT: "DIRECT";
685
+ readonly INHERITED: "INHERITED";
686
+ };
687
+ export type RolePermissionType =
688
+ (typeof RolePermissionType)[keyof typeof RolePermissionType];
653
689
  export interface PermissionInfo {
654
690
  Role?: RoleType | string;
655
691
  Type?: RolePermissionType | string;
@@ -672,17 +708,20 @@ export interface DescribeRootFoldersResponse {
672
708
  Folders?: FolderMetadata[];
673
709
  Marker?: string;
674
710
  }
675
- export declare enum UserFilterType {
676
- ACTIVE_PENDING = "ACTIVE_PENDING",
677
- ALL = "ALL",
678
- }
679
- export declare enum UserSortType {
680
- FULL_NAME = "FULL_NAME",
681
- STORAGE_LIMIT = "STORAGE_LIMIT",
682
- STORAGE_USED = "STORAGE_USED",
683
- USER_NAME = "USER_NAME",
684
- USER_STATUS = "USER_STATUS",
685
- }
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];
686
725
  export interface DescribeUsersRequest {
687
726
  AuthenticationToken?: string;
688
727
  OrganizationId?: string;
@@ -773,9 +812,11 @@ export interface GetFolderPathRequest {
773
812
  export interface GetFolderPathResponse {
774
813
  Path?: ResourcePath;
775
814
  }
776
- export declare enum ResourceCollectionType {
777
- SHARED_WITH_ME = "SHARED_WITH_ME",
778
- }
815
+ export declare const ResourceCollectionType: {
816
+ readonly SHARED_WITH_ME: "SHARED_WITH_ME";
817
+ };
818
+ export type ResourceCollectionType =
819
+ (typeof ResourceCollectionType)[keyof typeof ResourceCollectionType];
779
820
  export interface GetResourcesRequest {
780
821
  AuthenticationToken?: string;
781
822
  UserId?: string;
@@ -858,78 +899,88 @@ export interface RestoreDocumentVersionsRequest {
858
899
  AuthenticationToken?: string;
859
900
  DocumentId: string | undefined;
860
901
  }
861
- export declare enum ContentCategoryType {
862
- AUDIO = "AUDIO",
863
- DOCUMENT = "DOCUMENT",
864
- IMAGE = "IMAGE",
865
- OTHER = "OTHER",
866
- PDF = "PDF",
867
- PRESENTATION = "PRESENTATION",
868
- SOURCE_CODE = "SOURCE_CODE",
869
- SPREADSHEET = "SPREADSHEET",
870
- VIDEO = "VIDEO",
871
- }
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];
872
915
  export interface DateRangeType {
873
916
  StartValue?: Date;
874
917
  EndValue?: Date;
875
918
  }
876
- export declare enum PrincipalRoleType {
877
- CONTRIBUTOR = "CONTRIBUTOR",
878
- COOWNER = "COOWNER",
879
- OWNER = "OWNER",
880
- VIEWER = "VIEWER",
881
- }
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];
882
927
  export interface SearchPrincipalType {
883
928
  Id: string | undefined;
884
929
  Roles?: (PrincipalRoleType | string)[];
885
930
  }
886
- export declare enum SearchResourceType {
887
- COMMENT = "COMMENT",
888
- DOCUMENT = "DOCUMENT",
889
- DOCUMENT_VERSION = "DOCUMENT_VERSION",
890
- FOLDER = "FOLDER",
891
- }
892
- export declare enum SearchCollectionType {
893
- OWNED = "OWNED",
894
- SHARED_WITH_ME = "SHARED_WITH_ME",
895
- }
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];
896
945
  export interface LongRangeType {
897
946
  StartValue?: number;
898
947
  EndValue?: number;
899
948
  }
900
- export declare enum LanguageCodeType {
901
- AR = "AR",
902
- BG = "BG",
903
- BN = "BN",
904
- CS = "CS",
905
- DA = "DA",
906
- DE = "DE",
907
- DEFAULT = "DEFAULT",
908
- EL = "EL",
909
- EN = "EN",
910
- ES = "ES",
911
- FA = "FA",
912
- FI = "FI",
913
- FR = "FR",
914
- HI = "HI",
915
- HU = "HU",
916
- ID = "ID",
917
- IT = "IT",
918
- JA = "JA",
919
- KO = "KO",
920
- LT = "LT",
921
- LV = "LV",
922
- NL = "NL",
923
- NO = "NO",
924
- PT = "PT",
925
- RO = "RO",
926
- RU = "RU",
927
- SV = "SV",
928
- SW = "SW",
929
- TH = "TH",
930
- TR = "TR",
931
- ZH = "ZH",
932
- }
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];
933
984
  export interface Filters {
934
985
  TextLocales?: (LanguageCodeType | string)[];
935
986
  ContentCategories?: (ContentCategoryType | string)[];
@@ -942,25 +993,30 @@ export interface Filters {
942
993
  CreatedRange?: DateRangeType;
943
994
  ModifiedRange?: DateRangeType;
944
995
  }
945
- export declare enum OrderByFieldType {
946
- CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
947
- MODIFIED_TIMESTAMP = "MODIFIED_TIMESTAMP",
948
- NAME = "NAME",
949
- RELEVANCE = "RELEVANCE",
950
- SIZE = "SIZE",
951
- }
952
- export declare enum SortOrder {
953
- ASC = "ASC",
954
- DESC = "DESC",
955
- }
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];
956
1010
  export interface SearchSortResult {
957
1011
  Field?: OrderByFieldType | string;
958
1012
  Order?: SortOrder | string;
959
1013
  }
960
- export declare enum SearchQueryScopeType {
961
- CONTENT = "CONTENT",
962
- NAME = "NAME",
963
- }
1014
+ export declare const SearchQueryScopeType: {
1015
+ readonly CONTENT: "CONTENT";
1016
+ readonly NAME: "NAME";
1017
+ };
1018
+ export type SearchQueryScopeType =
1019
+ (typeof SearchQueryScopeType)[keyof typeof SearchQueryScopeType];
964
1020
  export interface SearchResourcesRequest {
965
1021
  AuthenticationToken?: string;
966
1022
  QueryText?: string;
@@ -972,12 +1028,14 @@ export interface SearchResourcesRequest {
972
1028
  Limit?: number;
973
1029
  Marker?: string;
974
1030
  }
975
- export declare enum ResponseItemType {
976
- COMMENT = "COMMENT",
977
- DOCUMENT = "DOCUMENT",
978
- DOCUMENT_VERSION = "DOCUMENT_VERSION",
979
- FOLDER = "FOLDER",
980
- }
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];
981
1039
  export interface ResponseItem {
982
1040
  ResourceType?: ResponseItemType | string;
983
1041
  WebUrl?: string;
@@ -997,9 +1055,11 @@ export interface UpdateDocumentRequest {
997
1055
  ParentFolderId?: string;
998
1056
  ResourceState?: ResourceStateType | string;
999
1057
  }
1000
- export declare enum DocumentVersionStatus {
1001
- ACTIVE = "ACTIVE",
1002
- }
1058
+ export declare const DocumentVersionStatus: {
1059
+ readonly ACTIVE: "ACTIVE";
1060
+ };
1061
+ export type DocumentVersionStatus =
1062
+ (typeof DocumentVersionStatus)[keyof typeof DocumentVersionStatus];
1003
1063
  export interface UpdateDocumentVersionRequest {
1004
1064
  AuthenticationToken?: string;
1005
1065
  DocumentId: string | undefined;
@@ -1033,10 +1093,12 @@ export declare class IllegalUserStateException extends __BaseException {
1033
1093
  opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>
1034
1094
  );
1035
1095
  }
1036
- export declare enum BooleanEnumType {
1037
- FALSE = "FALSE",
1038
- TRUE = "TRUE",
1039
- }
1096
+ export declare const BooleanEnumType: {
1097
+ readonly FALSE: "FALSE";
1098
+ readonly TRUE: "TRUE";
1099
+ };
1100
+ export type BooleanEnumType =
1101
+ (typeof BooleanEnumType)[keyof typeof BooleanEnumType];
1040
1102
  export interface UpdateUserRequest {
1041
1103
  AuthenticationToken?: string;
1042
1104
  UserId: string | undefined;