@seamapi/types 1.827.0 → 1.829.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 +147 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +371 -30
- package/dist/index.cjs +147 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +18 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +43 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +1 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.d.ts +27 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js +17 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js.map +1 -0
- package/lib/seam/connect/models/batch.d.ts +83 -10
- package/lib/seam/connect/models/events/access-grants.d.ts +6 -0
- package/lib/seam/connect/models/events/access-grants.js +4 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +176 -0
- package/lib/seam/connect/openapi.js +124 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +231 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/models/acs/metadata/avigilon-alta.ts +21 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +140 -2
- package/src/lib/seam/connect/route-types.ts +253 -14
|
@@ -11135,6 +11135,8 @@ export type Routes = {
|
|
|
11135
11135
|
message: string;
|
|
11136
11136
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11137
11137
|
error_code: 'cannot_create_requested_access_methods';
|
|
11138
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
11139
|
+
missing_device_ids?: string[] | undefined;
|
|
11138
11140
|
}[];
|
|
11139
11141
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11140
11142
|
customization_profile_id?: string | undefined;
|
|
@@ -11343,6 +11345,8 @@ export type Routes = {
|
|
|
11343
11345
|
message: string;
|
|
11344
11346
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11345
11347
|
error_code: 'cannot_create_requested_access_methods';
|
|
11348
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
11349
|
+
missing_device_ids?: string[] | undefined;
|
|
11346
11350
|
}[];
|
|
11347
11351
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11348
11352
|
customization_profile_id?: string | undefined;
|
|
@@ -12895,6 +12899,23 @@ export type Routes = {
|
|
|
12895
12899
|
/** Name of the site that the access point belongs to. */
|
|
12896
12900
|
site_name: string;
|
|
12897
12901
|
} | undefined;
|
|
12902
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
12903
|
+
avigilon_alta_metadata?: {
|
|
12904
|
+
/** Entry name for an Avigilon Alta system. */
|
|
12905
|
+
entry_name: string;
|
|
12906
|
+
/** Organization name for an Avigilon Alta system. */
|
|
12907
|
+
org_name: string;
|
|
12908
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
12909
|
+
zone_id: number;
|
|
12910
|
+
/** Zone name for an Avigilon Alta system. */
|
|
12911
|
+
zone_name: string;
|
|
12912
|
+
/** Site ID for an Avigilon Alta system. */
|
|
12913
|
+
site_id: number;
|
|
12914
|
+
/** Site name for an Avigilon Alta system. */
|
|
12915
|
+
site_name: string;
|
|
12916
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
12917
|
+
entry_relays_total_count: number;
|
|
12918
|
+
} | undefined;
|
|
12898
12919
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
12899
12920
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
12900
12921
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -13052,7 +13073,7 @@ export type Routes = {
|
|
|
13052
13073
|
acs_user_count?: number | undefined;
|
|
13053
13074
|
acs_access_group_count?: number | undefined;
|
|
13054
13075
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
13055
|
-
external_type?: ('pti_site' | '
|
|
13076
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
13056
13077
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
13057
13078
|
external_type_display_name?: string | undefined;
|
|
13058
13079
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -13067,7 +13088,7 @@ export type Routes = {
|
|
|
13067
13088
|
} | undefined;
|
|
13068
13089
|
/**
|
|
13069
13090
|
* @deprecated Use `external_type`.*/
|
|
13070
|
-
system_type?: ('pti_site' | '
|
|
13091
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
13071
13092
|
/**
|
|
13072
13093
|
* @deprecated Use `external_type_display_name`.*/
|
|
13073
13094
|
system_type_display_name?: string | undefined;
|
|
@@ -13650,6 +13671,8 @@ export type Routes = {
|
|
|
13650
13671
|
message: string;
|
|
13651
13672
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13652
13673
|
error_code: 'cannot_create_requested_access_methods';
|
|
13674
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
13675
|
+
missing_device_ids?: string[] | undefined;
|
|
13653
13676
|
}[];
|
|
13654
13677
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13655
13678
|
customization_profile_id?: string | undefined;
|
|
@@ -13860,6 +13883,8 @@ export type Routes = {
|
|
|
13860
13883
|
message: string;
|
|
13861
13884
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13862
13885
|
error_code: 'cannot_create_requested_access_methods';
|
|
13886
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
13887
|
+
missing_device_ids?: string[] | undefined;
|
|
13863
13888
|
}[];
|
|
13864
13889
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13865
13890
|
customization_profile_id?: string | undefined;
|
|
@@ -14044,6 +14069,8 @@ export type Routes = {
|
|
|
14044
14069
|
message: string;
|
|
14045
14070
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14046
14071
|
error_code: 'cannot_create_requested_access_methods';
|
|
14072
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
14073
|
+
missing_device_ids?: string[] | undefined;
|
|
14047
14074
|
}[];
|
|
14048
14075
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
14049
14076
|
pending_mutations: ({
|
|
@@ -14237,6 +14264,8 @@ export type Routes = {
|
|
|
14237
14264
|
message: string;
|
|
14238
14265
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14239
14266
|
error_code: 'cannot_create_requested_access_methods';
|
|
14267
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
14268
|
+
missing_device_ids?: string[] | undefined;
|
|
14240
14269
|
}[];
|
|
14241
14270
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
14242
14271
|
pending_mutations: ({
|
|
@@ -17318,6 +17347,23 @@ export type Routes = {
|
|
|
17318
17347
|
/** Name of the site that the access point belongs to. */
|
|
17319
17348
|
site_name: string;
|
|
17320
17349
|
} | undefined;
|
|
17350
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
17351
|
+
avigilon_alta_metadata?: {
|
|
17352
|
+
/** Entry name for an Avigilon Alta system. */
|
|
17353
|
+
entry_name: string;
|
|
17354
|
+
/** Organization name for an Avigilon Alta system. */
|
|
17355
|
+
org_name: string;
|
|
17356
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
17357
|
+
zone_id: number;
|
|
17358
|
+
/** Zone name for an Avigilon Alta system. */
|
|
17359
|
+
zone_name: string;
|
|
17360
|
+
/** Site ID for an Avigilon Alta system. */
|
|
17361
|
+
site_id: number;
|
|
17362
|
+
/** Site name for an Avigilon Alta system. */
|
|
17363
|
+
site_name: string;
|
|
17364
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
17365
|
+
entry_relays_total_count: number;
|
|
17366
|
+
} | undefined;
|
|
17321
17367
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
17322
17368
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
17323
17369
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -17458,6 +17504,8 @@ export type Routes = {
|
|
|
17458
17504
|
message: string;
|
|
17459
17505
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
17460
17506
|
error_code: 'cannot_create_requested_access_methods';
|
|
17507
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
17508
|
+
missing_device_ids?: string[] | undefined;
|
|
17461
17509
|
}[];
|
|
17462
17510
|
/** ID of the customization profile associated with the Access Grant. */
|
|
17463
17511
|
customization_profile_id?: string | undefined;
|
|
@@ -18710,6 +18758,23 @@ export type Routes = {
|
|
|
18710
18758
|
/** Name of the site that the access point belongs to. */
|
|
18711
18759
|
site_name: string;
|
|
18712
18760
|
} | undefined;
|
|
18761
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
18762
|
+
avigilon_alta_metadata?: {
|
|
18763
|
+
/** Entry name for an Avigilon Alta system. */
|
|
18764
|
+
entry_name: string;
|
|
18765
|
+
/** Organization name for an Avigilon Alta system. */
|
|
18766
|
+
org_name: string;
|
|
18767
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
18768
|
+
zone_id: number;
|
|
18769
|
+
/** Zone name for an Avigilon Alta system. */
|
|
18770
|
+
zone_name: string;
|
|
18771
|
+
/** Site ID for an Avigilon Alta system. */
|
|
18772
|
+
site_id: number;
|
|
18773
|
+
/** Site name for an Avigilon Alta system. */
|
|
18774
|
+
site_name: string;
|
|
18775
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
18776
|
+
entry_relays_total_count: number;
|
|
18777
|
+
} | undefined;
|
|
18713
18778
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
18714
18779
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
18715
18780
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -20388,6 +20453,23 @@ export type Routes = {
|
|
|
20388
20453
|
/** Name of the site that the access point belongs to. */
|
|
20389
20454
|
site_name: string;
|
|
20390
20455
|
} | undefined;
|
|
20456
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20457
|
+
avigilon_alta_metadata?: {
|
|
20458
|
+
/** Entry name for an Avigilon Alta system. */
|
|
20459
|
+
entry_name: string;
|
|
20460
|
+
/** Organization name for an Avigilon Alta system. */
|
|
20461
|
+
org_name: string;
|
|
20462
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
20463
|
+
zone_id: number;
|
|
20464
|
+
/** Zone name for an Avigilon Alta system. */
|
|
20465
|
+
zone_name: string;
|
|
20466
|
+
/** Site ID for an Avigilon Alta system. */
|
|
20467
|
+
site_id: number;
|
|
20468
|
+
/** Site name for an Avigilon Alta system. */
|
|
20469
|
+
site_name: string;
|
|
20470
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
20471
|
+
entry_relays_total_count: number;
|
|
20472
|
+
} | undefined;
|
|
20391
20473
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
20392
20474
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
20393
20475
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -24024,6 +24106,23 @@ export type Routes = {
|
|
|
24024
24106
|
/** Name of the site that the access point belongs to. */
|
|
24025
24107
|
site_name: string;
|
|
24026
24108
|
} | undefined;
|
|
24109
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24110
|
+
avigilon_alta_metadata?: {
|
|
24111
|
+
/** Entry name for an Avigilon Alta system. */
|
|
24112
|
+
entry_name: string;
|
|
24113
|
+
/** Organization name for an Avigilon Alta system. */
|
|
24114
|
+
org_name: string;
|
|
24115
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
24116
|
+
zone_id: number;
|
|
24117
|
+
/** Zone name for an Avigilon Alta system. */
|
|
24118
|
+
zone_name: string;
|
|
24119
|
+
/** Site ID for an Avigilon Alta system. */
|
|
24120
|
+
site_id: number;
|
|
24121
|
+
/** Site name for an Avigilon Alta system. */
|
|
24122
|
+
site_name: string;
|
|
24123
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
24124
|
+
entry_relays_total_count: number;
|
|
24125
|
+
} | undefined;
|
|
24027
24126
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
24028
24127
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
24029
24128
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -24205,6 +24304,23 @@ export type Routes = {
|
|
|
24205
24304
|
/** Name of the site that the access point belongs to. */
|
|
24206
24305
|
site_name: string;
|
|
24207
24306
|
} | undefined;
|
|
24307
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24308
|
+
avigilon_alta_metadata?: {
|
|
24309
|
+
/** Entry name for an Avigilon Alta system. */
|
|
24310
|
+
entry_name: string;
|
|
24311
|
+
/** Organization name for an Avigilon Alta system. */
|
|
24312
|
+
org_name: string;
|
|
24313
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
24314
|
+
zone_id: number;
|
|
24315
|
+
/** Zone name for an Avigilon Alta system. */
|
|
24316
|
+
zone_name: string;
|
|
24317
|
+
/** Site ID for an Avigilon Alta system. */
|
|
24318
|
+
site_id: number;
|
|
24319
|
+
/** Site name for an Avigilon Alta system. */
|
|
24320
|
+
site_name: string;
|
|
24321
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
24322
|
+
entry_relays_total_count: number;
|
|
24323
|
+
} | undefined;
|
|
24208
24324
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
24209
24325
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
24210
24326
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -25741,7 +25857,7 @@ export type Routes = {
|
|
|
25741
25857
|
acs_user_count?: number | undefined;
|
|
25742
25858
|
acs_access_group_count?: number | undefined;
|
|
25743
25859
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
25744
|
-
external_type?: ('pti_site' | '
|
|
25860
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
25745
25861
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
25746
25862
|
external_type_display_name?: string | undefined;
|
|
25747
25863
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -25756,7 +25872,7 @@ export type Routes = {
|
|
|
25756
25872
|
} | undefined;
|
|
25757
25873
|
/**
|
|
25758
25874
|
* @deprecated Use `external_type`.*/
|
|
25759
|
-
system_type?: ('pti_site' | '
|
|
25875
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
25760
25876
|
/**
|
|
25761
25877
|
* @deprecated Use `external_type_display_name`.*/
|
|
25762
25878
|
system_type_display_name?: string | undefined;
|
|
@@ -25877,7 +25993,7 @@ export type Routes = {
|
|
|
25877
25993
|
acs_user_count?: number | undefined;
|
|
25878
25994
|
acs_access_group_count?: number | undefined;
|
|
25879
25995
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
25880
|
-
external_type?: ('pti_site' | '
|
|
25996
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
25881
25997
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
25882
25998
|
external_type_display_name?: string | undefined;
|
|
25883
25999
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -25892,7 +26008,7 @@ export type Routes = {
|
|
|
25892
26008
|
} | undefined;
|
|
25893
26009
|
/**
|
|
25894
26010
|
* @deprecated Use `external_type`.*/
|
|
25895
|
-
system_type?: ('pti_site' | '
|
|
26011
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
25896
26012
|
/**
|
|
25897
26013
|
* @deprecated Use `external_type_display_name`.*/
|
|
25898
26014
|
system_type_display_name?: string | undefined;
|
|
@@ -26009,7 +26125,7 @@ export type Routes = {
|
|
|
26009
26125
|
acs_user_count?: number | undefined;
|
|
26010
26126
|
acs_access_group_count?: number | undefined;
|
|
26011
26127
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
26012
|
-
external_type?: ('pti_site' | '
|
|
26128
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
26013
26129
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
26014
26130
|
external_type_display_name?: string | undefined;
|
|
26015
26131
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -26024,7 +26140,7 @@ export type Routes = {
|
|
|
26024
26140
|
} | undefined;
|
|
26025
26141
|
/**
|
|
26026
26142
|
* @deprecated Use `external_type`.*/
|
|
26027
|
-
system_type?: ('pti_site' | '
|
|
26143
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
26028
26144
|
/**
|
|
26029
26145
|
* @deprecated Use `external_type_display_name`.*/
|
|
26030
26146
|
system_type_display_name?: string | undefined;
|
|
@@ -27129,6 +27245,23 @@ export type Routes = {
|
|
|
27129
27245
|
/** Name of the site that the access point belongs to. */
|
|
27130
27246
|
site_name: string;
|
|
27131
27247
|
} | undefined;
|
|
27248
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27249
|
+
avigilon_alta_metadata?: {
|
|
27250
|
+
/** Entry name for an Avigilon Alta system. */
|
|
27251
|
+
entry_name: string;
|
|
27252
|
+
/** Organization name for an Avigilon Alta system. */
|
|
27253
|
+
org_name: string;
|
|
27254
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
27255
|
+
zone_id: number;
|
|
27256
|
+
/** Zone name for an Avigilon Alta system. */
|
|
27257
|
+
zone_name: string;
|
|
27258
|
+
/** Site ID for an Avigilon Alta system. */
|
|
27259
|
+
site_id: number;
|
|
27260
|
+
/** Site name for an Avigilon Alta system. */
|
|
27261
|
+
site_name: string;
|
|
27262
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
27263
|
+
entry_relays_total_count: number;
|
|
27264
|
+
} | undefined;
|
|
27132
27265
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
27133
27266
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
27134
27267
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -37116,6 +37249,8 @@ export type Routes = {
|
|
|
37116
37249
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
37117
37250
|
/** Description of why the access methods could not be created. */
|
|
37118
37251
|
error_message: string;
|
|
37252
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
37253
|
+
missing_device_ids?: string[] | undefined;
|
|
37119
37254
|
} | {
|
|
37120
37255
|
/** ID of the event. */
|
|
37121
37256
|
event_id: string;
|
|
@@ -39960,6 +40095,8 @@ export type Routes = {
|
|
|
39960
40095
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
39961
40096
|
/** Description of why the access methods could not be created. */
|
|
39962
40097
|
error_message: string;
|
|
40098
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
40099
|
+
missing_device_ids?: string[] | undefined;
|
|
39963
40100
|
} | {
|
|
39964
40101
|
/** ID of the event. */
|
|
39965
40102
|
event_id: string;
|
|
@@ -61983,6 +62120,8 @@ export type Routes = {
|
|
|
61983
62120
|
message: string;
|
|
61984
62121
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
61985
62122
|
error_code: 'cannot_create_requested_access_methods';
|
|
62123
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
62124
|
+
missing_device_ids?: string[] | undefined;
|
|
61986
62125
|
}[];
|
|
61987
62126
|
/** ID of the customization profile associated with the Access Grant. */
|
|
61988
62127
|
customization_profile_id?: string | undefined;
|
|
@@ -65008,6 +65147,8 @@ export type Routes = {
|
|
|
65008
65147
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
65009
65148
|
/** Description of why the access methods could not be created. */
|
|
65010
65149
|
error_message: string;
|
|
65150
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
65151
|
+
missing_device_ids?: string[] | undefined;
|
|
65011
65152
|
} | {
|
|
65012
65153
|
/** ID of the event. */
|
|
65013
65154
|
event_id: string;
|
|
@@ -67557,6 +67698,8 @@ export type Routes = {
|
|
|
67557
67698
|
message: string;
|
|
67558
67699
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67559
67700
|
error_code: 'cannot_create_requested_access_methods';
|
|
67701
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
67702
|
+
missing_device_ids?: string[] | undefined;
|
|
67560
67703
|
}[];
|
|
67561
67704
|
/** ID of the customization profile associated with the Access Grant. */
|
|
67562
67705
|
customization_profile_id?: string | undefined;
|
|
@@ -68021,6 +68164,8 @@ export type Routes = {
|
|
|
68021
68164
|
message: string;
|
|
68022
68165
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68023
68166
|
error_code: 'cannot_create_requested_access_methods';
|
|
68167
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
68168
|
+
missing_device_ids?: string[] | undefined;
|
|
68024
68169
|
}[];
|
|
68025
68170
|
/** ID of the customization profile associated with the Access Grant. */
|
|
68026
68171
|
customization_profile_id?: string | undefined;
|
|
@@ -68662,6 +68807,23 @@ export type Routes = {
|
|
|
68662
68807
|
/** Name of the site that the access point belongs to. */
|
|
68663
68808
|
site_name: string;
|
|
68664
68809
|
} | undefined;
|
|
68810
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
68811
|
+
avigilon_alta_metadata?: {
|
|
68812
|
+
/** Entry name for an Avigilon Alta system. */
|
|
68813
|
+
entry_name: string;
|
|
68814
|
+
/** Organization name for an Avigilon Alta system. */
|
|
68815
|
+
org_name: string;
|
|
68816
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
68817
|
+
zone_id: number;
|
|
68818
|
+
/** Zone name for an Avigilon Alta system. */
|
|
68819
|
+
zone_name: string;
|
|
68820
|
+
/** Site ID for an Avigilon Alta system. */
|
|
68821
|
+
site_id: number;
|
|
68822
|
+
/** Site name for an Avigilon Alta system. */
|
|
68823
|
+
site_name: string;
|
|
68824
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
68825
|
+
entry_relays_total_count: number;
|
|
68826
|
+
} | undefined;
|
|
68665
68827
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
68666
68828
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
68667
68829
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -70456,6 +70618,23 @@ export type Routes = {
|
|
|
70456
70618
|
/** Name of the site that the access point belongs to. */
|
|
70457
70619
|
site_name: string;
|
|
70458
70620
|
} | undefined;
|
|
70621
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
70622
|
+
avigilon_alta_metadata?: {
|
|
70623
|
+
/** Entry name for an Avigilon Alta system. */
|
|
70624
|
+
entry_name: string;
|
|
70625
|
+
/** Organization name for an Avigilon Alta system. */
|
|
70626
|
+
org_name: string;
|
|
70627
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
70628
|
+
zone_id: number;
|
|
70629
|
+
/** Zone name for an Avigilon Alta system. */
|
|
70630
|
+
zone_name: string;
|
|
70631
|
+
/** Site ID for an Avigilon Alta system. */
|
|
70632
|
+
site_id: number;
|
|
70633
|
+
/** Site name for an Avigilon Alta system. */
|
|
70634
|
+
site_name: string;
|
|
70635
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
70636
|
+
entry_relays_total_count: number;
|
|
70637
|
+
} | undefined;
|
|
70459
70638
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
70460
70639
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
70461
70640
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -70613,7 +70792,7 @@ export type Routes = {
|
|
|
70613
70792
|
acs_user_count?: number | undefined;
|
|
70614
70793
|
acs_access_group_count?: number | undefined;
|
|
70615
70794
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
70616
|
-
external_type?: ('pti_site' | '
|
|
70795
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
70617
70796
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
70618
70797
|
external_type_display_name?: string | undefined;
|
|
70619
70798
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -70628,7 +70807,7 @@ export type Routes = {
|
|
|
70628
70807
|
} | undefined;
|
|
70629
70808
|
/**
|
|
70630
70809
|
* @deprecated Use `external_type`.*/
|
|
70631
|
-
system_type?: ('pti_site' | '
|
|
70810
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
70632
70811
|
/**
|
|
70633
70812
|
* @deprecated Use `external_type_display_name`.*/
|
|
70634
70813
|
system_type_display_name?: string | undefined;
|
|
@@ -91032,6 +91211,23 @@ export type Routes = {
|
|
|
91032
91211
|
/** Name of the site that the access point belongs to. */
|
|
91033
91212
|
site_name: string;
|
|
91034
91213
|
} | undefined;
|
|
91214
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
91215
|
+
avigilon_alta_metadata?: {
|
|
91216
|
+
/** Entry name for an Avigilon Alta system. */
|
|
91217
|
+
entry_name: string;
|
|
91218
|
+
/** Organization name for an Avigilon Alta system. */
|
|
91219
|
+
org_name: string;
|
|
91220
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
91221
|
+
zone_id: number;
|
|
91222
|
+
/** Zone name for an Avigilon Alta system. */
|
|
91223
|
+
zone_name: string;
|
|
91224
|
+
/** Site ID for an Avigilon Alta system. */
|
|
91225
|
+
site_id: number;
|
|
91226
|
+
/** Site name for an Avigilon Alta system. */
|
|
91227
|
+
site_name: string;
|
|
91228
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
91229
|
+
entry_relays_total_count: number;
|
|
91230
|
+
} | undefined;
|
|
91035
91231
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
91036
91232
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
91037
91233
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -91065,7 +91261,7 @@ export type Routes = {
|
|
|
91065
91261
|
acs_user_count?: number | undefined;
|
|
91066
91262
|
acs_access_group_count?: number | undefined;
|
|
91067
91263
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
91068
|
-
external_type?: ('pti_site' | '
|
|
91264
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
91069
91265
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
91070
91266
|
external_type_display_name?: string | undefined;
|
|
91071
91267
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -91080,7 +91276,7 @@ export type Routes = {
|
|
|
91080
91276
|
} | undefined;
|
|
91081
91277
|
/**
|
|
91082
91278
|
* @deprecated Use `external_type`.*/
|
|
91083
|
-
system_type?: ('pti_site' | '
|
|
91279
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
91084
91280
|
/**
|
|
91085
91281
|
* @deprecated Use `external_type_display_name`.*/
|
|
91086
91282
|
system_type_display_name?: string | undefined;
|
|
@@ -93474,6 +93670,23 @@ export type Routes = {
|
|
|
93474
93670
|
/** Name of the site that the access point belongs to. */
|
|
93475
93671
|
site_name: string;
|
|
93476
93672
|
} | undefined;
|
|
93673
|
+
/** Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
93674
|
+
avigilon_alta_metadata?: {
|
|
93675
|
+
/** Entry name for an Avigilon Alta system. */
|
|
93676
|
+
entry_name: string;
|
|
93677
|
+
/** Organization name for an Avigilon Alta system. */
|
|
93678
|
+
org_name: string;
|
|
93679
|
+
/** Zone ID for an Avigilon Alta system. */
|
|
93680
|
+
zone_id: number;
|
|
93681
|
+
/** Zone name for an Avigilon Alta system. */
|
|
93682
|
+
zone_name: string;
|
|
93683
|
+
/** Site ID for an Avigilon Alta system. */
|
|
93684
|
+
site_id: number;
|
|
93685
|
+
/** Site name for an Avigilon Alta system. */
|
|
93686
|
+
site_name: string;
|
|
93687
|
+
/** Total count of entry relays for an Avigilon Alta system. */
|
|
93688
|
+
entry_relays_total_count: number;
|
|
93689
|
+
} | undefined;
|
|
93477
93690
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
93478
93691
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
93479
93692
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -93493,7 +93706,7 @@ export type Routes = {
|
|
|
93493
93706
|
acs_user_count?: number | undefined;
|
|
93494
93707
|
acs_access_group_count?: number | undefined;
|
|
93495
93708
|
/** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
93496
|
-
external_type?: ('pti_site' | '
|
|
93709
|
+
external_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
93497
93710
|
/** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
|
|
93498
93711
|
external_type_display_name?: string | undefined;
|
|
93499
93712
|
/** Indicates whether the `acs_system` is a credential manager. */
|
|
@@ -93508,7 +93721,7 @@ export type Routes = {
|
|
|
93508
93721
|
} | undefined;
|
|
93509
93722
|
/**
|
|
93510
93723
|
* @deprecated Use `external_type`.*/
|
|
93511
|
-
system_type?: ('pti_site' | '
|
|
93724
|
+
system_type?: ('pti_site' | 'avigilon_alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community_site' | 'dormakaba_ambiance_site' | 'legic_connect_credential_service' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'hotek_site') | undefined;
|
|
93512
93725
|
/**
|
|
93513
93726
|
* @deprecated Use `external_type_display_name`.*/
|
|
93514
93727
|
system_type_display_name?: string | undefined;
|
|
@@ -96531,6 +96744,8 @@ export type Routes = {
|
|
|
96531
96744
|
message: string;
|
|
96532
96745
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
96533
96746
|
error_code: 'cannot_create_requested_access_methods';
|
|
96747
|
+
/** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
|
|
96748
|
+
missing_device_ids?: string[] | undefined;
|
|
96534
96749
|
}[];
|
|
96535
96750
|
/** ID of the customization profile associated with the Access Grant. */
|
|
96536
96751
|
customization_profile_id?: string | undefined;
|
|
@@ -97498,6 +97713,8 @@ export type Routes = {
|
|
|
97498
97713
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
97499
97714
|
/** Description of why the access methods could not be created. */
|
|
97500
97715
|
error_message: string;
|
|
97716
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
97717
|
+
missing_device_ids?: string[] | undefined;
|
|
97501
97718
|
} | {
|
|
97502
97719
|
/** ID of the event. */
|
|
97503
97720
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -23,6 +23,12 @@ const cannot_create_requested_access_methods_error =
|
|
|
23
23
|
error_code: z
|
|
24
24
|
.literal('cannot_create_requested_access_methods')
|
|
25
25
|
.describe(error_code_description),
|
|
26
|
+
missing_device_ids: z
|
|
27
|
+
.array(z.string().uuid())
|
|
28
|
+
.optional()
|
|
29
|
+
.describe(
|
|
30
|
+
'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
|
|
31
|
+
),
|
|
26
32
|
})
|
|
27
33
|
|
|
28
34
|
const common_access_grant_warning = z.object({
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { acs_entrance_avigilon_alta_metadata } from './metadata/avigilon-alta.js'
|
|
3
4
|
import { acs_entrance_dormakaba_ambiance_metadata } from './metadata/dormakaba-ambiance.js'
|
|
4
5
|
import {
|
|
5
6
|
acs_entrance_assa_abloy_vostio_metadata,
|
|
@@ -142,6 +143,11 @@ export const acs_entrance = z
|
|
|
142
143
|
.describe(
|
|
143
144
|
'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
144
145
|
),
|
|
146
|
+
avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata
|
|
147
|
+
.optional()
|
|
148
|
+
.describe(
|
|
149
|
+
'Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
150
|
+
),
|
|
145
151
|
})
|
|
146
152
|
.merge(acs_entrance_capability_flags).describe(`
|
|
147
153
|
---
|
|
@@ -17,7 +17,7 @@ export const acs_location = z.object({
|
|
|
17
17
|
// If changed, update seam.acs_system.external_type generated column
|
|
18
18
|
export const acs_system_external_type = z.enum([
|
|
19
19
|
'pti_site',
|
|
20
|
-
'
|
|
20
|
+
'avigilon_alta_org',
|
|
21
21
|
'salto_ks_site',
|
|
22
22
|
'salto_space_system',
|
|
23
23
|
'brivo_account',
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const acs_entrance_avigilon_alta_metadata = z
|
|
4
|
+
.object({
|
|
5
|
+
entry_name: z.string().describe('Entry name for an Avigilon Alta system.'),
|
|
6
|
+
org_name: z
|
|
7
|
+
.string()
|
|
8
|
+
.describe('Organization name for an Avigilon Alta system.'),
|
|
9
|
+
zone_id: z.number().describe('Zone ID for an Avigilon Alta system.'),
|
|
10
|
+
zone_name: z.string().describe('Zone name for an Avigilon Alta system.'),
|
|
11
|
+
site_id: z.number().describe('Site ID for an Avigilon Alta system.'),
|
|
12
|
+
site_name: z.string().describe('Site name for an Avigilon Alta system.'),
|
|
13
|
+
entry_relays_total_count: z
|
|
14
|
+
.number()
|
|
15
|
+
.describe('Total count of entry relays for an Avigilon Alta system.'),
|
|
16
|
+
})
|
|
17
|
+
.describe('Avigilon Alta-specific metadata associated with the entrance.')
|
|
18
|
+
|
|
19
|
+
export type AcsEntranceAvigilonAltaMetadata = z.infer<
|
|
20
|
+
typeof acs_entrance_avigilon_alta_metadata
|
|
21
|
+
>
|
|
@@ -113,6 +113,12 @@ export const access_grant_could_not_create_requested_access_methods_event =
|
|
|
113
113
|
error_message: z
|
|
114
114
|
.string()
|
|
115
115
|
.describe('Description of why the access methods could not be created.'),
|
|
116
|
+
missing_device_ids: z
|
|
117
|
+
.array(z.string().uuid())
|
|
118
|
+
.optional()
|
|
119
|
+
.describe(
|
|
120
|
+
'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
|
|
121
|
+
),
|
|
116
122
|
}).describe(`
|
|
117
123
|
---
|
|
118
124
|
route_path: /access_grants
|