Skip to content

Commit e55c1fc

Browse files
authored
feat: Sync with Seam API via 8d5754c85583f21f89d4fd87f526c665f7737ac6 (#2379)
1 parent 230975f commit e55c1fc

File tree

7 files changed

+52
-1
lines changed

7 files changed

+52
-1
lines changed

src/lib/seam/connect/model-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export type {
2020
ConnectedAccountError,
2121
ConnectedAccountWarning,
2222
ConnectWebview,
23+
CustomizationProfile,
2324
CustomMetadata,
2425
Device,
2526
DeviceError,

src/lib/seam/connect/models/batch.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { action_attempt } from './action-attempts/action-attempt.js'
1818
import { client_session } from './client-sessions/client-session.js'
1919
import { connect_webview } from './connect-webviews/connect-webview.js'
2020
import { connected_account } from './connected-accounts/index.js'
21+
import { customization_profile } from './customization-profiles/index.js'
2122
import { device } from './devices/index.js'
2223
import { unmanaged_device } from './devices/unmanaged-device.js'
2324
import { seam_event } from './events/seam-event.js'
@@ -90,6 +91,7 @@ export const workspaces_batch = z
9091
thermostat_daily_programs: thermostat_daily_program.array().optional(),
9192
thermostat_schedules: thermostat_schedule.array().optional(),
9293
noise_thresholds: noise_threshold.array().optional(),
94+
customization_profiles: customization_profile.array().optional(),
9395
})
9496
.describe('A batch of workspace resources.')
9597

@@ -127,6 +129,7 @@ export const batch = z
127129
thermostat_daily_programs: thermostat_daily_program.array().optional(),
128130
thermostat_schedules: thermostat_schedule.array().optional(),
129131
noise_thresholds: noise_threshold.array().optional(),
132+
customization_profiles: customization_profile.array().optional(),
130133
})
131134
.describe('A batch of workspace resources.')
132135

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './customization-profile.js'

src/lib/seam/connect/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export * from './customer/access-grant-resources.js'
1313
export * from './customer/index.js'
1414
export * from './customer/location-resources.js'
1515
export * from './customer/user-identity-resources.js'
16-
export * from './customization_profiles/customization_profile.js'
16+
export * from './customization-profiles/index.js'
1717
export * from './devices/index.js'
1818
export * from './events/index.js'
1919
export * from './instant-keys/index.js'

src/lib/seam/connect/openapi.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29291,6 +29291,12 @@ export default {
2929129291
},
2929229292
type: 'array',
2929329293
},
29294+
customization_profiles: {
29295+
items: {
29296+
$ref: '#/components/schemas/customization_profile',
29297+
},
29298+
type: 'array',
29299+
},
2929429300
devices: {
2929529301
items: { $ref: '#/components/schemas/device' },
2929629302
type: 'array',
@@ -29506,6 +29512,12 @@ export default {
2950629512
},
2950729513
type: 'array',
2950829514
},
29515+
customization_profiles: {
29516+
items: {
29517+
$ref: '#/components/schemas/customization_profile',
29518+
},
29519+
type: 'array',
29520+
},
2950929521
devices: {
2951029522
items: { $ref: '#/components/schemas/device' },
2951129523
type: 'array',
@@ -56806,6 +56818,12 @@ export default {
5680656818
},
5680756819
type: 'array',
5680856820
},
56821+
customization_profiles: {
56822+
items: {
56823+
$ref: '#/components/schemas/customization_profile',
56824+
},
56825+
type: 'array',
56826+
},
5680956827
devices: {
5681056828
items: { $ref: '#/components/schemas/device' },
5681156829
type: 'array',
@@ -56999,6 +57017,12 @@ export default {
5699957017
},
5700057018
type: 'array',
5700157019
},
57020+
customization_profiles: {
57021+
items: {
57022+
$ref: '#/components/schemas/customization_profile',
57023+
},
57024+
type: 'array',
57025+
},
5700257026
devices: {
5700357027
items: { $ref: '#/components/schemas/device' },
5700457028
type: 'array',

src/lib/seam/connect/route-types.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23382,6 +23382,17 @@ export type Routes = {
2338223382
noise_threshold_decibels: number
2338323383
}[]
2338423384
| undefined
23385+
customization_profiles?:
23386+
| {
23387+
workspace_id: string
23388+
name: string | null
23389+
customization_profile_id: string
23390+
created_at: string
23391+
logo_url?: string | undefined
23392+
primary_color?: string | undefined
23393+
secondary_color?: string | undefined
23394+
}[]
23395+
| undefined
2338523396
}
2338623397
}
2338723398
}
@@ -102203,6 +102214,17 @@ export type Routes = {
102203102214
noise_threshold_decibels: number
102204102215
}[]
102205102216
| undefined
102217+
customization_profiles?:
102218+
| {
102219+
workspace_id: string
102220+
name: string | null
102221+
customization_profile_id: string
102222+
created_at: string
102223+
logo_url?: string | undefined
102224+
primary_color?: string | undefined
102225+
secondary_color?: string | undefined
102226+
}[]
102227+
| undefined
102206102228
}
102207102229
}
102208102230
}

0 commit comments

Comments
 (0)