@google/earthengine 1.1.5 → 1.3.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.
- package/build/browser.js +52 -79
- package/build/ee_api_js.js +526 -526
- package/build/ee_api_js_debug.js +29 -57
- package/build/ee_api_js_npm.js +52 -79
- package/build/main.js +52 -79
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/main.js
CHANGED
|
@@ -1255,7 +1255,7 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1255
1255
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1256
1256
|
};
|
|
1257
1257
|
}, "es8", "es3");
|
|
1258
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1,
|
|
1258
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__disable:!1, GoogFlags__jspb_ignore_implicit_extension_deps__disable:!1, GoogFlags__jspb_readonly_repeated_fields__disable:!1, GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1,
|
|
1259
1259
|
GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1260
1260
|
/*
|
|
1261
1261
|
|
|
@@ -4753,16 +4753,23 @@ module$exports$safevalues$dom$globals$global.globalEval = function(win, script)
|
|
|
4753
4753
|
var module$exports$safevalues$dom$globals$location = {}, module$contents$safevalues$dom$globals$location_module = module$contents$safevalues$dom$globals$location_module || {id:"third_party/javascript/safevalues/dom/globals/location.closure.js"};
|
|
4754
4754
|
module$exports$safevalues$dom$globals$location.setHref = function(loc, url) {
|
|
4755
4755
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4756
|
-
sanitizedUrl !== void 0 && (loc
|
|
4756
|
+
sanitizedUrl !== void 0 && module$exports$safevalues$dom$globals$location.mockableLocation.setHref(loc, sanitizedUrl);
|
|
4757
4757
|
};
|
|
4758
4758
|
module$exports$safevalues$dom$globals$location.replace = function(loc, url) {
|
|
4759
4759
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4760
|
-
sanitizedUrl !== void 0 &&
|
|
4760
|
+
sanitizedUrl !== void 0 && module$exports$safevalues$dom$globals$location.mockableLocation.replace(loc, sanitizedUrl);
|
|
4761
4761
|
};
|
|
4762
4762
|
module$exports$safevalues$dom$globals$location.assign = function(loc, url) {
|
|
4763
4763
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
4764
|
-
sanitizedUrl !== void 0 &&
|
|
4765
|
-
};
|
|
4764
|
+
sanitizedUrl !== void 0 && module$exports$safevalues$dom$globals$location.mockableLocation.assign(loc, sanitizedUrl);
|
|
4765
|
+
};
|
|
4766
|
+
module$exports$safevalues$dom$globals$location.mockableLocation = {setHref:function(loc, url) {
|
|
4767
|
+
loc.href = url;
|
|
4768
|
+
}, replace:function(loc, url) {
|
|
4769
|
+
loc.replace(url);
|
|
4770
|
+
}, assign:function(loc, url) {
|
|
4771
|
+
loc.assign(url);
|
|
4772
|
+
}};
|
|
4766
4773
|
var module$exports$safevalues$dom$globals$range = {}, module$contents$safevalues$dom$globals$range_module = module$contents$safevalues$dom$globals$range_module || {id:"third_party/javascript/safevalues/dom/globals/range.closure.js"};
|
|
4767
4774
|
module$exports$safevalues$dom$globals$range.createContextualFragment = function(range, html) {
|
|
4768
4775
|
return range.createContextualFragment((0,module$exports$safevalues$internals$html_impl.unwrapHtml)(html));
|
|
@@ -6480,7 +6487,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_
|
|
|
6480
6487
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
|
|
6481
6488
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
|
|
6482
6489
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable = !1;
|
|
6483
|
-
module$exports$closure$flags$flags$2etoggles.
|
|
6490
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__disable = !1;
|
|
6484
6491
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6485
6492
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable = !1;
|
|
6486
6493
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable = !1;
|
|
@@ -6493,7 +6500,8 @@ var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1,
|
|
|
6493
6500
|
goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
|
|
6494
6501
|
goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
|
|
6495
6502
|
goog.flags.JSPB_STOP_USING_REPEATED_FIELD_SETS_FROM_GENCODE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_stop_using_repeated_field_sets_from_gencode__disable : goog.readFlagInternalDoNotUseOrElse(188588736, !0);
|
|
6496
|
-
goog.flags.CLIENT_ONLY_WIZ_ON_INIT_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.
|
|
6503
|
+
goog.flags.CLIENT_ONLY_WIZ_ON_INIT_WITHIN_REACTION_THROWS_ERROR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_on_init_within_reaction_throws_error__disable) : goog.readFlagInternalDoNotUseOrElse(676937399,
|
|
6504
|
+
module$contents$goog$flags_STAGING);
|
|
6497
6505
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6498
6506
|
goog.flags.JSPB_READONLY_REPEATED_FIELDS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_readonly_repeated_fields__disable) : goog.readFlagInternalDoNotUseOrElse(653718497, module$contents$goog$flags_STAGING);
|
|
6499
6507
|
goog.flags.JSPB_IGNORE_IMPLICIT_EXTENSION_DEPS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_ignore_implicit_extension_deps__disable) : goog.readFlagInternalDoNotUseOrElse(660014094, module$contents$goog$flags_STAGING);
|
|
@@ -7458,7 +7466,6 @@ goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (Math.random() * 1E6 | 0);
|
|
|
7458
7466
|
goog.events.onString_ = "on";
|
|
7459
7467
|
goog.events.onStringMap_ = {};
|
|
7460
7468
|
goog.events.CaptureSimulationMode = {OFF_AND_FAIL:0, OFF_AND_SILENT:1, ON:2};
|
|
7461
|
-
goog.events.CAPTURE_SIMULATION_MODE = 2;
|
|
7462
7469
|
goog.events.listenerCountEstimate_ = 0;
|
|
7463
7470
|
goog.events.listen = function(src, type, listener, opt_options, opt_handler) {
|
|
7464
7471
|
if (opt_options && opt_options.once) {
|
|
@@ -14842,22 +14849,16 @@ goog.debug.asyncStackTag.getTestNameProvider = function() {
|
|
|
14842
14849
|
}
|
|
14843
14850
|
return module$contents$goog$debug$asyncStackTag_testNameProvider;
|
|
14844
14851
|
};
|
|
14845
|
-
var module$contents$goog$async$
|
|
14852
|
+
var module$contents$goog$async$run_schedule, module$contents$goog$async$run_workQueueScheduled = !1, module$contents$goog$async$run_workQueue = new module$contents$goog$async$WorkQueue_WorkQueue(), module$contents$goog$async$run_run = function(callback, context) {
|
|
14846
14853
|
callback = module$contents$goog$debug$asyncStackTag_wrap(callback, "goog.async.run");
|
|
14847
14854
|
module$contents$goog$async$run_schedule || module$contents$goog$async$run_initializeRunner();
|
|
14848
14855
|
module$contents$goog$async$run_workQueueScheduled || (module$contents$goog$async$run_schedule(), module$contents$goog$async$run_workQueueScheduled = !0);
|
|
14849
14856
|
module$contents$goog$async$run_workQueue.add(callback, context);
|
|
14850
14857
|
}, module$contents$goog$async$run_initializeRunner = function() {
|
|
14851
|
-
|
|
14852
|
-
|
|
14853
|
-
module$contents$goog$async$
|
|
14854
|
-
|
|
14855
|
-
};
|
|
14856
|
-
} else {
|
|
14857
|
-
module$contents$goog$async$run_schedule = function() {
|
|
14858
|
-
(0,goog.async.nextTick)(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14859
|
-
};
|
|
14860
|
-
}
|
|
14858
|
+
var promise = Promise.resolve(void 0);
|
|
14859
|
+
module$contents$goog$async$run_schedule = function() {
|
|
14860
|
+
promise.then(module$contents$goog$async$run_processWorkQueueInternal);
|
|
14861
|
+
};
|
|
14861
14862
|
};
|
|
14862
14863
|
module$contents$goog$async$run_run.forceNextTick = function(realSetTimeout) {
|
|
14863
14864
|
if (goog.DISALLOW_TEST_ONLY_CODE) {
|
|
@@ -17627,8 +17628,7 @@ goog.dom.getElementByTagNameAndClass = function(opt_tag, opt_class, opt_el) {
|
|
|
17627
17628
|
return goog.dom.getElementByTagNameAndClass_(document, opt_tag, opt_class, opt_el);
|
|
17628
17629
|
};
|
|
17629
17630
|
goog.dom.getElementsByClass = function(className, opt_el) {
|
|
17630
|
-
|
|
17631
|
-
return goog.dom.canUseQuerySelector_(parent) ? parent.querySelectorAll("." + className) : goog.dom.getElementsByTagNameAndClass_(document, "*", className, opt_el);
|
|
17631
|
+
return (opt_el || document).querySelectorAll("." + className);
|
|
17632
17632
|
};
|
|
17633
17633
|
goog.dom.getElementByClass = function(className, opt_el) {
|
|
17634
17634
|
var parent = opt_el || document, retVal = null;
|
|
@@ -17639,48 +17639,20 @@ goog.dom.getHTMLElementByClass = function(className, opt_parent) {
|
|
|
17639
17639
|
return element ? module$contents$goog$asserts$dom_assertIsHtmlElement(element) : null;
|
|
17640
17640
|
};
|
|
17641
17641
|
goog.dom.getRequiredElementByClass = function(className, opt_root) {
|
|
17642
|
-
|
|
17643
|
-
return goog.asserts.assert(retValue, "No element found with className: " + className);
|
|
17642
|
+
return goog.asserts.assert(goog.dom.getElementByClass(className, opt_root), "No element found with className: " + className);
|
|
17644
17643
|
};
|
|
17645
17644
|
goog.dom.getRequiredHTMLElementByClass = function(className, opt_parent) {
|
|
17646
17645
|
var retValue = goog.dom.getElementByClass(className, opt_parent);
|
|
17647
17646
|
goog.asserts.assert(retValue, "No HTMLElement found with className: " + className);
|
|
17648
17647
|
return module$contents$goog$asserts$dom_assertIsHtmlElement(retValue);
|
|
17649
17648
|
};
|
|
17650
|
-
goog.dom.canUseQuerySelector_ = function(parent) {
|
|
17651
|
-
return !(!parent.querySelectorAll || !parent.querySelector);
|
|
17652
|
-
};
|
|
17653
17649
|
goog.dom.getElementsByTagNameAndClass_ = function(doc, opt_tag, opt_class, opt_el) {
|
|
17654
17650
|
var parent = opt_el || doc, tagName = opt_tag && opt_tag != "*" ? String(opt_tag).toUpperCase() : "";
|
|
17655
|
-
|
|
17656
|
-
return parent.querySelectorAll(tagName + (opt_class ? "." + opt_class : ""));
|
|
17657
|
-
}
|
|
17658
|
-
if (opt_class && parent.getElementsByClassName) {
|
|
17659
|
-
var els = parent.getElementsByClassName(opt_class);
|
|
17660
|
-
if (tagName) {
|
|
17661
|
-
for (var arrayLike = {}, len = 0, i = 0, el; el = els[i]; i++) {
|
|
17662
|
-
tagName == el.nodeName && (arrayLike[len++] = el);
|
|
17663
|
-
}
|
|
17664
|
-
arrayLike.length = len;
|
|
17665
|
-
return arrayLike;
|
|
17666
|
-
}
|
|
17667
|
-
return els;
|
|
17668
|
-
}
|
|
17669
|
-
els = parent.getElementsByTagName(tagName || "*");
|
|
17670
|
-
if (opt_class) {
|
|
17671
|
-
arrayLike = {};
|
|
17672
|
-
for (i = len = 0; el = els[i]; i++) {
|
|
17673
|
-
var className = el.className;
|
|
17674
|
-
typeof className.split == "function" && module$contents$goog$array_contains(className.split(/\s+/), opt_class) && (arrayLike[len++] = el);
|
|
17675
|
-
}
|
|
17676
|
-
arrayLike.length = len;
|
|
17677
|
-
return arrayLike;
|
|
17678
|
-
}
|
|
17679
|
-
return els;
|
|
17651
|
+
return tagName || opt_class ? parent.querySelectorAll(tagName + (opt_class ? "." + opt_class : "")) : parent.getElementsByTagName("*");
|
|
17680
17652
|
};
|
|
17681
17653
|
goog.dom.getElementByTagNameAndClass_ = function(doc, opt_tag, opt_class, opt_el) {
|
|
17682
|
-
var parent
|
|
17683
|
-
return
|
|
17654
|
+
var parent, tag = opt_tag && opt_tag != "*" ? String(opt_tag).toUpperCase() : "";
|
|
17655
|
+
return tag || opt_class ? (opt_el || doc).querySelector(tag + (opt_class ? "." + opt_class : "")) : goog.dom.getElementsByTagNameAndClass_(doc, opt_tag, opt_class, opt_el)[0] || null;
|
|
17684
17656
|
};
|
|
17685
17657
|
goog.dom.$$ = goog.dom.getElementsByTagNameAndClass;
|
|
17686
17658
|
goog.dom.setProperties = function(element, properties) {
|
|
@@ -19349,7 +19321,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19349
19321
|
ee.apiclient = {};
|
|
19350
19322
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19351
19323
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19352
|
-
ee.apiclient.API_CLIENT_VERSION = "1.
|
|
19324
|
+
ee.apiclient.API_CLIENT_VERSION = "1.3.0";
|
|
19353
19325
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19354
19326
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19355
19327
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19647,8 +19619,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19647
19619
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19648
19620
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19649
19621
|
method = method || "POST";
|
|
19650
|
-
var headers = {"Content-Type":contentType}, version = "1.
|
|
19651
|
-
version === "1.
|
|
19622
|
+
var headers = {"Content-Type":contentType}, version = "1.3.0";
|
|
19623
|
+
version === "1.3.0" && (version = "latest");
|
|
19652
19624
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19653
19625
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19654
19626
|
if (authToken != null) {
|
|
@@ -19765,7 +19737,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19765
19737
|
if (result.access_token) {
|
|
19766
19738
|
var token = result.token_type + " " + result.access_token;
|
|
19767
19739
|
if (result.expires_in || result.expires_in === 0) {
|
|
19768
|
-
var expiresInMs = result.expires_in *
|
|
19740
|
+
var expiresInMs = result.expires_in * 1E3 * .9, timeout = setTimeout(module$contents$ee$apiclient_apiclient.refreshAuthToken, expiresInMs * .9);
|
|
19769
19741
|
timeout.unref !== void 0 && timeout.unref();
|
|
19770
19742
|
module$contents$ee$apiclient_apiclient.authTokenExpiration_ = Date.now() + expiresInMs;
|
|
19771
19743
|
}
|
|
@@ -27172,28 +27144,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27172
27144
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27173
27145
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27174
27146
|
(function() {
|
|
27175
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27176
|
-
orderedParamLists = [["name", "
|
|
27177
|
-
"
|
|
27178
|
-
|
|
27179
|
-
"collection opt_description
|
|
27180
|
-
"
|
|
27181
|
-
["
|
|
27182
|
-
["
|
|
27183
|
-
"
|
|
27184
|
-
|
|
27185
|
-
|
|
27186
|
-
"
|
|
27187
|
-
["params", "opt_callback"], ["
|
|
27188
|
-
|
|
27189
|
-
module$contents$ee$batch_Export.
|
|
27190
|
-
ee.
|
|
27191
|
-
ee.
|
|
27192
|
-
ee.data.
|
|
27193
|
-
ee.
|
|
27194
|
-
ee.
|
|
27195
|
-
ee.
|
|
27196
|
-
ee.
|
|
27147
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.getMapId ee.data.setAssetAcl ee.data.authenticateViaOauth ee.data.renameAsset ee.data.listAssets ee.data.authenticate ee.data.getTaskList ee.data.setAssetProperties ee.data.getTableDownloadId ee.data.listBuckets ee.data.copyAsset ee.data.getTileUrl ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.startTableIngestion ee.data.listOperations ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.cancelOperation ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.getWorkloadTag ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.authenticateViaPrivateKey ee.data.createAssetHome ee.data.getOperation ee.data.setWorkloadTag ee.data.newTaskId ee.data.computeValue ee.data.getInfo ee.data.createAsset ee.data.getThumbId ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.updateAsset ee.data.getTaskStatus ee.data.updateTask ee.data.getFilmstripThumbId ee.data.getList ee.data.startIngestion ee.data.createFolder ee.data.startProcessing ee.data.makeThumbUrl ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.TILE_SIZE ee.call ee.reset ee.initialize ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.Feature.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter.inList ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.prototype.not ee.Filter.metadata ee.Filter.date ee.Filter ee.Filter.eq ee.Filter.bounds ee.Filter.and ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.BBox ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.getDownloadURL ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image ee.Image.rgb ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection ee.ImageCollection.prototype.linkCollection ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27148
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description",
|
|
27149
|
+
"opt_assetId", "opt_priority"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
27150
|
+
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27151
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),
|
|
27152
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), ["name", "operator", "value"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["geometry"], ["start", "opt_end"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["filter"], ["legacy"], ["callback"], ["func", "var_args"], ["opt_callback"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
27153
|
+
["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_callback"], ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["project", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["id"], ["opt_limit", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["taskId", "request", "opt_callback"],
|
|
27154
|
+
["opt_limit", "opt_callback"], ["params", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_success", "opt_error"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], [], ["asset", "params", "opt_callback"], ["opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["requestedId", "opt_callback"], ["operationName", "opt_callback"], ["tag"], ["opt_count", "opt_callback"],
|
|
27155
|
+
["obj", "opt_callback"], ["id", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["tag"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId",
|
|
27156
|
+
"params", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], ["func", "var_args"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format",
|
|
27157
|
+
"opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["name", "value"], ["name", "value"], ["var_args"], ["name", "value"], ["name", "value"], [], ["name", "operator", "value"], ["start", "opt_end"], ["opt_filter"], ["name", "value"], ["geometry", "opt_errorMargin"], ["var_args"], ["var_args"], ["namedArgs"],
|
|
27158
|
+
["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic",
|
|
27159
|
+
"opt_maxError"], ["params", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["var_args"], ["geometry"], ["params", "opt_callback"], ["expression", "opt_map"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_args"], ["r", "g", "b"], [], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["args"], ["imageCollection",
|
|
27160
|
+
"opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27161
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage,
|
|
27162
|
+
module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.ComputedObject.prototype.serialize,
|
|
27163
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.data.getMapId, ee.data.setAssetAcl, ee.data.authenticateViaOauth, ee.data.renameAsset, ee.data.listAssets, ee.data.authenticate, ee.data.getTaskList, ee.data.setAssetProperties, ee.data.getTableDownloadId, ee.data.listBuckets, ee.data.copyAsset, ee.data.getTileUrl, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.startTableIngestion,
|
|
27164
|
+
ee.data.listOperations, ee.data.getDownloadId, ee.data.makeDownloadUrl, ee.data.getAssetAcl, ee.data.authenticateViaPopup, ee.data.cancelOperation, ee.data.getFeatureViewTilesKey, ee.data.listImages, ee.data.getWorkloadTag, ee.data.listFeatures, ee.data.getAssetRoots, ee.data.getAsset, ee.data.authenticateViaPrivateKey, ee.data.createAssetHome, ee.data.getOperation, ee.data.setWorkloadTag, ee.data.newTaskId, ee.data.computeValue, ee.data.getInfo, ee.data.createAsset, ee.data.getThumbId, ee.data.setDefaultWorkloadTag,
|
|
27165
|
+
ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.getVideoThumbId, ee.data.updateAsset, ee.data.getTaskStatus, ee.data.updateTask, ee.data.getFilmstripThumbId, ee.data.getList, ee.data.startIngestion, ee.data.createFolder, ee.data.startProcessing, ee.data.makeThumbUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.TILE_SIZE, ee.call, ee.reset, ee.initialize, ee.Algorithms, ee.InitState, ee.apply,
|
|
27166
|
+
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.Filter.inList, ee.Filter.gt, ee.Filter.neq, ee.Filter.lt, ee.Filter.or, ee.Filter.lte, ee.Filter.gte, ee.Filter.prototype.not,
|
|
27167
|
+
ee.Filter.metadata, ee.Filter.date, ee.Filter, ee.Filter.eq, ee.Filter.bounds, ee.Filter.and, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.BBox, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.MultiPolygon, ee.Geometry.Polygon, ee.Geometry.prototype.serialize, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.LinearRing, ee.Image.prototype.getThumbURL,
|
|
27168
|
+
ee.Image.cat, ee.Image.prototype.getDownloadURL, ee.Image.prototype.select, ee.Image.prototype.clip, ee.Image.prototype.getThumbId, ee.Image.prototype.expression, ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getMap, ee.Image.prototype.rename, ee.Image, ee.Image.rgb, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select,
|
|
27169
|
+
ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection, ee.ImageCollection.prototype.linkCollection, ee.List, ee.Number, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27197
27170
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27198
27171
|
});
|
|
27199
27172
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues');
|
|
|
24
24
|
/** @namespace */
|
|
25
25
|
const apiclient = {};
|
|
26
26
|
|
|
27
|
-
const API_CLIENT_VERSION = '1.
|
|
27
|
+
const API_CLIENT_VERSION = '1.3.0';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|