Lines Matching refs:success
69 NotionClient.prototype.authenticate = function(success, error, failOnAuth) argument
115 success();
134 NotionClient.prototype.executeRequest = function(url, data, method, success, error, failOnAuth) argument
175 success(JSON.parse(req.getText()));
209 NotionClient.prototype.getLibrary = function(id, success, error) argument
211 this.getFile(id, success, error, false, true);
217 NotionClient.prototype.getFile = function(id, success, error, denyConvert, asLibrary) argument
237 success(new NotionLibrary(this.ui, xml, meta));
241 success(new NotionFile(this.ui, xml, meta));
261 NotionClient.prototype.insertLibrary = function(filename, data, success, error, folderObj) argument
263 this.insertFile(filename, data, success, error, true, folderObj);
269 NotionClient.prototype.insertFile = function(filename, data, success, error, asLibrary, folderObj) argument
289 success(new NotionLibrary(this.ui, data, meta));
293 success(new NotionFile(this.ui, data, meta));
384 NotionClient.prototype.saveFile = function(file, success, error) argument
393 success(resp, data);
405 …nt.prototype.writeFile = function(url, folderId, filename, nameField, data, method, success, error) argument
453 this.executeRequest(url, JSON.stringify(reqBody), method, success, error);