@blues-inc/notehub-js 2.3.0 → 3.0.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 +250 -241
- package/dist/ApiClient.js +154 -154
- package/dist/api/AlertApi.js +22 -22
- package/dist/api/AuthorizationApi.js +31 -31
- package/dist/api/BillingAccountApi.js +14 -14
- package/dist/api/DeviceApi.js +843 -831
- package/dist/api/EventApi.js +178 -178
- package/dist/api/ExternalDevicesApi.js +41 -41
- package/dist/api/MonitorApi.js +52 -52
- package/dist/api/ProjectApi.js +562 -562
- package/dist/api/RouteApi.js +77 -77
- package/dist/api/UsageApi.js +65 -44
- package/dist/api/WebhookApi.js +51 -51
- package/dist/index.js +80 -73
- package/dist/model/{PutDeviceFleetsRequest.js → AddDeviceToFleetsRequest.js} +26 -26
- package/dist/model/Alert.js +76 -74
- package/dist/model/AlertDataInner.js +35 -35
- package/dist/model/AlertNotificationsInner.js +18 -18
- package/dist/model/AwsRoute.js +65 -65
- package/dist/model/AzureRoute.js +43 -43
- package/dist/model/BillingAccount.js +21 -21
- package/dist/model/BillingAccountRole.js +9 -9
- package/dist/model/BlynkRoute.js +28 -28
- package/dist/model/Body.js +5 -5
- package/dist/model/CellularPlan.js +34 -34
- package/dist/model/CloneProjectRequest.js +20 -20
- package/dist/model/Contact.js +22 -22
- package/dist/model/CreateFleetRequest.js +17 -17
- package/dist/model/CreateMonitor.js +126 -125
- package/dist/model/CreateProductRequest.js +22 -22
- package/dist/model/CreateProjectRequest.js +16 -16
- package/dist/model/CreateUpdateRepository.js +17 -17
- package/dist/model/CurrentFirmware.js +12 -12
- package/dist/model/DFUEnv.js +12 -12
- package/dist/model/DFUState.js +65 -65
- package/dist/model/DataField.js +7 -7
- package/dist/model/DataSetField.js +19 -19
- package/dist/model/DataUsage.js +14 -14
- package/dist/model/DatacakeRoute.js +35 -35
- package/dist/model/{DeleteDeviceFleetsRequest.js → DeleteDeviceFromFleetsRequest.js} +26 -26
- package/dist/model/{HandleNotefileDeleteRequest.js → DeleteNotefilesRequest.js} +24 -24
- package/dist/model/Device.js +115 -101
- package/dist/model/DeviceDfuHistory.js +20 -19
- package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
- package/dist/model/DeviceDfuHistoryPage.js +13 -12
- package/dist/model/DeviceDfuStateMachine.js +25 -24
- package/dist/model/DeviceDfuStateMachineNode.js +22 -22
- package/dist/model/DeviceDfuStatus.js +20 -20
- package/dist/model/DeviceDfuStatusPage.js +13 -12
- package/dist/model/DeviceSession.js +221 -221
- package/dist/model/DeviceTowerInfo.js +14 -14
- package/dist/model/DeviceUsage.js +32 -32
- package/dist/model/DfuActionRequest.js +7 -7
- package/dist/model/EmailNotification.js +7 -7
- package/dist/model/EnvTreeJsonNode.js +69 -67
- package/dist/model/EnvVar.js +18 -18
- package/dist/model/EnvironmentVariables.js +8 -8
- package/dist/model/Error.js +31 -31
- package/dist/model/Event.js +248 -248
- package/dist/model/Filter.js +16 -16
- package/dist/model/Firmware.js +49 -49
- package/dist/model/FirmwareInfo.js +60 -60
- package/dist/model/Fleet.js +35 -35
- package/dist/model/FleetConnectivityAssurance.js +8 -31
- package/dist/model/GetAlerts200Response.js +15 -14
- package/dist/model/GetBillingAccounts200Response.js +10 -9
- package/dist/model/GetDataUsage200Response.js +10 -9
- package/dist/model/GetDataUsage200ResponseDataInner.js +41 -40
- package/dist/model/{HandleNoteGet200Response.js → GetDbNote200Response.js} +29 -29
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
- package/dist/model/GetDeviceFleets200Response.js +12 -11
- package/dist/model/GetDeviceHealthLog200Response.js +12 -11
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
- package/dist/model/{GetDeviceLatest200Response.js → GetDeviceLatestEvents200Response.js} +26 -25
- package/dist/model/GetDevicePlans200Response.js +10 -9
- package/dist/model/GetDevicePublicKey200Response.js +16 -16
- package/dist/model/{GetProjectDevicePublicKeys200Response.js → GetDevicePublicKeys200Response.js} +38 -37
- package/dist/model/{GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js → GetDevicePublicKeys200ResponseDevicePublicKeysInner.js} +28 -28
- package/dist/model/GetDeviceSessions200Response.js +17 -16
- package/dist/model/{GetProjectDevices200Response.js → GetDevices200Response.js} +35 -34
- package/dist/model/{GetProjectEvents200Response.js → GetEvents200Response.js} +39 -38
- package/dist/model/{GetProjectEventsByCursor200Response.js → GetEventsByCursor200Response.js} +42 -41
- package/dist/model/{HandleNoteChanges200Response.js → GetNotefile200Response.js} +27 -27
- package/dist/model/GetProducts200Response.js +10 -9
- package/dist/model/GetProjectMembers200Response.js +12 -11
- package/dist/model/GetProjects200Response.js +10 -9
- package/dist/model/GetSessionsUsage200Response.js +12 -11
- package/dist/model/GetWebhooks200Response.js +10 -9
- package/dist/model/GoogleRoute.js +33 -33
- package/dist/model/HttpRoute.js +35 -35
- package/dist/model/{HandleNotefileChanges200Response.js → ListNotefiles200Response.js} +27 -27
- package/dist/model/{HandleNotefileChangesPending200Response.js → ListPendingNotefiles200Response.js} +30 -30
- package/dist/model/Location.js +40 -40
- package/dist/model/Login200Response.js +7 -7
- package/dist/model/LoginRequest.js +12 -12
- package/dist/model/Monitor.js +100 -99
- package/dist/model/MonitorAlertRoutesInner.js +9 -10
- package/dist/model/MqttRoute.js +68 -68
- package/dist/model/Note.js +10 -10
- package/dist/model/NotefileSchema.js +19 -18
- package/dist/model/NotehubRoute.js +112 -98
- package/dist/model/NotehubRouteSummary.js +23 -23
- package/dist/model/OAuth2Error.js +20 -20
- package/dist/model/OAuth2TokenResponse.js +23 -23
- package/dist/model/PersonalAccessToken.js +34 -34
- package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
- package/dist/model/PersonalAccessTokenInfo.js +18 -18
- package/dist/model/PersonalAccessTokenSecret.js +12 -12
- package/dist/model/Product.js +26 -26
- package/dist/model/Project.js +34 -34
- package/dist/model/ProjectMember.js +22 -22
- package/dist/model/{PostProvisionProjectDeviceRequest.js → ProvisionDeviceRequest.js} +36 -36
- package/dist/model/ProxyRoute.js +29 -29
- package/dist/model/QubitroRoute.js +33 -33
- package/dist/model/RadRoute.js +31 -31
- package/dist/model/Repository.js +22 -22
- package/dist/model/Role.js +9 -9
- package/dist/model/RouteLog.js +38 -38
- package/dist/model/RouteTransformSettings.js +18 -18
- package/dist/model/S3ArchiveRoute.js +79 -79
- package/dist/model/SatellitePlan.js +26 -26
- package/dist/model/SchemaProperty.js +38 -36
- package/dist/model/{HandleNoteSignal200Response.js → SignalDevice200Response.js} +21 -21
- package/dist/model/SimUsage.js +19 -19
- package/dist/model/SlackBearerNotification.js +25 -25
- package/dist/model/SlackRoute.js +48 -48
- package/dist/model/SlackWebHookNotification.js +20 -20
- package/dist/model/SnowflakeRoute.js +45 -45
- package/dist/model/SnowpipeStreamingRoute.js +223 -0
- package/dist/model/ThingworxRoute.js +33 -33
- package/dist/model/TowerLocation.js +54 -54
- package/dist/model/TwilioRoute.js +43 -43
- package/dist/model/UpdateFleetRequest.js +30 -30
- package/dist/model/UploadMetadata.js +64 -64
- package/dist/model/UsageData.js +18 -18
- package/dist/model/UsageEventsData.js +40 -29
- package/dist/model/UsageEventsResponse.js +12 -11
- package/dist/model/UsageRouteLogsData.js +27 -27
- package/dist/model/UsageSessionsData.js +27 -27
- package/dist/model/UserDfuStateMachine.js +20 -20
- package/dist/model/UserDfuStateMachineStatus.js +20 -20
- package/dist/model/UserFirmwareInfo.js +12 -12
- package/dist/model/WebhookSettings.js +15 -15
- package/package.json +3 -3
package/dist/api/AlertApi.js
CHANGED
|
@@ -15,7 +15,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
18
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
20
|
* The version of the OpenAPI document: 1.2.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
@@ -26,18 +26,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
* Alert service.
|
|
30
|
+
* @module api/AlertApi
|
|
31
|
+
* @version 3.0.0-beta.2
|
|
32
|
+
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
* Constructs a new AlertApi.
|
|
36
|
+
* @alias module:api/AlertApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
41
|
function AlertApi(apiClient) {
|
|
42
42
|
_classCallCheck(this, AlertApi);
|
|
43
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
@@ -45,11 +45,11 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Get list of defined Alerts
|
|
48
|
-
* @param {String} projectOrProductUID
|
|
48
|
+
* @param {String} projectOrProductUID
|
|
49
49
|
* @param {Object} opts Optional parameters
|
|
50
50
|
* @param {Number} opts.pageSize (default to 50)
|
|
51
51
|
* @param {Number} opts.pageNum (default to 1)
|
|
52
|
-
* @param {String} opts.monitorUID
|
|
52
|
+
* @param {String} opts.monitorUID
|
|
53
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
|
|
54
54
|
*/
|
|
55
55
|
return _createClass(AlertApi, [{
|
|
@@ -62,29 +62,29 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
62
62
|
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getAlerts");
|
|
63
63
|
}
|
|
64
64
|
var pathParams = {
|
|
65
|
-
projectOrProductUID: projectOrProductUID
|
|
65
|
+
'projectOrProductUID': projectOrProductUID
|
|
66
66
|
};
|
|
67
67
|
var queryParams = {
|
|
68
|
-
pageSize: opts[
|
|
69
|
-
pageNum: opts[
|
|
70
|
-
monitorUID: opts[
|
|
68
|
+
'pageSize': opts['pageSize'],
|
|
69
|
+
'pageNum': opts['pageNum'],
|
|
70
|
+
'monitorUID': opts['monitorUID']
|
|
71
71
|
};
|
|
72
72
|
var headerParams = {};
|
|
73
73
|
var formParams = {};
|
|
74
|
-
var authNames = [
|
|
74
|
+
var authNames = ['personalAccessToken'];
|
|
75
75
|
var contentTypes = [];
|
|
76
|
-
var accepts = [
|
|
76
|
+
var accepts = ['application/json'];
|
|
77
77
|
var returnType = _GetAlerts200Response["default"];
|
|
78
|
-
return this.apiClient.callApi(
|
|
78
|
+
return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/alerts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Get list of defined Alerts
|
|
83
|
-
* @param {String} projectOrProductUID
|
|
83
|
+
* @param {String} projectOrProductUID
|
|
84
84
|
* @param {Object} opts Optional parameters
|
|
85
85
|
* @param {Number} opts.pageSize (default to 50)
|
|
86
86
|
* @param {Number} opts.pageNum (default to 1)
|
|
87
|
-
* @param {String} opts.monitorUID
|
|
87
|
+
* @param {String} opts.monitorUID
|
|
88
88
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
|
|
89
89
|
*/
|
|
90
90
|
}, {
|
|
@@ -17,7 +17,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
19
|
* Notehub API
|
|
20
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
21
|
*
|
|
22
22
|
* The version of the OpenAPI document: 1.2.0
|
|
23
23
|
* Contact: engineering@blues.io
|
|
@@ -28,18 +28,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
* Authorization service.
|
|
32
|
+
* @module api/AuthorizationApi
|
|
33
|
+
* @version 3.0.0-beta.2
|
|
34
|
+
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
* Constructs a new AuthorizationApi.
|
|
38
|
+
* @alias module:api/AuthorizationApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
43
|
function AuthorizationApi(apiClient) {
|
|
44
44
|
_classCallCheck(this, AuthorizationApi);
|
|
45
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
@@ -47,7 +47,7 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Gets an API key from username and password
|
|
50
|
-
* @param {module:model/LoginRequest} loginRequest
|
|
50
|
+
* @param {module:model/LoginRequest} loginRequest
|
|
51
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Login200Response} and HTTP response
|
|
52
52
|
*/
|
|
53
53
|
return _createClass(AuthorizationApi, [{
|
|
@@ -63,15 +63,15 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
63
63
|
var headerParams = {};
|
|
64
64
|
var formParams = {};
|
|
65
65
|
var authNames = [];
|
|
66
|
-
var contentTypes = [
|
|
67
|
-
var accepts = [
|
|
66
|
+
var contentTypes = ['application/json'];
|
|
67
|
+
var accepts = ['application/json'];
|
|
68
68
|
var returnType = _Login200Response["default"];
|
|
69
|
-
return this.apiClient.callApi(
|
|
69
|
+
return this.apiClient.callApi('/auth/login', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* Gets an API key from username and password
|
|
74
|
-
* @param {module:model/LoginRequest} loginRequest
|
|
74
|
+
* @param {module:model/LoginRequest} loginRequest
|
|
75
75
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Login200Response}
|
|
76
76
|
*/
|
|
77
77
|
}, {
|
|
@@ -84,10 +84,10 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Issue an OAuth 2.0 access token (Client Credentials)
|
|
87
|
-
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
88
|
-
* @param {String} clientId
|
|
89
|
-
* @param {String} clientSecret
|
|
90
|
-
* @param {module:model/String} grantType
|
|
87
|
+
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
88
|
+
* @param {String} clientId
|
|
89
|
+
* @param {String} clientSecret
|
|
90
|
+
* @param {module:model/String} grantType
|
|
91
91
|
* @param {Object} opts Optional parameters
|
|
92
92
|
* @param {String} opts.scope Space-delimited scopes.
|
|
93
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OAuth2TokenResponse} and HTTP response
|
|
@@ -113,24 +113,24 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
113
113
|
var queryParams = {};
|
|
114
114
|
var headerParams = {};
|
|
115
115
|
var formParams = {
|
|
116
|
-
client_id: clientId,
|
|
117
|
-
client_secret: clientSecret,
|
|
118
|
-
grant_type: grantType,
|
|
119
|
-
scope: opts[
|
|
116
|
+
'client_id': clientId,
|
|
117
|
+
'client_secret': clientSecret,
|
|
118
|
+
'grant_type': grantType,
|
|
119
|
+
'scope': opts['scope']
|
|
120
120
|
};
|
|
121
121
|
var authNames = [];
|
|
122
|
-
var contentTypes = [
|
|
123
|
-
var accepts = [
|
|
122
|
+
var contentTypes = ['application/x-www-form-urlencoded'];
|
|
123
|
+
var accepts = ['application/json'];
|
|
124
124
|
var returnType = _OAuth2TokenResponse["default"];
|
|
125
|
-
return this.apiClient.callApi(
|
|
125
|
+
return this.apiClient.callApi('/oauth2/token', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Issue an OAuth 2.0 access token (Client Credentials)
|
|
130
|
-
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
131
|
-
* @param {String} clientId
|
|
132
|
-
* @param {String} clientSecret
|
|
133
|
-
* @param {module:model/String} grantType
|
|
130
|
+
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
131
|
+
* @param {String} clientId
|
|
132
|
+
* @param {String} clientSecret
|
|
133
|
+
* @param {module:model/String} grantType
|
|
134
134
|
* @param {Object} opts Optional parameters
|
|
135
135
|
* @param {String} opts.scope Space-delimited scopes.
|
|
136
136
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OAuth2TokenResponse}
|
|
@@ -15,7 +15,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
18
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
20
|
* The version of the OpenAPI document: 1.2.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
@@ -26,18 +26,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
* BillingAccount service.
|
|
30
|
+
* @module api/BillingAccountApi
|
|
31
|
+
* @version 3.0.0-beta.2
|
|
32
|
+
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
* Constructs a new BillingAccountApi.
|
|
36
|
+
* @alias module:api/BillingAccountApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
41
|
function BillingAccountApi(apiClient) {
|
|
42
42
|
_classCallCheck(this, BillingAccountApi);
|
|
43
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
@@ -55,11 +55,11 @@ var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
55
55
|
var queryParams = {};
|
|
56
56
|
var headerParams = {};
|
|
57
57
|
var formParams = {};
|
|
58
|
-
var authNames = [
|
|
58
|
+
var authNames = ['personalAccessToken'];
|
|
59
59
|
var contentTypes = [];
|
|
60
|
-
var accepts = [
|
|
60
|
+
var accepts = ['application/json'];
|
|
61
61
|
var returnType = _GetBillingAccounts200Response["default"];
|
|
62
|
-
return this.apiClient.callApi(
|
|
62
|
+
return this.apiClient.callApi('/v1/billing-accounts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|