@blues-inc/notehub-js 1.0.38 → 2.0.0-beta.2

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 (139) hide show
  1. package/README.md +250 -239
  2. package/dist/ApiClient.js +154 -156
  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 +426 -366
  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 +384 -374
  11. package/dist/api/RouteApi.js +77 -77
  12. package/dist/api/UsageApi.js +51 -51
  13. package/dist/api/WebhookApi.js +51 -51
  14. package/dist/index.js +28 -0
  15. package/dist/model/Alert.js +76 -74
  16. package/dist/model/AlertDataInner.js +35 -35
  17. package/dist/model/AlertNotificationsInner.js +18 -18
  18. package/dist/model/Aws.js +65 -65
  19. package/dist/model/AwsFilter.js +19 -19
  20. package/dist/model/AwsTransform.js +20 -20
  21. package/dist/model/Azure.js +43 -43
  22. package/dist/model/BillingAccount.js +21 -21
  23. package/dist/model/BillingAccountRole.js +9 -9
  24. package/dist/model/Body.js +5 -5
  25. package/dist/model/CellularPlan.js +159 -0
  26. package/dist/model/CloneProjectRequest.js +20 -20
  27. package/dist/model/Contact.js +22 -22
  28. package/dist/model/CreateFleetRequest.js +12 -12
  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 +133 -0
  39. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  40. package/dist/model/Device.js +102 -101
  41. package/dist/model/DeviceDfuHistory.js +20 -19
  42. package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
  43. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  44. package/dist/model/DeviceDfuStateMachine.js +25 -24
  45. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  46. package/dist/model/DeviceDfuStatus.js +20 -20
  47. package/dist/model/DeviceDfuStatusPage.js +13 -12
  48. package/dist/model/DeviceSession.js +221 -221
  49. package/dist/model/DeviceTowerInfo.js +14 -14
  50. package/dist/model/DeviceUsage.js +32 -32
  51. package/dist/model/DfuActionRequest.js +7 -7
  52. package/dist/model/EmailNotification.js +7 -7
  53. package/dist/model/EnvTreeJsonNode.js +69 -67
  54. package/dist/model/EnvVar.js +18 -18
  55. package/dist/model/EnvironmentVariables.js +8 -8
  56. package/dist/model/Error.js +31 -31
  57. package/dist/model/Event.js +248 -248
  58. package/dist/model/Firmware.js +49 -49
  59. package/dist/model/FirmwareInfo.js +60 -60
  60. package/dist/model/Fleet.js +30 -30
  61. package/dist/model/GetAlerts200Response.js +15 -14
  62. package/dist/model/GetBillingAccounts200Response.js +10 -9
  63. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
  64. package/dist/model/GetDeviceFleets200Response.js +12 -11
  65. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  66. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  67. package/dist/model/GetDeviceLatest200Response.js +10 -9
  68. package/dist/model/GetDevicePlans200Response.js +112 -0
  69. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  70. package/dist/model/GetDeviceSessions200Response.js +17 -16
  71. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -16
  72. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  73. package/dist/model/GetProjectDevices200Response.js +17 -16
  74. package/dist/model/GetProjectEvents200Response.js +21 -20
  75. package/dist/model/GetProjectEventsByCursor200Response.js +24 -23
  76. package/dist/model/GetProjectMembers200Response.js +12 -11
  77. package/dist/model/GetProjectProducts200Response.js +10 -9
  78. package/dist/model/GetProjects200Response.js +10 -9
  79. package/dist/model/GetWebhooks200Response.js +10 -9
  80. package/dist/model/Google.js +33 -33
  81. package/dist/model/HandleNoteChanges200Response.js +11 -11
  82. package/dist/model/HandleNoteGet200Response.js +13 -13
  83. package/dist/model/HandleNoteSignal200Response.js +5 -5
  84. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  85. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  86. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  87. package/dist/model/Http.js +35 -35
  88. package/dist/model/Location.js +40 -40
  89. package/dist/model/Login200Response.js +7 -7
  90. package/dist/model/LoginRequest.js +12 -12
  91. package/dist/model/Monitor.js +100 -99
  92. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  93. package/dist/model/Mqtt.js +66 -66
  94. package/dist/model/Note.js +10 -10
  95. package/dist/model/NotefileSchema.js +19 -18
  96. package/dist/model/NotehubRoute.js +36 -36
  97. package/dist/model/NotehubRouteSchema.js +45 -46
  98. package/dist/model/OAuth2Error.js +20 -20
  99. package/dist/model/OAuth2TokenResponse.js +23 -23
  100. package/dist/model/PersonalAccessToken.js +34 -34
  101. package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
  102. package/dist/model/PersonalAccessTokenInfo.js +18 -18
  103. package/dist/model/PersonalAccessTokenSecret.js +12 -12
  104. package/dist/model/PostProvisionProjectDeviceRequest.js +18 -18
  105. package/dist/model/Product.js +26 -26
  106. package/dist/model/Project.js +34 -34
  107. package/dist/model/ProjectMember.js +22 -22
  108. package/dist/model/Proxy.js +24 -24
  109. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  110. package/dist/model/Radresponder.js +25 -25
  111. package/dist/model/Repository.js +22 -22
  112. package/dist/model/Role.js +9 -9
  113. package/dist/model/RouteLog.js +38 -38
  114. package/dist/model/SatellitePlan.js +164 -0
  115. package/dist/model/SchemaProperty.js +38 -36
  116. package/dist/model/SimUsage.js +19 -19
  117. package/dist/model/Slack.js +53 -53
  118. package/dist/model/SlackBearerNotification.js +25 -25
  119. package/dist/model/SlackTransform.js +12 -12
  120. package/dist/model/SlackWebHookNotification.js +20 -20
  121. package/dist/model/Snowflake.js +45 -45
  122. package/dist/model/Thingworx.js +33 -33
  123. package/dist/model/TowerLocation.js +54 -54
  124. package/dist/model/Twilio.js +43 -43
  125. package/dist/model/UpdateFleetRequest.js +25 -25
  126. package/dist/model/UploadMetadata.js +72 -59
  127. package/dist/model/UsageData.js +18 -18
  128. package/dist/model/UsageEventsData.js +24 -24
  129. package/dist/model/UsageEventsResponse.js +12 -11
  130. package/dist/model/UsageRouteLogsData.js +29 -29
  131. package/dist/model/UsageRouteLogsResponse.js +12 -11
  132. package/dist/model/UsageSessionsData.js +24 -24
  133. package/dist/model/UsageSessionsResponse.js +12 -11
  134. package/dist/model/UserDbRoute.js +25 -25
  135. package/dist/model/UserDfuStateMachine.js +20 -20
  136. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  137. package/dist/model/UserFirmwareInfo.js +12 -12
  138. package/dist/model/WebhookSettings.js +15 -15
  139. package/package.json +3 -3
@@ -13,6 +13,7 @@ var _Error = _interopRequireDefault(require("../model/Error"));
13
13
  var _GetDeviceEnvironmentVariablesByPin200Response = _interopRequireDefault(require("../model/GetDeviceEnvironmentVariablesByPin200Response"));
14
14
  var _GetDeviceHealthLog200Response = _interopRequireDefault(require("../model/GetDeviceHealthLog200Response"));
15
15
  var _GetDeviceLatest200Response = _interopRequireDefault(require("../model/GetDeviceLatest200Response"));
16
+ var _GetDevicePlans200Response = _interopRequireDefault(require("../model/GetDevicePlans200Response"));
16
17
  var _GetDevicePublicKey200Response = _interopRequireDefault(require("../model/GetDevicePublicKey200Response"));
17
18
  var _GetDeviceSessions200Response = _interopRequireDefault(require("../model/GetDeviceSessions200Response"));
18
19
  var _GetProjectDevicePublicKeys200Response = _interopRequireDefault(require("../model/GetProjectDevicePublicKeys200Response"));
