@seamapi/types 1.442.0 → 1.443.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +86 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1914 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +86 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +35 -0
- package/lib/seam/connect/openapi.js +82 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +92 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_encoder_added_event: z.ZodObject<
|
|
2
|
+
export declare const acs_encoder_added_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
acs_encoder_id: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
14
|
-
}
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
acs_system_id: string;
|
|
@@ -31,19 +31,19 @@ export declare const acs_encoder_added_event: z.ZodObject<z.objectUtil.extendSha
|
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsEncoderAddedEvent = z.infer<typeof acs_encoder_added_event>;
|
|
34
|
-
export declare const acs_encoder_removed_event: z.ZodObject<
|
|
34
|
+
export declare const acs_encoder_removed_event: z.ZodObject<{
|
|
35
35
|
event_id: z.ZodString;
|
|
36
36
|
workspace_id: z.ZodString;
|
|
37
37
|
created_at: z.ZodString;
|
|
38
38
|
occurred_at: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
41
|
acs_system_id: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
} & {
|
|
43
43
|
acs_encoder_id: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
46
|
-
}
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
workspace_id: string;
|
|
48
48
|
created_at: string;
|
|
49
49
|
acs_system_id: string;
|
|
@@ -63,19 +63,19 @@ export declare const acs_encoder_removed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
63
63
|
connected_account_id?: string | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
export type AcsEncoderRemovedEvent = z.infer<typeof acs_encoder_removed_event>;
|
|
66
|
-
export declare const acs_encoder_events: readonly [z.ZodObject<
|
|
66
|
+
export declare const acs_encoder_events: readonly [z.ZodObject<{
|
|
67
67
|
event_id: z.ZodString;
|
|
68
68
|
workspace_id: z.ZodString;
|
|
69
69
|
created_at: z.ZodString;
|
|
70
70
|
occurred_at: z.ZodString;
|
|
71
|
-
}
|
|
71
|
+
} & {
|
|
72
72
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
73
73
|
acs_system_id: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
acs_encoder_id: z.ZodString;
|
|
76
|
-
}
|
|
76
|
+
} & {
|
|
77
77
|
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
78
|
-
}
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
workspace_id: string;
|
|
80
80
|
created_at: string;
|
|
81
81
|
acs_system_id: string;
|
|
@@ -93,19 +93,19 @@ export declare const acs_encoder_events: readonly [z.ZodObject<z.objectUtil.exte
|
|
|
93
93
|
occurred_at: string;
|
|
94
94
|
event_type: "acs_encoder.added";
|
|
95
95
|
connected_account_id?: string | undefined;
|
|
96
|
-
}>, z.ZodObject<
|
|
96
|
+
}>, z.ZodObject<{
|
|
97
97
|
event_id: z.ZodString;
|
|
98
98
|
workspace_id: z.ZodString;
|
|
99
99
|
created_at: z.ZodString;
|
|
100
100
|
occurred_at: z.ZodString;
|
|
101
|
-
}
|
|
101
|
+
} & {
|
|
102
102
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
103
103
|
acs_system_id: z.ZodString;
|
|
104
|
-
}
|
|
104
|
+
} & {
|
|
105
105
|
acs_encoder_id: z.ZodString;
|
|
106
|
-
}
|
|
106
|
+
} & {
|
|
107
107
|
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
108
|
-
}
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
workspace_id: string;
|
|
110
110
|
created_at: string;
|
|
111
111
|
acs_system_id: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_entrance_added_event: z.ZodObject<
|
|
2
|
+
export declare const acs_entrance_added_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
acs_entrance_id: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_entrance.added">;
|
|
14
|
-
}
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
acs_system_id: string;
|
|
@@ -30,19 +30,19 @@ export declare const acs_entrance_added_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
30
30
|
event_type: "acs_entrance.added";
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const acs_entrance_removed_event: z.ZodObject<
|
|
33
|
+
export declare const acs_entrance_removed_event: z.ZodObject<{
|
|
34
34
|
event_id: z.ZodString;
|
|
35
35
|
workspace_id: z.ZodString;
|
|
36
36
|
created_at: z.ZodString;
|
|
37
37
|
occurred_at: z.ZodString;
|
|
38
|
-
}
|
|
38
|
+
} & {
|
|
39
39
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
40
40
|
acs_system_id: z.ZodString;
|
|
41
|
-
}
|
|
41
|
+
} & {
|
|
42
42
|
acs_entrance_id: z.ZodString;
|
|
43
|
-
}
|
|
43
|
+
} & {
|
|
44
44
|
event_type: z.ZodLiteral<"acs_entrance.removed">;
|
|
45
|
-
}
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
workspace_id: string;
|
|
47
47
|
created_at: string;
|
|
48
48
|
acs_system_id: string;
|
|
@@ -62,19 +62,19 @@ export declare const acs_entrance_removed_event: z.ZodObject<z.objectUtil.extend
|
|
|
62
62
|
connected_account_id?: string | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
export type AcsUserDeletedEvent = z.infer<typeof acs_entrance_removed_event>;
|
|
65
|
-
export declare const acs_entrance_events: readonly [z.ZodObject<
|
|
65
|
+
export declare const acs_entrance_events: readonly [z.ZodObject<{
|
|
66
66
|
event_id: z.ZodString;
|
|
67
67
|
workspace_id: z.ZodString;
|
|
68
68
|
created_at: z.ZodString;
|
|
69
69
|
occurred_at: z.ZodString;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
72
72
|
acs_system_id: z.ZodString;
|
|
73
|
-
}
|
|
73
|
+
} & {
|
|
74
74
|
acs_entrance_id: z.ZodString;
|
|
75
|
-
}
|
|
75
|
+
} & {
|
|
76
76
|
event_type: z.ZodLiteral<"acs_entrance.added">;
|
|
77
|
-
}
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
workspace_id: string;
|
|
79
79
|
created_at: string;
|
|
80
80
|
acs_system_id: string;
|
|
@@ -92,19 +92,19 @@ export declare const acs_entrance_events: readonly [z.ZodObject<z.objectUtil.ext
|
|
|
92
92
|
occurred_at: string;
|
|
93
93
|
event_type: "acs_entrance.added";
|
|
94
94
|
connected_account_id?: string | undefined;
|
|
95
|
-
}>, z.ZodObject<
|
|
95
|
+
}>, z.ZodObject<{
|
|
96
96
|
event_id: z.ZodString;
|
|
97
97
|
workspace_id: z.ZodString;
|
|
98
98
|
created_at: z.ZodString;
|
|
99
99
|
occurred_at: z.ZodString;
|
|
100
|
-
}
|
|
100
|
+
} & {
|
|
101
101
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
102
102
|
acs_system_id: z.ZodString;
|
|
103
|
-
}
|
|
103
|
+
} & {
|
|
104
104
|
acs_entrance_id: z.ZodString;
|
|
105
|
-
}
|
|
105
|
+
} & {
|
|
106
106
|
event_type: z.ZodLiteral<"acs_entrance.removed">;
|
|
107
|
-
}
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
workspace_id: string;
|
|
109
109
|
created_at: string;
|
|
110
110
|
acs_system_id: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const acs_events: readonly [import("zod").ZodObject<
|
|
1
|
+
export declare const acs_events: readonly [import("zod").ZodObject<{
|
|
2
2
|
event_id: import("zod").ZodString;
|
|
3
3
|
workspace_id: import("zod").ZodString;
|
|
4
4
|
created_at: import("zod").ZodString;
|
|
5
5
|
occurred_at: import("zod").ZodString;
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
7
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
8
|
acs_system_id: import("zod").ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
event_type: import("zod").ZodLiteral<"acs_system.connected">;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
12
|
workspace_id: string;
|
|
13
13
|
created_at: string;
|
|
14
14
|
acs_system_id: string;
|
|
@@ -24,17 +24,17 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
24
24
|
occurred_at: string;
|
|
25
25
|
event_type: "acs_system.connected";
|
|
26
26
|
connected_account_id?: string | undefined;
|
|
27
|
-
}>, import("zod").ZodObject<
|
|
27
|
+
}>, import("zod").ZodObject<{
|
|
28
28
|
event_id: import("zod").ZodString;
|
|
29
29
|
workspace_id: import("zod").ZodString;
|
|
30
30
|
created_at: import("zod").ZodString;
|
|
31
31
|
occurred_at: import("zod").ZodString;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
34
|
acs_system_id: import("zod").ZodString;
|
|
35
|
-
}
|
|
35
|
+
} & {
|
|
36
36
|
event_type: import("zod").ZodLiteral<"acs_system.added">;
|
|
37
|
-
}
|
|
37
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
38
38
|
workspace_id: string;
|
|
39
39
|
created_at: string;
|
|
40
40
|
acs_system_id: string;
|
|
@@ -50,17 +50,17 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
50
50
|
occurred_at: string;
|
|
51
51
|
event_type: "acs_system.added";
|
|
52
52
|
connected_account_id?: string | undefined;
|
|
53
|
-
}>, import("zod").ZodObject<
|
|
53
|
+
}>, import("zod").ZodObject<{
|
|
54
54
|
event_id: import("zod").ZodString;
|
|
55
55
|
workspace_id: import("zod").ZodString;
|
|
56
56
|
created_at: import("zod").ZodString;
|
|
57
57
|
occurred_at: import("zod").ZodString;
|
|
58
|
-
}
|
|
58
|
+
} & {
|
|
59
59
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
60
|
acs_system_id: import("zod").ZodString;
|
|
61
|
-
}
|
|
61
|
+
} & {
|
|
62
62
|
event_type: import("zod").ZodLiteral<"acs_system.disconnected">;
|
|
63
|
-
}
|
|
63
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
64
64
|
workspace_id: string;
|
|
65
65
|
created_at: string;
|
|
66
66
|
acs_system_id: string;
|
|
@@ -76,19 +76,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
76
76
|
occurred_at: string;
|
|
77
77
|
event_type: "acs_system.disconnected";
|
|
78
78
|
connected_account_id?: string | undefined;
|
|
79
|
-
}>, import("zod").ZodObject<
|
|
79
|
+
}>, import("zod").ZodObject<{
|
|
80
80
|
event_id: import("zod").ZodString;
|
|
81
81
|
workspace_id: import("zod").ZodString;
|
|
82
82
|
created_at: import("zod").ZodString;
|
|
83
83
|
occurred_at: import("zod").ZodString;
|
|
84
|
-
}
|
|
84
|
+
} & {
|
|
85
85
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
86
|
acs_system_id: import("zod").ZodString;
|
|
87
|
-
}
|
|
87
|
+
} & {
|
|
88
88
|
acs_credential_id: import("zod").ZodString;
|
|
89
|
-
}
|
|
89
|
+
} & {
|
|
90
90
|
event_type: import("zod").ZodLiteral<"acs_credential.deleted">;
|
|
91
|
-
}
|
|
91
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
92
92
|
workspace_id: string;
|
|
93
93
|
created_at: string;
|
|
94
94
|
acs_system_id: string;
|
|
@@ -106,19 +106,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
106
106
|
occurred_at: string;
|
|
107
107
|
event_type: "acs_credential.deleted";
|
|
108
108
|
connected_account_id?: string | undefined;
|
|
109
|
-
}>, import("zod").ZodObject<
|
|
109
|
+
}>, import("zod").ZodObject<{
|
|
110
110
|
event_id: import("zod").ZodString;
|
|
111
111
|
workspace_id: import("zod").ZodString;
|
|
112
112
|
created_at: import("zod").ZodString;
|
|
113
113
|
occurred_at: import("zod").ZodString;
|
|
114
|
-
}
|
|
114
|
+
} & {
|
|
115
115
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
116
116
|
acs_system_id: import("zod").ZodString;
|
|
117
|
-
}
|
|
117
|
+
} & {
|
|
118
118
|
acs_credential_id: import("zod").ZodString;
|
|
119
|
-
}
|
|
119
|
+
} & {
|
|
120
120
|
event_type: import("zod").ZodLiteral<"acs_credential.issued">;
|
|
121
|
-
}
|
|
121
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
122
122
|
workspace_id: string;
|
|
123
123
|
created_at: string;
|
|
124
124
|
acs_system_id: string;
|
|
@@ -136,19 +136,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
136
136
|
occurred_at: string;
|
|
137
137
|
event_type: "acs_credential.issued";
|
|
138
138
|
connected_account_id?: string | undefined;
|
|
139
|
-
}>, import("zod").ZodObject<
|
|
139
|
+
}>, import("zod").ZodObject<{
|
|
140
140
|
event_id: import("zod").ZodString;
|
|
141
141
|
workspace_id: import("zod").ZodString;
|
|
142
142
|
created_at: import("zod").ZodString;
|
|
143
143
|
occurred_at: import("zod").ZodString;
|
|
144
|
-
}
|
|
144
|
+
} & {
|
|
145
145
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
146
146
|
acs_system_id: import("zod").ZodString;
|
|
147
|
-
}
|
|
147
|
+
} & {
|
|
148
148
|
acs_credential_id: import("zod").ZodString;
|
|
149
|
-
}
|
|
149
|
+
} & {
|
|
150
150
|
event_type: import("zod").ZodLiteral<"acs_credential.reissued">;
|
|
151
|
-
}
|
|
151
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
152
152
|
workspace_id: string;
|
|
153
153
|
created_at: string;
|
|
154
154
|
acs_system_id: string;
|
|
@@ -166,19 +166,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
166
166
|
occurred_at: string;
|
|
167
167
|
event_type: "acs_credential.reissued";
|
|
168
168
|
connected_account_id?: string | undefined;
|
|
169
|
-
}>, import("zod").ZodObject<
|
|
169
|
+
}>, import("zod").ZodObject<{
|
|
170
170
|
event_id: import("zod").ZodString;
|
|
171
171
|
workspace_id: import("zod").ZodString;
|
|
172
172
|
created_at: import("zod").ZodString;
|
|
173
173
|
occurred_at: import("zod").ZodString;
|
|
174
|
-
}
|
|
174
|
+
} & {
|
|
175
175
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
176
176
|
acs_system_id: import("zod").ZodString;
|
|
177
|
-
}
|
|
177
|
+
} & {
|
|
178
178
|
acs_credential_id: import("zod").ZodString;
|
|
179
|
-
}
|
|
179
|
+
} & {
|
|
180
180
|
event_type: import("zod").ZodLiteral<"acs_credential.invalidated">;
|
|
181
|
-
}
|
|
181
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
182
182
|
workspace_id: string;
|
|
183
183
|
created_at: string;
|
|
184
184
|
acs_system_id: string;
|
|
@@ -196,19 +196,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
196
196
|
occurred_at: string;
|
|
197
197
|
event_type: "acs_credential.invalidated";
|
|
198
198
|
connected_account_id?: string | undefined;
|
|
199
|
-
}>, import("zod").ZodObject<
|
|
199
|
+
}>, import("zod").ZodObject<{
|
|
200
200
|
event_id: import("zod").ZodString;
|
|
201
201
|
workspace_id: import("zod").ZodString;
|
|
202
202
|
created_at: import("zod").ZodString;
|
|
203
203
|
occurred_at: import("zod").ZodString;
|
|
204
|
-
}
|
|
204
|
+
} & {
|
|
205
205
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
206
206
|
acs_system_id: import("zod").ZodString;
|
|
207
|
-
}
|
|
207
|
+
} & {
|
|
208
208
|
acs_user_id: import("zod").ZodString;
|
|
209
|
-
}
|
|
209
|
+
} & {
|
|
210
210
|
event_type: import("zod").ZodLiteral<"acs_user.created">;
|
|
211
|
-
}
|
|
211
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
212
212
|
workspace_id: string;
|
|
213
213
|
created_at: string;
|
|
214
214
|
acs_system_id: string;
|
|
@@ -226,19 +226,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
226
226
|
occurred_at: string;
|
|
227
227
|
event_type: "acs_user.created";
|
|
228
228
|
connected_account_id?: string | undefined;
|
|
229
|
-
}>, import("zod").ZodObject<
|
|
229
|
+
}>, import("zod").ZodObject<{
|
|
230
230
|
event_id: import("zod").ZodString;
|
|
231
231
|
workspace_id: import("zod").ZodString;
|
|
232
232
|
created_at: import("zod").ZodString;
|
|
233
233
|
occurred_at: import("zod").ZodString;
|
|
234
|
-
}
|
|
234
|
+
} & {
|
|
235
235
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
236
236
|
acs_system_id: import("zod").ZodString;
|
|
237
|
-
}
|
|
237
|
+
} & {
|
|
238
238
|
acs_user_id: import("zod").ZodString;
|
|
239
|
-
}
|
|
239
|
+
} & {
|
|
240
240
|
event_type: import("zod").ZodLiteral<"acs_user.deleted">;
|
|
241
|
-
}
|
|
241
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
242
242
|
workspace_id: string;
|
|
243
243
|
created_at: string;
|
|
244
244
|
acs_system_id: string;
|
|
@@ -256,19 +256,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
256
256
|
occurred_at: string;
|
|
257
257
|
event_type: "acs_user.deleted";
|
|
258
258
|
connected_account_id?: string | undefined;
|
|
259
|
-
}>, import("zod").ZodObject<
|
|
259
|
+
}>, import("zod").ZodObject<{
|
|
260
260
|
event_id: import("zod").ZodString;
|
|
261
261
|
workspace_id: import("zod").ZodString;
|
|
262
262
|
created_at: import("zod").ZodString;
|
|
263
263
|
occurred_at: import("zod").ZodString;
|
|
264
|
-
}
|
|
264
|
+
} & {
|
|
265
265
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
266
266
|
acs_system_id: import("zod").ZodString;
|
|
267
|
-
}
|
|
267
|
+
} & {
|
|
268
268
|
acs_encoder_id: import("zod").ZodString;
|
|
269
|
-
}
|
|
269
|
+
} & {
|
|
270
270
|
event_type: import("zod").ZodLiteral<"acs_encoder.added">;
|
|
271
|
-
}
|
|
271
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
272
272
|
workspace_id: string;
|
|
273
273
|
created_at: string;
|
|
274
274
|
acs_system_id: string;
|
|
@@ -286,19 +286,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
286
286
|
occurred_at: string;
|
|
287
287
|
event_type: "acs_encoder.added";
|
|
288
288
|
connected_account_id?: string | undefined;
|
|
289
|
-
}>, import("zod").ZodObject<
|
|
289
|
+
}>, import("zod").ZodObject<{
|
|
290
290
|
event_id: import("zod").ZodString;
|
|
291
291
|
workspace_id: import("zod").ZodString;
|
|
292
292
|
created_at: import("zod").ZodString;
|
|
293
293
|
occurred_at: import("zod").ZodString;
|
|
294
|
-
}
|
|
294
|
+
} & {
|
|
295
295
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
296
296
|
acs_system_id: import("zod").ZodString;
|
|
297
|
-
}
|
|
297
|
+
} & {
|
|
298
298
|
acs_encoder_id: import("zod").ZodString;
|
|
299
|
-
}
|
|
299
|
+
} & {
|
|
300
300
|
event_type: import("zod").ZodLiteral<"acs_encoder.removed">;
|
|
301
|
-
}
|
|
301
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
302
302
|
workspace_id: string;
|
|
303
303
|
created_at: string;
|
|
304
304
|
acs_system_id: string;
|
|
@@ -316,19 +316,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
316
316
|
occurred_at: string;
|
|
317
317
|
event_type: "acs_encoder.removed";
|
|
318
318
|
connected_account_id?: string | undefined;
|
|
319
|
-
}>, import("zod").ZodObject<
|
|
319
|
+
}>, import("zod").ZodObject<{
|
|
320
320
|
event_id: import("zod").ZodString;
|
|
321
321
|
workspace_id: import("zod").ZodString;
|
|
322
322
|
created_at: import("zod").ZodString;
|
|
323
323
|
occurred_at: import("zod").ZodString;
|
|
324
|
-
}
|
|
324
|
+
} & {
|
|
325
325
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
326
326
|
acs_system_id: import("zod").ZodString;
|
|
327
|
-
}
|
|
327
|
+
} & {
|
|
328
328
|
acs_access_group_id: import("zod").ZodString;
|
|
329
|
-
}
|
|
329
|
+
} & {
|
|
330
330
|
event_type: import("zod").ZodLiteral<"acs_access_group.deleted">;
|
|
331
|
-
}
|
|
331
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
332
332
|
workspace_id: string;
|
|
333
333
|
created_at: string;
|
|
334
334
|
acs_access_group_id: string;
|
|
@@ -346,19 +346,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
346
346
|
occurred_at: string;
|
|
347
347
|
event_type: "acs_access_group.deleted";
|
|
348
348
|
connected_account_id?: string | undefined;
|
|
349
|
-
}>, import("zod").ZodObject<
|
|
349
|
+
}>, import("zod").ZodObject<{
|
|
350
350
|
event_id: import("zod").ZodString;
|
|
351
351
|
workspace_id: import("zod").ZodString;
|
|
352
352
|
created_at: import("zod").ZodString;
|
|
353
353
|
occurred_at: import("zod").ZodString;
|
|
354
|
-
}
|
|
354
|
+
} & {
|
|
355
355
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
356
356
|
acs_system_id: import("zod").ZodString;
|
|
357
|
-
}
|
|
357
|
+
} & {
|
|
358
358
|
acs_entrance_id: import("zod").ZodString;
|
|
359
|
-
}
|
|
359
|
+
} & {
|
|
360
360
|
event_type: import("zod").ZodLiteral<"acs_entrance.added">;
|
|
361
|
-
}
|
|
361
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
362
362
|
workspace_id: string;
|
|
363
363
|
created_at: string;
|
|
364
364
|
acs_system_id: string;
|
|
@@ -376,19 +376,19 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
376
376
|
occurred_at: string;
|
|
377
377
|
event_type: "acs_entrance.added";
|
|
378
378
|
connected_account_id?: string | undefined;
|
|
379
|
-
}>, import("zod").ZodObject<
|
|
379
|
+
}>, import("zod").ZodObject<{
|
|
380
380
|
event_id: import("zod").ZodString;
|
|
381
381
|
workspace_id: import("zod").ZodString;
|
|
382
382
|
created_at: import("zod").ZodString;
|
|
383
383
|
occurred_at: import("zod").ZodString;
|
|
384
|
-
}
|
|
384
|
+
} & {
|
|
385
385
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
386
386
|
acs_system_id: import("zod").ZodString;
|
|
387
|
-
}
|
|
387
|
+
} & {
|
|
388
388
|
acs_entrance_id: import("zod").ZodString;
|
|
389
|
-
}
|
|
389
|
+
} & {
|
|
390
390
|
event_type: import("zod").ZodLiteral<"acs_entrance.removed">;
|
|
391
|
-
}
|
|
391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
392
392
|
workspace_id: string;
|
|
393
393
|
created_at: string;
|
|
394
394
|
acs_system_id: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_system_connected_event: z.ZodObject<
|
|
2
|
+
export declare const acs_system_connected_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
12
|
-
}
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
workspace_id: string;
|
|
14
14
|
created_at: string;
|
|
15
15
|
acs_system_id: string;
|
|
@@ -27,17 +27,17 @@ export declare const acs_system_connected_event: z.ZodObject<z.objectUtil.extend
|
|
|
27
27
|
connected_account_id?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export type AcsSystemConnectedEvent = z.infer<typeof acs_system_connected_event>;
|
|
30
|
-
export declare const acs_system_disconnected_event: z.ZodObject<
|
|
30
|
+
export declare const acs_system_disconnected_event: z.ZodObject<{
|
|
31
31
|
event_id: z.ZodString;
|
|
32
32
|
workspace_id: z.ZodString;
|
|
33
33
|
created_at: z.ZodString;
|
|
34
34
|
occurred_at: z.ZodString;
|
|
35
|
-
}
|
|
35
|
+
} & {
|
|
36
36
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
37
37
|
acs_system_id: z.ZodString;
|
|
38
|
-
}
|
|
38
|
+
} & {
|
|
39
39
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
40
|
-
}
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
workspace_id: string;
|
|
42
42
|
created_at: string;
|
|
43
43
|
acs_system_id: string;
|
|
@@ -55,17 +55,17 @@ export declare const acs_system_disconnected_event: z.ZodObject<z.objectUtil.ext
|
|
|
55
55
|
connected_account_id?: string | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export type AcsSystemDisconnectedEvent = z.infer<typeof acs_system_disconnected_event>;
|
|
58
|
-
export declare const acs_system_added_event: z.ZodObject<
|
|
58
|
+
export declare const acs_system_added_event: z.ZodObject<{
|
|
59
59
|
event_id: z.ZodString;
|
|
60
60
|
workspace_id: z.ZodString;
|
|
61
61
|
created_at: z.ZodString;
|
|
62
62
|
occurred_at: z.ZodString;
|
|
63
|
-
}
|
|
63
|
+
} & {
|
|
64
64
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
65
65
|
acs_system_id: z.ZodString;
|
|
66
|
-
}
|
|
66
|
+
} & {
|
|
67
67
|
event_type: z.ZodLiteral<"acs_system.added">;
|
|
68
|
-
}
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
workspace_id: string;
|
|
70
70
|
created_at: string;
|
|
71
71
|
acs_system_id: string;
|
|
@@ -83,17 +83,17 @@ export declare const acs_system_added_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
83
83
|
connected_account_id?: string | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
export type AcsSystemAddedEvent = z.infer<typeof acs_system_added_event>;
|
|
86
|
-
export declare const acs_system_events: readonly [z.ZodObject<
|
|
86
|
+
export declare const acs_system_events: readonly [z.ZodObject<{
|
|
87
87
|
event_id: z.ZodString;
|
|
88
88
|
workspace_id: z.ZodString;
|
|
89
89
|
created_at: z.ZodString;
|
|
90
90
|
occurred_at: z.ZodString;
|
|
91
|
-
}
|
|
91
|
+
} & {
|
|
92
92
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
93
93
|
acs_system_id: z.ZodString;
|
|
94
|
-
}
|
|
94
|
+
} & {
|
|
95
95
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
96
|
-
}
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
workspace_id: string;
|
|
98
98
|
created_at: string;
|
|
99
99
|
acs_system_id: string;
|
|
@@ -109,17 +109,17 @@ export declare const acs_system_events: readonly [z.ZodObject<z.objectUtil.exten
|
|
|
109
109
|
occurred_at: string;
|
|
110
110
|
event_type: "acs_system.connected";
|
|
111
111
|
connected_account_id?: string | undefined;
|
|
112
|
-
}>, z.ZodObject<
|
|
112
|
+
}>, z.ZodObject<{
|
|
113
113
|
event_id: z.ZodString;
|
|
114
114
|
workspace_id: z.ZodString;
|
|
115
115
|
created_at: z.ZodString;
|
|
116
116
|
occurred_at: z.ZodString;
|
|
117
|
-
}
|
|
117
|
+
} & {
|
|
118
118
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
119
119
|
acs_system_id: z.ZodString;
|
|
120
|
-
}
|
|
120
|
+
} & {
|
|
121
121
|
event_type: z.ZodLiteral<"acs_system.added">;
|
|
122
|
-
}
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
workspace_id: string;
|
|
124
124
|
created_at: string;
|
|
125
125
|
acs_system_id: string;
|
|
@@ -135,17 +135,17 @@ export declare const acs_system_events: readonly [z.ZodObject<z.objectUtil.exten
|
|
|
135
135
|
occurred_at: string;
|
|
136
136
|
event_type: "acs_system.added";
|
|
137
137
|
connected_account_id?: string | undefined;
|
|
138
|
-
}>, z.ZodObject<
|
|
138
|
+
}>, z.ZodObject<{
|
|
139
139
|
event_id: z.ZodString;
|
|
140
140
|
workspace_id: z.ZodString;
|
|
141
141
|
created_at: z.ZodString;
|
|
142
142
|
occurred_at: z.ZodString;
|
|
143
|
-
}
|
|
143
|
+
} & {
|
|
144
144
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
145
145
|
acs_system_id: z.ZodString;
|
|
146
|
-
}
|
|
146
|
+
} & {
|
|
147
147
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
148
|
-
}
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
workspace_id: string;
|
|
150
150
|
created_at: string;
|
|
151
151
|
acs_system_id: string;
|