@seamapi/types 1.194.0 → 1.196.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 (30) hide show
  1. package/dist/connect.cjs +147 -48
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +280 -8
  4. package/lib/seam/connect/models/acs/acs-system.js +84 -29
  5. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  6. package/lib/seam/connect/models/events/access-codes.d.ts +102 -0
  7. package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
  8. package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -0
  9. package/lib/seam/connect/models/events/acs/index.d.ts +9 -0
  10. package/lib/seam/connect/models/events/acs/systems.d.ts +6 -0
  11. package/lib/seam/connect/models/events/acs/users.d.ts +6 -0
  12. package/lib/seam/connect/models/events/action-attempts.d.ts +6 -0
  13. package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
  14. package/lib/seam/connect/models/events/common.d.ts +3 -0
  15. package/lib/seam/connect/models/events/common.js +6 -0
  16. package/lib/seam/connect/models/events/common.js.map +1 -1
  17. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
  18. package/lib/seam/connect/models/events/devices.d.ts +150 -0
  19. package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
  20. package/lib/seam/connect/models/events/phones.d.ts +6 -0
  21. package/lib/seam/connect/models/events/seam-event.d.ts +165 -0
  22. package/lib/seam/connect/openapi.d.ts +22 -0
  23. package/lib/seam/connect/openapi.js +79 -18
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +93 -8
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/models/acs/acs-system.ts +105 -26
  28. package/src/lib/seam/connect/models/events/common.ts +6 -0
  29. package/src/lib/seam/connect/openapi.ts +98 -18
  30. package/src/lib/seam/connect/route-types.ts +93 -8
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const common_acs_event: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
+ event_id: z.ZodString;
5
6
  occurred_at: z.ZodString;
6
7
  connected_account_id: z.ZodString;
7
8
  acs_system_id: z.ZodString;
@@ -10,11 +11,13 @@ export declare const common_acs_event: z.ZodObject<{
10
11
  acs_system_id: string;
11
12
  workspace_id: string;
12
13
  connected_account_id: string;
14
+ event_id: string;
13
15
  occurred_at: string;
14
16
  }, {
15
17
  created_at: string;
16
18
  acs_system_id: string;
17
19
  workspace_id: string;
18
20
  connected_account_id: string;
21
+ event_id: string;
19
22
  occurred_at: string;
20
23
  }>;
