Skip to content

Commit

Permalink
feat: Add networks
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Jan 11, 2024
1 parent 77cddf7 commit 595560a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 23 deletions.
1 change: 1 addition & 0 deletions generate-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const routePaths = [
'/devices/unmanaged',
'/events',
'/locks',
'/networks',
'/noise_sensors',
'/noise_sensors/noise_thresholds',
'/phones',
Expand Down
1 change: 1 addition & 0 deletions src/lib/seam/connect/routes/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/lib/seam/connect/seam-http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
} from './options.js'
import { limitToSeamHttpRequestOptions, parseOptions } from './parse-options.js'
import {
SeamHttpNetworks,
SeamHttpAccessCodes,
SeamHttpAcs,
SeamHttpActionAttempts,
Expand Down Expand Up @@ -171,6 +172,10 @@ export class SeamHttp {
return SeamHttpLocks.fromClient(this.client, this.defaults)
}

get networks(): SeamHttpNetworks {
return SeamHttpNetworks.fromClient(this.client, this.defaults)
}

get noiseSensors(): SeamHttpNoiseSensors {
return SeamHttpNoiseSensors.fromClient(this.client, this.defaults)
}
Expand Down

0 comments on commit 595560a

Please sign in to comment.