Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/google-apps-script

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/google-apps-script - npm Package Compare versions

Comparing version 0.0.47 to 0.0.48

106

google-apps-script/apis/drive_v2.d.ts

@@ -78,2 +78,24 @@ // Type definitions for Google Apps Script 2019-03-25

}
export interface DrivesCollection {
// Gets a shared drive's metadata by ID.
get(driveId: string): Drive.Schema.Drive;
// Gets a shared drive's metadata by ID.
get(driveId: string, optionalArgs: object): Drive.Schema.Drive;
// Hides a shared drive from the default view.
hide(driveId: string): Drive.Schema.Drive;
// Creates a new shared drive.
insert(resource: Schema.Drive, requestId: string): Drive.Schema.Drive;
// Lists the user's shared drives.
list(): Drive.Schema.DriveList;
// Lists the user's shared drives.
list(optionalArgs: object): Drive.Schema.DriveList;
// Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.
remove(driveId: string): void;
// Restores a shared drive to the default view.
unhide(driveId: string): Drive.Schema.Drive;
// Updates the metadata for a shared drive.
update(resource: Schema.Drive, driveId: string): Drive.Schema.Drive;
// Updates the metadata for a shared drive.
update(resource: Schema.Drive, driveId: string, optionalArgs: object): Drive.Schema.Drive;
}
export interface FilesCollection {

@@ -265,4 +287,6 @@ // Creates a copy of the specified file.

additionalRoleInfo?: Drive.Schema.AboutAdditionalRoleInfo[];
canCreateDrives?: boolean;
canCreateTeamDrives?: boolean;
domainSharingPolicy?: string;
driveThemes?: Drive.Schema.AboutDriveThemes[];
etag?: string;

@@ -300,2 +324,7 @@ exportFormats?: Drive.Schema.AboutExportFormats[];

}
export interface AboutDriveThemes {
backgroundImageLink?: string;
colorRgb?: string;
id?: string;
}
export interface AboutExportFormats {

@@ -366,2 +395,4 @@ source?: string;

deleted?: boolean;
drive?: Drive.Schema.Drive;
driveId?: string;
file?: Drive.Schema.File;

@@ -459,2 +490,52 @@ fileId?: string;

}
export interface Drive {
backgroundImageFile?: Drive.Schema.DriveBackgroundImageFile;
backgroundImageLink?: string;
capabilities?: Drive.Schema.DriveCapabilities;
colorRgb?: string;
createdDate?: string;
hidden?: boolean;
id?: string;
kind?: string;
name?: string;
restrictions?: Drive.Schema.DriveRestrictions;
themeId?: string;
}
export interface DriveBackgroundImageFile {
id?: string;
width?: Number;
xCoordinate?: Number;
yCoordinate?: Number;
}
export interface DriveCapabilities {
canAddChildren?: boolean;
canChangeCopyRequiresWriterPermissionRestriction?: boolean;
canChangeDomainUsersOnlyRestriction?: boolean;
canChangeDriveBackground?: boolean;
canChangeDriveMembersOnlyRestriction?: boolean;
canComment?: boolean;
canCopy?: boolean;
canDeleteChildren?: boolean;
canDeleteDrive?: boolean;
canDownload?: boolean;
canEdit?: boolean;
canListChildren?: boolean;
canManageMembers?: boolean;
canReadRevisions?: boolean;
canRename?: boolean;
canRenameDrive?: boolean;
canShare?: boolean;
canTrashChildren?: boolean;
}
export interface DriveList {
items?: Drive.Schema.Drive[];
kind?: string;
nextPageToken?: string;
}
export interface DriveRestrictions {
adminManagedRestrictions?: boolean;
copyRequiresWriterPermission?: boolean;
domainUsersOnly?: boolean;
driveMembersOnly?: boolean;
}
export interface File {

@@ -472,2 +553,3 @@ alternateLink?: string;

downloadUrl?: string;
driveId?: string;
editable?: boolean;

@@ -541,9 +623,14 @@ embedLink?: string;

canListChildren?: boolean;
canMoveChildrenOutOfDrive?: boolean;
canMoveChildrenOutOfTeamDrive?: boolean;
canMoveChildrenWithinDrive?: boolean;
canMoveChildrenWithinTeamDrive?: boolean;
canMoveItemIntoTeamDrive?: boolean;
canMoveItemOutOfDrive?: boolean;
canMoveItemOutOfTeamDrive?: boolean;
canMoveItemWithinDrive?: boolean;
canMoveItemWithinTeamDrive?: boolean;
canMoveTeamDriveItem?: boolean;
canReadRevisions?: boolean;
canReadDrive?: boolean;
canReadTeamDrive?: boolean;

@@ -643,2 +730,3 @@ canRemoveChildren?: boolean;

name?: string;
permissionDetails?: Drive.Schema.PermissionPermissionDetails[];
photoLink?: string;

@@ -663,2 +751,9 @@ role?: string;

}
export interface PermissionPermissionDetails {
additionalRoles?: string[];
inherited?: boolean;
inheritedFrom?: string;
permissionType?: string;
role?: string;
}
export interface PermissionTeamDrivePermissionDetails {

@@ -786,2 +881,3 @@ additionalRoles?: string[];

Comments?: Drive.Collection.CommentsCollection;
Drives?: Drive.Collection.DrivesCollection;
Files?: Drive.Collection.FilesCollection;

@@ -805,2 +901,10 @@ Parents?: Drive.Collection.ParentsCollection;

newCommentReply(): Drive.Schema.CommentReply;
// Create a new instance of Drive
newDrive(): Drive.Schema.Drive;
// Create a new instance of DriveBackgroundImageFile
newDriveBackgroundImageFile(): Drive.Schema.DriveBackgroundImageFile;
// Create a new instance of DriveCapabilities
newDriveCapabilities(): Drive.Schema.DriveCapabilities;
// Create a new instance of DriveRestrictions
newDriveRestrictions(): Drive.Schema.DriveRestrictions;
// Create a new instance of File

@@ -826,2 +930,4 @@ newFile(): Drive.Schema.File;

newPermission(): Drive.Schema.Permission;
// Create a new instance of PermissionPermissionDetails
newPermissionPermissionDetails(): Drive.Schema.PermissionPermissionDetails;
// Create a new instance of PermissionTeamDrivePermissionDetails

@@ -828,0 +934,0 @@ newPermissionTeamDrivePermissionDetails(): Drive.Schema.PermissionTeamDrivePermissionDetails;

4

google-apps-script/package.json
{
"name": "@types/google-apps-script",
"version": "0.0.47",
"version": "0.0.48",
"description": "TypeScript definitions for google-apps-script",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "82f73533c8cd04e7b92874fb1cb8cfb5d9c611f647bed109bf4c372d49a02f11",
"typesPublisherContentHash": "08160b1742fbe757e54e5c1298ef03bddcad75e9381cbf682e4b37b8bb531e76",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 14 May 2019 21:16:52 GMT
* Last updated: Thu, 16 May 2019 15:24:22 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, ContactsApp, Content, ContentService, DataStudioApp, Dfareporting, DigestAlgorithm, Docs, DocumentApp, Drive, DriveActivity, DriveApp, FormApp, FusionTables, 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, UiApp, UrlFetchApp, UrlShortener, UserProperties, Utilities, XmlService, YouTube, YouTubeAnalytics, YoutubePartner, console

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc