@blues-inc/notehub-js 3.0.0 → 4.0.0-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 (146) hide show
  1. package/README.md +247 -247
  2. package/dist/ApiClient.js +150 -155
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +31 -31
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +471 -511
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/ExternalDevicesApi.js +41 -41
  9. package/dist/api/MonitorApi.js +52 -52
  10. package/dist/api/ProjectApi.js +381 -381
  11. package/dist/api/RouteApi.js +77 -77
  12. package/dist/api/UsageApi.js +117 -51
  13. package/dist/api/WebhookApi.js +51 -51
  14. package/dist/index.js +21 -14
  15. package/dist/model/AddDeviceToFleetsRequest.js +8 -8
  16. package/dist/model/Alert.js +76 -74
  17. package/dist/model/AlertDataInner.js +35 -35
  18. package/dist/model/AlertNotificationsInner.js +18 -18
  19. package/dist/model/AwsRoute.js +65 -65
  20. package/dist/model/AzureRoute.js +43 -43
  21. package/dist/model/BillingAccount.js +21 -21
  22. package/dist/model/BillingAccountRole.js +9 -9
  23. package/dist/model/BlynkRoute.js +28 -28
  24. package/dist/model/Body.js +5 -5
  25. package/dist/model/CellularPlan.js +34 -34
  26. package/dist/model/CloneProjectRequest.js +20 -20
  27. package/dist/model/Contact.js +22 -22
  28. package/dist/model/CreateFleetRequest.js +25 -17
  29. package/dist/model/CreateMonitor.js +126 -125
  30. package/dist/model/CreateProductRequest.js +22 -22
  31. package/dist/model/CreateProjectRequest.js +16 -16
  32. package/dist/model/CreateUpdateRepository.js +17 -17
  33. package/dist/model/CurrentFirmware.js +12 -12
  34. package/dist/model/DFUEnv.js +12 -12
  35. package/dist/model/DFUState.js +65 -65
  36. package/dist/model/DataField.js +7 -7
  37. package/dist/model/DataSetField.js +19 -19
  38. package/dist/model/DataUsage.js +14 -14
  39. package/dist/model/DatacakeRoute.js +35 -35
  40. package/dist/model/DeleteDeviceFromFleetsRequest.js +8 -8
  41. package/dist/model/DeleteNotefilesRequest.js +7 -7
  42. package/dist/model/Device.js +115 -101
  43. package/dist/model/DeviceDfuHistory.js +20 -19
  44. package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
  45. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  46. package/dist/model/DeviceDfuStateMachine.js +25 -24
  47. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  48. package/dist/model/DeviceDfuStatus.js +20 -20
  49. package/dist/model/DeviceDfuStatusPage.js +13 -12
  50. package/dist/model/DeviceSession.js +221 -221
  51. package/dist/model/DeviceTowerInfo.js +14 -14
  52. package/dist/model/DeviceUsage.js +32 -32
  53. package/dist/model/DfuActionRequest.js +7 -7
  54. package/dist/model/EmailNotification.js +7 -7
  55. package/dist/model/EnvTreeJsonNode.js +69 -67
  56. package/dist/model/EnvVar.js +18 -18
  57. package/dist/model/EnvironmentVariables.js +8 -8
  58. package/dist/model/Error.js +31 -31
  59. package/dist/model/Event.js +248 -248
  60. package/dist/model/Filter.js +16 -16
  61. package/dist/model/Firmware.js +49 -49
  62. package/dist/model/FirmwareInfo.js +60 -60
  63. package/dist/model/Fleet.js +43 -35
  64. package/dist/model/FleetConnectivityAssurance.js +8 -31
  65. package/dist/model/GetAlerts200Response.js +15 -14
  66. package/dist/model/GetBillingAccounts200Response.js +10 -9
  67. package/dist/model/GetDataUsage200Response.js +10 -9
  68. package/dist/model/GetDataUsage200ResponseDataInner.js +41 -40
  69. package/dist/model/GetDbNote200Response.js +13 -13
  70. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
  71. package/dist/model/GetDeviceFleets200Response.js +12 -11
  72. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  73. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  74. package/dist/model/GetDeviceLatestEvents200Response.js +10 -9
  75. package/dist/model/GetDevicePlans200Response.js +10 -9
  76. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  77. package/dist/model/GetDevicePublicKeys200Response.js +17 -16
  78. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  79. package/dist/model/GetDeviceSessions200Response.js +17 -16
  80. package/dist/model/GetDevices200Response.js +17 -16
  81. package/dist/model/GetEvents200Response.js +21 -20
  82. package/dist/model/GetEventsByCursor200Response.js +24 -23
  83. package/dist/model/GetNotefile200Response.js +11 -11
  84. package/dist/model/GetProducts200Response.js +10 -9
  85. package/dist/model/GetProjectMembers200Response.js +12 -11
  86. package/dist/model/GetProjects200Response.js +10 -9
  87. package/dist/model/GetRouteLogsUsage200Response.js +132 -0
  88. package/dist/model/GetSessionsUsage200Response.js +12 -11
  89. package/dist/model/GetWebhooks200Response.js +10 -9
  90. package/dist/model/GoogleRoute.js +33 -33
  91. package/dist/model/HttpRoute.js +35 -35
  92. package/dist/model/Location.js +40 -40
  93. package/dist/model/Login200Response.js +7 -7
  94. package/dist/model/LoginRequest.js +12 -12
  95. package/dist/model/Monitor.js +100 -99
  96. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  97. package/dist/model/MqttRoute.js +68 -68
  98. package/dist/model/Note.js +95 -15
  99. package/dist/model/{ListNotefiles200Response.js → NoteInput.js} +30 -37
  100. package/dist/model/Notefile.js +159 -0
  101. package/dist/model/NotefileSchema.js +19 -18
  102. package/dist/model/NotehubRoute.js +103 -103
  103. package/dist/model/NotehubRouteSummary.js +23 -23
  104. package/dist/model/OAuth2Error.js +20 -20
  105. package/dist/model/OAuth2TokenResponse.js +23 -23
  106. package/dist/model/PersonalAccessToken.js +34 -34
  107. package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
  108. package/dist/model/PersonalAccessTokenInfo.js +18 -18
  109. package/dist/model/PersonalAccessTokenSecret.js +12 -12
  110. package/dist/model/Product.js +26 -26
  111. package/dist/model/Project.js +34 -34
  112. package/dist/model/ProjectMember.js +22 -22
  113. package/dist/model/ProvisionDeviceRequest.js +18 -18
  114. package/dist/model/ProxyRoute.js +29 -29
  115. package/dist/model/QubitroRoute.js +33 -33
  116. package/dist/model/RadRoute.js +31 -31
  117. package/dist/model/Repository.js +22 -22
  118. package/dist/model/Role.js +9 -9
  119. package/dist/model/RouteLog.js +38 -38
  120. package/dist/model/RouteTransformSettings.js +18 -18
  121. package/dist/model/S3ArchiveRoute.js +79 -79
  122. package/dist/model/SatellitePlan.js +26 -26
  123. package/dist/model/SchemaProperty.js +38 -36
  124. package/dist/model/SignalDevice200Response.js +5 -5
  125. package/dist/model/SimUsage.js +19 -19
  126. package/dist/model/SlackBearerNotification.js +25 -25
  127. package/dist/model/SlackRoute.js +48 -48
  128. package/dist/model/SlackWebHookNotification.js +20 -20
  129. package/dist/model/SnowflakeRoute.js +45 -45
  130. package/dist/model/SnowpipeStreamingRoute.js +60 -60
  131. package/dist/model/ThingworxRoute.js +33 -33
  132. package/dist/model/TowerLocation.js +54 -54
  133. package/dist/model/TwilioRoute.js +43 -43
  134. package/dist/model/UpdateFleetRequest.js +38 -30
  135. package/dist/model/UploadMetadata.js +64 -64
  136. package/dist/model/UsageData.js +18 -18
  137. package/dist/model/UsageEventsData.js +48 -37
  138. package/dist/model/UsageEventsResponse.js +12 -11
  139. package/dist/model/UsageRouteLogsData.js +27 -27
  140. package/dist/model/UsageSessionsData.js +41 -31
  141. package/dist/model/UserDfuStateMachine.js +20 -20
  142. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  143. package/dist/model/UserFirmwareInfo.js +12 -12
  144. package/dist/model/WebhookSettings.js +15 -15
  145. package/package.json +3 -3
  146. package/dist/model/ListPendingNotefiles200Response.js +0 -115
