@seamapi/types 1.120.0 → 1.122.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.
@@ -1197,6 +1197,8 @@ export interface Routes {
1197
1197
  created_at: string;
1198
1198
  workspace_id: string;
1199
1199
  connected_account_ids: string[];
1200
+ image_url: string;
1201
+ image_alt_text: string;
1200
1202
  };
1201
1203
  };
1202
1204
  };
@@ -1222,6 +1224,8 @@ export interface Routes {
1222
1224
  created_at: string;
1223
1225
  workspace_id: string;
1224
1226
  connected_account_ids: string[];
1227
+ image_url: string;
1228
+ image_alt_text: string;
1225
1229
  }>;
1226
1230
  };
1227
1231
  };
@@ -3130,8 +3134,8 @@ export interface Routes {
3130
3134
  device_ids?: string[] | undefined;
3131
3135
  access_code_id?: string | undefined;
3132
3136
  access_code_ids?: string[] | undefined;
3133
- event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled') | undefined;
3134
- event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled'> | undefined;
3137
+ event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted') | undefined;
3138
+ event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted'> | undefined;
3135
3139
  connected_account_id?: string | undefined;
3136
3140
  };
3137
3141
  formData: {};
@@ -7446,6 +7450,8 @@ export interface Routes {
7446
7450
  created_at: string;
7447
7451
  workspace_id: string;
7448
7452
  connected_account_ids: string[];
7453
+ image_url: string;
7454
+ image_alt_text: string;
7449
7455
  }>;
7450
7456
  };
7451
7457
  };
@@ -11,6 +11,8 @@ export declare const acs_system: z.ZodObject<{
11
11
  created_at: z.ZodString;
12
12
  workspace_id: z.ZodString;
13
13
  connected_account_ids: z.ZodArray<z.ZodString, "many">;
14
+ image_url: z.ZodString;
15
+ image_alt_text: z.ZodString;
14
16
  }, "strip", z.ZodTypeAny, {
15
17
  name: string;
16
18
  workspace_id: string;
@@ -21,6 +23,8 @@ export declare const acs_system: z.ZodObject<{
21
23
  system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
22
24
  system_type_display_name: string;
23
25
  connected_account_ids: string[];
26
+ image_url: string;
27
+ image_alt_text: string;
24
28
  }, {
25
29
  name: string;
26
30
  workspace_id: string;
@@ -31,5 +35,7 @@ export declare const acs_system: z.ZodObject<{
31
35
  system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service";
32
36
  system_type_display_name: string;
33
37
  connected_account_ids: string[];
38
+ image_url: string;
39
+ image_alt_text: string;
34
40
  }>;
35
41
  export type AcsSystem = z.output<typeof acs_system>;
@@ -21,5 +21,7 @@ export const acs_system = z.object({
21
21
  created_at: z.string().datetime(),
22
22
  workspace_id: z.string().uuid(),
23
23
  connected_account_ids: z.array(z.string()),
24
+ image_url: z.string(),
25
+ image_alt_text: z.string(),
24
26
  });
25
27
  //# sourceMappingURL=system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
@@ -47,7 +47,7 @@ export declare const unmanaged_device: z.ZodObject<{
47
47
  offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
48
48
  supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
49
49
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
50
- }, "name" | "online" | "battery" | "model" | "battery_level" | "image_url" | "manufacturer" | "image_alt_text" | "online_access_codes_enabled" | "offline_access_codes_enabled">, "strip", z.ZodTypeAny, {
50
+ }, "name" | "online" | "image_url" | "image_alt_text" | "battery" | "model" | "battery_level" | "manufacturer" | "online_access_codes_enabled" | "offline_access_codes_enabled">, "strip", z.ZodTypeAny, {
51
51
  name: string;
52
52
  online: boolean;
53
53
  model: {
@@ -57,14 +57,14 @@ export declare const unmanaged_device: z.ZodObject<{
57
57
  online_access_codes_supported?: boolean | undefined;
58
58
  accessory_keypad_supported?: boolean | undefined;
59
59
  };
60
+ image_url?: string | undefined;
61
+ image_alt_text?: string | undefined;
60
62
  battery?: {
61
63
  status: "low" | "full" | "critical" | "good";
62
64
  level: number;
63
65
  } | undefined;
64
66
  battery_level?: number | undefined;
65
- image_url?: string | undefined;
66
67
  manufacturer?: string | undefined;
67
- image_alt_text?: string | undefined;
68
68
  online_access_codes_enabled?: boolean | undefined;
69
69
  offline_access_codes_enabled?: boolean | undefined;
70
70
  }, {
@@ -77,14 +77,14 @@ export declare const unmanaged_device: z.ZodObject<{
77
77
  online_access_codes_supported?: boolean | undefined;
78
78
  accessory_keypad_supported?: boolean | undefined;
79
79
  };
80
+ image_url?: string | undefined;
81
+ image_alt_text?: string | undefined;
80
82
  battery?: {
81
83
  status: "low" | "full" | "critical" | "good";
82
84
  level: number;
83
85
  } | undefined;
84
86
  battery_level?: number | undefined;
85
- image_url?: string | undefined;
86
87
  manufacturer?: string | undefined;
87
- image_alt_text?: string | undefined;
88
88
  online_access_codes_enabled?: boolean | undefined;
89
89
  offline_access_codes_enabled?: boolean | undefined;
90
90
  }>;
@@ -128,14 +128,14 @@ export declare const unmanaged_device: z.ZodObject<{
128
128
  online_access_codes_supported?: boolean | undefined;
129
129
  accessory_keypad_supported?: boolean | undefined;
130
130
  };
131
+ image_url?: string | undefined;
132
+ image_alt_text?: string | undefined;
131
133
  battery?: {
132
134
  status: "low" | "full" | "critical" | "good";
133
135
  level: number;
134
136
  } | undefined;
135
137
  battery_level?: number | undefined;
136
- image_url?: string | undefined;
137
138
  manufacturer?: string | undefined;
138
- image_alt_text?: string | undefined;
139
139
  online_access_codes_enabled?: boolean | undefined;
140
140
  offline_access_codes_enabled?: boolean | undefined;
141
141
  };
@@ -167,14 +167,14 @@ export declare const unmanaged_device: z.ZodObject<{
167
167
  online_access_codes_supported?: boolean | undefined;
168
168
  accessory_keypad_supported?: boolean | undefined;
169
169
  };
170
+ image_url?: string | undefined;
171
+ image_alt_text?: string | undefined;
170
172
  battery?: {
171
173
  status: "low" | "full" | "critical" | "good";
172
174
  level: number;
173
175
  } | undefined;
174
176
  battery_level?: number | undefined;
175
- image_url?: string | undefined;
176
177
  manufacturer?: string | undefined;
177
- image_alt_text?: string | undefined;
178
178
  online_access_codes_enabled?: boolean | undefined;
179
179
  offline_access_codes_enabled?: boolean | undefined;
180
180
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.120.0",
3
+ "version": "1.122.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -200,6 +200,8 @@ export default {
200
200
  type: 'string',
201
201
  },
202
202
  external_type_display_name: { type: 'string' },
203
+ image_alt_text: { type: 'string' },
204
+ image_url: { type: 'string' },
203
205
  name: { type: 'string' },
204
206
  system_type: {
205
207
  description: 'deprecated: use external_type',
@@ -230,6 +232,8 @@ export default {
230
232
  'created_at',
231
233
  'workspace_id',
232
234
  'connected_account_ids',
235
+ 'image_url',
236
+ 'image_alt_text',
233
237
  ],
234
238
  type: 'object',
235
239
  },
@@ -8461,6 +8465,8 @@ export default {
8461
8465
  'connected_account.completed_first_sync_after_reconnection',
8462
8466
  'noise_sensor.noise_threshold_triggered',
8463
8467
  'access_code.backup_access_code_pulled',
8468
+ 'acs_user.deleted',
8469
+ 'acs_credential.deleted',
8464
8470
  ],
8465
8471
  type: 'string',
8466
8472
  },
