@blues-inc/notehub-js 6.4.0 → 6.5.0

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 (184) hide show
  1. package/README.md +12 -1
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/BillingAccountApi.js +1 -1
  6. package/dist/api/DescriptionApi.js +384 -0
  7. package/dist/api/DeviceApi.js +7 -7
  8. package/dist/api/EventApi.js +14 -2
  9. package/dist/api/ExternalDevicesApi.js +1 -1
  10. package/dist/api/JobsApi.js +1 -1
  11. package/dist/api/MonitorApi.js +10 -10
  12. package/dist/api/OrganizationApi.js +1 -1
  13. package/dist/api/ProjectApi.js +1 -1
  14. package/dist/api/RouteApi.js +1 -1
  15. package/dist/api/UsageApi.js +1 -1
  16. package/dist/api/WebhookApi.js +1 -1
  17. package/dist/index.js +28 -0
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  20. package/dist/model/Alert.js +1 -1
  21. package/dist/model/AlertDataInner.js +1 -1
  22. package/dist/model/AlertNotificationsInner.js +1 -1
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/BatchJobRequests.js +1 -1
  26. package/dist/model/BillingAccount.js +1 -1
  27. package/dist/model/BlynkRoute.js +1 -1
  28. package/dist/model/Body.js +1 -1
  29. package/dist/model/CancelJobRun200Response.js +1 -1
  30. package/dist/model/CellularPlan.js +1 -1
  31. package/dist/model/CloneProjectRequest.js +1 -1
  32. package/dist/model/Contact.js +1 -1
  33. package/dist/model/CreateFleetRequest.js +1 -1
  34. package/dist/model/CreateJob201Response.js +1 -1
  35. package/dist/model/CreateMonitor.js +1 -1
  36. package/dist/model/CreateProductRequest.js +1 -1
  37. package/dist/model/CreateProjectRequest.js +1 -1
  38. package/dist/model/CreateProjectSecretRequest.js +1 -1
  39. package/dist/model/CreateUpdateRepository.js +1 -1
  40. package/dist/model/CreatedRepository.js +1 -1
  41. package/dist/model/CurrentFirmware.js +1 -1
  42. package/dist/model/DFUEnv.js +1 -1
  43. package/dist/model/DFUState.js +1 -1
  44. package/dist/model/DataField.js +1 -1
  45. package/dist/model/DataSet.js +194 -0
  46. package/dist/model/DataSetField.js +22 -2
  47. package/dist/model/DataUsage.js +1 -1
  48. package/dist/model/DatacakeRoute.js +1 -1
  49. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  50. package/dist/model/DeleteJob200Response.js +1 -1
  51. package/dist/model/DeleteNotefilesRequest.js +1 -1
  52. package/dist/model/DescriptionRecord.js +233 -0
  53. package/dist/model/DescriptionRecordList.js +131 -0
  54. package/dist/model/Device.js +15 -2
  55. package/dist/model/DeviceDfuHistory.js +1 -1
  56. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  57. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  58. package/dist/model/DeviceDfuStateMachine.js +1 -1
  59. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  60. package/dist/model/DeviceDfuStatus.js +1 -1
  61. package/dist/model/DeviceDfuStatusPage.js +1 -1
  62. package/dist/model/DeviceSession.js +1 -1
  63. package/dist/model/DeviceTowerInfo.js +1 -1
  64. package/dist/model/DeviceUsage.js +1 -1
  65. package/dist/model/DfuActionRequest.js +1 -1
  66. package/dist/model/EmailNotification.js +1 -1
  67. package/dist/model/EnvTreeJsonNode.js +1 -1
  68. package/dist/model/EnvVar.js +14 -1
  69. package/dist/model/EnvironmentVariables.js +12 -1
  70. package/dist/model/Error.js +1 -1
  71. package/dist/model/Event.js +23 -1
  72. package/dist/model/Filter.js +1 -1
  73. package/dist/model/Firmware.js +1 -1
  74. package/dist/model/FirmwareInfo.js +1 -1
  75. package/dist/model/Fleet.js +1 -1
  76. package/dist/model/FleetConnectivityAssurance.js +1 -1
  77. package/dist/model/GetAlerts200Response.js +1 -1
  78. package/dist/model/GetBillingAccount200Response.js +1 -1
  79. package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
  80. package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
  81. package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
  82. package/dist/model/GetBillingAccounts200Response.js +1 -1
  83. package/dist/model/GetDataUsage200Response.js +1 -1
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  85. package/dist/model/GetDbNote200Response.js +1 -1
  86. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +12 -1
  87. package/dist/model/GetDeviceFleets200Response.js +1 -1
  88. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  89. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
  90. package/dist/model/GetDeviceJourney200Response.js +1 -1
  91. package/dist/model/GetDeviceJourney200ResponseJourney.js +2 -2
  92. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  93. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +5 -5
  94. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  95. package/dist/model/GetDevicePlans200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  98. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  99. package/dist/model/GetDeviceSessions200Response.js +1 -1
  100. package/dist/model/GetDevices200Response.js +1 -1
  101. package/dist/model/GetEvents200Response.js +1 -1
  102. package/dist/model/GetEventsByCursor200Response.js +1 -1
  103. package/dist/model/GetJobRuns200Response.js +1 -1
  104. package/dist/model/GetJobs200Response.js +1 -1
  105. package/dist/model/GetNotefile200Response.js +1 -1
  106. package/dist/model/GetOrganizations200Response.js +1 -1
  107. package/dist/model/GetProducts200Response.js +1 -1
  108. package/dist/model/GetProjectMembers200Response.js +1 -1
  109. package/dist/model/GetProjectSecretsResponse.js +1 -1
  110. package/dist/model/GetProjects200Response.js +1 -1
  111. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  112. package/dist/model/GetSessionsUsage200Response.js +1 -1
  113. package/dist/model/GetWebhooks200Response.js +1 -1
  114. package/dist/model/GoogleRoute.js +1 -1
  115. package/dist/model/HttpRoute.js +1 -1
  116. package/dist/model/Job.js +1 -1
  117. package/dist/model/JobDefinition.js +1 -1
  118. package/dist/model/JobDefinitionReportOptions.js +1 -1
  119. package/dist/model/JobDefinitionSelect.js +1 -1
  120. package/dist/model/JobDetail.js +1 -1
  121. package/dist/model/JobDetailAllOf.js +1 -1
  122. package/dist/model/JobRun.js +1 -1
  123. package/dist/model/Location.js +1 -1
  124. package/dist/model/Login200Response.js +1 -1
  125. package/dist/model/LoginRequest.js +1 -1
  126. package/dist/model/Monitor.js +1 -1
  127. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  128. package/dist/model/MqttRoute.js +1 -1
  129. package/dist/model/Note.js +1 -1
  130. package/dist/model/NoteInput.js +1 -1
  131. package/dist/model/Notefile.js +1 -1
  132. package/dist/model/NotefileSchema.js +1 -1
  133. package/dist/model/NotehubRoute.js +1 -1
  134. package/dist/model/NotehubRouteSummary.js +1 -1
  135. package/dist/model/OAuth2Error.js +1 -1
  136. package/dist/model/OAuth2TokenResponse.js +1 -1
  137. package/dist/model/Organization.js +1 -1
  138. package/dist/model/PersonalAccessToken.js +1 -1
  139. package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
  140. package/dist/model/PersonalAccessTokenInfo.js +1 -1
  141. package/dist/model/PersonalAccessTokenSecret.js +1 -1
  142. package/dist/model/Product.js +1 -1
  143. package/dist/model/Project.js +1 -1
  144. package/dist/model/ProjectMember.js +1 -1
  145. package/dist/model/ProjectSecret.js +1 -1
  146. package/dist/model/ProvisionDeviceRequest.js +1 -1
  147. package/dist/model/ProxyRoute.js +1 -1
  148. package/dist/model/QubitroRoute.js +1 -1
  149. package/dist/model/RadRoute.js +1 -1
  150. package/dist/model/Repository.js +1 -1
  151. package/dist/model/RepositoryListResponse.js +1 -1
  152. package/dist/model/RepositoryTokenRequest.js +1 -1
  153. package/dist/model/RepositoryTokenResponse.js +1 -1
  154. package/dist/model/RouteLog.js +1 -1
  155. package/dist/model/RouteTransformSettings.js +1 -1
  156. package/dist/model/RunJob200Response.js +1 -1
  157. package/dist/model/S3ArchiveRoute.js +1 -1
  158. package/dist/model/SatelliteDataUsage.js +1 -1
  159. package/dist/model/SatellitePlan.js +1 -1
  160. package/dist/model/SchemaProperty.js +1 -1
  161. package/dist/model/SignalDevice200Response.js +1 -1
  162. package/dist/model/SimUsage.js +1 -1
  163. package/dist/model/SlackBearerNotification.js +1 -1
  164. package/dist/model/SlackRoute.js +1 -1
  165. package/dist/model/SlackWebHookNotification.js +1 -1
  166. package/dist/model/SnowflakeRoute.js +1 -1
  167. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  168. package/dist/model/ThingworxRoute.js +1 -1
  169. package/dist/model/TowerLocation.js +1 -1
  170. package/dist/model/TwilioRoute.js +1 -1
  171. package/dist/model/UpdateFleetRequest.js +1 -1
  172. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  173. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  174. package/dist/model/UploadMetadata.js +1 -1
  175. package/dist/model/UsageData.js +1 -1
  176. package/dist/model/UsageEventsData.js +1 -1
  177. package/dist/model/UsageEventsResponse.js +1 -1
  178. package/dist/model/UsageRouteLogsData.js +1 -1
  179. package/dist/model/UsageSessionsData.js +1 -1
  180. package/dist/model/UserDfuStateMachine.js +1 -1
  181. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  182. package/dist/model/UserFirmwareInfo.js +1 -1
  183. package/dist/model/WebhookSettings.js +1 -1
  184. 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.2.0