@@ -15,7 +15,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
15
15
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
16
  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); } /**
17
17
  * Notehub API
18
- * The OpenAPI definition for the Notehub.io API.
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
20
  * The version of the OpenAPI document: 1.2.0
21
21
  * Contact: engineering@blues.io
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The DeviceSession model module.
30
30
  * @module model/DeviceSession
31
- * @version 3.0.0
31
+ * @version 4.0.0-beta.1
32
32
  */
33
33
  var DeviceSession = /*#__PURE__*/function () {
34
34
  /**
@@ -61,176 +61,176 @@ var DeviceSession = /*#__PURE__*/function () {
61
61
  value: function constructFromObject(data, obj) {
62
62
  if (data) {
63
63
  obj = obj || new DeviceSession();
64
- if (data.hasOwnProperty("apn")) {
65
- obj["apn"] = _ApiClient["default"].convertToType(data["apn"], "String");
64
+ if (data.hasOwnProperty('apn')) {
65
+ obj['apn'] = _ApiClient["default"].convertToType(data['apn'], 'String');
66
66
  }
67
- if (data.hasOwnProperty("bars")) {
68
- obj["bars"] = _ApiClient["default"].convertToType(data["bars"], "Number");
67
+ if (data.hasOwnProperty('bars')) {
68
+ obj['bars'] = _ApiClient["default"].convertToType(data['bars'], 'Number');
69
69
  }
70
- if (data.hasOwnProperty("bearer")) {
71
- obj["bearer"] = _ApiClient["default"].convertToType(data["bearer"], "String");
70
+ if (data.hasOwnProperty('bearer')) {
71
+ obj['bearer'] = _ApiClient["default"].convertToType(data['bearer'], 'String');
72
72
  }
73
- if (data.hasOwnProperty("bssid")) {
74
- obj["bssid"] = _ApiClient["default"].convertToType(data["bssid"], "String");
73
+ if (data.hasOwnProperty('bssid')) {
74
+ obj['bssid'] = _ApiClient["default"].convertToType(data['bssid'], 'String');
75
75
  }
76
- if (data.hasOwnProperty("cell")) {
77
- obj["cell"] = _ApiClient["default"].convertToType(data["cell"], "String");
76
+ if (data.hasOwnProperty('cell')) {
77
+ obj['cell'] = _ApiClient["default"].convertToType(data['cell'], 'String');
78
78
  }
79
- if (data.hasOwnProperty("continuous")) {
80
- obj["continuous"] = _ApiClient["default"].convertToType(data["continuous"], "Boolean");
79
+ if (data.hasOwnProperty('continuous')) {
80
+ obj['continuous'] = _ApiClient["default"].convertToType(data['continuous'], 'Boolean');
81
81
  }
82
- if (data.hasOwnProperty("device")) {
83
- obj["device"] = _ApiClient["default"].convertToType(data["device"], "String");
82
+ if (data.hasOwnProperty('device')) {
83
+ obj['device'] = _ApiClient["default"].convertToType(data['device'], 'String');
84
84
  }
85
- if (data.hasOwnProperty("events")) {
86
- obj["events"] = _ApiClient["default"].convertToType(data["events"], "Number");
85
+ if (data.hasOwnProperty('events')) {
86
+ obj['events'] = _ApiClient["default"].convertToType(data['events'], 'Number');
87
87
  }
88
- if (data.hasOwnProperty("failed_connects")) {
89
- obj["failed_connects"] = _ApiClient["default"].convertToType(data["failed_connects"], "Number");
88
+ if (data.hasOwnProperty('failed_connects')) {
89
+ obj['failed_connects'] = _ApiClient["default"].convertToType(data['failed_connects'], 'Number');
90
90
  }
91
- if (data.hasOwnProperty("fleets")) {
92
- obj["fleets"] = _ApiClient["default"].convertToType(data["fleets"], ["String"]);
91
+ if (data.hasOwnProperty('fleets')) {
92
+ obj['fleets'] = _ApiClient["default"].convertToType(data['fleets'], ['String']);
93
93
  }
94
- if (data.hasOwnProperty("hp_cycles_data")) {
95
- obj["hp_cycles_data"] = _ApiClient["default"].convertToType(data["hp_cycles_data"], "Number");
94
+ if (data.hasOwnProperty('hp_cycles_data')) {
95
+ obj['hp_cycles_data'] = _ApiClient["default"].convertToType(data['hp_cycles_data'], 'Number');
96
96
  }
97
- if (data.hasOwnProperty("hp_cycles_gps")) {
98
- obj["hp_cycles_gps"] = _ApiClient["default"].convertToType(data["hp_cycles_gps"], "Number");
97
+ if (data.hasOwnProperty('hp_cycles_gps')) {
98
+ obj['hp_cycles_gps'] = _ApiClient["default"].convertToType(data['hp_cycles_gps'], 'Number');
99
99
  }
100
- if (data.hasOwnProperty("hp_cycles_total")) {
101
- obj["hp_cycles_total"] = _ApiClient["default"].convertToType(data["hp_cycles_total"], "Number");
100
+ if (data.hasOwnProperty('hp_cycles_total')) {
101
+ obj['hp_cycles_total'] = _ApiClient["default"].convertToType(data['hp_cycles_total'], 'Number');
102
102
  }
103
- if (data.hasOwnProperty("hp_secs_data")) {
104
- obj["hp_secs_data"] = _ApiClient["default"].convertToType(data["hp_secs_data"], "Number");
103
+ if (data.hasOwnProperty('hp_secs_data')) {
104
+ obj['hp_secs_data'] = _ApiClient["default"].convertToType(data['hp_secs_data'], 'Number');
105
105
  }
106
- if (data.hasOwnProperty("hp_secs_gps")) {
107
- obj["hp_secs_gps"] = _ApiClient["default"].convertToType(data["hp_secs_gps"], "Number");
106
+ if (data.hasOwnProperty('hp_secs_gps')) {
107
+ obj['hp_secs_gps'] = _ApiClient["default"].convertToType(data['hp_secs_gps'], 'Number');
108
108
  }
109
- if (data.hasOwnProperty("hp_secs_total")) {
110
- obj["hp_secs_total"] = _ApiClient["default"].convertToType(data["hp_secs_total"], "Number");
109
+ if (data.hasOwnProperty('hp_secs_total')) {
110
+ obj['hp_secs_total'] = _ApiClient["default"].convertToType(data['hp_secs_total'], 'Number');
111
111
  }
112
- if (data.hasOwnProperty("iccid")) {
113
- obj["iccid"] = _ApiClient["default"].convertToType(data["iccid"], "String");
112
+ if (data.hasOwnProperty('iccid')) {
113
+ obj['iccid'] = _ApiClient["default"].convertToType(data['iccid'], 'String');
114
114
  }
115
- if (data.hasOwnProperty("ip")) {
116
- obj["ip"] = _ApiClient["default"].convertToType(data["ip"], "String");
115
+ if (data.hasOwnProperty('ip')) {
116
+ obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
117
117
  }
118
- if (data.hasOwnProperty("moved")) {
119
- obj["moved"] = _ApiClient["default"].convertToType(data["moved"], "Number");
118
+ if (data.hasOwnProperty('moved')) {
119
+ obj['moved'] = _ApiClient["default"].convertToType(data['moved'], 'Number');
120
120
  }
121
- if (data.hasOwnProperty("orientation")) {
122
- obj["orientation"] = _ApiClient["default"].convertToType(data["orientation"], "String");
121
+ if (data.hasOwnProperty('orientation')) {
122
+ obj['orientation'] = _ApiClient["default"].convertToType(data['orientation'], 'String');
123
123
  }
124
- if (data.hasOwnProperty("penalty_secs")) {
125
- obj["penalty_secs"] = _ApiClient["default"].convertToType(data["penalty_secs"], "Number");
124
+ if (data.hasOwnProperty('penalty_secs')) {
125
+ obj['penalty_secs'] = _ApiClient["default"].convertToType(data['penalty_secs'], 'Number');
126
126
  }
127
- if (data.hasOwnProperty("period")) {
128
- obj["period"] = _DeviceUsage["default"].constructFromObject(data["period"]);
127
+ if (data.hasOwnProperty('period')) {
128
+ obj['period'] = _DeviceUsage["default"].constructFromObject(data['period']);
129
129
  }
130
- if (data.hasOwnProperty("power_charging")) {
131
- obj["power_charging"] = _ApiClient["default"].convertToType(data["power_charging"], "Boolean");
130
+ if (data.hasOwnProperty('power_charging')) {
131
+ obj['power_charging'] = _ApiClient["default"].convertToType(data['power_charging'], 'Boolean');
132
132
  }
133
- if (data.hasOwnProperty("power_mah")) {
134
- obj["power_mah"] = _ApiClient["default"].convertToType(data["power_mah"], "Number");
133
+ if (data.hasOwnProperty('power_mah')) {
134
+ obj['power_mah'] = _ApiClient["default"].convertToType(data['power_mah'], 'Number');
135
135
  }
136
- if (data.hasOwnProperty("power_primary")) {
137
- obj["power_primary"] = _ApiClient["default"].convertToType(data["power_primary"], "Boolean");
136
+ if (data.hasOwnProperty('power_primary')) {
137
+ obj['power_primary'] = _ApiClient["default"].convertToType(data['power_primary'], 'Boolean');
138
138
  }
139
- if (data.hasOwnProperty("power_usb")) {
140
- obj["power_usb"] = _ApiClient["default"].convertToType(data["power_usb"], "Boolean");
139
+ if (data.hasOwnProperty('power_usb')) {
140
+ obj['power_usb'] = _ApiClient["default"].convertToType(data['power_usb'], 'Boolean');
141
141
  }
142
- if (data.hasOwnProperty("product")) {
143
- obj["product"] = _ApiClient["default"].convertToType(data["product"], "String");
142
+ if (data.hasOwnProperty('product')) {
143
+ obj['product'] = _ApiClient["default"].convertToType(data['product'], 'String');
144
144
  }
145
- if (data.hasOwnProperty("rat")) {
146
- obj["rat"] = _ApiClient["default"].convertToType(data["rat"], "String");
145
+ if (data.hasOwnProperty('rat')) {
146
+ obj['rat'] = _ApiClient["default"].convertToType(data['rat'], 'String');
147
147
  }
148
- if (data.hasOwnProperty("rsrp")) {
149
- obj["rsrp"] = _ApiClient["default"].convertToType(data["rsrp"], "Number");
148
+ if (data.hasOwnProperty('rsrp')) {
149
+ obj['rsrp'] = _ApiClient["default"].convertToType(data['rsrp'], 'Number');
150
150
  }
151
- if (data.hasOwnProperty("rsrq")) {
152
- obj["rsrq"] = _ApiClient["default"].convertToType(data["rsrq"], "Number");
151
+ if (data.hasOwnProperty('rsrq')) {
152
+ obj['rsrq'] = _ApiClient["default"].convertToType(data['rsrq'], 'Number');
153
153
  }
154
- if (data.hasOwnProperty("rssi")) {
155
- obj["rssi"] = _ApiClient["default"].convertToType(data["rssi"], "Number");
154
+ if (data.hasOwnProperty('rssi')) {
155
+ obj['rssi'] = _ApiClient["default"].convertToType(data['rssi'], 'Number');
156
156
  }
157
- if (data.hasOwnProperty("scan")) {
158
- obj["scan"] = _ApiClient["default"].convertToType(data["scan"], "Blob");
157
+ if (data.hasOwnProperty('scan')) {
158
+ obj['scan'] = _ApiClient["default"].convertToType(data['scan'], 'Blob');
159
159
  }
160
- if (data.hasOwnProperty("session")) {
161
- obj["session"] = _ApiClient["default"].convertToType(data["session"], "String");
160
+ if (data.hasOwnProperty('session')) {
161
+ obj['session'] = _ApiClient["default"].convertToType(data['session'], 'String');
162
162
  }
163
- if (data.hasOwnProperty("session_began")) {
164
- obj["session_began"] = _ApiClient["default"].convertToType(data["session_began"], "Number");
163
+ if (data.hasOwnProperty('session_began')) {
164
+ obj['session_began'] = _ApiClient["default"].convertToType(data['session_began'], 'Number');
165
165
  }
166
- if (data.hasOwnProperty("session_ended")) {
167
- obj["session_ended"] = _ApiClient["default"].convertToType(data["session_ended"], "Number");
166
+ if (data.hasOwnProperty('session_ended')) {
167
+ obj['session_ended'] = _ApiClient["default"].convertToType(data['session_ended'], 'Number');
168
168
  }
169
- if (data.hasOwnProperty("sinr")) {
170
- obj["sinr"] = _ApiClient["default"].convertToType(data["sinr"], "Number");
169
+ if (data.hasOwnProperty('sinr')) {
170
+ obj['sinr'] = _ApiClient["default"].convertToType(data['sinr'], 'Number');
171
171
  }
172
- if (data.hasOwnProperty("sn")) {
173
- obj["sn"] = _ApiClient["default"].convertToType(data["sn"], "String");
172
+ if (data.hasOwnProperty('sn')) {
173
+ obj['sn'] = _ApiClient["default"].convertToType(data['sn'], 'String');
174
174
  }
175
- if (data.hasOwnProperty("ssid")) {
176
- obj["ssid"] = _ApiClient["default"].convertToType(data["ssid"], "String");
175
+ if (data.hasOwnProperty('ssid')) {
176
+ obj['ssid'] = _ApiClient["default"].convertToType(data['ssid'], 'String');
177
177
  }
178
- if (data.hasOwnProperty("temp")) {
179
- obj["temp"] = _ApiClient["default"].convertToType(data["temp"], "Number");
178
+ if (data.hasOwnProperty('temp')) {
179
+ obj['temp'] = _ApiClient["default"].convertToType(data['temp'], 'Number');
180
180
  }
181
- if (data.hasOwnProperty("tls")) {
182
- obj["tls"] = _ApiClient["default"].convertToType(data["tls"], "Boolean");
181
+ if (data.hasOwnProperty('tls')) {
182
+ obj['tls'] = _ApiClient["default"].convertToType(data['tls'], 'Boolean');
183
183
  }
184
- if (data.hasOwnProperty("tower")) {
185
- obj["tower"] = _TowerLocation["default"].constructFromObject(data["tower"]);
184
+ if (data.hasOwnProperty('tower')) {
185
+ obj['tower'] = _TowerLocation["default"].constructFromObject(data['tower']);
186
186
  }
187
- if (data.hasOwnProperty("transport")) {
188
- obj["transport"] = _ApiClient["default"].convertToType(data["transport"], "String");
187
+ if (data.hasOwnProperty('transport')) {
188
+ obj['transport'] = _ApiClient["default"].convertToType(data['transport'], 'String');
189
189
  }
190
- if (data.hasOwnProperty("tri")) {
191
- obj["tri"] = _TowerLocation["default"].constructFromObject(data["tri"]);
190
+ if (data.hasOwnProperty('tri')) {
191
+ obj['tri'] = _TowerLocation["default"].constructFromObject(data['tri']);
192
192
  }
193
- if (data.hasOwnProperty("triangulate")) {
194
- obj["triangulate"] = _ApiClient["default"].convertToType(data["triangulate"], Object);
193
+ if (data.hasOwnProperty('triangulate')) {
194
+ obj['triangulate'] = _ApiClient["default"].convertToType(data['triangulate'], Object);
195
195
  }
196
- if (data.hasOwnProperty("usage_actual")) {
197
- obj["usage_actual"] = _ApiClient["default"].convertToType(data["usage_actual"], "Boolean");
196
+ if (data.hasOwnProperty('usage_actual')) {
197
+ obj['usage_actual'] = _ApiClient["default"].convertToType(data['usage_actual'], 'Boolean');
198
198
  }
199
- if (data.hasOwnProperty("voltage")) {
200
- obj["voltage"] = _ApiClient["default"].convertToType(data["voltage"], "Number");
199
+ if (data.hasOwnProperty('voltage')) {
200
+ obj['voltage'] = _ApiClient["default"].convertToType(data['voltage'], 'Number');
201
201
  }
202
- if (data.hasOwnProperty("when")) {
203
- obj["when"] = _ApiClient["default"].convertToType(data["when"], "Number");
202
+ if (data.hasOwnProperty('when')) {
203
+ obj['when'] = _ApiClient["default"].convertToType(data['when'], 'Number');
204
204
  }
205
- if (data.hasOwnProperty("where")) {
206
- obj["where"] = _ApiClient["default"].convertToType(data["where"], "String");
205
+ if (data.hasOwnProperty('where')) {
206
+ obj['where'] = _ApiClient["default"].convertToType(data['where'], 'String');
207
207
  }
208
- if (data.hasOwnProperty("where_country")) {
209
- obj["where_country"] = _ApiClient["default"].convertToType(data["where_country"], "String");
208
+ if (data.hasOwnProperty('where_country')) {
209
+ obj['where_country'] = _ApiClient["default"].convertToType(data['where_country'], 'String');
210
210
  }
211
- if (data.hasOwnProperty("where_lat")) {
212
- obj["where_lat"] = _ApiClient["default"].convertToType(data["where_lat"], "Number");
211
+ if (data.hasOwnProperty('where_lat')) {
212
+ obj['where_lat'] = _ApiClient["default"].convertToType(data['where_lat'], 'Number');
213
213
  }
214
- if (data.hasOwnProperty("where_location")) {
215
- obj["where_location"] = _ApiClient["default"].convertToType(data["where_location"], "String");
214
+ if (data.hasOwnProperty('where_location')) {
215
+ obj['where_location'] = _ApiClient["default"].convertToType(data['where_location'], 'String');
216
216
  }
217
- if (data.hasOwnProperty("where_lon")) {
218
- obj["where_lon"] = _ApiClient["default"].convertToType(data["where_lon"], "Number");
217
+ if (data.hasOwnProperty('where_lon')) {
218
+ obj['where_lon'] = _ApiClient["default"].convertToType(data['where_lon'], 'Number');
219
219
  }
220
- if (data.hasOwnProperty("where_timezone")) {
221
- obj["where_timezone"] = _ApiClient["default"].convertToType(data["where_timezone"], "String");
220
+ if (data.hasOwnProperty('where_timezone')) {
221
+ obj['where_timezone'] = _ApiClient["default"].convertToType(data['where_timezone'], 'String');
222
222
  }
223
- if (data.hasOwnProperty("where_when")) {
224
- obj["where_when"] = _ApiClient["default"].convertToType(data["where_when"], "Number");
223
+ if (data.hasOwnProperty('where_when')) {
224
+ obj['where_when'] = _ApiClient["default"].convertToType(data['where_when'], 'Number');
225
225
  }
226
- if (data.hasOwnProperty("why_session_closed")) {
227
- obj["why_session_closed"] = _ApiClient["default"].convertToType(data["why_session_closed"], "String");
226
+ if (data.hasOwnProperty('why_session_closed')) {
227
+ obj['why_session_closed'] = _ApiClient["default"].convertToType(data['why_session_closed'], 'String');
228
228
  }
229
- if (data.hasOwnProperty("why_session_opened")) {
230
- obj["why_session_opened"] = _ApiClient["default"].convertToType(data["why_session_opened"], "String");
229
+ if (data.hasOwnProperty('why_session_opened')) {
230
+ obj['why_session_opened'] = _ApiClient["default"].convertToType(data['why_session_opened'], 'String');
231
231
  }
232
- if (data.hasOwnProperty("work")) {
233
- obj["work"] = _ApiClient["default"].convertToType(data["work"], "Number");
232
+ if (data.hasOwnProperty('work')) {
233
+ obj['work'] = _ApiClient["default"].convertToType(data['work'], 'Number');
234
234
  }
235
235
  } else if (data === null) {
236
236
  return null;
@@ -247,103 +247,103 @@ var DeviceSession = /*#__PURE__*/function () {
247
247
  key: "validateJSON",
248
248
  value: function validateJSON(data) {
249
249
  // ensure the json data is a string
250
- if (data["apn"] && !(typeof data["apn"] === "string" || data["apn"] instanceof String)) {
251
- throw new Error("Expected the field `apn` to be a primitive type in the JSON string but got " + data["apn"]);
250
+ if (data['apn'] && !(typeof data['apn'] === 'string' || data['apn'] instanceof String)) {
251
+ throw new Error("Expected the field `apn` to be a primitive type in the JSON string but got " + data['apn']);
252
252
  }
253
253
  // ensure the json data is a string
254
- if (data["bearer"] && !(typeof data["bearer"] === "string" || data["bearer"] instanceof String)) {
255
- throw new Error("Expected the field `bearer` to be a primitive type in the JSON string but got " + data["bearer"]);
254
+ if (data['bearer'] && !(typeof data['bearer'] === 'string' || data['bearer'] instanceof String)) {
255
+ throw new Error("Expected the field `bearer` to be a primitive type in the JSON string but got " + data['bearer']);
256
256
  }
257
257
  // ensure the json data is a string
258
- if (data["bssid"] && !(typeof data["bssid"] === "string" || data["bssid"] instanceof String)) {
259
- throw new Error("Expected the field `bssid` to be a primitive type in the JSON string but got " + data["bssid"]);
258
+ if (data['bssid'] && !(typeof data['bssid'] === 'string' || data['bssid'] instanceof String)) {
259
+ throw new Error("Expected the field `bssid` to be a primitive type in the JSON string but got " + data['bssid']);
260
260
  }
261
261
  // ensure the json data is a string
262
- if (data["cell"] && !(typeof data["cell"] === "string" || data["cell"] instanceof String)) {
263
- throw new Error("Expected the field `cell` to be a primitive type in the JSON string but got " + data["cell"]);
262
+ if (data['cell'] && !(typeof data['cell'] === 'string' || data['cell'] instanceof String)) {
263
+ throw new Error("Expected the field `cell` to be a primitive type in the JSON string but got " + data['cell']);
264
264
  }
265
265
  // ensure the json data is a string
266
- if (data["device"] && !(typeof data["device"] === "string" || data["device"] instanceof String)) {
267
- throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data["device"]);
266
+ if (data['device'] && !(typeof data['device'] === 'string' || data['device'] instanceof String)) {
267
+ throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data['device']);
268
268
  }
269
269
  // ensure the json data is an array
270
- if (!Array.isArray(data["fleets"])) {
271
- throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data["fleets"]);
270
+ if (!Array.isArray(data['fleets'])) {
271
+ throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data['fleets']);
272
272
  }
273
273
  // ensure the json data is a string
274
- if (data["iccid"] && !(typeof data["iccid"] === "string" || data["iccid"] instanceof String)) {
275
- throw new Error("Expected the field `iccid` to be a primitive type in the JSON string but got " + data["iccid"]);
274
+ if (data['iccid'] && !(typeof data['iccid'] === 'string' || data['iccid'] instanceof String)) {
275
+ throw new Error("Expected the field `iccid` to be a primitive type in the JSON string but got " + data['iccid']);
276
276
  }
277
277
  // ensure the json data is a string
278
- if (data["ip"] && !(typeof data["ip"] === "string" || data["ip"] instanceof String)) {
279
- throw new Error("Expected the field `ip` to be a primitive type in the JSON string but got " + data["ip"]);
278
+ if (data['ip'] && !(typeof data['ip'] === 'string' || data['ip'] instanceof String)) {
279
+ throw new Error("Expected the field `ip` to be a primitive type in the JSON string but got " + data['ip']);
280
280
  }
281
281
  // ensure the json data is a string
282
- if (data["orientation"] && !(typeof data["orientation"] === "string" || data["orientation"] instanceof String)) {
283
- throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data["orientation"]);
282
+ if (data['orientation'] && !(typeof data['orientation'] === 'string' || data['orientation'] instanceof String)) {
283
+ throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data['orientation']);
284
284
  }
285
285
  // validate the optional field `period`
286
- if (data["period"]) {
286
+ if (data['period']) {
287
287
  // data not null
288
- _DeviceUsage["default"].validateJSON(data["period"]);
288
+ _DeviceUsage["default"].validateJSON(data['period']);
289
289
  }
290
290
  // ensure the json data is a string
291
- if (data["product"] && !(typeof data["product"] === "string" || data["product"] instanceof String)) {
292
- throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data["product"]);
291
+ if (data['product'] && !(typeof data['product'] === 'string' || data['product'] instanceof String)) {
292
+ throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data['product']);
293
293
  }
294
294
  // ensure the json data is a string
295
- if (data["rat"] && !(typeof data["rat"] === "string" || data["rat"] instanceof String)) {
296
- throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data["rat"]);
295
+ if (data['rat'] && !(typeof data['rat'] === 'string' || data['rat'] instanceof String)) {
296
+ throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data['rat']);
297
297
  }
298
298
  // ensure the json data is a string
299
- if (data["session"] && !(typeof data["session"] === "string" || data["session"] instanceof String)) {
300
- throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data["session"]);
299
+ if (data['session'] && !(typeof data['session'] === 'string' || data['session'] instanceof String)) {
300
+ throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data['session']);
301
301
  }
302
302
  // ensure the json data is a string
303
- if (data["sn"] && !(typeof data["sn"] === "string" || data["sn"] instanceof String)) {
304
- throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data["sn"]);
303
+ if (data['sn'] && !(typeof data['sn'] === 'string' || data['sn'] instanceof String)) {
304
+ throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data['sn']);
305
305
  }
306
306
  // ensure the json data is a string
307
- if (data["ssid"] && !(typeof data["ssid"] === "string" || data["ssid"] instanceof String)) {
308
- throw new Error("Expected the field `ssid` to be a primitive type in the JSON string but got " + data["ssid"]);
307
+ if (data['ssid'] && !(typeof data['ssid'] === 'string' || data['ssid'] instanceof String)) {
308
+ throw new Error("Expected the field `ssid` to be a primitive type in the JSON string but got " + data['ssid']);
309
309
  }
310
310
  // validate the optional field `tower`
311
- if (data["tower"]) {
311
+ if (data['tower']) {
312
312
  // data not null
313
- _TowerLocation["default"].validateJSON(data["tower"]);
313
+ _TowerLocation["default"].validateJSON(data['tower']);
314
314
  }
315
315
  // ensure the json data is a string
316
- if (data["transport"] && !(typeof data["transport"] === "string" || data["transport"] instanceof String)) {
317
- throw new Error("Expected the field `transport` to be a primitive type in the JSON string but got " + data["transport"]);
316
+ if (data['transport'] && !(typeof data['transport'] === 'string' || data['transport'] instanceof String)) {
317
+ throw new Error("Expected the field `transport` to be a primitive type in the JSON string but got " + data['transport']);
318
318
  }
319
319
  // validate the optional field `tri`
320
- if (data["tri"]) {
320
+ if (data['tri']) {
321
321
  // data not null
322
- _TowerLocation["default"].validateJSON(data["tri"]);
322
+ _TowerLocation["default"].validateJSON(data['tri']);
323
323
  }
324
324
  // ensure the json data is a string
325
- if (data["where"] && !(typeof data["where"] === "string" || data["where"] instanceof String)) {
326
- throw new Error("Expected the field `where` to be a primitive type in the JSON string but got " + data["where"]);
325
+ if (data['where'] && !(typeof data['where'] === 'string' || data['where'] instanceof String)) {
326
+ throw new Error("Expected the field `where` to be a primitive type in the JSON string but got " + data['where']);
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['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']);
331
331
  }
332
332
  // ensure the json data is a string
333
- if (data["where_location"] && !(typeof data["where_location"] === "string" || data["where_location"] instanceof String)) {
334
- throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data["where_location"]);
333
+ if (data['where_location'] && !(typeof data['where_location'] === 'string' || data['where_location'] instanceof String)) {
334
+ throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data['where_location']);
335
335
  }
336
336
  // ensure the json data is a string
337
- if (data["where_timezone"] && !(typeof data["where_timezone"] === "string" || data["where_timezone"] instanceof String)) {
338
- throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data["where_timezone"]);
337
+ if (data['where_timezone'] && !(typeof data['where_timezone'] === 'string' || data['where_timezone'] instanceof String)) {
338
+ throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data['where_timezone']);
339
339
  }
340
340
  // ensure the json data is a string
341
- if (data["why_session_closed"] && !(typeof data["why_session_closed"] === "string" || data["why_session_closed"] instanceof String)) {
342
- throw new Error("Expected the field `why_session_closed` to be a primitive type in the JSON string but got " + data["why_session_closed"]);
341
+ if (data['why_session_closed'] && !(typeof data['why_session_closed'] === 'string' || data['why_session_closed'] instanceof String)) {
342
+ throw new Error("Expected the field `why_session_closed` to be a primitive type in the JSON string but got " + data['why_session_closed']);
343
343
  }
344
344
  // ensure the json data is a string
345
- if (data["why_session_opened"] && !(typeof data["why_session_opened"] === "string" || data["why_session_opened"] instanceof String)) {
346
- throw new Error("Expected the field `why_session_opened` to be a primitive type in the JSON string but got " + data["why_session_opened"]);
345
+ if (data['why_session_opened'] && !(typeof data['why_session_opened'] === 'string' || data['why_session_opened'] instanceof String)) {
346
+ throw new Error("Expected the field `why_session_opened` to be a primitive type in the JSON string but got " + data['why_session_opened']);
347
347
  }
348
348
  return true;
349
349
  }
@@ -352,306 +352,306 @@ var DeviceSession = /*#__PURE__*/function () {
352
352
  /**
353
353
  * @member {String} apn
354
354
  */
355
- DeviceSession.prototype["apn"] = undefined;
355
+ DeviceSession.prototype['apn'] = undefined;
356
356
 
357
357
  /**
358
358
  * @member {Number} bars
359
359
  */
360
- DeviceSession.prototype["bars"] = undefined;
360
+ DeviceSession.prototype['bars'] = undefined;
361
361
 
362
362
  /**
363
363
  * @member {String} bearer
364
364
  */
365
- DeviceSession.prototype["bearer"] = undefined;
365
+ DeviceSession.prototype['bearer'] = undefined;
366
366
 
367
367
  /**
368
368
  * @member {String} bssid
369
369
  */
370
- DeviceSession.prototype["bssid"] = undefined;
370
+ DeviceSession.prototype['bssid'] = undefined;
371
371
 
372
372
  /**
373
373
  * Cell ID where the session originated and quality (\"mcc,mnc,lac,cellid\")
374
374
  * @member {String} cell
375
375
  */
376
- DeviceSession.prototype["cell"] = undefined;
376
+ DeviceSession.prototype['cell'] = undefined;
377
377
 
378
378
  /**
379
379
  * Was this a continuous connection?
380
380
  * @member {Boolean} continuous
381
381
  */
382
- DeviceSession.prototype["continuous"] = undefined;
382
+ DeviceSession.prototype['continuous'] = undefined;
383
383
 
384
384
  /**
385
385
  * Device UID
386
386
  * @member {String} device
387
387
  */
388
- DeviceSession.prototype["device"] = undefined;
388
+ DeviceSession.prototype['device'] = undefined;
389
389
 
390
390
  /**
391
391
  * Number of events routed
392
392
  * @member {Number} events
393
393
  */
394
- DeviceSession.prototype["events"] = undefined;
394
+ DeviceSession.prototype['events'] = undefined;
395
395
 
396
396
  /**
397
397
  * Number of failed connection attempts in the prior session
398
398
  * @member {Number} failed_connects
399
399
  */
400
- DeviceSession.prototype["failed_connects"] = undefined;
400
+ DeviceSession.prototype['failed_connects'] = undefined;
401
401
 
402
402
  /**
403
403
  * Array of Fleet UIDs
404
404
  * @member {Array.<String>} fleets
405
405
  */
406
- DeviceSession.prototype["fleets"] = undefined;
406
+ DeviceSession.prototype['fleets'] = undefined;
407
407
 
408
408
  /**
409
409
  * @member {Number} hp_cycles_data
410
410
  */
411
- DeviceSession.prototype["hp_cycles_data"] = undefined;
411
+ DeviceSession.prototype['hp_cycles_data'] = undefined;
412
412
 
413
413
  /**
414
414
  * @member {Number} hp_cycles_gps
415
415
  */
416
- DeviceSession.prototype["hp_cycles_gps"] = undefined;
416
+ DeviceSession.prototype['hp_cycles_gps'] = undefined;
417
417
 
418
418
  /**
419
419
  * @member {Number} hp_cycles_total
420
420
  */
421
- DeviceSession.prototype["hp_cycles_total"] = undefined;
421
+ DeviceSession.prototype['hp_cycles_total'] = undefined;
422
422
 
423
423
  /**
424
424
  * @member {Number} hp_secs_data
425
425
  */
426
- DeviceSession.prototype["hp_secs_data"] = undefined;
426
+ DeviceSession.prototype['hp_secs_data'] = undefined;
427
427
 
428
428
  /**
429
429
  * @member {Number} hp_secs_gps
430
430
  */
431
- DeviceSession.prototype["hp_secs_gps"] = undefined;
431
+ DeviceSession.prototype['hp_secs_gps'] = undefined;
432
432
 
433
433
  /**
434
434
  * Total number of seconds in high power mode
435
435
  * @member {Number} hp_secs_total
436
436
  */
437
- DeviceSession.prototype["hp_secs_total"] = undefined;
437
+ DeviceSession.prototype['hp_secs_total'] = undefined;
438
438
 
439
439
  /**
440
440
  * @member {String} iccid
441
441
  */
442
- DeviceSession.prototype["iccid"] = undefined;
442
+ DeviceSession.prototype['iccid'] = undefined;
443
443
 
444
444
  /**
445
445
  * @member {String} ip
446
446
  */
447
- DeviceSession.prototype["ip"] = undefined;
447
+ DeviceSession.prototype['ip'] = undefined;
448
448
 
449
449
  /**
450
450
  * @member {Number} moved
451
451
  */
452
- DeviceSession.prototype["moved"] = undefined;
452
+ DeviceSession.prototype['moved'] = undefined;
453
453
 
454
454
  /**
455
455
  * @member {String} orientation
456
456
  */
457
- DeviceSession.prototype["orientation"] = undefined;
457
+ DeviceSession.prototype['orientation'] = undefined;
458
458
 
459
459
  /**
460
460
  * Number of seconds in penalty in the prior session
461
461
  * @member {Number} penalty_secs
462
462
  */
463
- DeviceSession.prototype["penalty_secs"] = undefined;
463
+ DeviceSession.prototype['penalty_secs'] = undefined;
464
464
 
465
465
  /**
466
466
  * @member {module:model/DeviceUsage} period
467
467
  */
468
- DeviceSession.prototype["period"] = undefined;
468
+ DeviceSession.prototype['period'] = undefined;
469
469
 
470
470
  /**
471
471
  * @member {Boolean} power_charging
472
472
  */
473
- DeviceSession.prototype["power_charging"] = undefined;
473
+ DeviceSession.prototype['power_charging'] = undefined;
474
474
 
475
475
  /**
476
476
  * @member {Number} power_mah
477
477
  */
478
- DeviceSession.prototype["power_mah"] = undefined;
478
+ DeviceSession.prototype['power_mah'] = undefined;
479
479
 
480
480
  /**
481
481
  * @member {Boolean} power_primary
482
482
  */
483
- DeviceSession.prototype["power_primary"] = undefined;
483
+ DeviceSession.prototype['power_primary'] = undefined;
484
484
 
485
485
  /**
486
486
  * @member {Boolean} power_usb
487
487
  */
488
- DeviceSession.prototype["power_usb"] = undefined;
488
+ DeviceSession.prototype['power_usb'] = undefined;
489
489
 
490
490
  /**
491
491
  * Product UID
492
492
  * @member {String} product
493
493
  */
494
- DeviceSession.prototype["product"] = undefined;
494
+ DeviceSession.prototype['product'] = undefined;
495
495
 
496
496
  /**
497
497
  * @member {String} rat
498
498
  */
499
- DeviceSession.prototype["rat"] = undefined;
499
+ DeviceSession.prototype['rat'] = undefined;
500
500
 
501
501
  /**
502
502
  * @member {Number} rsrp
503
503
  */
504
- DeviceSession.prototype["rsrp"] = undefined;
504
+ DeviceSession.prototype['rsrp'] = undefined;
505
505
 
506
506
  /**
507
507
  * @member {Number} rsrq
508
508
  */
509
- DeviceSession.prototype["rsrq"] = undefined;
509
+ DeviceSession.prototype['rsrq'] = undefined;
510
510
 
511
511
  /**
512
512
  * @member {Number} rssi
513
513
  */
514
- DeviceSession.prototype["rssi"] = undefined;
514
+ DeviceSession.prototype['rssi'] = undefined;
515
515
 
516
516
  /**
517
517
  * @member {Blob} scan
518
518
  */
519
- DeviceSession.prototype["scan"] = undefined;
519
+ DeviceSession.prototype['scan'] = undefined;
520
520
 
521
521
  /**
522
522
  * Session UID
523
523
  * @member {String} session
524
524
  */
525
- DeviceSession.prototype["session"] = undefined;
525
+ DeviceSession.prototype['session'] = undefined;
526
526
 
527
527
  /**
528
528
  * UNIX timestamp of session start
529
529
  * @member {Number} session_began
530
530
  */
531
- DeviceSession.prototype["session_began"] = undefined;
531
+ DeviceSession.prototype['session_began'] = undefined;
532
532
 
533
533
  /**
534
534
  * UNIX timestamp of session end
535
535
  * @member {Number} session_ended
536
536
  */
537
- DeviceSession.prototype["session_ended"] = undefined;
537
+ DeviceSession.prototype['session_ended'] = undefined;
538
538
 
539
539
  /**
540
540
  * @member {Number} sinr
541
541
  */
542
- DeviceSession.prototype["sinr"] = undefined;
542
+ DeviceSession.prototype['sinr'] = undefined;
543
543
 
544
544
  /**
545
545
  * Device Serial Number
546
546
  * @member {String} sn
547
547
  */
548
- DeviceSession.prototype["sn"] = undefined;
548
+ DeviceSession.prototype['sn'] = undefined;
549
549
 
550
550
  /**
551
551
  * @member {String} ssid
552
552
  */
553
- DeviceSession.prototype["ssid"] = undefined;
553
+ DeviceSession.prototype['ssid'] = undefined;
554
554
 
555
555
  /**
556
556
  * @member {Number} temp
557
557
  */
558
- DeviceSession.prototype["temp"] = undefined;
558
+ DeviceSession.prototype['temp'] = undefined;
559
559
 
560
560
  /**
561
561
  * Was TLS used?
562
562
  * @member {Boolean} tls
563
563
  */
564
- DeviceSession.prototype["tls"] = undefined;
564
+ DeviceSession.prototype['tls'] = undefined;
565
565
 
566
566
  /**
567
567
  * @member {module:model/TowerLocation} tower
568
568
  */
569
- DeviceSession.prototype["tower"] = undefined;
569
+ DeviceSession.prototype['tower'] = undefined;
570
570
 
571
571
  /**
572
572
  * Type of network transport
573
573
  * @member {String} transport
574
574
  */
575
- DeviceSession.prototype["transport"] = undefined;
575
+ DeviceSession.prototype['transport'] = undefined;
576
576
 
577
577
  /**
578
578
  * @member {module:model/TowerLocation} tri
579
579
  */
580
- DeviceSession.prototype["tri"] = undefined;
580
+ DeviceSession.prototype['tri'] = undefined;
581
581
 
582
582
  /**
583
583
  * @member {Object} triangulate
584
584
  */
585
- DeviceSession.prototype["triangulate"] = undefined;
585
+ DeviceSession.prototype['triangulate'] = undefined;
586
586
 
587
587
  /**
588
588
  * @member {Boolean} usage_actual
589
589
  */
590
- DeviceSession.prototype["usage_actual"] = undefined;
590
+ DeviceSession.prototype['usage_actual'] = undefined;
591
591
 
592
592
  /**
593
593
  * @member {Number} voltage
594
594
  */
595
- DeviceSession.prototype["voltage"] = undefined;
595
+ DeviceSession.prototype['voltage'] = undefined;
596
596
 
597
597
  /**
598
598
  * Last known capture time of a note routed through this session in Unix timestamp
599
599
  * @member {Number} when
600
600
  */
601
- DeviceSession.prototype["when"] = undefined;
601
+ DeviceSession.prototype['when'] = undefined;
602
602
 
603
603
  /**
604
604
  * Open Location Code from last GPS location
605
605
  * @member {String} where
606
606
  */
607
- DeviceSession.prototype["where"] = undefined;
607
+ DeviceSession.prototype['where'] = undefined;
608
608
 
609
609
  /**
610
610
  * @member {String} where_country
611
611
  */
612
- DeviceSession.prototype["where_country"] = undefined;
612
+ DeviceSession.prototype['where_country'] = undefined;
613
613
 
614
614
  /**
615
615
  * @member {Number} where_lat
616
616
  */
617
- DeviceSession.prototype["where_lat"] = undefined;
617
+ DeviceSession.prototype['where_lat'] = undefined;
618
618
 
619
619
  /**
620
620
  * @member {String} where_location
621
621
  */
622
- DeviceSession.prototype["where_location"] = undefined;
622
+ DeviceSession.prototype['where_location'] = undefined;
623
623
 
624
624
  /**
625
625
  * @member {Number} where_lon
626
626
  */
627
- DeviceSession.prototype["where_lon"] = undefined;
627
+ DeviceSession.prototype['where_lon'] = undefined;
628
628
 
629
629
  /**
630
630
  * @member {String} where_timezone
631
631
  */
632
- DeviceSession.prototype["where_timezone"] = undefined;
632
+ DeviceSession.prototype['where_timezone'] = undefined;
633
633
 
634
634
  /**
635
635
  * Unix timestamp of last GPS location
636
636
  * @member {Number} where_when
637
637
  */
638
- DeviceSession.prototype["where_when"] = undefined;
638
+ DeviceSession.prototype['where_when'] = undefined;
639
639
 
640
640
  /**
641
641
  * Reason for session closing
642
642
  * @member {String} why_session_closed
643
643
  */
644
- DeviceSession.prototype["why_session_closed"] = undefined;
644
+ DeviceSession.prototype['why_session_closed'] = undefined;
645
645
 
646
646
  /**
647
647
  * Reason for session opening
648
648
  * @member {String} why_session_opened
649
649
  */
650
- DeviceSession.prototype["why_session_opened"] = undefined;
650
+ DeviceSession.prototype['why_session_opened'] = undefined;
651
651
 
652
652
  /**
653
653
  * Unix timestamp of the last time work was done for this session
654
654
  * @member {Number} work
655
655
  */
656
- DeviceSession.prototype["work"] = undefined;
656
+ DeviceSession.prototype['work'] = undefined;
657
657
  var _default = exports["default"] = DeviceSession;