@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
@@ -2439,6 +2439,170 @@ export default {
2439
2439
  type: 'string',
2440
2440
  'x-undocumented': 'Only used internally.',
2441
2441
  },
2442
+ pending_modifications: {
2443
+ items: {
2444
+ discriminator: { propertyName: 'modification_code' },
2445
+ oneOf: [
2446
+ {
2447
+ properties: {
2448
+ created_at: { format: 'date-time', type: 'string' },
2449
+ modification_code: { enum: ['profile'], type: 'string' },
2450
+ modified_from: {
2451
+ properties: {
2452
+ email_address: {
2453
+ format: 'email',
2454
+ nullable: true,
2455
+ type: 'string',
2456
+ },
2457
+ full_name: { nullable: true, type: 'string' },
2458
+ phone_number: { nullable: true, type: 'string' },
2459
+ },
2460
+ type: 'object',
2461
+ },
2462
+ modified_to: {
2463
+ properties: {
2464
+ email_address: {
2465
+ format: 'email',
2466
+ nullable: true,
2467
+ type: 'string',
2468
+ },
2469
+ full_name: { nullable: true, type: 'string' },
2470
+ phone_number: { nullable: true, type: 'string' },
2471
+ },
2472
+ type: 'object',
2473
+ },
2474
+ },
2475
+ required: [
2476
+ 'created_at',
2477
+ 'modification_code',
2478
+ 'modified_from',
2479
+ 'modified_to',
2480
+ ],
2481
+ type: 'object',
2482
+ },
2483
+ {
2484
+ properties: {
2485
+ created_at: { format: 'date-time', type: 'string' },
2486
+ modification_code: {
2487
+ enum: ['access_schedule'],
2488
+ type: 'string',
2489
+ },
2490
+ modified_from: {
2491
+ properties: {
2492
+ ends_at: {
2493
+ description:
2494
+ "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.",
2495
+ format: 'date-time',
2496
+ nullable: true,
2497
+ type: 'string',
2498
+ },
2499
+ starts_at: {
2500
+ description:
2501
+ "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.",
2502
+ format: 'date-time',
2503
+ type: 'string',
2504
+ },
2505
+ },
2506
+ required: ['starts_at', 'ends_at'],
2507
+ type: 'object',
2508
+ },
2509
+ modified_to: {
2510
+ properties: {
2511
+ ends_at: {
2512
+ description:
2513
+ "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.",
2514
+ format: 'date-time',
2515
+ nullable: true,
2516
+ type: 'string',
2517
+ },
2518
+ starts_at: {
2519
+ description:
2520
+ "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.",
2521
+ format: 'date-time',
2522
+ type: 'string',
2523
+ },
2524
+ },
2525
+ required: ['starts_at', 'ends_at'],
2526
+ type: 'object',
2527
+ },
2528
+ },
2529
+ required: [
2530
+ 'created_at',
2531
+ 'modification_code',
2532
+ 'modified_from',
2533
+ 'modified_to',
2534
+ ],
2535
+ type: 'object',
2536
+ },
2537
+ {
2538
+ properties: {
2539
+ created_at: { format: 'date-time', type: 'string' },
2540
+ modification_code: {
2541
+ enum: ['suspension_state'],
2542
+ type: 'string',
2543
+ },
2544
+ modified_from: {
2545
+ properties: { is_suspended: { type: 'boolean' } },
2546
+ required: ['is_suspended'],
2547
+ type: 'object',
2548
+ },
2549
+ modified_to: {
2550
+ properties: { is_suspended: { type: 'boolean' } },
2551
+ required: ['is_suspended'],
2552
+ type: 'object',
2553
+ },
2554
+ },
2555
+ required: [
2556
+ 'created_at',
2557
+ 'modification_code',
2558
+ 'modified_from',
2559
+ 'modified_to',
2560
+ ],
2561
+ type: 'object',
2562
+ },
2563
+ {
2564
+ properties: {
2565
+ created_at: { format: 'date-time', type: 'string' },
2566
+ modification_code: {
2567
+ enum: ['acs_access_group_membership'],
2568
+ type: 'string',
2569
+ },
2570
+ modified_from: {
2571
+ properties: {
2572
+ acs_access_group_id: {
2573
+ format: 'uuid',
2574
+ nullable: true,
2575
+ type: 'string',
2576
+ },
2577
+ },
2578
+ required: ['acs_access_group_id'],
2579
+ type: 'object',
2580
+ },
2581
+ modified_to: {
2582
+ properties: {
2583
+ acs_access_group_id: {
2584
+ format: 'uuid',
2585
+ nullable: true,
2586
+ type: 'string',
2587
+ },
2588
+ },
2589
+ required: ['acs_access_group_id'],
2590
+ type: 'object',
2591
+ },
2592
+ },
2593
+ required: [
2594
+ 'created_at',
2595
+ 'modification_code',
2596
+ 'modified_from',
2597
+ 'modified_to',
2598
+ ],
2599
+ type: 'object',
2600
+ },
2601
+ ],
2602
+ },
2603
+ type: 'array',
2604
+ 'x-undocumented': 'Experimental.',
2605
+ },
2442
2606
  phone_number: {
2443
2607
  description:
2444
2608
  'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
@@ -14559,6 +14723,170 @@ export default {
14559
14723
  type: 'string',
14560
14724
  'x-undocumented': 'Only used internally.',
14561
14725
  },
14726
+ pending_modifications: {
14727
+ items: {
14728
+ discriminator: { propertyName: 'modification_code' },
14729
+ oneOf: [
14730
+ {
14731
+ properties: {
14732
+ created_at: { format: 'date-time', type: 'string' },
14733
+ modification_code: { enum: ['profile'], type: 'string' },
14734
+ modified_from: {
14735
+ properties: {
14736
+ email_address: {
14737
+ format: 'email',
14738
+ nullable: true,
14739
+ type: 'string',
14740
+ },
14741
+ full_name: { nullable: true, type: 'string' },
14742
+ phone_number: { nullable: true, type: 'string' },
14743
+ },
14744
+ type: 'object',
14745
+ },
14746
+ modified_to: {
14747
+ properties: {
14748
+ email_address: {
14749
+ format: 'email',
14750
+ nullable: true,
14751
+ type: 'string',
14752
+ },
14753
+ full_name: { nullable: true, type: 'string' },
14754
+ phone_number: { nullable: true, type: 'string' },
14755
+ },
14756
+ type: 'object',
14757
+ },
14758
+ },
14759
+ required: [
14760
+ 'created_at',
14761
+ 'modification_code',
14762
+ 'modified_from',
14763
+ 'modified_to',
14764
+ ],
14765
+ type: 'object',
14766
+ },
14767
+ {
14768
+ properties: {
14769
+ created_at: { format: 'date-time', type: 'string' },
14770
+ modification_code: {
14771
+ enum: ['access_schedule'],
14772
+ type: 'string',
14773
+ },
14774
+ modified_from: {
14775
+ properties: {
14776
+ ends_at: {
14777
+ description:
14778
+ "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.",
14779
+ format: 'date-time',
14780
+ nullable: true,
14781
+ type: 'string',
14782
+ },
14783
+ starts_at: {
14784
+ description:
14785
+ "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.",
14786
+ format: 'date-time',
14787
+ type: 'string',
14788
+ },
14789
+ },
14790
+ required: ['starts_at', 'ends_at'],
14791
+ type: 'object',
14792
+ },
14793
+ modified_to: {
14794
+ properties: {
14795
+ ends_at: {
14796
+ description:
14797
+ "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.",
14798
+ format: 'date-time',
14799
+ nullable: true,
14800
+ type: 'string',
14801
+ },
14802
+ starts_at: {
14803
+ description:
14804
+ "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.",
14805
+ format: 'date-time',
14806
+ type: 'string',
14807
+ },
14808
+ },
14809
+ required: ['starts_at', 'ends_at'],
14810
+ type: 'object',
14811
+ },
14812
+ },
14813
+ required: [
14814
+ 'created_at',
14815
+ 'modification_code',
14816
+ 'modified_from',
14817
+ 'modified_to',
14818
+ ],
14819
+ type: 'object',
14820
+ },
14821
+ {
14822
+ properties: {
14823
+ created_at: { format: 'date-time', type: 'string' },
14824
+ modification_code: {
14825
+ enum: ['suspension_state'],
14826
+ type: 'string',
14827
+ },
14828
+ modified_from: {
14829
+ properties: { is_suspended: { type: 'boolean' } },
14830
+ required: ['is_suspended'],
14831
+ type: 'object',
14832
+ },
14833
+ modified_to: {
14834
+ properties: { is_suspended: { type: 'boolean' } },
14835
+ required: ['is_suspended'],
14836
+ type: 'object',
14837
+ },
14838
+ },
14839
+ required: [
14840
+ 'created_at',
14841
+ 'modification_code',
14842
+ 'modified_from',
14843
+ 'modified_to',
14844
+ ],
14845
+ type: 'object',
14846
+ },
14847
+ {
14848
+ properties: {
14849
+ created_at: { format: 'date-time', type: 'string' },
14850
+ modification_code: {
14851
+ enum: ['acs_access_group_membership'],
14852
+ type: 'string',
14853
+ },
14854
+ modified_from: {
14855
+ properties: {
14856
+ acs_access_group_id: {
14857
+ format: 'uuid',
14858
+ nullable: true,
14859
+ type: 'string',
14860
+ },
14861
+ },
14862
+ required: ['acs_access_group_id'],
14863
+ type: 'object',
14864
+ },
14865
+ modified_to: {
14866
+ properties: {
14867
+ acs_access_group_id: {
14868
+ format: 'uuid',
14869
+ nullable: true,
14870
+ type: 'string',
14871
+ },
14872
+ },
14873
+ required: ['acs_access_group_id'],
14874
+ type: 'object',
14875
+ },
14876
+ },
14877
+ required: [
14878
+ 'created_at',
14879
+ 'modification_code',
14880
+ 'modified_from',
14881
+ 'modified_to',
14882
+ ],
14883
+ type: 'object',
14884
+ },
14885
+ ],
14886
+ },
14887
+ type: 'array',
14888
+ 'x-undocumented': 'Experimental.',
14889
+ },
14562
14890
  phone_number: {
14563
14891
  description:
14564
14892
  'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
@@ -24894,6 +25222,92 @@ export default {
24894
25222
  bridge_client_session_token: { type: 'string' },
24895
25223
  bridge_client_time_zone: { type: 'string' },
24896
25224
  created_at: { format: 'date-time', type: 'string' },
25225
+ errors: {
25226
+ items: {
25227
+ description:
25228
+ 'Error associated with the `bridge_client_session`.',
25229
+ discriminator: { propertyName: 'error_code' },
25230
+ oneOf: [
25231
+ {
25232
+ description:
25233
+ "Seam cannot reach the bridge's LAN",
25234
+ properties: {
25235
+ can_tailscale_proxy_reach_bridge: {
25236
+ description:
25237
+ 'Tailscale proxy cannot reach the bridge',
25238
+ type: 'boolean',
25239
+ },
25240
+ can_tailscale_proxy_reach_tailscale_network: {
25241
+ description:
25242
+ 'Tailscale proxy cannot reach the Tailscale network',
25243
+ type: 'boolean',
25244
+ },
25245
+ created_at: {
25246
+ format: 'date-time',
25247
+ type: 'string',
25248
+ },
25249
+ error_code: {
25250
+ description:
25251
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25252
+ enum: ['bridge_lan_unreachable'],
25253
+ type: 'string',
25254
+ },
25255
+ is_bridge_socks_server_healthy: {
25256
+ description:
25257
+ "Bridge's SOCKS server is unhealthy",
25258
+ type: 'boolean',
25259
+ },
25260
+ is_tailscale_proxy_reachable: {
25261
+ description:
25262
+ 'Seam cannot reach the tailscale proxy',
25263
+ type: 'boolean',
25264
+ },
25265
+ is_tailscale_proxy_socks_server_healthy: {
25266
+ description:
25267
+ "Tailscale proxy's SOCKS server is unhealthy",
25268
+ type: 'boolean',
25269
+ },
25270
+ message: { type: 'string' },
25271
+ },
25272
+ required: [
25273
+ 'message',
25274
+ 'created_at',
25275
+ 'error_code',
25276
+ 'is_tailscale_proxy_reachable',
25277
+ 'is_tailscale_proxy_socks_server_healthy',
25278
+ 'can_tailscale_proxy_reach_tailscale_network',
25279
+ 'can_tailscale_proxy_reach_bridge',
25280
+ 'is_bridge_socks_server_healthy',
25281
+ ],
25282
+ type: 'object',
25283
+ },
25284
+ {
25285
+ description:
25286
+ 'Bridge has stopped communicating with Seam',
25287
+ properties: {
25288
+ created_at: {
25289
+ format: 'date-time',
25290
+ type: 'string',
25291
+ },
25292
+ error_code: {
25293
+ description:
25294
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25295
+ enum: ['no_communication_from_bridge'],
25296
+ type: 'string',
25297
+ },
25298
+ message: { type: 'string' },
25299
+ },
25300
+ required: [
25301
+ 'message',
25302
+ 'created_at',
25303
+ 'error_code',
25304
+ ],
25305
+ type: 'object',
25306
+ },
25307
+ ],
25308
+ },
25309
+ type: 'array',
25310
+ },
24897
25311
  pairing_code: {
24898
25312
  maxLength: 6,
24899
25313
  minLength: 6,
@@ -24917,6 +25331,7 @@ export default {
24917
25331
  'bridge_client_name',
24918
25332
  'bridge_client_time_zone',
24919
25333
  'bridge_client_machine_identifier_key',
25334
+ 'errors',
24920
25335
  ],
24921
25336
  type: 'object',
24922
25337
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -24974,6 +25389,92 @@ export default {
24974
25389
  bridge_client_session_token: { type: 'string' },
24975
25390
  bridge_client_time_zone: { type: 'string' },
24976
25391
  created_at: { format: 'date-time', type: 'string' },
25392
+ errors: {
25393
+ items: {
25394
+ description:
25395
+ 'Error associated with the `bridge_client_session`.',
25396
+ discriminator: { propertyName: 'error_code' },
25397
+ oneOf: [
25398
+ {
25399
+ description:
25400
+ "Seam cannot reach the bridge's LAN",
25401
+ properties: {
25402
+ can_tailscale_proxy_reach_bridge: {
25403
+ description:
25404
+ 'Tailscale proxy cannot reach the bridge',
25405
+ type: 'boolean',
25406
+ },
25407
+ can_tailscale_proxy_reach_tailscale_network: {
25408
+ description:
25409
+ 'Tailscale proxy cannot reach the Tailscale network',
25410
+ type: 'boolean',
25411
+ },
25412
+ created_at: {
25413
+ format: 'date-time',
25414
+ type: 'string',
25415
+ },
25416
+ error_code: {
25417
+ description:
25418
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25419
+ enum: ['bridge_lan_unreachable'],
25420
+ type: 'string',
25421
+ },
25422
+ is_bridge_socks_server_healthy: {
25423
+ description:
25424
+ "Bridge's SOCKS server is unhealthy",
25425
+ type: 'boolean',
25426
+ },
25427
+ is_tailscale_proxy_reachable: {
25428
+ description:
25429
+ 'Seam cannot reach the tailscale proxy',
25430
+ type: 'boolean',
25431
+ },
25432
+ is_tailscale_proxy_socks_server_healthy: {
25433
+ description:
25434
+ "Tailscale proxy's SOCKS server is unhealthy",
25435
+ type: 'boolean',
25436
+ },
25437
+ message: { type: 'string' },
25438
+ },
25439
+ required: [
25440
+ 'message',
25441
+ 'created_at',
25442
+ 'error_code',
25443
+ 'is_tailscale_proxy_reachable',
25444
+ 'is_tailscale_proxy_socks_server_healthy',
25445
+ 'can_tailscale_proxy_reach_tailscale_network',
25446
+ 'can_tailscale_proxy_reach_bridge',
25447
+ 'is_bridge_socks_server_healthy',
25448
+ ],
25449
+ type: 'object',
25450
+ },
25451
+ {
25452
+ description:
25453
+ 'Bridge has stopped communicating with Seam',
25454
+ properties: {
25455
+ created_at: {
25456
+ format: 'date-time',
25457
+ type: 'string',
25458
+ },
25459
+ error_code: {
25460
+ description:
25461
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25462
+ enum: ['no_communication_from_bridge'],
25463
+ type: 'string',
25464
+ },
25465
+ message: { type: 'string' },
25466
+ },
25467
+ required: [
25468
+ 'message',
25469
+ 'created_at',
25470
+ 'error_code',
25471
+ ],
25472
+ type: 'object',
25473
+ },
25474
+ ],
25475
+ },
25476
+ type: 'array',
25477
+ },
24977
25478
  pairing_code: {
24978
25479
  maxLength: 6,
24979
25480
  minLength: 6,
@@ -24997,6 +25498,7 @@ export default {
24997
25498
  'bridge_client_name',
24998
25499
  'bridge_client_time_zone',
24999
25500
  'bridge_client_machine_identifier_key',
25501
+ 'errors',
25000
25502
  ],
25001
25503
  type: 'object',
25002
25504
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -25045,6 +25547,92 @@ export default {
25045
25547
  bridge_client_session_token: { type: 'string' },
25046
25548
  bridge_client_time_zone: { type: 'string' },
25047
25549
  created_at: { format: 'date-time', type: 'string' },
25550
+ errors: {
25551
+ items: {
25552
+ description:
25553
+ 'Error associated with the `bridge_client_session`.',
25554
+ discriminator: { propertyName: 'error_code' },
25555
+ oneOf: [
25556
+ {
25557
+ description:
25558
+ "Seam cannot reach the bridge's LAN",
25559
+ properties: {
25560
+ can_tailscale_proxy_reach_bridge: {
25561
+ description:
25562
+ 'Tailscale proxy cannot reach the bridge',
25563
+ type: 'boolean',
25564
+ },
25565
+ can_tailscale_proxy_reach_tailscale_network: {
25566
+ description:
25567
+ 'Tailscale proxy cannot reach the Tailscale network',
25568
+ type: 'boolean',
25569
+ },
25570
+ created_at: {
25571
+ format: 'date-time',
25572
+ type: 'string',
25573
+ },
25574
+ error_code: {
25575
+ description:
25576
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25577
+ enum: ['bridge_lan_unreachable'],
25578
+ type: 'string',
25579
+ },
25580
+ is_bridge_socks_server_healthy: {
25581
+ description:
25582
+ "Bridge's SOCKS server is unhealthy",
25583
+ type: 'boolean',
25584
+ },
25585
+ is_tailscale_proxy_reachable: {
25586
+ description:
25587
+ 'Seam cannot reach the tailscale proxy',
25588
+ type: 'boolean',
25589
+ },
25590
+ is_tailscale_proxy_socks_server_healthy: {
25591
+ description:
25592
+ "Tailscale proxy's SOCKS server is unhealthy",
25593
+ type: 'boolean',
25594
+ },
25595
+ message: { type: 'string' },
25596
+ },
25597
+ required: [
25598
+ 'message',
25599
+ 'created_at',
25600
+ 'error_code',
25601
+ 'is_tailscale_proxy_reachable',
25602
+ 'is_tailscale_proxy_socks_server_healthy',
25603
+ 'can_tailscale_proxy_reach_tailscale_network',
25604
+ 'can_tailscale_proxy_reach_bridge',
25605
+ 'is_bridge_socks_server_healthy',
25606
+ ],
25607
+ type: 'object',
25608
+ },
25609
+ {
25610
+ description:
25611
+ 'Bridge has stopped communicating with Seam',
25612
+ properties: {
25613
+ created_at: {
25614
+ format: 'date-time',
25615
+ type: 'string',
25616
+ },
25617
+ error_code: {
25618
+ description:
25619
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25620
+ enum: ['no_communication_from_bridge'],
25621
+ type: 'string',
25622
+ },
25623
+ message: { type: 'string' },
25624
+ },
25625
+ required: [
25626
+ 'message',
25627
+ 'created_at',
25628
+ 'error_code',
25629
+ ],
25630
+ type: 'object',
25631
+ },
25632
+ ],
25633
+ },
25634
+ type: 'array',
25635
+ },
25048
25636
  pairing_code: {
25049
25637
  maxLength: 6,
25050
25638
  minLength: 6,
@@ -25068,6 +25656,7 @@ export default {
25068
25656
  'bridge_client_name',
25069
25657
  'bridge_client_time_zone',
25070
25658
  'bridge_client_machine_identifier_key',
25659
+ 'errors',
25071
25660
  ],
25072
25661
  type: 'object',
25073
25662
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -25126,6 +25715,92 @@ export default {
25126
25715
  bridge_client_session_token: { type: 'string' },
25127
25716
  bridge_client_time_zone: { type: 'string' },
25128
25717
  created_at: { format: 'date-time', type: 'string' },
25718
+ errors: {
25719
+ items: {
25720
+ description:
25721
+ 'Error associated with the `bridge_client_session`.',
25722
+ discriminator: { propertyName: 'error_code' },
25723
+ oneOf: [
25724
+ {
25725
+ description:
25726
+ "Seam cannot reach the bridge's LAN",
25727
+ properties: {
25728
+ can_tailscale_proxy_reach_bridge: {
25729
+ description:
25730
+ 'Tailscale proxy cannot reach the bridge',
25731
+ type: 'boolean',
25732
+ },
25733
+ can_tailscale_proxy_reach_tailscale_network: {
25734
+ description:
25735
+ 'Tailscale proxy cannot reach the Tailscale network',
25736
+ type: 'boolean',
25737
+ },
25738
+ created_at: {
25739
+ format: 'date-time',
25740
+ type: 'string',
25741
+ },
25742
+ error_code: {
25743
+ description:
25744
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25745
+ enum: ['bridge_lan_unreachable'],
25746
+ type: 'string',
25747
+ },
25748
+ is_bridge_socks_server_healthy: {
25749
+ description:
25750
+ "Bridge's SOCKS server is unhealthy",
25751
+ type: 'boolean',
25752
+ },
25753
+ is_tailscale_proxy_reachable: {
25754
+ description:
25755
+ 'Seam cannot reach the tailscale proxy',
25756
+ type: 'boolean',
25757
+ },
25758
+ is_tailscale_proxy_socks_server_healthy: {
25759
+ description:
25760
+ "Tailscale proxy's SOCKS server is unhealthy",
25761
+ type: 'boolean',
25762
+ },
25763
+ message: { type: 'string' },
25764
+ },
25765
+ required: [
25766
+ 'message',
25767
+ 'created_at',
25768
+ 'error_code',
25769
+ 'is_tailscale_proxy_reachable',
25770
+ 'is_tailscale_proxy_socks_server_healthy',
25771
+ 'can_tailscale_proxy_reach_tailscale_network',
25772
+ 'can_tailscale_proxy_reach_bridge',
25773
+ 'is_bridge_socks_server_healthy',
25774
+ ],
25775
+ type: 'object',
25776
+ },
25777
+ {
25778
+ description:
25779
+ 'Bridge has stopped communicating with Seam',
25780
+ properties: {
25781
+ created_at: {
25782
+ format: 'date-time',
25783
+ type: 'string',
25784
+ },
25785
+ error_code: {
25786
+ description:
25787
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
25788
+ enum: ['no_communication_from_bridge'],
25789
+ type: 'string',
25790
+ },
25791
+ message: { type: 'string' },
25792
+ },
25793
+ required: [
25794
+ 'message',
25795
+ 'created_at',
25796
+ 'error_code',
25797
+ ],
25798
+ type: 'object',
25799
+ },
25800
+ ],
25801
+ },
25802
+ type: 'array',
25803
+ },
25129
25804
  pairing_code: {
25130
25805
  maxLength: 6,
25131
25806
  minLength: 6,
@@ -25149,6 +25824,7 @@ export default {
25149
25824
  'bridge_client_name',
25150
25825
  'bridge_client_time_zone',
25151
25826
  'bridge_client_machine_identifier_key',
25827
+ 'errors',
25152
25828
  ],
25153
25829
  type: 'object',
25154
25830
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',