Skip to content

Commit 53e220f

Browse files
Merge pull request #8 from thingsboard/auto/update-specs-release-4.3
Update specs and clients for 4.3.1.2
2 parents c4ed9b2 + a108a3e commit 53e220f

217 files changed

Lines changed: 1732 additions & 364 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ce/docs/AvailableEntityKeys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Contains unique time series and attribute key names discovered from entities mat
1010
| Name | Type | Description | Notes |
1111
|------------ | ------------- | ------------- | -------------|
1212
| **entity_types** | [**List[EntityType]**](EntityType.md) | Set of entity types found among the matched entities. | |
13-
| **timeseries** | **List[str]** | | |
14-
| **attribute** | **List[str]** | | |
13+
| **timeseries** | **List[str]** | List of unique time series key names available on the matched entities. | |
14+
| **attribute** | **List[str]** | List of unique attribute key names available on the matched entities. | |
1515

1616

1717

ce/docs/AvailableEntityKeysV2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Contains unique time series and attribute key names discovered from entities mat
1010
| Name | Type | Description | Notes |
1111
|------------ | ------------- | ------------- | -------------|
1212
| **entity_types** | [**List[EntityType]**](EntityType.md) | Set of entity types found among the matched entities. | |
13-
| **timeseries** | [**List[KeyInfo]**](KeyInfo.md) | | [optional] |
13+
| **timeseries** | [**List[KeyInfo]**](KeyInfo.md) | List of unique time series keys available on the matched entities, sorted alphabetically. Omitted when timeseries keys were not requested. | [optional] |
1414
| **attributes** | **Dict[str, 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] |
1515

1616

ce/docs/EntityDataDiff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#### WidgetsBundleExportData *(extends EntityExportData, entity_type=`WIDGETS_BUNDLE`)*
7575
| Name | Type | Description | Notes |
7676
|------|------|-------------|-------|
77-
| widgets | List[object] | | [optional] |
77+
| widgets | List[object] | List of widgets in the bundle | [optional] |
7878
| fqns | List[str] | | [optional] |
7979

8080
#### WidgetTypeExportData *(extends EntityExportData, entity_type=`WIDGET_TYPE`)*

ce/docs/EntityExportData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Base export container for ThingsBoard entities
6868
#### WidgetsBundleExportData *(entity_type=`WIDGETS_BUNDLE`)*
6969
| Name | Type | Description | Notes |
7070
|------|------|-------------|-------|
71-
| widgets | List[object] | | [optional] |
71+
| widgets | List[object] | List of widgets in the bundle | [optional] |
7272
| fqns | List[str] | | [optional] |
7373

7474
#### WidgetTypeExportData *(entity_type=`WIDGET_TYPE`)*

ce/docs/TbChatRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#### TbUserMessage
1919
| Name | Type | Description | Notes |
2020
|------|------|-------------|-------|
21-
| contents | List[TbContent] | | |
21+
| contents | List[TbContent] | A list of content parts that make up the complete user prompt | |
2222

2323
#### AiModelConfig
2424
| Name | Type | Description | Notes |

ce/docs/TbUserMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
| **contents** | [**List[TbContent]**](TbContent.md) | | |
10+
| **contents** | [**List[TbContent]**](TbContent.md) | A list of content parts that make up the complete user prompt | |
1111

1212

1313

ce/docs/WidgetsBundleExportData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
| Name | Type | Description | Notes |
1111
|------------ | ------------- | ------------- | -------------|
12-
| **widgets** | **List[object]** | | [optional] |
12+
| **widgets** | **List[object]** | List of widgets in the bundle | [optional] |
1313
| **fqns** | **List[str]** | | [optional] |
1414

1515

ce/spec/openapi.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84999,6 +84999,7 @@
8499984999
},
8500085000
"timeseries": {
8500185001
"type": "array",
85002+
"description": "List of unique time series key names available on the matched entities.",
8500285003
"items": {
8500385004
"type": "string",
8500485005
"example": "temperature",
@@ -85008,6 +85009,7 @@
8500885009
},
8500985010
"attribute": {
8501085011
"type": "array",
85012+
"description": "List of unique attribute key names available on the matched entities.",
8501185013
"items": {
8501285014
"type": "string",
8501385015
"example": "serialNumber",
@@ -85040,6 +85042,7 @@
8504085042
},
8504185043
"timeseries": {
8504285044
"type": "array",
85045+
"description": "List of unique time series keys available on the matched entities, sorted alphabetically.\nOmitted when timeseries keys were not requested.",
8504385046
"items": {
8504485047
"$ref": "#/components/schemas/KeyInfo"
8504585048
}
@@ -99552,6 +99555,7 @@
9955299555
"properties": {
9955399556
"contents": {
9955499557
"type": "array",
99558+
"description": "A list of content parts that make up the complete user prompt",
9955599559
"items": {
9955699560
"$ref": "#/components/schemas/TbContent"
9955799561
},
@@ -101714,6 +101718,7 @@
101714101718
"properties": {
101715101719
"widgets": {
101716101720
"type": "array",
101721+
"description": "List of widgets in the bundle",
101717101722
"items": {
101718101723
"$ref": "#/components/schemas/JsonNode"
101719101724
}

ce/tb_ce_client/models/available_entity_keys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class AvailableEntityKeys(BaseModel):
3333
Contains unique time series and attribute key names discovered from entities matching a query. Used primarily for UI hints such as autocomplete suggestions.
3434
""" # noqa: E501
3535
entity_types: List[EntityType] = Field(description="Set of entity types found among the matched entities.", serialization_alias="entityTypes")
36-
timeseries: List[Annotated[str, Field(strict=True)]]
37-
attribute: List[Annotated[str, Field(strict=True)]]
36+
timeseries: List[Annotated[str, Field(strict=True)]] = Field(description="List of unique time series key names available on the matched entities.")
37+
attribute: List[Annotated[str, Field(strict=True)]] = Field(description="List of unique attribute key names available on the matched entities.")
3838
__properties: ClassVar[List[str]] = ["entityTypes", "timeseries", "attribute"]
3939

4040
model_config = ConfigDict(

ce/tb_ce_client/models/available_entity_keys_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AvailableEntityKeysV2(BaseModel):
3333
Contains unique time series and attribute key names discovered from entities matching a query, optionally including a sample value for each key.
3434
""" # noqa: E501
3535
entity_types: List[EntityType] = Field(description="Set of entity types found among the matched entities.", serialization_alias="entityTypes")
36-
timeseries: Optional[List[KeyInfo]] = None
36+
timeseries: Optional[List[KeyInfo]] = Field(default=None, description="List of unique time series keys available on the matched entities, sorted alphabetically. Omitted when timeseries keys were not requested.")
3737
attributes: Optional[Dict[str, List[KeyInfo]]] = Field(default=None, description="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.")
3838
__properties: ClassVar[List[str]] = ["entityTypes", "timeseries", "attributes"]
3939

0 commit comments

Comments
 (0)