@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
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- export declare const updating_user_information_mutation: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const updating_user_information_mutation: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  message: z.ZodString;
5
- }, {
5
+ } & {
6
6
  mutation_code: z.ZodLiteral<"updating_user_information">;
7
7
  from: z.ZodObject<{
8
8
  email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30,7 +30,7 @@ export declare const updating_user_information_mutation: z.ZodObject<z.objectUti
30
30
  full_name?: string | null | undefined;
31
31
  phone_number?: string | null | undefined;
32
32
  }>;
33
- }>, "strip", z.ZodTypeAny, {
33
+ }, "strip", z.ZodTypeAny, {
34
34
  message: string;
35
35
  created_at: string;
36
36
  mutation_code: "updating_user_information";
@@ -59,12 +59,12 @@ export declare const updating_user_information_mutation: z.ZodObject<z.objectUti
59
59
  phone_number?: string | null | undefined;
60
60
  };
61
61
  }>;
62
- export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
62
+ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
63
63
  created_at: z.ZodString;
64
64
  message: z.ZodString;
65
- }, {
65
+ } & {
66
66
  mutation_code: z.ZodLiteral<"creating">;
67
- }>, "strip", z.ZodTypeAny, {
67
+ }, "strip", z.ZodTypeAny, {
68
68
  message: string;
69
69
  created_at: string;
70
70
  mutation_code: "creating";
@@ -72,12 +72,12 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
72
72
  message: string;
73
73
  created_at: string;
74
74
  mutation_code: "creating";
75
- }>, z.ZodObject<z.objectUtil.extendShape<{
75
+ }>, z.ZodObject<{
76
76
  created_at: z.ZodString;
77
77
  message: z.ZodString;
78
- }, {
78
+ } & {
79
79
  mutation_code: z.ZodLiteral<"deleting">;
80
- }>, "strip", z.ZodTypeAny, {
80
+ }, "strip", z.ZodTypeAny, {
81
81
  message: string;
82
82
  created_at: string;
83
83
  mutation_code: "deleting";
@@ -85,10 +85,10 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
85
85
  message: string;
86
86
  created_at: string;
87
87
  mutation_code: "deleting";
88
- }>, z.ZodObject<z.objectUtil.extendShape<{
88
+ }>, z.ZodObject<{
89
89
  created_at: z.ZodString;
90
90
  message: z.ZodString;
91
- }, {
91
+ } & {
92
92
  mutation_code: z.ZodLiteral<"updating_user_information">;
93
93
  from: z.ZodObject<{
94
94
  email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -116,7 +116,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
116
116
  full_name?: string | null | undefined;
117
117
  phone_number?: string | null | undefined;
118
118
  }>;
119
- }>, "strip", z.ZodTypeAny, {
119
+ }, "strip", z.ZodTypeAny, {
120
120
  message: string;
121
121
  created_at: string;
122
122
  mutation_code: "updating_user_information";
@@ -144,10 +144,10 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
144
144
  full_name?: string | null | undefined;
145
145
  phone_number?: string | null | undefined;
146
146
  };
147
- }>, z.ZodObject<z.objectUtil.extendShape<{
147
+ }>, z.ZodObject<{
148
148
  created_at: z.ZodString;
149
149
  message: z.ZodString;
150
- }, {
150
+ } & {
151
151
  mutation_code: z.ZodLiteral<"updating_access_schedule">;
152
152
  from: z.ZodObject<{
153
153
  starts_at: z.ZodNullable<z.ZodString>;
@@ -169,7 +169,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
169
169
  starts_at: string | null;
170
170
  ends_at: string | null;
171
171
  }>;
172
- }>, "strip", z.ZodTypeAny, {
172
+ }, "strip", z.ZodTypeAny, {
173
173
  message: string;
174
174
  created_at: string;
175
175
  mutation_code: "updating_access_schedule";
@@ -193,10 +193,10 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
193
193
  starts_at: string | null;
194
194
  ends_at: string | null;
195
195
  };