@@ -8513,6 +8519,8 @@ export default {
8513
8519
  'connected_account.completed_first_sync_after_reconnection',
8514
8520
  'noise_sensor.noise_threshold_triggered',
8515
8521
  'access_code.backup_access_code_pulled',
8522
+ 'acs_user.deleted',
8523
+ 'acs_credential.deleted',
8516
8524
  ],
8517
8525
  type: 'string',
8518
8526
  },
@@ -1334,6 +1334,8 @@ export interface Routes {
1334
1334
  created_at: string
1335
1335
  workspace_id: string
1336
1336
  connected_account_ids: string[]
1337
+ image_url: string
1338
+ image_alt_text: string
1337
1339
  }
1338
1340
  }
1339
1341
  }
@@ -1373,6 +1375,8 @@ export interface Routes {
1373
1375
  created_at: string
1374
1376
  workspace_id: string
1375
1377
  connected_account_ids: string[]
1378
+ image_url: string
1379
+ image_alt_text: string
1376
1380
  }>
1377
1381
  }
1378
1382
  }
@@ -4152,6 +4156,8 @@ export interface Routes {
4152
4156
  | 'connected_account.completed_first_sync_after_reconnection'
4153
4157
  | 'noise_sensor.noise_threshold_triggered'
4154
4158
  | 'access_code.backup_access_code_pulled'
4159
+ | 'acs_user.deleted'
4160
+ | 'acs_credential.deleted'
4155
4161
  )
4156
4162
  | undefined
4157
4163
  event_types?:
@@ -4202,6 +4208,8 @@ export interface Routes {
4202
4208
  | 'connected_account.completed_first_sync_after_reconnection'
4203
4209
  | 'noise_sensor.noise_threshold_triggered'
4204
4210
  | 'access_code.backup_access_code_pulled'
4211
+ | 'acs_user.deleted'
4212
+ | 'acs_credential.deleted'
4205
4213
  >
4206
4214
  | undefined
4207
4215
  connected_account_id?: string | undefined
@@ -10256,6 +10264,8 @@ export interface Routes {
10256
10264
  created_at: string
10257
10265
  workspace_id: string
10258
10266
  connected_account_ids: string[]
10267
+ image_url: string
10268
+ image_alt_text: string
10259
10269
  }>
10260
10270
  }
10261
10271
  }
@@ -27,6 +27,8 @@ export const acs_system = z.object({
27
27
  created_at: z.string().datetime(),
28
28
  workspace_id: z.string().uuid(),
29
29
  connected_account_ids: z.array(z.string()),
30
+ image_url: z.string(),
31
+ image_alt_text: z.string(),
30
32
  })
31
33
 
32
34
  export type AcsSystem = z.output<typeof acs_system>