@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.
- package/dist/connect.d.cts +2793 -1343
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
|
@@ -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
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
occurred_at: z.ZodString;
|
|
12
|
+
}>, {
|
|
10
13
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
11
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
38
|
-
occurred_at: z.ZodString;
|
|
44
|
+
}>, {
|
|
39
45
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
40
|
-
}
|
|
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
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
32
|
-
occurred_at: import("zod").ZodString;
|
|
37
|
+
}>, {
|
|
33
38
|
event_type: import("zod").ZodLiteral<"acs_credential.deleted">;
|
|
34
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
59
|
-
occurred_at: import("zod").ZodString;
|
|
67
|
+
}>, {
|
|
60
68
|
event_type: import("zod").ZodLiteral<"acs_user.deleted">;
|
|
61
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
occurred_at: z.ZodString;
|
|
12
|
+
}>, {
|
|
10
13
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
11
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
38
|
-
occurred_at: z.ZodString;
|
|
44
|
+
}>, {
|
|
39
45
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
40
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
+
status: z.ZodString;
|
|
11
|
+
}>, {
|
|
10
12
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
11
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
37
|
-
|
|
40
|
+
status: z.ZodString;
|
|
41
|
+
}>, {
|
|
38
42
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
39
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
342
|
+
}>, "strip", z.ZodTypeAny, {
|
|
315
343
|
connected_account_id: string;
|
|
316
344
|
created_at: string;
|
|
317
345
|
workspace_id: string;
|