From 3e5b433d88faa4599db635ac861f96a5141b387f Mon Sep 17 00:00:00 2001 From: Vlad Vitan <23100181+vlasebian@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:47:35 +0200 Subject: [PATCH] api: Update device entity map and api definition --- sdk/js/generated/api-definition.json | 37 ++++++++++++++ sdk/js/generated/device-entity-map.json | 66 ++++++++++++++++++++++++- 2 files changed, 102 insertions(+), 1 deletion(-) diff --git a/sdk/js/generated/api-definition.json b/sdk/js/generated/api-definition.json index 17fc1a4e66..0b300e0563 100644 --- a/sdk/js/generated/api-definition.json +++ b/sdk/js/generated/api-definition.json @@ -4887,6 +4887,7 @@ "mac_state.last_network_initiated_downlink_at", "mac_state.lorawan_version", "mac_state.pending_application_downlink", + "mac_state.pending_application_downlink.attributes", "mac_state.pending_application_downlink.class_b_c", "mac_state.pending_application_downlink.class_b_c.absolute_time", "mac_state.pending_application_downlink.class_b_c.gateways", @@ -4895,8 +4896,22 @@ "mac_state.pending_application_downlink.f_cnt", "mac_state.pending_application_downlink.f_port", "mac_state.pending_application_downlink.frm_payload", + "mac_state.pending_application_downlink.locations", + "mac_state.pending_application_downlink.network_ids", + "mac_state.pending_application_downlink.network_ids.cluster_address", + "mac_state.pending_application_downlink.network_ids.cluster_id", + "mac_state.pending_application_downlink.network_ids.net_id", + "mac_state.pending_application_downlink.network_ids.ns_id", + "mac_state.pending_application_downlink.network_ids.tenant_address", + "mac_state.pending_application_downlink.network_ids.tenant_id", "mac_state.pending_application_downlink.priority", "mac_state.pending_application_downlink.session_key_id", + "mac_state.pending_application_downlink.version_ids", + "mac_state.pending_application_downlink.version_ids.band_id", + "mac_state.pending_application_downlink.version_ids.brand_id", + "mac_state.pending_application_downlink.version_ids.firmware_version", + "mac_state.pending_application_downlink.version_ids.hardware_version", + "mac_state.pending_application_downlink.version_ids.model_id", "mac_state.pending_relay_downlink", "mac_state.pending_relay_downlink.raw_payload", "mac_state.pending_requests", @@ -5503,6 +5518,13 @@ "mac_state.pending_application_downlink.f_cnt", "mac_state.pending_application_downlink.f_port", "mac_state.pending_application_downlink.frm_payload", + "mac_state.pending_application_downlink.network_ids", + "mac_state.pending_application_downlink.network_ids.cluster_address", + "mac_state.pending_application_downlink.network_ids.cluster_id", + "mac_state.pending_application_downlink.network_ids.net_id", + "mac_state.pending_application_downlink.network_ids.ns_id", + "mac_state.pending_application_downlink.network_ids.tenant_address", + "mac_state.pending_application_downlink.network_ids.tenant_id", "mac_state.pending_application_downlink.priority", "mac_state.pending_application_downlink.session_key_id", "mac_state.pending_relay_downlink", @@ -6099,6 +6121,7 @@ "mac_state.last_network_initiated_downlink_at", "mac_state.lorawan_version", "mac_state.pending_application_downlink", + "mac_state.pending_application_downlink.attributes", "mac_state.pending_application_downlink.class_b_c", "mac_state.pending_application_downlink.class_b_c.absolute_time", "mac_state.pending_application_downlink.class_b_c.gateways", @@ -6107,8 +6130,22 @@ "mac_state.pending_application_downlink.f_cnt", "mac_state.pending_application_downlink.f_port", "mac_state.pending_application_downlink.frm_payload", + "mac_state.pending_application_downlink.locations", + "mac_state.pending_application_downlink.network_ids", + "mac_state.pending_application_downlink.network_ids.cluster_address", + "mac_state.pending_application_downlink.network_ids.cluster_id", + "mac_state.pending_application_downlink.network_ids.net_id", + "mac_state.pending_application_downlink.network_ids.ns_id", + "mac_state.pending_application_downlink.network_ids.tenant_address", + "mac_state.pending_application_downlink.network_ids.tenant_id", "mac_state.pending_application_downlink.priority", "mac_state.pending_application_downlink.session_key_id", + "mac_state.pending_application_downlink.version_ids", + "mac_state.pending_application_downlink.version_ids.band_id", + "mac_state.pending_application_downlink.version_ids.brand_id", + "mac_state.pending_application_downlink.version_ids.firmware_version", + "mac_state.pending_application_downlink.version_ids.hardware_version", + "mac_state.pending_application_downlink.version_ids.model_id", "mac_state.pending_relay_downlink", "mac_state.pending_relay_downlink.raw_payload", "mac_state.pending_requests", diff --git a/sdk/js/generated/device-entity-map.json b/sdk/js/generated/device-entity-map.json index 0d65c728ec..62da12da47 100644 --- a/sdk/js/generated/device-entity-map.json +++ b/sdk/js/generated/device-entity-map.json @@ -2091,6 +2091,10 @@ "ns", "ns" ], + "attributes": [ + "ns", + "read_only" + ], "class_b_c": { "_root": [ "ns", @@ -2125,6 +2129,40 @@ "ns", "ns" ], + "locations": [ + "ns", + "read_only" + ], + "network_ids": { + "_root": [ + "ns", + "ns" + ], + "cluster_address": [ + "ns", + "ns" + ], + "cluster_id": [ + "ns", + "ns" + ], + "net_id": [ + "ns", + "ns" + ], + "ns_id": [ + "ns", + "ns" + ], + "tenant_address": [ + "ns", + "ns" + ], + "tenant_id": [ + "ns", + "ns" + ] + }, "priority": [ "ns", "ns" @@ -2132,7 +2170,33 @@ "session_key_id": [ "ns", "ns" - ] + ], + "version_ids": { + "_root": [ + "ns", + "read_only" + ], + "band_id": [ + "ns", + "read_only" + ], + "brand_id": [ + "ns", + "read_only" + ], + "firmware_version": [ + "ns", + "read_only" + ], + "hardware_version": [ + "ns", + "read_only" + ], + "model_id": [ + "ns", + "read_only" + ] + } }, "pending_relay_downlink": { "_root": [