@blues-inc/notehub-js 1.0.24 → 1.0.25-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +199 -190
  2. package/dist/ApiClient.js +160 -159
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +16 -16
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +351 -351
  7. package/dist/api/EventApi.js +118 -130
  8. package/dist/api/MonitorApi.js +52 -52
  9. package/dist/api/ProjectApi.js +326 -326
  10. package/dist/api/RouteApi.js +74 -74
  11. package/dist/model/Alert.js +76 -74
  12. package/dist/model/AlertDataInner.js +35 -35
  13. package/dist/model/AlertNotificationsInner.js +18 -18
  14. package/dist/model/Aws.js +65 -65
  15. package/dist/model/Azure.js +43 -43
  16. package/dist/model/BillingAccount.js +21 -21
  17. package/dist/model/BillingAccountRole.js +9 -9
  18. package/dist/model/Body.js +5 -5
  19. package/dist/model/CloneProjectRequest.js +20 -20
  20. package/dist/model/Contact.js +22 -22
  21. package/dist/model/CreateFleetRequest.js +7 -7
  22. package/dist/model/CreateMonitor.js +126 -125
  23. package/dist/model/CreateProductRequest.js +22 -22
  24. package/dist/model/CreateProjectRequest.js +16 -16
  25. package/dist/model/CurrentFirmware.js +12 -12
  26. package/dist/model/DFUEnv.js +12 -12
  27. package/dist/model/DFUState.js +65 -65
  28. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  29. package/dist/model/Device.js +84 -84
  30. package/dist/model/DeviceDfuHistory.js +20 -19
  31. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  32. package/dist/model/DeviceDfuStateMachine.js +25 -24
  33. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  34. package/dist/model/DeviceDfuStatus.js +20 -20
  35. package/dist/model/DeviceDfuStatusCurrent.js +32 -32
  36. package/dist/model/DeviceDfuStatusPage.js +13 -12
  37. package/dist/model/DeviceSession.js +182 -182
  38. package/dist/model/DeviceTowerInfo.js +14 -14
  39. package/dist/model/DeviceUsage.js +32 -32
  40. package/dist/model/DfuActionRequest.js +7 -7
  41. package/dist/model/EmailNotification.js +7 -7
  42. package/dist/model/EnvironmentVariables.js +8 -8
  43. package/dist/model/Error.js +31 -31
  44. package/dist/model/Event.js +223 -223
  45. package/dist/model/Firmware.js +49 -49
  46. package/dist/model/FirmwareInfo.js +60 -60
  47. package/dist/model/Fleet.js +21 -21
  48. package/dist/model/GetAlerts200Response.js +15 -14
  49. package/dist/model/GetBillingAccounts200Response.js +10 -9
  50. package/dist/model/GetDeviceEnvironmentVariables200Response.js +12 -12
  51. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  52. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  53. package/dist/model/GetDeviceLatest200Response.js +10 -9
  54. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  55. package/dist/model/GetDeviceSessions200Response.js +17 -16
  56. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -16
  57. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  58. package/dist/model/GetProjectDevices200Response.js +17 -16
  59. package/dist/model/GetProjectEvents200Response.js +21 -20
  60. package/dist/model/GetProjectEventsByCursor200Response.js +24 -23
  61. package/dist/model/GetProjectFleets200Response.js +12 -11
  62. package/dist/model/GetProjectMembers200Response.js +12 -11
  63. package/dist/model/GetProjectProducts200Response.js +10 -9
  64. package/dist/model/GetProjects200Response.js +10 -9
  65. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +35 -35
  66. package/dist/model/Google.js +33 -33
  67. package/dist/model/HandleNoteChanges200Response.js +11 -11
  68. package/dist/model/HandleNoteGet200Response.js +13 -13
  69. package/dist/model/HandleNoteSignal200Response.js +5 -5
  70. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  71. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  72. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  73. package/dist/model/Http.js +35 -35
  74. package/dist/model/HttpFilter.js +19 -19
  75. package/dist/model/HttpTransform.js +20 -20
  76. package/dist/model/Location.js +40 -40
  77. package/dist/model/Login200Response.js +7 -7
  78. package/dist/model/LoginRequest.js +12 -12
  79. package/dist/model/Monitor.js +100 -99
  80. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  81. package/dist/model/Mqtt.js +66 -66
  82. package/dist/model/Note.js +10 -10
  83. package/dist/model/NotehubRoute.js +36 -36
  84. package/dist/model/NotehubRouteSchema.js +45 -46
  85. package/dist/model/PostProvisionProjectDeviceRequest.js +26 -13
  86. package/dist/model/Product.js +26 -26
  87. package/dist/model/Project.js +34 -34
  88. package/dist/model/ProjectMember.js +22 -22
  89. package/dist/model/Proxy.js +24 -24
  90. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  91. package/dist/model/Radresponder.js +25 -25
  92. package/dist/model/Role.js +9 -9
  93. package/dist/model/Slack.js +53 -53
  94. package/dist/model/SlackBearerNotification.js +25 -25
  95. package/dist/model/SlackWebHookNotification.js +20 -20
  96. package/dist/model/Snowflake.js +45 -45
  97. package/dist/model/SnowflakeTransform.js +12 -12
  98. package/dist/model/Thingworx.js +33 -33
  99. package/dist/model/TowerLocation.js +52 -52
  100. package/dist/model/Twilio.js +43 -43
  101. package/dist/model/UpdateFleetRequest.js +17 -17
  102. package/dist/model/UploadMetadata.js +59 -59
  103. package/dist/model/UserDbRoute.js +25 -25
  104. package/dist/model/UserDfuStateMachine.js +20 -20
  105. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  106. package/dist/model/UserFirmwareInfo.js +12 -12
  107. package/package.json +4 -4
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
16
+ * The OpenAPI definition for the Notehub.io API. Test beta deploys
17
17
  *
18
18
  * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The Event model module.
28
28
  * @module model/Event
29
- * @version 1.0.24
29
+ * @version 1.0.25-beta.1
30
30
  */
