@seamapi/types 1.413.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
  `);
@@ -5109,6 +5109,28 @@ var magic_link = zod.z.object({
5109
5109
  route_path: /unstable_partner/building_blocks
5110
5110
  ---
5111
5111
  `);
5112
+ var common_user_identity_error = zod.z.object({
5113
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
5114
+ message: zod.z.string().describe(
5115
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
5116
+ )
5117
+ });
5118
+ var common_user_identity_warning = zod.z.object({
5119
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
5120
+ message: zod.z.string().describe(
5121
+ "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
5122
+ )
5123
+ });
5124
+ var user_identity_being_deleted = common_user_identity_warning.extend({
5125
+ warning_code: zod.z.literal("being_deleted").describe(
5126
+ "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
5127
+ )
5128
+ }).describe("Indicates that the user identity is currently being deleted.");
5129
+ zod.z.object({});
5130
+ var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [user_identity_being_deleted]).describe("Warnings associated with the user identity.");
5131
+ zod.z.object({
5132
+ user_identity_being_deleted: user_identity_being_deleted.optional().nullable()
5133
+ });
5112
5134
  var user_identity = zod.z.object({
5113
5135
  user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
5114
5136
  user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
@@ -5121,6 +5143,12 @@ var user_identity = zod.z.object({
5121
5143
  created_at: zod.z.string().datetime().describe("Date and time at which the user identity was created."),
5122
5144
  workspace_id: zod.z.string().uuid().describe(
5123
5145
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
5146
+ ),
5147
+ errors: zod.z.array(common_user_identity_error).describe(
5148
+ 'Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'
5149
+ ),
5150
+ warnings: zod.z.array(user_identity_warnings).describe(
5151
+ 'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'
5124
5152
  )
5125
5153
  }).describe(`
5126
5154
  ---
@@ -11755,6 +11783,142 @@ var openapi_default = {
11755
11783
  ],
11756
11784
  "x-route-path": "/action_attempts"
11757
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
+ },
11758
11922
  client_session: {
11759
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).",
11760
11924
  properties: {
@@ -14712,7 +14876,7 @@ var openapi_default = {
14712
14876
  "created_at"
14713
14877
  ],
14714
14878
  type: "object",
14715
- "x-route-path": "/thermostats/thermostat_daily_programs"
14879
+ "x-route-path": "/thermostats/daily_programs"
14716
14880
  },
14717
14881
  type: "array",
14718
14882
  "x-property-group-key": "thermostats"
@@ -19943,6 +20107,53 @@ var openapi_default = {
19943
20107
  "x-route-path": "/user_identities",
19944
20108
  "x-undocumented": "Unreleased."
19945
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
+ },
19946
20157
  magic_link: {
19947
20158
  properties: {
19948
20159
  building_block_type: {
@@ -20038,6 +20249,33 @@ var openapi_default = {
20038
20249
  required: ["next_page_cursor", "has_next_page", "next_page_url"],
20039
20250
  type: "object"
20040
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
+ },
20041
20279
  phone: {
20042
20280
  description: "Represents an app user's mobile phone.",
20043
20281
  properties: {
@@ -20192,11 +20430,7 @@ var openapi_default = {
20192
20430
  enum: ["code", "card", "mobile_key"],
20193
20431
  type: "string"
20194
20432
  },
20195
- acs_credential_id: {
20196
- description: "ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
20197
- format: "uuid",
20198
- type: "string"
20199
- },
20433
+ acs_credential_id: { nullable: true, type: "string" },
20200
20434
  acs_credential_pool_id: {
20201
20435
  format: "uuid",
20202
20436
  type: "string"
@@ -20684,7 +20918,6 @@ var openapi_default = {
20684
20918
  }
20685
20919
  },
20686
20920
  required: [
20687
- "acs_credential_id",
20688
20921
  "acs_system_id",
20689
20922
  "display_name",
20690
20923
  "access_method",
@@ -20762,6 +20995,66 @@ var openapi_default = {
20762
20995
  "x-draft": "Early access.",
20763
20996
  "x-route-path": "/spaces"
20764
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
+ },
20765
21058
  thermostat_schedule: {
20766
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.",
20767
21060
  properties: {
@@ -24117,6 +24410,25 @@ var openapi_default = {
24117
24410
  nullable: true,
24118
24411
  type: "string"
24119
24412
  },
24413
+ errors: {
24414
+ description: 'Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
24415
+ items: {
24416
+ properties: {
24417
+ created_at: {
24418
+ description: "Date and time at which Seam created the error.",
24419
+ format: "date-time",
24420
+ type: "string"
24421
+ },
24422
+ message: {
24423
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
24424
+ type: "string"
24425
+ }
24426
+ },
24427
+ required: ["created_at", "message"],
24428
+ type: "object"
24429
+ },
24430
+ type: "array"
24431
+ },
24120
24432
  full_name: { minLength: 1, nullable: true, type: "string" },
24121
24433
  phone_number: {
24122
24434
  description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
@@ -24134,6 +24446,37 @@ var openapi_default = {
24134
24446
  nullable: true,
24135
24447
  type: "string"
24136
24448
  },
24449
+ warnings: {
24450
+ description: 'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
24451
+ items: {
24452
+ description: "Warnings associated with the user identity.",
24453
+ discriminator: { propertyName: "warning_code" },
24454
+ oneOf: [
24455
+ {
24456
+ description: "Indicates that the user identity is currently being deleted.",
24457
+ properties: {
24458
+ created_at: {
24459
+ description: "Date and time at which Seam created the warning.",
24460
+ format: "date-time",
24461
+ type: "string"
24462
+ },
24463
+ message: {
24464
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
24465
+ type: "string"
24466
+ },
24467
+ warning_code: {
24468
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
24469
+ enum: ["being_deleted"],
24470
+ type: "string"
24471
+ }
24472
+ },
24473
+ required: ["created_at", "message", "warning_code"],
24474
+ type: "object"
24475
+ }
24476
+ ]
24477
+ },
24478
+ type: "array"
24479
+ },
24137
24480
  workspace_id: {
24138
24481
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.",
24139
24482
  format: "uuid",
@@ -24148,7 +24491,9 @@ var openapi_default = {
24148
24491
  "display_name",
24149
24492
  "full_name",
24150
24493
  "created_at",
24151
- "workspace_id"
24494
+ "workspace_id",
24495
+ "errors",
24496
+ "warnings"
24152
24497
  ],
24153
24498
  type: "object",
24154
24499
  "x-route-path": "/user_identities"
@@ -29135,6 +29480,16 @@ var openapi_default = {
29135
29480
  "application/json": {
29136
29481
  schema: {
29137
29482
  properties: {
29483
+ access_grant_id: {
29484
+ description: "ID of the access grant for which you want to retrieve all entrances.",
29485
+ format: "uuid",
29486
+ type: "string"
29487
+ },
29488
+ access_method_id: {
29489
+ description: "ID of the access method for which you want to retrieve all entrances.",
29490
+ format: "uuid",
29491
+ type: "string"
29492
+ },
29138
29493
  acs_credential_id: {
29139
29494
  description: "ID of the credential for which you want to retrieve all entrances.",
29140
29495
  format: "uuid",
@@ -35511,137 +35866,7 @@ var openapi_default = {
35511
35866
  schema: {
35512
35867
  properties: {
35513
35868
  bridge_client_session: {
35514
- properties: {
35515
- bridge_client_machine_identifier_key: {
35516
- type: "string"
35517
- },
35518
- bridge_client_name: { type: "string" },
35519
- bridge_client_session_id: {
35520
- format: "uuid",
35521
- type: "string"
35522
- },
35523
- bridge_client_session_token: { type: "string" },
35524
- bridge_client_time_zone: { type: "string" },
35525
- created_at: { format: "date-time", type: "string" },
35526
- errors: {
35527
- items: {
35528
- description: "Error associated with the `bridge_client_session`.",
35529
- discriminator: { propertyName: "error_code" },
35530
- oneOf: [
35531
- {
35532
- description: "Seam cannot reach the bridge's LAN",
35533
- properties: {
35534
- can_tailscale_proxy_reach_bridge: {
35535
- description: "Tailscale proxy cannot reach the bridge",
35536
- nullable: true,
35537
- type: "boolean"
35538
- },
35539
- can_tailscale_proxy_reach_tailscale_network: {
35540
- description: "Tailscale proxy cannot reach the Tailscale network",
35541
- nullable: true,
35542
- type: "boolean"
35543
- },
35544
- created_at: {
35545
- format: "date-time",
35546
- type: "string"
35547
- },
35548
- error_code: {
35549
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35550
- enum: ["bridge_lan_unreachable"],
35551
- type: "string"
35552
- },
35553
- is_bridge_socks_server_healthy: {
35554
- description: "Bridge's SOCKS server is unhealthy",
35555
- nullable: true,
35556
- type: "boolean"
35557
- },
35558
- is_tailscale_proxy_reachable: {
35559
- description: "Seam cannot reach the tailscale proxy",
35560
- nullable: true,
35561
- type: "boolean"
35562
- },
35563
- is_tailscale_proxy_socks_server_healthy: {
35564
- description: "Tailscale proxy's SOCKS server is unhealthy",
35565
- nullable: true,
35566
- type: "boolean"
35567
- },
35568
- message: { type: "string" }
35569
- },
35570
- required: [
35571
- "message",
35572
- "created_at",
35573
- "error_code",
35574
- "is_tailscale_proxy_reachable",
35575
- "is_tailscale_proxy_socks_server_healthy",
35576
- "can_tailscale_proxy_reach_tailscale_network",
35577
- "can_tailscale_proxy_reach_bridge",
35578
- "is_bridge_socks_server_healthy"
35579
- ],
35580
- type: "object"
35581
- },
35582
- {
35583
- description: "Bridge has stopped communicating with Seam",
35584
- properties: {
35585
- created_at: {
35586
- format: "date-time",
35587
- type: "string"
35588
- },
35589
- error_code: {
35590
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35591
- enum: ["no_communication_from_bridge"],
35592
- type: "string"
35593
- },
35594
- message: { type: "string" }
35595
- },
35596
- required: [
35597
- "message",
35598
- "created_at",
35599
- "error_code"
35600
- ],
35601
- type: "object"
35602
- }
35603
- ]
35604
- },
35605
- type: "array"
35606
- },
35607
- pairing_code: {
35608
- maxLength: 6,
35609
- minLength: 6,
35610
- type: "string"
35611
- },
35612
- pairing_code_expires_at: {
35613
- format: "date-time",
35614
- type: "string"
35615
- },
35616
- tailscale_auth_key: { nullable: true, type: "string" },
35617
- tailscale_hostname: { type: "string" },
35618
- telemetry_token: { nullable: true, type: "string" },
35619
- telemetry_token_expires_at: {
35620
- format: "date-time",
35621
- nullable: true,
35622
- type: "string"
35623
- },
35624
- telemetry_url: { nullable: true, type: "string" }
35625
- },
35626
- required: [
35627
- "created_at",
35628
- "bridge_client_session_id",
35629
- "bridge_client_session_token",
35630
- "pairing_code",
35631
- "pairing_code_expires_at",
35632
- "tailscale_hostname",
35633
- "tailscale_auth_key",
35634
- "bridge_client_name",
35635
- "bridge_client_time_zone",
35636
- "bridge_client_machine_identifier_key",
35637
- "errors",
35638
- "telemetry_token",
35639
- "telemetry_token_expires_at",
35640
- "telemetry_url"
35641
- ],
35642
- type: "object",
35643
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
35644
- "x-undocumented": "Seam Bridge Client only."
35869
+ $ref: "#/components/schemas/bridge_client_session"
35645
35870
  },
35646
35871
  ok: { type: "boolean" }
35647
35872
  },
@@ -35682,137 +35907,7 @@ var openapi_default = {
35682
35907
  schema: {
35683
35908
  properties: {
35684
35909
  bridge_client_session: {
35685
- properties: {
35686
- bridge_client_machine_identifier_key: {
35687
- type: "string"
35688
- },
35689
- bridge_client_name: { type: "string" },
35690
- bridge_client_session_id: {
35691
- format: "uuid",
35692
- type: "string"
35693
- },
35694
- bridge_client_session_token: { type: "string" },
35695
- bridge_client_time_zone: { type: "string" },
35696
- created_at: { format: "date-time", type: "string" },
35697
- errors: {
35698
- items: {
35699
- description: "Error associated with the `bridge_client_session`.",
35700
- discriminator: { propertyName: "error_code" },
35701
- oneOf: [
35702
- {
35703
- description: "Seam cannot reach the bridge's LAN",
35704
- properties: {
35705
- can_tailscale_proxy_reach_bridge: {
35706
- description: "Tailscale proxy cannot reach the bridge",
35707
- nullable: true,
35708
- type: "boolean"
35709
- },
35710
- can_tailscale_proxy_reach_tailscale_network: {
35711
- description: "Tailscale proxy cannot reach the Tailscale network",
35712
- nullable: true,
35713
- type: "boolean"
35714
- },
35715
- created_at: {
35716
- format: "date-time",
35717
- type: "string"
35718
- },
35719
- error_code: {
35720
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35721
- enum: ["bridge_lan_unreachable"],
35722
- type: "string"
35723
- },
35724
- is_bridge_socks_server_healthy: {
35725
- description: "Bridge's SOCKS server is unhealthy",
35726
- nullable: true,
35727
- type: "boolean"
35728
- },
35729
- is_tailscale_proxy_reachable: {
35730
- description: "Seam cannot reach the tailscale proxy",
35731
- nullable: true,
35732
- type: "boolean"
35733
- },
35734
- is_tailscale_proxy_socks_server_healthy: {
35735
- description: "Tailscale proxy's SOCKS server is unhealthy",
35736
- nullable: true,
35737
- type: "boolean"
35738
- },
35739
- message: { type: "string" }
35740
- },
35741
- required: [
35742
- "message",
35743
- "created_at",
35744
- "error_code",
35745
- "is_tailscale_proxy_reachable",
35746
- "is_tailscale_proxy_socks_server_healthy",
35747
- "can_tailscale_proxy_reach_tailscale_network",
35748
- "can_tailscale_proxy_reach_bridge",
35749
- "is_bridge_socks_server_healthy"
35750
- ],
35751
- type: "object"
35752
- },
35753
- {
35754
- description: "Bridge has stopped communicating with Seam",
35755
- properties: {
35756
- created_at: {
35757
- format: "date-time",
35758
- type: "string"
35759
- },
35760
- error_code: {
35761
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35762
- enum: ["no_communication_from_bridge"],
35763
- type: "string"
35764
- },
35765
- message: { type: "string" }
35766
- },
35767
- required: [
35768
- "message",
35769
- "created_at",
35770
- "error_code"
35771
- ],
35772
- type: "object"
35773
- }
35774
- ]
35775
- },
35776
- type: "array"
35777
- },
35778
- pairing_code: {
35779
- maxLength: 6,
35780
- minLength: 6,
35781
- type: "string"
35782
- },
35783
- pairing_code_expires_at: {
35784
- format: "date-time",
35785
- type: "string"
35786
- },
35787
- tailscale_auth_key: { nullable: true, type: "string" },
35788
- tailscale_hostname: { type: "string" },
35789
- telemetry_token: { nullable: true, type: "string" },
35790
- telemetry_token_expires_at: {
35791
- format: "date-time",
35792
- nullable: true,
35793
- type: "string"
35794
- },
35795
- telemetry_url: { nullable: true, type: "string" }
35796
- },
35797
- required: [
35798
- "created_at",
35799
- "bridge_client_session_id",
35800
- "bridge_client_session_token",
35801
- "pairing_code",
35802
- "pairing_code_expires_at",
35803
- "tailscale_hostname",
35804
- "tailscale_auth_key",
35805
- "bridge_client_name",
35806
- "bridge_client_time_zone",
35807
- "bridge_client_machine_identifier_key",
35808
- "errors",
35809
- "telemetry_token",
35810
- "telemetry_token_expires_at",
35811
- "telemetry_url"
35812
- ],
35813
- type: "object",
35814
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
35815
- "x-undocumented": "Seam Bridge Client only."
35910
+ $ref: "#/components/schemas/bridge_client_session"
35816
35911
  },
35817
35912
  ok: { type: "boolean" }
35818
35913
  },
@@ -35844,137 +35939,7 @@ var openapi_default = {
35844
35939
  schema: {
35845
35940
  properties: {
35846
35941
  bridge_client_session: {
35847
- properties: {
35848
- bridge_client_machine_identifier_key: {
35849
- type: "string"
35850
- },
35851
- bridge_client_name: { type: "string" },
35852
- bridge_client_session_id: {
35853
- format: "uuid",
35854
- type: "string"
35855
- },
35856
- bridge_client_session_token: { type: "string" },
35857
- bridge_client_time_zone: { type: "string" },
35858
- created_at: { format: "date-time", type: "string" },
35859
- errors: {
35860
- items: {
35861
- description: "Error associated with the `bridge_client_session`.",
35862
- discriminator: { propertyName: "error_code" },
35863
- oneOf: [
35864
- {
35865
- description: "Seam cannot reach the bridge's LAN",
35866
- properties: {
35867
- can_tailscale_proxy_reach_bridge: {
35868
- description: "Tailscale proxy cannot reach the bridge",
35869
- nullable: true,
35870
- type: "boolean"
35871
- },
35872
- can_tailscale_proxy_reach_tailscale_network: {
35873
- description: "Tailscale proxy cannot reach the Tailscale network",
35874
- nullable: true,
35875
- type: "boolean"
35876
- },
35877
- created_at: {
35878
- format: "date-time",
35879
- type: "string"
35880
- },
35881
- error_code: {
35882
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35883
- enum: ["bridge_lan_unreachable"],
35884
- type: "string"
35885
- },
35886
- is_bridge_socks_server_healthy: {
35887
- description: "Bridge's SOCKS server is unhealthy",
35888
- nullable: true,
35889
- type: "boolean"
35890
- },
35891
- is_tailscale_proxy_reachable: {
35892
- description: "Seam cannot reach the tailscale proxy",
35893
- nullable: true,
35894
- type: "boolean"
35895
- },
35896
- is_tailscale_proxy_socks_server_healthy: {
35897
- description: "Tailscale proxy's SOCKS server is unhealthy",
35898
- nullable: true,
35899
- type: "boolean"
35900
- },
35901
- message: { type: "string" }
35902
- },
35903
- required: [
35904
- "message",
35905
- "created_at",
35906
- "error_code",
35907
- "is_tailscale_proxy_reachable",
35908
- "is_tailscale_proxy_socks_server_healthy",
35909
- "can_tailscale_proxy_reach_tailscale_network",
35910
- "can_tailscale_proxy_reach_bridge",
35911
- "is_bridge_socks_server_healthy"
35912
- ],
35913
- type: "object"
35914
- },
35915
- {
35916
- description: "Bridge has stopped communicating with Seam",
35917
- properties: {
35918
- created_at: {
35919
- format: "date-time",
35920
- type: "string"
35921
- },
35922
- error_code: {
35923
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
35924
- enum: ["no_communication_from_bridge"],
35925
- type: "string"
35926
- },
35927
- message: { type: "string" }
35928
- },
35929
- required: [
35930
- "message",
35931
- "created_at",
35932
- "error_code"
35933
- ],
35934
- type: "object"
35935
- }
35936
- ]
35937
- },
35938
- type: "array"
35939
- },
35940
- pairing_code: {
35941
- maxLength: 6,
35942
- minLength: 6,
35943
- type: "string"
35944
- },
35945
- pairing_code_expires_at: {
35946
- format: "date-time",
35947
- type: "string"
35948
- },
35949
- tailscale_auth_key: { nullable: true, type: "string" },
35950
- tailscale_hostname: { type: "string" },
35951
- telemetry_token: { nullable: true, type: "string" },
35952
- telemetry_token_expires_at: {
35953
- format: "date-time",
35954
- nullable: true,
35955
- type: "string"
35956
- },
35957
- telemetry_url: { nullable: true, type: "string" }
35958
- },
35959
- required: [
35960
- "created_at",
35961
- "bridge_client_session_id",
35962
- "bridge_client_session_token",
35963
- "pairing_code",
35964
- "pairing_code_expires_at",
35965
- "tailscale_hostname",
35966
- "tailscale_auth_key",
35967
- "bridge_client_name",
35968
- "bridge_client_time_zone",
35969
- "bridge_client_machine_identifier_key",
35970
- "errors",
35971
- "telemetry_token",
35972
- "telemetry_token_expires_at",
35973
- "telemetry_url"
35974
- ],
35975
- type: "object",
35976
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
35977
- "x-undocumented": "Seam Bridge Client only."
35942
+ $ref: "#/components/schemas/bridge_client_session"
35978
35943
  },
35979
35944
  ok: { type: "boolean" }
35980
35945
  },
@@ -36015,137 +35980,7 @@ var openapi_default = {
36015
35980
  schema: {
36016
35981
  properties: {
36017
35982
  bridge_client_session: {
36018
- properties: {
36019
- bridge_client_machine_identifier_key: {
36020
- type: "string"
36021
- },
36022
- bridge_client_name: { type: "string" },
36023
- bridge_client_session_id: {
36024
- format: "uuid",
36025
- type: "string"
36026
- },
36027
- bridge_client_session_token: { type: "string" },
36028
- bridge_client_time_zone: { type: "string" },
36029
- created_at: { format: "date-time", type: "string" },
36030
- errors: {
36031
- items: {
36032
- description: "Error associated with the `bridge_client_session`.",
36033
- discriminator: { propertyName: "error_code" },
36034
- oneOf: [
36035
- {
36036
- description: "Seam cannot reach the bridge's LAN",
36037
- properties: {
36038
- can_tailscale_proxy_reach_bridge: {
36039
- description: "Tailscale proxy cannot reach the bridge",
36040
- nullable: true,
36041
- type: "boolean"
36042
- },
36043
- can_tailscale_proxy_reach_tailscale_network: {
36044
- description: "Tailscale proxy cannot reach the Tailscale network",
36045
- nullable: true,
36046
- type: "boolean"
36047
- },
36048
- created_at: {
36049
- format: "date-time",
36050
- type: "string"
36051
- },
36052
- error_code: {
36053
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36054
- enum: ["bridge_lan_unreachable"],
36055
- type: "string"
36056
- },
36057
- is_bridge_socks_server_healthy: {
36058
- description: "Bridge's SOCKS server is unhealthy",
36059
- nullable: true,
36060
- type: "boolean"
36061
- },
36062
- is_tailscale_proxy_reachable: {
36063
- description: "Seam cannot reach the tailscale proxy",
36064
- nullable: true,
36065
- type: "boolean"
36066
- },
36067
- is_tailscale_proxy_socks_server_healthy: {
36068
- description: "Tailscale proxy's SOCKS server is unhealthy",
36069
- nullable: true,
36070
- type: "boolean"
36071
- },
36072
- message: { type: "string" }
36073
- },
36074
- required: [
36075
- "message",
36076
- "created_at",
36077
- "error_code",
36078
- "is_tailscale_proxy_reachable",
36079
- "is_tailscale_proxy_socks_server_healthy",
36080
- "can_tailscale_proxy_reach_tailscale_network",
36081
- "can_tailscale_proxy_reach_bridge",
36082
- "is_bridge_socks_server_healthy"
36083
- ],
36084
- type: "object"
36085
- },
36086
- {
36087
- description: "Bridge has stopped communicating with Seam",
36088
- properties: {
36089
- created_at: {
36090
- format: "date-time",
36091
- type: "string"
36092
- },
36093
- error_code: {
36094
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36095
- enum: ["no_communication_from_bridge"],
36096
- type: "string"
36097
- },
36098
- message: { type: "string" }
36099
- },
36100
- required: [
36101
- "message",
36102
- "created_at",
36103
- "error_code"
36104
- ],
36105
- type: "object"
36106
- }
36107
- ]
36108
- },
36109
- type: "array"
36110
- },
36111
- pairing_code: {
36112
- maxLength: 6,
36113
- minLength: 6,
36114
- type: "string"
36115
- },
36116
- pairing_code_expires_at: {
36117
- format: "date-time",
36118
- type: "string"
36119
- },
36120
- tailscale_auth_key: { nullable: true, type: "string" },
36121
- tailscale_hostname: { type: "string" },
36122
- telemetry_token: { nullable: true, type: "string" },
36123
- telemetry_token_expires_at: {
36124
- format: "date-time",
36125
- nullable: true,
36126
- type: "string"
36127
- },
36128
- telemetry_url: { nullable: true, type: "string" }
36129
- },
36130
- required: [
36131
- "created_at",
36132
- "bridge_client_session_id",
36133
- "bridge_client_session_token",
36134
- "pairing_code",
36135
- "pairing_code_expires_at",
36136
- "tailscale_hostname",
36137
- "tailscale_auth_key",
36138
- "bridge_client_name",
36139
- "bridge_client_time_zone",
36140
- "bridge_client_machine_identifier_key",
36141
- "errors",
36142
- "telemetry_token",
36143
- "telemetry_token_expires_at",
36144
- "telemetry_url"
36145
- ],
36146
- type: "object",
36147
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
36148
- "x-undocumented": "Seam Bridge Client only."
35983
+ $ref: "#/components/schemas/bridge_client_session"
36149
35984
  },
36150
35985
  ok: { type: "boolean" }
36151
35986
  },
@@ -36186,137 +36021,7 @@ var openapi_default = {
36186
36021
  schema: {
36187
36022
  properties: {
36188
36023
  bridge_client_session: {
36189
- properties: {
36190
- bridge_client_machine_identifier_key: {
36191
- type: "string"
36192
- },
36193
- bridge_client_name: { type: "string" },
36194
- bridge_client_session_id: {
36195
- format: "uuid",
36196
- type: "string"
36197
- },
36198
- bridge_client_session_token: { type: "string" },
36199
- bridge_client_time_zone: { type: "string" },
36200
- created_at: { format: "date-time", type: "string" },
36201
- errors: {
36202
- items: {
36203
- description: "Error associated with the `bridge_client_session`.",
36204
- discriminator: { propertyName: "error_code" },
36205
- oneOf: [
36206
- {
36207
- description: "Seam cannot reach the bridge's LAN",
36208
- properties: {
36209
- can_tailscale_proxy_reach_bridge: {
36210
- description: "Tailscale proxy cannot reach the bridge",
36211
- nullable: true,
36212
- type: "boolean"
36213
- },
36214
- can_tailscale_proxy_reach_tailscale_network: {
36215
- description: "Tailscale proxy cannot reach the Tailscale network",
36216
- nullable: true,
36217
- type: "boolean"
36218
- },
36219
- created_at: {
36220
- format: "date-time",
36221
- type: "string"
36222
- },
36223
- error_code: {
36224
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36225
- enum: ["bridge_lan_unreachable"],
36226
- type: "string"
36227
- },
36228
- is_bridge_socks_server_healthy: {
36229
- description: "Bridge's SOCKS server is unhealthy",
36230
- nullable: true,
36231
- type: "boolean"
36232
- },
36233
- is_tailscale_proxy_reachable: {
36234
- description: "Seam cannot reach the tailscale proxy",
36235
- nullable: true,
36236
- type: "boolean"
36237
- },
36238
- is_tailscale_proxy_socks_server_healthy: {
36239
- description: "Tailscale proxy's SOCKS server is unhealthy",
36240
- nullable: true,
36241
- type: "boolean"
36242
- },
36243
- message: { type: "string" }
36244
- },
36245
- required: [
36246
- "message",
36247
- "created_at",
36248
- "error_code",
36249
- "is_tailscale_proxy_reachable",
36250
- "is_tailscale_proxy_socks_server_healthy",
36251
- "can_tailscale_proxy_reach_tailscale_network",
36252
- "can_tailscale_proxy_reach_bridge",
36253
- "is_bridge_socks_server_healthy"
36254
- ],
36255
- type: "object"
36256
- },
36257
- {
36258
- description: "Bridge has stopped communicating with Seam",
36259
- properties: {
36260
- created_at: {
36261
- format: "date-time",
36262
- type: "string"
36263
- },
36264
- error_code: {
36265
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36266
- enum: ["no_communication_from_bridge"],
36267
- type: "string"
36268
- },
36269
- message: { type: "string" }
36270
- },
36271
- required: [
36272
- "message",
36273
- "created_at",
36274
- "error_code"
36275
- ],
36276
- type: "object"
36277
- }
36278
- ]
36279
- },
36280
- type: "array"
36281
- },
36282
- pairing_code: {
36283
- maxLength: 6,
36284
- minLength: 6,
36285
- type: "string"
36286
- },
36287
- pairing_code_expires_at: {
36288
- format: "date-time",
36289
- type: "string"
36290
- },
36291
- tailscale_auth_key: { nullable: true, type: "string" },
36292
- tailscale_hostname: { type: "string" },
36293
- telemetry_token: { nullable: true, type: "string" },
36294
- telemetry_token_expires_at: {
36295
- format: "date-time",
36296
- nullable: true,
36297
- type: "string"
36298
- },
36299
- telemetry_url: { nullable: true, type: "string" }
36300
- },
36301
- required: [
36302
- "created_at",
36303
- "bridge_client_session_id",
36304
- "bridge_client_session_token",
36305
- "pairing_code",
36306
- "pairing_code_expires_at",
36307
- "tailscale_hostname",
36308
- "tailscale_auth_key",
36309
- "bridge_client_name",
36310
- "bridge_client_time_zone",
36311
- "bridge_client_machine_identifier_key",
36312
- "errors",
36313
- "telemetry_token",
36314
- "telemetry_token_expires_at",
36315
- "telemetry_url"
36316
- ],
36317
- type: "object",
36318
- "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
36319
- "x-undocumented": "Seam Bridge Client only."
36024
+ $ref: "#/components/schemas/bridge_client_session"
36320
36025
  },
36321
36026
  ok: { type: "boolean" }
36322
36027
  },
@@ -36415,38 +36120,7 @@ var openapi_default = {
36415
36120
  properties: {
36416
36121
  bridge_connected_systems: {
36417
36122
  items: {
36418
- properties: {
36419
- acs_system_display_name: { type: "string" },
36420
- acs_system_id: { format: "uuid", type: "string" },
36421
- bridge_created_at: {
36422
- format: "date-time",
36423
- type: "string"
36424
- },
36425
- bridge_id: { format: "uuid", type: "string" },
36426
- connected_account_created_at: {
36427
- format: "date-time",
36428
- type: "string"
36429
- },
36430
- connected_account_id: {
36431
- format: "uuid",
36432
- type: "string"
36433
- },
36434
- workspace_display_name: { type: "string" },
36435
- workspace_id: { format: "uuid", type: "string" }
36436
- },
36437
- required: [
36438
- "bridge_id",
36439
- "bridge_created_at",
36440
- "connected_account_id",
36441
- "connected_account_created_at",
36442
- "acs_system_id",
36443
- "acs_system_display_name",
36444
- "workspace_id",
36445
- "workspace_display_name"
36446
- ],
36447
- type: "object",
36448
- "x-route-path": "/seam/bridge/v1/bridge_connected_systems",
36449
- "x-undocumented": "Seam Bridge Client only."
36123
+ $ref: "#/components/schemas/bridge_connected_systems"
36450
36124
  },
36451
36125
  type: "array"
36452
36126
  },
@@ -36481,38 +36155,7 @@ var openapi_default = {
36481
36155
  properties: {
36482
36156
  bridge_connected_systems: {
36483
36157
  items: {
36484
- properties: {
36485
- acs_system_display_name: { type: "string" },
36486
- acs_system_id: { format: "uuid", type: "string" },
36487
- bridge_created_at: {
36488
- format: "date-time",
36489
- type: "string"
36490
- },
36491
- bridge_id: { format: "uuid", type: "string" },
36492
- connected_account_created_at: {
36493
- format: "date-time",
36494
- type: "string"
36495
- },
36496
- connected_account_id: {
36497
- format: "uuid",
36498
- type: "string"
36499
- },
36500
- workspace_display_name: { type: "string" },
36501
- workspace_id: { format: "uuid", type: "string" }
36502
- },
36503
- required: [
36504
- "bridge_id",
36505
- "bridge_created_at",
36506
- "connected_account_id",
36507
- "connected_account_created_at",
36508
- "acs_system_id",
36509
- "acs_system_display_name",
36510
- "workspace_id",
36511
- "workspace_display_name"
36512
- ],
36513
- type: "object",
36514
- "x-route-path": "/seam/bridge/v1/bridge_connected_systems",
36515
- "x-undocumented": "Seam Bridge Client only."
36158
+ $ref: "#/components/schemas/bridge_connected_systems"
36516
36159
  },
36517
36160
  type: "array"
36518
36161
  },
@@ -36840,36 +36483,7 @@ var openapi_default = {
36840
36483
  properties: {
36841
36484
  ok: { type: "boolean" },
36842
36485
  partner_resources: {
36843
- items: {
36844
- properties: {
36845
- custom_metadata: {
36846
- additionalProperties: { type: "string" },
36847
- type: "object"
36848
- },
36849
- customer_key: { type: "string" },
36850
- description: { type: "string" },
36851
- email_address: { type: "string" },
36852
- ends_at: { type: "string" },
36853
- location_keys: {
36854
- items: { type: "string" },
36855
- type: "array"
36856
- },
36857
- name: { type: "string" },
36858
- partner_resource_key: { type: "string" },
36859
- partner_resource_type: { type: "string" },
36860
- phone_number: { type: "string" },
36861
- starts_at: { type: "string" },
36862
- user_identity_key: { type: "string" }
36863
- },
36864
- required: [
36865
- "partner_resource_type",
36866
- "partner_resource_key",
36867
- "customer_key"
36868
- ],
36869
- type: "object",
36870
- "x-route-path": "/unstable_partner/resources",
36871
- "x-undocumented": "Unreleased."
36872
- },
36486
+ items: { $ref: "#/components/schemas/partner_resource" },
36873
36487
  type: "array"
36874
36488
  }
36875
36489
  },
@@ -37869,64 +37483,7 @@ var openapi_default = {
37869
37483
  properties: {
37870
37484
  ok: { type: "boolean" },
37871
37485
  thermostat_daily_program: {
37872
- 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.",
37873
- properties: {
37874
- created_at: {
37875
- description: "Date and time at which the thermostat daily program was created.",
37876
- format: "date-time",
37877
- type: "string"
37878
- },
37879
- device_id: {
37880
- description: "ID of the thermostat device on which the thermostat daily program is configured.",
37881
- format: "uuid",
37882
- type: "string"
37883
- },
37884
- name: {
37885
- description: "User-friendly name to identify the thermostat daily program.",
37886
- nullable: true,
37887
- type: "string"
37888
- },
37889
- periods: {
37890
- description: "Array of thermostat daily program periods.",
37891
- items: {
37892
- 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.",
37893
- properties: {
37894
- climate_preset_key: {
37895
- 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`.",
37896
- type: "string"
37897
- },
37898
- starts_at_time: {
37899
- 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.",
37900
- pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
37901
- type: "string"
37902
- }
37903
- },
37904
- required: ["starts_at_time", "climate_preset_key"],
37905
- type: "object"
37906
- },
37907
- type: "array"
37908
- },
37909
- thermostat_daily_program_id: {
37910
- description: "ID of the thermostat daily program.",
37911
- format: "uuid",
37912
- type: "string"
37913
- },
37914
- workspace_id: {
37915
- description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.",
37916
- format: "uuid",
37917
- type: "string"
37918
- }
37919
- },
37920
- required: [
37921
- "thermostat_daily_program_id",
37922
- "device_id",
37923
- "name",
37924
- "periods",
37925
- "workspace_id",
37926
- "created_at"
37927
- ],
37928
- type: "object",
37929
- "x-route-path": "/thermostats/thermostat_daily_programs"
37486
+ $ref: "#/components/schemas/thermostat_daily_program"
37930
37487
  }