@@ -33,7 +34,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
33
34
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
35
  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); } /**
35
36
  * Notehub API
36
- * The OpenAPI definition for the Notehub.io API.
37
+ * The OpenAPI definition for the Notehub.io API.
37
38
  *
38
39
  * The version of the OpenAPI document: 1.2.0
39
40
  * Contact: engineering@blues.io
@@ -44,18 +45,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
44
45
  *
45
46
  */
46
47
  /**
47
- * Device service.
48
- * @module api/DeviceApi
49
- * @version 1.0.38
50
- */
48
+ * Device service.
49
+ * @module api/DeviceApi
50
+ * @version 2.0.0-beta.2
51
+ */
51
52
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
52
53
  /**
53
- * Constructs a new DeviceApi.
54
- * @alias module:api/DeviceApi
55
- * @class
56
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
57
- * default to {@link module:ApiClient#instance} if unspecified.
58
- */
54
+ * Constructs a new DeviceApi.
55
+ * @alias module:api/DeviceApi
56
+ * @class
57
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
58
+ * default to {@link module:ApiClient#instance} if unspecified.
59
+ */
59
60
  function DeviceApi(apiClient) {
60
61
  _classCallCheck(this, DeviceApi);
61
62
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -63,8 +64,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
63
64
 
64
65
  /**
65
66
  * Delete environment variable of a device
66
- * @param {String} projectOrProductUID
67
- * @param {String} deviceUID
67
+ * @param {String} projectOrProductUID
68
+ * @param {String} deviceUID
68
69
  * @param {String} key The environment variable key to delete.
69
70
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
70
71
  */
@@ -85,24 +86,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
85
86
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
86
87
  }
87
88
  var pathParams = {
88
- projectOrProductUID: projectOrProductUID,
89
- deviceUID: deviceUID,
90
- key: key
89
+ 'projectOrProductUID': projectOrProductUID,
90
+ 'deviceUID': deviceUID,
91
+ 'key': key
91
92
  };
92
93
  var queryParams = {};
93
94
  var headerParams = {};
94
95
  var formParams = {};
95
- var authNames = ["api_key"];
96
+ var authNames = ['personalAccessToken'];
96
97
  var contentTypes = [];
97
- var accepts = ["application/json"];
98
+ var accepts = ['application/json'];
98
99
  var returnType = _EnvironmentVariables["default"];
99
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
100
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
100
101
  }
101
102
 
102
103
  /**
103
104
  * Delete environment variable of a device
104
- * @param {String} projectOrProductUID
105
- * @param {String} deviceUID
105
+ * @param {String} projectOrProductUID
106
+ * @param {String} deviceUID
106
107
  * @param {String} key The environment variable key to delete.
107
108
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
108
109
  */
@@ -116,9 +117,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
116
117
 
117
118
  /**
118
119
  * Delete Device
119
- * @param {String} projectOrProductUID
120
- * @param {String} deviceUID
121
- * @param {Boolean} purge
120
+ * @param {String} projectOrProductUID
121
+ * @param {String} deviceUID
122
+ * @param {Boolean} purge
122
123
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
123
124
  */
124
125
  }, {
@@ -138,26 +139,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
138
139
  throw new _Error["default"]("Missing the required parameter 'purge' when calling deleteProjectDevice");
139
140
  }
140
141
  var pathParams = {
141
- projectOrProductUID: projectOrProductUID,
142
- deviceUID: deviceUID
142
+ 'projectOrProductUID': projectOrProductUID,
143
+ 'deviceUID': deviceUID
143
144
  };
144
145
  var queryParams = {
145
- purge: purge
146
+ 'purge': purge
146
147
  };
147
148
  var headerParams = {};
148
149
  var formParams = {};
149
- var authNames = ["api_key"];
150
+ var authNames = ['personalAccessToken'];
150
151
  var contentTypes = [];
151
- var accepts = ["application/json"];
152
+ var accepts = ['application/json'];
152
153
  var returnType = null;
153
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
154
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
154
155
  }
155
156
 
156
157
  /**
157
158
  * Delete Device
158
- * @param {String} projectOrProductUID
159
- * @param {String} deviceUID
160
- * @param {Boolean} purge
159
+ * @param {String} projectOrProductUID
160
+ * @param {String} deviceUID
161
+ * @param {Boolean} purge
161
162
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
162
163
  */
163
164
  }, {
@@ -170,8 +171,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
170
171
 
171
172
  /**
172
173
  * Disable Device
173
- * @param {String} projectOrProductUID
174
- * @param {String} deviceUID
174
+ * @param {String} projectOrProductUID
175
+ * @param {String} deviceUID
175
176
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
176
177
  */
177
178
  }, {
@@ -187,23 +188,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
187
188
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDevice");
188
189
  }
189
190
  var pathParams = {
190
- projectOrProductUID: projectOrProductUID,
191
- deviceUID: deviceUID
191
+ 'projectOrProductUID': projectOrProductUID,
192
+ 'deviceUID': deviceUID
192
193
  };
193
194
  var queryParams = {};
194
195
  var headerParams = {};
195
196
  var formParams = {};
196
- var authNames = ["api_key"];
197
+ var authNames = ['personalAccessToken'];
197
198
  var contentTypes = [];
198
- var accepts = ["application/json"];
199
+ var accepts = ['application/json'];
199
200
  var returnType = null;
200
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
201
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
201
202
  }
202
203
 
203
204
  /**
204
205
  * Disable Device
205
- * @param {String} projectOrProductUID
206
- * @param {String} deviceUID
206
+ * @param {String} projectOrProductUID
207
+ * @param {String} deviceUID
207
208
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
208
209
  */
209
210
  }, {
@@ -216,8 +217,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
216
217
 
217
218
  /**
218
219
  * Disable Connectivity Assurance
219
- * @param {String} projectOrProductUID
220
- * @param {String} deviceUID
220
+ * @param {String} projectOrProductUID
221
+ * @param {String} deviceUID
221
222
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
222
223
  */
223
224
  }, {
@@ -233,23 +234,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
233
234
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDeviceConnectivityAssurance");
234
235
  }
235
236
  var pathParams = {
236
- projectOrProductUID: projectOrProductUID,
237
- deviceUID: deviceUID
237
+ 'projectOrProductUID': projectOrProductUID,
238
+ 'deviceUID': deviceUID
238
239
  };
239
240
  var queryParams = {};
240
241
  var headerParams = {};
241
242
  var formParams = {};
242
- var authNames = ["api_key"];
243
+ var authNames = ['personalAccessToken'];
243
244
  var contentTypes = [];
244
- var accepts = ["application/json"];
245
+ var accepts = ['application/json'];
245
246
  var returnType = null;
246
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
247
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
247
248
  }
248
249
 
249
250
  /**
250
251
  * Disable Connectivity Assurance
251
- * @param {String} projectOrProductUID
252
- * @param {String} deviceUID
252
+ * @param {String} projectOrProductUID
253
+ * @param {String} deviceUID
253
254
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
254
255
  */
255
256
  }, {
@@ -262,8 +263,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
262
263
 
263
264
  /**
264
265
  * Enable Device
265
- * @param {String} projectOrProductUID
266
- * @param {String} deviceUID
266
+ * @param {String} projectOrProductUID
267
+ * @param {String} deviceUID
267
268
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
268
269
  */
269
270
  }, {
@@ -279,23 +280,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
279
280
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
280
281
  }
281
282
  var pathParams = {
282
- projectOrProductUID: projectOrProductUID,
283
- deviceUID: deviceUID
283
+ 'projectOrProductUID': projectOrProductUID,
284
+ 'deviceUID': deviceUID
284
285
  };
285
286
  var queryParams = {};
286
287
  var headerParams = {};
287
288
  var formParams = {};
288
- var authNames = ["api_key"];
289
+ var authNames = ['personalAccessToken'];
289
290
  var contentTypes = [];
290
- var accepts = ["application/json"];
291
+ var accepts = ['application/json'];
291
292
  var returnType = null;
292
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
293
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
293
294
  }
294
295
 
