@blues-inc/notehub-js 6.7.0 → 7.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +156 -152
- package/dist/ApiClient.js +3 -3
- package/dist/api/AlertApi.js +17 -12
- package/dist/api/AuthorizationApi.js +12 -51
- package/dist/api/DescriptionApi.js +58 -42
- package/dist/api/DeviceApi.js +434 -291
- package/dist/api/EventApi.js +88 -221
- package/dist/api/ExternalDevicesApi.js +32 -26
- package/dist/api/JobsApi.js +76 -58
- package/dist/api/MonitorApi.js +38 -28
- package/dist/api/OrganizationApi.js +26 -20
- package/dist/api/ProjectApi.js +424 -330
- package/dist/api/RouteApi.js +69 -54
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +84 -74
- package/dist/api/WebhookApi.js +96 -74
- package/dist/index.js +91 -63
- package/dist/model/AWSRoleConfig.js +2 -2
- package/dist/model/AddDeviceToFleetsRequest.js +4 -4
- package/dist/model/Alert.js +17 -10
- package/dist/model/AlertDataInner.js +10 -5
- package/dist/model/AlertNotificationsInner.js +15 -5
- package/dist/model/ArchiveStats.js +2 -2
- package/dist/model/AwsRoute.js +15 -3
- package/dist/model/AzureRoute.js +9 -2
- package/dist/model/BatchJobNoteRequest.js +2 -2
- package/dist/model/BatchJobRequests.js +7 -6
- package/dist/model/BillingAccount.js +6 -4
- package/dist/model/BillingAccountRole.js +1 -1
- package/dist/model/BlynkRoute.js +7 -2
- package/dist/model/Body.js +3 -2
- package/dist/model/CancelJobRun200Response.js +2 -2
- package/dist/model/CellularPlan.js +4 -3
- package/dist/model/CloneProjectRequest.js +8 -8
- package/dist/model/Contact.js +6 -2
- package/dist/model/CreateFleetRequest.js +5 -4
- package/dist/model/CreateJob201Response.js +2 -2
- package/dist/model/CreateMonitor.js +38 -26
- package/dist/model/CreateProductRequest.js +8 -7
- package/dist/model/CreateProjectRequest.js +6 -6
- package/dist/model/CreateProjectSecretRequest.js +6 -6
- package/dist/model/CreateUpdateRepository.js +4 -2
- package/dist/model/CreatedRepository.js +6 -6
- package/dist/model/CurrentFirmware.js +2 -2
- package/dist/model/DFUEnv.js +2 -2
- package/dist/model/DFUState.js +3 -2
- package/dist/model/DataField.js +2 -2
- package/dist/model/DataSet.js +6 -5
- package/dist/model/DataSetField.js +3 -3
- package/dist/model/DataUsage.js +2 -2
- package/dist/model/DatacakeRoute.js +8 -2
- package/dist/model/DatasetReloadProgress.js +2 -2
- package/dist/model/DeleteDeviceFromFleetsRequest.js +4 -4
- package/dist/model/DeleteJob200Response.js +2 -2
- package/dist/model/DeleteNotefilesRequest.js +3 -3
- package/dist/model/DescriptionRecord.js +7 -7
- package/dist/model/DescriptionRecordList.js +4 -3
- package/dist/model/Device.js +37 -9
- package/dist/model/DeviceDfuHistory.js +13 -3
- package/dist/model/DeviceDfuHistoryCurrent.js +3 -3
- package/dist/model/DeviceDfuHistoryPage.js +17 -2
- package/dist/model/DeviceDfuStateMachine.js +3 -2
- package/dist/model/DeviceDfuStateMachineNode.js +3 -3
- package/dist/model/DeviceDfuStatus.js +13 -4
- package/dist/model/DeviceDfuStatusPage.js +17 -2
- package/dist/model/DeviceSensor.js +2 -2
- package/dist/model/DeviceSession.js +38 -6
- package/dist/model/DeviceTowerInfo.js +7 -2
- package/dist/model/DeviceUsage.js +8 -2
- package/dist/model/DfuActionRequest.js +3 -3
- package/dist/model/EmailNotification.js +30 -7
- package/dist/model/EnvTreeJsonNode.js +18 -7
- package/dist/model/EnvVar.js +6 -2
- package/dist/model/EnvironmentVariables.js +4 -3
- package/dist/model/Error.js +5 -2
- package/dist/model/Event.js +17 -8
- package/dist/model/Filter.js +6 -6
- package/dist/model/Firmware.js +2 -2
- package/dist/model/FirmwareInfo.js +7 -7
- package/dist/model/Fleet.js +12 -11
- package/dist/model/FleetConnectivityAssurance.js +2 -2
- package/dist/model/GetAlerts200Response.js +15 -2
- package/dist/model/GetApiUsage200Response.js +3 -3
- package/dist/model/GetDataUsage200Response.js +3 -3
- package/dist/model/GetDataUsage200ResponseDataInner.js +4 -4
- package/dist/model/GetDbNote200Response.js +2 -2
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +2 -2
- package/dist/model/GetDeviceFleets200Response.js +2 -2
- package/dist/model/GetDeviceHealthLog200Response.js +2 -2
- package/dist/model/GetDeviceJourney200Response.js +2 -2
- package/dist/model/GetDeviceJourney200ResponseJourney.js +2 -2
- package/dist/model/GetDeviceJourneys200Response.js +2 -2
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +2 -2
- package/dist/model/GetDeviceLatestEvents200Response.js +3 -3
- package/dist/model/GetDevicePlans200Response.js +3 -2
- package/dist/model/GetDevicePublicKey200Response.js +6 -4
- package/dist/model/GetDevicePublicKeys200Response.js +15 -2
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +13 -2
- package/dist/model/GetDeviceSessions200Response.js +15 -2
- package/dist/model/GetDevices200Response.js +15 -2
- package/dist/model/GetEvents200Response.js +15 -2
- package/dist/model/GetJobRuns200Response.js +2 -2
- package/dist/model/GetJobs200Response.js +2 -2
- package/dist/model/GetNotefile200Response.js +2 -2
- package/dist/model/{GetBillingAccount200Response.js → GetOrganization200Response.js} +29 -29
- package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +25 -25
- package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +23 -23
- package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +23 -23
- package/dist/model/GetOrganizations200Response.js +2 -2
- package/dist/model/GetProducts200Response.js +2 -2
- package/dist/model/GetProjectMembers200Response.js +2 -2
- package/dist/model/GetProjectSecretsResponse.js +4 -3
- package/dist/model/GetProjects200Response.js +2 -2
- package/dist/model/GetRouteLogsUsage200Response.js +3 -3
- package/dist/model/GetSessionsUsage200Response.js +4 -4
- package/dist/model/GetWebhooks200Response.js +2 -2
- package/dist/model/GoogleRoute.js +7 -2
- package/dist/model/HealthLog.js +8 -5
- package/dist/model/HttpRoute.js +8 -3
- package/dist/model/Job.js +2 -2
- package/dist/model/JobDefinition.js +3 -3
- package/dist/model/JobDefinitionReportOptions.js +3 -2
- package/dist/model/JobDefinitionSelect.js +5 -4
- package/dist/model/JobDetail.js +2 -2
- package/dist/model/JobDetailAllOf.js +2 -2
- package/dist/model/JobRun.js +2 -2
- package/dist/model/Location.js +14 -8
- package/dist/model/Monitor.js +19 -13
- package/dist/model/MonitorAlertRoutesInner.js +61 -15
- package/dist/model/MqttRoute.js +15 -2
- package/dist/model/Note.js +3 -3
- package/dist/model/NoteInput.js +2 -2
- package/dist/model/Notefile.js +5 -3
- package/dist/model/NotefileSchema.js +6 -4
- package/dist/model/NotehubRoute.js +8 -4
- package/dist/model/NotehubRouteSummary.js +7 -2
- package/dist/model/OAuth2Error.js +2 -2
- package/dist/model/OAuth2TokenResponse.js +2 -2
- package/dist/model/Organization.js +6 -4
- package/dist/model/OrganizationRole.js +1 -1
- package/dist/model/Product.js +9 -5
- package/dist/model/Project.js +8 -5
- package/dist/model/ProjectMember.js +6 -5
- package/dist/model/ProjectSecret.js +8 -8
- package/dist/model/ProvisionDeviceRequest.js +6 -6
- package/dist/model/ProxyRoute.js +7 -2
- package/dist/model/QubitroRoute.js +8 -2
- package/dist/model/RadRoute.js +10 -2
- package/dist/model/Repository.js +4 -4
- package/dist/model/RepositoryListResponse.js +4 -3
- package/dist/model/RepositoryRecord.js +119 -0
- package/dist/model/RepositoryTokenRequest.js +2 -2
- package/dist/model/RepositoryTokenResponse.js +2 -2
- package/dist/model/Role.js +1 -1
- package/dist/model/RouteLog.js +10 -10
- package/dist/model/RouteTransformSettings.js +6 -6
- package/dist/model/RunJob200Response.js +2 -2
- package/dist/model/S3ArchiveRoute.js +17 -2
- package/dist/model/SatelliteDataUsage.js +2 -2
- package/dist/model/SatellitePlan.js +2 -2
- package/dist/model/SchemaProperty.js +7 -5
- package/dist/model/SignalDevice200Response.js +3 -3
- package/dist/model/SimUsage.js +2 -2
- package/dist/model/Skill.js +210 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +60 -41
- package/dist/model/SkillSet.js +185 -0
- package/dist/model/SkillSummary.js +208 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/{GetEventsByCursor200Response.js → SkillWriteResult.js} +62 -65
- package/dist/model/SlackBearerNotification.js +32 -9
- package/dist/model/SlackRoute.js +10 -2
- package/dist/model/SlackWebHookNotification.js +32 -9
- package/dist/model/SnowflakeRoute.js +10 -2
- package/dist/model/SnowpipeStreamingRoute.js +13 -2
- package/dist/model/ThingworxRoute.js +7 -2
- package/dist/model/TowerLocation.js +2 -2
- package/dist/model/TwilioNotification.js +167 -0
- package/dist/model/TwilioRoute.js +10 -2
- package/dist/model/UpdateFleetRequest.js +8 -7
- package/dist/model/UpdateHostFirmwareRequest.js +5 -5
- package/dist/model/UpdateProjectSecretRequest.js +4 -4
- package/dist/model/UploadMetadata.js +2 -2
- package/dist/model/UsageApiData.js +4 -3
- package/dist/model/UsageData.js +8 -4
- package/dist/model/UsageEventsData.js +6 -3
- package/dist/model/UsageEventsResponse.js +5 -4
- package/dist/model/UsageRouteLogsData.js +11 -7
- package/dist/model/UsageSessionsData.js +12 -6
- package/dist/model/UserDfuStateMachine.js +2 -2
- package/dist/model/UserDfuStateMachineStatus.js +2 -2
- package/dist/model/UserFirmwareInfo.js +2 -2
- package/dist/model/WebhookSettings.js +5 -5
- package/package.json +1 -1
- package/dist/api/BillingAccountApi.js +0 -167
- package/dist/model/Login200Response.js +0 -91
- package/dist/model/LoginRequest.js +0 -103
|
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
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
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,13 +29,13 @@ 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
|
|
32
|
+
* @version 7.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>AddDeviceToFleetsRequest</code>.
|
|
37
37
|
* @alias module:model/AddDeviceToFleetsRequest
|
|
38
|
-
* @param fleetUids {Array.<String>}
|
|
38
|
+
* @param fleetUids {Array.<String>} FleetUIDs to add the device to.
|
|
39
39
|
*/
|
|
40
40
|
function AddDeviceToFleetsRequest(fleetUids) {
|
|
41
41
|
_classCallCheck(this, AddDeviceToFleetsRequest);
|
|
@@ -108,7 +108,7 @@ var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
|
108
108
|
AddDeviceToFleetsRequest.RequiredProperties = ["fleet_uids"];
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* FleetUIDs to add the device to.
|
|
112
112
|
* @member {Array.<String>} fleet_uids
|
|
113
113
|
*/
|
|
114
114
|
AddDeviceToFleetsRequest.prototype["fleet_uids"] = undefined;
|
package/dist/model/Alert.js
CHANGED
|
@@ -16,7 +16,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
16
16
|
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); } }
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
-
function _toPrimitive(t,
|
|
19
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
20
20
|
* Notehub API
|
|
21
21
|
* The OpenAPI definition for the Notehub.io API.
|
|
22
22
|
*
|
|
@@ -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
|
|
34
|
+
* @version 7.0.0-beta.1
|
|
35
35
|
*/
|
|
36
36
|
var Alert = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -203,24 +203,25 @@ var Alert = /*#__PURE__*/function () {
|
|
|
203
203
|
Alert.prototype["alert_source"] = undefined;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* When the alert was raised, as a Unix timestamp in seconds.
|
|
207
207
|
* @member {Number} created_at
|
|
208
208
|
*/
|
|
209
209
|
Alert.prototype["created_at"] = undefined;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
+
* Readings recorded while the alert was open (for usage monitors, the latest total). Empty unless `aggregate_function` is `none`.
|
|
212
213
|
* @member {Array.<module:model/AlertDataInner>} data
|
|
213
214
|
*/
|
|
214
215
|
Alert.prototype["data"] = undefined;
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
|
-
*
|
|
218
|
+
* DeviceUID
|
|
218
219
|
* @member {String} device_uid
|
|
219
220
|
*/
|
|
220
221
|
Alert.prototype["device_uid"] = undefined;
|
|
221
222
|
|
|
222
223
|
/**
|
|
223
|
-
* The
|
|
224
|
+
* The monitor's `source_selector`.
|
|
224
225
|
* @member {String} field_name
|
|
225
226
|
*/
|
|
226
227
|
Alert.prototype["field_name"] = undefined;
|
|
@@ -232,18 +233,19 @@ Alert.prototype["field_name"] = undefined;
|
|
|
232
233
|
Alert.prototype["monitor_name"] = undefined;
|
|
233
234
|
|
|
234
235
|
/**
|
|
235
|
-
* The
|
|
236
|
+
* The `source_type` of the monitor that raised the alert.
|
|
236
237
|
* @member {module:model/Alert.MonitorTypeEnum} monitor_type
|
|
237
238
|
*/
|
|
238
239
|
Alert.prototype["monitor_type"] = undefined;
|
|
239
240
|
|
|
240
241
|
/**
|
|
241
|
-
*
|
|
242
|
+
* MonitorUID
|
|
242
243
|
* @member {String} monitor_uid
|
|
243
244
|
*/
|
|
244
245
|
Alert.prototype["monitor_uid"] = undefined;
|
|
245
246
|
|
|
246
247
|
/**
|
|
248
|
+
* The notifications sent for the alert.
|
|
247
249
|
* @member {Array.<module:model/AlertNotificationsInner>} notifications
|
|
248
250
|
*/
|
|
249
251
|
Alert.prototype["notifications"] = undefined;
|
|
@@ -261,7 +263,7 @@ Alert.prototype["resolved"] = undefined;
|
|
|
261
263
|
Alert.prototype["source"] = undefined;
|
|
262
264
|
|
|
263
265
|
/**
|
|
264
|
-
*
|
|
266
|
+
* AlertUID
|
|
265
267
|
* @member {String} uid
|
|
266
268
|
*/
|
|
267
269
|
Alert.prototype["uid"] = undefined;
|
|
@@ -308,9 +310,14 @@ Alert["MonitorTypeEnum"] = {
|
|
|
308
310
|
*/
|
|
309
311
|
event: "event",
|
|
310
312
|
/**
|
|
311
|
-
* value: "
|
|
313
|
+
* value: "heartbeat"
|
|
312
314
|
* @const
|
|
313
315
|
*/
|
|
314
|
-
|
|
316
|
+
heartbeat: "heartbeat",
|
|
317
|
+
/**
|
|
318
|
+
* value: "usage"
|
|
319
|
+
* @const
|
|
320
|
+
*/
|
|
321
|
+
usage: "usage"
|
|
315
322
|
};
|
|
316
323
|
var _default = exports["default"] = Alert;
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -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
|
|
29
|
+
* @version 7.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var AlertDataInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -128,7 +128,7 @@ AlertDataInner.prototype["alert_source"] = undefined;
|
|
|
128
128
|
AlertDataInner.prototype["source"] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* The
|
|
131
|
+
* The `source_type` of the monitor that raised the alert.
|
|
132
132
|
* @member {module:model/AlertDataInner.SourceTypeEnum} source_type
|
|
133
133
|
*/
|
|
134
134
|
AlertDataInner.prototype["source_type"] = undefined;
|
|
@@ -181,9 +181,14 @@ AlertDataInner["SourceTypeEnum"] = {
|
|
|
181
181
|
*/
|
|
182
182
|
event: "event",
|
|
183
183
|
/**
|
|
184
|
-
* value: "
|
|
184
|
+
* value: "heartbeat"
|
|
185
185
|
* @const
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
heartbeat: "heartbeat",
|
|
188
|
+
/**
|
|
189
|
+
* value: "usage"
|
|
190
|
+
* @const
|
|
191
|
+
*/
|
|
192
|
+
usage: "usage"
|
|
188
193
|
};
|
|
189
194
|
var _default = exports["default"] = AlertDataInner;
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -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
|
|
29
|
+
* @version 7.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -95,7 +95,7 @@ var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
|
95
95
|
}]);
|
|
96
96
|
}();
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* How the notification was sent. - `email`: by email - `slack-webhook`: to a Slack webhook - `slack-bearer`: through a Slack app, with a bearer token - `twilio`: by SMS, through Twilio
|
|
99
99
|
* @member {module:model/AlertNotificationsInner.NotificationTypeEnum} notification_type
|
|
100
100
|
*/
|
|
101
101
|
AlertNotificationsInner.prototype["notification_type"] = undefined;
|
|
@@ -124,9 +124,19 @@ AlertNotificationsInner["NotificationTypeEnum"] = {
|
|
|
124
124
|
*/
|
|
125
125
|
email: "email",
|
|
126
126
|
/**
|
|
127
|
-
* value: "slack"
|
|
127
|
+
* value: "slack-webhook"
|
|
128
128
|
* @const
|
|
129
129
|
*/
|
|
130
|
-
slack: "slack"
|
|
130
|
+
"slack-webhook": "slack-webhook",
|
|
131
|
+
/**
|
|
132
|
+
* value: "slack-bearer"
|
|
133
|
+
* @const
|
|
134
|
+
*/
|
|
135
|
+
"slack-bearer": "slack-bearer",
|
|
136
|
+
/**
|
|
137
|
+
* value: "twilio"
|
|
138
|
+
* @const
|
|
139
|
+
*/
|
|
140
|
+
twilio: "twilio"
|
|
131
141
|
};
|
|
132
142
|
var _default = exports["default"] = AlertNotificationsInner;
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ArchiveStats model module.
|
|
28
28
|
* @module model/ArchiveStats
|
|
29
|
-
* @version
|
|
29
|
+
* @version 7.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var ArchiveStats = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/AwsRoute.js
CHANGED
|
@@ -13,7 +13,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
13
13
|
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); } }
|
|
14
14
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
-
function _toPrimitive(t,
|
|
16
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
@@ -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
|
|
31
|
+
* @version 7.0.0-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -173,21 +173,25 @@ var AwsRoute = /*#__PURE__*/function () {
|
|
|
173
173
|
}]);
|
|
174
174
|
}();
|
|
175
175
|
/**
|
|
176
|
+
* AWS access key ID. Required for `*-with-access-key` and `aws-iot-analytics`.
|
|
176
177
|
* @member {String} access_key_id
|
|
177
178
|
*/
|
|
178
179
|
AwsRoute.prototype["access_key_id"] = undefined;
|
|
179
180
|
|
|
180
181
|
/**
|
|
182
|
+
* AWS secret access key for `access_key_id`. Required with it. Returned as `(omitted)`; send `(omitted)` to keep the stored value.
|
|
181
183
|
* @member {String} access_key_secret
|
|
182
184
|
*/
|
|
183
185
|
AwsRoute.prototype["access_key_secret"] = undefined;
|
|
184
186
|
|
|
185
187
|
/**
|
|
188
|
+
* AWS IoT Analytics channel name; placeholders are filled in per event. Required for `aws-iot-analytics`.
|
|
186
189
|
* @member {String} channel
|
|
187
190
|
*/
|
|
188
191
|
AwsRoute.prototype["channel"] = undefined;
|
|
189
192
|
|
|
190
193
|
/**
|
|
194
|
+
* Has no effect for this route type.
|
|
191
195
|
* @member {Boolean} disable_http_headers
|
|
192
196
|
*/
|
|
193
197
|
AwsRoute.prototype["disable_http_headers"] = undefined;
|
|
@@ -198,42 +202,49 @@ AwsRoute.prototype["disable_http_headers"] = undefined;
|
|
|
198
202
|
AwsRoute.prototype["filter"] = undefined;
|
|
199
203
|
|
|
200
204
|
/**
|
|
205
|
+
* FleetUIDs to send events from. Omit for all fleets; on create, `[]` sends none. Unknown UIDs are dropped.
|
|
201
206
|
* @member {Array.<String>} fleets
|
|
202
207
|
*/
|
|
203
208
|
AwsRoute.prototype["fleets"] = undefined;
|
|
204
209
|
|
|
205
210
|
/**
|
|
211
|
+
* Has no effect for this route type.
|
|
206
212
|
* @member {Object.<String, String>} http_headers
|
|
207
213
|
*/
|
|
208
214
|
AwsRoute.prototype["http_headers"] = undefined;
|
|
209
215
|
|
|
210
216
|
/**
|
|
217
|
+
* SQS FIFO message deduplication ID; placeholders are filled in per event. Optional.
|
|
211
218
|
* @member {String} message_deduplication_id
|
|
212
219
|
*/
|
|
213
220
|
AwsRoute.prototype["message_deduplication_id"] = undefined;
|
|
214
221
|
|
|
215
222
|
/**
|
|
223
|
+
* SQS FIFO message group ID; placeholders such as `[device]` are filled in per event. Required for `aws-sqs-fifo` types.
|
|
216
224
|
* @member {String} message_group_id
|
|
217
225
|
*/
|
|
218
226
|
AwsRoute.prototype["message_group_id"] = undefined;
|
|
219
227
|
|
|
220
228
|
/**
|
|
229
|
+
* AWS region used to sign requests, e.g. `us-east-1`. Required for `*-with-access-key`, `aws-sqs-with-role` and `aws-iot-analytics`.
|
|
221
230
|
* @member {String} region
|
|
222
231
|
*/
|
|
223
232
|
AwsRoute.prototype["region"] = undefined;
|
|
224
233
|
|
|
225
234
|
/**
|
|
226
|
-
*
|
|
235
|
+
* ARN of the IAM role Notehub assumes to send to SQS; trust the account and external ID from `GetAWSRoleConfig`. Required for `aws-sqs-with-role`.
|
|
227
236
|
* @member {String} role_arn
|
|
228
237
|
*/
|
|
229
238
|
AwsRoute.prototype["role_arn"] = undefined;
|
|
230
239
|
|
|
231
240
|
/**
|
|
241
|
+
* Minimum milliseconds between deliveries on this route; extra events wait their turn. `0` or omitted means no limit.
|
|
232
242
|
* @member {Number} throttle_ms
|
|
233
243
|
*/
|
|
234
244
|
AwsRoute.prototype["throttle_ms"] = undefined;
|
|
235
245
|
|
|
236
246
|
/**
|
|
247
|
+
* Seconds to wait for the destination to respond. `0` or omitted uses 15.
|
|
237
248
|
* @member {Number} timeout
|
|
238
249
|
*/
|
|
239
250
|
AwsRoute.prototype["timeout"] = undefined;
|
|
@@ -244,6 +255,7 @@ AwsRoute.prototype["timeout"] = undefined;
|
|
|
244
255
|
AwsRoute.prototype["transform"] = undefined;
|
|
245
256
|
|
|
246
257
|
/**
|
|
258
|
+
* Lambda or API Gateway URL, or SQS queue URL. Required, except for `aws-iot-analytics`, which ignores it.
|
|
247
259
|
* @member {String} url
|
|
248
260
|
*/
|
|
249
261
|
AwsRoute.prototype["url"] = undefined;
|
package/dist/model/AzureRoute.js
CHANGED
|
@@ -13,7 +13,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
13
13
|
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); } }
|
|
14
14
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
-
function _toPrimitive(t,
|
|
16
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
@@ -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
|
|
31
|
+
* @version 7.0.0-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var AzureRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -142,31 +142,37 @@ var AzureRoute = /*#__PURE__*/function () {
|
|
|
142
142
|
AzureRoute.prototype["filter"] = undefined;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
+
* FleetUIDs to send events from. Omit for all fleets; on create, `[]` sends none. Unknown UIDs are dropped.
|
|
145
146
|
* @member {Array.<String>} fleets
|
|
146
147
|
*/
|
|
147
148
|
AzureRoute.prototype["fleets"] = undefined;
|
|
148
149
|
|
|
149
150
|
/**
|
|
151
|
+
* Function key, sent in `x-functions-key`. Required for `azure-function-with-key`. Returned as `(omitted)`; send that to keep it.
|
|
150
152
|
* @member {String} functions_key_secret
|
|
151
153
|
*/
|
|
152
154
|
AzureRoute.prototype["functions_key_secret"] = undefined;
|
|
153
155
|
|
|
154
156
|
/**
|
|
157
|
+
* Key for `sas_policy_name`, used to sign each request. Required for the SAS type. Returned as `(omitted)`; send `(omitted)` to keep the stored value.
|
|
155
158
|
* @member {String} sas_policy_key
|
|
156
159
|
*/
|
|
157
160
|
AzureRoute.prototype["sas_policy_key"] = undefined;
|
|
158
161
|
|
|
159
162
|
/**
|
|
163
|
+
* Service Bus shared access policy name. Required for `azure-service-bus-with-sas-token`.
|
|
160
164
|
* @member {String} sas_policy_name
|
|
161
165
|
*/
|
|
162
166
|
AzureRoute.prototype["sas_policy_name"] = undefined;
|
|
163
167
|
|
|
164
168
|
/**
|
|
169
|
+
* Minimum milliseconds between deliveries on this route; extra events wait their turn. `0` or omitted means no limit.
|
|
165
170
|
* @member {Number} throttle_ms
|
|
166
171
|
*/
|
|
167
172
|
AzureRoute.prototype["throttle_ms"] = undefined;
|
|
168
173
|
|
|
169
174
|
/**
|
|
175
|
+
* Seconds to wait for the destination to respond. `0` or omitted uses 15.
|
|
170
176
|
* @member {Number} timeout
|
|
171
177
|
*/
|
|
172
178
|
AzureRoute.prototype["timeout"] = undefined;
|
|
@@ -177,6 +183,7 @@ AzureRoute.prototype["timeout"] = undefined;
|
|
|
177
183
|
AzureRoute.prototype["transform"] = undefined;
|
|
178
184
|
|
|
179
185
|
/**
|
|
186
|
+
* Azure Function URL, or for `azure-service-bus-with-sas-token` the send URL `https://<namespace>.servicebus.windows.net/<queue>/messages`. Required.
|
|
180
187
|
* @member {String} url
|
|
181
188
|
*/
|
|
182
189
|
AzureRoute.prototype["url"] = undefined;
|
|
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
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
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The BatchJobNoteRequest model module.
|
|
31
31
|
* @module model/BatchJobNoteRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var BatchJobNoteRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
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); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Notehub API
|
|
20
20
|
* The OpenAPI definition for the Notehub.io API.
|
|
21
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The BatchJobRequests model module.
|
|
32
32
|
* @module model/BatchJobRequests
|
|
33
|
-
* @version
|
|
33
|
+
* @version 7.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var BatchJobRequests = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -177,6 +177,7 @@ var BatchJobRequests = /*#__PURE__*/function () {
|
|
|
177
177
|
}]);
|
|
178
178
|
}();
|
|
179
179
|
/**
|
|
180
|
+
* Optional free-form note.
|
|
180
181
|
* @member {String} comment
|
|
181
182
|
*/
|
|
182
183
|
BatchJobRequests.prototype["comment"] = undefined;
|
|
@@ -206,19 +207,19 @@ BatchJobRequests.prototype["disable"] = undefined;
|
|
|
206
207
|
BatchJobRequests.prototype["enable"] = undefined;
|
|
207
208
|
|
|
208
209
|
/**
|
|
209
|
-
*
|
|
210
|
+
* FleetUIDs to assign to the device if it has no fleets
|
|
210
211
|
* @member {Array.<String>} fleets_to_default
|
|
211
212
|
*/
|
|
212
213
|
BatchJobRequests.prototype["fleets_to_default"] = undefined;
|
|
213
214
|
|
|
214
215
|
/**
|
|
215
|
-
*
|
|
216
|
+
* FleetUIDs to add the device to
|
|
216
217
|
* @member {Array.<String>} fleets_to_join
|
|
217
218
|
*/
|
|
218
219
|
BatchJobRequests.prototype["fleets_to_join"] = undefined;
|
|
219
220
|
|
|
220
221
|
/**
|
|
221
|
-
*
|
|
222
|
+
* FleetUIDs to remove the device from
|
|
222
223
|
* @member {Array.<String>} fleets_to_leave
|
|
223
224
|
*/
|
|
224
225
|
BatchJobRequests.prototype["fleets_to_leave"] = undefined;
|
|
@@ -230,7 +231,7 @@ BatchJobRequests.prototype["fleets_to_leave"] = undefined;
|
|
|
230
231
|
BatchJobRequests.prototype["note_reqs"] = undefined;
|
|
231
232
|
|
|
232
233
|
/**
|
|
233
|
-
*
|
|
234
|
+
* ProductUID to provision the device with if not already provisioned
|
|
234
235
|
* @member {String} provision_product
|
|
235
236
|
*/
|
|
236
237
|
BatchJobRequests.prototype["provision_product"] = undefined;
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
15
|
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); } }
|
|
16
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Notehub API
|
|
20
20
|
* The OpenAPI definition for the Notehub.io API.
|
|
21
21
|
*
|
|
@@ -30,15 +30,15 @@ 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
|
|
33
|
+
* @version 7.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>BillingAccount</code>.
|
|
38
38
|
* @alias module:model/BillingAccount
|
|
39
|
-
* @param name {String}
|
|
39
|
+
* @param name {String} Organization name.
|
|
40
40
|
* @param role {module:model/BillingAccountRole}
|
|
41
|
-
* @param uid {String}
|
|
41
|
+
* @param uid {String} Organization UID.
|
|
42
42
|
*/
|
|
43
43
|
function BillingAccount(name, role, uid) {
|
|
44
44
|
_classCallCheck(this, BillingAccount);
|
|
@@ -123,6 +123,7 @@ var BillingAccount = /*#__PURE__*/function () {
|
|
|
123
123
|
BillingAccount.RequiredProperties = ["name", "role", "uid"];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
+
* Organization name.
|
|
126
127
|
* @member {String} name
|
|
127
128
|
*/
|
|
128
129
|
BillingAccount.prototype["name"] = undefined;
|
|
@@ -133,6 +134,7 @@ BillingAccount.prototype["name"] = undefined;
|
|
|
133
134
|
BillingAccount.prototype["role"] = undefined;
|
|
134
135
|
|
|
135
136
|
/**
|
|
137
|
+
* Organization UID.
|
|
136
138
|
* @member {String} uid
|
|
137
139
|
*/
|
|
138
140
|
BillingAccount.prototype["uid"] = undefined;
|
|
@@ -12,7 +12,7 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
|
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
-
function _toPrimitive(t,
|
|
15
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
package/dist/model/BlynkRoute.js
CHANGED
|
@@ -13,7 +13,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
13
13
|
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); } }
|
|
14
14
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
-
function _toPrimitive(t,
|
|
16
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
@@ -28,11 +28,12 @@ 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
|
|
31
|
+
* @version 7.0.0-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var BlynkRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>BlynkRoute</code>.
|
|
36
|
+
* Settings for a Blynk route. Each device needs a `blynk_device_token` environment variable.
|
|
36
37
|
* @alias module:model/BlynkRoute
|
|
37
38
|
*/
|
|
38
39
|
function BlynkRoute() {
|
|
@@ -121,21 +122,25 @@ var BlynkRoute = /*#__PURE__*/function () {
|
|
|
121
122
|
BlynkRoute.prototype["filter"] = undefined;
|
|
122
123
|
|
|
123
124
|
/**
|
|
125
|
+
* FleetUIDs to send events from. Omit for all fleets; on create, `[]` sends none. Unknown UIDs are dropped.
|
|
124
126
|
* @member {Array.<String>} fleets
|
|
125
127
|
*/
|
|
126
128
|
BlynkRoute.prototype["fleets"] = undefined;
|
|
127
129
|
|
|
128
130
|
/**
|
|
131
|
+
* Blynk server region: `<region>` in `https://<region>.blynk.cloud`. Required.
|
|
129
132
|
* @member {String} region
|
|
130
133
|
*/
|
|
131
134
|
BlynkRoute.prototype["region"] = undefined;
|
|
132
135
|
|
|
133
136
|
/**
|
|
137
|
+
* Minimum milliseconds between deliveries on this route; extra events wait their turn. `0` or omitted means no limit.
|
|
134
138
|
* @member {Number} throttle_ms
|
|
135
139
|
*/
|
|
136
140
|
BlynkRoute.prototype["throttle_ms"] = undefined;
|
|
137
141
|
|
|
138
142
|
/**
|
|
143
|
+
* Seconds to wait for the destination to respond. `0` or omitted uses 15.
|
|
139
144
|
* @member {Number} timeout
|
|
140
145
|
*/
|
|
141
146
|
BlynkRoute.prototype["timeout"] = undefined;
|
package/dist/model/Body.js
CHANGED
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -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
|
|
29
|
+
* @version 7.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var Body = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -81,6 +81,7 @@ var Body = /*#__PURE__*/function () {
|
|
|
81
81
|
}]);
|
|
82
82
|
}();
|
|
83
83
|
/**
|
|
84
|
+
* The JSON object to send to the Notecard. Must not have a `type` field, which the Notecard reserves.
|
|
84
85
|
* @member {Object} body
|
|
85
86
|
*/
|
|
86
87
|
Body.prototype["body"] = undefined;
|
|
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
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
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -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
|
|
32
|
+
* @version 7.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var CancelJobRun200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|