@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 CHANGED
@@ -16932,6 +16932,16 @@ var openapi_default = {
16932
16932
  type: "http"
16933
16933
  },
16934
16934
  api_key: { bearerFormat: "API Key", scheme: "bearer", type: "http" },
16935
+ bridge_client_session: {
16936
+ bearerFormat: "Bridge Client Session Token",
16937
+ scheme: "bearer",
16938
+ type: "http"
16939
+ },
16940
+ certified_client: {
16941
+ bearerFormat: "Certified Client",
16942
+ scheme: "bearer",
16943
+ type: "http"
16944
+ },
16935
16945
  client_session: {
16936
16946
  bearerFormat: "Client Session Token",
16937
16947
  scheme: "bearer",
@@ -25781,6 +25791,243 @@ var openapi_default = {
25781
25791
  "x-title": "Create a Sandbox Phone"
25782
25792
  }
25783
25793
  },
25794
+ "/seam/bridge/v1/bridge_client_sessions/create": {
25795
+ post: {
25796
+ description: "Creates a new bridge client session.",
25797
+ operationId: "seamBridgeV1BridgeClientSessionsCreatePost",
25798
+ requestBody: {
25799
+ content: {
25800
+ "application/json": {
25801
+ schema: {
25802
+ properties: {
25803
+ machine_identifier_key: { type: "string" },
25804
+ name: { type: "string" },
25805
+ time_zone: { type: "string" }
25806
+ },
25807
+ required: ["name", "time_zone", "machine_identifier_key"],
25808
+ type: "object"
25809
+ }
25810
+ }
25811
+ }
25812
+ },
25813
+ responses: {
25814
+ 200: {
25815
+ content: {
25816
+ "application/json": {
25817
+ schema: {
25818
+ properties: {
25819
+ bridge_client_session: {
25820
+ properties: {
25821
+ bridge_client_machine_identifier_key: {
25822
+ type: "string"
25823
+ },
25824
+ bridge_client_name: { type: "string" },
25825
+ bridge_client_session_id: {
25826
+ format: "uuid",
25827
+ type: "string"
25828
+ },
25829
+ bridge_client_session_token: { type: "string" },
25830
+ bridge_client_tailscale_hostname: { type: "string" },
25831
+ bridge_client_time_zone: { type: "string" },
25832
+ created_at: { format: "date-time", type: "string" },
25833
+ pairing_code: {
25834
+ maxLength: 6,
25835
+ minLength: 6,
25836
+ type: "string"
25837
+ },
25838
+ pairing_code_expires_at: {
25839
+ format: "date-time",
25840
+ type: "string"
25841
+ },
25842
+ tailscale_auth_key: { nullable: true, type: "string" }
25843
+ },
25844
+ required: [
25845
+ "created_at",
25846
+ "bridge_client_session_id",
25847
+ "bridge_client_session_token",
25848
+ "bridge_client_name",
25849
+ "bridge_client_time_zone",
25850
+ "bridge_client_machine_identifier_key",
25851
+ "bridge_client_tailscale_hostname",
25852
+ "pairing_code",
25853
+ "pairing_code_expires_at",
25854
+ "tailscale_auth_key"
25855
+ ],
25856
+ type: "object",
25857
+ "x-route-path": "/seam/bridge/v1/bridge_client_sessions"
25858
+ },
25859
+ ok: { type: "boolean" }
25860
+ },
25861
+ required: ["bridge_client_session", "ok"],
25862
+ type: "object"
25863
+ }
25864
+ }
25865
+ },
25866
+ description: "OK"
25867
+ },
25868
+ 400: { description: "Bad Request" },
25869
+ 401: { description: "Unauthorized" }
25870
+ },
25871
+ security: [{ certified_client: [] }],
25872
+ summary: "/seam/bridge/v1/bridge_client_sessions/create",
25873
+ tags: [],
25874
+ "x-fern-sdk-group-name": [
25875
+ "seam",
25876
+ "bridge",
25877
+ "v1",
25878
+ "bridge_client_sessions"
25879
+ ],
25880
+ "x-fern-sdk-method-name": "create",
25881
+ "x-fern-sdk-return-value": "bridge_client_session",
25882
+ "x-response-key": "bridge_client_session",
25883
+ "x-title": "Create a Bridge Client Session"
25884
+ }
25885
+ },
25886
+ "/seam/bridge/v1/bridge_client_sessions/get": {
25887
+ get: {
25888
+ description: "Returns the bridge client session associated with the session token used.",
25889
+ operationId: "seamBridgeV1BridgeClientSessionsGetGet",
25890
+ responses: {
25891
+ 200: {
25892
+ content: {
25893
+ "application/json": {
25894
+ schema: {
25895
+ properties: {
25896
+ bridge_client_session: {
25897
+ properties: {
25898
+ bridge_client_machine_identifier_key: {
25899
+ type: "string"
25900
+ },
25901
+ bridge_client_name: { type: "string" },
25902
+ bridge_client_session_id: {
25903
+ format: "uuid",
25904
+ type: "string"
25905
+ },
25906
+ bridge_client_session_token: { type: "string" },
25907
+ bridge_client_tailscale_hostname: { type: "string" },
25908
+ bridge_client_time_zone: { type: "string" },
25909
+ created_at: { format: "date-time", type: "string" },
25910
+ pairing_code: {
25911
+ maxLength: 6,
25912
+ minLength: 6,
25913
+ type: "string"
25914
+ },
25915
+ pairing_code_expires_at: {
25916
+ format: "date-time",
25917
+ type: "string"
25918
+ },
25919
+ tailscale_auth_key: { nullable: true, type: "string" }
25920
+ },
25921
+ required: [
25922
+ "created_at",
25923
+ "bridge_client_session_id",
25924
+ "bridge_client_session_token",
25925
+ "bridge_client_name",
25926
+ "bridge_client_time_zone",
25927
+ "bridge_client_machine_identifier_key",
25928
+ "bridge_client_tailscale_hostname",
25929
+ "pairing_code",
25930
+ "pairing_code_expires_at",
25931
+ "tailscale_auth_key"
25932
+ ],
25933
+ type: "object",
25934
+ "x-route-path": "/seam/bridge/v1/bridge_client_sessions"
25935
+ },
25936
+ ok: { type: "boolean" }
25937
+ },
25938
+ required: ["bridge_client_session", "ok"],
25939
+ type: "object"
25940
+ }
25941
+ }
25942
+ },
25943
+ description: "OK"
25944
+ },
25945
+ 400: { description: "Bad Request" },
25946
+ 401: { description: "Unauthorized" }
25947
+ },
25948
+ security: [{ bridge_client_session: [] }],
25949
+ summary: "/seam/bridge/v1/bridge_client_sessions/get",
25950
+ tags: [],
25951
+ "x-fern-ignore": true,
25952
+ "x-response-key": "bridge_client_session",
25953
+ "x-title": "Get a Bridge Client Session"
25954
+ },
25955
+ post: {
25956
+ description: "Returns the bridge client session associated with the session token used.",
25957
+ operationId: "seamBridgeV1BridgeClientSessionsGetPost",
25958
+ responses: {
25959
+ 200: {
25960
+ content: {
25961
+ "application/json": {
25962
+ schema: {
25963
+ properties: {
25964
+ bridge_client_session: {
25965
+ properties: {
25966
+ bridge_client_machine_identifier_key: {
25967
+ type: "string"
25968
+ },
25969
+ bridge_client_name: { type: "string" },
25970
+ bridge_client_session_id: {
25971
+ format: "uuid",
25972
+ type: "string"
25973
+ },
25974
+ bridge_client_session_token: { type: "string" },
25975
+ bridge_client_tailscale_hostname: { type: "string" },
25976
+ bridge_client_time_zone: { type: "string" },
25977
+ created_at: { format: "date-time", type: "string" },
25978
+ pairing_code: {
25979
+ maxLength: 6,
25980
+ minLength: 6,
25981
+ type: "string"
25982
+ },
25983
+ pairing_code_expires_at: {
25984
+ format: "date-time",
25985
+ type: "string"
25986
+ },
25987
+ tailscale_auth_key: { nullable: true, type: "string" }
25988
+ },
25989
+ required: [
25990
+ "created_at",
25991
+ "bridge_client_session_id",
25992
+ "bridge_client_session_token",
25993
+ "bridge_client_name",
25994
+ "bridge_client_time_zone",
25995
+ "bridge_client_machine_identifier_key",
25996
+ "bridge_client_tailscale_hostname",
25997
+ "pairing_code",
25998
+ "pairing_code_expires_at",
25999
+ "tailscale_auth_key"
26000
+ ],
26001
+ type: "object",
26002
+ "x-route-path": "/seam/bridge/v1/bridge_client_sessions"
26003
+ },
26004
+ ok: { type: "boolean" }
26005
+ },
26006
+ required: ["bridge_client_session", "ok"],
26007
+ type: "object"
26008
+ }
26009
+ }
26010
+ },
26011
+ description: "OK"
26012
+ },
26013
+ 400: { description: "Bad Request" },
26014
+ 401: { description: "Unauthorized" }
26015
+ },
26016
+ security: [{ bridge_client_session: [] }],
26017
+ summary: "/seam/bridge/v1/bridge_client_sessions/get",
26018
+ tags: [],
26019
+ "x-fern-sdk-group-name": [
26020
+ "seam",
26021
+ "bridge",
26022
+ "v1",
26023
+ "bridge_client_sessions"
26024
+ ],
26025
+ "x-fern-sdk-method-name": "get",
26026
+ "x-fern-sdk-return-value": "bridge_client_session",
26027
+ "x-response-key": "bridge_client_session",
26028
+ "x-title": "Get a Bridge Client Session"
26029
+ }
26030
+ },
25784
26031
  "/thermostats/activate_climate_preset": {
25785
26032
  post: {
25786
26033
  description: "Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",