@blues-inc/notehub-js 6.4.0-beta.18 → 6.4.0-beta.19

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 (181) hide show
  1. package/README.md +1 -4
  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 -41
  6. package/dist/api/DeviceApi.js +1 -1
  7. package/dist/api/EventApi.js +14 -2
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +1 -41
  12. package/dist/api/ProjectApi.js +1 -1
  13. package/dist/api/RouteApi.js +1 -1
  14. package/dist/api/UsageApi.js +1 -1
  15. package/dist/api/WebhookApi.js +1 -1
  16. package/dist/index.js +0 -7
  17. package/dist/model/AWSRoleConfig.js +1 -1
  18. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  19. package/dist/model/Alert.js +1 -1
  20. package/dist/model/AlertDataInner.js +1 -1
  21. package/dist/model/AlertNotificationsInner.js +1 -1
  22. package/dist/model/AwsRoute.js +1 -1
  23. package/dist/model/AzureRoute.js +1 -1
  24. package/dist/model/BatchJobRequests.js +1 -1
  25. package/dist/model/BillingAccount.js +1 -1
  26. package/dist/model/BlynkRoute.js +1 -1
  27. package/dist/model/Body.js +1 -1
  28. package/dist/model/CancelJobRun200Response.js +1 -1
  29. package/dist/model/CellularPlan.js +1 -1
  30. package/dist/model/CloneProjectRequest.js +1 -1
  31. package/dist/model/Contact.js +1 -1
  32. package/dist/model/CreateFleetRequest.js +1 -1
  33. package/dist/model/CreateJob201Response.js +1 -1
  34. package/dist/model/CreateMonitor.js +1 -1
  35. package/dist/model/CreateProductRequest.js +1 -1
  36. package/dist/model/CreateProjectRequest.js +1 -1
  37. package/dist/model/CreateProjectSecretRequest.js +1 -1
  38. package/dist/model/CreateUpdateRepository.js +1 -1
  39. package/dist/model/CreatedRepository.js +1 -1
  40. package/dist/model/CurrentFirmware.js +1 -1
  41. package/dist/model/DFUEnv.js +1 -1
  42. package/dist/model/DFUState.js +1 -1
  43. package/dist/model/DataField.js +1 -1
  44. package/dist/model/DataSetField.js +1 -1
  45. package/dist/model/DataUsage.js +1 -1
  46. package/dist/model/DatacakeRoute.js +1 -1
  47. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  48. package/dist/model/DeleteJob200Response.js +1 -1
  49. package/dist/model/DeleteNotefilesRequest.js +1 -1
  50. package/dist/model/Device.js +1 -1
  51. package/dist/model/DeviceDfuHistory.js +1 -1
  52. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  53. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  54. package/dist/model/DeviceDfuStateMachine.js +1 -1
  55. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  56. package/dist/model/DeviceDfuStatus.js +1 -1
  57. package/dist/model/DeviceDfuStatusPage.js +1 -1
  58. package/dist/model/DeviceSession.js +1 -1
  59. package/dist/model/DeviceTowerInfo.js +1 -1
  60. package/dist/model/DeviceUsage.js +1 -1
  61. package/dist/model/DfuActionRequest.js +1 -1
  62. package/dist/model/EmailNotification.js +1 -1
  63. package/dist/model/EnvTreeJsonNode.js +1 -1
  64. package/dist/model/EnvVar.js +1 -1
  65. package/dist/model/EnvironmentVariables.js +1 -1
  66. package/dist/model/Error.js +1 -1
  67. package/dist/model/Event.js +23 -1
  68. package/dist/model/Filter.js +1 -1
  69. package/dist/model/Firmware.js +1 -1
  70. package/dist/model/FirmwareInfo.js +1 -1
  71. package/dist/model/Fleet.js +1 -1
  72. package/dist/model/FleetConnectivityAssurance.js +1 -1
  73. package/dist/model/GetAlerts200Response.js +1 -1
  74. package/dist/model/GetBillingAccount200Response.js +1 -1
  75. package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
  76. package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -10
  77. package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
  78. package/dist/model/GetBillingAccounts200Response.js +1 -1
  79. package/dist/model/GetDataUsage200Response.js +1 -1
  80. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  81. package/dist/model/GetDbNote200Response.js +1 -1
  82. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  83. package/dist/model/GetDeviceFleets200Response.js +1 -1
  84. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  85. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
  86. package/dist/model/GetDeviceJourney200Response.js +1 -1
  87. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  88. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  89. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  90. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  91. package/dist/model/GetDevicePlans200Response.js +1 -1
  92. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  93. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  94. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  95. package/dist/model/GetDeviceSessions200Response.js +1 -1
  96. package/dist/model/GetDevices200Response.js +1 -1
  97. package/dist/model/GetEvents200Response.js +1 -1
  98. package/dist/model/GetEventsByCursor200Response.js +1 -1
  99. package/dist/model/GetJobRuns200Response.js +1 -1
  100. package/dist/model/GetJobs200Response.js +1 -1
  101. package/dist/model/GetNotefile200Response.js +1 -1
  102. package/dist/model/GetOrganizations200Response.js +1 -1
  103. package/dist/model/GetProducts200Response.js +1 -1
  104. package/dist/model/GetProjectMembers200Response.js +1 -1
  105. package/dist/model/GetProjectSecretsResponse.js +1 -1
  106. package/dist/model/GetProjects200Response.js +1 -1
  107. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  108. package/dist/model/GetSessionsUsage200Response.js +1 -1
  109. package/dist/model/GetWebhooks200Response.js +1 -1
  110. package/dist/model/GoogleRoute.js +1 -1
  111. package/dist/model/HttpRoute.js +1 -1
  112. package/dist/model/Job.js +1 -1
  113. package/dist/model/JobDefinition.js +1 -1
  114. package/dist/model/JobDefinitionReportOptions.js +1 -1
  115. package/dist/model/JobDefinitionSelect.js +1 -1
  116. package/dist/model/JobDetail.js +1 -1
  117. package/dist/model/JobDetailAllOf.js +1 -1
  118. package/dist/model/JobRun.js +1 -1
  119. package/dist/model/Location.js +1 -1
  120. package/dist/model/Login200Response.js +1 -1
  121. package/dist/model/LoginRequest.js +1 -1
  122. package/dist/model/Monitor.js +1 -1
  123. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  124. package/dist/model/MqttRoute.js +1 -1
  125. package/dist/model/Note.js +1 -1
  126. package/dist/model/NoteInput.js +1 -1
  127. package/dist/model/Notefile.js +1 -1
  128. package/dist/model/NotefileSchema.js +1 -1
  129. package/dist/model/NotehubRoute.js +1 -1
  130. package/dist/model/NotehubRouteSummary.js +1 -1
  131. package/dist/model/OAuth2Error.js +1 -1
  132. package/dist/model/OAuth2TokenResponse.js +1 -1
  133. package/dist/model/Organization.js +1 -1
  134. package/dist/model/PersonalAccessToken.js +1 -1
  135. package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
  136. package/dist/model/PersonalAccessTokenInfo.js +1 -1
  137. package/dist/model/PersonalAccessTokenSecret.js +1 -1
  138. package/dist/model/Product.js +1 -1
  139. package/dist/model/Project.js +1 -1
  140. package/dist/model/ProjectMember.js +1 -1
  141. package/dist/model/ProjectSecret.js +1 -1
  142. package/dist/model/ProvisionDeviceRequest.js +1 -1
  143. package/dist/model/ProxyRoute.js +1 -1
  144. package/dist/model/QubitroRoute.js +1 -1
  145. package/dist/model/RadRoute.js +1 -1
  146. package/dist/model/Repository.js +1 -1
  147. package/dist/model/RepositoryListResponse.js +1 -1
  148. package/dist/model/RepositoryTokenRequest.js +1 -1
  149. package/dist/model/RepositoryTokenResponse.js +1 -1
  150. package/dist/model/RouteLog.js +1 -1
  151. package/dist/model/RouteTransformSettings.js +1 -1
  152. package/dist/model/RunJob200Response.js +1 -1
  153. package/dist/model/S3ArchiveRoute.js +1 -1
  154. package/dist/model/SatelliteDataUsage.js +1 -1
  155. package/dist/model/SatellitePlan.js +1 -1
  156. package/dist/model/SchemaProperty.js +1 -1
  157. package/dist/model/SignalDevice200Response.js +1 -1
  158. package/dist/model/SimUsage.js +1 -1
  159. package/dist/model/SlackBearerNotification.js +1 -1
  160. package/dist/model/SlackRoute.js +1 -1
  161. package/dist/model/SlackWebHookNotification.js +1 -1
  162. package/dist/model/SnowflakeRoute.js +1 -1
  163. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  164. package/dist/model/ThingworxRoute.js +1 -1
  165. package/dist/model/TowerLocation.js +1 -1
  166. package/dist/model/TwilioRoute.js +1 -1
  167. package/dist/model/UpdateFleetRequest.js +1 -1
  168. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  169. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  170. package/dist/model/UploadMetadata.js +1 -1
  171. package/dist/model/UsageData.js +1 -1
  172. package/dist/model/UsageEventsData.js +1 -1
  173. package/dist/model/UsageEventsResponse.js +1 -1
  174. package/dist/model/UsageRouteLogsData.js +1 -1
  175. package/dist/model/UsageSessionsData.js +1 -1
  176. package/dist/model/UserDfuStateMachine.js +1 -1
  177. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  178. package/dist/model/UserFirmwareInfo.js +1 -1
  179. package/dist/model/WebhookSettings.js +1 -1
  180. package/package.json +1 -1
  181. package/dist/model/GetBillingAccountBalance200Response.js +0 -131
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-beta.18
9
+ - Package version: 6.4.0-beta.19
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
 
