@blues-inc/notehub-js 1.0.23 → 1.0.24
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 +24 -12
- package/dist/ApiClient.js +3 -3
- package/dist/api/AlertApi.js +5 -5
- package/dist/api/AuthorizationApi.js +2 -2
- package/dist/api/BillingAccountApi.js +2 -2
- package/dist/api/DeviceApi.js +2 -2
- package/dist/api/EventApi.js +19 -9
- package/dist/api/MonitorApi.js +2 -2
- package/dist/api/ProjectApi.js +377 -108
- package/dist/api/RouteApi.js +30 -30
- package/dist/index.js +102 -39
- package/dist/model/Alert.js +46 -2
- package/dist/model/AlertDataInner.js +2 -2
- package/dist/model/AlertNotificationsInner.js +2 -2
- package/dist/model/Aws.js +2 -2
- package/dist/model/Azure.js +2 -2
- package/dist/model/BillingAccount.js +2 -2
- package/dist/model/BillingAccountRole.js +1 -1
- package/dist/model/Body.js +2 -2
- package/dist/model/CloneProjectRequest.js +2 -2
- package/dist/model/Contact.js +2 -2
- package/dist/model/CreateFleetRequest.js +2 -2
- package/dist/model/CreateMonitor.js +2 -2
- package/dist/model/CreateProductRequest.js +2 -2
- package/dist/model/CreateProjectRequest.js +2 -2
- package/dist/model/CurrentFirmware.js +105 -0
- package/dist/model/DFUEnv.js +2 -2
- package/dist/model/DFUState.js +2 -2
- package/dist/model/DeleteDeviceFleetsRequest.js +2 -2
- package/dist/model/Device.js +2 -2
- package/dist/model/DeviceDfuHistory.js +138 -0
- package/dist/model/DeviceDfuHistoryPage.js +120 -0
- package/dist/model/DeviceDfuStateMachine.js +151 -0
- package/dist/model/DeviceDfuStateMachineNode.js +132 -0
- package/dist/model/DeviceDfuStatus.js +129 -0
- package/dist/model/{FirmwareStatus.js → DeviceDfuStatusCurrent.js} +42 -28
- package/dist/model/{OTAStatusList.js → DeviceDfuStatusPage.js} +25 -25
- package/dist/model/DeviceSession.js +2 -2
- package/dist/model/DeviceTowerInfo.js +2 -2
- package/dist/model/DeviceUsage.js +2 -2
- package/dist/model/DfuActionRequest.js +92 -0
- package/dist/model/EmailNotification.js +2 -2
- package/dist/model/EnvironmentVariables.js +2 -2
- package/dist/model/Error.js +2 -2
- package/dist/model/Event.js +2 -2
- package/dist/model/Firmware.js +195 -0
- package/dist/model/FirmwareInfo.js +2 -2
- package/dist/model/Fleet.js +2 -2
- package/dist/model/GetAlerts200Response.js +2 -2
- package/dist/model/GetBillingAccounts200Response.js +2 -2
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +2 -2
- package/dist/model/GetDeviceHealthLog200Response.js +2 -2
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +2 -2
- package/dist/model/GetDeviceLatest200Response.js +2 -2
- package/dist/model/GetDevicePublicKey200Response.js +2 -2
- package/dist/model/GetDeviceSessions200Response.js +2 -2
- package/dist/model/GetProjectDevicePublicKeys200Response.js +2 -2
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +2 -2
- package/dist/model/GetProjectDevices200Response.js +2 -2
- package/dist/model/GetProjectEvents200Response.js +2 -2
- package/dist/model/GetProjectEventsByCursor200Response.js +2 -2
- package/dist/model/GetProjectFleets200Response.js +2 -2
- package/dist/model/GetProjectMembers200Response.js +2 -2
- package/dist/model/GetProjectProducts200Response.js +2 -2
- package/dist/model/GetProjects200Response.js +2 -2
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +2 -2
- package/dist/model/Google.js +2 -2
- package/dist/model/HandleNoteChanges200Response.js +2 -2
- package/dist/model/HandleNoteGet200Response.js +2 -2
- package/dist/model/HandleNoteSignal200Response.js +2 -2
- package/dist/model/HandleNotefileChanges200Response.js +2 -2
- package/dist/model/HandleNotefileChangesPending200Response.js +2 -2
- package/dist/model/HandleNotefileDeleteRequest.js +2 -2
- package/dist/model/Http.js +2 -2
- package/dist/model/HttpFilter.js +2 -2
- package/dist/model/HttpTransform.js +2 -2
- package/dist/model/Location.js +2 -2
- package/dist/model/Login200Response.js +2 -2
- package/dist/model/LoginRequest.js +2 -2
- package/dist/model/Monitor.js +2 -2
- package/dist/model/MonitorAlertRoutesInner.js +2 -2
- package/dist/model/Mqtt.js +2 -2
- package/dist/model/Note.js +2 -2
- package/dist/model/{Route.js → NotehubRoute.js} +30 -30
- package/dist/model/{RouteSchema.js → NotehubRouteSchema.js} +68 -68
- package/dist/model/PostProvisionProjectDeviceRequest.js +2 -2
- package/dist/model/Product.js +2 -2
- package/dist/model/Project.js +2 -2
- package/dist/model/ProjectMember.js +2 -2
- package/dist/model/Proxy.js +2 -2
- package/dist/model/PutDeviceFleetsRequest.js +2 -2
- package/dist/model/Radresponder.js +2 -2
- package/dist/model/Role.js +1 -1
- package/dist/model/Slack.js +2 -2
- package/dist/model/SlackBearerNotification.js +2 -2
- package/dist/model/SlackWebHookNotification.js +2 -2
- package/dist/model/Snowflake.js +2 -2
- package/dist/model/SnowflakeTransform.js +2 -2
- package/dist/model/Thingworx.js +2 -2
- package/dist/model/TowerLocation.js +2 -2
- package/dist/model/Twilio.js +2 -2
- package/dist/model/UpdateFleetRequest.js +2 -2
- package/dist/model/UploadMetadata.js +221 -0
- package/dist/model/UserDbRoute.js +2 -2
- package/dist/model/UserDfuStateMachine.js +127 -0
- package/dist/model/{OTAUpdateStatus.js → UserDfuStateMachineStatus.js} +46 -41
- package/dist/model/UserFirmwareInfo.js +107 -0
- package/package.json +1 -1
- package/dist/model/OTAStatus.js +0 -306
- package/dist/model/OTAUpdateRequest.js +0 -214
|
@@ -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 _NotehubRouteSchema = _interopRequireDefault(require("./NotehubRouteSchema"));
|
|
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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.2.0
|
|
20
20
|
* Contact: engineering@blues.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,18 +25,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
30
|
-
* @version 1.0.
|
|
28
|
+
* The NotehubRoute model module.
|
|
29
|
+
* @module model/NotehubRoute
|
|
30
|
+
* @version 1.0.24
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var NotehubRoute = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
* @alias module:model/
|
|
34
|
+
* Constructs a new <code>NotehubRoute</code>.
|
|
35
|
+
* @alias module:model/NotehubRoute
|
|
36
36
|
*/
|
|
37
|
-
function
|
|
38
|
-
_classCallCheck(this,
|
|
39
|
-
|
|
37
|
+
function NotehubRoute() {
|
|
38
|
+
_classCallCheck(this, NotehubRoute);
|
|
39
|
+
NotehubRoute.initialize(this);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,22 +44,22 @@ var Route = /*#__PURE__*/function () {
|
|
|
44
44
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
45
|
* Only for internal use.
|
|
46
46
|
*/
|
|
47
|
-
return _createClass(
|
|
47
|
+
return _createClass(NotehubRoute, null, [{
|
|
48
48
|
key: "initialize",
|
|
49
49
|
value: function initialize(obj) {}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Constructs a <code>
|
|
52
|
+
* Constructs a <code>NotehubRoute</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
53
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
54
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
-
* @param {module:model/
|
|
56
|
-
* @return {module:model/
|
|
55
|
+
* @param {module:model/NotehubRoute} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/NotehubRoute} The populated <code>NotehubRoute</code> instance.
|
|
57
57
|
*/
|
|
58
58
|
}, {
|
|
59
59
|
key: "constructFromObject",
|
|
60
60
|
value: function constructFromObject(data, obj) {
|
|
61
61
|
if (data) {
|
|
62
|
-
obj = obj || new
|
|
62
|
+
obj = obj || new NotehubRoute();
|
|
63
63
|
if (data.hasOwnProperty("uid")) {
|
|
64
64
|
obj["uid"] = _ApiClient["default"].convertToType(data["uid"], "String");
|
|
65
65
|
}
|
|
@@ -76,7 +76,7 @@ var Route = /*#__PURE__*/function () {
|
|
|
76
76
|
obj["disabled"] = _ApiClient["default"].convertToType(data["disabled"], "Boolean");
|
|
77
77
|
}
|
|
78
78
|
if (data.hasOwnProperty("schema")) {
|
|
79
|
-
obj["schema"] =
|
|
79
|
+
obj["schema"] = _NotehubRouteSchema["default"].constructFromObject(data["schema"]);
|
|
80
80
|
}
|
|
81
81
|
} else if (data === null) {
|
|
82
82
|
return null;
|
|
@@ -85,9 +85,9 @@ var Route = /*#__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>NotehubRoute</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>NotehubRoute</code>.
|
|
91
91
|
*/
|
|
92
92
|
}, {
|
|
93
93
|
key: "validateJSON",
|
|
@@ -111,7 +111,7 @@ var Route = /*#__PURE__*/function () {
|
|
|
111
111
|
// validate the optional field `schema`
|
|
112
112
|
if (data["schema"]) {
|
|
113
113
|
// data not null
|
|
114
|
-
|
|
114
|
+
_NotehubRouteSchema["default"].validateJSON(data["schema"]);
|
|
115
115
|
}
|
|
116
116
|
return true;
|
|
117
117
|
}
|
|
@@ -121,45 +121,45 @@ var Route = /*#__PURE__*/function () {
|
|
|
121
121
|
* Route UID
|
|
122
122
|
* @member {String} uid
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
NotehubRoute.prototype["uid"] = undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Route Label
|
|
128
128
|
* @member {String} label
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
NotehubRoute.prototype["label"] = undefined;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* Type of route.
|
|
134
|
-
* @member {module:model/
|
|
134
|
+
* @member {module:model/NotehubRoute.RouteTypeEnum} route_type
|
|
135
135
|
* @default 'http'
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
NotehubRoute.prototype["route_type"] = "http";
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Last Modified
|
|
141
141
|
* @member {String} modified
|
|
142
142
|
*/
|
|
143
|
-
|
|
143
|
+
NotehubRoute.prototype["modified"] = undefined;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Is route disabled?
|
|
147
147
|
* @member {Boolean} disabled
|
|
148
148
|
* @default false
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
NotehubRoute.prototype["disabled"] = false;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
|
-
* @member {module:model/
|
|
153
|
+
* @member {module:model/NotehubRouteSchema} schema
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
NotehubRoute.prototype["schema"] = undefined;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Allowed values for the <code>route_type</code> property.
|
|
159
159
|
* @enum {String}
|
|
160
160
|
* @readonly
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
NotehubRoute["RouteTypeEnum"] = {
|
|
163
163
|
/**
|
|
164
164
|
* value: "http"
|
|
165
165
|
* @const
|
|
@@ -261,4 +261,4 @@ Route["RouteTypeEnum"] = {
|
|
|
261
261
|
*/
|
|
262
262
|
"slack-webhook": "slack-webhook"
|
|
263
263
|
};
|
|
264
|
-
var _default = exports["default"] =
|
|
264
|
+
var _default = exports["default"] = NotehubRoute;
|
|
@@ -17,7 +17,7 @@ var _Slack = _interopRequireDefault(require("./Slack"));
|
|
|
17
17
|
var _Snowflake = _interopRequireDefault(require("./Snowflake"));
|
|
18
18
|
var _SnowflakeTransform = _interopRequireDefault(require("./SnowflakeTransform"));
|
|
19
19
|
var _Thingworx = _interopRequireDefault(require("./Thingworx"));
|
|
20
|
-
var
|
|
20
|
+
var _NotehubRouteSchema;
|
|
21
21
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
22
22
|
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); }
|
|
23
23
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
* Notehub API
|
|
30
30
|
* The OpenAPI definition for the Notehub.io API.
|
|
31
31
|
*
|
|
32
|
-
* The version of the OpenAPI document: 1.
|
|
32
|
+
* The version of the OpenAPI document: 1.2.0
|
|
33
33
|
* Contact: engineering@blues.io
|
|
34
34
|
*
|
|
35
35
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,19 +38,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
/**
|
|
41
|
-
* The
|
|
42
|
-
* @module model/
|
|
43
|
-
* @version 1.0.
|
|
41
|
+
* The NotehubRouteSchema model module.
|
|
42
|
+
* @module model/NotehubRouteSchema
|
|
43
|
+
* @version 1.0.24
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
45
|
+
var NotehubRouteSchema = /*#__PURE__*/function () {
|
|
46
46
|
/**
|
|
47
|
-
* Constructs a new <code>
|
|
48
|
-
* @alias module:model/
|
|
49
|
-
* @param {(module:model/Aws|module:model/Azure|module:model/Google|module:model/Http|module:model/Mqtt|module:model/Proxy|module:model/Radresponder|module:model/Slack|module:model/Snowflake|module:model/Thingworx)} instance The actual instance to initialize
|
|
47
|
+
* Constructs a new <code>NotehubRouteSchema</code>.
|
|
48
|
+
* @alias module:model/NotehubRouteSchema
|
|
49
|
+
* @param {(module:model/Aws|module:model/Azure|module:model/Google|module:model/Http|module:model/Mqtt|module:model/Proxy|module:model/Radresponder|module:model/Slack|module:model/Snowflake|module:model/Thingworx)} instance The actual instance to initialize NotehubRouteSchema.
|
|
50
50
|
*/
|
|
51
|
-
function
|
|
51
|
+
function NotehubRouteSchema() {
|
|
52
52
|
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
53
|
-
_classCallCheck(this,
|
|
53
|
+
_classCallCheck(this, NotehubRouteSchema);
|
|
54
54
|
/**
|
|
55
55
|
* Returns the JSON representation of the actual intance.
|
|
56
56
|
* @return {string}
|
|
@@ -215,10 +215,10 @@ var RouteSchema = /*#__PURE__*/function () {
|
|
|
215
215
|
errorMessages.push("Failed to construct Slack: " + err);
|
|
216
216
|
}
|
|
217
217
|
if (match > 1) {
|
|
218
|
-
throw new Error("Multiple matches found constructing `
|
|
218
|
+
throw new Error("Multiple matches found constructing `NotehubRouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Input: " + JSON.stringify(instance));
|
|
219
219
|
} else if (match === 0) {
|
|
220
220
|
this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
221
|
-
throw new Error("No match found constructing `
|
|
221
|
+
throw new Error("No match found constructing `NotehubRouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Slack, Snowflake, Thingworx. Details: " + errorMessages.join(", "));
|
|
222
222
|
} else {
|
|
223
223
|
// only 1 match
|
|
224
224
|
// the input is valid
|
|
@@ -226,13 +226,13 @@ var RouteSchema = /*#__PURE__*/function () {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
* Constructs a <code>
|
|
229
|
+
* Constructs a <code>NotehubRouteSchema</code> from a plain JavaScript object, optionally creating a new instance.
|
|
230
230
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
231
231
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
232
|
-
* @param {module:model/
|
|
233
|
-
* @return {module:model/
|
|
232
|
+
* @param {module:model/NotehubRouteSchema} obj Optional instance to populate.
|
|
233
|
+
* @return {module:model/NotehubRouteSchema} The populated <code>NotehubRouteSchema</code> instance.
|
|
234
234
|
*/
|
|
235
|
-
return _createClass(
|
|
235
|
+
return _createClass(NotehubRouteSchema, [{
|
|
236
236
|
key: "getActualInstance",
|
|
237
237
|
value:
|
|
238
238
|
/**
|
|
@@ -250,12 +250,12 @@ var RouteSchema = /*#__PURE__*/function () {
|
|
|
250
250
|
}, {
|
|
251
251
|
key: "setActualInstance",
|
|
252
252
|
value: function setActualInstance(obj) {
|
|
253
|
-
this.actualInstance =
|
|
253
|
+
this.actualInstance = NotehubRouteSchema.constructFromObject(obj).getActualInstance();
|
|
254
254
|
}
|
|
255
255
|
}], [{
|
|
256
256
|
key: "constructFromObject",
|
|
257
257
|
value: function constructFromObject(data, obj) {
|
|
258
|
-
return new
|
|
258
|
+
return new NotehubRouteSchema(data);
|
|
259
259
|
}
|
|
260
260
|
}]);
|
|
261
261
|
}();
|
|
@@ -263,244 +263,244 @@ var RouteSchema = /*#__PURE__*/function () {
|
|
|
263
263
|
* list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
|
|
264
264
|
* @member {Array.<String>} fleets
|
|
265
265
|
*/
|
|
266
|
-
|
|
266
|
+
_NotehubRouteSchema = NotehubRouteSchema;
|
|
267
267
|
/**
|
|
268
|
-
* Create an instance of
|
|
268
|
+
* Create an instance of NotehubRouteSchema from a JSON string.
|
|
269
269
|
* @param {string} json_string JSON string.
|
|
270
|
-
* @return {module:model/
|
|
270
|
+
* @return {module:model/NotehubRouteSchema} An instance of NotehubRouteSchema.
|
|
271
271
|
*/
|
|
272
|
-
_defineProperty(
|
|
273
|
-
return
|
|
272
|
+
_defineProperty(NotehubRouteSchema, "fromJSON", function (json_string) {
|
|
273
|
+
return _NotehubRouteSchema.constructFromObject(JSON.parse(json_string));
|
|
274
274
|
});
|
|
275
|
-
|
|
275
|
+
NotehubRouteSchema.prototype["fleets"] = undefined;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* @member {module:model/HttpFilter} filter
|
|
279
279
|
*/
|
|
280
|
-
|
|
280
|
+
NotehubRouteSchema.prototype["filter"] = undefined;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* @member {module:model/SnowflakeTransform} transform
|
|
284
284
|
*/
|
|
285
|
-
|
|
285
|
+
NotehubRouteSchema.prototype["transform"] = undefined;
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Minimum time between requests in Miliseconds
|
|
289
289
|
* @member {Number} throttle_ms
|
|
290
290
|
*/
|
|
291
|
-
|
|
291
|
+
NotehubRouteSchema.prototype["throttle_ms"] = undefined;
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* @member {String} url
|
|
295
295
|
*/
|
|
296
|
-
|
|
296
|
+
NotehubRouteSchema.prototype["url"] = undefined;
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* @member {Object.<String, String>} http_headers
|
|
300
300
|
*/
|
|
301
|
-
|
|
301
|
+
NotehubRouteSchema.prototype["http_headers"] = undefined;
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* @member {Boolean} disable_http_headers
|
|
305
305
|
* @default false
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
NotehubRouteSchema.prototype["disable_http_headers"] = false;
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* Timeout in seconds for each request
|
|
311
311
|
* @member {Number} timeout
|
|
312
312
|
* @default 15
|
|
313
313
|
*/
|
|
314
|
-
|
|
314
|
+
NotehubRouteSchema.prototype["timeout"] = 15;
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* Optional authentication token
|
|
318
318
|
* @member {String} token
|
|
319
319
|
*/
|
|
320
|
-
|
|
320
|
+
NotehubRouteSchema.prototype["token"] = undefined;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* @member {String} alias
|
|
324
324
|
*/
|
|
325
|
-
|
|
325
|
+
NotehubRouteSchema.prototype["alias"] = undefined;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* @member {String} broker
|
|
329
329
|
*/
|
|
330
|
-
|
|
330
|
+
NotehubRouteSchema.prototype["broker"] = undefined;
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
333
|
* @member {Number} port
|
|
334
334
|
*/
|
|
335
|
-
|
|
335
|
+
NotehubRouteSchema.prototype["port"] = undefined;
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
338
|
* @member {String} username
|
|
339
339
|
*/
|
|
340
|
-
|
|
340
|
+
NotehubRouteSchema.prototype["username"] = undefined;
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
344
344
|
* @member {String} password
|
|
345
345
|
*/
|
|
346
|
-
|
|
346
|
+
NotehubRouteSchema.prototype["password"] = undefined;
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* @member {String} topic
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
NotehubRouteSchema.prototype["topic"] = undefined;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* Certificate with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
355
355
|
* @member {String} certificate
|
|
356
356
|
*/
|
|
357
|
-
|
|
357
|
+
NotehubRouteSchema.prototype["certificate"] = undefined;
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* Name of certificate.
|
|
361
361
|
* @member {String} certificate_name
|
|
362
362
|
*/
|
|
363
|
-
|
|
363
|
+
NotehubRouteSchema.prototype["certificate_name"] = undefined;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* Key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
367
367
|
* @member {String} key
|
|
368
368
|
*/
|
|
369
|
-
|
|
369
|
+
NotehubRouteSchema.prototype["key"] = undefined;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* Name of PEM key. If omitted, defaults to \"present\"
|
|
373
373
|
* @member {String} private_key_name
|
|
374
374
|
* @default 'present'
|
|
375
375
|
*/
|
|
376
|
-
|
|
376
|
+
NotehubRouteSchema.prototype["private_key_name"] = "present";
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
379
|
* @member {String} region
|
|
380
380
|
*/
|
|
381
|
-
|
|
381
|
+
NotehubRouteSchema.prototype["region"] = undefined;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* @member {String} access_key_id
|
|
385
385
|
*/
|
|
386
|
-
|
|
386
|
+
NotehubRouteSchema.prototype["access_key_id"] = undefined;
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
390
390
|
* @member {String} access_key_secret
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
NotehubRouteSchema.prototype["access_key_secret"] = undefined;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* @member {String} message_group_id
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
NotehubRouteSchema.prototype["message_group_id"] = undefined;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* @member {String} message_deduplication_id
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
NotehubRouteSchema.prototype["message_deduplication_id"] = undefined;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
* The Channel ID for Bearer Token method, if the \"slack-bearer\" type is selected
|
|
406
406
|
* @member {String} channel
|
|
407
407
|
*/
|
|
408
|
-
|
|
408
|
+
NotehubRouteSchema.prototype["channel"] = undefined;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* @member {Boolean} test_api
|
|
412
412
|
* @default false
|
|
413
413
|
*/
|
|
414
|
-
|
|
414
|
+
NotehubRouteSchema.prototype["test_api"] = false;
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
417
|
* @member {String} data_feed_key
|
|
418
418
|
*/
|
|
419
|
-
|
|
419
|
+
NotehubRouteSchema.prototype["data_feed_key"] = undefined;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* @member {String} client_id
|
|
423
423
|
*/
|
|
424
|
-
|
|
424
|
+
NotehubRouteSchema.prototype["client_id"] = undefined;
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
427
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
428
428
|
* @member {String} client_secret
|
|
429
429
|
*/
|
|
430
|
-
|
|
430
|
+
NotehubRouteSchema.prototype["client_secret"] = undefined;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
434
434
|
* @member {String} functions_key_secret
|
|
435
435
|
*/
|
|
436
|
-
|
|
436
|
+
NotehubRouteSchema.prototype["functions_key_secret"] = undefined;
|
|
437
437
|
|
|
438
438
|
/**
|
|
439
439
|
* @member {String} sas_policy_name
|
|
440
440
|
*/
|
|
441
|
-
|
|
441
|
+
NotehubRouteSchema.prototype["sas_policy_name"] = undefined;
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
444
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
445
445
|
* @member {String} sas_policy_key
|
|
446
446
|
*/
|
|
447
|
-
|
|
447
|
+
NotehubRouteSchema.prototype["sas_policy_key"] = undefined;
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
451
451
|
* @member {String} app_key
|
|
452
452
|
*/
|
|
453
|
-
|
|
453
|
+
NotehubRouteSchema.prototype["app_key"] = undefined;
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
456
|
* @member {String} organization_name
|
|
457
457
|
*/
|
|
458
|
-
|
|
458
|
+
NotehubRouteSchema.prototype["organization_name"] = undefined;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* @member {String} account_name
|
|
462
462
|
*/
|
|
463
|
-
|
|
463
|
+
NotehubRouteSchema.prototype["account_name"] = undefined;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
466
|
* @member {String} user_name
|
|
467
467
|
*/
|
|
468
|
-
|
|
468
|
+
NotehubRouteSchema.prototype["user_name"] = undefined;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* PEM key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
|
|
472
472
|
* @member {String} pem
|
|
473
473
|
*/
|
|
474
|
-
|
|
474
|
+
NotehubRouteSchema.prototype["pem"] = undefined;
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* The type of Slack message. Must be one of \"slack-bearer\" for Bearer Token or \"slack-webhook\" for Webhook messages
|
|
478
478
|
* @member {String} slack_type
|
|
479
479
|
*/
|
|
480
|
-
|
|
480
|
+
NotehubRouteSchema.prototype["slack_type"] = undefined;
|
|
481
481
|
|
|
482
482
|
/**
|
|
483
483
|
* The Bearer Token for Slack messaging, if the \"slack-bearer\" type is selected
|
|
484
484
|
* @member {String} bearer
|
|
485
485
|
*/
|
|
486
|
-
|
|
486
|
+
NotehubRouteSchema.prototype["bearer"] = undefined;
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
489
|
* The Webhook URL for Slack Messaging if the \"slack-webhook\" type is selected
|
|
490
490
|
* @member {String} webhook_url
|
|
491
491
|
*/
|
|
492
|
-
|
|
492
|
+
NotehubRouteSchema.prototype["webhook_url"] = undefined;
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
495
|
* The simple text message to be sent, if the blocks message field is not in use. Placeholders are available for this field.
|
|
496
496
|
* @member {String} text
|
|
497
497
|
*/
|
|
498
|
-
|
|
498
|
+
NotehubRouteSchema.prototype["text"] = undefined;
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* The Blocks message to be sent. If populated, this field overrides the text field within the Slack Messaging API. Placeholders are available for this field.
|
|
502
502
|
* @member {String} blocks
|
|
503
503
|
*/
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
var _default = exports["default"] =
|
|
504
|
+
NotehubRouteSchema.prototype["blocks"] = undefined;
|
|
505
|
+
NotehubRouteSchema.OneOf = ["Aws", "Azure", "Google", "Http", "Mqtt", "Proxy", "Radresponder", "Slack", "Snowflake", "Thingworx"];
|
|
506
|
+
var _default = exports["default"] = NotehubRouteSchema;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The PostProvisionProjectDeviceRequest model module.
|
|
31
31
|
* @module model/PostProvisionProjectDeviceRequest
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.24
|
|
33
33
|
*/
|
|
34
34
|
var PostProvisionProjectDeviceRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Product.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The Product model module.
|
|
31
31
|
* @module model/Product
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.24
|
|
33
33
|
*/
|
|
34
34
|
var Product = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Project.js
CHANGED
|
@@ -20,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
20
20
|
* Notehub API
|
|
21
21
|
* The OpenAPI definition for the Notehub.io API.
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 1.
|
|
23
|
+
* The version of the OpenAPI document: 1.2.0
|
|
24
24
|
* Contact: engineering@blues.io
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Project model module.
|
|
33
33
|
* @module model/Project
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.24
|
|
35
35
|
*/
|
|
36
36
|
var Project = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
* Notehub API
|
|
20
20
|
* The OpenAPI definition for the Notehub.io API.
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 1.
|
|
22
|
+
* The version of the OpenAPI document: 1.2.0
|
|
23
23
|
* Contact: engineering@blues.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ProjectMember model module.
|
|
32
32
|
* @module model/ProjectMember
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.24
|
|
34
34
|
*/
|
|
35
35
|
var ProjectMember = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/Proxy.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.2.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Proxy model module.
|
|
28
28
|
* @module model/Proxy
|
|
29
|
-
* @version 1.0.
|
|
29
|
+
* @version 1.0.24
|
|
30
30
|
*/
|
|
31
31
|
var Proxy = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The PutDeviceFleetsRequest model module.
|
|
31
31
|
* @module model/PutDeviceFleetsRequest
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.24
|
|
33
33
|
*/
|
|
34
34
|
var PutDeviceFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|