@blues-inc/notehub-js 1.0.12 → 1.0.14
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 +90 -85
- package/dist/ApiClient.js +2 -2
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +93 -1
- package/dist/api/DevicesApi.js +1 -1
- package/dist/api/EnvironmentVariablesApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/FilesApi.js +1 -1
- package/dist/api/FleetApi.js +1 -1
- package/dist/api/NotesApi.js +1 -1
- package/dist/api/ProductApi.js +1 -1
- package/dist/api/ProjectApi.js +124 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/model/Aws.js +1 -1
- package/dist/model/Azure.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.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/Edgeimpulse.js +1 -1
- package/dist/model/EdgeimpulseSensorsInner.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/Fleet.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetProjectDevices200Response.js +1 -1
- package/dist/model/GetProjectEvents200Response.js +1 -1
- package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
- package/dist/model/GetProjectFleets200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectProducts200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/Google.js +14 -1
- package/dist/model/HandleNoteChanges200Response.js +1 -1
- package/dist/model/HandleNoteGet200Response.js +1 -1
- package/dist/model/HandleNoteSignal200Response.js +1 -1
- package/dist/model/HandleNotefileChanges200Response.js +1 -1
- package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
- package/dist/model/HandleNotefileDeleteRequest.js +1 -1
- package/dist/model/Http.js +1 -1
- package/dist/model/HttpFilter.js +1 -1
- package/dist/model/HttpTransform.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Mqtt.js +1 -1
- package/dist/model/Note.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/Proxy.js +1 -1
- package/dist/model/PutDeviceFleetsRequest.js +1 -1
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Role.js +9 -8
- package/dist/model/Route.js +1 -1
- package/dist/model/RouteSchema.js +7 -1
- package/dist/model/Snowflake.js +1 -1
- package/dist/model/SnowflakeTransform.js +1 -1
- package/dist/model/Thingworx.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Twilio.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UserDbRoute.js +1 -1
- package/package.json +1 -1
package/dist/api/ProjectApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* Project service.
|
|
30
30
|
* @module api/ProjectApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.14
|
|
32
32
|
*/
|
|
33
33
|
var ProjectApi = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -171,6 +171,84 @@ var ProjectApi = /*#__PURE__*/function () {
|
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Disable the project-level event JSONata transformation
|
|
176
|
+
* @param {String} projectUID
|
|
177
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
178
|
+
*/
|
|
179
|
+
}, {
|
|
180
|
+
key: "disableGlobalTransformationWithHttpInfo",
|
|
181
|
+
value: function disableGlobalTransformationWithHttpInfo(projectUID) {
|
|
182
|
+
var postBody = null;
|
|
183
|
+
// verify the required parameter 'projectUID' is set
|
|
184
|
+
if (projectUID === undefined || projectUID === null) {
|
|
185
|
+
throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableGlobalTransformation");
|
|
186
|
+
}
|
|
187
|
+
var pathParams = {
|
|
188
|
+
projectUID: projectUID
|
|
189
|
+
};
|
|
190
|
+
var queryParams = {};
|
|
191
|
+
var headerParams = {};
|
|
192
|
+
var formParams = {};
|
|
193
|
+
var authNames = ["api_key"];
|
|
194
|
+
var contentTypes = [];
|
|
195
|
+
var accepts = ["application/json"];
|
|
196
|
+
var returnType = null;
|
|
197
|
+
return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Disable the project-level event JSONata transformation
|
|
202
|
+
* @param {String} projectUID
|
|
203
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
204
|
+
*/
|
|
205
|
+
}, {
|
|
206
|
+
key: "disableGlobalTransformation",
|
|
207
|
+
value: function disableGlobalTransformation(projectUID) {
|
|
208
|
+
return this.disableGlobalTransformationWithHttpInfo(projectUID).then(function (response_and_data) {
|
|
209
|
+
return response_and_data.data;
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Enable the project-level event JSONata transformation
|
|
215
|
+
* @param {String} projectUID
|
|
216
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
217
|
+
*/
|
|
218
|
+
}, {
|
|
219
|
+
key: "enableGlobalTransformationWithHttpInfo",
|
|
220
|
+
value: function enableGlobalTransformationWithHttpInfo(projectUID) {
|
|
221
|
+
var postBody = null;
|
|
222
|
+
// verify the required parameter 'projectUID' is set
|
|
223
|
+
if (projectUID === undefined || projectUID === null) {
|
|
224
|
+
throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableGlobalTransformation");
|
|
225
|
+
}
|
|
226
|
+
var pathParams = {
|
|
227
|
+
projectUID: projectUID
|
|
228
|
+
};
|
|
229
|
+
var queryParams = {};
|
|
230
|
+
var headerParams = {};
|
|
231
|
+
var formParams = {};
|
|
232
|
+
var authNames = ["api_key"];
|
|
233
|
+
var contentTypes = [];
|
|
234
|
+
var accepts = ["application/json"];
|
|
235
|
+
var returnType = null;
|
|
236
|
+
return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Enable the project-level event JSONata transformation
|
|
241
|
+
* @param {String} projectUID
|
|
242
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
243
|
+
*/
|
|
244
|
+
}, {
|
|
245
|
+
key: "enableGlobalTransformation",
|
|
246
|
+
value: function enableGlobalTransformation(projectUID) {
|
|
247
|
+
return this.enableGlobalTransformationWithHttpInfo(projectUID).then(function (response_and_data) {
|
|
248
|
+
return response_and_data.data;
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
|
|
174
252
|
/**
|
|
175
253
|
* Get a Project by ProjectUID
|
|
176
254
|
* @param {String} projectUID
|
|
@@ -731,6 +809,51 @@ var ProjectApi = /*#__PURE__*/function () {
|
|
|
731
809
|
return response_and_data.data;
|
|
732
810
|
});
|
|
733
811
|
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Set the project-level event JSONata transformation
|
|
815
|
+
* @param {String} projectUID
|
|
816
|
+
* @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
817
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
818
|
+
*/
|
|
819
|
+
}, {
|
|
820
|
+
key: "setGlobalTransformationWithHttpInfo",
|
|
821
|
+
value: function setGlobalTransformationWithHttpInfo(projectUID, body) {
|
|
822
|
+
var postBody = body;
|
|
823
|
+
// verify the required parameter 'projectUID' is set
|
|
824
|
+
if (projectUID === undefined || projectUID === null) {
|
|
825
|
+
throw new _Error["default"]("Missing the required parameter 'projectUID' when calling setGlobalTransformation");
|
|
826
|
+
}
|
|
827
|
+
// verify the required parameter 'body' is set
|
|
828
|
+
if (body === undefined || body === null) {
|
|
829
|
+
throw new _Error["default"]("Missing the required parameter 'body' when calling setGlobalTransformation");
|
|
830
|
+
}
|
|
831
|
+
var pathParams = {
|
|
832
|
+
projectUID: projectUID
|
|
833
|
+
};
|
|
834
|
+
var queryParams = {};
|
|
835
|
+
var headerParams = {};
|
|
836
|
+
var formParams = {};
|
|
837
|
+
var authNames = ["api_key"];
|
|
838
|
+
var contentTypes = ["application/json"];
|
|
839
|
+
var accepts = ["application/json"];
|
|
840
|
+
var returnType = null;
|
|
841
|
+
return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Set the project-level event JSONata transformation
|
|
846
|
+
* @param {String} projectUID
|
|
847
|
+
* @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
|
|
848
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
849
|
+
*/
|
|
850
|
+
}, {
|
|
851
|
+
key: "setGlobalTransformation",
|
|
852
|
+
value: function setGlobalTransformation(projectUID, body) {
|
|
853
|
+
return this.setGlobalTransformationWithHttpInfo(projectUID, body).then(function (response_and_data) {
|
|
854
|
+
return response_and_data.data;
|
|
855
|
+
});
|
|
856
|
+
}
|
|
734
857
|
}]);
|
|
735
858
|
return ProjectApi;
|
|
736
859
|
}();
|
package/dist/api/RouteApi.js
CHANGED
package/dist/model/Aws.js
CHANGED
package/dist/model/Azure.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The BillingAccount model module.
|
|
21
21
|
* @module model/BillingAccount
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var BillingAccount = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Body.js
CHANGED
package/dist/model/Contact.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The CreateFleetRequest model module.
|
|
17
17
|
* @module model/CreateFleetRequest
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The CreateProductRequest model module.
|
|
20
20
|
* @module model/CreateProductRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The CreateProjectRequest model module.
|
|
20
20
|
* @module model/CreateProjectRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/DFUEnv.js
CHANGED
package/dist/model/DFUState.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The DeleteDeviceFleetsRequest model module.
|
|
20
20
|
* @module model/DeleteDeviceFleetsRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var DeleteDeviceFleetsRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Device.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* The DeviceSession model module.
|
|
19
19
|
* @module model/DeviceSession
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.14
|
|
21
21
|
*/
|
|
22
22
|
var DeviceSession = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The DeviceTowerInfo model module.
|
|
17
17
|
* @module model/DeviceTowerInfo
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var DeviceTowerInfo = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The EdgeimpulseSensorsInner model module.
|
|
17
17
|
* @module model/EdgeimpulseSensorsInner
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var EdgeimpulseSensorsInner = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The EnvironmentVariables model module.
|
|
20
20
|
* @module model/EnvironmentVariables
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Error.js
CHANGED
package/dist/model/Event.js
CHANGED
package/dist/model/Fleet.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetBillingAccounts200Response model module.
|
|
21
21
|
* @module model/GetBillingAccounts200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDeviceEnvironmentVariables200Response model module.
|
|
20
20
|
* @module model/GetDeviceEnvironmentVariables200Response
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var GetDeviceEnvironmentVariables200Response = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceHealthLog200Response model module.
|
|
21
21
|
* @module model/GetDeviceHealthLog200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDeviceHealthLog200ResponseHealthLogInner model module.
|
|
20
20
|
* @module model/GetDeviceHealthLog200ResponseHealthLogInner
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var GetDeviceHealthLog200ResponseHealthLogInner = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceLatest200Response model module.
|
|
21
21
|
* @module model/GetDeviceLatest200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceLatest200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDevicePublicKey200Response model module.
|
|
20
20
|
* @module model/GetDevicePublicKey200Response
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.14
|
|
22
22
|
*/
|
|
23
23
|
var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceSessions200Response model module.
|
|
21
21
|
* @module model/GetDeviceSessions200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectDevicePublicKeys200Response model module.
|
|
21
21
|
* @module model/GetProjectDevicePublicKeys200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module.
|
|
17
17
|
* @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectDevices200Response model module.
|
|
21
21
|
* @module model/GetProjectDevices200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectDevices200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectEvents200Response model module.
|
|
21
21
|
* @module model/GetProjectEvents200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectEvents200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectEventsByCursor200Response model module.
|
|
21
21
|
* @module model/GetProjectEventsByCursor200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectFleets200Response model module.
|
|
21
21
|
* @module model/GetProjectFleets200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectFleets200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectMembers200Response model module.
|
|
21
21
|
* @module model/GetProjectMembers200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectMembers200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectProducts200Response model module.
|
|
21
21
|
* @module model/GetProjectProducts200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectProducts200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjects200Response model module.
|
|
21
21
|
* @module model/GetProjects200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.14
|
|
23
23
|
*/
|
|
24
24
|
var GetProjects200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Google.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* The Google model module.
|
|
19
19
|
* @module model/Google
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.14
|
|
21
21
|
*/
|
|
22
22
|
var Google = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -69,6 +69,9 @@ var Google = /*#__PURE__*/function () {
|
|
|
69
69
|
if (data.hasOwnProperty("timeout")) {
|
|
70
70
|
obj["timeout"] = _ApiClient["default"].convertToType(data["timeout"], "Number");
|
|
71
71
|
}
|
|
72
|
+
if (data.hasOwnProperty("token")) {
|
|
73
|
+
obj["token"] = _ApiClient["default"].convertToType(data["token"], "String");
|
|
74
|
+
}
|
|
72
75
|
} else if (data === null) {
|
|
73
76
|
return null;
|
|
74
77
|
}
|
|
@@ -101,6 +104,10 @@ var Google = /*#__PURE__*/function () {
|
|
|
101
104
|
if (data["url"] && !(typeof data["url"] === "string" || data["url"] instanceof String)) {
|
|
102
105
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data["url"]);
|
|
103
106
|
}
|
|
107
|
+
// ensure the json data is a string
|
|
108
|
+
if (data["token"] && !(typeof data["token"] === "string" || data["token"] instanceof String)) {
|
|
109
|
+
throw new Error("Expected the field `token` to be a primitive type in the JSON string but got " + data["token"]);
|
|
110
|
+
}
|
|
104
111
|
return true;
|
|
105
112
|
}
|
|
106
113
|
}]);
|
|
@@ -138,5 +145,11 @@ Google.prototype["url"] = undefined;
|
|
|
138
145
|
* @default 15
|
|
139
146
|
*/
|
|
140
147
|
Google.prototype["timeout"] = 15;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Optional authentication token
|
|
151
|
+
* @member {String} token
|
|
152
|
+
*/
|
|
153
|
+
Google.prototype["token"] = undefined;
|
|
141
154
|
var _default = Google;
|
|
142
155
|
exports["default"] = _default;
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteChanges200Response model module.
|
|
17
17
|
* @module model/HandleNoteChanges200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteChanges200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteGet200Response model module.
|
|
17
17
|
* @module model/HandleNoteGet200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteGet200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteSignal200Response model module.
|
|
17
17
|
* @module model/HandleNoteSignal200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteSignal200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileChanges200Response model module.
|
|
17
17
|
* @module model/HandleNotefileChanges200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileChanges200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileChangesPending200Response model module.
|
|
17
17
|
* @module model/HandleNotefileChangesPending200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileChangesPending200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileDeleteRequest model module.
|
|
17
17
|
* @module model/HandleNotefileDeleteRequest
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.14
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileDeleteRequest = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
package/dist/model/Http.js
CHANGED