@seamapi/types 1.414.0 → 1.414.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connect.cjs CHANGED
@@ -220,7 +220,7 @@ var thermostat_daily_program = zod.z.object({
220
220
  )
221
221
  }).describe(`
222
222
  ---
223
- route_path: /thermostats/thermostat_daily_programs
223
+ route_path: /thermostats/daily_programs
224
224
  ---
225
225
  Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.
226
226
  `);
@@ -11783,6 +11783,142 @@ var openapi_default = {
11783
11783
  ],
11784
11784
  "x-route-path": "/action_attempts"
11785
11785
  },
11786
+ bridge_client_session: {
11787
+ properties: {
11788
+ bridge_client_machine_identifier_key: { type: "string" },
11789
+ bridge_client_name: { type: "string" },
11790
+ bridge_client_session_id: { format: "uuid", type: "string" },
11791
+ bridge_client_session_token: { type: "string" },
11792
+ bridge_client_time_zone: { type: "string" },
11793
+ created_at: { format: "date-time", type: "string" },
11794
+ errors: {
11795
+ items: {
11796
+ description: "Error associated with the `bridge_client_session`.",
11797
+ discriminator: { propertyName: "error_code" },
11798
+ oneOf: [
11799
+ {
11800
+ description: "Seam cannot reach the bridge's LAN",
11801
+ properties: {
11802
+ can_tailscale_proxy_reach_bridge: {
11803
+ description: "Tailscale proxy cannot reach the bridge",
11804
+ nullable: true,
11805
+ type: "boolean"
11806
+ },
11807
+ can_tailscale_proxy_reach_tailscale_network: {
11808
+ description: "Tailscale proxy cannot reach the Tailscale network",
11809
+ nullable: true,
11810
+ type: "boolean"
11811
+ },
11812
+ created_at: { format: "date-time", type: "string" },
11813
+ error_code: {
11814
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
11815
+ enum: ["bridge_lan_unreachable"],
11816
+ type: "string"
11817
+ },
11818
+ is_bridge_socks_server_healthy: {
11819
+ description: "Bridge's SOCKS server is unhealthy",
11820
+ nullable: true,
11821
+ type: "boolean"
11822
+ },
11823
+ is_tailscale_proxy_reachable: {
11824
+ description: "Seam cannot reach the tailscale proxy",
11825
+ nullable: true,
11826
+ type: "boolean"
11827
+ },
11828
+ is_tailscale_proxy_socks_server_healthy: {
11829
+ description: "Tailscale proxy's SOCKS server is unhealthy",
11830
+ nullable: true,
11831
+ type: "boolean"
11832
+ },
11833
+ message: { type: "string" }
11834
+ },
11835
+ required: [
11836
+ "message",
11837
+ "created_at",
11838
+ "error_code",
11839
+ "is_tailscale_proxy_reachable",
11840
+ "is_tailscale_proxy_socks_server_healthy",
11841
+ "can_tailscale_proxy_reach_tailscale_network",
11842
+ "can_tailscale_proxy_reach_bridge",
11843
+ "is_bridge_socks_server_healthy"
11844
+ ],
11845
+ type: "object"
11846
+ },
11847
+ {
11848
+ description: "Bridge has stopped communicating with Seam",
11849
+ properties: {
11850
+ created_at: { format: "date-time", type: "string" },
11851
+ error_code: {
11852
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
11853
+ enum: ["no_communication_from_bridge"],
11854
+ type: "string"
11855
+ },
11856
+ message: { type: "string" }
11857
+ },
11858
+ required: ["message", "created_at", "error_code"],
11859
+ type: "object"
11860
+ }
11861
+ ]
11862
+ },
11863
+ type: "array"
11864
+ },
11865
+ pairing_code: { maxLength: 6, minLength: 6, type: "string" },
11866
+ pairing_code_expires_at: { format: "date-time", type: "string" },
11867
+ tailscale_auth_key: { nullable: true, type: "string" },
11868
+ tailscale_hostname: { type: "string" },
11869
+ telemetry_token: { nullable: true, type: "string" },
11870
+ telemetry_token_expires_at: {
11871
+ format: "date-time",
11872
+ nullable: true,
11873
+ type: "string"
11874
+ },
11875
+ telemetry_url: { nullable: true, type: "string" }
11876
+ },
11877
+ required: [
11878
+ "created_at",
11879
+ "bridge_client_session_id",
11880
+ "bridge_client_session_token",
11881
+ "pairing_code",
11882
+ "pairing_code_expires_at",
11883
+ "tailscale_hostname",
11884
+ "tailscale_auth_key",
11885
+ "bridge_client_name",
11886
+ "bridge_client_time_zone",
11887
+ "bridge_client_machine_identifier_key",
11888
+ "errors",
11889
+ "telemetry_token",
11890
+ "telemetry_token_expires_at",
11891
+ "telemetry_url"
11892
+ ],
11893
+ type: "object",
11894
+ "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
11895
+ "x-undocumented": "Seam Bridge Client only."
11896
+ },
11897
+ bridge_connected_systems: {
11898
+ properties: {
11899
+ acs_system_display_name: { type: "string" },
11900
+ acs_system_id: { format: "uuid", type: "string" },
11901
+ bridge_created_at: { format: "date-time", type: "string" },
11902
+ bridge_id: { format: "uuid", type: "string" },
11903
+ connected_account_created_at: { format: "date-time", type: "string" },
11904
+ connected_account_id: { format: "uuid", type: "string" },
11905
+ workspace_display_name: { type: "string" },
11906
+ workspace_id: { format: "uuid", type: "string" }
11907
+ },
11908
+ required: [
11909
+ "bridge_id",
11910
+ "bridge_created_at",
11911
+ "connected_account_id",
11912
+ "connected_account_created_at",
11913
+ "acs_system_id",
11914
+ "acs_system_display_name",
11915
+ "workspace_id",
11916
+ "workspace_display_name"
11917
+ ],
11918
+ type: "object",
11919
+ "x-route-path": "/seam/bridge/v1/bridge_connected_systems",
11920
+ "x-undocumented": "Seam Bridge Client only."
11921
+ },
11786
11922
  client_session: {
11787
11923
  description: "Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.\n\nYou create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.\n\nWhen calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.\n\nA client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.\n\nSee also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).",
11788
11924
  properties: {
@@ -14740,7 +14876,7 @@ var openapi_default = {
14740
14876
  "created_at"
14741
14877
  ],
14742
14878
  type: "object",
14743
- "x-route-path": "/thermostats/thermostat_daily_programs"
14879
+ "x-route-path": "/thermostats/daily_programs"
14744
14880
  },
14745
14881
  type: "array",
14746
14882
  "x-property-group-key": "thermostats"
@@ -19971,6 +20107,53 @@ var openapi_default = {
19971
20107
  "x-route-path": "/user_identities",
19972
20108
  "x-undocumented": "Unreleased."
19973
20109
  },
20110
+ location: {
20111
+ properties: {
20112
+ created_at: {
20113
+ description: "Date and time at which the location object was created.",
20114
+ format: "date-time",
20115
+ type: "string"
20116
+ },
20117
+ display_name: {
20118
+ description: "Display name of the location.",
20119
+ type: "string"
20120
+ },
20121
+ geolocation: {
20122
+ description: "Geographical location of the location.",
20123
+ properties: {
20124
+ latitude: { format: "float", type: "number" },
20125
+ longitude: { format: "float", type: "number" }
20126
+ },
20127
+ required: ["latitude", "longitude"],
20128
+ type: "object"
20129
+ },
20130
+ location_id: {
20131
+ description: "Unique identifier for the location.",
20132
+ format: "uuid",
20133
+ type: "string"
20134
+ },
20135
+ name: { description: "Name of the location.", type: "string" },
20136
+ time_zone: {
20137
+ description: "Time zone of the location.",
20138
+ type: "string"
20139
+ },
20140
+ workspace_id: {
20141
+ description: "Unique identifier for the Seam workspace associated with the location.",
20142
+ format: "uuid",
20143
+ type: "string"
20144
+ }
20145
+ },
20146
+ required: [
20147
+ "location_id",
20148
+ "workspace_id",
20149
+ "name",
20150
+ "display_name",
20151
+ "created_at"
20152
+ ],
20153
+ type: "object",
20154
+ "x-route-path": "/unstable_locations",
20155
+ "x-undocumented": "Will be removed."
20156
+ },
19974
20157
  magic_link: {
19975
20158
  properties: {
19976
20159
  building_block_type: {
@@ -20066,6 +20249,33 @@ var openapi_default = {
20066
20249
  required: ["next_page_cursor", "has_next_page", "next_page_url"],
20067
20250
  type: "object"
20068
20251
  },
20252
+ partner_resource: {
20253
+ properties: {
20254
+ custom_metadata: {
20255
+ additionalProperties: { type: "string" },
20256
+ type: "object"
20257
+ },
20258
+ customer_key: { type: "string" },
20259
+ description: { type: "string" },
20260
+ email_address: { type: "string" },
20261
+ ends_at: { type: "string" },
20262
+ location_keys: { items: { type: "string" }, type: "array" },
20263
+ name: { type: "string" },
20264
+ partner_resource_key: { type: "string" },
20265
+ partner_resource_type: { type: "string" },
20266
+ phone_number: { type: "string" },
20267
+ starts_at: { type: "string" },
20268
+ user_identity_key: { type: "string" }
20269
+ },
20270
+ required: [
20271
+ "partner_resource_type",
20272
+ "partner_resource_key",
20273
+ "customer_key"
20274
+ ],
20275
+ type: "object",
20276
+ "x-route-path": "/unstable_partner/resources",
20277
+ "x-undocumented": "Unreleased."
20278
+ },
20069
20279
  phone: {
20070
20280
  description: "Represents an app user's mobile phone.",
20071
20281
  properties: {
@@ -20220,7 +20430,7 @@ var openapi_default = {
20220
20430
  enum: ["code", "card", "mobile_key"],
20221
20431
  type: "string"
20222
20432
  },
20223
- acs_credential_id: { type: "string" },
20433
+ acs_credential_id: { nullable: true, type: "string" },
20224
20434
  acs_credential_pool_id: {
20225
20435
  format: "uuid",
20226
20436
  type: "string"
@@ -20785,6 +20995,66 @@ var openapi_default = {
20785
20995
  "x-draft": "Early access.",
20786
20996
  "x-route-path": "/spaces"
20787
20997
  },
20998
+ thermostat_daily_program: {
20999
+ description: "Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.",
21000
+ properties: {
21001
+ created_at: {
21002
+ description: "Date and time at which the thermostat daily program was created.",
21003
+ format: "date-time",
21004
+ type: "string"
21005
+ },
21006
+ device_id: {
21007
+ description: "ID of the thermostat device on which the thermostat daily program is configured.",
21008
+ format: "uuid",
21009
+ type: "string"
21010
+ },
21011
+ name: {
21012
+ description: "User-friendly name to identify the thermostat daily program.",
21013
+ nullable: true,
21014
+ type: "string"
21015
+ },
21016
+ periods: {
21017
+ description: "Array of thermostat daily program periods.",
21018
+ items: {
21019
+ description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
21020
+ properties: {
21021
+ climate_preset_key: {
21022
+ description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
21023
+ type: "string"
21024
+ },
21025
+ starts_at_time: {
21026
+ description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
21027
+ pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
21028
+ type: "string"
21029
+ }
21030
+ },
21031
+ required: ["starts_at_time", "climate_preset_key"],
21032
+ type: "object"
21033
+ },
21034
+ type: "array"
21035
+ },
21036
+ thermostat_daily_program_id: {
21037
+ description: "ID of the thermostat daily program.",
21038
+ format: "uuid",
21039
+ type: "string"
21040
+ },
21041
+ workspace_id: {
21042
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.",
21043
+ format: "uuid",
21044
+ type: "string"
21045
+ }
21046
+ },
21047
+ required: [
21048
+ "thermostat_daily_program_id",
21049
+ "device_id",
21050
+ "name",
21051
+ "periods",
21052
+ "workspace_id",
21053
+ "created_at"
21054
+ ],
21055
+ type: "object",
21056
+ "x-route-path": "/thermostats/daily_programs"
21057
+ },
20788
21058
  thermostat_schedule: {
20789
21059
  description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
20790
21060
  properties: {
@@ -35596,137 +35866,7 @@ var openapi_default = {
35596
35866
  schema: {
35597
35867
  properties: {
35598
35868
  bridge_client_session: {
35599
- properties: {
35600
- bridge_client_machine_identifier_key: {
35601
- type: "string"
35602
- },
35603
- bridge_client_name: { type: "string" },
35604
- bridge_client_session_id: {
35605
- format: "uuid",
35606
- type: "string"
35607
- },
35608
- bridge_client_session_token: { type: "string" },
35609
- bridge_client_time_zone: { type: "string" },
35610
- created_at: { format: "date-time", type: "string" },
35611
- errors: {
35612
- items: {
35613
- description: "Error associated with the `bridge_client_session`.",
35614
- discriminator: { propertyName: "error_code" },
35615
- oneOf: [
35616
- {
35617
- description: "Seam cannot reach the bridge's LAN",
35618
- properties: {
35619
- can_tailscale_proxy_reach_bridge: {
35620
- description: "Tailscale proxy cannot reach the bridge",
35621
- nullable: true,
35622
- type: "boolean"
35623
- },
35624
- can_tailscale_proxy_reach_tailscale_network: {
35625
- description: "Tailscale proxy cannot reach the Tailscale network",
35626
- nullable: true,
35627
- type: "boolean"
35628
- },
35629
- created_at: {
35630
- format: "date-time",
35631
- type: "string"
35632
- },
35633
- error_code: {
35634
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35635
- enum: ["bridge_lan_unreachable"],
35636
- type: "string"
35637
- },
35638
- is_bridge_socks_server_healthy: {
35639
- description: "Bridge's SOCKS server is unhealthy",
35640
- nullable: true,
35641
- type: "boolean"
35642
- },
35643
- is_tailscale_proxy_reachable: {
35644
- description: "Seam cannot reach the tailscale proxy",
35645
- nullable: true,
35646
- type: "boolean"
35647
- },
35648
- is_tailscale_proxy_socks_server_healthy: {
35649
- description: "Tailscale proxy's SOCKS server is unhealthy",
35650
- nullable: true,
35651
- type: "boolean"
35652
- },
35653
- message: { type: "string" }
35654
- },
35655
- required: [
35656
- "message",
35657
- "created_at",
35658
- "error_code",
35659
- "is_tailscale_proxy_reachable",
35660
- "is_tailscale_proxy_socks_server_healthy",
35661
- "can_tailscale_proxy_reach_tailscale_network",
35662
- "can_tailscale_proxy_reach_bridge",
35663
- "is_bridge_socks_server_healthy"
35664
- ],
35665
- type: "object"
35666
- },
35667
- {
35668
- description: "Bridge has stopped communicating with Seam",
35669
- properties: {
35670
- created_at: {
35671
- format: "date-time",
35672
- type: "string"
35673
- },
35674
- error_code: {
35675
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35676
- enum: ["no_communication_from_bridge"],
35677
- type: "string"
35678
- },
35679
- message: { type: "string" }
35680
- },
35681
- required: [
35682
- "message",
35683
- "created_at",
35684
- "error_code"
35685
- ],
35686
- type: "object"
35687
- }
35688
- ]
35689
- },
35690
- type: "array"
35691
- },
35692
- pairing_code: {
35693
- maxLength: 6,
35694
- minLength: 6,
35695
- type: "string"
35696
- },
35697
- pairing_code_expires_at: {
35698
- format: "date-time",
35699
- type: "string"
35700
- },
35701
- tailscale_auth_key: { nullable: true, type: "string" },
35702
- tailscale_hostname: { type: "string" },
35703
- telemetry_token: { nullable: true, type: "string" },
35704
- telemetry_token_expires_at: {
35705
- format: "date-time",
35706
- nullable: true,
35707
- type: "string"
35708
- },
35709
- telemetry_url: { nullable: true, type: "string" }
35710
- },
35711
- required: [
35712
- "created_at",
35713
- "bridge_client_session_id",
35714
- "bridge_client_session_token",
35715
- "pairing_code",
35716
- "pairing_code_expires_at",
35717
- "tailscale_hostname",
35718
- "tailscale_auth_key",
35719
- "bridge_client_name",
35720
- "bridge_client_time_zone",
35721
- "bridge_client_machine_identifier_key",
35722
- "errors",
35723
- "telemetry_token",
35724
- "telemetry_token_expires_at",
35725
- "telemetry_url"
35726
- ],
35727
- type: "object",
35728
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
35729
- "x-undocumented": "Seam Bridge Client only."
35869
+ $ref: "#/components/schemas/bridge_client_session"
35730
35870
  },
35731
35871
  ok: { type: "boolean" }
35732
35872
  },
@@ -35767,137 +35907,7 @@ var openapi_default = {
35767
35907
  schema: {
35768
35908
  properties: {
35769
35909
  bridge_client_session: {
35770
- properties: {
35771
- bridge_client_machine_identifier_key: {
35772
- type: "string"
35773
- },
35774
- bridge_client_name: { type: "string" },
35775
- bridge_client_session_id: {
35776
- format: "uuid",
35777
- type: "string"
35778
- },
35779
- bridge_client_session_token: { type: "string" },
35780
- bridge_client_time_zone: { type: "string" },
35781
- created_at: { format: "date-time", type: "string" },
35782
- errors: {
35783
- items: {
35784
- description: "Error associated with the `bridge_client_session`.",
35785
- discriminator: { propertyName: "error_code" },
35786
- oneOf: [
35787
- {
35788
- description: "Seam cannot reach the bridge's LAN",
35789
- properties: {
35790
- can_tailscale_proxy_reach_bridge: {
35791
- description: "Tailscale proxy cannot reach the bridge",
35792
- nullable: true,
35793
- type: "boolean"
35794
- },
35795
- can_tailscale_proxy_reach_tailscale_network: {
35796
- description: "Tailscale proxy cannot reach the Tailscale network",
35797
- nullable: true,
35798
- type: "boolean"
35799
- },
35800
- created_at: {
35801
- format: "date-time",
35802
- type: "string"
35803
- },
35804
- error_code: {
35805
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35806
- enum: ["bridge_lan_unreachable"],
35807
- type: "string"
35808
- },
35809
- is_bridge_socks_server_healthy: {
35810
- description: "Bridge's SOCKS server is unhealthy",
35811
- nullable: true,
35812
- type: "boolean"
35813
- },
35814
- is_tailscale_proxy_reachable: {
35815
- description: "Seam cannot reach the tailscale proxy",
35816
- nullable: true,
35817
- type: "boolean"
35818
- },
35819
- is_tailscale_proxy_socks_server_healthy: {
35820
- description: "Tailscale proxy's SOCKS server is unhealthy",
35821
- nullable: true,
35822
- type: "boolean"
35823
- },
35824
- message: { type: "string" }
35825
- },
35826
- required: [
35827
- "message",
35828
- "created_at",
35829
- "error_code",
35830
- "is_tailscale_proxy_reachable",
35831
- "is_tailscale_proxy_socks_server_healthy",
35832
- "can_tailscale_proxy_reach_tailscale_network",
35833
- "can_tailscale_proxy_reach_bridge",
35834
- "is_bridge_socks_server_healthy"
35835
- ],
35836
- type: "object"
35837
- },
35838
- {
35839
- description: "Bridge has stopped communicating with Seam",
35840
- properties: {
35841
- created_at: {
35842
- format: "date-time",
35843
- type: "string"
35844
- },
35845
- error_code: {
35846
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35847
- enum: ["no_communication_from_bridge"],
35848
- type: "string"
35849
- },
35850
- message: { type: "string" }
35851
- },
35852
- required: [
35853
- "message",
35854
- "created_at",
35855
- "error_code"
35856
- ],
35857
- type: "object"
35858
- }
35859
- ]
35860
- },
35861
- type: "array"
35862
- },
35863
- pairing_code: {
35864
- maxLength: 6,
35865
- minLength: 6,
35866
- type: "string"
35867
- },
35868
- pairing_code_expires_at: {
35869
- format: "date-time",
35870
- type: "string"
35871
- },
35872
- tailscale_auth_key: { nullable: true, type: "string" },
35873
- tailscale_hostname: { type: "string" },
35874
- telemetry_token: { nullable: true, type: "string" },
35875
- telemetry_token_expires_at: {
35876
- format: "date-time",
35877
- nullable: true,
35878
- type: "string"
35879
- },
35880
- telemetry_url: { nullable: true, type: "string" }
35881
- },
35882
- required: [
35883
- "created_at",
35884
- "bridge_client_session_id",
35885
- "bridge_client_session_token",
35886
- "pairing_code",
35887
- "pairing_code_expires_at",
35888
- "tailscale_hostname",
35889
- "tailscale_auth_key",
35890
- "bridge_client_name",
35891
- "bridge_client_time_zone",
35892
- "bridge_client_machine_identifier_key",
35893
- "errors",
35894
- "telemetry_token",
35895
- "telemetry_token_expires_at",
35896
- "telemetry_url"
35897
- ],
35898
- type: "object",
35899
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
35900
- "x-undocumented": "Seam Bridge Client only."
35910
+ $ref: "#/components/schemas/bridge_client_session"
35901
35911
  },
35902
35912
  ok: { type: "boolean" }
35903
35913
  },
@@ -35929,137 +35939,7 @@ var openapi_default = {
35929
35939
  schema: {
35930
35940
  properties: {
35931
35941
  bridge_client_session: {
35932
- properties: {
35933
- bridge_client_machine_identifier_key: {
35934
- type: "string"
35935
- },
35936
- bridge_client_name: { type: "string" },
35937
- bridge_client_session_id: {
35938
- format: "uuid",
35939
- type: "string"
35940
- },
35941
- bridge_client_session_token: { type: "string" },
35942
- bridge_client_time_zone: { type: "string" },
35943
- created_at: { format: "date-time", type: "string" },
35944
- errors: {
35945
- items: {
35946
- description: "Error associated with the `bridge_client_session`.",
35947
- discriminator: { propertyName: "error_code" },
35948
- oneOf: [
35949
- {
35950
- description: "Seam cannot reach the bridge's LAN",
35951
- properties: {
35952
- can_tailscale_proxy_reach_bridge: {
35953
- description: "Tailscale proxy cannot reach the bridge",
35954
- nullable: true,
35955
- type: "boolean"
35956
- },
35957
- can_tailscale_proxy_reach_tailscale_network: {
35958
- description: "Tailscale proxy cannot reach the Tailscale network",
35959
- nullable: true,
35960
- type: "boolean"
35961
- },
35962
- created_at: {
35963
- format: "date-time",
35964
- type: "string"
35965
- },
35966
- error_code: {
35967
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35968
- enum: ["bridge_lan_unreachable"],
35969
- type: "string"
35970
- },
35971
- is_bridge_socks_server_healthy: {
35972
- description: "Bridge's SOCKS server is unhealthy",
35973
- nullable: true,
35974
- type: "boolean"
35975
- },
35976
- is_tailscale_proxy_reachable: {
35977
- description: "Seam cannot reach the tailscale proxy",
35978
- nullable: true,
35979
- type: "boolean"
35980
- },
35981
- is_tailscale_proxy_socks_server_healthy: {
35982
- description: "Tailscale proxy's SOCKS server is unhealthy",
35983
- nullable: true,
35984
- type: "boolean"
35985
- },
35986
- message: { type: "string" }
35987
- },
35988
- required: [
35989
- "message",
35990
- "created_at",
35991
- "error_code",
35992
- "is_tailscale_proxy_reachable",
35993
- "is_tailscale_proxy_socks_server_healthy",
35994
- "can_tailscale_proxy_reach_tailscale_network",
35995
- "can_tailscale_proxy_reach_bridge",
35996
- "is_bridge_socks_server_healthy"
35997
- ],
35998
- type: "object"
35999
- },
36000
- {
36001
- description: "Bridge has stopped communicating with Seam",
36002
- properties: {
36003
- created_at: {
36004
- format: "date-time",
36005
- type: "string"
36006
- },
36007
- error_code: {
36008
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36009
- enum: ["no_communication_from_bridge"],
36010
- type: "string"
36011
- },
36012
- message: { type: "string" }
36013
- },
36014
- required: [
36015
- "message",
36016
- "created_at",
36017
- "error_code"
36018
- ],
36019
- type: "object"
36020
- }
36021
- ]
36022
- },
36023
- type: "array"
36024
- },
36025
- pairing_code: {
36026
- maxLength: 6,
36027
- minLength: 6,
36028
- type: "string"
36029
- },
36030
- pairing_code_expires_at: {
36031
- format: "date-time",
36032
- type: "string"
36033
- },
36034
- tailscale_auth_key: { nullable: true, type: "string" },
36035
- tailscale_hostname: { type: "string" },
36036
- telemetry_token: { nullable: true, type: "string" },
36037
- telemetry_token_expires_at: {
36038
- format: "date-time",
36039
- nullable: true,
36040
- type: "string"
36041
- },
36042
- telemetry_url: { nullable: true, type: "string" }
36043
- },
36044
- required: [
36045
- "created_at",
36046
- "bridge_client_session_id",
36047
- "bridge_client_session_token",
36048
- "pairing_code",
36049
- "pairing_code_expires_at",
36050
- "tailscale_hostname",
36051
- "tailscale_auth_key",
36052
- "bridge_client_name",
36053
- "bridge_client_time_zone",
36054
- "bridge_client_machine_identifier_key",
36055
- "errors",
36056
- "telemetry_token",
36057
- "telemetry_token_expires_at",
36058
- "telemetry_url"
36059
- ],
36060
- type: "object",
36061
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
36062
- "x-undocumented": "Seam Bridge Client only."
35942
+ $ref: "#/components/schemas/bridge_client_session"
36063
35943
  },
36064
35944
  ok: { type: "boolean" }
36065
35945
  },
@@ -36100,137 +35980,7 @@ var openapi_default = {
36100
35980
  schema: {
36101
35981
  properties: {
36102
35982
  bridge_client_session: {
36103
- properties: {
36104
- bridge_client_machine_identifier_key: {
36105
- type: "string"
36106
- },
36107
- bridge_client_name: { type: "string" },
36108
- bridge_client_session_id: {
36109
- format: "uuid",
36110
- type: "string"
36111
- },
36112
- bridge_client_session_token: { type: "string" },
36113
- bridge_client_time_zone: { type: "string" },
36114
- created_at: { format: "date-time", type: "string" },
36115
- errors: {
36116
- items: {
36117
- description: "Error associated with the `bridge_client_session`.",
36118
- discriminator: { propertyName: "error_code" },
36119
- oneOf: [
36120
- {
36121
- description: "Seam cannot reach the bridge's LAN",
36122
- properties: {
36123
- can_tailscale_proxy_reach_bridge: {
36124
- description: "Tailscale proxy cannot reach the bridge",
36125
- nullable: true,
36126
- type: "boolean"
36127
- },
36128
- can_tailscale_proxy_reach_tailscale_network: {
36129
- description: "Tailscale proxy cannot reach the Tailscale network",
36130
- nullable: true,
36131
- type: "boolean"
36132
- },
36133
- created_at: {
36134
- format: "date-time",
36135
- type: "string"
36136
- },
36137
- error_code: {
36138
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36139
- enum: ["bridge_lan_unreachable"],
36140
- type: "string"
36141
- },
36142
- is_bridge_socks_server_healthy: {
36143
- description: "Bridge's SOCKS server is unhealthy",
36144
- nullable: true,
36145
- type: "boolean"
36146
- },
36147
- is_tailscale_proxy_reachable: {
36148
- description: "Seam cannot reach the tailscale proxy",
36149
- nullable: true,
36150
- type: "boolean"
36151
- },
36152
- is_tailscale_proxy_socks_server_healthy: {
36153
- description: "Tailscale proxy's SOCKS server is unhealthy",
36154
- nullable: true,
36155
- type: "boolean"
36156
- },
36157
- message: { type: "string" }
36158
- },
36159
- required: [
36160
- "message",
36161
- "created_at",
36162
- "error_code",
36163
- "is_tailscale_proxy_reachable",
36164
- "is_tailscale_proxy_socks_server_healthy",
36165
- "can_tailscale_proxy_reach_tailscale_network",
36166
- "can_tailscale_proxy_reach_bridge",
36167
- "is_bridge_socks_server_healthy"
36168
- ],
36169
- type: "object"
36170
- },
36171
- {
36172
- description: "Bridge has stopped communicating with Seam",
36173
- properties: {
36174
- created_at: {
36175
- format: "date-time",
36176
- type: "string"
36177
- },
36178
- error_code: {
36179
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36180
- enum: ["no_communication_from_bridge"],
36181
- type: "string"
36182
- },
36183
- message: { type: "string" }
36184
- },
36185
- required: [
36186
- "message",
36187
- "created_at",
36188
- "error_code"
36189
- ],
36190
- type: "object"
36191
- }
36192
- ]
36193
- },
36194
- type: "array"
36195
- },
36196
- pairing_code: {
36197
- maxLength: 6,
36198
- minLength: 6,
36199
- type: "string"
36200
- },
36201
- pairing_code_expires_at: {
36202
- format: "date-time",
36203
- type: "string"
36204
- },
36205
- tailscale_auth_key: { nullable: true, type: "string" },
36206
- tailscale_hostname: { type: "string" },
36207
- telemetry_token: { nullable: true, type: "string" },
36208
- telemetry_token_expires_at: {
36209
- format: "date-time",
36210
- nullable: true,
36211
- type: "string"
36212
- },
36213
- telemetry_url: { nullable: true, type: "string" }
36214
- },
36215
- required: [
36216
- "created_at",
36217
- "bridge_client_session_id",
36218
- "bridge_client_session_token",
36219
- "pairing_code",
36220
- "pairing_code_expires_at",
36221
- "tailscale_hostname",
36222
- "tailscale_auth_key",
36223
- "bridge_client_name",
36224
- "bridge_client_time_zone",
36225
- "bridge_client_machine_identifier_key",
36226
- "errors",
36227
- "telemetry_token",
36228
- "telemetry_token_expires_at",
36229
- "telemetry_url"
36230
- ],
36231
- type: "object",
36232
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
36233
- "x-undocumented": "Seam Bridge Client only."
35983
+ $ref: "#/components/schemas/bridge_client_session"
36234
35984
  },
36235
35985
  ok: { type: "boolean" }
36236
35986
  },
@@ -36271,137 +36021,7 @@ var openapi_default = {
36271
36021
  schema: {
36272
36022
  properties: {
36273
36023
  bridge_client_session: {
36274
- properties: {
36275
- bridge_client_machine_identifier_key: {
36276
- type: "string"
36277
- },
36278
- bridge_client_name: { type: "string" },
36279
- bridge_client_session_id: {
36280
- format: "uuid",
36281
- type: "string"
36282
- },
36283
- bridge_client_session_token: { type: "string" },
36284
- bridge_client_time_zone: { type: "string" },
36285
- created_at: { format: "date-time", type: "string" },
36286
- errors: {
36287
- items: {
36288
- description: "Error associated with the `bridge_client_session`.",
36289
- discriminator: { propertyName: "error_code" },
36290
- oneOf: [
36291
- {
36292
- description: "Seam cannot reach the bridge's LAN",
36293
- properties: {
36294
- can_tailscale_proxy_reach_bridge: {
36295
- description: "Tailscale proxy cannot reach the bridge",
36296
- nullable: true,
36297
- type: "boolean"
36298
- },
36299
- can_tailscale_proxy_reach_tailscale_network: {
36300
- description: "Tailscale proxy cannot reach the Tailscale network",
36301
- nullable: true,
36302
- type: "boolean"
36303
- },
36304
- created_at: {
36305
- format: "date-time",
36306
- type: "string"
36307
- },
36308
- error_code: {
36309
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36310
- enum: ["bridge_lan_unreachable"],
36311
- type: "string"
36312
- },
36313
- is_bridge_socks_server_healthy: {
36314
- description: "Bridge's SOCKS server is unhealthy",
36315
- nullable: true,
36316
- type: "boolean"
36317
- },
36318
- is_tailscale_proxy_reachable: {
36319
- description: "Seam cannot reach the tailscale proxy",
36320
- nullable: true,
36321
- type: "boolean"
36322
- },
36323
- is_tailscale_proxy_socks_server_healthy: {
36324
- description: "Tailscale proxy's SOCKS server is unhealthy",
36325
- nullable: true,
36326
- type: "boolean"
36327
- },
36328
- message: { type: "string" }
36329
- },
36330
- required: [
36331
- "message",
36332
- "created_at",
36333
- "error_code",
36334
- "is_tailscale_proxy_reachable",
36335
- "is_tailscale_proxy_socks_server_healthy",
36336
- "can_tailscale_proxy_reach_tailscale_network",
36337
- "can_tailscale_proxy_reach_bridge",
36338
- "is_bridge_socks_server_healthy"
36339
- ],
36340
- type: "object"
36341
- },
36342
- {
36343
- description: "Bridge has stopped communicating with Seam",
36344
- properties: {
36345
- created_at: {
36346
- format: "date-time",
36347
- type: "string"
36348
- },
36349
- error_code: {
36350
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36351
- enum: ["no_communication_from_bridge"],
36352
- type: "string"
36353
- },
36354
- message: { type: "string" }
36355
- },
36356
- required: [
36357
- "message",
36358
- "created_at",
36359
- "error_code"
36360
- ],
36361
- type: "object"
36362
- }
36363
- ]
36364
- },
36365
- type: "array"
36366
- },
36367
- pairing_code: {
36368
- maxLength: 6,
36369
- minLength: 6,
36370
- type: "string"
36371
- },
36372
- pairing_code_expires_at: {
36373
- format: "date-time",
36374
- type: "string"
36375
- },
36376
- tailscale_auth_key: { nullable: true, type: "string" },
36377
- tailscale_hostname: { type: "string" },
36378
- telemetry_token: { nullable: true, type: "string" },
36379
- telemetry_token_expires_at: {
36380
- format: "date-time",
36381
- nullable: true,
36382
- type: "string"
36383
- },
36384
- telemetry_url: { nullable: true, type: "string" }
36385
- },
36386
- required: [
36387
- "created_at",
36388
- "bridge_client_session_id",
36389
- "bridge_client_session_token",
36390
- "pairing_code",
36391
- "pairing_code_expires_at",
36392
- "tailscale_hostname",
36393
- "tailscale_auth_key",
36394
- "bridge_client_name",
36395
- "bridge_client_time_zone",
36396
- "bridge_client_machine_identifier_key",
36397
- "errors",
36398
- "telemetry_token",
36399
- "telemetry_token_expires_at",
36400
- "telemetry_url"
36401
- ],
36402
- type: "object",
36403
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
36404
- "x-undocumented": "Seam Bridge Client only."
36024
+ $ref: "#/components/schemas/bridge_client_session"
36405
36025
  },
36406
36026
  ok: { type: "boolean" }
36407
36027
  },
@@ -36500,38 +36120,7 @@ var openapi_default = {
36500
36120
  properties: {
36501
36121
  bridge_connected_systems: {
36502
36122
  items: {
36503
- properties: {
36504
- acs_system_display_name: { type: "string" },
36505
- acs_system_id: { format: "uuid", type: "string" },
36506
- bridge_created_at: {
36507
- format: "date-time",
36508
- type: "string"
36509
- },
36510
- bridge_id: { format: "uuid", type: "string" },
36511
- connected_account_created_at: {
36512
- format: "date-time",
36513
- type: "string"
36514
- },
36515
- connected_account_id: {
36516
- format: "uuid",
36517
- type: "string"
36518
- },
36519
- workspace_display_name: { type: "string" },
36520
- workspace_id: { format: "uuid", type: "string" }
36521
- },
36522
- required: [
36523
- "bridge_id",
36524
- "bridge_created_at",
36525
- "connected_account_id",
36526
- "connected_account_created_at",
36527
- "acs_system_id",
36528
- "acs_system_display_name",
36529
- "workspace_id",
36530
- "workspace_display_name"
36531
- ],
36532
- type: "object",
36533
- "x-route-path": "/seam/bridge/v1/bridge_connected_systems",
36534
- "x-undocumented": "Seam Bridge Client only."
36123
+ $ref: "#/components/schemas/bridge_connected_systems"
36535
36124
  },
36536
36125
  type: "array"
36537
36126
  },
@@ -36566,38 +36155,7 @@ var openapi_default = {
36566
36155
  properties: {
36567
36156
  bridge_connected_systems: {
36568
36157
  items: {
36569
- properties: {
36570
- acs_system_display_name: { type: "string" },
36571
- acs_system_id: { format: "uuid", type: "string" },
36572
- bridge_created_at: {
36573
- format: "date-time",
36574
- type: "string"
36575
- },
36576
- bridge_id: { format: "uuid", type: "string" },
36577
- connected_account_created_at: {
36578
- format: "date-time",
36579
- type: "string"
36580
- },
36581
- connected_account_id: {
36582
- format: "uuid",
36583
- type: "string"
36584
- },
36585
- workspace_display_name: { type: "string" },
36586
- workspace_id: { format: "uuid", type: "string" }
36587
- },
36588
- required: [
36589
- "bridge_id",
36590
- "bridge_created_at",
36591
- "connected_account_id",
36592
- "connected_account_created_at",
36593
- "acs_system_id",
36594
- "acs_system_display_name",
36595
- "workspace_id",
36596
- "workspace_display_name"
36597
- ],
36598
- type: "object",
36599
- "x-route-path": "/seam/bridge/v1/bridge_connected_systems",
36600
- "x-undocumented": "Seam Bridge Client only."
36158
+ $ref: "#/components/schemas/bridge_connected_systems"
36601
36159
  },
36602
36160
  type: "array"
36603
36161
  },
@@ -36925,36 +36483,7 @@ var openapi_default = {
36925
36483
  properties: {
36926
36484
  ok: { type: "boolean" },
36927
36485
  partner_resources: {
36928
- items: {
36929
- properties: {
36930
- custom_metadata: {
36931
- additionalProperties: { type: "string" },
36932
- type: "object"
36933
- },
36934
- customer_key: { type: "string" },
36935
- description: { type: "string" },
36936
- email_address: { type: "string" },
36937
- ends_at: { type: "string" },
36938
- location_keys: {
36939
- items: { type: "string" },
36940
- type: "array"
36941
- },
36942
- name: { type: "string" },
36943
- partner_resource_key: { type: "string" },
36944
- partner_resource_type: { type: "string" },
36945
- phone_number: { type: "string" },
36946
- starts_at: { type: "string" },
36947
- user_identity_key: { type: "string" }
36948
- },
36949
- required: [
36950
- "partner_resource_type",
36951
- "partner_resource_key",
36952
- "customer_key"
36953
- ],
36954
- type: "object",
36955
- "x-route-path": "/unstable_partner/resources",
36956
- "x-undocumented": "Unreleased."
36957
- },
36486
+ items: { $ref: "#/components/schemas/partner_resource" },
36958
36487
  type: "array"
36959
36488
  }
36960
36489
  },
@@ -37954,64 +37483,7 @@ var openapi_default = {
37954
37483
  properties: {
37955
37484
  ok: { type: "boolean" },
37956
37485
  thermostat_daily_program: {
37957
- description: "Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.",
37958
- properties: {
37959
- created_at: {
37960
- description: "Date and time at which the thermostat daily program was created.",
37961
- format: "date-time",
37962
- type: "string"
37963
- },
37964
- device_id: {
37965
- description: "ID of the thermostat device on which the thermostat daily program is configured.",
37966
- format: "uuid",
37967
- type: "string"
37968
- },
37969
- name: {
37970
- description: "User-friendly name to identify the thermostat daily program.",
37971
- nullable: true,
37972
- type: "string"
37973
- },
37974
- periods: {
37975
- description: "Array of thermostat daily program periods.",
37976
- items: {
37977
- description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
37978
- properties: {
37979
- climate_preset_key: {
37980
- description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
37981
- type: "string"
37982
- },
37983
- starts_at_time: {
37984
- description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
37985
- pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
37986
- type: "string"
37987
- }
37988
- },
37989
- required: ["starts_at_time", "climate_preset_key"],
37990
- type: "object"
37991
- },
37992
- type: "array"
37993
- },
37994
- thermostat_daily_program_id: {
37995
- description: "ID of the thermostat daily program.",
37996
- format: "uuid",
37997
- type: "string"
37998
- },
37999
- workspace_id: {
38000
- description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.",
38001
- format: "uuid",
38002
- type: "string"
38003
- }
38004
- },
38005
- required: [
38006
- "thermostat_daily_program_id",
38007
- "device_id",
38008
- "name",
38009
- "periods",
38010
- "workspace_id",
38011
- "created_at"
38012
- ],
38013
- type: "object",
38014
- "x-route-path": "/thermostats/thermostat_daily_programs"
37486
+ $ref: "#/components/schemas/thermostat_daily_program"
38015
37487
  }
38016
37488
  },
38017
37489
  required: ["thermostat_daily_program", "ok"],
@@ -40912,54 +40384,7 @@ var openapi_default = {
40912
40384
  "application/json": {
40913
40385
  schema: {
40914
40386
  properties: {
40915
- location: {
40916
- properties: {
40917
- created_at: {
40918
- description: "Date and time at which the location object was created.",
40919
- format: "date-time",
40920
- type: "string"
40921
- },
40922
- display_name: {
40923
- description: "Display name of the location.",
40924
- type: "string"
40925
- },
40926
- geolocation: {
40927
- description: "Geographical location of the location.",
40928
- properties: {
40929
- latitude: { format: "float", type: "number" },
40930
- longitude: { format: "float", type: "number" }
40931
- },
40932
- required: ["latitude", "longitude"],
40933
- type: "object"
40934
- },
40935
- location_id: {
40936
- description: "Unique identifier for the location.",
40937
- format: "uuid",
40938
- type: "string"
40939
- },
40940
- name: {
40941
- description: "Name of the location.",
40942
- type: "string"
40943
- },
40944
- time_zone: {
40945
- description: "Time zone of the location.",
40946
- type: "string"
40947
- },
40948
- workspace_id: {
40949
- description: "Unique identifier for the Seam workspace associated with the location.",
40950
- format: "uuid",
40951
- type: "string"
40952
- }
40953
- },
40954
- required: [
40955
- "location_id",
40956
- "workspace_id",
40957
- "name",
40958
- "display_name",
40959
- "created_at"
40960
- ],
40961
- type: "object"
40962
- },
40387
+ location: { $ref: "#/components/schemas/location" },
40963
40388
  ok: { type: "boolean" }
40964
40389
  },
40965
40390
  required: ["location", "ok"],
@@ -41065,54 +40490,7 @@ var openapi_default = {
41065
40490
  "application/json": {
41066
40491
  schema: {
41067
40492
  properties: {
41068
- location: {
41069
- properties: {
41070
- created_at: {
41071
- description: "Date and time at which the location object was created.",
41072
- format: "date-time",
41073
- type: "string"
41074
- },
41075
- display_name: {
41076
- description: "Display name of the location.",
41077
- type: "string"
41078
- },
41079
- geolocation: {
41080
- description: "Geographical location of the location.",
41081
- properties: {
41082
- latitude: { format: "float", type: "number" },
41083
- longitude: { format: "float", type: "number" }
41084
- },
41085
- required: ["latitude", "longitude"],
41086
- type: "object"
41087
- },
41088
- location_id: {
41089
- description: "Unique identifier for the location.",
41090
- format: "uuid",
41091
- type: "string"
41092
- },
41093
- name: {
41094
- description: "Name of the location.",
41095
- type: "string"
41096
- },
41097
- time_zone: {
41098
- description: "Time zone of the location.",
41099
- type: "string"
41100
- },
41101
- workspace_id: {
41102
- description: "Unique identifier for the Seam workspace associated with the location.",
41103
- format: "uuid",
41104
- type: "string"
41105
- }
41106
- },
41107
- required: [
41108
- "location_id",
41109
- "workspace_id",
41110
- "name",
41111
- "display_name",
41112
- "created_at"
41113
- ],
41114
- type: "object"
41115
- },
40493
+ location: { $ref: "#/components/schemas/location" },
41116
40494
  ok: { type: "boolean" }
41117
40495
  },
41118
40496
  required: ["location", "ok"],
@@ -41151,54 +40529,7 @@ var openapi_default = {
41151
40529
  schema: {
41152
40530
  properties: {
41153
40531
  locations: {
41154
- items: {
41155
- properties: {
41156
- created_at: {
41157
- description: "Date and time at which the location object was created.",
41158
- format: "date-time",
41159
- type: "string"
41160
- },
41161
- display_name: {
41162
- description: "Display name of the location.",
41163
- type: "string"
41164
- },
41165
- geolocation: {
41166
- description: "Geographical location of the location.",
41167
- properties: {
41168
- latitude: { format: "float", type: "number" },
41169
- longitude: { format: "float", type: "number" }
41170
- },
41171
- required: ["latitude", "longitude"],
41172
- type: "object"
41173
- },
41174
- location_id: {
41175
- description: "Unique identifier for the location.",
41176
- format: "uuid",
41177
- type: "string"
41178
- },
41179
- name: {
41180
- description: "Name of the location.",
41181
- type: "string"
41182
- },
41183
- time_zone: {
41184
- description: "Time zone of the location.",
41185
- type: "string"
41186
- },
41187
- workspace_id: {
41188
- description: "Unique identifier for the Seam workspace associated with the location.",
41189
- format: "uuid",
41190
- type: "string"
41191
- }
41192
- },
41193
- required: [
41194
- "location_id",
41195
- "workspace_id",
41196
- "name",
41197
- "display_name",
41198
- "created_at"
41199
- ],
41200
- type: "object"
41201
- },
40532
+ items: { $ref: "#/components/schemas/location" },
41202
40533
  type: "array"
41203
40534
  },
41204
40535
  ok: { type: "boolean" }
@@ -41235,54 +40566,7 @@ var openapi_default = {
41235
40566
  schema: {
41236
40567
  properties: {
41237
40568
  locations: {
41238
- items: {
41239
- properties: {
41240
- created_at: {
41241
- description: "Date and time at which the location object was created.",
41242
- format: "date-time",
41243
- type: "string"
41244
- },
41245
- display_name: {
41246
- description: "Display name of the location.",
41247
- type: "string"
41248
- },
41249
- geolocation: {
41250
- description: "Geographical location of the location.",
41251
- properties: {
41252
- latitude: { format: "float", type: "number" },
41253
- longitude: { format: "float", type: "number" }
41254
- },
41255
- required: ["latitude", "longitude"],
41256
- type: "object"
41257
- },
41258
- location_id: {
41259
- description: "Unique identifier for the location.",
41260
- format: "uuid",
41261
- type: "string"
41262
- },
41263
- name: {
41264
- description: "Name of the location.",
41265
- type: "string"
41266
- },
41267
- time_zone: {
41268
- description: "Time zone of the location.",
41269
- type: "string"
41270
- },
41271
- workspace_id: {
41272
- description: "Unique identifier for the Seam workspace associated with the location.",
41273
- format: "uuid",
41274
- type: "string"
41275
- }
41276
- },
41277
- required: [
41278
- "location_id",
41279
- "workspace_id",
41280
- "name",
41281
- "display_name",
41282
- "created_at"
41283
- ],
41284
- type: "object"
41285
- },
40569
+ items: { $ref: "#/components/schemas/location" },
41286
40570
  type: "array"
41287
40571
  },
41288
40572
  ok: { type: "boolean" }
@@ -41468,54 +40752,7 @@ var openapi_default = {
41468
40752
  "application/json": {
41469
40753
  schema: {
41470
40754
  properties: {
41471
- location: {
41472
- properties: {
41473
- created_at: {
41474
- description: "Date and time at which the location object was created.",
41475
- format: "date-time",
41476
- type: "string"
41477
- },
41478
- display_name: {
41479
- description: "Display name of the location.",
41480
- type: "string"
41481
- },
41482
- geolocation: {
41483
- description: "Geographical location of the location.",
41484
- properties: {
41485
- latitude: { format: "float", type: "number" },
41486
- longitude: { format: "float", type: "number" }
41487
- },
41488
- required: ["latitude", "longitude"],
41489
- type: "object"
41490
- },
41491
- location_id: {
41492
- description: "Unique identifier for the location.",
41493
- format: "uuid",
41494
- type: "string"
41495
- },
41496
- name: {
41497
- description: "Name of the location.",
41498
- type: "string"
41499
- },
41500
- time_zone: {
41501
- description: "Time zone of the location.",
41502
- type: "string"
41503
- },
41504
- workspace_id: {
41505
- description: "Unique identifier for the Seam workspace associated with the location.",
41506
- format: "uuid",
41507
- type: "string"
41508
- }
41509
- },
41510
- required: [
41511
- "location_id",
41512
- "workspace_id",
41513
- "name",
41514
- "display_name",
41515
- "created_at"
41516
- ],
41517
- type: "object"
41518
- },
40755
+ location: { $ref: "#/components/schemas/location" },
41519
40756
  ok: { type: "boolean" }
41520
40757
  },
41521
40758
  required: ["location", "ok"],
@@ -41583,54 +40820,7 @@ var openapi_default = {
41583
40820
  "application/json": {
41584
40821
  schema: {
41585
40822
  properties: {
41586
- location: {
41587
- properties: {
41588
- created_at: {
41589
- description: "Date and time at which the location object was created.",
41590
- format: "date-time",
41591
- type: "string"
41592
- },
41593
- display_name: {
41594
- description: "Display name of the location.",
41595
- type: "string"
41596
- },
41597
- geolocation: {
41598
- description: "Geographical location of the location.",
41599
- properties: {
41600
- latitude: { format: "float", type: "number" },
41601
- longitude: { format: "float", type: "number" }
41602
- },
41603
- required: ["latitude", "longitude"],
41604
- type: "object"
41605
- },
41606
- location_id: {
41607
- description: "Unique identifier for the location.",
41608
- format: "uuid",
41609
- type: "string"
41610
- },
41611
- name: {
41612
- description: "Name of the location.",
41613
- type: "string"
41614
- },
41615
- time_zone: {
41616
- description: "Time zone of the location.",
41617
- type: "string"
41618
- },
41619
- workspace_id: {
41620
- description: "Unique identifier for the Seam workspace associated with the location.",
41621
- format: "uuid",
41622
- type: "string"
41623
- }
41624
- },
41625
- required: [
41626
- "location_id",
41627
- "workspace_id",
41628
- "name",
41629
- "display_name",
41630
- "created_at"
41631
- ],
41632
- type: "object"
41633
- },
40823
+ location: { $ref: "#/components/schemas/location" },
41634
40824
  ok: { type: "boolean" }
41635
40825
  },
41636
40826
  required: ["location", "ok"],
@@ -42429,32 +41619,7 @@ var openapi_default = {
42429
41619
  schema: {
42430
41620
  properties: {
42431
41621
  enrollment_automation: {
42432
- properties: {
42433
- acs_credential_provisioning_automation_id: {
42434
- format: "uuid",
42435
- type: "string"
42436
- },
42437
- created_at: { format: "date-time", type: "string" },
42438
- credential_manager_acs_system_id: {
42439
- format: "uuid",
42440
- type: "string"
42441
- },
42442
- enrollment_automation_id: {
42443
- format: "uuid",
42444
- type: "string"
42445
- },
42446
- user_identity_id: { format: "uuid", type: "string" },
42447
- workspace_id: { format: "uuid", type: "string" }
42448
- },
42449
- required: [
42450
- "acs_credential_provisioning_automation_id",
42451
- "credential_manager_acs_system_id",
42452
- "user_identity_id",
42453
- "created_at",
42454
- "workspace_id",
42455
- "enrollment_automation_id"
42456
- ],
42457
- type: "object"
41622
+ $ref: "#/components/schemas/enrollment_automation"
42458
41623
  },
42459
41624
  ok: { type: "boolean" }
42460
41625
  },