@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
|
@@ -28,20 +28,20 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version
|
|
31
|
+
* The GetEvents200Response model module.
|
|
32
|
+
* @module model/GetEvents200Response
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
|
-
var
|
|
35
|
+
var GetEvents200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
37
|
+
* Constructs a new <code>GetEvents200Response</code>.
|
|
38
|
+
* @alias module:model/GetEvents200Response
|
|
39
39
|
* @param events {Array.<module:model/Event>}
|
|
40
40
|
* @param hasMore {Boolean} True if there are more events
|
|
41
41
|
*/
|
|
42
|
-
function
|
|
43
|
-
_classCallCheck(this,
|
|
44
|
-
|
|
42
|
+
function GetEvents200Response(events, hasMore) {
|
|
43
|
+
_classCallCheck(this, GetEvents200Response);
|
|
44
|
+
GetEvents200Response.initialize(this, events, hasMore);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -49,7 +49,7 @@ var GetProjectEvents200Response = /*#__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(GetEvents200Response, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
54
|
value: function initialize(obj, events, hasMore) {
|
|
55
55
|
obj["events"] = events;
|
|
@@ -57,17 +57,17 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Constructs a <code>
|
|
60
|
+
* Constructs a <code>GetEvents200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
61
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
62
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
-
* @param {module:model/
|
|
64
|
-
* @return {module:model/
|
|
63
|
+
* @param {module:model/GetEvents200Response} obj Optional instance to populate.
|
|
64
|
+
* @return {module:model/GetEvents200Response} The populated <code>GetEvents200Response</code> instance.
|
|
65
65
|
*/
|
|
66
66
|
}, {
|
|
67
67
|
key: "constructFromObject",
|
|
68
68
|
value: function constructFromObject(data, obj) {
|
|
69
69
|
if (data) {
|
|
70
|
-
obj = obj || new
|
|
70
|
+
obj = obj || new GetEvents200Response();
|
|
71
71
|
if (data.hasOwnProperty("events")) {
|
|
72
72
|
obj["events"] = _ApiClient["default"].convertToType(data["events"], [_Event["default"]]);
|
|
73
73
|
}
|
|
@@ -84,15 +84,15 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Validates the JSON data with respect to <code>
|
|
87
|
+
* Validates the JSON data with respect to <code>GetEvents200Response</code>.
|
|
88
88
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
89
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
89
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetEvents200Response</code>.
|
|
90
90
|
*/
|
|
91
91
|
}, {
|
|
92
92
|
key: "validateJSON",
|
|
93
93
|
value: function validateJSON(data) {
|
|
94
94
|
// check to make sure all required properties are present in the JSON string
|
|
95
|
-
var _iterator = _createForOfIteratorHelper(
|
|
95
|
+
var _iterator = _createForOfIteratorHelper(GetEvents200Response.RequiredProperties),
|
|
96
96
|
_step;
|
|
97
97
|
try {
|
|
98
98
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -134,22 +134,22 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
|
|
|
134
134
|
}
|
|
135
135
|
}]);
|
|
136
136
|
}();
|
|
137
|
-
|
|
137
|
+
GetEvents200Response.RequiredProperties = ["events", "has_more"];
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* @member {Array.<module:model/Event>} events
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
GetEvents200Response.prototype["events"] = undefined;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* True if there are more events
|
|
146
146
|
* @member {Boolean} has_more
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
GetEvents200Response.prototype["has_more"] = undefined;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The UID of the last event returned
|
|
152
152
|
* @member {String} through
|
|
153
153
|
*/
|
|
154
|
-
|
|
155
|
-
var _default = exports["default"] =
|
|
154
|
+
GetEvents200Response.prototype["through"] = undefined;
|
|
155
|
+
var _default = exports["default"] = GetEvents200Response;
|
package/dist/model/{GetProjectEventsByCursor200Response.js → GetEventsByCursor200Response.js}
RENAMED
|
@@ -28,21 +28,21 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version
|
|
31
|
+
* The GetEventsByCursor200Response model module.
|
|
32
|
+
* @module model/GetEventsByCursor200Response
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
|
-
var
|
|
35
|
+
var GetEventsByCursor200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
37
|
+
* Constructs a new <code>GetEventsByCursor200Response</code>.
|
|
38
|
+
* @alias module:model/GetEventsByCursor200Response
|
|
39
39
|
* @param events {Array.<module:model/Event>}
|
|
40
40
|
* @param hasMore {Boolean} True if there are more events
|
|
41
41
|
* @param nextCursor {String} The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
|
|
42
42
|
*/
|
|
43
|
-
function
|
|
44
|
-
_classCallCheck(this,
|
|
45
|
-
|
|
43
|
+
function GetEventsByCursor200Response(events, hasMore, nextCursor) {
|
|
44
|
+
_classCallCheck(this, GetEventsByCursor200Response);
|
|
45
|
+
GetEventsByCursor200Response.initialize(this, events, hasMore, nextCursor);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -50,7 +50,7 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
|
50
50
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
51
51
|
* Only for internal use.
|
|
52
52
|
*/
|
|
53
|
-
return _createClass(
|
|
53
|
+
return _createClass(GetEventsByCursor200Response, null, [{
|
|
54
54
|
key: "initialize",
|
|
55
55
|
value: function initialize(obj, events, hasMore, nextCursor) {
|
|
56
56
|
obj["events"] = events;
|
|
@@ -59,17 +59,17 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Constructs a <code>
|
|
62
|
+
* Constructs a <code>GetEventsByCursor200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
63
63
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
64
64
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
-
* @param {module:model/
|
|
66
|
-
* @return {module:model/
|
|
65
|
+
* @param {module:model/GetEventsByCursor200Response} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/GetEventsByCursor200Response} The populated <code>GetEventsByCursor200Response</code> instance.
|
|
67
67
|
*/
|
|
68
68
|
}, {
|
|
69
69
|
key: "constructFromObject",
|
|
70
70
|
value: function constructFromObject(data, obj) {
|
|
71
71
|
if (data) {
|
|
72
|
-
obj = obj || new
|
|
72
|
+
obj = obj || new GetEventsByCursor200Response();
|
|
73
73
|
if (data.hasOwnProperty("events")) {
|
|
74
74
|
obj["events"] = _ApiClient["default"].convertToType(data["events"], [_Event["default"]]);
|
|
75
75
|
}
|
|
@@ -86,15 +86,15 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Validates the JSON data with respect to <code>
|
|
89
|
+
* Validates the JSON data with respect to <code>GetEventsByCursor200Response</code>.
|
|
90
90
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
91
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
91
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetEventsByCursor200Response</code>.
|
|
92
92
|
*/
|
|
93
93
|
}, {
|
|
94
94
|
key: "validateJSON",
|
|
95
95
|
value: function validateJSON(data) {
|
|
96
96
|
// check to make sure all required properties are present in the JSON string
|
|
97
|
-
var _iterator = _createForOfIteratorHelper(
|
|
97
|
+
var _iterator = _createForOfIteratorHelper(GetEventsByCursor200Response.RequiredProperties),
|
|
98
98
|
_step;
|
|
99
99
|
try {
|
|
100
100
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -136,22 +136,22 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
|
136
136
|
}
|
|
137
137
|
}]);
|
|
138
138
|
}();
|
|
139
|
-
|
|
139
|
+
GetEventsByCursor200Response.RequiredProperties = ["events", "has_more", "next_cursor"];
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* @member {Array.<module:model/Event>} events
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
GetEventsByCursor200Response.prototype["events"] = undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* True if there are more events
|
|
148
148
|
* @member {Boolean} has_more
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
GetEventsByCursor200Response.prototype["has_more"] = undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
|
|
154
154
|
* @member {String} next_cursor
|
|
155
155
|
*/
|
|
156
|
-
|
|
157
|
-
var _default = exports["default"] =
|
|
156
|
+
GetEventsByCursor200Response.prototype["next_cursor"] = undefined;
|
|
157
|
+
var _default = exports["default"] = GetEventsByCursor200Response;
|
|
@@ -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 GetNotefile200Response model module.
|
|
28
|
+
* @module model/GetNotefile200Response
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var GetNotefile200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>GetNotefile200Response</code>.
|
|
34
|
+
* @alias module:model/GetNotefile200Response
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function GetNotefile200Response() {
|
|
37
|
+
_classCallCheck(this, GetNotefile200Response);
|
|
38
|
+
GetNotefile200Response.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var HandleNoteChanges200Response = /*#__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(GetNotefile200Response, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>GetNotefile200Response</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/GetNotefile200Response} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/GetNotefile200Response} The populated <code>GetNotefile200Response</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 GetNotefile200Response();
|
|
62
62
|
if (data.hasOwnProperty("changes")) {
|
|
63
63
|
obj["changes"] = _ApiClient["default"].convertToType(data["changes"], "Number");
|
|
64
64
|
}
|
|
@@ -75,9 +75,9 @@ var HandleNoteChanges200Response = /*#__PURE__*/function () {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Validates the JSON data with respect to <code>
|
|
78
|
+
* Validates the JSON data with respect to <code>GetNotefile200Response</code>.
|
|
79
79
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
80
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
80
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetNotefile200Response</code>.
|
|
81
81
|
*/
|
|
82
82
|
}, {
|
|
83
83
|
key: "validateJSON",
|
|
@@ -90,17 +90,17 @@ var HandleNoteChanges200Response = /*#__PURE__*/function () {
|
|
|
90
90
|
* The number of pending changes in the Notefile.
|
|
91
91
|
* @member {Number} changes
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
GetNotefile200Response.prototype["changes"] = undefined;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* An object with a key for each note and a value object with the body of each Note and the time the Note was added.
|
|
97
97
|
* @member {Object} notes
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
GetNotefile200Response.prototype["notes"] = undefined;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* The total number of notes.
|
|
103
103
|
* @member {Number} total
|
|
104
104
|
*/
|
|
105
|
-
|
|
106
|
-
var _default = exports["default"] =
|
|
105
|
+
GetNotefile200Response.prototype["total"] = undefined;
|
|
106
|
+
var _default = exports["default"] = GetNotefile200Response;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetProducts200Response model module.
|
|
32
32
|
* @module model/GetProducts200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var GetProducts200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetProjectMembers200Response model module.
|
|
32
32
|
* @module model/GetProjectMembers200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var GetProjectMembers200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetProjects200Response model module.
|
|
32
32
|
* @module model/GetProjects200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var GetProjects200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetSessionsUsage200Response model module.
|
|
32
32
|
* @module model/GetSessionsUsage200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var GetSessionsUsage200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetWebhooks200Response model module.
|
|
32
32
|
* @module model/GetWebhooks200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var GetWebhooks200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/HttpRoute.js
CHANGED
|
@@ -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 ListNotefiles200Response model module.
|
|
28
|
+
* @module model/ListNotefiles200Response
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var ListNotefiles200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>ListNotefiles200Response</code>.
|
|
34
|
+
* @alias module:model/ListNotefiles200Response
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function ListNotefiles200Response() {
|
|
37
|
+
_classCallCheck(this, ListNotefiles200Response);
|
|
38
|
+
ListNotefiles200Response.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var HandleNotefileChanges200Response = /*#__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(ListNotefiles200Response, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>ListNotefiles200Response</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/ListNotefiles200Response} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/ListNotefiles200Response} The populated <code>ListNotefiles200Response</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 ListNotefiles200Response();
|
|
62
62
|
if (data.hasOwnProperty("changes")) {
|
|
63
63
|
obj["changes"] = _ApiClient["default"].convertToType(data["changes"], "Number");
|
|
64
64
|
}
|
|
@@ -75,9 +75,9 @@ var HandleNotefileChanges200Response = /*#__PURE__*/function () {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Validates the JSON data with respect to <code>
|
|
78
|
+
* Validates the JSON data with respect to <code>ListNotefiles200Response</code>.
|
|
79
79
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
80
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
80
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListNotefiles200Response</code>.
|
|
81
81
|
*/
|
|
82
82
|
}, {
|
|
83
83
|
key: "validateJSON",
|
|
@@ -90,17 +90,17 @@ var HandleNotefileChanges200Response = /*#__PURE__*/function () {
|
|
|
90
90
|
* The number of pending changes in the Notefile.
|
|
91
91
|
* @member {Number} changes
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
ListNotefiles200Response.prototype["changes"] = undefined;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file.
|
|
97
97
|
* @member {Object} info
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
ListNotefiles200Response.prototype["info"] = undefined;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* The total number of files.
|
|
103
103
|
* @member {Number} total
|
|
104
104
|
*/
|
|
105
|
-
|
|
106
|
-
var _default = exports["default"] =
|
|
105
|
+
ListNotefiles200Response.prototype["total"] = undefined;
|
|
106
|
+
var _default = exports["default"] = ListNotefiles200Response;
|
package/dist/model/{HandleNotefileChangesPending200Response.js → ListPendingNotefiles200Response.js}
RENAMED
|
@@ -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 ListPendingNotefiles200Response model module.
|
|
28
|
+
* @module model/ListPendingNotefiles200Response
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var ListPendingNotefiles200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>ListPendingNotefiles200Response</code>.
|
|
34
|
+
* @alias module:model/ListPendingNotefiles200Response
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function ListPendingNotefiles200Response() {
|
|
37
|
+
_classCallCheck(this, ListPendingNotefiles200Response);
|
|
38
|
+
ListPendingNotefiles200Response.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var HandleNotefileChangesPending200Response = /*#__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(ListPendingNotefiles200Response, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>ListPendingNotefiles200Response</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/ListPendingNotefiles200Response} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/ListPendingNotefiles200Response} The populated <code>ListPendingNotefiles200Response</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 ListPendingNotefiles200Response();
|
|
62
62
|
if (data.hasOwnProperty("changes")) {
|
|
63
63
|
obj["changes"] = _ApiClient["default"].convertToType(data["changes"], "Number");
|
|
64
64
|
}
|
|
@@ -78,9 +78,9 @@ var HandleNotefileChangesPending200Response = /*#__PURE__*/function () {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Validates the JSON data with respect to <code>
|
|
81
|
+
* Validates the JSON data with respect to <code>ListPendingNotefiles200Response</code>.
|
|
82
82
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
83
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
83
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListPendingNotefiles200Response</code>.
|
|
84
84
|
*/
|
|
85
85
|
}, {
|
|
86
86
|
key: "validateJSON",
|
|
@@ -93,23 +93,23 @@ var HandleNotefileChangesPending200Response = /*#__PURE__*/function () {
|
|
|
93
93
|
* The number of pending changes in the Notefile.
|
|
94
94
|
* @member {Number} changes
|
|
95
95
|
*/
|
|
96
|
-
|
|
96
|
+
ListPendingNotefiles200Response.prototype["changes"] = undefined;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file.
|
|
100
100
|
* @member {Object} info
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
ListPendingNotefiles200Response.prototype["info"] = undefined;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Whether there are pending changes.
|
|
106
106
|
* @member {Boolean} pending
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
ListPendingNotefiles200Response.prototype["pending"] = undefined;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* The total number of files.
|
|
112
112
|
* @member {Number} total
|
|
113
113
|
*/
|
|
114
|
-
|
|
115
|
-
var _default = exports["default"] =
|
|
114
|
+
ListPendingNotefiles200Response.prototype["total"] = undefined;
|
|
115
|
+
var _default = exports["default"] = ListPendingNotefiles200Response;
|
package/dist/model/Location.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Login200Response model module.
|
|
28
28
|
* @module model/Login200Response
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0
|
|
30
30
|
*/
|
|
31
31
|
var Login200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Monitor.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The MonitorAlertRoutesInner model module.
|
|
33
33
|
* @module model/MonitorAlertRoutesInner
|
|
34
|
-
* @version
|
|
34
|
+
* @version 3.0.0
|
|
35
35
|
*/
|
|
36
36
|
var MonitorAlertRoutesInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/MqttRoute.js
CHANGED
package/dist/model/Note.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The NotefileSchema model module.
|
|
32
32
|
* @module model/NotefileSchema
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0
|
|
34
34
|
*/
|
|
35
35
|
var NotefileSchema = /*#__PURE__*/function () {
|
|
36
36
|
/**
|