@seamapi/types 1.349.0 → 1.350.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 +159 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +220 -18
- package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge_client_session.js +4 -4
- package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +174 -10
- package/lib/seam/connect/openapi.js +153 -19
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +46 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +156 -19
- package/src/lib/seam/connect/route-types.ts +46 -8
package/dist/connect.cjs
CHANGED
|
@@ -21886,6 +21886,59 @@ var openapi_default = {
|
|
|
21886
21886
|
"x-response-key": "bridge"
|
|
21887
21887
|
}
|
|
21888
21888
|
},
|
|
21889
|
+
"/bridges/list": {
|
|
21890
|
+
post: {
|
|
21891
|
+
operationId: "bridgesListPost",
|
|
21892
|
+
requestBody: {
|
|
21893
|
+
content: {
|
|
21894
|
+
"application/json": { schema: { properties: {}, type: "object" } }
|
|
21895
|
+
}
|
|
21896
|
+
},
|
|
21897
|
+
responses: {
|
|
21898
|
+
200: {
|
|
21899
|
+
content: {
|
|
21900
|
+
"application/json": {
|
|
21901
|
+
schema: {
|
|
21902
|
+
properties: {
|
|
21903
|
+
bridges: {
|
|
21904
|
+
items: {
|
|
21905
|
+
properties: {
|
|
21906
|
+
bridge_id: { format: "uuid", type: "string" },
|
|
21907
|
+
created_at: { format: "date-time", type: "string" },
|
|
21908
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
21909
|
+
},
|
|
21910
|
+
required: ["bridge_id", "workspace_id", "created_at"],
|
|
21911
|
+
type: "object",
|
|
21912
|
+
"x-route-path": "/bridges",
|
|
21913
|
+
"x-undocumented": "Unreleased."
|
|
21914
|
+
},
|
|
21915
|
+
type: "array"
|
|
21916
|
+
},
|
|
21917
|
+
ok: { type: "boolean" }
|
|
21918
|
+
},
|
|
21919
|
+
required: ["bridges", "ok"],
|
|
21920
|
+
type: "object"
|
|
21921
|
+
}
|
|
21922
|
+
}
|
|
21923
|
+
},
|
|
21924
|
+
description: "OK"
|
|
21925
|
+
},
|
|
21926
|
+
400: { description: "Bad Request" },
|
|
21927
|
+
401: { description: "Unauthorized" }
|
|
21928
|
+
},
|
|
21929
|
+
security: [
|
|
21930
|
+
{ pat_with_workspace: [] },
|
|
21931
|
+
{ console_session_with_workspace: [] },
|
|
21932
|
+
{ api_key: [] }
|
|
21933
|
+
],
|
|
21934
|
+
summary: "/bridges/list",
|
|
21935
|
+
tags: [],
|
|
21936
|
+
"x-fern-sdk-group-name": ["bridges"],
|
|
21937
|
+
"x-fern-sdk-method-name": "list",
|
|
21938
|
+
"x-fern-sdk-return-value": "bridges",
|
|
21939
|
+
"x-response-key": "bridges"
|
|
21940
|
+
}
|
|
21941
|
+
},
|
|
21889
21942
|
"/client_sessions/create": {
|
|
21890
21943
|
post: {
|
|
21891
21944
|
operationId: "clientSessionsCreatePost",
|
|
@@ -25800,11 +25853,15 @@ var openapi_default = {
|
|
|
25800
25853
|
"application/json": {
|
|
25801
25854
|
schema: {
|
|
25802
25855
|
properties: {
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25856
|
+
bridge_client_machine_identifier_key: { type: "string" },
|
|
25857
|
+
bridge_client_name: { type: "string" },
|
|
25858
|
+
bridge_client_time_zone: { type: "string" }
|
|
25806
25859
|
},
|
|
25807
|
-
required: [
|
|
25860
|
+
required: [
|
|
25861
|
+
"bridge_client_name",
|
|
25862
|
+
"bridge_client_time_zone",
|
|
25863
|
+
"bridge_client_machine_identifier_key"
|
|
25864
|
+
],
|
|
25808
25865
|
type: "object"
|
|
25809
25866
|
}
|
|
25810
25867
|
}
|
|
@@ -25827,7 +25884,6 @@ var openapi_default = {
|
|
|
25827
25884
|
type: "string"
|
|
25828
25885
|
},
|
|
25829
25886
|
bridge_client_session_token: { type: "string" },
|
|
25830
|
-
bridge_client_tailscale_hostname: { type: "string" },
|
|
25831
25887
|
bridge_client_time_zone: { type: "string" },
|
|
25832
25888
|
created_at: { format: "date-time", type: "string" },
|
|
25833
25889
|
pairing_code: {
|
|
@@ -25839,19 +25895,20 @@ var openapi_default = {
|
|
|
25839
25895
|
format: "date-time",
|
|
25840
25896
|
type: "string"
|
|
25841
25897
|
},
|
|
25842
|
-
tailscale_auth_key: { nullable: true, type: "string" }
|
|
25898
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
25899
|
+
tailscale_hostname: { type: "string" }
|
|
25843
25900
|
},
|
|
25844
25901
|
required: [
|
|
25845
25902
|
"created_at",
|
|
25846
25903
|
"bridge_client_session_id",
|
|
25847
25904
|
"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
25905
|
"pairing_code",
|
|
25853
25906
|
"pairing_code_expires_at",
|
|
25854
|
-
"
|
|
25907
|
+
"tailscale_hostname",
|
|
25908
|
+
"tailscale_auth_key",
|
|
25909
|
+
"bridge_client_name",
|
|
25910
|
+
"bridge_client_time_zone",
|
|
25911
|
+
"bridge_client_machine_identifier_key"
|
|
25855
25912
|
],
|
|
25856
25913
|
type: "object",
|
|
25857
25914
|
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
@@ -25904,7 +25961,6 @@ var openapi_default = {
|
|
|
25904
25961
|
type: "string"
|
|
25905
25962
|
},
|
|
25906
25963
|
bridge_client_session_token: { type: "string" },
|
|
25907
|
-
bridge_client_tailscale_hostname: { type: "string" },
|
|
25908
25964
|
bridge_client_time_zone: { type: "string" },
|
|
25909
25965
|
created_at: { format: "date-time", type: "string" },
|
|
25910
25966
|
pairing_code: {
|
|
@@ -25916,19 +25972,20 @@ var openapi_default = {
|
|
|
25916
25972
|
format: "date-time",
|
|
25917
25973
|
type: "string"
|
|
25918
25974
|
},
|
|
25919
|
-
tailscale_auth_key: { nullable: true, type: "string" }
|
|
25975
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
25976
|
+
tailscale_hostname: { type: "string" }
|
|
25920
25977
|
},
|
|
25921
25978
|
required: [
|
|
25922
25979
|
"created_at",
|
|
25923
25980
|
"bridge_client_session_id",
|
|
25924
25981
|
"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
25982
|
"pairing_code",
|
|
25930
25983
|
"pairing_code_expires_at",
|
|
25931
|
-
"
|
|
25984
|
+
"tailscale_hostname",
|
|
25985
|
+
"tailscale_auth_key",
|
|
25986
|
+
"bridge_client_name",
|
|
25987
|
+
"bridge_client_time_zone",
|
|
25988
|
+
"bridge_client_machine_identifier_key"
|
|
25932
25989
|
],
|
|
25933
25990
|
type: "object",
|
|
25934
25991
|
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
@@ -25972,7 +26029,6 @@ var openapi_default = {
|
|
|
25972
26029
|
type: "string"
|
|
25973
26030
|
},
|
|
25974
26031
|
bridge_client_session_token: { type: "string" },
|
|
25975
|
-
bridge_client_tailscale_hostname: { type: "string" },
|
|
25976
26032
|
bridge_client_time_zone: { type: "string" },
|
|
25977
26033
|
created_at: { format: "date-time", type: "string" },
|
|
25978
26034
|
pairing_code: {
|
|
@@ -25984,19 +26040,20 @@ var openapi_default = {
|
|
|
25984
26040
|
format: "date-time",
|
|
25985
26041
|
type: "string"
|
|
25986
26042
|
},
|
|
25987
|
-
tailscale_auth_key: { nullable: true, type: "string" }
|
|
26043
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
26044
|
+
tailscale_hostname: { type: "string" }
|
|
25988
26045
|
},
|
|
25989
26046
|
required: [
|
|
25990
26047
|
"created_at",
|
|
25991
26048
|
"bridge_client_session_id",
|
|
25992
26049
|
"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
26050
|
"pairing_code",
|
|
25998
26051
|
"pairing_code_expires_at",
|
|
25999
|
-
"
|
|
26052
|
+
"tailscale_hostname",
|
|
26053
|
+
"tailscale_auth_key",
|
|
26054
|
+
"bridge_client_name",
|
|
26055
|
+
"bridge_client_time_zone",
|
|
26056
|
+
"bridge_client_machine_identifier_key"
|
|
26000
26057
|
],
|
|
26001
26058
|
type: "object",
|
|
26002
26059
|
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
@@ -26028,6 +26085,83 @@ var openapi_default = {
|
|
|
26028
26085
|
"x-title": "Get a Bridge Client Session"
|
|
26029
26086
|
}
|
|
26030
26087
|
},
|
|
26088
|
+
"/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code": {
|
|
26089
|
+
post: {
|
|
26090
|
+
description: "Generate a new pairing code and return the updated bridge client session.",
|
|
26091
|
+
operationId: "seamBridgeV1BridgeClientSessionsRegeneratePairingCodePost",
|
|
26092
|
+
responses: {
|
|
26093
|
+
200: {
|
|
26094
|
+
content: {
|
|
26095
|
+
"application/json": {
|
|
26096
|
+
schema: {
|
|
26097
|
+
properties: {
|
|
26098
|
+
bridge_client_session: {
|
|
26099
|
+
properties: {
|
|
26100
|
+
bridge_client_machine_identifier_key: {
|
|
26101
|
+
type: "string"
|
|
26102
|
+
},
|
|
26103
|
+
bridge_client_name: { type: "string" },
|
|
26104
|
+
bridge_client_session_id: {
|
|
26105
|
+
format: "uuid",
|
|
26106
|
+
type: "string"
|
|
26107
|
+
},
|
|
26108
|
+
bridge_client_session_token: { type: "string" },
|
|
26109
|
+
bridge_client_time_zone: { type: "string" },
|
|
26110
|
+
created_at: { format: "date-time", type: "string" },
|
|
26111
|
+
pairing_code: {
|
|
26112
|
+
maxLength: 6,
|
|
26113
|
+
minLength: 6,
|
|
26114
|
+
type: "string"
|
|
26115
|
+
},
|
|
26116
|
+
pairing_code_expires_at: {
|
|
26117
|
+
format: "date-time",
|
|
26118
|
+
type: "string"
|
|
26119
|
+
},
|
|
26120
|
+
tailscale_auth_key: { nullable: true, type: "string" },
|
|
26121
|
+
tailscale_hostname: { type: "string" }
|
|
26122
|
+
},
|
|
26123
|
+
required: [
|
|
26124
|
+
"created_at",
|
|
26125
|
+
"bridge_client_session_id",
|
|
26126
|
+
"bridge_client_session_token",
|
|
26127
|
+
"pairing_code",
|
|
26128
|
+
"pairing_code_expires_at",
|
|
26129
|
+
"tailscale_hostname",
|
|
26130
|
+
"tailscale_auth_key",
|
|
26131
|
+
"bridge_client_name",
|
|
26132
|
+
"bridge_client_time_zone",
|
|
26133
|
+
"bridge_client_machine_identifier_key"
|
|
26134
|
+
],
|
|
26135
|
+
type: "object",
|
|
26136
|
+
"x-route-path": "/seam/bridge/v1/bridge_client_sessions"
|
|
26137
|
+
},
|
|
26138
|
+
ok: { type: "boolean" }
|
|
26139
|
+
},
|
|
26140
|
+
required: ["bridge_client_session", "ok"],
|
|
26141
|
+
type: "object"
|
|
26142
|
+
}
|
|
26143
|
+
}
|
|
26144
|
+
},
|
|
26145
|
+
description: "OK"
|
|
26146
|
+
},
|
|
26147
|
+
400: { description: "Bad Request" },
|
|
26148
|
+
401: { description: "Unauthorized" }
|
|
26149
|
+
},
|
|
26150
|
+
security: [{ bridge_client_session: [] }],
|
|
26151
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code",
|
|
26152
|
+
tags: [],
|
|
26153
|
+
"x-fern-sdk-group-name": [
|
|
26154
|
+
"seam",
|
|
26155
|
+
"bridge",
|
|
26156
|
+
"v1",
|
|
26157
|
+
"bridge_client_sessions"
|
|
26158
|
+
],
|
|
26159
|
+
"x-fern-sdk-method-name": "regenerate_pairing_code",
|
|
26160
|
+
"x-fern-sdk-return-value": "bridge_client_session",
|
|
26161
|
+
"x-response-key": "bridge_client_session",
|
|
26162
|
+
"x-title": "Regenerate a Bridge Client Session Pairing Code"
|
|
26163
|
+
}
|
|
26164
|
+
},
|
|
26031
26165
|
"/thermostats/activate_climate_preset": {
|
|
26032
26166
|
post: {
|
|
26033
26167
|
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).",
|