@@ -136,7 +136,6 @@ All URIs are relative to *https://api.notefile.net*
136
136
  | _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
137
137
  | _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token | Issue an OAuth 2.0 access token (Client Credentials) |
138
138
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccount**](docs/BillingAccountApi.md#getBillingAccount) | **GET** /v1/billing-accounts/{billingAccountUID} |
139
- | _NotehubJs.BillingAccountApi_ | [**getBillingAccountBalance**](docs/BillingAccountApi.md#getBillingAccountBalance) | **GET** /v1/billing-accounts/{billingAccountUID}/balance |
140
139
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccountBalanceHistory**](docs/BillingAccountApi.md#getBillingAccountBalanceHistory) | **GET** /v1/billing-accounts/{billingAccountUID}/balance-history |
141
140
  | _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
142
141
  | _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
@@ -193,7 +192,6 @@ All URIs are relative to *https://api.notefile.net*
193
192
  | _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors |
194
193
  | _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
195
194
  | _NotehubJs.OrganizationApi_ | [**getOrganization**](docs/OrganizationApi.md#getOrganization) | **GET** /v1/organizations/{organizationUID} |
196
- | _NotehubJs.OrganizationApi_ | [**getOrganizationBalance**](docs/OrganizationApi.md#getOrganizationBalance) | **GET** /v1/organizations/{organizationUID}/balance |
197
195
  | _NotehubJs.OrganizationApi_ | [**getOrganizationBalanceHistory**](docs/OrganizationApi.md#getOrganizationBalanceHistory) | **GET** /v1/organizations/{organizationUID}/balance-history |
198
196
  | _NotehubJs.OrganizationApi_ | [**getOrganizations**](docs/OrganizationApi.md#getOrganizations) | **GET** /v1/organizations |
199
197
  | _NotehubJs.ProjectApi_ | [**addDeviceToFleets**](docs/ProjectApi.md#addDeviceToFleets) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
@@ -325,7 +323,6 @@ All URIs are relative to *https://api.notefile.net*
325
323
  - [NotehubJs.GetAlerts200Response](docs/GetAlerts200Response.md)
326
324
  - [NotehubJs.GetBillingAccount200Response](docs/GetBillingAccount200Response.md)
327
325
  - [NotehubJs.GetBillingAccount200ResponsePlan](docs/GetBillingAccount200ResponsePlan.md)
328
- - [NotehubJs.GetBillingAccountBalance200Response](docs/GetBillingAccountBalance200Response.md)
329
326
  - [NotehubJs.GetBillingAccountBalanceHistory200Response](docs/GetBillingAccountBalanceHistory200Response.md)
330
327
  - [NotehubJs.GetBillingAccountBalanceHistory200ResponseDataInner](docs/GetBillingAccountBalanceHistory200ResponseDataInner.md)
331
328
  - [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.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-beta.18
29
+ * @version 6.4.0-beta.19
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-beta.18/Javascript";
71
+ this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0-beta.19/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-beta.18
31
+ * @version 6.4.0-beta.19
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-beta.18
33
+ * @version 6.4.0-beta.19
34
34
  */
35
35
  var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -7,7 +7,6 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
9
  var _GetBillingAccount200Response = _interopRequireDefault(require("../model/GetBillingAccount200Response"));
10
- var _GetBillingAccountBalance200Response = _interopRequireDefault(require("../model/GetBillingAccountBalance200Response"));
11
10
  var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("../model/GetBillingAccountBalanceHistory200Response"));
12
11
  var _GetBillingAccounts200Response = _interopRequireDefault(require("../model/GetBillingAccounts200Response"));
13
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -31,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
30
  /**
32
31
  * BillingAccount service.
33
32
  * @module api/BillingAccountApi
34
- * @version 6.4.0-beta.18
33
+ * @version 6.4.0-beta.19
35
34
  */
36
35
  var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
37
36
  /**
@@ -85,45 +84,6 @@ var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
85
84
  });
86
85
  }
87
86
 
88
- /**
89
- * Get the current event balance for a billing account
90
- * @param {String} billingAccountUID
91
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalance200Response} and HTTP response
92
- */
93
- }, {
94
- key: "getBillingAccountBalanceWithHttpInfo",
95
- value: function getBillingAccountBalanceWithHttpInfo(billingAccountUID) {
96
- var postBody = null;
97
- // verify the required parameter 'billingAccountUID' is set
98
- if (billingAccountUID === undefined || billingAccountUID === null) {
99
- throw new _Error["default"]("Missing the required parameter 'billingAccountUID' when calling getBillingAccountBalance");
100
- }
101
- var pathParams = {
102
- billingAccountUID: billingAccountUID
103
- };
104
- var queryParams = {};
105
- var headerParams = {};
106
- var formParams = {};
107
- var authNames = ["personalAccessToken"];
108
- var contentTypes = [];
109
- var accepts = ["application/json"];
110
- var returnType = _GetBillingAccountBalance200Response["default"];
111
- return this.apiClient.callApi("/v1/billing-accounts/{billingAccountUID}/balance", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
112
- }
113
-
114
- /**
115
- * Get the current event balance for a billing account
116
- * @param {String} billingAccountUID
117
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalance200Response}
118
- */
119
- }, {
120
- key: "getBillingAccountBalance",
121
- value: function getBillingAccountBalance(billingAccountUID) {
122
- return this.getBillingAccountBalanceWithHttpInfo(billingAccountUID).then(function (response_and_data) {
123
- return response_and_data.data;
124
- });
125
- }
126
-
127
87
  /**
128
88
  * Get Billing Account Balance history
129
89
  * @param {String} billingAccountUID
@@ -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-beta.18
51
+ * @version 6.4.0-beta.19
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -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-beta.18
33
+ * @version 6.4.0-beta.19
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-beta.18
32
+ * @version 6.4.0-beta.19
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-beta.18
39
+ * @version 6.4.0-beta.19
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * Monitor service.
31
31
  * @module api/MonitorApi
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -7,7 +7,6 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
9
  var _GetBillingAccount200Response = _interopRequireDefault(require("../model/GetBillingAccount200Response"));
10
- var _GetBillingAccountBalance200Response = _interopRequireDefault(require("../model/GetBillingAccountBalance200Response"));
11
10
  var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("../model/GetBillingAccountBalanceHistory200Response"));
12
11
  var _GetOrganizations200Response = _interopRequireDefault(require("../model/GetOrganizations200Response"));
13
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -31,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
30
  /**
32
31
  * Organization service.
33
32
  * @module api/OrganizationApi
34
- * @version 6.4.0-beta.18
33
+ * @version 6.4.0-beta.19
35
34
  */
36
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
37
36
  /**
@@ -85,45 +84,6 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
85
84
  });
86
85
  }
87
86
 
88
- /**
89
- * Get the current event balance for an organization
90
- * @param {String} organizationUID
91
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalance200Response} and HTTP response
92
- */
93
- }, {
94
- key: "getOrganizationBalanceWithHttpInfo",
95
- value: function getOrganizationBalanceWithHttpInfo(organizationUID) {
96
- var postBody = null;
97
- // verify the required parameter 'organizationUID' is set
98
- if (organizationUID === undefined || organizationUID === null) {
99
- throw new _Error["default"]("Missing the required parameter 'organizationUID' when calling getOrganizationBalance");
100
- }
101
- var pathParams = {
102
- organizationUID: organizationUID
103
- };
104
- var queryParams = {};
105
- var headerParams = {};
106
- var formParams = {};
107
- var authNames = ["personalAccessToken"];
108
- var contentTypes = [];
109
- var accepts = ["application/json"];
110
- var returnType = _GetBillingAccountBalance200Response["default"];
111
- return this.apiClient.callApi("/v1/organizations/{organizationUID}/balance", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
112
- }
113
-
114
- /**
115
- * Get the current event balance for an organization
116
- * @param {String} organizationUID
117
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalance200Response}
118
- */
119
- }, {
120
- key: "getOrganizationBalance",
121
- value: function getOrganizationBalance(organizationUID) {
122
- return this.getOrganizationBalanceWithHttpInfo(organizationUID).then(function (response_and_data) {
123
- return response_and_data.data;
124
- });
125
- }
126
-
127
87
  /**
128
88
  * Get Organization Balance history
129
89
  * @param {String} organizationUID
@@ -56,7 +56,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
56
56
  /**
57
57
  * Project service.
58
58
  * @module api/ProjectApi
59
- * @version 6.4.0-beta.18
59
+ * @version 6.4.0-beta.19
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Route service.
32
32
  * @module api/RouteApi
33
- * @version 6.4.0-beta.18
33
+ * @version 6.4.0-beta.19
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * Usage service.
33
33
  * @module api/UsageApi
34
- * @version 6.4.0-beta.18
34
+ * @version 6.4.0-beta.19
35
35
  */
36
36
  var UsageApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * Webhook service.
31
31
  * @module api/WebhookApi
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
package/dist/index.js CHANGED
@@ -405,12 +405,6 @@ Object.defineProperty(exports, "GetBillingAccount200ResponsePlan", {
405
405
  return _GetBillingAccount200ResponsePlan["default"];
406
406
  }
407
407
  });
408
- Object.defineProperty(exports, "GetBillingAccountBalance200Response", {
409
- enumerable: true,
410
- get: function get() {
411
- return _GetBillingAccountBalance200Response["default"];
412
- }
413
- });
414
408
  Object.defineProperty(exports, "GetBillingAccountBalanceHistory200Response", {
415
409
  enumerable: true,
416
410
  get: function get() {
@@ -1150,7 +1144,6 @@ var _FleetConnectivityAssurance = _interopRequireDefault(require("./model/FleetC
1150
1144
  var _GetAlerts200Response = _interopRequireDefault(require("./model/GetAlerts200Response"));
1151
1145
  var _GetBillingAccount200Response = _interopRequireDefault(require("./model/GetBillingAccount200Response"));
1152
1146
  var _GetBillingAccount200ResponsePlan = _interopRequireDefault(require("./model/GetBillingAccount200ResponsePlan"));
1153
- var _GetBillingAccountBalance200Response = _interopRequireDefault(require("./model/GetBillingAccountBalance200Response"));
1154
1147
  var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("./model/GetBillingAccountBalanceHistory200Response"));
1155
1148
  var _GetBillingAccountBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./model/GetBillingAccountBalanceHistory200ResponseDataInner"));
1156
1149
  var _GetBillingAccounts200Response = _interopRequireDefault(require("./model/GetBillingAccounts200Response"));
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var AWSRoleConfig = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The AddDeviceToFleetsRequest model module.
31
31
  * @module model/AddDeviceToFleetsRequest
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 6.4.0-beta.18
34
+ * @version 6.4.0-beta.19
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The AwsRoute model module.
30
30
  * @module model/AwsRoute
31
- * @version 6.4.0-beta.18
31
+ * @version 6.4.0-beta.19
32
32
  */
33
33
  var AwsRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The AzureRoute model module.
30
30
  * @module model/AzureRoute
31
- * @version 6.4.0-beta.18
31
+ * @version 6.4.0-beta.19
32
32
  */
33
33
  var AzureRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The BatchJobRequests model module.
28
28
  * @module model/BatchJobRequests
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var BatchJobRequests = /*#__PURE__*/function () {
32
32
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 6.4.0-beta.18
33
+ * @version 6.4.0-beta.19
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The BlynkRoute model module.
30
30
  * @module model/BlynkRoute
31
- * @version 6.4.0-beta.18
31
+ * @version 6.4.0-beta.19
32
32
  */
33
33
  var BlynkRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CancelJobRun200Response model module.
31
31
  * @module model/CancelJobRun200Response
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CancelJobRun200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The CellularPlan model module.
29
29
  * @module model/CellularPlan
30
- * @version 6.4.0-beta.18
30
+ * @version 6.4.0-beta.19
31
31
  */
32
32
  var CellularPlan = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CloneProjectRequest model module.
31
31
  * @module model/CloneProjectRequest
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CloneProjectRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The Contact model module.
28
28
  * @module model/Contact
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var Contact = /*#__PURE__*/function () {
32
32
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The CreateFleetRequest model module.
29
29
  * @module model/CreateFleetRequest
30
- * @version 6.4.0-beta.18
30
+ * @version 6.4.0-beta.19
31
31
  */
32
32
  var CreateFleetRequest = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateJob201Response model module.
31
31
  * @module model/CreateJob201Response
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CreateJob201Response = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The CreateMonitor model module.
33
33
  * @module model/CreateMonitor
34
- * @version 6.4.0-beta.18
34
+ * @version 6.4.0-beta.19
35
35
  */
36
36
  var CreateMonitor = /*#__PURE__*/function () {
37
37
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateProductRequest model module.
31
31
  * @module model/CreateProductRequest
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CreateProductRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateProjectRequest model module.
31
31
  * @module model/CreateProjectRequest
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CreateProjectRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateProjectSecretRequest model module.
31
31
  * @module model/CreateProjectSecretRequest
32
- * @version 6.4.0-beta.18
32
+ * @version 6.4.0-beta.19
33
33
  */
34
34
  var CreateProjectSecretRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The CreateUpdateRepository model module.
28
28
  * @module model/CreateUpdateRepository
29
- * @version 6.4.0-beta.18
29
+ * @version 6.4.0-beta.19
30
30
  */
31
31
  var CreateUpdateRepository = /*#__PURE__*/function () {
32
32
  /**