Skip to content

Commit

Permalink
deps: bump notehub js version for npm deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
paigen11 committed Sep 22, 2023
1 parent 89c9acd commit 9993c09
Show file tree
Hide file tree
Showing 88 changed files with 171 additions and 199 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"licenseName": "MIT",
"moduleName": "NotehubJs",
"npmRepository": "https://registry.npmjs.org",
"projectVersion": "1.0.16",
"projectVersion": "1.0.17",
"sourceFolder": "src",
"usePromises": true
}
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 1.0.16
- Package version: 1.0.17
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)

Expand Down
62 changes: 24 additions & 38 deletions src/docs/DeviceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,39 +350,35 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) =>

## getDeviceEnvironmentVariablesByPin

> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID)
> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID)
Get environment variables of a device with device pin authorization

### Example

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";
import * as NotehubJs from '@blues-inc/notehub-js';
let defaultClient = NotehubJs.ApiClient.instance;
// Configure API key authorization: pin
let pin = defaultClient.authentications["pin"];
pin.apiKey = "YOUR API KEY";
let pin = defaultClient.authentications['pin'];
pin.apiKey = 'YOUR API KEY';

let apiInstance = new NotehubJs.DeviceApi();
let productUID = com.blues.airnote; // String |
let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String |
let deviceUID = "deviceUID_example"; // String |
apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then(
(data) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
},
(error) => {
console.error(error);
}
);
apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
}, (error) => {
console.error(error);
});

```

### Parameters

| Name | Type | Description | Notes |
| -------------- | ---------- | ----------- | ----- |
| **productUID** | **String** | |
| **projectUID** | **String** | |
| **deviceUID** | **String** | |

### Return type
Expand Down Expand Up @@ -732,46 +728,36 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari

## putDeviceEnvironmentVariablesByPin

> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables)
> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables)
Put environment variables of a device with device pin authorization

### Example

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";
import * as NotehubJs from '@blues-inc/notehub-js';
let defaultClient = NotehubJs.ApiClient.instance;
// Configure API key authorization: pin
let pin = defaultClient.authentications["pin"];
pin.apiKey = "YOUR API KEY";
let pin = defaultClient.authentications['pin'];
pin.apiKey = 'YOUR API KEY';

let apiInstance = new NotehubJs.DeviceApi();
let productUID = com.blues.airnote; // String |
let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String |
let deviceUID = "deviceUID_example"; // String |
let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device
apiInstance
.putDeviceEnvironmentVariablesByPin(
productUID,
deviceUID,
environmentVariables
)
.then(
(data) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
},
(error) => {
console.error(error);
}
);
apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
}, (error) => {
console.error(error);
});

```

### Parameters

| Name | Type | Description | Notes |
| ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- |
| **productUID** | **String** | |
| **projectUID** | **String** | |
| **deviceUID** | **String** | |
| **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device |

Expand Down
62 changes: 24 additions & 38 deletions src/docs/EnvironmentVariablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,39 +206,35 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) =>

## getDeviceEnvironmentVariablesByPin

> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID)
> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID)
Get environment variables of a device with device pin authorization

### Example

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";
import * as NotehubJs from '@blues-inc/notehub-js';
let defaultClient = NotehubJs.ApiClient.instance;
// Configure API key authorization: pin
let pin = defaultClient.authentications["pin"];
pin.apiKey = "YOUR API KEY";
let pin = defaultClient.authentications['pin'];
pin.apiKey = 'YOUR API KEY';

let apiInstance = new NotehubJs.EnvironmentVariablesApi();
let productUID = com.blues.airnote; // String |
let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String |
let deviceUID = "deviceUID_example"; // String |
apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then(
(data) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
},
(error) => {
console.error(error);
}
);
apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
}, (error) => {
console.error(error);
});

```

### Parameters

| Name | Type | Description | Notes |
| -------------- | ---------- | ----------- | ----- |
| **productUID** | **String** | |
| **projectUID** | **String** | |
| **deviceUID** | **String** | |

### Return type
Expand Down Expand Up @@ -394,46 +390,36 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari

## putDeviceEnvironmentVariablesByPin

> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables)
> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables)
Put environment variables of a device with device pin authorization

### Example

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";
import * as NotehubJs from '@blues-inc/notehub-js';
let defaultClient = NotehubJs.ApiClient.instance;
// Configure API key authorization: pin
let pin = defaultClient.authentications["pin"];
pin.apiKey = "YOUR API KEY";
let pin = defaultClient.authentications['pin'];
pin.apiKey = 'YOUR API KEY';

let apiInstance = new NotehubJs.EnvironmentVariablesApi();
let productUID = com.blues.airnote; // String |
let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String |
let deviceUID = "deviceUID_example"; // String |
let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device
apiInstance
.putDeviceEnvironmentVariablesByPin(
productUID,
deviceUID,
environmentVariables
)
.then(
(data) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
},
(error) => {
console.error(error);
}
);
apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
}, (error) => {
console.error(error);
});

```