295
296
  /**
296
297
  * Enable Device
297
- * @param {String} projectOrProductUID
298
- * @param {String} deviceUID
298
+ * @param {String} projectOrProductUID
299
+ * @param {String} deviceUID
299
300
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
300
301
  */
301
302
  }, {
@@ -308,8 +309,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
308
309
 
309
310
  /**
310
311
  * Enable Connectivity Assurance
311
- * @param {String} projectOrProductUID
312
- * @param {String} deviceUID
312
+ * @param {String} projectOrProductUID
313
+ * @param {String} deviceUID
313
314
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
314
315
  */
315
316
  }, {
@@ -325,23 +326,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
325
326
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDeviceConnectivityAssurance");
326
327
  }
327
328
  var pathParams = {
328
- projectOrProductUID: projectOrProductUID,
329
- deviceUID: deviceUID
329
+ 'projectOrProductUID': projectOrProductUID,
330
+ 'deviceUID': deviceUID
330
331
  };
331
332
  var queryParams = {};
332
333
  var headerParams = {};
333
334
  var formParams = {};
334
- var authNames = ["api_key"];
335
+ var authNames = ['personalAccessToken'];
335
336
  var contentTypes = [];
336
- var accepts = ["application/json"];
337
+ var accepts = ['application/json'];
337
338
  var returnType = null;
338
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
339
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
339
340
  }
340
341
 
341
342
  /**
342
343
  * Enable Connectivity Assurance
343
- * @param {String} projectOrProductUID
344
- * @param {String} deviceUID
344
+ * @param {String} projectOrProductUID
345
+ * @param {String} deviceUID
345
346
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
346
347
  */
347
348
  }, {
@@ -354,8 +355,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
354
355
 
355
356
  /**
356
357
  * Get Device
357
- * @param {String} projectOrProductUID
358
- * @param {String} deviceUID
358
+ * @param {String} projectOrProductUID
359
+ * @param {String} deviceUID
359
360
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
360
361
  */
361
362
  }, {
@@ -371,23 +372,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
371
372
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
372
373
  }
373
374
  var pathParams = {
374
- projectOrProductUID: projectOrProductUID,
375
- deviceUID: deviceUID
375
+ 'projectOrProductUID': projectOrProductUID,
376
+ 'deviceUID': deviceUID
376
377
  };
377
378
  var queryParams = {};
378
379
  var headerParams = {};
379
380
  var formParams = {};
380
- var authNames = ["api_key"];
381
+ var authNames = ['personalAccessToken'];
381
382
  var contentTypes = [];
382
- var accepts = ["application/json"];
383
+ var accepts = ['application/json'];
383
384
  var returnType = _Device["default"];
384
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
385
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
385
386
  }
386
387
 
387
388
  /**
388
389
  * Get Device
389
- * @param {String} projectOrProductUID
390
- * @param {String} deviceUID
390
+ * @param {String} projectOrProductUID
391
+ * @param {String} deviceUID
391
392
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
392
393
  */
393
394
  }, {
@@ -400,8 +401,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
400
401
 
401
402
  /**
402
403
  * Get environment variable hierarchy for a device
403
- * @param {String} projectOrProductUID
404
- * @param {String} deviceUID
404
+ * @param {String} projectOrProductUID
405
+ * @param {String} deviceUID
405
406
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
406
407
  */
407
408
  }, {
@@ -417,23 +418,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
417
418
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentHierarchy");
418
419
  }
419
420
  var pathParams = {
420
- projectOrProductUID: projectOrProductUID,
421
- deviceUID: deviceUID
421
+ 'projectOrProductUID': projectOrProductUID,
422
+ 'deviceUID': deviceUID
422
423
  };
423
424
  var queryParams = {};
424
425
  var headerParams = {};
425
426
  var formParams = {};
426
- var authNames = ["api_key"];
427
+ var authNames = ['personalAccessToken'];
427
428
  var contentTypes = [];
428
- var accepts = ["application/json"];
429
+ var accepts = ['application/json'];
429
430
  var returnType = _EnvTreeJsonNode["default"];
430
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
431
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
431
432
  }
432
433
 
433
434
  /**
434
435
  * Get environment variable hierarchy for a device
435
- * @param {String} projectOrProductUID
436
- * @param {String} deviceUID
436
+ * @param {String} projectOrProductUID
437
+ * @param {String} deviceUID
437
438
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
438
439
  */
439
440
  }, {
@@ -446,8 +447,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
446
447
 
447
448
  /**
448
449
  * Get environment variables of a device
449
- * @param {String} projectOrProductUID
450
- * @param {String} deviceUID
450
+ * @param {String} projectOrProductUID
451
+ * @param {String} deviceUID
451
452
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
452
453
  */
453
454
  }, {
@@ -463,23 +464,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
463
464
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
464
465
  }
465
466
  var pathParams = {
466
- projectOrProductUID: projectOrProductUID,
467
- deviceUID: deviceUID
467
+ 'projectOrProductUID': projectOrProductUID,
468
+ 'deviceUID': deviceUID
468
469
  };
469
470
  var queryParams = {};
470
471
  var headerParams = {};
471
472
  var formParams = {};
472
- var authNames = ["api_key"];
473
+ var authNames = ['personalAccessToken'];
473
474
  var contentTypes = [];
474
- var accepts = ["application/json"];
475
+ var accepts = ['application/json'];
475
476
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
476
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
477
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
477
478
  }
478
479
 
479
480
  /**
480
481
  * Get environment variables of a device
481
- * @param {String} projectOrProductUID
482
- * @param {String} deviceUID
482
+ * @param {String} projectOrProductUID
483
+ * @param {String} deviceUID
483
484
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
484
485
  */
485
486
  }, {
@@ -492,8 +493,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
492
493
 
493
494
  /**
494
495
  * Get environment variables of a device with device pin authorization
495
- * @param {String} productUID
496
- * @param {String} deviceUID
496
+ * @param {String} productUID
497
+ * @param {String} deviceUID
497
498
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
498
499
  */
499
500
  }, {
@@ -509,23 +510,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
509
510
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
510
511
  }
511
512
  var pathParams = {
512
- productUID: productUID,
513
- deviceUID: deviceUID
513
+ 'productUID': productUID,
514
+ 'deviceUID': deviceUID
514
515
  };
515
516
  var queryParams = {};
516
517
  var headerParams = {};
517
518
  var formParams = {};
518
- var authNames = ["pin"];
519
+ var authNames = ['pin'];
519
520
  var contentTypes = [];
520
- var accepts = ["application/json"];
521
+ var accepts = ['application/json'];
521
522
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
522
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
523
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
523
524
  }
524
525
 
525
526
  /**
526
527
  * Get environment variables of a device with device pin authorization
527
- * @param {String} productUID
528
- * @param {String} deviceUID
528
+ * @param {String} productUID
529
+ * @param {String} deviceUID
529
530
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
530
531
  */
531
532
  }, {
@@ -538,13 +539,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
538
539
 
539
540
  /**
540
541
  * Get Device Health Log
541
- * @param {String} projectOrProductUID
542
- * @param {String} deviceUID
542
+ * @param {String} projectOrProductUID
543
+ * @param {String} deviceUID
544
+ * @param {Object} opts Optional parameters
545
+ * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
546
+ * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
547
+ * @param {Array.<module:model/String>} opts.logType Return only specified log types
543
548
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
544
549
  */
545
550
  }, {
546
551
  key: "getDeviceHealthLogWithHttpInfo",
547
- value: function getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID) {
552
+ value: function getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID, opts) {
553
+ opts = opts || {};
548
554
  var postBody = null;
549
555
  // verify the required parameter 'projectOrProductUID' is set
550
556
  if (projectOrProductUID === undefined || projectOrProductUID === null) {
@@ -555,37 +561,45 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
555
561
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
556
562
  }
557
563
  var pathParams = {
558
- projectOrProductUID: projectOrProductUID,
559
- deviceUID: deviceUID
564
+ 'projectOrProductUID': projectOrProductUID,
565
+ 'deviceUID': deviceUID
566
+ };
567
+ var queryParams = {
568
+ 'startDate': opts['startDate'],
569
+ 'endDate': opts['endDate'],
570
+ 'log_type': this.apiClient.buildCollectionParam(opts['logType'], 'multi')
560
571
  };
561
- var queryParams = {};
562
572
  var headerParams = {};
563
573
  var formParams = {};
564
- var authNames = ["api_key"];
574
+ var authNames = ['personalAccessToken'];
565
575
  var contentTypes = [];
566
- var accepts = ["application/json"];
576
+ var accepts = ['application/json'];
567
577
  var returnType = _GetDeviceHealthLog200Response["default"];
568
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
578
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
569
579
  }