@@ -5,6 +5,7 @@ export declare const acs_credential_deleted_event: z.ZodObject<{
5
5
  workspace_id: z.ZodString;
6
6
  acs_credential_id: z.ZodString;
7
7
  connected_account_id: z.ZodString;
8
+ event_id: z.ZodString;
8
9
  occurred_at: z.ZodString;
9
10
  event_type: z.ZodLiteral<"acs_credential.deleted">;
10
11
  }, "strip", z.ZodTypeAny, {
@@ -13,6 +14,7 @@ export declare const acs_credential_deleted_event: z.ZodObject<{
13
14
  workspace_id: string;
14
15
  acs_credential_id: string;
15
16
  connected_account_id: string;
17
+ event_id: string;
16
18
  occurred_at: string;
17
19
  event_type: "acs_credential.deleted";
18
20
  }, {
@@ -21,6 +23,7 @@ export declare const acs_credential_deleted_event: z.ZodObject<{
21
23
  workspace_id: string;
22
24
  acs_credential_id: string;
23
25
  connected_account_id: string;
26
+ event_id: string;
24
27
  occurred_at: string;
25
28
  event_type: "acs_credential.deleted";
26
29
  }>;
@@ -31,6 +34,7 @@ export declare const acs_credential_events: readonly [z.ZodObject<{
31
34
  workspace_id: z.ZodString;
32
35
  acs_credential_id: z.ZodString;
33
36
  connected_account_id: z.ZodString;
37
+ event_id: z.ZodString;
34
38
  occurred_at: z.ZodString;
35
39
  event_type: z.ZodLiteral<"acs_credential.deleted">;
36
40
  }, "strip", z.ZodTypeAny, {
@@ -39,6 +43,7 @@ export declare const acs_credential_events: readonly [z.ZodObject<{
39
43
  workspace_id: string;
40
44
  acs_credential_id: string;
41
45
  connected_account_id: string;
46
+ event_id: string;
42
47
  occurred_at: string;
43
48
  event_type: "acs_credential.deleted";
44
49
  }, {
@@ -47,6 +52,7 @@ export declare const acs_credential_events: readonly [z.ZodObject<{
47
52
  workspace_id: string;
48
53
  acs_credential_id: string;
49
54
  connected_account_id: string;
55
+ event_id: string;
50
56
  occurred_at: string;
51
57
  event_type: "acs_credential.deleted";
52
58
  }>];
@@ -3,6 +3,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
3
3
  acs_system_id: import("zod").ZodString;
4
4
  workspace_id: import("zod").ZodString;
5
5
  connected_account_id: import("zod").ZodString;
6
+ event_id: import("zod").ZodString;
6
7
  occurred_at: import("zod").ZodString;
7
8
  event_type: import("zod").ZodLiteral<"acs_system.connected">;
8
9
  }, "strip", import("zod").ZodTypeAny, {
@@ -10,6 +11,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
10
11
  acs_system_id: string;
11
12
  workspace_id: string;
12
13
  connected_account_id: string;
14
+ event_id: string;
13
15
  occurred_at: string;
14
16
  event_type: "acs_system.connected";
15
17
  }, {
@@ -17,6 +19,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
17
19
  acs_system_id: string;
18
20
  workspace_id: string;
19
21
  connected_account_id: string;
22
+ event_id: string;
20
23
  occurred_at: string;
21
24
  event_type: "acs_system.connected";
22
25
  }>, import("zod").ZodObject<{
@@ -25,6 +28,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
25
28
  workspace_id: import("zod").ZodString;
26
29
  acs_credential_id: import("zod").ZodString;
27
30
  connected_account_id: import("zod").ZodString;
31
+ event_id: import("zod").ZodString;
28
32
  occurred_at: import("zod").ZodString;
29
33
  event_type: import("zod").ZodLiteral<"acs_credential.deleted">;
30
34
  }, "strip", import("zod").ZodTypeAny, {
@@ -33,6 +37,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
33
37
  workspace_id: string;
34
38
  acs_credential_id: string;
35
39
  connected_account_id: string;
40
+ event_id: string;
36
41
  occurred_at: string;
37
42
  event_type: "acs_credential.deleted";
38
43
  }, {
@@ -41,6 +46,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
41
46
  workspace_id: string;
42
47
  acs_credential_id: string;
43
48
  connected_account_id: string;
49
+ event_id: string;
44
50
  occurred_at: string;
45
51
  event_type: "acs_credential.deleted";
46
52
  }>, import("zod").ZodObject<{
@@ -49,6 +55,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
49
55
  workspace_id: import("zod").ZodString;
50
56
  acs_user_id: import("zod").ZodString;
51
57
  connected_account_id: import("zod").ZodString;
58
+ event_id: import("zod").ZodString;
52
59
  occurred_at: import("zod").ZodString;
53
60
  event_type: import("zod").ZodLiteral<"acs_user.deleted">;
54
61
  }, "strip", import("zod").ZodTypeAny, {
@@ -57,6 +64,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
57
64
  workspace_id: string;
58
65
  acs_user_id: string;
59
66
  connected_account_id: string;
67
+ event_id: string;
60
68
  occurred_at: string;
61
69
  event_type: "acs_user.deleted";
62
70
  }, {
@@ -65,6 +73,7 @@ export declare const acs_events: readonly [import("zod").ZodObject<{
65
73
  workspace_id: string;
66
74
  acs_user_id: string;
67
75
  connected_account_id: string;
76
+ event_id: string;
68
77
  occurred_at: string;
69
78
  event_type: "acs_user.deleted";
70
79
  }>];
@@ -4,6 +4,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
4
4
  acs_system_id: z.ZodString;
5
5
  workspace_id: z.ZodString;
6
6
  connected_account_id: z.ZodString;
7
+ event_id: z.ZodString;
7
8
  occurred_at: z.ZodString;
8
9
  event_type: z.ZodLiteral<"acs_system.connected">;
9
10
  }, "strip", z.ZodTypeAny, {
@@ -11,6 +12,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
11
12
  acs_system_id: string;
12
13
  workspace_id: string;
13
14
  connected_account_id: string;
15
+ event_id: string;
14
16
  occurred_at: string;
15
17
  event_type: "acs_system.connected";
16
18
  }, {
@@ -18,6 +20,7 @@ export declare const acs_system_connected_event: z.ZodObject<{
18
20
  acs_system_id: string;
19
21
  workspace_id: string;
20
22
  connected_account_id: string;
23
+ event_id: string;
21
24
  occurred_at: string;
22
25
  event_type: "acs_system.connected";
23
26
  }>;
@@ -27,6 +30,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
27
30
  acs_system_id: z.ZodString;
28
31
  workspace_id: z.ZodString;
29
32
  connected_account_id: z.ZodString;
33
+ event_id: z.ZodString;
30
34
  occurred_at: z.ZodString;
31
35
  event_type: z.ZodLiteral<"acs_system.connected">;
32
36
  }, "strip", z.ZodTypeAny, {
@@ -34,6 +38,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
34
38
  acs_system_id: string;
35
39
  workspace_id: string;
36
40
  connected_account_id: string;
41
+ event_id: string;
37
42
  occurred_at: string;
38
43
  event_type: "acs_system.connected";
39
44
  }, {
@@ -41,6 +46,7 @@ export declare const acs_system_events: readonly [z.ZodObject<{
41
46
  acs_system_id: string;
42
47
  workspace_id: string;
43
48
  connected_account_id: string;
49
+ event_id: string;
44
50
  occurred_at: string;
45
51
  event_type: "acs_system.connected";
46
52
  }>];
@@ -5,6 +5,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
5
5
  workspace_id: z.ZodString;
6
6
  acs_user_id: z.ZodString;
7
7
  connected_account_id: z.ZodString;
8
+ event_id: z.ZodString;
8
9
  occurred_at: z.ZodString;
9
10
  event_type: z.ZodLiteral<"acs_user.deleted">;
10
11
  }, "strip", z.ZodTypeAny, {
@@ -13,6 +14,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
13
14
  workspace_id: string;
14
15
  acs_user_id: string;
15
16
  connected_account_id: string;
17
+ event_id: string;
16
18
  occurred_at: string;
17
19
  event_type: "acs_user.deleted";
18
20
  }, {
@@ -21,6 +23,7 @@ export declare const acs_user_deleted_event: z.ZodObject<{
21
23
  workspace_id: string;
22
24
  acs_user_id: string;
23
25
  connected_account_id: string;
26
+ event_id: string;
24
27
  occurred_at: string;
25
28
  event_type: "acs_user.deleted";
26
29
  }>;
@@ -31,6 +34,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
31
34
  workspace_id: z.ZodString;
32
35
  acs_user_id: z.ZodString;
33
36
  connected_account_id: z.ZodString;
37
+ event_id: z.ZodString;
34
38
  occurred_at: z.ZodString;
35
39
  event_type: z.ZodLiteral<"acs_user.deleted">;
36
40
  }, "strip", z.ZodTypeAny, {
@@ -39,6 +43,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
39
43
  workspace_id: string;
40
44
  acs_user_id: string;
41
45
  connected_account_id: string;
46
+ event_id: string;
42
47
  occurred_at: string;
43
48
  event_type: "acs_user.deleted";
44
49
  }, {
@@ -47,6 +52,7 @@ export declare const acs_user_events: readonly [z.ZodObject<{
47
52
  workspace_id: string;
48
53
  acs_user_id: string;
49
54
  connected_account_id: string;
55
+ event_id: string;
50
56
  occurred_at: string;
51
57
  event_type: "acs_user.deleted";
52
58
  }>];
@@ -5,6 +5,7 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
5
5
  workspace_id: z.ZodString;
6
6
  action_attempt_id: z.ZodString;
7
7
  action_type: z.ZodString;
8
+ event_id: z.ZodString;
8
9
  occurred_at: z.ZodString;
9
10
  event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
10
11
  }, "strip", z.ZodTypeAny, {
@@ -13,6 +14,7 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
13
14
  workspace_id: string;
14
15
  action_attempt_id: string;
15
16
  action_type: string;
17
+ event_id: string;
16
18
  occurred_at: string;
17
19
  event_type: "action_attempt.lock_door.succeeded";
18
20
  }, {
@@ -21,6 +23,7 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
21
23
  workspace_id: string;
22
24
  action_attempt_id: string;
23
25
  action_type: string;
26
+ event_id: string;
24
27
  occurred_at: string;
25
28
  event_type: "action_attempt.lock_door.succeeded";
26
29
  }>;
@@ -30,6 +33,7 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
30
33
  workspace_id: z.ZodString;
31
34
  action_attempt_id: z.ZodString;
32
35
  action_type: z.ZodString;
36
+ event_id: z.ZodString;
33
37
  occurred_at: z.ZodString;
34
38
  event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
35
39
  }, "strip", z.ZodTypeAny, {
@@ -38,6 +42,7 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
38
42
  workspace_id: string;
39
43
  action_attempt_id: string;
40
44
  action_type: string;
45
+ event_id: string;
41
46
  occurred_at: string;
42
47
  event_type: "action_attempt.lock_door.failed";
43
48
  }, {
@@ -46,6 +51,7 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
46
51
  workspace_id: string;
47
52
  action_attempt_id: string;
48
53
  action_type: string;
54
+ event_id: string;
49
55
  occurred_at: string;
50
56
  event_type: "action_attempt.lock_door.failed";
51
57
  }>;
@@ -3,18 +3,21 @@ export declare const client_session_deleted_event: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
5
  client_session_id: z.ZodString;
6
+ event_id: z.ZodString;
6
7
  occurred_at: z.ZodString;
7
8
  event_type: z.ZodLiteral<"client_session.deleted">;
8
9
  }, "strip", z.ZodTypeAny, {
9
10
  created_at: string;
10
11
  workspace_id: string;
11
12
  client_session_id: string;
13
+ event_id: string;
12
14
  occurred_at: string;
13
15
  event_type: "client_session.deleted";
14
16
  }, {
15
17
  created_at: string;
16
18
  workspace_id: string;
17
19
  client_session_id: string;
20
+ event_id: string;
18
21
  occurred_at: string;
19
22
  event_type: "client_session.deleted";
20
23
  }>;
@@ -23,18 +26,21 @@ export declare const client_session_events: readonly [z.ZodObject<{
23
26
  created_at: z.ZodString;
24
27
  workspace_id: z.ZodString;
25
28
  client_session_id: z.ZodString;
29
+ event_id: z.ZodString;
26
30
  occurred_at: z.ZodString;
27
31
  event_type: z.ZodLiteral<"client_session.deleted">;
28
32
  }, "strip", z.ZodTypeAny, {
29
33
  created_at: string;
30
34
  workspace_id: string;
31
35
  client_session_id: string;
36
+ event_id: string;
32
37
  occurred_at: string;
33
38
  event_type: "client_session.deleted";
34
39
  }, {
35
40
  created_at: string;
36
41
  workspace_id: string;
37
42
  client_session_id: string;
43
+ event_id: string;
38
44
  occurred_at: string;
39
45
  event_type: "client_session.deleted";
40
46
  }>];
@@ -1,14 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  export declare const common_event: z.ZodObject<{
3
+ event_id: z.ZodString;
3
4
  workspace_id: z.ZodString;
4
5
  created_at: z.ZodString;
5
6
  occurred_at: z.ZodString;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  created_at: string;
8
9
  workspace_id: string;
10
+ event_id: string;
9
11
  occurred_at: string;
10
12
  }, {
11
13
  created_at: string;
12
14
  workspace_id: string;
15
+ event_id: string;
13
16
  occurred_at: string;
14
17
  }>;
@@ -1,5 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  export const common_event = z.object({
3
+ event_id: z.string().uuid().describe(`
4
+ ---
5
+ title: Event ID
6
+ ---
7
+ The ID of the event.
8
+ `),
3
9
  workspace_id: z.string().uuid().describe(`
4
10
  ---
5
11
  title: Workspace ID
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKxC,CAAC;IACF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;GAK1C,CAAC;IACF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;GAK3C,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKpC,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKxC,CAAC;IACF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;GAK1C,CAAC;IACF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;GAK3C,CAAC;CACH,CAAC,CAAA"}
@@ -3,6 +3,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
3
3
  created_at: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
5
  connected_account_id: z.ZodString;
6
+ event_id: z.ZodString;
6
7
  occurred_at: z.ZodString;
7
8
  event_type: z.ZodLiteral<"connected_account.connected">;
8
9
  connect_webview_id: z.ZodString;
@@ -11,6 +12,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
11
12
  workspace_id: string;
12
13
  connect_webview_id: string;
13
14
  connected_account_id: string;
15
+ event_id: string;
14
16
  occurred_at: string;
15
17
  event_type: "connected_account.connected";
16
18
  }, {
@@ -18,6 +20,7 @@ export declare const connected_account_connected_event: z.ZodObject<{
18
20
  workspace_id: string;
19
21
  connect_webview_id: string;
20
22
  connected_account_id: string;
23
+ event_id: string;
21
24
  occurred_at: string;
22
25
  event_type: "connected_account.connected";
23
26
  }>;
@@ -26,6 +29,7 @@ export declare const connected_account_created_event: z.ZodObject<{
26
29
  created_at: z.ZodString;
27
30
  workspace_id: z.ZodString;
28
31
  connected_account_id: z.ZodString;
32
+ event_id: z.ZodString;
29
33
  occurred_at: z.ZodString;
30
34
  event_type: z.ZodLiteral<"connected_account.created">;
31
35
  connect_webview_id: z.ZodString;
@@ -34,6 +38,7 @@ export declare const connected_account_created_event: z.ZodObject<{
34
38
  workspace_id: string;
35
39
  connect_webview_id: string;
36
40
  connected_account_id: string;
41
+ event_id: string;
37
42
  occurred_at: string;
38
43
  event_type: "connected_account.created";
39
44
  }, {
@@ -41,6 +46,7 @@ export declare const connected_account_created_event: z.ZodObject<{
41
46
  workspace_id: string;
42
47
  connect_webview_id: string;
43
48
  connected_account_id: string;
49
+ event_id: string;
44
50
  occurred_at: string;
45
51
  event_type: "connected_account.created";
46
52
  }>;
@@ -49,6 +55,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
49
55
  created_at: z.ZodString;
50
56
  workspace_id: z.ZodString;
51
57
  connected_account_id: z.ZodString;
58
+ event_id: z.ZodString;
52
59
  occurred_at: z.ZodString;
53
60
  event_type: z.ZodLiteral<"connected_account.successful_login">;
54
61
  connect_webview_id: z.ZodString;
@@ -57,6 +64,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
57
64
  workspace_id: string;
58
65
  connect_webview_id: string;
59
66
  connected_account_id: string;
67
+ event_id: string;
60
68
  occurred_at: string;
61
69
  event_type: "connected_account.successful_login";
62
70
  }, {
@@ -64,6 +72,7 @@ export declare const connected_account_successful_login_event: z.ZodObject<{
64
72
  workspace_id: string;
65
73
  connect_webview_id: string;
66
74
  connected_account_id: string;
75
+ event_id: string;
67
76
  occurred_at: string;
68
77
  event_type: "connected_account.successful_login";
69
78
  }>;
@@ -72,18 +81,21 @@ export declare const connected_account_disconnected_event: z.ZodObject<{
72
81
  created_at: z.ZodString;
73
82
  workspace_id: z.ZodString;
74
83
  connected_account_id: z.ZodString;
84
+ event_id: z.ZodString;
75
85
  occurred_at: z.ZodString;
76
86
  event_type: z.ZodLiteral<"connected_account.disconnected">;
77
87
  }, "strip", z.ZodTypeAny, {
78
88
  created_at: string;
79
89
  workspace_id: string;
80
90
  connected_account_id: string;
91
+ event_id: string;
81
92
  occurred_at: string;
82
93
  event_type: "connected_account.disconnected";
83
94
  }, {
84
95
  created_at: string;
85
96
  workspace_id: string;
86
97
  connected_account_id: string;
98
+ event_id: string;
87
99
  occurred_at: string;
88
100
  event_type: "connected_account.disconnected";
89
101
  }>;
@@ -92,18 +104,21 @@ export declare const connected_account_completed_first_sync_event: z.ZodObject<{
92
104
  created_at: z.ZodString;
93
105
  workspace_id: z.ZodString;
94
106
  connected_account_id: z.ZodString;
107
+ event_id: z.ZodString;
95
108
  occurred_at: z.ZodString;
96
109
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
97
110
  }, "strip", z.ZodTypeAny, {
98
111
  created_at: string;
99
112
  workspace_id: string;
100
113
  connected_account_id: string;
114
+ event_id: string;
101
115
  occurred_at: string;
102
116
  event_type: "connected_account.completed_first_sync";
103
117
  }, {
104
118
  created_at: string;
105
119
  workspace_id: string;
106
120
  connected_account_id: string;
121
+ event_id: string;
107
122
  occurred_at: string;
108
123
  event_type: "connected_account.completed_first_sync";
109
124
  }>;
@@ -112,18 +127,21 @@ export declare const connected_account_deleted_event: z.ZodObject<{
112
127
  created_at: z.ZodString;
113
128
  workspace_id: z.ZodString;
114
129
  connected_account_id: z.ZodString;
130
+ event_id: z.ZodString;
115
131
  occurred_at: z.ZodString;
116
132
  event_type: z.ZodLiteral<"connected_account.deleted">;
117
133
  }, "strip", z.ZodTypeAny, {
118
134
  created_at: string;
119
135
  workspace_id: string;
120
136
  connected_account_id: string;
137
+ event_id: string;
121
138
  occurred_at: string;
122
139
  event_type: "connected_account.deleted";
123
140
  }, {
124
141
  created_at: string;
125
142
  workspace_id: string;
126
143
  connected_account_id: string;
144
+ event_id: string;
127
145
  occurred_at: string;
128
146
  event_type: "connected_account.deleted";
129
147
  }>;
@@ -132,18 +150,21 @@ export declare const connected_account_completed_first_sync_after_reconnection_e
132
150
  created_at: z.ZodString;
133
151
  workspace_id: z.ZodString;
134
152
  connected_account_id: z.ZodString;
153
+ event_id: z.ZodString;
135
154
  occurred_at: z.ZodString;
136
155
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
137
156
  }, "strip", z.ZodTypeAny, {
138
157
  created_at: string;
139
158
  workspace_id: string;
140
159
  connected_account_id: string;
160
+ event_id: string;
141
161
  occurred_at: string;
142
162
  event_type: "connected_account.completed_first_sync_after_reconnection";
143
163
  }, {
144
164
  created_at: string;
145
165
  workspace_id: string;
146
166
  connected_account_id: string;
167
+ event_id: string;
147
168
  occurred_at: string;
148
169
  event_type: "connected_account.completed_first_sync_after_reconnection";
149
170
  }>;
@@ -152,6 +173,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
152
173
  created_at: z.ZodString;
153
174
  workspace_id: z.ZodString;
154
175
  connected_account_id: z.ZodString;
176
+ event_id: z.ZodString;
155
177
  occurred_at: z.ZodString;
156
178
  event_type: z.ZodLiteral<"connected_account.connected">;
157
179
  connect_webview_id: z.ZodString;
@@ -160,6 +182,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
160
182
  workspace_id: string;
161
183
  connect_webview_id: string;
162
184
  connected_account_id: string;
185
+ event_id: string;
163
186
  occurred_at: string;
164
187
  event_type: "connected_account.connected";
165
188
  }, {
@@ -167,12 +190,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
167
190
  workspace_id: string;
168
191
  connect_webview_id: string;
169
192
  connected_account_id: string;
193
+ event_id: string;
170
194
  occurred_at: string;
171
195
  event_type: "connected_account.connected";
172
196
  }>, z.ZodObject<{
173
197
  created_at: z.ZodString;
174
198
  workspace_id: z.ZodString;
175
199
  connected_account_id: z.ZodString;
200
+ event_id: z.ZodString;
176
201
  occurred_at: z.ZodString;
177
202
  event_type: z.ZodLiteral<"connected_account.created">;
178
203
  connect_webview_id: z.ZodString;
@@ -181,6 +206,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
181
206
  workspace_id: string;
182
207
  connect_webview_id: string;
183
208
  connected_account_id: string;
209
+ event_id: string;
184
210
  occurred_at: string;
185
211
  event_type: "connected_account.created";
186
212
  }, {
@@ -188,12 +214,14 @@ export declare const connected_account_events: readonly [z.ZodObject<{
188
214
  workspace_id: string;
189
215
  connect_webview_id: string;
190
216
  connected_account_id: string;
217
+ event_id: string;
191
218
  occurred_at: string;
192
219
  event_type: "connected_account.created";
193
220
  }>, z.ZodObject<{
194
221
  created_at: z.ZodString;
195
222
  workspace_id: z.ZodString;
196
223
  connected_account_id: z.ZodString;
224
+ event_id: z.ZodString;
197
225
  occurred_at: z.ZodString;
198
226
  event_type: z.ZodLiteral<"connected_account.successful_login">;
199
227
  connect_webview_id: z.ZodString;
@@ -202,6 +230,7 @@ export declare const connected_account_events: readonly [z.ZodObject<{
202
230
  workspace_id: string;
203
231
  connect_webview_id: string;
204
232
  connected_account_id: string;
233
+ event_id: string;
205
234
  occurred_at: string;
206
235
  event_type: "connected_account.successful_login";
207
236
  }, {
@@ -209,78 +238,91 @@ export declare const connected_account_events: readonly [z.ZodObject<{
209
238
  workspace_id: string;
210
239
  connect_webview_id: string;
211
240
  connected_account_id: string;
241
+ event_id: string;
212
242
  occurred_at: string;
213
243
  event_type: "connected_account.successful_login";
214
244
  }>, z.ZodObject<{
215
245
  created_at: z.ZodString;
216
246
  workspace_id: z.ZodString;
217
247
  connected_account_id: z.ZodString;
248
+ event_id: z.ZodString;
218
249
  occurred_at: z.ZodString;
219
250
  event_type: z.ZodLiteral<"connected_account.disconnected">;
220
251
  }, "strip", z.ZodTypeAny, {
221
252
  created_at: string;
222
253
  workspace_id: string;
223
254
  connected_account_id: string;
255
+ event_id: string;
224
256
  occurred_at: string;
225
257
  event_type: "connected_account.disconnected";
226
258
  }, {
227
259
  created_at: string;
228
260
  workspace_id: string;
229
261
  connected_account_id: string;
262
+ event_id: string;
230
263
  occurred_at: string;
231
264
  event_type: "connected_account.disconnected";
232
265
  }>, z.ZodObject<{
233
266
  created_at: z.ZodString;
234
267
  workspace_id: z.ZodString;
235
268
  connected_account_id: z.ZodString;
269
+ event_id: z.ZodString;
236
270
  occurred_at: z.ZodString;
237
271
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
238
272
  }, "strip", z.ZodTypeAny, {
239
273
  created_at: string;
240
274
  workspace_id: string;
241
275
  connected_account_id: string;
276
+ event_id: string;
242
277
  occurred_at: string;
243
278
  event_type: "connected_account.completed_first_sync";
244
279
  }, {
245
280
  created_at: string;
246
281
  workspace_id: string;
247
282
  connected_account_id: string;
283
+ event_id: string;
248
284
  occurred_at: string;
249
285
  event_type: "connected_account.completed_first_sync";
250
286
  }>, z.ZodObject<{
251
287
  created_at: z.ZodString;
252
288
  workspace_id: z.ZodString;
253
289
  connected_account_id: z.ZodString;
290
+ event_id: z.ZodString;
254
291
  occurred_at: z.ZodString;
255
292
  event_type: z.ZodLiteral<"connected_account.deleted">;
256
293
  }, "strip", z.ZodTypeAny, {
257
294
  created_at: string;
258
295
  workspace_id: string;
259
296
  connected_account_id: string;
297
+ event_id: string;
260
298
  occurred_at: string;
261
299
  event_type: "connected_account.deleted";
262
300
  }, {
263
301
  created_at: string;
264
302
  workspace_id: string;
265
303
  connected_account_id: string;
304
+ event_id: string;
266
305
  occurred_at: string;
267
306
  event_type: "connected_account.deleted";
268
307
  }>, z.ZodObject<{
269
308
  created_at: z.ZodString;
270
309
  workspace_id: z.ZodString;
271
310
  connected_account_id: z.ZodString;
311
+ event_id: z.ZodString;
272
312
  occurred_at: z.ZodString;
273
313
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
274
314
  }, "strip", z.ZodTypeAny, {
275
315
  created_at: string;
276
316
  workspace_id: string;
277
317
  connected_account_id: string;
318
+ event_id: string;
278
319
  occurred_at: string;
279
320
  event_type: "connected_account.completed_first_sync_after_reconnection";
280
321
  }, {
281
322
  created_at: string;
282
323
  workspace_id: string;
283
324
  connected_account_id: string;
325
+ event_id: string;
284
326
  occurred_at: string;
285
327
  event_type: "connected_account.completed_first_sync_after_reconnection";
286
328
  }>];