### Parameters

| Name | Type | Description | Notes |
| ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- |
| **productUID** | **String** | |
| **projectUID** | **String** | |
| **deviceUID** | **String** | |
| **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device |

Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blues-inc/notehub-js",
"version": "1.0.16",
"version": "1.0.17",
"description": "The OpenAPI definition for the Notehub.io API. ",
"license": "MIT",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import querystring from "querystring";

/**
* @module ApiClient
* @version 1.0.16
* @version 1.0.17
*/

/**
Expand Down Expand Up @@ -55,7 +55,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
"User-Agent": "OpenAPI-Generator/1.0.16/Javascript",
"User-Agent": "OpenAPI-Generator/1.0.17/Javascript",
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/src/api/AuthorizationApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import LoginRequest from "../model/LoginRequest";
/**
* Authorization service.
* @module api/AuthorizationApi
* @version 1.0.16
* @version 1.0.17
*/
export default class AuthorizationApi {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/src/api/BillingAccountApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import GetBillingAccounts200Response from "../model/GetBillingAccounts200Respons
/**
* BillingAccount service.
* @module api/BillingAccountApi
* @version 1.0.16
* @version 1.0.17
*/
export default class BillingAccountApi {
/**
Expand Down
38 changes: 19 additions & 19 deletions src/src/api/DeviceApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import PutDeviceFleetsRequest from "../model/PutDeviceFleetsRequest";
/**
* Device service.
* @module api/DeviceApi
* @version 1.0.16
* @version 1.0.17
*/
export default class DeviceApi {
/**
Expand Down Expand Up @@ -516,16 +516,16 @@ export default class DeviceApi {

/**
* Get environment variables of a device with device pin authorization
* @param {String} productUID
* @param {String} projectUID
* @param {String} deviceUID
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
*/
getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) {
getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) {
let postBody = null;
// verify the required parameter 'productUID' is set
if (productUID === undefined || productUID === null) {
// verify the required parameter 'projectUID' is set
if (projectUID === undefined || projectUID === null) {
throw new Error(
"Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin"
"Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin"
);
}
// verify the required parameter 'deviceUID' is set
Expand All @@ -536,7 +536,7 @@ export default class DeviceApi {
}

let pathParams = {
productUID: productUID,
projectUID: projectUID,
deviceUID: deviceUID,
};
let queryParams = {};
Expand Down Expand Up @@ -565,13 +565,13 @@ export default class DeviceApi {

/**
* Get environment variables of a device with device pin authorization
* @param {String} productUID
* @param {String} projectUID
* @param {String} deviceUID
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
*/
getDeviceEnvironmentVariablesByPin(productUID, deviceUID) {
getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) {
return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(
productUID,
projectUID,
deviceUID
).then(function (response_and_data) {
return response_and_data.data;
Expand Down Expand Up @@ -1053,21 +1053,21 @@ export default class DeviceApi {

/**
* Put environment variables of a device with device pin authorization
* @param {String} productUID
* @param {String} projectUID
* @param {String} deviceUID
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
*/
putDeviceEnvironmentVariablesByPinWithHttpInfo(
productUID,
projectUID,
deviceUID,
environmentVariables
) {
let postBody = environmentVariables;
// verify the required parameter 'productUID' is set
if (productUID === undefined || productUID === null) {
// verify the required parameter 'projectUID' is set
if (projectUID === undefined || projectUID === null) {
throw new Error(
"Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin"
"Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin"
);
}
// verify the required parameter 'deviceUID' is set
Expand All @@ -1084,7 +1084,7 @@ export default class DeviceApi {
}

let pathParams = {
productUID: productUID,
projectUID: projectUID,
deviceUID: deviceUID,
};
let queryParams = {};
Expand Down Expand Up @@ -1113,18 +1113,18 @@ export default class DeviceApi {

/**
* Put environment variables of a device with device pin authorization
* @param {String} productUID
* @param {String} projectUID
* @param {String} deviceUID
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
*/
putDeviceEnvironmentVariablesByPin(
productUID,
projectUID,
deviceUID,
environmentVariables
) {
return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(
productUID,
projectUID,
deviceUID,
environmentVariables
).then(function (response_and_data) {
Expand Down
Loading

0 comments on commit 9993c09

Please sign in to comment.