570
580
 
571
581
  /**
572
582
  * Get Device Health Log
573
- * @param {String} projectOrProductUID
574
- * @param {String} deviceUID
583
+ * @param {String} projectOrProductUID
584
+ * @param {String} deviceUID
585
+ * @param {Object} opts Optional parameters
586
+ * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
587
+ * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
588
+ * @param {Array.<module:model/String>} opts.logType Return only specified log types
575
589
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
576
590
  */
577
591
  }, {
578
592
  key: "getDeviceHealthLog",
579
- value: function getDeviceHealthLog(projectOrProductUID, deviceUID) {
580
- return this.getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
593
+ value: function getDeviceHealthLog(projectOrProductUID, deviceUID, opts) {
594
+ return this.getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID, opts).then(function (response_and_data) {
581
595
  return response_and_data.data;
582
596
  });
583
597
  }
584
598
 
585
599
  /**
586
600
  * Get Device Latest Events
587
- * @param {String} projectOrProductUID
588
- * @param {String} deviceUID
601
+ * @param {String} projectOrProductUID
602
+ * @param {String} deviceUID
589
603
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatest200Response} and HTTP response
590
604
  */
591
605
  }, {
@@ -601,23 +615,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
601
615
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatest");
602
616
  }
603
617
  var pathParams = {
604
- projectOrProductUID: projectOrProductUID,
605
- deviceUID: deviceUID
618
+ 'projectOrProductUID': projectOrProductUID,
619
+ 'deviceUID': deviceUID
606
620
  };
607
621
  var queryParams = {};
608
622
  var headerParams = {};
609
623
  var formParams = {};
610
- var authNames = ["api_key"];
624
+ var authNames = ['personalAccessToken'];
611
625
  var contentTypes = [];
612
- var accepts = ["application/json"];
626
+ var accepts = ['application/json'];
613
627
  var returnType = _GetDeviceLatest200Response["default"];
614
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
628
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
615
629
  }
616
630
 
617
631
  /**
618
632
  * Get Device Latest Events
619
- * @param {String} projectOrProductUID
620
- * @param {String} deviceUID
633
+ * @param {String} projectOrProductUID
634
+ * @param {String} deviceUID
621
635
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatest200Response}
622
636
  */
623
637
  }, {
@@ -628,10 +642,56 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
628
642
  });
629
643
  }
630
644
 
645
+ /**
646
+ * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
647
+ * @param {String} projectOrProductUID
648
+ * @param {String} deviceUID
649
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
650
+ */
651
+ }, {
652
+ key: "getDevicePlansWithHttpInfo",
653
+ value: function getDevicePlansWithHttpInfo(projectOrProductUID, deviceUID) {
654
+ var postBody = null;
655
+ // verify the required parameter 'projectOrProductUID' is set
656
+ if (projectOrProductUID === undefined || projectOrProductUID === null) {
657
+ throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePlans");
658
+ }
659
+ // verify the required parameter 'deviceUID' is set
660
+ if (deviceUID === undefined || deviceUID === null) {
661
+ throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePlans");
662
+ }
663
+ var pathParams = {
664
+ 'projectOrProductUID': projectOrProductUID,
665
+ 'deviceUID': deviceUID
666
+ };
667
+ var queryParams = {};
668
+ var headerParams = {};
669
+ var formParams = {};
670
+ var authNames = [];
671
+ var contentTypes = [];
672
+ var accepts = ['application/json'];
673
+ var returnType = _GetDevicePlans200Response["default"];
674
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
675
+ }
676
+
677
+ /**
678
+ * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
679
+ * @param {String} projectOrProductUID
680
+ * @param {String} deviceUID
681
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
682
+ */
683
+ }, {
684
+ key: "getDevicePlans",
685
+ value: function getDevicePlans(projectOrProductUID, deviceUID) {
686
+ return this.getDevicePlansWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
687
+ return response_and_data.data;
688
+ });
689
+ }
690
+
631
691
  /**
632
692
  * Get Device Public Key
633
- * @param {String} projectOrProductUID
634
- * @param {String} deviceUID
693
+ * @param {String} projectOrProductUID
694
+ * @param {String} deviceUID
635
695
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
636
696
  */
637
697
  }, {
@@ -647,23 +707,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
647
707
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
648
708
  }
649
709
  var pathParams = {
650
- projectOrProductUID: projectOrProductUID,
651
- deviceUID: deviceUID
710
+ 'projectOrProductUID': projectOrProductUID,
711
+ 'deviceUID': deviceUID
652
712
  };
653
713
  var queryParams = {};
654
714
  var headerParams = {};
655
715
  var formParams = {};
656
- var authNames = ["api_key"];
716
+ var authNames = ['personalAccessToken'];
657
717
  var contentTypes = [];
658
- var accepts = ["application/json"];
718
+ var accepts = ['application/json'];
659
719
  var returnType = _GetDevicePublicKey200Response["default"];
660
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
720
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
661
721
  }
662
722
 
663
723
  /**
664
724
  * Get Device Public Key
665
- * @param {String} projectOrProductUID
666
- * @param {String} deviceUID
725
+ * @param {String} projectOrProductUID
726
+ * @param {String} deviceUID
667
727
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
668
728
  */
