Skip to content

Commit

Permalink
0.151.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wbouvy committed May 23, 2023
1 parent 05e2660 commit c3f6ab1
Show file tree
Hide file tree
Showing 55 changed files with 5,216 additions and 2,243 deletions.
61 changes: 37 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,49 @@
# Changelog Hiber API

### 0.147 (2023-04-10)
### 0.151 (2023-05-22)

##### DeviceService

- Added `Device.type` to indicate the device type.

##### DeviceTypeService

- Added the `DeviceTypeService` to list available device types.

##### FieldService

- Added modem `name` and `identifier` to `ListFieldsForModem.Response.ModemWithFields`.

##### ModemService

- Added `Modem.ConnectedDeviceInfo.device_type` to indicate the device type.
- Added blocking logic for gateways (i.e. when license expires)

##### TokenService

- Added uniqueness check on token name (for active tokens) within organization.

### 0.148 (2023-04-17)

##### EventService

- Fix a bug where events from transferred modems would be fetched, resulting in errors.

##### ModemTransferService

### 0.146 (2023-04-03)
- Removed the deprecated `ModemTransferService` and related fields

##### ModemTransferReturnService

- Removed the deprecated `ModemTransferReturnService`.

### 0.145 (2023-03-27)
##### EventService

- Removed `deprecated_transfer` from `TransferEvent`.

##### EventService

- Added `ModemHealth` call, which returns all events that affect modem health in the organization (without time limit).

### 0.144 (2023-03-20)

Expand Down Expand Up @@ -63,7 +96,7 @@

##### EventService

- Changed the title and description for `ModemEvent.MessageEvent.ModemMessageCannotBeParsedEvent`
- Changed the title and description for `ModemEvent.MessageEvent.ModemMessageCannotBeParsedEvent`
to reflect that this is a configuration issue that hiber support should solve.

### 0.139 (2023-02-06)
Expand Down Expand Up @@ -153,10 +186,6 @@

- Removed the Easypulse-related organization features.

### 0.134 (2022-12-19)



### 0.133 (2022-12-12)

##### ValueService
Expand All @@ -165,14 +194,6 @@
- Renamed `duration` to `value_durations`.
- Fixed the documentation inside the `oneof value_type`.

### 0.132 (2022-12-05)



### 0.131 (2022-11-28)



### 0.130 (2022-11-21)

##### EventService
Expand Down Expand Up @@ -349,10 +370,6 @@ Created a new simulation service that allows to directly simulate values.
- Use `List` to list absolute values for a given period of time.
- Use `Aggregated` to aggregate values over a given period of time, optionally partitioned (i.e. average per day).

### 0.118 (2022-08-22)

### 0.117 (2022-08-15)

### 0.116 (2022-08-01)

##### FieldService
Expand Down Expand Up @@ -449,8 +466,6 @@ Created a new simulation service that allows to directly simulate values.

- Added `Value.Enum` with the enum `value`, `display_name` and optional `description`, `color` and `priority`.

### 0.113 (2022-07-04)

### 0.112 (2022-06-27)

- Added new fields for EasyPulse Assets
Expand All @@ -466,8 +481,6 @@ Created a new simulation service that allows to directly simulate values.

- Improved the title and description for alarm events with multiple error messages.

### 0.111 (2022-06-20)

### 0.110 (2022-06-13)

