@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
@@ -30602,6 +30602,9 @@ export interface Routes {
30602
30602
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30603
30603
  error_code: 'no_communication_from_bridge';
30604
30604
  }>;
30605
+ telemetry_token: string | null;
30606
+ telemetry_token_expires_at: string | null;
30607
+ telemetry_url: string | null;
30605
30608
  };
30606
30609
  };
30607
30610
  };
@@ -30646,6 +30649,56 @@ export interface Routes {
30646
30649
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30647
30650
  error_code: 'no_communication_from_bridge';
30648
30651
  }>;
30652
+ telemetry_token: string | null;
30653
+ telemetry_token_expires_at: string | null;
30654
+ telemetry_url: string | null;
30655
+ };
30656
+ };
30657
+ };
30658
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
30659
+ route: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token';
30660
+ method: 'POST';
30661
+ queryParams: {};
30662
+ jsonBody: {};
30663
+ commonParams: {};
30664
+ formData: {};
30665
+ jsonResponse: {
30666
+ /** */
30667
+ bridge_client_session: {
30668
+ created_at: string;
30669
+ bridge_client_session_id: string;
30670
+ bridge_client_session_token: string;
30671
+ pairing_code: string;
30672
+ pairing_code_expires_at: string;
30673
+ tailscale_hostname: string;
30674
+ tailscale_auth_key: string | null;
30675
+ bridge_client_name: string;
30676
+ bridge_client_time_zone: string;
30677
+ bridge_client_machine_identifier_key: string;
30678
+ errors: Array<{
30679
+ message: string;
30680
+ created_at: string;
30681
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30682
+ error_code: 'bridge_lan_unreachable';
30683
+ /** Seam cannot reach the tailscale proxy */
30684
+ is_tailscale_proxy_reachable: boolean | null;
30685
+ /** Tailscale proxy's SOCKS server is unhealthy */
30686
+ is_tailscale_proxy_socks_server_healthy: boolean | null;
30687
+ /** Tailscale proxy cannot reach the Tailscale network */
30688
+ can_tailscale_proxy_reach_tailscale_network: boolean | null;
30689
+ /** Tailscale proxy cannot reach the bridge */
30690
+ can_tailscale_proxy_reach_bridge: boolean | null;
30691
+ /** Bridge's SOCKS server is unhealthy */
30692
+ is_bridge_socks_server_healthy: boolean | null;
30693
+ } | {
30694
+ message: string;
30695
+ created_at: string;
30696
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30697
+ error_code: 'no_communication_from_bridge';
30698
+ }>;
30699
+ telemetry_token: string | null;
30700
+ telemetry_token_expires_at: string | null;
30701
+ telemetry_url: string | null;
30649
30702
  };
30650
30703
  };
30651
30704
  };
@@ -30690,6 +30743,9 @@ export interface Routes {
30690
30743
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30691
30744
  error_code: 'no_communication_from_bridge';
30692
30745
  }>;
30746
+ telemetry_token: string | null;
30747
+ telemetry_token_expires_at: string | null;
30748
+ telemetry_url: string | null;
30693
30749
  };
30694
30750
  };
30695
30751
  };
@@ -40529,6 +40585,29 @@ export interface Routes {
40529
40585
  }>;
40530
40586
  };
40531
40587
  };
