@blues-inc/notehub-js 6.7.0-beta.9 → 7.0.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.
- package/README.md +154 -151
- package/dist/ApiClient.js +3 -3
- package/dist/api/AlertApi.js +12 -10
- package/dist/api/AuthorizationApi.js +12 -51
- package/dist/api/DescriptionApi.js +50 -34
- package/dist/api/DeviceApi.js +273 -142
- package/dist/api/EventApi.js +66 -205
- package/dist/api/ExternalDevicesApi.js +20 -14
- package/dist/api/JobsApi.js +58 -40
- package/dist/api/MonitorApi.js +28 -18
- package/dist/api/OrganizationApi.js +26 -20
- package/dist/api/ProjectApi.js +258 -170
- package/dist/api/RouteApi.js +54 -42
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +74 -64
- package/dist/api/WebhookApi.js +68 -46
- 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 +15 -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 +2 -2
- package/dist/model/AzureRoute.js +2 -2
- package/dist/model/BatchJobNoteRequest.js +2 -2
- package/dist/model/BatchJobRequests.js +6 -6
- package/dist/model/BillingAccount.js +2 -2
- package/dist/model/BillingAccountRole.js +1 -1
- package/dist/model/BlynkRoute.js +2 -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 +2 -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 +2 -2
- package/dist/model/DataField.js +2 -2
- package/dist/model/DataSet.js +5 -5
- package/dist/model/DataSetField.js +3 -3
- package/dist/model/DataUsage.js +2 -2
- package/dist/model/DatacakeRoute.js +2 -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 +2 -2
- package/dist/model/Device.js +28 -9
- package/dist/model/DeviceDfuHistory.js +4 -3
- package/dist/model/DeviceDfuHistoryCurrent.js +3 -3
- package/dist/model/DeviceDfuHistoryPage.js +3 -3
- package/dist/model/DeviceDfuStateMachine.js +3 -2
- package/dist/model/DeviceDfuStateMachineNode.js +3 -3
- package/dist/model/DeviceDfuStatus.js +4 -4
- package/dist/model/DeviceDfuStatusPage.js +3 -3
- package/dist/model/DeviceSensor.js +2 -2
- package/dist/model/DeviceSession.js +6 -6
- package/dist/model/DeviceTowerInfo.js +7 -2
- package/dist/model/DeviceUsage.js +2 -2
- package/dist/model/DfuActionRequest.js +3 -3
- package/dist/model/EmailNotification.js +30 -7
- package/dist/model/EnvTreeJsonNode.js +2 -2
- package/dist/model/EnvVar.js +2 -2
- package/dist/model/EnvironmentVariables.js +2 -2
- package/dist/model/Error.js +2 -2
- package/dist/model/Event.js +8 -8
- package/dist/model/Filter.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +4 -2
- package/dist/model/GetDeviceSessions200Response.js +3 -3
- package/dist/model/GetDevices200Response.js +3 -3
- package/dist/model/GetEvents200Response.js +2 -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 +2 -2
- 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 +2 -2
- package/dist/model/HealthLog.js +8 -5
- package/dist/model/HttpRoute.js +2 -2
- package/dist/model/Job.js +2 -2
- package/dist/model/JobDefinition.js +3 -3
- package/dist/model/JobDefinitionReportOptions.js +2 -2
- package/dist/model/JobDefinitionSelect.js +4 -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 +2 -2
- package/dist/model/Note.js +3 -3
- package/dist/model/NoteInput.js +2 -2
- package/dist/model/Notefile.js +3 -2
- 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 +2 -2
- package/dist/model/QubitroRoute.js +2 -2
- package/dist/model/RadRoute.js +2 -2
- package/dist/model/Repository.js +4 -4
- package/dist/model/RepositoryListResponse.js +2 -2
- 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 +2 -2
- package/dist/model/RunJob200Response.js +2 -2
- package/dist/model/S3ArchiveRoute.js +2 -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 +207 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +60 -41
- package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +76 -52
- package/dist/model/SkillSummary.js +205 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/SkillWriteResult.js +153 -0
- package/dist/model/SlackBearerNotification.js +32 -9
- package/dist/model/SlackRoute.js +2 -2
- package/dist/model/SlackWebHookNotification.js +32 -9
- package/dist/model/SnowflakeRoute.js +2 -2
- package/dist/model/SnowpipeStreamingRoute.js +2 -2
- package/dist/model/ThingworxRoute.js +2 -2
- package/dist/model/TowerLocation.js +2 -2
- package/dist/model/TwilioNotification.js +167 -0
- package/dist/model/TwilioRoute.js +2 -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 +2 -2
- package/dist/model/UsageData.js +2 -2
- package/dist/model/UsageEventsData.js +2 -2
- package/dist/model/UsageEventsResponse.js +3 -3
- package/dist/model/UsageRouteLogsData.js +3 -3
- package/dist/model/UsageSessionsData.js +2 -2
- 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
|
@@ -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, 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); } /**
|
|
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, 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); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The BlynkRoute model module.
|
|
30
30
|
* @module model/BlynkRoute
|
|
31
|
-
* @version
|
|
31
|
+
* @version 7.0.0
|
|
32
32
|
*/
|
|
33
33
|
var BlynkRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
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, 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); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The Body model module.
|
|
28
28
|
* @module model/Body
|
|
29
|
-
* @version
|
|
29
|
+
* @version 7.0.0
|
|
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, 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
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CancelJobRun200Response model module.
|
|
31
31
|
* @module model/CancelJobRun200Response
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CancelJobRun200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
12
12
|
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); } }
|
|
13
13
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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, 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); } /**
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
/**
|
|
28
28
|
* The CellularPlan model module.
|
|
29
29
|
* @module model/CellularPlan
|
|
30
|
-
* @version
|
|
30
|
+
* @version 7.0.0
|
|
31
31
|
*/
|
|
32
32
|
var CellularPlan = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -131,6 +131,7 @@ CellularPlan.prototype["activated"] = undefined;
|
|
|
131
131
|
CellularPlan.prototype["data_usage"] = undefined;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
+
* When the current plan expires, as a Unix timestamp in seconds. Omitted on the Essentials plan.
|
|
134
135
|
* @member {Number} expires_at
|
|
135
136
|
*/
|
|
136
137
|
CellularPlan.prototype["expires_at"] = undefined;
|
|
@@ -148,7 +149,7 @@ CellularPlan.prototype["iccid"] = undefined;
|
|
|
148
149
|
CellularPlan.prototype["imsi"] = undefined;
|
|
149
150
|
|
|
150
151
|
/**
|
|
151
|
-
*
|
|
152
|
+
* When this plan information was last updated, as a Unix timestamp in seconds.
|
|
152
153
|
* @member {Number} last_updated
|
|
153
154
|
*/
|
|
154
155
|
CellularPlan.prototype["last_updated"] = 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, 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
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CloneProjectRequest model module.
|
|
31
31
|
* @module model/CloneProjectRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CloneProjectRequest</code>.
|
|
37
37
|
* @alias module:model/CloneProjectRequest
|
|
38
|
-
* @param billingAccountUid {String}
|
|
39
|
-
* @param label {String}
|
|
38
|
+
* @param billingAccountUid {String} UID of the organization that owns the new project. List them with `GetBillingAccounts`.
|
|
39
|
+
* @param label {String} Name of the new project.
|
|
40
40
|
*/
|
|
41
41
|
function CloneProjectRequest(billingAccountUid, label) {
|
|
42
42
|
_classCallCheck(this, CloneProjectRequest);
|
|
@@ -123,25 +123,25 @@ var CloneProjectRequest = /*#__PURE__*/function () {
|
|
|
123
123
|
CloneProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* UID of the organization that owns the new project. List them with `GetBillingAccounts`.
|
|
127
127
|
* @member {String} billing_account_uid
|
|
128
128
|
*/
|
|
129
129
|
CloneProjectRequest.prototype["billing_account_uid"] = undefined;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* If `true`, the new project gets one default fleet instead of copies of this project's fleets. Default `false`.
|
|
133
133
|
* @member {Boolean} disable_clone_fleets
|
|
134
134
|
*/
|
|
135
135
|
CloneProjectRequest.prototype["disable_clone_fleets"] = undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* If `true`, the new project starts with no routes. Default `false`.
|
|
139
139
|
* @member {Boolean} disable_clone_routes
|
|
140
140
|
*/
|
|
141
141
|
CloneProjectRequest.prototype["disable_clone_routes"] = undefined;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Name of the new project.
|
|
145
145
|
* @member {String} label
|
|
146
146
|
*/
|
|
147
147
|
CloneProjectRequest.prototype["label"] = undefined;
|
package/dist/model/Contact.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, 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); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The Contact model module.
|
|
28
28
|
* @module model/Contact
|
|
29
|
-
* @version
|
|
29
|
+
* @version 7.0.0
|
|
30
30
|
*/
|
|
31
31
|
var Contact = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
12
12
|
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); } }
|
|
13
13
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), 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, 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); } /**
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateFleetRequest model module.
|
|
29
29
|
* @module model/CreateFleetRequest
|
|
30
|
-
* @version
|
|
30
|
+
* @version 7.0.0
|
|
31
31
|
*/
|
|
32
32
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -109,18 +109,19 @@ var CreateFleetRequest = /*#__PURE__*/function () {
|
|
|
109
109
|
CreateFleetRequest.prototype["connectivity_assurance"] = undefined;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Fleet name shown in Notehub. Required.
|
|
113
113
|
* @member {String} label
|
|
114
114
|
*/
|
|
115
115
|
CreateFleetRequest.prototype["label"] = undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* JSONata expression
|
|
118
|
+
* JSONata expression for smart fleet membership: `1` adds the device, `-1` removes it, and `0` or an error leaves it unchanged.
|
|
119
119
|
* @member {String} smart_rule
|
|
120
120
|
*/
|
|
121
121
|
CreateFleetRequest.prototype["smart_rule"] = undefined;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
+
* If `true`, `smart_rule` adds and removes devices. Default `false`.
|
|
124
125
|
* @member {Boolean} smart_rule_enabled
|
|
125
126
|
*/
|
|
126
127
|
CreateFleetRequest.prototype["smart_rule_enabled"] = 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, 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
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateJob201Response model module.
|
|
31
31
|
* @module model/CreateJob201Response
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateJob201Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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, 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); } /**
|
|
20
20
|
* Notehub API
|
|
21
21
|
* The OpenAPI definition for the Notehub.io API.
|
|
22
22
|
*
|
|
@@ -31,15 +31,15 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateMonitor model module.
|
|
33
33
|
* @module model/CreateMonitor
|
|
34
|
-
* @version
|
|
34
|
+
* @version 7.0.0
|
|
35
35
|
*/
|
|
36
36
|
var CreateMonitor = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
38
38
|
* Constructs a new <code>CreateMonitor</code>.
|
|
39
39
|
* @alias module:model/CreateMonitor
|
|
40
40
|
* @implements module:model/Monitor
|
|
41
|
-
* @param alertRoutes {Array.<module:model/MonitorAlertRoutesInner>}
|
|
42
|
-
* @param name {String}
|
|
41
|
+
* @param alertRoutes {Array.<module:model/MonitorAlertRoutesInner>} Where to send notifications, by email, Slack or Twilio. Required to create a monitor.
|
|
42
|
+
* @param name {String} Monitor name. Required to create a monitor.
|
|
43
43
|
* @param threshold {Number} The value that condition_type compares against. For heartbeat monitors this is seconds of inactivity; for usage monitors it is bytes.
|
|
44
44
|
*/
|
|
45
45
|
function CreateMonitor(alertRoutes, name, threshold) {
|
|
@@ -249,13 +249,13 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
249
249
|
CreateMonitor.RequiredProperties = ["alert_routes", "name", "threshold"];
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
252
|
+
* How values in `aggregate_window` are combined before the comparison. - `none`: compare each value on its own - `avg`, `max`, `min`, `sum`: compare the average, largest, smallest or total - `count`: compare the number of matching events; needs no `source_selector`
|
|
253
253
|
* @member {module:model/CreateMonitor.AggregateFunctionEnum} aggregate_function
|
|
254
254
|
*/
|
|
255
255
|
CreateMonitor.prototype["aggregate_function"] = undefined;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
|
-
* The time window
|
|
258
|
+
* The time window for `aggregate_function`, such as `10m` or `5h30m40s`.
|
|
259
259
|
* @member {String} aggregate_window
|
|
260
260
|
*/
|
|
261
261
|
CreateMonitor.prototype["aggregate_window"] = undefined;
|
|
@@ -267,17 +267,19 @@ CreateMonitor.prototype["aggregate_window"] = undefined;
|
|
|
267
267
|
CreateMonitor.prototype["alert"] = undefined;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
|
+
* Where to send notifications, by email, Slack or Twilio. Required to create a monitor.
|
|
270
271
|
* @member {Array.<module:model/MonitorAlertRoutesInner>} alert_routes
|
|
271
272
|
*/
|
|
272
273
|
CreateMonitor.prototype["alert_routes"] = undefined;
|
|
273
274
|
|
|
274
275
|
/**
|
|
275
|
-
*
|
|
276
|
+
* How the value is compared with `threshold`. Required for event and usage monitors; heartbeat monitors always use `greater_than_or_equal_to`.
|
|
276
277
|
* @member {module:model/CreateMonitor.ConditionTypeEnum} condition_type
|
|
277
278
|
*/
|
|
278
279
|
CreateMonitor.prototype["condition_type"] = undefined;
|
|
279
280
|
|
|
280
281
|
/**
|
|
282
|
+
* Free-form description.
|
|
281
283
|
* @member {String} description
|
|
282
284
|
* @default ''
|
|
283
285
|
*/
|
|
@@ -290,34 +292,37 @@ CreateMonitor.prototype["description"] = "";
|
|
|
290
292
|
CreateMonitor.prototype["disabled"] = undefined;
|
|
291
293
|
|
|
292
294
|
/**
|
|
295
|
+
* Watch only devices in these fleets (FleetUIDs).
|
|
293
296
|
* @member {Array.<String>} fleet_filter
|
|
294
297
|
*/
|
|
295
298
|
CreateMonitor.prototype["fleet_filter"] = undefined;
|
|
296
299
|
|
|
297
300
|
/**
|
|
298
|
-
*
|
|
301
|
+
* When the monitor last sent notifications.
|
|
299
302
|
* @member {String} last_routed_at
|
|
300
303
|
*/
|
|
301
304
|
CreateMonitor.prototype["last_routed_at"] = undefined;
|
|
302
305
|
|
|
303
306
|
/**
|
|
307
|
+
* Monitor name. Required to create a monitor.
|
|
304
308
|
* @member {String} name
|
|
305
309
|
*/
|
|
306
310
|
CreateMonitor.prototype["name"] = undefined;
|
|
307
311
|
|
|
308
312
|
/**
|
|
313
|
+
* Watch only events from these notefiles, e.g. `data.qo`. Not allowed for heartbeat monitors.
|
|
309
314
|
* @member {Array.<String>} notefile_filter
|
|
310
315
|
*/
|
|
311
316
|
CreateMonitor.prototype["notefile_filter"] = undefined;
|
|
312
317
|
|
|
313
318
|
/**
|
|
314
|
-
*
|
|
319
|
+
* With an `aggregate_function`, aggregate each device on its own, so one device can raise an alert. If false, aggregate across all devices.
|
|
315
320
|
* @member {Boolean} per_device
|
|
316
321
|
*/
|
|
317
322
|
CreateMonitor.prototype["per_device"] = undefined;
|
|
318
323
|
|
|
319
324
|
/**
|
|
320
|
-
*
|
|
325
|
+
* How long to wait after notifying before notifying again, such as `10m` or `5h30m`. Defaults to `5m`.
|
|
321
326
|
* @member {String} routing_cooldown_period
|
|
322
327
|
*/
|
|
323
328
|
CreateMonitor.prototype["routing_cooldown_period"] = undefined;
|
|
@@ -329,13 +334,13 @@ CreateMonitor.prototype["routing_cooldown_period"] = undefined;
|
|
|
329
334
|
CreateMonitor.prototype["silenced"] = undefined;
|
|
330
335
|
|
|
331
336
|
/**
|
|
332
|
-
*
|
|
337
|
+
* Dot path to a numeric value inside the event body, such as `temperature`, not `body.temperature`. Required for event monitors unless `aggregate_function` is `count`.
|
|
333
338
|
* @member {String} source_selector
|
|
334
339
|
*/
|
|
335
340
|
CreateMonitor.prototype["source_selector"] = undefined;
|
|
336
341
|
|
|
337
342
|
/**
|
|
338
|
-
*
|
|
343
|
+
* What the monitor watches. Defaults to `event` on create. - `event`: a numeric value in event bodies, read with `source_selector` - `heartbeat`: devices that go `threshold` seconds without activity - `usage`: cellular or satellite data usage
|
|
339
344
|
* @member {module:model/CreateMonitor.SourceTypeEnum} source_type
|
|
340
345
|
* @default 'event'
|
|
341
346
|
*/
|
|
@@ -348,36 +353,37 @@ CreateMonitor.prototype["source_type"] = "event";
|
|
|
348
353
|
CreateMonitor.prototype["threshold"] = undefined;
|
|
349
354
|
|
|
350
355
|
/**
|
|
356
|
+
* MonitorUID, `monitor:` followed by a UUID.
|
|
351
357
|
* @member {String} uid
|
|
352
358
|
*/
|
|
353
359
|
CreateMonitor.prototype["uid"] = undefined;
|
|
354
360
|
|
|
355
361
|
/**
|
|
356
|
-
* For usage monitors
|
|
362
|
+
* For usage monitors, what usage is summed over. - `device`: each device on its own - `fleet`: each fleet in `fleet_filter` on its own. Requires `fleet_filter`, or the monitor never fires.
|
|
357
363
|
* @member {String} usage_scope
|
|
358
364
|
*/
|
|
359
365
|
CreateMonitor.prototype["usage_scope"] = undefined;
|
|
360
366
|
|
|
361
367
|
/**
|
|
362
|
-
* For usage monitors
|
|
368
|
+
* For usage monitors, which data to watch. - `cellular`: cellular data - `satellite`: satellite data
|
|
363
369
|
* @member {String} usage_type
|
|
364
370
|
*/
|
|
365
371
|
CreateMonitor.prototype["usage_type"] = undefined;
|
|
366
372
|
|
|
367
373
|
/**
|
|
368
|
-
* For usage monitors
|
|
374
|
+
* For usage monitors, the rolling window to sum usage over, in days, e.g. `30`.
|
|
369
375
|
* @member {Number} usage_window
|
|
370
376
|
*/
|
|
371
377
|
CreateMonitor.prototype["usage_window"] = undefined;
|
|
372
378
|
|
|
373
379
|
// Implement Monitor interface:
|
|
374
380
|
/**
|
|
375
|
-
*
|
|
381
|
+
* How values in `aggregate_window` are combined before the comparison. - `none`: compare each value on its own - `avg`, `max`, `min`, `sum`: compare the average, largest, smallest or total - `count`: compare the number of matching events; needs no `source_selector`
|
|
376
382
|
* @member {module:model/Monitor.AggregateFunctionEnum} aggregate_function
|
|
377
383
|
*/
|
|
378
384
|
_Monitor["default"].prototype["aggregate_function"] = undefined;
|
|
379
385
|
/**
|
|
380
|
-
* The time window
|
|
386
|
+
* The time window for `aggregate_function`, such as `10m` or `5h30m40s`.
|
|
381
387
|
* @member {String} aggregate_window
|
|
382
388
|
*/
|
|
383
389
|
_Monitor["default"].prototype["aggregate_window"] = undefined;
|
|
@@ -387,15 +393,17 @@ _Monitor["default"].prototype["aggregate_window"] = undefined;
|
|
|
387
393
|
*/
|
|
388
394
|
_Monitor["default"].prototype["alert"] = undefined;
|
|
389
395
|
/**
|
|
396
|
+
* Where to send notifications, by email, Slack or Twilio. Required to create a monitor.
|
|
390
397
|
* @member {Array.<module:model/MonitorAlertRoutesInner>} alert_routes
|
|
391
398
|
*/
|
|
392
399
|
_Monitor["default"].prototype["alert_routes"] = undefined;
|
|
393
400
|
/**
|
|
394
|
-
*
|
|
401
|
+
* How the value is compared with `threshold`. Required for event and usage monitors; heartbeat monitors always use `greater_than_or_equal_to`.
|
|
395
402
|
* @member {module:model/Monitor.ConditionTypeEnum} condition_type
|
|
396
403
|
*/
|
|
397
404
|
_Monitor["default"].prototype["condition_type"] = undefined;
|
|
398
405
|
/**
|
|
406
|
+
* Free-form description.
|
|
399
407
|
* @member {String} description
|
|
400
408
|
* @default ''
|
|
401
409
|
*/
|
|
@@ -406,29 +414,32 @@ _Monitor["default"].prototype["description"] = "";
|
|
|
406
414
|
*/
|
|
407
415
|
_Monitor["default"].prototype["disabled"] = undefined;
|
|
408
416
|
/**
|
|
417
|
+
* Watch only devices in these fleets (FleetUIDs).
|
|
409
418
|
* @member {Array.<String>} fleet_filter
|
|
410
419
|
*/
|
|
411
420
|
_Monitor["default"].prototype["fleet_filter"] = undefined;
|
|
412
421
|
/**
|
|
413
|
-
*
|
|
422
|
+
* When the monitor last sent notifications.
|
|
414
423
|
* @member {String} last_routed_at
|
|
415
424
|
*/
|
|
416
425
|
_Monitor["default"].prototype["last_routed_at"] = undefined;
|
|
417
426
|
/**
|
|
427
|
+
* Monitor name. Required to create a monitor.
|
|
418
428
|
* @member {String} name
|
|
419
429
|
*/
|
|
420
430
|
_Monitor["default"].prototype["name"] = undefined;
|
|
421
431
|
/**
|
|
432
|
+
* Watch only events from these notefiles, e.g. `data.qo`. Not allowed for heartbeat monitors.
|
|
422
433
|
* @member {Array.<String>} notefile_filter
|
|
423
434
|
*/
|
|
424
435
|
_Monitor["default"].prototype["notefile_filter"] = undefined;
|
|
425
436
|
/**
|
|
426
|
-
*
|
|
437
|
+
* With an `aggregate_function`, aggregate each device on its own, so one device can raise an alert. If false, aggregate across all devices.
|
|
427
438
|
* @member {Boolean} per_device
|
|
428
439
|
*/
|
|
429
440
|
_Monitor["default"].prototype["per_device"] = undefined;
|
|
430
441
|
/**
|
|
431
|
-
*
|
|
442
|
+
* How long to wait after notifying before notifying again, such as `10m` or `5h30m`. Defaults to `5m`.
|
|
432
443
|
* @member {String} routing_cooldown_period
|
|
433
444
|
*/
|
|
434
445
|
_Monitor["default"].prototype["routing_cooldown_period"] = undefined;
|
|
@@ -438,12 +449,12 @@ _Monitor["default"].prototype["routing_cooldown_period"] = undefined;
|
|
|
438
449
|
*/
|
|
439
450
|
_Monitor["default"].prototype["silenced"] = undefined;
|
|
440
451
|
/**
|
|
441
|
-
*
|
|
452
|
+
* Dot path to a numeric value inside the event body, such as `temperature`, not `body.temperature`. Required for event monitors unless `aggregate_function` is `count`.
|
|
442
453
|
* @member {String} source_selector
|
|
443
454
|
*/
|
|
444
455
|
_Monitor["default"].prototype["source_selector"] = undefined;
|
|
445
456
|
/**
|
|
446
|
-
*
|
|
457
|
+
* What the monitor watches. Defaults to `event` on create. - `event`: a numeric value in event bodies, read with `source_selector` - `heartbeat`: devices that go `threshold` seconds without activity - `usage`: cellular or satellite data usage
|
|
447
458
|
* @member {module:model/Monitor.SourceTypeEnum} source_type
|
|
448
459
|
* @default 'event'
|
|
449
460
|
*/
|
|
@@ -454,21 +465,22 @@ _Monitor["default"].prototype["source_type"] = "event";
|
|
|
454
465
|
*/
|
|
455
466
|
_Monitor["default"].prototype["threshold"] = undefined;
|
|
456
467
|
/**
|
|
468
|
+
* MonitorUID, `monitor:` followed by a UUID.
|
|
457
469
|
* @member {String} uid
|
|
458
470
|
*/
|
|
459
471
|
_Monitor["default"].prototype["uid"] = undefined;
|
|
460
472
|
/**
|
|
461
|
-
* For usage monitors
|
|
473
|
+
* For usage monitors, what usage is summed over. - `device`: each device on its own - `fleet`: each fleet in `fleet_filter` on its own. Requires `fleet_filter`, or the monitor never fires.
|
|
462
474
|
* @member {String} usage_scope
|
|
463
475
|
*/
|
|
464
476
|
_Monitor["default"].prototype["usage_scope"] = undefined;
|
|
465
477
|
/**
|
|
466
|
-
* For usage monitors
|
|
478
|
+
* For usage monitors, which data to watch. - `cellular`: cellular data - `satellite`: satellite data
|
|
467
479
|
* @member {String} usage_type
|
|
468
480
|
*/
|
|
469
481
|
_Monitor["default"].prototype["usage_type"] = undefined;
|
|
470
482
|
/**
|
|
471
|
-
* For usage monitors
|
|
483
|
+
* For usage monitors, the rolling window to sum usage over, in days, e.g. `30`.
|
|
472
484
|
* @member {Number} usage_window
|
|
473
485
|
*/
|
|
474
486
|
_Monitor["default"].prototype["usage_window"] = 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, 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
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProductRequest model module.
|
|
31
31
|
* @module model/CreateProductRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CreateProductRequest</code>.
|
|
37
37
|
* @alias module:model/CreateProductRequest
|
|
38
|
-
* @param label {String}
|
|
39
|
-
* @param productUid {String}
|
|
38
|
+
* @param label {String} Product name shown in Notehub.
|
|
39
|
+
* @param productUid {String} Suffix of the new ProductUID. Must start with a lowercase letter and contain only lowercase letters, digits, `.`, `_` or `-`.
|
|
40
40
|
*/
|
|
41
41
|
function CreateProductRequest(label, productUid) {
|
|
42
42
|
_classCallCheck(this, CreateProductRequest);
|
|
@@ -127,24 +127,25 @@ var CreateProductRequest = /*#__PURE__*/function () {
|
|
|
127
127
|
CreateProductRequest.RequiredProperties = ["label", "product_uid"];
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
|
+
* FleetUIDs that devices are added to when first provisioned with this ProductUID.
|
|
130
131
|
* @member {Array.<String>} auto_provision_fleets
|
|
131
132
|
*/
|
|
132
133
|
CreateProductRequest.prototype["auto_provision_fleets"] = undefined;
|
|
133
134
|
|
|
134
135
|
/**
|
|
135
|
-
* If `true`, devices provisioned
|
|
136
|
+
* If `true`, devices provisioned with this ProductUID start out disabled.
|
|
136
137
|
* @member {Boolean} disable_devices_by_default
|
|
137
138
|
*/
|
|
138
139
|
CreateProductRequest.prototype["disable_devices_by_default"] = undefined;
|
|
139
140
|
|
|
140
141
|
/**
|
|
141
|
-
*
|
|
142
|
+
* Product name shown in Notehub.
|
|
142
143
|
* @member {String} label
|
|
143
144
|
*/
|
|
144
145
|
CreateProductRequest.prototype["label"] = undefined;
|
|
145
146
|
|
|
146
147
|
/**
|
|
147
|
-
*
|
|
148
|
+
* Suffix of the new ProductUID. Must start with a lowercase letter and contain only lowercase letters, digits, `.`, `_` or `-`.
|
|
148
149
|
* @member {String} product_uid
|
|
149
150
|
*/
|
|
150
151
|
CreateProductRequest.prototype["product_uid"] = 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, 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
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectRequest model module.
|
|
31
31
|
* @module model/CreateProjectRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CreateProjectRequest</code>.
|
|
37
37
|
* @alias module:model/CreateProjectRequest
|
|
38
|
-
* @param billingAccountUid {String}
|
|
39
|
-
* @param label {String}
|
|
38
|
+
* @param billingAccountUid {String} UID of the organization that owns and is billed for the project. List them with `GetBillingAccounts`.
|
|
39
|
+
* @param label {String} Project name shown in Notehub.
|
|
40
40
|
*/
|
|
41
41
|
function CreateProjectRequest(billingAccountUid, label) {
|
|
42
42
|
_classCallCheck(this, CreateProjectRequest);
|
|
@@ -117,13 +117,13 @@ var CreateProjectRequest = /*#__PURE__*/function () {
|
|
|
117
117
|
CreateProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* UID of the organization that owns and is billed for the project. List them with `GetBillingAccounts`.
|
|
121
121
|
* @member {String} billing_account_uid
|
|
122
122
|
*/
|
|
123
123
|
CreateProjectRequest.prototype["billing_account_uid"] = undefined;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* Project name shown in Notehub.
|
|
127
127
|
* @member {String} label
|
|
128
128
|
*/
|
|
129
129
|
CreateProjectRequest.prototype["label"] = undefined;
|