Skip to content

Commit

Permalink
Merge pull request #40 from seamapi/phone-routes
Browse files Browse the repository at this point in the history
feat: Add enrollmentAutomations and phones
  • Loading branch information
razor-x authored Jan 11, 2024
2 parents d14c5fa + 89d5a98 commit a547dab
Show file tree
Hide file tree
Showing 7 changed files with 563 additions and 1 deletion.
7 changes: 6 additions & 1 deletion generate-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ const routePaths = [
'/devices/unmanaged',
'/events',
'/locks',
'/networks',
'/noise_sensors',
'/noise_sensors/noise_thresholds',
'/thermostats/climate_setting_schedules',
'/phones',
'/thermostats',
'/thermostats/climate_setting_schedules',
'/user_identities',
'/user_identities/enrollment_automations',
'/webhooks',
'/workspaces',
] as const
Expand All @@ -53,6 +56,7 @@ const routePathSubresources: Partial<
'/devices': ['unmanaged'],
'/noise_sensors': ['noise_thresholds'],
'/thermostats': ['climate_setting_schedules'],
'/user_identities': ['enrollment_automations'],
}

const ignoredEndpointPaths = [
Expand All @@ -63,6 +67,7 @@ const ignoredEndpointPaths = [
'/health/get_service_health',
'/health/service/[service_name]',
'/noise_sensors/simulate/trigger_noise_threshold',
'/phones/simulate/create_sandbox_phone',
] as const

const endpointResources: Partial<Record<keyof typeof openapi.paths, null>> = {
Expand Down
3 changes: 3 additions & 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.

171 changes: 171 additions & 0 deletions src/lib/seam/connect/routes/networks.ts

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

151 changes: 151 additions & 0 deletions src/lib/seam/connect/routes/phones.ts

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

Loading

0 comments on commit a547dab

Please sign in to comment.