Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions paas/docs/AiChatControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ com.fasterxml.jackson.databind.JsonNode createChat(@Nonnull Object body) // crea
void deleteChat(@Nonnull UUID chatId) // deleteChat
com.fasterxml.jackson.databind.JsonNode getChatMessages(@Nonnull UUID chatId) // getChatMessages
com.fasterxml.jackson.databind.JsonNode listChats(@Nonnull ChatType chatType) // listChats
List<Object> sendChatMessage(@Nonnull UUID chatId, @Nonnull String xAuthorization, @Nonnull String body) // sendChatMessage
List<Object> sendChatMessage(@Nonnull UUID chatId, @Nonnull String xAuthorization, @Nonnull Object body, @Nullable String acceptLanguage) // sendChatMessage
void updateChat(@Nonnull UUID chatId, @Nonnull Object body) // updateChat
```

Expand Down Expand Up @@ -103,7 +103,7 @@ listChats
## sendChatMessage

```
List<Object> sendChatMessage(@Nonnull UUID chatId, @Nonnull String xAuthorization, @Nonnull String body)
List<Object> sendChatMessage(@Nonnull UUID chatId, @Nonnull String xAuthorization, @Nonnull Object body, @Nullable String acceptLanguage)
```

**POST** `/api/ai/chats/{chatId}/messages`
Expand All @@ -117,7 +117,8 @@ sendChatMessage
|------------- | ------------- | ------------- | -------------|
| **chatId** | **UUID** | | |
| **xAuthorization** | **String** | | |
| **body** | **String** | | |
| **body** | **Object** | | |
| **acceptLanguage** | **String** | | [optional] |

### Return type

Expand Down
32 changes: 32 additions & 0 deletions paas/docs/AiDeviceDashboardControllerApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# AiDeviceDashboardControllerApi

`ThingsboardClient` methods:

```
com.fasterxml.jackson.databind.JsonNode generateDashboard(@Nonnull UUID deviceId, @Nonnull String xAuthorization, @Nonnull Object body) // generateDashboard
```


## generateDashboard

```
com.fasterxml.jackson.databind.JsonNode generateDashboard(@Nonnull UUID deviceId, @Nonnull String xAuthorization, @Nonnull Object body)
```

**POST** `/api/ai/devices/{deviceId}/dashboard`

generateDashboard


### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **deviceId** | **UUID** | | |
| **xAuthorization** | **String** | | |
| **body** | **Object** | | |

### Return type

**com.fasterxml.jackson.databind.JsonNode**

2 changes: 1 addition & 1 deletion paas/docs/Alarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| **id** | **AlarmId** | JSON object with the alarm Id. Specify this field to update the alarm. Referencing non-existing alarm Id will cause error. Omit this field to create new alarm. | [optional] |
| **createdTime** | **Long** | Timestamp of the alarm creation, in milliseconds | [optional] [readonly] |
| **tenantId** | **TenantId** | JSON object with Tenant Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Derived from the originator entity owner and cannot be set independently; any value supplied in the request body must match the originator's customer or the request is rejected. | [optional] [readonly] |
| **type** | **String** | representing type of the Alarm | |
| **originator** | **EntityId** | JSON object with alarm originator id | |
| **severity** | **AlarmSeverity** | Alarm severity | |
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/AlarmControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Alarm saveAlarm(@Nonnull Alarm alarm)

Create or Update Alarm (saveAlarm)

Creates or Updates the Alarm. When creating alarm, platform generates Alarm Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Alarm id will be present in the response. Specify existing Alarm id to update the alarm. Referencing non-existing Alarm Id will cause 'Not Found' error. Platform also deduplicate the alarms based on the entity id of originator and alarm 'type'. For example, if the user or system component create the alarm with the type 'HighTemperature' for device 'Device A' the new active alarm is created. If the user tries to create 'HighTemperature' alarm for the same device again, the previous alarm will be updated (the 'end_ts' will be set to current timestamp). If the user clears the alarm (see 'Clear Alarm(clearAlarm)'), than new alarm with the same type and same device may be created. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Alarm entity. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities).
Creates or Updates the Alarm. When creating alarm, platform generates Alarm Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Alarm id will be present in the response. Specify existing Alarm id to update the alarm. Referencing non-existing Alarm Id will cause 'Not Found' error. Platform also deduplicate the alarms based on the entity id of originator and alarm 'type'. For example, if the user or system component create the alarm with the type 'HighTemperature' for device 'Device A' the new active alarm is created. If the user tries to create 'HighTemperature' alarm for the same device again, the previous alarm will be updated (the 'end_ts' will be set to current timestamp). If the user clears the alarm (see 'Clear Alarm(clearAlarm)'), than new alarm with the same type and same device may be created. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Alarm entity. The alarm originator is an immutable routing key: when updating an existing alarm, the 'originator' in the request body must match the stored alarm's originator. A request that references an existing alarm id but carries a different originator is treated as a lookup miss and causes a 'Not Found' error. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities).


### Parameters
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/AlarmData.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| **id** | **AlarmId** | JSON object with the alarm Id. Specify this field to update the alarm. Referencing non-existing alarm Id will cause error. Omit this field to create new alarm. | [optional] |
| **createdTime** | **Long** | Timestamp of the alarm creation, in milliseconds | [optional] [readonly] |
| **tenantId** | **TenantId** | JSON object with Tenant Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Derived from the originator entity owner and cannot be set independently; any value supplied in the request body must match the originator's customer or the request is rejected. | [optional] [readonly] |
| **type** | **String** | representing type of the Alarm | |
| **originator** | **EntityId** | JSON object with alarm originator id | |
| **severity** | **AlarmSeverity** | Alarm severity | |
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/AlarmInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| **id** | **AlarmId** | JSON object with the alarm Id. Specify this field to update the alarm. Referencing non-existing alarm Id will cause error. Omit this field to create new alarm. | [optional] |
| **createdTime** | **Long** | Timestamp of the alarm creation, in milliseconds | [optional] [readonly] |
| **tenantId** | **TenantId** | JSON object with Tenant Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Derived from the originator entity owner and cannot be set independently; any value supplied in the request body must match the originator's customer or the request is rejected. | [optional] [readonly] |
| **type** | **String** | representing type of the Alarm | |
| **originator** | **EntityId** | JSON object with alarm originator id | |
| **severity** | **AlarmSeverity** | Alarm severity | |
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| **createdTime** | **Long** | Timestamp of the asset creation, in milliseconds | [optional] [readonly] |
| **additionalInfo** | **com.fasterxml.jackson.databind.JsonNode** | Additional parameters of the asset. May include: 'description' (string). | [optional] |
| **tenantId** | **TenantId** | JSON object with Tenant Id. | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Use 'assignAssetToCustomer' to change the Customer Id. | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Optional on create: when omitted, defaults to the owner of the target Entity Group or to the current Customer user. Cannot be changed on update via this endpoint; use the Owner API (changeOwnerToCustomer) to re-assign an existing Asset. | [optional] |
| **name** | **String** | Unique Asset Name in scope of Tenant | |
| **type** | **String** | Asset type | [optional] |
| **label** | **String** | Label that may be used in widgets | [optional] |
Expand Down
4 changes: 2 additions & 2 deletions paas/docs/AssetControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Returns a page of asset info objects owned by the tenant or the customer of a cu
|------------- | ------------- | ------------- | -------------|
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **assetProfileId** | **String** | A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the asset name. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, name, type, label, customerTitle] |
Expand Down Expand Up @@ -237,7 +237,7 @@ Returns a page of asset info objects owned by the specified customer. Asset Info
| **customerId** | **String** | A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' | |
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **assetProfileId** | **String** | A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the asset name. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, name, type, label, customerTitle] |
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/AssetInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| **createdTime** | **Long** | Timestamp of the asset creation, in milliseconds | [optional] [readonly] |
| **additionalInfo** | **com.fasterxml.jackson.databind.JsonNode** | Additional parameters of the asset. May include: 'description' (string). | [optional] |
| **tenantId** | **TenantId** | JSON object with Tenant Id. | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Use 'assignAssetToCustomer' to change the Customer Id. | [optional] [readonly] |
| **customerId** | **CustomerId** | JSON object with Customer Id. Optional on create: when omitted, defaults to the owner of the target Entity Group or to the current Customer user. Cannot be changed on update via this endpoint; use the Owner API (changeOwnerToCustomer) to re-assign an existing Asset. | [optional] |
| **name** | **String** | Unique Asset Name in scope of Tenant | |
| **type** | **String** | Asset type | [optional] |
| **label** | **String** | Label that may be used in widgets | [optional] |
Expand Down
4 changes: 2 additions & 2 deletions paas/docs/AvailableEntityKeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Contains unique time series and attribute key names discovered from entities mat
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| **entityTypes** | **Set\<EntityType\>** | Set of entity types found among the matched entities. | |
| **timeseries** | **Set\<String\>** | | |
| **attribute** | **Set\<String\>** | | |
| **timeseries** | **Set\<String\>** | List of unique time series key names available on the matched entities. | |
| **attribute** | **Set\<String\>** | List of unique attribute key names available on the matched entities. | |



Expand Down
2 changes: 1 addition & 1 deletion paas/docs/AvailableEntityKeysV2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Contains unique time series and attribute key names discovered from entities mat
|------------ | ------------- | ------------- | -------------|
| **totalEntities** | **Integer** | Total number of entities that matched the query filter. | |
| **entityTypes** | **Set\<EntityType\>** | Set of entity types found among the matched entities. | |
| **timeseries** | **List\<KeyInfo\>** | | [optional] |
| **timeseries** | **List\<KeyInfo\>** | List of unique time series keys available on the matched entities, sorted alphabetically. Omitted when timeseries keys were not requested. | [optional] |
| **attributes** | **Map\<String, List<KeyInfo>\>** | Map of attribute scope to the list of unique attribute keys available on the matched entities. Only scopes supported by the matched entity types are included. Omitted when attribute keys were not requested or when none of the requested scopes apply to the matched entity types. | [optional] |


Expand Down
15 changes: 13 additions & 2 deletions paas/docs/CsvReportTemplateConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,8 @@
| decimals | Integer | | [optional] |
| interval | Double | | [optional] |
| splitNumber | Integer | | [optional] |
| min | Double | | [optional] |
| max | Double | | [optional] |
| min | SimpleValueSourceConfig | | [optional] |
| max | SimpleValueSourceConfig | | [optional] |

#### TimeSeriesChartXAxisSettings
| Name | Type | Description | Notes |
Expand Down Expand Up @@ -934,6 +934,17 @@
#### AxisPosition (enum)
`LEFT` | `RIGHT` | `TOP` | `BOTTOM`

#### SimpleValueSourceConfig
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| type | ValueSourceType | | [optional] |
| value | Double | | [optional] |
| latestKeyType | String | | [optional] |
| latestKey | String | | [optional] |
| entityKeyType | String | | [optional] |
| entityAlias | String | | [optional] |
| entityKey | String | | [optional] |

#### TimeSeriesChartNoAggregationBarWidthStrategy (enum)
`GROUP` | `SEPARATE`

Expand Down
4 changes: 2 additions & 2 deletions paas/docs/CustomerControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Returns a page of customer info objects owned by the tenant or the customer of a
|------------- | ------------- | ------------- | -------------|
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the customer title. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, title, email, country, city] |
| **sortOrder** | **String** | Sort order. ASC (ASCENDING) or DESC (DESCENDING) | [optional] [enum: ASC, DESC] |
Expand Down Expand Up @@ -116,7 +116,7 @@ Returns a page of customer info objects owned by the specified customer. You can
| **customerId** | **String** | A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' | |
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the customer title. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, title, email, country, city] |
| **sortOrder** | **String** | Sort order. ASC (ASCENDING) or DESC (DESCENDING) | [optional] [enum: ASC, DESC] |
Expand Down
2 changes: 1 addition & 1 deletion paas/docs/Dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
| **assignedCustomers** | **Set\<ShortCustomerInfo\>** | List of assigned customers with their info. | [optional] |
| **mobileHide** | **Boolean** | Hide dashboard from mobile devices. Useful if the dashboard is not designed for small screens. | [optional] [readonly] |
| **mobileOrder** | **Integer** | Order on mobile devices. Useful to adjust sorting of the dashboards for mobile applications | [optional] [readonly] |
| **_configuration** | **com.fasterxml.jackson.databind.JsonNode** | | [optional] |
| **_configuration** | **com.fasterxml.jackson.databind.JsonNode** | JSON object with main configuration of the dashboard: layouts, widgets, aliases, etc. The JSON structure of the dashboard configuration is quite complex. The easiest way to learn it is to export existing dashboard to JSON. | [optional] |
| **resources** | **List\<ResourceExportData\>** | | [optional] |
| **version** | **Long** | | [optional] |

Expand Down
4 changes: 2 additions & 2 deletions paas/docs/DashboardControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Returns a page of dashboard info objects owned by the tenant or the customer of
|------------- | ------------- | ------------- | -------------|
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the dashboard title. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, title] |
| **sortOrder** | **String** | Sort order. ASC (ASCENDING) or DESC (DESCENDING) | [optional] [enum: ASC, DESC] |
Expand Down Expand Up @@ -126,7 +126,7 @@ Returns a page of dashboard info objects owned by the specified customer. The Da
| **customerId** | **String** | A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' | |
| **pageSize** | **Integer** | Maximum amount of entities in a one page | |
| **page** | **Integer** | Sequence number of page starting from 0 | |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities | [optional] |
| **includeCustomers** | **Boolean** | Include customer or sub-customer entities. For tenant administrator: when true, includes entities for all customers; when false (default), only own entities are returned. For customer user: when true, includes entities for all sub-customers. | [optional] |
| **textSearch** | **String** | The case insensitive 'substring' filter based on the dashboard title. | [optional] |
| **sortProperty** | **String** | Property of entity to sort by | [optional] [enum: createdTime, title] |
| **sortOrder** | **String** | Sort order. ASC (ASCENDING) or DESC (DESCENDING) | [optional] [enum: ASC, DESC] |
Expand Down
Loading
Loading