@blues-inc/notehub-js 1.0.23-beta.9 → 1.0.24-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 (110) hide show
  1. package/README.md +23 -11
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/AlertApi.js +2 -2
  4. package/dist/api/AuthorizationApi.js +2 -2
  5. package/dist/api/BillingAccountApi.js +2 -2
  6. package/dist/api/DeviceApi.js +2 -2
  7. package/dist/api/EventApi.js +19 -9
  8. package/dist/api/MonitorApi.js +2 -2
  9. package/dist/api/ProjectApi.js +377 -108
  10. package/dist/api/RouteApi.js +30 -30
  11. package/dist/index.js +102 -39
  12. package/dist/model/Alert.js +2 -2
  13. package/dist/model/AlertDataInner.js +2 -2
  14. package/dist/model/AlertNotificationsInner.js +2 -2
  15. package/dist/model/Aws.js +2 -2
  16. package/dist/model/Azure.js +2 -2
  17. package/dist/model/BillingAccount.js +2 -2
  18. package/dist/model/BillingAccountRole.js +1 -1
  19. package/dist/model/Body.js +2 -2
  20. package/dist/model/CloneProjectRequest.js +2 -2
  21. package/dist/model/Contact.js +2 -2
  22. package/dist/model/CreateFleetRequest.js +2 -2
  23. package/dist/model/CreateMonitor.js +2 -2
  24. package/dist/model/CreateProductRequest.js +2 -2
  25. package/dist/model/CreateProjectRequest.js +2 -2
  26. package/dist/model/CurrentFirmware.js +105 -0
  27. package/dist/model/DFUEnv.js +2 -2
  28. package/dist/model/DFUState.js +2 -2
  29. package/dist/model/DeleteDeviceFleetsRequest.js +2 -2
  30. package/dist/model/Device.js +2 -2
  31. package/dist/model/DeviceDfuHistory.js +139 -0
  32. package/dist/model/DeviceDfuHistoryPage.js +121 -0
  33. package/dist/model/DeviceDfuStateMachine.js +152 -0
  34. package/dist/model/DeviceDfuStateMachineNode.js +132 -0
  35. package/dist/model/DeviceDfuStatus.js +129 -0
  36. package/dist/model/{FirmwareStatus.js → DeviceDfuStatusCurrent.js} +42 -28
  37. package/dist/model/{OTAStatusList.js → DeviceDfuStatusPage.js} +25 -25
  38. package/dist/model/DeviceSession.js +2 -2
  39. package/dist/model/DeviceTowerInfo.js +2 -2
  40. package/dist/model/DeviceUsage.js +2 -2
  41. package/dist/model/DfuActionRequest.js +92 -0
  42. package/dist/model/EmailNotification.js +2 -2
  43. package/dist/model/EnvironmentVariables.js +2 -2
  44. package/dist/model/Error.js +2 -2
  45. package/dist/model/Event.js +2 -2
  46. package/dist/model/Firmware.js +195 -0
  47. package/dist/model/FirmwareInfo.js +2 -2
  48. package/dist/model/Fleet.js +2 -2
  49. package/dist/model/GetAlerts200Response.js +2 -2
  50. package/dist/model/GetBillingAccounts200Response.js +2 -2
  51. package/dist/model/GetDeviceEnvironmentVariables200Response.js +2 -2
  52. package/dist/model/GetDeviceHealthLog200Response.js +2 -2
  53. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +2 -2
  54. package/dist/model/GetDeviceLatest200Response.js +2 -2
  55. package/dist/model/GetDevicePublicKey200Response.js +2 -2
  56. package/dist/model/GetDeviceSessions200Response.js +2 -2
  57. package/dist/model/GetProjectDevicePublicKeys200Response.js +2 -2
  58. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +2 -2
  59. package/dist/model/GetProjectDevices200Response.js +2 -2
  60. package/dist/model/GetProjectEvents200Response.js +2 -2
  61. package/dist/model/GetProjectEventsByCursor200Response.js +2 -2
  62. package/dist/model/GetProjectFleets200Response.js +2 -2
  63. package/dist/model/GetProjectMembers200Response.js +2 -2
  64. package/dist/model/GetProjectProducts200Response.js +2 -2
  65. package/dist/model/GetProjects200Response.js +2 -2
  66. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +2 -2
  67. package/dist/model/Google.js +2 -2
  68. package/dist/model/HandleNoteChanges200Response.js +2 -2
  69. package/dist/model/HandleNoteGet200Response.js +2 -2
  70. package/dist/model/HandleNoteSignal200Response.js +2 -2
  71. package/dist/model/HandleNotefileChanges200Response.js +2 -2
  72. package/dist/model/HandleNotefileChangesPending200Response.js +2 -2
  73. package/dist/model/HandleNotefileDeleteRequest.js +2 -2
  74. package/dist/model/Http.js +2 -2
  75. package/dist/model/HttpFilter.js +2 -2
  76. package/dist/model/HttpTransform.js +2 -2
  77. package/dist/model/Location.js +2 -2
  78. package/dist/model/Login200Response.js +2 -2
  79. package/dist/model/LoginRequest.js +2 -2
  80. package/dist/model/Monitor.js +2 -2
  81. package/dist/model/MonitorAlertRoutesInner.js +2 -2
  82. package/dist/model/Mqtt.js +2 -2
  83. package/dist/model/Note.js +2 -2
  84. package/dist/model/{Route.js → NotehubRoute.js} +30 -30
  85. package/dist/model/{RouteSchema.js → NotehubRouteSchema.js} +68 -68
  86. package/dist/model/PostProvisionProjectDeviceRequest.js +2 -2
  87. package/dist/model/Product.js +2 -2
  88. package/dist/model/Project.js +2 -2
  89. package/dist/model/ProjectMember.js +2 -2
  90. package/dist/model/Proxy.js +2 -2
  91. package/dist/model/PutDeviceFleetsRequest.js +2 -2
  92. package/dist/model/Radresponder.js +2 -2
  93. package/dist/model/Role.js +1 -1
  94. package/dist/model/Slack.js +2 -2
  95. package/dist/model/SlackBearerNotification.js +2 -2
  96. package/dist/model/SlackWebHookNotification.js +2 -2
  97. package/dist/model/Snowflake.js +2 -2
  98. package/dist/model/SnowflakeTransform.js +2 -2
  99. package/dist/model/Thingworx.js +2 -2
  100. package/dist/model/TowerLocation.js +2 -2
  101. package/dist/model/Twilio.js +2 -2
  102. package/dist/model/UpdateFleetRequest.js +2 -2
  103. package/dist/model/UploadMetadata.js +221 -0
  104. package/dist/model/UserDbRoute.js +2 -2
  105. package/dist/model/UserDfuStateMachine.js +127 -0
  106. package/dist/model/{OTAUpdateStatus.js → UserDfuStateMachineStatus.js} +46 -41
  107. package/dist/model/UserFirmwareInfo.js +107 -0
  108. package/package.json +1 -1
  109. package/dist/model/OTAStatus.js +0 -306
  110. package/dist/model/OTAUpdateRequest.js +0 -214
