@blues-inc/notehub-js 6.7.0-beta.10 → 6.7.0-beta.11
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 +158 -139
- 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 +167 -0
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +146 -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 +9 -9
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/SkillsApi.js +327 -0
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +105 -28
- 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/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.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/DataSet.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/DatasetReloadProgress.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/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.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/DeviceSensor.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/GetApiUsage200Response.js +1 -1
- package/dist/model/{GetOrganization200Response.js → GetBillingAccount200Response.js} +28 -28
- package/dist/model/{GetOrganization200ResponsePlan.js → GetBillingAccount200ResponsePlan.js} +24 -24
- package/dist/model/{GetOrganizationBalanceHistory200Response.js → GetBillingAccountBalanceHistory200Response.js} +22 -22
- package/dist/model/{GetOrganizationBalanceHistory200ResponseDataInner.js → GetBillingAccountBalanceHistory200ResponseDataInner.js} +22 -22
- package/dist/model/GetBillingAccounts200Response.js +111 -0
- 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/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 +157 -0
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- 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/HealthLog.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/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/Skill.js +207 -0
- package/dist/model/SkillCatalog.js +170 -0
- package/dist/model/SkillLinks.js +130 -0
- package/dist/model/SkillSet.js +181 -0
- package/dist/model/SkillSummary.js +192 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/SkillWriteResult.js +153 -0
- 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/UsageApiData.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
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _GetBillingAccount200ResponsePlan = _interopRequireDefault(require("./GetBillingAccount200ResponsePlan"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
11
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -25,18 +25,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
30
|
-
* @version 6.7.0-beta.
|
|
28
|
+
* The GetBillingAccount200Response model module.
|
|
29
|
+
* @module model/GetBillingAccount200Response
|
|
30
|
+
* @version 6.7.0-beta.11
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var GetBillingAccount200Response = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
* @alias module:model/
|
|
34
|
+
* Constructs a new <code>GetBillingAccount200Response</code>.
|
|
35
|
+
* @alias module:model/GetBillingAccount200Response
|
|
36
36
|
*/
|
|
37
|
-
function
|
|
38
|
-
_classCallCheck(this,
|
|
39
|
-
|
|
37
|
+
function GetBillingAccount200Response() {
|
|
38
|
+
_classCallCheck(this, GetBillingAccount200Response);
|
|
39
|
+
GetBillingAccount200Response.initialize(this);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,22 +44,22 @@ var GetOrganization200Response = /*#__PURE__*/function () {
|
|
|
44
44
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
45
|
* Only for internal use.
|
|
46
46
|
*/
|
|
47
|
-
return _createClass(
|
|
47
|
+
return _createClass(GetBillingAccount200Response, null, [{
|
|
48
48
|
key: "initialize",
|
|
49
49
|
value: function initialize(obj) {}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Constructs a <code>
|
|
52
|
+
* Constructs a <code>GetBillingAccount200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
53
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
54
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
-
* @param {module:model/
|
|
56
|
-
* @return {module:model/
|
|
55
|
+
* @param {module:model/GetBillingAccount200Response} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/GetBillingAccount200Response} The populated <code>GetBillingAccount200Response</code> instance.
|
|
57
57
|
*/
|
|
58
58
|
}, {
|
|
59
59
|
key: "constructFromObject",
|
|
60
60
|
value: function constructFromObject(data, obj) {
|
|
61
61
|
if (data) {
|
|
62
|
-
obj = obj || new
|
|
62
|
+
obj = obj || new GetBillingAccount200Response();
|
|
63
63
|
if (data.hasOwnProperty("contact_uid")) {
|
|
64
64
|
obj["contact_uid"] = _ApiClient["default"].convertToType(data["contact_uid"], "String");
|
|
65
65
|
}
|
|
@@ -73,7 +73,7 @@ var GetOrganization200Response = /*#__PURE__*/function () {
|
|
|
73
73
|
obj["owner"] = _ApiClient["default"].convertToType(data["owner"], "String");
|
|
74
74
|
}
|
|
75
75
|
if (data.hasOwnProperty("plan")) {
|
|
76
|
-
obj["plan"] =
|
|
76
|
+
obj["plan"] = _GetBillingAccount200ResponsePlan["default"].constructFromObject(data["plan"]);
|
|
77
77
|
}
|
|
78
78
|
if (data.hasOwnProperty("suspended")) {
|
|
79
79
|
obj["suspended"] = _ApiClient["default"].convertToType(data["suspended"], "Boolean");
|
|
@@ -88,9 +88,9 @@ var GetOrganization200Response = /*#__PURE__*/function () {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Validates the JSON data with respect to <code>
|
|
91
|
+
* Validates the JSON data with respect to <code>GetBillingAccount200Response</code>.
|
|
92
92
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
93
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetBillingAccount200Response</code>.
|
|
94
94
|
*/
|
|
95
95
|
}, {
|
|
96
96
|
key: "validateJSON",
|
|
@@ -114,7 +114,7 @@ var GetOrganization200Response = /*#__PURE__*/function () {
|
|
|
114
114
|
// validate the optional field `plan`
|
|
115
115
|
if (data["plan"]) {
|
|
116
116
|
// data not null
|
|
117
|
-
|
|
117
|
+
_GetBillingAccount200ResponsePlan["default"].validateJSON(data["plan"]);
|
|
118
118
|
}
|
|
119
119
|
// ensure the json data is a string
|
|
120
120
|
if (data["uid"] && !(typeof data["uid"] === "string" || data["uid"] instanceof String)) {
|
|
@@ -127,35 +127,35 @@ var GetOrganization200Response = /*#__PURE__*/function () {
|
|
|
127
127
|
/**
|
|
128
128
|
* @member {String} contact_uid
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
GetBillingAccount200Response.prototype["contact_uid"] = undefined;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* @member {String} email
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
GetBillingAccount200Response.prototype["email"] = undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* @member {String} name
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
GetBillingAccount200Response.prototype["name"] = undefined;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* @member {String} owner
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
GetBillingAccount200Response.prototype["owner"] = undefined;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* @member {module:model/
|
|
148
|
+
* @member {module:model/GetBillingAccount200ResponsePlan} plan
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
GetBillingAccount200Response.prototype["plan"] = undefined;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* @member {Boolean} suspended
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
GetBillingAccount200Response.prototype["suspended"] = undefined;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* @member {String} uid
|
|
159
159
|
*/
|
|
160
|
-
|
|
161
|
-
var _default = exports["default"] =
|
|
160
|
+
GetBillingAccount200Response.prototype["uid"] = undefined;
|
|
161
|
+
var _default = exports["default"] = GetBillingAccount200Response;
|
package/dist/model/{GetOrganization200ResponsePlan.js → GetBillingAccount200ResponsePlan.js}
RENAMED
|
@@ -24,18 +24,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
* @module model/
|
|
29
|
-
* @version 6.7.0-beta.
|
|
27
|
+
* The GetBillingAccount200ResponsePlan model module.
|
|
28
|
+
* @module model/GetBillingAccount200ResponsePlan
|
|
29
|
+
* @version 6.7.0-beta.11
|
|
30
30
|
*/
|
|
31
|
-
var
|
|
31
|
+
var GetBillingAccount200ResponsePlan = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
* @alias module:model/
|
|
33
|
+
* Constructs a new <code>GetBillingAccount200ResponsePlan</code>.
|
|
34
|
+
* @alias module:model/GetBillingAccount200ResponsePlan
|
|
35
35
|
*/
|
|
36
|
-
function
|
|
37
|
-
_classCallCheck(this,
|
|
38
|
-
|
|
36
|
+
function GetBillingAccount200ResponsePlan() {
|
|
37
|
+
_classCallCheck(this, GetBillingAccount200ResponsePlan);
|
|
38
|
+
GetBillingAccount200ResponsePlan.initialize(this);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,22 +43,22 @@ var GetOrganization200ResponsePlan = /*#__PURE__*/function () {
|
|
|
43
43
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
44
|
* Only for internal use.
|
|
45
45
|
*/
|
|
46
|
-
return _createClass(
|
|
46
|
+
return _createClass(GetBillingAccount200ResponsePlan, null, [{
|
|
47
47
|
key: "initialize",
|
|
48
48
|
value: function initialize(obj) {}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Constructs a <code>
|
|
51
|
+
* Constructs a <code>GetBillingAccount200ResponsePlan</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
52
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
53
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
-
* @param {module:model/
|
|
55
|
-
* @return {module:model/
|
|
54
|
+
* @param {module:model/GetBillingAccount200ResponsePlan} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/GetBillingAccount200ResponsePlan} The populated <code>GetBillingAccount200ResponsePlan</code> instance.
|
|
56
56
|
*/
|
|
57
57
|
}, {
|
|
58
58
|
key: "constructFromObject",
|
|
59
59
|
value: function constructFromObject(data, obj) {
|
|
60
60
|
if (data) {
|
|
61
|
-
obj = obj || new
|
|
61
|
+
obj = obj || new GetBillingAccount200ResponsePlan();
|
|
62
62
|
if (data.hasOwnProperty("current_balance")) {
|
|
63
63
|
obj["current_balance"] = _ApiClient["default"].convertToType(data["current_balance"], "Number");
|
|
64
64
|
}
|
|
@@ -81,9 +81,9 @@ var GetOrganization200ResponsePlan = /*#__PURE__*/function () {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Validates the JSON data with respect to <code>
|
|
84
|
+
* Validates the JSON data with respect to <code>GetBillingAccount200ResponsePlan</code>.
|
|
85
85
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
86
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetBillingAccount200ResponsePlan</code>.
|
|
87
87
|
*/
|
|
88
88
|
}, {
|
|
89
89
|
key: "validateJSON",
|
|
@@ -99,34 +99,34 @@ var GetOrganization200ResponsePlan = /*#__PURE__*/function () {
|
|
|
99
99
|
/**
|
|
100
100
|
* @member {Number} current_balance
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
GetBillingAccount200ResponsePlan.prototype["current_balance"] = undefined;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* @member {Date} end_date
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
GetBillingAccount200ResponsePlan.prototype["end_date"] = undefined;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* @member {Number} event_capacity
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
GetBillingAccount200ResponsePlan.prototype["event_capacity"] = undefined;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @member {Date} start_date
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
GetBillingAccount200ResponsePlan.prototype["start_date"] = undefined;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* @member {module:model/
|
|
120
|
+
* @member {module:model/GetBillingAccount200ResponsePlan.TypeEnum} type
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
GetBillingAccount200ResponsePlan.prototype["type"] = undefined;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Allowed values for the <code>type</code> property.
|
|
126
126
|
* @enum {String}
|
|
127
127
|
* @readonly
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
GetBillingAccount200ResponsePlan["TypeEnum"] = {
|
|
130
130
|
/**
|
|
131
131
|
* value: "Enterprise"
|
|
132
132
|
* @const
|
|
@@ -138,4 +138,4 @@ GetOrganization200ResponsePlan["TypeEnum"] = {
|
|
|
138
138
|
*/
|
|
139
139
|
Essentials: "Essentials"
|
|
140
140
|
};
|
|
141
|
-
var _default = exports["default"] =
|
|
141
|
+
var _default = exports["default"] = GetBillingAccount200ResponsePlan;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _GetBillingAccountBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./GetBillingAccountBalanceHistory200ResponseDataInner"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
11
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -28,18 +28,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* The GetBillingAccountBalanceHistory200Response model module.
|
|
32
|
+
* @module model/GetBillingAccountBalanceHistory200Response
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
34
|
*/
|
|
35
|
-
var
|
|
35
|
+
var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
37
|
+
* Constructs a new <code>GetBillingAccountBalanceHistory200Response</code>.
|
|
38
|
+
* @alias module:model/GetBillingAccountBalanceHistory200Response
|
|
39
39
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
40
|
+
function GetBillingAccountBalanceHistory200Response() {
|
|
41
|
+
_classCallCheck(this, GetBillingAccountBalanceHistory200Response);
|
|
42
|
+
GetBillingAccountBalanceHistory200Response.initialize(this);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -47,24 +47,24 @@ var GetOrganizationBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
47
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
48
|
* Only for internal use.
|
|
49
49
|
*/
|
|
50
|
-
return _createClass(
|
|
50
|
+
return _createClass(GetBillingAccountBalanceHistory200Response, null, [{
|
|
51
51
|
key: "initialize",
|
|
52
52
|
value: function initialize(obj) {}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Constructs a <code>
|
|
55
|
+
* Constructs a <code>GetBillingAccountBalanceHistory200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
56
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
57
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/
|
|
59
|
-
* @return {module:model/
|
|
58
|
+
* @param {module:model/GetBillingAccountBalanceHistory200Response} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/GetBillingAccountBalanceHistory200Response} The populated <code>GetBillingAccountBalanceHistory200Response</code> instance.
|
|
60
60
|
*/
|
|
61
61
|
}, {
|
|
62
62
|
key: "constructFromObject",
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
|
-
obj = obj || new
|
|
65
|
+
obj = obj || new GetBillingAccountBalanceHistory200Response();
|
|
66
66
|
if (data.hasOwnProperty("data")) {
|
|
67
|
-
obj["data"] = _ApiClient["default"].convertToType(data["data"], [
|
|
67
|
+
obj["data"] = _ApiClient["default"].convertToType(data["data"], [_GetBillingAccountBalanceHistory200ResponseDataInner["default"]]);
|
|
68
68
|
}
|
|
69
69
|
} else if (data === null) {
|
|
70
70
|
return null;
|
|
@@ -73,9 +73,9 @@ var GetOrganizationBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* Validates the JSON data with respect to <code>
|
|
76
|
+
* Validates the JSON data with respect to <code>GetBillingAccountBalanceHistory200Response</code>.
|
|
77
77
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
78
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetBillingAccountBalanceHistory200Response</code>.
|
|
79
79
|
*/
|
|
80
80
|
}, {
|
|
81
81
|
key: "validateJSON",
|
|
@@ -92,7 +92,7 @@ var GetOrganizationBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
92
92
|
try {
|
|
93
93
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
94
94
|
var item = _step.value;
|
|
95
|
-
|
|
95
|
+
_GetBillingAccountBalanceHistory200ResponseDataInner["default"].validateJsonObject(item);
|
|
96
96
|
}
|
|
97
97
|
} catch (err) {
|
|
98
98
|
_iterator.e(err);
|
|
@@ -105,7 +105,7 @@ var GetOrganizationBalanceHistory200Response = /*#__PURE__*/function () {
|
|
|
105
105
|
}]);
|
|
106
106
|
}();
|
|
107
107
|
/**
|
|
108
|
-
* @member {Array.<module:model/
|
|
108
|
+
* @member {Array.<module:model/GetBillingAccountBalanceHistory200ResponseDataInner>} data
|
|
109
109
|
*/
|
|
110
|
-
|
|
111
|
-
var _default = exports["default"] =
|
|
110
|
+
GetBillingAccountBalanceHistory200Response.prototype["data"] = undefined;
|
|
111
|
+
var _default = exports["default"] = GetBillingAccountBalanceHistory200Response;
|
|
@@ -27,21 +27,21 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
|
-
* The
|
|
31
|
-
* @module model/
|
|
32
|
-
* @version 6.7.0-beta.
|
|
30
|
+
* The GetBillingAccountBalanceHistory200ResponseDataInner model module.
|
|
31
|
+
* @module model/GetBillingAccountBalanceHistory200ResponseDataInner
|
|
32
|
+
* @version 6.7.0-beta.11
|
|
33
33
|
*/
|
|
34
|
-
var
|
|
34
|
+
var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
|
-
* Constructs a new <code>
|
|
37
|
-
* @alias module:model/
|
|
36
|
+
* Constructs a new <code>GetBillingAccountBalanceHistory200ResponseDataInner</code>.
|
|
37
|
+
* @alias module:model/GetBillingAccountBalanceHistory200ResponseDataInner
|
|
38
38
|
* @param period {Date}
|
|
39
39
|
* @param remainingEventCapacity {Number}
|
|
40
40
|
* @param totalEventCapacityUsed {Number}
|
|
41
41
|
*/
|
|
42
|
-
function
|
|
43
|
-
_classCallCheck(this,
|
|
44
|
-
|
|
42
|
+
function GetBillingAccountBalanceHistory200ResponseDataInner(period, remainingEventCapacity, totalEventCapacityUsed) {
|
|
43
|
+
_classCallCheck(this, GetBillingAccountBalanceHistory200ResponseDataInner);
|
|
44
|
+
GetBillingAccountBalanceHistory200ResponseDataInner.initialize(this, period, remainingEventCapacity, totalEventCapacityUsed);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
@@ -49,7 +49,7 @@ var GetOrganizationBalanceHistory200ResponseDataInner = /*#__PURE__*/function ()
|
|
|
49
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
50
|
* Only for internal use.
|
|
51
51
|
*/
|
|
52
|
-
return _createClass(
|
|
52
|
+
return _createClass(GetBillingAccountBalanceHistory200ResponseDataInner, null, [{
|
|
53
53
|
key: "initialize",
|
|
54
54
|
value: function initialize(obj, period, remainingEventCapacity, totalEventCapacityUsed) {
|
|
55
55
|
obj["period"] = period;
|
|
@@ -58,17 +58,17 @@ var GetOrganizationBalanceHistory200ResponseDataInner = /*#__PURE__*/function ()
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Constructs a <code>
|
|
61
|
+
* Constructs a <code>GetBillingAccountBalanceHistory200ResponseDataInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
62
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
63
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
-
* @param {module:model/
|
|
65
|
-
* @return {module:model/
|
|
64
|
+
* @param {module:model/GetBillingAccountBalanceHistory200ResponseDataInner} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/GetBillingAccountBalanceHistory200ResponseDataInner} The populated <code>GetBillingAccountBalanceHistory200ResponseDataInner</code> instance.
|
|
66
66
|
*/
|
|
67
67
|
}, {
|
|
68
68
|
key: "constructFromObject",
|
|
69
69
|
value: function constructFromObject(data, obj) {
|
|
70
70
|
if (data) {
|
|
71
|
-
obj = obj || new
|
|
71
|
+
obj = obj || new GetBillingAccountBalanceHistory200ResponseDataInner();
|
|
72
72
|
if (data.hasOwnProperty("period")) {
|
|
73
73
|
obj["period"] = _ApiClient["default"].convertToType(data["period"], "Date");
|
|
74
74
|
}
|
|
@@ -85,15 +85,15 @@ var GetOrganizationBalanceHistory200ResponseDataInner = /*#__PURE__*/function ()
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Validates the JSON data with respect to <code>
|
|
88
|
+
* Validates the JSON data with respect to <code>GetBillingAccountBalanceHistory200ResponseDataInner</code>.
|
|
89
89
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetBillingAccountBalanceHistory200ResponseDataInner</code>.
|
|
91
91
|
*/
|
|
92
92
|
}, {
|
|
93
93
|
key: "validateJSON",
|
|
94
94
|
value: function validateJSON(data) {
|
|
95
95
|
// check to make sure all required properties are present in the JSON string
|
|
96
|
-
var _iterator = _createForOfIteratorHelper(
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(GetBillingAccountBalanceHistory200ResponseDataInner.RequiredProperties),
|
|
97
97
|
_step;
|
|
98
98
|
try {
|
|
99
99
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -111,20 +111,20 @@ var GetOrganizationBalanceHistory200ResponseDataInner = /*#__PURE__*/function ()
|
|
|
111
111
|
}
|
|
112
112
|
}]);
|
|
113
113
|
}();
|
|
114
|
-
|
|
114
|
+
GetBillingAccountBalanceHistory200ResponseDataInner.RequiredProperties = ["period", "remaining_event_capacity", "total_event_capacity_used"];
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* @member {Date} period
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
GetBillingAccountBalanceHistory200ResponseDataInner.prototype["period"] = undefined;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* @member {Number} remaining_event_capacity
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
GetBillingAccountBalanceHistory200ResponseDataInner.prototype["remaining_event_capacity"] = undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* @member {Number} total_event_capacity_used
|
|
128
128
|
*/
|
|
129
|
-
|
|
130
|
-
var _default = exports["default"] =
|
|
129
|
+
GetBillingAccountBalanceHistory200ResponseDataInner.prototype["total_event_capacity_used"] = undefined;
|
|
130
|
+
var _default = exports["default"] = GetBillingAccountBalanceHistory200ResponseDataInner;
|
|
@@ -0,0 +1,111 @@
|
|
|
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 _BillingAccount = _interopRequireDefault(require("./BillingAccount"));
|
|
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 _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.2.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The GetBillingAccounts200Response model module.
|
|
32
|
+
* @module model/GetBillingAccounts200Response
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
|
+
*/
|
|
35
|
+
var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>GetBillingAccounts200Response</code>.
|
|
38
|
+
* @alias module:model/GetBillingAccounts200Response
|
|
39
|
+
*/
|
|
40
|
+
function GetBillingAccounts200Response() {
|
|
41
|
+
_classCallCheck(this, GetBillingAccounts200Response);
|
|
42
|
+
GetBillingAccounts200Response.initialize(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(GetBillingAccounts200Response, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>GetBillingAccounts200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/GetBillingAccounts200Response} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/GetBillingAccounts200Response} The populated <code>GetBillingAccounts200Response</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new GetBillingAccounts200Response();
|
|
66
|
+
if (data.hasOwnProperty("billing_accounts")) {
|
|
67
|
+
obj["billing_accounts"] = _ApiClient["default"].convertToType(data["billing_accounts"], [_BillingAccount["default"]]);
|
|
68
|
+
}
|
|
69
|
+
} else if (data === null) {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Validates the JSON data with respect to <code>GetBillingAccounts200Response</code>.
|
|
77
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetBillingAccounts200Response</code>.
|
|
79
|
+
*/
|
|
80
|
+
}, {
|
|
81
|
+
key: "validateJSON",
|
|
82
|
+
value: function validateJSON(data) {
|
|
83
|
+
if (data["billing_accounts"]) {
|
|
84
|
+
// data not null
|
|
85
|
+
// ensure the json data is an array
|
|
86
|
+
if (!Array.isArray(data["billing_accounts"])) {
|
|
87
|
+
throw new Error("Expected the field `billing_accounts` to be an array in the JSON data but got " + data["billing_accounts"]);
|
|
88
|
+
}
|
|
89
|
+
// validate the optional field `billing_accounts` (array)
|
|
90
|
+
var _iterator = _createForOfIteratorHelper(data["billing_accounts"]),
|
|
91
|
+
_step;
|
|
92
|
+
try {
|
|
93
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
94
|
+
var item = _step.value;
|
|
95
|
+
_BillingAccount["default"].validateJsonObject(item);
|
|
96
|
+
}
|
|
97
|
+
} catch (err) {
|
|
98
|
+
_iterator.e(err);
|
|
99
|
+
} finally {
|
|
100
|
+
_iterator.f();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
}]);
|
|
106
|
+
}();
|
|
107
|
+
/**
|
|
108
|
+
* @member {Array.<module:model/BillingAccount>} billing_accounts
|
|
109
|
+
*/
|
|
110
|
+
GetBillingAccounts200Response.prototype["billing_accounts"] = undefined;
|
|
111
|
+
var _default = exports["default"] = GetBillingAccounts200Response;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200Response model module.
|
|
32
32
|
* @module model/GetDataUsage200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200ResponseDataInner model module.
|
|
32
32
|
* @module model/GetDataUsage200ResponseDataInner
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200ResponseDataInner = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The GetDbNote200Response model module.
|
|
28
28
|
* @module model/GetDbNote200Response
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.11
|
|
30
30
|
*/
|
|
31
31
|
var GetDbNote200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDeviceEnvironmentVariablesByPin200Response model module.
|
|
31
31
|
* @module model/GetDeviceEnvironmentVariablesByPin200Response
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.11
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceEnvironmentVariablesByPin200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceFleets200Response model module.
|
|
32
32
|
* @module model/GetDeviceFleets200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceFleets200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceHealthLog200Response model module.
|
|
32
32
|
* @module model/GetDeviceHealthLog200Response
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.11
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|