@seamapi/types 1.209.1 → 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 (57) hide show
  1. package/dist/connect.cjs +14 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2905 -1397
  4. package/dist/devicedb.d.cts +199 -795
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  7. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  9. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +55 -27
  11. package/lib/seam/connect/models/acs/acs-system.js +7 -0
  12. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  15. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  16. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  17. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  21. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  22. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  23. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  24. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  25. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  26. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  27. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  28. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  29. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  30. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  31. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  32. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  33. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  34. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  35. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  36. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  37. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  38. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  39. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  40. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  41. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  42. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  43. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  44. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  45. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  46. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  47. package/lib/seam/connect/openapi.d.ts +15 -0
  48. package/lib/seam/connect/openapi.js +9 -0
  49. package/lib/seam/connect/openapi.js.map +1 -1
  50. package/lib/seam/connect/route-types.d.ts +20 -0
  51. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  52. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  53. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  54. package/package.json +5 -1
  55. package/src/lib/seam/connect/models/acs/acs-system.ts +7 -0
  56. package/src/lib/seam/connect/openapi.ts +9 -0
  57. package/src/lib/seam/connect/route-types.ts +28 -0
@@ -1,12 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const common_acs_event: z.ZodObject<{
3
- created_at: z.ZodString;
4
- workspace_id: z.ZodString;
2
+ export declare const common_acs_event: z.ZodObject<z.objectUtil.extendShape<{
5
3
  event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
6
  occurred_at: z.ZodString;
7
+ }, {
7
8
  connected_account_id: z.ZodString;
8
9
  acs_system_id: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
+ }>, "strip", z.ZodTypeAny, {
10
11
  connected_account_id: string;
11
12
  created_at: string;
12
13
  workspace_id: string;
@@ -1,14 +1,17 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_credential_deleted_event: z.ZodObject<{
3
- connected_account_id: z.ZodString;
4
- created_at: z.ZodString;
2
+ export declare const acs_credential_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ event_id: z.ZodString;
5
4
  workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
+ occurred_at: z.ZodString;
7
+ }, {
8
+ connected_account_id: z.ZodString;
6
9
  acs_system_id: z.ZodString;
10
+ }>, {
7
11
  acs_credential_id: z.ZodString;
8
- event_id: z.ZodString;
9
- occurred_at: z.ZodString;
12
+ }>, {
10
13
  event_type: z.ZodLiteral<"acs_credential.deleted">;
11
- }, "strip", z.ZodTypeAny, {
14
+ }>, "strip", z.ZodTypeAny, {
12
15
  connected_account_id: string;
13
16
  created_at: string;
14
17
  workspace_id: string;
@@ -28,16 +31,19 @@ export declare const acs_credential_deleted_event: z.ZodObject<{
28
31
  event_type: "acs_credential.deleted";
29
32
  }>;
30
33
  export type AcsCredentialDeletedEvent = z.infer<typeof acs_credential_deleted_event>;
31
- export declare const acs_credential_events: readonly [z.ZodObject<{
32
- connected_account_id: z.ZodString;
33
- created_at: z.ZodString;
34
+ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
35
+ event_id: z.ZodString;
34
36
  workspace_id: z.ZodString;
37
+ created_at: z.ZodString;
38
+ occurred_at: z.ZodString;
39
+ }, {
40
+ connected_account_id: z.ZodString;
35
41
  acs_system_id: z.ZodString;
42
+ }>, {
36
43
  acs_credential_id: z.ZodString;
37
- event_id: z.ZodString;
38
- occurred_at: z.ZodString;
44
+ }>, {
39
45
  event_type: z.ZodLiteral<"acs_credential.deleted">;
40
- }, "strip", z.ZodTypeAny, {
46
+ }>, "strip", z.ZodTypeAny, {
41
47
  connected_account_id: string;
42
48
  created_at: string;
43
49
  workspace_id: string;
@@ -1,12 +1,14 @@
1
- export declare const acs_events: readonly [import("zod").ZodObject<{
2
- connected_account_id: import("zod").ZodString;
3
- created_at: import("zod").ZodString;
4
- workspace_id: import("zod").ZodString;
5
- acs_system_id: import("zod").ZodString;
1
+ export declare const acs_events: readonly [import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6
2
  event_id: import("zod").ZodString;
3
+ workspace_id: import("zod").ZodString;
4
+ created_at: import("zod").ZodString;
7
5
  occurred_at: import("zod").ZodString;
6
+ }, {
7
+ connected_account_id: import("zod").ZodString;
8
+ acs_system_id: import("zod").ZodString;
9
+ }>, {}>, {
8
10
  event_type: import("zod").ZodLiteral<"acs_system.connected">;
9
- }, "strip", import("zod").ZodTypeAny, {
11
+ }>, "strip", import("zod").ZodTypeAny, {
10
12
  connected_account_id: string;
11
13
  created_at: string;
12
14
  workspace_id: string;
@@ -22,16 +24,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
22
24
  event_id: string;
23
25
  occurred_at: string;
24
26
  event_type: "acs_system.connected";
25
- }>, import("zod").ZodObject<{
26
- connected_account_id: import("zod").ZodString;
27
- created_at: import("zod").ZodString;
27
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
28
+ event_id: import("zod").ZodString;
28
29
  workspace_id: import("zod").ZodString;
30
+ created_at: import("zod").ZodString;
31
+ occurred_at: import("zod").ZodString;
32
+ }, {
33
+ connected_account_id: import("zod").ZodString;
29
34
  acs_system_id: import("zod").ZodString;
35
+ }>, {
30
36
  acs_credential_id: import("zod").ZodString;
31
- event_id: import("zod").ZodString;
32
- occurred_at: import("zod").ZodString;
37
+ }>, {
33
38
  event_type: import("zod").ZodLiteral<"acs_credential.deleted">;
34
- }, "strip", import("zod").ZodTypeAny, {
39
+ }>, "strip", import("zod").ZodTypeAny, {
35
40
  connected_account_id: string;
36
41
  created_at: string;
37
42
  workspace_id: string;
@@ -49,16 +54,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
49
54
  event_id: string;
50
55
  occurred_at: string;
51
56
  event_type: "acs_credential.deleted";
52
- }>, import("zod").ZodObject<{
53
- connected_account_id: import("zod").ZodString;
54
- created_at: import("zod").ZodString;
57
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
58
+ event_id: import("zod").ZodString;
55
59
  workspace_id: import("zod").ZodString;
60
+ created_at: import("zod").ZodString;
61
+ occurred_at: import("zod").ZodString;
62
+ }, {
63
+ connected_account_id: import("zod").ZodString;
56
64
  acs_system_id: import("zod").ZodString;
65
+ }>, {
57
66
  acs_user_id: import("zod").ZodString;
58
- event_id: import("zod").ZodString;
59
- occurred_at: import("zod").ZodString;
67
+ }>, {
60
68
  event_type: import("zod").ZodLiteral<"acs_user.deleted">;
61
- }, "strip", import("zod").ZodTypeAny, {
69
+ }>, "strip", import("zod").ZodTypeAny, {
62
70
  connected_account_id: string;
63
71
  created_at: string;
64
72
  workspace_id: string;
@@ -1,13 +1,15 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_system_connected_event: z.ZodObject<{
3
- connected_account_id: z.ZodString;
4
- created_at: z.ZodString;
5
- workspace_id: z.ZodString;
6
- acs_system_id: z.ZodString;
2
+ export declare const acs_system_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7
3
  event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
8
6
  occurred_at: z.ZodString;
7
+ }, {
8
+ connected_account_id: z.ZodString;
9
+ acs_system_id: z.ZodString;
10
+ }>, {}>, {
9
11
  event_type: z.ZodLiteral<"acs_system.connected">;
10
- }, "strip", z.ZodTypeAny, {
12
+ }>, "strip", z.ZodTypeAny, {
11
13
  connected_account_id: string;
12
14
  created_at: string;
13
15
  workspace_id: string;
@@ -25,15 +27,17 @@ export declare const acs_system_connected_event: z.ZodObject<{
25
27
  event_type: "acs_system.connected";
26
28
  }>;
27
29
  export type AcsSystemConnectedEvent = z.infer<typeof acs_system_connected_event>;
28
- export declare const acs_system_events: readonly [z.ZodObject<{
29
- connected_account_id: z.ZodString;
30
- created_at: z.ZodString;
31
- workspace_id: z.ZodString;
32
- acs_system_id: z.ZodString;
30
+ export declare const acs_system_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
33
31
  event_id: z.ZodString;
32
+ workspace_id: z.ZodString;
33
+ created_at: z.ZodString;
34
34
  occurred_at: z.ZodString;
35
+ }, {
36
+ connected_account_id: z.ZodString;
37
+ acs_system_id: z.ZodString;
38
+ }>, {}>, {
35
39
  event_type: z.ZodLiteral<"acs_system.connected">;
36
- }, "strip", z.ZodTypeAny, {
40
+ }>, "strip", z.ZodTypeAny, {
37
41
  connected_account_id: string;
38
42
  created_at: string;
39
43
  workspace_id: string;
@@ -1,14 +1,17 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_user_deleted_event: z.ZodObject<{
3
- connected_account_id: z.ZodString;
4
- created_at: z.ZodString;
2
+ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ event_id: z.ZodString;
5
4
  workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
+ occurred_at: z.ZodString;
7
+ }, {
8
+ connected_account_id: z.ZodString;
6
9
  acs_system_id: z.ZodString;
10
+ }>, {
7
11
  acs_user_id: z.ZodString;
8
- event_id: z.ZodString;
9
- occurred_at: z.ZodString;
12
+ }>, {
10
13
  event_type: z.ZodLiteral<"acs_user.deleted">;
11
- }, "strip", z.ZodTypeAny, {
14
+ }>, "strip", z.ZodTypeAny, {
12
15
  connected_account_id: string;
13
16
  created_at: string;
14
17
  workspace_id: string;
@@ -28,16 +31,19 @@ export declare const acs_user_deleted_event: z.ZodObject<{
28
31
  event_type: "acs_user.deleted";
29
32
  }>;
30
33
  export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
31
- export declare const acs_user_events: readonly [z.ZodObject<{
32
- connected_account_id: z.ZodString;
33
- created_at: z.ZodString;
34
+ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
35
+ event_id: z.ZodString;
34
36
  workspace_id: z.ZodString;
37
+ created_at: z.ZodString;
38
+ occurred_at: z.ZodString;
39
+ }, {
40
+ connected_account_id: z.ZodString;
35
41
  acs_system_id: z.ZodString;
42
+ }>, {
36
43
  acs_user_id: z.ZodString;
37
- event_id: z.ZodString;
38
- occurred_at: z.ZodString;
44
+ }>, {
39
45
  event_type: z.ZodLiteral<"acs_user.deleted">;
40
- }, "strip", z.ZodTypeAny, {
46
+ }>, "strip", z.ZodTypeAny, {
41
47
  connected_account_id: string;
42
48
  created_at: string;
43
49
  workspace_id: string;
@@ -1,14 +1,16 @@
1
1
  import { z } from 'zod';
2
- export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
3
- status: z.ZodString;
4
- created_at: z.ZodString;
2
+ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ event_id: z.ZodString;
5
4
  workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
+ occurred_at: z.ZodString;
7
+ }, {
6
8
  action_attempt_id: z.ZodString;
7
9
  action_type: z.ZodString;
8
- event_id: z.ZodString;
9
- occurred_at: z.ZodString;
10
+ status: z.ZodString;
11
+ }>, {
10
12
  event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
11
- }, "strip", z.ZodTypeAny, {
13
+ }>, "strip", z.ZodTypeAny, {
12
14
  status: string;
13
15
  created_at: string;
14
16
  workspace_id: string;
@@ -27,16 +29,18 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
27
29
  occurred_at: string;
28
30
  event_type: "action_attempt.lock_door.succeeded";
29
31
  }>;
30
- export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
31
- status: z.ZodString;
32
- created_at: z.ZodString;
32
+ export declare const action_attempt_lock_door_failed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
33
+ event_id: z.ZodString;
33
34
  workspace_id: z.ZodString;
35
+ created_at: z.ZodString;
36
+ occurred_at: z.ZodString;
37
+ }, {
34
38
  action_attempt_id: z.ZodString;
35
39
  action_type: z.ZodString;
36
- event_id: z.ZodString;
37
- occurred_at: z.ZodString;
40
+ status: z.ZodString;
41
+ }>, {
38
42
  event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
39
- }, "strip", z.ZodTypeAny, {
43
+ }>, "strip", z.ZodTypeAny, {
40
44
  status: string;
41
45
  created_at: string;
42
46
  workspace_id: string;
@@ -1,12 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const client_session_deleted_event: z.ZodObject<{
3
- created_at: z.ZodString;
4
- workspace_id: z.ZodString;
5
- client_session_id: z.ZodString;
2
+ export declare const client_session_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
+ client_session_id: z.ZodString;
9
+ }>, {
8
10
  event_type: z.ZodLiteral<"client_session.deleted">;
9
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
10
12
  created_at: string;
11
13
  workspace_id: string;
12
14
  client_session_id: string;
@@ -22,14 +24,16 @@ export declare const client_session_deleted_event: z.ZodObject<{
22
24
  event_type: "client_session.deleted";
23
25
  }>;
24
26
  export type ClientSessionDeletedEvent = z.infer<typeof client_session_deleted_event>;
25
- export declare const client_session_events: readonly [z.ZodObject<{
26
- created_at: z.ZodString;
27
- workspace_id: z.ZodString;
28
- client_session_id: z.ZodString;
27
+ export declare const client_session_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
+ client_session_id: z.ZodString;
34
+ }>, {
31
35
  event_type: z.ZodLiteral<"client_session.deleted">;
32
- }, "strip", z.ZodTypeAny, {
36
+ }>, "strip", z.ZodTypeAny, {
33
37
  created_at: string;
34
38
  workspace_id: string;
35
39
  client_session_id: string;
@@ -1,13 +1,15 @@
1
1
  import { z } from 'zod';
2
- export declare const connected_account_connected_event: z.ZodObject<{
3
- connected_account_id: z.ZodString;
4
- created_at: z.ZodString;
5
- workspace_id: z.ZodString;
2
+ export declare const connected_account_connected_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
+ connected_account_id: z.ZodString;
9
+ }>, {
8
10
  event_type: z.ZodLiteral<"connected_account.connected">;
9
11
  connect_webview_id: z.ZodString;
10
- }, "strip", z.ZodTypeAny, {
12
+ }>, "strip", z.ZodTypeAny, {
11
13
  connected_account_id: string;
12
14
  created_at: string;
13
15
  workspace_id: string;
@@ -25,15 +27,17 @@ export declare const connected_account_connected_event: z.ZodObject<{
25
27
  event_type: "connected_account.connected";
26
28
  }>;
27
29
  export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
28
- export declare const connected_account_created_event: z.ZodObject<{
29
- connected_account_id: z.ZodString;
30
- created_at: z.ZodString;
31
- workspace_id: z.ZodString;
30
+ export declare const connected_account_created_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
32
31
  event_id: z.ZodString;
32
+ workspace_id: z.ZodString;
33
+ created_at: z.ZodString;
33
34
  occurred_at: z.ZodString;
35
+ }, {
36
+ connected_account_id: z.ZodString;
37
+ }>, {
34
38
  event_type: z.ZodLiteral<"connected_account.created">;
35
39
  connect_webview_id: z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
40
+ }>, "strip", z.ZodTypeAny, {
37
41
  connected_account_id: string;
38
42
  created_at: string;
39
43
  workspace_id: string;
@@ -51,15 +55,17 @@ export declare const connected_account_created_event: z.ZodObject<{
51
55
  event_type: "connected_account.created";
52
56
  }>;
53
57
  export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
54
- export declare const connected_account_successful_login_event: z.ZodObject<{
55
- connected_account_id: z.ZodString;
56
- created_at: z.ZodString;
57
- workspace_id: z.ZodString;
58
+ export declare const connected_account_successful_login_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
58
59
  event_id: z.ZodString;
60
+ workspace_id: z.ZodString;
61
+ created_at: z.ZodString;
59
62
  occurred_at: z.ZodString;
63
+ }, {
64
+ connected_account_id: z.ZodString;
65
+ }>, {
60
66
  event_type: z.ZodLiteral<"connected_account.successful_login">;
61
67
  connect_webview_id: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
68
+ }>, "strip", z.ZodTypeAny, {
63
69
  connected_account_id: string;
64
70
  created_at: string;
65
71
  workspace_id: string;
@@ -77,14 +83,16 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
77
83
  event_type: "connected_account.successful_login";
78
84
  }>;
79
85
  export type ConnectedAccountSuccessfulLoginEvent = z.infer<typeof connected_account_successful_login_event>;
80
- export declare const connected_account_disconnected_event: z.ZodObject<{
81
- connected_account_id: z.ZodString;
82
- created_at: z.ZodString;
83
- workspace_id: z.ZodString;
86
+ export declare const connected_account_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
84
87
  event_id: z.ZodString;
88
+ workspace_id: z.ZodString;
89
+ created_at: z.ZodString;
85
90
  occurred_at: z.ZodString;
91
+ }, {
92
+ connected_account_id: z.ZodString;
93
+ }>, {
86
94
  event_type: z.ZodLiteral<"connected_account.disconnected">;
87
- }, "strip", z.ZodTypeAny, {
95
+ }>, "strip", z.ZodTypeAny, {
88
96
  connected_account_id: string;
89
97
  created_at: string;
90
98
  workspace_id: string;
@@ -100,14 +108,16 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
100
108
  event_type: "connected_account.disconnected";
101
109
  }>;
102
110
  export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
103
- export declare const connected_account_completed_first_sync_event: z.ZodObject<{
104
- connected_account_id: z.ZodString;
105
- created_at: z.ZodString;
106
- workspace_id: z.ZodString;
111
+ export declare const connected_account_completed_first_sync_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
107
112
  event_id: z.ZodString;
113
+ workspace_id: z.ZodString;
114
+ created_at: z.ZodString;
108
115
  occurred_at: z.ZodString;
116
+ }, {
117
+ connected_account_id: z.ZodString;
118
+ }>, {
109
119
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
110
- }, "strip", z.ZodTypeAny, {
120
+ }>, "strip", z.ZodTypeAny, {
111
121
  connected_account_id: string;
112
122
  created_at: string;
113
123
  workspace_id: string;
@@ -123,14 +133,16 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
123
133
  event_type: "connected_account.completed_first_sync";
124
134
  }>;
125
135
  export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
126
- export declare const connected_account_deleted_event: z.ZodObject<{
127
- connected_account_id: z.ZodString;
128
- created_at: z.ZodString;
129
- workspace_id: z.ZodString;
136
+ export declare const connected_account_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
130
137
  event_id: z.ZodString;
138
+ workspace_id: z.ZodString;
139
+ created_at: z.ZodString;
131
140
  occurred_at: z.ZodString;
141
+ }, {
142
+ connected_account_id: z.ZodString;
143
+ }>, {
132
144
  event_type: z.ZodLiteral<"connected_account.deleted">;
133
- }, "strip", z.ZodTypeAny, {
145
+ }>, "strip", z.ZodTypeAny, {
134
146
  connected_account_id: string;
135
147
  created_at: string;
136
148
  workspace_id: string;
@@ -146,14 +158,16 @@ export declare const connected_account_deleted_event: z.ZodObject<{
146
158
  event_type: "connected_account.deleted";
147
159
  }>;
148
160
  export type ConnectedAccountDeletedEvent = z.infer<typeof connected_account_deleted_event>;
149
- export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<{
150
- connected_account_id: z.ZodString;
151
- created_at: z.ZodString;
152
- workspace_id: z.ZodString;
161
+ export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
153
162
  event_id: z.ZodString;
163
+ workspace_id: z.ZodString;
164
+ created_at: z.ZodString;
154
165
  occurred_at: z.ZodString;
166
+ }, {
167
+ connected_account_id: z.ZodString;
168
+ }>, {
155
169
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
156
- }, "strip", z.ZodTypeAny, {
170
+ }>, "strip", z.ZodTypeAny, {
157
171
  connected_account_id: string;
158
172
  created_at: string;
159
173
  workspace_id: string;
@@ -169,15 +183,17 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
169
183
  event_type: "connected_account.completed_first_sync_after_reconnection";
170
184
  }>;
171
185
  export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
172
- export declare const connected_account_events: readonly [z.ZodObject<{
173
- connected_account_id: z.ZodString;
174
- created_at: z.ZodString;
175
- workspace_id: z.ZodString;
186
+ export declare const connected_account_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
176
187
  event_id: z.ZodString;
188
+ workspace_id: z.ZodString;
189
+ created_at: z.ZodString;
177
190
  occurred_at: z.ZodString;
191
+ }, {
192
+ connected_account_id: z.ZodString;
193
+ }>, {
178
194
  event_type: z.ZodLiteral<"connected_account.connected">;
179
195
  connect_webview_id: z.ZodString;
180
- }, "strip", z.ZodTypeAny, {
196
+ }>, "strip", z.ZodTypeAny, {
181
197
  connected_account_id: string;
182
198
  created_at: string;
183
199
  workspace_id: string;
@@ -193,15 +209,17 @@ export declare const connected_account_events: readonly [z.ZodObject<{
193
209
  event_id: string;
194
210
  occurred_at: string;
195
211
  event_type: "connected_account.connected";
196
- }>, z.ZodObject<{
197
- connected_account_id: z.ZodString;
198
- created_at: z.ZodString;
199
- workspace_id: z.ZodString;
212
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
200
213
  event_id: z.ZodString;
214
+ workspace_id: z.ZodString;
215
+ created_at: z.ZodString;
201
216
  occurred_at: z.ZodString;
217
+ }, {
218
+ connected_account_id: z.ZodString;
219
+ }>, {
202
220
  event_type: z.ZodLiteral<"connected_account.created">;
203
221
  connect_webview_id: z.ZodString;
204
- }, "strip", z.ZodTypeAny, {
222
+ }>, "strip", z.ZodTypeAny, {
205
223
  connected_account_id: string;
206
224
  created_at: string;
207
225
  workspace_id: string;
@@ -217,15 +235,17 @@ export declare const connected_account_events: readonly [z.ZodObject<{
217
235
  event_id: string;
218
236
  occurred_at: string;
219
237
  event_type: "connected_account.created";
220
- }>, z.ZodObject<{
221
- connected_account_id: z.ZodString;
222
- created_at: z.ZodString;
223
- workspace_id: z.ZodString;
238
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
224
239
  event_id: z.ZodString;
240
+ workspace_id: z.ZodString;
241
+ created_at: z.ZodString;
225
242
  occurred_at: z.ZodString;
243
+ }, {
244
+ connected_account_id: z.ZodString;
245
+ }>, {
226
246
  event_type: z.ZodLiteral<"connected_account.successful_login">;
227
247
  connect_webview_id: z.ZodString;
228
- }, "strip", z.ZodTypeAny, {
248
+ }>, "strip", z.ZodTypeAny, {
229
249
  connected_account_id: string;
230
250
  created_at: string;
231
251
  workspace_id: string;
@@ -241,14 +261,16 @@ export declare const connected_account_events: readonly [z.ZodObject<{
241
261
  event_id: string;
242
262
  occurred_at: string;
243
263
  event_type: "connected_account.successful_login";
244
- }>, z.ZodObject<{
245
- connected_account_id: z.ZodString;
246
- created_at: z.ZodString;
247
- workspace_id: z.ZodString;
264
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
248
265
  event_id: z.ZodString;
266
+ workspace_id: z.ZodString;
267
+ created_at: z.ZodString;
249
268
  occurred_at: z.ZodString;
269
+ }, {
270
+ connected_account_id: z.ZodString;
271
+ }>, {
250
272
  event_type: z.ZodLiteral<"connected_account.disconnected">;
251
- }, "strip", z.ZodTypeAny, {
273
+ }>, "strip", z.ZodTypeAny, {
252
274
  connected_account_id: string;
253
275
  created_at: string;
254
276
  workspace_id: string;
@@ -262,14 +284,16 @@ export declare const connected_account_events: readonly [z.ZodObject<{
262
284
  event_id: string;
263
285
  occurred_at: string;
264
286
  event_type: "connected_account.disconnected";
265
- }>, z.ZodObject<{
266
- connected_account_id: z.ZodString;
267
- created_at: z.ZodString;
268
- workspace_id: z.ZodString;
287
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
269
288
  event_id: z.ZodString;
289
+ workspace_id: z.ZodString;
290
+ created_at: z.ZodString;
270
291
  occurred_at: z.ZodString;
292
+ }, {
293
+ connected_account_id: z.ZodString;
294
+ }>, {
271
295
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
272
- }, "strip", z.ZodTypeAny, {
296
+ }>, "strip", z.ZodTypeAny, {
273
297
  connected_account_id: string;
274
298
  created_at: string;
275
299
  workspace_id: string;
@@ -283,14 +307,16 @@ export declare const connected_account_events: readonly [z.ZodObject<{
283
307
  event_id: string;
284
308
  occurred_at: string;
285
309
  event_type: "connected_account.completed_first_sync";
286
- }>, z.ZodObject<{
287
- connected_account_id: z.ZodString;
288
- created_at: z.ZodString;
289
- workspace_id: z.ZodString;
310
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
290
311
  event_id: z.ZodString;
312
+ workspace_id: z.ZodString;
313
+ created_at: z.ZodString;
291
314
  occurred_at: z.ZodString;
315
+ }, {
316
+ connected_account_id: z.ZodString;
317
+ }>, {
292
318
  event_type: z.ZodLiteral<"connected_account.deleted">;
293
- }, "strip", z.ZodTypeAny, {
319
+ }>, "strip", z.ZodTypeAny, {
294
320
  connected_account_id: string;
295
321
  created_at: string;
296
322
  workspace_id: string;
@@ -304,14 +330,16 @@ export declare const connected_account_events: readonly [z.ZodObject<{
304
330
  event_id: string;
305
331
  occurred_at: string;
306
332
  event_type: "connected_account.deleted";
307
- }>, z.ZodObject<{
308
- connected_account_id: z.ZodString;
309
- created_at: z.ZodString;
310
- workspace_id: z.ZodString;
333
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
311
334
  event_id: z.ZodString;
335
+ workspace_id: z.ZodString;
336
+ created_at: z.ZodString;
312
337
  occurred_at: z.ZodString;
338
+ }, {
339
+ connected_account_id: z.ZodString;
340
+ }>, {
313
341
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
314
- }, "strip", z.ZodTypeAny, {
342
+ }>, "strip", z.ZodTypeAny, {
315
343
  connected_account_id: string;
316
344
  created_at: string;
317
345
  workspace_id: string;