@seamapi/types 1.366.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.
- package/dist/connect.cjs +338 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +417 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +235 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js +47 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +284 -0
- package/lib/seam/connect/openapi.js +308 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +63 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +62 -0
- package/src/lib/seam/connect/openapi.ts +348 -0
- package/src/lib/seam/connect/route-types.ts +72 -0
|
@@ -28171,6 +28171,27 @@ export interface Routes {
|
|
|
28171
28171
|
bridge_client_name: string;
|
|
28172
28172
|
bridge_client_time_zone: string;
|
|
28173
28173
|
bridge_client_machine_identifier_key: string;
|
|
28174
|
+
errors: Array<{
|
|
28175
|
+
message: string;
|
|
28176
|
+
created_at: string;
|
|
28177
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28178
|
+
error_code: 'bridge_lan_unreachable';
|
|
28179
|
+
/** Seam cannot reach the tailscale proxy */
|
|
28180
|
+
is_tailscale_proxy_reachable: boolean;
|
|
28181
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
28182
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
28183
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
28184
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
28185
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
28186
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
28187
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
28188
|
+
is_bridge_socks_server_healthy: boolean;
|
|
28189
|
+
} | {
|
|
28190
|
+
message: string;
|
|
28191
|
+
created_at: string;
|
|
28192
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28193
|
+
error_code: 'no_communication_from_bridge';
|
|
28194
|
+
}>;
|
|
28174
28195
|
};
|
|
28175
28196
|
};
|
|
28176
28197
|
};
|
|
@@ -28194,6 +28215,27 @@ export interface Routes {
|
|
|
28194
28215
|
bridge_client_name: string;
|
|
28195
28216
|
bridge_client_time_zone: string;
|
|
28196
28217
|
bridge_client_machine_identifier_key: string;
|
|
28218
|
+
errors: Array<{
|
|
28219
|
+
message: string;
|
|
28220
|
+
created_at: string;
|
|
28221
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28222
|
+
error_code: 'bridge_lan_unreachable';
|
|
28223
|
+
/** Seam cannot reach the tailscale proxy */
|
|
28224
|
+
is_tailscale_proxy_reachable: boolean;
|
|
28225
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
28226
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
28227
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
28228
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
28229
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
28230
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
28231
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
28232
|
+
is_bridge_socks_server_healthy: boolean;
|
|
28233
|
+
} | {
|
|
28234
|
+
message: string;
|
|
28235
|
+
created_at: string;
|
|
28236
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28237
|
+
error_code: 'no_communication_from_bridge';
|
|
28238
|
+
}>;
|
|
28197
28239
|
};
|
|
28198
28240
|
};
|
|
28199
28241
|
};
|
|
@@ -28217,6 +28259,27 @@ export interface Routes {
|
|
|
28217
28259
|
bridge_client_name: string;
|
|
28218
28260
|
bridge_client_time_zone: string;
|
|
28219
28261
|
bridge_client_machine_identifier_key: string;
|
|
28262
|
+
errors: Array<{
|
|
28263
|
+
message: string;
|
|
28264
|
+
created_at: string;
|
|
28265
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28266
|
+
error_code: 'bridge_lan_unreachable';
|
|
28267
|
+
/** Seam cannot reach the tailscale proxy */
|
|
28268
|
+
is_tailscale_proxy_reachable: boolean;
|
|
28269
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
28270
|
+
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
28271
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
28272
|
+
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
28273
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
28274
|
+
can_tailscale_proxy_reach_bridge: boolean;
|
|
28275
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
28276
|
+
is_bridge_socks_server_healthy: boolean;
|
|
28277
|
+
} | {
|
|
28278
|
+
message: string;
|
|
28279
|
+
created_at: string;
|
|
28280
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
28281
|
+
error_code: 'no_communication_from_bridge';
|
|
28282
|
+
}>;
|
|
28220
28283
|
};
|
|
28221
28284
|
};
|
|
28222
28285
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
const common_bridge_client_session_error = z.object({
|
|
4
|
+
message: z.string(),
|
|
5
|
+
created_at: z.string().datetime(),
|
|
6
|
+
})
|
|
7
|
+
|
|
8
|
+
const error_code_description =
|
|
9
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.'
|
|
10
|
+
|
|
11
|
+
export const bridge_lan_unreachable = common_bridge_client_session_error
|
|
12
|
+
.extend({
|
|
13
|
+
error_code: z
|
|
14
|
+
.literal('bridge_lan_unreachable')
|
|
15
|
+
.describe(error_code_description),
|
|
16
|
+
is_tailscale_proxy_reachable: z
|
|
17
|
+
.boolean()
|
|
18
|
+
.describe('Seam cannot reach the tailscale proxy'),
|
|
19
|
+
is_tailscale_proxy_socks_server_healthy: z
|
|
20
|
+
.boolean()
|
|
21
|
+
.describe("Tailscale proxy's SOCKS server is unhealthy"),
|
|
22
|
+
can_tailscale_proxy_reach_tailscale_network: z
|
|
23
|
+
.boolean()
|
|
24
|
+
.describe('Tailscale proxy cannot reach the Tailscale network'),
|
|
25
|
+
can_tailscale_proxy_reach_bridge: z
|
|
26
|
+
.boolean()
|
|
27
|
+
.describe('Tailscale proxy cannot reach the bridge'),
|
|
28
|
+
is_bridge_socks_server_healthy: z
|
|
29
|
+
.boolean()
|
|
30
|
+
.describe("Bridge's SOCKS server is unhealthy"),
|
|
31
|
+
})
|
|
32
|
+
.describe("Seam cannot reach the bridge's LAN")
|
|
33
|
+
|
|
34
|
+
export const no_communication_from_bridge = common_bridge_client_session_error
|
|
35
|
+
.extend({
|
|
36
|
+
error_code: z
|
|
37
|
+
.literal('no_communication_from_bridge')
|
|
38
|
+
.describe(error_code_description),
|
|
39
|
+
})
|
|
40
|
+
.describe('Bridge has stopped communicating with Seam')
|
|
41
|
+
|
|
42
|
+
export const bridge_client_session_error = z
|
|
43
|
+
.discriminatedUnion('error_code', [
|
|
44
|
+
bridge_lan_unreachable,
|
|
45
|
+
no_communication_from_bridge,
|
|
46
|
+
])
|
|
47
|
+
.describe('Error associated with the `bridge_client_session`.')
|
|
48
|
+
|
|
49
|
+
export type BridgeClientSessionError = z.infer<
|
|
50
|
+
typeof bridge_client_session_error
|
|
51
|
+
>
|
|
52
|
+
|
|
53
|
+
const bridge_client_session_error_map = z.object({
|
|
54
|
+
bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
|
|
55
|
+
no_communication_from_bridge: no_communication_from_bridge
|
|
56
|
+
.optional()
|
|
57
|
+
.nullable(),
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
export type BridgeClientSessionErrorMap = z.infer<
|
|
61
|
+
typeof bridge_client_session_error_map
|
|
62
|
+
>
|
|
63
|
+
|
|
3
64
|
export const bridge_client_session = z.object({
|
|
4
65
|
created_at: z.string().datetime(),
|
|
5
66
|
bridge_client_session_id: z.string().uuid(),
|
|
@@ -11,6 +72,7 @@ export const bridge_client_session = z.object({
|
|
|
11
72
|
bridge_client_name: z.string(),
|
|
12
73
|
bridge_client_time_zone: z.string(),
|
|
13
74
|
bridge_client_machine_identifier_key: z.string(),
|
|
75
|
+
errors: z.array(bridge_client_session_error),
|
|
14
76
|
}).describe(`
|
|
15
77
|
---
|
|
16
78
|
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
@@ -25222,6 +25222,92 @@ export default {
|
|
|
25222
25222
|
bridge_client_session_token: { type: 'string' },
|
|
25223
25223
|
bridge_client_time_zone: { type: 'string' },
|
|
25224
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
|
+
},
|
|
25225
25311
|
pairing_code: {
|
|
25226
25312
|
maxLength: 6,
|
|
25227
25313
|
minLength: 6,
|
|
@@ -25245,6 +25331,7 @@ export default {
|
|
|
25245
25331
|
'bridge_client_name',
|
|
25246
25332
|
'bridge_client_time_zone',
|
|
25247
25333
|
'bridge_client_machine_identifier_key',
|
|
25334
|
+
'errors',
|
|
25248
25335
|
],
|
|
25249
25336
|
type: 'object',
|
|
25250
25337
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25302,6 +25389,92 @@ export default {
|
|
|
25302
25389
|
bridge_client_session_token: { type: 'string' },
|
|
25303
25390
|
bridge_client_time_zone: { type: 'string' },
|
|
25304
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
|
+
},
|
|
25305
25478
|
pairing_code: {
|
|
25306
25479
|
maxLength: 6,
|
|
25307
25480
|
minLength: 6,
|
|
@@ -25325,6 +25498,7 @@ export default {
|
|
|
25325
25498
|
'bridge_client_name',
|
|
25326
25499
|
'bridge_client_time_zone',
|
|
25327
25500
|
'bridge_client_machine_identifier_key',
|
|
25501
|
+
'errors',
|
|
25328
25502
|
],
|
|
25329
25503
|
type: 'object',
|
|
25330
25504
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25373,6 +25547,92 @@ export default {
|
|
|
25373
25547
|
bridge_client_session_token: { type: 'string' },
|
|
25374
25548
|
bridge_client_time_zone: { type: 'string' },
|
|
25375
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
|
+
},
|
|
25376
25636
|
pairing_code: {
|
|
25377
25637
|
maxLength: 6,
|
|
25378
25638
|
minLength: 6,
|
|
@@ -25396,6 +25656,7 @@ export default {
|
|
|
25396
25656
|
'bridge_client_name',
|
|
25397
25657
|
'bridge_client_time_zone',
|
|
25398
25658
|
'bridge_client_machine_identifier_key',
|
|
25659
|
+
'errors',
|
|
25399
25660
|
],
|
|
25400
25661
|
type: 'object',
|
|
25401
25662
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -25454,6 +25715,92 @@ export default {
|
|
|
25454
25715
|
bridge_client_session_token: { type: 'string' },
|
|
25455
25716
|
bridge_client_time_zone: { type: 'string' },
|
|
25456
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
|
+
},
|
|
25457
25804
|
pairing_code: {
|
|
25458
25805
|
maxLength: 6,
|
|
25459
25806
|
minLength: 6,
|
|
@@ -25477,6 +25824,7 @@ export default {
|
|
|
25477
25824
|
'bridge_client_name',
|
|
25478
25825
|
'bridge_client_time_zone',
|
|
25479
25826
|
'bridge_client_machine_identifier_key',
|
|
25827
|
+
'errors',
|
|
25480
25828
|
],
|
|
25481
25829
|
type: 'object',
|
|
25482
25830
|
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
@@ -34621,6 +34621,30 @@ export interface Routes {
|
|
|
34621
34621
|
bridge_client_name: string
|
|
34622
34622
|
bridge_client_time_zone: string
|
|
34623
34623
|
bridge_client_machine_identifier_key: string
|
|
34624
|
+
errors: Array<
|
|
34625
|
+
| {
|
|
34626
|
+
message: string
|
|
34627
|
+
created_at: string
|
|
34628
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34629
|
+
error_code: 'bridge_lan_unreachable'
|
|
34630
|
+
/** Seam cannot reach the tailscale proxy */
|
|
34631
|
+
is_tailscale_proxy_reachable: boolean
|
|
34632
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
34633
|
+
is_tailscale_proxy_socks_server_healthy: boolean
|
|
34634
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
34635
|
+
can_tailscale_proxy_reach_tailscale_network: boolean
|
|
34636
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
34637
|
+
can_tailscale_proxy_reach_bridge: boolean
|
|
34638
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
34639
|
+
is_bridge_socks_server_healthy: boolean
|
|
34640
|
+
}
|
|
34641
|
+
| {
|
|
34642
|
+
message: string
|
|
34643
|
+
created_at: string
|
|
34644
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34645
|
+
error_code: 'no_communication_from_bridge'
|
|
34646
|
+
}
|
|
34647
|
+
>
|
|
34624
34648
|
}
|
|
34625
34649
|
}
|
|
34626
34650
|
}
|
|
@@ -34644,6 +34668,30 @@ export interface Routes {
|
|
|
34644
34668
|
bridge_client_name: string
|
|
34645
34669
|
bridge_client_time_zone: string
|
|
34646
34670
|
bridge_client_machine_identifier_key: string
|
|
34671
|
+
errors: Array<
|
|
34672
|
+
| {
|
|
34673
|
+
message: string
|
|
34674
|
+
created_at: string
|
|
34675
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34676
|
+
error_code: 'bridge_lan_unreachable'
|
|
34677
|
+
/** Seam cannot reach the tailscale proxy */
|
|
34678
|
+
is_tailscale_proxy_reachable: boolean
|
|
34679
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
34680
|
+
is_tailscale_proxy_socks_server_healthy: boolean
|
|
34681
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
34682
|
+
can_tailscale_proxy_reach_tailscale_network: boolean
|
|
34683
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
34684
|
+
can_tailscale_proxy_reach_bridge: boolean
|
|
34685
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
34686
|
+
is_bridge_socks_server_healthy: boolean
|
|
34687
|
+
}
|
|
34688
|
+
| {
|
|
34689
|
+
message: string
|
|
34690
|
+
created_at: string
|
|
34691
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34692
|
+
error_code: 'no_communication_from_bridge'
|
|
34693
|
+
}
|
|
34694
|
+
>
|
|
34647
34695
|
}
|
|
34648
34696
|
}
|
|
34649
34697
|
}
|
|
@@ -34667,6 +34715,30 @@ export interface Routes {
|
|
|
34667
34715
|
bridge_client_name: string
|
|
34668
34716
|
bridge_client_time_zone: string
|
|
34669
34717
|
bridge_client_machine_identifier_key: string
|
|
34718
|
+
errors: Array<
|
|
34719
|
+
| {
|
|
34720
|
+
message: string
|
|
34721
|
+
created_at: string
|
|
34722
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34723
|
+
error_code: 'bridge_lan_unreachable'
|
|
34724
|
+
/** Seam cannot reach the tailscale proxy */
|
|
34725
|
+
is_tailscale_proxy_reachable: boolean
|
|
34726
|
+
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
34727
|
+
is_tailscale_proxy_socks_server_healthy: boolean
|
|
34728
|
+
/** Tailscale proxy cannot reach the Tailscale network */
|
|
34729
|
+
can_tailscale_proxy_reach_tailscale_network: boolean
|
|
34730
|
+
/** Tailscale proxy cannot reach the bridge */
|
|
34731
|
+
can_tailscale_proxy_reach_bridge: boolean
|
|
34732
|
+
/** Bridge's SOCKS server is unhealthy */
|
|
34733
|
+
is_bridge_socks_server_healthy: boolean
|
|
34734
|
+
}
|
|
34735
|
+
| {
|
|
34736
|
+
message: string
|
|
34737
|
+
created_at: string
|
|
34738
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34739
|
+
error_code: 'no_communication_from_bridge'
|
|
34740
|
+
}
|
|
34741
|
+
>
|
|
34670
34742
|
}
|
|
34671
34743
|
}
|
|
34672
34744
|
}
|