- Added support for textual shortcuts in `Timestamp.textual`:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ For Hiber customer development, we have set up endpoints under [acc.env.hiber.cl

- [acc.env.hiber.cloud](https://acc.env.hiber.cloud): The Hiber web application
- [api.acc.env.hiber.cloud](https://api.acc.env.hiber.cloud) (or [grpc.acc.env.hiber.cloud](https://grpc.acc.env.hiber.cloud)):
The GRPC API, accessible over https on port 443 or 1443.
The GRPC API, accessible over https on port 443.
(Note that opening this url in your browser will not work, since it requires HTTP2.)

Notes:
Expand All @@ -238,7 +238,7 @@ For actual modems and modem messages, use [hiber.cloud](https://hiber.cloud):

- [hiber.cloud](https://hiber.cloud): The Hiber web application
- [api.hiber.cloud](https://api.hiber.cloud) (or [grpc.hiber.cloud](https://grpc.hiber.cloud)):
The GRPC API, accessible over https on port 443 or 1443.
The GRPC API, accessible over https on port 443.
(Note that opening this url in your browser will not work, since it requires HTTP2.)

## Examples
Expand Down
4 changes: 2 additions & 2 deletions buf.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ For Hiber customer development, we have set up endpoints under [acc.env.hiber.cl

- [acc.env.hiber.cloud](https://acc.env.hiber.cloud): The Hiber web application
- [api.acc.env.hiber.cloud](https://api.acc.env.hiber.cloud) (or [grpc.acc.env.hiber.cloud](https://grpc.acc.env.hiber.cloud)):
The GRPC API, accessible over https on port 443 or 1443.
The GRPC API, accessible over https on port 443.
(Note that opening this url in your browser will not work, since it requires HTTP2.)

Notes:
Expand All @@ -238,7 +238,7 @@ For actual modems and modem messages, use [hiber.cloud](https://hiber.cloud):

- [hiber.cloud](https://hiber.cloud): The Hiber web application
- [api.hiber.cloud](https://api.hiber.cloud) (or [grpc.hiber.cloud](https://grpc.hiber.cloud)):
The GRPC API, accessible over https on port 443 or 1443.
The GRPC API, accessible over https on port 443.
(Note that opening this url in your browser will not work, since it requires HTTP2.)

## Examples
Expand Down
3 changes: 3 additions & 0 deletions device.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ message Device {
/* The expected transmission rate for this device. */
optional hiber.value.Value.Numeric.Rate expected_transmission_rate = 16;

/* The DeviceType for this device. See DeviceType for more information. */
string type = 17;

/* Collection of data about the devices it is connected to. */
message Links {
/* Other identifiers for this devices. Could include data like its MAC-address or otherwise unique identifier. */
Expand Down
22 changes: 22 additions & 0 deletions device_type.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
syntax = "proto3";

package hiber.device.type;

option java_multiple_files = true;
option java_package = "global.hiber.api.grpc.device.type";
option go_package = "hiber";

/* Preconfigured device type. */
message DeviceType {
string identifier = 1;
string brand = 2;
string application = 3;
string category = 4;
string version = 5;
string description = 6;
}

/* Selection object for device types. */
message DeviceTypeSelection {
string search = 1;
}
47 changes: 47 additions & 0 deletions device_type_service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/* Device Types.
*
*/
syntax = "proto3";

package hiber.device.type;

import "base.proto";
import "device_type.proto";

option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.device.type";
option java_outer_classname = "DeviceTypeApi";
option go_package = "hiber";

service DeviceTypeService {
rpc List (ListDeviceTypes.Request) returns (ListDeviceTypes.Response);
}

message ListDeviceTypes {
enum Sort {
IDENTIFIER_ASC = 0;
IDENTIFIER_DESC = 1;

BRAND_ASC = 2;
BRAND_DESC = 3;
}

message Request {
/* Pick the organization to use (/impersonate). If unset, your default organization is used. */
string organization = 1;

/* Select which device types to return. */
DeviceTypeSelection selection = 2;

/* Paginate through results. */
Pagination pagination = 3;

/* Sort the devices with the given sort options. */
repeated Sort sort_by = 4;
}
message Response {
repeated DeviceType device_types = 1;
Request request = 2;
Pagination.Result pagination = 3;
}
}
7 changes: 7 additions & 0 deletions docs/html/assignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -5669,6 +5669,13 @@ <h3 id="hiber.modem.Modem.ConnectedDeviceInfo">Modem.ConnectedDeviceInfo</h3>
<td><p>External device ids for this modem. </p></td>
</tr>

<tr>
<td>device_type</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>Device type for this modem. </p></td>
</tr>

</tbody>
</table>

Expand Down
Loading

0 comments on commit c3f6ab1

Please sign in to comment.