@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
package/dist/connect.cjs CHANGED
@@ -2322,8 +2322,51 @@ var start_end_schedule = zod.z.object({
2322
2322
  ).nullable()
2323
2323
  });
2324
2324
  var schedule = start_end_schedule;
2325
+ var common_pending_modification = zod.z.object({
2326
+ created_at: zod.z.string().datetime()
2327
+ });
2328
+ var acs_user_profile = zod.z.object({
2329
+ email_address: zod.z.string().email().nullable(),
2330
+ full_name: zod.z.string().nullable(),
2331
+ phone_number: phone_number.optional().nullable()
2332
+ });
2333
+ var profile_pending_modification = common_pending_modification.extend({
2334
+ modification_code: zod.z.literal("profile"),
2335
+ modified_from: acs_user_profile.partial(),
2336
+ modified_to: acs_user_profile.partial()
2337
+ });
2338
+ var access_schedule_pending_modification = common_pending_modification.extend(
2339
+ {
2340
+ modification_code: zod.z.literal("access_schedule"),
2341
+ modified_from: schedule,
2342
+ modified_to: schedule
2343
+ }
2344
+ );
2345
+ var suspension_state_pending_modification = common_pending_modification.extend({
2346
+ modification_code: zod.z.literal("suspension_state"),
2347
+ modified_from: zod.z.object({ is_suspended: zod.z.boolean() }),
2348
+ modified_to: zod.z.object({ is_suspended: zod.z.boolean() })
2349
+ });
2350
+ var acs_access_group_membership_pending_modification = common_pending_modification.extend({
2351
+ modification_code: zod.z.literal("acs_access_group_membership"),
2352
+ modified_from: zod.z.object({
2353
+ acs_access_group_id: zod.z.string().uuid().nullable()
2354
+ }),
2355
+ modified_to: zod.z.object({
2356
+ acs_access_group_id: zod.z.string().uuid().nullable()
2357
+ })
2358
+ });
2359
+ var acs_user_pending_modification = zod.z.discriminatedUnion(
2360
+ "modification_code",
2361
+ [
2362
+ profile_pending_modification,
2363
+ access_schedule_pending_modification,
2364
+ suspension_state_pending_modification,
2365
+ acs_access_group_membership_pending_modification
2366
+ ]
2367
+ );
2325
2368
 
2326
- // src/lib/seam/connect/models/acs/acs-user.ts
2369
+ // src/lib/seam/connect/models/acs/acs-users/acs-user.ts
2327
2370
  var acs_user_external_type = zod.z.enum([
2328
2371
  "pti_user",
2329
2372
  "brivo_user",
@@ -2503,7 +2546,12 @@ var common_acs_user = zod.z.object({
2503
2546
  ),
2504
2547
  errors: zod.z.array(acs_user_errors).describe(
2505
2548
  "Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
2506
- )
2549
+ ),
2550
+ pending_modifications: zod.z.array(acs_user_pending_modification).optional().describe(`
2551
+ ---
2552
+ undocumented: Experimental.
2553
+ ---
2554
+ `)
2507
2555
  }).merge(user_fields);
