@seamapi/types 1.349.1 → 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 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",
@@ -26032,6 +26085,83 @@ var openapi_default = {
26032
26085
  "x-title": "Get a Bridge Client Session"
26033
26086
  }
26034
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
+ },
26035
26165
  "/thermostats/activate_climate_preset": {
26036
26166
  post: {
26037
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).",