37931
37488
  },
37932
37489
  required: ["thermostat_daily_program", "ok"],
@@ -40827,54 +40384,7 @@ var openapi_default = {
40827
40384
  "application/json": {
40828
40385
  schema: {
40829
40386
  properties: {
40830
- location: {
40831
- properties: {
40832
- created_at: {
40833
- description: "Date and time at which the location object was created.",
40834
- format: "date-time",
40835
- type: "string"
40836
- },
40837
- display_name: {
40838
- description: "Display name of the location.",
40839
- type: "string"
40840
- },
40841
- geolocation: {
40842
- description: "Geographical location of the location.",
40843
- properties: {
40844
- latitude: { format: "float", type: "number" },
40845
- longitude: { format: "float", type: "number" }
40846
- },
40847
- required: ["latitude", "longitude"],
40848
- type: "object"
40849
- },
40850
- location_id: {
40851
- description: "Unique identifier for the location.",
40852
- format: "uuid",
40853
- type: "string"
40854
- },
40855
- name: {
40856
- description: "Name of the location.",
40857
- type: "string"
40858
- },
40859
- time_zone: {
40860
- description: "Time zone of the location.",
40861
- type: "string"
40862
- },
40863
- workspace_id: {
40864
- description: "Unique identifier for the Seam workspace associated with the location.",
40865
- format: "uuid",
40866
- type: "string"
40867
- }
40868
- },
40869
- required: [
40870
- "location_id",
40871
- "workspace_id",
40872
- "name",
40873
- "display_name",
40874
- "created_at"
40875
- ],
40876
- type: "object"
40877
- },
40387
+ location: { $ref: "#/components/schemas/location" },
40878
40388
  ok: { type: "boolean" }
40879
40389
  },
40880
40390
  required: ["location", "ok"],
@@ -40980,54 +40490,7 @@ var openapi_default = {
40980
40490
  "application/json": {
40981
40491
  schema: {
40982
40492
  properties: {
40983
- location: {
40984
- properties: {
40985
- created_at: {
40986
- description: "Date and time at which the location object was created.",
40987
- format: "date-time",
40988
- type: "string"
40989
- },
40990
- display_name: {
40991
- description: "Display name of the location.",
40992
- type: "string"
40993
- },
40994
- geolocation: {
40995
- description: "Geographical location of the location.",
40996
- properties: {
40997
- latitude: { format: "float", type: "number" },
40998
- longitude: { format: "float", type: "number" }
40999
- },
41000
- required: ["latitude", "longitude"],
41001
- type: "object"
41002
- },
41003
- location_id: {
41004
- description: "Unique identifier for the location.",
41005
- format: "uuid",
41006
- type: "string"
41007
- },
41008
- name: {
41009
- description: "Name of the location.",
41010
- type: "string"
41011
- },
41012
- time_zone: {
41013
- description: "Time zone of the location.",
41014
- type: "string"
41015
- },
41016
- workspace_id: {
41017
- description: "Unique identifier for the Seam workspace associated with the location.",
41018
- format: "uuid",
41019
- type: "string"
41020
- }
41021
- },
41022
- required: [
41023
- "location_id",
41024
- "workspace_id",
41025
- "name",
41026
- "display_name",
41027
- "created_at"
41028
- ],
41029
- type: "object"
41030
- },
40493
+ location: { $ref: "#/components/schemas/location" },
41031
40494
  ok: { type: "boolean" }
41032
40495
  },
41033
40496
  required: ["location", "ok"],
@@ -41066,54 +40529,7 @@ var openapi_default = {
41066
40529
  schema: {
41067
40530
  properties: {
41068
40531
  locations: {
41069
- items: {
41070
- properties: {
41071
- created_at: {
41072
- description: "Date and time at which the location object was created.",
41073
- format: "date-time",
41074
- type: "string"
41075
- },
41076
- display_name: {
41077
- description: "Display name of the location.",
41078
- type: "string"
41079
- },
41080
- geolocation: {
41081
- description: "Geographical location of the location.",
41082
- properties: {
41083
- latitude: { format: "float", type: "number" },
41084
- longitude: { format: "float", type: "number" }
41085
- },
41086
- required: ["latitude", "longitude"],
41087
- type: "object"
41088
- },
41089
- location_id: {
41090
- description: "Unique identifier for the location.",
41091
- format: "uuid",
41092
- type: "string"
41093
- },
41094
- name: {
41095
- description: "Name of the location.",
41096
- type: "string"
41097
- },
41098
- time_zone: {
41099
- description: "Time zone of the location.",
41100
- type: "string"
41101
- },
41102
- workspace_id: {
41103
- description: "Unique identifier for the Seam workspace associated with the location.",
41104
- format: "uuid",
41105
- type: "string"
41106
- }
41107
- },
41108
- required: [
41109
- "location_id",
41110
- "workspace_id",
41111
- "name",
41112
- "display_name",
41113
- "created_at"
41114
- ],
41115
- type: "object"
41116
- },
40532
+ items: { $ref: "#/components/schemas/location" },
41117
40533
  type: "array"
41118
40534
  },
41119
40535
  ok: { type: "boolean" }
@@ -41150,54 +40566,7 @@ var openapi_default = {
41150
40566
  schema: {
41151
40567
  properties: {
41152
40568
  locations: {
41153
- items: {
41154
- properties: {
41155
- created_at: {
41156
- description: "Date and time at which the location object was created.",
41157
- format: "date-time",
41158
- type: "string"
41159
- },
41160
- display_name: {
41161
- description: "Display name of the location.",
41162
- type: "string"
41163
- },
41164
- geolocation: {
41165
- description: "Geographical location of the location.",
41166
- properties: {
41167
- latitude: { format: "float", type: "number" },
41168
- longitude: { format: "float", type: "number" }
41169
- },
41170
- required: ["latitude", "longitude"],
41171
- type: "object"
41172
- },
41173
- location_id: {
41174
- description: "Unique identifier for the location.",
41175
- format: "uuid",
41176
- type: "string"
41177
- },
41178
- name: {
41179
- description: "Name of the location.",
41180
- type: "string"
41181
- },
41182
- time_zone: {
41183
- description: "Time zone of the location.",
41184
- type: "string"
41185
- },
41186
- workspace_id: {
41187
- description: "Unique identifier for the Seam workspace associated with the location.",
41188
- format: "uuid",
41189
- type: "string"
41190
- }
41191
- },
41192
- required: [
41193
- "location_id",
41194
- "workspace_id",
41195
- "name",
41196
- "display_name",
41197
- "created_at"
41198
- ],
41199
- type: "object"
41200
- },
40569
+ items: { $ref: "#/components/schemas/location" },
41201
40570
  type: "array"
41202
40571
  },
41203
40572
  ok: { type: "boolean" }
@@ -41383,54 +40752,7 @@ var openapi_default = {
41383
40752
  "application/json": {
41384
40753
  schema: {
41385
40754
  properties: {
41386
- location: {
41387
- properties: {
41388
- created_at: {
41389
- description: "Date and time at which the location object was created.",
41390
- format: "date-time",
41391
- type: "string"
41392
- },
41393
- display_name: {
41394
- description: "Display name of the location.",
41395
- type: "string"
41396
- },
41397
- geolocation: {
41398
- description: "Geographical location of the location.",
41399
- properties: {
41400
- latitude: { format: "float", type: "number" },
41401
- longitude: { format: "float", type: "number" }
41402
- },
41403
- required: ["latitude", "longitude"],
41404
- type: "object"
41405
- },
41406
- location_id: {
41407
- description: "Unique identifier for the location.",
41408
- format: "uuid",
41409
- type: "string"
41410
- },
41411
- name: {
41412
- description: "Name of the location.",
41413
- type: "string"
41414
- },
41415
- time_zone: {
41416
- description: "Time zone of the location.",
41417
- type: "string"
41418
- },
41419
- workspace_id: {
41420
- description: "Unique identifier for the Seam workspace associated with the location.",
41421
- format: "uuid",
41422
- type: "string"
41423
- }
41424
- },
41425
- required: [
41426
- "location_id",
41427
- "workspace_id",
41428
- "name",
41429
- "display_name",
41430
- "created_at"
41431
- ],
41432
- type: "object"
41433
- },
40755
+ location: { $ref: "#/components/schemas/location" },
41434
40756
  ok: { type: "boolean" }
41435
40757
  },
41436
40758
  required: ["location", "ok"],
@@ -41498,54 +40820,7 @@ var openapi_default = {
41498
40820
  "application/json": {
41499
40821
  schema: {
41500
40822
  properties: {
41501
- location: {
41502
- properties: {
41503
- created_at: {
41504
- description: "Date and time at which the location object was created.",
41505
- format: "date-time",
41506
- type: "string"
41507
- },
41508
- display_name: {
41509
- description: "Display name of the location.",
41510
- type: "string"
41511
- },
41512
- geolocation: {
41513
- description: "Geographical location of the location.",
41514
- properties: {
41515
- latitude: { format: "float", type: "number" },
41516
- longitude: { format: "float", type: "number" }
41517
- },
41518
- required: ["latitude", "longitude"],
41519
- type: "object"
41520
- },
41521
- location_id: {
41522
- description: "Unique identifier for the location.",
41523
- format: "uuid",
41524
- type: "string"
41525
- },
41526
- name: {
41527
- description: "Name of the location.",
41528
- type: "string"
41529
- },
41530
- time_zone: {
41531
- description: "Time zone of the location.",
41532
- type: "string"
41533
- },
41534
- workspace_id: {
41535
- description: "Unique identifier for the Seam workspace associated with the location.",
41536
- format: "uuid",
41537
- type: "string"
41538
- }
41539
- },
41540
- required: [
41541
- "location_id",
41542
- "workspace_id",
41543
- "name",
41544
- "display_name",
41545
- "created_at"
41546
- ],
41547
- type: "object"
41548
- },
40823
+ location: { $ref: "#/components/schemas/location" },
41549
40824
  ok: { type: "boolean" }
41550
40825
  },
41551
40826
  required: ["location", "ok"],
@@ -42139,7 +41414,7 @@ var openapi_default = {
42139
41414
  },
42140
41415
  "/user_identities/delete": {
42141
41416
  post: {
42142
- description: "Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). To delete a user identity, you must first delete any [credentials](https://docs.seam.co/latest/api/access-control-systems/credentials) and [enrollment automations](https://docs.seam.co/latest/api/user_identities/enrollment_automations/delete) associated with the user identity. You must also deactivate any associated phones.",
41417
+ description: "Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This deletes the user identity and all associated resources, including any [credentials](https://docs.seam.co/latest/api/access-control-systems/credentials), [acs users](https://docs.seam.co/latest/api/access-control-systems/users) and [client sessions](https://docs.seam.co/latest/api/client_sessions).",
42143
41418
  operationId: "userIdentitiesDeletePost",
42144
41419
  requestBody: {
42145
41420
  content: {
@@ -42344,32 +41619,7 @@ var openapi_default = {
42344
41619
  schema: {
42345
41620
  properties: {
42346
41621
  enrollment_automation: {
42347
- properties: {
42348
- acs_credential_provisioning_automation_id: {
42349
- format: "uuid",
42350
- type: "string"
42351
- },
42352
- created_at: { format: "date-time", type: "string" },
42353
- credential_manager_acs_system_id: {
42354
- format: "uuid",
42355
- type: "string"
42356
- },
42357
- enrollment_automation_id: {
42358
- format: "uuid",
42359
- type: "string"
42360
- },
42361
- user_identity_id: { format: "uuid", type: "string" },
42362
- workspace_id: { format: "uuid", type: "string" }
42363
- },
42364
- required: [
42365
- "acs_credential_provisioning_automation_id",
42366
- "credential_manager_acs_system_id",
42367
- "user_identity_id",
42368
- "created_at",
42369
- "workspace_id",
42370
- "enrollment_automation_id"
42371
- ],
42372
- type: "object"
41622
+ $ref: "#/components/schemas/enrollment_automation"
42373
41623
  },
42374
41624
  ok: { type: "boolean" }
42375
41625
  },