@seamapi/types 1.365.0 → 1.367.0

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.
Files changed (32) hide show
  1. package/dist/connect.cjs +708 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1802 -95
  4. package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
  5. package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +9 -2
  6. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
  7. package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
  8. package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
  9. package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
  10. package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
  11. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
  12. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
  13. package/lib/seam/connect/models/acs/index.d.ts +1 -1
  14. package/lib/seam/connect/models/acs/index.js +1 -1
  15. package/lib/seam/connect/models/acs/index.js.map +1 -1
  16. package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +235 -0
  17. package/lib/seam/connect/models/bridges/bridge_client_session.js +47 -0
  18. package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
  19. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  20. package/lib/seam/connect/openapi.d.ts +716 -0
  21. package/lib/seam/connect/openapi.js +628 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +399 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +9 -2
  26. package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
  27. package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
  28. package/src/lib/seam/connect/models/acs/index.ts +1 -1
  29. package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +62 -0
  30. package/src/lib/seam/connect/openapi.ts +676 -0
  31. package/src/lib/seam/connect/route-types.ts +457 -0
  32. package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
@@ -2189,6 +2189,166 @@ export default {
2189
2189
  type: 'string',
2190
2190
  'x-undocumented': 'Only used internally.',
2191
2191
  },
2192
+ pending_modifications: {
2193
+ items: {
2194
+ discriminator: { propertyName: 'modification_code' },
2195
+ oneOf: [
2196
+ {
2197
+ properties: {
2198
+ created_at: { format: 'date-time', type: 'string' },
2199
+ modification_code: { enum: ['profile'], type: 'string' },
2200
+ modified_from: {
2201
+ properties: {
2202
+ email_address: {
2203
+ format: 'email',
2204
+ nullable: true,
2205
+ type: 'string',
2206
+ },
2207
+ full_name: { nullable: true, type: 'string' },
2208
+ phone_number: { nullable: true, type: 'string' },
2209
+ },
2210
+ type: 'object',
2211
+ },
2212
+ modified_to: {
2213
+ properties: {
2214
+ email_address: {
2215
+ format: 'email',
2216
+ nullable: true,
2217
+ type: 'string',
2218
+ },
2219
+ full_name: { nullable: true, type: 'string' },
2220
+ phone_number: { nullable: true, type: 'string' },
2221
+ },
2222
+ type: 'object',
2223
+ },
2224
+ },
2225
+ required: [
2226
+ 'created_at',
2227
+ 'modification_code',
2228
+ 'modified_from',
2229
+ 'modified_to',
2230
+ ],
2231
+ type: 'object',
2232
+ },
2233
+ {
2234
+ properties: {
2235
+ created_at: { format: 'date-time', type: 'string' },
2236
+ modification_code: {
2237
+ enum: ['access_schedule'],
2238
+ type: 'string',
2239
+ },
2240
+ modified_from: {
2241
+ properties: {
2242
+ ends_at: {
2243
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2244
+ format: 'date-time',
2245
+ nullable: true,
2246
+ type: 'string',
2247
+ },
2248
+ starts_at: {
2249
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2250
+ format: 'date-time',
2251
+ type: 'string',
2252
+ },
2253
+ },
2254
+ required: ['starts_at', 'ends_at'],
2255
+ type: 'object',
2256
+ },
2257
+ modified_to: {
2258
+ properties: {
2259
+ ends_at: {
2260
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2261
+ format: 'date-time',
2262
+ nullable: true,
2263
+ type: 'string',
2264
+ },
2265
+ starts_at: {
2266
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2267
+ format: 'date-time',
2268
+ type: 'string',
2269
+ },
2270
+ },
2271
+ required: ['starts_at', 'ends_at'],
2272
+ type: 'object',
2273
+ },
2274
+ },
2275
+ required: [
2276
+ 'created_at',
2277
+ 'modification_code',
2278
+ 'modified_from',
2279
+ 'modified_to',
2280
+ ],
2281
+ type: 'object',
2282
+ },
2283
+ {
2284
+ properties: {
2285
+ created_at: { format: 'date-time', type: 'string' },
2286
+ modification_code: {
2287
+ enum: ['suspension_state'],
2288
+ type: 'string',
2289
+ },
2290
+ modified_from: {
2291
+ properties: { is_suspended: { type: 'boolean' } },
2292
+ required: ['is_suspended'],
2293
+ type: 'object',
2294
+ },
2295
+ modified_to: {
2296
+ properties: { is_suspended: { type: 'boolean' } },
2297
+ required: ['is_suspended'],
2298
+ type: 'object',
2299
+ },
2300
+ },
2301
+ required: [
2302
+ 'created_at',
2303
+ 'modification_code',
2304
+ 'modified_from',
2305
+ 'modified_to',
2306
+ ],
2307
+ type: 'object',
2308
+ },
2309
+ {
2310
+ properties: {
2311
+ created_at: { format: 'date-time', type: 'string' },
2312
+ modification_code: {
2313
+ enum: ['acs_access_group_membership'],
2314
+ type: 'string',
2315
+ },
2316
+ modified_from: {
2317
+ properties: {
2318
+ acs_access_group_id: {
2319
+ format: 'uuid',
2320
+ nullable: true,
2321
+ type: 'string',
2322
+ },
2323
+ },
2324
+ required: ['acs_access_group_id'],
2325
+ type: 'object',
2326
+ },
2327
+ modified_to: {
2328
+ properties: {
2329
+ acs_access_group_id: {
2330
+ format: 'uuid',
2331
+ nullable: true,
2332
+ type: 'string',
2333
+ },
2334
+ },
2335
+ required: ['acs_access_group_id'],
2336
+ type: 'object',
2337
+ },
2338
+ },
2339
+ required: [
2340
+ 'created_at',
2341
+ 'modification_code',
2342
+ 'modified_from',
2343
+ 'modified_to',
2344
+ ],
2345
+ type: 'object',
2346
+ },
2347
+ ],
2348
+ },
2349
+ type: 'array',
2350
+ 'x-undocumented': 'Experimental.',
2351
+ },
2192
2352
  phone_number: {
2193
2353
  description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
2194
2354
  type: 'string',
@@ -13409,6 +13569,166 @@ export default {
13409
13569
  type: 'string',
13410
13570
  'x-undocumented': 'Only used internally.',
13411
13571
  },
13572
+ pending_modifications: {
13573
+ items: {
13574
+ discriminator: { propertyName: 'modification_code' },
13575
+ oneOf: [
13576
+ {
13577
+ properties: {
13578
+ created_at: { format: 'date-time', type: 'string' },
13579
+ modification_code: { enum: ['profile'], type: 'string' },
13580
+ modified_from: {
13581
+ properties: {
13582
+ email_address: {
13583
+ format: 'email',
13584
+ nullable: true,
13585
+ type: 'string',
13586
+ },
13587
+ full_name: { nullable: true, type: 'string' },
13588
+ phone_number: { nullable: true, type: 'string' },
13589
+ },
13590
+ type: 'object',
13591
+ },
13592
+ modified_to: {
13593
+ properties: {
13594
+ email_address: {
13595
+ format: 'email',
13596
+ nullable: true,
13597
+ type: 'string',
13598
+ },
13599
+ full_name: { nullable: true, type: 'string' },
13600
+ phone_number: { nullable: true, type: 'string' },
13601
+ },
13602
+ type: 'object',
13603
+ },
13604
+ },
13605
+ required: [
13606
+ 'created_at',
13607
+ 'modification_code',
13608
+ 'modified_from',
13609
+ 'modified_to',
13610
+ ],
13611
+ type: 'object',
13612
+ },
13613
+ {
13614
+ properties: {
13615
+ created_at: { format: 'date-time', type: 'string' },
13616
+ modification_code: {
13617
+ enum: ['access_schedule'],
13618
+ type: 'string',
13619
+ },
13620
+ modified_from: {
13621
+ properties: {
13622
+ ends_at: {
13623
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
13624
+ format: 'date-time',
13625
+ nullable: true,
13626
+ type: 'string',
13627
+ },
13628
+ starts_at: {
13629
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
13630
+ format: 'date-time',
13631
+ type: 'string',
13632
+ },
13633
+ },
13634
+ required: ['starts_at', 'ends_at'],
13635
+ type: 'object',
13636
+ },
13637
+ modified_to: {
13638
+ properties: {
13639
+ ends_at: {
13640
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
13641
+ format: 'date-time',
13642
+ nullable: true,
13643
+ type: 'string',
13644
+ },
13645
+ starts_at: {
13646
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
13647
+ format: 'date-time',
13648
+ type: 'string',
13649
+ },
13650
+ },
13651
+ required: ['starts_at', 'ends_at'],
13652
+ type: 'object',
13653
+ },
13654
+ },
13655
+ required: [
13656
+ 'created_at',
13657
+ 'modification_code',
13658
+ 'modified_from',
13659
+ 'modified_to',
13660
+ ],
13661
+ type: 'object',
13662
+ },
13663
+ {
13664
+ properties: {
13665
+ created_at: { format: 'date-time', type: 'string' },
13666
+ modification_code: {
13667
+ enum: ['suspension_state'],
13668
+ type: 'string',
13669
+ },
13670
+ modified_from: {
13671
+ properties: { is_suspended: { type: 'boolean' } },
13672
+ required: ['is_suspended'],
13673
+ type: 'object',
13674
+ },
13675
+ modified_to: {
13676
+ properties: { is_suspended: { type: 'boolean' } },
13677
+ required: ['is_suspended'],
13678
+ type: 'object',
13679
+ },
13680
+ },
13681
+ required: [
13682
+ 'created_at',
13683
+ 'modification_code',
13684
+ 'modified_from',
13685
+ 'modified_to',
13686
+ ],
13687
+ type: 'object',
13688
+ },
13689
+ {
13690
+ properties: {
13691
+ created_at: { format: 'date-time', type: 'string' },
13692
+ modification_code: {
13693
+ enum: ['acs_access_group_membership'],
13694
+ type: 'string',
13695
+ },
13696
+ modified_from: {
13697
+ properties: {
13698
+ acs_access_group_id: {
13699
+ format: 'uuid',
13700
+ nullable: true,
13701
+ type: 'string',
13702
+ },
13703
+ },
13704
+ required: ['acs_access_group_id'],
13705
+ type: 'object',
13706
+ },
13707
+ modified_to: {
13708
+ properties: {
13709
+ acs_access_group_id: {
13710
+ format: 'uuid',
13711
+ nullable: true,
13712
+ type: 'string',
13713
+ },
13714
+ },
13715
+ required: ['acs_access_group_id'],
13716
+ type: 'object',
13717
+ },
13718
+ },
13719
+ required: [
13720
+ 'created_at',
13721
+ 'modification_code',
13722
+ 'modified_from',
13723
+ 'modified_to',
13724
+ ],
13725
+ type: 'object',
13726
+ },
13727
+ ],
13728
+ },
13729
+ type: 'array',
13730
+ 'x-undocumented': 'Experimental.',
13731
+ },
13412
13732
  phone_number: {
13413
13733
  description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
13414
13734
  type: 'string',
@@ -23470,6 +23790,82 @@ export default {
23470
23790
  bridge_client_session_token: { type: 'string' },
23471
23791
  bridge_client_time_zone: { type: 'string' },
23472
23792
  created_at: { format: 'date-time', type: 'string' },
23793
+ errors: {
23794
+ items: {
23795
+ description: 'Error associated with the `bridge_client_session`.',
23796
+ discriminator: { propertyName: 'error_code' },
23797
+ oneOf: [
23798
+ {
23799
+ description: "Seam cannot reach the bridge's LAN",
23800
+ properties: {
23801
+ can_tailscale_proxy_reach_bridge: {
23802
+ description: 'Tailscale proxy cannot reach the bridge',
23803
+ type: 'boolean',
23804
+ },
23805
+ can_tailscale_proxy_reach_tailscale_network: {
23806
+ description: 'Tailscale proxy cannot reach the Tailscale network',
23807
+ type: 'boolean',
23808
+ },
23809
+ created_at: {
23810
+ format: 'date-time',
23811
+ type: 'string',
23812
+ },
23813
+ error_code: {
23814
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23815
+ enum: ['bridge_lan_unreachable'],
23816
+ type: 'string',
23817
+ },
23818
+ is_bridge_socks_server_healthy: {
23819
+ description: "Bridge's SOCKS server is unhealthy",
23820
+ type: 'boolean',
23821
+ },
23822
+ is_tailscale_proxy_reachable: {
23823
+ description: 'Seam cannot reach the tailscale proxy',
23824
+ type: 'boolean',
23825
+ },
23826
+ is_tailscale_proxy_socks_server_healthy: {
23827
+ description: "Tailscale proxy's SOCKS server is unhealthy",
23828
+ type: 'boolean',
23829
+ },
23830
+ message: { type: 'string' },
23831
+ },
23832
+ required: [
23833
+ 'message',
23834
+ 'created_at',
23835
+ 'error_code',
23836
+ 'is_tailscale_proxy_reachable',
23837
+ 'is_tailscale_proxy_socks_server_healthy',
23838
+ 'can_tailscale_proxy_reach_tailscale_network',
23839
+ 'can_tailscale_proxy_reach_bridge',
23840
+ 'is_bridge_socks_server_healthy',
23841
+ ],
23842
+ type: 'object',
23843
+ },
23844
+ {
23845
+ description: 'Bridge has stopped communicating with Seam',
23846
+ properties: {
23847
+ created_at: {
23848
+ format: 'date-time',
23849
+ type: 'string',
23850
+ },
23851
+ error_code: {
23852
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23853
+ enum: ['no_communication_from_bridge'],
23854
+ type: 'string',
23855
+ },
23856
+ message: { type: 'string' },
23857
+ },
23858
+ required: [
23859
+ 'message',
23860
+ 'created_at',
23861
+ 'error_code',
23862
+ ],
23863
+ type: 'object',
23864
+ },
23865
+ ],
23866
+ },
23867
+ type: 'array',
23868
+ },
23473
23869
  pairing_code: {
23474
23870
  maxLength: 6,
23475
23871
  minLength: 6,
@@ -23493,6 +23889,7 @@ export default {
23493
23889
  'bridge_client_name',
23494
23890
  'bridge_client_time_zone',
23495
23891
  'bridge_client_machine_identifier_key',
23892
+ 'errors',
23496
23893
  ],
23497
23894
  type: 'object',
23498
23895
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -23549,6 +23946,82 @@ export default {
23549
23946
  bridge_client_session_token: { type: 'string' },
23550
23947
  bridge_client_time_zone: { type: 'string' },
23551
23948
  created_at: { format: 'date-time', type: 'string' },
23949
+ errors: {
23950
+ items: {
23951
+ description: 'Error associated with the `bridge_client_session`.',
23952
+ discriminator: { propertyName: 'error_code' },
23953
+ oneOf: [
23954
+ {
23955
+ description: "Seam cannot reach the bridge's LAN",
23956
+ properties: {
23957
+ can_tailscale_proxy_reach_bridge: {
23958
+ description: 'Tailscale proxy cannot reach the bridge',
23959
+ type: 'boolean',
23960
+ },
23961
+ can_tailscale_proxy_reach_tailscale_network: {
23962
+ description: 'Tailscale proxy cannot reach the Tailscale network',
23963
+ type: 'boolean',
23964
+ },
23965
+ created_at: {
23966
+ format: 'date-time',
23967
+ type: 'string',
23968
+ },
23969
+ error_code: {
23970
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23971
+ enum: ['bridge_lan_unreachable'],
23972
+ type: 'string',
23973
+ },
23974
+ is_bridge_socks_server_healthy: {
23975
+ description: "Bridge's SOCKS server is unhealthy",
23976
+ type: 'boolean',
23977
+ },
23978
+ is_tailscale_proxy_reachable: {
23979
+ description: 'Seam cannot reach the tailscale proxy',
23980
+ type: 'boolean',
23981
+ },
23982
+ is_tailscale_proxy_socks_server_healthy: {
23983
+ description: "Tailscale proxy's SOCKS server is unhealthy",
23984
+ type: 'boolean',
23985
+ },
23986
+ message: { type: 'string' },
23987
+ },
23988
+ required: [
23989
+ 'message',
23990
+ 'created_at',
23991
+ 'error_code',
23992
+ 'is_tailscale_proxy_reachable',
23993
+ 'is_tailscale_proxy_socks_server_healthy',
23994
+ 'can_tailscale_proxy_reach_tailscale_network',
23995
+ 'can_tailscale_proxy_reach_bridge',
23996
+ 'is_bridge_socks_server_healthy',
23997
+ ],
23998
+ type: 'object',
23999
+ },
24000
+ {
24001
+ description: 'Bridge has stopped communicating with Seam',
24002
+ properties: {
24003
+ created_at: {
24004
+ format: 'date-time',
24005
+ type: 'string',
24006
+ },
24007
+ error_code: {
24008
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24009
+ enum: ['no_communication_from_bridge'],
24010
+ type: 'string',
24011
+ },
24012
+ message: { type: 'string' },
24013
+ },
24014
+ required: [
24015
+ 'message',
24016
+ 'created_at',
24017
+ 'error_code',
24018
+ ],
24019
+ type: 'object',
24020
+ },
24021
+ ],
24022
+ },
24023
+ type: 'array',
24024
+ },
23552
24025
  pairing_code: {
23553
24026
  maxLength: 6,
23554
24027
  minLength: 6,
@@ -23572,6 +24045,7 @@ export default {
23572
24045
  'bridge_client_name',
23573
24046
  'bridge_client_time_zone',
23574
24047
  'bridge_client_machine_identifier_key',
24048
+ 'errors',
23575
24049
  ],
23576
24050
  type: 'object',
23577
24051
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -23619,6 +24093,82 @@ export default {
23619
24093
  bridge_client_session_token: { type: 'string' },
23620
24094
  bridge_client_time_zone: { type: 'string' },
23621
24095
  created_at: { format: 'date-time', type: 'string' },
24096
+ errors: {
24097
+ items: {
24098
+ description: 'Error associated with the `bridge_client_session`.',
24099
+ discriminator: { propertyName: 'error_code' },
24100
+ oneOf: [
24101
+ {
24102
+ description: "Seam cannot reach the bridge's LAN",
24103
+ properties: {
24104
+ can_tailscale_proxy_reach_bridge: {
24105
+ description: 'Tailscale proxy cannot reach the bridge',
24106
+ type: 'boolean',
24107
+ },
24108
+ can_tailscale_proxy_reach_tailscale_network: {
24109
+ description: 'Tailscale proxy cannot reach the Tailscale network',
24110
+ type: 'boolean',
24111
+ },
24112
+ created_at: {
24113
+ format: 'date-time',
24114
+ type: 'string',
24115
+ },
24116
+ error_code: {
24117
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24118
+ enum: ['bridge_lan_unreachable'],
24119
+ type: 'string',
24120
+ },
24121
+ is_bridge_socks_server_healthy: {
24122
+ description: "Bridge's SOCKS server is unhealthy",
24123
+ type: 'boolean',
24124
+ },
24125
+ is_tailscale_proxy_reachable: {
24126
+ description: 'Seam cannot reach the tailscale proxy',
24127
+ type: 'boolean',
24128
+ },
24129
+ is_tailscale_proxy_socks_server_healthy: {
24130
+ description: "Tailscale proxy's SOCKS server is unhealthy",
24131
+ type: 'boolean',
24132
+ },
24133
+ message: { type: 'string' },
24134
+ },
24135
+ required: [
24136
+ 'message',
24137
+ 'created_at',
24138
+ 'error_code',
24139
+ 'is_tailscale_proxy_reachable',
24140
+ 'is_tailscale_proxy_socks_server_healthy',
24141
+ 'can_tailscale_proxy_reach_tailscale_network',
24142
+ 'can_tailscale_proxy_reach_bridge',
24143
+ 'is_bridge_socks_server_healthy',
24144
+ ],
24145
+ type: 'object',
24146
+ },
24147
+ {
24148
+ description: 'Bridge has stopped communicating with Seam',
24149
+ properties: {
24150
+ created_at: {
24151
+ format: 'date-time',
24152
+ type: 'string',
24153
+ },
24154
+ error_code: {
24155
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24156
+ enum: ['no_communication_from_bridge'],
24157
+ type: 'string',
24158
+ },
24159
+ message: { type: 'string' },
24160
+ },
24161
+ required: [
24162
+ 'message',
24163
+ 'created_at',
24164
+ 'error_code',
24165
+ ],
24166
+ type: 'object',
24167
+ },
24168
+ ],
24169
+ },
24170
+ type: 'array',
24171
+ },
23622
24172
  pairing_code: {
23623
24173
  maxLength: 6,
23624
24174
  minLength: 6,
@@ -23642,6 +24192,7 @@ export default {
23642
24192
  'bridge_client_name',
23643
24193
  'bridge_client_time_zone',
23644
24194
  'bridge_client_machine_identifier_key',
24195
+ 'errors',
23645
24196
  ],
23646
24197
  type: 'object',
23647
24198
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -23698,6 +24249,82 @@ export default {
23698
24249
  bridge_client_session_token: { type: 'string' },
23699
24250
  bridge_client_time_zone: { type: 'string' },
23700
24251
  created_at: { format: 'date-time', type: 'string' },
24252
+ errors: {
24253
+ items: {
24254
+ description: 'Error associated with the `bridge_client_session`.',
24255
+ discriminator: { propertyName: 'error_code' },
24256
+ oneOf: [
24257
+ {
24258
+ description: "Seam cannot reach the bridge's LAN",
24259
+ properties: {
24260
+ can_tailscale_proxy_reach_bridge: {
24261
+ description: 'Tailscale proxy cannot reach the bridge',
24262
+ type: 'boolean',
24263
+ },
24264
+ can_tailscale_proxy_reach_tailscale_network: {
24265
+ description: 'Tailscale proxy cannot reach the Tailscale network',
24266
+ type: 'boolean',
24267
+ },
24268
+ created_at: {
24269
+ format: 'date-time',
24270
+ type: 'string',
24271
+ },
24272
+ error_code: {
24273
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24274
+ enum: ['bridge_lan_unreachable'],
24275
+ type: 'string',
24276
+ },
24277
+ is_bridge_socks_server_healthy: {
24278
+ description: "Bridge's SOCKS server is unhealthy",
24279
+ type: 'boolean',
24280
+ },
24281
+ is_tailscale_proxy_reachable: {
24282
+ description: 'Seam cannot reach the tailscale proxy',
24283
+ type: 'boolean',
24284
+ },
24285
+ is_tailscale_proxy_socks_server_healthy: {
24286
+ description: "Tailscale proxy's SOCKS server is unhealthy",
24287
+ type: 'boolean',
24288
+ },
24289
+ message: { type: 'string' },
24290
+ },
24291
+ required: [
24292
+ 'message',
24293
+ 'created_at',
24294
+ 'error_code',
24295
+ 'is_tailscale_proxy_reachable',
24296
+ 'is_tailscale_proxy_socks_server_healthy',
24297
+ 'can_tailscale_proxy_reach_tailscale_network',
24298
+ 'can_tailscale_proxy_reach_bridge',
24299
+ 'is_bridge_socks_server_healthy',
24300
+ ],
24301
+ type: 'object',
24302
+ },
24303
+ {
24304
+ description: 'Bridge has stopped communicating with Seam',
24305
+ properties: {
24306
+ created_at: {
24307
+ format: 'date-time',
24308
+ type: 'string',
24309
+ },
24310
+ error_code: {
24311
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24312
+ enum: ['no_communication_from_bridge'],
24313
+ type: 'string',
24314
+ },
24315
+ message: { type: 'string' },
24316
+ },
24317
+ required: [
24318
+ 'message',
24319
+ 'created_at',
24320
+ 'error_code',
24321
+ ],
24322
+ type: 'object',
24323
+ },
24324
+ ],
24325
+ },
24326
+ type: 'array',
24327
+ },
23701
24328
  pairing_code: {
23702
24329
  maxLength: 6,
23703
24330
  minLength: 6,
@@ -23721,6 +24348,7 @@ export default {
23721
24348
  'bridge_client_name',
23722
24349
  'bridge_client_time_zone',
23723
24350
  'bridge_client_machine_identifier_key',
24351
+ 'errors',
23724
24352
  ],
23725
24353
  type: 'object',
23726
24354
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',