669
729
  }, {
@@ -676,8 +736,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
676
736
 
677
737
  /**
678
738
  * Get Device Sessions
679
- * @param {String} projectOrProductUID
680
- * @param {String} deviceUID
739
+ * @param {String} projectOrProductUID
740
+ * @param {String} deviceUID
681
741
  * @param {Object} opts Optional parameters
682
742
  * @param {Number} opts.pageSize (default to 50)
683
743
  * @param {Number} opts.pageNum (default to 1)
@@ -699,28 +759,28 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
699
759
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
700
760
  }
701
761
  var pathParams = {
702
- projectOrProductUID: projectOrProductUID,
703
- deviceUID: deviceUID
762
+ 'projectOrProductUID': projectOrProductUID,
763
+ 'deviceUID': deviceUID
704
764
  };
705
765
  var queryParams = {
706
- pageSize: opts["pageSize"],
707
- pageNum: opts["pageNum"],
708
- startDate: opts["startDate"],
709
- endDate: opts["endDate"]
766
+ 'pageSize': opts['pageSize'],
767
+ 'pageNum': opts['pageNum'],
768
+ 'startDate': opts['startDate'],
769
+ 'endDate': opts['endDate']
710
770
  };
711
771
  var headerParams = {};
712
772
  var formParams = {};
713
- var authNames = ["api_key"];
773
+ var authNames = ['personalAccessToken'];
714
774
  var contentTypes = [];
715
- var accepts = ["application/json"];
775
+ var accepts = ['application/json'];
716
776
  var returnType = _GetDeviceSessions200Response["default"];
717
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
777
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
718
778
  }
719
779
 
720
780
  /**
721
781
  * Get Device Sessions
722
- * @param {String} projectOrProductUID
723
- * @param {String} deviceUID
782
+ * @param {String} projectOrProductUID
783
+ * @param {String} deviceUID
724
784
  * @param {Object} opts Optional parameters
725
785
  * @param {Number} opts.pageSize (default to 50)
726
786
  * @param {Number} opts.pageNum (default to 1)
@@ -738,7 +798,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
738
798
 
739
799
  /**
740
800
  * Get Device Public Keys of a Project
741
- * @param {String} projectOrProductUID
801
+ * @param {String} projectOrProductUID
742
802
  * @param {Object} opts Optional parameters
743
803
  * @param {Number} opts.pageSize (default to 50)
744
804
  * @param {Number} opts.pageNum (default to 1)
@@ -754,24 +814,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
754
814
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectDevicePublicKeys");
755
815
  }
756
816
  var pathParams = {
757
- projectOrProductUID: projectOrProductUID
817
+ 'projectOrProductUID': projectOrProductUID
758
818
  };
759
819
  var queryParams = {
760
- pageSize: opts["pageSize"],
761
- pageNum: opts["pageNum"]
820
+ 'pageSize': opts['pageSize'],
821
+ 'pageNum': opts['pageNum']
762
822
  };
763
823
  var headerParams = {};
764
824
  var formParams = {};
765
- var authNames = ["api_key"];
825
+ var authNames = ['personalAccessToken'];
766
826
  var contentTypes = [];
767
- var accepts = ["application/json"];
827
+ var accepts = ['application/json'];
768
828
  var returnType = _GetProjectDevicePublicKeys200Response["default"];
769
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/public-keys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
829
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
770
830
  }
771
831
 
772
832
  /**
773
833
  * Get Device Public Keys of a Project
774
- * @param {String} projectOrProductUID
834
+ * @param {String} projectOrProductUID
775
835
  * @param {Object} opts Optional parameters
776
836
  * @param {Number} opts.pageSize (default to 50)
777
837
  * @param {Number} opts.pageNum (default to 1)
@@ -787,18 +847,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
787
847
 
788
848
  /**
789
849
  * Get Devices of a Project
790
- * @param {String} projectOrProductUID
850
+ * @param {String} projectOrProductUID
791
851
  * @param {Object} opts Optional parameters
792
852
  * @param {Number} opts.pageSize (default to 50)
793
853
  * @param {Number} opts.pageNum (default to 1)
794
854
  * @param {Array.<String>} opts.deviceUID A Device UID.
795
855
  * @param {Array.<String>} opts.tag Tag filter
796
856
  * @param {Array.<String>} opts.serialNumber Serial number filter
797
- * @param {Array.<String>} opts.fleetUID
857
+ * @param {Array.<String>} opts.fleetUID
798
858
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
799
859
  * @param {Array.<String>} opts.location Location filter
800
860
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
801
- * @param {Array.<String>} opts.productUID
861
+ * @param {Array.<String>} opts.productUID
802
862
  * @param {Array.<String>} opts.sku SKU filter
803
863
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectDevices200Response} and HTTP response
804
864
  */
@@ -812,44 +872,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
812
872
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectDevices");
813
873
  }
814
874
  var pathParams = {
815
- projectOrProductUID: projectOrProductUID
875
+ 'projectOrProductUID': projectOrProductUID
816
876
  };
817
877
  var queryParams = {
818
- pageSize: opts["pageSize"],
819
- pageNum: opts["pageNum"],
820
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
821
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
822
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
823
- fleetUID: this.apiClient.buildCollectionParam(opts["fleetUID"], "multi"),
824
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
825
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
826
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
827
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
828
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
878
+ 'pageSize': opts['pageSize'],
879
+ 'pageNum': opts['pageNum'],
880
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
881
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
882
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
883
+ 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
884
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
885
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
886
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
887
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
888
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
829
889
  };
830
890
  var headerParams = {};
831
891
  var formParams = {};
832
- var authNames = ["api_key"];
892
+ var authNames = ['personalAccessToken'];
833
893
  var contentTypes = [];
834
- var accepts = ["application/json"];
894
+ var accepts = ['application/json'];
835
895
  var returnType = _GetProjectDevices200Response["default"];
836
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
896
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
837
897
  }
838
898
 
839
899
  /**
840
900
  * Get Devices of a Project
841
- * @param {String} projectOrProductUID
901
+ * @param {String} projectOrProductUID
842
902
  * @param {Object} opts Optional parameters
843
903
  * @param {Number} opts.pageSize (default to 50)
844
904
  * @param {Number} opts.pageNum (default to 1)
845
905
  * @param {Array.<String>} opts.deviceUID A Device UID.
846
906
  * @param {Array.<String>} opts.tag Tag filter
847
907
  * @param {Array.<String>} opts.serialNumber Serial number filter
848
- * @param {Array.<String>} opts.fleetUID
908
+ * @param {Array.<String>} opts.fleetUID
849
909
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
850
910
  * @param {Array.<String>} opts.location Location filter
851
911
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
852
- * @param {Array.<String>} opts.productUID
912
+ * @param {Array.<String>} opts.productUID
853
913
  * @param {Array.<String>} opts.sku SKU filter
854
914
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectDevices200Response}
855
915
  */
@@ -863,8 +923,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
863
923
 
864
924
  /**
865
925
  * Get Devices of a Fleet within a Project
866
- * @param {String} projectOrProductUID
867
- * @param {String} fleetUID
926
+ * @param {String} projectOrProductUID
927
+ * @param {String} fleetUID
868
928
  * @param {Object} opts Optional parameters
869
929
  * @param {Number} opts.pageSize (default to 50)
870
930
  * @param {Number} opts.pageNum (default to 1)
@@ -874,7 +934,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
874
934
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
875
935
  * @param {Array.<String>} opts.location Location filter
876
936
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
877
- * @param {Array.<String>} opts.productUID
937
+ * @param {Array.<String>} opts.productUID
878
938
  * @param {Array.<String>} opts.sku SKU filter
879
939
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectDevices200Response} and HTTP response
880
940
  */
@@ -892,34 +952,34 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
892
952
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getProjectFleetDevices");
893
953
  }
894
954
  var pathParams = {
895
- projectOrProductUID: projectOrProductUID,
896
- fleetUID: fleetUID
955
+ 'projectOrProductUID': projectOrProductUID,
956
+ 'fleetUID': fleetUID
897
957
  };
898
958
  var queryParams = {
899
- pageSize: opts["pageSize"],
900
- pageNum: opts["pageNum"],
901
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
902
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
903
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
904
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
905
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
906
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
907
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
908
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
959
+ 'pageSize': opts['pageSize'],
960
+ 'pageNum': opts['pageNum'],
961
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
962
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
963
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
964
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
965
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
966
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
967
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
968
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
909
969
  };
910
970
  var headerParams = {};
911
971
  var formParams = {};
912
- var authNames = ["api_key"];
972
+ var authNames = ['personalAccessToken'];
913
973
  var contentTypes = [];
914
- var accepts = ["application/json"];
974
+ var accepts = ['application/json'];
915
975
  var returnType = _GetProjectDevices200Response["default"];
916
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
976
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
917
977
  }
918
978
 
919
979
  /**
920
980
  * Get Devices of a Fleet within a Project
921
- * @param {String} projectOrProductUID
922
- * @param {String} fleetUID
981
+ * @param {String} projectOrProductUID
982
+ * @param {String} fleetUID
923
983
  * @param {Object} opts Optional parameters
924
984
  * @param {Number} opts.pageSize (default to 50)
925
985
  * @param {Number} opts.pageNum (default to 1)
@@ -929,7 +989,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
929
989
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
930
990
  * @param {Array.<String>} opts.location Location filter
931
991
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
932
- * @param {Array.<String>} opts.productUID
992
+ * @param {Array.<String>} opts.productUID
933
993
  * @param {Array.<String>} opts.sku SKU filter
934
994
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectDevices200Response}
935
995
  */
@@ -943,9 +1003,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
943
1003
 
944
1004
  /**
945
1005
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
946
- * @param {String} projectOrProductUID
947
- * @param {String} deviceUID
948
- * @param {String} notefileID
1006
+ * @param {String} projectOrProductUID
1007
+ * @param {String} deviceUID
1008
+ * @param {String} notefileID
949
1009
  * @param {module:model/Note} note Body or payload of note to be added to the device
950
1010
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
951
1011
  */
