@seamapi/types 1.179.0 → 1.181.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 (78) hide show
  1. package/dist/connect.cjs +19 -3
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +68 -14
  4. package/lib/seam/connect/internal/enums.d.ts +1 -1
  5. package/lib/seam/connect/internal/enums.js +1 -1
  6. package/lib/seam/connect/internal/enums.js.map +1 -1
  7. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  8. package/lib/seam/connect/internal/schemas.js +1 -1
  9. package/lib/seam/connect/internal/schemas.js.map +1 -1
  10. package/lib/seam/connect/models/acs/access_group.d.ts +3 -0
  11. package/lib/seam/connect/models/acs/access_group.js +1 -0
  12. package/lib/seam/connect/models/acs/access_group.js.map +1 -1
  13. package/lib/seam/connect/models/acs/credential.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/credential_pool.d.ts +2 -2
  15. package/lib/seam/connect/models/acs/seam-bridge.d.ts +68 -33
  16. package/lib/seam/connect/models/acs/seam-bridge.js +17 -12
  17. package/lib/seam/connect/models/acs/seam-bridge.js.map +1 -1
  18. package/lib/seam/connect/models/acs/user.d.ts +3 -3
  19. package/lib/seam/connect/models/client-sessions/client-session.d.ts +32 -0
  20. package/lib/seam/connect/models/client-sessions/client-session.js +13 -0
  21. package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -0
  22. package/lib/seam/connect/models/client-sessions/index.d.ts +1 -0
  23. package/lib/seam/connect/models/client-sessions/index.js +2 -0
  24. package/lib/seam/connect/models/client-sessions/index.js.map +1 -0
  25. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +62 -0
  26. package/lib/seam/connect/models/connected-accounts/connected-account.js +22 -0
  27. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -0
  28. package/lib/seam/connect/models/connected-accounts/index.d.ts +1 -0
  29. package/lib/seam/connect/models/connected-accounts/index.js +2 -0
  30. package/lib/seam/connect/models/connected-accounts/index.js.map +1 -0
  31. package/lib/seam/connect/models/devices/device-provider.d.ts +69 -0
  32. package/lib/seam/connect/models/devices/device-provider.js +100 -0
  33. package/lib/seam/connect/models/devices/device-provider.js.map +1 -0
  34. package/lib/seam/connect/models/devices/index.d.ts +2 -0
  35. package/lib/seam/connect/models/devices/index.js +2 -0
  36. package/lib/seam/connect/models/devices/index.js.map +1 -1
  37. package/lib/seam/connect/models/devices/managed-device.d.ts +2 -2
  38. package/lib/seam/connect/models/devices/noise-threshold.d.ts +26 -0
  39. package/lib/seam/connect/models/devices/noise-threshold.js +11 -0
  40. package/lib/seam/connect/models/devices/noise-threshold.js.map +1 -0
  41. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  42. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2 -2
  43. package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
  44. package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
  45. package/lib/seam/connect/models/index.d.ts +3 -0
  46. package/lib/seam/connect/models/index.js +3 -0
  47. package/lib/seam/connect/models/index.js.map +1 -1
  48. package/lib/seam/connect/models/webhooks/index.d.ts +1 -0
  49. package/lib/seam/connect/models/webhooks/index.js +2 -0
  50. package/lib/seam/connect/models/webhooks/index.js.map +1 -0
  51. package/lib/seam/connect/models/webhooks/webhook.d.ts +17 -0
  52. package/lib/seam/connect/models/webhooks/webhook.js +8 -0
  53. package/lib/seam/connect/models/webhooks/webhook.js.map +1 -0
  54. package/lib/seam/connect/openapi.d.ts +19 -0
  55. package/lib/seam/connect/openapi.js +6 -2
  56. package/lib/seam/connect/openapi.js.map +1 -1
  57. package/lib/seam/connect/route-types.d.ts +12 -10
  58. package/lib/seam/connect/schemas.d.ts +1 -1
  59. package/lib/seam/connect/schemas.js +1 -1
  60. package/lib/seam/connect/schemas.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/lib/seam/connect/internal/enums.ts +3 -0
  63. package/src/lib/seam/connect/internal/schemas.ts +4 -1
  64. package/src/lib/seam/connect/models/acs/access_group.ts +1 -0
  65. package/src/lib/seam/connect/models/acs/seam-bridge.ts +18 -12
  66. package/src/lib/seam/connect/models/client-sessions/client-session.ts +13 -0
  67. package/src/lib/seam/connect/models/client-sessions/index.ts +1 -0
  68. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -0
  69. package/src/lib/seam/connect/models/connected-accounts/index.ts +1 -0
  70. package/src/lib/seam/connect/models/devices/device-provider.ts +116 -0
  71. package/src/lib/seam/connect/models/devices/index.ts +2 -0
  72. package/src/lib/seam/connect/models/devices/noise-threshold.ts +11 -0
  73. package/src/lib/seam/connect/models/index.ts +3 -0
  74. package/src/lib/seam/connect/models/webhooks/index.ts +1 -0
  75. package/src/lib/seam/connect/models/webhooks/webhook.ts +8 -0
  76. package/src/lib/seam/connect/openapi.ts +6 -2
  77. package/src/lib/seam/connect/route-types.ts +12 -10
  78. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -2921,6 +2921,7 @@ export interface Routes {
2921
2921
  ---
2922
2922
  */
2923
2923
  access_group_type_display_name: string;
2924
+ display_name: string;
2924
2925
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
2925
2926
  external_type_display_name: string;
2926
2927
  created_at: string;
@@ -2955,6 +2956,7 @@ export interface Routes {
2955
2956
  ---
2956
2957
  */
2957
2958
  access_group_type_display_name: string;
2959
+ display_name: string;
2958
2960
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
2959
2961
  external_type_display_name: string;
2960
2962
  created_at: string;
@@ -5144,14 +5146,14 @@ export interface Routes {
5144
5146
  jsonResponse: {
5145
5147
  client_session: {
5146
5148
  client_session_id: string;
5147
- user_identifier_key: string | null;
5149
+ workspace_id: string;
5148
5150
  created_at: string;
5149
5151
  token: string;
5152
+ user_identifier_key: string | null;
5150
5153
  device_count: number;
5151
5154
  connected_account_ids: string[];
5152
5155
  connect_webview_ids: string[];
5153
5156
  user_identity_ids: string[];
5154
- workspace_id: string;
5155
5157
  };
5156
5158
  };
5157
5159
  };
@@ -5179,14 +5181,14 @@ export interface Routes {
5179
5181
  jsonResponse: {
5180
5182
  client_session: {
5181
5183
  client_session_id: string;
5182
- user_identifier_key: string | null;
5184
+ workspace_id: string;
5183
5185
  created_at: string;
5184
5186
  token: string;
5187
+ user_identifier_key: string | null;
5185
5188
  device_count: number;
5186
5189
  connected_account_ids: string[];
5187
5190
  connect_webview_ids: string[];
5188
5191
  user_identity_ids: string[];
5189
- workspace_id: string;
5190
5192
  };
5191
5193
  };
5192
5194
  };
@@ -5206,14 +5208,14 @@ export interface Routes {
5206
5208
  jsonResponse: {
5207
5209
  client_session: {
5208
5210
  client_session_id: string;
5209
- user_identifier_key: string | null;
5211
+ workspace_id: string;
5210
5212
  created_at: string;
5211
5213
  token: string;
5214
+ user_identifier_key: string | null;
5212
5215
  device_count: number;
5213
5216
  connected_account_ids: string[];
5214
5217
  connect_webview_ids: string[];
5215
5218
  user_identity_ids: string[];
5216
- workspace_id: string;
5217
5219
  };
5218
5220
  };
5219
5221
  };
@@ -5233,14 +5235,14 @@ export interface Routes {
5233
5235
  jsonResponse: {
5234
5236
  client_session: {
5235
5237
  client_session_id: string;
5236
- user_identifier_key: string | null;
5238
+ workspace_id: string;
5237
5239
  created_at: string;
5238
5240
  token: string;
5241
+ user_identifier_key: string | null;
5239
5242
  device_count: number;
5240
5243
  connected_account_ids: string[];
5241
5244
  connect_webview_ids: string[];
5242
5245
  user_identity_ids: string[];
5243
- workspace_id: string;
5244
5246
  };
5245
5247
  };
5246
5248
  };
@@ -5260,14 +5262,14 @@ export interface Routes {
5260
5262
  jsonResponse: {
5261
5263
  client_sessions: Array<{
5262
5264
  client_session_id: string;
5263
- user_identifier_key: string | null;
5265
+ workspace_id: string;
5264
5266
  created_at: string;
5265
5267
  token: string;
5268
+ user_identifier_key: string | null;
5266
5269
  device_count: number;
5267
5270
  connected_account_ids: string[];
5268
5271
  connect_webview_ids: string[];
5269
5272
  user_identity_ids: string[];
5270
- workspace_id: string;
5271
5273
  }>;
5272
5274
  };
5273
5275
  };
@@ -1 +1 @@
1
- export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
1
+ export { action_attempt, client_session, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
1
+ export { action_attempt, client_session, connect_webview, custom_metadata, seam_event, 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,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.179.0",
3
+ "version": "1.181.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,9 +1,12 @@
1
1
  export {
2
+ ALL_DEVICE_PROVIDERS,
2
3
  LOCK_DEVICE_TYPE,
3
4
  LOCK_DEVICE_TYPE_LIST,
4
5
  NOISE_SENSOR_DEVICE_TYPE,
5
6
  NOISE_SENSOR_DEVICE_TYPE_LIST,
6
7
  PHONE_DEVICE_TYPE,
8
+ PROVIDER_CATEGORIES,
9
+ PUBLIC_PROVIDER_CATEGORIES,
7
10
  THERMOSTAT_DEVICE_TYPE,
8
11
  THERMOSTAT_DEVICE_TYPE_LIST,
9
12
  } from '../models/index.js'
@@ -21,9 +21,11 @@ export {
21
21
  climate_setting_schedule,
22
22
  common_device_properties,
23
23
  connect_webview_device_selection_mode,
24
+ connected_account,
24
25
  custom_metadata_input,
25
26
  device_capability_flags,
26
27
  device_metadata,
28
+ device_provider,
27
29
  dormakaba_oracode_time_slot,
28
30
  enrollment_automation,
29
31
  fan_mode_setting,
@@ -31,6 +33,7 @@ export {
31
33
  managed_access_code,
32
34
  managed_device,
33
35
  noise_sensor_device_type,
36
+ noise_threshold,
34
37
  phone,
35
38
  phone_number,
36
39
  thermostat_capability_properties,
@@ -38,6 +41,6 @@ export {
38
41
  unmanaged_access_code,
39
42
  unmanaged_device,
40
43
  user_identity,
41
- workspace,
44
+ webhook,
42
45
  } from '../models/index.js'
43
46
  export * from '../schemas.js'
@@ -27,6 +27,7 @@ export const acs_access_group = z.object({
27
27
  deprecated: use external_type_display_name
28
28
  ---
29
29
  `),
30
+ display_name: z.string(),
30
31
  external_type: acs_access_group_external_type,
31
32
  external_type_display_name: z.string(),
32
33
  created_at: z.string().datetime(),
@@ -5,26 +5,32 @@ const common_seam_bridge_error = z.object({
5
5
  message: z.string(),
6
6
  })
7
7
 
8
- const connection_failure = common_seam_bridge_error.extend({
9
- error_code: z.literal('connection_failure'),
8
+ const seam_bridge_unreachable = common_seam_bridge_error.extend({
9
+ error_code: z.literal('seam_bridge_unreachable'),
10
10
  })
11
- const bridge_tunnel_failed = common_seam_bridge_error.extend({
12
- error_code: z.literal('bridge_tunnel_failed'),
11
+ const failed_to_create_tunnel = common_seam_bridge_error.extend({
12
+ error_code: z.literal('failed_to_create_tunnel'),
13
13
  })
14
- const bridge_proxy_failure = common_seam_bridge_error.extend({
15
- error_code: z.literal('bridge_proxy_failure'),
14
+ const failed_to_create_proxy = common_seam_bridge_error.extend({
15
+ error_code: z.literal('failed_to_create_proxy'),
16
+ })
17
+
18
+ const managed_by_other_account = common_seam_bridge_error.extend({
19
+ error_code: z.literal('managed_by_other_account'),
16
20
  })
17
21
 
18
22
  export const seam_bridge_error_map = z.object({
19
- bridge_tunnel_failed: bridge_tunnel_failed.optional().nullable(),
20
- bridge_proxy_failure: bridge_proxy_failure.optional().nullable(),
21
- connection_failure: connection_failure.optional().nullable(),
23
+ failed_to_create_tunnel: failed_to_create_tunnel.optional().nullable(),
24
+ failed_to_create_proxy: failed_to_create_proxy.optional().nullable(),
25
+ seam_bridge_unreachable: seam_bridge_unreachable.optional().nullable(),
26
+ managed_by_other_account: managed_by_other_account.optional().nullable(),
22
27
  })
23
28
 
24
29
  export const seam_bridge_error = z.union([
25
- connection_failure,
26
- bridge_proxy_failure,
27
- bridge_tunnel_failed,
30
+ seam_bridge_unreachable,
31
+ failed_to_create_proxy,
32
+ failed_to_create_tunnel,
33
+ managed_by_other_account,
28
34
  ])
29
35
 
30
36
  export type SeamBridgeErrorMap = z.infer<typeof seam_bridge_error_map>
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod'
2
+
3
+ export const client_session = z.object({
4
+ client_session_id: z.string().uuid(),
5
+ workspace_id: z.string().uuid(),
6
+ created_at: z.string().datetime(),
7
+ token: z.string(),
8
+ user_identifier_key: z.string().nullable(),
9
+ device_count: z.number(),
10
+ connected_account_ids: z.array(z.string().uuid()),
11
+ connect_webview_ids: z.array(z.string().uuid()),
12
+ user_identity_ids: z.array(z.string().uuid()),
13
+ })
@@ -0,0 +1 @@
1
+ export * from './client-session.js'
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod'
2
+
3
+ import { custom_metadata } from '../custom-metadata.js'
4
+
5
+ export const connected_account = z.object({
6
+ connected_account_id: z.string().uuid().optional(),
7
+ created_at: z.string().datetime().optional(),
8
+ user_identifier: z
9
+ .object({
10
+ username: z.string().optional(),
11
+ api_url: z.string().optional(),
12
+ email: z.string().optional(),
13
+ phone: z.string().optional(),
14
+ exclusive: z.boolean().optional(),
15
+ })
16
+ .optional(),
17
+ account_type: z.string().optional(),
18
+ account_type_display_name: z.string(),
19
+ errors: z.any(),
20
+ warnings: z.any(),
21
+ custom_metadata,
22
+ automatically_manage_new_devices: z.boolean(),
23
+ })
@@ -0,0 +1 @@
1
+ export * from './connected-account.js'
@@ -0,0 +1,116 @@
1
+ import { z } from 'zod'
2
+
3
+ export const DEVICE_PROVIDERS = {
4
+ AKUVOX: 'akuvox',
5
+ AUGUST: 'august',
6
+ AVIGILON_ALTA: 'avigilon_alta',
7
+ BRIVO: 'brivo',
8
+ BUTTERFLYMX: 'butterflymx',
9
+ SCHLAGE: 'schlage',
10
+ SMARTTHINGS: 'smartthings',
11
+ YALE: 'yale',
12
+ GENIE: 'genie',
13
+ DOORKING: 'doorking',
14
+ SALTO: 'salto',
15
+ LOCKLY: 'lockly',
16
+ TTLOCK: 'ttlock',
17
+ LINEAR: 'linear',
18
+ NOISEAWARE: 'noiseaware',
19
+ NUKI: 'nuki',
20
+ SEAM_RELAY_ADMIN: 'seam_relay_admin',
21
+ IGLOO: 'igloo',
22
+ KWIKSET: 'kwikset',
23
+ MINUT: 'minut',
24
+ MY_2N: 'my_2n',
25
+ CONTROLBYWEB: 'controlbyweb',
26
+ NEST: 'nest',
27
+ IGLOOHOME: 'igloohome',
28
+ ECOBEE: 'ecobee',
29
+ HUBITAT: 'hubitat',
30
+ FOUR_SUITES: 'four_suites',
31
+ DORMAKABA_ORACODE: 'dormakaba_oracode',
32
+ PTI: 'pti',
33
+ WYZE: 'wyze',
34
+ SEAM_PASSPORT: 'seam_passport',
35
+ VISIONLINE: 'visionline',
36
+ ASSA_ABLOY_CREDENTIAL_SERVICE: 'assa_abloy_credential_service',
37
+ SEAM_BRIDGE: 'seam_bridge',
38
+ TEDEE: 'tedee',
39
+ HONEYWELL_RESIDEO: 'honeywell_resideo',
40
+ LATCH: 'latch',
41
+ } as const
42
+
43
+ export type DeviceProvider =
44
+ (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS]
45
+
46
+ export const ALL_DEVICE_PROVIDERS: [DeviceProvider, ...DeviceProvider[]] =
47
+ Object.values(DEVICE_PROVIDERS) as any
48
+
49
+ export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP
50
+
51
+ export const PROVIDER_CATEGORY_MAP = {
52
+ stable: [
53
+ 'august',
54
+ 'avigilon_alta',
55
+ 'brivo',
56
+ 'schlage',
57
+ 'smartthings',
58
+ 'yale',
59
+ 'nuki',
60
+ 'salto',
61
+ 'controlbyweb',
62
+ 'minut',
63
+ 'my_2n',
64
+ 'kwikset',
65
+ 'ttlock',
66
+ 'noiseaware',
67
+ 'igloohome',
68
+ 'ecobee',
69
+ 'four_suites',
70
+ 'lockly',
71
+ 'wyze',
72
+ 'nest',
73
+ 'tedee',
74
+ 'seam_bridge',
75
+ 'honeywell_resideo',
76
+ 'visionline',
77
+ 'assa_abloy_credential_service',
78
+ 'latch',
79
+ ],
80
+
81
+ consumer_smartlocks: [
82
+ 'august',
83
+ 'schlage',
84
+ 'yale',
85
+ 'smartthings',
86
+ 'nuki',
87
+ 'ttlock',
88
+ 'kwikset',
89
+ 'igloohome',
90
+ 'wyze',
91
+ ],
92
+
93
+ thermostats: ['ecobee', 'nest'],
94
+ noise_sensors: ['minut', 'noiseaware'],
95
+ access_control_systems: [
96
+ 'pti',
97
+ 'visionline',
98
+ 'assa_abloy_credential_service',
99
+ 'latch',
100
+ ],
101
+
102
+ internal_beta: ALL_DEVICE_PROVIDERS,
103
+ } as const satisfies Record<string, readonly DeviceProvider[]>
104
+
105
+ export const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]] =
106
+ Object.keys(PROVIDER_CATEGORY_MAP) as any
107
+
108
+ export const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES =
109
+ PROVIDER_CATEGORIES.filter((category) => category !== 'internal_beta') as any
110
+
111
+ export const device_provider = z.object({
112
+ device_provider_name: z.enum(ALL_DEVICE_PROVIDERS),
113
+ display_name: z.string(),
114
+ image_url: z.string(),
115
+ provider_categories: z.array(z.enum(PUBLIC_PROVIDER_CATEGORIES)),
116
+ })
@@ -1,6 +1,8 @@
1
1
  export * from './capabilities-supported.js'
2
2
  export * from './device-metadata.js'
3
+ export * from './device-provider.js'
3
4
  export * from './device-type.js'
4
5
  export * from './managed-device.js'
6
+ export * from './noise-threshold.js'
5
7
  export * from './phone.js'
6
8
  export * from './unmanaged-device.js'
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod'
2
+
3
+ export const noise_threshold = z.object({
4
+ noise_threshold_id: z.string().uuid(),
5
+ device_id: z.string().uuid(),
6
+ name: z.string(),
7
+ noise_threshold_nrs: z.number().optional(),
8
+ starts_daily_at: z.string(), // TODO: zoned_time
9
+ ends_daily_at: z.string(), // TODO: zoned_time
10
+ noise_threshold_decibels: z.number(),
11
+ })
@@ -2,10 +2,13 @@ export * from './access-codes/index.js'
2
2
  export * from './acs/index.js'
3
3
  export * from './action-attempts/index.js'
4
4
  export * from './capability-properties/index.js'
5
+ export * from './client-sessions/index.js'
5
6
  export * from './connect-webviews/index.js'
7
+ export * from './connected-accounts/index.js'
6
8
  export * from './custom-metadata.js'
7
9
  export * from './devices/index.js'
8
10
  export * from './events/index.js'
9
11
  export * from './phone-number.js'
10
12
  export * from './user-identities/index.js'
13
+ export * from './webhooks/index.js'
11
14
  export * from './workspaces/index.js'
@@ -0,0 +1 @@
1
+ export * from './webhook.js'
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod'
2
+
3
+ export const webhook = z.object({
4
+ webhook_id: z.string(),
5
+ url: z.string(),
6
+ event_types: z.array(z.string()).optional(),
7
+ secret: z.string().optional(),
8
+ })
@@ -158,6 +158,7 @@ export default {
158
158
  acs_access_group_id: { format: 'uuid', type: 'string' },
159
159
  acs_system_id: { format: 'uuid', type: 'string' },
160
160
  created_at: { format: 'date-time', type: 'string' },
161
+ display_name: { type: 'string' },
161
162
  external_type: {
162
163
  enum: [
163
164
  'pti_unit',
@@ -178,6 +179,7 @@ export default {
178
179
  'name',
179
180
  'access_group_type',
180
181
  'access_group_type_display_name',
182
+ 'display_name',
181
183
  'external_type',
182
184
  'external_type_display_name',
183
185
  'created_at',
@@ -1635,14 +1637,14 @@ export default {
1635
1637
  },
1636
1638
  required: [
1637
1639
  'client_session_id',
1638
- 'user_identifier_key',
1640
+ 'workspace_id',
1639
1641
  'created_at',
1640
1642
  'token',
1643
+ 'user_identifier_key',
1641
1644
  'device_count',
1642
1645
  'connected_account_ids',
1643
1646
  'connect_webview_ids',
1644
1647
  'user_identity_ids',
1645
- 'workspace_id',
1646
1648
  ],
1647
1649
  type: 'object',
1648
1650
  },
@@ -9217,6 +9219,7 @@ export default {
9217
9219
  401: { description: 'Unauthorized' },
9218
9220
  },
9219
9221
  security: [
9222
+ { client_session: [] },
9220
9223
  { api_key: [] },
9221
9224
  { pat_with_workspace: [] },
9222
9225
  { console_session: [] },
@@ -9911,6 +9914,7 @@ export default {
9911
9914
  401: { description: 'Unauthorized' },
9912
9915
  },
9913
9916
  security: [
9917
+ { client_session: [] },
9914
9918
  { api_key: [] },
9915
9919
  { pat_with_workspace: [] },
9916
9920
  { console_session: [] },
@@ -3105,6 +3105,7 @@ export interface Routes {
3105
3105
  ---
3106
3106
  */
3107
3107
  access_group_type_display_name: string
3108
+ display_name: string
3108
3109
  external_type:
3109
3110
  | 'pti_unit'
3110
3111
  | 'pti_access_level'
@@ -3147,6 +3148,7 @@ export interface Routes {
3147
3148
  ---
3148
3149
  */
3149
3150
  access_group_type_display_name: string
3151
+ display_name: string
3150
3152
  external_type:
3151
3153
  | 'pti_unit'
3152
3154
  | 'pti_access_level'
@@ -5641,14 +5643,14 @@ export interface Routes {
5641
5643
  jsonResponse: {
5642
5644
  client_session: {
5643
5645
  client_session_id: string
5644
- user_identifier_key: string | null
5646
+ workspace_id: string
5645
5647
  created_at: string
5646
5648
  token: string
5649
+ user_identifier_key: string | null
5647
5650
  device_count: number
5648
5651
  connected_account_ids: string[]
5649
5652
  connect_webview_ids: string[]
5650
5653
  user_identity_ids: string[]
5651
- workspace_id: string
5652
5654
  }
5653
5655
  }
5654
5656
  }
@@ -5676,14 +5678,14 @@ export interface Routes {
5676
5678
  jsonResponse: {
5677
5679
  client_session: {
5678
5680
  client_session_id: string
5679
- user_identifier_key: string | null
5681
+ workspace_id: string
5680
5682
  created_at: string
5681
5683
  token: string
5684
+ user_identifier_key: string | null
5682
5685
  device_count: number
5683
5686
  connected_account_ids: string[]
5684
5687
  connect_webview_ids: string[]
5685
5688
  user_identity_ids: string[]
5686
- workspace_id: string
5687
5689
  }
5688
5690
  }
5689
5691
  }
@@ -5703,14 +5705,14 @@ export interface Routes {
5703
5705
  jsonResponse: {
5704
5706
  client_session: {
5705
5707
  client_session_id: string
5706
- user_identifier_key: string | null
5708
+ workspace_id: string
5707
5709
  created_at: string
5708
5710
  token: string
5711
+ user_identifier_key: string | null
5709
5712
  device_count: number
5710
5713
  connected_account_ids: string[]
5711
5714
  connect_webview_ids: string[]
5712
5715
  user_identity_ids: string[]
5713
- workspace_id: string
5714
5716
  }
5715
5717
  }
5716
5718
  }
@@ -5730,14 +5732,14 @@ export interface Routes {
5730
5732
  jsonResponse: {
5731
5733
  client_session: {
5732
5734
  client_session_id: string
5733
- user_identifier_key: string | null
5735
+ workspace_id: string
5734
5736
  created_at: string
5735
5737
  token: string
5738
+ user_identifier_key: string | null
5736
5739
  device_count: number
5737
5740
  connected_account_ids: string[]
5738
5741
  connect_webview_ids: string[]
5739
5742
  user_identity_ids: string[]
5740
- workspace_id: string
5741
5743
  }
5742
5744
  }
5743
5745
  }
@@ -5757,14 +5759,14 @@ export interface Routes {
5757
5759
  jsonResponse: {
5758
5760
  client_sessions: Array<{
5759
5761
  client_session_id: string
5760
- user_identifier_key: string | null
5762
+ workspace_id: string
5761
5763
  created_at: string
5762
5764
  token: string
5765
+ user_identifier_key: string | null
5763
5766
  device_count: number
5764
5767
  connected_account_ids: string[]
5765
5768
  connect_webview_ids: string[]
5766
5769
  user_identity_ids: string[]
5767
- workspace_id: string
5768
5770
  }>
5769
5771
  }
5770
5772
  }
@@ -1,5 +1,6 @@
1
1
  export {
2
2
  action_attempt,
3
+ client_session,
3
4
  connect_webview,
4
5
  custom_metadata,
5
6
  seam_event,