@blues-inc/notehub-js 2.2.0-beta.11 → 2.2.0-beta.13
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 +18 -21
- package/dist/ApiClient.js +3 -3
- package/dist/api/AlertApi.js +2 -2
- 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 +2 -2
- package/dist/api/ExternalDevicesApi.js +2 -2
- package/dist/api/MonitorApi.js +2 -2
- package/dist/api/ProjectApi.js +2 -2
- package/dist/api/RouteApi.js +11 -11
- package/dist/api/UsageApi.js +2 -2
- package/dist/api/WebhookApi.js +2 -2
- package/dist/index.js +64 -85
- package/dist/model/Alert.js +2 -2
- package/dist/model/AlertDataInner.js +2 -2
- package/dist/model/AlertNotificationsInner.js +2 -2
- package/dist/model/{AwsRoute.js → Aws.js} +46 -40
- package/dist/model/{Filter.js → AwsFilter.js} +48 -26
- package/dist/model/AwsTransform.js +148 -0
- package/dist/model/{AzureRoute.js → Azure.js} +41 -35
- package/dist/model/BillingAccount.js +2 -2
- package/dist/model/BillingAccountRole.js +1 -1
- package/dist/model/Body.js +2 -2
- package/dist/model/CellularPlan.js +2 -2
- package/dist/model/CloneProjectRequest.js +2 -2
- package/dist/model/Contact.js +2 -2
- package/dist/model/CreateFleetRequest.js +2 -16
- package/dist/model/CreateMonitor.js +2 -2
- package/dist/model/CreateProductRequest.js +2 -2
- package/dist/model/CreateProjectRequest.js +2 -2
- package/dist/model/CreateUpdateRepository.js +2 -2
- package/dist/model/CurrentFirmware.js +2 -2
- package/dist/model/DFUEnv.js +2 -2
- package/dist/model/DFUState.js +2 -2
- package/dist/model/DataField.js +2 -2
- package/dist/model/DataSetField.js +2 -2
- package/dist/model/DataUsage.js +2 -2
- package/dist/model/DeleteDeviceFleetsRequest.js +2 -2
- package/dist/model/Device.js +2 -2
- package/dist/model/DeviceDfuHistory.js +2 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +2 -2
- package/dist/model/DeviceDfuStateMachine.js +2 -2
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +2 -2
- package/dist/model/DeviceDfuStatusPage.js +2 -2
- 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 +2 -2
- package/dist/model/EmailNotification.js +2 -2
- package/dist/model/EnvTreeJsonNode.js +2 -2
- package/dist/model/EnvVar.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 +2 -2
- package/dist/model/FirmwareInfo.js +2 -2
- package/dist/model/Fleet.js +3 -17
- package/dist/model/GetAlerts200Response.js +2 -2
- package/dist/model/GetBillingAccounts200Response.js +2 -2
- package/dist/model/GetDataUsage200Response.js +2 -2
- package/dist/model/GetDataUsage200ResponseDataInner.js +2 -2
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +2 -2
- package/dist/model/GetDeviceFleets200Response.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/GetDevicePlans200Response.js +2 -2
- package/dist/model/GetDevicePublicKey200Response.js +2 -2
- package/dist/model/GetDeviceSessions200Response.js +2 -2
- package/dist/model/GetProducts200Response.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/GetProjectMembers200Response.js +2 -2
- package/dist/model/GetProjects200Response.js +2 -2
- package/dist/model/GetSessionsUsage200Response.js +2 -2
- package/dist/model/GetWebhooks200Response.js +2 -2
- package/dist/model/{GoogleRoute.js → Google.js} +38 -33
- 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/{HttpRoute.js → Http.js} +41 -35
- 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/{MqttRoute.js → Mqtt.js} +51 -46
- package/dist/model/Note.js +2 -2
- package/dist/model/NotefileSchema.js +2 -2
- package/dist/model/NotehubRoute.js +135 -215
- package/dist/model/NotehubRouteSchema.js +505 -0
- package/dist/model/OAuth2Error.js +2 -2
- package/dist/model/OAuth2TokenResponse.js +2 -2
- package/dist/model/PersonalAccessToken.js +2 -2
- package/dist/model/PersonalAccessTokenCreatedBy.js +2 -2
- package/dist/model/PersonalAccessTokenInfo.js +2 -2
- package/dist/model/PersonalAccessTokenSecret.js +2 -2
- 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/{ProxyRoute.js → Proxy.js} +27 -23
- package/dist/model/PutDeviceFleetsRequest.js +2 -2
- package/dist/model/{RadRoute.js → Radresponder.js} +27 -39
- package/dist/model/Repository.js +2 -2
- package/dist/model/Role.js +1 -1
- package/dist/model/RouteLog.js +2 -2
- package/dist/model/SatellitePlan.js +2 -2
- package/dist/model/SchemaProperty.js +2 -2
- package/dist/model/SimUsage.js +2 -2
- package/dist/model/{SlackRoute.js → Slack.js} +59 -36
- package/dist/model/SlackBearerNotification.js +2 -2
- package/dist/model/{RouteTransformSettings.js → SlackTransform.js} +23 -23
- package/dist/model/SlackWebHookNotification.js +2 -2
- package/dist/model/{SnowflakeRoute.js → Snowflake.js} +42 -35
- package/dist/model/{ThingworxRoute.js → Thingworx.js} +38 -33
- package/dist/model/TowerLocation.js +2 -2
- package/dist/model/{TwilioRoute.js → Twilio.js} +40 -31
- package/dist/model/UpdateFleetRequest.js +2 -16
- package/dist/model/UploadMetadata.js +2 -2
- package/dist/model/UsageData.js +2 -2
- package/dist/model/UsageEventsData.js +2 -2
- package/dist/model/UsageEventsResponse.js +2 -2
- package/dist/model/UsageRouteLogsData.js +2 -2
- package/dist/model/UsageSessionsData.js +2 -2
- package/dist/model/{NotehubRouteSummary.js → UserDbRoute.js} +30 -25
- package/dist/model/UserDfuStateMachine.js +2 -2
- package/dist/model/UserDfuStateMachineStatus.js +2 -2
- package/dist/model/UserFirmwareInfo.js +2 -2
- package/dist/model/WebhookSettings.js +2 -2
- package/package.json +2 -2
- package/dist/model/BlynkRoute.js +0 -147
- package/dist/model/DatacakeRoute.js +0 -165
- package/dist/model/FleetConnectivityAssurance.js +0 -111
- package/dist/model/QubitroRoute.js +0 -159
- package/dist/model/S3ArchiveRoute.js +0 -271
|
@@ -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 _AwsFilter = _interopRequireDefault(require("./AwsFilter"));
|
|
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"); }
|
|
@@ -14,7 +14,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
16
|
* Notehub API
|
|
17
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
17
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
18
18
|
*
|
|
19
19
|
* The version of the OpenAPI document: 1.2.0
|
|
20
20
|
* Contact: engineering@blues.io
|
|
@@ -25,18 +25,19 @@ 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 2.2.0-beta.
|
|
28
|
+
* The Twilio model module.
|
|
29
|
+
* @module model/Twilio
|
|
30
|
+
* @version 2.2.0-beta.13
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var Twilio = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
*
|
|
34
|
+
* Constructs a new <code>Twilio</code>.
|
|
35
|
+
* Route settings specific to Twilio routes. Only used for Twilio route types
|
|
36
|
+
* @alias module:model/Twilio
|
|
36
37
|
*/
|
|
37
|
-
function
|
|
38
|
-
_classCallCheck(this,
|
|
39
|
-
|
|
38
|
+
function Twilio() {
|
|
39
|
+
_classCallCheck(this, Twilio);
|
|
40
|
+
Twilio.initialize(this);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
/**
|
|
@@ -44,22 +45,22 @@ var TwilioRoute = /*#__PURE__*/function () {
|
|
|
44
45
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
46
|
* Only for internal use.
|
|
46
47
|
*/
|
|
47
|
-
return _createClass(
|
|
48
|
+
return _createClass(Twilio, null, [{
|
|
48
49
|
key: "initialize",
|
|
49
50
|
value: function initialize(obj) {}
|
|
50
51
|
|
|
51
52
|
/**
|
|
52
|
-
* Constructs a <code>
|
|
53
|
+
* Constructs a <code>Twilio</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
54
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
55
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
-
* @param {module:model/
|
|
56
|
-
* @return {module:model/
|
|
56
|
+
* @param {module:model/Twilio} obj Optional instance to populate.
|
|
57
|
+
* @return {module:model/Twilio} The populated <code>Twilio</code> instance.
|
|
57
58
|
*/
|
|
58
59
|
}, {
|
|
59
60
|
key: "constructFromObject",
|
|
60
61
|
value: function constructFromObject(data, obj) {
|
|
61
62
|
if (data) {
|
|
62
|
-
obj = obj || new
|
|
63
|
+
obj = obj || new Twilio();
|
|
63
64
|
if (data.hasOwnProperty('account_sid')) {
|
|
64
65
|
obj['account_sid'] = _ApiClient["default"].convertToType(data['account_sid'], 'String');
|
|
65
66
|
}
|
|
@@ -67,7 +68,7 @@ var TwilioRoute = /*#__PURE__*/function () {
|
|
|
67
68
|
obj['auth_token'] = _ApiClient["default"].convertToType(data['auth_token'], 'String');
|
|
68
69
|
}
|
|
69
70
|
if (data.hasOwnProperty('filter')) {
|
|
70
|
-
obj['filter'] =
|
|
71
|
+
obj['filter'] = _AwsFilter["default"].constructFromObject(data['filter']);
|
|
71
72
|
}
|
|
72
73
|
if (data.hasOwnProperty('fleets')) {
|
|
73
74
|
obj['fleets'] = _ApiClient["default"].convertToType(data['fleets'], ['String']);
|
|
@@ -94,9 +95,9 @@ var TwilioRoute = /*#__PURE__*/function () {
|
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
/**
|
|
97
|
-
* Validates the JSON data with respect to <code>
|
|
98
|
+
* Validates the JSON data with respect to <code>Twilio</code>.
|
|
98
99
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
99
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
100
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Twilio</code>.
|
|
100
101
|
*/
|
|
101
102
|
}, {
|
|
102
103
|
key: "validateJSON",
|
|
@@ -112,7 +113,7 @@ var TwilioRoute = /*#__PURE__*/function () {
|
|
|
112
113
|
// validate the optional field `filter`
|
|
113
114
|
if (data['filter']) {
|
|
114
115
|
// data not null
|
|
115
|
-
|
|
116
|
+
_AwsFilter["default"].validateJSON(data['filter']);
|
|
116
117
|
}
|
|
117
118
|
// ensure the json data is an array
|
|
118
119
|
if (!Array.isArray(data['fleets'])) {
|
|
@@ -135,47 +136,55 @@ var TwilioRoute = /*#__PURE__*/function () {
|
|
|
135
136
|
}]);
|
|
136
137
|
}();
|
|
137
138
|
/**
|
|
139
|
+
* Twilio Account SID
|
|
138
140
|
* @member {String} account_sid
|
|
139
141
|
*/
|
|
140
|
-
|
|
142
|
+
Twilio.prototype['account_sid'] = undefined;
|
|
141
143
|
|
|
142
144
|
/**
|
|
145
|
+
* Twilio Auth Token. This value will be omitted from the response and replaced with a placeholder.
|
|
143
146
|
* @member {String} auth_token
|
|
144
147
|
*/
|
|
145
|
-
|
|
148
|
+
Twilio.prototype['auth_token'] = undefined;
|
|
146
149
|
|
|
147
150
|
/**
|
|
148
|
-
* @member {module:model/
|
|
151
|
+
* @member {module:model/AwsFilter} filter
|
|
149
152
|
*/
|
|
150
|
-
|
|
153
|
+
Twilio.prototype['filter'] = undefined;
|
|
151
154
|
|
|
152
155
|
/**
|
|
156
|
+
* list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
|
|
153
157
|
* @member {Array.<String>} fleets
|
|
154
158
|
*/
|
|
155
|
-
|
|
159
|
+
Twilio.prototype['fleets'] = undefined;
|
|
156
160
|
|
|
157
161
|
/**
|
|
162
|
+
* Phone number to send SMS from, leave blank to use notefile, must use E.164 format
|
|
158
163
|
* @member {String} from
|
|
159
164
|
*/
|
|
160
|
-
|
|
165
|
+
Twilio.prototype['from'] = undefined;
|
|
161
166
|
|
|
162
167
|
/**
|
|
168
|
+
* Message to send, leave blank to use notefile.
|
|
163
169
|
* @member {String} message
|
|
164
170
|
*/
|
|
165
|
-
|
|
171
|
+
Twilio.prototype['message'] = undefined;
|
|
166
172
|
|
|
167
173
|
/**
|
|
168
174
|
* @member {Number} throttle_ms
|
|
169
175
|
*/
|
|
170
|
-
|
|
176
|
+
Twilio.prototype['throttle_ms'] = undefined;
|
|
171
177
|
|
|
172
178
|
/**
|
|
179
|
+
* Timeout in seconds for each request
|
|
173
180
|
* @member {Number} timeout
|
|
181
|
+
* @default 15
|
|
174
182
|
*/
|
|
175
|
-
|
|
183
|
+
Twilio.prototype['timeout'] = 15;
|
|
176
184
|
|
|
177
185
|
/**
|
|
186
|
+
* Phone number to send SMS to, leave blank to use notefile, must use E.164 format
|
|
178
187
|
* @member {String} to
|
|
179
188
|
*/
|
|
180
|
-
|
|
181
|
-
var _default = exports["default"] =
|
|
189
|
+
Twilio.prototype['to'] = undefined;
|
|
190
|
+
var _default = exports["default"] = Twilio;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _FleetConnectivityAssurance = _interopRequireDefault(require("./FleetConnectivityAssurance"));
|
|
9
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
9
|
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
10
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -14,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
14
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
15
|
* Notehub API
|
|
17
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
16
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
18
17
|
*
|
|
19
18
|
* The version of the OpenAPI document: 1.2.0
|
|
20
19
|
* Contact: engineering@blues.io
|
|
@@ -27,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
26
|
/**
|
|
28
27
|
* The UpdateFleetRequest model module.
|
|
29
28
|
* @module model/UpdateFleetRequest
|
|
30
|
-
* @version 2.2.0-beta.
|
|
29
|
+
* @version 2.2.0-beta.13
|
|
31
30
|
*/
|
|
32
31
|
var UpdateFleetRequest = /*#__PURE__*/function () {
|
|
33
32
|
/**
|
|
@@ -63,9 +62,6 @@ var UpdateFleetRequest = /*#__PURE__*/function () {
|
|
|
63
62
|
if (data.hasOwnProperty('addDevices')) {
|
|
64
63
|
obj['addDevices'] = _ApiClient["default"].convertToType(data['addDevices'], ['String']);
|
|
65
64
|
}
|
|
66
|
-
if (data.hasOwnProperty('connectivity_assurance')) {
|
|
67
|
-
obj['connectivity_assurance'] = _FleetConnectivityAssurance["default"].constructFromObject(data['connectivity_assurance']);
|
|
68
|
-
}
|
|
69
65
|
if (data.hasOwnProperty('label')) {
|
|
70
66
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
|
71
67
|
}
|
|
@@ -96,11 +92,6 @@ var UpdateFleetRequest = /*#__PURE__*/function () {
|
|
|
96
92
|
if (!Array.isArray(data['addDevices'])) {
|
|
97
93
|
throw new Error("Expected the field `addDevices` to be an array in the JSON data but got " + data['addDevices']);
|
|
98
94
|
}
|
|
99
|
-
// validate the optional field `connectivity_assurance`
|
|
100
|
-
if (data['connectivity_assurance']) {
|
|
101
|
-
// data not null
|
|
102
|
-
_FleetConnectivityAssurance["default"].validateJSON(data['connectivity_assurance']);
|
|
103
|
-
}
|
|
104
95
|
// ensure the json data is a string
|
|
105
96
|
if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
|
|
106
97
|
throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
|
|
@@ -123,11 +114,6 @@ var UpdateFleetRequest = /*#__PURE__*/function () {
|
|
|
123
114
|
*/
|
|
124
115
|
UpdateFleetRequest.prototype['addDevices'] = undefined;
|
|
125
116
|
|
|
126
|
-
/**
|
|
127
|
-
* @member {module:model/FleetConnectivityAssurance} connectivity_assurance
|
|
128
|
-
*/
|
|
129
|
-
UpdateFleetRequest.prototype['connectivity_assurance'] = undefined;
|
|
130
|
-
|
|
131
117
|
/**
|
|
132
118
|
* The label for the Fleet.
|
|
133
119
|
* @member {String} label
|
|
@@ -14,7 +14,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
16
|
* Notehub API
|
|
17
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
17
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
18
18
|
*
|
|
19
19
|
* The version of the OpenAPI document: 1.2.0
|
|
20
20
|
* Contact: engineering@blues.io
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The UploadMetadata model module.
|
|
29
29
|
* @module model/UploadMetadata
|
|
30
|
-
* @version 2.2.0-beta.
|
|
30
|
+
* @version 2.2.0-beta.13
|
|
31
31
|
*/
|
|
32
32
|
var UploadMetadata = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/UsageData.js
CHANGED
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The UsageData model module.
|
|
31
31
|
* @module model/UsageData
|
|
32
|
-
* @version 2.2.0-beta.
|
|
32
|
+
* @version 2.2.0-beta.13
|
|
33
33
|
*/
|
|
34
34
|
var UsageData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The UsageEventsData model module.
|
|
31
31
|
* @module model/UsageEventsData
|
|
32
|
-
* @version 2.2.0-beta.
|
|
32
|
+
* @version 2.2.0-beta.13
|
|
33
33
|
*/
|
|
34
34
|
var UsageEventsData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* Notehub API
|
|
20
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: 1.2.0
|
|
23
23
|
* Contact: engineering@blues.io
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The UsageEventsResponse model module.
|
|
32
32
|
* @module model/UsageEventsResponse
|
|
33
|
-
* @version 2.2.0-beta.
|
|
33
|
+
* @version 2.2.0-beta.13
|
|
34
34
|
*/
|
|
35
35
|
var UsageEventsResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The UsageRouteLogsData model module.
|
|
31
31
|
* @module model/UsageRouteLogsData
|
|
32
|
-
* @version 2.2.0-beta.
|
|
32
|
+
* @version 2.2.0-beta.13
|
|
33
33
|
*/
|
|
34
34
|
var UsageRouteLogsData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The UsageSessionsData model module.
|
|
31
31
|
* @module model/UsageSessionsData
|
|
32
|
-
* @version 2.2.0-beta.
|
|
32
|
+
* @version 2.2.0-beta.13
|
|
33
33
|
*/
|
|
34
34
|
var UsageSessionsData = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
16
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
17
17
|
*
|
|
18
18
|
* The version of the OpenAPI document: 1.2.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
@@ -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 2.2.0-beta.
|
|
27
|
+
* The UserDbRoute model module.
|
|
28
|
+
* @module model/UserDbRoute
|
|
29
|
+
* @version 2.2.0-beta.13
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var UserDbRoute = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>UserDbRoute</code>.
|
|
34
|
+
* @alias module:model/UserDbRoute
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function UserDbRoute() {
|
|
37
|
+
_classCallCheck(this, UserDbRoute);
|
|
38
|
+
UserDbRoute.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var NotehubRouteSummary = /*#__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(UserDbRoute, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>UserDbRoute</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/UserDbRoute} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/UserDbRoute} The populated <code>UserDbRoute</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 UserDbRoute();
|
|
62
62
|
if (data.hasOwnProperty('disabled')) {
|
|
63
63
|
obj['disabled'] = _ApiClient["default"].convertToType(data['disabled'], 'Boolean');
|
|
64
64
|
}
|
|
@@ -66,7 +66,7 @@ var NotehubRouteSummary = /*#__PURE__*/function () {
|
|
|
66
66
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
|
67
67
|
}
|
|
68
68
|
if (data.hasOwnProperty('modified')) {
|
|
69
|
-
obj['modified'] = _ApiClient["default"].convertToType(data['modified'], '
|
|
69
|
+
obj['modified'] = _ApiClient["default"].convertToType(data['modified'], 'String');
|
|
70
70
|
}
|
|
71
71
|
if (data.hasOwnProperty('type')) {
|
|
72
72
|
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
|
|
@@ -81,9 +81,9 @@ var NotehubRouteSummary = /*#__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>UserDbRoute</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>UserDbRoute</code>.
|
|
87
87
|
*/
|
|
88
88
|
}, {
|
|
89
89
|
key: "validateJSON",
|
|
@@ -93,6 +93,10 @@ var NotehubRouteSummary = /*#__PURE__*/function () {
|
|
|
93
93
|
throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
|
|
94
94
|
}
|
|
95
95
|
// ensure the json data is a string
|
|
96
|
+
if (data['modified'] && !(typeof data['modified'] === 'string' || data['modified'] instanceof String)) {
|
|
97
|
+
throw new Error("Expected the field `modified` to be a primitive type in the JSON string but got " + data['modified']);
|
|
98
|
+
}
|
|
99
|
+
// ensure the json data is a string
|
|
96
100
|
if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
|
|
97
101
|
throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
|
|
98
102
|
}
|
|
@@ -108,28 +112,29 @@ var NotehubRouteSummary = /*#__PURE__*/function () {
|
|
|
108
112
|
* @member {Boolean} disabled
|
|
109
113
|
* @default false
|
|
110
114
|
*/
|
|
111
|
-
|
|
115
|
+
UserDbRoute.prototype['disabled'] = false;
|
|
112
116
|
|
|
113
117
|
/**
|
|
114
118
|
* @member {String} label
|
|
115
119
|
* @default 'success route'
|
|
116
120
|
*/
|
|
117
|
-
|
|
121
|
+
UserDbRoute.prototype['label'] = 'success route';
|
|
118
122
|
|
|
119
123
|
/**
|
|
120
|
-
* @member {
|
|
124
|
+
* @member {String} modified
|
|
125
|
+
* @default '2020-03-09T17:58:37Z'
|
|
121
126
|
*/
|
|
122
|
-
|
|
127
|
+
UserDbRoute.prototype['modified'] = '2020-03-09T17:58:37Z';
|
|
123
128
|
|
|
124
129
|
/**
|
|
125
130
|
* @member {String} type
|
|
126
131
|
* @default 'http'
|
|
127
132
|
*/
|
|
128
|
-
|
|
133
|
+
UserDbRoute.prototype['type'] = 'http';
|
|
129
134
|
|
|
130
135
|
/**
|
|
131
136
|
* @member {String} uid
|
|
132
137
|
* @default 'route:8d65a087d5d290ce5bdf03aeff2becc0'
|
|
133
138
|
*/
|
|
134
|
-
|
|
135
|
-
var _default = exports["default"] =
|
|
139
|
+
UserDbRoute.prototype['uid'] = 'route:8d65a087d5d290ce5bdf03aeff2becc0';
|
|
140
|
+
var _default = exports["default"] = UserDbRoute;
|
|
@@ -15,7 +15,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
18
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
19
19
|
*
|
|
20
20
|
* The version of the OpenAPI document: 1.2.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The UserDfuStateMachine model module.
|
|
30
30
|
* @module model/UserDfuStateMachine
|
|
31
|
-
* @version 2.2.0-beta.
|
|
31
|
+
* @version 2.2.0-beta.13
|
|
32
32
|
*/
|
|
33
33
|
var UserDfuStateMachine = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
16
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
17
17
|
*
|
|
18
18
|
* The version of the OpenAPI document: 1.2.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The UserDfuStateMachineStatus model module.
|
|
28
28
|
* @module model/UserDfuStateMachineStatus
|
|
29
|
-
* @version 2.2.0-beta.
|
|
29
|
+
* @version 2.2.0-beta.13
|
|
30
30
|
*/
|
|
31
31
|
var UserDfuStateMachineStatus = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
18
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
19
19
|
*
|
|
20
20
|
* The version of the OpenAPI document: 1.2.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The UserFirmwareInfo model module.
|
|
30
30
|
* @module model/UserFirmwareInfo
|
|
31
|
-
* @version 2.2.0-beta.
|
|
31
|
+
* @version 2.2.0-beta.13
|
|
32
32
|
*/
|
|
33
33
|
var UserFirmwareInfo = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
16
|
+
* The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time.
|
|
17
17
|
*
|
|
18
18
|
* The version of the OpenAPI document: 1.2.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The WebhookSettings model module.
|
|
28
28
|
* @module model/WebhookSettings
|
|
29
|
-
* @version 2.2.0-beta.
|
|
29
|
+
* @version 2.2.0-beta.13
|
|
30
30
|
*/
|
|
31
31
|
var WebhookSettings = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blues-inc/notehub-js",
|
|
3
|
-
"version": "2.2.0-beta.
|
|
4
|
-
"description": "The OpenAPI definition for the Notehub.io API. ",
|
|
3
|
+
"version": "2.2.0-beta.13",
|
|
4
|
+
"description": "The OpenAPI definition for the Notehub.io API. Test reusable workflows one more time. ",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|