@blues-inc/notehub-js 2.3.0 → 3.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 +46 -45
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +806 -794
- package/dist/api/EventApi.js +83 -83
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +228 -228
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +24 -3
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +80 -73
- package/dist/model/{PutDeviceFleetsRequest.js → AddDeviceToFleetsRequest.js} +20 -20
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.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/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/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- 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/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/{DeleteDeviceFleetsRequest.js → DeleteDeviceFromFleetsRequest.js} +20 -20
- package/dist/model/{HandleNotefileDeleteRequest.js → DeleteNotefilesRequest.js} +19 -19
- 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 +1 -1
- 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 +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 +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/{HandleNoteGet200Response.js → GetDbNote200Response.js} +20 -20
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/{GetDeviceLatest200Response.js → GetDeviceLatestEvents200Response.js} +18 -18
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/{GetProjectDevicePublicKeys200Response.js → GetDevicePublicKeys200Response.js} +26 -26
- package/dist/model/{GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js → GetDevicePublicKeys200ResponseDevicePublicKeysInner.js} +19 -19
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/{GetProjectDevices200Response.js → GetDevices200Response.js} +21 -21
- package/dist/model/{GetProjectEvents200Response.js → GetEvents200Response.js} +22 -22
- package/dist/model/{GetProjectEventsByCursor200Response.js → GetEventsByCursor200Response.js} +22 -22
- package/dist/model/{HandleNoteChanges200Response.js → GetNotefile200Response.js} +20 -20
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjects200Response.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/HttpRoute.js +1 -1
- package/dist/model/{HandleNotefileChanges200Response.js → ListNotefiles200Response.js} +20 -20
- package/dist/model/{HandleNotefileChangesPending200Response.js → ListPendingNotefiles200Response.js} +21 -21
- 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/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +15 -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/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.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/{PostProvisionProjectDeviceRequest.js → ProvisionDeviceRequest.js} +22 -22
- 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/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/{HandleNoteSignal200Response.js → SignalDevice200Response.js} +18 -18
- 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 +223 -0
- 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/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +12 -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
|
@@ -18,6 +18,7 @@ var _RadRoute = _interopRequireDefault(require("./RadRoute"));
|
|
|
18
18
|
var _S3ArchiveRoute = _interopRequireDefault(require("./S3ArchiveRoute"));
|
|
19
19
|
var _SlackRoute = _interopRequireDefault(require("./SlackRoute"));
|
|
20
20
|
var _SnowflakeRoute = _interopRequireDefault(require("./SnowflakeRoute"));
|
|
21
|
+
var _SnowpipeStreamingRoute = _interopRequireDefault(require("./SnowpipeStreamingRoute"));
|
|
21
22
|
var _ThingworxRoute = _interopRequireDefault(require("./ThingworxRoute"));
|
|
22
23
|
var _TwilioRoute = _interopRequireDefault(require("./TwilioRoute"));
|
|
23
24
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -41,7 +42,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
41
42
|
/**
|
|
42
43
|
* The NotehubRoute model module.
|
|
43
44
|
* @module model/NotehubRoute
|
|
44
|
-
* @version
|
|
45
|
+
* @version 3.0.0
|
|
45
46
|
*/
|
|
46
47
|
var NotehubRoute = /*#__PURE__*/function () {
|
|
47
48
|
/**
|
|
@@ -123,6 +124,9 @@ var NotehubRoute = /*#__PURE__*/function () {
|
|
|
123
124
|
if (data.hasOwnProperty("snowflake")) {
|
|
124
125
|
obj["snowflake"] = _SnowflakeRoute["default"].constructFromObject(data["snowflake"]);
|
|
125
126
|
}
|
|
127
|
+
if (data.hasOwnProperty("snowpipe_streaming")) {
|
|
128
|
+
obj["snowpipe_streaming"] = _SnowpipeStreamingRoute["default"].constructFromObject(data["snowpipe_streaming"]);
|
|
129
|
+
}
|
|
126
130
|
if (data.hasOwnProperty("thingworx")) {
|
|
127
131
|
obj["thingworx"] = _ThingworxRoute["default"].constructFromObject(data["thingworx"]);
|
|
128
132
|
}
|
|
@@ -218,6 +222,11 @@ var NotehubRoute = /*#__PURE__*/function () {
|
|
|
218
222
|
// data not null
|
|
219
223
|
_SnowflakeRoute["default"].validateJSON(data["snowflake"]);
|
|
220
224
|
}
|
|
225
|
+
// validate the optional field `snowpipe_streaming`
|
|
226
|
+
if (data["snowpipe_streaming"]) {
|
|
227
|
+
// data not null
|
|
228
|
+
_SnowpipeStreamingRoute["default"].validateJSON(data["snowpipe_streaming"]);
|
|
229
|
+
}
|
|
221
230
|
// validate the optional field `thingworx`
|
|
222
231
|
if (data["thingworx"]) {
|
|
223
232
|
// data not null
|
|
@@ -321,6 +330,11 @@ NotehubRoute.prototype["slack"] = undefined;
|
|
|
321
330
|
*/
|
|
322
331
|
NotehubRoute.prototype["snowflake"] = undefined;
|
|
323
332
|
|
|
333
|
+
/**
|
|
334
|
+
* @member {module:model/SnowpipeStreamingRoute} snowpipe_streaming
|
|
335
|
+
*/
|
|
336
|
+
NotehubRoute.prototype["snowpipe_streaming"] = undefined;
|
|
337
|
+
|
|
324
338
|
/**
|
|
325
339
|
* @member {module:model/ThingworxRoute} thingworx
|
|
326
340
|
*/
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The NotehubRouteSummary model module.
|
|
28
28
|
* @module model/NotehubRouteSummary
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var NotehubRouteSummary = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The OAuth2TokenResponse model module.
|
|
31
31
|
* @module model/OAuth2TokenResponse
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var OAuth2TokenResponse = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The PersonalAccessToken model module.
|
|
29
29
|
* @module model/PersonalAccessToken
|
|
30
|
-
* @version
|
|
30
|
+
* @version 3.0.0
|
|
31
31
|
*/
|
|
32
32
|
var PersonalAccessToken = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The PersonalAccessTokenCreatedBy model module.
|
|
28
28
|
* @module model/PersonalAccessTokenCreatedBy
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var PersonalAccessTokenCreatedBy = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The PersonalAccessTokenInfo model module.
|
|
28
28
|
* @module model/PersonalAccessTokenInfo
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var PersonalAccessTokenInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The PersonalAccessTokenSecret model module.
|
|
28
28
|
* @module model/PersonalAccessTokenSecret
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var PersonalAccessTokenSecret = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Product.js
CHANGED
package/dist/model/Project.js
CHANGED
|
@@ -27,19 +27,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
|
-
* The
|
|
31
|
-
* @module model/
|
|
32
|
-
* @version
|
|
30
|
+
* The ProvisionDeviceRequest model module.
|
|
31
|
+
* @module model/ProvisionDeviceRequest
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
|
-
var
|
|
34
|
+
var ProvisionDeviceRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
|
-
* Constructs a new <code>
|
|
37
|
-
* @alias module:model/
|
|
36
|
+
* Constructs a new <code>ProvisionDeviceRequest</code>.
|
|
37
|
+
* @alias module:model/ProvisionDeviceRequest
|
|
38
38
|
* @param productUid {String} The ProductUID that the device should use.
|
|
39
39
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
40
|
+
function ProvisionDeviceRequest(productUid) {
|
|
41
|
+
_classCallCheck(this, ProvisionDeviceRequest);
|
|
42
|
+
ProvisionDeviceRequest.initialize(this, productUid);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -47,24 +47,24 @@ var PostProvisionProjectDeviceRequest = /*#__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(ProvisionDeviceRequest, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
52
|
value: function initialize(obj, productUid) {
|
|
53
53
|
obj["product_uid"] = productUid;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Constructs a <code>
|
|
57
|
+
* Constructs a <code>ProvisionDeviceRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
58
58
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
59
59
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
60
|
-
* @param {module:model/
|
|
61
|
-
* @return {module:model/
|
|
60
|
+
* @param {module:model/ProvisionDeviceRequest} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/ProvisionDeviceRequest} The populated <code>ProvisionDeviceRequest</code> instance.
|
|
62
62
|
*/
|
|
63
63
|
}, {
|
|
64
64
|
key: "constructFromObject",
|
|
65
65
|
value: function constructFromObject(data, obj) {
|
|
66
66
|
if (data) {
|
|
67
|
-
obj = obj || new
|
|
67
|
+
obj = obj || new ProvisionDeviceRequest();
|
|
68
68
|
if (data.hasOwnProperty("device_sn")) {
|
|
69
69
|
obj["device_sn"] = _ApiClient["default"].convertToType(data["device_sn"], "String");
|
|
70
70
|
}
|
|
@@ -81,15 +81,15 @@ var PostProvisionProjectDeviceRequest = /*#__PURE__*/function () {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Validates the JSON data with respect to <code>
|
|
84
|
+
* Validates the JSON data with respect to <code>ProvisionDeviceRequest</code>.
|
|
85
85
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
86
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ProvisionDeviceRequest</code>.
|
|
87
87
|
*/
|
|
88
88
|
}, {
|
|
89
89
|
key: "validateJSON",
|
|
90
90
|
value: function validateJSON(data) {
|
|
91
91
|
// check to make sure all required properties are present in the JSON string
|
|
92
|
-
var _iterator = _createForOfIteratorHelper(
|
|
92
|
+
var _iterator = _createForOfIteratorHelper(ProvisionDeviceRequest.RequiredProperties),
|
|
93
93
|
_step;
|
|
94
94
|
try {
|
|
95
95
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -119,23 +119,23 @@ var PostProvisionProjectDeviceRequest = /*#__PURE__*/function () {
|
|
|
119
119
|
}
|
|
120
120
|
}]);
|
|
121
121
|
}();
|
|
122
|
-
|
|
122
|
+
ProvisionDeviceRequest.RequiredProperties = ["product_uid"];
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* The serial number to assign to the device.
|
|
126
126
|
* @member {String} device_sn
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
ProvisionDeviceRequest.prototype["device_sn"] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* The fleetUIDs to provision the device to.
|
|
132
132
|
* @member {Array.<String>} fleet_uids
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
ProvisionDeviceRequest.prototype["fleet_uids"] = undefined;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* The ProductUID that the device should use.
|
|
138
138
|
* @member {String} product_uid
|
|
139
139
|
*/
|
|
140
|
-
|
|
141
|
-
var _default = exports["default"] =
|
|
140
|
+
ProvisionDeviceRequest.prototype["product_uid"] = undefined;
|
|
141
|
+
var _default = exports["default"] = ProvisionDeviceRequest;
|
package/dist/model/ProxyRoute.js
CHANGED
package/dist/model/RadRoute.js
CHANGED
package/dist/model/Repository.js
CHANGED
package/dist/model/RouteLog.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The RouteTransformSettings model module.
|
|
28
28
|
* @module model/RouteTransformSettings
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var RouteTransformSettings = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The S3ArchiveRoute model module.
|
|
30
30
|
* @module model/S3ArchiveRoute
|
|
31
|
-
* @version
|
|
31
|
+
* @version 3.0.0
|
|
32
32
|
*/
|
|
33
33
|
var S3ArchiveRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The SchemaProperty model module.
|
|
31
31
|
* @module model/SchemaProperty
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0
|
|
33
33
|
*/
|
|
34
34
|
var SchemaProperty = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -24,18 +24,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
* @module model/
|
|
29
|
-
* @version
|
|
27
|
+
* The SignalDevice200Response model module.
|
|
28
|
+
* @module model/SignalDevice200Response
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var SignalDevice200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>SignalDevice200Response</code>.
|
|
34
|
+
* @alias module:model/SignalDevice200Response
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function SignalDevice200Response() {
|
|
37
|
+
_classCallCheck(this, SignalDevice200Response);
|
|
38
|
+
SignalDevice200Response.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var HandleNoteSignal200Response = /*#__PURE__*/function () {
|
|
|
43
43
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
44
|
* Only for internal use.
|
|
45
45
|
*/
|
|
46
|
-
return _createClass(
|
|
46
|
+
return _createClass(SignalDevice200Response, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>SignalDevice200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
52
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
53
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
-
* @param {module:model/
|
|
55
|
-
* @return {module:model/
|
|
54
|
+
* @param {module:model/SignalDevice200Response} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/SignalDevice200Response} The populated <code>SignalDevice200Response</code> instance.
|
|
56
56
|
*/
|
|
57
57
|
}, {
|
|
58
58
|
key: "constructFromObject",
|
|
59
59
|
value: function constructFromObject(data, obj) {
|
|
60
60
|
if (data) {
|
|
61
|
-
obj = obj || new
|
|
61
|
+
obj = obj || new SignalDevice200Response();
|
|
62
62
|
if (data.hasOwnProperty("connected")) {
|
|
63
63
|
obj["connected"] = _ApiClient["default"].convertToType(data["connected"], "Boolean");
|
|
64
64
|
}
|
|
@@ -69,9 +69,9 @@ var HandleNoteSignal200Response = /*#__PURE__*/function () {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Validates the JSON data with respect to <code>
|
|
72
|
+
* Validates the JSON data with respect to <code>SignalDevice200Response</code>.
|
|
73
73
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
74
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
74
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>SignalDevice200Response</code>.
|
|
75
75
|
*/
|
|
76
76
|
}, {
|
|
77
77
|
key: "validateJSON",
|
|
@@ -84,5 +84,5 @@ var HandleNoteSignal200Response = /*#__PURE__*/function () {
|
|
|
84
84
|
* true if the Notecard is connected to Notehub.
|
|
85
85
|
* @member {Boolean} connected
|
|
86
86
|
*/
|
|
87
|
-
|
|
88
|
-
var _default = exports["default"] =
|
|
87
|
+
SignalDevice200Response.prototype["connected"] = undefined;
|
|
88
|
+
var _default = exports["default"] = SignalDevice200Response;
|
package/dist/model/SimUsage.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The SlackBearerNotification model module.
|
|
28
28
|
* @module model/SlackBearerNotification
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var SlackBearerNotification = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/SlackRoute.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The SlackWebHookNotification model module.
|
|
28
28
|
* @module model/SlackWebHookNotification
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var SlackWebHookNotification = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The SnowflakeRoute model module.
|
|
30
30
|
* @module model/SnowflakeRoute
|
|
31
|
-
* @version
|
|
31
|
+
* @version 3.0.0
|
|
32
32
|
*/
|
|
33
33
|
var SnowflakeRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|