File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
packages_generated/iot/src/v1 Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ export const unmarshalDevice = (data: unknown): Device => {
109109 ? unmarshalDeviceMessageFilters ( data . message_filters )
110110 : undefined ,
111111 name : data . name ,
112+ region : data . region ,
112113 status : data . status ,
113114 updatedAt : unmarshalDate ( data . updated_at ) ,
114115 } as Device
@@ -127,6 +128,7 @@ export const unmarshalNetwork = (data: unknown): Network => {
127128 hubId : data . hub_id ,
128129 id : data . id ,
129130 name : data . name ,
131+ region : data . region ,
130132 topicPrefix : data . topic_prefix ,
131133 type : data . type ,
132134 } as Network
@@ -332,6 +334,7 @@ const unmarshalRouteSummary = (data: unknown): RouteSummary => {
332334 hubId : data . hub_id ,
333335 id : data . id ,
334336 name : data . name ,
337+ region : data . region ,
335338 topic : data . topic ,
336339 type : data . type ,
337340 updatedAt : unmarshalDate ( data . updated_at ) ,
@@ -463,6 +466,7 @@ export const unmarshalRoute = (data: unknown): Route => {
463466 hubId : data . hub_id ,
464467 id : data . id ,
465468 name : data . name ,
469+ region : data . region ,
466470 restConfig : data . rest_config
467471 ? unmarshalRouteRestConfig ( data . rest_config )
468472 : undefined ,
Original file line number Diff line number Diff line change @@ -165,6 +165,10 @@ export interface Device {
165165 * Date at which the device was last modified.
166166 */
167167 updatedAt ?: Date
168+ /**
169+ * Region of the device.
170+ */
171+ region : ScwRegion
168172}
169173
170174export interface Network {
@@ -196,6 +200,10 @@ export interface Network {
196200 * This prefix will be prepended to all topics for this Network.
197201 */
198202 topicPrefix : string
203+ /**
204+ * Region of the network.
205+ */
206+ region : ScwRegion
199207}
200208
201209export interface CreateRouteRequestDatabaseConfig {
@@ -327,6 +335,10 @@ export interface RouteSummary {
327335 * Date at which the route was last updated.
328336 */
329337 updatedAt ?: Date
338+ /**
339+ * Region of the route.
340+ */
341+ region : ScwRegion
330342}
331343
332344export interface ListTwinDocumentsResponseDocumentSummary {
@@ -1131,6 +1143,10 @@ export interface Route {
11311143 * Date at which the route was last updated.
11321144 */
11331145 updatedAt ?: Date
1146+ /**
1147+ * Region of the route.
1148+ */
1149+ region : ScwRegion
11341150}
11351151
11361152export type SetDeviceCertificateRequest = {
You can’t perform that action at this time.
0 commit comments