@seamapi/types 1.349.1 → 1.351.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",
@@ -25606,6 +25659,60 @@ var openapi_default = {
25606
25659
  "x-title": "Deactivate a Phone"
25607
25660
  }
25608
25661
  },
25662
+ "/phones/get": {
25663
+ post: {
25664
+ description: "Returns a single phone entry matching the provided `device_id`.",
25665
+ operationId: "phonesGetPost",
25666
+ requestBody: {
25667
+ content: {
25668
+ "application/json": {
25669
+ schema: {
25670
+ properties: {
25671
+ device_id: {
25672
+ description: "Device ID of the desired phone.",
25673
+ format: "uuid",
25674
+ type: "string"
25675
+ }
25676
+ },
25677
+ required: ["device_id"],
25678
+ type: "object"
25679
+ }
25680
+ }
25681
+ }
25682
+ },
25683
+ responses: {
25684
+ 200: {
25685
+ content: {
25686
+ "application/json": {
25687
+ schema: {
25688
+ properties: {
25689
+ ok: { type: "boolean" },
25690
+ phone: { $ref: "#/components/schemas/phone" }
25691
+ },
25692
+ required: ["phone", "ok"],
25693
+ type: "object"
25694
+ }
25695
+ }
25696
+ },
25697
+ description: "OK"
25698
+ },
25699
+ 400: { description: "Bad Request" },
25700
+ 401: { description: "Unauthorized" }
25701
+ },
25702
+ security: [
25703
+ { api_key: [] },
25704
+ { pat_with_workspace: [] },
25705
+ { console_session_with_workspace: [] }
25706
+ ],
25707
+ summary: "/phones/get",
25708
+ tags: ["/phones"],
25709
+ "x-fern-sdk-group-name": ["phones"],
25710
+ "x-fern-sdk-method-name": "get",
25711
+ "x-fern-sdk-return-value": "phone",
25712
+ "x-response-key": "phone",
25713
+ "x-title": "Get Phone"
25714
+ }
25715
+ },
25609
25716
  "/phones/list": {
25610
25717
  post: {
25611
25718
  description: "Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.",
@@ -26032,6 +26139,83 @@ var openapi_default = {
26032
26139
  "x-title": "Get a Bridge Client Session"
26033
26140
  }
26034
26141
  },
26142
+ "/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code": {
26143
+ post: {
26144
+ description: "Generate a new pairing code and return the updated bridge client session.",
26145
+ operationId: "seamBridgeV1BridgeClientSessionsRegeneratePairingCodePost",
26146
+ responses: {
26147
+ 200: {
26148
+ content: {
26149
+ "application/json": {
26150
+ schema: {
26151
+ properties: {
26152
+ bridge_client_session: {
26153
+ properties: {
26154
+ bridge_client_machine_identifier_key: {
26155
+ type: "string"
26156
+ },
26157
+ bridge_client_name: { type: "string" },
26158
+ bridge_client_session_id: {
26159
+ format: "uuid",
26160
+ type: "string"
26161
+ },
26162
+ bridge_client_session_token: { type: "string" },
26163
+ bridge_client_time_zone: { type: "string" },
26164
+ created_at: { format: "date-time", type: "string" },
26165
+ pairing_code: {
26166
+ maxLength: 6,
26167
+ minLength: 6,
26168
+ type: "string"
26169
+ },
26170
+ pairing_code_expires_at: {
26171
+ format: "date-time",
26172
+ type: "string"
26173
+ },
26174
+ tailscale_auth_key: { nullable: true, type: "string" },
26175
+ tailscale_hostname: { type: "string" }
26176
+ },
26177
+ required: [
26178
+ "created_at",
26179
+ "bridge_client_session_id",
26180
+ "bridge_client_session_token",
26181
+ "pairing_code",
26182
+ "pairing_code_expires_at",
26183
+ "tailscale_hostname",
26184
+ "tailscale_auth_key",
26185
+ "bridge_client_name",
26186
+ "bridge_client_time_zone",
26187
+ "bridge_client_machine_identifier_key"
26188
+ ],
26189
+ type: "object",
26190
+ "x-route-path": "/seam/bridge/v1/bridge_client_sessions"
26191
+ },
26192
+ ok: { type: "boolean" }
26193
+ },
26194
+ required: ["bridge_client_session", "ok"],
26195
+ type: "object"
26196
+ }
26197
+ }
26198
+ },
26199
+ description: "OK"
26200
+ },
26201
+ 400: { description: "Bad Request" },
26202
+ 401: { description: "Unauthorized" }
26203
+ },
26204
+ security: [{ bridge_client_session: [] }],
26205
+ summary: "/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code",
26206
+ tags: [],
26207
+ "x-fern-sdk-group-name": [
26208
+ "seam",
26209
+ "bridge",
26210
+ "v1",
26211
+ "bridge_client_sessions"
26212
+ ],
26213
+ "x-fern-sdk-method-name": "regenerate_pairing_code",
26214
+ "x-fern-sdk-return-value": "bridge_client_session",
26215
+ "x-response-key": "bridge_client_session",
26216
+ "x-title": "Regenerate a Bridge Client Session Pairing Code"
26217
+ }
26218
+ },
26035
26219
  "/thermostats/activate_climate_preset": {
26036
26220
  post: {
26037
26221
  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).",