2508
2556
  var acs_user = common_acs_user.merge(
2509
2557
  zod.z.object({
@@ -2866,6 +2914,30 @@ undocumented: Unreleased.
2866
2914
  route_path: /bridges
2867
2915
  ---
2868
2916
  `);
2917
+ var common_bridge_client_session_error = zod.z.object({
2918
+ message: zod.z.string(),
2919
+ created_at: zod.z.string().datetime()
2920
+ });
2921
+ var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2922
+ var bridge_lan_unreachable = common_bridge_client_session_error.extend({
2923
+ error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description6),
2924
+ is_tailscale_proxy_reachable: zod.z.boolean().describe("Seam cannot reach the tailscale proxy"),
2925
+ is_tailscale_proxy_socks_server_healthy: zod.z.boolean().describe("Tailscale proxy's SOCKS server is unhealthy"),
2926
+ can_tailscale_proxy_reach_tailscale_network: zod.z.boolean().describe("Tailscale proxy cannot reach the Tailscale network"),
2927
+ can_tailscale_proxy_reach_bridge: zod.z.boolean().describe("Tailscale proxy cannot reach the bridge"),
2928
+ is_bridge_socks_server_healthy: zod.z.boolean().describe("Bridge's SOCKS server is unhealthy")
2929
+ }).describe("Seam cannot reach the bridge's LAN");
2930
+ var no_communication_from_bridge = common_bridge_client_session_error.extend({
2931
+ error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description6)
2932
+ }).describe("Bridge has stopped communicating with Seam");
2933
+ var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
2934
+ bridge_lan_unreachable,
2935
+ no_communication_from_bridge
2936
+ ]).describe("Error associated with the `bridge_client_session`.");
2937
+ zod.z.object({
2938
+ bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
2939
+ no_communication_from_bridge: no_communication_from_bridge.optional().nullable()
2940
+ });
2869
2941
  var bridge_client_session = zod.z.object({
2870
2942
  created_at: zod.z.string().datetime(),
2871
2943
  bridge_client_session_id: zod.z.string().uuid(),
@@ -2876,7 +2948,8 @@ var bridge_client_session = zod.z.object({
2876
2948
  tailscale_auth_key: zod.z.string().nullable(),
2877
2949
  bridge_client_name: zod.z.string(),
2878
2950
  bridge_client_time_zone: zod.z.string(),
2879
- bridge_client_machine_identifier_key: zod.z.string()
2951
+ bridge_client_machine_identifier_key: zod.z.string(),
2952
+ errors: zod.z.array(bridge_client_session_error)
2880
2953
  }).describe(`
2881
2954
  ---
2882
2955
  route_path: /seam/bridge/v1/bridge_client_sessions
@@ -6200,6 +6273,166 @@ var openapi_default = {
6200
6273
  type: "string",
6201
6274
  "x-undocumented": "Only used internally."
6202
6275
  },
6276
+ pending_modifications: {
6277
+ items: {
6278
+ discriminator: { propertyName: "modification_code" },
6279
+ oneOf: [
6280
+ {
6281
+ properties: {
6282
+ created_at: { format: "date-time", type: "string" },
6283
+ modification_code: { enum: ["profile"], type: "string" },
6284
+ modified_from: {
6285
+ properties: {
6286
+ email_address: {
6287
+ format: "email",
6288
+ nullable: true,
6289
+ type: "string"
6290
+ },
6291
+ full_name: { nullable: true, type: "string" },
6292
+ phone_number: { nullable: true, type: "string" }
6293
+ },
6294
+ type: "object"
6295
+ },
6296
+ modified_to: {
6297
+ properties: {
6298
+ email_address: {
6299
+ format: "email",
6300
+ nullable: true,
6301
+ type: "string"
6302
+ },
6303
+ full_name: { nullable: true, type: "string" },
6304
+ phone_number: { nullable: true, type: "string" }
6305
+ },
6306
+ type: "object"
6307
+ }
6308
+ },
6309
+ required: [
6310
+ "created_at",
6311
+ "modification_code",
6312
+ "modified_from",
6313
+ "modified_to"
6314
+ ],
6315
+ type: "object"
6316
+ },
6317
+ {
6318
+ properties: {
6319
+ created_at: { format: "date-time", type: "string" },
6320
+ modification_code: {
6321
+ enum: ["access_schedule"],
6322
+ type: "string"
6323
+ },
6324
+ modified_from: {
6325
+ properties: {
6326
+ ends_at: {
6327
+ 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.",
6328
+ format: "date-time",
6329
+ nullable: true,
6330
+ type: "string"
6331
+ },
6332
+ starts_at: {
6333
+ 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.",
6334
+ format: "date-time",
6335
+ type: "string"
6336
+ }
6337
+ },
6338
+ required: ["starts_at", "ends_at"],
6339
+ type: "object"
6340
+ },
6341
+ modified_to: {
6342
+ properties: {
6343
+ ends_at: {
6344
+ 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.",
6345
+ format: "date-time",
6346
+ nullable: true,
6347
+ type: "string"
6348
+ },
6349
+ starts_at: {
6350
+ 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.",
6351
+ format: "date-time",
6352
+ type: "string"
6353
+ }
6354
+ },
6355
+ required: ["starts_at", "ends_at"],
6356
+ type: "object"
6357
+ }
6358
+ },
6359
+ required: [
6360
+ "created_at",
6361
+ "modification_code",
6362
+ "modified_from",
6363
+ "modified_to"
6364
+ ],
6365
+ type: "object"
6366
+ },
6367
+ {
6368
+ properties: {
6369
+ created_at: { format: "date-time", type: "string" },
6370
+ modification_code: {
6371
+ enum: ["suspension_state"],
6372
+ type: "string"
6373
+ },
6374
+ modified_from: {
6375
+ properties: { is_suspended: { type: "boolean" } },
6376
+ required: ["is_suspended"],
6377
+ type: "object"
6378
+ },
6379
+ modified_to: {
6380
+ properties: { is_suspended: { type: "boolean" } },
6381
+ required: ["is_suspended"],
6382
+ type: "object"
6383
+ }
6384
+ },
6385
+ required: [
6386
+ "created_at",
6387
+ "modification_code",
6388
+ "modified_from",
6389
+ "modified_to"
6390
+ ],
6391
+ type: "object"
6392
+ },
6393
+ {
6394
+ properties: {
6395
+ created_at: { format: "date-time", type: "string" },
6396
+ modification_code: {
6397
+ enum: ["acs_access_group_membership"],
6398
+ type: "string"
6399
+ },
6400
+ modified_from: {
6401
+ properties: {
6402
+ acs_access_group_id: {
6403
+ format: "uuid",
6404
+ nullable: true,
6405
+ type: "string"
6406
+ }
6407
+ },
6408
+ required: ["acs_access_group_id"],
6409
+ type: "object"
6410
+ },
6411
+ modified_to: {
6412
+ properties: {
6413
+ acs_access_group_id: {
6414
+ format: "uuid",
6415
+ nullable: true,
6416
+ type: "string"
6417
+ }
6418
+ },
6419
+ required: ["acs_access_group_id"],
6420
+ type: "object"
6421
+ }
6422
+ },
6423
+ required: [
6424
+ "created_at",
6425
+ "modification_code",
6426
+ "modified_from",
6427
+ "modified_to"
6428
+ ],
6429
+ type: "object"
6430
+ }
6431
+ ]
6432
+ },
6433
+ type: "array",
6434
+ "x-undocumented": "Experimental."
6435
+ },
6203
6436
  phone_number: {
6204
6437
  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`).",
6205
6438
  type: "string"
@@ -17420,6 +17653,166 @@ var openapi_default = {
17420
17653
  type: "string",
17421
17654
  "x-undocumented": "Only used internally."
17422
17655
  },
17656
+ pending_modifications: {
17657
+ items: {
17658
+ discriminator: { propertyName: "modification_code" },
17659
+ oneOf: [
17660
+ {
17661
+ properties: {
17662
+ created_at: { format: "date-time", type: "string" },
17663
+ modification_code: { enum: ["profile"], type: "string" },
17664
+ modified_from: {
17665
+ properties: {
17666
+ email_address: {
17667
+ format: "email",
17668
+ nullable: true,
17669
+ type: "string"
17670
+ },
17671
+ full_name: { nullable: true, type: "string" },
17672
+ phone_number: { nullable: true, type: "string" }
17673
+ },
17674
+ type: "object"
17675
+ },
17676
+ modified_to: {
17677
+ properties: {
17678
+ email_address: {
17679
+ format: "email",
17680
+ nullable: true,
17681
+ type: "string"
17682
+ },
17683
+ full_name: { nullable: true, type: "string" },
17684
+ phone_number: { nullable: true, type: "string" }
17685
+ },
17686
+ type: "object"
17687
+ }
17688
+ },
17689
+ required: [
17690
+ "created_at",
17691
+ "modification_code",
17692
+ "modified_from",
17693
+ "modified_to"
17694
+ ],
17695
+ type: "object"
17696
+ },
17697
+ {
17698
+ properties: {
17699
+ created_at: { format: "date-time", type: "string" },
17700
+ modification_code: {
17701
+ enum: ["access_schedule"],
17702
+ type: "string"
17703
+ },
17704
+ modified_from: {
17705
+ properties: {
17706
+ ends_at: {
17707
+ 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.",
17708
+ format: "date-time",
17709
+ nullable: true,
17710
+ type: "string"
17711
+ },
17712
+ starts_at: {
17713
+ 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.",
17714
+ format: "date-time",
17715
+ type: "string"
17716
+ }
17717
+ },
17718
+ required: ["starts_at", "ends_at"],
17719
+ type: "object"
17720
+ },
17721
+ modified_to: {
17722
+ properties: {
17723
+ ends_at: {
17724
+ 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.",
17725
+ format: "date-time",
17726
+ nullable: true,
17727
+ type: "string"
17728
+ },
17729
+ starts_at: {
17730
+ 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.",
17731
+ format: "date-time",
17732
+ type: "string"
17733
+ }
17734
+ },
17735
+ required: ["starts_at", "ends_at"],
17736
+ type: "object"
17737
+ }
17738
+ },
17739
+ required: [
17740
+ "created_at",
17741
+ "modification_code",
17742
+ "modified_from",
17743
+ "modified_to"
17744
+ ],
17745
+ type: "object"
17746
+ },
17747
+ {
17748
+ properties: {
17749
+ created_at: { format: "date-time", type: "string" },
17750
+ modification_code: {
17751
+ enum: ["suspension_state"],
17752
+ type: "string"
17753
+ },
17754
+ modified_from: {
17755
+ properties: { is_suspended: { type: "boolean" } },
17756
+ required: ["is_suspended"],
17757
+ type: "object"
17758
+ },
17759
+ modified_to: {
17760
+ properties: { is_suspended: { type: "boolean" } },
17761
+ required: ["is_suspended"],
17762
+ type: "object"
17763
+ }
17764
+ },
17765
+ required: [
17766
+ "created_at",
17767
+ "modification_code",
17768
+ "modified_from",
17769
+ "modified_to"
17770
+ ],
17771
+ type: "object"
17772
+ },
17773
+ {
17774
+ properties: {
17775
+ created_at: { format: "date-time", type: "string" },
17776
+ modification_code: {
17777
+ enum: ["acs_access_group_membership"],
17778
+ type: "string"
17779
+ },
17780
+ modified_from: {
17781
+ properties: {
17782
+ acs_access_group_id: {
17783
+ format: "uuid",
17784
+ nullable: true,
17785
+ type: "string"
17786
+ }
17787
+ },
17788
+ required: ["acs_access_group_id"],
17789
+ type: "object"
17790
+ },
17791
+ modified_to: {
17792
+ properties: {
17793
+ acs_access_group_id: {
17794
+ format: "uuid",
17795
+ nullable: true,
17796
+ type: "string"
17797
+ }
17798
+ },
17799
+ required: ["acs_access_group_id"],
17800
+ type: "object"
17801
+ }
17802
+ },
17803
+ required: [
17804
+ "created_at",
17805
+ "modification_code",
17806
+ "modified_from",
17807
+ "modified_to"
17808
+ ],
17809
+ type: "object"
17810
+ }
17811
+ ]
17812
+ },
17813
+ type: "array",
17814
+ "x-undocumented": "Experimental."
17815
+ },
17423
17816
  phone_number: {
17424
17817
  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`).",
17425
17818
  type: "string"
@@ -27481,6 +27874,82 @@ var openapi_default = {
27481
27874
  bridge_client_session_token: { type: "string" },
27482
27875
  bridge_client_time_zone: { type: "string" },
27483
27876
  created_at: { format: "date-time", type: "string" },
27877
+ errors: {
27878
+ items: {
27879
+ description: "Error associated with the `bridge_client_session`.",
27880
+ discriminator: { propertyName: "error_code" },
27881
+ oneOf: [
27882
+ {
27883
+ description: "Seam cannot reach the bridge's LAN",
27884
+ properties: {
27885
+ can_tailscale_proxy_reach_bridge: {
27886
+ description: "Tailscale proxy cannot reach the bridge",
27887
+ type: "boolean"
27888
+ },
27889
+ can_tailscale_proxy_reach_tailscale_network: {
27890
+ description: "Tailscale proxy cannot reach the Tailscale network",
27891
+ type: "boolean"
27892
+ },
27893
+ created_at: {
27894
+ format: "date-time",
27895
+ type: "string"
27896
+ },
27897
+ error_code: {
27898
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
27899
+ enum: ["bridge_lan_unreachable"],
27900
+ type: "string"
27901
+ },
27902
+ is_bridge_socks_server_healthy: {
27903
+ description: "Bridge's SOCKS server is unhealthy",
27904
+ type: "boolean"
27905
+ },
27906
+ is_tailscale_proxy_reachable: {
27907
+ description: "Seam cannot reach the tailscale proxy",
27908
+ type: "boolean"
27909
+ },
27910
+ is_tailscale_proxy_socks_server_healthy: {
27911
+ description: "Tailscale proxy's SOCKS server is unhealthy",
27912
+ type: "boolean"
27913
+ },
27914
+ message: { type: "string" }
27915
+ },
27916
+ required: [
27917
+ "message",
27918
+ "created_at",
27919
+ "error_code",
27920
+ "is_tailscale_proxy_reachable",
27921
+ "is_tailscale_proxy_socks_server_healthy",
27922
+ "can_tailscale_proxy_reach_tailscale_network",
27923
+ "can_tailscale_proxy_reach_bridge",
27924
+ "is_bridge_socks_server_healthy"
27925
+ ],
27926
+ type: "object"
27927
+ },
27928
+ {
27929
+ description: "Bridge has stopped communicating with Seam",
27930
+ properties: {
27931
+ created_at: {
27932
+ format: "date-time",
27933
+ type: "string"
27934
+ },
27935
+ error_code: {
27936
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
27937
+ enum: ["no_communication_from_bridge"],
27938
+ type: "string"
27939
+ },
27940
+ message: { type: "string" }
27941
+ },
27942
+ required: [
27943
+ "message",
27944
+ "created_at",
27945
+ "error_code"
27946
+ ],
27947
+ type: "object"
27948
+ }
27949
+ ]
27950
+ },
27951
+ type: "array"
27952
+ },
27484
27953
  pairing_code: {
27485
27954
  maxLength: 6,
27486
27955
  minLength: 6,
@@ -27503,7 +27972,8 @@ var openapi_default = {
27503
27972
  "tailscale_auth_key",
27504
27973
  "bridge_client_name",
27505
27974
  "bridge_client_time_zone",
27506
- "bridge_client_machine_identifier_key"
27975
+ "bridge_client_machine_identifier_key",
27976
+ "errors"
27507
27977
  ],
27508
27978
  type: "object",
27509
27979
  "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
@@ -27560,6 +28030,82 @@ var openapi_default = {
27560
28030
  bridge_client_session_token: { type: "string" },
27561
28031
  bridge_client_time_zone: { type: "string" },
27562
28032
  created_at: { format: "date-time", type: "string" },
28033
+ errors: {
28034
+ items: {
28035
+ description: "Error associated with the `bridge_client_session`.",
28036
+ discriminator: { propertyName: "error_code" },
28037
+ oneOf: [
28038
+ {
28039
+ description: "Seam cannot reach the bridge's LAN",
28040
+ properties: {
28041
+ can_tailscale_proxy_reach_bridge: {
28042
+ description: "Tailscale proxy cannot reach the bridge",
28043
+ type: "boolean"
28044
+ },
28045
+ can_tailscale_proxy_reach_tailscale_network: {
28046
+ description: "Tailscale proxy cannot reach the Tailscale network",
28047
+ type: "boolean"
28048
+ },
28049
+ created_at: {
28050
+ format: "date-time",
28051
+ type: "string"
28052
+ },
28053
+ error_code: {
28054
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28055
+ enum: ["bridge_lan_unreachable"],
28056
+ type: "string"
28057
+ },
28058
+ is_bridge_socks_server_healthy: {
28059
+ description: "Bridge's SOCKS server is unhealthy",
28060
+ type: "boolean"
28061
+ },
28062
+ is_tailscale_proxy_reachable: {
28063
+ description: "Seam cannot reach the tailscale proxy",
28064
+ type: "boolean"
28065
+ },
28066
+ is_tailscale_proxy_socks_server_healthy: {
28067
+ description: "Tailscale proxy's SOCKS server is unhealthy",
28068
+ type: "boolean"
28069
+ },
28070
+ message: { type: "string" }
28071
+ },
28072
+ required: [
28073
+ "message",
28074
+ "created_at",
28075
+ "error_code",
28076
+ "is_tailscale_proxy_reachable",
28077
+ "is_tailscale_proxy_socks_server_healthy",
28078
+ "can_tailscale_proxy_reach_tailscale_network",
28079
+ "can_tailscale_proxy_reach_bridge",
28080
+ "is_bridge_socks_server_healthy"
28081
+ ],
28082
+ type: "object"
28083
+ },
28084
+ {
28085
+ description: "Bridge has stopped communicating with Seam",
28086
+ properties: {
28087
+ created_at: {
28088
+ format: "date-time",
28089
+ type: "string"
28090
+ },
28091
+ error_code: {
28092
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28093
+ enum: ["no_communication_from_bridge"],
28094
+ type: "string"
28095
+ },
28096
+ message: { type: "string" }
28097
+ },
28098
+ required: [
28099
+ "message",
28100
+ "created_at",
28101
+ "error_code"
28102
+ ],
28103
+ type: "object"
28104
+ }
28105
+ ]
28106
+ },
28107
+ type: "array"
28108
+ },
27563
28109
  pairing_code: {
27564
28110
  maxLength: 6,
27565
28111
  minLength: 6,
@@ -27582,7 +28128,8 @@ var openapi_default = {
27582
28128
  "tailscale_auth_key",
27583
28129
  "bridge_client_name",
27584
28130
  "bridge_client_time_zone",
27585
- "bridge_client_machine_identifier_key"
28131
+ "bridge_client_machine_identifier_key",
28132
+ "errors"
27586
28133
  ],
27587
28134
  type: "object",
27588
28135
  "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
@@ -27630,6 +28177,82 @@ var openapi_default = {
27630
28177
  bridge_client_session_token: { type: "string" },
27631
28178
  bridge_client_time_zone: { type: "string" },
27632
28179
  created_at: { format: "date-time", type: "string" },
28180
+ errors: {
28181
+ items: {
28182
+ description: "Error associated with the `bridge_client_session`.",
28183
+ discriminator: { propertyName: "error_code" },
28184
+ oneOf: [
28185
+ {
28186
+ description: "Seam cannot reach the bridge's LAN",
28187
+ properties: {
28188
+ can_tailscale_proxy_reach_bridge: {
28189
+ description: "Tailscale proxy cannot reach the bridge",
28190
+ type: "boolean"
28191
+ },
28192
+ can_tailscale_proxy_reach_tailscale_network: {
28193
+ description: "Tailscale proxy cannot reach the Tailscale network",
28194
+ type: "boolean"
28195
+ },
28196
+ created_at: {
28197
+ format: "date-time",
28198
+ type: "string"
28199
+ },
28200
+ error_code: {
28201
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28202
+ enum: ["bridge_lan_unreachable"],
28203
+ type: "string"
28204
+ },
28205
+ is_bridge_socks_server_healthy: {
28206
+ description: "Bridge's SOCKS server is unhealthy",
28207
+ type: "boolean"
28208
+ },
28209
+ is_tailscale_proxy_reachable: {
28210
+ description: "Seam cannot reach the tailscale proxy",
28211
+ type: "boolean"
28212
+ },
28213
+ is_tailscale_proxy_socks_server_healthy: {
28214
+ description: "Tailscale proxy's SOCKS server is unhealthy",
28215
+ type: "boolean"
28216
+ },
28217
+ message: { type: "string" }
28218
+ },
28219
+ required: [
28220
+ "message",
28221
+ "created_at",
28222
+ "error_code",
28223
+ "is_tailscale_proxy_reachable",
28224
+ "is_tailscale_proxy_socks_server_healthy",
28225
+ "can_tailscale_proxy_reach_tailscale_network",
28226
+ "can_tailscale_proxy_reach_bridge",
28227
+ "is_bridge_socks_server_healthy"
28228
+ ],
28229
+ type: "object"
28230
+ },
28231
+ {
28232
+ description: "Bridge has stopped communicating with Seam",
28233
+ properties: {
28234
+ created_at: {
28235
+ format: "date-time",
28236
+ type: "string"
28237
+ },
28238
+ error_code: {
28239
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28240
+ enum: ["no_communication_from_bridge"],
28241
+ type: "string"
28242
+ },
28243
+ message: { type: "string" }
28244
+ },
28245
+ required: [
28246
+ "message",
28247
+ "created_at",
28248
+ "error_code"
28249
+ ],
28250
+ type: "object"
28251
+ }
28252
+ ]
28253
+ },
28254
+ type: "array"
28255
+ },
27633
28256
  pairing_code: {
27634
28257
  maxLength: 6,
27635
28258
  minLength: 6,
@@ -27652,7 +28275,8 @@ var openapi_default = {
27652
28275
  "tailscale_auth_key",
27653
28276
  "bridge_client_name",
27654
28277
  "bridge_client_time_zone",
27655
- "bridge_client_machine_identifier_key"
28278
+ "bridge_client_machine_identifier_key",
28279
+ "errors"
27656
28280
  ],
27657
28281
  type: "object",
27658
28282
  "x-route-path": "/seam/bridge/v1/bridge_client_sessions",
@@ -27709,6 +28333,82 @@ var openapi_default = {
27709
28333
  bridge_client_session_token: { type: "string" },
27710
28334
  bridge_client_time_zone: { type: "string" },
27711
28335
  created_at: { format: "date-time", type: "string" },
28336
+ errors: {
28337
+ items: {
28338
+ description: "Error associated with the `bridge_client_session`.",
28339
+ discriminator: { propertyName: "error_code" },
28340
+ oneOf: [
28341
+ {
28342
+ description: "Seam cannot reach the bridge's LAN",
28343
+ properties: {
28344
+ can_tailscale_proxy_reach_bridge: {
28345
+ description: "Tailscale proxy cannot reach the bridge",
28346
+ type: "boolean"
28347
+ },
28348
+ can_tailscale_proxy_reach_tailscale_network: {
28349
+ description: "Tailscale proxy cannot reach the Tailscale network",
28350
+ type: "boolean"
28351
+ },
28352
+ created_at: {
28353
+ format: "date-time",
28354
+ type: "string"
28355
+ },
28356
+ error_code: {
28357
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28358
+ enum: ["bridge_lan_unreachable"],
28359
+ type: "string"
28360
+ },
28361
+ is_bridge_socks_server_healthy: {
28362
+ description: "Bridge's SOCKS server is unhealthy",
28363
+ type: "boolean"
28364
+ },
28365
+ is_tailscale_proxy_reachable: {
28366
+ description: "Seam cannot reach the tailscale proxy",
28367
+ type: "boolean"
28368
+ },
28369
+ is_tailscale_proxy_socks_server_healthy: {
28370
+ description: "Tailscale proxy's SOCKS server is unhealthy",
28371
+ type: "boolean"
28372
+ },
28373
+ message: { type: "string" }
28374
+ },
28375
+ required: [
28376
+ "message",
28377
+ "created_at",
28378
+ "error_code",
28379
+ "is_tailscale_proxy_reachable",
28380
+ "is_tailscale_proxy_socks_server_healthy",
28381
+ "can_tailscale_proxy_reach_tailscale_network",
28382
+ "can_tailscale_proxy_reach_bridge",
28383
+ "is_bridge_socks_server_healthy"
28384
+ ],
28385
+ type: "object"
28386
+ },
28387
+ {
28388
+ description: "Bridge has stopped communicating with Seam",
28389
+ properties: {
28390
+ created_at: {
28391
+ format: "date-time",
28392
+ type: "string"
28393
+ },
28394
+ error_code: {
28395
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
28396
+ enum: ["no_communication_from_bridge"],
28397
+ type: "string"
28398
+ },
28399
+ message: { type: "string" }
28400
+ },
28401
+ required: [
28402
+ "message",
28403
+ "created_at",
28404
+ "error_code"
28405
+ ],
28406
+ type: "object"
28407
+ }
28408
+ ]
28409
+ },
28410
+ type: "array"
28411
+ },
27712
28412
  pairing_code: {
27713
28413
  maxLength: 6,
27714
28414
  minLength: 6,
@@ -27731,7 +28431,8 @@ var openapi_default = {
27731
28431
  "tailscale_auth_key",
27732
28432
  "bridge_client_name",
27733
28433
  "bridge_client_time_zone",
27734
- "bridge_client_machine_identifier_key"
28434
+ "bridge_client_machine_identifier_key",
28435
+ "errors"
27735
28436
  ],
27736
28437
  type: "object",
27737
28438
  "x-route-path": "/seam/bridge/v1/bridge_client_sessions",