@seamapi/types 1.952.0 → 1.954.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 +50 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +72 -26
- package/dist/index.cjs +50 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +2 -0
- package/lib/seam/connect/models/events/common.js +10 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +36 -0
- package/lib/seam/connect/models/events/devices.js +10 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +18 -0
- package/lib/seam/connect/openapi.js +27 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -0
- package/src/lib/seam/connect/models/events/common.ts +15 -0
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +30 -0
- package/src/lib/seam/connect/route-types.ts +74 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3804,10 +3804,10 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
3804
3804
|
workspace_id: z.ZodString;
|
|
3805
3805
|
connected_account_id: z.ZodString;
|
|
3806
3806
|
name: z.ZodString;
|
|
3807
|
-
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group"]>;
|
|
3807
|
+
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group", "kisi_access_group"]>;
|
|
3808
3808
|
access_group_type_display_name: z.ZodString;
|
|
3809
3809
|
display_name: z.ZodString;
|
|
3810
|
-
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group"]>;
|
|
3810
|
+
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group", "kisi_access_group"]>;
|
|
3811
3811
|
external_type_display_name: z.ZodString;
|
|
3812
3812
|
created_at: z.ZodString;
|
|
3813
3813
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
@@ -4172,9 +4172,9 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
4172
4172
|
})[];
|
|
4173
4173
|
acs_access_group_id: string;
|
|
4174
4174
|
acs_system_id: string;
|
|
4175
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4175
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4176
4176
|
access_group_type_display_name: string;
|
|
4177
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4177
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4178
4178
|
external_type_display_name: string;
|
|
4179
4179
|
access_schedule?: {
|
|
4180
4180
|
starts_at: string;
|
|
@@ -4264,9 +4264,9 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
4264
4264
|
})[];
|
|
4265
4265
|
acs_access_group_id: string;
|
|
4266
4266
|
acs_system_id: string;
|
|
4267
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4267
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4268
4268
|
access_group_type_display_name: string;
|
|
4269
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4269
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4270
4270
|
external_type_display_name: string;
|
|
4271
4271
|
access_schedule?: {
|
|
4272
4272
|
starts_at: string;
|
|
@@ -4279,10 +4279,10 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
4279
4279
|
workspace_id: z.ZodString;
|
|
4280
4280
|
connected_account_id: z.ZodString;
|
|
4281
4281
|
name: z.ZodString;
|
|
4282
|
-
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group"]>;
|
|
4282
|
+
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group", "kisi_access_group"]>;
|
|
4283
4283
|
access_group_type_display_name: z.ZodString;
|
|
4284
4284
|
display_name: z.ZodString;
|
|
4285
|
-
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group"]>;
|
|
4285
|
+
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group", "dormakaba_ambiance_access_group", "avigilon_alta_group", "kisi_access_group"]>;
|
|
4286
4286
|
external_type_display_name: z.ZodString;
|
|
4287
4287
|
created_at: z.ZodString;
|
|
4288
4288
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
@@ -4647,9 +4647,9 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
4647
4647
|
})[];
|
|
4648
4648
|
acs_access_group_id: string;
|
|
4649
4649
|
acs_system_id: string;
|
|
4650
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4650
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4651
4651
|
access_group_type_display_name: string;
|
|
4652
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4652
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4653
4653
|
external_type_display_name: string;
|
|
4654
4654
|
access_schedule?: {
|
|
4655
4655
|
starts_at: string;
|
|
@@ -4739,9 +4739,9 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
4739
4739
|
})[];
|
|
4740
4740
|
acs_access_group_id: string;
|
|
4741
4741
|
acs_system_id: string;
|
|
4742
|
-
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4742
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4743
4743
|
access_group_type_display_name: string;
|
|
4744
|
-
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group";
|
|
4744
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group" | "avigilon_alta_group" | "kisi_access_group";
|
|
4745
4745
|
external_type_display_name: string;
|
|
4746
4746
|
access_schedule?: {
|
|
4747
4747
|
starts_at: string;
|
|
@@ -28888,6 +28888,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28888
28888
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
28889
28889
|
acs_entrance_id: z.ZodOptional<z.ZodString>;
|
|
28890
28890
|
device_id: z.ZodOptional<z.ZodString>;
|
|
28891
|
+
reason: z.ZodOptional<z.ZodObject<{
|
|
28892
|
+
reason_code: z.ZodEnum<["unknown_code", "expired_code", "blocklisted_code", "too_many_attempts", "blocked_by_privacy_mode", "credential_error"]>;
|
|
28893
|
+
message: z.ZodString;
|
|
28894
|
+
}, "strip", z.ZodTypeAny, {
|
|
28895
|
+
message: string;
|
|
28896
|
+
reason_code: "unknown_code" | "expired_code" | "blocklisted_code" | "too_many_attempts" | "blocked_by_privacy_mode" | "credential_error";
|
|
28897
|
+
}, {
|
|
28898
|
+
message: string;
|
|
28899
|
+
reason_code: "unknown_code" | "expired_code" | "blocklisted_code" | "too_many_attempts" | "blocked_by_privacy_mode" | "credential_error";
|
|
28900
|
+
}>>;
|
|
28891
28901
|
}, "strip", z.ZodTypeAny, {
|
|
28892
28902
|
workspace_id: string;
|
|
28893
28903
|
created_at: string;
|
|
@@ -28898,6 +28908,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28898
28908
|
device_id?: string | undefined;
|
|
28899
28909
|
customer_key?: string | undefined;
|
|
28900
28910
|
access_code_id?: string | undefined;
|
|
28911
|
+
reason?: {
|
|
28912
|
+
message: string;
|
|
28913
|
+
reason_code: "unknown_code" | "expired_code" | "blocklisted_code" | "too_many_attempts" | "blocked_by_privacy_mode" | "credential_error";
|
|
28914
|
+
} | undefined;
|
|
28901
28915
|
user_identity_id?: string | undefined;
|
|
28902
28916
|
acs_user_id?: string | undefined;
|
|
28903
28917
|
acs_entrance_id?: string | undefined;
|
|
@@ -28915,6 +28929,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28915
28929
|
device_id?: string | undefined;
|
|
28916
28930
|
customer_key?: string | undefined;
|
|
28917
28931
|
access_code_id?: string | undefined;
|
|
28932
|
+
reason?: {
|
|
28933
|
+
message: string;
|
|
28934
|
+
reason_code: "unknown_code" | "expired_code" | "blocklisted_code" | "too_many_attempts" | "blocked_by_privacy_mode" | "credential_error";
|
|
28935
|
+
} | undefined;
|
|
28918
28936
|
user_identity_id?: string | undefined;
|
|
28919
28937
|
acs_user_id?: string | undefined;
|
|
28920
28938
|
acs_entrance_id?: string | undefined;
|
|
@@ -43884,14 +43902,14 @@ type Routes = {
|
|
|
43884
43902
|
name: string;
|
|
43885
43903
|
/**
|
|
43886
43904
|
* @deprecated Use `external_type`.*/
|
|
43887
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
43905
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
43888
43906
|
/**
|
|
43889
43907
|
* @deprecated Use `external_type_display_name`.*/
|
|
43890
43908
|
access_group_type_display_name: string;
|
|
43891
43909
|
/** Display name for the access group. */
|
|
43892
43910
|
display_name: string;
|
|
43893
43911
|
/** Brand-specific terminology for the access group type. */
|
|
43894
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
43912
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
43895
43913
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
43896
43914
|
external_type_display_name: string;
|
|
43897
43915
|
/** Date and time at which the access group was created. */
|
|
@@ -52864,14 +52882,14 @@ type Routes = {
|
|
|
52864
52882
|
name: string;
|
|
52865
52883
|
/**
|
|
52866
52884
|
* @deprecated Use `external_type`.*/
|
|
52867
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
52885
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
52868
52886
|
/**
|
|
52869
52887
|
* @deprecated Use `external_type_display_name`.*/
|
|
52870
52888
|
access_group_type_display_name: string;
|
|
52871
52889
|
/** Display name for the access group. */
|
|
52872
52890
|
display_name: string;
|
|
52873
52891
|
/** Brand-specific terminology for the access group type. */
|
|
52874
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
52892
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
52875
52893
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
52876
52894
|
external_type_display_name: string;
|
|
52877
52895
|
/** Date and time at which the access group was created. */
|
|
@@ -53050,14 +53068,14 @@ type Routes = {
|
|
|
53050
53068
|
name: string;
|
|
53051
53069
|
/**
|
|
53052
53070
|
* @deprecated Use `external_type`.*/
|
|
53053
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53071
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53054
53072
|
/**
|
|
53055
53073
|
* @deprecated Use `external_type_display_name`.*/
|
|
53056
53074
|
access_group_type_display_name: string;
|
|
53057
53075
|
/** Display name for the access group. */
|
|
53058
53076
|
display_name: string;
|
|
53059
53077
|
/** Brand-specific terminology for the access group type. */
|
|
53060
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53078
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53061
53079
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
53062
53080
|
external_type_display_name: string;
|
|
53063
53081
|
/** Date and time at which the access group was created. */
|
|
@@ -53717,14 +53735,14 @@ type Routes = {
|
|
|
53717
53735
|
name: string;
|
|
53718
53736
|
/**
|
|
53719
53737
|
* @deprecated Use `external_type`.*/
|
|
53720
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53738
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53721
53739
|
/**
|
|
53722
53740
|
* @deprecated Use `external_type_display_name`.*/
|
|
53723
53741
|
access_group_type_display_name: string;
|
|
53724
53742
|
/** Display name for the access group. */
|
|
53725
53743
|
display_name: string;
|
|
53726
53744
|
/** Brand-specific terminology for the access group type. */
|
|
53727
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53745
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53728
53746
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
53729
53747
|
external_type_display_name: string;
|
|
53730
53748
|
/** Date and time at which the access group was created. */
|
|
@@ -53900,14 +53918,14 @@ type Routes = {
|
|
|
53900
53918
|
name: string;
|
|
53901
53919
|
/**
|
|
53902
53920
|
* @deprecated Use `external_type`.*/
|
|
53903
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53921
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53904
53922
|
/**
|
|
53905
53923
|
* @deprecated Use `external_type_display_name`.*/
|
|
53906
53924
|
access_group_type_display_name: string;
|
|
53907
53925
|
/** Display name for the access group. */
|
|
53908
53926
|
display_name: string;
|
|
53909
53927
|
/** Brand-specific terminology for the access group type. */
|
|
53910
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
53928
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
53911
53929
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
53912
53930
|
external_type_display_name: string;
|
|
53913
53931
|
/** Date and time at which the access group was created. */
|
|
@@ -78277,6 +78295,13 @@ type Routes = {
|
|
|
78277
78295
|
ID of the ACS entrance associated with the access-denied event.
|
|
78278
78296
|
*/
|
|
78279
78297
|
acs_entrance_id?: string | undefined;
|
|
78298
|
+
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
78299
|
+
reason?: {
|
|
78300
|
+
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
78301
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
78302
|
+
/** Human-readable explanation of why access was denied. */
|
|
78303
|
+
message: string;
|
|
78304
|
+
} | undefined;
|
|
78280
78305
|
} | {
|
|
78281
78306
|
/** ID of the event. */
|
|
78282
78307
|
event_id: string;
|
|
@@ -81536,6 +81561,13 @@ type Routes = {
|
|
|
81536
81561
|
ID of the ACS entrance associated with the access-denied event.
|
|
81537
81562
|
*/
|
|
81538
81563
|
acs_entrance_id?: string | undefined;
|
|
81564
|
+
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
81565
|
+
reason?: {
|
|
81566
|
+
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
81567
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
81568
|
+
/** Human-readable explanation of why access was denied. */
|
|
81569
|
+
message: string;
|
|
81570
|
+
} | undefined;
|
|
81539
81571
|
} | {
|
|
81540
81572
|
/** ID of the event. */
|
|
81541
81573
|
event_id: string;
|
|
@@ -111300,6 +111332,13 @@ type Routes = {
|
|
|
111300
111332
|
ID of the ACS entrance associated with the access-denied event.
|
|
111301
111333
|
*/
|
|
111302
111334
|
acs_entrance_id?: string | undefined;
|
|
111335
|
+
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
111336
|
+
reason?: {
|
|
111337
|
+
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
111338
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
111339
|
+
/** Human-readable explanation of why access was denied. */
|
|
111340
|
+
message: string;
|
|
111341
|
+
} | undefined;
|
|
111303
111342
|
} | {
|
|
111304
111343
|
/** ID of the event. */
|
|
111305
111344
|
event_id: string;
|
|
@@ -143253,14 +143292,14 @@ type Routes = {
|
|
|
143253
143292
|
name: string;
|
|
143254
143293
|
/**
|
|
143255
143294
|
* @deprecated Use `external_type`.*/
|
|
143256
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
143295
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
143257
143296
|
/**
|
|
143258
143297
|
* @deprecated Use `external_type_display_name`.*/
|
|
143259
143298
|
access_group_type_display_name: string;
|
|
143260
143299
|
/** Display name for the access group. */
|
|
143261
143300
|
display_name: string;
|
|
143262
143301
|
/** Brand-specific terminology for the access group type. */
|
|
143263
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
143302
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
143264
143303
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
143265
143304
|
external_type_display_name: string;
|
|
143266
143305
|
/** Date and time at which the access group was created. */
|
|
@@ -145383,14 +145422,14 @@ type Routes = {
|
|
|
145383
145422
|
name: string;
|
|
145384
145423
|
/**
|
|
145385
145424
|
* @deprecated Use `external_type`.*/
|
|
145386
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
145425
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
145387
145426
|
/**
|
|
145388
145427
|
* @deprecated Use `external_type_display_name`.*/
|
|
145389
145428
|
access_group_type_display_name: string;
|
|
145390
145429
|
/** Display name for the access group. */
|
|
145391
145430
|
display_name: string;
|
|
145392
145431
|
/** Brand-specific terminology for the access group type. */
|
|
145393
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group';
|
|
145432
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group';
|
|
145394
145433
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
145395
145434
|
external_type_display_name: string;
|
|
145396
145435
|
/** Date and time at which the access group was created. */
|
|
@@ -149395,6 +149434,13 @@ type Routes = {
|
|
|
149395
149434
|
ID of the ACS entrance associated with the access-denied event.
|
|
149396
149435
|
*/
|
|
149397
149436
|
acs_entrance_id?: string | undefined;
|
|
149437
|
+
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
149438
|
+
reason?: {
|
|
149439
|
+
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
149440
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
149441
|
+
/** Human-readable explanation of why access was denied. */
|
|
149442
|
+
message: string;
|
|
149443
|
+
} | undefined;
|
|
149398
149444
|
} | {
|
|
149399
149445
|
/** ID of the event. */
|
|
149400
149446
|
event_id: string;
|
package/dist/index.cjs
CHANGED
|
@@ -3459,7 +3459,8 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
3459
3459
|
"salto_space_group",
|
|
3460
3460
|
"dormakaba_community_access_group",
|
|
3461
3461
|
"dormakaba_ambiance_access_group",
|
|
3462
|
-
"avigilon_alta_group"
|
|
3462
|
+
"avigilon_alta_group",
|
|
3463
|
+
"kisi_access_group"
|
|
3463
3464
|
]);
|
|
3464
3465
|
var common_acs_access_group_error = zod.z.object({
|
|
3465
3466
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -5616,6 +5617,16 @@ var common_event_warning = zod.z.object({
|
|
|
5616
5617
|
}).describe(
|
|
5617
5618
|
"Warning associated with the resource, including the warning code, message, and creation timestamp."
|
|
5618
5619
|
);
|
|
5620
|
+
var lock_access_denied_reason = zod.z.enum([
|
|
5621
|
+
"unknown_code",
|
|
5622
|
+
"expired_code",
|
|
5623
|
+
"blocklisted_code",
|
|
5624
|
+
"too_many_attempts",
|
|
5625
|
+
"blocked_by_privacy_mode",
|
|
5626
|
+
"credential_error"
|
|
5627
|
+
]).describe(
|
|
5628
|
+
"Normalized reason a lock denied access. Provider-agnostic; not all providers report every value."
|
|
5629
|
+
);
|
|
5619
5630
|
|
|
5620
5631
|
// src/lib/seam/connect/models/events/access-codes.ts
|
|
5621
5632
|
var access_code_event = common_event.extend({
|
|
@@ -6782,7 +6793,13 @@ var lock_access_denied_event = device_event.extend({
|
|
|
6782
6793
|
---
|
|
6783
6794
|
ID of the ACS entrance associated with the access-denied event.
|
|
6784
6795
|
`),
|
|
6785
|
-
device_id: zod.z.string().uuid().optional().describe("ID of the affected device.")
|
|
6796
|
+
device_id: zod.z.string().uuid().optional().describe("ID of the affected device."),
|
|
6797
|
+
reason: zod.z.object({
|
|
6798
|
+
reason_code: lock_access_denied_reason,
|
|
6799
|
+
message: zod.z.string().describe("Human-readable explanation of why access was denied.")
|
|
6800
|
+
}).optional().describe(
|
|
6801
|
+
"Why access was denied, when the provider reports a determinable cause. Omitted when unknown."
|
|
6802
|
+
)
|
|
6786
6803
|
}).describe(`
|
|
6787
6804
|
---
|
|
6788
6805
|
route_path: /locks
|
|
@@ -9976,7 +9993,8 @@ var openapi = {
|
|
|
9976
9993
|
"salto_space_group",
|
|
9977
9994
|
"dormakaba_community_access_group",
|
|
9978
9995
|
"dormakaba_ambiance_access_group",
|
|
9979
|
-
"avigilon_alta_group"
|
|
9996
|
+
"avigilon_alta_group",
|
|
9997
|
+
"kisi_access_group"
|
|
9980
9998
|
],
|
|
9981
9999
|
type: "string",
|
|
9982
10000
|
"x-deprecated": "Use `external_type`."
|
|
@@ -10070,7 +10088,8 @@ var openapi = {
|
|
|
10070
10088
|
"salto_space_group",
|
|
10071
10089
|
"dormakaba_community_access_group",
|
|
10072
10090
|
"dormakaba_ambiance_access_group",
|
|
10073
|
-
"avigilon_alta_group"
|
|
10091
|
+
"avigilon_alta_group",
|
|
10092
|
+
"kisi_access_group"
|
|
10074
10093
|
],
|
|
10075
10094
|
type: "string"
|
|
10076
10095
|
},
|
|
@@ -31035,6 +31054,29 @@ var openapi = {
|
|
|
31035
31054
|
format: "date-time",
|
|
31036
31055
|
type: "string"
|
|
31037
31056
|
},
|
|
31057
|
+
reason: {
|
|
31058
|
+
description: "Why access was denied, when the provider reports a determinable cause. Omitted when unknown.",
|
|
31059
|
+
properties: {
|
|
31060
|
+
message: {
|
|
31061
|
+
description: "Human-readable explanation of why access was denied.",
|
|
31062
|
+
type: "string"
|
|
31063
|
+
},
|
|
31064
|
+
reason_code: {
|
|
31065
|
+
description: "Normalized reason a lock denied access. Provider-agnostic; not all providers report every value.",
|
|
31066
|
+
enum: [
|
|
31067
|
+
"unknown_code",
|
|
31068
|
+
"expired_code",
|
|
31069
|
+
"blocklisted_code",
|
|
31070
|
+
"too_many_attempts",
|
|
31071
|
+
"blocked_by_privacy_mode",
|
|
31072
|
+
"credential_error"
|
|
31073
|
+
],
|
|
31074
|
+
type: "string"
|
|
31075
|
+
}
|
|
31076
|
+
},
|
|
31077
|
+
required: ["reason_code", "message"],
|
|
31078
|
+
type: "object"
|
|
31079
|
+
},
|
|
31038
31080
|
user_identity_id: {
|
|
31039
31081
|
description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ",
|
|
31040
31082
|
format: "uuid",
|
|
@@ -35231,7 +35273,8 @@ var openapi = {
|
|
|
35231
35273
|
"salto_space_group",
|
|
35232
35274
|
"dormakaba_community_access_group",
|
|
35233
35275
|
"dormakaba_ambiance_access_group",
|
|
35234
|
-
"avigilon_alta_group"
|
|
35276
|
+
"avigilon_alta_group",
|
|
35277
|
+
"kisi_access_group"
|
|
35235
35278
|
],
|
|
35236
35279
|
type: "string",
|
|
35237
35280
|
"x-deprecated": "Use `external_type`."
|
|
@@ -35325,7 +35368,8 @@ var openapi = {
|
|
|
35325
35368
|
"salto_space_group",
|
|
35326
35369
|
"dormakaba_community_access_group",
|
|
35327
35370
|
"dormakaba_ambiance_access_group",
|
|
35328
|
-
"avigilon_alta_group"
|
|
35371
|
+
"avigilon_alta_group",
|
|
35372
|
+
"kisi_access_group"
|
|
35329
35373
|
],
|
|
35330
35374
|
type: "string"
|
|
35331
35375
|
},
|