196
- }>, z.ZodObject<z.objectUtil.extendShape<{
196
+ }>, z.ZodObject<{
197
197
  created_at: z.ZodString;
198
198
  message: z.ZodString;
199
- }, {
199
+ } & {
200
200
  mutation_code: z.ZodLiteral<"updating_suspension_state">;
201
201
  from: z.ZodObject<{
202
202
  is_suspended: z.ZodBoolean;
@@ -212,7 +212,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
212
212
  }, {
213
213
  is_suspended: boolean;
214
214
  }>;
215
- }>, "strip", z.ZodTypeAny, {
215
+ }, "strip", z.ZodTypeAny, {
216
216
  message: string;
217
217
  created_at: string;
218
218
  mutation_code: "updating_suspension_state";
@@ -232,10 +232,10 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
232
232
  to: {
233
233
  is_suspended: boolean;
234
234
  };
235
- }>, z.ZodObject<z.objectUtil.extendShape<{
235
+ }>, z.ZodObject<{
236
236
  created_at: z.ZodString;
237
237
  message: z.ZodString;
238
- }, {
238
+ } & {
239
239
  mutation_code: z.ZodLiteral<"updating_group_membership">;
240
240
  from: z.ZodObject<{
241
241
  acs_access_group_id: z.ZodNullable<z.ZodString>;
@@ -251,7 +251,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
251
251
  }, {
252
252
  acs_access_group_id: string | null;
253
253
  }>;
254
- }>, "strip", z.ZodTypeAny, {
254
+ }, "strip", z.ZodTypeAny, {
255
255
  message: string;
256
256
  created_at: string;
257
257
  mutation_code: "updating_group_membership";
@@ -274,12 +274,12 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
274
274
  }>]>;
275
275
  export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>;
276
276
  export declare const acs_user_pending_mutations_map: z.ZodObject<{
277
- creating: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
277
+ creating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
278
278
  created_at: z.ZodString;
279
279
  message: z.ZodString;
280
- }, {
280
+ } & {
281
281
  mutation_code: z.ZodLiteral<"creating">;
282
- }>, "strip", z.ZodTypeAny, {
282
+ }, "strip", z.ZodTypeAny, {
283
283
  message: string;
284
284
  created_at: string;
285
285
  mutation_code: "creating";
@@ -288,12 +288,12 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
288
288
  created_at: string;
289
289
  mutation_code: "creating";
290
290
  }>>>;
291
- deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
291
+ deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
292
292
  created_at: z.ZodString;
293
293
  message: z.ZodString;
294
- }, {
294
+ } & {
295
295
  mutation_code: z.ZodLiteral<"deleting">;
296
- }>, "strip", z.ZodTypeAny, {
296
+ }, "strip", z.ZodTypeAny, {
297
297
  message: string;
298
298
  created_at: string;
299
299
  mutation_code: "deleting";
@@ -302,10 +302,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
302
302
  created_at: string;
303
303
  mutation_code: "deleting";
304
304
  }>>>;
305
- updating_access_schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
305
+ updating_access_schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
306
306
  created_at: z.ZodString;
307
307
  message: z.ZodString;
308
- }, {
308
+ } & {
309
309
  mutation_code: z.ZodLiteral<"updating_access_schedule">;
310
310
  from: z.ZodObject<{
311
311
  starts_at: z.ZodNullable<z.ZodString>;
@@ -327,7 +327,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
327
327
  starts_at: string | null;
328
328
  ends_at: string | null;
329
329
  }>;
330
- }>, "strip", z.ZodTypeAny, {
330
+ }, "strip", z.ZodTypeAny, {
331
331
  message: string;
332
332
  created_at: string;
333
333
  mutation_code: "updating_access_schedule";
@@ -352,10 +352,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
352
352
  ends_at: string | null;
353
353
  };
354
354
  }>>>;
