@blues-inc/notehub-js 6.7.0-beta.7 → 6.7.0-beta.70
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 +150 -149
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +3 -3
- package/dist/api/AuthorizationApi.js +9 -48
- package/dist/api/DescriptionApi.js +49 -33
- package/dist/api/DeviceApi.js +195 -133
- package/dist/api/EventApi.js +61 -200
- 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 +253 -165
- package/dist/api/RouteApi.js +51 -39
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +15 -15
- package/dist/api/WebhookApi.js +17 -17
- package/dist/index.js +84 -63
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +4 -4
- 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 +5 -5
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +2 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +3 -2
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +4 -3
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +7 -6
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +3 -1
- package/dist/model/CreatedRepository.js +5 -5
- 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 +4 -4
- package/dist/model/DataSetField.js +2 -2
- 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 +3 -3
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +6 -6
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +27 -8
- package/dist/model/DeviceDfuHistory.js +3 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +2 -1
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +3 -3
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +5 -5
- package/dist/model/DeviceTowerInfo.js +6 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- 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 +7 -7
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/Fleet.js +11 -10
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +3 -3
- 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 +2 -2
- package/dist/model/GetDevicePlans200Response.js +2 -1
- package/dist/model/GetDevicePublicKey200Response.js +5 -3
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- 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 +7 -4
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +2 -2
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +3 -3
- 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 +13 -7
- 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 +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +2 -1
- package/dist/model/NotefileSchema.js +5 -3
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -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 +8 -4
- package/dist/model/Project.js +7 -4
- package/dist/model/ProjectMember.js +5 -4
- package/dist/model/ProjectSecret.js +7 -7
- package/dist/model/ProvisionDeviceRequest.js +5 -5
- 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 +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/{Login200Response.js → RepositoryRecord.js} +52 -24
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- 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 +6 -4
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +207 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +59 -40
- package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +75 -51
- 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 +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 +7 -6
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +3 -3
- 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 +2 -2
- 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/LoginRequest.js +0 -103
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _GetOrganizationBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./GetOrganizationBalanceHistory200ResponseDataInner"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
11
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -28,18 +28,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* The GetOrganizationBalanceHistory200Response model module.
|
|
32
|
+
* @module model/GetOrganizationBalanceHistory200Response
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
|
-
var
|
|
35
|
+
var GetOrganizationBalanceHistory200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
37
|
+
* Constructs a new <code>GetOrganizationBalanceHistory200Response</code>.
|
|
38
|
+
* @alias module:model/GetOrganizationBalanceHistory200Response
|
|
39
39
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
40
|
+
function GetOrganizationBalanceHistory200Response() {
|
|
41
|
+
_classCallCheck(this, GetOrganizationBalanceHistory200Response);
|
|
42
|
+
GetOrganizationBalanceHistory200Response.initialize(this);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -47,24 +47,24 @@ var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
47
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
48
|
* Only for internal use.
|
|
49
49
|
*/
|
|
50
|
-
return _createClass(
|
|
50
|
+
return _createClass(GetOrganizationBalanceHistory200Response, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
52
|
value: function initialize(obj) {}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Constructs a <code>
|
|
55
|
+
* Constructs a <code>GetOrganizationBalanceHistory200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
56
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
57
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/
|
|
59
|
-
* @return {module:model/
|
|
58
|
+
* @param {module:model/GetOrganizationBalanceHistory200Response} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/GetOrganizationBalanceHistory200Response} The populated <code>GetOrganizationBalanceHistory200Response</code> instance.
|
|
60
60
|
*/
|
|
61
61
|
}, {
|
|
62
62
|
key: "constructFromObject",
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
|
-
obj = obj || new
|
|
65
|
+
obj = obj || new GetOrganizationBalanceHistory200Response();
|
|
66
66
|
if (data.hasOwnProperty("data")) {
|
|
67
|
-
obj["data"] = _ApiClient["default"].convertToType(data["data"], [
|
|
67
|
+
obj["data"] = _ApiClient["default"].convertToType(data["data"], [_GetOrganizationBalanceHistory200ResponseDataInner["default"]]);
|
|
68
68
|
}
|
|
69
69
|
} else if (data === null) {
|
|
70
70
|
return null;
|
|
@@ -73,9 +73,9 @@ var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* Validates the JSON data with respect to <code>
|
|
76
|
+
* Validates the JSON data with respect to <code>GetOrganizationBalanceHistory200Response</code>.
|
|
77
77
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
78
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetOrganizationBalanceHistory200Response</code>.
|
|
79
79
|
*/
|
|
80
80
|
}, {
|
|
81
81
|
key: "validateJSON",
|
|
@@ -92,7 +92,7 @@ var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
92
92
|
try {
|
|
93
93
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
94
94
|
var item = _step.value;
|
|
95
|
-
|
|
95
|
+
_GetOrganizationBalanceHistory200ResponseDataInner["default"].validateJsonObject(item);
|
|
96
96
|
}
|
|
97
97
|
} catch (err) {
|
|
98
98
|
_iterator.e(err);
|
|
@@ -105,7 +105,7 @@ var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
105
105
|
}]);
|
|
106
106
|
}();
|
|
107
107
|
/**
|
|
108
|
-
* @member {Array.<module:model/
|
|
108
|
+
* @member {Array.<module:model/GetOrganizationBalanceHistory200ResponseDataInner>} data
|
|
109
109
|
*/
|
|
110
|
-
|
|
111
|
-
var _default = exports["default"] =
|
|
110
|
+
GetOrganizationBalanceHistory200Response.prototype["data"] = undefined;
|
|
111
|
+
var _default = exports["default"] = GetOrganizationBalanceHistory200Response;
|
|
@@ -27,21 +27,21 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
|
-
* The
|
|
31
|
-
* @module model/
|
|
32
|
-
* @version 6.7.0-beta.
|
|
30
|
+
* The GetOrganizationBalanceHistory200ResponseDataInner model module.
|
|
31
|
+
* @module model/GetOrganizationBalanceHistory200ResponseDataInner
|
|
32
|
+
* @version 6.7.0-beta.70
|
|
33
33
|
*/
|
|
34
|
-
var
|
|
34
|
+
var GetOrganizationBalanceHistory200ResponseDataInner = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
|
-
* Constructs a new <code>
|
|
37
|
-
* @alias module:model/
|
|
36
|
+
* Constructs a new <code>GetOrganizationBalanceHistory200ResponseDataInner</code>.
|
|
37
|
+
* @alias module:model/GetOrganizationBalanceHistory200ResponseDataInner
|
|
38
38
|
* @param period {Date}
|
|
39
39
|
* @param remainingEventCapacity {Number}
|
|
40
40
|
* @param totalEventCapacityUsed {Number}
|
|
41
41
|
*/
|
|
42
|
-
function
|
|
43
|
-
_classCallCheck(this,
|
|
44
|
-
|
|
42
|
+
function GetOrganizationBalanceHistory200ResponseDataInner(period, remainingEventCapacity, totalEventCapacityUsed) {
|
|
43
|
+
_classCallCheck(this, GetOrganizationBalanceHistory200ResponseDataInner);
|
|
44
|
+
GetOrganizationBalanceHistory200ResponseDataInner.initialize(this, period, remainingEventCapacity, totalEventCapacityUsed);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -49,7 +49,7 @@ var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function
|
|
|
49
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
50
|
* Only for internal use.
|
|
51
51
|
*/
|
|
52
|
-
return _createClass(
|
|
52
|
+
return _createClass(GetOrganizationBalanceHistory200ResponseDataInner, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
54
|
value: function initialize(obj, period, remainingEventCapacity, totalEventCapacityUsed) {
|
|
55
55
|
obj["period"] = period;
|
|
@@ -58,17 +58,17 @@ var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Constructs a <code>
|
|
61
|
+
* Constructs a <code>GetOrganizationBalanceHistory200ResponseDataInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
62
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
63
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
-
* @param {module:model/
|
|
65
|
-
* @return {module:model/
|
|
64
|
+
* @param {module:model/GetOrganizationBalanceHistory200ResponseDataInner} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/GetOrganizationBalanceHistory200ResponseDataInner} The populated <code>GetOrganizationBalanceHistory200ResponseDataInner</code> instance.
|
|
66
66
|
*/
|
|
67
67
|
}, {
|
|
68
68
|
key: "constructFromObject",
|
|
69
69
|
value: function constructFromObject(data, obj) {
|
|
70
70
|
if (data) {
|
|
71
|
-
obj = obj || new
|
|
71
|
+
obj = obj || new GetOrganizationBalanceHistory200ResponseDataInner();
|
|
72
72
|
if (data.hasOwnProperty("period")) {
|
|
73
73
|
obj["period"] = _ApiClient["default"].convertToType(data["period"], "Date");
|
|
74
74
|
}
|
|
@@ -85,15 +85,15 @@ var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Validates the JSON data with respect to <code>
|
|
88
|
+
* Validates the JSON data with respect to <code>GetOrganizationBalanceHistory200ResponseDataInner</code>.
|
|
89
89
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetOrganizationBalanceHistory200ResponseDataInner</code>.
|
|
91
91
|
*/
|
|
92
92
|
}, {
|
|
93
93
|
key: "validateJSON",
|
|
94
94
|
value: function validateJSON(data) {
|
|
95
95
|
// check to make sure all required properties are present in the JSON string
|
|
96
|
-
var _iterator = _createForOfIteratorHelper(
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(GetOrganizationBalanceHistory200ResponseDataInner.RequiredProperties),
|
|
97
97
|
_step;
|
|
98
98
|
try {
|
|
99
99
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -111,20 +111,20 @@ var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function
|
|
|
111
111
|
}
|
|
112
112
|
}]);
|
|
113
113
|
}();
|
|
114
|
-
|
|
114
|
+
GetOrganizationBalanceHistory200ResponseDataInner.RequiredProperties = ["period", "remaining_event_capacity", "total_event_capacity_used"];
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* @member {Date} period
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
GetOrganizationBalanceHistory200ResponseDataInner.prototype["period"] = undefined;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* @member {Number} remaining_event_capacity
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
GetOrganizationBalanceHistory200ResponseDataInner.prototype["remaining_event_capacity"] = undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* @member {Number} total_event_capacity_used
|
|
128
128
|
*/
|
|
129
|
-
|
|
130
|
-
var _default = exports["default"] =
|
|
129
|
+
GetOrganizationBalanceHistory200ResponseDataInner.prototype["total_event_capacity_used"] = undefined;
|
|
130
|
+
var _default = exports["default"] = GetOrganizationBalanceHistory200ResponseDataInner;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetOrganizations200Response model module.
|
|
32
32
|
* @module model/GetOrganizations200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetOrganizations200Response = /*#__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 GetProducts200Response model module.
|
|
32
32
|
* @module model/GetProducts200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetProducts200Response = /*#__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 GetProjectMembers200Response model module.
|
|
32
32
|
* @module model/GetProjectMembers200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetProjectMembers200Response = /*#__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 GetProjectSecretsResponse model module.
|
|
32
32
|
* @module model/GetProjectSecretsResponse
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetProjectSecretsResponse = /*#__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 GetProjects200Response model module.
|
|
32
32
|
* @module model/GetProjects200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetProjects200Response = /*#__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 GetRouteLogsUsage200Response model module.
|
|
32
32
|
* @module model/GetRouteLogsUsage200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetRouteLogsUsage200Response = /*#__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 GetSessionsUsage200Response model module.
|
|
32
32
|
* @module model/GetSessionsUsage200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetSessionsUsage200Response = /*#__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 GetWebhooks200Response model module.
|
|
32
32
|
* @module model/GetWebhooks200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var GetWebhooks200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The GoogleRoute model module.
|
|
30
30
|
* @module model/GoogleRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var GoogleRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/HealthLog.js
CHANGED
|
@@ -29,15 +29,15 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The HealthLog model module.
|
|
31
31
|
* @module model/HealthLog
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var HealthLog = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>HealthLog</code>.
|
|
37
37
|
* @alias module:model/HealthLog
|
|
38
|
-
* @param alert {Boolean}
|
|
39
|
-
* @param text {String}
|
|
40
|
-
* @param when {Date}
|
|
38
|
+
* @param alert {Boolean} True if the entry was flagged as an alert.
|
|
39
|
+
* @param text {String} The log message. Restart entries begin with `boot`.
|
|
40
|
+
* @param when {Date} When the entry was recorded.
|
|
41
41
|
*/
|
|
42
42
|
function HealthLog(alert, text, when) {
|
|
43
43
|
_classCallCheck(this, HealthLog);
|
|
@@ -118,16 +118,19 @@ var HealthLog = /*#__PURE__*/function () {
|
|
|
118
118
|
HealthLog.RequiredProperties = ["alert", "text", "when"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
+
* True if the entry was flagged as an alert.
|
|
121
122
|
* @member {Boolean} alert
|
|
122
123
|
*/
|
|
123
124
|
HealthLog.prototype["alert"] = undefined;
|
|
124
125
|
|
|
125
126
|
/**
|
|
127
|
+
* The log message. Restart entries begin with `boot`.
|
|
126
128
|
* @member {String} text
|
|
127
129
|
*/
|
|
128
130
|
HealthLog.prototype["text"] = undefined;
|
|
129
131
|
|
|
130
132
|
/**
|
|
133
|
+
* When the entry was recorded.
|
|
131
134
|
* @member {Date} when
|
|
132
135
|
*/
|
|
133
136
|
HealthLog.prototype["when"] = undefined;
|
package/dist/model/HttpRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The HttpRoute model module.
|
|
30
30
|
* @module model/HttpRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var HttpRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/Job.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The JobDefinition model module.
|
|
31
31
|
* @module model/JobDefinition
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var JobDefinition = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -129,7 +129,7 @@ JobDefinition.prototype["comment"] = undefined;
|
|
|
129
129
|
JobDefinition.prototype["default_requests"] = undefined;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* Device-specific request overrides, keyed by
|
|
132
|
+
* Device-specific request overrides, keyed by DeviceUID
|
|
133
133
|
* @member {Object.<String, module:model/BatchJobRequests>} device_requests
|
|
134
134
|
*/
|
|
135
135
|
JobDefinition.prototype["device_requests"] = undefined;
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The JobDefinitionReportOptions model module.
|
|
28
28
|
* @module model/JobDefinitionReportOptions
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
var JobDefinitionReportOptions = /*#__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 JobDefinitionSelect model module.
|
|
28
28
|
* @module model/JobDefinitionSelect
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
var JobDefinitionSelect = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -121,7 +121,7 @@ JobDefinitionSelect.prototype["all_devices"] = undefined;
|
|
|
121
121
|
JobDefinitionSelect.prototype["comment"] = undefined;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
* Specific
|
|
124
|
+
* Specific DeviceUIDs to include
|
|
125
125
|
* @member {Array.<String>} devices
|
|
126
126
|
*/
|
|
127
127
|
JobDefinitionSelect.prototype["devices"] = undefined;
|
|
@@ -133,7 +133,7 @@ JobDefinitionSelect.prototype["devices"] = undefined;
|
|
|
133
133
|
JobDefinitionSelect.prototype["devices_by_sn"] = undefined;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* FleetUIDs whose devices should be included
|
|
137
137
|
* @member {Array.<String>} devices_in_fleets
|
|
138
138
|
*/
|
|
139
139
|
JobDefinitionSelect.prototype["devices_in_fleets"] = undefined;
|
package/dist/model/JobDetail.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
32
32
|
/**
|
|
33
33
|
* The JobDetail model module.
|
|
34
34
|
* @module model/JobDetail
|
|
35
|
-
* @version 6.7.0-beta.
|
|
35
|
+
* @version 6.7.0-beta.70
|
|
36
36
|
*/
|
|
37
37
|
var JobDetail = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
/**
|
|
28
28
|
* The JobDetailAllOf model module.
|
|
29
29
|
* @module model/JobDetailAllOf
|
|
30
|
-
* @version 6.7.0-beta.
|
|
30
|
+
* @version 6.7.0-beta.70
|
|
31
31
|
*/
|
|
32
32
|
var JobDetailAllOf = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/JobRun.js
CHANGED
package/dist/model/Location.js
CHANGED
|
@@ -29,18 +29,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The Location model module.
|
|
31
31
|
* @module model/Location
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var Location = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>Location</code>.
|
|
37
37
|
* @alias module:model/Location
|
|
38
|
-
* @param country {String}
|
|
39
|
-
* @param latitude {Number}
|
|
40
|
-
* @param longitude {Number}
|
|
41
|
-
* @param name {String}
|
|
42
|
-
* @param timezone {String}
|
|
43
|
-
* @param when {String}
|
|
38
|
+
* @param country {String} Two-letter country code, e.g. `US`.
|
|
39
|
+
* @param latitude {Number} Latitude in degrees.
|
|
40
|
+
* @param longitude {Number} Longitude in degrees.
|
|
41
|
+
* @param name {String} Place name, e.g. `Waverly MI`.
|
|
42
|
+
* @param timezone {String} IANA time zone, e.g. `America/Detroit`.
|
|
43
|
+
* @param when {String} When the location was recorded, in RFC 3339 format. Empty if unknown.
|
|
44
44
|
*/
|
|
45
45
|
function Location(country, latitude, longitude, name, timezone, when) {
|
|
46
46
|
_classCallCheck(this, Location);
|
|
@@ -145,31 +145,37 @@ var Location = /*#__PURE__*/function () {
|
|
|
145
145
|
Location.RequiredProperties = ["country", "latitude", "longitude", "name", "timezone", "when"];
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
+
* Two-letter country code, e.g. `US`.
|
|
148
149
|
* @member {String} country
|
|
149
150
|
*/
|
|
150
151
|
Location.prototype["country"] = undefined;
|
|
151
152
|
|
|
152
153
|
/**
|
|
154
|
+
* Latitude in degrees.
|
|
153
155
|
* @member {Number} latitude
|
|
154
156
|
*/
|
|
155
157
|
Location.prototype["latitude"] = undefined;
|
|
156
158
|
|
|
157
159
|
/**
|
|
160
|
+
* Longitude in degrees.
|
|
158
161
|
* @member {Number} longitude
|
|
159
162
|
*/
|
|
160
163
|
Location.prototype["longitude"] = undefined;
|
|
161
164
|
|
|
162
165
|
/**
|
|
166
|
+
* Place name, e.g. `Waverly MI`.
|
|
163
167
|
* @member {String} name
|
|
164
168
|
*/
|
|
165
169
|
Location.prototype["name"] = undefined;
|
|
166
170
|
|
|
167
171
|
/**
|
|
172
|
+
* IANA time zone, e.g. `America/Detroit`.
|
|
168
173
|
* @member {String} timezone
|
|
169
174
|
*/
|
|
170
175
|
Location.prototype["timezone"] = undefined;
|
|
171
176
|
|
|
172
177
|
/**
|
|
178
|
+
* When the location was recorded, in RFC 3339 format. Empty if unknown.
|
|
173
179
|
* @member {String} when
|
|
174
180
|
*/
|
|
175
181
|
Location.prototype["when"] = undefined;
|
package/dist/model/Monitor.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* The MonitorAlertRoutesInner model module.
|
|
33
33
|
* @module model/MonitorAlertRoutesInner
|
|
34
|
-
* @version 6.7.0-beta.
|
|
34
|
+
* @version 6.7.0-beta.70
|
|
35
35
|
*/
|
|
36
36
|
var MonitorAlertRoutesInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/MqttRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The MqttRoute model module.
|
|
30
30
|
* @module model/MqttRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var MqttRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/Note.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The Note model module.
|
|
31
31
|
* @module model/Note
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var Note = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -172,7 +172,7 @@ Note.prototype["pending"] = undefined;
|
|
|
172
172
|
Note.prototype["time"] = undefined;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* Place name where the note was created, from its latitude and longitude. Empty if unknown.
|
|
176
176
|
* @member {String} where
|
|
177
177
|
*/
|
|
178
178
|
Note.prototype["where"] = undefined;
|
package/dist/model/NoteInput.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The NoteInput model module.
|
|
28
28
|
* @module model/NoteInput
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
var NoteInput = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Notefile.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The Notefile model module.
|
|
32
32
|
* @module model/Notefile
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var Notefile = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -152,6 +152,7 @@ Notefile.prototype["id"] = undefined;
|
|
|
152
152
|
Notefile.prototype["notes"] = undefined;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
+
* The notefile's body template, if it has one.
|
|
155
156
|
* @member {String} template
|
|
156
157
|
*/
|
|
157
158
|
Notefile.prototype["template"] = undefined;
|
|
@@ -30,14 +30,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The NotefileSchema model module.
|
|
32
32
|
* @module model/NotefileSchema
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var NotefileSchema = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>NotefileSchema</code>.
|
|
38
38
|
* @alias module:model/NotefileSchema
|
|
39
|
-
* @param notefile {String}
|
|
40
|
-
* @param properties {Array.<module:model/SchemaProperty>}
|
|
39
|
+
* @param notefile {String} Notefile name, e.g. `sensors.qo`.
|
|
40
|
+
* @param properties {Array.<module:model/SchemaProperty>} Fields seen in this Notefile's event `body`. Event envelope fields such as `when` and `device` are not included.
|
|
41
41
|
*/
|
|
42
42
|
function NotefileSchema(notefile, properties) {
|
|
43
43
|
_classCallCheck(this, NotefileSchema);
|
|
@@ -134,11 +134,13 @@ var NotefileSchema = /*#__PURE__*/function () {
|
|
|
134
134
|
NotefileSchema.RequiredProperties = ["notefile", "properties"];
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
+
* Notefile name, e.g. `sensors.qo`.
|
|
137
138
|
* @member {String} notefile
|
|
138
139
|
*/
|
|
139
140
|
NotefileSchema.prototype["notefile"] = undefined;
|
|
140
141
|
|
|
141
142
|
/**
|
|
143
|
+
* Fields seen in this Notefile's event `body`. Event envelope fields such as `when` and `device` are not included.
|
|
142
144
|
* @member {Array.<module:model/SchemaProperty>} properties
|
|
143
145
|
*/
|
|
144
146
|
NotefileSchema.prototype["properties"] = undefined;
|