@blues-inc/notehub-js 1.0.19 → 1.0.21

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 (106) hide show
  1. package/README.md +116 -111
  2. package/dist/ApiClient.js +22 -13
  3. package/dist/api/AlertApi.js +95 -0
  4. package/dist/api/AuthorizationApi.js +22 -13
  5. package/dist/api/BillingAccountApi.js +22 -13
  6. package/dist/api/DeviceApi.js +908 -186
  7. package/dist/api/EventApi.js +72 -13
  8. package/dist/api/MonitorApi.js +275 -0
  9. package/dist/api/ProjectApi.js +590 -270
  10. package/dist/api/RouteApi.js +100 -13
  11. package/dist/index.js +111 -34
  12. package/dist/model/Alert.js +259 -0
  13. package/dist/model/AlertDataInner.js +184 -0
  14. package/dist/model/AlertNotificationsInner.js +132 -0
  15. package/dist/model/Aws.js +21 -12
  16. package/dist/model/Azure.js +21 -12
  17. package/dist/model/BillingAccount.js +24 -15
  18. package/dist/model/BillingAccountRole.js +42 -21
  19. package/dist/model/Body.js +21 -12
  20. package/dist/model/CloneProjectRequest.js +24 -15
  21. package/dist/model/Contact.js +21 -12
  22. package/dist/model/CreateFleetRequest.js +21 -12
  23. package/dist/model/CreateMonitor.js +507 -0
  24. package/dist/model/CreateProductRequest.js +24 -15
  25. package/dist/model/CreateProjectRequest.js +24 -15
  26. package/dist/model/DFUEnv.js +21 -12
  27. package/dist/model/DFUState.js +21 -12
  28. package/dist/model/DeleteDeviceFleetsRequest.js +24 -15
  29. package/dist/model/Device.js +28 -21
  30. package/dist/model/DeviceSession.js +21 -12
  31. package/dist/model/DeviceTowerInfo.js +21 -12
  32. package/dist/model/DeviceUsage.js +21 -12
  33. package/dist/model/EmailNotification.js +92 -0
  34. package/dist/model/EnvironmentVariables.js +24 -15
  35. package/dist/model/Error.js +24 -15
  36. package/dist/model/Event.js +21 -12
  37. package/dist/model/FirmwareInfo.js +231 -0
  38. package/dist/model/FirmwareStatus.js +144 -0
  39. package/dist/model/Fleet.js +24 -15
  40. package/dist/model/GetAlerts200Response.js +143 -0
  41. package/dist/model/GetBillingAccounts200Response.js +24 -15
  42. package/dist/model/GetDeviceEnvironmentVariables200Response.js +24 -15
  43. package/dist/model/GetDeviceHealthLog200Response.js +24 -15
  44. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +24 -15
  45. package/dist/model/GetDeviceLatest200Response.js +24 -15
  46. package/dist/model/GetDevicePublicKey200Response.js +24 -15
  47. package/dist/model/GetDeviceSessions200Response.js +24 -15
  48. package/dist/model/GetProjectDevicePublicKeys200Response.js +24 -15
  49. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +21 -12
  50. package/dist/model/GetProjectDevices200Response.js +24 -15
  51. package/dist/model/GetProjectEvents200Response.js +28 -34
  52. package/dist/model/GetProjectEventsByCursor200Response.js +24 -15
  53. package/dist/model/GetProjectFleets200Response.js +24 -15
  54. package/dist/model/GetProjectMembers200Response.js +24 -15
  55. package/dist/model/GetProjectProducts200Response.js +24 -15
  56. package/dist/model/GetProjects200Response.js +24 -15
  57. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +21 -12
  58. package/dist/model/Google.js +21 -12
  59. package/dist/model/HandleNoteChanges200Response.js +21 -12
  60. package/dist/model/HandleNoteGet200Response.js +21 -12
  61. package/dist/model/HandleNoteSignal200Response.js +21 -12
  62. package/dist/model/HandleNotefileChanges200Response.js +21 -12
  63. package/dist/model/HandleNotefileChangesPending200Response.js +21 -12
  64. package/dist/model/HandleNotefileDeleteRequest.js +21 -12
  65. package/dist/model/Http.js +21 -12
  66. package/dist/model/HttpFilter.js +21 -12
  67. package/dist/model/HttpTransform.js +21 -12
  68. package/dist/model/Location.js +24 -15
  69. package/dist/model/Login200Response.js +21 -12
  70. package/dist/model/LoginRequest.js +21 -12
  71. package/dist/model/Monitor.js +391 -0
  72. package/dist/model/MonitorAlertRoutesInner.js +193 -0
  73. package/dist/model/Mqtt.js +21 -12
  74. package/dist/model/Note.js +21 -12
  75. package/dist/model/OTAStatus.js +306 -0
  76. package/dist/model/OTAStatusList.js +120 -0
  77. package/dist/model/OTAUpdateRequest.js +214 -0
  78. package/dist/model/OTAUpdateStatus.js +118 -0
  79. package/dist/model/PostProvisionProjectDeviceRequest.js +24 -15
  80. package/dist/model/Product.js +24 -15
  81. package/dist/model/Project.js +24 -15
  82. package/dist/model/ProjectMember.js +24 -15
  83. package/dist/model/Proxy.js +21 -12
  84. package/dist/model/PutDeviceFleetsRequest.js +24 -15
  85. package/dist/model/Radresponder.js +21 -12
  86. package/dist/model/Role.js +42 -13
  87. package/dist/model/Route.js +21 -12
  88. package/dist/model/RouteSchema.js +34 -19
  89. package/dist/model/Slack.js +21 -12
  90. package/dist/model/SlackBearerNotification.js +149 -0
  91. package/dist/model/SlackWebHookNotification.js +136 -0
  92. package/dist/model/Snowflake.js +21 -12
  93. package/dist/model/SnowflakeTransform.js +21 -12
  94. package/dist/model/Thingworx.js +21 -12
  95. package/dist/model/TowerLocation.js +21 -12
  96. package/dist/model/Twilio.js +21 -12
  97. package/dist/model/UpdateFleetRequest.js +21 -12
  98. package/dist/model/UserDbRoute.js +21 -12
  99. package/package.json +1 -1
  100. package/dist/api/DevicesApi.js +0 -346
  101. package/dist/api/EnvironmentVariablesApi.js +0 -567
  102. package/dist/api/FilesApi.js +0 -193
  103. package/dist/api/FleetApi.js +0 -736
  104. package/dist/api/NotesApi.js +0 -435
  105. package/dist/api/ProductApi.js +0 -163
  106. package/dist/api/RouteLogsApi.js +0 -160
