@blues-inc/notehub-js 1.0.16 → 1.0.17

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 (85) hide show
  1. package/README.md +6 -5
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AuthorizationApi.js +1 -1
  4. package/dist/api/BillingAccountApi.js +1 -1
  5. package/dist/api/DeviceApi.js +21 -21
  6. package/dist/api/DevicesApi.js +1 -1
  7. package/dist/api/EnvironmentVariablesApi.js +21 -21
  8. package/dist/api/EventApi.js +1 -1
  9. package/dist/api/FilesApi.js +1 -1
  10. package/dist/api/FleetApi.js +1 -1
  11. package/dist/api/NotesApi.js +1 -1
  12. package/dist/api/ProductApi.js +1 -1
  13. package/dist/api/ProjectApi.js +1 -1
  14. package/dist/api/RouteApi.js +1 -1
  15. package/dist/api/RouteLogsApi.js +1 -1
  16. package/dist/index.js +7 -0
  17. package/dist/model/Aws.js +1 -1
  18. package/dist/model/Azure.js +1 -1
  19. package/dist/model/BillingAccount.js +1 -1
  20. package/dist/model/Body.js +1 -1
  21. package/dist/model/CloneProjectRequest.js +1 -1
  22. package/dist/model/Contact.js +1 -1
  23. package/dist/model/CreateFleetRequest.js +1 -1
  24. package/dist/model/CreateProductRequest.js +1 -1
  25. package/dist/model/CreateProjectRequest.js +1 -1
  26. package/dist/model/DFUEnv.js +1 -1
  27. package/dist/model/DFUState.js +1 -1
  28. package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
  29. package/dist/model/Device.js +1 -1
  30. package/dist/model/DeviceSession.js +1 -1
  31. package/dist/model/DeviceTowerInfo.js +1 -1
  32. package/dist/model/DeviceUsage.js +1 -1
  33. package/dist/model/EnvironmentVariables.js +1 -1
  34. package/dist/model/Error.js +1 -1
  35. package/dist/model/Event.js +1 -1
  36. package/dist/model/Fleet.js +1 -1
  37. package/dist/model/GetBillingAccounts200Response.js +1 -1
  38. package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
  39. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  40. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
  41. package/dist/model/GetDeviceLatest200Response.js +1 -1
  42. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  43. package/dist/model/GetDeviceSessions200Response.js +1 -1
  44. package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
  45. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  46. package/dist/model/GetProjectDevices200Response.js +1 -1
  47. package/dist/model/GetProjectEvents200Response.js +1 -1
  48. package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
  49. package/dist/model/GetProjectFleets200Response.js +1 -1
  50. package/dist/model/GetProjectMembers200Response.js +1 -1
  51. package/dist/model/GetProjectProducts200Response.js +1 -1
  52. package/dist/model/GetProjects200Response.js +1 -1
  53. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +1 -1
  54. package/dist/model/Google.js +1 -1
  55. package/dist/model/HandleNoteChanges200Response.js +1 -1
  56. package/dist/model/HandleNoteGet200Response.js +1 -1
  57. package/dist/model/HandleNoteSignal200Response.js +1 -1
  58. package/dist/model/HandleNotefileChanges200Response.js +1 -1
  59. package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
  60. package/dist/model/HandleNotefileDeleteRequest.js +1 -1
  61. package/dist/model/Http.js +1 -1
  62. package/dist/model/HttpFilter.js +1 -1
  63. package/dist/model/HttpTransform.js +1 -1
  64. package/dist/model/Location.js +1 -1
  65. package/dist/model/Login200Response.js +1 -1
  66. package/dist/model/LoginRequest.js +1 -1
  67. package/dist/model/Mqtt.js +1 -1
  68. package/dist/model/Note.js +1 -1
  69. package/dist/model/Product.js +1 -1
  70. package/dist/model/Project.js +1 -1
  71. package/dist/model/ProjectMember.js +1 -1
  72. package/dist/model/Proxy.js +1 -1
  73. package/dist/model/PutDeviceFleetsRequest.js +1 -1
  74. package/dist/model/Radresponder.js +1 -1
  75. package/dist/model/Route.js +12 -2
  76. package/dist/model/RouteSchema.js +57 -9
  77. package/dist/model/Slack.js +209 -0
  78. package/dist/model/Snowflake.js +1 -1
  79. package/dist/model/SnowflakeTransform.js +1 -1
  80. package/dist/model/Thingworx.js +1 -1
  81. package/dist/model/TowerLocation.js +1 -1
  82. package/dist/model/Twilio.js +1 -1
  83. package/dist/model/UpdateFleetRequest.js +1 -1
  84. package/dist/model/UserDbRoute.js +1 -1
  85. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