31
31
  var Event = /*#__PURE__*/function () {
32
32
  /**
@@ -59,170 +59,170 @@ var Event = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new Event();
62
- if (data.hasOwnProperty("event")) {
63
- obj["event"] = _ApiClient["default"].convertToType(data["event"], "String");
62
+ if (data.hasOwnProperty('event')) {
63
+ obj['event'] = _ApiClient["default"].convertToType(data['event'], 'String');
64
64
  }
65
- if (data.hasOwnProperty("session")) {
66
- obj["session"] = _ApiClient["default"].convertToType(data["session"], "String");
65
+ if (data.hasOwnProperty('session')) {
66
+ obj['session'] = _ApiClient["default"].convertToType(data['session'], 'String');
67
67
  }
68
- if (data.hasOwnProperty("tls")) {
69
- obj["tls"] = _ApiClient["default"].convertToType(data["tls"], "Boolean");
68
+ if (data.hasOwnProperty('tls')) {
69
+ obj['tls'] = _ApiClient["default"].convertToType(data['tls'], 'Boolean');
70
70
  }
71
- if (data.hasOwnProperty("best_id")) {
72
- obj["best_id"] = _ApiClient["default"].convertToType(data["best_id"], "String");
71
+ if (data.hasOwnProperty('best_id')) {
72
+ obj['best_id'] = _ApiClient["default"].convertToType(data['best_id'], 'String');
73
73
  }
74
- if (data.hasOwnProperty("device")) {
75
- obj["device"] = _ApiClient["default"].convertToType(data["device"], "String");
74
+ if (data.hasOwnProperty('device')) {
75
+ obj['device'] = _ApiClient["default"].convertToType(data['device'], 'String');
76
76
  }
77
- if (data.hasOwnProperty("sn")) {
78
- obj["sn"] = _ApiClient["default"].convertToType(data["sn"], "String");
77
+ if (data.hasOwnProperty('sn')) {
78
+ obj['sn'] = _ApiClient["default"].convertToType(data['sn'], 'String');
79
79
  }
80
- if (data.hasOwnProperty("product")) {
81
- obj["product"] = _ApiClient["default"].convertToType(data["product"], "String");
80
+ if (data.hasOwnProperty('product')) {
81
+ obj['product'] = _ApiClient["default"].convertToType(data['product'], 'String');
82
82
  }
83
- if (data.hasOwnProperty("app")) {
84
- obj["app"] = _ApiClient["default"].convertToType(data["app"], "String");
83
+ if (data.hasOwnProperty('app')) {
84
+ obj['app'] = _ApiClient["default"].convertToType(data['app'], 'String');
85
85
  }
86
- if (data.hasOwnProperty("received")) {
87
- obj["received"] = _ApiClient["default"].convertToType(data["received"], "Number");
86
+ if (data.hasOwnProperty('received')) {
87
+ obj['received'] = _ApiClient["default"].convertToType(data['received'], 'Number');
88
88
  }
89
- if (data.hasOwnProperty("req")) {
90
- obj["req"] = _ApiClient["default"].convertToType(data["req"], "String");
89
+ if (data.hasOwnProperty('req')) {
90
+ obj['req'] = _ApiClient["default"].convertToType(data['req'], 'String');
91
91
  }
92
- if (data.hasOwnProperty("when")) {
93
- obj["when"] = _ApiClient["default"].convertToType(data["when"], "Number");
92
+ if (data.hasOwnProperty('when')) {
93
+ obj['when'] = _ApiClient["default"].convertToType(data['when'], 'Number');
94
94
  }
95
- if (data.hasOwnProperty("file")) {
96
- obj["file"] = _ApiClient["default"].convertToType(data["file"], "String");
95
+ if (data.hasOwnProperty('file')) {
96
+ obj['file'] = _ApiClient["default"].convertToType(data['file'], 'String');
97
97
  }
98
- if (data.hasOwnProperty("note")) {
99
- obj["note"] = _ApiClient["default"].convertToType(data["note"], "String");
98
+ if (data.hasOwnProperty('note')) {
99
+ obj['note'] = _ApiClient["default"].convertToType(data['note'], 'String');
100
100
  }
101
- if (data.hasOwnProperty("updates")) {
102
- obj["updates"] = _ApiClient["default"].convertToType(data["updates"], "Number");
101
+ if (data.hasOwnProperty('updates')) {
102
+ obj['updates'] = _ApiClient["default"].convertToType(data['updates'], 'Number');
103
103
  }
104
- if (data.hasOwnProperty("body")) {
105
- obj["body"] = _ApiClient["default"].convertToType(data["body"], Object);
104
+ if (data.hasOwnProperty('body')) {
105
+ obj['body'] = _ApiClient["default"].convertToType(data['body'], Object);
106
106
  }
107
- if (data.hasOwnProperty("payload")) {
108
- obj["payload"] = _ApiClient["default"].convertToType(data["payload"], "String");
107
+ if (data.hasOwnProperty('payload')) {
108
+ obj['payload'] = _ApiClient["default"].convertToType(data['payload'], 'String');
109
109
  }
110
- if (data.hasOwnProperty("best_location_type")) {
111
- obj["best_location_type"] = _ApiClient["default"].convertToType(data["best_location_type"], "String");
110
+ if (data.hasOwnProperty('best_location_type')) {
111
+ obj['best_location_type'] = _ApiClient["default"].convertToType(data['best_location_type'], 'String');
112
112
  }
113
- if (data.hasOwnProperty("best_location_when")) {
114
- obj["best_location_when"] = _ApiClient["default"].convertToType(data["best_location_when"], "Number");
113
+ if (data.hasOwnProperty('best_location_when')) {
114
+ obj['best_location_when'] = _ApiClient["default"].convertToType(data['best_location_when'], 'Number');
115
115
  }
116
- if (data.hasOwnProperty("best_lat")) {
117
- obj["best_lat"] = _ApiClient["default"].convertToType(data["best_lat"], "Number");
116
+ if (data.hasOwnProperty('best_lat')) {
117
+ obj['best_lat'] = _ApiClient["default"].convertToType(data['best_lat'], 'Number');
118
118
  }
119
- if (data.hasOwnProperty("best_lon")) {
120
- obj["best_lon"] = _ApiClient["default"].convertToType(data["best_lon"], "Number");
119
+ if (data.hasOwnProperty('best_lon')) {
120
+ obj['best_lon'] = _ApiClient["default"].convertToType(data['best_lon'], 'Number');
121
121
  }
122
- if (data.hasOwnProperty("best_location")) {
123
- obj["best_location"] = _ApiClient["default"].convertToType(data["best_location"], "String");
122
+ if (data.hasOwnProperty('best_location')) {
123
+ obj['best_location'] = _ApiClient["default"].convertToType(data['best_location'], 'String');
124
124
  }
125
- if (data.hasOwnProperty("best_country")) {
126
- obj["best_country"] = _ApiClient["default"].convertToType(data["best_country"], "String");
125
+ if (data.hasOwnProperty('best_country')) {
126
+ obj['best_country'] = _ApiClient["default"].convertToType(data['best_country'], 'String');
127
127
  }
128
- if (data.hasOwnProperty("best_timezone")) {
129
- obj["best_timezone"] = _ApiClient["default"].convertToType(data["best_timezone"], "String");
128
+ if (data.hasOwnProperty('best_timezone')) {
129
+ obj['best_timezone'] = _ApiClient["default"].convertToType(data['best_timezone'], 'String');
130
130
  }
131
- if (data.hasOwnProperty("where_olc")) {
132
- obj["where_olc"] = _ApiClient["default"].convertToType(data["where_olc"], "String");
131
+ if (data.hasOwnProperty('where_olc')) {
132
+ obj['where_olc'] = _ApiClient["default"].convertToType(data['where_olc'], 'String');
133
133
  }
134
- if (data.hasOwnProperty("where_when")) {
135
- obj["where_when"] = _ApiClient["default"].convertToType(data["where_when"], "Number");
134
+ if (data.hasOwnProperty('where_when')) {
135
+ obj['where_when'] = _ApiClient["default"].convertToType(data['where_when'], 'Number');
136
136
  }
137
- if (data.hasOwnProperty("where_lat")) {
138
- obj["where_lat"] = _ApiClient["default"].convertToType(data["where_lat"], "Number");
137
+ if (data.hasOwnProperty('where_lat')) {
138
+ obj['where_lat'] = _ApiClient["default"].convertToType(data['where_lat'], 'Number');
139
139
  }
140
- if (data.hasOwnProperty("where_lon")) {
141
- obj["where_lon"] = _ApiClient["default"].convertToType(data["where_lon"], "Number");
140
+ if (data.hasOwnProperty('where_lon')) {
141
+ obj['where_lon'] = _ApiClient["default"].convertToType(data['where_lon'], 'Number');
142
142
  }
143
- if (data.hasOwnProperty("where_location")) {
144
- obj["where_location"] = _ApiClient["default"].convertToType(data["where_location"], "String");
143
+ if (data.hasOwnProperty('where_location')) {
144
+ obj['where_location'] = _ApiClient["default"].convertToType(data['where_location'], 'String');
145
145
  }
146
- if (data.hasOwnProperty("where_country")) {
147
- obj["where_country"] = _ApiClient["default"].convertToType(data["where_country"], "String");
146
+ if (data.hasOwnProperty('where_country')) {
147
+ obj['where_country'] = _ApiClient["default"].convertToType(data['where_country'], 'String');
148
148
  }
149
- if (data.hasOwnProperty("where_timezone")) {
150
- obj["where_timezone"] = _ApiClient["default"].convertToType(data["where_timezone"], "String");
149
+ if (data.hasOwnProperty('where_timezone')) {
150
+ obj['where_timezone'] = _ApiClient["default"].convertToType(data['where_timezone'], 'String');
151
151
  }
152
- if (data.hasOwnProperty("tower_when")) {
153
- obj["tower_when"] = _ApiClient["default"].convertToType(data["tower_when"], "Number");
152
+ if (data.hasOwnProperty('tower_when')) {
153
+ obj['tower_when'] = _ApiClient["default"].convertToType(data['tower_when'], 'Number');
154
154
  }
155
- if (data.hasOwnProperty("tower_lat")) {
156
- obj["tower_lat"] = _ApiClient["default"].convertToType(data["tower_lat"], "Number");
155
+ if (data.hasOwnProperty('tower_lat')) {
156
+ obj['tower_lat'] = _ApiClient["default"].convertToType(data['tower_lat'], 'Number');
157
157
  }
158
- if (data.hasOwnProperty("tower_lon")) {
159
- obj["tower_lon"] = _ApiClient["default"].convertToType(data["tower_lon"], "Number");
158
+ if (data.hasOwnProperty('tower_lon')) {
159
+ obj['tower_lon'] = _ApiClient["default"].convertToType(data['tower_lon'], 'Number');
160
160
  }
161
- if (data.hasOwnProperty("tower_country")) {
162
- obj["tower_country"] = _ApiClient["default"].convertToType(data["tower_country"], "String");
161
+ if (data.hasOwnProperty('tower_country')) {
162
+ obj['tower_country'] = _ApiClient["default"].convertToType(data['tower_country'], 'String');
163
163
  }
164
- if (data.hasOwnProperty("tower_location")) {
165
- obj["tower_location"] = _ApiClient["default"].convertToType(data["tower_location"], "String");
164
+ if (data.hasOwnProperty('tower_location')) {
165
+ obj['tower_location'] = _ApiClient["default"].convertToType(data['tower_location'], 'String');
166
166
  }
167
- if (data.hasOwnProperty("tower_timezone")) {
168
- obj["tower_timezone"] = _ApiClient["default"].convertToType(data["tower_timezone"], "String");
167
+ if (data.hasOwnProperty('tower_timezone')) {
168
+ obj['tower_timezone'] = _ApiClient["default"].convertToType(data['tower_timezone'], 'String');
169
169
  }
170
- if (data.hasOwnProperty("tower_id")) {
171
- obj["tower_id"] = _ApiClient["default"].convertToType(data["tower_id"], "String");
170
+ if (data.hasOwnProperty('tower_id')) {
171
+ obj['tower_id'] = _ApiClient["default"].convertToType(data['tower_id'], 'String');
172
172
  }
173
- if (data.hasOwnProperty("tri_when")) {
174
- obj["tri_when"] = _ApiClient["default"].convertToType(data["tri_when"], "Number");
173
+ if (data.hasOwnProperty('tri_when')) {
174
+ obj['tri_when'] = _ApiClient["default"].convertToType(data['tri_when'], 'Number');
175
175
  }
176
- if (data.hasOwnProperty("tri_lat")) {
177
- obj["tri_lat"] = _ApiClient["default"].convertToType(data["tri_lat"], "Number");
176
+ if (data.hasOwnProperty('tri_lat')) {
177
+ obj['tri_lat'] = _ApiClient["default"].convertToType(data['tri_lat'], 'Number');
178
178
  }
179
- if (data.hasOwnProperty("tri_lon")) {
180
- obj["tri_lon"] = _ApiClient["default"].convertToType(data["tri_lon"], "Number");
179
+ if (data.hasOwnProperty('tri_lon')) {
180
+ obj['tri_lon'] = _ApiClient["default"].convertToType(data['tri_lon'], 'Number');
181
181
  }
182
- if (data.hasOwnProperty("tri_location")) {
183
- obj["tri_location"] = _ApiClient["default"].convertToType(data["tri_location"], "String");
182
+ if (data.hasOwnProperty('tri_location')) {
183
+ obj['tri_location'] = _ApiClient["default"].convertToType(data['tri_location'], 'String');
184
184
  }
185
- if (data.hasOwnProperty("tri_country")) {
186
- obj["tri_country"] = _ApiClient["default"].convertToType(data["tri_country"], "String");
185
+ if (data.hasOwnProperty('tri_country')) {
186
+ obj['tri_country'] = _ApiClient["default"].convertToType(data['tri_country'], 'String');
187
187
  }
188
- if (data.hasOwnProperty("tri_timezone")) {
189
- obj["tri_timezone"] = _ApiClient["default"].convertToType(data["tri_timezone"], "String");
188
+ if (data.hasOwnProperty('tri_timezone')) {
189
+ obj['tri_timezone'] = _ApiClient["default"].convertToType(data['tri_timezone'], 'String');
190
190
  }
191
- if (data.hasOwnProperty("tri_points")) {
192
- obj["tri_points"] = _ApiClient["default"].convertToType(data["tri_points"], "Number");
191
+ if (data.hasOwnProperty('tri_points')) {
192
+ obj['tri_points'] = _ApiClient["default"].convertToType(data['tri_points'], 'Number');
193
193
  }
194
- if (data.hasOwnProperty("moved")) {
195
- obj["moved"] = _ApiClient["default"].convertToType(data["moved"], "Number");
194
+ if (data.hasOwnProperty('moved')) {
195
+ obj['moved'] = _ApiClient["default"].convertToType(data['moved'], 'Number');
196
196
  }
197
- if (data.hasOwnProperty("orientation")) {
198
- obj["orientation"] = _ApiClient["default"].convertToType(data["orientation"], "String");
197
+ if (data.hasOwnProperty('orientation')) {
198
+ obj['orientation'] = _ApiClient["default"].convertToType(data['orientation'], 'String');
199
199
  }
200
- if (data.hasOwnProperty("rssi")) {
201
- obj["rssi"] = _ApiClient["default"].convertToType(data["rssi"], "Number");
200
+ if (data.hasOwnProperty('rssi')) {
201
+ obj['rssi'] = _ApiClient["default"].convertToType(data['rssi'], 'Number');
202
202
  }
203
- if (data.hasOwnProperty("sinr")) {
204
- obj["sinr"] = _ApiClient["default"].convertToType(data["sinr"], "Number");
203
+ if (data.hasOwnProperty('sinr')) {
204
+ obj['sinr'] = _ApiClient["default"].convertToType(data['sinr'], 'Number');
205
205
  }
206
- if (data.hasOwnProperty("rsrp")) {
207
- obj["rsrp"] = _ApiClient["default"].convertToType(data["rsrp"], "Number");
206
+ if (data.hasOwnProperty('rsrp')) {
207
+ obj['rsrp'] = _ApiClient["default"].convertToType(data['rsrp'], 'Number');
208
208
  }
209
- if (data.hasOwnProperty("rsrq")) {
210
- obj["rsrq"] = _ApiClient["default"].convertToType(data["rsrq"], "Number");
209
+ if (data.hasOwnProperty('rsrq')) {
210
+ obj['rsrq'] = _ApiClient["default"].convertToType(data['rsrq'], 'Number');
211
211
  }
212
- if (data.hasOwnProperty("rat")) {
213
- obj["rat"] = _ApiClient["default"].convertToType(data["rat"], "String");
212
+ if (data.hasOwnProperty('rat')) {
213
+ obj['rat'] = _ApiClient["default"].convertToType(data['rat'], 'String');
214
214
  }
215
- if (data.hasOwnProperty("bars")) {
216
- obj["bars"] = _ApiClient["default"].convertToType(data["bars"], "Number");
215
+ if (data.hasOwnProperty('bars')) {
216
+ obj['bars'] = _ApiClient["default"].convertToType(data['bars'], 'Number');
217
217
  }
218
- if (data.hasOwnProperty("voltage")) {
219
- obj["voltage"] = _ApiClient["default"].convertToType(data["voltage"], "Number");
218
+ if (data.hasOwnProperty('voltage')) {
219
+ obj['voltage'] = _ApiClient["default"].convertToType(data['voltage'], 'Number');
220
220
  }
221
- if (data.hasOwnProperty("temp")) {
222
- obj["temp"] = _ApiClient["default"].convertToType(data["temp"], "Number");
221
+ if (data.hasOwnProperty('temp')) {
222
+ obj['temp'] = _ApiClient["default"].convertToType(data['temp'], 'Number');
223
223
  }
224
- if (data.hasOwnProperty("environment")) {
225
- obj["environment"] = _ApiClient["default"].convertToType(data["environment"], Object);
224
+ if (data.hasOwnProperty('environment')) {
225
+ obj['environment'] = _ApiClient["default"].convertToType(data['environment'], Object);
226
226
  }
227
227
  } else if (data === null) {
228
228
  return null;
@@ -239,116 +239,116 @@ var Event = /*#__PURE__*/function () {
239
239
  key: "validateJSON",
240
240
  value: function validateJSON(data) {
241
241
  // ensure the json data is a string
242
- if (data["event"] && !(typeof data["event"] === "string" || data["event"] instanceof String)) {
243
- throw new Error("Expected the field `event` to be a primitive type in the JSON string but got " + data["event"]);
242
+ if (data['event'] && !(typeof data['event'] === 'string' || data['event'] instanceof String)) {
243
+ throw new Error("Expected the field `event` to be a primitive type in the JSON string but got " + data['event']);
244
244
  }
245
245
  // ensure the json data is a string
246
- if (data["session"] && !(typeof data["session"] === "string" || data["session"] instanceof String)) {
247
- throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data["session"]);
246
+ if (data['session'] && !(typeof data['session'] === 'string' || data['session'] instanceof String)) {
247
+ throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data['session']);
248
248
  }
249
249
  // ensure the json data is a string
250
- if (data["best_id"] && !(typeof data["best_id"] === "string" || data["best_id"] instanceof String)) {
251
- throw new Error("Expected the field `best_id` to be a primitive type in the JSON string but got " + data["best_id"]);
250
+ if (data['best_id'] && !(typeof data['best_id'] === 'string' || data['best_id'] instanceof String)) {
251
+ throw new Error("Expected the field `best_id` to be a primitive type in the JSON string but got " + data['best_id']);
252
252
  }
253
253
  // ensure the json data is a string
254
- if (data["device"] && !(typeof data["device"] === "string" || data["device"] instanceof String)) {
255
- throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data["device"]);
254
+ if (data['device'] && !(typeof data['device'] === 'string' || data['device'] instanceof String)) {
255
+ throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data['device']);
256
256
  }
257
257
  // ensure the json data is a string
258
- if (data["sn"] && !(typeof data["sn"] === "string" || data["sn"] instanceof String)) {
259
- throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data["sn"]);
258
+ if (data['sn'] && !(typeof data['sn'] === 'string' || data['sn'] instanceof String)) {
259
+ throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data['sn']);
260
260
  }
261
261
  // ensure the json data is a string
262
- if (data["product"] && !(typeof data["product"] === "string" || data["product"] instanceof String)) {
263
- throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data["product"]);
262
+ if (data['product'] && !(typeof data['product'] === 'string' || data['product'] instanceof String)) {
263
+ throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data['product']);
264
264
  }
265
265
  // ensure the json data is a string
266
- if (data["app"] && !(typeof data["app"] === "string" || data["app"] instanceof String)) {
267
- throw new Error("Expected the field `app` to be a primitive type in the JSON string but got " + data["app"]);
266
+ if (data['app'] && !(typeof data['app'] === 'string' || data['app'] instanceof String)) {
267
+ throw new Error("Expected the field `app` to be a primitive type in the JSON string but got " + data['app']);
268
268
  }
269
269
  // ensure the json data is a string
270
- if (data["req"] && !(typeof data["req"] === "string" || data["req"] instanceof String)) {
271
- throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data["req"]);
270
+ if (data['req'] && !(typeof data['req'] === 'string' || data['req'] instanceof String)) {
271
+ throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data['req']);
272
272
  }
273
273
  // ensure the json data is a string
274
- if (data["file"] && !(typeof data["file"] === "string" || data["file"] instanceof String)) {
275
- throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data["file"]);
274
+ if (data['file'] && !(typeof data['file'] === 'string' || data['file'] instanceof String)) {
275
+ throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data['file']);
276
276
  }
