@seamapi/types 1.406.5 → 1.406.7

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.
Files changed (30) hide show
  1. package/dist/connect.cjs +75 -175
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +140 -241
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
  8. package/lib/seam/connect/models/client-sessions/client-session.js +4 -3
  9. package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
  10. package/lib/seam/connect/models/partner/index.d.ts +1 -0
  11. package/lib/seam/connect/models/partner/index.js +1 -0
  12. package/lib/seam/connect/models/partner/index.js.map +1 -1
  13. package/lib/seam/connect/models/partner/magic-link.d.ts +27 -0
  14. package/lib/seam/connect/models/partner/magic-link.js +16 -0
  15. package/lib/seam/connect/models/partner/magic-link.js.map +1 -0
  16. package/lib/seam/connect/models/partner/resources.d.ts +2 -2
  17. package/lib/seam/connect/models/partner/resources.js +6 -1
  18. package/lib/seam/connect/models/partner/resources.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +116 -198
  20. package/lib/seam/connect/openapi.js +68 -169
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +21 -43
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  25. package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -3
  26. package/src/lib/seam/connect/models/partner/index.ts +1 -0
  27. package/src/lib/seam/connect/models/partner/magic-link.ts +18 -0
  28. package/src/lib/seam/connect/models/partner/resources.ts +6 -1
  29. package/src/lib/seam/connect/openapi.ts +68 -179
  30. package/src/lib/seam/connect/route-types.ts +21 -46
@@ -21538,6 +21538,7 @@ export interface Routes {
21538
21538
  token: string
21539
21539
  user_identifier_key: string | null
21540
21540
  device_count: number
21541
+ customer_id?: string | undefined
21541
21542
  connected_account_ids: string[]
21542
21543
  connect_webview_ids: string[]
21543
21544
  user_identity_ids: string[]
@@ -21586,6 +21587,7 @@ export interface Routes {
21586
21587
  token: string
21587
21588
  user_identifier_key: string | null
21588
21589
  device_count: number
21590
+ customer_id?: string | undefined
21589
21591
  connected_account_ids: string[]
21590
21592
  connect_webview_ids: string[]
21591
21593
  user_identity_ids: string[]
@@ -21628,6 +21630,7 @@ export interface Routes {
21628
21630
  token: string
21629
21631
  user_identifier_key: string | null
21630
21632
  device_count: number
21633
+ customer_id?: string | undefined
21631
21634
  connected_account_ids: string[]
21632
21635
  connect_webview_ids: string[]
21633
21636
  user_identity_ids: string[]
@@ -21670,6 +21673,7 @@ export interface Routes {
21670
21673
  token: string
21671
21674
  user_identifier_key: string | null
21672
21675
  device_count: number
21676
+ customer_id?: string | undefined
21673
21677
  connected_account_ids: string[]
21674
21678
  connect_webview_ids: string[]
21675
21679
  user_identity_ids: string[]
@@ -21703,6 +21707,7 @@ export interface Routes {
21703
21707
  token: string
21704
21708
  user_identifier_key: string | null
21705
21709
  device_count: number
21710
+ customer_id?: string | undefined
21706
21711
  connected_account_ids: string[]
21707
21712
  connect_webview_ids: string[]
21708
21713
  user_identity_ids: string[]
@@ -21946,7 +21951,7 @@ export interface Routes {
21946
21951
  queryParams: {}
21947
21952
  jsonBody: {}
21948
21953
  commonParams: {
21949
- customer_id?: string | undefined
21954
+ customer_ids?: string[] | undefined
21950
21955
  /** Your user ID for the user by which you want to filter Connect Webviews. */
21951
21956
  user_identifier_key?: string | undefined
21952
21957
  /** Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. */
@@ -48589,6 +48594,7 @@ export interface Routes {
48589
48594
  token: string
48590
48595
  user_identifier_key: string | null
48591
48596
  device_count: number
48597
+ customer_id?: string | undefined
48592
48598
  connected_account_ids: string[]
48593
48599
  connect_webview_ids: string[]
48594
48600
  user_identity_ids: string[]
@@ -66153,57 +66159,26 @@ export interface Routes {
66153
66159
  }
66154
66160
  }
66155
66161
  }
66156
- '/unstable_partner/building_blocks/generate_link': {
66157
- route: '/unstable_partner/building_blocks/generate_link'
66158
- method: 'POST'
66162
+ '/unstable_partner/building_blocks/generate_magic_link': {
66163
+ route: '/unstable_partner/building_blocks/generate_magic_link'
66164
+ method: 'POST' | 'GET'
66159
66165
  queryParams: {}
66160
- jsonBody: {
66161
- bridge_client_name: string
66162
- bridge_client_time_zone: string
66163
- bridge_client_machine_identifier_key: string
66166
+ jsonBody: {}
66167
+ commonParams: {
66168
+ building_block_type: 'connect_account' | 'manage_devices'
66169
+ customer_key: string
66164
66170
  }
66165
- commonParams: {}
66166
66171
  formData: {}
66167
66172
  jsonResponse: {
66168
66173
  /** */
66169
- bridge_client_session: {
66174
+ magic_link: {
66175
+ url: string
66176
+ building_block_type: 'connect_account' | 'manage_devices'
66177
+ customer_id: string
66178
+ customer_key: string
66179
+ expires_at: string
66180
+ workspace_id: string
66170
66181
  created_at: string
66171
- bridge_client_session_id: string
66172
- bridge_client_session_token: string
66173
- pairing_code: string
66174
- pairing_code_expires_at: string
66175
- tailscale_hostname: string
66176
- tailscale_auth_key: string | null
66177
- bridge_client_name: string
66178
- bridge_client_time_zone: string
66179
- bridge_client_machine_identifier_key: string
66180
- errors: Array<
66181
- | {
66182
- message: string
66183
- created_at: string
66184
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66185
- error_code: 'bridge_lan_unreachable'
66186
- /** Seam cannot reach the tailscale proxy */
66187
- is_tailscale_proxy_reachable: boolean | null
66188
- /** Tailscale proxy's SOCKS server is unhealthy */
66189
- is_tailscale_proxy_socks_server_healthy: boolean | null
66190
- /** Tailscale proxy cannot reach the Tailscale network */
66191
- can_tailscale_proxy_reach_tailscale_network: boolean | null
66192
- /** Tailscale proxy cannot reach the bridge */
66193
- can_tailscale_proxy_reach_bridge: boolean | null
66194
- /** Bridge's SOCKS server is unhealthy */
66195
- is_bridge_socks_server_healthy: boolean | null
66196
- }
66197
- | {
66198
- message: string
66199
- created_at: string
66200
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66201
- error_code: 'no_communication_from_bridge'
66202
- }
66203
- >
66204
- telemetry_token: string | null
66205
- telemetry_token_expires_at: string | null
66206
- telemetry_url: string | null
66207
66182
  }
66208
66183
  }
66209
66184
  }