@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,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const acs_access_group_external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
3
3
|
export type AcsAccessGroupExternalType = z.infer<typeof acs_access_group_external_type>;
|
|
4
|
-
export declare const unknown_issue_with_acs_access_group: z.ZodObject<
|
|
4
|
+
export declare const unknown_issue_with_acs_access_group: z.ZodObject<{
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
message: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
9
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
message: string;
|
|
11
11
|
created_at: string;
|
|
12
12
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
@@ -16,12 +16,12 @@ export declare const unknown_issue_with_acs_access_group: z.ZodObject<z.objectUt
|
|
|
16
16
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
17
17
|
}>;
|
|
18
18
|
declare const acs_access_group_warning_map: z.ZodObject<{
|
|
19
|
-
unknown_issue_with_acs_access_group: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
19
|
+
unknown_issue_with_acs_access_group: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
20
20
|
created_at: z.ZodString;
|
|
21
21
|
message: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
message: string;
|
|
26
26
|
created_at: string;
|
|
27
27
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
@@ -44,7 +44,7 @@ declare const acs_access_group_warning_map: z.ZodObject<{
|
|
|
44
44
|
} | null | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type AcsAccessGroupWarningMap = z.infer<typeof acs_access_group_warning_map>;
|
|
47
|
-
export declare const acs_access_group: z.ZodObject<
|
|
47
|
+
export declare const acs_access_group: z.ZodObject<{
|
|
48
48
|
acs_access_group_id: z.ZodString;
|
|
49
49
|
acs_system_id: z.ZodString;
|
|
50
50
|
workspace_id: z.ZodString;
|
|
@@ -56,12 +56,12 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
56
56
|
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
57
57
|
external_type_display_name: z.ZodString;
|
|
58
58
|
created_at: z.ZodString;
|
|
59
|
-
warnings: z.ZodArray<z.ZodObject<
|
|
59
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
60
60
|
created_at: z.ZodString;
|
|
61
61
|
message: z.ZodString;
|
|
62
|
-
}
|
|
62
|
+
} & {
|
|
63
63
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
64
|
-
}
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
message: string;
|
|
66
66
|
created_at: string;
|
|
67
67
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
@@ -70,9 +70,9 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
70
70
|
created_at: string;
|
|
71
71
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
72
72
|
}>, "many">;
|
|
73
|
-
}
|
|
73
|
+
} & {
|
|
74
74
|
is_managed: z.ZodLiteral<true>;
|
|
75
|
-
}
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
name: string;
|
|
77
77
|
display_name: string;
|
|
78
78
|
workspace_id: string;
|
|
@@ -109,7 +109,7 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
109
109
|
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
|
|
110
110
|
external_type_display_name: string;
|
|
111
111
|
}>;
|
|
112
|
-
export declare const unmanaged_acs_access_group: z.ZodObject<
|
|
112
|
+
export declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
113
113
|
acs_access_group_id: z.ZodString;
|
|
114
114
|
acs_system_id: z.ZodString;
|
|
115
115
|
workspace_id: z.ZodString;
|
|
@@ -121,12 +121,12 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
121
121
|
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
|
|
122
122
|
external_type_display_name: z.ZodString;
|
|
123
123
|
created_at: z.ZodString;
|
|
124
|
-
warnings: z.ZodArray<z.ZodObject<
|
|
124
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
125
125
|
created_at: z.ZodString;
|
|
126
126
|
message: z.ZodString;
|
|
127
|
-
}
|
|
127
|
+
} & {
|
|
128
128
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
|
|
129
|
-
}
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
130
|
message: string;
|
|
131
131
|
created_at: string;
|
|
132
132
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
@@ -135,9 +135,9 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
135
135
|
created_at: string;
|
|
136
136
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
137
137
|
}>, "many">;
|
|
138
|
-
}
|
|
138
|
+
} & {
|
|
139
139
|
is_managed: z.ZodLiteral<false>;
|
|
140
|
-
}
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
name: string;
|
|
142
142
|
display_name: string;
|
|
143
143
|
workspace_id: string;
|
|
@@ -2,12 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>;
|
|
3
3
|
export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
4
4
|
export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
|
|
5
|
-
export declare const unknown_issue_with_acs_credential: z.ZodObject<
|
|
5
|
+
export declare const unknown_issue_with_acs_credential: z.ZodObject<{
|
|
6
6
|
created_at: z.ZodString;
|
|
7
7
|
message: z.ZodString;
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
9
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
10
|
-
}
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
message: string;
|
|
12
12
|
created_at: string;
|
|
13
13
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -17,12 +17,12 @@ export declare const unknown_issue_with_acs_credential: z.ZodObject<z.objectUtil
|
|
|
17
17
|
warning_code: "unknown_issue_with_acs_credential";
|
|
18
18
|
}>;
|
|
19
19
|
declare const acs_credential_warning_map: z.ZodObject<{
|
|
20
|
-
waiting_to_be_issued: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
20
|
+
waiting_to_be_issued: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
21
21
|
created_at: z.ZodString;
|
|
22
22
|
message: z.ZodString;
|
|
23
|
-
}
|
|
23
|
+
} & {
|
|
24
24
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
25
|
-
}
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
message: string;
|
|
27
27
|
created_at: string;
|
|
28
28
|
warning_code: "waiting_to_be_issued";
|
|
@@ -31,12 +31,12 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
31
31
|
created_at: string;
|
|
32
32
|
warning_code: "waiting_to_be_issued";
|
|
33
33
|
}>>>;
|
|
34
|
-
schedule_externally_modified: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
34
|
+
schedule_externally_modified: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
35
35
|
created_at: z.ZodString;
|
|
36
36
|
message: z.ZodString;
|
|
37
|
-
}
|
|
37
|
+
} & {
|
|
38
38
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
39
|
-
}
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
message: string;
|
|
41
41
|
created_at: string;
|
|
42
42
|
warning_code: "schedule_externally_modified";
|
|
@@ -45,12 +45,12 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
45
45
|
created_at: string;
|
|
46
46
|
warning_code: "schedule_externally_modified";
|
|
47
47
|
}>>>;
|
|
48
|
-
schedule_modified: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
48
|
+
schedule_modified: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
49
49
|
created_at: z.ZodString;
|
|
50
50
|
message: z.ZodString;
|
|
51
|
-
}
|
|
51
|
+
} & {
|
|
52
52
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
53
|
-
}
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
message: string;
|
|
55
55
|
created_at: string;
|
|
56
56
|
warning_code: "schedule_modified";
|
|
@@ -59,12 +59,12 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
59
59
|
created_at: string;
|
|
60
60
|
warning_code: "schedule_modified";
|
|
61
61
|
}>>>;
|
|
62
|
-
being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
62
|
+
being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
63
63
|
created_at: z.ZodString;
|
|
64
64
|
message: z.ZodString;
|
|
65
|
-
}
|
|
65
|
+
} & {
|
|
66
66
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
67
|
-
}
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
message: string;
|
|
69
69
|
created_at: string;
|
|
70
70
|
warning_code: "being_deleted";
|
|
@@ -73,12 +73,12 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
73
73
|
created_at: string;
|
|
74
74
|
warning_code: "being_deleted";
|
|
75
75
|
}>>>;
|
|
76
|
-
unknown_issue_with_acs_credential: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
76
|
+
unknown_issue_with_acs_credential: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
77
77
|
created_at: z.ZodString;
|
|
78
78
|
message: z.ZodString;
|
|
79
|
-
}
|
|
79
|
+
} & {
|
|
80
80
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
81
|
-
}
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
message: string;
|
|
83
83
|
created_at: string;
|
|
84
84
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -87,12 +87,12 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
87
87
|
created_at: string;
|
|
88
88
|
warning_code: "unknown_issue_with_acs_credential";
|
|
89
89
|
}>>>;
|
|
90
|
-
needs_to_be_reissued: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
90
|
+
needs_to_be_reissued: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
91
91
|
created_at: z.ZodString;
|
|
92
92
|
message: z.ZodString;
|
|
93
|
-
}
|
|
93
|
+
} & {
|
|
94
94
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
95
|
-
}
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
message: string;
|
|
97
97
|
created_at: string;
|
|
98
98
|
warning_code: "needs_to_be_reissued";
|
|
@@ -165,7 +165,7 @@ declare const acs_credential_warning_map: z.ZodObject<{
|
|
|
165
165
|
} | null | undefined;
|
|
166
166
|
}>;
|
|
167
167
|
export type AcsCredentialWarningMap = z.infer<typeof acs_credential_warning_map>;
|
|
168
|
-
export declare const acs_credential: z.ZodObject<
|
|
168
|
+
export declare const acs_credential: z.ZodObject<{
|
|
169
169
|
acs_credential_id: z.ZodString;
|
|
170
170
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
171
171
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -196,12 +196,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
196
196
|
message: string;
|
|
197
197
|
error_code: string;
|
|
198
198
|
}>, "many">;
|
|
199
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
199
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
200
200
|
created_at: z.ZodString;
|
|
201
201
|
message: z.ZodString;
|
|
202
|
-
}
|
|
202
|
+
} & {
|
|
203
203
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
204
|
-
}
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
205
|
message: string;
|
|
206
206
|
created_at: string;
|
|
207
207
|
warning_code: "waiting_to_be_issued";
|
|
@@ -209,12 +209,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
209
209
|
message: string;
|
|
210
210
|
created_at: string;
|
|
211
211
|
warning_code: "waiting_to_be_issued";
|
|
212
|
-
}>, z.ZodObject<
|
|
212
|
+
}>, z.ZodObject<{
|
|
213
213
|
created_at: z.ZodString;
|
|
214
214
|
message: z.ZodString;
|
|
215
|
-
}
|
|
215
|
+
} & {
|
|
216
216
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
217
|
-
}
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
message: string;
|
|
219
219
|
created_at: string;
|
|
220
220
|
warning_code: "schedule_externally_modified";
|
|
@@ -222,12 +222,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
222
222
|
message: string;
|
|
223
223
|
created_at: string;
|
|
224
224
|
warning_code: "schedule_externally_modified";
|
|
225
|
-
}>, z.ZodObject<
|
|
225
|
+
}>, z.ZodObject<{
|
|
226
226
|
created_at: z.ZodString;
|
|
227
227
|
message: z.ZodString;
|
|
228
|
-
}
|
|
228
|
+
} & {
|
|
229
229
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
230
|
-
}
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
231
|
message: string;
|
|
232
232
|
created_at: string;
|
|
233
233
|
warning_code: "schedule_modified";
|
|
@@ -235,12 +235,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
235
235
|
message: string;
|
|
236
236
|
created_at: string;
|
|
237
237
|
warning_code: "schedule_modified";
|
|
238
|
-
}>, z.ZodObject<
|
|
238
|
+
}>, z.ZodObject<{
|
|
239
239
|
created_at: z.ZodString;
|
|
240
240
|
message: z.ZodString;
|
|
241
|
-
}
|
|
241
|
+
} & {
|
|
242
242
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
243
|
-
}
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
message: string;
|
|
245
245
|
created_at: string;
|
|
246
246
|
warning_code: "being_deleted";
|
|
@@ -248,12 +248,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
248
248
|
message: string;
|
|
249
249
|
created_at: string;
|
|
250
250
|
warning_code: "being_deleted";
|
|
251
|
-
}>, z.ZodObject<
|
|
251
|
+
}>, z.ZodObject<{
|
|
252
252
|
created_at: z.ZodString;
|
|
253
253
|
message: z.ZodString;
|
|
254
|
-
}
|
|
254
|
+
} & {
|
|
255
255
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
256
|
-
}
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
257
257
|
message: string;
|
|
258
258
|
created_at: string;
|
|
259
259
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -261,12 +261,12 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
261
261
|
message: string;
|
|
262
262
|
created_at: string;
|
|
263
263
|
warning_code: "unknown_issue_with_acs_credential";
|
|
264
|
-
}>, z.ZodObject<
|
|
264
|
+
}>, z.ZodObject<{
|
|
265
265
|
created_at: z.ZodString;
|
|
266
266
|
message: z.ZodString;
|
|
267
|
-
}
|
|
267
|
+
} & {
|
|
268
268
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
269
|
-
}
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
message: string;
|
|
271
271
|
created_at: string;
|
|
272
272
|
warning_code: "needs_to_be_reissued";
|
|
@@ -328,9 +328,9 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
328
328
|
key_issuing_request_id?: string | undefined;
|
|
329
329
|
door_names?: string[] | undefined;
|
|
330
330
|
}>>;
|
|
331
|
-
}
|
|
331
|
+
} & {
|
|
332
332
|
is_managed: z.ZodLiteral<true>;
|
|
333
|
-
}
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
334
|
display_name: string;
|
|
335
335
|
workspace_id: string;
|
|
336
336
|
created_at: string;
|
|
@@ -475,7 +475,7 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
475
475
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
476
476
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
477
477
|
}>;
|
|
478
|
-
export declare const unmanaged_acs_credential: z.ZodObject<
|
|
478
|
+
export declare const unmanaged_acs_credential: z.ZodObject<{
|
|
479
479
|
acs_credential_id: z.ZodString;
|
|
480
480
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
481
481
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -506,12 +506,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
506
506
|
message: string;
|
|
507
507
|
error_code: string;
|
|
508
508
|
}>, "many">;
|
|
509
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
509
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
510
510
|
created_at: z.ZodString;
|
|
511
511
|
message: z.ZodString;
|
|
512
|
-
}
|
|
512
|
+
} & {
|
|
513
513
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
514
|
-
}
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
515
|
message: string;
|
|
516
516
|
created_at: string;
|
|
517
517
|
warning_code: "waiting_to_be_issued";
|
|
@@ -519,12 +519,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
519
519
|
message: string;
|
|
520
520
|
created_at: string;
|
|
521
521
|
warning_code: "waiting_to_be_issued";
|
|
522
|
-
}>, z.ZodObject<
|
|
522
|
+
}>, z.ZodObject<{
|
|
523
523
|
created_at: z.ZodString;
|
|
524
524
|
message: z.ZodString;
|
|
525
|
-
}
|
|
525
|
+
} & {
|
|
526
526
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
527
|
-
}
|
|
527
|
+
}, "strip", z.ZodTypeAny, {
|
|
528
528
|
message: string;
|
|
529
529
|
created_at: string;
|
|
530
530
|
warning_code: "schedule_externally_modified";
|
|
@@ -532,12 +532,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
532
532
|
message: string;
|
|
533
533
|
created_at: string;
|
|
534
534
|
warning_code: "schedule_externally_modified";
|
|
535
|
-
}>, z.ZodObject<
|
|
535
|
+
}>, z.ZodObject<{
|
|
536
536
|
created_at: z.ZodString;
|
|
537
537
|
message: z.ZodString;
|
|
538
|
-
}
|
|
538
|
+
} & {
|
|
539
539
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
540
|
-
}
|
|
540
|
+
}, "strip", z.ZodTypeAny, {
|
|
541
541
|
message: string;
|
|
542
542
|
created_at: string;
|
|
543
543
|
warning_code: "schedule_modified";
|
|
@@ -545,12 +545,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
545
545
|
message: string;
|
|
546
546
|
created_at: string;
|
|
547
547
|
warning_code: "schedule_modified";
|
|
548
|
-
}>, z.ZodObject<
|
|
548
|
+
}>, z.ZodObject<{
|
|
549
549
|
created_at: z.ZodString;
|
|
550
550
|
message: z.ZodString;
|
|
551
|
-
}
|
|
551
|
+
} & {
|
|
552
552
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
553
|
-
}
|
|
553
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
554
|
message: string;
|
|
555
555
|
created_at: string;
|
|
556
556
|
warning_code: "being_deleted";
|
|
@@ -558,12 +558,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
558
558
|
message: string;
|
|
559
559
|
created_at: string;
|
|
560
560
|
warning_code: "being_deleted";
|
|
561
|
-
}>, z.ZodObject<
|
|
561
|
+
}>, z.ZodObject<{
|
|
562
562
|
created_at: z.ZodString;
|
|
563
563
|
message: z.ZodString;
|
|
564
|
-
}
|
|
564
|
+
} & {
|
|
565
565
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
566
|
-
}
|
|
566
|
+
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
message: string;
|
|
568
568
|
created_at: string;
|
|
569
569
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -571,12 +571,12 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
571
571
|
message: string;
|
|
572
572
|
created_at: string;
|
|
573
573
|
warning_code: "unknown_issue_with_acs_credential";
|
|
574
|
-
}>, z.ZodObject<
|
|
574
|
+
}>, z.ZodObject<{
|
|
575
575
|
created_at: z.ZodString;
|
|
576
576
|
message: z.ZodString;
|
|
577
|
-
}
|
|
577
|
+
} & {
|
|
578
578
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
579
|
-
}
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
580
|
message: string;
|
|
581
581
|
created_at: string;
|
|
582
582
|
warning_code: "needs_to_be_reissued";
|
|
@@ -638,9 +638,9 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
638
638
|
key_issuing_request_id?: string | undefined;
|
|
639
639
|
door_names?: string[] | undefined;
|
|
640
640
|
}>>;
|
|
641
|
-
}
|
|
641
|
+
} & {
|
|
642
642
|
is_managed: z.ZodLiteral<false>;
|
|
643
|
-
}
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
display_name: string;
|
|
645
645
|
workspace_id: string;
|
|
646
646
|
created_at: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const acs_encoder_error_map: z.ZodObject<{
|
|
3
|
-
acs_encoder_removed: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
|
3
|
+
acs_encoder_removed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
4
|
created_at: z.ZodString;
|
|
5
5
|
message: z.ZodString;
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
7
|
error_code: z.ZodLiteral<"acs_encoder_removed">;
|
|
8
|
-
}
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
message: string;
|
|
10
10
|
created_at: string;
|
|
11
11
|
error_code: "acs_encoder_removed";
|
|
@@ -33,12 +33,12 @@ export declare const acs_encoder: z.ZodObject<{
|
|
|
33
33
|
acs_system_id: z.ZodString;
|
|
34
34
|
connected_account_id: z.ZodString;
|
|
35
35
|
workspace_id: z.ZodString;
|
|
36
|
-
errors: z.ZodArray<z.ZodObject<
|
|
36
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
37
37
|
created_at: z.ZodString;
|
|
38
38
|
message: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
error_code: z.ZodLiteral<"acs_encoder_removed">;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
message: string;
|
|
43
43
|
created_at: string;
|
|
44
44
|
error_code: "acs_encoder_removed";
|
|
@@ -12,7 +12,7 @@ export declare const acs_entrance_capability_flags: z.ZodObject<{
|
|
|
12
12
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
13
13
|
can_unlock_with_card?: boolean | undefined;
|
|
14
14
|
}>;
|
|
15
|
-
export declare const acs_entrance: z.ZodObject<
|
|
15
|
+
export declare const acs_entrance: z.ZodObject<{
|
|
16
16
|
acs_system_id: z.ZodString;
|
|
17
17
|
acs_entrance_id: z.ZodString;
|
|
18
18
|
created_at: z.ZodString;
|
|
@@ -139,11 +139,11 @@ export declare const acs_entrance: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
139
|
ext_door_id: string;
|
|
140
140
|
door_description?: string | undefined;
|
|
141
141
|
}>>;
|
|
142
|
-
}
|
|
142
|
+
} & {
|
|
143
143
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
144
144
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
145
145
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
}
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
display_name: string;
|
|
148
148
|
created_at: string;
|
|
149
149
|
errors: {
|