355
- updating_group_membership: z.ZodNullable<z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
355
+ updating_group_membership: z.ZodNullable<z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<{
356
356
  created_at: z.ZodString;
357
357
  message: z.ZodString;
358
- }, {
358
+ } & {
359
359
  mutation_code: z.ZodLiteral<"updating_group_membership">;
360
360
  from: z.ZodObject<{
361
361
  acs_access_group_id: z.ZodNullable<z.ZodString>;
@@ -371,7 +371,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
371
371
  }, {
372
372
  acs_access_group_id: string | null;
373
373
  }>;
374
- }>, "strip", z.ZodTypeAny, {
374
+ }, "strip", z.ZodTypeAny, {
375
375
  message: string;
376
376
  created_at: string;
377
377
  mutation_code: "updating_group_membership";
@@ -392,10 +392,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
392
392
  acs_access_group_id: string | null;
393
393
  };
394
394
  }>>>>;
395
- updating_suspension_state: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
395
+ updating_suspension_state: z.ZodNullable<z.ZodOptional<z.ZodObject<{
396
396
  created_at: z.ZodString;
397
397
  message: z.ZodString;
398
- }, {
398
+ } & {
399
399
  mutation_code: z.ZodLiteral<"updating_suspension_state">;
400
400
  from: z.ZodObject<{
401
401
  is_suspended: z.ZodBoolean;
@@ -411,7 +411,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
411
411
  }, {
412
412
  is_suspended: boolean;
413
413
  }>;
414
- }>, "strip", z.ZodTypeAny, {
414
+ }, "strip", z.ZodTypeAny, {
415
415
  message: string;
416
416
  created_at: string;
417
417
  mutation_code: "updating_suspension_state";
@@ -432,10 +432,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
432
432
  is_suspended: boolean;
433
433
  };
434
434
  }>>>;
435
- 'updating_user_information.full_name': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
435
+ 'updating_user_information.full_name': z.ZodNullable<z.ZodOptional<z.ZodObject<{
436
436
  created_at: z.ZodString;
437
437
  message: z.ZodString;
438
- }, {
438
+ } & {
439
439
  mutation_code: z.ZodLiteral<"updating_user_information">;
440
440
  from: z.ZodObject<{
441
441
  full_name: z.ZodNullable<z.ZodString>;
@@ -451,7 +451,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
451
451
  }, {
452
452
  full_name: string | null;
453
453
  }>;
454
- }>, "strip", z.ZodTypeAny, {
454
+ }, "strip", z.ZodTypeAny, {
455
455
  message: string;
456
456
  created_at: string;
457
457
  mutation_code: "updating_user_information";
@@ -472,10 +472,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
472
472
  full_name: string | null;
473
473
  };
474
474
  }>>>;
475
- 'updating_user_information.email_address': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
475
+ 'updating_user_information.email_address': z.ZodNullable<z.ZodOptional<z.ZodObject<{
476
476
  created_at: z.ZodString;
477
477
  message: z.ZodString;
478
- }, {
478
+ } & {
479
479
  mutation_code: z.ZodLiteral<"updating_user_information">;
480
480
  from: z.ZodObject<{
481
481
  email_address: z.ZodNullable<z.ZodString>;
@@ -491,7 +491,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
491
491
  }, {
492
492
  email_address: string | null;
493
493
  }>;
494
- }>, "strip", z.ZodTypeAny, {
494
+ }, "strip", z.ZodTypeAny, {
495
495
  message: string;
496
496
  created_at: string;
497
497
  mutation_code: "updating_user_information";
@@ -512,10 +512,10 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
512
512
  email_address: string | null;
513
513
  };
514
514
  }>>>;
515
- 'updating_user_information.phone_number': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
515
+ 'updating_user_information.phone_number': z.ZodNullable<z.ZodOptional<z.ZodObject<{
516
516
  created_at: z.ZodString;
517
517
  message: z.ZodString;
518
- }, {
518
+ } & {
519
519
  mutation_code: z.ZodLiteral<"updating_user_information">;
520
520
  from: z.ZodObject<{
521
521
  phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
@@ -531,7 +531,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
531
531
  }, {
532
532
  phone_number: string | null;
533
533
  }>;
534
- }>, "strip", z.ZodTypeAny, {
534
+ }, "strip", z.ZodTypeAny, {
535
535
  message: string;
536
536
  created_at: string;
537
537
  mutation_code: "updating_user_information";