6
6
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
7
 
8
8
  - API version: 1.0.0
9
- - Package version: 1.0.16
9
+ - Package version: 1.0.17
10
10
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
11
11
  For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
12
12
 
@@ -131,7 +131,7 @@ All URIs are relative to *https://api.notefile.net*
131
131
  | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable |
132
132
  | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance |
133
133
  | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
134
- | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin |
134
+ | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
135
135
  | _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
136
136
  | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log |
137
137
  | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest |
@@ -139,7 +139,7 @@ All URIs are relative to *https://api.notefile.net*
139
139
  | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions |
140
140
  | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal |
141
141
  | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
142
- | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin |
142
+ | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
143
143
  | _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
144
144
  | _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} |
145
145
  | _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} |
@@ -150,11 +150,11 @@ All URIs are relative to *https://api.notefile.net*
150
150
  | _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
151
151
  | _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
152
152
  | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
153
- | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin |
153
+ | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
154
154
  | _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
155
155
  | _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
156
156
  | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
157
- | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin |
157
+ | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
158
158
  | _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
159
159
  | _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
160
160
  | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
@@ -277,6 +277,7 @@ All URIs are relative to *https://api.notefile.net*
277
277
  - [NotehubJs.Role](docs/Role.md)
278
278
  - [NotehubJs.Route](docs/Route.md)
279
279
  - [NotehubJs.RouteSchema](docs/RouteSchema.md)
280
+ - [NotehubJs.Slack](docs/Slack.md)
280
281
  - [NotehubJs.Snowflake](docs/Snowflake.md)
281
282
  - [NotehubJs.SnowflakeTransform](docs/SnowflakeTransform.md)
282
283
  - [NotehubJs.Thingworx](docs/Thingworx.md)
