@aws-sdk/client-workdocs 3.428.0 → 3.429.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.
|
@@ -194,7 +194,7 @@ export interface StorageRuleType {
|
|
|
194
194
|
* @public
|
|
195
195
|
* <p>The type of storage.</p>
|
|
196
196
|
*/
|
|
197
|
-
StorageType?: StorageType
|
|
197
|
+
StorageType?: StorageType;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* @public
|
|
@@ -276,12 +276,12 @@ export interface User {
|
|
|
276
276
|
* @public
|
|
277
277
|
* <p>The status of the user.</p>
|
|
278
278
|
*/
|
|
279
|
-
Status?: UserStatusType
|
|
279
|
+
Status?: UserStatusType;
|
|
280
280
|
/**
|
|
281
281
|
* @public
|
|
282
282
|
* <p>The type of user.</p>
|
|
283
283
|
*/
|
|
284
|
-
Type?: UserType
|
|
284
|
+
Type?: UserType;
|
|
285
285
|
/**
|
|
286
286
|
* @public
|
|
287
287
|
* <p>The time when the user was created.</p>
|
|
@@ -301,7 +301,7 @@ export interface User {
|
|
|
301
301
|
* @public
|
|
302
302
|
* <p>The locale of the user.</p>
|
|
303
303
|
*/
|
|
304
|
-
Locale?: LocaleType
|
|
304
|
+
Locale?: LocaleType;
|
|
305
305
|
/**
|
|
306
306
|
* @public
|
|
307
307
|
* <p>The storage for the user.</p>
|
|
@@ -355,7 +355,7 @@ export interface CommentMetadata {
|
|
|
355
355
|
* @public
|
|
356
356
|
* <p>The status of the comment.</p>
|
|
357
357
|
*/
|
|
358
|
-
CommentStatus?: CommentStatusType
|
|
358
|
+
CommentStatus?: CommentStatusType;
|
|
359
359
|
/**
|
|
360
360
|
* @public
|
|
361
361
|
* <p>The ID of the user being replied to.</p>
|
|
@@ -419,7 +419,7 @@ export interface ResourceMetadata {
|
|
|
419
419
|
* @public
|
|
420
420
|
* <p>The type of resource.</p>
|
|
421
421
|
*/
|
|
422
|
-
Type?: ResourceType
|
|
422
|
+
Type?: ResourceType;
|
|
423
423
|
/**
|
|
424
424
|
* @public
|
|
425
425
|
* <p>The name of the resource.</p>
|
|
@@ -536,7 +536,7 @@ export interface Activity {
|
|
|
536
536
|
* @public
|
|
537
537
|
* <p>The activity type.</p>
|
|
538
538
|
*/
|
|
539
|
-
Type?: ActivityType
|
|
539
|
+
Type?: ActivityType;
|
|
540
540
|
/**
|
|
541
541
|
* @public
|
|
542
542
|
* <p>The timestamp when the action was performed.</p>
|
|
@@ -656,12 +656,12 @@ export interface SharePrincipal {
|
|
|
656
656
|
* @public
|
|
657
657
|
* <p>The type of the recipient.</p>
|
|
658
658
|
*/
|
|
659
|
-
Type: PrincipalType |
|
|
659
|
+
Type: PrincipalType | undefined;
|
|
660
660
|
/**
|
|
661
661
|
* @public
|
|
662
662
|
* <p>The role of the recipient.</p>
|
|
663
663
|
*/
|
|
664
|
-
Role: RoleType |
|
|
664
|
+
Role: RoleType | undefined;
|
|
665
665
|
}
|
|
666
666
|
/**
|
|
667
667
|
* @public
|
|
@@ -719,12 +719,12 @@ export interface ShareResult {
|
|
|
719
719
|
* @public
|
|
720
720
|
* <p>The role.</p>
|
|
721
721
|
*/
|
|
722
|
-
Role?: RoleType
|
|
722
|
+
Role?: RoleType;
|
|
723
723
|
/**
|
|
724
724
|
* @public
|
|
725
725
|
* <p>The status.</p>
|
|
726
726
|
*/
|
|
727
|
-
Status?: ShareStatusType
|
|
727
|
+
Status?: ShareStatusType;
|
|
728
728
|
/**
|
|
729
729
|
* @public
|
|
730
730
|
* <p>The ID of the resource that was shared.</p>
|
|
@@ -798,7 +798,7 @@ export interface CreateCommentRequest {
|
|
|
798
798
|
* visible only to the comment author and document owner and co-owners, or PUBLIC, where
|
|
799
799
|
* the comment is visible to document owners, co-owners, and contributors.</p>
|
|
800
800
|
*/
|
|
801
|
-
Visibility?: CommentVisibilityType
|
|
801
|
+
Visibility?: CommentVisibilityType;
|
|
802
802
|
/**
|
|
803
803
|
* @public
|
|
804
804
|
* <p>Set this parameter to TRUE to send an email out to the document collaborators after
|
|
@@ -845,14 +845,14 @@ export interface Comment {
|
|
|
845
845
|
* @public
|
|
846
846
|
* <p>The status of the comment.</p>
|
|
847
847
|
*/
|
|
848
|
-
Status?: CommentStatusType
|
|
848
|
+
Status?: CommentStatusType;
|
|
849
849
|
/**
|
|
850
850
|
* @public
|
|
851
851
|
* <p>The visibility of the comment. Options are either PRIVATE, where the comment is
|
|
852
852
|
* visible only to the comment author and document owner and co-owners, or PUBLIC, where
|
|
853
853
|
* the comment is visible to document owners, co-owners, and contributors.</p>
|
|
854
854
|
*/
|
|
855
|
-
Visibility?: CommentVisibilityType
|
|
855
|
+
Visibility?: CommentVisibilityType;
|
|
856
856
|
/**
|
|
857
857
|
* @public
|
|
858
858
|
* <p>If the comment is a reply to another user's comment, this field contains the user
|
|
@@ -1028,7 +1028,7 @@ export interface FolderMetadata {
|
|
|
1028
1028
|
* @public
|
|
1029
1029
|
* <p>The resource state of the folder.</p>
|
|
1030
1030
|
*/
|
|
1031
|
-
ResourceState?: ResourceStateType
|
|
1031
|
+
ResourceState?: ResourceStateType;
|
|
1032
1032
|
/**
|
|
1033
1033
|
* @public
|
|
1034
1034
|
* <p>The unique identifier created from the subfolders and documents of the
|
|
@@ -1169,12 +1169,12 @@ export interface CreateNotificationSubscriptionRequest {
|
|
|
1169
1169
|
* <p>The protocol to use. The supported value is https, which delivers JSON-encoded
|
|
1170
1170
|
* messages using HTTPS POST.</p>
|
|
1171
1171
|
*/
|
|
1172
|
-
Protocol: SubscriptionProtocolType |
|
|
1172
|
+
Protocol: SubscriptionProtocolType | undefined;
|
|
1173
1173
|
/**
|
|
1174
1174
|
* @public
|
|
1175
1175
|
* <p>The notification type.</p>
|
|
1176
1176
|
*/
|
|
1177
|
-
SubscriptionType: SubscriptionType |
|
|
1177
|
+
SubscriptionType: SubscriptionType | undefined;
|
|
1178
1178
|
}
|
|
1179
1179
|
/**
|
|
1180
1180
|
* @public
|
|
@@ -1195,7 +1195,7 @@ export interface Subscription {
|
|
|
1195
1195
|
* @public
|
|
1196
1196
|
* <p>The protocol of the subscription.</p>
|
|
1197
1197
|
*/
|
|
1198
|
-
Protocol?: SubscriptionProtocolType
|
|
1198
|
+
Protocol?: SubscriptionProtocolType;
|
|
1199
1199
|
}
|
|
1200
1200
|
/**
|
|
1201
1201
|
* @public
|
|
@@ -1750,7 +1750,7 @@ export interface DocumentVersionMetadata {
|
|
|
1750
1750
|
* @public
|
|
1751
1751
|
* <p>The status of the document.</p>
|
|
1752
1752
|
*/
|
|
1753
|
-
Status?: DocumentStatusType
|
|
1753
|
+
Status?: DocumentStatusType;
|
|
1754
1754
|
/**
|
|
1755
1755
|
* @public
|
|
1756
1756
|
* <p>The timestamp when the document was first uploaded.</p>
|
|
@@ -1780,12 +1780,12 @@ export interface DocumentVersionMetadata {
|
|
|
1780
1780
|
* @public
|
|
1781
1781
|
* <p>The thumbnail of the document.</p>
|
|
1782
1782
|
*/
|
|
1783
|
-
Thumbnail?: Record<
|
|
1783
|
+
Thumbnail?: Record<DocumentThumbnailType, string>;
|
|
1784
1784
|
/**
|
|
1785
1785
|
* @public
|
|
1786
1786
|
* <p>The source of the document.</p>
|
|
1787
1787
|
*/
|
|
1788
|
-
Source?: Record<
|
|
1788
|
+
Source?: Record<DocumentSourceType, string>;
|
|
1789
1789
|
}
|
|
1790
1790
|
/**
|
|
1791
1791
|
* @public
|
|
@@ -1871,12 +1871,12 @@ export interface DescribeFolderContentsRequest {
|
|
|
1871
1871
|
* @public
|
|
1872
1872
|
* <p>The sorting criteria.</p>
|
|
1873
1873
|
*/
|
|
1874
|
-
Sort?: ResourceSortType
|
|
1874
|
+
Sort?: ResourceSortType;
|
|
1875
1875
|
/**
|
|
1876
1876
|
* @public
|
|
1877
1877
|
* <p>The order for the contents of the folder.</p>
|
|
1878
1878
|
*/
|
|
1879
|
-
Order?: OrderType
|
|
1879
|
+
Order?: OrderType;
|
|
1880
1880
|
/**
|
|
1881
1881
|
* @public
|
|
1882
1882
|
* <p>The maximum number of items to return with this call.</p>
|
|
@@ -1892,7 +1892,7 @@ export interface DescribeFolderContentsRequest {
|
|
|
1892
1892
|
* @public
|
|
1893
1893
|
* <p>The type of items.</p>
|
|
1894
1894
|
*/
|
|
1895
|
-
Type?: FolderContentType
|
|
1895
|
+
Type?: FolderContentType;
|
|
1896
1896
|
/**
|
|
1897
1897
|
* @public
|
|
1898
1898
|
* <p>The contents to include. Specify "INITIALIZED" to include initialized
|
|
@@ -1939,7 +1939,7 @@ export interface DocumentMetadata {
|
|
|
1939
1939
|
* @public
|
|
1940
1940
|
* <p>The resource state.</p>
|
|
1941
1941
|
*/
|
|
1942
|
-
ResourceState?: ResourceStateType
|
|
1942
|
+
ResourceState?: ResourceStateType;
|
|
1943
1943
|
/**
|
|
1944
1944
|
* @public
|
|
1945
1945
|
* <p>List of labels on the document.</p>
|
|
@@ -2103,12 +2103,12 @@ export interface PermissionInfo {
|
|
|
2103
2103
|
* @public
|
|
2104
2104
|
* <p>The role of the user.</p>
|
|
2105
2105
|
*/
|
|
2106
|
-
Role?: RoleType
|
|
2106
|
+
Role?: RoleType;
|
|
2107
2107
|
/**
|
|
2108
2108
|
* @public
|
|
2109
2109
|
* <p>The type of permissions.</p>
|
|
2110
2110
|
*/
|
|
2111
|
-
Type?: RolePermissionType
|
|
2111
|
+
Type?: RolePermissionType;
|
|
2112
2112
|
}
|
|
2113
2113
|
/**
|
|
2114
2114
|
* @public
|
|
@@ -2124,7 +2124,7 @@ export interface Principal {
|
|
|
2124
2124
|
* @public
|
|
2125
2125
|
* <p>The type of resource.</p>
|
|
2126
2126
|
*/
|
|
2127
|
-
Type?: PrincipalType
|
|
2127
|
+
Type?: PrincipalType;
|
|
2128
2128
|
/**
|
|
2129
2129
|
* @public
|
|
2130
2130
|
* <p>The permission information for the resource.</p>
|
|
@@ -2255,17 +2255,17 @@ export interface DescribeUsersRequest {
|
|
|
2255
2255
|
* @public
|
|
2256
2256
|
* <p>The state of the users. Specify "ALL" to include inactive users.</p>
|
|
2257
2257
|
*/
|
|
2258
|
-
Include?: UserFilterType
|
|
2258
|
+
Include?: UserFilterType;
|
|
2259
2259
|
/**
|
|
2260
2260
|
* @public
|
|
2261
2261
|
* <p>The order for the results.</p>
|
|
2262
2262
|
*/
|
|
2263
|
-
Order?: OrderType
|
|
2263
|
+
Order?: OrderType;
|
|
2264
2264
|
/**
|
|
2265
2265
|
* @public
|
|
2266
2266
|
* <p>The sorting criteria.</p>
|
|
2267
2267
|
*/
|
|
2268
|
-
Sort?: UserSortType
|
|
2268
|
+
Sort?: UserSortType;
|
|
2269
2269
|
/**
|
|
2270
2270
|
* @public
|
|
2271
2271
|
* <p>The marker for the next set of results. (You received this marker from a previous
|
|
@@ -2595,7 +2595,7 @@ export interface GetResourcesRequest {
|
|
|
2595
2595
|
* @public
|
|
2596
2596
|
* <p>The collection type.</p>
|
|
2597
2597
|
*/
|
|
2598
|
-
CollectionType?: ResourceCollectionType
|
|
2598
|
+
CollectionType?: ResourceCollectionType;
|
|
2599
2599
|
/**
|
|
2600
2600
|
* @public
|
|
2601
2601
|
* <p>The maximum number of resources to return.</p>
|
|
@@ -2794,7 +2794,7 @@ export interface RemoveResourcePermissionRequest {
|
|
|
2794
2794
|
* @public
|
|
2795
2795
|
* <p>The principal type of the resource.</p>
|
|
2796
2796
|
*/
|
|
2797
|
-
PrincipalType?: PrincipalType
|
|
2797
|
+
PrincipalType?: PrincipalType;
|
|
2798
2798
|
}
|
|
2799
2799
|
/**
|
|
2800
2800
|
* @public
|
|
@@ -2874,7 +2874,7 @@ export interface SearchPrincipalType {
|
|
|
2874
2874
|
* @public
|
|
2875
2875
|
* <p>The Role of a User or Group.</p>
|
|
2876
2876
|
*/
|
|
2877
|
-
Roles?:
|
|
2877
|
+
Roles?: PrincipalRoleType[];
|
|
2878
2878
|
}
|
|
2879
2879
|
/**
|
|
2880
2880
|
* @public
|
|
@@ -2968,17 +2968,17 @@ export interface Filters {
|
|
|
2968
2968
|
* @public
|
|
2969
2969
|
* <p>Filters by the locale of the content or comment.</p>
|
|
2970
2970
|
*/
|
|
2971
|
-
TextLocales?:
|
|
2971
|
+
TextLocales?: LanguageCodeType[];
|
|
2972
2972
|
/**
|
|
2973
2973
|
* @public
|
|
2974
2974
|
* <p>Filters by content category.</p>
|
|
2975
2975
|
*/
|
|
2976
|
-
ContentCategories?:
|
|
2976
|
+
ContentCategories?: ContentCategoryType[];
|
|
2977
2977
|
/**
|
|
2978
2978
|
* @public
|
|
2979
2979
|
* <p>Filters based on entity type.</p>
|
|
2980
2980
|
*/
|
|
2981
|
-
ResourceTypes?:
|
|
2981
|
+
ResourceTypes?: SearchResourceType[];
|
|
2982
2982
|
/**
|
|
2983
2983
|
* @public
|
|
2984
2984
|
* <p>Filter by labels using exact match.</p>
|
|
@@ -2998,7 +2998,7 @@ export interface Filters {
|
|
|
2998
2998
|
* @public
|
|
2999
2999
|
* <p>Filter based on file groupings.</p>
|
|
3000
3000
|
*/
|
|
3001
|
-
SearchCollectionTypes?:
|
|
3001
|
+
SearchCollectionTypes?: SearchCollectionType[];
|
|
3002
3002
|
/**
|
|
3003
3003
|
* @public
|
|
3004
3004
|
* <p>Filter based on size (in bytes).</p>
|
|
@@ -3051,12 +3051,12 @@ export interface SearchSortResult {
|
|
|
3051
3051
|
* @public
|
|
3052
3052
|
* <p>Sort search results based on this field name.</p>
|
|
3053
3053
|
*/
|
|
3054
|
-
Field?: OrderByFieldType
|
|
3054
|
+
Field?: OrderByFieldType;
|
|
3055
3055
|
/**
|
|
3056
3056
|
* @public
|
|
3057
3057
|
* <p>Sort direction.</p>
|
|
3058
3058
|
*/
|
|
3059
|
-
Order?: SortOrder
|
|
3059
|
+
Order?: SortOrder;
|
|
3060
3060
|
}
|
|
3061
3061
|
/**
|
|
3062
3062
|
* @public
|
|
@@ -3088,7 +3088,7 @@ export interface SearchResourcesRequest {
|
|
|
3088
3088
|
* @public
|
|
3089
3089
|
* <p>Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content</p>
|
|
3090
3090
|
*/
|
|
3091
|
-
QueryScopes?:
|
|
3091
|
+
QueryScopes?: SearchQueryScopeType[];
|
|
3092
3092
|
/**
|
|
3093
3093
|
* @public
|
|
3094
3094
|
* <p>Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.</p>
|
|
@@ -3099,7 +3099,7 @@ export interface SearchResourcesRequest {
|
|
|
3099
3099
|
* <p>A list of attributes to include in the response. Used to request fields that are not normally
|
|
3100
3100
|
* returned in a standard response.</p>
|
|
3101
3101
|
*/
|
|
3102
|
-
AdditionalResponseFields?:
|
|
3102
|
+
AdditionalResponseFields?: AdditionalResponseFieldType[];
|
|
3103
3103
|
/**
|
|
3104
3104
|
* @public
|
|
3105
3105
|
* <p>Filters results based on entity metadata.</p>
|
|
@@ -3144,7 +3144,7 @@ export interface ResponseItem {
|
|
|
3144
3144
|
* @public
|
|
3145
3145
|
* <p>The type of item being returned.</p>
|
|
3146
3146
|
*/
|
|
3147
|
-
ResourceType?: ResponseItemType
|
|
3147
|
+
ResourceType?: ResponseItemType;
|
|
3148
3148
|
/**
|
|
3149
3149
|
* @public
|
|
3150
3150
|
* <p>The webUrl of the item being returned.</p>
|
|
@@ -3215,7 +3215,7 @@ export interface UpdateDocumentRequest {
|
|
|
3215
3215
|
* <p>The resource state of the document. Only ACTIVE and RECYCLED are
|
|
3216
3216
|
* supported.</p>
|
|
3217
3217
|
*/
|
|
3218
|
-
ResourceState?: ResourceStateType
|
|
3218
|
+
ResourceState?: ResourceStateType;
|
|
3219
3219
|
}
|
|
3220
3220
|
/**
|
|
3221
3221
|
* @public
|
|
@@ -3251,7 +3251,7 @@ export interface UpdateDocumentVersionRequest {
|
|
|
3251
3251
|
* @public
|
|
3252
3252
|
* <p>The status of the version.</p>
|
|
3253
3253
|
*/
|
|
3254
|
-
VersionStatus?: DocumentVersionStatus
|
|
3254
|
+
VersionStatus?: DocumentVersionStatus;
|
|
3255
3255
|
}
|
|
3256
3256
|
/**
|
|
3257
3257
|
* @public
|
|
@@ -3282,7 +3282,7 @@ export interface UpdateFolderRequest {
|
|
|
3282
3282
|
* <p>The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from
|
|
3283
3283
|
* the API.</p>
|
|
3284
3284
|
*/
|
|
3285
|
-
ResourceState?: ResourceStateType
|
|
3285
|
+
ResourceState?: ResourceStateType;
|
|
3286
3286
|
}
|
|
3287
3287
|
/**
|
|
3288
3288
|
* @public
|
|
@@ -3351,7 +3351,7 @@ export interface UpdateUserRequest {
|
|
|
3351
3351
|
* @public
|
|
3352
3352
|
* <p>The type of the user.</p>
|
|
3353
3353
|
*/
|
|
3354
|
-
Type?: UserType
|
|
3354
|
+
Type?: UserType;
|
|
3355
3355
|
/**
|
|
3356
3356
|
* @public
|
|
3357
3357
|
* <p>The amount of storage for the user.</p>
|
|
@@ -3366,12 +3366,12 @@ export interface UpdateUserRequest {
|
|
|
3366
3366
|
* @public
|
|
3367
3367
|
* <p>The locale of the user.</p>
|
|
3368
3368
|
*/
|
|
3369
|
-
Locale?: LocaleType
|
|
3369
|
+
Locale?: LocaleType;
|
|
3370
3370
|
/**
|
|
3371
3371
|
* @public
|
|
3372
3372
|
* <p>Boolean value to determine whether the user is granted Power user privileges.</p>
|
|
3373
3373
|
*/
|
|
3374
|
-
GrantPoweruserPrivileges?: BooleanEnumType
|
|
3374
|
+
GrantPoweruserPrivileges?: BooleanEnumType;
|
|
3375
3375
|
}
|
|
3376
3376
|
/**
|
|
3377
3377
|
* @public
|
|
@@ -101,7 +101,7 @@ export declare const StorageType: {
|
|
|
101
101
|
export type StorageType = (typeof StorageType)[keyof typeof StorageType];
|
|
102
102
|
export interface StorageRuleType {
|
|
103
103
|
StorageAllocatedInBytes?: number;
|
|
104
|
-
StorageType?: StorageType
|
|
104
|
+
StorageType?: StorageType;
|
|
105
105
|
}
|
|
106
106
|
export interface UserStorageMetadata {
|
|
107
107
|
StorageUtilizedInBytes?: number;
|
|
@@ -124,12 +124,12 @@ export interface User {
|
|
|
124
124
|
OrganizationId?: string;
|
|
125
125
|
RootFolderId?: string;
|
|
126
126
|
RecycleBinFolderId?: string;
|
|
127
|
-
Status?: UserStatusType
|
|
128
|
-
Type?: UserType
|
|
127
|
+
Status?: UserStatusType;
|
|
128
|
+
Type?: UserType;
|
|
129
129
|
CreatedTimestamp?: Date;
|
|
130
130
|
ModifiedTimestamp?: Date;
|
|
131
131
|
TimeZoneId?: string;
|
|
132
|
-
Locale?: LocaleType
|
|
132
|
+
Locale?: LocaleType;
|
|
133
133
|
Storage?: UserStorageMetadata;
|
|
134
134
|
}
|
|
135
135
|
export interface ActivateUserResponse {
|
|
@@ -146,7 +146,7 @@ export interface CommentMetadata {
|
|
|
146
146
|
CommentId?: string;
|
|
147
147
|
Contributor?: User;
|
|
148
148
|
CreatedTimestamp?: Date;
|
|
149
|
-
CommentStatus?: CommentStatusType
|
|
149
|
+
CommentStatus?: CommentStatusType;
|
|
150
150
|
RecipientId?: string;
|
|
151
151
|
ContributorId?: string;
|
|
152
152
|
}
|
|
@@ -163,7 +163,7 @@ export declare const ResourceType: {
|
|
|
163
163
|
};
|
|
164
164
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
165
165
|
export interface ResourceMetadata {
|
|
166
|
-
Type?: ResourceType
|
|
166
|
+
Type?: ResourceType;
|
|
167
167
|
Name?: string;
|
|
168
168
|
OriginalName?: string;
|
|
169
169
|
Id?: string;
|
|
@@ -216,7 +216,7 @@ export declare const ActivityType: {
|
|
|
216
216
|
};
|
|
217
217
|
export type ActivityType = (typeof ActivityType)[keyof typeof ActivityType];
|
|
218
218
|
export interface Activity {
|
|
219
|
-
Type?: ActivityType
|
|
219
|
+
Type?: ActivityType;
|
|
220
220
|
TimeStamp?: Date;
|
|
221
221
|
IsIndirectActivity?: boolean;
|
|
222
222
|
OrganizationId?: string;
|
|
@@ -252,8 +252,8 @@ export declare const PrincipalType: {
|
|
|
252
252
|
export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
|
|
253
253
|
export interface SharePrincipal {
|
|
254
254
|
Id: string | undefined;
|
|
255
|
-
Type: PrincipalType |
|
|
256
|
-
Role: RoleType |
|
|
255
|
+
Type: PrincipalType | undefined;
|
|
256
|
+
Role: RoleType | undefined;
|
|
257
257
|
}
|
|
258
258
|
export interface AddResourcePermissionsRequest {
|
|
259
259
|
AuthenticationToken?: string;
|
|
@@ -270,8 +270,8 @@ export type ShareStatusType =
|
|
|
270
270
|
export interface ShareResult {
|
|
271
271
|
PrincipalId?: string;
|
|
272
272
|
InviteePrincipalId?: string;
|
|
273
|
-
Role?: RoleType
|
|
274
|
-
Status?: ShareStatusType
|
|
273
|
+
Role?: RoleType;
|
|
274
|
+
Status?: ShareStatusType;
|
|
275
275
|
ShareId?: string;
|
|
276
276
|
StatusMessage?: string;
|
|
277
277
|
}
|
|
@@ -291,7 +291,7 @@ export interface CreateCommentRequest {
|
|
|
291
291
|
ParentId?: string;
|
|
292
292
|
ThreadId?: string;
|
|
293
293
|
Text: string | undefined;
|
|
294
|
-
Visibility?: CommentVisibilityType
|
|
294
|
+
Visibility?: CommentVisibilityType;
|
|
295
295
|
NotifyCollaborators?: boolean;
|
|
296
296
|
}
|
|
297
297
|
export interface Comment {
|
|
@@ -301,8 +301,8 @@ export interface Comment {
|
|
|
301
301
|
Text?: string;
|
|
302
302
|
Contributor?: User;
|
|
303
303
|
CreatedTimestamp?: Date;
|
|
304
|
-
Status?: CommentStatusType
|
|
305
|
-
Visibility?: CommentVisibilityType
|
|
304
|
+
Status?: CommentStatusType;
|
|
305
|
+
Visibility?: CommentVisibilityType;
|
|
306
306
|
RecipientId?: string;
|
|
307
307
|
}
|
|
308
308
|
export interface CreateCommentResponse {
|
|
@@ -376,7 +376,7 @@ export interface FolderMetadata {
|
|
|
376
376
|
ParentFolderId?: string;
|
|
377
377
|
CreatedTimestamp?: Date;
|
|
378
378
|
ModifiedTimestamp?: Date;
|
|
379
|
-
ResourceState?: ResourceStateType
|
|
379
|
+
ResourceState?: ResourceStateType;
|
|
380
380
|
Signature?: string;
|
|
381
381
|
Labels?: string[];
|
|
382
382
|
Size?: number;
|
|
@@ -429,13 +429,13 @@ export type SubscriptionType =
|
|
|
429
429
|
export interface CreateNotificationSubscriptionRequest {
|
|
430
430
|
OrganizationId: string | undefined;
|
|
431
431
|
Endpoint: string | undefined;
|
|
432
|
-
Protocol: SubscriptionProtocolType |
|
|
433
|
-
SubscriptionType: SubscriptionType |
|
|
432
|
+
Protocol: SubscriptionProtocolType | undefined;
|
|
433
|
+
SubscriptionType: SubscriptionType | undefined;
|
|
434
434
|
}
|
|
435
435
|
export interface Subscription {
|
|
436
436
|
SubscriptionId?: string;
|
|
437
437
|
EndPoint?: string;
|
|
438
|
-
Protocol?: SubscriptionProtocolType
|
|
438
|
+
Protocol?: SubscriptionProtocolType;
|
|
439
439
|
}
|
|
440
440
|
export interface CreateNotificationSubscriptionResponse {
|
|
441
441
|
Subscription?: Subscription;
|
|
@@ -589,14 +589,14 @@ export interface DocumentVersionMetadata {
|
|
|
589
589
|
ContentType?: string;
|
|
590
590
|
Size?: number;
|
|
591
591
|
Signature?: string;
|
|
592
|
-
Status?: DocumentStatusType
|
|
592
|
+
Status?: DocumentStatusType;
|
|
593
593
|
CreatedTimestamp?: Date;
|
|
594
594
|
ModifiedTimestamp?: Date;
|
|
595
595
|
ContentCreatedTimestamp?: Date;
|
|
596
596
|
ContentModifiedTimestamp?: Date;
|
|
597
597
|
CreatorId?: string;
|
|
598
|
-
Thumbnail?: Record<
|
|
599
|
-
Source?: Record<
|
|
598
|
+
Thumbnail?: Record<DocumentThumbnailType, string>;
|
|
599
|
+
Source?: Record<DocumentSourceType, string>;
|
|
600
600
|
}
|
|
601
601
|
export interface DescribeDocumentVersionsResponse {
|
|
602
602
|
DocumentVersions?: DocumentVersionMetadata[];
|
|
@@ -631,11 +631,11 @@ export type FolderContentType =
|
|
|
631
631
|
export interface DescribeFolderContentsRequest {
|
|
632
632
|
AuthenticationToken?: string;
|
|
633
633
|
FolderId: string | undefined;
|
|
634
|
-
Sort?: ResourceSortType
|
|
635
|
-
Order?: OrderType
|
|
634
|
+
Sort?: ResourceSortType;
|
|
635
|
+
Order?: OrderType;
|
|
636
636
|
Limit?: number;
|
|
637
637
|
Marker?: string;
|
|
638
|
-
Type?: FolderContentType
|
|
638
|
+
Type?: FolderContentType;
|
|
639
639
|
Include?: string;
|
|
640
640
|
}
|
|
641
641
|
export interface DocumentMetadata {
|
|
@@ -645,7 +645,7 @@ export interface DocumentMetadata {
|
|
|
645
645
|
CreatedTimestamp?: Date;
|
|
646
646
|
ModifiedTimestamp?: Date;
|
|
647
647
|
LatestVersionMetadata?: DocumentVersionMetadata;
|
|
648
|
-
ResourceState?: ResourceStateType
|
|
648
|
+
ResourceState?: ResourceStateType;
|
|
649
649
|
Labels?: string[];
|
|
650
650
|
}
|
|
651
651
|
export interface DescribeFolderContentsResponse {
|
|
@@ -687,12 +687,12 @@ export declare const RolePermissionType: {
|
|
|
687
687
|
export type RolePermissionType =
|
|
688
688
|
(typeof RolePermissionType)[keyof typeof RolePermissionType];
|
|
689
689
|
export interface PermissionInfo {
|
|
690
|
-
Role?: RoleType
|
|
691
|
-
Type?: RolePermissionType
|
|
690
|
+
Role?: RoleType;
|
|
691
|
+
Type?: RolePermissionType;
|
|
692
692
|
}
|
|
693
693
|
export interface Principal {
|
|
694
694
|
Id?: string;
|
|
695
|
-
Type?: PrincipalType
|
|
695
|
+
Type?: PrincipalType;
|
|
696
696
|
Roles?: PermissionInfo[];
|
|
697
697
|
}
|
|
698
698
|
export interface DescribeResourcePermissionsResponse {
|
|
@@ -727,9 +727,9 @@ export interface DescribeUsersRequest {
|
|
|
727
727
|
OrganizationId?: string;
|
|
728
728
|
UserIds?: string;
|
|
729
729
|
Query?: string;
|
|
730
|
-
Include?: UserFilterType
|
|
731
|
-
Order?: OrderType
|
|
732
|
-
Sort?: UserSortType
|
|
730
|
+
Include?: UserFilterType;
|
|
731
|
+
Order?: OrderType;
|
|
732
|
+
Sort?: UserSortType;
|
|
733
733
|
Marker?: string;
|
|
734
734
|
Limit?: number;
|
|
735
735
|
Fields?: string;
|
|
@@ -820,7 +820,7 @@ export type ResourceCollectionType =
|
|
|
820
820
|
export interface GetResourcesRequest {
|
|
821
821
|
AuthenticationToken?: string;
|
|
822
822
|
UserId?: string;
|
|
823
|
-
CollectionType?: ResourceCollectionType
|
|
823
|
+
CollectionType?: ResourceCollectionType;
|
|
824
824
|
Limit?: number;
|
|
825
825
|
Marker?: string;
|
|
826
826
|
}
|
|
@@ -893,7 +893,7 @@ export interface RemoveResourcePermissionRequest {
|
|
|
893
893
|
AuthenticationToken?: string;
|
|
894
894
|
ResourceId: string | undefined;
|
|
895
895
|
PrincipalId: string | undefined;
|
|
896
|
-
PrincipalType?: PrincipalType
|
|
896
|
+
PrincipalType?: PrincipalType;
|
|
897
897
|
}
|
|
898
898
|
export interface RestoreDocumentVersionsRequest {
|
|
899
899
|
AuthenticationToken?: string;
|
|
@@ -926,7 +926,7 @@ export type PrincipalRoleType =
|
|
|
926
926
|
(typeof PrincipalRoleType)[keyof typeof PrincipalRoleType];
|
|
927
927
|
export interface SearchPrincipalType {
|
|
928
928
|
Id: string | undefined;
|
|
929
|
-
Roles?:
|
|
929
|
+
Roles?: PrincipalRoleType[];
|
|
930
930
|
}
|
|
931
931
|
export declare const SearchResourceType: {
|
|
932
932
|
readonly COMMENT: "COMMENT";
|
|
@@ -982,13 +982,13 @@ export declare const LanguageCodeType: {
|
|
|
982
982
|
export type LanguageCodeType =
|
|
983
983
|
(typeof LanguageCodeType)[keyof typeof LanguageCodeType];
|
|
984
984
|
export interface Filters {
|
|
985
|
-
TextLocales?:
|
|
986
|
-
ContentCategories?:
|
|
987
|
-
ResourceTypes?:
|
|
985
|
+
TextLocales?: LanguageCodeType[];
|
|
986
|
+
ContentCategories?: ContentCategoryType[];
|
|
987
|
+
ResourceTypes?: SearchResourceType[];
|
|
988
988
|
Labels?: string[];
|
|
989
989
|
Principals?: SearchPrincipalType[];
|
|
990
990
|
AncestorIds?: string[];
|
|
991
|
-
SearchCollectionTypes?:
|
|
991
|
+
SearchCollectionTypes?: SearchCollectionType[];
|
|
992
992
|
SizeRange?: LongRangeType;
|
|
993
993
|
CreatedRange?: DateRangeType;
|
|
994
994
|
ModifiedRange?: DateRangeType;
|
|
@@ -1008,8 +1008,8 @@ export declare const SortOrder: {
|
|
|
1008
1008
|
};
|
|
1009
1009
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1010
1010
|
export interface SearchSortResult {
|
|
1011
|
-
Field?: OrderByFieldType
|
|
1012
|
-
Order?: SortOrder
|
|
1011
|
+
Field?: OrderByFieldType;
|
|
1012
|
+
Order?: SortOrder;
|
|
1013
1013
|
}
|
|
1014
1014
|
export declare const SearchQueryScopeType: {
|
|
1015
1015
|
readonly CONTENT: "CONTENT";
|
|
@@ -1020,9 +1020,9 @@ export type SearchQueryScopeType =
|
|
|
1020
1020
|
export interface SearchResourcesRequest {
|
|
1021
1021
|
AuthenticationToken?: string;
|
|
1022
1022
|
QueryText?: string;
|
|
1023
|
-
QueryScopes?:
|
|
1023
|
+
QueryScopes?: SearchQueryScopeType[];
|
|
1024
1024
|
OrganizationId?: string;
|
|
1025
|
-
AdditionalResponseFields?:
|
|
1025
|
+
AdditionalResponseFields?: AdditionalResponseFieldType[];
|
|
1026
1026
|
Filters?: Filters;
|
|
1027
1027
|
OrderBy?: SearchSortResult[];
|
|
1028
1028
|
Limit?: number;
|
|
@@ -1037,7 +1037,7 @@ export declare const ResponseItemType: {
|
|
|
1037
1037
|
export type ResponseItemType =
|
|
1038
1038
|
(typeof ResponseItemType)[keyof typeof ResponseItemType];
|
|
1039
1039
|
export interface ResponseItem {
|
|
1040
|
-
ResourceType?: ResponseItemType
|
|
1040
|
+
ResourceType?: ResponseItemType;
|
|
1041
1041
|
WebUrl?: string;
|
|
1042
1042
|
DocumentMetadata?: DocumentMetadata;
|
|
1043
1043
|
FolderMetadata?: FolderMetadata;
|
|
@@ -1053,7 +1053,7 @@ export interface UpdateDocumentRequest {
|
|
|
1053
1053
|
DocumentId: string | undefined;
|
|
1054
1054
|
Name?: string;
|
|
1055
1055
|
ParentFolderId?: string;
|
|
1056
|
-
ResourceState?: ResourceStateType
|
|
1056
|
+
ResourceState?: ResourceStateType;
|
|
1057
1057
|
}
|
|
1058
1058
|
export declare const DocumentVersionStatus: {
|
|
1059
1059
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -1064,14 +1064,14 @@ export interface UpdateDocumentVersionRequest {
|
|
|
1064
1064
|
AuthenticationToken?: string;
|
|
1065
1065
|
DocumentId: string | undefined;
|
|
1066
1066
|
VersionId: string | undefined;
|
|
1067
|
-
VersionStatus?: DocumentVersionStatus
|
|
1067
|
+
VersionStatus?: DocumentVersionStatus;
|
|
1068
1068
|
}
|
|
1069
1069
|
export interface UpdateFolderRequest {
|
|
1070
1070
|
AuthenticationToken?: string;
|
|
1071
1071
|
FolderId: string | undefined;
|
|
1072
1072
|
Name?: string;
|
|
1073
1073
|
ParentFolderId?: string;
|
|
1074
|
-
ResourceState?: ResourceStateType
|
|
1074
|
+
ResourceState?: ResourceStateType;
|
|
1075
1075
|
}
|
|
1076
1076
|
export declare class DeactivatingLastSystemUserException extends __BaseException {
|
|
1077
1077
|
readonly name: "DeactivatingLastSystemUserException";
|
|
@@ -1104,11 +1104,11 @@ export interface UpdateUserRequest {
|
|
|
1104
1104
|
UserId: string | undefined;
|
|
1105
1105
|
GivenName?: string;
|
|
1106
1106
|
Surname?: string;
|
|
1107
|
-
Type?: UserType
|
|
1107
|
+
Type?: UserType;
|
|
1108
1108
|
StorageRule?: StorageRuleType;
|
|
1109
1109
|
TimeZoneId?: string;
|
|
1110
|
-
Locale?: LocaleType
|
|
1111
|
-
GrantPoweruserPrivileges?: BooleanEnumType
|
|
1110
|
+
Locale?: LocaleType;
|
|
1111
|
+
GrantPoweruserPrivileges?: BooleanEnumType;
|
|
1112
1112
|
}
|
|
1113
1113
|
export interface UpdateUserResponse {
|
|
1114
1114
|
User?: User;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workdocs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|