@blues-inc/notehub-js 6.4.0-beta.34 → 6.4.0-beta.35
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 +3 -3
- 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 +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +38 -38
- 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 +3 -3
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.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/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.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/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccount200Response.js +1 -1
- package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.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/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetEventsByCursor200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/{GetOrganizationBalance200Response.js → GetOrganizationEventBalance200Response.js} +22 -22
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.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/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.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/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
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: 6.4.0-beta.
|
|
9
|
+
- Package version: 6.4.0-beta.35
|
|
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
|
|
|
@@ -192,8 +192,8 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
192
192
|
| _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors |
|
|
193
193
|
| _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
194
194
|
| _NotehubJs.OrganizationApi_ | [**getOrganization**](docs/OrganizationApi.md#getOrganization) | **GET** /v1/organizations/{organizationUID} |
|
|
195
|
-
| _NotehubJs.OrganizationApi_ | [**getOrganizationBalance**](docs/OrganizationApi.md#getOrganizationBalance) | **GET** /v1/organizations/{organizationUID}/event-balance |
|
|
196
195
|
| _NotehubJs.OrganizationApi_ | [**getOrganizationBalanceHistory**](docs/OrganizationApi.md#getOrganizationBalanceHistory) | **GET** /v1/organizations/{organizationUID}/balance-history |
|
|
196
|
+
| _NotehubJs.OrganizationApi_ | [**getOrganizationEventBalance**](docs/OrganizationApi.md#getOrganizationEventBalance) | **GET** /v1/organizations/{organizationUID}/event-balance |
|
|
197
197
|
| _NotehubJs.OrganizationApi_ | [**getOrganizations**](docs/OrganizationApi.md#getOrganizations) | **GET** /v1/organizations |
|
|
198
198
|
| _NotehubJs.ProjectApi_ | [**addDeviceToFleets**](docs/ProjectApi.md#addDeviceToFleets) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
|
|
199
199
|
| _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectOrProductUID}/clone |
|
|
@@ -350,7 +350,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
350
350
|
- [NotehubJs.GetJobRuns200Response](docs/GetJobRuns200Response.md)
|
|
351
351
|
- [NotehubJs.GetJobs200Response](docs/GetJobs200Response.md)
|
|
352
352
|
- [NotehubJs.GetNotefile200Response](docs/GetNotefile200Response.md)
|
|
353
|
-
- [NotehubJs.
|
|
353
|
+
- [NotehubJs.GetOrganizationEventBalance200Response](docs/GetOrganizationEventBalance200Response.md)
|
|
354
354
|
- [NotehubJs.GetOrganizations200Response](docs/GetOrganizations200Response.md)
|
|
355
355
|
- [NotehubJs.GetProducts200Response](docs/GetProducts200Response.md)
|
|
356
356
|
- [NotehubJs.GetProjectMembers200Response](docs/GetProjectMembers200Response.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 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
*/
|
|
69
69
|
this.defaultHeaders = {};
|
|
70
70
|
if (typeof window === "undefined") {
|
|
71
|
-
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0-beta.35/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
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 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.35
|
|
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 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.35
|
|
34
34
|
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* BillingAccount service.
|
|
32
32
|
* @module api/BillingAccountApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.35
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
48
48
|
/**
|
|
49
49
|
* Device service.
|
|
50
50
|
* @module api/DeviceApi
|
|
51
|
-
* @version 6.4.0-beta.
|
|
51
|
+
* @version 6.4.0-beta.35
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
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 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.35
|
|
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 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -36,7 +36,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
36
36
|
/**
|
|
37
37
|
* Jobs service.
|
|
38
38
|
* @module api/JobsApi
|
|
39
|
-
* @version 6.4.0-beta.
|
|
39
|
+
* @version 6.4.0-beta.35
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
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 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -8,7 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
9
9
|
var _GetBillingAccount200Response = _interopRequireDefault(require("../model/GetBillingAccount200Response"));
|
|
10
10
|
var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("../model/GetBillingAccountBalanceHistory200Response"));
|
|
11
|
-
var
|
|
11
|
+
var _GetOrganizationEventBalance200Response = _interopRequireDefault(require("../model/GetOrganizationEventBalance200Response"));
|
|
12
12
|
var _GetOrganizations200Response = _interopRequireDefault(require("../model/GetOrganizations200Response"));
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
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); }
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Organization service.
|
|
33
33
|
* @module api/OrganizationApi
|
|
34
|
-
* @version 6.4.0-beta.
|
|
34
|
+
* @version 6.4.0-beta.35
|
|
35
35
|
*/
|
|
36
36
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -86,89 +86,89 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Get
|
|
89
|
+
* Get Organization Balance history
|
|
90
90
|
* @param {String} organizationUID
|
|
91
|
-
* @
|
|
91
|
+
* @param {Object} opts Optional parameters
|
|
92
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
93
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
94
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalanceHistory200Response} and HTTP response
|
|
92
95
|
*/
|
|
93
96
|
}, {
|
|
94
|
-
key: "
|
|
95
|
-
value: function
|
|
97
|
+
key: "getOrganizationBalanceHistoryWithHttpInfo",
|
|
98
|
+
value: function getOrganizationBalanceHistoryWithHttpInfo(organizationUID, opts) {
|
|
99
|
+
opts = opts || {};
|
|
96
100
|
var postBody = null;
|
|
97
101
|
// verify the required parameter 'organizationUID' is set
|
|
98
102
|
if (organizationUID === undefined || organizationUID === null) {
|
|
99
|
-
throw new _Error["default"]("Missing the required parameter 'organizationUID' when calling
|
|
103
|
+
throw new _Error["default"]("Missing the required parameter 'organizationUID' when calling getOrganizationBalanceHistory");
|
|
100
104
|
}
|
|
101
105
|
var pathParams = {
|
|
102
106
|
organizationUID: organizationUID
|
|
103
107
|
};
|
|
104
|
-
var queryParams = {
|
|
108
|
+
var queryParams = {
|
|
109
|
+
startDate: opts["startDate"],
|
|
110
|
+
endDate: opts["endDate"]
|
|
111
|
+
};
|
|
105
112
|
var headerParams = {};
|
|
106
113
|
var formParams = {};
|
|
107
114
|
var authNames = ["personalAccessToken"];
|
|
108
115
|
var contentTypes = [];
|
|
109
116
|
var accepts = ["application/json"];
|
|
110
|
-
var returnType =
|
|
111
|
-
return this.apiClient.callApi("/v1/organizations/{organizationUID}/
|
|
117
|
+
var returnType = _GetBillingAccountBalanceHistory200Response["default"];
|
|
118
|
+
return this.apiClient.callApi("/v1/organizations/{organizationUID}/balance-history", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
112
119
|
}
|
|
113
120
|
|
|
114
121
|
/**
|
|
115
|
-
* Get
|
|
122
|
+
* Get Organization Balance history
|
|
116
123
|
* @param {String} organizationUID
|
|
117
|
-
* @
|
|
124
|
+
* @param {Object} opts Optional parameters
|
|
125
|
+
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
126
|
+
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
127
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalanceHistory200Response}
|
|
118
128
|
*/
|
|
119
129
|
}, {
|
|
120
|
-
key: "
|
|
121
|
-
value: function
|
|
122
|
-
return this.
|
|
130
|
+
key: "getOrganizationBalanceHistory",
|
|
131
|
+
value: function getOrganizationBalanceHistory(organizationUID, opts) {
|
|
132
|
+
return this.getOrganizationBalanceHistoryWithHttpInfo(organizationUID, opts).then(function (response_and_data) {
|
|
123
133
|
return response_and_data.data;
|
|
124
134
|
});
|
|
125
135
|
}
|
|
126
136
|
|
|
127
137
|
/**
|
|
128
|
-
* Get
|
|
138
|
+
* Get the current event balance for an organization
|
|
129
139
|
* @param {String} organizationUID
|
|
130
|
-
* @
|
|
131
|
-
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
132
|
-
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
133
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalanceHistory200Response} and HTTP response
|
|
140
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganizationEventBalance200Response} and HTTP response
|
|
134
141
|
*/
|
|
135
142
|
}, {
|
|
136
|
-
key: "
|
|
137
|
-
value: function
|
|
138
|
-
opts = opts || {};
|
|
143
|
+
key: "getOrganizationEventBalanceWithHttpInfo",
|
|
144
|
+
value: function getOrganizationEventBalanceWithHttpInfo(organizationUID) {
|
|
139
145
|
var postBody = null;
|
|
140
146
|
// verify the required parameter 'organizationUID' is set
|
|
141
147
|
if (organizationUID === undefined || organizationUID === null) {
|
|
142
|
-
throw new _Error["default"]("Missing the required parameter 'organizationUID' when calling
|
|
148
|
+
throw new _Error["default"]("Missing the required parameter 'organizationUID' when calling getOrganizationEventBalance");
|
|
143
149
|
}
|
|
144
150
|
var pathParams = {
|
|
145
151
|
organizationUID: organizationUID
|
|
146
152
|
};
|
|
147
|
-
var queryParams = {
|
|
148
|
-
startDate: opts["startDate"],
|
|
149
|
-
endDate: opts["endDate"]
|
|
150
|
-
};
|
|
153
|
+
var queryParams = {};
|
|
151
154
|
var headerParams = {};
|
|
152
155
|
var formParams = {};
|
|
153
156
|
var authNames = ["personalAccessToken"];
|
|
154
157
|
var contentTypes = [];
|
|
155
158
|
var accepts = ["application/json"];
|
|
156
|
-
var returnType =
|
|
157
|
-
return this.apiClient.callApi("/v1/organizations/{organizationUID}/balance
|
|
159
|
+
var returnType = _GetOrganizationEventBalance200Response["default"];
|
|
160
|
+
return this.apiClient.callApi("/v1/organizations/{organizationUID}/event-balance", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
158
161
|
}
|
|
159
162
|
|
|
160
163
|
/**
|
|
161
|
-
* Get
|
|
164
|
+
* Get the current event balance for an organization
|
|
162
165
|
* @param {String} organizationUID
|
|
163
|
-
* @
|
|
164
|
-
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
165
|
-
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
166
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalanceHistory200Response}
|
|
166
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganizationEventBalance200Response}
|
|
167
167
|
*/
|
|
168
168
|
}, {
|
|
169
|
-
key: "
|
|
170
|
-
value: function
|
|
171
|
-
return this.
|
|
169
|
+
key: "getOrganizationEventBalance",
|
|
170
|
+
value: function getOrganizationEventBalance(organizationUID) {
|
|
171
|
+
return this.getOrganizationEventBalanceWithHttpInfo(organizationUID).then(function (response_and_data) {
|
|
172
172
|
return response_and_data.data;
|
|
173
173
|
});
|
|
174
174
|
}
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -56,7 +56,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
56
56
|
/**
|
|
57
57
|
* Project service.
|
|
58
58
|
* @module api/ProjectApi
|
|
59
|
-
* @version 6.4.0-beta.
|
|
59
|
+
* @version 6.4.0-beta.35
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|
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 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.35
|
|
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 6.4.0-beta.
|
|
34
|
+
* @version 6.4.0-beta.35
|
|
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 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/index.js
CHANGED
|
@@ -561,10 +561,10 @@ Object.defineProperty(exports, "GetNotefile200Response", {
|
|
|
561
561
|
return _GetNotefile200Response["default"];
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
|
-
Object.defineProperty(exports, "
|
|
564
|
+
Object.defineProperty(exports, "GetOrganizationEventBalance200Response", {
|
|
565
565
|
enumerable: true,
|
|
566
566
|
get: function get() {
|
|
567
|
-
return
|
|
567
|
+
return _GetOrganizationEventBalance200Response["default"];
|
|
568
568
|
}
|
|
569
569
|
});
|
|
570
570
|
Object.defineProperty(exports, "GetOrganizations200Response", {
|
|
@@ -1176,7 +1176,7 @@ var _GetEventsByCursor200Response = _interopRequireDefault(require("./model/GetE
|
|
|
1176
1176
|
var _GetJobRuns200Response = _interopRequireDefault(require("./model/GetJobRuns200Response"));
|
|
1177
1177
|
var _GetJobs200Response = _interopRequireDefault(require("./model/GetJobs200Response"));
|
|
1178
1178
|
var _GetNotefile200Response = _interopRequireDefault(require("./model/GetNotefile200Response"));
|
|
1179
|
-
var
|
|
1179
|
+
var _GetOrganizationEventBalance200Response = _interopRequireDefault(require("./model/GetOrganizationEventBalance200Response"));
|
|
1180
1180
|
var _GetOrganizations200Response = _interopRequireDefault(require("./model/GetOrganizations200Response"));
|
|
1181
1181
|
var _GetProducts200Response = _interopRequireDefault(require("./model/GetProducts200Response"));
|
|
1182
1182
|
var _GetProjectMembers200Response = _interopRequireDefault(require("./model/GetProjectMembers200Response"));
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AWSRoleConfig model module.
|
|
31
31
|
* @module model/AWSRoleConfig
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var AWSRoleConfig = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AddDeviceToFleetsRequest model module.
|
|
31
31
|
* @module model/AddDeviceToFleetsRequest
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
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 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
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 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/AwsRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The AwsRoute model module.
|
|
30
30
|
* @module model/AwsRoute
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.35
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/AzureRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The AzureRoute model module.
|
|
30
30
|
* @module model/AzureRoute
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.35
|
|
32
32
|
*/
|
|
33
33
|
var AzureRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The BatchJobRequests model module.
|
|
28
28
|
* @module model/BatchJobRequests
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var BatchJobRequests = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.35
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/BlynkRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The BlynkRoute model module.
|
|
30
30
|
* @module model/BlynkRoute
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.35
|
|
32
32
|
*/
|
|
33
33
|
var BlynkRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/Body.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CancelJobRun200Response model module.
|
|
31
31
|
* @module model/CancelJobRun200Response
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CancelJobRun200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CellularPlan model module.
|
|
29
29
|
* @module model/CellularPlan
|
|
30
|
-
* @version 6.4.0-beta.
|
|
30
|
+
* @version 6.4.0-beta.35
|
|
31
31
|
*/
|
|
32
32
|
var CellularPlan = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Contact.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateFleetRequest model module.
|
|
29
29
|
* @module model/CreateFleetRequest
|
|
30
|
-
* @version 6.4.0-beta.
|
|
30
|
+
* @version 6.4.0-beta.35
|
|
31
31
|
*/
|
|
32
32
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateJob201Response model module.
|
|
31
31
|
* @module model/CreateJob201Response
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CreateJob201Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateMonitor model module.
|
|
33
33
|
* @module model/CreateMonitor
|
|
34
|
-
* @version 6.4.0-beta.
|
|
34
|
+
* @version 6.4.0-beta.35
|
|
35
35
|
*/
|
|
36
36
|
var CreateMonitor = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProductRequest model module.
|
|
31
31
|
* @module model/CreateProductRequest
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectRequest model module.
|
|
31
31
|
* @module model/CreateProjectRequest
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectSecretRequest model module.
|
|
31
31
|
* @module model/CreateProjectSecretRequest
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.35
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectSecretRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateUpdateRepository model module.
|
|
28
28
|
* @module model/CreateUpdateRepository
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var CreateUpdateRepository = /*#__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 CreatedRepository model module.
|
|
28
28
|
* @module model/CreatedRepository
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var CreatedRepository = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CurrentFirmware model module.
|
|
29
29
|
* @module model/CurrentFirmware
|
|
30
|
-
* @version 6.4.0-beta.
|
|
30
|
+
* @version 6.4.0-beta.35
|
|
31
31
|
*/
|
|
32
32
|
var CurrentFirmware = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/DFUEnv.js
CHANGED
package/dist/model/DFUState.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DFUState model module.
|
|
28
28
|
* @module model/DFUState
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var DFUState = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/DataField.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DataField model module.
|
|
28
28
|
* @module model/DataField
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var DataField = /*#__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 DataSetField model module.
|
|
28
28
|
* @module model/DataSetField
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.35
|
|
30
30
|
*/
|
|
31
31
|
var DataSetField = /*#__PURE__*/function () {
|
|
32
32
|
/**
|