@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,9 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
declare const access_code_error: z.ZodObject<{
|
|
2
|
+
declare const access_code_error: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
message: z.ZodString;
|
|
4
4
|
is_access_code_error: z.ZodLiteral<true>;
|
|
5
|
+
}, {
|
|
5
6
|
error_code: z.ZodString;
|
|
6
|
-
}
|
|
7
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7
8
|
message: string;
|
|
8
9
|
error_code: string;
|
|
9
10
|
is_access_code_error: true;
|
|
@@ -13,10 +14,11 @@ declare const access_code_error: z.ZodObject<{
|
|
|
13
14
|
is_access_code_error: true;
|
|
14
15
|
}>;
|
|
15
16
|
export type AccessCodeError = z.infer<typeof access_code_error>;
|
|
16
|
-
declare const access_code_warning: z.ZodObject<{
|
|
17
|
+
declare const access_code_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
17
18
|
message: z.ZodString;
|
|
19
|
+
}, {
|
|
18
20
|
warning_code: z.ZodString;
|
|
19
|
-
}
|
|
21
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20
22
|
message: string;
|
|
21
23
|
warning_code: string;
|
|
22
24
|
}, {
|
|
@@ -34,11 +36,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
34
36
|
name: z.ZodNullable<z.ZodString>;
|
|
35
37
|
code: z.ZodNullable<z.ZodString>;
|
|
36
38
|
created_at: z.ZodString;
|
|
37
|
-
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
39
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
38
40
|
message: z.ZodString;
|
|
39
41
|
is_access_code_error: z.ZodLiteral<true>;
|
|
42
|
+
}, {
|
|
40
43
|
error_code: z.ZodString;
|
|
41
|
-
}
|
|
44
|
+
}>, "strip", z.ZodTypeAny, {
|
|
42
45
|
message: string;
|
|
43
46
|
error_code: string;
|
|
44
47
|
is_access_code_error: true;
|
|
@@ -46,11 +49,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
46
49
|
message: string;
|
|
47
50
|
error_code: string;
|
|
48
51
|
is_access_code_error: true;
|
|
49
|
-
}>, z.ZodObject<{
|
|
52
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
50
53
|
message: z.ZodString;
|
|
51
54
|
is_device_error: z.ZodLiteral<true>;
|
|
55
|
+
}, {
|
|
52
56
|
error_code: z.ZodString;
|
|
53
|
-
}
|
|
57
|
+
}>, "strip", z.ZodTypeAny, {
|
|
54
58
|
message: string;
|
|
55
59
|
error_code: string;
|
|
56
60
|
is_device_error: true;
|
|
@@ -58,11 +62,12 @@ export declare const access_code: z.ZodObject<{
|
|
|
58
62
|
message: string;
|
|
59
63
|
error_code: string;
|
|
60
64
|
is_device_error: true;
|
|
61
|
-
}>, z.ZodObject<{
|
|
65
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
62
66
|
message: z.ZodString;
|
|
63
67
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
68
|
+
}, {
|
|
64
69
|
error_code: z.ZodString;
|
|
65
|
-
}
|
|
70
|
+
}>, "strip", z.ZodTypeAny, {
|
|
66
71
|
message: string;
|
|
67
72
|
is_connected_account_error: true;
|
|
68
73
|
error_code: string;
|
|
@@ -71,10 +76,11 @@ export declare const access_code: z.ZodObject<{
|
|
|
71
76
|
is_connected_account_error: true;
|
|
72
77
|
error_code: string;
|
|
73
78
|
}>]>, "many">;
|
|
74
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
79
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
75
80
|
message: z.ZodString;
|
|
81
|
+
}, {
|
|
76
82
|
warning_code: z.ZodString;
|
|
77
|
-
}
|
|
83
|
+
}>, "strip", z.ZodTypeAny, {
|
|
78
84
|
message: string;
|
|
79
85
|
warning_code: string;
|
|
80
86
|
}, {
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const unmanaged_access_code: z.ZodObject<{
|
|
2
|
+
export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
|
3
|
+
common_code_key: z.ZodNullable<z.ZodString>;
|
|
4
|
+
is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
|
|
3
5
|
type: z.ZodEnum<["time_bound", "ongoing"]>;
|
|
4
|
-
|
|
6
|
+
is_waiting_for_code_assignment: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
access_code_id: z.ZodString;
|
|
8
|
+
device_id: z.ZodString;
|
|
5
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
code: z.ZodNullable<z.ZodString>;
|
|
6
11
|
created_at: z.ZodString;
|
|
7
|
-
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
8
13
|
message: z.ZodString;
|
|
9
14
|
is_access_code_error: z.ZodLiteral<true>;
|
|
15
|
+
}, {
|
|
10
16
|
error_code: z.ZodString;
|
|
11
|
-
}
|
|
17
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12
18
|
message: string;
|
|
13
19
|
error_code: string;
|
|
14
20
|
is_access_code_error: true;
|
|
@@ -16,11 +22,12 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
16
22
|
message: string;
|
|
17
23
|
error_code: string;
|
|
18
24
|
is_access_code_error: true;
|
|
19
|
-
}>, z.ZodObject<{
|
|
25
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
20
26
|
message: z.ZodString;
|
|
21
27
|
is_device_error: z.ZodLiteral<true>;
|
|
28
|
+
}, {
|
|
22
29
|
error_code: z.ZodString;
|
|
23
|
-
}
|
|
30
|
+
}>, "strip", z.ZodTypeAny, {
|
|
24
31
|
message: string;
|
|
25
32
|
error_code: string;
|
|
26
33
|
is_device_error: true;
|
|
@@ -28,11 +35,12 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
28
35
|
message: string;
|
|
29
36
|
error_code: string;
|
|
30
37
|
is_device_error: true;
|
|
31
|
-
}>, z.ZodObject<{
|
|
38
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
32
39
|
message: z.ZodString;
|
|
33
40
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
41
|
+
}, {
|
|
34
42
|
error_code: z.ZodString;
|
|
35
|
-
}
|
|
43
|
+
}>, "strip", z.ZodTypeAny, {
|
|
36
44
|
message: string;
|
|
37
45
|
is_connected_account_error: true;
|
|
38
46
|
error_code: string;
|
|
@@ -41,23 +49,31 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
41
49
|
is_connected_account_error: true;
|
|
42
50
|
error_code: string;
|
|
43
51
|
}>]>, "many">;
|
|
44
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
52
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
45
53
|
message: z.ZodString;
|
|
54
|
+
}, {
|
|
46
55
|
warning_code: z.ZodString;
|
|
47
|
-
}
|
|
56
|
+
}>, "strip", z.ZodTypeAny, {
|
|
48
57
|
message: string;
|
|
49
58
|
warning_code: string;
|
|
50
59
|
}, {
|
|
51
60
|
message: string;
|
|
52
61
|
warning_code: string;
|
|
53
62
|
}>, "many">;
|
|
54
|
-
|
|
55
|
-
access_code_id: z.ZodString;
|
|
63
|
+
is_managed: z.ZodLiteral<true>;
|
|
56
64
|
starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
65
|
ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
status: z.ZodEnum<["setting", "set", "unset", "removing", "unknown"]>;
|
|
67
|
+
is_backup_access_code_available: z.ZodBoolean;
|
|
68
|
+
is_backup: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
pulled_backup_access_code_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
is_external_modification_allowed: z.ZodBoolean;
|
|
71
|
+
is_one_time_use: z.ZodBoolean;
|
|
72
|
+
is_offline_access_code: z.ZodBoolean;
|
|
73
|
+
}, "type" | "code" | "name" | "created_at" | "errors" | "warnings" | "device_id" | "is_managed" | "access_code_id" | "starts_at" | "ends_at">, {
|
|
58
74
|
is_managed: z.ZodLiteral<false>;
|
|
59
75
|
status: z.ZodEnum<["set"]>;
|
|
60
|
-
}
|
|
76
|
+
}>, "strip", z.ZodTypeAny, {
|
|
61
77
|
type: "time_bound" | "ongoing";
|
|
62
78
|
code: string | null;
|
|
63
79
|
name: string | null;
|
|
@@ -18,13 +18,15 @@ export declare const acs_credential_provisioning_automation: z.ZodObject<{
|
|
|
18
18
|
credential_manager_acs_system_id: string;
|
|
19
19
|
user_identity_id: string;
|
|
20
20
|
}>;
|
|
21
|
-
export declare const enrollment_automation: z.ZodObject<{
|
|
22
|
-
|
|
23
|
-
workspace_id: z.ZodString;
|
|
21
|
+
export declare const enrollment_automation: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
22
|
+
acs_credential_provisioning_automation_id: z.ZodString;
|
|
24
23
|
credential_manager_acs_system_id: z.ZodString;
|
|
25
24
|
user_identity_id: z.ZodString;
|
|
25
|
+
created_at: z.ZodString;
|
|
26
|
+
workspace_id: z.ZodString;
|
|
27
|
+
}, "acs_credential_provisioning_automation_id">, {
|
|
26
28
|
enrollment_automation_id: z.ZodString;
|
|
27
|
-
}
|
|
29
|
+
}>, "strip", z.ZodTypeAny, {
|
|
28
30
|
created_at: string;
|
|
29
31
|
workspace_id: string;
|
|
30
32
|
credential_manager_acs_system_id: string;
|
|
@@ -71,14 +71,14 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
71
71
|
acs_system_id: string;
|
|
72
72
|
acs_credential_id: string;
|
|
73
73
|
access_method: "code" | "card" | "mobile_key";
|
|
74
|
-
acs_user_id?: string | undefined;
|
|
75
|
-
acs_credential_pool_id?: string | undefined;
|
|
76
|
-
parent_acs_credential_id?: string | undefined;
|
|
77
74
|
code?: string | null | undefined;
|
|
78
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
79
|
-
external_type_display_name?: string | undefined;
|
|
80
75
|
starts_at?: string | undefined;
|
|
81
76
|
ends_at?: string | undefined;
|
|
77
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
78
|
+
external_type_display_name?: string | undefined;
|
|
79
|
+
acs_user_id?: string | undefined;
|
|
80
|
+
acs_credential_pool_id?: string | undefined;
|
|
81
|
+
parent_acs_credential_id?: string | undefined;
|
|
82
82
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
83
83
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
84
84
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -103,14 +103,14 @@ export declare const acs_credential: z.ZodObject<{
|
|
|
103
103
|
acs_system_id: string;
|
|
104
104
|
acs_credential_id: string;
|
|
105
105
|
access_method: "code" | "card" | "mobile_key";
|
|
106
|
-
acs_user_id?: string | undefined;
|
|
107
|
-
acs_credential_pool_id?: string | undefined;
|
|
108
|
-
parent_acs_credential_id?: string | undefined;
|
|
109
106
|
code?: string | null | undefined;
|
|
110
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
111
|
-
external_type_display_name?: string | undefined;
|
|
112
107
|
starts_at?: string | undefined;
|
|
113
108
|
ends_at?: string | undefined;
|
|
109
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
110
|
+
external_type_display_name?: string | undefined;
|
|
111
|
+
acs_user_id?: string | undefined;
|
|
112
|
+
acs_credential_pool_id?: string | undefined;
|
|
113
|
+
parent_acs_credential_id?: string | undefined;
|
|
114
114
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
115
115
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
116
116
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -67,12 +67,6 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
67
67
|
display_name: string;
|
|
68
68
|
acs_system_id: string;
|
|
69
69
|
acs_entrance_id: string;
|
|
70
|
-
latch_metadata?: {
|
|
71
|
-
door_name: string;
|
|
72
|
-
is_connected: boolean;
|
|
73
|
-
accessibility_type: string;
|
|
74
|
-
door_type: string;
|
|
75
|
-
} | undefined;
|
|
76
70
|
visionline_metadata?: {
|
|
77
71
|
door_name: string;
|
|
78
72
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -81,6 +75,12 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
81
75
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
82
76
|
}[] | undefined;
|
|
83
77
|
} | undefined;
|
|
78
|
+
latch_metadata?: {
|
|
79
|
+
door_name: string;
|
|
80
|
+
is_connected: boolean;
|
|
81
|
+
accessibility_type: string;
|
|
82
|
+
door_type: string;
|
|
83
|
+
} | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
created_at: string;
|
|
86
86
|
errors: {
|
|
@@ -90,12 +90,6 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
90
90
|
display_name: string;
|
|
91
91
|
acs_system_id: string;
|
|
92
92
|
acs_entrance_id: string;
|
|
93
|
-
latch_metadata?: {
|
|
94
|
-
door_name: string;
|
|
95
|
-
is_connected: boolean;
|
|
96
|
-
accessibility_type: string;
|
|
97
|
-
door_type: string;
|
|
98
|
-
} | undefined;
|
|
99
93
|
visionline_metadata?: {
|
|
100
94
|
door_name: string;
|
|
101
95
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -104,5 +98,11 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
104
98
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
105
99
|
}[] | undefined;
|
|
106
100
|
} | undefined;
|
|
101
|
+
latch_metadata?: {
|
|
102
|
+
door_name: string;
|
|
103
|
+
is_connected: boolean;
|
|
104
|
+
accessibility_type: string;
|
|
105
|
+
door_type: string;
|
|
106
|
+
} | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
export type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
@@ -18,11 +18,12 @@ export declare const acs_system_capability_flags: z.ZodObject<{
|
|
|
18
18
|
export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>;
|
|
19
19
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
20
20
|
declare const acs_system_error_map: z.ZodObject<{
|
|
21
|
-
seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
22
|
-
message: z.ZodString;
|
|
21
|
+
seam_bridge_disconnected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
23
22
|
created_at: z.ZodString;
|
|
23
|
+
message: z.ZodString;
|
|
24
|
+
}, {
|
|
24
25
|
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
25
|
-
}
|
|
26
|
+
}>, "strip", z.ZodTypeAny, {
|
|
26
27
|
message: string;
|
|
27
28
|
error_code: "seam_bridge_disconnected";
|
|
28
29
|
created_at: string;
|
|
@@ -31,11 +32,12 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
31
32
|
error_code: "seam_bridge_disconnected";
|
|
32
33
|
created_at: string;
|
|
33
34
|
}>>>;
|
|
34
|
-
visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
35
|
-
message: z.ZodString;
|
|
35
|
+
visionline_instance_unreachable: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
36
36
|
created_at: z.ZodString;
|
|
37
|
+
message: z.ZodString;
|
|
38
|
+
}, {
|
|
37
39
|
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
38
|
-
}
|
|
40
|
+
}>, "strip", z.ZodTypeAny, {
|
|
39
41
|
message: string;
|
|
40
42
|
error_code: "visionline_instance_unreachable";
|
|
41
43
|
created_at: string;
|
|
@@ -70,14 +72,37 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
70
72
|
export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
|
|
71
73
|
declare const acs_system_warning_map: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
72
74
|
export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>;
|
|
73
|
-
export declare const acs_system: z.ZodObject<{
|
|
75
|
+
export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
76
|
+
acs_system_id: z.ZodString;
|
|
77
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
78
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
79
|
+
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
mobile_access_uuid: z.ZodString;
|
|
81
|
+
system_id: z.ZodString;
|
|
82
|
+
lan_address: z.ZodString;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
mobile_access_uuid: string;
|
|
85
|
+
system_id: string;
|
|
86
|
+
lan_address: string;
|
|
87
|
+
}, {
|
|
88
|
+
mobile_access_uuid: string;
|
|
89
|
+
system_id: string;
|
|
90
|
+
lan_address: string;
|
|
91
|
+
}>>;
|
|
92
|
+
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
93
|
+
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
74
94
|
name: z.ZodString;
|
|
75
95
|
created_at: z.ZodString;
|
|
76
|
-
|
|
77
|
-
|
|
96
|
+
workspace_id: z.ZodString;
|
|
97
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
98
|
+
image_url: z.ZodString;
|
|
99
|
+
image_alt_text: z.ZodString;
|
|
100
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
78
101
|
created_at: z.ZodString;
|
|
102
|
+
message: z.ZodString;
|
|
103
|
+
}, {
|
|
79
104
|
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
80
|
-
}
|
|
105
|
+
}>, "strip", z.ZodTypeAny, {
|
|
81
106
|
message: string;
|
|
82
107
|
error_code: "seam_bridge_disconnected";
|
|
83
108
|
created_at: string;
|
|
@@ -85,11 +110,12 @@ export declare const acs_system: z.ZodObject<{
|
|
|
85
110
|
message: string;
|
|
86
111
|
error_code: "seam_bridge_disconnected";
|
|
87
112
|
created_at: string;
|
|
88
|
-
}>, z.ZodObject<{
|
|
89
|
-
message: z.ZodString;
|
|
113
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
90
114
|
created_at: z.ZodString;
|
|
115
|
+
message: z.ZodString;
|
|
116
|
+
}, {
|
|
91
117
|
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
92
|
-
}
|
|
118
|
+
}>, "strip", z.ZodTypeAny, {
|
|
93
119
|
message: string;
|
|
94
120
|
error_code: "visionline_instance_unreachable";
|
|
95
121
|
created_at: string;
|
|
@@ -99,33 +125,12 @@ export declare const acs_system: z.ZodObject<{
|
|
|
99
125
|
created_at: string;
|
|
100
126
|
}>]>, "many">;
|
|
101
127
|
warnings: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
102
|
-
|
|
103
|
-
image_alt_text: z.ZodString;
|
|
104
|
-
workspace_id: z.ZodString;
|
|
105
|
-
acs_system_id: z.ZodString;
|
|
106
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
107
|
-
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
108
|
-
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
109
|
-
mobile_access_uuid: z.ZodString;
|
|
110
|
-
system_id: z.ZodString;
|
|
111
|
-
lan_address: z.ZodString;
|
|
112
|
-
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
mobile_access_uuid: string;
|
|
114
|
-
system_id: string;
|
|
115
|
-
lan_address: string;
|
|
116
|
-
}, {
|
|
117
|
-
mobile_access_uuid: string;
|
|
118
|
-
system_id: string;
|
|
119
|
-
lan_address: string;
|
|
120
|
-
}>>;
|
|
121
|
-
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
122
|
-
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
123
|
-
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
128
|
+
}, {
|
|
124
129
|
can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
|
|
125
130
|
can_create_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
126
131
|
can_remove_acs_users_from_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
127
132
|
can_add_acs_users_to_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
-
}
|
|
133
|
+
}>, "strip", z.ZodTypeAny, {
|
|
129
134
|
name: string;
|
|
130
135
|
created_at: string;
|
|
131
136
|
errors: ({
|
|
@@ -150,12 +155,12 @@ export declare const acs_system: z.ZodObject<{
|
|
|
150
155
|
system_id: string;
|
|
151
156
|
lan_address: string;
|
|
152
157
|
} | undefined;
|
|
153
|
-
system_type?: "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
|
|
154
|
-
system_type_display_name?: string | undefined;
|
|
155
158
|
can_automate_enrollment?: boolean | undefined;
|
|
156
159
|
can_create_acs_access_groups?: boolean | undefined;
|
|
157
160
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
158
161
|
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
162
|
+
system_type?: "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
|
|
163
|
+
system_type_display_name?: string | undefined;
|
|
159
164
|
}, {
|
|
160
165
|
name: string;
|
|
161
166
|
created_at: string;
|
|
@@ -181,12 +186,12 @@ export declare const acs_system: z.ZodObject<{
|
|
|
181
186
|
system_id: string;
|
|
182
187
|
lan_address: string;
|
|
183
188
|
} | undefined;
|
|
184
|
-
system_type?: "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
|
|
185
|
-
system_type_display_name?: string | undefined;
|
|
186
189
|
can_automate_enrollment?: boolean | undefined;
|
|
187
190
|
can_create_acs_access_groups?: boolean | undefined;
|
|
188
191
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
189
192
|
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
193
|
+
system_type?: "assa_abloy_credential_service" | "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | undefined;
|
|
194
|
+
system_type_display_name?: string | undefined;
|
|
190
195
|
}>;
|
|
191
196
|
export type AcsSystem = z.output<typeof acs_system>;
|
|
192
197
|
export {};
|
|
@@ -2,11 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>;
|
|
3
3
|
export type AcsUserExternalType = z.infer<typeof acs_user_external_type>;
|
|
4
4
|
export declare const acs_users_warning_map: z.ZodObject<{
|
|
5
|
-
being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
-
message: z.ZodString;
|
|
5
|
+
being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
7
6
|
created_at: z.ZodString;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
}, {
|
|
8
9
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
9
|
-
}
|
|
10
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10
11
|
message: string;
|
|
11
12
|
warning_code: "being_deleted";
|
|
12
13
|
created_at: string;
|
|
@@ -28,11 +29,12 @@ export declare const acs_users_warning_map: z.ZodObject<{
|
|
|
28
29
|
created_at: string;
|
|
29
30
|
} | null | undefined;
|
|
30
31
|
}>;
|
|
31
|
-
export declare const acs_users_warning: z.ZodObject<{
|
|
32
|
-
message: z.ZodString;
|
|
32
|
+
export declare const acs_users_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
33
33
|
created_at: z.ZodString;
|
|
34
|
+
message: z.ZodString;
|
|
35
|
+
}, {
|
|
34
36
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
35
|
-
}
|
|
37
|
+
}>, "strip", z.ZodTypeAny, {
|
|
36
38
|
message: string;
|
|
37
39
|
warning_code: "being_deleted";
|
|
38
40
|
created_at: string;
|
|
@@ -42,31 +44,15 @@ export declare const acs_users_warning: z.ZodObject<{
|
|
|
42
44
|
created_at: string;
|
|
43
45
|
}>;
|
|
44
46
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>;
|
|
45
|
-
export declare const acs_user: z.ZodObject<{
|
|
47
|
+
export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<{
|
|
48
|
+
acs_user_id: z.ZodString;
|
|
49
|
+
acs_system_id: z.ZodString;
|
|
50
|
+
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
51
|
+
workspace_id: z.ZodString;
|
|
46
52
|
created_at: z.ZodString;
|
|
47
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
48
|
-
message: z.ZodString;
|
|
49
|
-
created_at: z.ZodString;
|
|
50
|
-
warning_code: z.ZodLiteral<"being_deleted">;
|
|
51
|
-
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
message: string;
|
|
53
|
-
warning_code: "being_deleted";
|
|
54
|
-
created_at: string;
|
|
55
|
-
}, {
|
|
56
|
-
message: string;
|
|
57
|
-
warning_code: "being_deleted";
|
|
58
|
-
created_at: string;
|
|
59
|
-
}>, "many">;
|
|
60
53
|
display_name: z.ZodString;
|
|
61
|
-
workspace_id: z.ZodString;
|
|
62
|
-
acs_system_id: z.ZodString;
|
|
63
54
|
external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
|
|
64
55
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
65
|
-
acs_user_id: z.ZodString;
|
|
66
|
-
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
68
|
-
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
69
|
-
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
70
56
|
is_suspended: z.ZodBoolean;
|
|
71
57
|
access_schedule: z.ZodOptional<z.ZodObject<{
|
|
72
58
|
starts_at: z.ZodString;
|
|
@@ -78,14 +64,32 @@ export declare const acs_user: z.ZodObject<{
|
|
|
78
64
|
starts_at: string;
|
|
79
65
|
ends_at: string;
|
|
80
66
|
}>>;
|
|
67
|
+
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
81
68
|
user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
69
|
user_identity_email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
70
|
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
72
|
+
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
74
|
+
created_at: z.ZodString;
|
|
75
|
+
message: z.ZodString;
|
|
76
|
+
}, {
|
|
77
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
78
|
+
}>, "strip", z.ZodTypeAny, {
|
|
79
|
+
message: string;
|
|
80
|
+
warning_code: "being_deleted";
|
|
81
|
+
created_at: string;
|
|
82
|
+
}, {
|
|
83
|
+
message: string;
|
|
84
|
+
warning_code: "being_deleted";
|
|
85
|
+
created_at: string;
|
|
86
|
+
}>, "many">;
|
|
87
|
+
}, {
|
|
84
88
|
full_name: z.ZodOptional<z.ZodString>;
|
|
85
89
|
email: z.ZodOptional<z.ZodString>;
|
|
86
90
|
email_address: z.ZodOptional<z.ZodString>;
|
|
87
91
|
phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
88
|
-
}
|
|
92
|
+
}>, "strip", z.ZodTypeAny, {
|
|
89
93
|
created_at: string;
|
|
90
94
|
warnings: {
|
|
91
95
|
message: string;
|
|
@@ -97,11 +101,15 @@ export declare const acs_user: z.ZodObject<{
|
|
|
97
101
|
acs_system_id: string;
|
|
98
102
|
acs_user_id: string;
|
|
99
103
|
is_suspended: boolean;
|
|
104
|
+
email?: string | undefined;
|
|
100
105
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
101
106
|
external_type_display_name?: string | undefined;
|
|
102
107
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
103
108
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
104
109
|
user_identity_id?: string | undefined;
|
|
110
|
+
full_name?: string | undefined;
|
|
111
|
+
email_address?: string | undefined;
|
|
112
|
+
phone_number?: string | undefined;
|
|
105
113
|
hid_acs_system_id?: string | undefined;
|
|
106
114
|
access_schedule?: {
|
|
107
115
|
starts_at: string;
|
|
@@ -110,10 +118,6 @@ export declare const acs_user: z.ZodObject<{
|
|
|
110
118
|
user_identity_full_name?: string | null | undefined;
|
|
111
119
|
user_identity_email_address?: string | null | undefined;
|
|
112
120
|
user_identity_phone_number?: string | null | undefined;
|
|
113
|
-
full_name?: string | undefined;
|
|
114
|
-
email?: string | undefined;
|
|
115
|
-
email_address?: string | undefined;
|
|
116
|
-
phone_number?: string | undefined;
|
|
117
121
|
}, {
|
|
118
122
|
created_at: string;
|
|
119
123
|
warnings: {
|
|
@@ -126,11 +130,15 @@ export declare const acs_user: z.ZodObject<{
|
|
|
126
130
|
acs_system_id: string;
|
|
127
131
|
acs_user_id: string;
|
|
128
132
|
is_suspended: boolean;
|
|
133
|
+
email?: string | undefined;
|
|
129
134
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
130
135
|
external_type_display_name?: string | undefined;
|
|
131
136
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
132
137
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
133
138
|
user_identity_id?: string | undefined;
|
|
139
|
+
full_name?: string | undefined;
|
|
140
|
+
email_address?: string | undefined;
|
|
141
|
+
phone_number?: string | undefined;
|
|
134
142
|
hid_acs_system_id?: string | undefined;
|
|
135
143
|
access_schedule?: {
|
|
136
144
|
starts_at: string;
|
|
@@ -139,9 +147,5 @@ export declare const acs_user: z.ZodObject<{
|
|
|
139
147
|
user_identity_full_name?: string | null | undefined;
|
|
140
148
|
user_identity_email_address?: string | null | undefined;
|
|
141
149
|
user_identity_phone_number?: string | null | undefined;
|
|
142
|
-
full_name?: string | undefined;
|
|
143
|
-
email?: string | undefined;
|
|
144
|
-
email_address?: string | undefined;
|
|
145
|
-
phone_number?: string | undefined;
|
|
146
150
|
}>;
|
|
147
151
|
export type AcsUser = z.output<typeof acs_user>;
|