@blues-inc/notehub-js 6.7.0-beta.73 → 6.7.0-beta.74
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 +126 -125
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +5 -7
- package/dist/api/AuthorizationApi.js +5 -5
- package/dist/api/DescriptionApi.js +49 -33
- package/dist/api/DeviceApi.js +177 -115
- package/dist/api/EventApi.js +51 -45
- package/dist/api/ExternalDevicesApi.js +19 -13
- package/dist/api/JobsApi.js +57 -39
- package/dist/api/MonitorApi.js +17 -27
- package/dist/api/OrganizationApi.js +17 -11
- package/dist/api/ProjectApi.js +237 -149
- package/dist/api/RouteApi.js +47 -35
- package/dist/api/SkillsApi.js +17 -17
- package/dist/api/UsageApi.js +59 -49
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +7 -0
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +6 -11
- package/dist/model/AlertDataInner.js +4 -9
- 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 +2 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +3 -2
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +4 -3
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +25 -37
- package/dist/model/CreateProductRequest.js +7 -6
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +2 -1
- package/dist/model/CreatedRepository.js +5 -5
- 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 +4 -4
- package/dist/model/DataSetField.js +2 -2
- 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 +3 -3
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +6 -6
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +27 -8
- package/dist/model/DeviceDfuHistory.js +2 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +2 -1
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +2 -2
- 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 +6 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- package/dist/model/EmailNotification.js +2 -2
- 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 +6 -6
- package/dist/model/Fleet.js +11 -10
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +2 -2
- package/dist/model/GetDataUsage200Response.js +2 -2
- 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 +2 -2
- package/dist/model/GetDevicePlans200Response.js +2 -1
- package/dist/model/GetDevicePublicKey200Response.js +5 -3
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.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 +2 -2
- package/dist/model/GetSessionsUsage200Response.js +3 -3
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +7 -4
- 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 +13 -7
- package/dist/model/Monitor.js +12 -18
- package/dist/model/MonitorAlertRoutesInner.js +4 -4
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +2 -1
- package/dist/model/NotefileSchema.js +5 -3
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +5 -3
- package/dist/model/Product.js +8 -4
- package/dist/model/Project.js +7 -4
- package/dist/model/ProjectMember.js +5 -4
- package/dist/model/ProjectSecret.js +7 -7
- package/dist/model/ProvisionDeviceRequest.js +5 -5
- 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 +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryRecord.js +119 -0
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- 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 +6 -4
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +1 -1
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +1 -1
- package/dist/model/SkillSummary.js +1 -1
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +1 -1
- package/dist/model/SlackBearerNotification.js +3 -3
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +3 -3
- 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 +7 -6
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +3 -3
- 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 +2 -2
- 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/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.74
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,8 +45,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create a
|
|
49
|
-
* Create a monitor that raises an alert and notifies email or Slack when its condition holds. It can watch an event value (`event`, the default), devices going quiet (`heartbeat`), or data usage (`usage`). Requires the Owner or Developer role. Returns 403 if the project's plan doesn't allow the monitor, and 400 for invalid settings.
|
|
48
|
+
* Create a new Monitor
|
|
50
49
|
* @param {String} projectOrProductUID
|
|
51
50
|
* @param {module:model/CreateMonitor} createMonitor Body or payload of monitor to be created
|
|
52
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
@@ -77,8 +76,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
|
-
* Create a
|
|
81
|
-
* Create a monitor that raises an alert and notifies email or Slack when its condition holds. It can watch an event value (`event`, the default), devices going quiet (`heartbeat`), or data usage (`usage`). Requires the Owner or Developer role. Returns 403 if the project's plan doesn't allow the monitor, and 400 for invalid settings.
|
|
79
|
+
* Create a new Monitor
|
|
82
80
|
* @param {String} projectOrProductUID
|
|
83
81
|
* @param {module:model/CreateMonitor} createMonitor Body or payload of monitor to be created
|
|
84
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
@@ -92,10 +90,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
/**
|
|
95
|
-
* Delete
|
|
96
|
-
* Delete a monitor so it stops raising alerts. Returns an empty monitor object. To pause it instead, set `disabled` with `UpdateMonitor`. Requires the Owner or Developer role. Returns 404 if the monitor never existed; deleting it again succeeds.
|
|
93
|
+
* Delete Monitor
|
|
97
94
|
* @param {String} projectOrProductUID
|
|
98
|
-
* @param {String} monitorUID
|
|
95
|
+
* @param {String} monitorUID
|
|
99
96
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
100
97
|
*/
|
|
101
98
|
}, {
|
|
@@ -125,10 +122,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
/**
|
|
128
|
-
* Delete
|
|
129
|
-
* Delete a monitor so it stops raising alerts. Returns an empty monitor object. To pause it instead, set `disabled` with `UpdateMonitor`. Requires the Owner or Developer role. Returns 404 if the monitor never existed; deleting it again succeeds.
|
|
125
|
+
* Delete Monitor
|
|
130
126
|
* @param {String} projectOrProductUID
|
|
131
|
-
* @param {String} monitorUID
|
|
127
|
+
* @param {String} monitorUID
|
|
132
128
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
133
129
|
*/
|
|
134
130
|
}, {
|
|
@@ -140,10 +136,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
140
136
|
}
|
|
141
137
|
|
|
142
138
|
/**
|
|
143
|
-
* Get
|
|
144
|
-
* Get one monitor's settings and whether it's in alert. Slack credentials in `alert_routes` come back as `(omitted)`. Returns 404 if the monitor never existed; a deleted monitor is still returned.
|
|
139
|
+
* Get Monitor
|
|
145
140
|
* @param {String} projectOrProductUID
|
|
146
|
-
* @param {String} monitorUID
|
|
141
|
+
* @param {String} monitorUID
|
|
147
142
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
148
143
|
*/
|
|
149
144
|
}, {
|
|
@@ -173,10 +168,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
173
168
|
}
|
|
174
169
|
|
|
175
170
|
/**
|
|
176
|
-
* Get
|
|
177
|
-
* Get one monitor's settings and whether it's in alert. Slack credentials in `alert_routes` come back as `(omitted)`. Returns 404 if the monitor never existed; a deleted monitor is still returned.
|
|
171
|
+
* Get Monitor
|
|
178
172
|
* @param {String} projectOrProductUID
|
|
179
|
-
* @param {String} monitorUID
|
|
173
|
+
* @param {String} monitorUID
|
|
180
174
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
181
175
|
*/
|
|
182
176
|
}, {
|
|
@@ -188,8 +182,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
188
182
|
}
|
|
189
183
|
|
|
190
184
|
/**
|
|
191
|
-
*
|
|
192
|
-
* List a project's monitors with their settings and whether each is in alert. For the alerts they've raised, use `GetAlerts`.
|
|
185
|
+
* Get list of defined Monitors
|
|
193
186
|
* @param {String} projectOrProductUID
|
|
194
187
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Monitor>} and HTTP response
|
|
195
188
|
*/
|
|
@@ -215,8 +208,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
215
208
|
}
|
|
216
209
|
|
|
217
210
|
/**
|
|
218
|
-
*
|
|
219
|
-
* List a project's monitors with their settings and whether each is in alert. For the alerts they've raised, use `GetAlerts`.
|
|
211
|
+
* Get list of defined Monitors
|
|
220
212
|
* @param {String} projectOrProductUID
|
|
221
213
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Monitor>}
|
|
222
214
|
*/
|
|
@@ -229,10 +221,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
229
221
|
}
|
|
230
222
|
|
|
231
223
|
/**
|
|
232
|
-
* Update
|
|
233
|
-
* Replace a monitor's settings with the whole monitor, as `GetMonitor` returns it. Omitted fields are cleared or reset, except `source_type`, `fleet_filter`, `notefile_filter`, `condition_type`, `aggregate_window` and `alert_routes`. Slack credentials left as `(omitted)` are kept. Requires the Owner or Developer role. Returns 403 if the plan doesn't allow a new `source_type`.
|
|
224
|
+
* Update Monitor
|
|
234
225
|
* @param {String} projectOrProductUID
|
|
235
|
-
* @param {String} monitorUID
|
|
226
|
+
* @param {String} monitorUID
|
|
236
227
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
237
228
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
238
229
|
*/
|
|
@@ -267,10 +258,9 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
267
258
|
}
|
|
268
259
|
|
|
269
260
|
/**
|
|
270
|
-
* Update
|
|
271
|
-
* Replace a monitor's settings with the whole monitor, as `GetMonitor` returns it. Omitted fields are cleared or reset, except `source_type`, `fleet_filter`, `notefile_filter`, `condition_type`, `aggregate_window` and `alert_routes`. Slack credentials left as `(omitted)` are kept. Requires the Owner or Developer role. Returns 403 if the plan doesn't allow a new `source_type`.
|
|
261
|
+
* Update Monitor
|
|
272
262
|
* @param {String} projectOrProductUID
|
|
273
|
-
* @param {String} monitorUID
|
|
263
|
+
* @param {String} monitorUID
|
|
274
264
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
275
265
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
276
266
|
*/
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* Organization service.
|
|
32
32
|
* @module api/OrganizationApi
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.74
|
|
34
34
|
*/
|
|
35
35
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -46,8 +46,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Get
|
|
50
|
-
*
|
|
49
|
+
* Get an organization
|
|
50
|
+
* Get an organization's name, owner, contact email and current plan. The plan has its type, event capacity, billing period and remaining balance. For the daily history, use `GetOrganizationBalanceHistory`. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 403 if your membership is deactivated.
|
|
51
|
+
* @param {String} organizationUID Organization UID. List with `GetOrganizations`.
|
|
51
52
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganization200Response} and HTTP response
|
|
52
53
|
*/
|
|
53
54
|
return _createClass(OrganizationApi, [{
|
|
@@ -72,8 +73,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
/**
|
|
75
|
-
* Get
|
|
76
|
-
*
|
|
76
|
+
* Get an organization
|
|
77
|
+
* Get an organization's name, owner, contact email and current plan. The plan has its type, event capacity, billing period and remaining balance. For the daily history, use `GetOrganizationBalanceHistory`. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 403 if your membership is deactivated.
|
|
78
|
+
* @param {String} organizationUID Organization UID. List with `GetOrganizations`.
|
|
77
79
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganization200Response}
|
|
78
80
|
*/
|
|
79
81
|
}, {
|
|
@@ -85,8 +87,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
/**
|
|
88
|
-
* Get
|
|
89
|
-
*
|
|
90
|
+
* Get an organization's daily balance
|
|
91
|
+
* Get an organization's events used and remaining event capacity for each day. The range is `startDate` to `endDate`, which default to the start of the billing period and today. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 400 if `startDate` is after `endDate`.
|
|
92
|
+
* @param {String} organizationUID Organization UID. List with `GetOrganizations`.
|
|
90
93
|
* @param {Object} opts Optional parameters
|
|
91
94
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
92
95
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
@@ -118,8 +121,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
/**
|
|
121
|
-
* Get
|
|
122
|
-
*
|
|
124
|
+
* Get an organization's daily balance
|
|
125
|
+
* Get an organization's events used and remaining event capacity for each day. The range is `startDate` to `endDate`, which default to the start of the billing period and today. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 400 if `startDate` is after `endDate`.
|
|
126
|
+
* @param {String} organizationUID Organization UID. List with `GetOrganizations`.
|
|
123
127
|
* @param {Object} opts Optional parameters
|
|
124
128
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
125
129
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
@@ -134,7 +138,8 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
138
|
}
|
|
135
139
|
|
|
136
140
|
/**
|
|
137
|
-
*
|
|
141
|
+
* List your organizations
|
|
142
|
+
* List the organizations you belong to, with your role in each. A scoped token gets an empty list. Returns 401 if your email address isn't verified.
|
|
138
143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganizations200Response} and HTTP response
|
|
139
144
|
*/
|
|
140
145
|
}, {
|
|
@@ -153,7 +158,8 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
/**
|
|
156
|
-
*
|
|
161
|
+
* List your organizations
|
|
162
|
+
* List the organizations you belong to, with your role in each. A scoped token gets an empty list. Returns 401 if your email address isn't verified.
|
|
157
163
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganizations200Response}
|
|
158
164
|
*/
|
|
159
165
|
}, {
|