package/README.md CHANGED
@@ -5,8 +5,8 @@ The OpenAPI definition for the Notehub.io API.
5
5
 
6
6
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
7
 
8
- - API version: 1.0.0
9
- - Package version: 1.0.19
8
+ - API version: 1.1.0
9
+ - Package version: 1.0.21
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
 
@@ -100,124 +100,116 @@ module: {
100
100
  Please follow the [installation](#installation) instruction and execute the following JS code:
101
101
 
102
102
  ```javascript
103
- var NotehubJs = require("@blues-inc/notehub-js");
104
-
105
- var api = new NotehubJs.AuthorizationApi();
106
- var loginRequest = { username: "name@example.com", password: "test-password" }; // {LoginRequest}
107
- api.login(loginRequest).then(
108
- function (data) {
109
- console.log(
110
- "API called successfully. Returned data: " + JSON.stringify(data)
111
- );
112
- },
113
- function (error) {
114
- console.error(error);
115
- }
116
- );
103
+ var NotehubJs = require('@blues-inc/notehub-js');
104
+
105
+ var defaultClient = NotehubJs.ApiClient.instance;
106
+ // Configure API key authorization: api_key
107
+ var api_key = defaultClient.authentications['api_key'];
108
+ api_key.apiKey = "YOUR API KEY"
109
+
110
+ var api = new NotehubJs.AlertApi()
111
+ var projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // {String}
112
+ var opts = {
113
+ 'pageSize': 50, // {Number}
114
+ 'pageNum': 1 // {Number}
115
+ };
116
+ api.getAlerts(projectUID, opts).then(function(data) {
117
+ console.log('API called successfully. Returned data: ' + JSON.stringify(data));
118
+ }, function(error) {
119
+ console.error(error);
120
+ });
121
+
122
+
117
123
  ```
118
124
 
119
125
  ## Documentation for API Endpoints
120
126
 
121
127
  All URIs are relative to *https://api.notefile.net*
122
128
 
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_ | [**deleteProject**](docs/ProjectApi.md#deleteProject) | **DELETE** /v1/projects/{projectUID} |
194
- | _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
195
- | _NotehubJs.ProjectApi_ | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
196
- | _NotehubJs.ProjectApi_ | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
197
- | _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
198
- | _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
199
- | _NotehubJs.ProjectApi_ | [**getProjectDevicePublicKeys**](docs/ProjectApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectUID}/devices/public-keys |
200
- | _NotehubJs.ProjectApi_ | [**getProjectDevices**](docs/ProjectApi.md#getProjectDevices) | **GET** /v1/projects/{projectUID}/devices |
201
- | _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
202
- | _NotehubJs.ProjectApi_ | [**getProjectEvents**](docs/ProjectApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
203
- | _NotehubJs.ProjectApi_ | [**getProjectEventsByCursor**](docs/ProjectApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
204
- | _NotehubJs.ProjectApi_ | [**getProjectFleetDevices**](docs/ProjectApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
205
- | _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectUID}/members |
206
- | _NotehubJs.ProjectApi_ | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
207
- | _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
208
- | _NotehubJs.ProjectApi_ | [**postProvisionProjectDevice**](docs/ProjectApi.md#postProvisionProjectDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/provision |
209
- | _NotehubJs.ProjectApi_ | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
210
- | _NotehubJs.ProjectApi_ | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
211
- | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
212
- | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
213
- | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
214
- | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectUID}/routes |
215
- | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectUID}/routes/{routeUID} |
216
- | _NotehubJs.RouteLogsApi_ | [**getRouteLogsByEvent**](docs/RouteLogsApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectUID}/events/{eventUID}/route-logs |
217
- | _NotehubJs.RouteLogsApi_ | [**getRouteLogsByRoute**](docs/RouteLogsApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID}/route-logs |
129
+ | Class | Method | HTTP request | Description |
130
+ | ----------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------- |
131
+ | _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectUID}/alerts |
132
+ | _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
133
+ | _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
134
+ | _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key} |
135
+ | _NotehubJs.DeviceApi_ | [**deleteProjectDevice**](docs/DeviceApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} |
136
+ | _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable |
137
+ | _NotehubJs.DeviceApi_ | [**disableDeviceConnectivityAssurance**](docs/DeviceApi.md#disableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance |
138
+ | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable |
139
+ | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance |
140
+ | _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} |
141
+ | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
142
+ | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
143
+ | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log |
144
+ | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest |
145
+ | _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/public-key |
146
+ | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions |
147
+ | _NotehubJs.DeviceApi_ | [**getProjectDevicePublicKeys**](docs/DeviceApi.md#getProjectDevicePublicKeys) | **GET** /v1/projects/{projectUID}/devices/public-keys |
148
+ | _NotehubJs.DeviceApi_ | [**getProjectDevices**](docs/DeviceApi.md#getProjectDevices) | **GET** /v1/projects/{projectUID}/devices |
149
+ | _NotehubJs.DeviceApi_ | [**getProjectFleetDevices**](docs/DeviceApi.md#getProjectFleetDevices) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/devices |
150
+ | _NotehubJs.DeviceApi_ | [**handleNoteAdd**](docs/DeviceApi.md#handleNoteAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID} |
151
+ | _NotehubJs.DeviceApi_ | [**handleNoteChanges**](docs/DeviceApi.md#handleNoteChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes |
152
+ | _NotehubJs.DeviceApi_ | [**handleNoteCreateAdd**](docs/DeviceApi.md#handleNoteCreateAdd) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
153
+ | _NotehubJs.DeviceApi_ | [**handleNoteDelete**](docs/DeviceApi.md#handleNoteDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
154
+ | _NotehubJs.DeviceApi_ | [**handleNoteGet**](docs/DeviceApi.md#handleNoteGet) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
155
+ | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal |
156
+ | _NotehubJs.DeviceApi_ | [**handleNoteUpdate**](docs/DeviceApi.md#handleNoteUpdate) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
157
+ | _NotehubJs.DeviceApi_ | [**handleNotefileChanges**](docs/DeviceApi.md#handleNotefileChanges) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes |
158
+ | _NotehubJs.DeviceApi_ | [**handleNotefileChangesPending**](docs/DeviceApi.md#handleNotefileChangesPending) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending |
159
+ | _NotehubJs.DeviceApi_ | [**handleNotefileDelete**](docs/DeviceApi.md#handleNotefileDelete) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/files |
160
+ | _NotehubJs.DeviceApi_ | [**postProvisionProjectDevice**](docs/DeviceApi.md#postProvisionProjectDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/provision |
161
+ | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
162
+ | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
163
+ | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
164
+ | _NotehubJs.EventApi_ | [**getFleetEventsByCursor**](docs/EventApi.md#getFleetEventsByCursor) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor |
165
+ | _NotehubJs.EventApi_ | [**getProjectEvents**](docs/EventApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
166
+ | _NotehubJs.EventApi_ | [**getProjectEventsByCursor**](docs/EventApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
167
+ | _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectUID}/events/{eventUID}/route-logs |
168
+ | _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectUID}/monitors |
169
+ | _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectUID}/monitors/{monitorUID} |
170
+ | _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectUID}/monitors/{monitorUID} |
171
+ | _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectUID}/monitors |
172
+ | _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectUID}/monitors/{monitorUID} |
173
+ | _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectUID}/clone |
174
+ | _NotehubJs.ProjectApi_ | [**createFleet**](docs/ProjectApi.md#createFleet) | **POST** /v1/projects/{projectUID}/fleets |
175
+ | _NotehubJs.ProjectApi_ | [**createProduct**](docs/ProjectApi.md#createProduct) | **POST** /v1/projects/{projectUID}/products |
176
+ | _NotehubJs.ProjectApi_ | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /v1/projects |
177
+ | _NotehubJs.ProjectApi_ | [**deleteDeviceFleets**](docs/ProjectApi.md#deleteDeviceFleets) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
178
+ | _NotehubJs.ProjectApi_ | [**deleteFleet**](docs/ProjectApi.md#deleteFleet) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID} |
179
+ | _NotehubJs.ProjectApi_ | [**deleteFleetEnvironmentVariable**](docs/ProjectApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
180
+ | _NotehubJs.ProjectApi_ | [**deleteProject**](docs/ProjectApi.md#deleteProject) | **DELETE** /v1/projects/{projectUID} |
181
+ | _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
182
+ | _NotehubJs.ProjectApi_ | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
183
+ | _NotehubJs.ProjectApi_ | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
184
+ | _NotehubJs.ProjectApi_ | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
185
+ | _NotehubJs.ProjectApi_ | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectUID}/firmware |
186
+ | _NotehubJs.ProjectApi_ | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
187
+ | _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
188
+ | _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
189
+ | _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
190
+ | _NotehubJs.ProjectApi_ | [**getProjectFleets**](docs/ProjectApi.md#getProjectFleets) | **GET** /v1/projects/{projectUID}/fleets |
191
+ | _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectUID}/members |
192
+ | _NotehubJs.ProjectApi_ | [**getProjectOTAStatus**](docs/ProjectApi.md#getProjectOTAStatus) | **GET** /v1/projects/{projectUID}/ota/status |
193
+ | _NotehubJs.ProjectApi_ | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
194
+ | _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
195
+ | _NotehubJs.ProjectApi_ | [**putDeviceFleets**](docs/ProjectApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
196
+ | _NotehubJs.ProjectApi_ | [**putFleetEnvironmentVariables**](docs/ProjectApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
197
+ | _NotehubJs.ProjectApi_ | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
198
+ | _NotehubJs.ProjectApi_ | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
199
+ | _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID} |
200
+ | _NotehubJs.ProjectApi_ | [**updateProjectFirmware**](docs/ProjectApi.md#updateProjectFirmware) | **POST** /v1/projects/{projectUID}/ota/update |
201
+ | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
202
+ | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
203
+ | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
204
+ | _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID}/route-logs |
205
+ | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectUID}/routes |
206
+ | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectUID}/routes/{routeUID} |
218
207
 
219
208
  ## Documentation for Models
220
209
 
210
+ - [NotehubJs.Alert](docs/Alert.md)
211
+ - [NotehubJs.AlertDataInner](docs/AlertDataInner.md)
212
+ - [NotehubJs.AlertNotificationsInner](docs/AlertNotificationsInner.md)
221
213
  - [NotehubJs.Aws](docs/Aws.md)
222
214
  - [NotehubJs.Azure](docs/Azure.md)
223
215
  - [NotehubJs.BillingAccount](docs/BillingAccount.md)
@@ -226,6 +218,7 @@ All URIs are relative to *https://api.notefile.net*
226
218
  - [NotehubJs.CloneProjectRequest](docs/CloneProjectRequest.md)
227
219
  - [NotehubJs.Contact](docs/Contact.md)
228
220
  - [NotehubJs.CreateFleetRequest](docs/CreateFleetRequest.md)
221
+ - [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
229
222
  - [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
230
223
  - [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
231
224
  - [NotehubJs.DFUEnv](docs/DFUEnv.md)
@@ -235,10 +228,14 @@ All URIs are relative to *https://api.notefile.net*
235
228
  - [NotehubJs.DeviceSession](docs/DeviceSession.md)
236
229
  - [NotehubJs.DeviceTowerInfo](docs/DeviceTowerInfo.md)
237
230
  - [NotehubJs.DeviceUsage](docs/DeviceUsage.md)
231
+ - [NotehubJs.EmailNotification](docs/EmailNotification.md)
238
232
  - [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
239
233
  - [NotehubJs.Error](docs/Error.md)
240
234
  - [NotehubJs.Event](docs/Event.md)
235
+ - [NotehubJs.FirmwareInfo](docs/FirmwareInfo.md)
236
+ - [NotehubJs.FirmwareStatus](docs/FirmwareStatus.md)
241
237
  - [NotehubJs.Fleet](docs/Fleet.md)
238
+ - [NotehubJs.GetAlerts200Response](docs/GetAlerts200Response.md)
242
239
  - [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.md)
243
240
  - [NotehubJs.GetDeviceEnvironmentVariables200Response](docs/GetDeviceEnvironmentVariables200Response.md)
244
241
  - [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
@@ -269,8 +266,14 @@ All URIs are relative to *https://api.notefile.net*
269
266
  - [NotehubJs.Location](docs/Location.md)
270
267
  - [NotehubJs.Login200Response](docs/Login200Response.md)
271
268
  - [NotehubJs.LoginRequest](docs/LoginRequest.md)
269
+ - [NotehubJs.Monitor](docs/Monitor.md)
270
+ - [NotehubJs.MonitorAlertRoutesInner](docs/MonitorAlertRoutesInner.md)
272
271
  - [NotehubJs.Mqtt](docs/Mqtt.md)
273
272
  - [NotehubJs.Note](docs/Note.md)
273
+ - [NotehubJs.OTAStatus](docs/OTAStatus.md)
274
+ - [NotehubJs.OTAStatusList](docs/OTAStatusList.md)
275
+ - [NotehubJs.OTAUpdateRequest](docs/OTAUpdateRequest.md)
276
+ - [NotehubJs.OTAUpdateStatus](docs/OTAUpdateStatus.md)
274
277
  - [NotehubJs.PostProvisionProjectDeviceRequest](docs/PostProvisionProjectDeviceRequest.md)
275
278
  - [NotehubJs.Product](docs/Product.md)
276
279
  - [NotehubJs.Project](docs/Project.md)
@@ -282,6 +285,8 @@ All URIs are relative to *https://api.notefile.net*
282
285
  - [NotehubJs.Route](docs/Route.md)
283
286
  - [NotehubJs.RouteSchema](docs/RouteSchema.md)
284
287
  - [NotehubJs.Slack](docs/Slack.md)
288
+ - [NotehubJs.SlackBearerNotification](docs/SlackBearerNotification.md)
289
+ - [NotehubJs.SlackWebHookNotification](docs/SlackWebHookNotification.md)
285
290
  - [NotehubJs.Snowflake](docs/Snowflake.md)
286
291
  - [NotehubJs.SnowflakeTransform](docs/SnowflakeTransform.md)
287
292
  - [NotehubJs.Thingworx](docs/Thingworx.md)
package/dist/ApiClient.js CHANGED
@@ -6,16 +6,27 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _superagent = _interopRequireDefault(require("superagent"));
8
8
  var _querystring = _interopRequireDefault(require("querystring"));
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); }
11
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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
- 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); }
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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
12
+ 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); } }
13
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
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.1.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.19
29
+ * @version 1.0.21
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.19/Javascript"
77
+ "User-Agent": "OpenAPI-Generator/1.0.21/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(e) { return e && e.__esModule ? e : { "default": e }; }
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
13
+ 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); } }
14
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
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.1.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.21
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
+ }();
@@ -7,19 +7,30 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Login200Response = _interopRequireDefault(require("../model/Login200Response"));
9
9
  var _LoginRequest = _interopRequireDefault(require("../model/LoginRequest"));
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); }
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(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); }
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
13
+ 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); } }
14
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
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.1.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.19
31
+ * @version 1.0.21
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
+ }();