@blues-inc/notehub-js 1.0.37-beta.7 → 1.0.37-beta.8

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