@seamapi/types 1.210.0 → 1.211.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 (46) hide show
  1. package/dist/connect.d.cts +2793 -1343
  2. package/dist/devicedb.d.cts +199 -795
  3. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  4. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  5. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  9. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  11. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  12. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  14. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  21. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  22. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  25. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  26. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  28. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  29. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  30. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  31. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  32. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  33. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  34. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  35. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  37. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  38. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  39. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  40. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  42. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  43. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  46. package/package.json +5 -1
@@ -1,12 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const enrollment_automation_deleted_event: z.ZodObject<{
3
- created_at: z.ZodString;
4
- workspace_id: z.ZodString;
5
- enrollment_automation_id: z.ZodString;
2
+ export declare const enrollment_automation_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6
3
  event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
7
6
  occurred_at: z.ZodString;
7
+ }, {
8
+ enrollment_automation_id: z.ZodString;
9
+ }>, {
8
10
  event_type: z.ZodLiteral<"enrollment_automation.deleted">;
9
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
10
12
  created_at: string;
11
13
  workspace_id: string;
12
14
  enrollment_automation_id: string;
@@ -22,14 +24,16 @@ export declare const enrollment_automation_deleted_event: z.ZodObject<{
22
24
  event_type: "enrollment_automation.deleted";
23
25
  }>;
24
26
  export type EnrollmentAutomationDeletedEvent = z.infer<typeof enrollment_automation_deleted_event>;
25
- export declare const enrollment_automation_events: readonly [z.ZodObject<{
26
- created_at: z.ZodString;
27
- workspace_id: z.ZodString;
28
- enrollment_automation_id: z.ZodString;
27
+ export declare const enrollment_automation_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
29
28
  event_id: z.ZodString;
29
+ workspace_id: z.ZodString;
30
+ created_at: z.ZodString;
30
31
  occurred_at: z.ZodString;
32
+ }, {
33
+ enrollment_automation_id: z.ZodString;
34
+ }>, {
31
35
  event_type: z.ZodLiteral<"enrollment_automation.deleted">;
32
- }, "strip", z.ZodTypeAny, {
36
+ }>, "strip", z.ZodTypeAny, {
33
37
  created_at: string;
34
38
  workspace_id: string;
35
39
  enrollment_automation_id: string;
@@ -1,12 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const phone_deactivated_event: z.ZodObject<{
3
- created_at: z.ZodString;
4
- device_id: z.ZodString;
5
- workspace_id: z.ZodString;
2
+ export declare const phone_deactivated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6
3
  event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
7
6
  occurred_at: z.ZodString;
7
+ }, {
8
+ device_id: z.ZodString;
9
+ }>, {
8
10
  event_type: z.ZodLiteral<"phone.deactivated">;
9
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
10
12
  created_at: string;
11
13
  device_id: string;
12
14
  workspace_id: string;
@@ -22,14 +24,16 @@ export declare const phone_deactivated_event: z.ZodObject<{
22
24
  event_type: "phone.deactivated";
23
25
  }>;
24
26
  export type PhoneDeactivatedEvent = z.infer<typeof phone_deactivated_event>;
25
- export declare const phone_events: readonly [z.ZodObject<{
26
- created_at: z.ZodString;
27
- device_id: z.ZodString;
28
- workspace_id: z.ZodString;
27
+ export declare const phone_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
29
28
  event_id: z.ZodString;
29
+ workspace_id: z.ZodString;
30
+ created_at: z.ZodString;
30
31
  occurred_at: z.ZodString;
32
+ }, {
33
+ device_id: z.ZodString;
34
+ }>, {
31
35
  event_type: z.ZodLiteral<"phone.deactivated">;
32
- }, "strip", z.ZodTypeAny, {
36
+ }>, "strip", z.ZodTypeAny, {
33
37
  created_at: string;
34
38
  device_id: string;
35
39
  workspace_id: string;