@seamapi/types 1.382.0 → 1.384.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.
Files changed (36) hide show
  1. package/dist/connect.cjs +315 -9
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +450 -2
  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/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +9 -0
  9. package/lib/seam/connect/models/bridges/bridge-client-session.js +3 -0
  10. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  11. package/lib/seam/connect/models/index.d.ts +1 -0
  12. package/lib/seam/connect/models/index.js +1 -0
  13. package/lib/seam/connect/models/index.js.map +1 -1
  14. package/lib/seam/connect/models/instant-keys/index.d.ts +1 -0
  15. package/lib/seam/connect/models/instant-keys/index.js +2 -0
  16. package/lib/seam/connect/models/instant-keys/index.js.map +1 -0
  17. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +27 -0
  18. package/lib/seam/connect/models/instant-keys/instant-key.js +16 -0
  19. package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -0
  20. package/lib/seam/connect/openapi.d.ts +332 -0
  21. package/lib/seam/connect/openapi.js +288 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +79 -0
  24. package/lib/seam/connect/schemas.d.ts +1 -1
  25. package/lib/seam/connect/schemas.js +1 -1
  26. package/lib/seam/connect/schemas.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  29. package/src/lib/seam/connect/model-types.ts +1 -0
  30. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +3 -0
  31. package/src/lib/seam/connect/models/index.ts +1 -0
  32. package/src/lib/seam/connect/models/instant-keys/index.ts +1 -0
  33. package/src/lib/seam/connect/models/instant-keys/instant-key.ts +18 -0
  34. package/src/lib/seam/connect/openapi.ts +303 -0
  35. package/src/lib/seam/connect/route-types.ts +82 -0
  36. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -36988,6 +36988,9 @@ export interface Routes {
36988
36988
  error_code: 'no_communication_from_bridge'
36989
36989
  }
36990
36990
  >
36991
+ telemetry_token: string | null
36992
+ telemetry_token_expires_at: string | null
36993
+ telemetry_url: string | null
36991
36994
  }
36992
36995
  }
36993
36996
  }
@@ -37035,6 +37038,59 @@ export interface Routes {
37035
37038
  error_code: 'no_communication_from_bridge'
37036
37039
  }
37037
37040
  >
37041
+ telemetry_token: string | null
37042
+ telemetry_token_expires_at: string | null
37043
+ telemetry_url: string | null
37044
+ }
37045
+ }
37046
+ }
37047
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
37048
+ route: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token'
37049
+ method: 'POST'
37050
+ queryParams: {}
37051
+ jsonBody: {}
37052
+ commonParams: {}
37053
+ formData: {}
37054
+ jsonResponse: {
37055
+ /** */
37056
+ bridge_client_session: {
37057
+ created_at: string
37058
+ bridge_client_session_id: string
37059
+ bridge_client_session_token: string
37060
+ pairing_code: string
37061
+ pairing_code_expires_at: string
37062
+ tailscale_hostname: string
37063
+ tailscale_auth_key: string | null
37064
+ bridge_client_name: string
37065
+ bridge_client_time_zone: string
37066
+ bridge_client_machine_identifier_key: string
37067
+ errors: Array<
37068
+ | {
37069
+ message: string
37070
+ created_at: string
37071
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37072
+ error_code: 'bridge_lan_unreachable'
37073
+ /** Seam cannot reach the tailscale proxy */
37074
+ is_tailscale_proxy_reachable: boolean | null
37075
+ /** Tailscale proxy's SOCKS server is unhealthy */
37076
+ is_tailscale_proxy_socks_server_healthy: boolean | null
37077
+ /** Tailscale proxy cannot reach the Tailscale network */
37078
+ can_tailscale_proxy_reach_tailscale_network: boolean | null
37079
+ /** Tailscale proxy cannot reach the bridge */
37080
+ can_tailscale_proxy_reach_bridge: boolean | null
37081
+ /** Bridge's SOCKS server is unhealthy */
37082
+ is_bridge_socks_server_healthy: boolean | null
37083
+ }
37084
+ | {
37085
+ message: string
37086
+ created_at: string
37087
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37088
+ error_code: 'no_communication_from_bridge'
37089
+ }
37090
+ >
37091
+ telemetry_token: string | null
37092
+ telemetry_token_expires_at: string | null
37093
+ telemetry_url: string | null
37038
37094
  }
37039
37095
  }
37040
37096
  }
@@ -37082,6 +37138,9 @@ export interface Routes {
37082
37138
  error_code: 'no_communication_from_bridge'
37083
37139
  }
37084
37140
  >
37141
+ telemetry_token: string | null
37142
+ telemetry_token_expires_at: string | null
37143
+ telemetry_url: string | null
37085
37144
  }
37086
37145
  }
37087
37146
  }
@@ -48837,6 +48896,29 @@ export interface Routes {
48837
48896
  }>
48838
48897
  }
48839
48898
  }
48899
+ '/user_identities/generate_instant_key': {
48900
+ route: '/user_identities/generate_instant_key'
48901
+ method: 'POST'
48902
+ queryParams: {}
48903
+ jsonBody: {}
48904
+ commonParams: {
48905
+ /** ID of the user identity for which you want to generate an instant key. */
48906
+ user_identity_id: string
48907
+ }
48908
+ formData: {}
48909
+ jsonResponse: {
48910
+ /** */
48911
+ instant_key: {
48912
+ instant_key_id: string
48913
+ workspace_id: string
48914
+ created_at: string
48915
+ instant_key_url: string
48916
+ client_session_id: string
48917
+ user_identity_id: string
48918
+ expires_at: string
48919
+ }
48920
+ }
48921
+ }
48840
48922
  '/user_identities/get': {
48841
48923
  route: '/user_identities/get'
48842
48924
  method: 'GET' | 'POST'
@@ -18,6 +18,7 @@ export {
18
18
  custom_metadata,
19
19
  device,
20
20
  device_provider,
21
+ instant_key,
21
22
  noise_threshold,
22
23
  pagination,
23
24
  seam_event,