@@ -970,25 +1030,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
970
1030
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteAdd");
971
1031
  }
972
1032
  var pathParams = {
973
- projectOrProductUID: projectOrProductUID,
974
- deviceUID: deviceUID,
975
- notefileID: notefileID
1033
+ 'projectOrProductUID': projectOrProductUID,
1034
+ 'deviceUID': deviceUID,
1035
+ 'notefileID': notefileID
976
1036
  };
977
1037
  var queryParams = {};
978
1038
  var headerParams = {};
979
1039
  var formParams = {};
980
- var authNames = ["api_key"];
981
- var contentTypes = ["application/json"];
982
- var accepts = ["application/json"];
1040
+ var authNames = ['personalAccessToken'];
1041
+ var contentTypes = ['application/json'];
1042
+ var accepts = ['application/json'];
983
1043
  var returnType = null;
984
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1044
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
985
1045
  }
986
1046
 
987
1047
  /**
988
1048
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
989
- * @param {String} projectOrProductUID
990
- * @param {String} deviceUID
991
- * @param {String} notefileID
1049
+ * @param {String} projectOrProductUID
1050
+ * @param {String} deviceUID
1051
+ * @param {String} notefileID
992
1052
  * @param {module:model/Note} note Body or payload of note to be added to the device
993
1053
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
994
1054
  */
@@ -1002,9 +1062,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1002
1062
 
1003
1063
  /**
1004
1064
  * Incrementally retrieve changes within a specific Notefile.
1005
- * @param {String} projectOrProductUID
1006
- * @param {String} deviceUID
1007
- * @param {String} notefileID
1065
+ * @param {String} projectOrProductUID
1066
+ * @param {String} deviceUID
1067
+ * @param {String} notefileID
1008
1068
  * @param {Object} opts Optional parameters
1009
1069
  * @param {String} opts.tracker The change tracker ID.
1010
1070
  * @param {Number} opts.max The maximum number of Notes to return in the request.
@@ -1032,32 +1092,32 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1032
1092
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling handleNoteChanges");
1033
1093
  }
1034
1094
  var pathParams = {
1035
- projectOrProductUID: projectOrProductUID,
1036
- deviceUID: deviceUID,
1037
- notefileID: notefileID
1095
+ 'projectOrProductUID': projectOrProductUID,
1096
+ 'deviceUID': deviceUID,
1097
+ 'notefileID': notefileID
1038
1098
  };
1039
1099
  var queryParams = {
1040
- tracker: opts["tracker"],
1041
- max: opts["max"],
1042
- start: opts["start"],
1043
- stop: opts["stop"],
1044
- deleted: opts["deleted"],
1045
- "delete": opts["_delete"]
1100
+ 'tracker': opts['tracker'],
1101
+ 'max': opts['max'],
1102
+ 'start': opts['start'],
1103
+ 'stop': opts['stop'],
1104
+ 'deleted': opts['deleted'],
1105
+ 'delete': opts['_delete']
1046
1106
  };
1047
1107
  var headerParams = {};
1048
1108
  var formParams = {};
1049
- var authNames = ["api_key"];
1109
+ var authNames = ['personalAccessToken'];
1050
1110
  var contentTypes = [];
1051
- var accepts = ["application/json"];
1111
+ var accepts = ['application/json'];
1052
1112
  var returnType = _HandleNoteChanges200Response["default"];
1053
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/changes", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1113
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1054
1114
  }
1055
1115
 
1056
1116
  /**
1057
1117
  * Incrementally retrieve changes within a specific Notefile.
1058
- * @param {String} projectOrProductUID
1059
- * @param {String} deviceUID
1060
- * @param {String} notefileID
1118
+ * @param {String} projectOrProductUID
1119
+ * @param {String} deviceUID
1120
+ * @param {String} notefileID
1061
1121
  * @param {Object} opts Optional parameters
1062
1122
  * @param {String} opts.tracker The change tracker ID.
1063
1123
  * @param {Number} opts.max The maximum number of Notes to return in the request.
@@ -1077,10 +1137,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1077
1137
 
1078
1138
  /**
1079
1139
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1080
- * @param {String} projectOrProductUID
1081
- * @param {String} deviceUID
1082
- * @param {String} notefileID
1083
- * @param {String} noteID
1140
+ * @param {String} projectOrProductUID
1141
+ * @param {String} deviceUID
1142
+ * @param {String} notefileID
1143
+ * @param {String} noteID
1084
1144
  * @param {module:model/Note} note Body or payload of note to be added to the device
1085
1145
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1086
1146
  */
@@ -1109,27 +1169,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1109
1169
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteCreateAdd");
1110
1170
  }
1111
1171
  var pathParams = {
1112
- projectOrProductUID: projectOrProductUID,
1113
- deviceUID: deviceUID,
1114
- notefileID: notefileID,
1115
- noteID: noteID
1172
+ 'projectOrProductUID': projectOrProductUID,
1173
+ 'deviceUID': deviceUID,
1174
+ 'notefileID': notefileID,
1175
+ 'noteID': noteID
1116
1176
  };
1117
1177
  var queryParams = {};
1118
1178
  var headerParams = {};
1119
1179
  var formParams = {};
1120
- var authNames = ["api_key"];
1121
- var contentTypes = ["application/json"];
1122
- var accepts = ["application/json"];
1180
+ var authNames = ['personalAccessToken'];
1181
+ var contentTypes = ['application/json'];
1182
+ var accepts = ['application/json'];
1123
1183
  var returnType = null;
1124
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1184
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1125
1185
  }
1126
1186
 
1127
1187
  /**
1128
1188
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1129
- * @param {String} projectOrProductUID
1130
- * @param {String} deviceUID
1131
- * @param {String} notefileID
1132
- * @param {String} noteID
1189
+ * @param {String} projectOrProductUID
1190
+ * @param {String} deviceUID
1191
+ * @param {String} notefileID
1192
+ * @param {String} noteID
1133
1193
  * @param {module:model/Note} note Body or payload of note to be added to the device
1134
1194
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1135
1195
  */
@@ -1143,10 +1203,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1143
1203
 
1144
1204
  /**
1145
1205
  * Delete a note from a DB notefile
1146
- * @param {String} projectOrProductUID
1147
- * @param {String} deviceUID
1148
- * @param {String} notefileID
1149
- * @param {String} noteID
1206
+ * @param {String} projectOrProductUID
1207
+ * @param {String} deviceUID
1208
+ * @param {String} notefileID
1209
+ * @param {String} noteID
1150
1210
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1151
1211
  */
1152
1212
  }, {
@@ -1170,27 +1230,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1170
1230
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteDelete");
1171
1231
  }
1172
1232
  var pathParams = {
1173
- projectOrProductUID: projectOrProductUID,
1174
- deviceUID: deviceUID,
1175
- notefileID: notefileID,
1176
- noteID: noteID
1233
+ 'projectOrProductUID': projectOrProductUID,
1234
+ 'deviceUID': deviceUID,
1235
+ 'notefileID': notefileID,
1236
+ 'noteID': noteID
1177
1237
  };
1178
1238
  var queryParams = {};
1179
1239
  var headerParams = {};
1180
1240
  var formParams = {};
1181
- var authNames = ["api_key"];
1241
+ var authNames = ['personalAccessToken'];
1182
1242
  var contentTypes = [];
1183
- var accepts = ["application/json"];
1243
+ var accepts = ['application/json'];
1184
1244
  var returnType = null;
1185
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1245
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1186
1246
  }
1187
1247
 
1188
1248
  /**
1189
1249
  * Delete a note from a DB notefile
1190
- * @param {String} projectOrProductUID
1191
- * @param {String} deviceUID
1192
- * @param {String} notefileID
1193
- * @param {String} noteID
1250
+ * @param {String} projectOrProductUID
1251
+ * @param {String} deviceUID
1252
+ * @param {String} notefileID
1253
+ * @param {String} noteID
1194
1254
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1195
1255
  */
