@blues-inc/notehub-js 6.7.0-beta.1 → 6.7.0-beta.10
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 +140 -151
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +3 -3
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +9 -9
- package/dist/api/EventApi.js +5 -150
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +9 -9
- package/dist/api/ProjectApi.js +5 -5
- package/dist/api/RouteApi.js +3 -3
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +28 -77
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +2 -2
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +7 -7
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +7 -7
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +7 -7
- package/dist/model/GetApiUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +7 -7
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +7 -7
- package/dist/model/GetDevices200Response.js +7 -7
- package/dist/model/GetEvents200Response.js +8 -8
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
- package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
- package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
- package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +2 -2
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
- package/dist/api/BillingAccountApi.js +0 -167
- package/dist/model/GetBillingAccounts200Response.js +0 -111
- package/dist/model/GetEventsByCursor200Response.js +0 -170
- package/dist/model/PersonalAccessToken.js +0 -168
- package/dist/model/PersonalAccessTokenCreatedBy.js +0 -116
- package/dist/model/PersonalAccessTokenInfo.js +0 -121
- package/dist/model/PersonalAccessTokenSecret.js +0 -105
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuHistoryPage model module.
|
|
32
32
|
* @module model/DeviceDfuHistoryPage
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuHistoryPage = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -69,8 +69,8 @@ var DeviceDfuHistoryPage = /*#__PURE__*/function () {
|
|
|
69
69
|
if (data.hasOwnProperty("has_more")) {
|
|
70
70
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
71
71
|
}
|
|
72
|
-
if (data.hasOwnProperty("
|
|
73
|
-
obj["
|
|
72
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
73
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
74
74
|
}
|
|
75
75
|
} else if (data === null) {
|
|
76
76
|
return null;
|
|
@@ -107,8 +107,8 @@ var DeviceDfuHistoryPage = /*#__PURE__*/function () {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
// ensure the json data is a string
|
|
110
|
-
if (data["
|
|
111
|
-
throw new Error("Expected the field `
|
|
110
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
111
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
112
112
|
}
|
|
113
113
|
return true;
|
|
114
114
|
}
|
|
@@ -127,7 +127,7 @@ DeviceDfuHistoryPage.prototype["has_more"] = false;
|
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
130
|
-
* @member {String}
|
|
130
|
+
* @member {String} next_cursor
|
|
131
131
|
*/
|
|
132
|
-
DeviceDfuHistoryPage.prototype["
|
|
132
|
+
DeviceDfuHistoryPage.prototype["next_cursor"] = undefined;
|
|
133
133
|
var _default = exports["default"] = DeviceDfuHistoryPage;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuStateMachine model module.
|
|
32
32
|
* @module model/DeviceDfuStateMachine
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuStateMachine = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceDfuStateMachineNode model module.
|
|
28
28
|
* @module model/DeviceDfuStateMachineNode
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var DeviceDfuStateMachineNode = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The DeviceDfuStatus model module.
|
|
30
30
|
* @module model/DeviceDfuStatus
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.10
|
|
32
32
|
*/
|
|
33
33
|
var DeviceDfuStatus = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuStatusPage model module.
|
|
32
32
|
* @module model/DeviceDfuStatusPage
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuStatusPage = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -69,8 +69,8 @@ var DeviceDfuStatusPage = /*#__PURE__*/function () {
|
|
|
69
69
|
if (data.hasOwnProperty("has_more")) {
|
|
70
70
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
71
71
|
}
|
|
72
|
-
if (data.hasOwnProperty("
|
|
73
|
-
obj["
|
|
72
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
73
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
74
74
|
}
|
|
75
75
|
} else if (data === null) {
|
|
76
76
|
return null;
|
|
@@ -107,8 +107,8 @@ var DeviceDfuStatusPage = /*#__PURE__*/function () {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
// ensure the json data is a string
|
|
110
|
-
if (data["
|
|
111
|
-
throw new Error("Expected the field `
|
|
110
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
111
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
112
112
|
}
|
|
113
113
|
return true;
|
|
114
114
|
}
|
|
@@ -127,7 +127,7 @@ DeviceDfuStatusPage.prototype["has_more"] = false;
|
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
130
|
-
* @member {String}
|
|
130
|
+
* @member {String} next_cursor
|
|
131
131
|
*/
|
|
132
|
-
DeviceDfuStatusPage.prototype["
|
|
132
|
+
DeviceDfuStatusPage.prototype["next_cursor"] = undefined;
|
|
133
133
|
var _default = exports["default"] = DeviceDfuStatusPage;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The DeviceSensor model module.
|
|
31
31
|
* @module model/DeviceSensor
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var DeviceSensor = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The DeviceSession model module.
|
|
30
30
|
* @module model/DeviceSession
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.10
|
|
32
32
|
*/
|
|
33
33
|
var DeviceSession = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceTowerInfo model module.
|
|
28
28
|
* @module model/DeviceTowerInfo
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var DeviceTowerInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceUsage model module.
|
|
28
28
|
* @module model/DeviceUsage
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var DeviceUsage = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The DfuActionRequest model module.
|
|
28
28
|
* @module model/DfuActionRequest
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var DfuActionRequest = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The EmailNotification model module.
|
|
28
28
|
* @module model/EmailNotification
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var EmailNotification = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The EnvTreeJsonNode model module.
|
|
32
32
|
* @module model/EnvTreeJsonNode
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var EnvTreeJsonNode = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/EnvVar.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The EnvironmentVariables model module.
|
|
31
31
|
* @module model/EnvironmentVariables
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Error.js
CHANGED
package/dist/model/Event.js
CHANGED
package/dist/model/Filter.js
CHANGED
package/dist/model/Firmware.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The Firmware model module.
|
|
28
28
|
* @module model/Firmware
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var Firmware = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The FirmwareInfo model module.
|
|
28
28
|
* @module model/FirmwareInfo
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var FirmwareInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Fleet.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The FleetConnectivityAssurance model module.
|
|
28
28
|
* @module model/FleetConnectivityAssurance
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var FleetConnectivityAssurance = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetAlerts200Response model module.
|
|
32
32
|
* @module model/GetAlerts200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetAlerts200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -74,8 +74,8 @@ var GetAlerts200Response = /*#__PURE__*/function () {
|
|
|
74
74
|
if (data.hasOwnProperty("has_more")) {
|
|
75
75
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
76
76
|
}
|
|
77
|
-
if (data.hasOwnProperty("
|
|
78
|
-
obj["
|
|
77
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
78
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
79
79
|
}
|
|
80
80
|
} else if (data === null) {
|
|
81
81
|
return null;
|
|
@@ -127,8 +127,8 @@ var GetAlerts200Response = /*#__PURE__*/function () {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
// ensure the json data is a string
|
|
130
|
-
if (data["
|
|
131
|
-
throw new Error("Expected the field `
|
|
130
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
131
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
132
132
|
}
|
|
133
133
|
return true;
|
|
134
134
|
}
|
|
@@ -150,7 +150,7 @@ GetAlerts200Response.prototype["has_more"] = undefined;
|
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
153
|
-
* @member {String}
|
|
153
|
+
* @member {String} next_cursor
|
|
154
154
|
*/
|
|
155
|
-
GetAlerts200Response.prototype["
|
|
155
|
+
GetAlerts200Response.prototype["next_cursor"] = undefined;
|
|
156
156
|
var _default = exports["default"] = GetAlerts200Response;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetApiUsage200Response model module.
|
|
32
32
|
* @module model/GetApiUsage200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetApiUsage200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200Response model module.
|
|
32
32
|
* @module model/GetDataUsage200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200ResponseDataInner model module.
|
|
32
32
|
* @module model/GetDataUsage200ResponseDataInner
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200ResponseDataInner = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The GetDbNote200Response model module.
|
|
28
28
|
* @module model/GetDbNote200Response
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var GetDbNote200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDeviceEnvironmentVariablesByPin200Response model module.
|
|
31
31
|
* @module model/GetDeviceEnvironmentVariablesByPin200Response
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceEnvironmentVariablesByPin200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceFleets200Response model module.
|
|
32
32
|
* @module model/GetDeviceFleets200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceFleets200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceHealthLog200Response model module.
|
|
32
32
|
* @module model/GetDeviceHealthLog200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourney200Response model module.
|
|
32
32
|
* @module model/GetDeviceJourney200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourney200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourney200ResponseJourney model module.
|
|
32
32
|
* @module model/GetDeviceJourney200ResponseJourney
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourney200ResponseJourney = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourneys200Response model module.
|
|
32
32
|
* @module model/GetDeviceJourneys200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourneys200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDeviceJourneys200ResponseJourneysInner model module.
|
|
31
31
|
* @module model/GetDeviceJourneys200ResponseJourneysInner
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceJourneys200ResponseJourneysInner = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceLatestEvents200Response model module.
|
|
32
32
|
* @module model/GetDeviceLatestEvents200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceLatestEvents200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDevicePlans200Response model module.
|
|
32
32
|
* @module model/GetDevicePlans200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDevicePlans200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDevicePublicKey200Response model module.
|
|
31
31
|
* @module model/GetDevicePublicKey200Response
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDevicePublicKeys200Response model module.
|
|
32
32
|
* @module model/GetDevicePublicKeys200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -74,8 +74,8 @@ var GetDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
|
74
74
|
if (data.hasOwnProperty("has_more")) {
|
|
75
75
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
76
76
|
}
|
|
77
|
-
if (data.hasOwnProperty("
|
|
78
|
-
obj["
|
|
77
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
78
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
79
79
|
}
|
|
80
80
|
} else if (data === null) {
|
|
81
81
|
return null;
|
|
@@ -127,8 +127,8 @@ var GetDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
// ensure the json data is a string
|
|
130
|
-
if (data["
|
|
131
|
-
throw new Error("Expected the field `
|
|
130
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
131
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
132
132
|
}
|
|
133
133
|
return true;
|
|
134
134
|
}
|
|
@@ -148,7 +148,7 @@ GetDevicePublicKeys200Response.prototype["has_more"] = undefined;
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
151
|
-
* @member {String}
|
|
151
|
+
* @member {String} next_cursor
|
|
152
152
|
*/
|
|
153
|
-
GetDevicePublicKeys200Response.prototype["
|
|
153
|
+
GetDevicePublicKeys200Response.prototype["next_cursor"] = undefined;
|
|
154
154
|
var _default = exports["default"] = GetDevicePublicKeys200Response;
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The GetDevicePublicKeys200ResponseDevicePublicKeysInner model module.
|
|
28
28
|
* @module model/GetDevicePublicKeys200ResponseDevicePublicKeysInner
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var GetDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceSessions200Response model module.
|
|
32
32
|
* @module model/GetDeviceSessions200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -71,8 +71,8 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
|
71
71
|
if (data.hasOwnProperty("has_more")) {
|
|
72
72
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
73
73
|
}
|
|
74
|
-
if (data.hasOwnProperty("
|
|
75
|
-
obj["
|
|
74
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
75
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
76
76
|
}
|
|
77
77
|
if (data.hasOwnProperty("sessions")) {
|
|
78
78
|
obj["sessions"] = _ApiClient["default"].convertToType(data["sessions"], [_DeviceSession["default"]]);
|
|
@@ -107,8 +107,8 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
|
107
107
|
} finally {
|
|
108
108
|
_iterator.f();
|
|
109
109
|
}
|
|
110
|
-
if (data["
|
|
111
|
-
throw new Error("Expected the field `
|
|
110
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
111
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
112
112
|
}
|
|
113
113
|
if (data["sessions"]) {
|
|
114
114
|
// data not null
|
|
@@ -143,9 +143,9 @@ GetDeviceSessions200Response.prototype["has_more"] = undefined;
|
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
146
|
-
* @member {String}
|
|
146
|
+
* @member {String} next_cursor
|
|
147
147
|
*/
|
|
148
|
-
GetDeviceSessions200Response.prototype["
|
|
148
|
+
GetDeviceSessions200Response.prototype["next_cursor"] = undefined;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* @member {Array.<module:model/DeviceSession>} sessions
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDevices200Response model module.
|
|
32
32
|
* @module model/GetDevices200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.10
|
|
34
34
|
*/
|
|
35
35
|
var GetDevices200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -74,8 +74,8 @@ var GetDevices200Response = /*#__PURE__*/function () {
|
|
|
74
74
|
if (data.hasOwnProperty("has_more")) {
|
|
75
75
|
obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
|
|
76
76
|
}
|
|
77
|
-
if (data.hasOwnProperty("
|
|
78
|
-
obj["
|
|
77
|
+
if (data.hasOwnProperty("next_cursor")) {
|
|
78
|
+
obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
|
|
79
79
|
}
|
|
80
80
|
} else if (data === null) {
|
|
81
81
|
return null;
|
|
@@ -127,8 +127,8 @@ var GetDevices200Response = /*#__PURE__*/function () {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
// ensure the json data is a string
|
|
130
|
-
if (data["
|
|
131
|
-
throw new Error("Expected the field `
|
|
130
|
+
if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
|
|
131
|
+
throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
|
|
132
132
|
}
|
|
133
133
|
return true;
|
|
134
134
|
}
|
|
@@ -148,7 +148,7 @@ GetDevices200Response.prototype["has_more"] = undefined;
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* Pass this opaque value as a cursor parameter to start a search from where the last search left off. Returned even when there are no more results, so it can be used to poll for changes.
|
|
151
|
-
* @member {String}
|
|
151
|
+
* @member {String} next_cursor
|
|
152
152
|
*/
|
|
153
|
-
GetDevices200Response.prototype["
|
|
153
|
+
GetDevices200Response.prototype["next_cursor"] = undefined;
|
|
154
154
|
var _default = exports["default"] = GetDevices200Response;
|