@blues-inc/notehub-js 1.0.18 → 1.0.20

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.
Files changed (100) hide show
  1. package/README.md +86 -95
  2. package/dist/ApiClient.js +18 -9
  3. package/dist/api/AlertApi.js +95 -0
  4. package/dist/api/AuthorizationApi.js +18 -9
  5. package/dist/api/BillingAccountApi.js +18 -9
  6. package/dist/api/DeviceApi.js +904 -182
  7. package/dist/api/EventApi.js +69 -16
  8. package/dist/api/FirmwareApi.js +109 -0
  9. package/dist/api/MonitorApi.js +275 -0
  10. package/dist/api/ProjectApi.js +471 -282
  11. package/dist/api/RouteApi.js +96 -9
  12. package/dist/index.js +76 -41
  13. package/dist/model/Alert.js +259 -0
  14. package/dist/model/AlertDataInner.js +184 -0
  15. package/dist/model/AlertNotificationsInner.js +132 -0
  16. package/dist/model/Aws.js +17 -8
  17. package/dist/model/Azure.js +17 -8
  18. package/dist/model/BillingAccount.js +17 -8
  19. package/dist/model/BillingAccountRole.js +29 -8
  20. package/dist/model/Body.js +17 -8
  21. package/dist/model/CloneProjectRequest.js +17 -8
  22. package/dist/model/Contact.js +17 -8
  23. package/dist/model/CreateFleetRequest.js +17 -8
  24. package/dist/model/CreateMonitor.js +428 -0
  25. package/dist/model/CreateProductRequest.js +17 -8
  26. package/dist/model/CreateProjectRequest.js +17 -8
  27. package/dist/model/DFUEnv.js +17 -8
  28. package/dist/model/DFUState.js +17 -8
  29. package/dist/model/DeleteDeviceFleetsRequest.js +17 -8
  30. package/dist/model/Device.js +21 -14
  31. package/dist/model/DeviceSession.js +17 -8
  32. package/dist/model/DeviceTowerInfo.js +17 -8
  33. package/dist/model/DeviceUsage.js +17 -8
  34. package/dist/model/EnvironmentVariables.js +17 -8
  35. package/dist/model/Error.js +17 -8
  36. package/dist/model/Event.js +17 -8
  37. package/dist/model/FirmwareInfo.js +231 -0
  38. package/dist/model/Fleet.js +17 -8
  39. package/dist/model/GetAlerts200Response.js +143 -0
  40. package/dist/model/GetBillingAccounts200Response.js +17 -8
  41. package/dist/model/GetDeviceEnvironmentVariables200Response.js +17 -8
  42. package/dist/model/GetDeviceHealthLog200Response.js +17 -8
  43. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +17 -8
  44. package/dist/model/GetDeviceLatest200Response.js +17 -8
  45. package/dist/model/GetDevicePublicKey200Response.js +17 -8
  46. package/dist/model/GetDeviceSessions200Response.js +17 -8
  47. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -8
  48. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +17 -8
  49. package/dist/model/GetProjectDevices200Response.js +17 -8
  50. package/dist/model/GetProjectEvents200Response.js +21 -27
  51. package/dist/model/GetProjectEventsByCursor200Response.js +17 -8
  52. package/dist/model/GetProjectFleets200Response.js +17 -8
  53. package/dist/model/GetProjectMembers200Response.js +17 -8
  54. package/dist/model/GetProjectProducts200Response.js +17 -8
  55. package/dist/model/GetProjects200Response.js +17 -8
  56. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +17 -8
  57. package/dist/model/Google.js +17 -8
  58. package/dist/model/HandleNoteChanges200Response.js +17 -8
  59. package/dist/model/HandleNoteGet200Response.js +17 -8
  60. package/dist/model/HandleNoteSignal200Response.js +17 -8
  61. package/dist/model/HandleNotefileChanges200Response.js +17 -8
  62. package/dist/model/HandleNotefileChangesPending200Response.js +17 -8
  63. package/dist/model/HandleNotefileDeleteRequest.js +17 -8
  64. package/dist/model/Http.js +17 -8
  65. package/dist/model/HttpFilter.js +17 -8
  66. package/dist/model/HttpTransform.js +17 -8
  67. package/dist/model/Location.js +17 -8
  68. package/dist/model/Login200Response.js +17 -8
  69. package/dist/model/LoginRequest.js +17 -8
  70. package/dist/model/Monitor.js +328 -0
  71. package/dist/model/MonitorAlertRoutesInner.js +92 -0
  72. package/dist/model/MonitorThresholds.js +88 -0
  73. package/dist/model/Mqtt.js +17 -8
  74. package/dist/model/Note.js +17 -8
  75. package/dist/model/PostProvisionProjectDeviceRequest.js +17 -8
  76. package/dist/model/Product.js +17 -8
  77. package/dist/model/Project.js +17 -8
  78. package/dist/model/ProjectMember.js +17 -8
  79. package/dist/model/Proxy.js +17 -8
  80. package/dist/model/PutDeviceFleetsRequest.js +17 -8
  81. package/dist/model/Radresponder.js +17 -8
  82. package/dist/model/Role.js +37 -8
  83. package/dist/model/Route.js +17 -8
  84. package/dist/model/RouteSchema.js +29 -14
  85. package/dist/model/Slack.js +17 -8
  86. package/dist/model/Snowflake.js +17 -8
  87. package/dist/model/SnowflakeTransform.js +17 -8
  88. package/dist/model/Thingworx.js +17 -8
  89. package/dist/model/TowerLocation.js +17 -8
  90. package/dist/model/Twilio.js +17 -8
  91. package/dist/model/UpdateFleetRequest.js +17 -8
  92. package/dist/model/UserDbRoute.js +17 -8
  93. package/package.json +1 -1
  94. package/dist/api/DevicesApi.js +0 -346
  95. package/dist/api/EnvironmentVariablesApi.js +0 -567
  96. package/dist/api/FilesApi.js +0 -193
  97. package/dist/api/FleetApi.js +0 -736
  98. package/dist/api/NotesApi.js +0 -435
  99. package/dist/api/ProductApi.js +0 -163
  100. package/dist/api/RouteLogsApi.js +0 -160
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.0.0
9
- - Package version: 1.0.18
9
+ - Package version: 1.0.20
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
 