40588
+ '/user_identities/generate_instant_key': {
40589
+ route: '/user_identities/generate_instant_key';
40590
+ method: 'POST';
40591
+ queryParams: {};
40592
+ jsonBody: {};
40593
+ commonParams: {
40594
+ /** ID of the user identity for which you want to generate an instant key. */
40595
+ user_identity_id: string;
40596
+ };
40597
+ formData: {};
40598
+ jsonResponse: {
40599
+ /** */
40600
+ instant_key: {
40601
+ instant_key_id: string;
40602
+ workspace_id: string;
40603
+ created_at: string;
40604
+ instant_key_url: string;
40605
+ client_session_id: string;
40606
+ user_identity_id: string;
40607
+ expires_at: string;
40608
+ };
40609
+ };
40610
+ };
40532
40611
  '/user_identities/get': {
40533
40612
  route: '/user_identities/get';
40534
40613
  method: 'GET' | 'POST';
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, pagination, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, noise_threshold, pagination, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, pagination, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, bridge, bridge_client_session, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, noise_threshold, pagination, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.382.0",
3
+ "version": "1.384.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -38,6 +38,7 @@ export {
38
38
  seam_event_type as event_type,
39
39
  fan_mode_setting,
40
40
  geolocation,
41
+ instant_key,
41
42
  location,
42
43
  lock_device_type,
43
44
  access_code as managed_access_code,
@@ -18,6 +18,7 @@ export type {
18
18
  DeviceError,
19
19
  DeviceProvider,
20
20
  DeviceWarning,
21
+ InstantKey,
21
22
  NoiseThreshold,
22
23
  SeamEvent,
23
24
  SeamEventType,
@@ -78,6 +78,9 @@ export const bridge_client_session = z.object({
78
78
  bridge_client_time_zone: z.string(),
79
79
  bridge_client_machine_identifier_key: z.string(),
80
80
  errors: z.array(bridge_client_session_error),
81
+ telemetry_token: z.string().nullable(),
82
+ telemetry_token_expires_at: z.string().datetime().nullable(),
83
+ telemetry_url: z.string().nullable(),
81
84
  }).describe(`
82
85
  ---
83
86
  route_path: /seam/bridge/v1/bridge_client_sessions
@@ -10,6 +10,7 @@ export * from './connected-accounts/index.js'
10
10
  export * from './custom-metadata.js'
11
11
  export * from './devices/index.js'
12
12
  export * from './events/index.js'
13
+ export * from './instant-keys/index.js'
13
14
  export * from './locations/index.js'
14
15
  export * from './noise-sensors/index.js'
15
16
  export * from './pagination.js'
@@ -0,0 +1 @@
1
+ export * from './instant-key.js'
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod'
2
+
3
+ export const instant_key = z.object({
4
+ instant_key_id: z.string().uuid(),
5
+ workspace_id: z.string().uuid(),
6
+ created_at: z.string().datetime(),
7
+ instant_key_url: z.string().url(),
8
+ client_session_id: z.string().uuid(),
9
+ user_identity_id: z.string().uuid(),
10
+ expires_at: z.string().datetime(),
11
+ }).describe(`
12
+ ---
13
+ route_path: /user_identities
14
+ undocumented: Unreleased.
15
+ ---
16
+ `)
17
+
18
+ export type InstantKey = z.infer<typeof instant_key>
@@ -13659,6 +13659,29 @@ export default {
13659
13659
  ],
13660
13660
  'x-route-path': '/events',
13661
13661
  },
13662
+ instant_key: {
13663
+ properties: {
13664
+ client_session_id: { format: 'uuid', type: 'string' },
13665
+ created_at: { format: 'date-time', type: 'string' },
13666
+ expires_at: { format: 'date-time', type: 'string' },
13667
+ instant_key_id: { format: 'uuid', type: 'string' },
13668
+ instant_key_url: { format: 'uri', type: 'string' },
13669
+ user_identity_id: { format: 'uuid', type: 'string' },
13670
+ workspace_id: { format: 'uuid', type: 'string' },
13671
+ },
13672
+ required: [
13673
+ 'instant_key_id',
13674
+ 'workspace_id',
13675
+ 'created_at',
13676
+ 'instant_key_url',
13677
+ 'client_session_id',
13678
+ 'user_identity_id',
13679
+ 'expires_at',
13680
+ ],
13681
+ type: 'object',
13682
+ 'x-route-path': '/user_identities',
13683
+ 'x-undocumented': 'Unreleased.',
13684
+ },
13662
13685
  network: {
13663
13686
  properties: {
13664
13687
  created_at: { format: 'date-time', type: 'string' },
@@ -27312,6 +27335,13 @@ export default {
27312
27335
  },
27313
27336
  tailscale_auth_key: { nullable: true, type: 'string' },
27314
27337
  tailscale_hostname: { type: 'string' },
27338
+ telemetry_token: { nullable: true, type: 'string' },
27339
+ telemetry_token_expires_at: {
27340
+ format: 'date-time',
27341
+ nullable: true,
27342
+ type: 'string',
27343
+ },
27344
+ telemetry_url: { nullable: true, type: 'string' },
27315
27345
  },
27316
27346
  required: [
27317
27347
  'created_at',
@@ -27325,6 +27355,9 @@ export default {
27325
27355
  'bridge_client_time_zone',
27326
27356
  'bridge_client_machine_identifier_key',
27327
27357
  'errors',
27358
+ 'telemetry_token',
27359
+ 'telemetry_token_expires_at',
27360
+ 'telemetry_url',
27328
27361
  ],
27329
27362
  type: 'object',
27330
27363
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -27484,6 +27517,13 @@ export default {
27484
27517
  },
27485
27518
  tailscale_auth_key: { nullable: true, type: 'string' },
27486
27519
  tailscale_hostname: { type: 'string' },
27520
+ telemetry_token: { nullable: true, type: 'string' },
27521
+ telemetry_token_expires_at: {
27522
+ format: 'date-time',
27523
+ nullable: true,
27524
+ type: 'string',
27525
+ },
27526
+ telemetry_url: { nullable: true, type: 'string' },
27487
27527
  },
27488
27528
  required: [
27489
27529
  'created_at',
@@ -27497,6 +27537,9 @@ export default {
27497
27537
  'bridge_client_time_zone',
27498
27538
  'bridge_client_machine_identifier_key',
27499
27539
  'errors',
27540
+ 'telemetry_token',
27541
+ 'telemetry_token_expires_at',
27542
+ 'telemetry_url',
27500
27543
  ],
27501
27544
  type: 'object',
27502
27545
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -27647,6 +27690,13 @@ export default {
27647
27690
  },
27648
27691
  tailscale_auth_key: { nullable: true, type: 'string' },
27649
27692
  tailscale_hostname: { type: 'string' },
27693
+ telemetry_token: { nullable: true, type: 'string' },
27694
+ telemetry_token_expires_at: {
27695
+ format: 'date-time',
27696
+ nullable: true,
27697
+ type: 'string',
27698
+ },
27699
+ telemetry_url: { nullable: true, type: 'string' },
27650
27700
  },
27651
27701
  required: [
27652
27702
  'created_at',
@@ -27660,6 +27710,9 @@ export default {
27660
27710
  'bridge_client_time_zone',
27661
27711
  'bridge_client_machine_identifier_key',
27662
27712
  'errors',
27713
+ 'telemetry_token',
27714
+ 'telemetry_token_expires_at',
27715
+ 'telemetry_url',
27663
27716
  ],
27664
27717
  type: 'object',
27665
27718
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -27693,6 +27746,190 @@ export default {
27693
27746
  'x-undocumented': 'Seam Bridge Client only.',
27694
27747
  },
27695
27748
  },
27749
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
27750
+ post: {
27751
+ description:
27752
+ 'Returns the bridge client session associated with the session token and refreshed telemetry token.',
27753
+ operationId:
27754
+ 'seamBridgeV1BridgeClientSessionsRefreshTelemetryTokenPost',
27755
+ responses: {
27756
+ 200: {
27757
+ content: {
27758
+ 'application/json': {
27759
+ schema: {
27760
+ properties: {
27761
+ bridge_client_session: {
27762
+ properties: {
27763
+ bridge_client_machine_identifier_key: {
27764
+ type: 'string',
27765
+ },
27766
+ bridge_client_name: { type: 'string' },
27767
+ bridge_client_session_id: {
27768
+ format: 'uuid',
27769
+ type: 'string',
27770
+ },
27771
+ bridge_client_session_token: { type: 'string' },
27772
+ bridge_client_time_zone: { type: 'string' },
27773
+ created_at: { format: 'date-time', type: 'string' },
27774
+ errors: {
27775
+ items: {
27776
+ description:
27777
+ 'Error associated with the `bridge_client_session`.',
27778
+ discriminator: { propertyName: 'error_code' },
27779
+ oneOf: [
27780
+ {
27781
+ description:
27782
+ "Seam cannot reach the bridge's LAN",
27783
+ properties: {
27784
+ can_tailscale_proxy_reach_bridge: {
27785
+ description:
27786
+ 'Tailscale proxy cannot reach the bridge',
27787
+ nullable: true,
27788
+ type: 'boolean',
27789
+ },
27790
+ can_tailscale_proxy_reach_tailscale_network: {
27791
+ description:
27792
+ 'Tailscale proxy cannot reach the Tailscale network',
27793
+ nullable: true,
27794
+ type: 'boolean',
27795
+ },
27796
+ created_at: {
27797
+ format: 'date-time',
27798
+ type: 'string',
27799
+ },
27800
+ error_code: {
27801
+ description:
27802
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
27803
+ enum: ['bridge_lan_unreachable'],
27804
+ type: 'string',
27805
+ },
27806
+ is_bridge_socks_server_healthy: {
27807
+ description:
27808
+ "Bridge's SOCKS server is unhealthy",
27809
+ nullable: true,
27810
+ type: 'boolean',
27811
+ },
27812
+ is_tailscale_proxy_reachable: {
27813
+ description:
27814
+ 'Seam cannot reach the tailscale proxy',
27815
+ nullable: true,
27816
+ type: 'boolean',
27817
+ },
27818
+ is_tailscale_proxy_socks_server_healthy: {
27819
+ description:
27820
+ "Tailscale proxy's SOCKS server is unhealthy",
27821
+ nullable: true,
27822
+ type: 'boolean',
27823
+ },
27824
+ message: { type: 'string' },
27825
+ },
27826
+ required: [
27827
+ 'message',
27828
+ 'created_at',
27829
+ 'error_code',
27830
+ 'is_tailscale_proxy_reachable',
27831
+ 'is_tailscale_proxy_socks_server_healthy',
27832
+ 'can_tailscale_proxy_reach_tailscale_network',
27833
+ 'can_tailscale_proxy_reach_bridge',
27834
+ 'is_bridge_socks_server_healthy',
27835
+ ],
27836
+ type: 'object',
27837
+ },
27838
+ {
27839
+ description:
27840
+ 'Bridge has stopped communicating with Seam',
27841
+ properties: {
27842
+ created_at: {
27843
+ format: 'date-time',
27844
+ type: 'string',
27845
+ },
27846
+ error_code: {
27847
+ description:
27848
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
27849
+ enum: ['no_communication_from_bridge'],
27850
+ type: 'string',
27851
+ },
27852
+ message: { type: 'string' },
27853
+ },
27854
+ required: [
27855
+ 'message',
27856
+ 'created_at',
27857
+ 'error_code',
27858
+ ],
27859
+ type: 'object',
27860
+ },
27861
+ ],
27862
+ },
27863
+ type: 'array',
27864
+ },
27865
+ pairing_code: {
27866
+ maxLength: 6,
27867
+ minLength: 6,
27868
+ type: 'string',
27869
+ },
27870
+ pairing_code_expires_at: {
27871
+ format: 'date-time',
27872
+ type: 'string',
27873
+ },
27874
+ tailscale_auth_key: { nullable: true, type: 'string' },
27875
+ tailscale_hostname: { type: 'string' },
27876
+ telemetry_token: { nullable: true, type: 'string' },
27877
+ telemetry_token_expires_at: {
27878
+ format: 'date-time',
27879
+ nullable: true,
27880
+ type: 'string',
27881
+ },
27882
+ telemetry_url: { nullable: true, type: 'string' },
27883
+ },
27884
+ required: [
27885
+ 'created_at',
27886
+ 'bridge_client_session_id',
27887
+ 'bridge_client_session_token',
27888
+ 'pairing_code',
27889
+ 'pairing_code_expires_at',
27890
+ 'tailscale_hostname',
27891
+ 'tailscale_auth_key',
27892
+ 'bridge_client_name',
27893
+ 'bridge_client_time_zone',
27894
+ 'bridge_client_machine_identifier_key',
27895
+ 'errors',
27896
+ 'telemetry_token',
27897
+ 'telemetry_token_expires_at',
27898
+ 'telemetry_url',
27899
+ ],
27900
+ type: 'object',
27901
+ 'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
27902
+ 'x-undocumented': 'Seam Bridge Client only.',
27903
+ },
27904
+ ok: { type: 'boolean' },
27905
+ },
27906
+ required: ['bridge_client_session', 'ok'],
27907
+ type: 'object',
27908
+ },
27909
+ },
27910
+ },
27911
+ description: 'OK',
27912
+ },
27913
+ 400: { description: 'Bad Request' },
27914
+ 401: { description: 'Unauthorized' },
27915
+ },
27916
+ security: [{ bridge_client_session: [] }],
27917
+ summary:
27918
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token',
27919
+ tags: [],
27920
+ 'x-fern-sdk-group-name': [
27921
+ 'seam',
27922
+ 'bridge',
27923
+ 'v1',
27924
+ 'bridge_client_sessions',
27925
+ ],
27926
+ 'x-fern-sdk-method-name': 'refresh_telemetry_token',
27927
+ 'x-fern-sdk-return-value': 'bridge_client_session',
27928
+ 'x-response-key': 'bridge_client_session',
27929
+ 'x-title': 'Refresh telemetry token for bridge client session',
27930
+ 'x-undocumented': 'Seam Bridge Client only.',
27931
+ },
27932
+ },
27696
27933
  '/seam/bridge/v1/bridge_client_sessions/regenerate_pairing_code': {
27697
27934
  post: {
27698
27935
  description:
@@ -27820,6 +28057,13 @@ export default {
27820
28057
  },
27821
28058
  tailscale_auth_key: { nullable: true, type: 'string' },
27822
28059
  tailscale_hostname: { type: 'string' },
28060
+ telemetry_token: { nullable: true, type: 'string' },
28061
+ telemetry_token_expires_at: {
28062
+ format: 'date-time',
28063
+ nullable: true,
28064
+ type: 'string',
28065
+ },
28066
+ telemetry_url: { nullable: true, type: 'string' },
27823
28067
  },
27824
28068
  required: [
27825
28069
  'created_at',
@@ -27833,6 +28077,9 @@ export default {
27833
28077
  'bridge_client_time_zone',
27834
28078
  'bridge_client_machine_identifier_key',
27835
28079
  'errors',
28080
+ 'telemetry_token',
28081
+ 'telemetry_token_expires_at',
28082
+ 'telemetry_url',
27836
28083
  ],
27837
28084
  type: 'object',
27838
28085
  'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
@@ -32133,6 +32380,62 @@ export default {
32133
32380
  'x-title': 'List Enrollment Automations',
32134
32381
  },
32135
32382
  },
32383
+ '/user_identities/generate_instant_key': {
32384
+ post: {
32385
+ description:
32386
+ 'Generates a new [instant key](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/instant-keys) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
32387
+ operationId: 'userIdentitiesGenerateInstantKeyPost',
32388
+ requestBody: {
32389
+ content: {
32390
+ 'application/json': {
32391
+ schema: {
32392
+ properties: {
32393
+ user_identity_id: {
32394
+ description:
32395
+ 'ID of the user identity for which you want to generate an instant key.',
32396
+ format: 'uuid',
32397
+ type: 'string',
32398
+ },
32399
+ },
32400
+ required: ['user_identity_id'],
32401
+ type: 'object',
32402
+ },
32403
+ },
32404
+ },
32405
+ },
32406
+ responses: {
32407
+ 200: {
32408
+ content: {
32409
+ 'application/json': {
32410
+ schema: {
32411
+ properties: {
32412
+ instant_key: { $ref: '#/components/schemas/instant_key' },
32413
+ ok: { type: 'boolean' },
32414
+ },
32415
+ required: ['instant_key', 'ok'],
32416
+ type: 'object',
32417
+ },
32418
+ },
32419
+ },
32420
+ description: 'OK',
32421
+ },
32422
+ 400: { description: 'Bad Request' },
32423
+ 401: { description: 'Unauthorized' },
32424
+ },
32425
+ security: [
32426
+ { api_key: [] },
32427
+ { pat_with_workspace: [] },
32428
+ { console_session_with_workspace: [] },
32429
+ ],
32430
+ summary: '/user_identities/generate_instant_key',
32431
+ tags: ['/user_identities'],
32432
+ 'x-fern-sdk-group-name': ['user_identities'],
32433
+ 'x-fern-sdk-method-name': 'generate_instant_key',
32434
+ 'x-fern-sdk-return-value': 'instant_key',
32435
+ 'x-response-key': 'instant_key',
32436
+ 'x-title': 'Generate an Instant Key',
32437
+ },
32438
+ },
32136
32439
  '/user_identities/get': {
32137
32440
  post: {
32138
32441
  description: