@seamapi/types 1.366.0 → 1.367.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +517 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +653 -5
- 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/models/locations/location.d.ts +3 -0
- package/lib/seam/connect/models/locations/location.js +1 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +507 -0
- package/lib/seam/connect/openapi.js +487 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +62 -0
- package/src/lib/seam/connect/models/locations/location.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +530 -0
- package/src/lib/seam/connect/route-types.ts +85 -5
|
@@ -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',
|
|
@@ -27745,6 +28093,7 @@ export default {
|
|
|
27745
28093
|
properties: {
|
|
27746
28094
|
device_ids: {
|
|
27747
28095
|
items: { format: 'uuid', type: 'string' },
|
|
28096
|
+
minItems: 1,
|
|
27748
28097
|
type: 'array',
|
|
27749
28098
|
},
|
|
27750
28099
|
location_id: { format: 'uuid', type: 'string' },
|
|
@@ -27784,6 +28133,56 @@ export default {
|
|
|
27784
28133
|
'x-title': 'Add Location Devices',
|
|
27785
28134
|
'x-undocumented': 'Experimental locations.',
|
|
27786
28135
|
},
|
|
28136
|
+
put: {
|
|
28137
|
+
description:
|
|
28138
|
+
'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
28139
|
+
operationId: 'unstableLocationsAddDevicesPut',
|
|
28140
|
+
requestBody: {
|
|
28141
|
+
content: {
|
|
28142
|
+
'application/json': {
|
|
28143
|
+
schema: {
|
|
28144
|
+
properties: {
|
|
28145
|
+
device_ids: {
|
|
28146
|
+
items: { format: 'uuid', type: 'string' },
|
|
28147
|
+
minItems: 1,
|
|
28148
|
+
type: 'array',
|
|
28149
|
+
},
|
|
28150
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
28151
|
+
},
|
|
28152
|
+
required: ['location_id', 'device_ids'],
|
|
28153
|
+
type: 'object',
|
|
28154
|
+
},
|
|
28155
|
+
},
|
|
28156
|
+
},
|
|
28157
|
+
},
|
|
28158
|
+
responses: {
|
|
28159
|
+
200: {
|
|
28160
|
+
content: {
|
|
28161
|
+
'application/json': {
|
|
28162
|
+
schema: {
|
|
28163
|
+
properties: { ok: { type: 'boolean' } },
|
|
28164
|
+
required: ['ok'],
|
|
28165
|
+
type: 'object',
|
|
28166
|
+
},
|
|
28167
|
+
},
|
|
28168
|
+
},
|
|
28169
|
+
description: 'OK',
|
|
28170
|
+
},
|
|
28171
|
+
400: { description: 'Bad Request' },
|
|
28172
|
+
401: { description: 'Unauthorized' },
|
|
28173
|
+
},
|
|
28174
|
+
security: [
|
|
28175
|
+
{ pat_with_workspace: [] },
|
|
28176
|
+
{ console_session_with_workspace: [] },
|
|
28177
|
+
{ api_key: [] },
|
|
28178
|
+
],
|
|
28179
|
+
summary: '/unstable_locations/add_devices',
|
|
28180
|
+
tags: [],
|
|
28181
|
+
'x-fern-ignore': true,
|
|
28182
|
+
'x-response-key': null,
|
|
28183
|
+
'x-title': 'Add Location Devices',
|
|
28184
|
+
'x-undocumented': 'Experimental locations.',
|
|
28185
|
+
},
|
|
27787
28186
|
},
|
|
27788
28187
|
'/unstable_locations/create': {
|
|
27789
28188
|
post: {
|
|
@@ -27843,6 +28242,10 @@ export default {
|
|
|
27843
28242
|
format: 'uuid',
|
|
27844
28243
|
type: 'string',
|
|
27845
28244
|
},
|
|
28245
|
+
name: {
|
|
28246
|
+
description: 'Name of the location.',
|
|
28247
|
+
type: 'string',
|
|
28248
|
+
},
|
|
27846
28249
|
time_zone: {
|
|
27847
28250
|
description: 'Time zone of the location.',
|
|
27848
28251
|
type: 'string',
|
|
@@ -27857,6 +28260,7 @@ export default {
|
|
|
27857
28260
|
required: [
|
|
27858
28261
|
'location_id',
|
|
27859
28262
|
'workspace_id',
|
|
28263
|
+
'name',
|
|
27860
28264
|
'display_name',
|
|
27861
28265
|
'created_at',
|
|
27862
28266
|
],
|
|
@@ -27981,6 +28385,10 @@ export default {
|
|
|
27981
28385
|
format: 'uuid',
|
|
27982
28386
|
type: 'string',
|
|
27983
28387
|
},
|
|
28388
|
+
name: {
|
|
28389
|
+
description: 'Name of the location.',
|
|
28390
|
+
type: 'string',
|
|
28391
|
+
},
|
|
27984
28392
|
time_zone: {
|
|
27985
28393
|
description: 'Time zone of the location.',
|
|
27986
28394
|
type: 'string',
|
|
@@ -27995,6 +28403,7 @@ export default {
|
|
|
27995
28403
|
required: [
|
|
27996
28404
|
'location_id',
|
|
27997
28405
|
'workspace_id',
|
|
28406
|
+
'name',
|
|
27998
28407
|
'display_name',
|
|
27999
28408
|
'created_at',
|
|
28000
28409
|
],
|
|
@@ -28065,6 +28474,10 @@ export default {
|
|
|
28065
28474
|
format: 'uuid',
|
|
28066
28475
|
type: 'string',
|
|
28067
28476
|
},
|
|
28477
|
+
name: {
|
|
28478
|
+
description: 'Name of the location.',
|
|
28479
|
+
type: 'string',
|
|
28480
|
+
},
|
|
28068
28481
|
time_zone: {
|
|
28069
28482
|
description: 'Time zone of the location.',
|
|
28070
28483
|
type: 'string',
|
|
@@ -28079,6 +28492,7 @@ export default {
|
|
|
28079
28492
|
required: [
|
|
28080
28493
|
'location_id',
|
|
28081
28494
|
'workspace_id',
|
|
28495
|
+
'name',
|
|
28082
28496
|
'display_name',
|
|
28083
28497
|
'created_at',
|
|
28084
28498
|
],
|
|
@@ -28147,6 +28561,10 @@ export default {
|
|
|
28147
28561
|
format: 'uuid',
|
|
28148
28562
|
type: 'string',
|
|
28149
28563
|
},
|
|
28564
|
+
name: {
|
|
28565
|
+
description: 'Name of the location.',
|
|
28566
|
+
type: 'string',
|
|
28567
|
+
},
|
|
28150
28568
|
time_zone: {
|
|
28151
28569
|
description: 'Time zone of the location.',
|
|
28152
28570
|
type: 'string',
|
|
@@ -28161,6 +28579,7 @@ export default {
|
|
|
28161
28579
|
required: [
|
|
28162
28580
|
'location_id',
|
|
28163
28581
|
'workspace_id',
|
|
28582
|
+
'name',
|
|
28164
28583
|
'display_name',
|
|
28165
28584
|
'created_at',
|
|
28166
28585
|
],
|
|
@@ -28247,6 +28666,112 @@ export default {
|
|
|
28247
28666
|
},
|
|
28248
28667
|
},
|
|
28249
28668
|
'/unstable_locations/update': {
|
|
28669
|
+
patch: {
|
|
28670
|
+
description: 'Update an existing location.',
|
|
28671
|
+
operationId: 'unstableLocationsUpdatePatch',
|
|
28672
|
+
requestBody: {
|
|
28673
|
+
content: {
|
|
28674
|
+
'application/json': {
|
|
28675
|
+
schema: {
|
|
28676
|
+
properties: {
|
|
28677
|
+
geolocation: {
|
|
28678
|
+
properties: {
|
|
28679
|
+
latitude: { format: 'float', type: 'number' },
|
|
28680
|
+
longitude: { format: 'float', type: 'number' },
|
|
28681
|
+
},
|
|
28682
|
+
required: ['latitude', 'longitude'],
|
|
28683
|
+
type: 'object',
|
|
28684
|
+
},
|
|
28685
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
28686
|
+
name: { type: 'string' },
|
|
28687
|
+
time_zone: { type: 'string' },
|
|
28688
|
+
},
|
|
28689
|
+
required: ['location_id'],
|
|
28690
|
+
type: 'object',
|
|
28691
|
+
},
|
|
28692
|
+
},
|
|
28693
|
+
},
|
|
28694
|
+
},
|
|
28695
|
+
responses: {
|
|
28696
|
+
200: {
|
|
28697
|
+
content: {
|
|
28698
|
+
'application/json': {
|
|
28699
|
+
schema: {
|
|
28700
|
+
properties: {
|
|
28701
|
+
location: {
|
|
28702
|
+
properties: {
|
|
28703
|
+
created_at: {
|
|
28704
|
+
description:
|
|
28705
|
+
'Date and time at which the location object was created.',
|
|
28706
|
+
format: 'date-time',
|
|
28707
|
+
type: 'string',
|
|
28708
|
+
},
|
|
28709
|
+
display_name: {
|
|
28710
|
+
description: 'Display name of the location.',
|
|
28711
|
+
type: 'string',
|
|
28712
|
+
},
|
|
28713
|
+
geolocation: {
|
|
28714
|
+
description: 'Geographical location of the location.',
|
|
28715
|
+
properties: {
|
|
28716
|
+
latitude: { format: 'float', type: 'number' },
|
|
28717
|
+
longitude: { format: 'float', type: 'number' },
|
|
28718
|
+
},
|
|
28719
|
+
required: ['latitude', 'longitude'],
|
|
28720
|
+
type: 'object',
|
|
28721
|
+
},
|
|
28722
|
+
location_id: {
|
|
28723
|
+
description: 'Unique identifier for the location.',
|
|
28724
|
+
format: 'uuid',
|
|
28725
|
+
type: 'string',
|
|
28726
|
+
},
|
|
28727
|
+
name: {
|
|
28728
|
+
description: 'Name of the location.',
|
|
28729
|
+
type: 'string',
|
|
28730
|
+
},
|
|
28731
|
+
time_zone: {
|
|
28732
|
+
description: 'Time zone of the location.',
|
|
28733
|
+
type: 'string',
|
|
28734
|
+
},
|
|
28735
|
+
workspace_id: {
|
|
28736
|
+
description:
|
|
28737
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
28738
|
+
format: 'uuid',
|
|
28739
|
+
type: 'string',
|
|
28740
|
+
},
|
|
28741
|
+
},
|
|
28742
|
+
required: [
|
|
28743
|
+
'location_id',
|
|
28744
|
+
'workspace_id',
|
|
28745
|
+
'name',
|
|
28746
|
+
'display_name',
|
|
28747
|
+
'created_at',
|
|
28748
|
+
],
|
|
28749
|
+
type: 'object',
|
|
28750
|
+
},
|
|
28751
|
+
ok: { type: 'boolean' },
|
|
28752
|
+
},
|
|
28753
|
+
required: ['location', 'ok'],
|
|
28754
|
+
type: 'object',
|
|
28755
|
+
},
|
|
28756
|
+
},
|
|
28757
|
+
},
|
|
28758
|
+
description: 'OK',
|
|
28759
|
+
},
|
|
28760
|
+
400: { description: 'Bad Request' },
|
|
28761
|
+
401: { description: 'Unauthorized' },
|
|
28762
|
+
},
|
|
28763
|
+
security: [
|
|
28764
|
+
{ pat_with_workspace: [] },
|
|
28765
|
+
{ console_session_with_workspace: [] },
|
|
28766
|
+
{ api_key: [] },
|
|
28767
|
+
],
|
|
28768
|
+
summary: '/unstable_locations/update',
|
|
28769
|
+
tags: [],
|
|
28770
|
+
'x-fern-ignore': true,
|
|
28771
|
+
'x-response-key': 'location',
|
|
28772
|
+
'x-title': 'Update Location',
|
|
28773
|
+
'x-undocumented': 'Experimental locations.',
|
|
28774
|
+
},
|
|
28250
28775
|
post: {
|
|
28251
28776
|
description: 'Update an existing location.',
|
|
28252
28777
|
operationId: 'unstableLocationsUpdatePost',
|
|
@@ -28305,6 +28830,10 @@ export default {
|
|
|
28305
28830
|
format: 'uuid',
|
|
28306
28831
|
type: 'string',
|
|
28307
28832
|
},
|
|
28833
|
+
name: {
|
|
28834
|
+
description: 'Name of the location.',
|
|
28835
|
+
type: 'string',
|
|
28836
|
+
},
|
|
28308
28837
|
time_zone: {
|
|
28309
28838
|
description: 'Time zone of the location.',
|
|
28310
28839
|
type: 'string',
|
|
@@ -28319,6 +28848,7 @@ export default {
|
|
|
28319
28848
|
required: [
|
|
28320
28849
|
'location_id',
|
|
28321
28850
|
'workspace_id',
|
|
28851
|
+
'name',
|
|
28322
28852
|
'display_name',
|
|
28323
28853
|
'created_at',
|
|
28324
28854
|
],
|