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
4 changes: 4 additions & 0 deletions packages_generated/iot/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const unmarshalDevice = (data: unknown): Device => {
? unmarshalDeviceMessageFilters(data.message_filters)
: undefined,
name: data.name,
region: data.region,
status: data.status,
updatedAt: unmarshalDate(data.updated_at),
} as Device
Expand All @@ -127,6 +128,7 @@ export const unmarshalNetwork = (data: unknown): Network => {
hubId: data.hub_id,
id: data.id,
name: data.name,
region: data.region,
topicPrefix: data.topic_prefix,
type: data.type,
} as Network
Expand Down Expand Up @@ -332,6 +334,7 @@ const unmarshalRouteSummary = (data: unknown): RouteSummary => {
hubId: data.hub_id,
id: data.id,
name: data.name,
region: data.region,
topic: data.topic,
type: data.type,
updatedAt: unmarshalDate(data.updated_at),
Expand Down Expand Up @@ -463,6 +466,7 @@ export const unmarshalRoute = (data: unknown): Route => {
hubId: data.hub_id,
id: data.id,
name: data.name,
region: data.region,
restConfig: data.rest_config
? unmarshalRouteRestConfig(data.rest_config)
: undefined,
Expand Down
16 changes: 16 additions & 0 deletions packages_generated/iot/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ export interface Device {
* Date at which the device was last modified.
*/
updatedAt?: Date
/**
* Region of the device.
*/
region: ScwRegion
}

export interface Network {
Expand Down Expand Up @@ -196,6 +200,10 @@ export interface Network {
* This prefix will be prepended to all topics for this Network.
*/
topicPrefix: string
/**
* Region of the network.
*/
region: ScwRegion
}

export interface CreateRouteRequestDatabaseConfig {
Expand Down Expand Up @@ -327,6 +335,10 @@ export interface RouteSummary {
* Date at which the route was last updated.
*/
updatedAt?: Date
/**
* Region of the route.
*/
region: ScwRegion
}

export interface ListTwinDocumentsResponseDocumentSummary {
Expand Down Expand Up @@ -1131,6 +1143,10 @@ export interface Route {
* Date at which the route was last updated.
*/
updatedAt?: Date
/**
* Region of the route.
*/
region: ScwRegion
}

export type SetDeviceCertificateRequest = {
Expand Down
Loading