diff --git a/README.md b/README.md index 6228cca6..6fef0c70 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ $ npm install -D @seamapi/types@latest ### Examples > [!NOTE] -> These examples assume `SEAM_API_KEY` is set in your environment._ +> These examples assume `SEAM_API_KEY` is set in your environment.\_ #### List devices diff --git a/src/lib/seam/connect/routes/access-codes-unmanaged.ts b/src/lib/seam/connect/routes/access-codes-unmanaged.ts index 38b66a0a..a91f61fd 100644 --- a/src/lib/seam/connect/routes/access-codes-unmanaged.ts +++ b/src/lib/seam/connect/routes/access-codes-unmanaged.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/access-codes.ts b/src/lib/seam/connect/routes/access-codes.ts index 493998b7..e89d93b4 100644 --- a/src/lib/seam/connect/routes/access-codes.ts +++ b/src/lib/seam/connect/routes/access-codes.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpAccessCodesUnmanaged } from './access-codes-unmanaged.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-access-groups.ts b/src/lib/seam/connect/routes/acs-access-groups.ts index 3251e3ca..01a86d34 100644 --- a/src/lib/seam/connect/routes/acs-access-groups.ts +++ b/src/lib/seam/connect/routes/acs-access-groups.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-credential-pools.ts b/src/lib/seam/connect/routes/acs-credential-pools.ts index c335e86c..c9c8e28d 100644 --- a/src/lib/seam/connect/routes/acs-credential-pools.ts +++ b/src/lib/seam/connect/routes/acs-credential-pools.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts b/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts index bc31c1b3..be441b85 100644 --- a/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +++ b/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-credentials.ts b/src/lib/seam/connect/routes/acs-credentials.ts index f88d3496..65850816 100644 --- a/src/lib/seam/connect/routes/acs-credentials.ts +++ b/src/lib/seam/connect/routes/acs-credentials.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-entrances.ts b/src/lib/seam/connect/routes/acs-entrances.ts index bf7d9c0c..b1105704 100644 --- a/src/lib/seam/connect/routes/acs-entrances.ts +++ b/src/lib/seam/connect/routes/acs-entrances.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-systems.ts b/src/lib/seam/connect/routes/acs-systems.ts index 058e48d6..998efa7a 100644 --- a/src/lib/seam/connect/routes/acs-systems.ts +++ b/src/lib/seam/connect/routes/acs-systems.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/acs-users.ts b/src/lib/seam/connect/routes/acs-users.ts index 041037ea..a034f1df 100644 --- a/src/lib/seam/connect/routes/acs-users.ts +++ b/src/lib/seam/connect/routes/acs-users.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/action-attempts.ts b/src/lib/seam/connect/routes/action-attempts.ts index 2720b646..551454e0 100644 --- a/src/lib/seam/connect/routes/action-attempts.ts +++ b/src/lib/seam/connect/routes/action-attempts.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/client-sessions.ts b/src/lib/seam/connect/routes/client-sessions.ts index daa5479a..94ce228a 100644 --- a/src/lib/seam/connect/routes/client-sessions.ts +++ b/src/lib/seam/connect/routes/client-sessions.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' export class SeamHttpClientSessions { client: Client diff --git a/src/lib/seam/connect/routes/connect-webviews.ts b/src/lib/seam/connect/routes/connect-webviews.ts index 144e33c4..43e41b13 100644 --- a/src/lib/seam/connect/routes/connect-webviews.ts +++ b/src/lib/seam/connect/routes/connect-webviews.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/connected-accounts.ts b/src/lib/seam/connect/routes/connected-accounts.ts index 344a1512..91a0b4aa 100644 --- a/src/lib/seam/connect/routes/connected-accounts.ts +++ b/src/lib/seam/connect/routes/connected-accounts.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/devices-simulate.ts b/src/lib/seam/connect/routes/devices-simulate.ts index 515a5a0a..7607b2c4 100644 --- a/src/lib/seam/connect/routes/devices-simulate.ts +++ b/src/lib/seam/connect/routes/devices-simulate.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/devices-unmanaged.ts b/src/lib/seam/connect/routes/devices-unmanaged.ts index 5254df57..2a54c54e 100644 --- a/src/lib/seam/connect/routes/devices-unmanaged.ts +++ b/src/lib/seam/connect/routes/devices-unmanaged.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/devices.ts b/src/lib/seam/connect/routes/devices.ts index 374b989d..2f639097 100644 --- a/src/lib/seam/connect/routes/devices.ts +++ b/src/lib/seam/connect/routes/devices.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' import { SeamHttpDevicesSimulate } from './devices-simulate.js' diff --git a/src/lib/seam/connect/routes/events.ts b/src/lib/seam/connect/routes/events.ts index 2205ea5f..0ba4a776 100644 --- a/src/lib/seam/connect/routes/events.ts +++ b/src/lib/seam/connect/routes/events.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/locks.ts b/src/lib/seam/connect/routes/locks.ts index f22068ce..7b947fc4 100644 --- a/src/lib/seam/connect/routes/locks.ts +++ b/src/lib/seam/connect/routes/locks.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/networks.ts b/src/lib/seam/connect/routes/networks.ts index 4eeb77fb..74373b35 100644 --- a/src/lib/seam/connect/routes/networks.ts +++ b/src/lib/seam/connect/routes/networks.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts b/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts index 96b53414..8752c6b9 100644 --- a/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +++ b/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/phones-simulate.ts b/src/lib/seam/connect/routes/phones-simulate.ts index 0ca99e1e..7a64f03c 100644 --- a/src/lib/seam/connect/routes/phones-simulate.ts +++ b/src/lib/seam/connect/routes/phones-simulate.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/phones.ts b/src/lib/seam/connect/routes/phones.ts index 40529184..006c6ae4 100644 --- a/src/lib/seam/connect/routes/phones.ts +++ b/src/lib/seam/connect/routes/phones.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' import { SeamHttpPhonesSimulate } from './phones-simulate.js' diff --git a/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts b/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts index a200756a..d2cb087a 100644 --- a/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts +++ b/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/thermostats.ts b/src/lib/seam/connect/routes/thermostats.ts index 08039129..a2faa5ff 100644 --- a/src/lib/seam/connect/routes/thermostats.ts +++ b/src/lib/seam/connect/routes/thermostats.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' import { SeamHttpThermostatsClimateSettingSchedules } from './thermostats-climate-setting-schedules.js' diff --git a/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts b/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts index 8109618a..740e05cf 100644 --- a/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +++ b/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/user-identities.ts b/src/lib/seam/connect/routes/user-identities.ts index 0716933a..9113b843 100644 --- a/src/lib/seam/connect/routes/user-identities.ts +++ b/src/lib/seam/connect/routes/user-identities.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' import { SeamHttpUserIdentitiesEnrollmentAutomations } from './user-identities-enrollment-automations.js' diff --git a/src/lib/seam/connect/routes/webhooks.ts b/src/lib/seam/connect/routes/webhooks.ts index e1135ead..4eedc9fc 100644 --- a/src/lib/seam/connect/routes/webhooks.ts +++ b/src/lib/seam/connect/routes/webhooks.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js' diff --git a/src/lib/seam/connect/routes/workspaces.ts b/src/lib/seam/connect/routes/workspaces.ts index d08a81e9..520f7dea 100644 --- a/src/lib/seam/connect/routes/workspaces.ts +++ b/src/lib/seam/connect/routes/workspaces.ts @@ -4,7 +4,6 @@ */ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' -import type { SetNonNullable } from 'lib/types.js' import { getAuthHeadersForClientSessionToken, @@ -32,6 +31,7 @@ import { parseOptions, } from 'lib/seam/connect/parse-options.js' import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import type { SetNonNullable } from 'lib/types.js' import { SeamHttpClientSessions } from './client-sessions.js'