@blues-inc/notehub-js 2.1.0-beta.1 → 2.1.0-beta.2
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 +6 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +65 -5
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +28 -0
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/Aws.js +1 -1
- package/dist/model/AwsFilter.js +1 -1
- package/dist/model/AwsTransform.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/CellularPlan.js +167 -0
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +133 -0
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +112 -0
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProducts200Response.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/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/Google.js +1 -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/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/Mqtt.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSchema.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.js +1 -1
- package/dist/model/PostProvisionProjectDeviceRequest.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/Repository.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/SatellitePlan.js +164 -0
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Slack.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackTransform.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/Snowflake.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/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageRouteLogsResponse.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UsageSessionsResponse.js +1 -1
- package/dist/model/UserDbRoute.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.2.0
|
|
9
|
-
- Package version: 2.1.0-beta.
|
|
9
|
+
- Package version: 2.1.0-beta.2
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
11
11
|
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
|
|
12
12
|
|
|
@@ -145,6 +145,7 @@ Class | Method | HTTP request | Description
|
|
|
145
145
|
*NotehubJs.DeviceApi* | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
146
146
|
*NotehubJs.DeviceApi* | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
147
147
|
*NotehubJs.DeviceApi* | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
148
|
+
*NotehubJs.DeviceApi* | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
148
149
|
*NotehubJs.DeviceApi* | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
149
150
|
*NotehubJs.DeviceApi* | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
|
|
150
151
|
*NotehubJs.DeviceApi* | [**getProjectDevicePublicKeys**](docs/DeviceApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys |
|
|
@@ -242,6 +243,7 @@ Class | Method | HTTP request | Description
|
|
|
242
243
|
- [NotehubJs.BillingAccount](docs/BillingAccount.md)
|
|
243
244
|
- [NotehubJs.BillingAccountRole](docs/BillingAccountRole.md)
|
|
244
245
|
- [NotehubJs.Body](docs/Body.md)
|
|
246
|
+
- [NotehubJs.CellularPlan](docs/CellularPlan.md)
|
|
245
247
|
- [NotehubJs.CloneProjectRequest](docs/CloneProjectRequest.md)
|
|
246
248
|
- [NotehubJs.Contact](docs/Contact.md)
|
|
247
249
|
- [NotehubJs.CreateFleetRequest](docs/CreateFleetRequest.md)
|
|
@@ -254,6 +256,7 @@ Class | Method | HTTP request | Description
|
|
|
254
256
|
- [NotehubJs.DFUState](docs/DFUState.md)
|
|
255
257
|
- [NotehubJs.DataField](docs/DataField.md)
|
|
256
258
|
- [NotehubJs.DataSetField](docs/DataSetField.md)
|
|
259
|
+
- [NotehubJs.DataUsage](docs/DataUsage.md)
|
|
257
260
|
- [NotehubJs.DeleteDeviceFleetsRequest](docs/DeleteDeviceFleetsRequest.md)
|
|
258
261
|
- [NotehubJs.Device](docs/Device.md)
|
|
259
262
|
- [NotehubJs.DeviceDfuHistory](docs/DeviceDfuHistory.md)
|
|
@@ -283,6 +286,7 @@ Class | Method | HTTP request | Description
|
|
|
283
286
|
- [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
|
|
284
287
|
- [NotehubJs.GetDeviceHealthLog200ResponseHealthLogInner](docs/GetDeviceHealthLog200ResponseHealthLogInner.md)
|
|
285
288
|
- [NotehubJs.GetDeviceLatest200Response](docs/GetDeviceLatest200Response.md)
|
|
289
|
+
- [NotehubJs.GetDevicePlans200Response](docs/GetDevicePlans200Response.md)
|
|
286
290
|
- [NotehubJs.GetDevicePublicKey200Response](docs/GetDevicePublicKey200Response.md)
|
|
287
291
|
- [NotehubJs.GetDeviceSessions200Response](docs/GetDeviceSessions200Response.md)
|
|
288
292
|
- [NotehubJs.GetProducts200Response](docs/GetProducts200Response.md)
|
|
@@ -328,6 +332,7 @@ Class | Method | HTTP request | Description
|
|
|
328
332
|
- [NotehubJs.Repository](docs/Repository.md)
|
|
329
333
|
- [NotehubJs.Role](docs/Role.md)
|
|
330
334
|
- [NotehubJs.RouteLog](docs/RouteLog.md)
|
|
335
|
+
- [NotehubJs.SatellitePlan](docs/SatellitePlan.md)
|
|
331
336
|
- [NotehubJs.SchemaProperty](docs/SchemaProperty.md)
|
|
332
337
|
- [NotehubJs.SimUsage](docs/SimUsage.md)
|
|
333
338
|
- [NotehubJs.Slack](docs/Slack.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 2.1.0-beta.
|
|
29
|
+
* @version 2.1.0-beta.2
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -73,7 +73,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
73
73
|
*/
|
|
74
74
|
this.defaultHeaders = {};
|
|
75
75
|
if (typeof window === 'undefined') {
|
|
76
|
-
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/2.1.0-beta.
|
|
76
|
+
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/2.1.0-beta.2/Javascript';
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 2.1.0-beta.
|
|
31
|
+
* @version 2.1.0-beta.2
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Authorization service.
|
|
32
32
|
* @module api/AuthorizationApi
|
|
33
|
-
* @version 2.1.0-beta.
|
|
33
|
+
* @version 2.1.0-beta.2
|
|
34
34
|
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* BillingAccount service.
|
|
30
30
|
* @module api/BillingAccountApi
|
|
31
|
-
* @version 2.1.0-beta.
|
|
31
|
+
* @version 2.1.0-beta.2
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -13,6 +13,7 @@ var _Error = _interopRequireDefault(require("../model/Error"));
|
|
|
13
13
|
var _GetDeviceEnvironmentVariablesByPin200Response = _interopRequireDefault(require("../model/GetDeviceEnvironmentVariablesByPin200Response"));
|
|
14
14
|
var _GetDeviceHealthLog200Response = _interopRequireDefault(require("../model/GetDeviceHealthLog200Response"));
|
|
15
15
|
var _GetDeviceLatest200Response = _interopRequireDefault(require("../model/GetDeviceLatest200Response"));
|
|
16
|
+
var _GetDevicePlans200Response = _interopRequireDefault(require("../model/GetDevicePlans200Response"));
|
|
16
17
|
var _GetDevicePublicKey200Response = _interopRequireDefault(require("../model/GetDevicePublicKey200Response"));
|
|
17
18
|
var _GetDeviceSessions200Response = _interopRequireDefault(require("../model/GetDeviceSessions200Response"));
|
|
18
19
|
var _GetProjectDevicePublicKeys200Response = _interopRequireDefault(require("../model/GetProjectDevicePublicKeys200Response"));
|
|
@@ -46,7 +47,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
47
|
/**
|
|
47
48
|
* Device service.
|
|
48
49
|
* @module api/DeviceApi
|
|
49
|
-
* @version 2.1.0-beta.
|
|
50
|
+
* @version 2.1.0-beta.2
|
|
50
51
|
*/
|
|
51
52
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
53
|
/**
|
|
@@ -540,11 +541,16 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
540
541
|
* Get Device Health Log
|
|
541
542
|
* @param {String} projectOrProductUID
|
|
542
543
|
* @param {String} deviceUID
|
|
544
|
+
* @param {Object} opts Optional parameters
|
|
545
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
546
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
547
|
+
* @param {Array.<module:model/String>} opts.logType Return only specified log types
|
|
543
548
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
|
|
544
549
|
*/
|
|
545
550
|
}, {
|
|
546
551
|
key: "getDeviceHealthLogWithHttpInfo",
|
|
547
|
-
value: function getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID) {
|
|
552
|
+
value: function getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID, opts) {
|
|
553
|
+
opts = opts || {};
|
|
548
554
|
var postBody = null;
|
|
549
555
|
// verify the required parameter 'projectOrProductUID' is set
|
|
550
556
|
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
@@ -558,7 +564,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
558
564
|
'projectOrProductUID': projectOrProductUID,
|
|
559
565
|
'deviceUID': deviceUID
|
|
560
566
|
};
|
|
561
|
-
var queryParams = {
|
|
567
|
+
var queryParams = {
|
|
568
|
+
'startDate': opts['startDate'],
|
|
569
|
+
'endDate': opts['endDate'],
|
|
570
|
+
'log_type': this.apiClient.buildCollectionParam(opts['logType'], 'multi')
|
|
571
|
+
};
|
|
562
572
|
var headerParams = {};
|
|
563
573
|
var formParams = {};
|
|
564
574
|
var authNames = ['personalAccessToken'];
|
|
@@ -572,12 +582,16 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
572
582
|
* Get Device Health Log
|
|
573
583
|
* @param {String} projectOrProductUID
|
|
574
584
|
* @param {String} deviceUID
|
|
585
|
+
* @param {Object} opts Optional parameters
|
|
586
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
587
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
588
|
+
* @param {Array.<module:model/String>} opts.logType Return only specified log types
|
|
575
589
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
|
|
576
590
|
*/
|
|
577
591
|
}, {
|
|
578
592
|
key: "getDeviceHealthLog",
|
|
579
|
-
value: function getDeviceHealthLog(projectOrProductUID, deviceUID) {
|
|
580
|
-
return this.getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
|
|
593
|
+
value: function getDeviceHealthLog(projectOrProductUID, deviceUID, opts) {
|
|
594
|
+
return this.getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID, opts).then(function (response_and_data) {
|
|
581
595
|
return response_and_data.data;
|
|
582
596
|
});
|
|
583
597
|
}
|
|
@@ -628,6 +642,52 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
628
642
|
});
|
|
629
643
|
}
|
|
630
644
|
|
|
645
|
+
/**
|
|
646
|
+
* Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
|
|
647
|
+
* @param {String} projectOrProductUID
|
|
648
|
+
* @param {String} deviceUID
|
|
649
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
|
|
650
|
+
*/
|
|
651
|
+
}, {
|
|
652
|
+
key: "getDevicePlansWithHttpInfo",
|
|
653
|
+
value: function getDevicePlansWithHttpInfo(projectOrProductUID, deviceUID) {
|
|
654
|
+
var postBody = null;
|
|
655
|
+
// verify the required parameter 'projectOrProductUID' is set
|
|
656
|
+
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
657
|
+
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePlans");
|
|
658
|
+
}
|
|
659
|
+
// verify the required parameter 'deviceUID' is set
|
|
660
|
+
if (deviceUID === undefined || deviceUID === null) {
|
|
661
|
+
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePlans");
|
|
662
|
+
}
|
|
663
|
+
var pathParams = {
|
|
664
|
+
'projectOrProductUID': projectOrProductUID,
|
|
665
|
+
'deviceUID': deviceUID
|
|
666
|
+
};
|
|
667
|
+
var queryParams = {};
|
|
668
|
+
var headerParams = {};
|
|
669
|
+
var formParams = {};
|
|
670
|
+
var authNames = [];
|
|
671
|
+
var contentTypes = [];
|
|
672
|
+
var accepts = ['application/json'];
|
|
673
|
+
var returnType = _GetDevicePlans200Response["default"];
|
|
674
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
|
|
679
|
+
* @param {String} projectOrProductUID
|
|
680
|
+
* @param {String} deviceUID
|
|
681
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
|
|
682
|
+
*/
|
|
683
|
+
}, {
|
|
684
|
+
key: "getDevicePlans",
|
|
685
|
+
value: function getDevicePlans(projectOrProductUID, deviceUID) {
|
|
686
|
+
return this.getDevicePlansWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
|
|
687
|
+
return response_and_data.data;
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
|
|
631
691
|
/**
|
|
632
692
|
* Get Device Public Key
|
|
633
693
|
* @param {String} projectOrProductUID
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Event service.
|
|
32
32
|
* @module api/EventApi
|
|
33
|
-
* @version 2.1.0-beta.
|
|
33
|
+
* @version 2.1.0-beta.2
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 2.1.0-beta.
|
|
32
|
+
* @version 2.1.0-beta.2
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 2.1.0-beta.
|
|
32
|
+
* @version 2.1.0-beta.2
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -50,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
50
50
|
/**
|
|
51
51
|
* Project service.
|
|
52
52
|
* @module api/ProjectApi
|
|
53
|
-
* @version 2.1.0-beta.
|
|
53
|
+
* @version 2.1.0-beta.2
|
|
54
54
|
*/
|
|
55
55
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
56
56
|
/**
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Route service.
|
|
32
32
|
* @module api/RouteApi
|
|
33
|
-
* @version 2.1.0-beta.
|
|
33
|
+
* @version 2.1.0-beta.2
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/UsageApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Usage service.
|
|
33
33
|
* @module api/UsageApi
|
|
34
|
-
* @version 2.1.0-beta.
|
|
34
|
+
* @version 2.1.0-beta.2
|
|
35
35
|
*/
|
|
36
36
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/WebhookApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Webhook service.
|
|
31
31
|
* @module api/WebhookApi
|
|
32
|
-
* @version 2.1.0-beta.
|
|
32
|
+
* @version 2.1.0-beta.2
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/index.js
CHANGED
|
@@ -87,6 +87,12 @@ Object.defineProperty(exports, "Body", {
|
|
|
87
87
|
return _Body["default"];
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
+
Object.defineProperty(exports, "CellularPlan", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _CellularPlan["default"];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
90
96
|
Object.defineProperty(exports, "CloneProjectRequest", {
|
|
91
97
|
enumerable: true,
|
|
92
98
|
get: function get() {
|
|
@@ -159,6 +165,12 @@ Object.defineProperty(exports, "DataSetField", {
|
|
|
159
165
|
return _DataSetField["default"];
|
|
160
166
|
}
|
|
161
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "DataUsage", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _DataUsage["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
162
174
|
Object.defineProperty(exports, "DeleteDeviceFleetsRequest", {
|
|
163
175
|
enumerable: true,
|
|
164
176
|
get: function get() {
|
|
@@ -351,6 +363,12 @@ Object.defineProperty(exports, "GetDeviceLatest200Response", {
|
|
|
351
363
|
return _GetDeviceLatest200Response["default"];
|
|
352
364
|
}
|
|
353
365
|
});
|
|
366
|
+
Object.defineProperty(exports, "GetDevicePlans200Response", {
|
|
367
|
+
enumerable: true,
|
|
368
|
+
get: function get() {
|
|
369
|
+
return _GetDevicePlans200Response["default"];
|
|
370
|
+
}
|
|
371
|
+
});
|
|
354
372
|
Object.defineProperty(exports, "GetDevicePublicKey200Response", {
|
|
355
373
|
enumerable: true,
|
|
356
374
|
get: function get() {
|
|
@@ -639,6 +657,12 @@ Object.defineProperty(exports, "RouteLog", {
|
|
|
639
657
|
return _RouteLog["default"];
|
|
640
658
|
}
|
|
641
659
|
});
|
|
660
|
+
Object.defineProperty(exports, "SatellitePlan", {
|
|
661
|
+
enumerable: true,
|
|
662
|
+
get: function get() {
|
|
663
|
+
return _SatellitePlan["default"];
|
|
664
|
+
}
|
|
665
|
+
});
|
|
642
666
|
Object.defineProperty(exports, "SchemaProperty", {
|
|
643
667
|
enumerable: true,
|
|
644
668
|
get: function get() {
|
|
@@ -806,6 +830,7 @@ var _Azure = _interopRequireDefault(require("./model/Azure"));
|
|
|
806
830
|
var _BillingAccount = _interopRequireDefault(require("./model/BillingAccount"));
|
|
807
831
|
var _BillingAccountRole = _interopRequireDefault(require("./model/BillingAccountRole"));
|
|
808
832
|
var _Body = _interopRequireDefault(require("./model/Body"));
|
|
833
|
+
var _CellularPlan = _interopRequireDefault(require("./model/CellularPlan"));
|
|
809
834
|
var _CloneProjectRequest = _interopRequireDefault(require("./model/CloneProjectRequest"));
|
|
810
835
|
var _Contact = _interopRequireDefault(require("./model/Contact"));
|
|
811
836
|
var _CreateFleetRequest = _interopRequireDefault(require("./model/CreateFleetRequest"));
|
|
@@ -818,6 +843,7 @@ var _DFUEnv = _interopRequireDefault(require("./model/DFUEnv"));
|
|
|
818
843
|
var _DFUState = _interopRequireDefault(require("./model/DFUState"));
|
|
819
844
|
var _DataField = _interopRequireDefault(require("./model/DataField"));
|
|
820
845
|
var _DataSetField = _interopRequireDefault(require("./model/DataSetField"));
|
|
846
|
+
var _DataUsage = _interopRequireDefault(require("./model/DataUsage"));
|
|
821
847
|
var _DeleteDeviceFleetsRequest = _interopRequireDefault(require("./model/DeleteDeviceFleetsRequest"));
|
|
822
848
|
var _Device = _interopRequireDefault(require("./model/Device"));
|
|
823
849
|
var _DeviceDfuHistory = _interopRequireDefault(require("./model/DeviceDfuHistory"));
|
|
@@ -847,6 +873,7 @@ var _GetDeviceFleets200Response = _interopRequireDefault(require("./model/GetDev
|
|
|
847
873
|
var _GetDeviceHealthLog200Response = _interopRequireDefault(require("./model/GetDeviceHealthLog200Response"));
|
|
848
874
|
var _GetDeviceHealthLog200ResponseHealthLogInner = _interopRequireDefault(require("./model/GetDeviceHealthLog200ResponseHealthLogInner"));
|
|
849
875
|
var _GetDeviceLatest200Response = _interopRequireDefault(require("./model/GetDeviceLatest200Response"));
|
|
876
|
+
var _GetDevicePlans200Response = _interopRequireDefault(require("./model/GetDevicePlans200Response"));
|
|
850
877
|
var _GetDevicePublicKey200Response = _interopRequireDefault(require("./model/GetDevicePublicKey200Response"));
|
|
851
878
|
var _GetDeviceSessions200Response = _interopRequireDefault(require("./model/GetDeviceSessions200Response"));
|
|
852
879
|
var _GetProducts200Response = _interopRequireDefault(require("./model/GetProducts200Response"));
|
|
@@ -892,6 +919,7 @@ var _Radresponder = _interopRequireDefault(require("./model/Radresponder"));
|
|
|
892
919
|
var _Repository = _interopRequireDefault(require("./model/Repository"));
|
|
893
920
|
var _Role = _interopRequireDefault(require("./model/Role"));
|
|
894
921
|
var _RouteLog = _interopRequireDefault(require("./model/RouteLog"));
|
|
922
|
+
var _SatellitePlan = _interopRequireDefault(require("./model/SatellitePlan"));
|
|
895
923
|
var _SchemaProperty = _interopRequireDefault(require("./model/SchemaProperty"));
|
|
896
924
|
var _SimUsage = _interopRequireDefault(require("./model/SimUsage"));
|
|
897
925
|
var _Slack = _interopRequireDefault(require("./model/Slack"));
|
package/dist/model/Alert.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertDataInner model module.
|
|
28
28
|
* @module model/AlertDataInner
|
|
29
|
-
* @version 2.1.0-beta.
|
|
29
|
+
* @version 2.1.0-beta.2
|
|
30
30
|
*/
|
|
31
31
|
var AlertDataInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertNotificationsInner model module.
|
|
28
28
|
* @module model/AlertNotificationsInner
|
|
29
|
-
* @version 2.1.0-beta.
|
|
29
|
+
* @version 2.1.0-beta.2
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Aws.js
CHANGED
package/dist/model/AwsFilter.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AwsFilter model module.
|
|
28
28
|
* @module model/AwsFilter
|
|
29
|
-
* @version 2.1.0-beta.
|
|
29
|
+
* @version 2.1.0-beta.2
|
|
30
30
|
*/
|
|
31
31
|
var AwsFilter = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AwsTransform model module.
|
|
28
28
|
* @module model/AwsTransform
|
|
29
|
-
* @version 2.1.0-beta.
|
|
29
|
+
* @version 2.1.0-beta.2
|
|
30
30
|
*/
|
|
31
31
|
var AwsTransform = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Azure.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The BillingAccount model module.
|
|
32
32
|
* @module model/BillingAccount
|
|
33
|
-
* @version 2.1.0-beta.
|
|
33
|
+
* @version 2.1.0-beta.2
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/Body.js
CHANGED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _DataUsage = _interopRequireDefault(require("./DataUsage"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
* Notehub API
|
|
17
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 1.2.0
|
|
20
|
+
* Contact: engineering@blues.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The CellularPlan model module.
|
|
29
|
+
* @module model/CellularPlan
|
|
30
|
+
* @version 2.1.0-beta.2
|
|
31
|
+
*/
|
|
32
|
+
var CellularPlan = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>CellularPlan</code>.
|
|
35
|
+
* @alias module:model/CellularPlan
|
|
36
|
+
*/
|
|
37
|
+
function CellularPlan() {
|
|
38
|
+
_classCallCheck(this, CellularPlan);
|
|
39
|
+
CellularPlan.initialize(this);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
return _createClass(CellularPlan, null, [{
|
|
48
|
+
key: "initialize",
|
|
49
|
+
value: function initialize(obj) {}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Constructs a <code>CellularPlan</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
+
* @param {module:model/CellularPlan} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/CellularPlan} The populated <code>CellularPlan</code> instance.
|
|
57
|
+
*/
|
|
58
|
+
}, {
|
|
59
|
+
key: "constructFromObject",
|
|
60
|
+
value: function constructFromObject(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new CellularPlan();
|
|
63
|
+
if (data.hasOwnProperty('activated')) {
|
|
64
|
+
obj['activated'] = _ApiClient["default"].convertToType(data['activated'], 'Number');
|
|
65
|
+
}
|
|
66
|
+
if (data.hasOwnProperty('data_usage')) {
|
|
67
|
+
obj['data_usage'] = _DataUsage["default"].constructFromObject(data['data_usage']);
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('expires_at')) {
|
|
70
|
+
obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'Number');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('iccid')) {
|
|
73
|
+
obj['iccid'] = _ApiClient["default"].convertToType(data['iccid'], 'String');
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('imsi')) {
|
|
76
|
+
obj['imsi'] = _ApiClient["default"].convertToType(data['imsi'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('last_updated')) {
|
|
79
|
+
obj['last_updated'] = _ApiClient["default"].convertToType(data['last_updated'], 'Number');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('lifetime_used')) {
|
|
82
|
+
obj['lifetime_used'] = _ApiClient["default"].convertToType(data['lifetime_used'], 'Number');
|
|
83
|
+
}
|
|
84
|
+
if (data.hasOwnProperty('plan_type')) {
|
|
85
|
+
obj['plan_type'] = _ApiClient["default"].convertToType(data['plan_type'], 'String');
|
|
86
|
+
}
|
|
87
|
+
} else if (data === null) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
return obj;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Validates the JSON data with respect to <code>CellularPlan</code>.
|
|
95
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
96
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CellularPlan</code>.
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "validateJSON",
|
|
100
|
+
value: function validateJSON(data) {
|
|
101
|
+
// validate the optional field `data_usage`
|
|
102
|
+
if (data['data_usage']) {
|
|
103
|
+
// data not null
|
|
104
|
+
_DataUsage["default"].validateJSON(data['data_usage']);
|
|
105
|
+
}
|
|
106
|
+
// ensure the json data is a string
|
|
107
|
+
if (data['iccid'] && !(typeof data['iccid'] === 'string' || data['iccid'] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `iccid` to be a primitive type in the JSON string but got " + data['iccid']);
|
|
109
|
+
}
|
|
110
|
+
// ensure the json data is a string
|
|
111
|
+
if (data['imsi'] && !(typeof data['imsi'] === 'string' || data['imsi'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `imsi` to be a primitive type in the JSON string but got " + data['imsi']);
|
|
113
|
+
}
|
|
114
|
+
// ensure the json data is a string
|
|
115
|
+
if (data['plan_type'] && !(typeof data['plan_type'] === 'string' || data['plan_type'] instanceof String)) {
|
|
116
|
+
throw new Error("Expected the field `plan_type` to be a primitive type in the JSON string but got " + data['plan_type']);
|
|
117
|
+
}
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
}]);
|
|
121
|
+
}();
|
|
122
|
+
/**
|
|
123
|
+
* Unix timestamp of when the SIM was activated
|
|
124
|
+
* @member {Number} activated
|
|
125
|
+
*/
|
|
126
|
+
CellularPlan.prototype['activated'] = undefined;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @member {module:model/DataUsage} data_usage
|
|
130
|
+
*/
|
|
131
|
+
CellularPlan.prototype['data_usage'] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @member {Number} expires_at
|
|
135
|
+
*/
|
|
136
|
+
CellularPlan.prototype['expires_at'] = undefined;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* The Integrated Circuit Card Identifier of the SIM card
|
|
140
|
+
* @member {String} iccid
|
|
141
|
+
*/
|
|
142
|
+
CellularPlan.prototype['iccid'] = undefined;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* IMSI of the SIM card
|
|
146
|
+
* @member {String} imsi
|
|
147
|
+
*/
|
|
148
|
+
CellularPlan.prototype['imsi'] = undefined;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Time this plan information was last updated
|
|
152
|
+
* @member {Number} last_updated
|
|
153
|
+
*/
|
|
154
|
+
CellularPlan.prototype['last_updated'] = undefined;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Total bytes used by this SIM
|
|
158
|
+
* @member {Number} lifetime_used
|
|
159
|
+
*/
|
|
160
|
+
CellularPlan.prototype['lifetime_used'] = undefined;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Description of the SIM plan type including data allowance, region, and validity period
|
|
164
|
+
* @member {String} plan_type
|
|
165
|
+
*/
|
|
166
|
+
CellularPlan.prototype['plan_type'] = undefined;
|
|
167
|
+
var _default = exports["default"] = CellularPlan;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CloneProjectRequest model module.
|
|
31
31
|
* @module model/CloneProjectRequest
|
|
32
|
-
* @version 2.1.0-beta.
|
|
32
|
+
* @version 2.1.0-beta.2
|
|
33
33
|
*/
|
|
34
34
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Contact.js
CHANGED