@seamapi/types 1.441.2 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -10,12 +10,12 @@ export declare const acs_location: z.ZodObject<{
10
10
  export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>;
11
11
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
12
12
  export declare const acs_system_error_map: z.ZodObject<{
13
- seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
13
+ seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14
14
  created_at: z.ZodString;
15
15
  message: z.ZodString;
16
- }, {
16
+ } & {
17
17
  error_code: z.ZodLiteral<"seam_bridge_disconnected">;
18
- }>, "strip", z.ZodTypeAny, {
18
+ }, "strip", z.ZodTypeAny, {
19
19
  message: string;
20
20
  created_at: string;
21
21
  error_code: "seam_bridge_disconnected";
@@ -24,13 +24,13 @@ export declare const acs_system_error_map: z.ZodObject<{
24
24
  created_at: string;
25
25
  error_code: "seam_bridge_disconnected";
26
26
  }>>>;
27
- bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
27
+ bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
28
28
  created_at: z.ZodString;
29
29
  message: z.ZodString;
30
- }, {
30
+ } & {
31
31
  error_code: z.ZodLiteral<"bridge_disconnected">;
32
32
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
33
- }>, "strip", z.ZodTypeAny, {
33
+ }, "strip", z.ZodTypeAny, {
34
34
  message: string;
35
35
  created_at: string;
36
36
  error_code: "bridge_disconnected";
@@ -41,12 +41,12 @@ export declare const acs_system_error_map: z.ZodObject<{
41
41
  error_code: "bridge_disconnected";
42
42
  is_bridge_error?: boolean | undefined;
43
43
  }>>>;
44
- visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
44
+ visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<{
45
45
  created_at: z.ZodString;
46
46
  message: z.ZodString;
47
- }, {
47
+ } & {
48
48
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
49
- }>, "strip", z.ZodTypeAny, {
49
+ }, "strip", z.ZodTypeAny, {
50
50
  message: string;
51
51
  created_at: string;
52
52
  error_code: "visionline_instance_unreachable";
@@ -55,12 +55,12 @@ export declare const acs_system_error_map: z.ZodObject<{
55
55
  created_at: string;
56
56
  error_code: "visionline_instance_unreachable";
57
57
  }>>>;
58
- salto_ks_subscription_limit_exceeded: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
58
+ salto_ks_subscription_limit_exceeded: z.ZodNullable<z.ZodOptional<z.ZodObject<{
59
59
  created_at: z.ZodString;
60
60
  message: z.ZodString;
61
- }, {
61
+ } & {
62
62
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
63
- }>, "strip", z.ZodTypeAny, {
63
+ }, "strip", z.ZodTypeAny, {
64
64
  message: string;
65
65
  created_at: string;
66
66
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -69,12 +69,12 @@ export declare const acs_system_error_map: z.ZodObject<{
69
69
  created_at: string;
70
70
  error_code: "salto_ks_subscription_limit_exceeded";
71
71
  }>>>;
72
- acs_system_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
72
+ acs_system_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
73
73
  created_at: z.ZodString;
74
74
  message: z.ZodString;
75
- }, {
75
+ } & {
76
76
  error_code: z.ZodLiteral<"acs_system_disconnected">;
77
- }>, "strip", z.ZodTypeAny, {
77
+ }, "strip", z.ZodTypeAny, {
78
78
  message: string;
79
79
  created_at: string;
80
80
  error_code: "acs_system_disconnected";
@@ -83,12 +83,12 @@ export declare const acs_system_error_map: z.ZodObject<{
83
83
  created_at: string;
84
84
  error_code: "acs_system_disconnected";
85
85
  }>>>;
86
- account_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
86
+ account_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
87
87
  created_at: z.ZodString;
88
88
  message: z.ZodString;
89
- }, {
89
+ } & {
90
90
  error_code: z.ZodLiteral<"account_disconnected">;
91
- }>, "strip", z.ZodTypeAny, {
91
+ }, "strip", z.ZodTypeAny, {
92
92
  message: string;
93
93
  created_at: string;
94
94
  error_code: "account_disconnected";
@@ -97,12 +97,12 @@ export declare const acs_system_error_map: z.ZodObject<{
97
97
  created_at: string;
98
98
  error_code: "account_disconnected";
99
99
  }>>>;
100
- salto_ks_certification_expired: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
100
+ salto_ks_certification_expired: z.ZodNullable<z.ZodOptional<z.ZodObject<{
101
101
  created_at: z.ZodString;
102
102
  message: z.ZodString;
103
- }, {
103
+ } & {
104
104
  error_code: z.ZodLiteral<"salto_ks_certification_expired">;
105
- }>, "strip", z.ZodTypeAny, {
105
+ }, "strip", z.ZodTypeAny, {
106
106
  message: string;
107
107
  created_at: string;
108
108
  error_code: "salto_ks_certification_expired";
@@ -188,12 +188,12 @@ export declare const acs_system_error_map: z.ZodObject<{
188
188
  }>;
189
189
  export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
190
190
  export declare const acs_system_warning_map: z.ZodObject<{
191
- salto_ks_subscription_limit_almost_reached: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
191
+ salto_ks_subscription_limit_almost_reached: z.ZodNullable<z.ZodOptional<z.ZodObject<{
192
192
  created_at: z.ZodString;
193
193
  message: z.ZodString;
194
- }, {
194
+ } & {
195
195
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
196
- }>, "strip", z.ZodTypeAny, {
196
+ }, "strip", z.ZodTypeAny, {
197
197
  message: string;
198
198
  created_at: string;
199
199
  warning_code: "salto_ks_subscription_limit_almost_reached";
@@ -202,13 +202,13 @@ export declare const acs_system_warning_map: z.ZodObject<{
202
202
  created_at: string;
203
203
  warning_code: "salto_ks_subscription_limit_almost_reached";
204
204
  }>>>;
205
- time_zone_does_not_match_location: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
205
+ time_zone_does_not_match_location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
206
206
  created_at: z.ZodString;
207
207
  message: z.ZodString;
208
- }, {
208
+ } & {
209
209
  warning_code: z.ZodLiteral<"time_zone_does_not_match_location">;
210
210
  misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
- }>, "strip", z.ZodTypeAny, {
211
+ }, "strip", z.ZodTypeAny, {
212
212
  message: string;
213
213
  created_at: string;
214
214
  warning_code: "time_zone_does_not_match_location";
@@ -245,7 +245,7 @@ export declare const acs_system_warning_map: z.ZodObject<{
245
245
  } | null | undefined;
246
246
  }>;
247
247
  export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>;
248
- export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
248
+ export declare const acs_system: z.ZodObject<{
249
249
  default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
250
  acs_system_id: z.ZodString;
251
251
  acs_user_count: z.ZodOptional<z.ZodNumber>;
@@ -282,12 +282,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
282
282
  connected_account_id: z.ZodString;
283
283
  image_url: z.ZodString;
284
284
  image_alt_text: z.ZodString;
285
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
285
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
286
286
  created_at: z.ZodString;
287
287
  message: z.ZodString;
288
- }, {
288
+ } & {
289
289
  error_code: z.ZodLiteral<"seam_bridge_disconnected">;
290
- }>, "strip", z.ZodTypeAny, {
290
+ }, "strip", z.ZodTypeAny, {
291
291
  message: string;
292
292
  created_at: string;
293
293
  error_code: "seam_bridge_disconnected";
@@ -295,13 +295,13 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
295
295
  message: string;
296
296
  created_at: string;
297
297
  error_code: "seam_bridge_disconnected";
298
- }>, z.ZodObject<z.objectUtil.extendShape<{
298
+ }>, z.ZodObject<{
299
299
  created_at: z.ZodString;
300
300
  message: z.ZodString;
301
- }, {
301
+ } & {
302
302
  error_code: z.ZodLiteral<"bridge_disconnected">;
303
303
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
304
- }>, "strip", z.ZodTypeAny, {
304
+ }, "strip", z.ZodTypeAny, {
305
305
  message: string;
306
306
  created_at: string;
307
307
  error_code: "bridge_disconnected";
@@ -311,12 +311,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
311
311
  created_at: string;
312
312
  error_code: "bridge_disconnected";
313
313
  is_bridge_error?: boolean | undefined;
314
- }>, z.ZodObject<z.objectUtil.extendShape<{
314
+ }>, z.ZodObject<{
315
315
  created_at: z.ZodString;
316
316
  message: z.ZodString;
317
- }, {
317
+ } & {
318
318
  error_code: z.ZodLiteral<"visionline_instance_unreachable">;
319
- }>, "strip", z.ZodTypeAny, {
319
+ }, "strip", z.ZodTypeAny, {
320
320
  message: string;
321
321
  created_at: string;
322
322
  error_code: "visionline_instance_unreachable";
@@ -324,12 +324,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
324
324
  message: string;
325
325
  created_at: string;
326
326
  error_code: "visionline_instance_unreachable";
327
- }>, z.ZodObject<z.objectUtil.extendShape<{
327
+ }>, z.ZodObject<{
328
328
  created_at: z.ZodString;
329
329
  message: z.ZodString;
330
- }, {
330
+ } & {
331
331
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
332
- }>, "strip", z.ZodTypeAny, {
332
+ }, "strip", z.ZodTypeAny, {
333
333
  message: string;
334
334
  created_at: string;
335
335
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -337,12 +337,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
337
337
  message: string;
338
338
  created_at: string;
339
339
  error_code: "salto_ks_subscription_limit_exceeded";
340
- }>, z.ZodObject<z.objectUtil.extendShape<{
340
+ }>, z.ZodObject<{
341
341
  created_at: z.ZodString;
342
342
  message: z.ZodString;
343
- }, {
343
+ } & {
344
344
  error_code: z.ZodLiteral<"acs_system_disconnected">;
345
- }>, "strip", z.ZodTypeAny, {
345
+ }, "strip", z.ZodTypeAny, {
346
346
  message: string;
347
347
  created_at: string;
348
348
  error_code: "acs_system_disconnected";
@@ -350,12 +350,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
350
350
  message: string;
351
351
  created_at: string;
352
352
  error_code: "acs_system_disconnected";
353
- }>, z.ZodObject<z.objectUtil.extendShape<{
353
+ }>, z.ZodObject<{
354
354
  created_at: z.ZodString;
355
355
  message: z.ZodString;
356
- }, {
356
+ } & {
357
357
  error_code: z.ZodLiteral<"account_disconnected">;
358
- }>, "strip", z.ZodTypeAny, {
358
+ }, "strip", z.ZodTypeAny, {
359
359
  message: string;
360
360
  created_at: string;
361
361
  error_code: "account_disconnected";
@@ -363,12 +363,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
363
363
  message: string;
364
364
  created_at: string;
365
365
  error_code: "account_disconnected";
366
- }>, z.ZodObject<z.objectUtil.extendShape<{
366
+ }>, z.ZodObject<{
367
367
  created_at: z.ZodString;
368
368
  message: z.ZodString;
369
- }, {
369
+ } & {
370
370
  error_code: z.ZodLiteral<"salto_ks_certification_expired">;
371
- }>, "strip", z.ZodTypeAny, {
371
+ }, "strip", z.ZodTypeAny, {
372
372
  message: string;
373
373
  created_at: string;
374
374
  error_code: "salto_ks_certification_expired";
@@ -377,12 +377,12 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
377
377
  created_at: string;
378
378
  error_code: "salto_ks_certification_expired";
379
379
  }>]>, "many">;
380
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
380
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
381
381
  created_at: z.ZodString;
382
382
  message: z.ZodString;
383
- }, {
383
+ } & {
384
384
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
385
- }>, "strip", z.ZodTypeAny, {
385
+ }, "strip", z.ZodTypeAny, {
386
386
  message: string;
387
387
  created_at: string;
388
388
  warning_code: "salto_ks_subscription_limit_almost_reached";
@@ -390,13 +390,13 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
390
390
  message: string;
391
391
  created_at: string;
392
392
  warning_code: "salto_ks_subscription_limit_almost_reached";
393
- }>, z.ZodObject<z.objectUtil.extendShape<{
393
+ }>, z.ZodObject<{
394
394
  created_at: z.ZodString;
395
395
  message: z.ZodString;
396
- }, {
396
+ } & {
397
397
  warning_code: z.ZodLiteral<"time_zone_does_not_match_location">;
398
398
  misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
399
- }>, "strip", z.ZodTypeAny, {
399
+ }, "strip", z.ZodTypeAny, {
400
400
  message: string;
401
401
  created_at: string;
402
402
  warning_code: "time_zone_does_not_match_location";
@@ -407,7 +407,7 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
407
407
  warning_code: "time_zone_does_not_match_location";
408
408
  misconfigured_acs_entrance_ids?: string[] | undefined;
409
409
  }>]>, "many">;
410
- }, {}>, "strip", z.ZodTypeAny, {
410
+ }, "strip", z.ZodTypeAny, {
411
411
  location: {
412
412
  time_zone: string | null;
413
413
  };