9
- - Package version: 6.4.0
9
+ - Package version: 6.5.0
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
 
@@ -138,6 +138,14 @@ All URIs are relative to *https://api.notefile.net*
138
138
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccount**](docs/BillingAccountApi.md#getBillingAccount) | **GET** /v1/billing-accounts/{billingAccountUID} |
139
139
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccountBalanceHistory**](docs/BillingAccountApi.md#getBillingAccountBalanceHistory) | **GET** /v1/billing-accounts/{billingAccountUID}/balance-history |
140
140
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
141
+ | _NotehubJs.DescriptionApi_ | [**deleteGlobalDescription**](docs/DescriptionApi.md#deleteGlobalDescription) | **DELETE** /v1/description/{descriptionName} |
142
+ | _NotehubJs.DescriptionApi_ | [**deleteProjectDescription**](docs/DescriptionApi.md#deleteProjectDescription) | **DELETE** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
143
+ | _NotehubJs.DescriptionApi_ | [**getGlobalDescription**](docs/DescriptionApi.md#getGlobalDescription) | **GET** /v1/description/{descriptionName} |
144
+ | _NotehubJs.DescriptionApi_ | [**getProjectDescription**](docs/DescriptionApi.md#getProjectDescription) | **GET** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
145
+ | _NotehubJs.DescriptionApi_ | [**listGlobalDescriptions**](docs/DescriptionApi.md#listGlobalDescriptions) | **GET** /v1/description |
146
+ | _NotehubJs.DescriptionApi_ | [**listProjectDescriptions**](docs/DescriptionApi.md#listProjectDescriptions) | **GET** /v1/projects/{projectOrProductUID}/description |
147
+ | _NotehubJs.DescriptionApi_ | [**setGlobalDescription**](docs/DescriptionApi.md#setGlobalDescription) | **POST** /v1/description/{descriptionName} |
148
+ | _NotehubJs.DescriptionApi_ | [**setProjectDescription**](docs/DescriptionApi.md#setProjectDescription) | **POST** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
141
149
  | _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
142
150
  | _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
143
151
  | _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
@@ -291,12 +299,15 @@ All URIs are relative to *https://api.notefile.net*
291
299
  - [NotehubJs.DFUEnv](docs/DFUEnv.md)
292
300
  - [NotehubJs.DFUState](docs/DFUState.md)
293
301
  - [NotehubJs.DataField](docs/DataField.md)
302
+ - [NotehubJs.DataSet](docs/DataSet.md)
294
303
  - [NotehubJs.DataSetField](docs/DataSetField.md)
295
304
  - [NotehubJs.DataUsage](docs/DataUsage.md)
296
305
  - [NotehubJs.DatacakeRoute](docs/DatacakeRoute.md)
297
306
  - [NotehubJs.DeleteDeviceFromFleetsRequest](docs/DeleteDeviceFromFleetsRequest.md)
298
307
  - [NotehubJs.DeleteJob200Response](docs/DeleteJob200Response.md)
299
308
  - [NotehubJs.DeleteNotefilesRequest](docs/DeleteNotefilesRequest.md)
309
+ - [NotehubJs.DescriptionRecord](docs/DescriptionRecord.md)
310
+ - [NotehubJs.DescriptionRecordList](docs/DescriptionRecordList.md)
300
311
  - [NotehubJs.Device](docs/Device.md)
301
312
  - [NotehubJs.DeviceDfuHistory](docs/DeviceDfuHistory.md)
302
313
  - [NotehubJs.DeviceDfuHistoryCurrent](docs/DeviceDfuHistoryCurrent.md)
package/dist/ApiClient.js CHANGED
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  */
27
27
  /**
28
28
  * @module ApiClient
29
- * @version 6.4.0
29
+ * @version 6.5.0
30
30
  */
31
31
  /**
32
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  */
69
69
  this.defaultHeaders = {};
70
70
  if (typeof window === "undefined") {
71
- this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0/Javascript";
71
+ this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.5.0/Javascript";
72
72
  }
73
73
 
74
74
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * Alert service.
30
30
  * @module api/AlertApi
31
- * @version 6.4.0
31
+ * @version 6.5.0
32
32
  */
33
33
  var AlertApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Authorization service.
32
32
  * @module api/AuthorizationApi
33
- * @version 6.4.0
33
+ * @version 6.5.0
34
34
  */
35
35
  var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * BillingAccount service.
32
32
  * @module api/BillingAccountApi
33
- * @version 6.4.0
33
+ * @version 6.5.0
34
34
  */
35
35
  var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -0,0 +1,384 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _DescriptionRecord = _interopRequireDefault(require("../model/DescriptionRecord"));
9
+ var _DescriptionRecordList = _interopRequireDefault(require("../model/DescriptionRecordList"));
10
+ var _Error = _interopRequireDefault(require("../model/Error"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ 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); }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ 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); } /**
18
+ * Notehub API
19
+ * The OpenAPI definition for the Notehub.io API.
20
+ *
21
+ * The version of the OpenAPI document: 1.2.0
22
+ * Contact: engineering@blues.io
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * Description service.
31
+ * @module api/DescriptionApi
32
+ * @version 6.5.0
33
+ */
34
+ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new DescriptionApi.
37
+ * @alias module:api/DescriptionApi
38
+ * @class
39
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
40
+ * default to {@link module:ApiClient#instance} if unspecified.
41
+ */
42
+ function DescriptionApi(apiClient) {
43
+ _classCallCheck(this, DescriptionApi);
44
+ this.apiClient = apiClient || _ApiClient["default"].instance;
45
+ }
46
+
47
+ /**
48
+ * Delete a global description record by name (Blues staff only).
49
+ * @param {String} descriptionName
50
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
51
+ */
52
+ return _createClass(DescriptionApi, [{
53
+ key: "deleteGlobalDescriptionWithHttpInfo",
54
+ value: function deleteGlobalDescriptionWithHttpInfo(descriptionName) {
55
+ var postBody = null;
56
+ // verify the required parameter 'descriptionName' is set
57
+ if (descriptionName === undefined || descriptionName === null) {
58
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling deleteGlobalDescription");
59
+ }
60
+ var pathParams = {
61
+ descriptionName: descriptionName
62
+ };
63
+ var queryParams = {};
64
+ var headerParams = {};
65
+ var formParams = {};
66
+ var authNames = ["personalAccessToken"];
67
+ var contentTypes = [];
68
+ var accepts = ["application/json"];
69
+ var returnType = null;
70
+ return this.apiClient.callApi("/v1/description/{descriptionName}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
71
+ }
72
+
73
+ /**
74
+ * Delete a global description record by name (Blues staff only).
75
+ * @param {String} descriptionName
76
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
77
+ */
78
+ }, {
79
+ key: "deleteGlobalDescription",
80
+ value: function deleteGlobalDescription(descriptionName) {
81
+ return this.deleteGlobalDescriptionWithHttpInfo(descriptionName).then(function (response_and_data) {
82
+ return response_and_data.data;
83
+ });
84
+ }
85
+
86
+ /**
87
+ * Delete a project description record by name.
88
+ * @param {String} projectOrProductUID
89
+ * @param {String} descriptionName
90
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
91
+ */
92
+ }, {
93
+ key: "deleteProjectDescriptionWithHttpInfo",
94
+ value: function deleteProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName) {
95
+ var postBody = null;
96
+ // verify the required parameter 'projectOrProductUID' is set
97
+ if (projectOrProductUID === undefined || projectOrProductUID === null) {
98
+ throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling deleteProjectDescription");
99
+ }
100
+ // verify the required parameter 'descriptionName' is set
101
+ if (descriptionName === undefined || descriptionName === null) {
102
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling deleteProjectDescription");
103
+ }
104
+ var pathParams = {
105
+ projectOrProductUID: projectOrProductUID,
106
+ descriptionName: descriptionName
107
+ };
108
+ var queryParams = {};
109
+ var headerParams = {};
110
+ var formParams = {};
111
+ var authNames = ["personalAccessToken"];
112
+ var contentTypes = [];
113
+ var accepts = ["application/json"];
114
+ var returnType = null;
115
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/description/{descriptionName}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
116
+ }
117
+
118
+ /**
119
+ * Delete a project description record by name.
120
+ * @param {String} projectOrProductUID
121
+ * @param {String} descriptionName
122
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
123
+ */
124
+ }, {
125
+ key: "deleteProjectDescription",
126
+ value: function deleteProjectDescription(projectOrProductUID, descriptionName) {
127
+ return this.deleteProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName).then(function (response_and_data) {
128
+ return response_and_data.data;
129
+ });
130
+ }
131
+
132
+ /**
133
+ * Get a global description record. Returns the raw content with its stored Content-Type.
134
+ * @param {String} descriptionName
135
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
136
+ */
137
+ }, {
138
+ key: "getGlobalDescriptionWithHttpInfo",
139
+ value: function getGlobalDescriptionWithHttpInfo(descriptionName) {
140
+ var postBody = null;
141
+ // verify the required parameter 'descriptionName' is set
142
+ if (descriptionName === undefined || descriptionName === null) {
143
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling getGlobalDescription");
144
+ }
145
+ var pathParams = {
146
+ descriptionName: descriptionName
147
+ };
148
+ var queryParams = {};
149
+ var headerParams = {};
150
+ var formParams = {};
151
+ var authNames = ["personalAccessToken"];
152
+ var contentTypes = [];
153
+ var accepts = ["application/octet-stream", "application/json"];
154
+ var returnType = File;
155
+ return this.apiClient.callApi("/v1/description/{descriptionName}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
156
+ }
157
+
158
+ /**
159
+ * Get a global description record. Returns the raw content with its stored Content-Type.
160
+ * @param {String} descriptionName
161
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
162
+ */
163
+ }, {
164
+ key: "getGlobalDescription",
165
+ value: function getGlobalDescription(descriptionName) {
166
+ return this.getGlobalDescriptionWithHttpInfo(descriptionName).then(function (response_and_data) {
167
+ return response_and_data.data;
168
+ });
169
+ }
170
+
171
+ /**
172
+ * Get a project description record. Returns the raw content with its stored Content-Type.
173
+ * @param {String} projectOrProductUID
174
+ * @param {String} descriptionName
175
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
176
+ */
177
+ }, {
178
+ key: "getProjectDescriptionWithHttpInfo",
179
+ value: function getProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName) {
180
+ var postBody = null;
181
+ // verify the required parameter 'projectOrProductUID' is set
182
+ if (projectOrProductUID === undefined || projectOrProductUID === null) {
183
+ throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectDescription");
184
+ }
185
+ // verify the required parameter 'descriptionName' is set
186
+ if (descriptionName === undefined || descriptionName === null) {
187
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling getProjectDescription");
188
+ }
189
+ var pathParams = {
190
+ projectOrProductUID: projectOrProductUID,
191
+ descriptionName: descriptionName
192
+ };
193
+ var queryParams = {};
194
+ var headerParams = {};
195
+ var formParams = {};
196
+ var authNames = ["personalAccessToken"];
197
+ var contentTypes = [];
198
+ var accepts = ["application/octet-stream", "application/json"];
199
+ var returnType = File;
200
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/description/{descriptionName}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
201
+ }
202
+
203
+ /**
204
+ * Get a project description record. Returns the raw content with its stored Content-Type.
205
+ * @param {String} projectOrProductUID
206
+ * @param {String} descriptionName
207
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
208
+ */
209
+ }, {
210
+ key: "getProjectDescription",
211
+ value: function getProjectDescription(projectOrProductUID, descriptionName) {
212
+ return this.getProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName).then(function (response_and_data) {
213
+ return response_and_data.data;
214
+ });
215
+ }
216
+
217
+ /**
218
+ * List metadata for all global description records.
219
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
220
+ */
221
+ }, {
222
+ key: "listGlobalDescriptionsWithHttpInfo",
223
+ value: function listGlobalDescriptionsWithHttpInfo() {
224
+ var postBody = null;
225
+ var pathParams = {};
226
+ var queryParams = {};
227
+ var headerParams = {};
228
+ var formParams = {};
229
+ var authNames = ["personalAccessToken"];
230
+ var contentTypes = [];
231
+ var accepts = ["application/json"];
232
+ var returnType = _DescriptionRecordList["default"];
233
+ return this.apiClient.callApi("/v1/description", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
234
+ }
235
+
236
+ /**
237
+ * List metadata for all global description records.
238
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
239
+ */
240
+ }, {
241
+ key: "listGlobalDescriptions",
242
+ value: function listGlobalDescriptions() {
243
+ return this.listGlobalDescriptionsWithHttpInfo().then(function (response_and_data) {
244
+ return response_and_data.data;
245
+ });
246
+ }
247
+
248
+ /**
249
+ * List metadata for all description records in a project.
250
+ * @param {String} projectOrProductUID
251
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
252
+ */
253
+ }, {
254
+ key: "listProjectDescriptionsWithHttpInfo",
255
+ value: function listProjectDescriptionsWithHttpInfo(projectOrProductUID) {
256
+ var postBody = null;
257
+ // verify the required parameter 'projectOrProductUID' is set
258
+ if (projectOrProductUID === undefined || projectOrProductUID === null) {
259
+ throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling listProjectDescriptions");
260
+ }
261
+ var pathParams = {
262
+ projectOrProductUID: projectOrProductUID
263
+ };
264
+ var queryParams = {};
265
+ var headerParams = {};
266
+ var formParams = {};
267
+ var authNames = ["personalAccessToken"];
268
+ var contentTypes = [];
269
+ var accepts = ["application/json"];
270
+ var returnType = _DescriptionRecordList["default"];
271
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/description", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
272
+ }
273
+
274
+ /**
275
+ * List metadata for all description records in a project.
276
+ * @param {String} projectOrProductUID
277
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
278
+ */
279
+ }, {
280
+ key: "listProjectDescriptions",
281
+ value: function listProjectDescriptions(projectOrProductUID) {
282
+ return this.listProjectDescriptionsWithHttpInfo(projectOrProductUID).then(function (response_and_data) {
283
+ return response_and_data.data;
284
+ });
285
+ }
286
+
287
+ /**
288
+ * Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
289
+ * @param {String} descriptionName
290
+ * @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
291
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
292
+ */
293
+ }, {
294
+ key: "setGlobalDescriptionWithHttpInfo",
295
+ value: function setGlobalDescriptionWithHttpInfo(descriptionName, body) {
296
+ var postBody = body;
297
+ // verify the required parameter 'descriptionName' is set
298
+ if (descriptionName === undefined || descriptionName === null) {
299
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling setGlobalDescription");
300
+ }
301
+ // verify the required parameter 'body' is set
302
+ if (body === undefined || body === null) {
303
+ throw new _Error["default"]("Missing the required parameter 'body' when calling setGlobalDescription");
304
+ }
305
+ var pathParams = {
306
+ descriptionName: descriptionName
307
+ };
308
+ var queryParams = {};
309
+ var headerParams = {};
310
+ var formParams = {};
311
+ var authNames = ["personalAccessToken"];
312
+ var contentTypes = ["application/octet-stream"];
313
+ var accepts = ["application/json"];
314
+ var returnType = _DescriptionRecord["default"];
315
+ return this.apiClient.callApi("/v1/description/{descriptionName}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
316
+ }
317
+
318
+ /**
319
+ * Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
320
+ * @param {String} descriptionName
321
+ * @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
322
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
323
+ */
324
+ }, {
325
+ key: "setGlobalDescription",
326
+ value: function setGlobalDescription(descriptionName, body) {
327
+ return this.setGlobalDescriptionWithHttpInfo(descriptionName, body).then(function (response_and_data) {
328
+ return response_and_data.data;
329
+ });
330
+ }
331
+
332
+ /**
333
+ * Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
334
+ * @param {String} projectOrProductUID
335
+ * @param {String} descriptionName
336
+ * @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
337
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
338
+ */
339
+ }, {
340
+ key: "setProjectDescriptionWithHttpInfo",
341
+ value: function setProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName, body) {
342
+ var postBody = body;
343
+ // verify the required parameter 'projectOrProductUID' is set
344
+ if (projectOrProductUID === undefined || projectOrProductUID === null) {
345
+ throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling setProjectDescription");
346
+ }
347
+ // verify the required parameter 'descriptionName' is set
348
+ if (descriptionName === undefined || descriptionName === null) {
349
+ throw new _Error["default"]("Missing the required parameter 'descriptionName' when calling setProjectDescription");
350
+ }
351
+ // verify the required parameter 'body' is set
352
+ if (body === undefined || body === null) {
353
+ throw new _Error["default"]("Missing the required parameter 'body' when calling setProjectDescription");
354
+ }
355
+ var pathParams = {
356
+ projectOrProductUID: projectOrProductUID,
357
+ descriptionName: descriptionName
358
+ };
359
+ var queryParams = {};
360
+ var headerParams = {};
361
+ var formParams = {};
362
+ var authNames = ["personalAccessToken"];
363
+ var contentTypes = ["application/octet-stream"];
364
+ var accepts = ["application/json"];
365
+ var returnType = _DescriptionRecord["default"];
366
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/description/{descriptionName}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
367
+ }
368
+
369
+ /**
370
+ * Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
371
+ * @param {String} projectOrProductUID
372
+ * @param {String} descriptionName
373
+ * @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
374
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
375
+ */
376
+ }, {
377
+ key: "setProjectDescription",
378
+ value: function setProjectDescription(projectOrProductUID, descriptionName, body) {
379
+ return this.setProjectDescriptionWithHttpInfo(projectOrProductUID, descriptionName, body).then(function (response_and_data) {
380
+ return response_and_data.data;
381
+ });
382
+ }
383
+ }]);
384
+ }();
@@ -48,7 +48,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
48
48
  /**
49
49
  * Device service.
50
50
  * @module api/DeviceApi
51
- * @version 6.4.0
51
+ * @version 6.5.0
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -866,10 +866,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
866
866
  }
867
867
 
868
868
  /**
869
- * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
869
+ * Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
870
870
  * @param {String} projectOrProductUID
871
871
  * @param {String} deviceUID
872
- * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
872
+ * @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
873
873
  * @param {Object} opts Optional parameters
874
874
  * @param {Number} opts.pageSize (default to 50)
875
875
  * @param {Number} opts.pageNum (default to 1)
@@ -911,10 +911,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
911
911
  }
912
912
 
913
913
  /**
914
- * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
914
+ * Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
915
915
  * @param {String} projectOrProductUID
916
916
  * @param {String} deviceUID
917
- * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
917
+ * @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
918
918
  * @param {Object} opts Optional parameters
919
919
  * @param {Number} opts.pageSize (default to 50)
920
920
  * @param {Number} opts.pageNum (default to 1)
@@ -929,7 +929,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
929
929
  }
930
930
 
931
931
  /**
932
- * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
932
+ * Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
933
933
  * @param {String} projectOrProductUID
934
934
  * @param {String} deviceUID
935
935
  * @param {Object} opts Optional parameters
@@ -968,7 +968,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
968
968
  }
969
969
 
970
970
  /**
971
- * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
971
+ * Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
972
972
  * @param {String} projectOrProductUID
973
973
  * @param {String} deviceUID
974
974
  * @param {Object} opts Optional parameters
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Event service.
32
32
  * @module api/EventApi
33
- * @version 6.4.0
33
+ * @version 6.5.0
34
34
  */
35
35
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -52,6 +52,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
52
52
  * @param {Number} opts.pageSize (default to 50)
53
53
  * @param {Number} opts.pageNum (default to 1)
54
54
  * @param {Array.<String>} opts.deviceUID A Device UID.
55
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
55
56
  * @param {module:model/String} opts.sortBy (default to 'captured')
56
57
  * @param {module:model/String} opts.sortOrder (default to 'asc')
57
58
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -83,6 +84,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
83
84
  pageSize: opts["pageSize"],
84
85
  pageNum: opts["pageNum"],
85
86
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
87
+ sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
86
88
  sortBy: opts["sortBy"],
87
89
  sortOrder: opts["sortOrder"],
88
90
  startDate: opts["startDate"],
@@ -113,6 +115,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
113
115
  * @param {Number} opts.pageSize (default to 50)
114
116
  * @param {Number} opts.pageNum (default to 1)
115
117
  * @param {Array.<String>} opts.deviceUID A Device UID.
118
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
116
119
  * @param {module:model/String} opts.sortBy (default to 'captured')
117
120
  * @param {module:model/String} opts.sortOrder (default to 'asc')
118
121
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -147,6 +150,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
147
150
  * @param {String} opts.files
148
151
  * @param {String} opts.fleetUID
149
152
  * @param {Array.<String>} opts.deviceUID A Device UID.
153
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
150
154
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEventsByCursor200Response} and HTTP response
151
155
  */
152
156
  }, {
@@ -168,7 +172,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
168
172
  systemFilesOnly: opts["systemFilesOnly"],
169
173
  files: opts["files"],
170
174
  fleetUID: opts["fleetUID"],
171
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi")
175
+ deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
176
+ sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi")
172
177
  };
173
178
  var headerParams = {};
174
179
  var formParams = {};
@@ -190,6 +195,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
190
195
  * @param {String} opts.files
191
196
  * @param {String} opts.fleetUID
192
197
  * @param {Array.<String>} opts.deviceUID A Device UID.
198
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
193
199
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEventsByCursor200Response}
194
200
  */
195
201
  }, {
@@ -208,6 +214,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
208
214
  * @param {Number} opts.pageSize (default to 50)
209
215
  * @param {Number} opts.pageNum (default to 1)
210
216
  * @param {Array.<String>} opts.deviceUID A Device UID.
217
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
211
218
  * @param {module:model/String} opts.sortBy (default to 'captured')
212
219
  * @param {module:model/String} opts.sortOrder (default to 'asc')
213
220
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -243,6 +250,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
243
250
  pageSize: opts["pageSize"],
244
251
  pageNum: opts["pageNum"],
245
252
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
253
+ sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
246
254
  sortBy: opts["sortBy"],
247
255
  sortOrder: opts["sortOrder"],
248
256
  startDate: opts["startDate"],
@@ -273,6 +281,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
273
281
  * @param {Number} opts.pageSize (default to 50)
274
282
  * @param {Number} opts.pageNum (default to 1)
275
283
  * @param {Array.<String>} opts.deviceUID A Device UID.
284
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
276
285
  * @param {module:model/String} opts.sortBy (default to 'captured')
277
286
  * @param {module:model/String} opts.sortOrder (default to 'asc')
278
287
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -306,6 +315,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
306
315
  * @param {Boolean} opts.systemFilesOnly
307
316
  * @param {String} opts.files
308
317
  * @param {Array.<String>} opts.deviceUID A Device UID.
318
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
309
319
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
310
320
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
311
321
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEventsByCursor200Response} and HTTP response
@@ -334,6 +344,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
334
344
  systemFilesOnly: opts["systemFilesOnly"],
335
345
  files: opts["files"],
336
346
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
347
+ sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
337
348
  startDate: opts["startDate"],
338
349
  endDate: opts["endDate"]
339
350
  };
@@ -357,6 +368,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
357
368
  * @param {Boolean} opts.systemFilesOnly
358
369
  * @param {String} opts.files
359
370
  * @param {Array.<String>} opts.deviceUID A Device UID.
371
+ * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
360
372
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
361
373
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
362
374
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEventsByCursor200Response}
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * ExternalDevices service.
31
31
  * @module api/ExternalDevicesApi
32
- * @version 6.4.0
32
+ * @version 6.5.0
33
33
  */
34
34
  var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -36,7 +36,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
36
36
  /**
37
37
  * Jobs service.
38
38
  * @module api/JobsApi
39
- * @version 6.4.0
39
+ * @version 6.5.0
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**