@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.
@@ -23790,6 +23790,82 @@ export default {
23790
23790
  bridge_client_session_token: { type: 'string' },
23791
23791
  bridge_client_time_zone: { type: 'string' },
23792
23792
  created_at: { format: 'date-time', type: 'string' },
23793
+ errors: {
23794
+ items: {
23795
+ description: 'Error associated with the `bridge_client_session`.',
23796
+ discriminator: { propertyName: 'error_code' },
23797
+ oneOf: [
23798
+ {
23799
+ description: "Seam cannot reach the bridge's LAN",
23800
+ properties: {
23801
+ can_tailscale_proxy_reach_bridge: {
23802
+ description: 'Tailscale proxy cannot reach the bridge',
23803
+ type: 'boolean',
23804
+ },
23805
+ can_tailscale_proxy_reach_tailscale_network: {
23806
+ description: 'Tailscale proxy cannot reach the Tailscale network',
23807
+ type: 'boolean',
23808
+ },
23809
+ created_at: {
23810
+ format: 'date-time',
23811
+ type: 'string',
23812
+ },
23813
+ error_code: {
23814
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23815
+ enum: ['bridge_lan_unreachable'],
23816
+ type: 'string',
23817
+ },
23818
+ is_bridge_socks_server_healthy: {
23819
+ description: "Bridge's SOCKS server is unhealthy",
23820
+ type: 'boolean',
23821
+ },
23822
+ is_tailscale_proxy_reachable: {
23823
+ description: 'Seam cannot reach the tailscale proxy',
23824
+ type: 'boolean',
23825
+ },
23826
+ is_tailscale_proxy_socks_server_healthy: {
23827
+ description: "Tailscale proxy's SOCKS server is unhealthy",
23828
+ type: 'boolean',
23829
+ },
23830
+ message: { type: 'string' },
23831
+ },
23832
+ required: [
23833
+ 'message',
23834
+ 'created_at',
23835
+ 'error_code',
23836
+ 'is_tailscale_proxy_reachable',
23837
+ 'is_tailscale_proxy_socks_server_healthy',
23838
+ 'can_tailscale_proxy_reach_tailscale_network',
23839
+ 'can_tailscale_proxy_reach_bridge',
23840
+ 'is_bridge_socks_server_healthy',
23841
+ ],
23842
+ type: 'object',
23843
+ },
23844
+ {
23845
+ description: 'Bridge has stopped communicating with Seam',
23846
+ properties: {
23847
+ created_at: {
23848
+ format: 'date-time',
23849
+ type: 'string',
23850
+ },
23851
+ error_code: {
23852
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23853
+ enum: ['no_communication_from_bridge'],
23854
+ type: 'string',
23855
+ },
23856
+ message: { type: 'string' },
23857
+ },
23858
+ required: [
23859
+ 'message',
23860
+ 'created_at',
23861
+ 'error_code',
23862
+ ],
23863
+ type: 'object',
23864
+ },
23865
+ ],
23866
+ },
23867
+ type: 'array',
23868
+ },
23793
23869
  pairing_code: {
23794
23870
  maxLength: 6,
23795
23871
  minLength: 6,
@@ -23813,6 +23889,7 @@ export default {
23813
23889
  'bridge_client_name',
23814
23890
  'bridge_client_time_zone',
23815
23891
  'bridge_client_machine_identifier_key',
23892
+ 'errors',
23816
23893
  ],
23817
23894
  type: 'object',
23818
23895
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -23869,6 +23946,82 @@ export default {
23869
23946
  bridge_client_session_token: { type: 'string' },
23870
23947
  bridge_client_time_zone: { type: 'string' },
23871
23948
  created_at: { format: 'date-time', type: 'string' },
23949
+ errors: {
23950
+ items: {
23951
+ description: 'Error associated with the `bridge_client_session`.',
23952
+ discriminator: { propertyName: 'error_code' },
23953
+ oneOf: [
23954
+ {
23955
+ description: "Seam cannot reach the bridge's LAN",
23956
+ properties: {
23957
+ can_tailscale_proxy_reach_bridge: {
23958
+ description: 'Tailscale proxy cannot reach the bridge',
23959
+ type: 'boolean',
23960
+ },
23961
+ can_tailscale_proxy_reach_tailscale_network: {
23962
+ description: 'Tailscale proxy cannot reach the Tailscale network',
23963
+ type: 'boolean',
23964
+ },
23965
+ created_at: {
23966
+ format: 'date-time',
23967
+ type: 'string',
23968
+ },
23969
+ error_code: {
23970
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
23971
+ enum: ['bridge_lan_unreachable'],
23972
+ type: 'string',
23973
+ },
23974
+ is_bridge_socks_server_healthy: {
23975
+ description: "Bridge's SOCKS server is unhealthy",
23976
+ type: 'boolean',
23977
+ },
23978
+ is_tailscale_proxy_reachable: {
23979
+ description: 'Seam cannot reach the tailscale proxy',
23980
+ type: 'boolean',
23981
+ },
23982
+ is_tailscale_proxy_socks_server_healthy: {
23983
+ description: "Tailscale proxy's SOCKS server is unhealthy",
23984
+ type: 'boolean',
23985
+ },
23986
+ message: { type: 'string' },
23987
+ },
23988
+ required: [
23989
+ 'message',
23990
+ 'created_at',
23991
+ 'error_code',
23992
+ 'is_tailscale_proxy_reachable',
23993
+ 'is_tailscale_proxy_socks_server_healthy',
23994
+ 'can_tailscale_proxy_reach_tailscale_network',
23995
+ 'can_tailscale_proxy_reach_bridge',
23996
+ 'is_bridge_socks_server_healthy',
23997
+ ],
23998
+ type: 'object',
23999
+ },
24000
+ {
24001
+ description: 'Bridge has stopped communicating with Seam',
24002
+ properties: {
24003
+ created_at: {
24004
+ format: 'date-time',
24005
+ type: 'string',
24006
+ },
24007
+ error_code: {
24008
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24009
+ enum: ['no_communication_from_bridge'],
24010
+ type: 'string',
24011
+ },
24012
+ message: { type: 'string' },
24013
+ },
24014
+ required: [
24015
+ 'message',
24016
+ 'created_at',
24017
+ 'error_code',
24018
+ ],
24019
+ type: 'object',
24020
+ },
24021
+ ],
24022
+ },
24023
+ type: 'array',
24024
+ },
23872
24025
  pairing_code: {
23873
24026
  maxLength: 6,
23874
24027
  minLength: 6,
@@ -23892,6 +24045,7 @@ export default {
23892
24045
  'bridge_client_name',
23893
24046
  'bridge_client_time_zone',
23894
24047
  'bridge_client_machine_identifier_key',
24048
+ 'errors',
23895
24049
  ],
23896
24050
  type: 'object',
23897
24051
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -23939,6 +24093,82 @@ export default {
23939
24093
  bridge_client_session_token: { type: 'string' },
23940
24094
  bridge_client_time_zone: { type: 'string' },
23941
24095
  created_at: { format: 'date-time', type: 'string' },
24096
+ errors: {
24097
+ items: {
24098
+ description: 'Error associated with the `bridge_client_session`.',
24099
+ discriminator: { propertyName: 'error_code' },
24100
+ oneOf: [
24101
+ {
24102
+ description: "Seam cannot reach the bridge's LAN",
24103
+ properties: {
24104
+ can_tailscale_proxy_reach_bridge: {
24105
+ description: 'Tailscale proxy cannot reach the bridge',
24106
+ type: 'boolean',
24107
+ },
24108
+ can_tailscale_proxy_reach_tailscale_network: {
24109
+ description: 'Tailscale proxy cannot reach the Tailscale network',
24110
+ type: 'boolean',
24111
+ },
24112
+ created_at: {
24113
+ format: 'date-time',
24114
+ type: 'string',
24115
+ },
24116
+ error_code: {
24117
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24118
+ enum: ['bridge_lan_unreachable'],
24119
+ type: 'string',
24120
+ },
24121
+ is_bridge_socks_server_healthy: {
24122
+ description: "Bridge's SOCKS server is unhealthy",
24123
+ type: 'boolean',
24124
+ },
24125
+ is_tailscale_proxy_reachable: {
24126
+ description: 'Seam cannot reach the tailscale proxy',
24127
+ type: 'boolean',
24128
+ },
24129
+ is_tailscale_proxy_socks_server_healthy: {
24130
+ description: "Tailscale proxy's SOCKS server is unhealthy",
24131
+ type: 'boolean',
24132
+ },
24133
+ message: { type: 'string' },
24134
+ },
24135
+ required: [
24136
+ 'message',
24137
+ 'created_at',
24138
+ 'error_code',
24139
+ 'is_tailscale_proxy_reachable',
24140
+ 'is_tailscale_proxy_socks_server_healthy',
24141
+ 'can_tailscale_proxy_reach_tailscale_network',
24142
+ 'can_tailscale_proxy_reach_bridge',
24143
+ 'is_bridge_socks_server_healthy',
24144
+ ],
24145
+ type: 'object',
24146
+ },
24147
+ {
24148
+ description: 'Bridge has stopped communicating with Seam',
24149
+ properties: {
24150
+ created_at: {
24151
+ format: 'date-time',
24152
+ type: 'string',
24153
+ },
24154
+ error_code: {
24155
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24156
+ enum: ['no_communication_from_bridge'],
24157
+ type: 'string',
24158
+ },
24159
+ message: { type: 'string' },
24160
+ },
24161
+ required: [
24162
+ 'message',
24163
+ 'created_at',
24164
+ 'error_code',
24165
+ ],
24166
+ type: 'object',
24167
+ },
24168
+ ],
24169
+ },
24170
+ type: 'array',
24171
+ },
23942
24172
  pairing_code: {
23943
24173
  maxLength: 6,
23944
24174
  minLength: 6,
@@ -23962,6 +24192,7 @@ export default {
23962
24192
  'bridge_client_name',
23963
24193
  'bridge_client_time_zone',
23964
24194
  'bridge_client_machine_identifier_key',
24195
+ 'errors',
23965
24196
  ],
23966
24197
  type: 'object',
23967
24198
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -24018,6 +24249,82 @@ export default {
24018
24249
  bridge_client_session_token: { type: 'string' },
24019
24250
  bridge_client_time_zone: { type: 'string' },
24020
24251
  created_at: { format: 'date-time', type: 'string' },
24252
+ errors: {
24253
+ items: {
24254
+ description: 'Error associated with the `bridge_client_session`.',
24255
+ discriminator: { propertyName: 'error_code' },
24256
+ oneOf: [
24257
+ {
24258
+ description: "Seam cannot reach the bridge's LAN",
24259
+ properties: {
24260
+ can_tailscale_proxy_reach_bridge: {
24261
+ description: 'Tailscale proxy cannot reach the bridge',
24262
+ type: 'boolean',
24263
+ },
24264
+ can_tailscale_proxy_reach_tailscale_network: {
24265
+ description: 'Tailscale proxy cannot reach the Tailscale network',
24266
+ type: 'boolean',
24267
+ },
24268
+ created_at: {
24269
+ format: 'date-time',
24270
+ type: 'string',
24271
+ },
24272
+ error_code: {
24273
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24274
+ enum: ['bridge_lan_unreachable'],
24275
+ type: 'string',
24276
+ },
24277
+ is_bridge_socks_server_healthy: {
24278
+ description: "Bridge's SOCKS server is unhealthy",
24279
+ type: 'boolean',
24280
+ },
24281
+ is_tailscale_proxy_reachable: {
24282
+ description: 'Seam cannot reach the tailscale proxy',
24283
+ type: 'boolean',
24284
+ },
24285
+ is_tailscale_proxy_socks_server_healthy: {
24286
+ description: "Tailscale proxy's SOCKS server is unhealthy",
24287
+ type: 'boolean',
24288
+ },
24289
+ message: { type: 'string' },
24290
+ },
24291
+ required: [
24292
+ 'message',
24293
+ 'created_at',
24294
+ 'error_code',
24295
+ 'is_tailscale_proxy_reachable',
24296
+ 'is_tailscale_proxy_socks_server_healthy',
24297
+ 'can_tailscale_proxy_reach_tailscale_network',
24298
+ 'can_tailscale_proxy_reach_bridge',
24299
+ 'is_bridge_socks_server_healthy',
24300
+ ],
24301
+ type: 'object',
24302
+ },
24303
+ {
24304
+ description: 'Bridge has stopped communicating with Seam',
24305
+ properties: {
24306
+ created_at: {
24307
+ format: 'date-time',
24308
+ type: 'string',
24309
+ },
24310
+ error_code: {
24311
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24312
+ enum: ['no_communication_from_bridge'],
24313
+ type: 'string',
24314
+ },
24315
+ message: { type: 'string' },
24316
+ },
24317
+ required: [
24318
+ 'message',
24319
+ 'created_at',
24320
+ 'error_code',
24321
+ ],
24322
+ type: 'object',
24323
+ },
24324
+ ],
24325
+ },
24326
+ type: 'array',
24327
+ },
24021
24328
  pairing_code: {
24022
24329
  maxLength: 6,
24023
24330
  minLength: 6,
@@ -24041,6 +24348,7 @@ export default {
24041
24348
  'bridge_client_name',
24042
24349
  'bridge_client_time_zone',
24043
24350
  'bridge_client_machine_identifier_key',
24351
+ 'errors',
24044
24352
  ],
24045
24353
  type: 'object',
24046
24354
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -26182,6 +26490,7 @@ export default {
26182
26490
  properties: {
26183
26491
  device_ids: {
26184
26492
  items: { format: 'uuid', type: 'string' },
26493
+ minItems: 1,
26185
26494
  type: 'array',
26186
26495
  },
26187
26496
  location_id: { format: 'uuid', type: 'string' },
@@ -26221,6 +26530,55 @@ export default {
26221
26530
  'x-title': 'Add Location Devices',
26222
26531
  'x-undocumented': 'Experimental locations.',
26223
26532
  },
26533
+ put: {
26534
+ description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
26535
+ operationId: 'unstableLocationsAddDevicesPut',
26536
+ requestBody: {
26537
+ content: {
26538
+ 'application/json': {
26539
+ schema: {
26540
+ properties: {
26541
+ device_ids: {
26542
+ items: { format: 'uuid', type: 'string' },
26543
+ minItems: 1,
26544
+ type: 'array',
26545
+ },
26546
+ location_id: { format: 'uuid', type: 'string' },
26547
+ },
26548
+ required: ['location_id', 'device_ids'],
26549
+ type: 'object',
26550
+ },
26551
+ },
26552
+ },
26553
+ },
26554
+ responses: {
26555
+ 200: {
26556
+ content: {
26557
+ 'application/json': {
26558
+ schema: {
26559
+ properties: { ok: { type: 'boolean' } },
26560
+ required: ['ok'],
26561
+ type: 'object',
26562
+ },
26563
+ },
26564
+ },
26565
+ description: 'OK',
26566
+ },
26567
+ 400: { description: 'Bad Request' },
26568
+ 401: { description: 'Unauthorized' },
26569
+ },
26570
+ security: [
26571
+ { pat_with_workspace: [] },
26572
+ { console_session_with_workspace: [] },
26573
+ { api_key: [] },
26574
+ ],
26575
+ summary: '/unstable_locations/add_devices',
26576
+ tags: [],
26577
+ 'x-fern-ignore': true,
26578
+ 'x-response-key': null,
26579
+ 'x-title': 'Add Location Devices',
26580
+ 'x-undocumented': 'Experimental locations.',
26581
+ },
26224
26582
  },
26225
26583
  '/unstable_locations/create': {
26226
26584
  post: {
@@ -26279,6 +26637,10 @@ export default {
26279
26637
  format: 'uuid',
26280
26638
  type: 'string',
26281
26639
  },
26640
+ name: {
26641
+ description: 'Name of the location.',
26642
+ type: 'string',
26643
+ },
26282
26644
  time_zone: {
26283
26645
  description: 'Time zone of the location.',
26284
26646
  type: 'string',
@@ -26292,6 +26654,7 @@ export default {
26292
26654
  required: [
26293
26655
  'location_id',
26294
26656
  'workspace_id',
26657
+ 'name',
26295
26658
  'display_name',
26296
26659
  'created_at',
26297
26660
  ],
@@ -26415,6 +26778,10 @@ export default {
26415
26778
  format: 'uuid',
26416
26779
  type: 'string',
26417
26780
  },
26781
+ name: {
26782
+ description: 'Name of the location.',
26783
+ type: 'string',
26784
+ },
26418
26785
  time_zone: {
26419
26786
  description: 'Time zone of the location.',
26420
26787
  type: 'string',
@@ -26428,6 +26795,7 @@ export default {
26428
26795
  required: [
26429
26796
  'location_id',
26430
26797
  'workspace_id',
26798
+ 'name',
26431
26799
  'display_name',
26432
26800
  'created_at',
26433
26801
  ],
@@ -26496,6 +26864,10 @@ export default {
26496
26864
  format: 'uuid',
26497
26865
  type: 'string',
26498
26866
  },
26867
+ name: {
26868
+ description: 'Name of the location.',
26869
+ type: 'string',
26870
+ },
26499
26871
  time_zone: {
26500
26872
  description: 'Time zone of the location.',
26501
26873
  type: 'string',
@@ -26509,6 +26881,7 @@ export default {
26509
26881
  required: [
26510
26882
  'location_id',
26511
26883
  'workspace_id',
26884
+ 'name',
26512
26885
  'display_name',
26513
26886
  'created_at',
26514
26887
  ],
@@ -26575,6 +26948,10 @@ export default {
26575
26948
  format: 'uuid',
26576
26949
  type: 'string',
26577
26950
  },
26951
+ name: {
26952
+ description: 'Name of the location.',
26953
+ type: 'string',
26954
+ },
26578
26955
  time_zone: {
26579
26956
  description: 'Time zone of the location.',
26580
26957
  type: 'string',
@@ -26588,6 +26965,7 @@ export default {
26588
26965
  required: [
26589
26966
  'location_id',
26590
26967
  'workspace_id',
26968
+ 'name',
26591
26969
  'display_name',
26592
26970
  'created_at',
26593
26971
  ],
@@ -26674,6 +27052,110 @@ export default {
26674
27052
  },
26675
27053
  },
26676
27054
  '/unstable_locations/update': {
27055
+ patch: {
27056
+ description: 'Update an existing location.',
27057
+ operationId: 'unstableLocationsUpdatePatch',
27058
+ requestBody: {
27059
+ content: {
27060
+ 'application/json': {
27061
+ schema: {
27062
+ properties: {
27063
+ geolocation: {
27064
+ properties: {
27065
+ latitude: { format: 'float', type: 'number' },
27066
+ longitude: { format: 'float', type: 'number' },
27067
+ },
27068
+ required: ['latitude', 'longitude'],
27069
+ type: 'object',
27070
+ },
27071
+ location_id: { format: 'uuid', type: 'string' },
27072
+ name: { type: 'string' },
27073
+ time_zone: { type: 'string' },
27074
+ },
27075
+ required: ['location_id'],
27076
+ type: 'object',
27077
+ },
27078
+ },
27079
+ },
27080
+ },
27081
+ responses: {
27082
+ 200: {
27083
+ content: {
27084
+ 'application/json': {
27085
+ schema: {
27086
+ properties: {
27087
+ location: {
27088
+ properties: {
27089
+ created_at: {
27090
+ description: 'Date and time at which the location object was created.',
27091
+ format: 'date-time',
27092
+ type: 'string',
27093
+ },
27094
+ display_name: {
27095
+ description: 'Display name of the location.',
27096
+ type: 'string',
27097
+ },
27098
+ geolocation: {
27099
+ description: 'Geographical location of the location.',
27100
+ properties: {
27101
+ latitude: { format: 'float', type: 'number' },
27102
+ longitude: { format: 'float', type: 'number' },
27103
+ },
27104
+ required: ['latitude', 'longitude'],
27105
+ type: 'object',
27106
+ },
27107
+ location_id: {
27108
+ description: 'Unique identifier for the location.',
27109
+ format: 'uuid',
27110
+ type: 'string',
27111
+ },
27112
+ name: {
27113
+ description: 'Name of the location.',
27114
+ type: 'string',
27115
+ },
27116
+ time_zone: {
27117
+ description: 'Time zone of the location.',
27118
+ type: 'string',
27119
+ },
27120
+ workspace_id: {
27121
+ description: 'Unique identifier for the Seam workspace associated with the location.',
27122
+ format: 'uuid',
27123
+ type: 'string',
27124
+ },
27125
+ },
27126
+ required: [
27127
+ 'location_id',
27128
+ 'workspace_id',
27129
+ 'name',
27130
+ 'display_name',
27131
+ 'created_at',
27132
+ ],
27133
+ type: 'object',
27134
+ },
27135
+ ok: { type: 'boolean' },
27136
+ },
27137
+ required: ['location', 'ok'],
27138
+ type: 'object',
27139
+ },
27140
+ },
27141
+ },
27142
+ description: 'OK',
27143
+ },
27144
+ 400: { description: 'Bad Request' },
27145
+ 401: { description: 'Unauthorized' },
27146
+ },
27147
+ security: [
27148
+ { pat_with_workspace: [] },
27149
+ { console_session_with_workspace: [] },
27150
+ { api_key: [] },
27151
+ ],
27152
+ summary: '/unstable_locations/update',
27153
+ tags: [],
27154
+ 'x-fern-ignore': true,
27155
+ 'x-response-key': 'location',
27156
+ 'x-title': 'Update Location',
27157
+ 'x-undocumented': 'Experimental locations.',
27158
+ },
26677
27159
  post: {
26678
27160
  description: 'Update an existing location.',
26679
27161
  operationId: 'unstableLocationsUpdatePost',
@@ -26731,6 +27213,10 @@ export default {
26731
27213
  format: 'uuid',
26732
27214
  type: 'string',
26733
27215
  },
27216
+ name: {
27217
+ description: 'Name of the location.',
27218
+ type: 'string',
27219
+ },
26734
27220
  time_zone: {
26735
27221
  description: 'Time zone of the location.',
26736
27222
  type: 'string',
@@ -26744,6 +27230,7 @@ export default {
26744
27230
  required: [
26745
27231
  'location_id',
26746
27232
  'workspace_id',
27233
+ 'name',
26747
27234
  'display_name',
26748
27235
  'created_at',
26749
27236
  ],