@maxim_mazurok/gapi.client.drive-v3 0.0.20230206 → 0.0.20230212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -1
- package/package.json +1 -1
- package/tests.ts +9 -1
package/index.d.ts
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/drive/v3/rest
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20230212
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -227,6 +227,8 @@ declare namespace gapi.client {
|
|
227
227
|
canChangeDriveBackground?: boolean;
|
228
228
|
/** Whether the current user can change the driveMembersOnly restriction of this shared drive. */
|
229
229
|
canChangeDriveMembersOnlyRestriction?: boolean;
|
230
|
+
/** Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this shared drive. */
|
231
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
|
230
232
|
/** Whether the current user can comment on files in this shared drive. */
|
231
233
|
canComment?: boolean;
|
232
234
|
/** Whether the current user can copy files in this shared drive. */
|
@@ -286,6 +288,8 @@ declare namespace gapi.client {
|
|
286
288
|
domainUsersOnly?: boolean;
|
287
289
|
/** Whether access to items inside this shared drive is restricted to its members. */
|
288
290
|
driveMembersOnly?: boolean;
|
291
|
+
/** If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. */
|
292
|
+
sharingFoldersRequiresOrganizerPermission?: boolean;
|
289
293
|
};
|
290
294
|
/**
|
291
295
|
* The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a
|
@@ -988,6 +992,8 @@ declare namespace gapi.client {
|
|
988
992
|
canChangeCopyRequiresWriterPermissionRestriction?: boolean;
|
989
993
|
/** Whether the current user can change the domainUsersOnly restriction of this Team Drive. */
|
990
994
|
canChangeDomainUsersOnlyRestriction?: boolean;
|
995
|
+
/** Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this Team Drive. */
|
996
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
|
991
997
|
/** Whether the current user can change the background of this Team Drive. */
|
992
998
|
canChangeTeamDriveBackground?: boolean;
|
993
999
|
/** Whether the current user can change the teamMembersOnly restriction of this Team Drive. */
|
@@ -1049,6 +1055,8 @@ declare namespace gapi.client {
|
|
1049
1055
|
* other sharing policies controlled outside of this Team Drive.
|
1050
1056
|
*/
|
1051
1057
|
domainUsersOnly?: boolean;
|
1058
|
+
/** If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. */
|
1059
|
+
sharingFoldersRequiresOrganizerPermission?: boolean;
|
1052
1060
|
/** Whether access to items inside this Team Drive is restricted to members of this Team Drive. */
|
1053
1061
|
teamMembersOnly?: boolean;
|
1054
1062
|
};
|
package/package.json
CHANGED
package/tests.ts
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
5
5
|
|
6
|
-
// Revision:
|
6
|
+
// Revision: 20230212
|
7
7
|
|
8
8
|
gapi.load('client', async () => {
|
9
9
|
/** now we can use gapi.client */
|
@@ -243,6 +243,7 @@ gapi.load('client', async () => {
|
|
243
243
|
canChangeDomainUsersOnlyRestriction: true,
|
244
244
|
canChangeDriveBackground: true,
|
245
245
|
canChangeDriveMembersOnlyRestriction: true,
|
246
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction: true,
|
246
247
|
canComment: true,
|
247
248
|
canCopy: true,
|
248
249
|
canDeleteChildren: true,
|
@@ -270,6 +271,7 @@ gapi.load('client', async () => {
|
|
270
271
|
copyRequiresWriterPermission: true,
|
271
272
|
domainUsersOnly: true,
|
272
273
|
driveMembersOnly: true,
|
274
|
+
sharingFoldersRequiresOrganizerPermission: true,
|
273
275
|
},
|
274
276
|
themeId: "Test string",
|
275
277
|
});
|
@@ -317,6 +319,7 @@ gapi.load('client', async () => {
|
|
317
319
|
canChangeDomainUsersOnlyRestriction: true,
|
318
320
|
canChangeDriveBackground: true,
|
319
321
|
canChangeDriveMembersOnlyRestriction: true,
|
322
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction: true,
|
320
323
|
canComment: true,
|
321
324
|
canCopy: true,
|
322
325
|
canDeleteChildren: true,
|
@@ -344,6 +347,7 @@ gapi.load('client', async () => {
|
|
344
347
|
copyRequiresWriterPermission: true,
|
345
348
|
domainUsersOnly: true,
|
346
349
|
driveMembersOnly: true,
|
350
|
+
sharingFoldersRequiresOrganizerPermission: true,
|
347
351
|
},
|
348
352
|
themeId: "Test string",
|
349
353
|
});
|
@@ -1554,6 +1558,7 @@ gapi.load('client', async () => {
|
|
1554
1558
|
canAddChildren: true,
|
1555
1559
|
canChangeCopyRequiresWriterPermissionRestriction: true,
|
1556
1560
|
canChangeDomainUsersOnlyRestriction: true,
|
1561
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction: true,
|
1557
1562
|
canChangeTeamDriveBackground: true,
|
1558
1563
|
canChangeTeamMembersOnlyRestriction: true,
|
1559
1564
|
canComment: true,
|
@@ -1582,6 +1587,7 @@ gapi.load('client', async () => {
|
|
1582
1587
|
adminManagedRestrictions: true,
|
1583
1588
|
copyRequiresWriterPermission: true,
|
1584
1589
|
domainUsersOnly: true,
|
1590
|
+
sharingFoldersRequiresOrganizerPermission: true,
|
1585
1591
|
teamMembersOnly: true,
|
1586
1592
|
},
|
1587
1593
|
themeId: "Test string",
|
@@ -1618,6 +1624,7 @@ gapi.load('client', async () => {
|
|
1618
1624
|
canAddChildren: true,
|
1619
1625
|
canChangeCopyRequiresWriterPermissionRestriction: true,
|
1620
1626
|
canChangeDomainUsersOnlyRestriction: true,
|
1627
|
+
canChangeSharingFoldersRequiresOrganizerPermissionRestriction: true,
|
1621
1628
|
canChangeTeamDriveBackground: true,
|
1622
1629
|
canChangeTeamMembersOnlyRestriction: true,
|
1623
1630
|
canComment: true,
|
@@ -1646,6 +1653,7 @@ gapi.load('client', async () => {
|
|
1646
1653
|
adminManagedRestrictions: true,
|
1647
1654
|
copyRequiresWriterPermission: true,
|
1648
1655
|
domainUsersOnly: true,
|
1656
|
+
sharingFoldersRequiresOrganizerPermission: true,
|
1649
1657
|
teamMembersOnly: true,
|
1650
1658
|
},
|
1651
1659
|
themeId: "Test string",
|