/* * Automatically generated by codegen/smith.ts. * Do not edit this file. */ import type { AccessCode } from './access-code.js' import type { AccessGrant } from './access-grant.js' import type { AccessMethod } from './access-method.js' import type { AcsAccessGroup } from './acs-access-group.js' import type { AcsCredential } from './acs-credential.js' import type { AcsEncoder } from './acs-encoder.js' import type { AcsEntrance } from './acs-entrance.js' import type { AcsSystem } from './acs-system.js' import type { AcsUser } from './acs-user.js' import type { ActionAttempt } from './action-attempt.js' import type { ClientSession } from './client-session.js' import type { ConnectWebview } from './connect-webview.js' import type { ConnectedAccount } from './connected-account.js' import type { Device } from './device.js' import type { SeamEvent } from './event.js' import type { InstantKey } from './instant-key.js' import type { NoiseThreshold } from './noise-threshold.js' import type { Space } from './space.js' import type { ThermostatDailyProgram } from './thermostat-daily-program.js' import type { ThermostatSchedule } from './thermostat-schedule.js' import type { UnmanagedAccessCode } from './unmanaged-access-code.js' import type { UnmanagedDevice } from './unmanaged-device.js' import type { UserIdentity } from './user-identity.js' import type { Workspace } from './workspace.js' interface BatchResourceMap { access_codes: AccessCode access_grants: AccessGrant access_methods: AccessMethod acs_access_groups: AcsAccessGroup acs_credentials: AcsCredential acs_encoders: AcsEncoder acs_entrances: AcsEntrance acs_systems: AcsSystem acs_users: AcsUser action_attempts: ActionAttempt client_sessions: ClientSession connect_webviews: ConnectWebview connected_accounts: ConnectedAccount devices: Device events: SeamEvent instant_keys: InstantKey noise_thresholds: NoiseThreshold spaces: Space thermostat_daily_programs: ThermostatDailyProgram thermostat_schedules: ThermostatSchedule unmanaged_access_codes: UnmanagedAccessCode unmanaged_devices: UnmanagedDevice user_identities: UserIdentity workspaces: Workspace } /** * A batch of workspace resources. */ export type Batch< TKey extends keyof BatchResourceMap = keyof BatchResourceMap, > = { [K in TKey]?: Array | undefined }