package/dist/ApiClient.js CHANGED
@@ -15,7 +15,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
16
  /**
17
17
  * @module ApiClient
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  /**
21
21
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -63,7 +63,7 @@ var ApiClient = /*#__PURE__*/function () {
63
63
  * @default {}
64
64
  */
65
65
  this.defaultHeaders = {
66
- "User-Agent": "OpenAPI-Generator/1.0.16/Javascript"
66
+ "User-Agent": "OpenAPI-Generator/1.0.17/Javascript"
67
67
  };
68
68
 
69
69
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * Authorization service.
19
19
  * @module api/AuthorizationApi
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var AuthorizationApi = /*#__PURE__*/function () {
23
23
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * BillingAccount service.
19
19
  * @module api/BillingAccountApi
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var BillingAccountApi = /*#__PURE__*/function () {
23
23
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * Device service.
29
29
  * @module api/DeviceApi
30
- * @version 1.0.16
30
+ * @version 1.0.17
31
31
  */
32
32
  var DeviceApi = /*#__PURE__*/function () {
33
33
  /**
@@ -379,24 +379,24 @@ var DeviceApi = /*#__PURE__*/function () {
379
379
 
380
380
  /**
381
381
  * Get environment variables of a device with device pin authorization
382
- * @param {String} projectUID
382
+ * @param {String} productUID
383
383
  * @param {String} deviceUID
384
384
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
385
385
  */
386
386
  }, {
387
387
  key: "getDeviceEnvironmentVariablesByPinWithHttpInfo",
388
- value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) {
388
+ value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) {
389
389
  var postBody = null;
390
- // verify the required parameter 'projectUID' is set
391
- if (projectUID === undefined || projectUID === null) {
392
- throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin");
390
+ // verify the required parameter 'productUID' is set
391
+ if (productUID === undefined || productUID === null) {
392
+ throw new _Error["default"]("Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin");
393
393
  }
394
394
  // verify the required parameter 'deviceUID' is set
395
395
  if (deviceUID === undefined || deviceUID === null) {
396
396
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
397
397
  }
398
398
  var pathParams = {
399
- projectUID: projectUID,
399
+ productUID: productUID,
400
400
  deviceUID: deviceUID
401
401
  };
402
402
  var queryParams = {};
@@ -406,19 +406,19 @@ var DeviceApi = /*#__PURE__*/function () {
406
406
  var contentTypes = [];
407
407
  var accepts = ["application/json"];
408
408
  var returnType = _GetDeviceEnvironmentVariables200Response["default"];
409
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
409
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
410
410
  }
411
411
 
412
412
  /**
413
413
  * Get environment variables of a device with device pin authorization
414
- * @param {String} projectUID
414
+ * @param {String} productUID
415
415
  * @param {String} deviceUID
416
416
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
417
417
  */
418
418
  }, {
419
419
  key: "getDeviceEnvironmentVariablesByPin",
420
- value: function getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) {
421
- return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
420
+ value: function getDeviceEnvironmentVariablesByPin(productUID, deviceUID) {
421
+ return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID).then(function (response_and_data) {
422
422
  return response_and_data.data;
423
423
  });
424
424
  }
@@ -769,18 +769,18 @@ var DeviceApi = /*#__PURE__*/function () {
769
769
 
770
770
  /**
771
771
  * Put environment variables of a device with device pin authorization
772
- * @param {String} projectUID
772
+ * @param {String} productUID
773
773
  * @param {String} deviceUID
774
774
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
775
775
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
776
776
  */
777
777
  }, {
778
778
  key: "putDeviceEnvironmentVariablesByPinWithHttpInfo",
779
- value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID, environmentVariables) {
779
+ value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables) {
780
780
  var postBody = environmentVariables;
781
- // verify the required parameter 'projectUID' is set
782
- if (projectUID === undefined || projectUID === null) {
783
- throw new _Error["default"]("Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin");
781
+ // verify the required parameter 'productUID' is set
782
+ if (productUID === undefined || productUID === null) {
783
+ throw new _Error["default"]("Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin");
784
784
  }
785
785
  // verify the required parameter 'deviceUID' is set
786
786
  if (deviceUID === undefined || deviceUID === null) {
@@ -791,7 +791,7 @@ var DeviceApi = /*#__PURE__*/function () {
791
791
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
792
792
  }
793
793
  var pathParams = {
794
- projectUID: projectUID,
794
+ productUID: productUID,
795
795
  deviceUID: deviceUID
796
796
  };
797
797
  var queryParams = {};
@@ -801,20 +801,20 @@ var DeviceApi = /*#__PURE__*/function () {
801
801
  var contentTypes = ["application/json"];
802
802
  var accepts = ["application/json"];
803
803
  var returnType = _EnvironmentVariables["default"];
804
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
804
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
805
805
  }
806
806
 
807
807
  /**
808
808
  * Put environment variables of a device with device pin authorization
809
- * @param {String} projectUID
809
+ * @param {String} productUID
810
810
  * @param {String} deviceUID
811
811
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
812
812
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
813
813
  */
814
814
  }, {
815
815
  key: "putDeviceEnvironmentVariablesByPin",
816
- value: function putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) {
817
- return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID, environmentVariables).then(function (response_and_data) {
816
+ value: function putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) {
817
+ return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables).then(function (response_and_data) {
818
818
  return response_and_data.data;
819
819
  });
820
820
  }
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * Devices service.
21
21
  * @module api/DevicesApi
22
- * @version 1.0.16
22
+ * @version 1.0.17
23
23
  */
24
24
  var DevicesApi = /*#__PURE__*/function () {
25
25
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * EnvironmentVariables service.
20
20
  * @module api/EnvironmentVariablesApi
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var EnvironmentVariablesApi = /*#__PURE__*/function () {
24
24
  /**
@@ -233,24 +233,24 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
233
233
 
234
234
  /**
235
235
  * Get environment variables of a device with device pin authorization
236
- * @param {String} projectUID
236
+ * @param {String} productUID
237
237
  * @param {String} deviceUID
238
238
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
239
239
  */
240
240
  }, {
241
241
  key: "getDeviceEnvironmentVariablesByPinWithHttpInfo",
242
- value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) {
242
+ value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) {
243
243
  var postBody = null;
244
- // verify the required parameter 'projectUID' is set
245
- if (projectUID === undefined || projectUID === null) {
246
- throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin");
244
+ // verify the required parameter 'productUID' is set
245
+ if (productUID === undefined || productUID === null) {
246
+ throw new _Error["default"]("Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin");
247
247
  }
248
248
  // verify the required parameter 'deviceUID' is set
249
249
  if (deviceUID === undefined || deviceUID === null) {
250
250
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
251
251
  }
252
252
  var pathParams = {
253
- projectUID: projectUID,
253
+ productUID: productUID,
254
254
  deviceUID: deviceUID
255
255
  };
256
256
  var queryParams = {};
@@ -260,19 +260,19 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
260
260
  var contentTypes = [];
261
261
  var accepts = ["application/json"];
262
262
  var returnType = _GetDeviceEnvironmentVariables200Response["default"];
263
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
263
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
264
264
  }
265
265
 
266
266
  /**
267
267
  * Get environment variables of a device with device pin authorization
268
- * @param {String} projectUID
268
+ * @param {String} productUID
269
269
  * @param {String} deviceUID
270
270
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
271
271
  */
272
272
  }, {
273
273
  key: "getDeviceEnvironmentVariablesByPin",
274
- value: function getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) {
275
- return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
274
+ value: function getDeviceEnvironmentVariablesByPin(productUID, deviceUID) {
275
+ return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID).then(function (response_and_data) {
276
276
  return response_and_data.data;
277
277
  });
278
278
  }
@@ -416,18 +416,18 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
416
416
 
417
417
  /**
418
418
  * Put environment variables of a device with device pin authorization
419
- * @param {String} projectUID
419
+ * @param {String} productUID
420
420
  * @param {String} deviceUID
421
421
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
422
422
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
423
423
  */
424
424
  }, {
425
425
  key: "putDeviceEnvironmentVariablesByPinWithHttpInfo",
426
- value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID, environmentVariables) {
426
+ value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables) {
427
427
  var postBody = environmentVariables;
428
- // verify the required parameter 'projectUID' is set
429
- if (projectUID === undefined || projectUID === null) {
430
- throw new _Error["default"]("Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin");
428
+ // verify the required parameter 'productUID' is set
429
+ if (productUID === undefined || productUID === null) {
430
+ throw new _Error["default"]("Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin");
431
431
  }
432
432
  // verify the required parameter 'deviceUID' is set
433
433
  if (deviceUID === undefined || deviceUID === null) {
@@ -438,7 +438,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
438
438
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
439
439
  }
440
440
  var pathParams = {
441
- projectUID: projectUID,
441
+ productUID: productUID,
442
442
  deviceUID: deviceUID
443
443
  };
444
444
  var queryParams = {};
@@ -448,20 +448,20 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
448
448
  var contentTypes = ["application/json"];
449
449
  var accepts = ["application/json"];
450
450
  var returnType = _EnvironmentVariables["default"];
451
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
451
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
452
452
  }
453
453
 
454
454
  /**
455
455
  * Put environment variables of a device with device pin authorization
456
- * @param {String} projectUID
456
+ * @param {String} productUID
457
457
  * @param {String} deviceUID
458
458
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
459
459
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
460
460
  */
461
461
  }, {
462
462
  key: "putDeviceEnvironmentVariablesByPin",
463
- value: function putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) {
464
- return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID, environmentVariables).then(function (response_and_data) {
463
+ value: function putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) {
464
+ return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables).then(function (response_and_data) {
465
465
  return response_and_data.data;
466
466
  });
467
467
  }
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * Event service.
20
20
  * @module api/EventApi
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var EventApi = /*#__PURE__*/function () {
24
24
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * Files service.
21
21
  * @module api/FilesApi
22
- * @version 1.0.16
22
+ * @version 1.0.17
23
23
  */
24
24
  var FilesApi = /*#__PURE__*/function () {
25
25
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * Fleet service.
28
28
  * @module api/FleetApi
29
- * @version 1.0.16
29
+ * @version 1.0.17
30
30
  */
31
31
  var FleetApi = /*#__PURE__*/function () {
32
32
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * Notes service.
21
21
  * @module api/NotesApi
22
- * @version 1.0.16
22
+ * @version 1.0.17
23
23
  */
24
24
  var NotesApi = /*#__PURE__*/function () {
25
25
  /**
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
20
20
  /**
21
21
  * Product service.
22
22
  * @module api/ProductApi
23
- * @version 1.0.16
23
+ * @version 1.0.17
24
24
  */
25
25
  var ProductApi = /*#__PURE__*/function () {
26
26
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
29
29
  /**
30
30
  * Project service.
31
31
  * @module api/ProjectApi
32
- * @version 1.0.16
32
+ * @version 1.0.17
33
33
  */
34
34
  var ProjectApi = /*#__PURE__*/function () {
35
35
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * Route service.
20
20
  * @module api/RouteApi
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var RouteApi = /*#__PURE__*/function () {
24
24
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * RouteLogs service.
19
19
  * @module api/RouteLogsApi
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var RouteLogsApi = /*#__PURE__*/function () {
23
23
  /**
package/dist/index.js CHANGED
@@ -459,6 +459,12 @@ Object.defineProperty(exports, "RouteSchema", {
459
459
  return _RouteSchema["default"];
460
460
  }
461
461
  });
462
+ Object.defineProperty(exports, "Slack", {
463
+ enumerable: true,
464
+ get: function get() {
465
+ return _Slack["default"];
466
+ }
467
+ });
462
468
  Object.defineProperty(exports, "Snowflake", {
463
469
  enumerable: true,
464
470
  get: function get() {
@@ -564,6 +570,7 @@ var _Radresponder = _interopRequireDefault(require("./model/Radresponder"));
564
570
  var _Role = _interopRequireDefault(require("./model/Role"));
565
571
  var _Route = _interopRequireDefault(require("./model/Route"));
566
572
  var _RouteSchema = _interopRequireDefault(require("./model/RouteSchema"));
573
+ var _Slack = _interopRequireDefault(require("./model/Slack"));
567
574
  var _Snowflake = _interopRequireDefault(require("./model/Snowflake"));
568
575
  var _SnowflakeTransform = _interopRequireDefault(require("./model/SnowflakeTransform"));
569
576
  var _Thingworx = _interopRequireDefault(require("./model/Thingworx"));
package/dist/model/Aws.js CHANGED
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Aws model module.
19
19
  * @module model/Aws
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var Aws = /*#__PURE__*/function () {
23
23
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Azure model module.
19
19
  * @module model/Azure
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var Azure = /*#__PURE__*/function () {
23
23
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The BillingAccount model module.
21
21
  * @module model/BillingAccount
22
- * @version 1.0.16
22
+ * @version 1.0.17
23
23
  */
24
24
  var BillingAccount = /*#__PURE__*/function () {
25
25
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Body model module.
17
17
  * @module model/Body
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var Body = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CloneProjectRequest model module.
20
20
  * @module model/CloneProjectRequest
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var CloneProjectRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Contact model module.
17
17
  * @module model/Contact
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var Contact = /*#__PURE__*/function () {
21
21
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The CreateFleetRequest model module.
17
17
  * @module model/CreateFleetRequest
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var CreateFleetRequest = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProductRequest model module.
20
20
  * @module model/CreateProductRequest
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var CreateProductRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProjectRequest model module.
20
20
  * @module model/CreateProjectRequest
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var CreateProjectRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  /**
17
17
  * The DFUEnv model module.
18
18
  * @module model/DFUEnv
19
- * @version 1.0.16
19
+ * @version 1.0.17
20
20
  */
21
21
  var DFUEnv = /*#__PURE__*/function () {
22
22
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The DFUState model module.
17
17
  * @module model/DFUState
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var DFUState = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The DeleteDeviceFleetsRequest model module.
20
20
  * @module model/DeleteDeviceFleetsRequest
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var DeleteDeviceFleetsRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -22,7 +22,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
22
22
  /**
23
23
  * The Device model module.
24
24
  * @module model/Device
25
- * @version 1.0.16
25
+ * @version 1.0.17
26
26
  */
27
27
  var Device = /*#__PURE__*/function () {
28
28
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The DeviceSession model module.
19
19
  * @module model/DeviceSession
20
- * @version 1.0.16
20
+ * @version 1.0.17
21
21
  */
22
22
  var DeviceSession = /*#__PURE__*/function () {
23
23
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The DeviceTowerInfo model module.
17
17
  * @module model/DeviceTowerInfo
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var DeviceTowerInfo = /*#__PURE__*/function () {
21
21
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The DeviceUsage model module.
17
17
  * @module model/DeviceUsage
18
- * @version 1.0.16
18
+ * @version 1.0.17
19
19
  */
20
20
  var DeviceUsage = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The EnvironmentVariables model module.
20
20
  * @module model/EnvironmentVariables
21
- * @version 1.0.16
21
+ * @version 1.0.17
22
22
  */
23
23
  var EnvironmentVariables = /*#__PURE__*/function () {
24
24
  /**