1196
1256
  }, {
@@ -1203,10 +1263,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1203
1263
 
1204
1264
  /**
1205
1265
  * Get a note from a DB notefile
1206
- * @param {String} projectOrProductUID
1207
- * @param {String} deviceUID
1208
- * @param {String} notefileID
1209
- * @param {String} noteID
1266
+ * @param {String} projectOrProductUID
1267
+ * @param {String} deviceUID
1268
+ * @param {String} notefileID
1269
+ * @param {String} noteID
1210
1270
  * @param {Object} opts Optional parameters
1211
1271
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
1212
1272
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -1234,30 +1294,30 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1234
1294
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteGet");
1235
1295
  }
1236
1296
  var pathParams = {
1237
- projectOrProductUID: projectOrProductUID,
1238
- deviceUID: deviceUID,
1239
- notefileID: notefileID,
1240
- noteID: noteID
1297
+ 'projectOrProductUID': projectOrProductUID,
1298
+ 'deviceUID': deviceUID,
1299
+ 'notefileID': notefileID,
1300
+ 'noteID': noteID
1241
1301
  };
1242
1302
  var queryParams = {
1243
- "delete": opts["_delete"],
1244
- deleted: opts["deleted"]
1303
+ 'delete': opts['_delete'],
1304
+ 'deleted': opts['deleted']
1245
1305
  };
1246
1306
  var headerParams = {};
1247
1307
  var formParams = {};
1248
- var authNames = ["api_key"];
1308
+ var authNames = ['personalAccessToken'];
1249
1309
  var contentTypes = [];
1250
- var accepts = ["application/json"];
1310
+ var accepts = ['application/json'];
1251
1311
  var returnType = _HandleNoteGet200Response["default"];
1252
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1312
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1253
1313
  }
1254
1314
 
1255
1315
  /**
1256
1316
  * Get a note from a DB notefile
1257
- * @param {String} projectOrProductUID
1258
- * @param {String} deviceUID
1259
- * @param {String} notefileID
1260
- * @param {String} noteID
1317
+ * @param {String} projectOrProductUID
1318
+ * @param {String} deviceUID
1319
+ * @param {String} notefileID
1320
+ * @param {String} noteID
1261
1321
  * @param {Object} opts Optional parameters
1262
1322
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
1263
1323
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -1273,8 +1333,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1273
1333
 
1274
1334
  /**
1275
1335
  * Send a signal from Notehub to a Notecard.
1276
- * @param {String} projectOrProductUID
1277
- * @param {String} deviceUID
1336
+ * @param {String} projectOrProductUID
1337
+ * @param {String} deviceUID
1278
1338
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1279
1339
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNoteSignal200Response} and HTTP response
1280
1340
  */
@@ -1295,23 +1355,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1295
1355
  throw new _Error["default"]("Missing the required parameter 'body' when calling handleNoteSignal");
1296
1356
  }
1297
1357
  var pathParams = {
1298
- projectOrProductUID: projectOrProductUID,
1299
- deviceUID: deviceUID
1358
+ 'projectOrProductUID': projectOrProductUID,
1359
+ 'deviceUID': deviceUID
1300
1360
  };
1301
1361
  var queryParams = {};
1302
1362
  var headerParams = {};
1303
1363
  var formParams = {};
1304
- var authNames = ["api_key"];
1305
- var contentTypes = ["application/json"];
1306
- var accepts = ["application/json"];
1364
+ var authNames = ['personalAccessToken'];
1365
+ var contentTypes = ['application/json'];
1366
+ var accepts = ['application/json'];
1307
1367
  var returnType = _HandleNoteSignal200Response["default"];
1308
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1368
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1309
1369
  }
1310
1370
 
1311
1371
  /**
1312
1372
  * Send a signal from Notehub to a Notecard.
1313
- * @param {String} projectOrProductUID
1314
- * @param {String} deviceUID
1373
+ * @param {String} projectOrProductUID
1374
+ * @param {String} deviceUID
1315
1375
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1316
1376
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNoteSignal200Response}
1317
1377
  */
@@ -1325,10 +1385,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1325
1385
 
1326
1386
  /**
1327
1387
  * Update a note in a DB notefile
1328
- * @param {String} projectOrProductUID
1329
- * @param {String} deviceUID
1330
- * @param {String} notefileID
1331
- * @param {String} noteID
1388
+ * @param {String} projectOrProductUID
1389
+ * @param {String} deviceUID
1390
+ * @param {String} notefileID
1391
+ * @param {String} noteID
1332
1392
  * @param {module:model/Note} note Body or payload of note to be added to the device
1333
1393
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1334
1394
  */
@@ -1357,27 +1417,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1357
1417
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteUpdate");
1358
1418
  }
1359
1419
  var pathParams = {
1360
- projectOrProductUID: projectOrProductUID,
1361
- deviceUID: deviceUID,
1362
- notefileID: notefileID,
1363
- noteID: noteID
1420
+ 'projectOrProductUID': projectOrProductUID,
1421
+ 'deviceUID': deviceUID,
1422
+ 'notefileID': notefileID,
1423
+ 'noteID': noteID
1364
1424
  };
1365
1425
  var queryParams = {};
1366
1426
  var headerParams = {};
1367
1427
  var formParams = {};
1368
- var authNames = ["api_key"];
1369
- var contentTypes = ["application/json"];
1370
- var accepts = ["application/json"];
1428
+ var authNames = ['personalAccessToken'];
1429
+ var contentTypes = ['application/json'];
1430
+ var accepts = ['application/json'];
1371
1431
  var returnType = null;
1372
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1432
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1373
1433
  }
1374
1434
 
1375
1435
  /**
1376
1436
  * Update a note in a DB notefile
1377
- * @param {String} projectOrProductUID
1378
- * @param {String} deviceUID
1379
- * @param {String} notefileID
1380
- * @param {String} noteID
1437
+ * @param {String} projectOrProductUID
1438
+ * @param {String} deviceUID
1439
+ * @param {String} notefileID
1440
+ * @param {String} noteID
1381
1441
  * @param {module:model/Note} note Body or payload of note to be added to the device
1382
1442
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1383
1443
  */
@@ -1391,8 +1451,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1391
1451
 
1392
1452
  /**
1393
1453
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1394
- * @param {String} projectOrProductUID
1395
- * @param {String} deviceUID
1454
+ * @param {String} projectOrProductUID
1455
+ * @param {String} deviceUID
1396
1456
  * @param {Object} opts Optional parameters
1397
1457
  * @param {String} opts.tracker The change tracker ID.
1398
1458
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
@@ -1412,26 +1472,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1412
1472
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChanges");
1413
1473
  }
1414
1474
  var pathParams = {
1415
- projectOrProductUID: projectOrProductUID,
1416
- deviceUID: deviceUID
1475
+ 'projectOrProductUID': projectOrProductUID,
1476
+ 'deviceUID': deviceUID
1417
1477
  };
1418
1478
  var queryParams = {
1419
- tracker: opts["tracker"],
1420
- files: this.apiClient.buildCollectionParam(opts["files"], "multi")
1479
+ 'tracker': opts['tracker'],
1480
+ 'files': this.apiClient.buildCollectionParam(opts['files'], 'multi')
1421
1481
  };
1422
1482
  var headerParams = {};
1423
1483
  var formParams = {};
1424
- var authNames = ["api_key"];
1484
+ var authNames = ['personalAccessToken'];
1425
1485
  var contentTypes = [];
1426
- var accepts = ["application/json"];
1486
+ var accepts = ['application/json'];
1427
1487
  var returnType = _HandleNotefileChanges200Response["default"];
1428
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1488
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1429
1489
  }
1430
1490
 
1431
1491
  /**
1432
1492
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1433
- * @param {String} projectOrProductUID
1434
- * @param {String} deviceUID
1493
+ * @param {String} projectOrProductUID
1494
+ * @param {String} deviceUID
1435
1495
  * @param {Object} opts Optional parameters
1436
1496
  * @param {String} opts.tracker The change tracker ID.
1437
1497
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
@@ -1447,8 +1507,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1447
1507
 
1448
1508
  /**
1449
1509
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1450
- * @param {String} projectOrProductUID
1451
- * @param {String} deviceUID
1510
+ * @param {String} projectOrProductUID
1511
+ * @param {String} deviceUID
1452
1512
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNotefileChangesPending200Response} and HTTP response
1453
1513
  */
