diff --git a/types/google-apps-script/google-apps-script.card-service.d.ts b/types/google-apps-script/google-apps-script.card-service.d.ts
index 76caae381e..d097edc957 100644
--- a/types/google-apps-script/google-apps-script.card-service.d.ts
+++ b/types/google-apps-script/google-apps-script.card-service.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2019-04-09
+// Type definitions for Google Apps Script 2019-05-20
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -388,7 +388,7 @@ declare namespace GoogleAppsScript {
* var multilineKeyValue = CardService.newKeyValue()
* .setTopLabel("Top label - single line)")
* .setContent("Content can be multiple lines")
- * .setMultiline(true)
+ * .setMultiline(true)
* .setBottomLabel("Bottom label - single line");
*/
export interface KeyValue {
@@ -444,11 +444,6 @@ declare namespace GoogleAppsScript {
setText(text: string): Notification;
}
- /**
- * Type of notification to show.
- */
- export enum NotificationType { INFO, ERROR, WARNING }
-
/**
* An enum that specifies what to do when a URL opened through an OpenLink is closed.
*
diff --git a/types/google-apps-script/google-apps-script.data-studio.d.ts b/types/google-apps-script/google-apps-script.data-studio.d.ts
index 2f5614e343..fbb7133b96 100644
--- a/types/google-apps-script/google-apps-script.data-studio.d.ts
+++ b/types/google-apps-script/google-apps-script.data-studio.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2019-04-26
+// Type definitions for Google Apps Script 2019-05-20
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -78,7 +78,7 @@ declare namespace GoogleAppsScript {
*
* fields.newMetric()
* .setAggregation(aggregationType.AVG)
- * .setFieldType(fieldType.CURRENCY_USD);
+ * .setType(fieldType.CURRENCY_USD);
*/
export interface CommunityConnector {
AggregationType: typeof AggregationType;
diff --git a/types/google-apps-script/google-apps-script.gmail.d.ts b/types/google-apps-script/google-apps-script.gmail.d.ts
index 1bac0a7021..fd687b9275 100644
--- a/types/google-apps-script/google-apps-script.gmail.d.ts
+++ b/types/google-apps-script/google-apps-script.gmail.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2018-12-26
+// Type definitions for Google Apps Script 2019-05-20
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -204,7 +204,7 @@ declare namespace GoogleAppsScript {
* A comma-separated list of email addresses to BCC.
*/
}
-
+
/**
* A user-created label in a user's Gmail account.
*/
diff --git a/types/google-apps-script/google-apps-script.optimization.d.ts b/types/google-apps-script/google-apps-script.optimization.d.ts
index 92fecb8619..8a396f1a8f 100644
--- a/types/google-apps-script/google-apps-script.optimization.d.ts
+++ b/types/google-apps-script/google-apps-script.optimization.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Google Apps Script 2018-07-11
+// Type definitions for Google Apps Script 2019-05-20
// Project: https://developers.google.com/apps-script/
// Definitions by: motemen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -84,9 +84,11 @@ declare namespace GoogleAppsScript {
*/
export interface LinearOptimizationEngine {
addConstraint(lowerBound: Number, upperBound: Number): LinearOptimizationConstraint;
+ addConstraints(lowerBounds: Number[], upperBounds: Number[], variableNames: string[][], coefficients: Number[][]): LinearOptimizationEngine;
addVariable(name: string, lowerBound: Number, upperBound: Number): LinearOptimizationEngine;
addVariable(name: string, lowerBound: Number, upperBound: Number, type: VariableType): LinearOptimizationEngine;
addVariable(name: string, lowerBound: Number, upperBound: Number, type: VariableType, objectiveCoefficient: Number): LinearOptimizationEngine;
+ addVariables(names: string[], lowerBounds: Number[], upperBounds: Number[], types: VariableType[], objectiveCoefficients: Number[]): LinearOptimizationEngine;
setMaximization(): LinearOptimizationEngine;
setMinimization(): LinearOptimizationEngine;
setObjectiveCoefficient(variableName: string, coefficient: Number): LinearOptimizationEngine;