@types/google-apps-script
Advanced tools
Comparing version 1.0.52 to 1.0.53
@@ -77,2 +77,9 @@ // Type definitions for Google Apps Script 2020-01-02 | ||
/** | ||
* Creates a shortcut to the provided Drive item ID and resource key, and | ||
* returns it. Resource keys are an additional parameter which need to be | ||
* passed to access the target file or folder that has been shared using a | ||
* link. | ||
*/ | ||
createShortcutForTargetIdAndResourceKey(targetId: string, targetResourceKey: string): File; | ||
/** | ||
* Gets the file with the given ID. | ||
@@ -83,2 +90,11 @@ * Throws a scripting exception if the file does not exist or | ||
getFileById(id: string): File; | ||
/** | ||
* Gets the file with the given ID and resource key. Resource keys are an | ||
* additional parameter which need to be passed to access files that have | ||
* been shared using a link. | ||
* | ||
* Throws a scripting exception if the file doesn't exist or the user | ||
* doesn't have permission to access it. | ||
*/ | ||
getFileByIdAndResourceKey(id: string, resourceKey: string): File; | ||
/** Gets a collection of all files in the user's Drive. */ | ||
@@ -95,2 +111,10 @@ getFiles(): FileIterator; | ||
getFolderById(id: string): Folder; | ||
/** | ||
* Gets the folder with the given ID and resource key. Resource keys are | ||
* an additional parameter which need to be passed to access folders that | ||
* have been shared using a link. | ||
* Throws a scripting exception if the folder doesn't exist or the user | ||
* doesn't have permission to access it. | ||
*/ | ||
getFolderByIdAndResourceKey(id: string, resourceKey: string): Folder; | ||
/** Gets a collection of all folders in the user's Drive. */ | ||
@@ -184,2 +208,4 @@ getFolders(): FolderIterator; | ||
getTargetId(): string | null; | ||
getTargetMimeType(): string | null; | ||
getTargetResourceKey(): string | null; | ||
getThumbnail(): Base.Blob; | ||
@@ -264,2 +290,4 @@ getUrl(): string; | ||
createFolder(name: string): Folder; | ||
createShortcut(targetId: string): File; | ||
createShortcutForTargetIdAndResourceKey(targetId: string, targetResourceKey: string): File; | ||
getAccess(email: string): Permission; | ||
@@ -266,0 +294,0 @@ getAccess(user: Base.User): Permission; |
{ | ||
"name": "@types/google-apps-script", | ||
"version": "1.0.52", | ||
"version": "1.0.53", | ||
"description": "TypeScript definitions for google-apps-script", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-apps-script", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "fbce1c208d4ad9f04d35d94e12988a99a476ab6fd44eaf47500483db376f7fb8", | ||
"typesPublisherContentHash": "6de3c42a6f3c554ead5bac352559b821a83359a8ad2970b67cc485d5db53d7f4", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 11 Jul 2022 22:32:20 GMT | ||
* Last updated: Fri, 15 Jul 2022 23:02:21 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AdminDirectory`, `AdminGroupsMigration`, `AdminGroupsSettings`, `AdminLicenseManager`, `AdminReports`, `AdminReseller`, `Adsense`, `Analytics`, `Analyticsreporting`, `Appsactivity`, `BigQuery`, `Browser`, `CacheService`, `Calendar`, `CalendarApp`, `CardService`, `Charset`, `Charts`, `Classroom`, `ConferenceDataService`, `ContactsApp`, `Content`, `ContentService`, `DataStudioApp`, `Date2`, `Dfareporting`, `DigestAlgorithm`, `Docs`, `DocumentApp`, `Drive`, `DriveActivity`, `DriveApp`, `FormApp`, `Gmail`, `GmailApp`, `GoogleAppsScript`, `GroupsApp`, `HtmlService`, `Jdbc`, `LanguageApp`, `LinearOptimizationService`, `LockService`, `Logger`, `MacAlgorithm`, `MailApp`, `Maps`, `Mirror`, `People`, `PropertiesService`, `RsaAlgorithm`, `ScriptApp`, `ScriptProperties`, `Session`, `Sheets`, `SitesApp`, `Slides`, `SlidesApp`, `SpreadsheetApp`, `TagManager`, `Tasks`, `UrlFetchApp`, `UserProperties`, `Utilities`, `XmlService`, `YouTube`, `YouTubeAnalytics`, `YoutubePartner`, `console` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1715582
35082