1454
1514
  }, {
@@ -1464,23 +1524,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1464
1524
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChangesPending");
1465
1525
  }
1466
1526
  var pathParams = {
1467
- projectOrProductUID: projectOrProductUID,
1468
- deviceUID: deviceUID
1527
+ 'projectOrProductUID': projectOrProductUID,
1528
+ 'deviceUID': deviceUID
1469
1529
  };
1470
1530
  var queryParams = {};
1471
1531
  var headerParams = {};
1472
1532
  var formParams = {};
1473
- var authNames = ["api_key"];
1533
+ var authNames = ['personalAccessToken'];
1474
1534
  var contentTypes = [];
1475
- var accepts = ["application/json"];
1535
+ var accepts = ['application/json'];
1476
1536
  var returnType = _HandleNotefileChangesPending200Response["default"];
1477
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes/pending", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1537
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes/pending', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1478
1538
  }
1479
1539
 
1480
1540
  /**
1481
1541
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1482
- * @param {String} projectOrProductUID
1483
- * @param {String} deviceUID
1542
+ * @param {String} projectOrProductUID
1543
+ * @param {String} deviceUID
1484
1544
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNotefileChangesPending200Response}
1485
1545
  */
1486
1546
  }, {
@@ -1493,9 +1553,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1493
1553
 
1494
1554
  /**
1495
1555
  * Deletes Notefiles and the Notes they contain.
1496
- * @param {String} projectOrProductUID
1497
- * @param {String} deviceUID
1498
- * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1556
+ * @param {String} projectOrProductUID
1557
+ * @param {String} deviceUID
1558
+ * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1499
1559
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1500
1560
  */
1501
1561
  }, {
@@ -1515,24 +1575,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1515
1575
  throw new _Error["default"]("Missing the required parameter 'handleNotefileDeleteRequest' when calling handleNotefileDelete");
1516
1576
  }
1517
1577
  var pathParams = {
1518
- projectOrProductUID: projectOrProductUID,
1519
- deviceUID: deviceUID
1578
+ 'projectOrProductUID': projectOrProductUID,
1579
+ 'deviceUID': deviceUID
1520
1580
  };
1521
1581
  var queryParams = {};
1522
1582
  var headerParams = {};
1523
1583
  var formParams = {};
1524
- var authNames = ["api_key"];
1525
- var contentTypes = ["application/json"];
1526
- var accepts = ["application/json"];
1584
+ var authNames = ['personalAccessToken'];
1585
+ var contentTypes = ['application/json'];
1586
+ var accepts = ['application/json'];
1527
1587
  var returnType = null;
1528
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1588
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1529
1589
  }
1530
1590
 
1531
1591
  /**
1532
1592
  * Deletes Notefiles and the Notes they contain.
1533
- * @param {String} projectOrProductUID
1534
- * @param {String} deviceUID
1535
- * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1593
+ * @param {String} projectOrProductUID
1594
+ * @param {String} deviceUID
1595
+ * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1536
1596
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1537
1597
  */
1538
1598
  }, {
@@ -1545,8 +1605,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1545
1605
 
1546
1606
  /**
1547
1607
  * Provision Device for a Project
1548
- * @param {String} projectOrProductUID
1549
- * @param {String} deviceUID
1608
+ * @param {String} projectOrProductUID
1609
+ * @param {String} deviceUID
1550
1610
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1551
1611
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1552
1612
  */
@@ -1567,23 +1627,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1567
1627
  throw new _Error["default"]("Missing the required parameter 'postProvisionProjectDeviceRequest' when calling postProvisionProjectDevice");
1568
1628
  }
1569
1629
  var pathParams = {
1570
- projectOrProductUID: projectOrProductUID,
1571
- deviceUID: deviceUID
1630
+ 'projectOrProductUID': projectOrProductUID,
1631
+ 'deviceUID': deviceUID
1572
1632
  };
1573
1633
  var queryParams = {};
1574
1634
  var headerParams = {};
1575
1635
  var formParams = {};
1576
- var authNames = ["api_key"];
1577
- var contentTypes = ["application/json"];
1578
- var accepts = ["application/json"];
1636
+ var authNames = ['personalAccessToken'];
1637
+ var contentTypes = ['application/json'];
1638
+ var accepts = ['application/json'];
1579
1639
  var returnType = Object;
1580
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1640
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1581
1641
  }
1582
1642
 
1583
1643
  /**
1584
1644
  * Provision Device for a Project
1585
- * @param {String} projectOrProductUID
1586
- * @param {String} deviceUID
1645
+ * @param {String} projectOrProductUID
1646
+ * @param {String} deviceUID
1587
1647
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1588
1648
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1589
1649
  */
@@ -1597,8 +1657,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1597
1657
 
1598
1658
  /**
1599
1659
  * Put environment variables of a device
1600
- * @param {String} projectOrProductUID
1601
- * @param {String} deviceUID
1660
+ * @param {String} projectOrProductUID
1661
+ * @param {String} deviceUID
1602
1662
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1603
1663
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1604
1664
  */
@@ -1619,23 +1679,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1619
1679
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariables");
1620
1680
  }
1621
1681
  var pathParams = {
1622
- projectOrProductUID: projectOrProductUID,
1623
- deviceUID: deviceUID
1682
+ 'projectOrProductUID': projectOrProductUID,
1683
+ 'deviceUID': deviceUID
1624
1684
  };
1625
1685
  var queryParams = {};
1626
1686
  var headerParams = {};
1627
1687
  var formParams = {};
1628
- var authNames = ["api_key"];
1629
- var contentTypes = ["application/json"];
1630
- var accepts = ["application/json"];
1688
+ var authNames = ['personalAccessToken'];
1689
+ var contentTypes = ['application/json'];
1690
+ var accepts = ['application/json'];
1631
1691
  var returnType = _EnvironmentVariables["default"];
1632
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1692
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1633
1693
  }
1634
1694
 
1635
1695
  /**
1636
1696
  * Put environment variables of a device
1637
- * @param {String} projectOrProductUID
1638
- * @param {String} deviceUID
1697
+ * @param {String} projectOrProductUID
1698
+ * @param {String} deviceUID
1639
1699
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1640
1700
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1641
1701
  */
@@ -1649,8 +1709,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1649
1709
 
1650
1710
  /**
1651
1711
  * Put environment variables of a device with device pin authorization
1652
- * @param {String} productUID
1653
- * @param {String} deviceUID
1712
+ * @param {String} productUID
1713
+ * @param {String} deviceUID
1654
1714
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1655
1715
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1656
1716
  */
@@ -1671,23 +1731,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1671
1731
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
1672
1732
  }
1673
1733
  var pathParams = {
1674
- productUID: productUID,
1675
- deviceUID: deviceUID
1734
+ 'productUID': productUID,
1735
+ 'deviceUID': deviceUID
1676
1736
  };
1677
1737
  var queryParams = {};
1678
1738
  var headerParams = {};
1679
1739
  var formParams = {};
1680
- var authNames = ["pin"];
1681
- var contentTypes = ["application/json"];
1682
- var accepts = ["application/json"];
1740
+ var authNames = ['pin'];
1741
+ var contentTypes = ['application/json'];
1742
+ var accepts = ['application/json'];
1683
1743
  var returnType = _EnvironmentVariables["default"];
1684
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1744
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1685
1745
  }
1686
1746
 
1687
1747
  /**
1688
1748
  * Put environment variables of a device with device pin authorization
1689
- * @param {String} productUID
1690
- * @param {String} deviceUID
1749
+ * @param {String} productUID
1750
+ * @param {String} deviceUID
1691
1751
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1692
1752
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1693
1753
  */