Skip to content

Commit

Permalink
feat: Add phones.simulate.createSandboxPhone
Browse files Browse the repository at this point in the history
* remove phones/simulate/create_sandbox_phone from ignoredEndpointPaths list

* add /phones/simulate to routePaths and routePathSubresources

* ci: Generate code

---------

Co-authored-by: Seam Bot <[email protected]>
  • Loading branch information
itelo and seambot authored Mar 7, 2024
1 parent 757974a commit 8e821b7
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const routePaths = [
'/noise_sensors',
'/noise_sensors/noise_thresholds',
'/phones',
'/phones/simulate',
'/thermostats',
'/thermostats/climate_setting_schedules',
'/user_identities',
Expand All @@ -53,6 +54,7 @@ const routePathSubresources: Partial<
'systems',
'users',
],
'/phones': ['simulate'],
'/devices': ['unmanaged'],
'/noise_sensors': ['noise_thresholds'],
'/thermostats': ['climate_setting_schedules'],
Expand All @@ -67,7 +69,6 @@ const ignoredEndpointPaths = [
'/health/get_service_health',
'/health/service/[service_name]',
'/noise_sensors/simulate/trigger_noise_threshold',
'/phones/simulate/create_sandbox_phone',
'/workspaces/reset_sandbox',
] as const

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.

177 changes: 177 additions & 0 deletions src/lib/seam/connect/routes/phones-simulate.ts

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/routes/phones.ts

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

0 comments on commit 8e821b7

Please sign in to comment.