@@ -17,7 +17,7 @@ var _Slack = _interopRequireDefault(require("./Slack"));
17
17
  var _Snowflake = _interopRequireDefault(require("./Snowflake"));
18
18
  var _SnowflakeTransform = _interopRequireDefault(require("./SnowflakeTransform"));
19
19
  var _Thingworx = _interopRequireDefault(require("./Thingworx"));
20
- var _RouteSchema;
20
+ var _NotehubRouteSchema;
21
21
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
22
22
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
23
23
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  * Notehub API
30
30
  * The OpenAPI definition for the Notehub.io API.
31
31
  *
32
- * The version of the OpenAPI document: 1.1.0
32
+ * The version of the OpenAPI document: 1.2.0
33
33
  * Contact: engineering@blues.io
34
34
  *
35
35
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,19 +38,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
38
38
  *
39
39
  */
40
40
  /**
41
- * The RouteSchema model module.
42
- * @module model/RouteSchema
43
- * @version 1.0.23-beta.9
41
+ * The NotehubRouteSchema model module.
42
+ * @module model/NotehubRouteSchema
43
+ * @version 1.0.24-beta.1
44
44
  */
45
- var RouteSchema = /*#__PURE__*/function () {
45
+ var NotehubRouteSchema = /*#__PURE__*/function () {
46
46
  /**
47
- * Constructs a new <code>RouteSchema</code>.
48
- * @alias module:model/RouteSchema
49
- * @param {(module:model/Aws|module:model/Azure|module:model/Google|module:model/Http|module:model/Mqtt|module:model/Proxy|module:model/Radresponder|module:model/Slack|module:model/Snowflake|module:model/Thingworx)} instance The actual instance to initialize RouteSchema.
47
+ * Constructs a new <code>NotehubRouteSchema</code>.
48
+ * @alias module:model/NotehubRouteSchema
49
+ * @param {(module:model/Aws|module:model/Azure|module:model/Google|module:model/Http|module:model/Mqtt|module:model/Proxy|module:model/Radresponder|module:model/Slack|module:model/Snowflake|module:model/Thingworx)} instance The actual instance to initialize NotehubRouteSchema.
50
50
  */
51
- function RouteSchema() {
51
+ function NotehubRouteSchema() {
52
52
  var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
53
- _classCallCheck(this, RouteSchema);
53
+ _classCallCheck(this, NotehubRouteSchema);
54
54
  /**
55
55
  * Returns the JSON representation of the actual intance.
56
56
  * @return {string}
@@ -215,23 +215,23 @@ var RouteSchema = /*#__PURE__*/function () {
215
215
  errorMessages.push("Failed to construct Slack: " + err);
216
216
  }
217
217
  if (match > 1) {
218
- throw new Error("Multiple matches found constructing `RouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Input: " + JSON.stringify(instance));
218
+ throw new Error("Multiple matches found constructing `NotehubRouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Input: " + JSON.stringify(instance));
219
219
  } else if (match === 0) {
220
220
  this.actualInstance = null; // clear the actual instance in case there are multiple matches
221
- throw new Error("No match found constructing `RouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Details: " + errorMessages.join(", "));
221
+ throw new Error("No match found constructing `NotehubRouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Details: " + errorMessages.join(", "));
222
222
  } else {// only 1 match
223
223
  // the input is valid
224
224
  }
225
225
  }
226
226
 
227
227
  /**
228
- * Constructs a <code>RouteSchema</code> from a plain JavaScript object, optionally creating a new instance.
228
+ * Constructs a <code>NotehubRouteSchema</code> from a plain JavaScript object, optionally creating a new instance.
229
229
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
230
230
  * @param {Object} data The plain JavaScript object bearing properties of interest.
231
- * @param {module:model/RouteSchema} obj Optional instance to populate.
232
- * @return {module:model/RouteSchema} The populated <code>RouteSchema</code> instance.
231
+ * @param {module:model/NotehubRouteSchema} obj Optional instance to populate.
232
+ * @return {module:model/NotehubRouteSchema} The populated <code>NotehubRouteSchema</code> instance.
233
233
  */
234
- return _createClass(RouteSchema, [{
234
+ return _createClass(NotehubRouteSchema, [{
235
235
  key: "getActualInstance",
236
236
  value:
237
237
  /**
@@ -249,12 +249,12 @@ var RouteSchema = /*#__PURE__*/function () {
249
249
  }, {
250
250
  key: "setActualInstance",
251
251
  value: function setActualInstance(obj) {
252
- this.actualInstance = RouteSchema.constructFromObject(obj).getActualInstance();
252
+ this.actualInstance = NotehubRouteSchema.constructFromObject(obj).getActualInstance();
253
253
  }
254
254
  }], [{
255
255
  key: "constructFromObject",
256
256
  value: function constructFromObject(data, obj) {
257
- return new RouteSchema(data);
257
+ return new NotehubRouteSchema(data);
258
258
  }
259
259
  }]);
260
260
  }();
@@ -262,244 +262,244 @@ var RouteSchema = /*#__PURE__*/function () {
262
262
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
263
263
  * @member {Array.<String>} fleets
264
264
  */
265
- _RouteSchema = RouteSchema;
265
+ _NotehubRouteSchema = NotehubRouteSchema;
266
266
  /**
267
- * Create an instance of RouteSchema from a JSON string.
267
+ * Create an instance of NotehubRouteSchema from a JSON string.
268
268
  * @param {string} json_string JSON string.
269
- * @return {module:model/RouteSchema} An instance of RouteSchema.
269
+ * @return {module:model/NotehubRouteSchema} An instance of NotehubRouteSchema.
270
270
  */
271
- _defineProperty(RouteSchema, "fromJSON", function (json_string) {
272
- return _RouteSchema.constructFromObject(JSON.parse(json_string));
271
+ _defineProperty(NotehubRouteSchema, "fromJSON", function (json_string) {
272
+ return _NotehubRouteSchema.constructFromObject(JSON.parse(json_string));
273
273
  });
274
- RouteSchema.prototype['fleets'] = undefined;
274
+ NotehubRouteSchema.prototype['fleets'] = undefined;
275
275
 
276
276
  /**
277
277
  * @member {module:model/HttpFilter} filter
278
278
  */
279
- RouteSchema.prototype['filter'] = undefined;
279
+ NotehubRouteSchema.prototype['filter'] = undefined;
280
280
 
281
281
  /**
282
282
  * @member {module:model/SnowflakeTransform} transform
283
283
  */
284
- RouteSchema.prototype['transform'] = undefined;
284
+ NotehubRouteSchema.prototype['transform'] = undefined;
285
285
 
286
286
  /**
287
287
  * Minimum time between requests in Miliseconds
288
288
  * @member {Number} throttle_ms
289
289
  */
290
- RouteSchema.prototype['throttle_ms'] = undefined;
290
+ NotehubRouteSchema.prototype['throttle_ms'] = undefined;
291
291
 
292
292
  /**
293
293
  * @member {String} url
294
294
  */
295
- RouteSchema.prototype['url'] = undefined;
295
+ NotehubRouteSchema.prototype['url'] = undefined;
296
296
 
297
297
  /**
298
298
  * @member {Object.<String, String>} http_headers
299
299
  */
300
- RouteSchema.prototype['http_headers'] = undefined;
300
+ NotehubRouteSchema.prototype['http_headers'] = undefined;
301
301
 
302
302
  /**
303
303
  * @member {Boolean} disable_http_headers
304
304
  * @default false
305
305
  */
306
- RouteSchema.prototype['disable_http_headers'] = false;
306
+ NotehubRouteSchema.prototype['disable_http_headers'] = false;
307
307
 
308
308
  /**
309
309
  * Timeout in seconds for each request
310
310
  * @member {Number} timeout
311
311
  * @default 15
312
312
  */
313
- RouteSchema.prototype['timeout'] = 15;
313
+ NotehubRouteSchema.prototype['timeout'] = 15;
314
314
 
315
315
  /**
316
316
  * Optional authentication token
317
317
  * @member {String} token
318
318
  */
319
- RouteSchema.prototype['token'] = undefined;
319
+ NotehubRouteSchema.prototype['token'] = undefined;
320
320
 
321
321
  /**
322
322
  * @member {String} alias
323
323
  */
324
- RouteSchema.prototype['alias'] = undefined;
324
+ NotehubRouteSchema.prototype['alias'] = undefined;
325
325
 
326
326
  /**
327
327
  * @member {String} broker
328
328
  */
329
- RouteSchema.prototype['broker'] = undefined;
329
+ NotehubRouteSchema.prototype['broker'] = undefined;
330
330
 
331
331
  /**
332
332
  * @member {Number} port
333
333
  */
334
- RouteSchema.prototype['port'] = undefined;
334
+ NotehubRouteSchema.prototype['port'] = undefined;
335
335
 
336
336
  /**
337
337
  * @member {String} username
338
338
  */
339
- RouteSchema.prototype['username'] = undefined;
339
+ NotehubRouteSchema.prototype['username'] = undefined;
340
340
 
341
341
  /**
342
342
  * This value is input-only and will be omitted from the response and replaced with a placeholder
343
343
  * @member {String} password
344
344
  */
345
- RouteSchema.prototype['password'] = undefined;
345
+ NotehubRouteSchema.prototype['password'] = undefined;
346
346
 
347
347
  /**
348
348
  * @member {String} topic
349
349
  */
350
- RouteSchema.prototype['topic'] = undefined;
350
+ NotehubRouteSchema.prototype['topic'] = undefined;
351
351
 
352
352
  /**
353
353
  * Certificate with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
354
354
  * @member {String} certificate
355
355
  */
356
- RouteSchema.prototype['certificate'] = undefined;
356
+ NotehubRouteSchema.prototype['certificate'] = undefined;
357
357
 
358
358
  /**
359
359
  * Name of certificate.
360
360
  * @member {String} certificate_name
361
361
  */
362
- RouteSchema.prototype['certificate_name'] = undefined;
362
+ NotehubRouteSchema.prototype['certificate_name'] = undefined;
363
363
 
364
364
  /**
365
365
  * Key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
366
366
  * @member {String} key
367
367
  */
368
- RouteSchema.prototype['key'] = undefined;
368
+ NotehubRouteSchema.prototype['key'] = undefined;
369
369
 
370
370
  /**
371
371
  * Name of PEM key. If omitted, defaults to \"present\"
372
372
  * @member {String} private_key_name
373
373
  * @default 'present'
374
374
  */
375
- RouteSchema.prototype['private_key_name'] = 'present';
375
+ NotehubRouteSchema.prototype['private_key_name'] = 'present';
376
376
 
377
377
  /**
378
378
  * @member {String} region
379
379
  */
380
- RouteSchema.prototype['region'] = undefined;
380
+ NotehubRouteSchema.prototype['region'] = undefined;
381
381
 
382
382
  /**
383
383
  * @member {String} access_key_id
384
384
  */
385
- RouteSchema.prototype['access_key_id'] = undefined;
385
+ NotehubRouteSchema.prototype['access_key_id'] = undefined;
386
386
 
387
387
  /**
388
388
  * This value is input-only and will be omitted from the response and replaced with a placeholder
389
389
  * @member {String} access_key_secret
390
390
  */
391
- RouteSchema.prototype['access_key_secret'] = undefined;
391
+ NotehubRouteSchema.prototype['access_key_secret'] = undefined;
392
392
 
393
393
  /**
394
394
  * @member {String} message_group_id
395
395
  */
396
- RouteSchema.prototype['message_group_id'] = undefined;
396
+ NotehubRouteSchema.prototype['message_group_id'] = undefined;
397
397
 
398
398
  /**
399
399
  * @member {String} message_deduplication_id
400
400
  */
401
- RouteSchema.prototype['message_deduplication_id'] = undefined;
401
+ NotehubRouteSchema.prototype['message_deduplication_id'] = undefined;
402
402
 
403
403
  /**
404
404
  * The Channel ID for Bearer Token method, if the \"slack-bearer\" type is selected
405
405
  * @member {String} channel
406
406
  */
407
- RouteSchema.prototype['channel'] = undefined;
407
+ NotehubRouteSchema.prototype['channel'] = undefined;
408
408
 
409
409
  /**
410
410
  * @member {Boolean} test_api
411
411
  * @default false
412
412
  */
413
- RouteSchema.prototype['test_api'] = false;
413
+ NotehubRouteSchema.prototype['test_api'] = false;
414
414
 
415
415
  /**
416
416
  * @member {String} data_feed_key
417
417
  */
418
- RouteSchema.prototype['data_feed_key'] = undefined;
418
+ NotehubRouteSchema.prototype['data_feed_key'] = undefined;
419
419
 
420
420
  /**
421
421
  * @member {String} client_id
422
422
  */
423
- RouteSchema.prototype['client_id'] = undefined;
423
+ NotehubRouteSchema.prototype['client_id'] = undefined;
424
424
 
425
425
  /**
426
426
  * This value is input-only and will be omitted from the response and replaced with a placeholder
427
427
  * @member {String} client_secret
428
428
  */
429
- RouteSchema.prototype['client_secret'] = undefined;
429
+ NotehubRouteSchema.prototype['client_secret'] = undefined;
430
430
 
431
431
  /**
432
432
  * This value is input-only and will be omitted from the response and replaced with a placeholder
433
433
  * @member {String} functions_key_secret
434
434
  */
435
- RouteSchema.prototype['functions_key_secret'] = undefined;
435
+ NotehubRouteSchema.prototype['functions_key_secret'] = undefined;
436
436
 
437
437
  /**
438
438
  * @member {String} sas_policy_name
439
439
  */
440
- RouteSchema.prototype['sas_policy_name'] = undefined;
440
+ NotehubRouteSchema.prototype['sas_policy_name'] = undefined;
441
441
 
442
442
  /**
443
443
  * This value is input-only and will be omitted from the response and replaced with a placeholder
444
444
  * @member {String} sas_policy_key
445
445
  */
446
- RouteSchema.prototype['sas_policy_key'] = undefined;
446
+ NotehubRouteSchema.prototype['sas_policy_key'] = undefined;
447
447
 
448
448
  /**
449
449
  * This value is input-only and will be omitted from the response and replaced with a placeholder
450
450
  * @member {String} app_key
451
451
  */
452
- RouteSchema.prototype['app_key'] = undefined;
452
+ NotehubRouteSchema.prototype['app_key'] = undefined;
453
453
 
454
454
  /**
455
455
  * @member {String} organization_name
456
456
  */
457
- RouteSchema.prototype['organization_name'] = undefined;
457
+ NotehubRouteSchema.prototype['organization_name'] = undefined;
458
458
 
459
459
  /**
460
460
  * @member {String} account_name
461
461
  */
462
- RouteSchema.prototype['account_name'] = undefined;
462
+ NotehubRouteSchema.prototype['account_name'] = undefined;
463
463
 
464
464
  /**
465
465
  * @member {String} user_name
466
466
  */
467
- RouteSchema.prototype['user_name'] = undefined;
467
+ NotehubRouteSchema.prototype['user_name'] = undefined;
468
468
 
469
469
  /**
470
470
  * PEM key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
471
471
  * @member {String} pem
472
472
  */
473
- RouteSchema.prototype['pem'] = undefined;
473
+ NotehubRouteSchema.prototype['pem'] = undefined;
474
474
 
475
475
  /**
476
476
  * The type of Slack message. Must be one of \"slack-bearer\" for Bearer Token or \"slack-webhook\" for Webhook messages
477
477
  * @member {String} slack_type
478
478
  */
479
- RouteSchema.prototype['slack_type'] = undefined;
479
+ NotehubRouteSchema.prototype['slack_type'] = undefined;
480
480
 
481
481
  /**
482
482
  * The Bearer Token for Slack messaging, if the \"slack-bearer\" type is selected
483
483
  * @member {String} bearer
484
484
  */
485
- RouteSchema.prototype['bearer'] = undefined;
485
+ NotehubRouteSchema.prototype['bearer'] = undefined;
486
486
 
487
487
  /**
488
488
  * The Webhook URL for Slack Messaging if the \"slack-webhook\" type is selected
489
489
  * @member {String} webhook_url
490
490
  */
491
- RouteSchema.prototype['webhook_url'] = undefined;
491
+ NotehubRouteSchema.prototype['webhook_url'] = undefined;
492
492
 
493
493
  /**
494
494
  * The simple text message to be sent, if the blocks message field is not in use. Placeholders are available for this field.
495
495
  * @member {String} text
496
496
  */
497
- RouteSchema.prototype['text'] = undefined;
497
+ NotehubRouteSchema.prototype['text'] = undefined;
498
498
 
499
499
  /**
500
500
  * The Blocks message to be sent. If populated, this field overrides the text field within the Slack Messaging API. Placeholders are available for this field.
501
501
  * @member {String} blocks
502
502
  */
503
- RouteSchema.prototype['blocks'] = undefined;
504
- RouteSchema.OneOf = ["Aws", "Azure", "Google", "Http", "Mqtt", "Proxy", "Radresponder", "Slack", "Snowflake", "Thingworx"];
505
- var _default = exports["default"] = RouteSchema;
503
+ NotehubRouteSchema.prototype['blocks'] = undefined;
504
+ NotehubRouteSchema.OneOf = ["Aws", "Azure", "Google", "Http", "Mqtt", "Proxy", "Radresponder", "Slack", "Snowflake", "Thingworx"];
505
+ var _default = exports["default"] = NotehubRouteSchema;
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.0
21
+ * The version of the OpenAPI document: 1.2.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The PostProvisionProjectDeviceRequest model module.
31
31
  * @module model/PostProvisionProjectDeviceRequest
32
- * @version 1.0.23-beta.9
32
+ * @version 1.0.24-beta.1
33
33
  */
34
34
  var PostProvisionProjectDeviceRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.0
21
+ * The version of the OpenAPI document: 1.2.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Product model module.
31
31
  * @module model/Product
32
- * @version 1.0.23-beta.9
32
+ * @version 1.0.24-beta.1
33
33
  */
34
34
  var Product = /*#__PURE__*/function () {
35
35
  /**
@@ -20,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
20
20
  * Notehub API
21
21
  * The OpenAPI definition for the Notehub.io API.
22
22
  *
23
- * The version of the OpenAPI document: 1.1.0
23
+ * The version of the OpenAPI document: 1.2.0
24
24
  * Contact: engineering@blues.io
25
25
  *
26
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The Project model module.
33
33
  * @module model/Project
34
- * @version 1.0.23-beta.9
34
+ * @version 1.0.24-beta.1
35
35
  */
36
36
  var Project = /*#__PURE__*/function () {
37
37
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * Notehub API
20
20
  * The OpenAPI definition for the Notehub.io API.
21
21
  *
22
- * The version of the OpenAPI document: 1.1.0
22
+ * The version of the OpenAPI document: 1.2.0
23
23
  * Contact: engineering@blues.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ProjectMember model module.
32
32
  * @module model/ProjectMember
33
- * @version 1.0.23-beta.9
33
+ * @version 1.0.24-beta.1
34
34
  */
35
35
  var ProjectMember = /*#__PURE__*/function () {
36
36
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The Proxy model module.
28
28
  * @module model/Proxy
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var Proxy = /*#__PURE__*/function () {
32
32
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.0
21
+ * The version of the OpenAPI document: 1.2.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The PutDeviceFleetsRequest model module.
31
31
  * @module model/PutDeviceFleetsRequest
32
- * @version 1.0.23-beta.9
32
+ * @version 1.0.24-beta.1
33
33
  */
34
34
  var PutDeviceFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The Radresponder model module.
28
28
  * @module model/Radresponder
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var Radresponder = /*#__PURE__*/function () {
32
32
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * Notehub API
17
17
  * The OpenAPI definition for the Notehub.io API.
18
18
  *
19
- * The version of the OpenAPI document: 1.1.0
19
+ * The version of the OpenAPI document: 1.2.0
20
20
  * Contact: engineering@blues.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.0
21
21
  * Contact: engineering@blues.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The Slack model module.
30
30
  * @module model/Slack
31
- * @version 1.0.23-beta.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var Slack = /*#__PURE__*/function () {
34
34
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The SlackBearerNotification model module.
28
28
  * @module model/SlackBearerNotification
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var SlackBearerNotification = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The SlackWebHookNotification model module.
28
28
  * @module model/SlackWebHookNotification
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var SlackWebHookNotification = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.0
21
21
  * Contact: engineering@blues.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The Snowflake model module.
30
30
  * @module model/Snowflake
31
- * @version 1.0.23-beta.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var Snowflake = /*#__PURE__*/function () {
34
34
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The SnowflakeTransform model module.
28
28
  * @module model/SnowflakeTransform
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var SnowflakeTransform = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.0
21
21
  * Contact: engineering@blues.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The Thingworx model module.
30
30
  * @module model/Thingworx
31
- * @version 1.0.23-beta.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var Thingworx = /*#__PURE__*/function () {
34
34
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.0
18
+ * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The TowerLocation model module.
28
28
  * @module model/TowerLocation
29
- * @version 1.0.23-beta.9
29
+ * @version 1.0.24-beta.1
30
30
  */
31
31
  var TowerLocation = /*#__PURE__*/function () {
32
32
  /**