diff --git a/dist/particle.min.js b/dist/particle.min.js
index 036cba6..621cbcd 100644
--- a/dist/particle.min.js
+++ b/dist/particle.min.js
@@ -9,7 +9,7 @@
},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":20,"babel-runtime/helpers/createClass":21,"babel-runtime/helpers/inherits":22,"babel-runtime/helpers/possibleConstructorReturn":23,"events":136,"http":145,"https":145,"url":176}],5:[function(require,module,exports){
"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _promise=require("babel-runtime/core-js/promise"),_promise2=_interopRequireDefault(_promise),_assign=require("babel-runtime/core-js/object/assign"),_assign2=_interopRequireDefault(_assign),_classCallCheck2=require("babel-runtime/helpers/classCallCheck"),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=require("babel-runtime/helpers/createClass"),_createClass3=_interopRequireDefault(_createClass2),Library=function(){function e(r,t){(0,_classCallCheck3.default)(this,e),Object.defineProperty(this,"client",{value:r}),this._assignAttributes(t),this.downloadUrl=t.links&&t.links.download}return(0,_createClass3.default)(e,[{key:"_assignAttributes",value:function(e){(0,_assign2.default)(this,e.attributes)}},{key:"download",value:function(){return this.downloadUrl?this.client.downloadFile(this.downloadUrl):_promise2.default.reject(new Error("No download URL for this library"))}}]),e}();exports.default=Library,module.exports=exports.default;
},{"babel-runtime/core-js/object/assign":10,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":20,"babel-runtime/helpers/createClass":21}],6:[function(require,module,exports){
-"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _assign=require("babel-runtime/core-js/object/assign"),_assign2=_interopRequireDefault(_assign),_classCallCheck2=require("babel-runtime/helpers/classCallCheck"),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=require("babel-runtime/helpers/createClass"),_createClass3=_interopRequireDefault(_createClass2),_superagentBinaryParser=require("./superagent-binary-parser"),_superagentBinaryParser2=_interopRequireDefault(_superagentBinaryParser),_Defaults=require("./Defaults"),_Defaults2=_interopRequireDefault(_Defaults),_EventStream=require("./EventStream"),_EventStream2=_interopRequireDefault(_EventStream),_Agent=require("./Agent"),_Agent2=_interopRequireDefault(_Agent),_Client=require("./Client"),_Client2=_interopRequireDefault(_Client),Particle=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_classCallCheck3.default)(this,e),t.auth&&this.setDefaultAuth(t.auth),(0,_assign2.default)(this,_Defaults2.default,t),this.context={},this.agent=new _Agent2.default(this.baseUrl)}return(0,_createClass3.default)(e,[{key:"_isValidContext",value:function(e,t){return("tool"===e||"project"===e)&&void 0!==t}},{key:"setContext",value:function(e,t){if(void 0!==t){if(!this._isValidContext(e,t))throw Error("unknown context name or undefined context: "+e);this.context[e]=t}}},{key:"_buildContext",value:function(e){return(0,_assign2.default)(this.context,e)}},{key:"login",value:function(e){var t=e.username,r=e.password,a=e.tokenDuration,u=void 0===a?this.tokenDuration:a,n=e.headers,i=e.context;return this.request({uri:"/oauth/token",method:"post",headers:n,form:{username:t,password:r,grant_type:"password",client_id:this.clientId,client_secret:this.clientSecret,expires_in:u},context:i})}},{key:"sendOtp",value:function(e){var t=e.mfaToken,r=e.otp,a=e.headers,u=e.context;return this.request({uri:"/oauth/token",method:"post",headers:a,form:{grant_type:"urn:custom:mfa-otp",mfa_token:t,otp:r,client_id:this.clientId,client_secret:this.clientSecret},context:u})}},{key:"enableMfa",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/user/mfa-enable",auth:t,headers:r,context:a})}},{key:"confirmMfa",value:function(e){var t=e.mfaToken,r=e.otp,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,s=e.context,o={mfa_token:t,otp:r};return u&&(o.invalidate_tokens=!0),this.post({uri:"/v1/user/mfa-enable",auth:n,headers:i,data:o,context:s})}},{key:"disableMfa",value:function(e){var t=e.currentPassword,r=e.auth,a=e.headers,u=e.context;return this.put({uri:"/v1/user/mfa-disable",auth:r,headers:a,data:{current_password:t},context:u})}},{key:"createCustomer",value:function(e){var t=e.email,r=e.password,a=e.product,u=e.headers,n=e.context;return this.request({uri:"/v1/products/"+a+"/customers",method:"post",headers:u,form:{email:t,password:r,grant_type:"client_credentials",client_id:this.clientId,client_secret:this.clientSecret},context:n})}},{key:"loginAsClientOwner",value:function(e){var t=e.headers,r=e.context;return this.request({uri:"/oauth/token",method:"post",headers:t,form:{grant_type:"client_credentials",client_id:this.clientId,client_secret:this.clientSecret},context:r})}},{key:"createUser",value:function(e){var t=e.username,r=e.password,a=e.accountInfo,u=e.headers,n=e.context;return this.post({uri:"/v1/users",headers:u,data:{username:t,password:r,account_info:a},context:n})}},{key:"verifyUser",value:function(e){var t=e.token,r=e.headers,a=e.context;return this.post({uri:"/v1/user/verify",headers:r,data:{token:t},context:a})}},{key:"resetPassword",value:function(e){var t=e.username,r=e.headers,a=e.context;return this.post({uri:"/v1/user/password-reset",headers:r,data:{username:t},context:a})}},{key:"deleteAccessToken",value:function(e){var t=e.username,r=e.password,a=e.token,u=e.headers,n=e.context;return this.delete({uri:"/v1/access_tokens/"+a,auth:{username:t,password:r},headers:u,data:{access_token:a},context:n})}},{key:"deleteCurrentAccessToken",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.delete({uri:"/v1/access_tokens/current",auth:t,headers:r,context:a})}},{key:"deleteActiveAccessTokens",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.delete({uri:"/v1/access_tokens",auth:t,headers:r,context:a})}},{key:"deleteUser",value:function(e){var t=e.auth,r=e.password,a=e.headers,u=e.context;return this.delete({uri:"/v1/user",data:{password:r},auth:t,headers:a,context:u})}},{key:"listAccessTokens",value:function(e){var t=e.username,r=e.password,a=e.otp,u=e.headers,n=e.context;return this.get({uri:"/v1/access_tokens",auth:{username:t,password:r},query:a?{otp:a}:void 0,headers:u,context:n})}},{key:"trackingIdentity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.full,r=void 0!==t&&t,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/user/identify",auth:a,headers:u,query:r?void 0:{tracking:1},context:n})}},{key:"listDevices",value:function(e){var t=e.deviceId,r=e.deviceName,a=e.groups,u=e.sortAttr,n=e.sortDir,i=e.page,s=e.perPage,o=e.product,c=e.auth,d=e.headers,h=e.context,v=void 0,l=void 0;return o?(v="/v1/products/"+o+"/devices",a=Array.isArray(a)?a.join(","):void 0,l={deviceId:t,deviceName:r,groups:a,sortAttr:u,sortDir:n,page:i,per_page:s}):v="/v1/devices",this.get({uri:v,auth:c,headers:d,query:l,context:h})}},{key:"getDevice",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=this.deviceUri({deviceId:t,product:r});return this.get({uri:i,auth:a,headers:u,context:n})}},{key:"claimDevice",value:function(e){var t=e.deviceId,r=e.requestTransfer,a=e.auth,u=e.headers,n=e.context;return this.post({uri:"/v1/devices",auth:a,headers:u,data:{id:t,request_transfer:!!r},context:n})}},{key:"addDeviceToProduct",value:function(e){var t=e.deviceId,r=e.product,a=e.file,u=e.auth,n=e.headers,i=e.context,s=void 0,o=void 0;return a?s={file:a}:t&&(o={id:t}),this.request({uri:"/v1/products/"+r+"/devices",method:"post",headers:n,data:o,files:s,auth:u,context:i})}},{key:"removeDevice",value:function(e){var t=e.deviceId,r=e.deny,a=e.product,u=e.auth,n=e.headers,i=e.context,s=this.deviceUri({deviceId:t,product:a}),o=a?{deny:r}:void 0;return this.delete({uri:s,data:o,auth:u,headers:n,context:i})}},{key:"removeDeviceOwner",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context,i="/v1/products/"+r+"/devices/"+t+"/owner";return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"renameDevice",value:function(e){var t=e.deviceId,r=e.name,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,name:r,product:a,auth:u,headers:n,context:i})}},{key:"signalDevice",value:function(e){var t=e.deviceId,r=e.signal,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,signal:r,product:a,auth:u,headers:n,context:i})}},{key:"setDeviceNotes",value:function(e){var t=e.deviceId,r=e.notes,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,notes:r,product:a,auth:u,headers:n,context:i})}},{key:"markAsDevelopmentDevice",value:function(e){var t=e.deviceId,r=e.development,a=void 0===r||r,u=e.product,n=e.auth,i=e.headers,s=e.context;return this.updateDevice({deviceId:t,development:a,product:u,auth:n,headers:i,context:s})}},{key:"lockDeviceProductFirmware",value:function(e){var t=e.deviceId,r=e.desiredFirmwareVersion,a=e.flash,u=e.product,n=e.auth,i=e.context;return this.updateDevice({deviceId:t,desiredFirmwareVersion:r,flash:a,product:u,auth:n,context:i})}},{key:"unlockDeviceProductFirmware",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.updateDevice({deviceId:t,desiredFirmwareVersion:null,product:r,auth:a,headers:u,context:n})}},{key:"updateDevice",value:function(e){var t=e.deviceId,r=e.name,a=e.signal,u=e.notes,n=e.development,i=e.desiredFirmwareVersion,s=e.flash,o=e.product,c=e.auth,d=e.headers,h=e.context;void 0!==a&&(a=a?"1":"0");var v=this.deviceUri({deviceId:t,product:o}),l=o?{name:r,signal:a,notes:u,development:n,desired_firmware_version:i,flash:s}:{name:r,signal:a,notes:u};return this.put({uri:v,auth:c,headers:d,data:l,context:h})}},{key:"provisionDevice",value:function(e){var t=e.productId,r=e.auth,a=e.headers,u=e.context;return this.post({uri:"/v1/devices",auth:r,headers:a,data:{product_id:t},context:u})}},{key:"getClaimCode",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/device_claims":"/v1/device_claims";return this.post({uri:i,auth:a,headers:u,data:{iccid:t},context:n})}},{key:"validatePromoCode",value:function(e){var t=e.promoCode,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/promo_code/"+t,auth:r,headers:a,context:u})}},{key:"changeProduct",value:function(e){var t=e.deviceId,r=e.productId,a=e.auth,u=e.headers,n=e.context;return this.put({uri:"/v1/devices/"+t,auth:a,headers:u,data:{product_id:r},context:n})}},{key:"getVariable",value:function(e){var t=e.deviceId,r=e.name,a=e.product,u=e.auth,n=e.headers,i=e.context,s=a?"/v1/products/"+a+"/devices/"+t+"/"+r:"/v1/devices/"+t+"/"+r;return this.get({uri:s,auth:u,headers:n,context:i})}},{key:"flashDevice",value:function(e){var t=e.deviceId,r=e.product,a=e.files,u=e.targetVersion,n=e.auth,i=e.headers,s=e.context,o=this.deviceUri({deviceId:t,product:r}),c={};return u?c.build_target_version=u:c.latest="true",this.request({uri:o,method:"put",auth:n,headers:i,files:a,form:c,context:s})}},{key:"flashTinker",value:function(e){var t=e.deviceId,r=e.auth,a=e.headers,u=e.context;return console&&console.warning&&console.warning("Particle.flashTinker is deprecated"),this.put({uri:"/v1/devices/"+t,headers:a,data:{app:"tinker"},auth:r,context:u})}},{key:"compileCode",value:function(e){var t=e.files,r=e.platformId,a=e.targetVersion,u=e.auth,n=e.headers,i=e.context,s={platform_id:r};return a?s.build_target_version=a:s.latest="true",this.request({uri:"/v1/binaries",method:"post",auth:u,headers:n,files:t,form:s,context:i})}},{key:"downloadFirmwareBinary",value:function(e){var t=e.binaryId,r=e.auth,a=e.headers,u=e.context,n=this.request({uri:"/v1/binaries/"+t,method:"get",auth:r,headers:a,context:u,raw:!0});return this._provideFileData(n)}},{key:"sendPublicKey",value:function(e){var t=e.deviceId,r=e.key,a=e.algorithm,u=e.auth,n=e.headers,i=e.context;return this.post({uri:"/v1/provisioning/"+t,auth:u,headers:n,data:{deviceID:t,publicKey:"string"==typeof r?r:r.toString(),filename:"particle-api",order:"manual_"+Date.now(),algorithm:a||"rsa"},context:i})}},{key:"callFunction",value:function(e){var t=e.deviceId,r=e.name,a=e.argument,u=e.product,n=e.auth,i=e.headers,s=e.context,o=u?"/v1/products/"+u+"/devices/"+t+"/"+r:"/v1/devices/"+t+"/"+r;return this.post({uri:o,auth:n,headers:i,data:{args:a},context:s})}},{key:"getEventStream",value:function(e){var t=e.deviceId,r=e.name,a=e.org,u=e.product,n=e.auth,i="/v1/";return a&&(i+="orgs/"+a+"/"),u&&(i+="products/"+u+"/"),t&&(i+="devices/","mine"!==t.toLowerCase()&&(i+=t+"/")),i+="events",r&&(i+="/"+encodeURIComponent(r)),n=this._getActiveAuthToken(n),new _EventStream2.default(""+this.baseUrl+i,n).connect()}},{key:"publishEvent",value:function(e){var t=e.name,r=e.data,a=e.isPrivate,u=e.product,n=e.auth,i=e.headers,s=e.context,o=u?"/v1/products/"+u+"/events":"/v1/devices/events",c={name:t,data:r,private:a};return this.post({uri:o,auth:n,headers:i,data:c,context:s})}},{key:"createWebhook",value:function(e){var t=e.event,r=e.url,a=e.device,u=e.rejectUnauthorized,n=e.noDefaults,i=e.hook,s=e.product,o=e.auth,c=e.headers,d=e.context,h=s?"/v1/products/"+s+"/webhooks":"/v1/webhooks",v={event:t,url:r,deviceId:a,rejectUnauthorized:u,noDefaults:n};return i&&(v.requestType=i.method,v.auth=i.auth,v.headers=i.headers,v.query=i.query,v.json=i.json,v.form=i.form,v.body=i.body,v.responseTemplate=i.responseTemplate,v.responseTopic=i.responseEvent,v.errorResponseTopic=i.errorResponseEvent),v.requestType||(v.requestType="POST"),this.post({uri:h,auth:o,headers:c,data:v,context:d})}},{key:"deleteWebhook",value:function(e){var t=e.hookId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/webhooks/"+t:"/v1/webhooks/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listWebhooks",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/webhooks":"/v1/webhooks";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"createIntegration",value:function(e){var t=e.event,r=e.settings,a=e.deviceId,u=e.product,n=e.auth,i=e.headers,s=e.context,o=u?"/v1/products/"+u+"/integrations":"/v1/integrations",c=(0,_assign2.default)({event:t,deviceid:a},r);return this.post({uri:o,data:c,auth:n,headers:i,context:s})}},{key:"editIntegration",value:function(e){var t=e.integrationId,r=e.event,a=e.settings,u=e.deviceId,n=e.product,i=e.auth,s=e.headers,o=e.context,c=n?"/v1/products/"+n+"/integrations/"+t:"/v1/integrations/"+t,d=(0,_assign2.default)({event:r,deviceid:u},a);return this.put({uri:c,auth:i,headers:s,data:d,context:o})}},{key:"deleteIntegration",value:function(e){var t=e.integrationId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/integrations/"+t:"/v1/integrations/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listIntegrations",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/integrations":"/v1/integrations";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"getUserInfo",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/user",auth:t,headers:r,context:a})}},{key:"setUserInfo",value:function(e){var t=e.accountInfo,r=e.auth,a=e.headers,u=e.context,n={account_info:t};return this.put({uri:"/v1/user",auth:r,headers:a,data:n,context:u})}},{key:"changeUsername",value:function(e){var t=e.currentPassword,r=e.username,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,s=e.context,o={username:r,current_password:t};return u&&(o.invalidate_tokens=!0),this.put({uri:"/v1/user",auth:n,headers:i,data:o,context:s})}},{key:"changeUserPassword",value:function(e){var t=e.currentPassword,r=e.password,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,s=e.context,o={password:r,current_password:t};return u&&(o.invalidate_tokens=!0),this.put({uri:"/v1/user",auth:n,headers:i,data:o,context:s})}},{key:"listSIMs",value:function(e){var t=e.iccid,r=e.deviceId,a=e.deviceName,u=e.page,n=e.perPage,i=e.product,s=e.auth,o=e.headers,c=e.context,d=i?"/v1/products/"+i+"/sims":"/v1/sims",h=i?{iccid:t,deviceId:r,deviceName:a,page:u,per_page:n}:void 0;return this.get({uri:d,auth:s,headers:o,query:h,context:c})}},{key:"getSIMDataUsage",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t+"/data_usage":"/v1/sims/"+t+"/data_usage";return this.get({uri:i,auth:a,headers:u,context:n})}},{key:"getFleetDataUsage",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/sims/data_usage",auth:r,headers:a,context:u})}},{key:"checkSIM",value:function(e){var t=e.iccid,r=e.auth,a=e.headers,u=e.context;return this.head({uri:"/v1/sims/"+t,auth:r,headers:a,context:u})}},{key:"activateSIM",value:function(e){var t=e.iccid,r=e.iccids,a=e.country,u=e.promoCode,n=e.product,i=e.auth,s=e.headers,o=e.context;r=r||[t];var c=n?"/v1/products/"+n+"/sims":"/v1/sims/"+t,d=n?{sims:r,country:a}:{country:a,promoCode:u,action:"activate"},h=n?"post":"put";return this.request({uri:c,method:h,headers:s,data:d,auth:i,context:o})}},{key:"deactivateSIM",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t:"/v1/sims/"+t,s={action:"deactivate"};return this.put({uri:i,auth:a,headers:u,data:s,context:n})}},{key:"reactivateSIM",value:function(e){var t=e.iccid,r=e.mbLimit,a=e.product,u=e.auth,n=e.headers,i=e.context,s=a?"/v1/products/"+a+"/sims/"+t:"/v1/sims/"+t,o={mb_limit:r,action:"reactivate"};return this.put({uri:s,auth:u,headers:n,data:o,context:i})}},{key:"updateSIM",value:function(e){var t=e.iccid,r=e.mbLimit,a=e.product,u=e.auth,n=e.headers,i=e.context,s=a?"/v1/products/"+a+"/sims/"+t:"/v1/sims/"+t,o={mb_limit:r};return this.put({uri:s,auth:u,headers:n,data:o,context:i})}},{key:"removeSIM",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t:"/v1/sims/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listBuildTargets",value:function(e){var t=e.onlyFeatured,r=e.auth,a=e.headers,u=e.context,n=t?{featured:!!t}:void 0;return this.get({uri:"/v1/build_targets",auth:r,headers:a,query:n,context:u})}},{key:"listLibraries",value:function(e){var t=e.page,r=e.limit,a=e.filter,u=e.sort,n=e.architectures,i=e.category,s=e.scope,o=e.excludeScopes,c=e.auth,d=e.headers,h=e.context;return this.get({uri:"/v1/libraries",auth:c,headers:d,query:{page:t,filter:a,limit:r,sort:u,architectures:this._asList(n),category:i,scope:s,excludeScopes:this._asList(o)},context:h})}},{key:"_asList",value:function(e){return Array.isArray(e)?e.join(","):e}},{key:"getLibrary",value:function(e){var t=e.name,r=e.version,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/libraries/"+t,auth:a,headers:u,query:{version:r},context:n})}},{key:"getLibraryVersions",value:function(e){var t=e.name,r=e.page,a=e.limit,u=e.auth,n=e.headers,i=e.context;return this.get({uri:"/v1/libraries/"+t+"/versions",auth:u,headers:n,query:{page:r,limit:a},context:i})}},{key:"contributeLibrary",value:function(e){var t=e.archive,r=e.auth,a=e.headers,u=e.context,n={"archive.tar.gz":t};return this.request({uri:"/v1/libraries",method:"post",auth:r,headers:a,files:n,context:u})}},{key:"publishLibrary",value:function(e){var t=e.name,r=e.auth,a=e.headers,u=e.context;return this.request({uri:"/v1/libraries/"+t,method:"patch",auth:r,headers:a,data:{visibility:"public"},context:u})}},{key:"deleteLibrary",value:function(e){var t=e.name,r=e.force,a=e.auth,u=e.headers,n=e.context;return this.delete({uri:"/v1/libraries/"+t,auth:a,headers:u,data:{force:r},context:n})}},{key:"downloadFile",value:function(e){var t=e.uri,r=e.headers,a=e.context,u=this.request({uri:t,method:"get",headers:r,context:a,raw:!0});return this._provideFileData(u)}},{key:"listOAuthClients",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/clients":"/v1/clients";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"createOAuthClient",value:function(e){var t=e.name,r=e.type,a=e.redirect_uri,u=e.scope,n=e.product,i=e.auth,s=e.headers,o=e.context,c=n?"/v1/products/"+n+"/clients":"/v1/clients",d={name:t,type:r,redirect_uri:a,scope:u};return this.post({uri:c,auth:i,headers:s,data:d,context:o})}},{key:"updateOAuthClient",value:function(e){var t=e.clientId,r=e.name,a=e.scope,u=e.product,n=e.auth,i=e.headers,s=e.context,o=u?"/v1/products/"+u+"/clients/"+t:"/v1/clients/"+t,c={name:r,scope:a};return this.put({uri:o,data:c,auth:n,headers:i,context:s})}},{key:"deleteOAuthClient",value:function(e){var t=e.clientId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/clients/"+t:"/v1/clients/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listProducts",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/products",auth:t,headers:r,context:a})}},{key:"getProduct",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t,auth:r,headers:a,context:u})}},{key:"listProductFirmware",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/firmware",auth:r,headers:a,context:u})}},{key:"uploadProductFirmware",value:function(e){var t=e.file,r=e.version,a=e.title,u=e.description,n=e.product,i=e.auth,s=e.headers,o=e.context;return this.request({uri:"/v1/products/"+n+"/firmware",method:"post",auth:i,headers:s,form:{version:r,title:a,description:u},files:{"firmware.bin":t},context:o})}},{key:"getProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/products/"+r+"/firmware/"+t,auth:a,headers:u,context:n})}},{key:"updateProductFirmware",value:function(e){var t=e.version,r=e.title,a=e.description,u=e.product,n=e.auth,i=e.headers,s=e.context,o="/v1/products/"+u+"/firmware/"+t;return this.put({uri:o,auth:n,headers:i,data:{title:r,description:a},context:s})}},{key:"downloadProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context,i=this.request({uri:"/v1/products/"+r+"/firmware/"+t+"/binary",method:"get",auth:a,headers:u,context:n,raw:!0});return this._provideFileData(i)}},{key:"_provideFileData",value:function(e){return e=this.agent.isForBrowser()?e.responseType("arraybuffer").then(function(e){return e.body=e.xhr.response,e}):e.buffer(!0).parse(_superagentBinaryParser2.default),e.then(function(e){return e.body})}},{key:"releaseProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context,i="/v1/products/"+r+"/firmware/release";return this.put({uri:i,auth:a,headers:u,data:{version:t},context:n})}},{key:"listTeamMembers",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/team",auth:r,headers:a,context:u})}},{key:"inviteTeamMember",value:function(e){var t=e.username,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.post({uri:"/v1/products/"+r+"/team",auth:a,headers:u,data:{username:t},context:n})}},{key:"removeTeamMember",value:function(e){var t=e.username,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.delete({uri:"/v1/products/"+r+"/team/"+t,auth:a,headers:u,context:n})}},{key:"lookupSerialNumber",value:function(e){var t=e.serialNumber,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/serial_numbers/"+t,auth:r,headers:a,context:u})}},{key:"createMeshNetwork",value:function(e){var t=e.name,r=e.deviceId,a=e.iccid,u=e.auth,n=e.headers,i=e.context;return this.post({uri:"/v1/networks",auth:u,headers:n,data:{name:t,device_id:r,iccid:a},context:i})}},{key:"removeMeshNetwork",value:function(e){var t=e.networkId,r=e.auth,a=e.headers,u=e.context;return this.delete({uri:"/v1/networks/"+t,auth:r,headers:a,context:u})}},{key:"listMeshNetworks",value:function(e){var t=e.page,r=e.perPage,a=e.auth,u=e.headers,n=e.context,i=t?{page:t,per_page:r}:void 0;return this.get({uri:"/v1/networks",auth:a,headers:u,query:i,context:n})}},{key:"getMeshNetwork",value:function(e){var t=e.networkId,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/networks/"+t,auth:r,headers:a,context:u})}},{key:"updateMeshNetwork",value:function(e){var t=e.networkId,r=e.action,a=e.deviceId,u=e.auth,n=e.headers,i=e.context;return this.put({uri:"/v1/networks/"+t,auth:u,headers:n,data:{action:r,device_id:a},context:i})}},{key:"addMeshNetworkDevice",value:function(e){var t=e.networkId,r=e.deviceId,a=e.auth,u=e.headers,n=e.context;return this.updateMeshNetwork({action:"add-device",networkId:t,deviceId:r,auth:a,headers:u,context:n})}},{key:"removeMeshNetworkDevice",value:function(e){var t=e.networkId,r=e.deviceId,a=e.auth,u=e.headers,n=e.context;return t?this.updateMeshNetwork({action:"remove-device",networkId:t,deviceId:r,auth:a,headers:u,context:n}):this.delete({uri:"/v1/devices/"+r+"/network",auth:a,headers:u,context:n})}},{key:"listMeshNetworkDevices",value:function(e){var t=e.networkId,r=e.role,a=e.page,u=e.perPage,n=e.auth,i=e.headers,s=e.context,o=r||a?{role:r,page:a,per_page:u}:void 0;return this.get({uri:"/v1/networks/"+t+"/devices",auth:n,headers:i,query:o,context:s})}},{key:"getProductConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+r+"/config",auth:t,headers:a,context:u})}},{key:"getProductConfigurationSchema",value:function(e){var t=e.auth,r=e.product,a=e.headers,u=void 0===a?{}:a,n=e.context;return u.accept="application/schema+json",this.get({uri:"/v1/products/"+r+"/config",auth:t,headers:u,context:n})}},{key:"getProductDeviceConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.headers,n=e.context;return this.get({uri:"/v1/products/"+r+"/config/"+a,auth:t,headers:u,context:n})}},{key:"getProductDeviceConfigurationSchema",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.headers,n=e.context;return u.accept="application/schema+json",this.get({uri:"/v1/products/"+r+"/config/"+a,auth:t,headers:u,context:n})}},{key:"setProductConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.config,u=e.headers,n=e.context;return this.put({uri:"/v1/products/"+r+"/config",auth:t,data:a,headers:u,context:n})}},{key:"setProductDeviceConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.config,n=e.headers,i=e.context;return this.put({uri:"/v1/products/"+r+"/config/"+a,data:u,auth:t,headers:n,context:i})}},{key:"getProductLocations",value:function(e){var t=e.auth,r=e.product,a=e.dateRange,u=e.rectBl,n=e.rectTr,i=e.deviceId,s=e.deviceName,o=e.groups,c=e.page,d=e.perPage,h=e.headers,v=e.context;return this.get({uri:"/v1/products/"+r+"/locations",query:{date_range:a,rect_bl:u,rect_tr:n,device_id:i,device_name:s,groups:o,page:c,per_page:d},auth:t,headers:h,context:v})}},{key:"getProductDeviceLocations",value:function(e){var t=e.auth,r=e.product,a=e.dateRange,u=e.rectBl,n=e.rectTr,i=e.deviceId,s=e.headers,o=e.context;return this.get({uri:"/v1/products/"+r+"/locations/"+i,query:{date_range:a,rect_bl:u,rect_tr:n},auth:t,headers:s,context:o})}},{key:"setDefaultAuth",value:function(e){if("string"!=typeof e||0===e.length)throw new Error("Must pass a non-empty string");this._defaultAuth=e}},{key:"_getActiveAuthToken",value:function(e){return e||this._defaultAuth}},{key:"deviceUri",value:function(e){var t=e.deviceId,r=e.product;return r?"/v1/products/"+r+"/devices/"+t:"/v1/devices/"+t}},{key:"get",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.query,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.get({uri:t,auth:r,headers:a,query:u,context:n})}},{key:"head",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.query,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.head({uri:t,auth:r,headers:a,query:u,context:n})}},{key:"post",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.post({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"put",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.put({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"delete",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.delete({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"request",value:function(e){return e.context=this._buildContext(e.context),e.auth=this._getActiveAuthToken(e.auth),this.agent.request(e)}},{key:"client",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new _Client2.default((0,_assign2.default)({api:this},e))}},{key:"setBaseUrl",value:function(e){this.baseUrl=e,this.agent.setBaseUrl(e)}}]),e}();Particle.prototype.removeAccessToken=Particle.prototype.deleteAccessToken,exports.default=Particle,module.exports=exports.default;
+"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _assign=require("babel-runtime/core-js/object/assign"),_assign2=_interopRequireDefault(_assign),_classCallCheck2=require("babel-runtime/helpers/classCallCheck"),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=require("babel-runtime/helpers/createClass"),_createClass3=_interopRequireDefault(_createClass2),_superagentBinaryParser=require("./superagent-binary-parser"),_superagentBinaryParser2=_interopRequireDefault(_superagentBinaryParser),_Defaults=require("./Defaults"),_Defaults2=_interopRequireDefault(_Defaults),_EventStream=require("./EventStream"),_EventStream2=_interopRequireDefault(_EventStream),_Agent=require("./Agent"),_Agent2=_interopRequireDefault(_Agent),_Client=require("./Client"),_Client2=_interopRequireDefault(_Client),Particle=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_classCallCheck3.default)(this,e),t.auth&&this.setDefaultAuth(t.auth),(0,_assign2.default)(this,_Defaults2.default,t),this.context={},this.agent=new _Agent2.default(this.baseUrl)}return(0,_createClass3.default)(e,[{key:"_isValidContext",value:function(e,t){return("tool"===e||"project"===e)&&void 0!==t}},{key:"setContext",value:function(e,t){if(void 0!==t){if(!this._isValidContext(e,t))throw Error("unknown context name or undefined context: "+e);this.context[e]=t}}},{key:"_buildContext",value:function(e){return(0,_assign2.default)(this.context,e)}},{key:"login",value:function(e){var t=e.username,r=e.password,a=e.tokenDuration,u=void 0===a?this.tokenDuration:a,n=e.headers,i=e.context;return this.request({uri:"/oauth/token",method:"post",headers:n,form:{username:t,password:r,grant_type:"password",client_id:this.clientId,client_secret:this.clientSecret,expires_in:u},context:i})}},{key:"sendOtp",value:function(e){var t=e.mfaToken,r=e.otp,a=e.headers,u=e.context;return this.request({uri:"/oauth/token",method:"post",headers:a,form:{grant_type:"urn:custom:mfa-otp",mfa_token:t,otp:r,client_id:this.clientId,client_secret:this.clientSecret},context:u})}},{key:"enableMfa",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/user/mfa-enable",auth:t,headers:r,context:a})}},{key:"confirmMfa",value:function(e){var t=e.mfaToken,r=e.otp,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,o=e.context,s={mfa_token:t,otp:r};return u&&(s.invalidate_tokens=!0),this.post({uri:"/v1/user/mfa-enable",auth:n,headers:i,data:s,context:o})}},{key:"disableMfa",value:function(e){var t=e.currentPassword,r=e.auth,a=e.headers,u=e.context;return this.put({uri:"/v1/user/mfa-disable",auth:r,headers:a,data:{current_password:t},context:u})}},{key:"createCustomer",value:function(e){var t=e.email,r=e.password,a=e.product,u=e.headers,n=e.context;return this.request({uri:"/v1/products/"+a+"/customers",method:"post",headers:u,form:{email:t,password:r,grant_type:"client_credentials",client_id:this.clientId,client_secret:this.clientSecret},context:n})}},{key:"loginAsClientOwner",value:function(e){var t=e.headers,r=e.context;return this.request({uri:"/oauth/token",method:"post",headers:t,form:{grant_type:"client_credentials",client_id:this.clientId,client_secret:this.clientSecret},context:r})}},{key:"createUser",value:function(e){var t=e.username,r=e.password,a=e.accountInfo,u=e.headers,n=e.context;return this.post({uri:"/v1/users",headers:u,data:{username:t,password:r,account_info:a},context:n})}},{key:"verifyUser",value:function(e){var t=e.token,r=e.headers,a=e.context;return this.post({uri:"/v1/user/verify",headers:r,data:{token:t},context:a})}},{key:"resetPassword",value:function(e){var t=e.username,r=e.headers,a=e.context;return this.post({uri:"/v1/user/password-reset",headers:r,data:{username:t},context:a})}},{key:"deleteAccessToken",value:function(e){var t=e.username,r=e.password,a=e.token,u=e.headers,n=e.context;return this.delete({uri:"/v1/access_tokens/"+a,auth:{username:t,password:r},headers:u,data:{access_token:a},context:n})}},{key:"deleteCurrentAccessToken",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.delete({uri:"/v1/access_tokens/current",auth:t,headers:r,context:a})}},{key:"deleteActiveAccessTokens",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.delete({uri:"/v1/access_tokens",auth:t,headers:r,context:a})}},{key:"deleteUser",value:function(e){var t=e.auth,r=e.password,a=e.headers,u=e.context;return this.delete({uri:"/v1/user",data:{password:r},auth:t,headers:a,context:u})}},{key:"listAccessTokens",value:function(e){var t=e.username,r=e.password,a=e.otp,u=e.headers,n=e.context;return this.get({uri:"/v1/access_tokens",auth:{username:t,password:r},query:a?{otp:a}:void 0,headers:u,context:n})}},{key:"trackingIdentity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.full,r=void 0!==t&&t,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/user/identify",auth:a,headers:u,query:r?void 0:{tracking:1},context:n})}},{key:"listDevices",value:function(e){var t=e.deviceId,r=e.deviceName,a=e.groups,u=e.sortAttr,n=e.sortDir,i=e.page,o=e.perPage,s=e.product,c=e.auth,d=e.headers,h=e.context,v=void 0,l=void 0;return s?(v="/v1/products/"+s+"/devices",a=Array.isArray(a)?a.join(","):void 0,l={deviceId:t,deviceName:r,groups:a,sortAttr:u,sortDir:n,page:i,per_page:o}):v="/v1/devices",this.get({uri:v,auth:c,headers:d,query:l,context:h})}},{key:"getDevice",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=this.deviceUri({deviceId:t,product:r});return this.get({uri:i,auth:a,headers:u,context:n})}},{key:"claimDevice",value:function(e){var t=e.deviceId,r=e.requestTransfer,a=e.auth,u=e.headers,n=e.context;return this.post({uri:"/v1/devices",auth:a,headers:u,data:{id:t,request_transfer:!!r},context:n})}},{key:"addDeviceToProduct",value:function(e){var t=e.deviceId,r=e.product,a=e.file,u=e.auth,n=e.headers,i=e.context,o=void 0,s=void 0;return a?o={file:a}:t&&(s={id:t}),this.request({uri:"/v1/products/"+r+"/devices",method:"post",headers:n,data:s,files:o,auth:u,context:i})}},{key:"removeDevice",value:function(e){var t=e.deviceId,r=e.deny,a=e.product,u=e.auth,n=e.headers,i=e.context,o=this.deviceUri({deviceId:t,product:a}),s=a?{deny:r}:void 0;return this.delete({uri:o,data:s,auth:u,headers:n,context:i})}},{key:"removeDeviceOwner",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context,i="/v1/products/"+r+"/devices/"+t+"/owner";return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"renameDevice",value:function(e){var t=e.deviceId,r=e.name,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,name:r,product:a,auth:u,headers:n,context:i})}},{key:"signalDevice",value:function(e){var t=e.deviceId,r=e.signal,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,signal:r,product:a,auth:u,headers:n,context:i})}},{key:"setDeviceNotes",value:function(e){var t=e.deviceId,r=e.notes,a=e.product,u=e.auth,n=e.headers,i=e.context;return this.updateDevice({deviceId:t,notes:r,product:a,auth:u,headers:n,context:i})}},{key:"markAsDevelopmentDevice",value:function(e){var t=e.deviceId,r=e.development,a=void 0===r||r,u=e.product,n=e.auth,i=e.headers,o=e.context;return this.updateDevice({deviceId:t,development:a,product:u,auth:n,headers:i,context:o})}},{key:"lockDeviceProductFirmware",value:function(e){var t=e.deviceId,r=e.desiredFirmwareVersion,a=e.flash,u=e.product,n=e.auth,i=e.context;return this.updateDevice({deviceId:t,desiredFirmwareVersion:r,flash:a,product:u,auth:n,context:i})}},{key:"unlockDeviceProductFirmware",value:function(e){var t=e.deviceId,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.updateDevice({deviceId:t,desiredFirmwareVersion:null,product:r,auth:a,headers:u,context:n})}},{key:"updateDevice",value:function(e){var t=e.deviceId,r=e.name,a=e.signal,u=e.notes,n=e.development,i=e.desiredFirmwareVersion,o=e.flash,s=e.product,c=e.auth,d=e.headers,h=e.context;void 0!==a&&(a=a?"1":"0");var v=this.deviceUri({deviceId:t,product:s}),l=s?{name:r,signal:a,notes:u,development:n,desired_firmware_version:i,flash:o}:{name:r,signal:a,notes:u};return this.put({uri:v,auth:c,headers:d,data:l,context:h})}},{key:"provisionDevice",value:function(e){var t=e.productId,r=e.auth,a=e.headers,u=e.context;return this.post({uri:"/v1/devices",auth:r,headers:a,data:{product_id:t},context:u})}},{key:"getClaimCode",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/device_claims":"/v1/device_claims";return this.post({uri:i,auth:a,headers:u,data:{iccid:t},context:n})}},{key:"validatePromoCode",value:function(e){var t=e.promoCode,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/promo_code/"+t,auth:r,headers:a,context:u})}},{key:"changeProduct",value:function(e){var t=e.deviceId,r=e.productId,a=e.auth,u=e.headers,n=e.context;return this.put({uri:"/v1/devices/"+t,auth:a,headers:u,data:{product_id:r},context:n})}},{key:"getVariable",value:function(e){var t=e.deviceId,r=e.name,a=e.product,u=e.auth,n=e.headers,i=e.context,o=a?"/v1/products/"+a+"/devices/"+t+"/"+r:"/v1/devices/"+t+"/"+r;return this.get({uri:o,auth:u,headers:n,context:i})}},{key:"flashDevice",value:function(e){var t=e.deviceId,r=e.product,a=e.files,u=e.targetVersion,n=e.auth,i=e.headers,o=e.context,s=this.deviceUri({deviceId:t,product:r}),c={};return u?c.build_target_version=u:c.latest="true",this.request({uri:s,method:"put",auth:n,headers:i,files:a,form:c,context:o})}},{key:"flashTinker",value:function(e){var t=e.deviceId,r=e.auth,a=e.headers,u=e.context;return console&&console.warning&&console.warning("Particle.flashTinker is deprecated"),this.put({uri:"/v1/devices/"+t,headers:a,data:{app:"tinker"},auth:r,context:u})}},{key:"compileCode",value:function(e){var t=e.files,r=e.platformId,a=e.targetVersion,u=e.auth,n=e.headers,i=e.context,o={platform_id:r};return a?o.build_target_version=a:o.latest="true",this.request({uri:"/v1/binaries",method:"post",auth:u,headers:n,files:t,form:o,context:i})}},{key:"downloadFirmwareBinary",value:function(e){var t=e.binaryId,r=e.auth,a=e.headers,u=e.context,n=this.request({uri:"/v1/binaries/"+t,method:"get",auth:r,headers:a,context:u,raw:!0});return this._provideFileData(n)}},{key:"sendPublicKey",value:function(e){var t=e.deviceId,r=e.key,a=e.algorithm,u=e.auth,n=e.headers,i=e.context;return this.post({uri:"/v1/provisioning/"+t,auth:u,headers:n,data:{deviceID:t,publicKey:"string"==typeof r?r:r.toString(),filename:"particle-api",order:"manual_"+Date.now(),algorithm:a||"rsa"},context:i})}},{key:"callFunction",value:function(e){var t=e.deviceId,r=e.name,a=e.argument,u=e.product,n=e.auth,i=e.headers,o=e.context,s=u?"/v1/products/"+u+"/devices/"+t+"/"+r:"/v1/devices/"+t+"/"+r;return this.post({uri:s,auth:n,headers:i,data:{args:a},context:o})}},{key:"getEventStream",value:function(e){var t=e.deviceId,r=e.name,a=e.org,u=e.product,n=e.auth,i="/v1/";return a&&(i+="orgs/"+a+"/"),u&&(i+="products/"+u+"/"),t&&(i+="devices/","mine"!==t.toLowerCase()&&(i+=t+"/")),i+="events",r&&(i+="/"+encodeURIComponent(r)),n=this._getActiveAuthToken(n),new _EventStream2.default(""+this.baseUrl+i,n).connect()}},{key:"publishEvent",value:function(e){var t=e.name,r=e.data,a=e.isPrivate,u=e.product,n=e.auth,i=e.headers,o=e.context,s=u?"/v1/products/"+u+"/events":"/v1/devices/events",c={name:t,data:r,private:a};return this.post({uri:s,auth:n,headers:i,data:c,context:o})}},{key:"createWebhook",value:function(e){var t=e.event,r=e.url,a=e.device,u=e.rejectUnauthorized,n=e.noDefaults,i=e.hook,o=e.product,s=e.auth,c=e.headers,d=e.context,h=o?"/v1/products/"+o+"/webhooks":"/v1/webhooks",v={event:t,url:r,deviceId:a,rejectUnauthorized:u,noDefaults:n};return i&&(v.requestType=i.method,v.auth=i.auth,v.headers=i.headers,v.query=i.query,v.json=i.json,v.form=i.form,v.body=i.body,v.responseTemplate=i.responseTemplate,v.responseTopic=i.responseEvent,v.errorResponseTopic=i.errorResponseEvent),v.requestType||(v.requestType="POST"),this.post({uri:h,auth:s,headers:c,data:v,context:d})}},{key:"deleteWebhook",value:function(e){var t=e.hookId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/webhooks/"+t:"/v1/webhooks/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listWebhooks",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/webhooks":"/v1/webhooks";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"createIntegration",value:function(e){var t=e.event,r=e.settings,a=e.deviceId,u=e.product,n=e.auth,i=e.headers,o=e.context,s=u?"/v1/products/"+u+"/integrations":"/v1/integrations",c=(0,_assign2.default)({event:t,deviceid:a},r);return this.post({uri:s,data:c,auth:n,headers:i,context:o})}},{key:"editIntegration",value:function(e){var t=e.integrationId,r=e.event,a=e.settings,u=e.deviceId,n=e.product,i=e.auth,o=e.headers,s=e.context,c=n?"/v1/products/"+n+"/integrations/"+t:"/v1/integrations/"+t,d=(0,_assign2.default)({event:r,deviceid:u},a);return this.put({uri:c,auth:i,headers:o,data:d,context:s})}},{key:"deleteIntegration",value:function(e){var t=e.integrationId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/integrations/"+t:"/v1/integrations/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listIntegrations",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/integrations":"/v1/integrations";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"getUserInfo",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/user",auth:t,headers:r,context:a})}},{key:"setUserInfo",value:function(e){var t=e.accountInfo,r=e.auth,a=e.headers,u=e.context,n={account_info:t};return this.put({uri:"/v1/user",auth:r,headers:a,data:n,context:u})}},{key:"changeUsername",value:function(e){var t=e.currentPassword,r=e.username,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,o=e.context,s={username:r,current_password:t};return u&&(s.invalidate_tokens=!0),this.put({uri:"/v1/user",auth:n,headers:i,data:s,context:o})}},{key:"changeUserPassword",value:function(e){var t=e.currentPassword,r=e.password,a=e.invalidateTokens,u=void 0!==a&&a,n=e.auth,i=e.headers,o=e.context,s={password:r,current_password:t};return u&&(s.invalidate_tokens=!0),this.put({uri:"/v1/user",auth:n,headers:i,data:s,context:o})}},{key:"listSIMs",value:function(e){var t=e.iccid,r=e.deviceId,a=e.deviceName,u=e.page,n=e.perPage,i=e.product,o=e.auth,s=e.headers,c=e.context,d=i?"/v1/products/"+i+"/sims":"/v1/sims",h=i?{iccid:t,deviceId:r,deviceName:a,page:u,per_page:n}:void 0;return this.get({uri:d,auth:o,headers:s,query:h,context:c})}},{key:"getSIMDataUsage",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t+"/data_usage":"/v1/sims/"+t+"/data_usage";return this.get({uri:i,auth:a,headers:u,context:n})}},{key:"getFleetDataUsage",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/sims/data_usage",auth:r,headers:a,context:u})}},{key:"checkSIM",value:function(e){var t=e.iccid,r=e.auth,a=e.headers,u=e.context;return this.head({uri:"/v1/sims/"+t,auth:r,headers:a,context:u})}},{key:"activateSIM",value:function(e){var t=e.iccid,r=e.iccids,a=e.country,u=e.promoCode,n=e.product,i=e.auth,o=e.headers,s=e.context;r=r||[t];var c=n?"/v1/products/"+n+"/sims":"/v1/sims/"+t,d=n?{sims:r,country:a}:{country:a,promoCode:u,action:"activate"},h=n?"post":"put";return this.request({uri:c,method:h,headers:o,data:d,auth:i,context:s})}},{key:"deactivateSIM",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t:"/v1/sims/"+t,o={action:"deactivate"};return this.put({uri:i,auth:a,headers:u,data:o,context:n})}},{key:"reactivateSIM",value:function(e){var t=e.iccid,r=e.mbLimit,a=e.product,u=e.auth,n=e.headers,i=e.context,o=a?"/v1/products/"+a+"/sims/"+t:"/v1/sims/"+t,s={mb_limit:r,action:"reactivate"};return this.put({uri:o,auth:u,headers:n,data:s,context:i})}},{key:"updateSIM",value:function(e){var t=e.iccid,r=e.mbLimit,a=e.product,u=e.auth,n=e.headers,i=e.context,o=a?"/v1/products/"+a+"/sims/"+t:"/v1/sims/"+t,s={mb_limit:r};return this.put({uri:o,auth:u,headers:n,data:s,context:i})}},{key:"removeSIM",value:function(e){var t=e.iccid,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/sims/"+t:"/v1/sims/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listBuildTargets",value:function(e){var t=e.onlyFeatured,r=e.auth,a=e.headers,u=e.context,n=t?{featured:!!t}:void 0;return this.get({uri:"/v1/build_targets",auth:r,headers:a,query:n,context:u})}},{key:"listLibraries",value:function(e){var t=e.page,r=e.limit,a=e.filter,u=e.sort,n=e.architectures,i=e.category,o=e.scope,s=e.excludeScopes,c=e.auth,d=e.headers,h=e.context;return this.get({uri:"/v1/libraries",auth:c,headers:d,query:{page:t,filter:a,limit:r,sort:u,architectures:this._asList(n),category:i,scope:o,excludeScopes:this._asList(s)},context:h})}},{key:"_asList",value:function(e){return Array.isArray(e)?e.join(","):e}},{key:"getLibrary",value:function(e){var t=e.name,r=e.version,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/libraries/"+t,auth:a,headers:u,query:{version:r},context:n})}},{key:"getLibraryVersions",value:function(e){var t=e.name,r=e.page,a=e.limit,u=e.auth,n=e.headers,i=e.context;return this.get({uri:"/v1/libraries/"+t+"/versions",auth:u,headers:n,query:{page:r,limit:a},context:i})}},{key:"contributeLibrary",value:function(e){var t=e.archive,r=e.auth,a=e.headers,u=e.context,n={"archive.tar.gz":t};return this.request({uri:"/v1/libraries",method:"post",auth:r,headers:a,files:n,context:u})}},{key:"publishLibrary",value:function(e){var t=e.name,r=e.auth,a=e.headers,u=e.context;return this.request({uri:"/v1/libraries/"+t,method:"patch",auth:r,headers:a,data:{visibility:"public"},context:u})}},{key:"deleteLibrary",value:function(e){var t=e.name,r=e.force,a=e.auth,u=e.headers,n=e.context;return this.delete({uri:"/v1/libraries/"+t,auth:a,headers:u,data:{force:r},context:n})}},{key:"downloadFile",value:function(e){var t=e.uri,r=e.headers,a=e.context,u=this.request({uri:t,method:"get",headers:r,context:a,raw:!0});return this._provideFileData(u)}},{key:"listOAuthClients",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context,n=t?"/v1/products/"+t+"/clients":"/v1/clients";return this.get({uri:n,auth:r,headers:a,context:u})}},{key:"createOAuthClient",value:function(e){var t=e.name,r=e.type,a=e.redirect_uri,u=e.scope,n=e.product,i=e.auth,o=e.headers,s=e.context,c=n?"/v1/products/"+n+"/clients":"/v1/clients",d={name:t,type:r,redirect_uri:a,scope:u};return this.post({uri:c,auth:i,headers:o,data:d,context:s})}},{key:"updateOAuthClient",value:function(e){var t=e.clientId,r=e.name,a=e.scope,u=e.product,n=e.auth,i=e.headers,o=e.context,s=u?"/v1/products/"+u+"/clients/"+t:"/v1/clients/"+t,c={name:r,scope:a};return this.put({uri:s,data:c,auth:n,headers:i,context:o})}},{key:"deleteOAuthClient",value:function(e){var t=e.clientId,r=e.product,a=e.auth,u=e.headers,n=e.context,i=r?"/v1/products/"+r+"/clients/"+t:"/v1/clients/"+t;return this.delete({uri:i,auth:a,headers:u,context:n})}},{key:"listProducts",value:function(e){var t=e.auth,r=e.headers,a=e.context;return this.get({uri:"/v1/products",auth:t,headers:r,context:a})}},{key:"getProduct",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t,auth:r,headers:a,context:u})}},{key:"listProductFirmware",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/firmware",auth:r,headers:a,context:u})}},{key:"uploadProductFirmware",value:function(e){var t=e.file,r=e.version,a=e.title,u=e.description,n=e.product,i=e.auth,o=e.headers,s=e.context;return this.request({uri:"/v1/products/"+n+"/firmware",method:"post",auth:i,headers:o,form:{version:r,title:a,description:u},files:{"firmware.bin":t},context:s})}},{key:"getProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.get({uri:"/v1/products/"+r+"/firmware/"+t,auth:a,headers:u,context:n})}},{key:"updateProductFirmware",value:function(e){var t=e.version,r=e.title,a=e.description,u=e.product,n=e.auth,i=e.headers,o=e.context,s="/v1/products/"+u+"/firmware/"+t;return this.put({uri:s,auth:n,headers:i,data:{title:r,description:a},context:o})}},{key:"downloadProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context,i=this.request({uri:"/v1/products/"+r+"/firmware/"+t+"/binary",method:"get",auth:a,headers:u,context:n,raw:!0});return this._provideFileData(i)}},{key:"_provideFileData",value:function(e){return e=this.agent.isForBrowser()?e.responseType("arraybuffer").then(function(e){return e.body=e.xhr.response,e}):e.buffer(!0).parse(_superagentBinaryParser2.default),e.then(function(e){return e.body})}},{key:"releaseProductFirmware",value:function(e){var t=e.version,r=e.product,a=e.auth,u=e.headers,n=e.context,i="/v1/products/"+r+"/firmware/release";return this.put({uri:i,auth:a,headers:u,data:{version:t},context:n})}},{key:"listTeamMembers",value:function(e){var t=e.product,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+t+"/team",auth:r,headers:a,context:u})}},{key:"inviteTeamMember",value:function(e){var t=e.username,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.post({uri:"/v1/products/"+r+"/team",auth:a,headers:u,data:{username:t},context:n})}},{key:"removeTeamMember",value:function(e){var t=e.username,r=e.product,a=e.auth,u=e.headers,n=e.context;return this.delete({uri:"/v1/products/"+r+"/team/"+t,auth:a,headers:u,context:n})}},{key:"lookupSerialNumber",value:function(e){var t=e.serialNumber,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/serial_numbers/"+t,auth:r,headers:a,context:u})}},{key:"createMeshNetwork",value:function(e){var t=e.name,r=e.deviceId,a=e.iccid,u=e.auth,n=e.headers,i=e.context;return this.post({uri:"/v1/networks",auth:u,headers:n,data:{name:t,device_id:r,iccid:a},context:i})}},{key:"removeMeshNetwork",value:function(e){var t=e.networkId,r=e.auth,a=e.headers,u=e.context;return this.delete({uri:"/v1/networks/"+t,auth:r,headers:a,context:u})}},{key:"listMeshNetworks",value:function(e){var t=e.page,r=e.perPage,a=e.auth,u=e.headers,n=e.context,i=t?{page:t,per_page:r}:void 0;return this.get({uri:"/v1/networks",auth:a,headers:u,query:i,context:n})}},{key:"getMeshNetwork",value:function(e){var t=e.networkId,r=e.auth,a=e.headers,u=e.context;return this.get({uri:"/v1/networks/"+t,auth:r,headers:a,context:u})}},{key:"updateMeshNetwork",value:function(e){var t=e.networkId,r=e.action,a=e.deviceId,u=e.auth,n=e.headers,i=e.context;return this.put({uri:"/v1/networks/"+t,auth:u,headers:n,data:{action:r,device_id:a},context:i})}},{key:"addMeshNetworkDevice",value:function(e){var t=e.networkId,r=e.deviceId,a=e.auth,u=e.headers,n=e.context;return this.updateMeshNetwork({action:"add-device",networkId:t,deviceId:r,auth:a,headers:u,context:n})}},{key:"removeMeshNetworkDevice",value:function(e){var t=e.networkId,r=e.deviceId,a=e.auth,u=e.headers,n=e.context;return t?this.updateMeshNetwork({action:"remove-device",networkId:t,deviceId:r,auth:a,headers:u,context:n}):this.delete({uri:"/v1/devices/"+r+"/network",auth:a,headers:u,context:n})}},{key:"listMeshNetworkDevices",value:function(e){var t=e.networkId,r=e.role,a=e.page,u=e.perPage,n=e.auth,i=e.headers,o=e.context,s=r||a?{role:r,page:a,per_page:u}:void 0;return this.get({uri:"/v1/networks/"+t+"/devices",auth:n,headers:i,query:s,context:o})}},{key:"getProductConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.headers,u=e.context;return this.get({uri:"/v1/products/"+r+"/config",auth:t,headers:a,context:u})}},{key:"getProductConfigurationSchema",value:function(e){var t=e.auth,r=e.product,a=e.headers,u=void 0===a?{}:a,n=e.context;return u.accept="application/schema+json",this.get({uri:"/v1/products/"+r+"/config",auth:t,headers:u,context:n})}},{key:"getProductDeviceConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.headers,n=e.context;return this.get({uri:"/v1/products/"+r+"/config/"+a,auth:t,headers:u,context:n})}},{key:"getProductDeviceConfigurationSchema",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.headers,n=e.context;return u.accept="application/schema+json",this.get({uri:"/v1/products/"+r+"/config/"+a,auth:t,headers:u,context:n})}},{key:"setProductConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.config,u=e.headers,n=e.context;return this.put({uri:"/v1/products/"+r+"/config",auth:t,data:a,headers:u,context:n})}},{key:"setProductDeviceConfiguration",value:function(e){var t=e.auth,r=e.product,a=e.deviceId,u=e.config,n=e.headers,i=e.context;return this.put({uri:"/v1/products/"+r+"/config/"+a,data:u,auth:t,headers:n,context:i})}},{key:"getProductLocations",value:function(e){var t=e.auth,r=e.product,a=e.dateRange,u=e.rectBl,n=e.rectTr,i=e.deviceId,o=e.deviceName,s=e.groups,c=e.page,d=e.perPage,h=e.headers,v=e.context;return this.get({uri:"/v1/products/"+r+"/locations",query:{date_range:a,rect_bl:u,rect_tr:n,device_id:i,device_name:o,groups:s,page:c,per_page:d},auth:t,headers:h,context:v})}},{key:"getProductDeviceLocations",value:function(e){var t=e.auth,r=e.product,a=e.dateRange,u=e.rectBl,n=e.rectTr,i=e.deviceId,o=e.headers,s=e.context;return this.get({uri:"/v1/products/"+r+"/locations/"+i,query:{date_range:a,rect_bl:u,rect_tr:n},auth:t,headers:o,context:s})}},{key:"createLogicBlock",value:function(e){var t=e.auth,r=e.org,a=e.block,u=e.headers,n=e.context;return this.post({uri:"/v1/orgs/"+r+"/block",auth:t,data:{block:a},headers:u,context:n})}},{key:"getLogicBlock",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.headers,n=e.context;return this.get({uri:"/v1/orgs/"+r+"/block/"+a,auth:t,headers:u,context:n})}},{key:"updateLogicBlock",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.block,n=e.headers,i=e.context;return this.put({uri:"/v1/orgs/"+r+"/block/"+a,auth:t,data:{block:u},headers:n,context:i})}},{key:"patchLogicBlock",value:function(e){var t=e.auth,r=e.org,a=e.blockName,u=e.block,n=e.headers,i=e.context;return this.post({uri:"/v1/orgs/"+r+"/block/"+a,auth:t,data:{block:u},headers:n,context:i})}},{key:"deleteLogicBlock",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.headers,n=e.context;return this.delete({uri:"/v1/orgs/"+r+"/block/"+a,auth:t,headers:u,context:n})}},{key:"listLogicBlocks",value:function(e){var t=e.auth,r=e.org,a=e.headers,u=e.context;return this.get({uri:"/v1/orgs/"+r+"/block",auth:t,headers:a,context:u})}},{key:"listBlockRuns",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.headers,n=e.context;return this.get({uri:"/v1/orgs/"+r+"/block/"+a+"/run",auth:t,headers:u,context:n})}},{key:"getBlockRun",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.runId,n=e.headers,i=e.context;return this.get({uri:"/v1/orgs/"+r+"/block/"+a+"/run/"+u,auth:t,headers:n,context:i})}},{key:"getBlockRunLog",value:function(e){var t=e.auth,r=e.org,a=e.blockId,u=e.runId,n=e.headers,i=e.context;return this.get({uri:"/v1/orgs/"+r+"/block/"+a+"/run/"+u+"/logs",auth:t,headers:n,context:i})}},{key:"setDefaultAuth",value:function(e){if("string"!=typeof e||0===e.length)throw new Error("Must pass a non-empty string");this._defaultAuth=e}},{key:"_getActiveAuthToken",value:function(e){return e||this._defaultAuth}},{key:"deviceUri",value:function(e){var t=e.deviceId,r=e.product;return r?"/v1/products/"+r+"/devices/"+t:"/v1/devices/"+t}},{key:"get",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.query,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.get({uri:t,auth:r,headers:a,query:u,context:n})}},{key:"head",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.query,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.head({uri:t,auth:r,headers:a,query:u,context:n})}},{key:"post",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.post({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"put",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.put({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"delete",value:function(e){var t=e.uri,r=e.auth,a=e.headers,u=e.data,n=e.context;return n=this._buildContext(n),r=this._getActiveAuthToken(r),this.agent.delete({uri:t,auth:r,headers:a,data:u,context:n})}},{key:"request",value:function(e){return e.context=this._buildContext(e.context),e.auth=this._getActiveAuthToken(e.auth),this.agent.request(e)}},{key:"client",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new _Client2.default((0,_assign2.default)({api:this},e))}},{key:"setBaseUrl",value:function(e){this.baseUrl=e,this.agent.setBaseUrl(e)}}]),e}();Particle.prototype.removeAccessToken=Particle.prototype.deleteAccessToken,exports.default=Particle,module.exports=exports.default;
},{"./Agent":1,"./Client":2,"./Defaults":3,"./EventStream":4,"./superagent-binary-parser":7,"babel-runtime/core-js/object/assign":10,"babel-runtime/helpers/classCallCheck":20,"babel-runtime/helpers/createClass":21}],7:[function(require,module,exports){
(function (Buffer){
"use strict";function binaryParser(e,r){var t=[];e.on("data",function(e){return t.push(e)}),e.on("end",function(){return r(null,Buffer.concat(t))})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=binaryParser,module.exports=exports.default;
diff --git a/dist/particle.min.js.map b/dist/particle.min.js.map
index 051a194..6c3a8c4 100644
--- a/dist/particle.min.js.map
+++ b/dist/particle.min.js.map
@@ -1 +1 @@
-{"version":3,"sources":["node_modules/browser-pack/_prelude.js","lib/Agent.js","lib/Client.js","lib/Defaults.js","lib/EventStream.js","lib/Library.js","lib/Particle.js","lib/superagent-binary-parser.js","node_modules/babel-runtime/core-js/get-iterator.js","node_modules/babel-runtime/core-js/is-iterable.js","node_modules/babel-runtime/core-js/object/assign.js","node_modules/babel-runtime/core-js/object/create.js","node_modules/babel-runtime/core-js/object/define-property.js","node_modules/babel-runtime/core-js/object/entries.js","node_modules/babel-runtime/core-js/object/get-prototype-of.js","node_modules/babel-runtime/core-js/object/keys.js","node_modules/babel-runtime/core-js/object/set-prototype-of.js","node_modules/babel-runtime/core-js/promise.js","node_modules/babel-runtime/core-js/symbol.js","node_modules/babel-runtime/core-js/symbol/iterator.js","node_modules/babel-runtime/helpers/classCallCheck.js","node_modules/babel-runtime/helpers/createClass.js","node_modules/babel-runtime/helpers/inherits.js","node_modules/babel-runtime/helpers/possibleConstructorReturn.js","node_modules/babel-runtime/helpers/slicedToArray.js","node_modules/babel-runtime/helpers/typeof.js","node_modules/base64-js/index.js","node_modules/buffer/index.js","node_modules/builtin-status-codes/browser.js","node_modules/core-js/library/fn/get-iterator.js","node_modules/core-js/library/fn/is-iterable.js","node_modules/core-js/library/fn/object/assign.js","node_modules/core-js/library/fn/object/create.js","node_modules/core-js/library/fn/object/define-property.js","node_modules/core-js/library/fn/object/entries.js","node_modules/core-js/library/fn/object/get-prototype-of.js","node_modules/core-js/library/fn/object/keys.js","node_modules/core-js/library/fn/object/set-prototype-of.js","node_modules/core-js/library/fn/promise.js","node_modules/core-js/library/fn/symbol/index.js","node_modules/core-js/library/fn/symbol/iterator.js","node_modules/core-js/library/modules/_a-function.js","node_modules/core-js/library/modules/_add-to-unscopables.js","node_modules/core-js/library/modules/_an-instance.js","node_modules/core-js/library/modules/_an-object.js","node_modules/core-js/library/modules/_array-includes.js","node_modules/core-js/library/modules/_classof.js","node_modules/core-js/library/modules/_cof.js","node_modules/core-js/library/modules/_core.js","node_modules/core-js/library/modules/_ctx.js","node_modules/core-js/library/modules/_defined.js","node_modules/core-js/library/modules/_descriptors.js","node_modules/core-js/library/modules/_dom-create.js","node_modules/core-js/library/modules/_enum-bug-keys.js","node_modules/core-js/library/modules/_enum-keys.js","node_modules/core-js/library/modules/_export.js","node_modules/core-js/library/modules/_fails.js","node_modules/core-js/library/modules/_for-of.js","node_modules/core-js/library/modules/_global.js","node_modules/core-js/library/modules/_has.js","node_modules/core-js/library/modules/_hide.js","node_modules/core-js/library/modules/_html.js","node_modules/core-js/library/modules/_ie8-dom-define.js","node_modules/core-js/library/modules/_invoke.js","node_modules/core-js/library/modules/_iobject.js","node_modules/core-js/library/modules/_is-array-iter.js","node_modules/core-js/library/modules/_is-array.js","node_modules/core-js/library/modules/_is-object.js","node_modules/core-js/library/modules/_iter-call.js","node_modules/core-js/library/modules/_iter-create.js","node_modules/core-js/library/modules/_iter-define.js","node_modules/core-js/library/modules/_iter-detect.js","node_modules/core-js/library/modules/_iter-step.js","node_modules/core-js/library/modules/_iterators.js","node_modules/core-js/library/modules/_library.js","node_modules/core-js/library/modules/_meta.js","node_modules/core-js/library/modules/_microtask.js","node_modules/core-js/library/modules/_new-promise-capability.js","node_modules/core-js/library/modules/_object-assign.js","node_modules/core-js/library/modules/_object-create.js","node_modules/core-js/library/modules/_object-dp.js","node_modules/core-js/library/modules/_object-dps.js","node_modules/core-js/library/modules/_object-gopd.js","node_modules/core-js/library/modules/_object-gopn-ext.js","node_modules/core-js/library/modules/_object-gopn.js","node_modules/core-js/library/modules/_object-gops.js","node_modules/core-js/library/modules/_object-gpo.js","node_modules/core-js/library/modules/_object-keys-internal.js","node_modules/core-js/library/modules/_object-keys.js","node_modules/core-js/library/modules/_object-pie.js","node_modules/core-js/library/modules/_object-sap.js","node_modules/core-js/library/modules/_object-to-array.js","node_modules/core-js/library/modules/_perform.js","node_modules/core-js/library/modules/_promise-resolve.js","node_modules/core-js/library/modules/_property-desc.js","node_modules/core-js/library/modules/_redefine-all.js","node_modules/core-js/library/modules/_redefine.js","node_modules/core-js/library/modules/_set-proto.js","node_modules/core-js/library/modules/_set-species.js","node_modules/core-js/library/modules/_set-to-string-tag.js","node_modules/core-js/library/modules/_shared-key.js","node_modules/core-js/library/modules/_shared.js","node_modules/core-js/library/modules/_species-constructor.js","node_modules/core-js/library/modules/_string-at.js","node_modules/core-js/library/modules/_task.js","node_modules/core-js/library/modules/_to-absolute-index.js","node_modules/core-js/library/modules/_to-integer.js","node_modules/core-js/library/modules/_to-iobject.js","node_modules/core-js/library/modules/_to-length.js","node_modules/core-js/library/modules/_to-object.js","node_modules/core-js/library/modules/_to-primitive.js","node_modules/core-js/library/modules/_uid.js","node_modules/core-js/library/modules/_wks-define.js","node_modules/core-js/library/modules/_wks-ext.js","node_modules/core-js/library/modules/_wks.js","node_modules/core-js/library/modules/core.get-iterator-method.js","node_modules/core-js/library/modules/core.get-iterator.js","node_modules/core-js/library/modules/core.is-iterable.js","node_modules/core-js/library/modules/es6.array.iterator.js","node_modules/core-js/library/modules/es6.object.assign.js","node_modules/core-js/library/modules/es6.object.create.js","node_modules/core-js/library/modules/es6.object.define-property.js","node_modules/core-js/library/modules/es6.object.get-prototype-of.js","node_modules/core-js/library/modules/es6.object.keys.js","node_modules/core-js/library/modules/es6.object.set-prototype-of.js","node_modules/core-js/library/modules/es6.promise.js","node_modules/core-js/library/modules/es6.string.iterator.js","node_modules/core-js/library/modules/es6.symbol.js","node_modules/core-js/library/modules/es7.object.entries.js","node_modules/core-js/library/modules/es7.promise.finally.js","node_modules/core-js/library/modules/es7.promise.try.js","node_modules/core-js/library/modules/es7.symbol.async-iterator.js","node_modules/core-js/library/modules/es7.symbol.observable.js","node_modules/core-js/library/modules/web.dom.iterable.js","node_modules/events/events.js","node_modules/fast-safe-stringify/index.js","node_modules/ieee754/index.js","node_modules/isarray/index.js","node_modules/process/browser.js","node_modules/punycode/punycode.js","node_modules/querystring-es3/decode.js","node_modules/querystring-es3/encode.js","node_modules/querystring-es3/index.js","node_modules/stream-http/index.js","node_modules/stream-http/lib/capability.js","node_modules/stream-http/lib/request.js","node_modules/stream-http/lib/response.js","node_modules/stream-http/node_modules/inherits/inherits_browser.js","node_modules/stream-http/node_modules/readable-stream/errors-browser.js","node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js","node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js","node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js","node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js","node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/async_iterator.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/buffer_list.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/end-of-stream.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/from-browser.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/pipeline.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/state.js","node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js","node_modules/stream-http/node_modules/readable-stream/readable-browser.js","node_modules/stream-http/node_modules/safe-buffer/index.js","node_modules/stream-http/node_modules/string_decoder/lib/string_decoder.js","node_modules/stream-http/node_modules/xtend/immutable.js","node_modules/superagent-prefix/index.js","node_modules/superagent/lib/agent-base.js","node_modules/superagent/lib/client.js","node_modules/superagent/lib/is-object.js","node_modules/superagent/lib/request-base.js","node_modules/superagent/lib/response-base.js","node_modules/superagent/lib/utils.js","node_modules/superagent/node_modules/component-emitter/index.js","node_modules/url/url.js","node_modules/url/util.js","node_modules/util-deprecate/browser.js"],"names":["_interopRequireDefault","obj","__esModule","default","Object","defineProperty","exports","value","_keys","require","_keys2","_slicedToArray2","_slicedToArray3","_entries","_entries2","_getIterator2","_getIterator3","_assign","_assign2","_promise","_promise2","_classCallCheck2","_classCallCheck3","_createClass2","_createClass3","_superagent","_superagent2","_superagentPrefix","_superagentPrefix2","Agent","baseUrl","this","setBaseUrl","key","prefix","_ref","uri","auth","headers","query","context","request","method","_ref2","_ref3","data","_ref4","_ref5","_ref6","_ref6$headers","undefined","_ref6$data","_ref6$query","_ref6$form","form","_ref6$files","files","_ref6$context","_ref6$raw","raw","requestFiles","_sanitizeFiles","_request","_ref7","req","_buildRequest","_promiseResponse","_this","fulfill","reject","_sendRequest","end","error","res","body","url","statusCode","status","errorDescription","shortErrorDescription","error_description","reason","Error","_ref8","_ref8$makerequest","makerequest","use","_authorizationHeader","_applyContext","set","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","next","done","_step$value","name","file","options","filepath","path","isForBrowser","attach","err","return","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","_step2$value","field","type","send","arguments","length","getXHR","tool","_addToolContext","project","_addProjectContext","_toolIdent","components","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","component","_nameAtVersion","version","_buildSemicolonSeparatedProperties","primaryProperty","prop","hasOwnProperty","username","password","Authorization","forEach","k","i","module","_Particle","_Particle2","_Library","_Library2","Client","_ref$api","api","Boolean","listLibraries","then","payload","map","l","_this2","getLibrary","library","_this3","getLibraryVersions","archive","_this4","contributeLibrary","_throwError","_this5","publishLibrary","_this6","force","deleteLibrary","errors","errorMessages","e","message","join","downloadFile","platformId","targetVersion","compileCode","signal","deviceId","signalDevice","listDevices","listBuildTargets","onlyFeatured","targets","target","platforms","platform","push","prerelease","prereleases","indexOf","firmware_vendor","_ref4$full","full","trackingIdentity","clientSecret","clientId","tokenDuration","_getPrototypeOf","_getPrototypeOf2","_possibleConstructorReturn2","_possibleConstructorReturn3","_inherits2","_inherits3","_http","_http2","_https","_https2","_url","_url2","_events","EventStream","_EventEmitter","token","__proto__","call","reconnectInterval","timeout","buf","parse","bind","idleTimeoutExpired","resolve","_url$parse","hostname","protocol","port","origin","isSecure","requestor","parseInt","mode","connected","connectionTimeout","setTimeout","abort","on","clearTimeout","chunk","JSON","once","startIdleTimeout","removeAllListeners","event","param","emit","emitSafe","stopIdleTimeout","reconnect","isOffline","connect","catch","navigator","onLine","idleTimeout","pos","discardTrailingNewline","lineLength","fieldLength","c","parseEventStreamLine","slice","eventName","step","valueLength","EventEmitter","Library","client","_assignAttributes","downloadUrl","links","download","attributes","_superagentBinaryParser","_superagentBinaryParser2","_Defaults","_Defaults2","_EventStream","_EventStream2","_Agent","_Agent2","_Client","_Client2","Particle","setDefaultAuth","agent","_isValidContext","_ref$tokenDuration","grant_type","client_id","client_secret","expires_in","mfaToken","otp","mfa_token","get","_ref4$invalidateToken","invalidateTokens","invalidate_tokens","post","currentPassword","put","current_password","email","product","accountInfo","account_info","_ref9","_ref10","_ref11","delete","access_token","_ref12","_ref13","_ref14","_ref15","_ref16","_ref16$full","tracking","_ref17","deviceName","groups","sortAttr","sortDir","page","perPage","Array","isArray","per_page","_ref18","deviceUri","_ref19","requestTransfer","id","request_transfer","_ref20","_ref21","deny","_ref22","_ref23","updateDevice","_ref24","_ref25","notes","_ref26","_ref26$development","development","_ref27","desiredFirmwareVersion","flash","_ref28","_ref29","desired_firmware_version","_ref30","productId","product_id","_ref31","iccid","_ref32","promoCode","_ref33","_ref34","_ref35","build_target_version","latest","_ref36","console","warning","app","_ref37","platform_id","_ref38","binaryId","_provideFileData","_ref39","algorithm","deviceID","publicKey","toString","filename","order","Date","now","_ref40","argument","args","_ref41","org","toLowerCase","encodeURIComponent","_getActiveAuthToken","_ref42","isPrivate","postData","private","_ref43","device","rejectUnauthorized","noDefaults","hook","requestType","json","responseTemplate","responseTopic","responseEvent","errorResponseTopic","errorResponseEvent","_ref44","hookId","_ref45","_ref46","settings","deviceid","_ref47","integrationId","_ref48","_ref49","_ref50","_ref51","_ref52","_ref52$invalidateToke","_ref53","_ref53$invalidateToke","_ref54","_ref55","_ref56","_ref57","head","_ref58","iccids","country","sims","action","_ref59","_ref60","mbLimit","mb_limit","_ref61","_ref62","_ref63","featured","_ref64","limit","filter","sort","architectures","category","scope","excludeScopes","_asList","_ref65","_ref66","_ref67","archive.tar.gz","_ref68","visibility","_ref69","_ref70","_ref71","_ref72","redirect_uri","_ref73","_ref74","_ref75","_ref76","_ref77","_ref78","title","description","firmware.bin","_ref79","_ref80","_ref81","responseType","xhr","response","buffer","_ref82","_ref83","_ref84","_ref85","_ref86","serialNumber","_ref87","device_id","_ref88","networkId","_ref89","_ref90","_ref91","_ref92","updateMeshNetwork","_ref93","_ref94","role","_ref95","_ref96","_ref96$headers","accept","_ref97","_ref98","_ref99","config","_ref100","_ref101","dateRange","rectBl","rectTr","date_range","rect_bl","rect_tr","device_name","_ref102","_defaultAuth","_ref103","_ref104","_buildContext","_ref105","_ref106","_ref107","_ref108","prototype","removeAccessToken","deleteAccessToken","binaryParser","fn","Buffer","concat","instance","Constructor","TypeError","_defineProperty","_defineProperty2","defineProperties","props","descriptor","enumerable","configurable","writable","protoProps","staticProps","_setPrototypeOf","_setPrototypeOf2","_create","_create2","_typeof2","_typeof3","subClass","superClass","constructor","self","ReferenceError","_isIterable2","_isIterable3","sliceIterator","arr","_arr","_n","_d","_e","_s","_i","_symbol","_symbol2","_typeof","placeHoldersCount","b64","len","byteLength","toByteArray","tmp","placeHolders","Arr","L","revLookup","charCodeAt","tripletToBase64","num","lookup","encodeChunk","uint8","start","output","fromByteArray","extraBytes","parts","len2","Uint8Array","code","typedArraySupport","foo","subarray","kMaxLength","TYPED_ARRAY_SUPPORT","createBuffer","that","RangeError","arg","encodingOrOffset","allocUnsafe","from","ArrayBuffer","fromArrayBuffer","fromString","fromObject","assertSize","size","alloc","fill","encoding","checked","string","isEncoding","actual","write","fromArrayLike","array","byteOffset","isBuffer","copy","isnan","SlowBuffer","isView","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","b","n","m","bidirectionalIndexOf","val","dir","isNaN","arrayIndexOf","lastIndexOf","read","indexSize","readUInt16BE","arrLength","valLength","String","foundIndex","found","j","hexWrite","offset","Number","remaining","strLen","parsed","substr","utf8Write","blitBuffer","asciiWrite","asciiToBytes","latin1Write","base64Write","ucs2Write","utf16leToBytes","base64","Math","min","firstByte","codePoint","bytesPerSequence","secondByte","thirdByte","fourthByte","tempCodePoint","decodeCodePointsArray","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","apply","ret","out","toHex","bytes","checkOffset","ext","checkInt","max","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","ieee754","writeDouble","base64clean","str","stringtrim","replace","INVALID_BASE64_RE","trim","units","Infinity","leadSurrogate","byteArray","hi","lo","src","dst","INSPECT_MAX_BYTES","global","poolSize","_augment","Symbol","species","allocUnsafeSlow","_isBuffer","compare","a","x","y","list","swap16","swap32","swap64","equals","inspect","match","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","floor","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","100","101","102","200","201","202","203","204","205","206","207","208","226","300","301","302","303","304","305","307","308","400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","421","422","423","424","425","426","428","429","431","451","500","501","502","503","504","505","506","507","508","509","510","511","assign","$Object","P","D","create","it","desc","entries","getPrototypeOf","keys","setPrototypeOf","Promise","f","forbiddenField","isObject","toIObject","toLength","toAbsoluteIndex","IS_INCLUDES","$this","el","fromIndex","O","index","cof","TAG","ARG","tryGet","T","B","callee","core","__e","aFunction","document","is","createElement","split","getKeys","gOPS","pIE","result","getSymbols","symbols","isEnum","ctx","hide","PROTOTYPE","$export","source","own","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","IS_BIND","IS_WRAP","W","expProto","C","Function","virtual","R","U","exec","isArrayIter","anObject","getIterFn","BREAK","RETURN","iterable","ITERATOR","iterator","iterFn","window","__g","dP","createDesc","object","documentElement","un","propertyIsEnumerable","Iterators","ArrayProto","setToStringTag","IteratorPrototype","NAME","LIBRARY","redefine","has","$iterCreate","BUGGY","FF_ITERATOR","KEYS","VALUES","returnThis","Base","DEFAULT","IS_SET","FORCED","methods","getMethod","kind","proto","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","values","SAFE_CLOSING","riter","skipClosing","safe","iter","META","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","w","fastKey","getWeak","onFreeze","meta","NEED","KEY","macrotask","Observer","MutationObserver","WebKitMutationObserver","process","isNode","last","notify","flush","parent","domain","exit","enter","nextTick","toggle","node","createTextNode","observe","characterData","promise","task","PromiseCapability","$$resolve","$$reject","toObject","IObject","$assign","A","K","aLen","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","iframe","style","display","appendChild","contentWindow","open","lt","close","Properties","IE8_DOM_DEFINE","toPrimitive","Attributes","gOPD","getOwnPropertyDescriptor","gOPN","windowNames","getOwnPropertyNames","getWindowNames","$keys","hiddenKeys","getOwnPropertySymbols","ObjectProto","names","fails","exp","isEntries","v","newPromiseCapability","promiseCapability","bitmap","check","test","buggy","DESCRIPTORS","SPECIES","def","tag","stat","shared","uid","SHARED","store","toInteger","defined","TO_STRING","s","charAt","invoke","html","cel","setTask","setImmediate","clearTask","clearImmediate","MessageChannel","Dispatch","counter","queue","ONREADYSTATECHANGE","defer","channel","run","listener","port2","port1","onmessage","postMessage","addEventListener","importScripts","removeChild","clear","ceil","valueOf","px","random","wksExt","$Symbol","USE_SYMBOL","$exports","classof","getIteratorMethod","getIterator","isIterable","addToUnscopables","iterated","_t","_k","Arguments","$getPrototypeOf","anInstance","forOf","speciesConstructor","microtask","newPromiseCapabilityModule","perform","promiseResolve","PROMISE","$Promise","empty","Internal","newGenericPromiseCapability","OwnPromiseCapability","Wrapper","USE_NATIVE","FakePromise","PromiseRejectionEvent","isThenable","isReject","chain","_c","_v","ok","reaction","handler","fail","_h","onHandleUnhandled","onUnhandled","unhandled","isUnhandled","onunhandledrejection","_a","onrejectionhandled","$reject","_w","$resolve","wrapper","executor","onFulfilled","onRejected","r","capability","all","$index","alreadyCalled","race","$at","point","$fails","wks","wksDefine","enumKeys","gOPNExt","$GOPD","$DP","$JSON","_stringify","stringify","HIDDEN","TO_PRIMITIVE","SymbolRegistry","AllSymbols","OPSymbols","QObject","setter","findChild","setSymbolDesc","protoDesc","wrap","sym","isSymbol","$defineProperty","$defineProperties","$create","$propertyIsEnumerable","E","$getOwnPropertyDescriptor","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","$set","es6Symbols","wellKnownSymbols","for","keyFor","useSetter","useSimple","replacer","$replacer","finally","onFinally","isFunction","try","callbackfn","TO_STRING_TAG","DOMIterables","Collection","_maxListeners","isNumber","isUndefined","defaultMaxListeners","setMaxListeners","er","listeners","addListener","newListener","warned","trace","g","removeListener","fired","position","splice","listenerCount","evlistener","emitter","spacer","decirc","replacerStack","replaceGetterValues","part","pop","stack","propertyDescriptor","compareFunction","deterministicStringify","deterministicDecirc","stable","stableStringify","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","d","NaN","rt","abs","log","LN2","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","Item","noop","browser","env","argv","versions","off","prependListener","prependOnceListener","binding","cwd","chdir","umask","root","mapDomain","regexSeparators","ucs2decode","extra","ucs2encode","stringFromCharCode","basicToDigit","base","digitToBasic","digit","flag","adapt","delta","numPoints","firstTime","damp","baseMinusTMin","tMax","skew","decode","input","basic","oldi","t","baseMinusT","inputLength","initialN","bias","initialBias","delimiter","maxInt","tMin","encode","handledCPCount","basicLength","q","currentValue","handledCPCountPlusOne","qMinusT","toUnicode","regexPunycode","toASCII","regexNonASCII","freeExports","nodeType","freeModule","freeGlobal","punycode","overflow","not-basic","invalid-input","ucs2","define","amd","qs","sep","eq","regexp","maxKeys","kstr","vstr","idx","decodeURIComponent","xs","stringifyPrimitive","objectKeys","ks","ClientRequest","extend","statusCodes","http","opts","cb","defaultProtocol","location","search","host","toUpperCase","IncomingMessage","defaultMaxSockets","globalAgent","STATUS_CODES","METHODS","XMLHttpRequest","XDomainRequest","checkTypeSupport","fetch","ReadableStream","writableStream","WritableStream","abortController","AbortController","arraybuffer","msstream","mozchunkedarraybuffer","overrideMimeType","decideMode","preferBinary","useFetch","statusValid","inherits","stream","rStates","readyStates","Writable","_opts","_body","_headers","setHeader","_mode","_fetchTimer","_socketTimeout","_socketTimer","_onFinish","lowerName","unsafeHeaders","getHeader","header","removeHeader","_destroyed","headersObj","Blob","headersList","keyName","controller","_fetchAbortController","requestTimeout","credentials","withCredentials","_fetchResponse","_resetTimers","_connect","_xhr","ontimeout","setRequestHeader","_response","onreadystatechange","readyState","LOADING","DONE","_onXHRProgress","onprogress","onerror","_write","destroy","flushHeaders","setNoDelay","setSocketKeepAlive","UNSENT","OPENED","HEADERS_RECEIVED","resetTimers","reader","Readable","rawHeaders","trailers","rawTrailers","statusMessage","statusText","_resumeFetch","pipeTo","getReader","_pos","responseURL","getAllResponseHeaders","matches","_charset","mimeType","charsetMatch","_read","responseText","newData","MSStreamReader","onload","readAsArrayBuffer","ctor","superCtor","super_","TempCtor","_inheritsLoose","createErrorType","getMessage","arg1","arg2","arg3","NodeError","_Base","codes","oneOf","expected","thing","startsWith","endsWith","this_len","substring","determiner","msg","Duplex","allowHalfOpen","readable","onend","_writableState","ended","onEndNT","highWaterMark","getBuffer","_readableState","destroyed","PassThrough","Transform","_transform","_uint8ArrayToBuffer","_isUint8Array","OurUint8Array","unshift","ReadableState","isDuplex","objectMode","readableObjectMode","getHighWaterMark","BufferList","pipes","pipesCount","flowing","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","paused","emitClose","autoDestroy","defaultEncoding","awaitDrain","readingMore","decoder","StringDecoder","_destroy","Stream","readableAddChunk","addToFront","skipChunkCheck","debug","state","onEofChunk","chunkInvalid","errorOrDestroy","ERR_STREAM_UNSHIFT_AFTER_END_EVENT","addChunk","ERR_STREAM_PUSH_AFTER_EOF","maybeReadMore","emitReadable","ERR_INVALID_ARG_TYPE","computeNewHighWaterMark","MAX_HWM","howMuchToRead","emitReadable_","flow","maybeReadMore_","pipeOnDrain","EElistenerCount","updateReadableListening","resume","nReadingNextTick","resume_","fromList","shift","first","consume","endReadable","endReadableNT","wState","finished","EE","debugUtil","debuglog","destroyImpl","_require","_require$codes","ERR_METHOD_NOT_IMPLEMENTED","createReadableStreamAsyncIterator","kProxyEvents","_undestroy","undestroy","isPaused","setEncoding","enc","p","content","nOrig","doRead","pipe","dest","pipeOpts","onunpipe","unpipeInfo","hasUnpiped","cleanup","onclose","onfinish","ondrain","unpipe","ondata","cleanedUp","needDrain","pause","doEnd","stdout","stderr","endFn","dests","ev","asyncIterator","_fromList","afterTransform","ts","_transformState","transforming","writecb","ERR_MULTIPLE_CALLBACK","writechunk","rs","needTransform","writeencoding","transform","_flush","prefinish","ERR_TRANSFORM_WITH_LENGTH_0","ERR_TRANSFORM_ALREADY_TRANSFORMING","err2","WriteReq","callback","CorkedRequest","entry","finish","onCorkedFinish","nop","WritableState","writableObjectMode","finalCalled","ending","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","bufferedRequest","lastBufferedRequest","pendingcb","prefinished","errorEmitted","bufferedRequestCount","corkedRequestsFree","realHasInstance","writev","_writev","final","_final","writeAfterEnd","ERR_STREAM_WRITE_AFTER_END","validChunk","ERR_STREAM_NULL_VALUES","decodeChunk","writeOrBuffer","isBuf","newChunk","doWrite","ERR_STREAM_DESTROYED","onwriteError","finishMaybe","onwriteStateUpdate","needFinish","clearBuffer","afterWrite","onwriteDrain","holder","count","allBuffers","callFinal","need","rState","endWritable","corkReq","internalUtil","deprecate","ERR_STREAM_CANNOT_PIPE","ERR_UNKNOWN_ENCODING","current","_","hasInstance","cork","uncork","setDefaultEncoding","createIterResult","readAndResolve","kLastResolve","kStream","kLastPromise","kLastReject","onReadable","wrapForNext","lastPromise","kEnded","kHandlePromise","_Object$setPrototypeO","kError","AsyncIteratorPrototype","ReadableStreamAsyncIteratorPrototype","_Object$create","ownKeys","enumerableOnly","_objectSpread","getOwnPropertyDescriptors","_classCallCheck","_defineProperties","_createClass","copyBuffer","_require2","custom","tail","hasStrings","_getString","_getBuffer","nb","depth","customInspect","readableDestroyed","writableDestroyed","emitErrorNT","emitCloseNT","emitErrorAndCloseNT","called","_len","_key","isRequest","eos","onlegacyfinish","writableEnded","readableEnded","ERR_STREAM_PREMATURE_CLOSE","onrequest","destroyer","closed","to","popCallback","streams","pipeline","ERR_MISSING_ARGS","destroys","reduce","highWaterMarkFrom","duplexKey","hwm","ERR_INVALID_OPT_VALUE","copyProps","SafeBuffer","_normalizeEncoding","retried","normalizeEncoding","nenc","text","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckIncomplete","utf8CheckExtraBytes","utf8Text","total","utf8End","_defaults","_setDefaults","_toConsumableArray","serialize","pairs","pushEncodedKeyValuePair","subkey","parseString","pair","parseHeader","line","lines","fields","isJSON","mime","Response","_setStatusProperties","getResponseHeader","_setHeaderProperties","_responseType","_parseBody","Request","_query","_header","err_","original","rawResponse","new_err","_isResponseOK","del","warn","Emitter","safeStringify","RequestBase","ResponseBase","ActiveXObject","_unused","_unused2","_unused3","_unused4","serializeObject","types","xml","urlencoded","form-data","application/x-www-form-urlencoded","application/json","_parser","toError","user","pass","btoa","encoder","_auth","_data","_getFormData","append","_formData","FormData","_shouldRetry","_retry","_callback","_maxRetries","retries","_retries","crossDomainError","crossDomain","ca","_isHost","_endCalled","_finalizeQueryString","_end","_setUploadTimeout","_uploadTimeout","_uploadTimeoutTimer","_timeoutError","_aborted","_setTimeouts","_responseTimeoutTimer","_unused5","timedout","handleProgress","direction","percent","loaded","hasListeners","upload","_unused6","_withCredentials","contentType","_serializer","patch","mixin","_timer","_timeout","_responseTimeout","option","deadline","retry","_retryCallback","ERROR_CODES","override","_fullfilledPromise","_okCallback","unset","base64Encoder","redirects","_maxRedirects","maxResponseSize","_maxResponseSize","isObj","sortQuery","_sort","queryArr","_appendQueryString","errno","utils","ct","params","link","parseLinks","statusType","info","redirect","clientError","serverError","created","accepted","noContent","badRequest","unauthorized","notAcceptable","forbidden","notFound","unprocessableEntity","cleanHeader","changesOrigin","authorization","cookie","_callbacks","removeEventListener","callbacks","Url","slashes","hash","pathname","href","urlParse","parseQueryString","slashesDenoteHost","util","u","urlFormat","isString","format","urlResolve","relative","urlResolveObject","resolveObject","protocolPattern","portPattern","simplePathPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","unsafeProtocol","javascript","javascript:","hostlessProtocol","slashedProtocol","https","ftp","gopher","http:","https:","ftp:","gopher:","file:","querystring","queryIndex","splitter","uSplit","slashRegex","rest","simplePath","lowerProto","hostEnd","hec","atSign","parseHost","ipv6Hostname","hostparts","newpart","validParts","notHost","bit","h","ae","esc","escape","qm","rel","tkeys","tk","tkey","rkeys","rk","rkey","relPath","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","isNullOrUndefined","authInHost","isNull","hasTrailingSlash","up","isAbsolute","deprecated","localStorage"],"mappings":"AAAA;ACAA,YA8CA,SAASA,wBAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GA5CvFG,OAAOC,eAAeC,QAAS,cAC9BC,OAAO,GAGR,IAAIC,OAAQC,QAAQ,qCAEhBC,OAASV,uBAAuBQ,OAEhCG,gBAAkBF,QAAQ,uCAE1BG,gBAAkBZ,uBAAuBW,iBAEzCE,SAAWJ,QAAQ,wCAEnBK,UAAYd,uBAAuBa,UAEnCE,cAAgBN,QAAQ,sCAExBO,cAAgBhB,uBAAuBe,eAEvCE,QAAUR,QAAQ,uCAElBS,SAAWlB,uBAAuBiB,SAElCE,SAAWV,QAAQ,iCAEnBW,UAAYpB,uBAAuBmB,UAEnCE,iBAAmBZ,QAAQ,wCAE3Ba,iBAAmBtB,uBAAuBqB,kBAE1CE,cAAgBd,QAAQ,qCAExBe,cAAgBxB,uBAAuBuB,eAEvCE,YAAchB,QAAQ,cAEtBiB,aAAe1B,uBAAuByB,aAEtCE,kBAAoBlB,QAAQ,qBAE5BmB,mBAAqB5B,uBAAuB2B,mBAuB5CE,MAAQ,W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IqY,OAAO,iBACT,MAAOuB,EAGT,IAAIyqB,IAAS,CAeb,OAAOowB,GAWT,QAASp8C,QAAQvZ,GAEf,IACE,IAAK0mB,OAAOkvC,aAAc,OAAO,EACjC,MAAO9T,GACP,OAAO,EAET,GAAI//B,GAAM2E,OAAOkvC,aAAa51D,EAC9B,OAAI,OAAQ+hB,GACyB,SAA9BU,OAAOV,GAAK1P,cA5DrBxP,OAAOzI,QAAUsnD","file":"bundle.js","sourcesContent":["(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o.\n ******************************************************************************\n */\n\nvar Agent = function () {\n\tfunction Agent(baseUrl) {\n\t\t(0, _classCallCheck3.default)(this, Agent);\n\n\t\tthis.setBaseUrl(baseUrl);\n\t}\n\n\t(0, _createClass3.default)(Agent, [{\n\t\tkey: 'setBaseUrl',\n\t\tvalue: function setBaseUrl(baseUrl) {\n\t\t\tthis.prefix = (0, _superagentPrefix2.default)(baseUrl);\n\t\t}\n\t}, {\n\t\tkey: 'get',\n\t\tvalue: function get(_ref) {\n\t\t\tvar uri = _ref.uri,\n\t\t\t auth = _ref.auth,\n\t\t\t headers = _ref.headers,\n\t\t\t query = _ref.query,\n\t\t\t context = _ref.context;\n\n\t\t\treturn this.request({ uri: uri, method: 'get', auth: auth, headers: headers, query: query, context: context });\n\t\t}\n\t}, {\n\t\tkey: 'head',\n\t\tvalue: function head(_ref2) {\n\t\t\tvar uri = _ref2.uri,\n\t\t\t auth = _ref2.auth,\n\t\t\t headers = _ref2.headers,\n\t\t\t query = _ref2.query,\n\t\t\t context = _ref2.context;\n\n\t\t\treturn this.request({ uri: uri, method: 'head', auth: auth, headers: headers, query: query, context: context });\n\t\t}\n\t}, {\n\t\tkey: 'post',\n\t\tvalue: function post(_ref3) {\n\t\t\tvar uri = _ref3.uri,\n\t\t\t headers = _ref3.headers,\n\t\t\t data = _ref3.data,\n\t\t\t auth = _ref3.auth,\n\t\t\t context = _ref3.context;\n\n\t\t\treturn this.request({ uri: uri, method: 'post', auth: auth, headers: headers, data: data, context: context });\n\t\t}\n\t}, {\n\t\tkey: 'put',\n\t\tvalue: function put(_ref4) {\n\t\t\tvar uri = _ref4.uri,\n\t\t\t auth = _ref4.auth,\n\t\t\t headers = _ref4.headers,\n\t\t\t data = _ref4.data,\n\t\t\t context = _ref4.context;\n\n\t\t\treturn this.request({ uri: uri, method: 'put', auth: auth, headers: headers, data: data, context: context });\n\t\t}\n\t}, {\n\t\tkey: 'delete',\n\t\tvalue: function _delete(_ref5) {\n\t\t\tvar uri = _ref5.uri,\n\t\t\t auth = _ref5.auth,\n\t\t\t headers = _ref5.headers,\n\t\t\t data = _ref5.data,\n\t\t\t context = _ref5.context;\n\n\t\t\treturn this.request({ uri: uri, method: 'delete', auth: auth, headers: headers, data: data, context: context });\n\t\t}\n\n\t\t/**\n *\n * @param {String} uri The URI to request\n * @param {String} method The method used to request the URI, should be in uppercase.\n * @param {Object} headers Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {String} data Arbitrary data to send as the body.\n * @param {Object} auth Authorization\n * @param {String} query Query parameters\n * @param {Object} form Form fields\n * @param {Object} files array of file names and file content\n * @parma {Object} context the invocation context, describing the tool and project.\n * @return {Promise} A promise. fulfilled with {body, statusCode}, rejected with { statusCode, errorDescription, error, body }\n */\n\n\t}, {\n\t\tkey: 'request',\n\t\tvalue: function request(_ref6) {\n\t\t\tvar uri = _ref6.uri,\n\t\t\t method = _ref6.method,\n\t\t\t _ref6$headers = _ref6.headers,\n\t\t\t headers = _ref6$headers === undefined ? undefined : _ref6$headers,\n\t\t\t _ref6$data = _ref6.data,\n\t\t\t data = _ref6$data === undefined ? undefined : _ref6$data,\n\t\t\t auth = _ref6.auth,\n\t\t\t _ref6$query = _ref6.query,\n\t\t\t query = _ref6$query === undefined ? undefined : _ref6$query,\n\t\t\t _ref6$form = _ref6.form,\n\t\t\t form = _ref6$form === undefined ? undefined : _ref6$form,\n\t\t\t _ref6$files = _ref6.files,\n\t\t\t files = _ref6$files === undefined ? undefined : _ref6$files,\n\t\t\t _ref6$context = _ref6.context,\n\t\t\t context = _ref6$context === undefined ? undefined : _ref6$context,\n\t\t\t _ref6$raw = _ref6.raw,\n\t\t\t raw = _ref6$raw === undefined ? false : _ref6$raw;\n\n\t\t\tvar requestFiles = this._sanitizeFiles(files);\n\t\t\treturn this._request({ uri: uri, method: method, headers: headers, data: data, auth: auth, query: query, form: form, context: context, files: requestFiles, raw: raw });\n\t\t}\n\n\t\t/**\n *\n * @param {String} uri The URI to request\n * @param {String} method The method used to request the URI, should be in uppercase.\n * @param {Object} headers Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {String} data Arbitrary data to send as the body.\n * @param {Object} auth Authorization\n * @param {String} query Query parameters\n * @param {Object} form Form fields\n * @param {Object} files array of file names and file content\n * @param {Object} context the invocation context\n * @return {Promise} A promise. fulfilled with {body, statusCode}, rejected with { statusCode, errorDescription, error, body }\n */\n\n\t}, {\n\t\tkey: '_request',\n\t\tvalue: function _request(_ref7) {\n\t\t\tvar uri = _ref7.uri,\n\t\t\t method = _ref7.method,\n\t\t\t headers = _ref7.headers,\n\t\t\t data = _ref7.data,\n\t\t\t auth = _ref7.auth,\n\t\t\t query = _ref7.query,\n\t\t\t form = _ref7.form,\n\t\t\t files = _ref7.files,\n\t\t\t context = _ref7.context,\n\t\t\t raw = _ref7.raw;\n\n\t\t\tvar req = this._buildRequest({ uri: uri, method: method, headers: headers, data: data, auth: auth, query: query, form: form, context: context, files: files });\n\n\t\t\tif (raw) {\n\t\t\t\treturn req;\n\t\t\t}\n\t\t\treturn this._promiseResponse(req);\n\t\t}\n\n\t\t/**\n * Promises to send the request and retreive the response.\n * @param {Request} req The request to send\n * @returns {Promise} The promise to send the request and retrieve the response.\n * @private\n */\n\n\t}, {\n\t\tkey: '_promiseResponse',\n\t\tvalue: function _promiseResponse(req) {\n\t\t\tvar _this = this;\n\n\t\t\treturn new _promise2.default(function (fulfill, reject) {\n\t\t\t\treturn _this._sendRequest(req, fulfill, reject);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Sends the given request, calling the fulfill or reject methods for success/failure.\n * @param {object} request The request to send\n * @param {function} fulfill Called on success with the response\n * @param {function} reject Called on failure with the failure reason.\n * @private\n * @returns {undefined} Nothing\n */\n\n\t}, {\n\t\tkey: '_sendRequest',\n\t\tvalue: function _sendRequest(request, fulfill, reject) {\n\t\t\trequest.end(function (error, res) {\n\t\t\t\tvar body = res && res.body;\n\t\t\t\tif (error) {\n\t\t\t\t\tvar uri = request.url;\n\t\t\t\t\tvar statusCode = error.status;\n\t\t\t\t\tvar errorDescription = (statusCode ? 'HTTP error ' + statusCode : 'Network error') + ' from ' + uri;\n\t\t\t\t\tvar shortErrorDescription = void 0;\n\t\t\t\t\tif (body && body.error_description) {\n\t\t\t\t\t\terrorDescription += ' - ' + body.error_description;\n\t\t\t\t\t\tshortErrorDescription = body.error_description;\n\t\t\t\t\t}\n\t\t\t\t\tvar reason = new Error(errorDescription);\n\t\t\t\t\t(0, _assign2.default)(reason, { statusCode: statusCode, errorDescription: errorDescription, shortErrorDescription: shortErrorDescription, error: error, body: body });\n\t\t\t\t\treject(reason);\n\t\t\t\t} else {\n\t\t\t\t\tfulfill({\n\t\t\t\t\t\tbody: body,\n\t\t\t\t\t\tstatusCode: res.statusCode\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: '_buildRequest',\n\t\tvalue: function _buildRequest(_ref8) {\n\t\t\tvar uri = _ref8.uri,\n\t\t\t method = _ref8.method,\n\t\t\t headers = _ref8.headers,\n\t\t\t data = _ref8.data,\n\t\t\t auth = _ref8.auth,\n\t\t\t query = _ref8.query,\n\t\t\t form = _ref8.form,\n\t\t\t files = _ref8.files,\n\t\t\t context = _ref8.context,\n\t\t\t _ref8$makerequest = _ref8.makerequest,\n\t\t\t makerequest = _ref8$makerequest === undefined ? _superagent2.default : _ref8$makerequest;\n\n\t\t\tvar req = makerequest(method, uri);\n\t\t\tif (this.prefix) {\n\t\t\t\treq.use(this.prefix);\n\t\t\t}\n\t\t\tthis._authorizationHeader(req, auth);\n\t\t\tif (context) {\n\t\t\t\tthis._applyContext(req, context);\n\t\t\t}\n\t\t\tif (query) {\n\t\t\t\treq.query(query);\n\t\t\t}\n\t\t\tif (headers) {\n\t\t\t\treq.set(headers);\n\t\t\t}\n\t\t\tif (files) {\n\t\t\t\tvar _iteratorNormalCompletion = true;\n\t\t\t\tvar _didIteratorError = false;\n\t\t\t\tvar _iteratorError = undefined;\n\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator = (0, _getIterator3.default)((0, _entries2.default)(files)), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\tvar _step$value = (0, _slicedToArray3.default)(_step.value, 2),\n\t\t\t\t\t\t name = _step$value[0],\n\t\t\t\t\t\t file = _step$value[1];\n\n\t\t\t\t\t\t// API for Form Data is different in Node and in browser\n\t\t\t\t\t\tvar options = {\n\t\t\t\t\t\t\tfilepath: file.path\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (this.isForBrowser(makerequest)) {\n\t\t\t\t\t\t\toptions = file.path;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treq.attach(name, file.data, options);\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t_iteratorError = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return) {\n\t\t\t\t\t\t\t_iterator.return();\n\t\t\t\t\t\t}\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError) {\n\t\t\t\t\t\t\tthrow _iteratorError;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (form) {\n\t\t\t\t\tvar _iteratorNormalCompletion2 = true;\n\t\t\t\t\tvar _didIteratorError2 = false;\n\t\t\t\t\tvar _iteratorError2 = undefined;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator2 = (0, _getIterator3.default)((0, _entries2.default)(form)), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\t\t\t\tvar _step2$value = (0, _slicedToArray3.default)(_step2.value, 2),\n\t\t\t\t\t\t\t name = _step2$value[0],\n\t\t\t\t\t\t\t value = _step2$value[1];\n\n\t\t\t\t\t\t\treq.field(name, value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError2 = true;\n\t\t\t\t\t\t_iteratorError2 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t\t\t\t\t\t\t\t_iterator2.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError2) {\n\t\t\t\t\t\t\t\tthrow _iteratorError2;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (form) {\n\t\t\t\treq.type('form');\n\t\t\t\treq.send(form);\n\t\t\t} else if (data) {\n\t\t\t\treq.send(data);\n\t\t\t}\n\t\t\treturn req;\n\t\t}\n\t}, {\n\t\tkey: 'isForBrowser',\n\t\tvalue: function isForBrowser() {\n\t\t\tvar makerequest = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _superagent2.default;\n\n\t\t\t// superagent only has the getXHR method in the browser version\n\t\t\treturn !!makerequest.getXHR;\n\t\t}\n\t}, {\n\t\tkey: '_applyContext',\n\t\tvalue: function _applyContext(req, context) {\n\t\t\tif (context.tool) {\n\t\t\t\tthis._addToolContext(req, context.tool);\n\t\t\t}\n\t\t\tif (context.project) {\n\t\t\t\tthis._addProjectContext(req, context.project);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: '_addToolContext',\n\t\tvalue: function _addToolContext(req, tool) {\n\t\t\tvar value = '';\n\t\t\tif (tool.name) {\n\t\t\t\tvalue += this._toolIdent(tool);\n\t\t\t\tif (tool.components) {\n\t\t\t\t\tvar _iteratorNormalCompletion3 = true;\n\t\t\t\t\tvar _didIteratorError3 = false;\n\t\t\t\t\tvar _iteratorError3 = undefined;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator3 = (0, _getIterator3.default)(tool.components), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\t\t\t\tvar component = _step3.value;\n\n\t\t\t\t\t\t\tvalue += ', ' + this._toolIdent(component);\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError3 = true;\n\t\t\t\t\t\t_iteratorError3 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return) {\n\t\t\t\t\t\t\t\t_iterator3.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError3) {\n\t\t\t\t\t\t\t\tthrow _iteratorError3;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (value) {\n\t\t\t\treq.set('X-Particle-Tool', value);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: '_toolIdent',\n\t\tvalue: function _toolIdent(tool) {\n\t\t\treturn this._nameAtVersion(tool.name, tool.version);\n\t\t}\n\t}, {\n\t\tkey: '_nameAtVersion',\n\t\tvalue: function _nameAtVersion(name, version) {\n\t\t\tvar value = '';\n\t\t\tif (name) {\n\t\t\t\tvalue += name;\n\t\t\t\tif (version) {\n\t\t\t\t\tvalue += '@' + version;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn value;\n\t\t}\n\t}, {\n\t\tkey: '_addProjectContext',\n\t\tvalue: function _addProjectContext(req, project) {\n\t\t\tvar value = this._buildSemicolonSeparatedProperties(project, 'name');\n\t\t\tif (value) {\n\t\t\t\treq.set('X-Particle-Project', value);\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Creates a string like primaryPropertyValue; name=value; name1=value\n * from the properties of an object.\n * @param {object} obj The object to create the string from\n * @param {string} primaryProperty The name of the primary property which is the default value and must be defined.\n * @private\n * @return {string} The formatted string representing the object properties and the default property.\n */\n\n\t}, {\n\t\tkey: '_buildSemicolonSeparatedProperties',\n\t\tvalue: function _buildSemicolonSeparatedProperties(obj, primaryProperty) {\n\t\t\tvar value = '';\n\t\t\tif (obj[primaryProperty]) {\n\t\t\t\tvalue += obj[primaryProperty];\n\t\t\t\tfor (var prop in obj) {\n\t\t\t\t\tif (prop !== primaryProperty && obj.hasOwnProperty(prop)) {\n\t\t\t\t\t\tvalue += '; ' + prop + '=' + obj[prop];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n * Adds an authorization header.\n * @param {Request} req The request to add the authorization header to.\n * @param {object|string} auth The authorization. Either a string authorization bearer token,\n * or a username/password object.\n * @returns {Request} req The original request.\n */\n\n\t}, {\n\t\tkey: '_authorizationHeader',\n\t\tvalue: function _authorizationHeader(req, auth) {\n\t\t\tif (auth) {\n\t\t\t\tif (auth.username !== undefined) {\n\t\t\t\t\treq.auth(auth.username, auth.password);\n\t\t\t\t} else {\n\t\t\t\t\treq.set({ Authorization: 'Bearer ' + auth });\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn req;\n\t\t}\n\n\t\t/**\n *\n * @param {Array} files converts the file names to file, file1, file2.\n * @returns {object} the renamed files.\n */\n\n\t}, {\n\t\tkey: '_sanitizeFiles',\n\t\tvalue: function _sanitizeFiles(files) {\n\t\t\tvar requestFiles = void 0;\n\t\t\tif (files) {\n\t\t\t\trequestFiles = {};\n\t\t\t\t(0, _keys2.default)(files).forEach(function (k, i) {\n\t\t\t\t\tvar name = i ? 'file' + (i + 1) : 'file';\n\t\t\t\t\trequestFiles[name] = {\n\t\t\t\t\t\tdata: files[k],\n\t\t\t\t\t\tpath: k\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn requestFiles;\n\t\t}\n\t}]);\n\treturn Agent;\n}();\n\nexports.default = Agent;\nmodule.exports = exports['default'];\n//# sourceMappingURL=Agent.js.map","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _getIterator2 = require('babel-runtime/core-js/get-iterator');\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nvar _assign = require('babel-runtime/core-js/object/assign');\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _Particle = require('./Particle');\n\nvar _Particle2 = _interopRequireDefault(_Particle);\n\nvar _Library = require('./Library');\n\nvar _Library2 = _interopRequireDefault(_Library);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Client = function () {\n\tfunction Client(_ref) {\n\t\tvar auth = _ref.auth,\n\t\t _ref$api = _ref.api,\n\t\t api = _ref$api === undefined ? new _Particle2.default() : _ref$api;\n\t\t(0, _classCallCheck3.default)(this, Client);\n\n\t\t(0, _assign2.default)(this, { auth: auth, api: api });\n\t}\n\n\t(0, _createClass3.default)(Client, [{\n\t\tkey: 'ready',\n\t\tvalue: function ready() {\n\t\t\treturn Boolean(this.auth);\n\t\t}\n\n\t\t/**\n * Get firmware library objects\n * @param {Object} query The query parameters for libraries. See Particle.listLibraries\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'libraries',\n\t\tvalue: function libraries() {\n\t\t\tvar _this = this;\n\n\t\t\tvar query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\t\t\treturn this.api.listLibraries((0, _assign2.default)({}, query, { auth: this.auth })).then(function (payload) {\n\t\t\t\tvar libraries = payload.body.data || [];\n\t\t\t\treturn libraries.map(function (l) {\n\t\t\t\t\treturn new _Library2.default(_this, l);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Get one firmware library object\n * @param {String} name Name of the library to fetch\n * @param {Object} query The query parameters for libraries. See Particle.getLibrary\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'library',\n\t\tvalue: function library(name) {\n\t\t\tvar _this2 = this;\n\n\t\t\tvar query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\t\treturn this.api.getLibrary((0, _assign2.default)({}, query, { name: name, auth: this.auth })).then(function (payload) {\n\t\t\t\tvar library = payload.body.data || {};\n\t\t\t\treturn new _Library2.default(_this2, library);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Get list of library versions\n * @param {String} name Name of the library to fetch\n * @param {Object} query The query parameters for versions. See Particle.getLibraryVersions\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'libraryVersions',\n\t\tvalue: function libraryVersions(name) {\n\t\t\tvar _this3 = this;\n\n\t\t\tvar query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\t\treturn this.api.getLibraryVersions((0, _assign2.default)({}, query, { name: name, auth: this.auth })).then(function (payload) {\n\t\t\t\tvar libraries = payload.body.data || [];\n\t\t\t\treturn libraries.map(function (l) {\n\t\t\t\t\treturn new _Library2.default(_this3, l);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Contribute a new library version\n * @param {Buffer} archive The compressed archive with the library source\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'contributeLibrary',\n\t\tvalue: function contributeLibrary(archive) {\n\t\t\tvar _this4 = this;\n\n\t\t\treturn this.api.contributeLibrary({ archive: archive, auth: this.auth }).then(function (payload) {\n\t\t\t\tvar library = payload.body.data || {};\n\t\t\t\treturn new _Library2.default(_this4, library);\n\t\t\t}, function (error) {\n\t\t\t\t_this4._throwError(error);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Make the the most recent private library version public\n * @param {string} name The name of the library to publish\n * @return {Promise} To publish the library\n */\n\n\t}, {\n\t\tkey: 'publishLibrary',\n\t\tvalue: function publishLibrary(name) {\n\t\t\tvar _this5 = this;\n\n\t\t\treturn this.api.publishLibrary({ name: name, auth: this.auth }).then(function (payload) {\n\t\t\t\tvar library = payload.body.data || {};\n\t\t\t\treturn new _Library2.default(_this5, library);\n\t\t\t}, function (error) {\n\t\t\t\t_this5._throwError(error);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Delete an entire published library\n * @param {String} $0.name Name of the library to delete\n * @param {String} $0.force Key to force deleting a public library\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'deleteLibrary',\n\t\tvalue: function deleteLibrary(_ref2) {\n\t\t\tvar _this6 = this;\n\n\t\t\tvar name = _ref2.name,\n\t\t\t force = _ref2.force;\n\n\t\t\treturn this.api.deleteLibrary({ name: name, force: force, auth: this.auth }).then(function () {\n\t\t\t\treturn true;\n\t\t\t}, function (error) {\n\t\t\t\treturn _this6._throwError(error);\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: '_throwError',\n\t\tvalue: function _throwError(error) {\n\t\t\tif (error.body && error.body.errors) {\n\t\t\t\tvar errorMessages = error.body.errors.map(function (e) {\n\t\t\t\t\treturn e.message;\n\t\t\t\t}).join('\\n');\n\t\t\t\tthrow new Error(errorMessages);\n\t\t\t}\n\t\t\tthrow error;\n\t\t}\n\t}, {\n\t\tkey: 'downloadFile',\n\t\tvalue: function downloadFile(uri) {\n\t\t\treturn this.api.downloadFile({ uri: uri });\n\t\t}\n\n\t\t/**\n * @param {Object} files Object containing files to be compiled\n * @param {Number} platformId Platform id number of the device you are compiling for\n * @param {String} targetVersion System firmware version to compile against\n * @returns {Promise} A promise\n * @deprecated Will be removed in 6.5\n */\n\n\t}, {\n\t\tkey: 'compileCode',\n\t\tvalue: function compileCode(files, platformId, targetVersion) {\n\t\t\treturn this.api.compileCode({ files: files, platformId: platformId, targetVersion: targetVersion, auth: this.auth });\n\t\t}\n\n\t\t/**\n * @param {String} $0.deviceId Device ID or Name\n * @param {Boolean} $0.signal Signal on or off\n * @returns {Promise} A promise\n * @deprecated Will be removed in 6.5\n */\n\n\t}, {\n\t\tkey: 'signalDevice',\n\t\tvalue: function signalDevice(_ref3) {\n\t\t\tvar signal = _ref3.signal,\n\t\t\t deviceId = _ref3.deviceId;\n\n\t\t\treturn this.api.signalDevice({ signal: signal, deviceId: deviceId, auth: this.auth });\n\t\t}\n\n\t\t/**\n * @returns {Promise} A promise\n * @deprecated Will be removed in 6.5\n */\n\n\t}, {\n\t\tkey: 'listDevices',\n\t\tvalue: function listDevices() {\n\t\t\treturn this.api.listDevices({ auth: this.auth });\n\t\t}\n\n\t\t/**\n * @returns {Promise} A promise\n * @deprecated Will be removed in 6.5\n */\n\n\t}, {\n\t\tkey: 'listBuildTargets',\n\t\tvalue: function listBuildTargets() {\n\t\t\treturn this.api.listBuildTargets({ onlyFeatured: true, auth: this.auth }).then(function (payload) {\n\t\t\t\tvar targets = [];\n\t\t\t\tvar _iteratorNormalCompletion = true;\n\t\t\t\tvar _didIteratorError = false;\n\t\t\t\tvar _iteratorError = undefined;\n\n\t\t\t\ttry {\n\t\t\t\t\tfor (var _iterator = (0, _getIterator3.default)(payload.body.targets), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\tvar target = _step.value;\n\t\t\t\t\t\tvar _iteratorNormalCompletion2 = true;\n\t\t\t\t\t\tvar _didIteratorError2 = false;\n\t\t\t\t\t\tvar _iteratorError2 = undefined;\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfor (var _iterator2 = (0, _getIterator3.default)(target.platforms), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\t\t\t\t\tvar platform = _step2.value;\n\n\t\t\t\t\t\t\t\ttargets.push({\n\t\t\t\t\t\t\t\t\tversion: target.version,\n\t\t\t\t\t\t\t\t\tplatform: platform,\n\t\t\t\t\t\t\t\t\tprerelease: target.prereleases.indexOf(platform) > -1,\n\t\t\t\t\t\t\t\t\tfirmware_vendor: target.firmware_vendor\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t_didIteratorError2 = true;\n\t\t\t\t\t\t\t_iteratorError2 = err;\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t\t\t\t\t\t\t\t\t_iterator2.return();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\tif (_didIteratorError2) {\n\t\t\t\t\t\t\t\t\tthrow _iteratorError2;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch (err) {\n\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t_iteratorError = err;\n\t\t\t\t} finally {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return) {\n\t\t\t\t\t\t\t_iterator.return();\n\t\t\t\t\t\t}\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (_didIteratorError) {\n\t\t\t\t\t\t\tthrow _iteratorError;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn targets;\n\t\t\t}, function () {});\n\t\t}\n\t}, {\n\t\tkey: 'trackingIdentity',\n\t\tvalue: function trackingIdentity() {\n\t\t\tvar _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n\t\t\t _ref4$full = _ref4.full,\n\t\t\t full = _ref4$full === undefined ? false : _ref4$full,\n\t\t\t context = _ref4.context;\n\n\t\t\treturn this.api.trackingIdentity({ full: full, context: context, auth: this.auth }).then(function (payload) {\n\t\t\t\treturn payload.body;\n\t\t\t});\n\t\t}\n\t}]);\n\treturn Client;\n}();\n\nexports.default = Client;\nmodule.exports = exports['default'];\n//# sourceMappingURL=Client.js.map","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.default = {\n\tbaseUrl: 'https://api.particle.io',\n\tclientSecret: 'particle-api',\n\tclientId: 'particle-api',\n\ttokenDuration: 7776000, // 90 days\n\tauth: undefined\n};\nmodule.exports = exports['default'];\n//# sourceMappingURL=Defaults.js.map","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _promise = require('babel-runtime/core-js/promise');\n\nvar _promise2 = _interopRequireDefault(_promise);\n\nvar _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _http = require('http');\n\nvar _http2 = _interopRequireDefault(_http);\n\nvar _https = require('https');\n\nvar _https2 = _interopRequireDefault(_https);\n\nvar _url = require('url');\n\nvar _url2 = _interopRequireDefault(_url);\n\nvar _events = require('events');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* eslint max-depth: 0 */\nvar EventStream = function (_EventEmitter) {\n\t(0, _inherits3.default)(EventStream, _EventEmitter);\n\n\tfunction EventStream(uri, token) {\n\t\t(0, _classCallCheck3.default)(this, EventStream);\n\n\t\tvar _this = (0, _possibleConstructorReturn3.default)(this, (EventStream.__proto__ || (0, _getPrototypeOf2.default)(EventStream)).call(this));\n\n\t\t_this.uri = uri;\n\t\t_this.token = token;\n\t\t_this.reconnectInterval = 2000;\n\t\t_this.timeout = 13000; // keep alive can be sent up to 12 seconds after last event\n\t\t_this.data = '';\n\t\t_this.buf = '';\n\n\t\t_this.parse = _this.parse.bind(_this);\n\t\t_this.end = _this.end.bind(_this);\n\t\t_this.idleTimeoutExpired = _this.idleTimeoutExpired.bind(_this);\n\t\treturn _this;\n\t}\n\n\t(0, _createClass3.default)(EventStream, [{\n\t\tkey: 'connect',\n\t\tvalue: function connect() {\n\t\t\tvar _this2 = this;\n\n\t\t\treturn new _promise2.default(function (resolve, reject) {\n\t\t\t\tvar _url$parse = _url2.default.parse(_this2.uri),\n\t\t\t\t hostname = _url$parse.hostname,\n\t\t\t\t protocol = _url$parse.protocol,\n\t\t\t\t port = _url$parse.port,\n\t\t\t\t path = _url$parse.path;\n\n\t\t\t\t_this2.origin = protocol + '//' + hostname + (port ? ':' + port : '');\n\n\t\t\t\tvar isSecure = protocol === 'https:';\n\t\t\t\tvar requestor = isSecure ? _https2.default : _http2.default;\n\t\t\t\tvar req = requestor.request({\n\t\t\t\t\thostname: hostname,\n\t\t\t\t\tprotocol: protocol,\n\t\t\t\t\tpath: path + '?access_token=' + _this2.token,\n\t\t\t\t\tmethod: 'get',\n\t\t\t\t\tport: parseInt(port, 10) || (isSecure ? 443 : 80),\n\t\t\t\t\tmode: 'prefer-streaming'\n\t\t\t\t});\n\n\t\t\t\t_this2.req = req;\n\n\t\t\t\tvar connected = false;\n\t\t\t\tvar connectionTimeout = setTimeout(function () {\n\t\t\t\t\tif (_this2.req) {\n\t\t\t\t\t\t_this2.req.abort();\n\t\t\t\t\t}\n\t\t\t\t\treject({ error: new Error('Timeout'), errorDescription: 'Timeout connecting to ' + _this2.uri });\n\t\t\t\t}, _this2.timeout);\n\n\t\t\t\treq.on('error', function (e) {\n\t\t\t\t\tclearTimeout(connectionTimeout);\n\n\t\t\t\t\tif (connected) {\n\t\t\t\t\t\t_this2.end();\n\t\t\t\t\t} else {\n\t\t\t\t\t\treject({ error: e, errorDescription: 'Network error from ' + _this2.uri });\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\treq.on('response', function (res) {\n\t\t\t\t\tclearTimeout(connectionTimeout);\n\n\t\t\t\t\tvar statusCode = res.statusCode;\n\t\t\t\t\tif (statusCode !== 200) {\n\t\t\t\t\t\tvar body = '';\n\t\t\t\t\t\tres.on('data', function (chunk) {\n\t\t\t\t\t\t\treturn body += chunk;\n\t\t\t\t\t\t});\n\t\t\t\t\t\tres.on('end', function () {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tbody = JSON.parse(body);\n\t\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\t\t// don't bother doing anything special if the JSON.parse fails\n\t\t\t\t\t\t\t\t// since we are already about to reject the promise anyway\n\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\tvar errorDescription = 'HTTP error ' + statusCode + ' from ' + _this2.uri;\n\t\t\t\t\t\t\t\tif (body && body.error_description) {\n\t\t\t\t\t\t\t\t\terrorDescription += ' - ' + body.error_description;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treject({ statusCode: statusCode, errorDescription: errorDescription, body: body });\n\t\t\t\t\t\t\t\t_this2.req = undefined;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t_this2.data = '';\n\t\t\t\t\t_this2.buf = '';\n\n\t\t\t\t\tconnected = true;\n\t\t\t\t\tres.on('data', _this2.parse);\n\t\t\t\t\tres.once('end', _this2.end);\n\t\t\t\t\t_this2.startIdleTimeout();\n\t\t\t\t\tresolve(_this2);\n\t\t\t\t});\n\t\t\t\treq.end();\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'abort',\n\t\tvalue: function abort() {\n\t\t\tif (this.req) {\n\t\t\t\tthis.req.abort();\n\t\t\t\tthis.req = undefined;\n\t\t\t}\n\t\t\tthis.removeAllListeners();\n\t\t}\n\n\t\t/* Private methods */\n\n\t}, {\n\t\tkey: 'emitSafe',\n\t\tvalue: function emitSafe(event, param) {\n\t\t\ttry {\n\t\t\t\tthis.emit(event, param);\n\t\t\t} catch (error) {\n\t\t\t\tif (event !== 'error') {\n\t\t\t\t\tthis.emitSafe('error', error);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'end',\n\t\tvalue: function end() {\n\t\t\tthis.stopIdleTimeout();\n\n\t\t\tif (!this.req) {\n\t\t\t\t// request was ended intentionally by abort\n\t\t\t\t// do not auto reconnect.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.req = undefined;\n\t\t\tthis.emitSafe('disconnect');\n\t\t\tthis.reconnect();\n\t\t}\n\t}, {\n\t\tkey: 'reconnect',\n\t\tvalue: function reconnect() {\n\t\t\tvar _this3 = this;\n\n\t\t\tsetTimeout(function () {\n\t\t\t\tif (_this3.isOffline()) {\n\t\t\t\t\t_this3.reconnect();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t_this3.emitSafe('reconnect');\n\t\t\t\t_this3.connect().then(function () {\n\t\t\t\t\t_this3.emitSafe('reconnect-success');\n\t\t\t\t}).catch(function (err) {\n\t\t\t\t\t_this3.emitSafe('reconnect-error', err);\n\t\t\t\t\t_this3.reconnect();\n\t\t\t\t});\n\t\t\t}, this.reconnectInterval);\n\t\t}\n\t}, {\n\t\tkey: 'isOffline',\n\t\tvalue: function isOffline() {\n\t\t\tif (typeof navigator === 'undefined' || navigator.hasOwnProperty('onLine')) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn !navigator.onLine;\n\t\t}\n\t}, {\n\t\tkey: 'startIdleTimeout',\n\t\tvalue: function startIdleTimeout() {\n\t\t\tthis.stopIdleTimeout();\n\t\t\tthis.idleTimeout = setTimeout(this.idleTimeoutExpired, this.timeout);\n\t\t}\n\t}, {\n\t\tkey: 'stopIdleTimeout',\n\t\tvalue: function stopIdleTimeout() {\n\t\t\tif (this.idleTimeout) {\n\t\t\t\tclearTimeout(this.idleTimeout);\n\t\t\t\tthis.idleTimeout = null;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'idleTimeoutExpired',\n\t\tvalue: function idleTimeoutExpired() {\n\t\t\tif (this.req) {\n\t\t\t\tthis.req.abort();\n\t\t\t\tthis.end();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'parse',\n\t\tvalue: function parse(chunk) {\n\t\t\tthis.startIdleTimeout();\n\n\t\t\tthis.buf += chunk;\n\t\t\tvar pos = 0;\n\t\t\tvar length = this.buf.length;\n\t\t\tvar discardTrailingNewline = false;\n\n\t\t\twhile (pos < length) {\n\t\t\t\tif (discardTrailingNewline) {\n\t\t\t\t\tif (this.buf[pos] === '\\n') {\n\t\t\t\t\t\t++pos;\n\t\t\t\t\t}\n\t\t\t\t\tdiscardTrailingNewline = false;\n\t\t\t\t}\n\n\t\t\t\tvar lineLength = -1;\n\t\t\t\tvar fieldLength = -1;\n\n\t\t\t\tfor (var i = pos; lineLength < 0 && i < length; ++i) {\n\t\t\t\t\tvar c = this.buf[i];\n\t\t\t\t\tif (c === ':') {\n\t\t\t\t\t\tif (fieldLength < 0) {\n\t\t\t\t\t\t\tfieldLength = i - pos;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (c === '\\r') {\n\t\t\t\t\t\tdiscardTrailingNewline = true;\n\t\t\t\t\t\tlineLength = i - pos;\n\t\t\t\t\t} else if (c === '\\n') {\n\t\t\t\t\t\tlineLength = i - pos;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (lineLength < 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tthis.parseEventStreamLine(pos, fieldLength, lineLength);\n\n\t\t\t\tpos += lineLength + 1;\n\t\t\t}\n\n\t\t\tif (pos === length) {\n\t\t\t\tthis.buf = '';\n\t\t\t} else if (pos > 0) {\n\t\t\t\tthis.buf = this.buf.slice(pos);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'parseEventStreamLine',\n\t\tvalue: function parseEventStreamLine(pos, fieldLength, lineLength) {\n\t\t\tif (lineLength === 0) {\n\t\t\t\ttry {\n\t\t\t\t\tif (this.data.length > 0 && this.event) {\n\t\t\t\t\t\tvar event = JSON.parse(this.data);\n\t\t\t\t\t\tevent.name = this.eventName || '';\n\t\t\t\t\t\tthis.emitSafe('event', event);\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// do nothing if JSON.parse fails\n\t\t\t\t} finally {\n\t\t\t\t\tthis.data = '';\n\t\t\t\t\tthis.eventName = undefined;\n\t\t\t\t\tthis.event = false;\n\t\t\t\t}\n\t\t\t} else if (fieldLength > 0) {\n\t\t\t\tvar field = this.buf.slice(pos, pos + fieldLength);\n\t\t\t\tvar step = 0;\n\n\t\t\t\tif (this.buf[pos + fieldLength + 1] !== ' ') {\n\t\t\t\t\tstep = fieldLength + 1;\n\t\t\t\t} else {\n\t\t\t\t\tstep = fieldLength + 2;\n\t\t\t\t}\n\t\t\t\tpos += step;\n\t\t\t\tvar valueLength = lineLength - step;\n\t\t\t\tvar value = this.buf.slice(pos, pos + valueLength);\n\n\t\t\t\tif (field === 'data') {\n\t\t\t\t\tthis.data += value + '\\n';\n\t\t\t\t} else if (field === 'event') {\n\t\t\t\t\tthis.eventName = value;\n\t\t\t\t\tthis.event = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}]);\n\treturn EventStream;\n}(_events.EventEmitter);\n\nexports.default = EventStream;\nmodule.exports = exports['default'];\n//# sourceMappingURL=EventStream.js.map","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _promise = require('babel-runtime/core-js/promise');\n\nvar _promise2 = _interopRequireDefault(_promise);\n\nvar _assign = require('babel-runtime/core-js/object/assign');\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* Library\n * Represents a version of a library contributed in the cloud.\n */\n\nvar Library = function () {\n\tfunction Library(client, data) {\n\t\t(0, _classCallCheck3.default)(this, Library);\n\n\t\t// Make client non-enumerable so it doesn't show up in Object.keys, JSON.stringify, etc\n\t\tObject.defineProperty(this, 'client', { value: client });\n\t\tthis._assignAttributes(data);\n\t\tthis.downloadUrl = data.links && data.links.download;\n\t}\n\n\t(0, _createClass3.default)(Library, [{\n\t\tkey: '_assignAttributes',\n\t\tvalue: function _assignAttributes(data) {\n\t\t\t(0, _assign2.default)(this, data.attributes);\n\t\t}\n\n\t\t/**\n * Download the compressed file containing the source code for this library version.\n * @return {Promise} Resolves to the .tar.gz compressed source code\n */\n\n\t}, {\n\t\tkey: 'download',\n\t\tvalue: function download() {\n\t\t\tif (!this.downloadUrl) {\n\t\t\t\treturn _promise2.default.reject(new Error('No download URL for this library'));\n\t\t\t}\n\t\t\treturn this.client.downloadFile(this.downloadUrl);\n\t\t}\n\n\t\t/* TODO: add a versions() method to fetch an array of library objects */\n\n\t}]);\n\treturn Library;\n}();\n\nexports.default = Library;\nmodule.exports = exports['default'];\n//# sourceMappingURL=Library.js.map","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _assign = require('babel-runtime/core-js/object/assign');\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _superagentBinaryParser = require('./superagent-binary-parser');\n\nvar _superagentBinaryParser2 = _interopRequireDefault(_superagentBinaryParser);\n\nvar _Defaults = require('./Defaults');\n\nvar _Defaults2 = _interopRequireDefault(_Defaults);\n\nvar _EventStream = require('./EventStream');\n\nvar _EventStream2 = _interopRequireDefault(_EventStream);\n\nvar _Agent = require('./Agent');\n\nvar _Agent2 = _interopRequireDefault(_Agent);\n\nvar _Client = require('./Client');\n\nvar _Client2 = _interopRequireDefault(_Client);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Particle Cloud API wrapper.\n *\n * See for examples\n * of using the `Particle` class.\n *\n * Most Particle methods take a single unnamed argument object documented as\n * `options` with key/value pairs for each option.\n */\nvar Particle = function () {\n\t/**\n * Contructor for the Cloud API wrapper.\n *\n * Create a new Particle object and call methods below on it.\n *\n * @param {Object} options Options for this API call Options to be used for all requests (see [Defaults](../src/Defaults.js))\n */\n\tfunction Particle() {\n\t\tvar options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\t\t(0, _classCallCheck3.default)(this, Particle);\n\n\t\tif (options.auth) {\n\t\t\tthis.setDefaultAuth(options.auth);\n\t\t}\n\n\t\t// todo - this seems a bit dangerous - would be better to put all options/context in a contained object\n\t\t(0, _assign2.default)(this, _Defaults2.default, options);\n\t\tthis.context = {};\n\t\tthis.agent = new _Agent2.default(this.baseUrl);\n\t}\n\n\t(0, _createClass3.default)(Particle, [{\n\t\tkey: '_isValidContext',\n\t\tvalue: function _isValidContext(name, context) {\n\t\t\treturn (name === 'tool' || name === 'project') && context !== undefined;\n\t\t}\n\t}, {\n\t\tkey: 'setContext',\n\t\tvalue: function setContext(name, context) {\n\t\t\tif (context !== undefined) {\n\t\t\t\tif (this._isValidContext(name, context)) {\n\t\t\t\t\tthis.context[name] = context;\n\t\t\t\t} else {\n\t\t\t\t\tthrow Error('unknown context name or undefined context: ' + name);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Builds the final context from the context parameter and the context items in the api.\n * @param {Object} context The invocation context, this takes precedence over the local context.\n * @returns {Object} The context to use.\n * @private\n */\n\n\t}, {\n\t\tkey: '_buildContext',\n\t\tvalue: function _buildContext(context) {\n\t\t\treturn (0, _assign2.default)(this.context, context);\n\t\t}\n\n\t\t/**\n * Login to Particle Cloud using an existing Particle acccount.\n * @param {Object} options Options for this API call\n * @param {String} options.username Username for the Particle account\n * @param {String} options.password Password for the Particle account\n * @param {Number} options.tokenDuration How long the access token should last in seconds\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Number} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'login',\n\t\tvalue: function login(_ref) {\n\t\t\tvar username = _ref.username,\n\t\t\t password = _ref.password,\n\t\t\t _ref$tokenDuration = _ref.tokenDuration,\n\t\t\t tokenDuration = _ref$tokenDuration === undefined ? this.tokenDuration : _ref$tokenDuration,\n\t\t\t headers = _ref.headers,\n\t\t\t context = _ref.context;\n\n\t\t\treturn this.request({\n\t\t\t\turi: '/oauth/token',\n\t\t\t\tmethod: 'post',\n\t\t\t\theaders: headers,\n\t\t\t\tform: {\n\t\t\t\t\tusername: username,\n\t\t\t\t\tpassword: password,\n\t\t\t\t\tgrant_type: 'password',\n\t\t\t\t\tclient_id: this.clientId,\n\t\t\t\t\tclient_secret: this.clientSecret,\n\t\t\t\t\texpires_in: tokenDuration\n\t\t\t\t},\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * If login failed with an 'mfa_required' error, this must be called with a valid OTP code to login\n * @param {Object} options Options for this API call\n * @param {String} options.mfaToken Given as 'mfa_token' in the error body of `.login()`.\n * @param {String} options.otp Current one-time-password generated from the authentication application\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Number} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'sendOtp',\n\t\tvalue: function sendOtp(_ref2) {\n\t\t\tvar mfaToken = _ref2.mfaToken,\n\t\t\t otp = _ref2.otp,\n\t\t\t headers = _ref2.headers,\n\t\t\t context = _ref2.context;\n\n\t\t\treturn this.request({\n\t\t\t\turi: '/oauth/token',\n\t\t\t\tmethod: 'post',\n\t\t\t\theaders: headers,\n\t\t\t\tform: {\n\t\t\t\t\tgrant_type: 'urn:custom:mfa-otp',\n\t\t\t\t\tmfa_token: mfaToken,\n\t\t\t\t\totp: otp,\n\t\t\t\t\tclient_id: this.clientId,\n\t\t\t\t\tclient_secret: this.clientSecret\n\t\t\t\t},\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Enable MFA on the currently logged in user\n * @param {Object} options Options for this API call\n * @param {Object} options.auth Access token\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'enableMfa',\n\t\tvalue: function enableMfa(_ref3) {\n\t\t\tvar auth = _ref3.auth,\n\t\t\t headers = _ref3.headers,\n\t\t\t context = _ref3.context;\n\n\t\t\treturn this.get({ uri: '/v1/user/mfa-enable', auth: auth, headers: headers, context: context });\n\t\t}\n\n\t\t/**\n * Confirm MFA for the user. This must be called with current TOTP code, determined from the results of enableMfa(). You will be prompted to enter an OTP code every time you login after enrollment is confirmed.\n * @param {Object} options Options for this API call\n * @param {Object} options.auth Access token\n * @param {Object} options.mfaToken Token given from previous step to\n * @param {Object} options.otp Current one-time-password generated from the authentication app\n * @param {Boolean} options.invalidateTokens Should all tokens be invalidated\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'confirmMfa',\n\t\tvalue: function confirmMfa(_ref4) {\n\t\t\tvar mfaToken = _ref4.mfaToken,\n\t\t\t otp = _ref4.otp,\n\t\t\t _ref4$invalidateToken = _ref4.invalidateTokens,\n\t\t\t invalidateTokens = _ref4$invalidateToken === undefined ? false : _ref4$invalidateToken,\n\t\t\t auth = _ref4.auth,\n\t\t\t headers = _ref4.headers,\n\t\t\t context = _ref4.context;\n\n\t\t\tvar data = { mfa_token: mfaToken, otp: otp };\n\n\t\t\tif (invalidateTokens) {\n\t\t\t\tdata.invalidate_tokens = true;\n\t\t\t}\n\n\t\t\treturn this.post({\n\t\t\t\turi: '/v1/user/mfa-enable',\n\t\t\t\tauth: auth,\n\t\t\t\theaders: headers,\n\t\t\t\tdata: data,\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Disable MFA for the user.\n * @param {Object} options Options for this API call\n * @param {Object} options.auth Access token\n * @param {Object} options.currentPassword User's current password\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'disableMfa',\n\t\tvalue: function disableMfa(_ref5) {\n\t\t\tvar currentPassword = _ref5.currentPassword,\n\t\t\t auth = _ref5.auth,\n\t\t\t headers = _ref5.headers,\n\t\t\t context = _ref5.context;\n\n\t\t\treturn this.put({\n\t\t\t\turi: '/v1/user/mfa-disable',\n\t\t\t\tauth: auth,\n\t\t\t\theaders: headers,\n\t\t\t\tdata: { current_password: currentPassword },\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Create Customer for Product.\n * @param {Object} options Options for this API call\n * @param {String} options.email Username for the Particle account\n * @param {String} options.password Password for the Particle account\n * @param {String} options.product Create the customer in this product ID or slug\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'createCustomer',\n\t\tvalue: function createCustomer(_ref6) {\n\t\t\tvar email = _ref6.email,\n\t\t\t password = _ref6.password,\n\t\t\t product = _ref6.product,\n\t\t\t headers = _ref6.headers,\n\t\t\t context = _ref6.context;\n\n\t\t\treturn this.request({\n\t\t\t\turi: '/v1/products/' + product + '/customers',\n\t\t\t\tmethod: 'post',\n\t\t\t\theaders: headers,\n\t\t\t\tform: {\n\t\t\t\t\temail: email,\n\t\t\t\t\tpassword: password,\n\t\t\t\t\tgrant_type: 'client_credentials',\n\t\t\t\t\tclient_id: this.clientId,\n\t\t\t\t\tclient_secret: this.clientSecret\n\t\t\t\t},\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Login to Particle Cloud using an OAuth client.\n * @param {Object} options Options for this API call\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'loginAsClientOwner',\n\t\tvalue: function loginAsClientOwner(_ref7) {\n\t\t\tvar headers = _ref7.headers,\n\t\t\t context = _ref7.context;\n\n\t\t\treturn this.request({\n\t\t\t\turi: '/oauth/token',\n\t\t\t\tmethod: 'post',\n\t\t\t\theaders: headers,\n\t\t\t\tform: {\n\t\t\t\t\tgrant_type: 'client_credentials',\n\t\t\t\t\tclient_id: this.clientId,\n\t\t\t\t\tclient_secret: this.clientSecret\n\t\t\t\t},\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Create a user account for the Particle Cloud\n * @param {Object} options Options for this API call\n * @param {String} options.username Email of the new user\n * @param {String} options.password Password\n * @param {String} options.accountInfo Object that contains account information fields such as user real name, company name, business account flag etc\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'createUser',\n\t\tvalue: function createUser(_ref8) {\n\t\t\tvar username = _ref8.username,\n\t\t\t password = _ref8.password,\n\t\t\t accountInfo = _ref8.accountInfo,\n\t\t\t headers = _ref8.headers,\n\t\t\t context = _ref8.context;\n\n\t\t\treturn this.post({\n\t\t\t\turi: '/v1/users',\n\t\t\t\theaders: headers,\n\t\t\t\tdata: {\n\t\t\t\t\tusername: username,\n\t\t\t\t\tpassword: password,\n\t\t\t\t\taccount_info: accountInfo\n\t\t\t\t},\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Verify new user account via verification email\n * @param {Object} options Options for this API call\n * @param {String} options.token The string token sent in the verification email\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'verifyUser',\n\t\tvalue: function verifyUser(_ref9) {\n\t\t\tvar token = _ref9.token,\n\t\t\t headers = _ref9.headers,\n\t\t\t context = _ref9.context;\n\n\t\t\treturn this.post({\n\t\t\t\turi: '/v1/user/verify',\n\t\t\t\theaders: headers,\n\t\t\t\tdata: { token: token },\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Send reset password email for a Particle Cloud user account\n * @param {Object} options Options for this API call\n * @param {String} options.username Email of the user\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'resetPassword',\n\t\tvalue: function resetPassword(_ref10) {\n\t\t\tvar username = _ref10.username,\n\t\t\t headers = _ref10.headers,\n\t\t\t context = _ref10.context;\n\n\t\t\treturn this.post({\n\t\t\t\turi: '/v1/user/password-reset',\n\t\t\t\theaders: headers,\n\t\t\t\tdata: { username: username },\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Revoke an access token\n * @param {Object} options Options for this API call\n * @param {String} options.username Username of the Particle cloud account that the token belongs to.\n * @param {String} options.password Password for the account\n * @param {String} options.token Access token you wish to revoke\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'deleteAccessToken',\n\t\tvalue: function deleteAccessToken(_ref11) {\n\t\t\tvar username = _ref11.username,\n\t\t\t password = _ref11.password,\n\t\t\t token = _ref11.token,\n\t\t\t headers = _ref11.headers,\n\t\t\t context = _ref11.context;\n\n\t\t\treturn this.delete({\n\t\t\t\turi: '/v1/access_tokens/' + token,\n\t\t\t\tauth: { username: username, password: password },\n\t\t\t\theaders: headers,\n\t\t\t\tdata: { access_token: token },\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Revoke the current session access token\n * @param {Object} options Options for this API call\n * @param {String} options.auth Access Token\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'deleteCurrentAccessToken',\n\t\tvalue: function deleteCurrentAccessToken(_ref12) {\n\t\t\tvar auth = _ref12.auth,\n\t\t\t headers = _ref12.headers,\n\t\t\t context = _ref12.context;\n\n\t\t\treturn this.delete({\n\t\t\t\turi: '/v1/access_tokens/current',\n\t\t\t\tauth: auth,\n\t\t\t\theaders: headers,\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Revoke all active access tokens\n * @param {Object} options Options for this API call\n * @param {String} options.auth Access Token\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'deleteActiveAccessTokens',\n\t\tvalue: function deleteActiveAccessTokens(_ref13) {\n\t\t\tvar auth = _ref13.auth,\n\t\t\t headers = _ref13.headers,\n\t\t\t context = _ref13.context;\n\n\t\t\treturn this.delete({\n\t\t\t\turi: '/v1/access_tokens',\n\t\t\t\tauth: auth,\n\t\t\t\theaders: headers,\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Delete the current user\n * @param {Object} options Options for this API call\n * @param {String} options.auth Access Token\n * @param {String} options.password Password\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'deleteUser',\n\t\tvalue: function deleteUser(_ref14) {\n\t\t\tvar auth = _ref14.auth,\n\t\t\t password = _ref14.password,\n\t\t\t headers = _ref14.headers,\n\t\t\t context = _ref14.context;\n\n\t\t\treturn this.delete({\n\t\t\t\turi: '/v1/user',\n\t\t\t\tdata: { password: password },\n\t\t\t\tauth: auth,\n\t\t\t\theaders: headers,\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * List all valid access tokens for a Particle Cloud account\n * @param {Object} options Options for this API call\n * @param {String} options.username Username\n * @param {String} options.password Password\n * @param {String} options.otp Current one-time-password generated from the authentication application\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise} A promise\n */\n\n\t}, {\n\t\tkey: 'listAccessTokens',\n\t\tvalue: function listAccessTokens(_ref15) {\n\t\t\tvar username = _ref15.username,\n\t\t\t password = _ref15.password,\n\t\t\t otp = _ref15.otp,\n\t\t\t headers = _ref15.headers,\n\t\t\t context = _ref15.context;\n\n\t\t\treturn this.get({\n\t\t\t\turi: '/v1/access_tokens',\n\t\t\t\tauth: { username: username, password: password },\n\t\t\t\tquery: otp ? { otp: otp } : undefined,\n\t\t\t\theaders: headers,\n\t\t\t\tcontext: context\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Retrieves the information that is used to identify the current login for tracking.\n * @param {Object} options Options for this API call\n * @param {String} options.auth The access token\n * @param {Boolean} options.full When true, retrieve all information for registering a user with the tracking API. When false,\n * retrieve only the unique tracking ID for the current login.\n * @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.\n * @param {Object} [options.context] Request context\n * @returns {Promise