@@ -120,103 +120,88 @@ api.login(loginRequest).then(
120
120
 
121
121
  All URIs are relative to *https://api.notefile.net*
122
122
 
123
- | Class | Method | HTTP request | Description |
124
- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | ----------- |
125
- | _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
126
- | _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
127
- | _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key} |
128
- | _NotehubJs.DeviceApi_ | [**deleteDeviceFleets**](docs/DeviceApi.md#deleteDeviceFleets) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
129
- | _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable |
130
- | _NotehubJs.DeviceApi_ | [**disableDeviceConnectivityAssurance**](docs/DeviceApi.md#disableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance |
131
- | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable |
132
- | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance |
133
- | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
134
- | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
135
- | _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
136
- | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log |
137
- | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest |
138
- | _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/public-key |
139
- | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions |
140
- | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal |
141
- | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
142
- | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
143
- | _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
144
- | _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} |
145
- | _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} |
146
- | _NotehubJs.DevicesApi_ | [**getProjectDevicePublicKeys**](docs/DevicesApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectUID}/devices/public-keys |
147
- | _NotehubJs.DevicesApi_ | [**getProjectDevices**](docs/DevicesApi.md#getProjectDevices) | **GET** /v1/projects/{projectUID}/devices |
148
- | _NotehubJs.DevicesApi_ | [**getProjectFleetDevices**](docs/DevicesApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
149
- | _NotehubJs.DevicesApi_ | [**postProvisionProjectDevice**](docs/DevicesApi.md#postProvisionProjectDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/provision |
150
- | _NotehubJs.EnvironmentVariablesApi_ | [**deleteDeviceEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key} |
151
- | _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
152
- | _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
153
- | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
154
- | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
155
- | _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
156
- | _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
157
- | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
158
- | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
159
- | _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
160
- | _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
161
- | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
162
- | _NotehubJs.EventApi_ | [**getFleetEventsByCursor**](docs/EventApi.md#getFleetEventsByCursor) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor |
163
- | _NotehubJs.EventApi_ | [**getProjectEvents**](docs/EventApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
164
- | _NotehubJs.EventApi_ | [**getProjectEventsByCursor**](docs/EventApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
165
- | _NotehubJs.FilesApi_ | [**handleNotefileChanges**](docs/FilesApi.md#handleNotefileChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes |
166
- | _NotehubJs.FilesApi_ | [**handleNotefileChangesPending**](docs/FilesApi.md#handleNotefileChangesPending) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending |
167
- | _NotehubJs.FilesApi_ | [**handleNotefileDelete**](docs/FilesApi.md#handleNotefileDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/files |
168
- | _NotehubJs.FleetApi_ | [**createFleet**](docs/FleetApi.md#createFleet) | **POST** /v1/projects/{projectUID}/fleets |
169
- | _NotehubJs.FleetApi_ | [**deleteDeviceFleets**](docs/FleetApi.md#deleteDeviceFleets) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
170
- | _NotehubJs.FleetApi_ | [**deleteFleet**](docs/FleetApi.md#deleteFleet) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID} |
171
- | _NotehubJs.FleetApi_ | [**deleteFleetEnvironmentVariable**](docs/FleetApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
172
- | _NotehubJs.FleetApi_ | [**getDeviceFleets**](docs/FleetApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
173
- | _NotehubJs.FleetApi_ | [**getFleetEnvironmentVariables**](docs/FleetApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
174
- | _NotehubJs.FleetApi_ | [**getFleetEvents**](docs/FleetApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
175
- | _NotehubJs.FleetApi_ | [**getFleetEventsByCursor**](docs/FleetApi.md#getFleetEventsByCursor) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor |
176
- | _NotehubJs.FleetApi_ | [**getProjectFleetDevices**](docs/FleetApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
177
- | _NotehubJs.FleetApi_ | [**getProjectFleets**](docs/FleetApi.md#getProjectFleets) | **GET** /v1/projects/{projectUID}/fleets |
178
- | _NotehubJs.FleetApi_ | [**putDeviceFleets**](docs/FleetApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
179
- | _NotehubJs.FleetApi_ | [**putFleetEnvironmentVariables**](docs/FleetApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
180
- | _NotehubJs.FleetApi_ | [**updateFleet**](docs/FleetApi.md#updateFleet) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID} |
181
- | _NotehubJs.NotesApi_ | [**handleNoteAdd**](docs/NotesApi.md#handleNoteAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID} |
182
- | _NotehubJs.NotesApi_ | [**handleNoteChanges**](docs/NotesApi.md#handleNoteChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes |
183
- | _NotehubJs.NotesApi_ | [**handleNoteCreateAdd**](docs/NotesApi.md#handleNoteCreateAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
184
- | _NotehubJs.NotesApi_ | [**handleNoteDelete**](docs/NotesApi.md#handleNoteDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
185
- | _NotehubJs.NotesApi_ | [**handleNoteGet**](docs/NotesApi.md#handleNoteGet) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
186
- | _NotehubJs.NotesApi_ | [**handleNoteUpdate**](docs/NotesApi.md#handleNoteUpdate) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
187
- | _NotehubJs.ProductApi_ | [**createProduct**](docs/ProductApi.md#createProduct) | **POST** /v1/projects/{projectUID}/products |
188
- | _NotehubJs.ProductApi_ | [**getProjectByProduct**](docs/ProductApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
189
- | _NotehubJs.ProductApi_ | [**getProjectProducts**](docs/ProductApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
190
- | _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectUID}/clone |
191
- | _NotehubJs.ProjectApi_ | [**createProduct**](docs/ProjectApi.md#createProduct) | **POST** /v1/projects/{projectUID}/products |
192
- | _NotehubJs.ProjectApi_ | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /v1/projects |
193
- | _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
194
- | _NotehubJs.ProjectApi_ | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
195
- | _NotehubJs.ProjectApi_ | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
196
- | _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
197
- | _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
198
- | _NotehubJs.ProjectApi_ | [**getProjectDevicePublicKeys**](docs/ProjectApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectUID}/devices/public-keys |
199
- | _NotehubJs.ProjectApi_ | [**getProjectDevices**](docs/ProjectApi.md#getProjectDevices) | **GET** /v1/projects/{projectUID}/devices |
200
- | _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
201
- | _NotehubJs.ProjectApi_ | [**getProjectEvents**](docs/ProjectApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
202
- | _NotehubJs.ProjectApi_ | [**getProjectEventsByCursor**](docs/ProjectApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
203
- | _NotehubJs.ProjectApi_ | [**getProjectFleetDevices**](docs/ProjectApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
204
- | _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectUID}/members |
205
- | _NotehubJs.ProjectApi_ | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
206
- | _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
207
- | _NotehubJs.ProjectApi_ | [**postProvisionProjectDevice**](docs/ProjectApi.md#postProvisionProjectDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/provision |
208
- | _NotehubJs.ProjectApi_ | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
209
- | _NotehubJs.ProjectApi_ | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
210
- | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
211
- | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
212
- | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
213
- | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectUID}/routes |
214
- | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectUID}/routes/{routeUID} |
215
- | _NotehubJs.RouteLogsApi_ | [**getRouteLogsByEvent**](docs/RouteLogsApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectUID}/events/{eventUID}/route-logs |
216
- | _NotehubJs.RouteLogsApi_ | [**getRouteLogsByRoute**](docs/RouteLogsApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID}/route-logs |
123
+ | Class | Method | HTTP request | Description |
124
+ | ----------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------- |
125
+ | _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectUID}/alerts |
126
+ | _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
127
+ | _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
128
+ | _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key} |
129
+ | _NotehubJs.DeviceApi_ | [**deleteProjectDevice**](docs/DeviceApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} |
130
+ | _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable |
131
+ | _NotehubJs.DeviceApi_ | [**disableDeviceConnectivityAssurance**](docs/DeviceApi.md#disableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance |
132
+ | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable |
133
+ | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance |
134
+ | _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} |
135
+ | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
136
+ | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
137
+ | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log |
138
+ | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest |
139
+ | _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/public-key |
140
+ | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions |
141
+ | _NotehubJs.DeviceApi_ | [**getProjectDevicePublicKeys**](docs/DeviceApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectUID}/devices/public-keys |
142
+ | _NotehubJs.DeviceApi_ | [**getProjectDevices**](docs/DeviceApi.md#getProjectDevices) | **GET** /v1/projects/{projectUID}/devices |
143
+ | _NotehubJs.DeviceApi_ | [**getProjectFleetDevices**](docs/DeviceApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
144
+ | _NotehubJs.DeviceApi_ | [**handleNoteAdd**](docs/DeviceApi.md#handleNoteAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID} |
145
+ | _NotehubJs.DeviceApi_ | [**handleNoteChanges**](docs/DeviceApi.md#handleNoteChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes |
146
+ | _NotehubJs.DeviceApi_ | [**handleNoteCreateAdd**](docs/DeviceApi.md#handleNoteCreateAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
147
+ | _NotehubJs.DeviceApi_ | [**handleNoteDelete**](docs/DeviceApi.md#handleNoteDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
148
+ | _NotehubJs.DeviceApi_ | [**handleNoteGet**](docs/DeviceApi.md#handleNoteGet) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
149
+ | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal |
150
+ | _NotehubJs.DeviceApi_ | [**handleNoteUpdate**](docs/DeviceApi.md#handleNoteUpdate) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
151
+ | _NotehubJs.DeviceApi_ | [**handleNotefileChanges**](docs/DeviceApi.md#handleNotefileChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes |
152
+ | _NotehubJs.DeviceApi_ | [**handleNotefileChangesPending**](docs/DeviceApi.md#handleNotefileChangesPending) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending |
153
+ | _NotehubJs.DeviceApi_ | [**handleNotefileDelete**](docs/DeviceApi.md#handleNotefileDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/files |
154
+ | _NotehubJs.DeviceApi_ | [**postProvisionProjectDevice**](docs/DeviceApi.md#postProvisionProjectDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/provision |
155
+ | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
156
+ | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
157
+ | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
158
+ | _NotehubJs.EventApi_ | [**getFleetEventsByCursor**](docs/EventApi.md#getFleetEventsByCursor) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor |
159
+ | _NotehubJs.EventApi_ | [**getProjectEvents**](docs/EventApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
160
+ | _NotehubJs.EventApi_ | [**getProjectEventsByCursor**](docs/EventApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
161
+ | _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectUID}/events/{eventUID}/route-logs |
162
+ | _NotehubJs.FirmwareApi_ | [**getFirmwareInfo**](docs/FirmwareApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectUID}/firmware |
163
+ | _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectUID}/monitors |
164
+ | _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectUID}/monitors/{monitorUID} |
165
+ | _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectUID}/monitors/{monitorUID} |
166
+ | _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectUID}/monitors |
167
+ | _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectUID}/monitors/{monitorUID} |
168
+ | _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectUID}/clone |
169
+ | _NotehubJs.ProjectApi_ | [**createFleet**](docs/ProjectApi.md#createFleet) | **POST** /v1/projects/{projectUID}/fleets |
170
+ | _NotehubJs.ProjectApi_ | [**createProduct**](docs/ProjectApi.md#createProduct) | **POST** /v1/projects/{projectUID}/products |
171
+ | _NotehubJs.ProjectApi_ | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /v1/projects |
172
+ | _NotehubJs.ProjectApi_ | [**deleteDeviceFleets**](docs/ProjectApi.md#deleteDeviceFleets) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
173
+ | _NotehubJs.ProjectApi_ | [**deleteFleet**](docs/ProjectApi.md#deleteFleet) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID} |
174
+ | _NotehubJs.ProjectApi_ | [**deleteFleetEnvironmentVariable**](docs/ProjectApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
175
+ | _NotehubJs.ProjectApi_ | [**deleteProject**](docs/ProjectApi.md#deleteProject) | **DELETE** /v1/projects/{projectUID} |
176
+ | _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
177
+ | _NotehubJs.ProjectApi_ | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
178
+ | _NotehubJs.ProjectApi_ | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
179
+ | _NotehubJs.ProjectApi_ | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
180
+ | _NotehubJs.ProjectApi_ | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
181
+ | _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
182
+ | _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
183
+ | _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
184
+ | _NotehubJs.ProjectApi_ | [**getProjectFleets**](docs/ProjectApi.md#getProjectFleets) | **GET** /v1/projects/{projectUID}/fleets |
185
+ | _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectUID}/members |
186
+ | _NotehubJs.ProjectApi_ | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
187
+ | _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
188
+ | _NotehubJs.ProjectApi_ | [**putDeviceFleets**](docs/ProjectApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
189
+ | _NotehubJs.ProjectApi_ | [**putFleetEnvironmentVariables**](docs/ProjectApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
190
+ | _NotehubJs.ProjectApi_ | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
191
+ | _NotehubJs.ProjectApi_ | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
192
+ | _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID} |
193
+ | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
194
+ | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
195
+ | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
196
+ | _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID}/route-logs |
197
+ | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectUID}/routes |
198
+ | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectUID}/routes/{routeUID} |
217
199
 
218
200
  ## Documentation for Models
219
201
 
202
+ - [NotehubJs.Alert](docs/Alert.md)
203
+ - [NotehubJs.AlertDataInner](docs/AlertDataInner.md)
204
+ - [NotehubJs.AlertNotificationsInner](docs/AlertNotificationsInner.md)
220
205
  - [NotehubJs.Aws](docs/Aws.md)
221
206
  - [NotehubJs.Azure](docs/Azure.md)
222
207
  - [NotehubJs.BillingAccount](docs/BillingAccount.md)
@@ -225,6 +210,7 @@ All URIs are relative to *https://api.notefile.net*
225
210
  - [NotehubJs.CloneProjectRequest](docs/CloneProjectRequest.md)
226
211
  - [NotehubJs.Contact](docs/Contact.md)
227
212
  - [NotehubJs.CreateFleetRequest](docs/CreateFleetRequest.md)
213
+ - [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
228
214
  - [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
229
215
  - [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
230
216
  - [NotehubJs.DFUEnv](docs/DFUEnv.md)
@@ -237,7 +223,9 @@ All URIs are relative to *https://api.notefile.net*
237
223
  - [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
238
224
  - [NotehubJs.Error](docs/Error.md)
239
225
  - [NotehubJs.Event](docs/Event.md)
226
+ - [NotehubJs.FirmwareInfo](docs/FirmwareInfo.md)
240
227
  - [NotehubJs.Fleet](docs/Fleet.md)
228
+ - [NotehubJs.GetAlerts200Response](docs/GetAlerts200Response.md)
241
229
  - [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.md)
242
230
  - [NotehubJs.GetDeviceEnvironmentVariables200Response](docs/GetDeviceEnvironmentVariables200Response.md)
243
231
  - [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
@@ -268,6 +256,9 @@ All URIs are relative to *https://api.notefile.net*
268
256
  - [NotehubJs.Location](docs/Location.md)
269
257
  - [NotehubJs.Login200Response](docs/Login200Response.md)
270
258
  - [NotehubJs.LoginRequest](docs/LoginRequest.md)
259
+ - [NotehubJs.Monitor](docs/Monitor.md)
260
+ - [NotehubJs.MonitorAlertRoutesInner](docs/MonitorAlertRoutesInner.md)
261
+ - [NotehubJs.MonitorThresholds](docs/MonitorThresholds.md)
271
262
  - [NotehubJs.Mqtt](docs/Mqtt.md)
272
263
  - [NotehubJs.Note](docs/Note.md)
273
264
  - [NotehubJs.PostProvisionProjectDeviceRequest](docs/PostProvisionProjectDeviceRequest.md)
package/dist/ApiClient.js CHANGED
@@ -7,15 +7,26 @@ exports["default"] = void 0;
7
7
  var _superagent = _interopRequireDefault(require("superagent"));
8
8
  var _querystring = _interopRequireDefault(require("querystring"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
12
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Notehub API
17
+ * The OpenAPI definition for the Notehub.io API.
18
+ *
19
+ * The version of the OpenAPI document: 1.0.0
20
+ * Contact: engineering@blues.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
16
27
  /**
17
28
  * @module ApiClient
18
- * @version 1.0.18
29
+ * @version 1.0.20
19
30
  */
20
31
  /**
21
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -63,7 +74,7 @@ var ApiClient = /*#__PURE__*/function () {
63
74
  * @default {}
64
75
  */
65
76
  this.defaultHeaders = {
66
- "User-Agent": "OpenAPI-Generator/1.0.18/Javascript"
77
+ "User-Agent": "OpenAPI-Generator/1.0.20/Javascript"
67
78
  };
68
79
 
69
80
  /**
@@ -112,7 +123,7 @@ var ApiClient = /*#__PURE__*/function () {
112
123
  * @param param The actual parameter.
113
124
  * @returns {String} The string representation of <code>param</code>.
114
125
  */
115
- _createClass(ApiClient, [{
126
+ return _createClass(ApiClient, [{
116
127
  key: "paramToString",
117
128
  value: function paramToString(param) {
118
129
  if (param == undefined || param == null) {
@@ -651,7 +662,6 @@ var ApiClient = /*#__PURE__*/function () {
651
662
  }
652
663
  }
653
664
  }]);
654
- return ApiClient;
655
665
  }();
656
666
  /**
657
667
  * Enumeration of collection format separator strategies.
@@ -691,5 +701,4 @@ ApiClient.CollectionFormatEnum = {
691
701
  * @type {module:ApiClient}
692
702
  */
693
703
  ApiClient.instance = new ApiClient();
694
- var _default = ApiClient;
695
- exports["default"] = _default;
704
+ var _default = exports["default"] = ApiClient;
@@ -0,0 +1,95 @@
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 _Error = _interopRequireDefault(require("../model/Error"));
9
+ var _GetAlerts200Response = _interopRequireDefault(require("../model/GetAlerts200Response"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ 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); }
12
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
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
+ * Notehub API
18
+ * The OpenAPI definition for the Notehub.io API.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: engineering@blues.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+ /**
29
+ * Alert service.
30
+ * @module api/AlertApi
31
+ * @version 1.0.20
32
+ */
33
+ var AlertApi = exports["default"] = /*#__PURE__*/function () {
34
+ /**
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
+ function AlertApi(apiClient) {
42
+ _classCallCheck(this, AlertApi);
43
+ this.apiClient = apiClient || _ApiClient["default"].instance;
44
+ }
45
+
46
+ /**
47
+ * Get list of defined Alerts
48
+ * @param {String} projectUID
49
+ * @param {Object} opts Optional parameters
50
+ * @param {Number} opts.pageSize (default to 50)
51
+ * @param {Number} opts.pageNum (default to 1)
52
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
53
+ */
54
+ return _createClass(AlertApi, [{
55
+ key: "getAlertsWithHttpInfo",
56
+ value: function getAlertsWithHttpInfo(projectUID, opts) {
57
+ opts = opts || {};
58
+ var postBody = null;
59
+ // verify the required parameter 'projectUID' is set
60
+ if (projectUID === undefined || projectUID === null) {
61
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getAlerts");
62
+ }
63
+ var pathParams = {
64
+ projectUID: projectUID
65
+ };
66
+ var queryParams = {
67
+ pageSize: opts["pageSize"],
68
+ pageNum: opts["pageNum"]
69
+ };
70
+ var headerParams = {};
71
+ var formParams = {};
72
+ var authNames = ["api_key"];
73
+ var contentTypes = [];
74
+ var accepts = ["application/json"];
75
+ var returnType = _GetAlerts200Response["default"];
76
+ return this.apiClient.callApi("/v1/projects/{projectUID}/alerts", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
77
+ }
78
+
79
+ /**
80
+ * Get list of defined Alerts
81
+ * @param {String} projectUID
82
+ * @param {Object} opts Optional parameters
83
+ * @param {Number} opts.pageSize (default to 50)
84
+ * @param {Number} opts.pageNum (default to 1)
85
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
86
+ */
87
+ }, {
88
+ key: "getAlerts",
89
+ value: function getAlerts(projectUID, opts) {
90
+ return this.getAlertsWithHttpInfo(projectUID, opts).then(function (response_and_data) {
91
+ return response_and_data.data;
92
+ });
93
+ }
94
+ }]);
95
+ }();
@@ -8,18 +8,29 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Login200Response = _interopRequireDefault(require("../model/Login200Response"));
9
9
  var _LoginRequest = _interopRequireDefault(require("../model/LoginRequest"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ 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); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
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
+ * Notehub API
18
+ * The OpenAPI definition for the Notehub.io API.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: engineering@blues.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
17
28
  /**
18
29
  * Authorization service.
19
30
  * @module api/AuthorizationApi
20
- * @version 1.0.18
31
+ * @version 1.0.20
21
32
  */
22
- var AuthorizationApi = /*#__PURE__*/function () {
33
+ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
23
34
  /**
24
35
  * Constructs a new AuthorizationApi.
25
36
  * @alias module:api/AuthorizationApi
@@ -37,7 +48,7 @@ var AuthorizationApi = /*#__PURE__*/function () {
37
48
  * @param {module:model/LoginRequest} loginRequest
38
49
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Login200Response} and HTTP response
39
50
  */
40
- _createClass(AuthorizationApi, [{
51
+ return _createClass(AuthorizationApi, [{
41
52
  key: "loginWithHttpInfo",
42
53
  value: function loginWithHttpInfo(loginRequest) {
43
54
  var postBody = loginRequest;
@@ -69,6 +80,4 @@ var AuthorizationApi = /*#__PURE__*/function () {
69
80
  });
70
81
  }
71
82
  }]);
72
- return AuthorizationApi;
73
- }();
74
- exports["default"] = AuthorizationApi;
83
+ }();
@@ -8,18 +8,29 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
9
  var _GetBillingAccounts200Response = _interopRequireDefault(require("../model/GetBillingAccounts200Response"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ 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); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
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
+ * Notehub API
18
+ * The OpenAPI definition for the Notehub.io API.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: engineering@blues.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
17
28
  /**
18
29
  * BillingAccount service.
19
30
  * @module api/BillingAccountApi
20
- * @version 1.0.18
31
+ * @version 1.0.20
21
32
  */
22
- var BillingAccountApi = /*#__PURE__*/function () {
33
+ var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
23
34
  /**
24
35
  * Constructs a new BillingAccountApi.
25
36
  * @alias module:api/BillingAccountApi
@@ -36,7 +47,7 @@ var BillingAccountApi = /*#__PURE__*/function () {
36
47
  * Get Billing Accounts accessible by the api_key
37
48
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccounts200Response} and HTTP response
38
49
  */
39
- _createClass(BillingAccountApi, [{
50
+ return _createClass(BillingAccountApi, [{
40
51
  key: "getBillingAccountsWithHttpInfo",
41
52
  value: function getBillingAccountsWithHttpInfo() {
42
53
  var postBody = null;
@@ -63,6 +74,4 @@ var BillingAccountApi = /*#__PURE__*/function () {
63
74
  });
64
75
  }
65
76
  }]);
66
- return BillingAccountApi;
67
- }();
68
- exports["default"] = BillingAccountApi;
77
+ }();