@seamapi/types 1.414.0 → 1.414.2
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 +290 -1124
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +352 -1133
- package/lib/seam/connect/models/locations/location.js +6 -1
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/models/phones/phone-session.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +1 -1
- package/lib/seam/connect/openapi.d.ts +379 -1168
- package/lib/seam/connect/openapi.js +289 -1123
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/locations/location.ts +6 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +337 -1234
- package/src/lib/seam/connect/route-types.ts +11 -3
|
@@ -6579,6 +6579,142 @@ export default {
|
|
|
6579
6579
|
],
|
|
6580
6580
|
'x-route-path': '/action_attempts',
|
|
6581
6581
|
},
|
|
6582
|
+
bridge_client_session: {
|
|
6583
|
+
properties: {
|
|
6584
|
+
bridge_client_machine_identifier_key: { type: 'string' },
|
|
6585
|
+
bridge_client_name: { type: 'string' },
|
|
6586
|
+
bridge_client_session_id: { format: 'uuid', type: 'string' },
|
|
6587
|
+
bridge_client_session_token: { type: 'string' },
|
|
6588
|
+
bridge_client_time_zone: { type: 'string' },
|
|
6589
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6590
|
+
errors: {
|
|
6591
|
+
items: {
|
|
6592
|
+
description: 'Error associated with the `bridge_client_session`.',
|
|
6593
|
+
discriminator: { propertyName: 'error_code' },
|
|
6594
|
+
oneOf: [
|
|
6595
|
+
{
|
|
6596
|
+
description: "Seam cannot reach the bridge's LAN",
|
|
6597
|
+
properties: {
|
|
6598
|
+
can_tailscale_proxy_reach_bridge: {
|
|
6599
|
+
description: 'Tailscale proxy cannot reach the bridge',
|
|
6600
|
+
nullable: true,
|
|
6601
|
+
type: 'boolean',
|
|
6602
|
+
},
|
|
6603
|
+
can_tailscale_proxy_reach_tailscale_network: {
|
|
6604
|
+
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
6605
|
+
nullable: true,
|
|
6606
|
+
type: 'boolean',
|
|
6607
|
+
},
|
|
6608
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6609
|
+
error_code: {
|
|
6610
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
6611
|
+
enum: ['bridge_lan_unreachable'],
|
|
6612
|
+
type: 'string',
|
|
6613
|
+
},
|
|
6614
|
+
is_bridge_socks_server_healthy: {
|
|
6615
|
+
description: "Bridge's SOCKS server is unhealthy",
|
|
6616
|
+
nullable: true,
|
|
6617
|
+
type: 'boolean',
|
|
6618
|
+
},
|
|
6619
|
+
is_tailscale_proxy_reachable: {
|
|
6620
|
+
description: 'Seam cannot reach the tailscale proxy',
|
|
6621
|
+
nullable: true,
|
|
6622
|
+
type: 'boolean',
|
|
6623
|
+
},
|
|
6624
|
+
is_tailscale_proxy_socks_server_healthy: {
|
|
6625
|
+
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
6626
|
+
nullable: true,
|
|
6627
|
+
type: 'boolean',
|
|
6628
|
+
},
|
|
6629
|
+
message: { type: 'string' },
|
|
6630
|
+
},
|
|
6631
|
+
required: [
|
|
6632
|
+
'message',
|
|
6633
|
+
'created_at',
|
|
6634
|
+
'error_code',
|
|
6635
|
+
'is_tailscale_proxy_reachable',
|
|
6636
|
+
'is_tailscale_proxy_socks_server_healthy',
|
|
6637
|
+
'can_tailscale_proxy_reach_tailscale_network',
|
|
6638
|
+
'can_tailscale_proxy_reach_bridge',
|
|
6639
|
+
'is_bridge_socks_server_healthy',
|
|
6640
|
+
],
|
|
6641
|
+
type: 'object',
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
description: 'Bridge has stopped communicating with Seam',
|
|
6645
|
+
properties: {
|
|
6646
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
6647
|
+
error_code: {
|
|
6648
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
6649
|
+
enum: ['no_communication_from_bridge'],
|
|
6650
|
+
type: 'string',
|
|
6651
|
+
},
|
|
6652
|
+
message: { type: 'string' },
|
|
6653
|
+
},
|
|
6654
|
+
required: ['message', 'created_at', 'error_code'],
|
|
6655
|
+
type: 'object',
|
|
6656
|
+
},
|
|
6657
|
+
],
|
|
6658
|
+
},
|
|
6659
|
+
type: 'array',
|
|
6660
|
+
},
|
|
6661
|
+
pairing_code: { maxLength: 6, minLength: 6, type: 'string' },
|
|
6662
|
+
pairing_code_expires_at: { format: 'date-time', type: 'string' },
|
|
6663
|
+
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
6664
|
+
tailscale_hostname: { type: 'string' },
|
|
6665
|
+
telemetry_token: { nullable: true, type: 'string' },
|
|
6666
|
+
telemetry_token_expires_at: {
|
|
6667
|
+
format: 'date-time',
|
|
6668
|
+
nullable: true,
|
|
6669
|
+
type: 'string',
|
|
6670
|
+
},
|
|
6671
|
+
telemetry_url: { nullable: true, type: 'string' },
|
|
6672
|
+
},
|
|
6673
|
+
required: [
|
|
6674
|
+
'created_at',
|
|
6675
|
+
'bridge_client_session_id',
|
|
6676
|
+
'bridge_client_session_token',
|
|
6677
|
+
'pairing_code',
|
|
6678
|
+
'pairing_code_expires_at',
|
|
6679
|
+
'tailscale_hostname',
|
|
6680
|
+
'tailscale_auth_key',
|
|
6681
|
+
'bridge_client_name',
|
|
6682
|
+
'bridge_client_time_zone',
|
|
6683
|
+
'bridge_client_machine_identifier_key',
|
|
6684
|
+
'errors',
|
|
6685
|
+
'telemetry_token',
|
|
6686
|
+
'telemetry_token_expires_at',
|
|
6687
|
+
'telemetry_url',
|
|
6688
|
+
],
|
|
6689
|
+
type: 'object',
|
|
6690
|
+
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
6691
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
6692
|
+
},
|
|
6693
|
+
bridge_connected_systems: {
|
|
6694
|
+
properties: {
|
|
6695
|
+
acs_system_display_name: { type: 'string' },
|
|
6696
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6697
|
+
bridge_created_at: { format: 'date-time', type: 'string' },
|
|
6698
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
6699
|
+
connected_account_created_at: { format: 'date-time', type: 'string' },
|
|
6700
|
+
connected_account_id: { format: 'uuid', type: 'string' },
|
|
6701
|
+
workspace_display_name: { type: 'string' },
|
|
6702
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
6703
|
+
},
|
|
6704
|
+
required: [
|
|
6705
|
+
'bridge_id',
|
|
6706
|
+
'bridge_created_at',
|
|
6707
|
+
'connected_account_id',
|
|
6708
|
+
'connected_account_created_at',
|
|
6709
|
+
'acs_system_id',
|
|
6710
|
+
'acs_system_display_name',
|
|
6711
|
+
'workspace_id',
|
|
6712
|
+
'workspace_display_name',
|
|
6713
|
+
],
|
|
6714
|
+
type: 'object',
|
|
6715
|
+
'x-route-path': '/seam/bridge/v1/bridge_connected_systems',
|
|
6716
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
6717
|
+
},
|
|
6582
6718
|
client_session: {
|
|
6583
6719
|
description: "Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.\n\nYou create each client session with a custom `user_identifier_key`. Normally, the `user_identifier_key` is a user ID that your application provides.\n\nWhen calling the Seam API from your backend using an API key, you can pass the `user_identifier_key` as a parameter to limit results to the associated client session. For example, `/devices/list?user_identifier_key=123` only returns devices associated with the client session created with the `user_identifier_key` `123`.\n\nA client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.\n\nSee also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).",
|
|
6584
6720
|
properties: {
|
|
@@ -9536,7 +9672,7 @@ export default {
|
|
|
9536
9672
|
'created_at',
|
|
9537
9673
|
],
|
|
9538
9674
|
type: 'object',
|
|
9539
|
-
'x-route-path': '/thermostats/
|
|
9675
|
+
'x-route-path': '/thermostats/daily_programs',
|
|
9540
9676
|
},
|
|
9541
9677
|
type: 'array',
|
|
9542
9678
|
'x-property-group-key': 'thermostats',
|
|
@@ -14767,6 +14903,53 @@ export default {
|
|
|
14767
14903
|
'x-route-path': '/user_identities',
|
|
14768
14904
|
'x-undocumented': 'Unreleased.',
|
|
14769
14905
|
},
|
|
14906
|
+
location: {
|
|
14907
|
+
properties: {
|
|
14908
|
+
created_at: {
|
|
14909
|
+
description: 'Date and time at which the location object was created.',
|
|
14910
|
+
format: 'date-time',
|
|
14911
|
+
type: 'string',
|
|
14912
|
+
},
|
|
14913
|
+
display_name: {
|
|
14914
|
+
description: 'Display name of the location.',
|
|
14915
|
+
type: 'string',
|
|
14916
|
+
},
|
|
14917
|
+
geolocation: {
|
|
14918
|
+
description: 'Geographical location of the location.',
|
|
14919
|
+
properties: {
|
|
14920
|
+
latitude: { format: 'float', type: 'number' },
|
|
14921
|
+
longitude: { format: 'float', type: 'number' },
|
|
14922
|
+
},
|
|
14923
|
+
required: ['latitude', 'longitude'],
|
|
14924
|
+
type: 'object',
|
|
14925
|
+
},
|
|
14926
|
+
location_id: {
|
|
14927
|
+
description: 'Unique identifier for the location.',
|
|
14928
|
+
format: 'uuid',
|
|
14929
|
+
type: 'string',
|
|
14930
|
+
},
|
|
14931
|
+
name: { description: 'Name of the location.', type: 'string' },
|
|
14932
|
+
time_zone: {
|
|
14933
|
+
description: 'Time zone of the location.',
|
|
14934
|
+
type: 'string',
|
|
14935
|
+
},
|
|
14936
|
+
workspace_id: {
|
|
14937
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
14938
|
+
format: 'uuid',
|
|
14939
|
+
type: 'string',
|
|
14940
|
+
},
|
|
14941
|
+
},
|
|
14942
|
+
required: [
|
|
14943
|
+
'location_id',
|
|
14944
|
+
'workspace_id',
|
|
14945
|
+
'name',
|
|
14946
|
+
'display_name',
|
|
14947
|
+
'created_at',
|
|
14948
|
+
],
|
|
14949
|
+
type: 'object',
|
|
14950
|
+
'x-route-path': '/unstable_locations',
|
|
14951
|
+
'x-undocumented': 'Will be removed.',
|
|
14952
|
+
},
|
|
14770
14953
|
magic_link: {
|
|
14771
14954
|
properties: {
|
|
14772
14955
|
building_block_type: {
|
|
@@ -14862,6 +15045,33 @@ export default {
|
|
|
14862
15045
|
required: ['next_page_cursor', 'has_next_page', 'next_page_url'],
|
|
14863
15046
|
type: 'object',
|
|
14864
15047
|
},
|
|
15048
|
+
partner_resource: {
|
|
15049
|
+
properties: {
|
|
15050
|
+
custom_metadata: {
|
|
15051
|
+
additionalProperties: { type: 'string' },
|
|
15052
|
+
type: 'object',
|
|
15053
|
+
},
|
|
15054
|
+
customer_key: { type: 'string' },
|
|
15055
|
+
description: { type: 'string' },
|
|
15056
|
+
email_address: { type: 'string' },
|
|
15057
|
+
ends_at: { type: 'string' },
|
|
15058
|
+
location_keys: { items: { type: 'string' }, type: 'array' },
|
|
15059
|
+
name: { type: 'string' },
|
|
15060
|
+
partner_resource_key: { type: 'string' },
|
|
15061
|
+
partner_resource_type: { type: 'string' },
|
|
15062
|
+
phone_number: { type: 'string' },
|
|
15063
|
+
starts_at: { type: 'string' },
|
|
15064
|
+
user_identity_key: { type: 'string' },
|
|
15065
|
+
},
|
|
15066
|
+
required: [
|
|
15067
|
+
'partner_resource_type',
|
|
15068
|
+
'partner_resource_key',
|
|
15069
|
+
'customer_key',
|
|
15070
|
+
],
|
|
15071
|
+
type: 'object',
|
|
15072
|
+
'x-route-path': '/unstable_partner/resources',
|
|
15073
|
+
'x-undocumented': 'Unreleased.',
|
|
15074
|
+
},
|
|
14865
15075
|
phone: {
|
|
14866
15076
|
description: "Represents an app user's mobile phone.",
|
|
14867
15077
|
properties: {
|
|
@@ -15016,7 +15226,7 @@ export default {
|
|
|
15016
15226
|
enum: ['code', 'card', 'mobile_key'],
|
|
15017
15227
|
type: 'string',
|
|
15018
15228
|
},
|
|
15019
|
-
acs_credential_id: { type: 'string' },
|
|
15229
|
+
acs_credential_id: { nullable: true, type: 'string' },
|
|
15020
15230
|
acs_credential_pool_id: {
|
|
15021
15231
|
format: 'uuid',
|
|
15022
15232
|
type: 'string',
|
|
@@ -15512,6 +15722,7 @@ export default {
|
|
|
15512
15722
|
'errors',
|
|
15513
15723
|
'warnings',
|
|
15514
15724
|
'is_managed',
|
|
15725
|
+
'acs_credential_id',
|
|
15515
15726
|
'acs_entrances',
|
|
15516
15727
|
],
|
|
15517
15728
|
type: 'object',
|
|
@@ -15581,6 +15792,66 @@ export default {
|
|
|
15581
15792
|
'x-draft': 'Early access.',
|
|
15582
15793
|
'x-route-path': '/spaces',
|
|
15583
15794
|
},
|
|
15795
|
+
thermostat_daily_program: {
|
|
15796
|
+
description: 'Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.',
|
|
15797
|
+
properties: {
|
|
15798
|
+
created_at: {
|
|
15799
|
+
description: 'Date and time at which the thermostat daily program was created.',
|
|
15800
|
+
format: 'date-time',
|
|
15801
|
+
type: 'string',
|
|
15802
|
+
},
|
|
15803
|
+
device_id: {
|
|
15804
|
+
description: 'ID of the thermostat device on which the thermostat daily program is configured.',
|
|
15805
|
+
format: 'uuid',
|
|
15806
|
+
type: 'string',
|
|
15807
|
+
},
|
|
15808
|
+
name: {
|
|
15809
|
+
description: 'User-friendly name to identify the thermostat daily program.',
|
|
15810
|
+
nullable: true,
|
|
15811
|
+
type: 'string',
|
|
15812
|
+
},
|
|
15813
|
+
periods: {
|
|
15814
|
+
description: 'Array of thermostat daily program periods.',
|
|
15815
|
+
items: {
|
|
15816
|
+
description: 'Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.',
|
|
15817
|
+
properties: {
|
|
15818
|
+
climate_preset_key: {
|
|
15819
|
+
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.',
|
|
15820
|
+
type: 'string',
|
|
15821
|
+
},
|
|
15822
|
+
starts_at_time: {
|
|
15823
|
+
description: 'Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
15824
|
+
pattern: '^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$',
|
|
15825
|
+
type: 'string',
|
|
15826
|
+
},
|
|
15827
|
+
},
|
|
15828
|
+
required: ['starts_at_time', 'climate_preset_key'],
|
|
15829
|
+
type: 'object',
|
|
15830
|
+
},
|
|
15831
|
+
type: 'array',
|
|
15832
|
+
},
|
|
15833
|
+
thermostat_daily_program_id: {
|
|
15834
|
+
description: 'ID of the thermostat daily program.',
|
|
15835
|
+
format: 'uuid',
|
|
15836
|
+
type: 'string',
|
|
15837
|
+
},
|
|
15838
|
+
workspace_id: {
|
|
15839
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.',
|
|
15840
|
+
format: 'uuid',
|
|
15841
|
+
type: 'string',
|
|
15842
|
+
},
|
|
15843
|
+
},
|
|
15844
|
+
required: [
|
|
15845
|
+
'thermostat_daily_program_id',
|
|
15846
|
+
'device_id',
|
|
15847
|
+
'name',
|
|
15848
|
+
'periods',
|
|
15849
|
+
'workspace_id',
|
|
15850
|
+
'created_at',
|
|
15851
|
+
],
|
|
15852
|
+
type: 'object',
|
|
15853
|
+
'x-route-path': '/thermostats/daily_programs',
|
|
15854
|
+
},
|
|
15584
15855
|
thermostat_schedule: {
|
|
15585
15856
|
description: 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
|
|
15586
15857
|
properties: {
|
|
@@ -30392,137 +30663,7 @@ export default {
|
|
|
30392
30663
|
schema: {
|
|
30393
30664
|
properties: {
|
|
30394
30665
|
bridge_client_session: {
|
|
30395
|
-
|
|
30396
|
-
bridge_client_machine_identifier_key: {
|
|
30397
|
-
type: 'string',
|
|
30398
|
-
},
|
|
30399
|
-
bridge_client_name: { type: 'string' },
|
|
30400
|
-
bridge_client_session_id: {
|
|
30401
|
-
format: 'uuid',
|
|
30402
|
-
type: 'string',
|
|
30403
|
-
},
|
|
30404
|
-
bridge_client_session_token: { type: 'string' },
|
|
30405
|
-
bridge_client_time_zone: { type: 'string' },
|
|
30406
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
30407
|
-
errors: {
|
|
30408
|
-
items: {
|
|
30409
|
-
description: 'Error associated with the `bridge_client_session`.',
|
|
30410
|
-
discriminator: { propertyName: 'error_code' },
|
|
30411
|
-
oneOf: [
|
|
30412
|
-
{
|
|
30413
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
30414
|
-
properties: {
|
|
30415
|
-
can_tailscale_proxy_reach_bridge: {
|
|
30416
|
-
description: 'Tailscale proxy cannot reach the bridge',
|
|
30417
|
-
nullable: true,
|
|
30418
|
-
type: 'boolean',
|
|
30419
|
-
},
|
|
30420
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
30421
|
-
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
30422
|
-
nullable: true,
|
|
30423
|
-
type: 'boolean',
|
|
30424
|
-
},
|
|
30425
|
-
created_at: {
|
|
30426
|
-
format: 'date-time',
|
|
30427
|
-
type: 'string',
|
|
30428
|
-
},
|
|
30429
|
-
error_code: {
|
|
30430
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30431
|
-
enum: ['bridge_lan_unreachable'],
|
|
30432
|
-
type: 'string',
|
|
30433
|
-
},
|
|
30434
|
-
is_bridge_socks_server_healthy: {
|
|
30435
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
30436
|
-
nullable: true,
|
|
30437
|
-
type: 'boolean',
|
|
30438
|
-
},
|
|
30439
|
-
is_tailscale_proxy_reachable: {
|
|
30440
|
-
description: 'Seam cannot reach the tailscale proxy',
|
|
30441
|
-
nullable: true,
|
|
30442
|
-
type: 'boolean',
|
|
30443
|
-
},
|
|
30444
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
30445
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
30446
|
-
nullable: true,
|
|
30447
|
-
type: 'boolean',
|
|
30448
|
-
},
|
|
30449
|
-
message: { type: 'string' },
|
|
30450
|
-
},
|
|
30451
|
-
required: [
|
|
30452
|
-
'message',
|
|
30453
|
-
'created_at',
|
|
30454
|
-
'error_code',
|
|
30455
|
-
'is_tailscale_proxy_reachable',
|
|
30456
|
-
'is_tailscale_proxy_socks_server_healthy',
|
|
30457
|
-
'can_tailscale_proxy_reach_tailscale_network',
|
|
30458
|
-
'can_tailscale_proxy_reach_bridge',
|
|
30459
|
-
'is_bridge_socks_server_healthy',
|
|
30460
|
-
],
|
|
30461
|
-
type: 'object',
|
|
30462
|
-
},
|
|
30463
|
-
{
|
|
30464
|
-
description: 'Bridge has stopped communicating with Seam',
|
|
30465
|
-
properties: {
|
|
30466
|
-
created_at: {
|
|
30467
|
-
format: 'date-time',
|
|
30468
|
-
type: 'string',
|
|
30469
|
-
},
|
|
30470
|
-
error_code: {
|
|
30471
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30472
|
-
enum: ['no_communication_from_bridge'],
|
|
30473
|
-
type: 'string',
|
|
30474
|
-
},
|
|
30475
|
-
message: { type: 'string' },
|
|
30476
|
-
},
|
|
30477
|
-
required: [
|
|
30478
|
-
'message',
|
|
30479
|
-
'created_at',
|
|
30480
|
-
'error_code',
|
|
30481
|
-
],
|
|
30482
|
-
type: 'object',
|
|
30483
|
-
},
|
|
30484
|
-
],
|
|
30485
|
-
},
|
|
30486
|
-
type: 'array',
|
|
30487
|
-
},
|
|
30488
|
-
pairing_code: {
|
|
30489
|
-
maxLength: 6,
|
|
30490
|
-
minLength: 6,
|
|
30491
|
-
type: 'string',
|
|
30492
|
-
},
|
|
30493
|
-
pairing_code_expires_at: {
|
|
30494
|
-
format: 'date-time',
|
|
30495
|
-
type: 'string',
|
|
30496
|
-
},
|
|
30497
|
-
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
30498
|
-
tailscale_hostname: { type: 'string' },
|
|
30499
|
-
telemetry_token: { nullable: true, type: 'string' },
|
|
30500
|
-
telemetry_token_expires_at: {
|
|
30501
|
-
format: 'date-time',
|
|
30502
|
-
nullable: true,
|
|
30503
|
-
type: 'string',
|
|
30504
|
-
},
|
|
30505
|
-
telemetry_url: { nullable: true, type: 'string' },
|
|
30506
|
-
},
|
|
30507
|
-
required: [
|
|
30508
|
-
'created_at',
|
|
30509
|
-
'bridge_client_session_id',
|
|
30510
|
-
'bridge_client_session_token',
|
|
30511
|
-
'pairing_code',
|
|
30512
|
-
'pairing_code_expires_at',
|
|
30513
|
-
'tailscale_hostname',
|
|
30514
|
-
'tailscale_auth_key',
|
|
30515
|
-
'bridge_client_name',
|
|
30516
|
-
'bridge_client_time_zone',
|
|
30517
|
-
'bridge_client_machine_identifier_key',
|
|
30518
|
-
'errors',
|
|
30519
|
-
'telemetry_token',
|
|
30520
|
-
'telemetry_token_expires_at',
|
|
30521
|
-
'telemetry_url',
|
|
30522
|
-
],
|
|
30523
|
-
type: 'object',
|
|
30524
|
-
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
30525
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30666
|
+
$ref: '#/components/schemas/bridge_client_session',
|
|
30526
30667
|
},
|
|
30527
30668
|
ok: { type: 'boolean' },
|
|
30528
30669
|
},
|
|
@@ -30563,137 +30704,7 @@ export default {
|
|
|
30563
30704
|
schema: {
|
|
30564
30705
|
properties: {
|
|
30565
30706
|
bridge_client_session: {
|
|
30566
|
-
|
|
30567
|
-
bridge_client_machine_identifier_key: {
|
|
30568
|
-
type: 'string',
|
|
30569
|
-
},
|
|
30570
|
-
bridge_client_name: { type: 'string' },
|
|
30571
|
-
bridge_client_session_id: {
|
|
30572
|
-
format: 'uuid',
|
|
30573
|
-
type: 'string',
|
|
30574
|
-
},
|
|
30575
|
-
bridge_client_session_token: { type: 'string' },
|
|
30576
|
-
bridge_client_time_zone: { type: 'string' },
|
|
30577
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
30578
|
-
errors: {
|
|
30579
|
-
items: {
|
|
30580
|
-
description: 'Error associated with the `bridge_client_session`.',
|
|
30581
|
-
discriminator: { propertyName: 'error_code' },
|
|
30582
|
-
oneOf: [
|
|
30583
|
-
{
|
|
30584
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
30585
|
-
properties: {
|
|
30586
|
-
can_tailscale_proxy_reach_bridge: {
|
|
30587
|
-
description: 'Tailscale proxy cannot reach the bridge',
|
|
30588
|
-
nullable: true,
|
|
30589
|
-
type: 'boolean',
|
|
30590
|
-
},
|
|
30591
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
30592
|
-
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
30593
|
-
nullable: true,
|
|
30594
|
-
type: 'boolean',
|
|
30595
|
-
},
|
|
30596
|
-
created_at: {
|
|
30597
|
-
format: 'date-time',
|
|
30598
|
-
type: 'string',
|
|
30599
|
-
},
|
|
30600
|
-
error_code: {
|
|
30601
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30602
|
-
enum: ['bridge_lan_unreachable'],
|
|
30603
|
-
type: 'string',
|
|
30604
|
-
},
|
|
30605
|
-
is_bridge_socks_server_healthy: {
|
|
30606
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
30607
|
-
nullable: true,
|
|
30608
|
-
type: 'boolean',
|
|
30609
|
-
},
|
|
30610
|
-
is_tailscale_proxy_reachable: {
|
|
30611
|
-
description: 'Seam cannot reach the tailscale proxy',
|
|
30612
|
-
nullable: true,
|
|
30613
|
-
type: 'boolean',
|
|
30614
|
-
},
|
|
30615
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
30616
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
30617
|
-
nullable: true,
|
|
30618
|
-
type: 'boolean',
|
|
30619
|
-
},
|
|
30620
|
-
message: { type: 'string' },
|
|
30621
|
-
},
|
|
30622
|
-
required: [
|
|
30623
|
-
'message',
|
|
30624
|
-
'created_at',
|
|
30625
|
-
'error_code',
|
|
30626
|
-
'is_tailscale_proxy_reachable',
|
|
30627
|
-
'is_tailscale_proxy_socks_server_healthy',
|
|
30628
|
-
'can_tailscale_proxy_reach_tailscale_network',
|
|
30629
|
-
'can_tailscale_proxy_reach_bridge',
|
|
30630
|
-
'is_bridge_socks_server_healthy',
|
|
30631
|
-
],
|
|
30632
|
-
type: 'object',
|
|
30633
|
-
},
|
|
30634
|
-
{
|
|
30635
|
-
description: 'Bridge has stopped communicating with Seam',
|
|
30636
|
-
properties: {
|
|
30637
|
-
created_at: {
|
|
30638
|
-
format: 'date-time',
|
|
30639
|
-
type: 'string',
|
|
30640
|
-
},
|
|
30641
|
-
error_code: {
|
|
30642
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30643
|
-
enum: ['no_communication_from_bridge'],
|
|
30644
|
-
type: 'string',
|
|
30645
|
-
},
|
|
30646
|
-
message: { type: 'string' },
|
|
30647
|
-
},
|
|
30648
|
-
required: [
|
|
30649
|
-
'message',
|
|
30650
|
-
'created_at',
|
|
30651
|
-
'error_code',
|
|
30652
|
-
],
|
|
30653
|
-
type: 'object',
|
|
30654
|
-
},
|
|
30655
|
-
],
|
|
30656
|
-
},
|
|
30657
|
-
type: 'array',
|
|
30658
|
-
},
|
|
30659
|
-
pairing_code: {
|
|
30660
|
-
maxLength: 6,
|
|
30661
|
-
minLength: 6,
|
|
30662
|
-
type: 'string',
|
|
30663
|
-
},
|
|
30664
|
-
pairing_code_expires_at: {
|
|
30665
|
-
format: 'date-time',
|
|
30666
|
-
type: 'string',
|
|
30667
|
-
},
|
|
30668
|
-
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
30669
|
-
tailscale_hostname: { type: 'string' },
|
|
30670
|
-
telemetry_token: { nullable: true, type: 'string' },
|
|
30671
|
-
telemetry_token_expires_at: {
|
|
30672
|
-
format: 'date-time',
|
|
30673
|
-
nullable: true,
|
|
30674
|
-
type: 'string',
|
|
30675
|
-
},
|
|
30676
|
-
telemetry_url: { nullable: true, type: 'string' },
|
|
30677
|
-
},
|
|
30678
|
-
required: [
|
|
30679
|
-
'created_at',
|
|
30680
|
-
'bridge_client_session_id',
|
|
30681
|
-
'bridge_client_session_token',
|
|
30682
|
-
'pairing_code',
|
|
30683
|
-
'pairing_code_expires_at',
|
|
30684
|
-
'tailscale_hostname',
|
|
30685
|
-
'tailscale_auth_key',
|
|
30686
|
-
'bridge_client_name',
|
|
30687
|
-
'bridge_client_time_zone',
|
|
30688
|
-
'bridge_client_machine_identifier_key',
|
|
30689
|
-
'errors',
|
|
30690
|
-
'telemetry_token',
|
|
30691
|
-
'telemetry_token_expires_at',
|
|
30692
|
-
'telemetry_url',
|
|
30693
|
-
],
|
|
30694
|
-
type: 'object',
|
|
30695
|
-
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
30696
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30707
|
+
$ref: '#/components/schemas/bridge_client_session',
|
|
30697
30708
|
},
|
|
30698
30709
|
ok: { type: 'boolean' },
|
|
30699
30710
|
},
|
|
@@ -30725,137 +30736,7 @@ export default {
|
|
|
30725
30736
|
schema: {
|
|
30726
30737
|
properties: {
|
|
30727
30738
|
bridge_client_session: {
|
|
30728
|
-
|
|
30729
|
-
bridge_client_machine_identifier_key: {
|
|
30730
|
-
type: 'string',
|
|
30731
|
-
},
|
|
30732
|
-
bridge_client_name: { type: 'string' },
|
|
30733
|
-
bridge_client_session_id: {
|
|
30734
|
-
format: 'uuid',
|
|
30735
|
-
type: 'string',
|
|
30736
|
-
},
|
|
30737
|
-
bridge_client_session_token: { type: 'string' },
|
|
30738
|
-
bridge_client_time_zone: { type: 'string' },
|
|
30739
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
30740
|
-
errors: {
|
|
30741
|
-
items: {
|
|
30742
|
-
description: 'Error associated with the `bridge_client_session`.',
|
|
30743
|
-
discriminator: { propertyName: 'error_code' },
|
|
30744
|
-
oneOf: [
|
|
30745
|
-
{
|
|
30746
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
30747
|
-
properties: {
|
|
30748
|
-
can_tailscale_proxy_reach_bridge: {
|
|
30749
|
-
description: 'Tailscale proxy cannot reach the bridge',
|
|
30750
|
-
nullable: true,
|
|
30751
|
-
type: 'boolean',
|
|
30752
|
-
},
|
|
30753
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
30754
|
-
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
30755
|
-
nullable: true,
|
|
30756
|
-
type: 'boolean',
|
|
30757
|
-
},
|
|
30758
|
-
created_at: {
|
|
30759
|
-
format: 'date-time',
|
|
30760
|
-
type: 'string',
|
|
30761
|
-
},
|
|
30762
|
-
error_code: {
|
|
30763
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30764
|
-
enum: ['bridge_lan_unreachable'],
|
|
30765
|
-
type: 'string',
|
|
30766
|
-
},
|
|
30767
|
-
is_bridge_socks_server_healthy: {
|
|
30768
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
30769
|
-
nullable: true,
|
|
30770
|
-
type: 'boolean',
|
|
30771
|
-
},
|
|
30772
|
-
is_tailscale_proxy_reachable: {
|
|
30773
|
-
description: 'Seam cannot reach the tailscale proxy',
|
|
30774
|
-
nullable: true,
|
|
30775
|
-
type: 'boolean',
|
|
30776
|
-
},
|
|
30777
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
30778
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
30779
|
-
nullable: true,
|
|
30780
|
-
type: 'boolean',
|
|
30781
|
-
},
|
|
30782
|
-
message: { type: 'string' },
|
|
30783
|
-
},
|
|
30784
|
-
required: [
|
|
30785
|
-
'message',
|
|
30786
|
-
'created_at',
|
|
30787
|
-
'error_code',
|
|
30788
|
-
'is_tailscale_proxy_reachable',
|
|
30789
|
-
'is_tailscale_proxy_socks_server_healthy',
|
|
30790
|
-
'can_tailscale_proxy_reach_tailscale_network',
|
|
30791
|
-
'can_tailscale_proxy_reach_bridge',
|
|
30792
|
-
'is_bridge_socks_server_healthy',
|
|
30793
|
-
],
|
|
30794
|
-
type: 'object',
|
|
30795
|
-
},
|
|
30796
|
-
{
|
|
30797
|
-
description: 'Bridge has stopped communicating with Seam',
|
|
30798
|
-
properties: {
|
|
30799
|
-
created_at: {
|
|
30800
|
-
format: 'date-time',
|
|
30801
|
-
type: 'string',
|
|
30802
|
-
},
|
|
30803
|
-
error_code: {
|
|
30804
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30805
|
-
enum: ['no_communication_from_bridge'],
|
|
30806
|
-
type: 'string',
|
|
30807
|
-
},
|
|
30808
|
-
message: { type: 'string' },
|
|
30809
|
-
},
|
|
30810
|
-
required: [
|
|
30811
|
-
'message',
|
|
30812
|
-
'created_at',
|
|
30813
|
-
'error_code',
|
|
30814
|
-
],
|
|
30815
|
-
type: 'object',
|
|
30816
|
-
},
|
|
30817
|
-
],
|
|
30818
|
-
},
|
|
30819
|
-
type: 'array',
|
|
30820
|
-
},
|
|
30821
|
-
pairing_code: {
|
|
30822
|
-
maxLength: 6,
|
|
30823
|
-
minLength: 6,
|
|
30824
|
-
type: 'string',
|
|
30825
|
-
},
|
|
30826
|
-
pairing_code_expires_at: {
|
|
30827
|
-
format: 'date-time',
|
|
30828
|
-
type: 'string',
|
|
30829
|
-
},
|
|
30830
|
-
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
30831
|
-
tailscale_hostname: { type: 'string' },
|
|
30832
|
-
telemetry_token: { nullable: true, type: 'string' },
|
|
30833
|
-
telemetry_token_expires_at: {
|
|
30834
|
-
format: 'date-time',
|
|
30835
|
-
nullable: true,
|
|
30836
|
-
type: 'string',
|
|
30837
|
-
},
|
|
30838
|
-
telemetry_url: { nullable: true, type: 'string' },
|
|
30839
|
-
},
|
|
30840
|
-
required: [
|
|
30841
|
-
'created_at',
|
|
30842
|
-
'bridge_client_session_id',
|
|
30843
|
-
'bridge_client_session_token',
|
|
30844
|
-
'pairing_code',
|
|
30845
|
-
'pairing_code_expires_at',
|
|
30846
|
-
'tailscale_hostname',
|
|
30847
|
-
'tailscale_auth_key',
|
|
30848
|
-
'bridge_client_name',
|
|
30849
|
-
'bridge_client_time_zone',
|
|
30850
|
-
'bridge_client_machine_identifier_key',
|
|
30851
|
-
'errors',
|
|
30852
|
-
'telemetry_token',
|
|
30853
|
-
'telemetry_token_expires_at',
|
|
30854
|
-
'telemetry_url',
|
|
30855
|
-
],
|
|
30856
|
-
type: 'object',
|
|
30857
|
-
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
30858
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30739
|
+
$ref: '#/components/schemas/bridge_client_session',
|
|
30859
30740
|
},
|
|
30860
30741
|
ok: { type: 'boolean' },
|
|
30861
30742
|
},
|
|
@@ -30896,137 +30777,7 @@ export default {
|
|
|
30896
30777
|
schema: {
|
|
30897
30778
|
properties: {
|
|
30898
30779
|
bridge_client_session: {
|
|
30899
|
-
|
|
30900
|
-
bridge_client_machine_identifier_key: {
|
|
30901
|
-
type: 'string',
|
|
30902
|
-
},
|
|
30903
|
-
bridge_client_name: { type: 'string' },
|
|
30904
|
-
bridge_client_session_id: {
|
|
30905
|
-
format: 'uuid',
|
|
30906
|
-
type: 'string',
|
|
30907
|
-
},
|
|
30908
|
-
bridge_client_session_token: { type: 'string' },
|
|
30909
|
-
bridge_client_time_zone: { type: 'string' },
|
|
30910
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
30911
|
-
errors: {
|
|
30912
|
-
items: {
|
|
30913
|
-
description: 'Error associated with the `bridge_client_session`.',
|
|
30914
|
-
discriminator: { propertyName: 'error_code' },
|
|
30915
|
-
oneOf: [
|
|
30916
|
-
{
|
|
30917
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
30918
|
-
properties: {
|
|
30919
|
-
can_tailscale_proxy_reach_bridge: {
|
|
30920
|
-
description: 'Tailscale proxy cannot reach the bridge',
|
|
30921
|
-
nullable: true,
|
|
30922
|
-
type: 'boolean',
|
|
30923
|
-
},
|
|
30924
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
30925
|
-
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
30926
|
-
nullable: true,
|
|
30927
|
-
type: 'boolean',
|
|
30928
|
-
},
|
|
30929
|
-
created_at: {
|
|
30930
|
-
format: 'date-time',
|
|
30931
|
-
type: 'string',
|
|
30932
|
-
},
|
|
30933
|
-
error_code: {
|
|
30934
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30935
|
-
enum: ['bridge_lan_unreachable'],
|
|
30936
|
-
type: 'string',
|
|
30937
|
-
},
|
|
30938
|
-
is_bridge_socks_server_healthy: {
|
|
30939
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
30940
|
-
nullable: true,
|
|
30941
|
-
type: 'boolean',
|
|
30942
|
-
},
|
|
30943
|
-
is_tailscale_proxy_reachable: {
|
|
30944
|
-
description: 'Seam cannot reach the tailscale proxy',
|
|
30945
|
-
nullable: true,
|
|
30946
|
-
type: 'boolean',
|
|
30947
|
-
},
|
|
30948
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
30949
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
30950
|
-
nullable: true,
|
|
30951
|
-
type: 'boolean',
|
|
30952
|
-
},
|
|
30953
|
-
message: { type: 'string' },
|
|
30954
|
-
},
|
|
30955
|
-
required: [
|
|
30956
|
-
'message',
|
|
30957
|
-
'created_at',
|
|
30958
|
-
'error_code',
|
|
30959
|
-
'is_tailscale_proxy_reachable',
|
|
30960
|
-
'is_tailscale_proxy_socks_server_healthy',
|
|
30961
|
-
'can_tailscale_proxy_reach_tailscale_network',
|
|
30962
|
-
'can_tailscale_proxy_reach_bridge',
|
|
30963
|
-
'is_bridge_socks_server_healthy',
|
|
30964
|
-
],
|
|
30965
|
-
type: 'object',
|
|
30966
|
-
},
|
|
30967
|
-
{
|
|
30968
|
-
description: 'Bridge has stopped communicating with Seam',
|
|
30969
|
-
properties: {
|
|
30970
|
-
created_at: {
|
|
30971
|
-
format: 'date-time',
|
|
30972
|
-
type: 'string',
|
|
30973
|
-
},
|
|
30974
|
-
error_code: {
|
|
30975
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30976
|
-
enum: ['no_communication_from_bridge'],
|
|
30977
|
-
type: 'string',
|
|
30978
|
-
},
|
|
30979
|
-
message: { type: 'string' },
|
|
30980
|
-
},
|
|
30981
|
-
required: [
|
|
30982
|
-
'message',
|
|
30983
|
-
'created_at',
|
|
30984
|
-
'error_code',
|
|
30985
|
-
],
|
|
30986
|
-
type: 'object',
|
|
30987
|
-
},
|
|
30988
|
-
],
|
|
30989
|
-
},
|
|
30990
|
-
type: 'array',
|
|
30991
|
-
},
|
|
30992
|
-
pairing_code: {
|
|
30993
|
-
maxLength: 6,
|
|
30994
|
-
minLength: 6,
|
|
30995
|
-
type: 'string',
|
|
30996
|
-
},
|
|
30997
|
-
pairing_code_expires_at: {
|
|
30998
|
-
format: 'date-time',
|
|
30999
|
-
type: 'string',
|
|
31000
|
-
},
|
|
31001
|
-
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
31002
|
-
tailscale_hostname: { type: 'string' },
|
|
31003
|
-
telemetry_token: { nullable: true, type: 'string' },
|
|
31004
|
-
telemetry_token_expires_at: {
|
|
31005
|
-
format: 'date-time',
|
|
31006
|
-
nullable: true,
|
|
31007
|
-
type: 'string',
|
|
31008
|
-
},
|
|
31009
|
-
telemetry_url: { nullable: true, type: 'string' },
|
|
31010
|
-
},
|
|
31011
|
-
required: [
|
|
31012
|
-
'created_at',
|
|
31013
|
-
'bridge_client_session_id',
|
|
31014
|
-
'bridge_client_session_token',
|
|
31015
|
-
'pairing_code',
|
|
31016
|
-
'pairing_code_expires_at',
|
|
31017
|
-
'tailscale_hostname',
|
|
31018
|
-
'tailscale_auth_key',
|
|
31019
|
-
'bridge_client_name',
|
|
31020
|
-
'bridge_client_time_zone',
|
|
31021
|
-
'bridge_client_machine_identifier_key',
|
|
31022
|
-
'errors',
|
|
31023
|
-
'telemetry_token',
|
|
31024
|
-
'telemetry_token_expires_at',
|
|
31025
|
-
'telemetry_url',
|
|
31026
|
-
],
|
|
31027
|
-
type: 'object',
|
|
31028
|
-
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
31029
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30780
|
+
$ref: '#/components/schemas/bridge_client_session',
|
|
31030
30781
|
},
|
|
31031
30782
|
ok: { type: 'boolean' },
|
|
31032
30783
|
},
|
|
@@ -31067,137 +30818,7 @@ export default {
|
|
|
31067
30818
|
schema: {
|
|
31068
30819
|
properties: {
|
|
31069
30820
|
bridge_client_session: {
|
|
31070
|
-
|
|
31071
|
-
bridge_client_machine_identifier_key: {
|
|
31072
|
-
type: 'string',
|
|
31073
|
-
},
|
|
31074
|
-
bridge_client_name: { type: 'string' },
|
|
31075
|
-
bridge_client_session_id: {
|
|
31076
|
-
format: 'uuid',
|
|
31077
|
-
type: 'string',
|
|
31078
|
-
},
|
|
31079
|
-
bridge_client_session_token: { type: 'string' },
|
|
31080
|
-
bridge_client_time_zone: { type: 'string' },
|
|
31081
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
31082
|
-
errors: {
|
|
31083
|
-
items: {
|
|
31084
|
-
description: 'Error associated with the `bridge_client_session`.',
|
|
31085
|
-
discriminator: { propertyName: 'error_code' },
|
|
31086
|
-
oneOf: [
|
|
31087
|
-
{
|
|
31088
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
31089
|
-
properties: {
|
|
31090
|
-
can_tailscale_proxy_reach_bridge: {
|
|
31091
|
-
description: 'Tailscale proxy cannot reach the bridge',
|
|
31092
|
-
nullable: true,
|
|
31093
|
-
type: 'boolean',
|
|
31094
|
-
},
|
|
31095
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
31096
|
-
description: 'Tailscale proxy cannot reach the Tailscale network',
|
|
31097
|
-
nullable: true,
|
|
31098
|
-
type: 'boolean',
|
|
31099
|
-
},
|
|
31100
|
-
created_at: {
|
|
31101
|
-
format: 'date-time',
|
|
31102
|
-
type: 'string',
|
|
31103
|
-
},
|
|
31104
|
-
error_code: {
|
|
31105
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
31106
|
-
enum: ['bridge_lan_unreachable'],
|
|
31107
|
-
type: 'string',
|
|
31108
|
-
},
|
|
31109
|
-
is_bridge_socks_server_healthy: {
|
|
31110
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
31111
|
-
nullable: true,
|
|
31112
|
-
type: 'boolean',
|
|
31113
|
-
},
|
|
31114
|
-
is_tailscale_proxy_reachable: {
|
|
31115
|
-
description: 'Seam cannot reach the tailscale proxy',
|
|
31116
|
-
nullable: true,
|
|
31117
|
-
type: 'boolean',
|
|
31118
|
-
},
|
|
31119
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
31120
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
31121
|
-
nullable: true,
|
|
31122
|
-
type: 'boolean',
|
|
31123
|
-
},
|
|
31124
|
-
message: { type: 'string' },
|
|
31125
|
-
},
|
|
31126
|
-
required: [
|
|
31127
|
-
'message',
|
|
31128
|
-
'created_at',
|
|
31129
|
-
'error_code',
|
|
31130
|
-
'is_tailscale_proxy_reachable',
|
|
31131
|
-
'is_tailscale_proxy_socks_server_healthy',
|
|
31132
|
-
'can_tailscale_proxy_reach_tailscale_network',
|
|
31133
|
-
'can_tailscale_proxy_reach_bridge',
|
|
31134
|
-
'is_bridge_socks_server_healthy',
|
|
31135
|
-
],
|
|
31136
|
-
type: 'object',
|
|
31137
|
-
},
|
|
31138
|
-
{
|
|
31139
|
-
description: 'Bridge has stopped communicating with Seam',
|
|
31140
|
-
properties: {
|
|
31141
|
-
created_at: {
|
|
31142
|
-
format: 'date-time',
|
|
31143
|
-
type: 'string',
|
|
31144
|
-
},
|
|
31145
|
-
error_code: {
|
|
31146
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
31147
|
-
enum: ['no_communication_from_bridge'],
|
|
31148
|
-
type: 'string',
|
|
31149
|
-
},
|
|
31150
|
-
message: { type: 'string' },
|
|
31151
|
-
},
|
|
31152
|
-
required: [
|
|
31153
|
-
'message',
|
|
31154
|
-
'created_at',
|
|
31155
|
-
'error_code',
|
|
31156
|
-
],
|
|
31157
|
-
type: 'object',
|
|
31158
|
-
},
|
|
31159
|
-
],
|
|
31160
|
-
},
|
|
31161
|
-
type: 'array',
|
|
31162
|
-
},
|
|
31163
|
-
pairing_code: {
|
|
31164
|
-
maxLength: 6,
|
|
31165
|
-
minLength: 6,
|
|
31166
|
-
type: 'string',
|
|
31167
|
-
},
|
|
31168
|
-
pairing_code_expires_at: {
|
|
31169
|
-
format: 'date-time',
|
|
31170
|
-
type: 'string',
|
|
31171
|
-
},
|
|
31172
|
-
tailscale_auth_key: { nullable: true, type: 'string' },
|
|
31173
|
-
tailscale_hostname: { type: 'string' },
|
|
31174
|
-
telemetry_token: { nullable: true, type: 'string' },
|
|
31175
|
-
telemetry_token_expires_at: {
|
|
31176
|
-
format: 'date-time',
|
|
31177
|
-
nullable: true,
|
|
31178
|
-
type: 'string',
|
|
31179
|
-
},
|
|
31180
|
-
telemetry_url: { nullable: true, type: 'string' },
|
|
31181
|
-
},
|
|
31182
|
-
required: [
|
|
31183
|
-
'created_at',
|
|
31184
|
-
'bridge_client_session_id',
|
|
31185
|
-
'bridge_client_session_token',
|
|
31186
|
-
'pairing_code',
|
|
31187
|
-
'pairing_code_expires_at',
|
|
31188
|
-
'tailscale_hostname',
|
|
31189
|
-
'tailscale_auth_key',
|
|
31190
|
-
'bridge_client_name',
|
|
31191
|
-
'bridge_client_time_zone',
|
|
31192
|
-
'bridge_client_machine_identifier_key',
|
|
31193
|
-
'errors',
|
|
31194
|
-
'telemetry_token',
|
|
31195
|
-
'telemetry_token_expires_at',
|
|
31196
|
-
'telemetry_url',
|
|
31197
|
-
],
|
|
31198
|
-
type: 'object',
|
|
31199
|
-
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
|
|
31200
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30821
|
+
$ref: '#/components/schemas/bridge_client_session',
|
|
31201
30822
|
},
|
|
31202
30823
|
ok: { type: 'boolean' },
|
|
31203
30824
|
},
|
|
@@ -31296,38 +30917,7 @@ export default {
|
|
|
31296
30917
|
properties: {
|
|
31297
30918
|
bridge_connected_systems: {
|
|
31298
30919
|
items: {
|
|
31299
|
-
|
|
31300
|
-
acs_system_display_name: { type: 'string' },
|
|
31301
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
31302
|
-
bridge_created_at: {
|
|
31303
|
-
format: 'date-time',
|
|
31304
|
-
type: 'string',
|
|
31305
|
-
},
|
|
31306
|
-
bridge_id: { format: 'uuid', type: 'string' },
|
|
31307
|
-
connected_account_created_at: {
|
|
31308
|
-
format: 'date-time',
|
|
31309
|
-
type: 'string',
|
|
31310
|
-
},
|
|
31311
|
-
connected_account_id: {
|
|
31312
|
-
format: 'uuid',
|
|
31313
|
-
type: 'string',
|
|
31314
|
-
},
|
|
31315
|
-
workspace_display_name: { type: 'string' },
|
|
31316
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
31317
|
-
},
|
|
31318
|
-
required: [
|
|
31319
|
-
'bridge_id',
|
|
31320
|
-
'bridge_created_at',
|
|
31321
|
-
'connected_account_id',
|
|
31322
|
-
'connected_account_created_at',
|
|
31323
|
-
'acs_system_id',
|
|
31324
|
-
'acs_system_display_name',
|
|
31325
|
-
'workspace_id',
|
|
31326
|
-
'workspace_display_name',
|
|
31327
|
-
],
|
|
31328
|
-
type: 'object',
|
|
31329
|
-
'x-route-path': '/seam/bridge/v1/bridge_connected_systems',
|
|
31330
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30920
|
+
$ref: '#/components/schemas/bridge_connected_systems',
|
|
31331
30921
|
},
|
|
31332
30922
|
type: 'array',
|
|
31333
30923
|
},
|
|
@@ -31362,38 +30952,7 @@ export default {
|
|
|
31362
30952
|
properties: {
|
|
31363
30953
|
bridge_connected_systems: {
|
|
31364
30954
|
items: {
|
|
31365
|
-
|
|
31366
|
-
acs_system_display_name: { type: 'string' },
|
|
31367
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
31368
|
-
bridge_created_at: {
|
|
31369
|
-
format: 'date-time',
|
|
31370
|
-
type: 'string',
|
|
31371
|
-
},
|
|
31372
|
-
bridge_id: { format: 'uuid', type: 'string' },
|
|
31373
|
-
connected_account_created_at: {
|
|
31374
|
-
format: 'date-time',
|
|
31375
|
-
type: 'string',
|
|
31376
|
-
},
|
|
31377
|
-
connected_account_id: {
|
|
31378
|
-
format: 'uuid',
|
|
31379
|
-
type: 'string',
|
|
31380
|
-
},
|
|
31381
|
-
workspace_display_name: { type: 'string' },
|
|
31382
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
31383
|
-
},
|
|
31384
|
-
required: [
|
|
31385
|
-
'bridge_id',
|
|
31386
|
-
'bridge_created_at',
|
|
31387
|
-
'connected_account_id',
|
|
31388
|
-
'connected_account_created_at',
|
|
31389
|
-
'acs_system_id',
|
|
31390
|
-
'acs_system_display_name',
|
|
31391
|
-
'workspace_id',
|
|
31392
|
-
'workspace_display_name',
|
|
31393
|
-
],
|
|
31394
|
-
type: 'object',
|
|
31395
|
-
'x-route-path': '/seam/bridge/v1/bridge_connected_systems',
|
|
31396
|
-
'x-undocumented': 'Seam Bridge Client only.',
|
|
30955
|
+
$ref: '#/components/schemas/bridge_connected_systems',
|
|
31397
30956
|
},
|
|
31398
30957
|
type: 'array',
|
|
31399
30958
|
},
|
|
@@ -31721,36 +31280,7 @@ export default {
|
|
|
31721
31280
|
properties: {
|
|
31722
31281
|
ok: { type: 'boolean' },
|
|
31723
31282
|
partner_resources: {
|
|
31724
|
-
items: {
|
|
31725
|
-
properties: {
|
|
31726
|
-
custom_metadata: {
|
|
31727
|
-
additionalProperties: { type: 'string' },
|
|
31728
|
-
type: 'object',
|
|
31729
|
-
},
|
|
31730
|
-
customer_key: { type: 'string' },
|
|
31731
|
-
description: { type: 'string' },
|
|
31732
|
-
email_address: { type: 'string' },
|
|
31733
|
-
ends_at: { type: 'string' },
|
|
31734
|
-
location_keys: {
|
|
31735
|
-
items: { type: 'string' },
|
|
31736
|
-
type: 'array',
|
|
31737
|
-
},
|
|
31738
|
-
name: { type: 'string' },
|
|
31739
|
-
partner_resource_key: { type: 'string' },
|
|
31740
|
-
partner_resource_type: { type: 'string' },
|
|
31741
|
-
phone_number: { type: 'string' },
|
|
31742
|
-
starts_at: { type: 'string' },
|
|
31743
|
-
user_identity_key: { type: 'string' },
|
|
31744
|
-
},
|
|
31745
|
-
required: [
|
|
31746
|
-
'partner_resource_type',
|
|
31747
|
-
'partner_resource_key',
|
|
31748
|
-
'customer_key',
|
|
31749
|
-
],
|
|
31750
|
-
type: 'object',
|
|
31751
|
-
'x-route-path': '/unstable_partner/resources',
|
|
31752
|
-
'x-undocumented': 'Unreleased.',
|
|
31753
|
-
},
|
|
31283
|
+
items: { $ref: '#/components/schemas/partner_resource' },
|
|
31754
31284
|
type: 'array',
|
|
31755
31285
|
},
|
|
31756
31286
|
},
|
|
@@ -32750,64 +32280,7 @@ export default {
|
|
|
32750
32280
|
properties: {
|
|
32751
32281
|
ok: { type: 'boolean' },
|
|
32752
32282
|
thermostat_daily_program: {
|
|
32753
|
-
|
|
32754
|
-
properties: {
|
|
32755
|
-
created_at: {
|
|
32756
|
-
description: 'Date and time at which the thermostat daily program was created.',
|
|
32757
|
-
format: 'date-time',
|
|
32758
|
-
type: 'string',
|
|
32759
|
-
},
|
|
32760
|
-
device_id: {
|
|
32761
|
-
description: 'ID of the thermostat device on which the thermostat daily program is configured.',
|
|
32762
|
-
format: 'uuid',
|
|
32763
|
-
type: 'string',
|
|
32764
|
-
},
|
|
32765
|
-
name: {
|
|
32766
|
-
description: 'User-friendly name to identify the thermostat daily program.',
|
|
32767
|
-
nullable: true,
|
|
32768
|
-
type: 'string',
|
|
32769
|
-
},
|
|
32770
|
-
periods: {
|
|
32771
|
-
description: 'Array of thermostat daily program periods.',
|
|
32772
|
-
items: {
|
|
32773
|
-
description: 'Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.',
|
|
32774
|
-
properties: {
|
|
32775
|
-
climate_preset_key: {
|
|
32776
|
-
description: 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.',
|
|
32777
|
-
type: 'string',
|
|
32778
|
-
},
|
|
32779
|
-
starts_at_time: {
|
|
32780
|
-
description: 'Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
32781
|
-
pattern: '^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$',
|
|
32782
|
-
type: 'string',
|
|
32783
|
-
},
|
|
32784
|
-
},
|
|
32785
|
-
required: ['starts_at_time', 'climate_preset_key'],
|
|
32786
|
-
type: 'object',
|
|
32787
|
-
},
|
|
32788
|
-
type: 'array',
|
|
32789
|
-
},
|
|
32790
|
-
thermostat_daily_program_id: {
|
|
32791
|
-
description: 'ID of the thermostat daily program.',
|
|
32792
|
-
format: 'uuid',
|
|
32793
|
-
type: 'string',
|
|
32794
|
-
},
|
|
32795
|
-
workspace_id: {
|
|
32796
|
-
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.',
|
|
32797
|
-
format: 'uuid',
|
|
32798
|
-
type: 'string',
|
|
32799
|
-
},
|
|
32800
|
-
},
|
|
32801
|
-
required: [
|
|
32802
|
-
'thermostat_daily_program_id',
|
|
32803
|
-
'device_id',
|
|
32804
|
-
'name',
|
|
32805
|
-
'periods',
|
|
32806
|
-
'workspace_id',
|
|
32807
|
-
'created_at',
|
|
32808
|
-
],
|
|
32809
|
-
type: 'object',
|
|
32810
|
-
'x-route-path': '/thermostats/thermostat_daily_programs',
|
|
32283
|
+
$ref: '#/components/schemas/thermostat_daily_program',
|
|
32811
32284
|
},
|
|
32812
32285
|
},
|
|
32813
32286
|
required: ['thermostat_daily_program', 'ok'],
|
|
@@ -35708,54 +35181,7 @@ export default {
|
|
|
35708
35181
|
'application/json': {
|
|
35709
35182
|
schema: {
|
|
35710
35183
|
properties: {
|
|
35711
|
-
location: {
|
|
35712
|
-
properties: {
|
|
35713
|
-
created_at: {
|
|
35714
|
-
description: 'Date and time at which the location object was created.',
|
|
35715
|
-
format: 'date-time',
|
|
35716
|
-
type: 'string',
|
|
35717
|
-
},
|
|
35718
|
-
display_name: {
|
|
35719
|
-
description: 'Display name of the location.',
|
|
35720
|
-
type: 'string',
|
|
35721
|
-
},
|
|
35722
|
-
geolocation: {
|
|
35723
|
-
description: 'Geographical location of the location.',
|
|
35724
|
-
properties: {
|
|
35725
|
-
latitude: { format: 'float', type: 'number' },
|
|
35726
|
-
longitude: { format: 'float', type: 'number' },
|
|
35727
|
-
},
|
|
35728
|
-
required: ['latitude', 'longitude'],
|
|
35729
|
-
type: 'object',
|
|
35730
|
-
},
|
|
35731
|
-
location_id: {
|
|
35732
|
-
description: 'Unique identifier for the location.',
|
|
35733
|
-
format: 'uuid',
|
|
35734
|
-
type: 'string',
|
|
35735
|
-
},
|
|
35736
|
-
name: {
|
|
35737
|
-
description: 'Name of the location.',
|
|
35738
|
-
type: 'string',
|
|
35739
|
-
},
|
|
35740
|
-
time_zone: {
|
|
35741
|
-
description: 'Time zone of the location.',
|
|
35742
|
-
type: 'string',
|
|
35743
|
-
},
|
|
35744
|
-
workspace_id: {
|
|
35745
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
35746
|
-
format: 'uuid',
|
|
35747
|
-
type: 'string',
|
|
35748
|
-
},
|
|
35749
|
-
},
|
|
35750
|
-
required: [
|
|
35751
|
-
'location_id',
|
|
35752
|
-
'workspace_id',
|
|
35753
|
-
'name',
|
|
35754
|
-
'display_name',
|
|
35755
|
-
'created_at',
|
|
35756
|
-
],
|
|
35757
|
-
type: 'object',
|
|
35758
|
-
},
|
|
35184
|
+
location: { $ref: '#/components/schemas/location' },
|
|
35759
35185
|
ok: { type: 'boolean' },
|
|
35760
35186
|
},
|
|
35761
35187
|
required: ['location', 'ok'],
|
|
@@ -35861,54 +35287,7 @@ export default {
|
|
|
35861
35287
|
'application/json': {
|
|
35862
35288
|
schema: {
|
|
35863
35289
|
properties: {
|
|
35864
|
-
location: {
|
|
35865
|
-
properties: {
|
|
35866
|
-
created_at: {
|
|
35867
|
-
description: 'Date and time at which the location object was created.',
|
|
35868
|
-
format: 'date-time',
|
|
35869
|
-
type: 'string',
|
|
35870
|
-
},
|
|
35871
|
-
display_name: {
|
|
35872
|
-
description: 'Display name of the location.',
|
|
35873
|
-
type: 'string',
|
|
35874
|
-
},
|
|
35875
|
-
geolocation: {
|
|
35876
|
-
description: 'Geographical location of the location.',
|
|
35877
|
-
properties: {
|
|
35878
|
-
latitude: { format: 'float', type: 'number' },
|
|
35879
|
-
longitude: { format: 'float', type: 'number' },
|
|
35880
|
-
},
|
|
35881
|
-
required: ['latitude', 'longitude'],
|
|
35882
|
-
type: 'object',
|
|
35883
|
-
},
|
|
35884
|
-
location_id: {
|
|
35885
|
-
description: 'Unique identifier for the location.',
|
|
35886
|
-
format: 'uuid',
|
|
35887
|
-
type: 'string',
|
|
35888
|
-
},
|
|
35889
|
-
name: {
|
|
35890
|
-
description: 'Name of the location.',
|
|
35891
|
-
type: 'string',
|
|
35892
|
-
},
|
|
35893
|
-
time_zone: {
|
|
35894
|
-
description: 'Time zone of the location.',
|
|
35895
|
-
type: 'string',
|
|
35896
|
-
},
|
|
35897
|
-
workspace_id: {
|
|
35898
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
35899
|
-
format: 'uuid',
|
|
35900
|
-
type: 'string',
|
|
35901
|
-
},
|
|
35902
|
-
},
|
|
35903
|
-
required: [
|
|
35904
|
-
'location_id',
|
|
35905
|
-
'workspace_id',
|
|
35906
|
-
'name',
|
|
35907
|
-
'display_name',
|
|
35908
|
-
'created_at',
|
|
35909
|
-
],
|
|
35910
|
-
type: 'object',
|
|
35911
|
-
},
|
|
35290
|
+
location: { $ref: '#/components/schemas/location' },
|
|
35912
35291
|
ok: { type: 'boolean' },
|
|
35913
35292
|
},
|
|
35914
35293
|
required: ['location', 'ok'],
|
|
@@ -35947,54 +35326,7 @@ export default {
|
|
|
35947
35326
|
schema: {
|
|
35948
35327
|
properties: {
|
|
35949
35328
|
locations: {
|
|
35950
|
-
items: {
|
|
35951
|
-
properties: {
|
|
35952
|
-
created_at: {
|
|
35953
|
-
description: 'Date and time at which the location object was created.',
|
|
35954
|
-
format: 'date-time',
|
|
35955
|
-
type: 'string',
|
|
35956
|
-
},
|
|
35957
|
-
display_name: {
|
|
35958
|
-
description: 'Display name of the location.',
|
|
35959
|
-
type: 'string',
|
|
35960
|
-
},
|
|
35961
|
-
geolocation: {
|
|
35962
|
-
description: 'Geographical location of the location.',
|
|
35963
|
-
properties: {
|
|
35964
|
-
latitude: { format: 'float', type: 'number' },
|
|
35965
|
-
longitude: { format: 'float', type: 'number' },
|
|
35966
|
-
},
|
|
35967
|
-
required: ['latitude', 'longitude'],
|
|
35968
|
-
type: 'object',
|
|
35969
|
-
},
|
|
35970
|
-
location_id: {
|
|
35971
|
-
description: 'Unique identifier for the location.',
|
|
35972
|
-
format: 'uuid',
|
|
35973
|
-
type: 'string',
|
|
35974
|
-
},
|
|
35975
|
-
name: {
|
|
35976
|
-
description: 'Name of the location.',
|
|
35977
|
-
type: 'string',
|
|
35978
|
-
},
|
|
35979
|
-
time_zone: {
|
|
35980
|
-
description: 'Time zone of the location.',
|
|
35981
|
-
type: 'string',
|
|
35982
|
-
},
|
|
35983
|
-
workspace_id: {
|
|
35984
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
35985
|
-
format: 'uuid',
|
|
35986
|
-
type: 'string',
|
|
35987
|
-
},
|
|
35988
|
-
},
|
|
35989
|
-
required: [
|
|
35990
|
-
'location_id',
|
|
35991
|
-
'workspace_id',
|
|
35992
|
-
'name',
|
|
35993
|
-
'display_name',
|
|
35994
|
-
'created_at',
|
|
35995
|
-
],
|
|
35996
|
-
type: 'object',
|
|
35997
|
-
},
|
|
35329
|
+
items: { $ref: '#/components/schemas/location' },
|
|
35998
35330
|
type: 'array',
|
|
35999
35331
|
},
|
|
36000
35332
|
ok: { type: 'boolean' },
|
|
@@ -36031,54 +35363,7 @@ export default {
|
|
|
36031
35363
|
schema: {
|
|
36032
35364
|
properties: {
|
|
36033
35365
|
locations: {
|
|
36034
|
-
items: {
|
|
36035
|
-
properties: {
|
|
36036
|
-
created_at: {
|
|
36037
|
-
description: 'Date and time at which the location object was created.',
|
|
36038
|
-
format: 'date-time',
|
|
36039
|
-
type: 'string',
|
|
36040
|
-
},
|
|
36041
|
-
display_name: {
|
|
36042
|
-
description: 'Display name of the location.',
|
|
36043
|
-
type: 'string',
|
|
36044
|
-
},
|
|
36045
|
-
geolocation: {
|
|
36046
|
-
description: 'Geographical location of the location.',
|
|
36047
|
-
properties: {
|
|
36048
|
-
latitude: { format: 'float', type: 'number' },
|
|
36049
|
-
longitude: { format: 'float', type: 'number' },
|
|
36050
|
-
},
|
|
36051
|
-
required: ['latitude', 'longitude'],
|
|
36052
|
-
type: 'object',
|
|
36053
|
-
},
|
|
36054
|
-
location_id: {
|
|
36055
|
-
description: 'Unique identifier for the location.',
|
|
36056
|
-
format: 'uuid',
|
|
36057
|
-
type: 'string',
|
|
36058
|
-
},
|
|
36059
|
-
name: {
|
|
36060
|
-
description: 'Name of the location.',
|
|
36061
|
-
type: 'string',
|
|
36062
|
-
},
|
|
36063
|
-
time_zone: {
|
|
36064
|
-
description: 'Time zone of the location.',
|
|
36065
|
-
type: 'string',
|
|
36066
|
-
},
|
|
36067
|
-
workspace_id: {
|
|
36068
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
36069
|
-
format: 'uuid',
|
|
36070
|
-
type: 'string',
|
|
36071
|
-
},
|
|
36072
|
-
},
|
|
36073
|
-
required: [
|
|
36074
|
-
'location_id',
|
|
36075
|
-
'workspace_id',
|
|
36076
|
-
'name',
|
|
36077
|
-
'display_name',
|
|
36078
|
-
'created_at',
|
|
36079
|
-
],
|
|
36080
|
-
type: 'object',
|
|
36081
|
-
},
|
|
35366
|
+
items: { $ref: '#/components/schemas/location' },
|
|
36082
35367
|
type: 'array',
|
|
36083
35368
|
},
|
|
36084
35369
|
ok: { type: 'boolean' },
|
|
@@ -36264,54 +35549,7 @@ export default {
|
|
|
36264
35549
|
'application/json': {
|
|
36265
35550
|
schema: {
|
|
36266
35551
|
properties: {
|
|
36267
|
-
location: {
|
|
36268
|
-
properties: {
|
|
36269
|
-
created_at: {
|
|
36270
|
-
description: 'Date and time at which the location object was created.',
|
|
36271
|
-
format: 'date-time',
|
|
36272
|
-
type: 'string',
|
|
36273
|
-
},
|
|
36274
|
-
display_name: {
|
|
36275
|
-
description: 'Display name of the location.',
|
|
36276
|
-
type: 'string',
|
|
36277
|
-
},
|
|
36278
|
-
geolocation: {
|
|
36279
|
-
description: 'Geographical location of the location.',
|
|
36280
|
-
properties: {
|
|
36281
|
-
latitude: { format: 'float', type: 'number' },
|
|
36282
|
-
longitude: { format: 'float', type: 'number' },
|
|
36283
|
-
},
|
|
36284
|
-
required: ['latitude', 'longitude'],
|
|
36285
|
-
type: 'object',
|
|
36286
|
-
},
|
|
36287
|
-
location_id: {
|
|
36288
|
-
description: 'Unique identifier for the location.',
|
|
36289
|
-
format: 'uuid',
|
|
36290
|
-
type: 'string',
|
|
36291
|
-
},
|
|
36292
|
-
name: {
|
|
36293
|
-
description: 'Name of the location.',
|
|
36294
|
-
type: 'string',
|
|
36295
|
-
},
|
|
36296
|
-
time_zone: {
|
|
36297
|
-
description: 'Time zone of the location.',
|
|
36298
|
-
type: 'string',
|
|
36299
|
-
},
|
|
36300
|
-
workspace_id: {
|
|
36301
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
36302
|
-
format: 'uuid',
|
|
36303
|
-
type: 'string',
|
|
36304
|
-
},
|
|
36305
|
-
},
|
|
36306
|
-
required: [
|
|
36307
|
-
'location_id',
|
|
36308
|
-
'workspace_id',
|
|
36309
|
-
'name',
|
|
36310
|
-
'display_name',
|
|
36311
|
-
'created_at',
|
|
36312
|
-
],
|
|
36313
|
-
type: 'object',
|
|
36314
|
-
},
|
|
35552
|
+
location: { $ref: '#/components/schemas/location' },
|
|
36315
35553
|
ok: { type: 'boolean' },
|
|
36316
35554
|
},
|
|
36317
35555
|
required: ['location', 'ok'],
|
|
@@ -36379,54 +35617,7 @@ export default {
|
|
|
36379
35617
|
'application/json': {
|
|
36380
35618
|
schema: {
|
|
36381
35619
|
properties: {
|
|
36382
|
-
location: {
|
|
36383
|
-
properties: {
|
|
36384
|
-
created_at: {
|
|
36385
|
-
description: 'Date and time at which the location object was created.',
|
|
36386
|
-
format: 'date-time',
|
|
36387
|
-
type: 'string',
|
|
36388
|
-
},
|
|
36389
|
-
display_name: {
|
|
36390
|
-
description: 'Display name of the location.',
|
|
36391
|
-
type: 'string',
|
|
36392
|
-
},
|
|
36393
|
-
geolocation: {
|
|
36394
|
-
description: 'Geographical location of the location.',
|
|
36395
|
-
properties: {
|
|
36396
|
-
latitude: { format: 'float', type: 'number' },
|
|
36397
|
-
longitude: { format: 'float', type: 'number' },
|
|
36398
|
-
},
|
|
36399
|
-
required: ['latitude', 'longitude'],
|
|
36400
|
-
type: 'object',
|
|
36401
|
-
},
|
|
36402
|
-
location_id: {
|
|
36403
|
-
description: 'Unique identifier for the location.',
|
|
36404
|
-
format: 'uuid',
|
|
36405
|
-
type: 'string',
|
|
36406
|
-
},
|
|
36407
|
-
name: {
|
|
36408
|
-
description: 'Name of the location.',
|
|
36409
|
-
type: 'string',
|
|
36410
|
-
},
|
|
36411
|
-
time_zone: {
|
|
36412
|
-
description: 'Time zone of the location.',
|
|
36413
|
-
type: 'string',
|
|
36414
|
-
},
|
|
36415
|
-
workspace_id: {
|
|
36416
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
36417
|
-
format: 'uuid',
|
|
36418
|
-
type: 'string',
|
|
36419
|
-
},
|
|
36420
|
-
},
|
|
36421
|
-
required: [
|
|
36422
|
-
'location_id',
|
|
36423
|
-
'workspace_id',
|
|
36424
|
-
'name',
|
|
36425
|
-
'display_name',
|
|
36426
|
-
'created_at',
|
|
36427
|
-
],
|
|
36428
|
-
type: 'object',
|
|
36429
|
-
},
|
|
35620
|
+
location: { $ref: '#/components/schemas/location' },
|
|
36430
35621
|
ok: { type: 'boolean' },
|
|
36431
35622
|
},
|
|
36432
35623
|
required: ['location', 'ok'],
|
|
@@ -37225,32 +36416,7 @@ export default {
|
|
|
37225
36416
|
schema: {
|
|
37226
36417
|
properties: {
|
|
37227
36418
|
enrollment_automation: {
|
|
37228
|
-
|
|
37229
|
-
acs_credential_provisioning_automation_id: {
|
|
37230
|
-
format: 'uuid',
|
|
37231
|
-
type: 'string',
|
|
37232
|
-
},
|
|
37233
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
37234
|
-
credential_manager_acs_system_id: {
|
|
37235
|
-
format: 'uuid',
|
|
37236
|
-
type: 'string',
|
|
37237
|
-
},
|
|
37238
|
-
enrollment_automation_id: {
|
|
37239
|
-
format: 'uuid',
|
|
37240
|
-
type: 'string',
|
|
37241
|
-
},
|
|
37242
|
-
user_identity_id: { format: 'uuid', type: 'string' },
|
|
37243
|
-
workspace_id: { format: 'uuid', type: 'string' },
|
|
37244
|
-
},
|
|
37245
|
-
required: [
|
|
37246
|
-
'acs_credential_provisioning_automation_id',
|
|
37247
|
-
'credential_manager_acs_system_id',
|
|
37248
|
-
'user_identity_id',
|
|
37249
|
-
'created_at',
|
|
37250
|
-
'workspace_id',
|
|
37251
|
-
'enrollment_automation_id',
|
|
37252
|
-
],
|
|
37253
|
-
type: 'object',
|
|
36419
|
+
$ref: '#/components/schemas/enrollment_automation',
|
|
37254
36420
|
},
|
|
37255
36421
|
ok: { type: 'boolean' },
|
|
37256
36422
|
},
|