277
277
  // ensure the json data is a string
278
- if (data["note"] && !(typeof data["note"] === "string" || data["note"] instanceof String)) {
279
- throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data["note"]);
278
+ if (data['note'] && !(typeof data['note'] === 'string' || data['note'] instanceof String)) {
279
+ throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data['note']);
280
280
  }
281
281
  // ensure the json data is a string
282
- if (data["payload"] && !(typeof data["payload"] === "string" || data["payload"] instanceof String)) {
283
- throw new Error("Expected the field `payload` to be a primitive type in the JSON string but got " + data["payload"]);
282
+ if (data['payload'] && !(typeof data['payload'] === 'string' || data['payload'] instanceof String)) {
283
+ throw new Error("Expected the field `payload` to be a primitive type in the JSON string but got " + data['payload']);
284
284
  }
285
285
  // ensure the json data is a string
286
- if (data["best_location_type"] && !(typeof data["best_location_type"] === "string" || data["best_location_type"] instanceof String)) {
287
- throw new Error("Expected the field `best_location_type` to be a primitive type in the JSON string but got " + data["best_location_type"]);
286
+ if (data['best_location_type'] && !(typeof data['best_location_type'] === 'string' || data['best_location_type'] instanceof String)) {
287
+ throw new Error("Expected the field `best_location_type` to be a primitive type in the JSON string but got " + data['best_location_type']);
288
288
  }
289
289
  // ensure the json data is a string
290
- if (data["best_location"] && !(typeof data["best_location"] === "string" || data["best_location"] instanceof String)) {
291
- throw new Error("Expected the field `best_location` to be a primitive type in the JSON string but got " + data["best_location"]);
290
+ if (data['best_location'] && !(typeof data['best_location'] === 'string' || data['best_location'] instanceof String)) {
291
+ throw new Error("Expected the field `best_location` to be a primitive type in the JSON string but got " + data['best_location']);
292
292
  }
293
293
  // ensure the json data is a string
294
- if (data["best_country"] && !(typeof data["best_country"] === "string" || data["best_country"] instanceof String)) {
295
- throw new Error("Expected the field `best_country` to be a primitive type in the JSON string but got " + data["best_country"]);
294
+ if (data['best_country'] && !(typeof data['best_country'] === 'string' || data['best_country'] instanceof String)) {
295
+ throw new Error("Expected the field `best_country` to be a primitive type in the JSON string but got " + data['best_country']);
296
296
  }
297
297
  // ensure the json data is a string
298
- if (data["best_timezone"] && !(typeof data["best_timezone"] === "string" || data["best_timezone"] instanceof String)) {
299
- throw new Error("Expected the field `best_timezone` to be a primitive type in the JSON string but got " + data["best_timezone"]);
298
+ if (data['best_timezone'] && !(typeof data['best_timezone'] === 'string' || data['best_timezone'] instanceof String)) {
299
+ throw new Error("Expected the field `best_timezone` to be a primitive type in the JSON string but got " + data['best_timezone']);
300
300
  }
301
301
  // ensure the json data is a string
302
- if (data["where_olc"] && !(typeof data["where_olc"] === "string" || data["where_olc"] instanceof String)) {
303
- throw new Error("Expected the field `where_olc` to be a primitive type in the JSON string but got " + data["where_olc"]);
302
+ if (data['where_olc'] && !(typeof data['where_olc'] === 'string' || data['where_olc'] instanceof String)) {
303
+ throw new Error("Expected the field `where_olc` to be a primitive type in the JSON string but got " + data['where_olc']);
304
304
  }
305
305
  // ensure the json data is a string
306
- if (data["where_location"] && !(typeof data["where_location"] === "string" || data["where_location"] instanceof String)) {
307
- throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data["where_location"]);
306
+ if (data['where_location'] && !(typeof data['where_location'] === 'string' || data['where_location'] instanceof String)) {
307
+ throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data['where_location']);
308
308
  }
309
309
  // ensure the json data is a string
310
- if (data["where_country"] && !(typeof data["where_country"] === "string" || data["where_country"] instanceof String)) {
311
- throw new Error("Expected the field `where_country` to be a primitive type in the JSON string but got " + data["where_country"]);
310
+ if (data['where_country'] && !(typeof data['where_country'] === 'string' || data['where_country'] instanceof String)) {
311
+ throw new Error("Expected the field `where_country` to be a primitive type in the JSON string but got " + data['where_country']);
312
312
  }
313
313
  // ensure the json data is a string
314
- if (data["where_timezone"] && !(typeof data["where_timezone"] === "string" || data["where_timezone"] instanceof String)) {
315
- throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data["where_timezone"]);
314
+ if (data['where_timezone'] && !(typeof data['where_timezone'] === 'string' || data['where_timezone'] instanceof String)) {
315
+ throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data['where_timezone']);
316
316
  }
317
317
  // ensure the json data is a string
318
- if (data["tower_country"] && !(typeof data["tower_country"] === "string" || data["tower_country"] instanceof String)) {
319
- throw new Error("Expected the field `tower_country` to be a primitive type in the JSON string but got " + data["tower_country"]);
318
+ if (data['tower_country'] && !(typeof data['tower_country'] === 'string' || data['tower_country'] instanceof String)) {
319
+ throw new Error("Expected the field `tower_country` to be a primitive type in the JSON string but got " + data['tower_country']);
320
320
  }
321
321
  // ensure the json data is a string
322
- if (data["tower_location"] && !(typeof data["tower_location"] === "string" || data["tower_location"] instanceof String)) {
323
- throw new Error("Expected the field `tower_location` to be a primitive type in the JSON string but got " + data["tower_location"]);
322
+ if (data['tower_location'] && !(typeof data['tower_location'] === 'string' || data['tower_location'] instanceof String)) {
323
+ throw new Error("Expected the field `tower_location` to be a primitive type in the JSON string but got " + data['tower_location']);
324
324
  }
325
325
  // ensure the json data is a string
326
- if (data["tower_timezone"] && !(typeof data["tower_timezone"] === "string" || data["tower_timezone"] instanceof String)) {
327
- throw new Error("Expected the field `tower_timezone` to be a primitive type in the JSON string but got " + data["tower_timezone"]);
326
+ if (data['tower_timezone'] && !(typeof data['tower_timezone'] === 'string' || data['tower_timezone'] instanceof String)) {
327
+ throw new Error("Expected the field `tower_timezone` to be a primitive type in the JSON string but got " + data['tower_timezone']);
328
328
  }
329
329
  // ensure the json data is a string
330
- if (data["tower_id"] && !(typeof data["tower_id"] === "string" || data["tower_id"] instanceof String)) {
331
- throw new Error("Expected the field `tower_id` to be a primitive type in the JSON string but got " + data["tower_id"]);
330
+ if (data['tower_id'] && !(typeof data['tower_id'] === 'string' || data['tower_id'] instanceof String)) {
331
+ throw new Error("Expected the field `tower_id` to be a primitive type in the JSON string but got " + data['tower_id']);
332
332
  }
333
333
  // ensure the json data is a string
334
- if (data["tri_location"] && !(typeof data["tri_location"] === "string" || data["tri_location"] instanceof String)) {
335
- throw new Error("Expected the field `tri_location` to be a primitive type in the JSON string but got " + data["tri_location"]);
334
+ if (data['tri_location'] && !(typeof data['tri_location'] === 'string' || data['tri_location'] instanceof String)) {
335
+ throw new Error("Expected the field `tri_location` to be a primitive type in the JSON string but got " + data['tri_location']);
336
336
  }
337
337
  // ensure the json data is a string
338
- if (data["tri_country"] && !(typeof data["tri_country"] === "string" || data["tri_country"] instanceof String)) {
339
- throw new Error("Expected the field `tri_country` to be a primitive type in the JSON string but got " + data["tri_country"]);
338
+ if (data['tri_country'] && !(typeof data['tri_country'] === 'string' || data['tri_country'] instanceof String)) {
339
+ throw new Error("Expected the field `tri_country` to be a primitive type in the JSON string but got " + data['tri_country']);
340
340
  }
341
341
  // ensure the json data is a string
342
- if (data["tri_timezone"] && !(typeof data["tri_timezone"] === "string" || data["tri_timezone"] instanceof String)) {
343
- throw new Error("Expected the field `tri_timezone` to be a primitive type in the JSON string but got " + data["tri_timezone"]);
342
+ if (data['tri_timezone'] && !(typeof data['tri_timezone'] === 'string' || data['tri_timezone'] instanceof String)) {
343
+ throw new Error("Expected the field `tri_timezone` to be a primitive type in the JSON string but got " + data['tri_timezone']);
344
344
  }
345
345
  // ensure the json data is a string
346
- if (data["orientation"] && !(typeof data["orientation"] === "string" || data["orientation"] instanceof String)) {
347
- throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data["orientation"]);
346
+ if (data['orientation'] && !(typeof data['orientation'] === 'string' || data['orientation'] instanceof String)) {
347
+ throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data['orientation']);
348
348
  }
349
349
  // ensure the json data is a string
350
- if (data["rat"] && !(typeof data["rat"] === "string" || data["rat"] instanceof String)) {
351
- throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data["rat"]);
350
+ if (data['rat'] && !(typeof data['rat'] === 'string' || data['rat'] instanceof String)) {
351
+ throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data['rat']);
352
352
  }
353
353
  return true;
354
354
  }
@@ -358,328 +358,328 @@ var Event = /*#__PURE__*/function () {
358
358
  * Event UID (globally unique)
359
359
  * @member {String} event
360
360
  */
361
- Event.prototype["event"] = undefined;
361
+ Event.prototype['event'] = undefined;
362
362
 
363
363
  /**
364
364
  * Session UID (globally unique)
365
365
  * @member {String} session
366
366
  */
367
- Event.prototype["session"] = undefined;
367
+ Event.prototype['session'] = undefined;
368
368
 
369
369
  /**
370
370
  * Whether TLS was used on the connection between the device and notehub. Only available on _session.qo events.
371
371
  * @member {Boolean} tls
372
372
  */
373
- Event.prototype["tls"] = undefined;
373
+ Event.prototype['tls'] = undefined;
374
374
 
375
375
  /**
376
376
  * The device serial number, or the DeviceUID if the serial number is not set
377
377
  * @member {String} best_id
378
378
  */
379
- Event.prototype["best_id"] = undefined;
379
+ Event.prototype['best_id'] = undefined;
380
380
 
381
381
  /**
382
382
  * Device UID (globally unique)
383
383
  * @member {String} device
384
384
  */
385
- Event.prototype["device"] = undefined;
385
+ Event.prototype['device'] = undefined;
386
386
 
387
387
  /**
388
388
  * The device serial number
389
389
  * @member {String} sn
390
390
  */
391
- Event.prototype["sn"] = undefined;
391
+ Event.prototype['sn'] = undefined;
392
392
 
393
393
  /**
394
394
  * Product UID (globally unique)
395
395
  * @member {String} product
396
396
  */
397
- Event.prototype["product"] = undefined;
397
+ Event.prototype['product'] = undefined;
398
398
 
399
399
  /**
400
400
  * App UID (globally unique)
401
401
  * @member {String} app
402
402
  */
403
- Event.prototype["app"] = undefined;
403
+ Event.prototype['app'] = undefined;
404
404
 
405
405
  /**
406
406
  * The unix timestamp when the event was received
407
407
  * @member {Number} received
408
408
  */
409
- Event.prototype["received"] = undefined;
409
+ Event.prototype['received'] = undefined;
410
410
 
411
411
  /**
412
412
  * The notecard request
413
413
  * @member {String} req
414
414
  */
415
- Event.prototype["req"] = undefined;
415
+ Event.prototype['req'] = undefined;
416
416
 
417
417
  /**
418
418
  * When the event was captured on the device
419
419
  * @member {Number} when
420
420
  */
421
- Event.prototype["when"] = undefined;
421
+ Event.prototype['when'] = undefined;
422
422
 
423
423
  /**
424
424
  * The notefile associated with this event
425
425
  * @member {String} file
426
426
  */
427
- Event.prototype["file"] = undefined;
427
+ Event.prototype['file'] = undefined;
428
428
 
429
429
  /**
430
430
  * The note ID in the notefile
431
431
  * @member {String} note
432
432
  */
433
- Event.prototype["note"] = undefined;
433
+ Event.prototype['note'] = undefined;
434
434
 
435
435
  /**
436
436
  * @member {Number} updates
437
437
  */
438
- Event.prototype["updates"] = undefined;
438
+ Event.prototype['updates'] = undefined;
439
439
 
440
440
  /**
441
441
  * A JSON object containing event details
442
442
  * @member {Object} body
443
443
  */
444
- Event.prototype["body"] = undefined;
444
+ Event.prototype['body'] = undefined;
445
445
 
446
446
  /**
447
447
  * A base64-encoded binary payload
448
448
  * @member {String} payload
449
449
  */
450
- Event.prototype["payload"] = undefined;
450
+ Event.prototype['payload'] = undefined;
451
451
 
452
452
  /**
453
453
  * One of \"gps\", \"triangulated\", or \"tower\"
454
454
  * @member {String} best_location_type
455
455
  */
456
- Event.prototype["best_location_type"] = undefined;
456
+ Event.prototype['best_location_type'] = undefined;
457
457
 
458
458
  /**
459
459
  * Unix timestamp
460
460
  * @member {Number} best_location_when
461
461
  */
462
- Event.prototype["best_location_when"] = undefined;
462
+ Event.prototype['best_location_when'] = undefined;
463
463
 
464
464
  /**
465
465
  * Latitude
466
466
  * @member {Number} best_lat
467
467
  */
468
- Event.prototype["best_lat"] = undefined;
468
+ Event.prototype['best_lat'] = undefined;
469
469
 
470
470
  /**
471
471
  * Longitude
472
472
  * @member {Number} best_lon
473
473
  */
474
- Event.prototype["best_lon"] = undefined;
474
+ Event.prototype['best_lon'] = undefined;
475
475
 
476
476
  /**
477
477
  * Location
478
478
  * @member {String} best_location
479
479
  */
480
- Event.prototype["best_location"] = undefined;
480
+ Event.prototype['best_location'] = undefined;
481
481
 
482
482
  /**
483
483
  * Country
484
484
  * @member {String} best_country
485
485
  */
486
- Event.prototype["best_country"] = undefined;
486
+ Event.prototype['best_country'] = undefined;
487
487
 
488
488
  /**
489
489
  * Timezone
490
490
  * @member {String} best_timezone
491
491
  */
492
- Event.prototype["best_timezone"] = undefined;
492
+ Event.prototype['best_timezone'] = undefined;
493
493
 
494
494
  /**
495
495
  * Open Location Code
496
496
  * @member {String} where_olc
497
497
  */
498
- Event.prototype["where_olc"] = undefined;
498
+ Event.prototype['where_olc'] = undefined;
499
499
 
500
500
  /**
501
501
  * Unix timestamp
502
502
  * @member {Number} where_when
503
503
  */
504
- Event.prototype["where_when"] = undefined;
504
+ Event.prototype['where_when'] = undefined;
505
505
 
506
506
  /**
507
507
  * Latitude
508
508
  * @member {Number} where_lat
509
509
  */
510
- Event.prototype["where_lat"] = undefined;
510
+ Event.prototype['where_lat'] = undefined;
511
511
 
512
512
  /**
513
513
  * Longitude
514
514
  * @member {Number} where_lon
515
515
  */
516
- Event.prototype["where_lon"] = undefined;
516
+ Event.prototype['where_lon'] = undefined;
517
517
 
518
518
  /**
519
519
  * Location
520
520
  * @member {String} where_location
521
521
  */
522
- Event.prototype["where_location"] = undefined;
522
+ Event.prototype['where_location'] = undefined;
523
523
 
524
524
  /**
525
525
  * Country
526
526
  * @member {String} where_country
527
527
  */
528
- Event.prototype["where_country"] = undefined;
528
+ Event.prototype['where_country'] = undefined;
529
529
 
530
530
  /**
531
531
  * Timezone
532
532
  * @member {String} where_timezone
533
533
  */
534
- Event.prototype["where_timezone"] = undefined;
534
+ Event.prototype['where_timezone'] = undefined;
535
535
 
536
536
  /**
537
537
  * Unix timestamp
538
538
  * @member {Number} tower_when
539
539
  */
540
- Event.prototype["tower_when"] = undefined;
540
+ Event.prototype['tower_when'] = undefined;
541
541
 
542
542
  /**
543
543
  * Latitude
544
544
  * @member {Number} tower_lat
545
545
  */
546
- Event.prototype["tower_lat"] = undefined;
546
+ Event.prototype['tower_lat'] = undefined;
547
547
 
548
548
  /**
549
549
  * Longitude
550
550
  * @member {Number} tower_lon
551
551
  */
552
- Event.prototype["tower_lon"] = undefined;
552
+ Event.prototype['tower_lon'] = undefined;
553
553
 
554
554
  /**
555
555
  * Country
556
556
  * @member {String} tower_country
557
557
  */
558
- Event.prototype["tower_country"] = undefined;
558
+ Event.prototype['tower_country'] = undefined;
559
559
 
560
560
  /**
561
561
  * Location
562
562
  * @member {String} tower_location
563
563
  */
564
- Event.prototype["tower_location"] = undefined;
564
+ Event.prototype['tower_location'] = undefined;
565
565
 
566
566
  /**
567
567
  * Timezone
568
568
  * @member {String} tower_timezone
569
569
  */
570
- Event.prototype["tower_timezone"] = undefined;
570
+ Event.prototype['tower_timezone'] = undefined;
571
571
 
572
572
  /**
573
573
  * Tower ID
574
574
  * @member {String} tower_id
575
575
  */
576
- Event.prototype["tower_id"] = undefined;
576
+ Event.prototype['tower_id'] = undefined;
577
577
 
578
578
  /**
579
579
  * Unix timestamp
580
580
  * @member {Number} tri_when
581
581
  */
582
- Event.prototype["tri_when"] = undefined;
582
+ Event.prototype['tri_when'] = undefined;
583
583
 
584
584
  /**
585
585
  * Latitude
586
586
  * @member {Number} tri_lat
587
587
  */
588
- Event.prototype["tri_lat"] = undefined;
588
+ Event.prototype['tri_lat'] = undefined;
589
589
 
590
590
  /**
591
591
  * Longitude
592
592
  * @member {Number} tri_lon
593
593
  */
594
- Event.prototype["tri_lon"] = undefined;
594
+ Event.prototype['tri_lon'] = undefined;
595
595
 
596
596
  /**
597
597
  * Location
598
598
  * @member {String} tri_location
599
599
  */
600
- Event.prototype["tri_location"] = undefined;
600
+ Event.prototype['tri_location'] = undefined;
601
601
 
602
602
  /**
603
603
  * Country
604
604
  * @member {String} tri_country
605
605
  */
606
- Event.prototype["tri_country"] = undefined;
606
+ Event.prototype['tri_country'] = undefined;
607
607
 
608
608
  /**
609
609
  * Timezone
610
610
  * @member {String} tri_timezone
611
611
  */
612
- Event.prototype["tri_timezone"] = undefined;
612
+ Event.prototype['tri_timezone'] = undefined;
613
613
 
614
614
  /**
615
615
  * Triangulation points
616
616
  * @member {Number} tri_points
617
617
  */
618
- Event.prototype["tri_points"] = undefined;
618
+ Event.prototype['tri_points'] = undefined;
619
619
 
620
620
  /**
621
621
  * The number of times the device was sensed to have moved between the last session and this session. Only available on _session.qo events.
622
622
  * @member {Number} moved
623
623
  */
624
- Event.prototype["moved"] = undefined;
624
+ Event.prototype['moved'] = undefined;
625
625
 
626
626
  /**
627
627
  * The orientation of the device. Only available on _session.qo events.
628
628
  * @member {String} orientation
629
629
  */
630
- Event.prototype["orientation"] = undefined;
630
+ Event.prototype['orientation'] = undefined;
631
631
 
632
632
  /**
633
633
  * Received Signal Strength Indicator (RSSI) is an estimated measurement of how well a device can receive signals. Only available on _session.qo events.
634
634
  * @member {Number} rssi
635
635
  */
636
- Event.prototype["rssi"] = undefined;
636
+ Event.prototype['rssi'] = undefined;
637
637
 
638
638
  /**
639
639
  * SINR. Only available on _session.qo events.
640
640
  * @member {Number} sinr
641
641
  */
642
- Event.prototype["sinr"] = undefined;
642
+ Event.prototype['sinr'] = undefined;
643
643
 
644
644
  /**
645
645
  * RSRP. Only available on _session.qo events.
646
646
  * @member {Number} rsrp
647
647
  */
648
- Event.prototype["rsrp"] = undefined;
648
+ Event.prototype['rsrp'] = undefined;
649
649
 
650
650
  /**
651
651
  * RSRQ. Only available on _session.qo events.
652
652
  * @member {Number} rsrq
653
653
  */
654
- Event.prototype["rsrq"] = undefined;
654
+ Event.prototype['rsrq'] = undefined;
655
655
 
656
656
  /**
657
657
  * Rat. Only available on _session.qo events.
658
658
  * @member {String} rat
659
659
  */
660
- Event.prototype["rat"] = undefined;
660
+ Event.prototype['rat'] = undefined;
661
661
 
662
662
  /**
663
663
  * Bars. Only available on _session.qo events.
664
664
  * @member {Number} bars
665
665
  */
666
- Event.prototype["bars"] = undefined;
666
+ Event.prototype['bars'] = undefined;
667
667
 
668
668
  /**
669
669
  * Device voltage. Only available on _session.qo events.
670
670
  * @member {Number} voltage
671
671
  */
672
- Event.prototype["voltage"] = undefined;
672
+ Event.prototype['voltage'] = undefined;
673
673
 
674
674
  /**
675
675
  * Device temperature. Only available on _session.qo events.
676
676
  * @member {Number} temp
677
677
  */
678
- Event.prototype["temp"] = undefined;
678
+ Event.prototype['temp'] = undefined;
679
679
 
680
680
  /**
681
681
  * Routed environment variables beginning with \"$\". Only available on _session.qo events.
682
682
  * @member {Object} environment
683
683
  */
684
- Event.prototype["environment"] = undefined;
684
+ Event.prototype['environment'] = undefined;
685
685
  var _default = exports["default"] = Event;