@seamapi/types 1.347.1 → 1.349.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +247 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +326 -0
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +36 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js +18 -0
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -0
- package/lib/seam/connect/models/bridges/index.d.ts +1 -0
- package/lib/seam/connect/models/bridges/index.js +1 -0
- package/lib/seam/connect/models/bridges/index.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +276 -0
- package/lib/seam/connect/openapi.js +247 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +50 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +20 -0
- package/src/lib/seam/connect/models/bridges/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +249 -0
- package/src/lib/seam/connect/route-types.ts +50 -0
package/dist/connect.d.cts
CHANGED
|
@@ -24620,6 +24620,16 @@ declare const _default: {
|
|
|
24620
24620
|
scheme: string;
|
|
24621
24621
|
type: string;
|
|
24622
24622
|
};
|
|
24623
|
+
bridge_client_session: {
|
|
24624
|
+
bearerFormat: string;
|
|
24625
|
+
scheme: string;
|
|
24626
|
+
type: string;
|
|
24627
|
+
};
|
|
24628
|
+
certified_client: {
|
|
24629
|
+
bearerFormat: string;
|
|
24630
|
+
scheme: string;
|
|
24631
|
+
type: string;
|
|
24632
|
+
};
|
|
24623
24633
|
client_session: {
|
|
24624
24634
|
bearerFormat: string;
|
|
24625
24635
|
scheme: string;
|
|
@@ -35818,6 +35828,272 @@ declare const _default: {
|
|
|
35818
35828
|
'x-title': string;
|
|
35819
35829
|
};
|
|
35820
35830
|
};
|
|
35831
|
+
'/seam/bridge/v1/bridge_client_sessions/create': {
|
|
35832
|
+
post: {
|
|
35833
|
+
description: string;
|
|
35834
|
+
operationId: string;
|
|
35835
|
+
requestBody: {
|
|
35836
|
+
content: {
|
|
35837
|
+
'application/json': {
|
|
35838
|
+
schema: {
|
|
35839
|
+
properties: {
|
|
35840
|
+
machine_identifier_key: {
|
|
35841
|
+
type: string;
|
|
35842
|
+
};
|
|
35843
|
+
name: {
|
|
35844
|
+
type: string;
|
|
35845
|
+
};
|
|
35846
|
+
time_zone: {
|
|
35847
|
+
type: string;
|
|
35848
|
+
};
|
|
35849
|
+
};
|
|
35850
|
+
required: string[];
|
|
35851
|
+
type: string;
|
|
35852
|
+
};
|
|
35853
|
+
};
|
|
35854
|
+
};
|
|
35855
|
+
};
|
|
35856
|
+
responses: {
|
|
35857
|
+
200: {
|
|
35858
|
+
content: {
|
|
35859
|
+
'application/json': {
|
|
35860
|
+
schema: {
|
|
35861
|
+
properties: {
|
|
35862
|
+
bridge_client_session: {
|
|
35863
|
+
properties: {
|
|
35864
|
+
bridge_client_machine_identifier_key: {
|
|
35865
|
+
type: string;
|
|
35866
|
+
};
|
|
35867
|
+
bridge_client_name: {
|
|
35868
|
+
type: string;
|
|
35869
|
+
};
|
|
35870
|
+
bridge_client_session_id: {
|
|
35871
|
+
format: string;
|
|
35872
|
+
type: string;
|
|
35873
|
+
};
|
|
35874
|
+
bridge_client_session_token: {
|
|
35875
|
+
type: string;
|
|
35876
|
+
};
|
|
35877
|
+
bridge_client_tailscale_hostname: {
|
|
35878
|
+
type: string;
|
|
35879
|
+
};
|
|
35880
|
+
bridge_client_time_zone: {
|
|
35881
|
+
type: string;
|
|
35882
|
+
};
|
|
35883
|
+
created_at: {
|
|
35884
|
+
format: string;
|
|
35885
|
+
type: string;
|
|
35886
|
+
};
|
|
35887
|
+
pairing_code: {
|
|
35888
|
+
maxLength: number;
|
|
35889
|
+
minLength: number;
|
|
35890
|
+
type: string;
|
|
35891
|
+
};
|
|
35892
|
+
pairing_code_expires_at: {
|
|
35893
|
+
format: string;
|
|
35894
|
+
type: string;
|
|
35895
|
+
};
|
|
35896
|
+
tailscale_auth_key: {
|
|
35897
|
+
nullable: boolean;
|
|
35898
|
+
type: string;
|
|
35899
|
+
};
|
|
35900
|
+
};
|
|
35901
|
+
required: string[];
|
|
35902
|
+
type: string;
|
|
35903
|
+
'x-route-path': string;
|
|
35904
|
+
};
|
|
35905
|
+
ok: {
|
|
35906
|
+
type: string;
|
|
35907
|
+
};
|
|
35908
|
+
};
|
|
35909
|
+
required: string[];
|
|
35910
|
+
type: string;
|
|
35911
|
+
};
|
|
35912
|
+
};
|
|
35913
|
+
};
|
|
35914
|
+
description: string;
|
|
35915
|
+
};
|
|
35916
|
+
400: {
|
|
35917
|
+
description: string;
|
|
35918
|
+
};
|
|
35919
|
+
401: {
|
|
35920
|
+
description: string;
|
|
35921
|
+
};
|
|
35922
|
+
};
|
|
35923
|
+
security: {
|
|
35924
|
+
certified_client: never[];
|
|
35925
|
+
}[];
|
|
35926
|
+
summary: string;
|
|
35927
|
+
tags: never[];
|
|
35928
|
+
'x-fern-sdk-group-name': string[];
|
|
35929
|
+
'x-fern-sdk-method-name': string;
|
|
35930
|
+
'x-fern-sdk-return-value': string;
|
|
35931
|
+
'x-response-key': string;
|
|
35932
|
+
'x-title': string;
|
|
35933
|
+
};
|
|
35934
|
+
};
|
|
35935
|
+
'/seam/bridge/v1/bridge_client_sessions/get': {
|
|
35936
|
+
get: {
|
|
35937
|
+
description: string;
|
|
35938
|
+
operationId: string;
|
|
35939
|
+
responses: {
|
|
35940
|
+
200: {
|
|
35941
|
+
content: {
|
|
35942
|
+
'application/json': {
|
|
35943
|
+
schema: {
|
|
35944
|
+
properties: {
|
|
35945
|
+
bridge_client_session: {
|
|
35946
|
+
properties: {
|
|
35947
|
+
bridge_client_machine_identifier_key: {
|
|
35948
|
+
type: string;
|
|
35949
|
+
};
|
|
35950
|
+
bridge_client_name: {
|
|
35951
|
+
type: string;
|
|
35952
|
+
};
|
|
35953
|
+
bridge_client_session_id: {
|
|
35954
|
+
format: string;
|
|
35955
|
+
type: string;
|
|
35956
|
+
};
|
|
35957
|
+
bridge_client_session_token: {
|
|
35958
|
+
type: string;
|
|
35959
|
+
};
|
|
35960
|
+
bridge_client_tailscale_hostname: {
|
|
35961
|
+
type: string;
|
|
35962
|
+
};
|
|
35963
|
+
bridge_client_time_zone: {
|
|
35964
|
+
type: string;
|
|
35965
|
+
};
|
|
35966
|
+
created_at: {
|
|
35967
|
+
format: string;
|
|
35968
|
+
type: string;
|
|
35969
|
+
};
|
|
35970
|
+
pairing_code: {
|
|
35971
|
+
maxLength: number;
|
|
35972
|
+
minLength: number;
|
|
35973
|
+
type: string;
|
|
35974
|
+
};
|
|
35975
|
+
pairing_code_expires_at: {
|
|
35976
|
+
format: string;
|
|
35977
|
+
type: string;
|
|
35978
|
+
};
|
|
35979
|
+
tailscale_auth_key: {
|
|
35980
|
+
nullable: boolean;
|
|
35981
|
+
type: string;
|
|
35982
|
+
};
|
|
35983
|
+
};
|
|
35984
|
+
required: string[];
|
|
35985
|
+
type: string;
|
|
35986
|
+
'x-route-path': string;
|
|
35987
|
+
};
|
|
35988
|
+
ok: {
|
|
35989
|
+
type: string;
|
|
35990
|
+
};
|
|
35991
|
+
};
|
|
35992
|
+
required: string[];
|
|
35993
|
+
type: string;
|
|
35994
|
+
};
|
|
35995
|
+
};
|
|
35996
|
+
};
|
|
35997
|
+
description: string;
|
|
35998
|
+
};
|
|
35999
|
+
400: {
|
|
36000
|
+
description: string;
|
|
36001
|
+
};
|
|
36002
|
+
401: {
|
|
36003
|
+
description: string;
|
|
36004
|
+
};
|
|
36005
|
+
};
|
|
36006
|
+
security: {
|
|
36007
|
+
bridge_client_session: never[];
|
|
36008
|
+
}[];
|
|
36009
|
+
summary: string;
|
|
36010
|
+
tags: never[];
|
|
36011
|
+
'x-fern-ignore': boolean;
|
|
36012
|
+
'x-response-key': string;
|
|
36013
|
+
'x-title': string;
|
|
36014
|
+
};
|
|
36015
|
+
post: {
|
|
36016
|
+
description: string;
|
|
36017
|
+
operationId: string;
|
|
36018
|
+
responses: {
|
|
36019
|
+
200: {
|
|
36020
|
+
content: {
|
|
36021
|
+
'application/json': {
|
|
36022
|
+
schema: {
|
|
36023
|
+
properties: {
|
|
36024
|
+
bridge_client_session: {
|
|
36025
|
+
properties: {
|
|
36026
|
+
bridge_client_machine_identifier_key: {
|
|
36027
|
+
type: string;
|
|
36028
|
+
};
|
|
36029
|
+
bridge_client_name: {
|
|
36030
|
+
type: string;
|
|
36031
|
+
};
|
|
36032
|
+
bridge_client_session_id: {
|
|
36033
|
+
format: string;
|
|
36034
|
+
type: string;
|
|
36035
|
+
};
|
|
36036
|
+
bridge_client_session_token: {
|
|
36037
|
+
type: string;
|
|
36038
|
+
};
|
|
36039
|
+
bridge_client_tailscale_hostname: {
|
|
36040
|
+
type: string;
|
|
36041
|
+
};
|
|
36042
|
+
bridge_client_time_zone: {
|
|
36043
|
+
type: string;
|
|
36044
|
+
};
|
|
36045
|
+
created_at: {
|
|
36046
|
+
format: string;
|
|
36047
|
+
type: string;
|
|
36048
|
+
};
|
|
36049
|
+
pairing_code: {
|
|
36050
|
+
maxLength: number;
|
|
36051
|
+
minLength: number;
|
|
36052
|
+
type: string;
|
|
36053
|
+
};
|
|
36054
|
+
pairing_code_expires_at: {
|
|
36055
|
+
format: string;
|
|
36056
|
+
type: string;
|
|
36057
|
+
};
|
|
36058
|
+
tailscale_auth_key: {
|
|
36059
|
+
nullable: boolean;
|
|
36060
|
+
type: string;
|
|
36061
|
+
};
|
|
36062
|
+
};
|
|
36063
|
+
required: string[];
|
|
36064
|
+
type: string;
|
|
36065
|
+
'x-route-path': string;
|
|
36066
|
+
};
|
|
36067
|
+
ok: {
|
|
36068
|
+
type: string;
|
|
36069
|
+
};
|
|
36070
|
+
};
|
|
36071
|
+
required: string[];
|
|
36072
|
+
type: string;
|
|
36073
|
+
};
|
|
36074
|
+
};
|
|
36075
|
+
};
|
|
36076
|
+
description: string;
|
|
36077
|
+
};
|
|
36078
|
+
400: {
|
|
36079
|
+
description: string;
|
|
36080
|
+
};
|
|
36081
|
+
401: {
|
|
36082
|
+
description: string;
|
|
36083
|
+
};
|
|
36084
|
+
};
|
|
36085
|
+
security: {
|
|
36086
|
+
bridge_client_session: never[];
|
|
36087
|
+
}[];
|
|
36088
|
+
summary: string;
|
|
36089
|
+
tags: never[];
|
|
36090
|
+
'x-fern-sdk-group-name': string[];
|
|
36091
|
+
'x-fern-sdk-method-name': string;
|
|
36092
|
+
'x-fern-sdk-return-value': string;
|
|
36093
|
+
'x-response-key': string;
|
|
36094
|
+
'x-title': string;
|
|
36095
|
+
};
|
|
36096
|
+
};
|
|
35821
36097
|
'/thermostats/activate_climate_preset': {
|
|
35822
36098
|
post: {
|
|
35823
36099
|
description: string;
|
|
@@ -66645,6 +66921,56 @@ interface Routes {
|
|
|
66645
66921
|
};
|
|
66646
66922
|
};
|
|
66647
66923
|
};
|
|
66924
|
+
'/seam/bridge/v1/bridge_client_sessions/create': {
|
|
66925
|
+
route: '/seam/bridge/v1/bridge_client_sessions/create';
|
|
66926
|
+
method: 'POST';
|
|
66927
|
+
queryParams: {};
|
|
66928
|
+
jsonBody: {
|
|
66929
|
+
name: string;
|
|
66930
|
+
time_zone: string;
|
|
66931
|
+
machine_identifier_key: string;
|
|
66932
|
+
};
|
|
66933
|
+
commonParams: {};
|
|
66934
|
+
formData: {};
|
|
66935
|
+
jsonResponse: {
|
|
66936
|
+
/** */
|
|
66937
|
+
bridge_client_session: {
|
|
66938
|
+
created_at: string;
|
|
66939
|
+
bridge_client_session_id: string;
|
|
66940
|
+
bridge_client_session_token: string;
|
|
66941
|
+
bridge_client_name: string;
|
|
66942
|
+
bridge_client_time_zone: string;
|
|
66943
|
+
bridge_client_machine_identifier_key: string;
|
|
66944
|
+
bridge_client_tailscale_hostname: string;
|
|
66945
|
+
pairing_code: string;
|
|
66946
|
+
pairing_code_expires_at: string;
|
|
66947
|
+
tailscale_auth_key: string | null;
|
|
66948
|
+
};
|
|
66949
|
+
};
|
|
66950
|
+
};
|
|
66951
|
+
'/seam/bridge/v1/bridge_client_sessions/get': {
|
|
66952
|
+
route: '/seam/bridge/v1/bridge_client_sessions/get';
|
|
66953
|
+
method: 'GET' | 'POST';
|
|
66954
|
+
queryParams: {};
|
|
66955
|
+
jsonBody: {};
|
|
66956
|
+
commonParams: {};
|
|
66957
|
+
formData: {};
|
|
66958
|
+
jsonResponse: {
|
|
66959
|
+
/** */
|
|
66960
|
+
bridge_client_session: {
|
|
66961
|
+
created_at: string;
|
|
66962
|
+
bridge_client_session_id: string;
|
|
66963
|
+
bridge_client_session_token: string;
|
|
66964
|
+
bridge_client_name: string;
|
|
66965
|
+
bridge_client_time_zone: string;
|
|
66966
|
+
bridge_client_machine_identifier_key: string;
|
|
66967
|
+
bridge_client_tailscale_hostname: string;
|
|
66968
|
+
pairing_code: string;
|
|
66969
|
+
pairing_code_expires_at: string;
|
|
66970
|
+
tailscale_auth_key: string | null;
|
|
66971
|
+
};
|
|
66972
|
+
};
|
|
66973
|
+
};
|
|
66648
66974
|
'/thermostats/activate_climate_preset': {
|
|
66649
66975
|
route: '/thermostats/activate_climate_preset';
|
|
66650
66976
|
method: 'POST';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
3
3
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bridge_client_session: z.ZodObject<{
|
|
3
|
+
created_at: z.ZodString;
|
|
4
|
+
bridge_client_session_id: z.ZodString;
|
|
5
|
+
bridge_client_session_token: z.ZodString;
|
|
6
|
+
bridge_client_name: z.ZodString;
|
|
7
|
+
bridge_client_time_zone: z.ZodString;
|
|
8
|
+
bridge_client_machine_identifier_key: z.ZodString;
|
|
9
|
+
bridge_client_tailscale_hostname: z.ZodString;
|
|
10
|
+
pairing_code: z.ZodString;
|
|
11
|
+
pairing_code_expires_at: z.ZodString;
|
|
12
|
+
tailscale_auth_key: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
created_at: string;
|
|
15
|
+
bridge_client_session_id: string;
|
|
16
|
+
bridge_client_session_token: string;
|
|
17
|
+
bridge_client_name: string;
|
|
18
|
+
bridge_client_time_zone: string;
|
|
19
|
+
bridge_client_machine_identifier_key: string;
|
|
20
|
+
bridge_client_tailscale_hostname: string;
|
|
21
|
+
pairing_code: string;
|
|
22
|
+
pairing_code_expires_at: string;
|
|
23
|
+
tailscale_auth_key: string | null;
|
|
24
|
+
}, {
|
|
25
|
+
created_at: string;
|
|
26
|
+
bridge_client_session_id: string;
|
|
27
|
+
bridge_client_session_token: string;
|
|
28
|
+
bridge_client_name: string;
|
|
29
|
+
bridge_client_time_zone: string;
|
|
30
|
+
bridge_client_machine_identifier_key: string;
|
|
31
|
+
bridge_client_tailscale_hostname: string;
|
|
32
|
+
pairing_code: string;
|
|
33
|
+
pairing_code_expires_at: string;
|
|
34
|
+
tailscale_auth_key: string | null;
|
|
35
|
+
}>;
|
|
36
|
+
export type BridgeClientSession = z.infer<typeof bridge_client_session>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const bridge_client_session = z.object({
|
|
3
|
+
created_at: z.string().datetime(),
|
|
4
|
+
bridge_client_session_id: z.string().uuid(),
|
|
5
|
+
bridge_client_session_token: z.string(),
|
|
6
|
+
bridge_client_name: z.string(),
|
|
7
|
+
bridge_client_time_zone: z.string(),
|
|
8
|
+
bridge_client_machine_identifier_key: z.string(),
|
|
9
|
+
bridge_client_tailscale_hostname: z.string(),
|
|
10
|
+
pairing_code: z.string().length(6),
|
|
11
|
+
pairing_code_expires_at: z.string().datetime(),
|
|
12
|
+
tailscale_auth_key: z.string().nullable(),
|
|
13
|
+
}).describe(`
|
|
14
|
+
---
|
|
15
|
+
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
16
|
+
---
|
|
17
|
+
`);
|
|
18
|
+
//# sourceMappingURL=bridge_client_session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge_client_session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge_client_session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3C,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE;IACvC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE;IACnC,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;IAChD,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAClC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;CAIX,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,4BAA4B,CAAA"}
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js';
|
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
4
|
export * from './bridges/index.js';
|
|
5
|
+
export * from './bridges/index.js';
|
|
5
6
|
export * from './client-sessions/index.js';
|
|
6
7
|
export * from './connect-webviews/index.js';
|
|
7
8
|
export * from './connected-accounts/index.js';
|
|
@@ -2,6 +2,7 @@ export * from './access-codes/index.js';
|
|
|
2
2
|
export * from './acs/index.js';
|
|
3
3
|
export * from './action-attempts/index.js';
|
|
4
4
|
export * from './bridges/index.js';
|
|
5
|
+
export * from './bridges/index.js';
|
|
5
6
|
export * from './client-sessions/index.js';
|
|
6
7
|
export * from './connect-webviews/index.js';
|
|
7
8
|
export * from './connected-accounts/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
|