@seamapi/types 1.348.0 → 1.349.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +241 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +316 -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 +266 -0
- package/lib/seam/connect/openapi.js +241 -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 +243 -0
- package/src/lib/seam/connect/route-types.ts +50 -0
package/dist/connect.cjs
CHANGED
|
@@ -25791,6 +25791,247 @@ var openapi_default = {
|
|
|
25791
25791
|
"x-title": "Create a Sandbox Phone"
|
|
25792
25792
|
}
|
|
25793
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
|
+
bridge_client_machine_identifier_key: { type: "string" },
|
|
25804
|
+
bridge_client_name: { type: "string" },
|
|
25805
|
+
bridge_client_time_zone: { type: "string" }
|
|
25806
|
+
},
|
|
25807
|
+
required: [
|
|
25808
|
+
"bridge_client_name",
|
|
25809
|
+
"bridge_client_time_zone",
|
|
25810
|
+
"bridge_client_machine_identifier_key"
|
|
25811
|
+
],
|
|
25812
|
+
type: "object"
|
|
25813
|
+
}
|
|
25814
|
+
}
|
|
25815
|
+
}
|
|
25816
|
+
},
|
|
25817
|
+
responses: {
|
|
25818
|
+
200: {
|
|
25819
|
+
content: {
|
|
25820
|
+
"application/json": {
|
|
25821
|
+
schema: {
|
|
25822
|
+
properties: {
|
|
25823
|
+
bridge_client_session: {
|
|
25824
|
+
properties: {
|
|
25825
|
+
bridge_client_machine_identifier_key: {
|
|
25826
|
+
type: "string"
|
|
25827
|
+
},
|
|
25828
|
+
bridge_client_name: { type: "string" },
|
|
25829
|
+
bridge_client_session_id: {
|
|
25830
|
+
format: "uuid",
|
|
25831
|
+
type: "string"
|
|
25832
|
+
},
|
|
25833
|
+
bridge_client_session_token: { type: "string" },
|
|
25834
|
+
bridge_client_time_zone: { type: "string" },
|
|
25835
|
+
created_at: { format: "date-time", type: "string" },
|
|
25836
|
+
pairing_code: {
|
|
25837
|
+
maxLength: 6,
|
|
25838
|
+
minLength: 6,
|
|
25839
|
+
type: "string"
|
|
25840
|
+
},
|
|
25841
|
+
pairing_code_expires_at: {
|
|
25842
|
+
format: "date-time",
|
|
25843
|
+
type: "string"
|
|
25844
|
+
},
|
|
25845
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
25846
|
+
tailscale_hostname: { type: "string" }
|
|
25847
|
+
},
|
|
25848
|
+
required: [
|
|
25849
|
+
"created_at",
|
|
25850
|
+
"bridge_client_session_id",
|
|
25851
|
+
"bridge_client_session_token",
|
|
25852
|
+
"pairing_code",
|
|
25853
|
+
"pairing_code_expires_at",
|
|
25854
|
+
"tailscale_hostname",
|
|
25855
|
+
"tailscale_auth_key",
|
|
25856
|
+
"bridge_client_name",
|
|
25857
|
+
"bridge_client_time_zone",
|
|
25858
|
+
"bridge_client_machine_identifier_key"
|
|
25859
|
+
],
|
|
25860
|
+
type: "object",
|
|
25861
|
+
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
25862
|
+
},
|
|
25863
|
+
ok: { type: "boolean" }
|
|
25864
|
+
},
|
|
25865
|
+
required: ["bridge_client_session", "ok"],
|
|
25866
|
+
type: "object"
|
|
25867
|
+
}
|
|
25868
|
+
}
|
|
25869
|
+
},
|
|
25870
|
+
description: "OK"
|
|
25871
|
+
},
|
|
25872
|
+
400: { description: "Bad Request" },
|
|
25873
|
+
401: { description: "Unauthorized" }
|
|
25874
|
+
},
|
|
25875
|
+
security: [{ certified_client: [] }],
|
|
25876
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/create",
|
|
25877
|
+
tags: [],
|
|
25878
|
+
"x-fern-sdk-group-name": [
|
|
25879
|
+
"seam",
|
|
25880
|
+
"bridge",
|
|
25881
|
+
"v1",
|
|
25882
|
+
"bridge_client_sessions"
|
|
25883
|
+
],
|
|
25884
|
+
"x-fern-sdk-method-name": "create",
|
|
25885
|
+
"x-fern-sdk-return-value": "bridge_client_session",
|
|
25886
|
+
"x-response-key": "bridge_client_session",
|
|
25887
|
+
"x-title": "Create a Bridge Client Session"
|
|
25888
|
+
}
|
|
25889
|
+
},
|
|
25890
|
+
"/seam/bridge/v1/bridge_client_sessions/get": {
|
|
25891
|
+
get: {
|
|
25892
|
+
description: "Returns the bridge client session associated with the session token used.",
|
|
25893
|
+
operationId: "seamBridgeV1BridgeClientSessionsGetGet",
|
|
25894
|
+
responses: {
|
|
25895
|
+
200: {
|
|
25896
|
+
content: {
|
|
25897
|
+
"application/json": {
|
|
25898
|
+
schema: {
|
|
25899
|
+
properties: {
|
|
25900
|
+
bridge_client_session: {
|
|
25901
|
+
properties: {
|
|
25902
|
+
bridge_client_machine_identifier_key: {
|
|
25903
|
+
type: "string"
|
|
25904
|
+
},
|
|
25905
|
+
bridge_client_name: { type: "string" },
|
|
25906
|
+
bridge_client_session_id: {
|
|
25907
|
+
format: "uuid",
|
|
25908
|
+
type: "string"
|
|
25909
|
+
},
|
|
25910
|
+
bridge_client_session_token: { type: "string" },
|
|
25911
|
+
bridge_client_time_zone: { type: "string" },
|
|
25912
|
+
created_at: { format: "date-time", type: "string" },
|
|
25913
|
+
pairing_code: {
|
|
25914
|
+
maxLength: 6,
|
|
25915
|
+
minLength: 6,
|
|
25916
|
+
type: "string"
|
|
25917
|
+
},
|
|
25918
|
+
pairing_code_expires_at: {
|
|
25919
|
+
format: "date-time",
|
|
25920
|
+
type: "string"
|
|
25921
|
+
},
|
|
25922
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
25923
|
+
tailscale_hostname: { type: "string" }
|
|
25924
|
+
},
|
|
25925
|
+
required: [
|
|
25926
|
+
"created_at",
|
|
25927
|
+
"bridge_client_session_id",
|
|
25928
|
+
"bridge_client_session_token",
|
|
25929
|
+
"pairing_code",
|
|
25930
|
+
"pairing_code_expires_at",
|
|
25931
|
+
"tailscale_hostname",
|
|
25932
|
+
"tailscale_auth_key",
|
|
25933
|
+
"bridge_client_name",
|
|
25934
|
+
"bridge_client_time_zone",
|
|
25935
|
+
"bridge_client_machine_identifier_key"
|
|
25936
|
+
],
|
|
25937
|
+
type: "object",
|
|
25938
|
+
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
25939
|
+
},
|
|
25940
|
+
ok: { type: "boolean" }
|
|
25941
|
+
},
|
|
25942
|
+
required: ["bridge_client_session", "ok"],
|
|
25943
|
+
type: "object"
|
|
25944
|
+
}
|
|
25945
|
+
}
|
|
25946
|
+
},
|
|
25947
|
+
description: "OK"
|
|
25948
|
+
},
|
|
25949
|
+
400: { description: "Bad Request" },
|
|
25950
|
+
401: { description: "Unauthorized" }
|
|
25951
|
+
},
|
|
25952
|
+
security: [{ bridge_client_session: [] }],
|
|
25953
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/get",
|
|
25954
|
+
tags: [],
|
|
25955
|
+
"x-fern-ignore": true,
|
|
25956
|
+
"x-response-key": "bridge_client_session",
|
|
25957
|
+
"x-title": "Get a Bridge Client Session"
|
|
25958
|
+
},
|
|
25959
|
+
post: {
|
|
25960
|
+
description: "Returns the bridge client session associated with the session token used.",
|
|
25961
|
+
operationId: "seamBridgeV1BridgeClientSessionsGetPost",
|
|
25962
|
+
responses: {
|
|
25963
|
+
200: {
|
|
25964
|
+
content: {
|
|
25965
|
+
"application/json": {
|
|
25966
|
+
schema: {
|
|
25967
|
+
properties: {
|
|
25968
|
+
bridge_client_session: {
|
|
25969
|
+
properties: {
|
|
25970
|
+
bridge_client_machine_identifier_key: {
|
|
25971
|
+
type: "string"
|
|
25972
|
+
},
|
|
25973
|
+
bridge_client_name: { type: "string" },
|
|
25974
|
+
bridge_client_session_id: {
|
|
25975
|
+
format: "uuid",
|
|
25976
|
+
type: "string"
|
|
25977
|
+
},
|
|
25978
|
+
bridge_client_session_token: { type: "string" },
|
|
25979
|
+
bridge_client_time_zone: { type: "string" },
|
|
25980
|
+
created_at: { format: "date-time", type: "string" },
|
|
25981
|
+
pairing_code: {
|
|
25982
|
+
maxLength: 6,
|
|
25983
|
+
minLength: 6,
|
|
25984
|
+
type: "string"
|
|
25985
|
+
},
|
|
25986
|
+
pairing_code_expires_at: {
|
|
25987
|
+
format: "date-time",
|
|
25988
|
+
type: "string"
|
|
25989
|
+
},
|
|
25990
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
25991
|
+
tailscale_hostname: { type: "string" }
|
|
25992
|
+
},
|
|
25993
|
+
required: [
|
|
25994
|
+
"created_at",
|
|
25995
|
+
"bridge_client_session_id",
|
|
25996
|
+
"bridge_client_session_token",
|
|
25997
|
+
"pairing_code",
|
|
25998
|
+
"pairing_code_expires_at",
|
|
25999
|
+
"tailscale_hostname",
|
|
26000
|
+
"tailscale_auth_key",
|
|
26001
|
+
"bridge_client_name",
|
|
26002
|
+
"bridge_client_time_zone",
|
|
26003
|
+
"bridge_client_machine_identifier_key"
|
|
26004
|
+
],
|
|
26005
|
+
type: "object",
|
|
26006
|
+
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
26007
|
+
},
|
|
26008
|
+
ok: { type: "boolean" }
|
|
26009
|
+
},
|
|
26010
|
+
required: ["bridge_client_session", "ok"],
|
|
26011
|
+
type: "object"
|
|
26012
|
+
}
|
|
26013
|
+
}
|
|
26014
|
+
},
|
|
26015
|
+
description: "OK"
|
|
26016
|
+
},
|
|
26017
|
+
400: { description: "Bad Request" },
|
|
26018
|
+
401: { description: "Unauthorized" }
|
|
26019
|
+
},
|
|
26020
|
+
security: [{ bridge_client_session: [] }],
|
|
26021
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/get",
|
|
26022
|
+
tags: [],
|
|
26023
|
+
"x-fern-sdk-group-name": [
|
|
26024
|
+
"seam",
|
|
26025
|
+
"bridge",
|
|
26026
|
+
"v1",
|
|
26027
|
+
"bridge_client_sessions"
|
|
26028
|
+
],
|
|
26029
|
+
"x-fern-sdk-method-name": "get",
|
|
26030
|
+
"x-fern-sdk-return-value": "bridge_client_session",
|
|
26031
|
+
"x-response-key": "bridge_client_session",
|
|
26032
|
+
"x-title": "Get a Bridge Client Session"
|
|
26033
|
+
}
|
|
26034
|
+
},
|
|
25794
26035
|
"/thermostats/activate_climate_preset": {
|
|
25795
26036
|
post: {
|
|
25796
26037
|
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).",
|