@seamapi/types 1.307.0 → 1.309.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 +72 -39
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +149 -113
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +34 -13
- package/lib/seam/connect/models/acs/acs-system.js +11 -4
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +1 -0
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -10
- package/lib/seam/connect/models/devices/device-metadata.js +1 -2
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -14
- package/lib/seam/connect/models/devices/phone.d.ts +5 -10
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -10
- package/lib/seam/connect/openapi.d.ts +24 -21
- package/lib/seam/connect/openapi.js +54 -29
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +64 -44
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +15 -5
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -2
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +60 -32
- package/src/lib/seam/connect/route-types.ts +108 -66
|
@@ -4213,13 +4213,13 @@ export interface Routes {
|
|
|
4213
4213
|
name: string;
|
|
4214
4214
|
/**
|
|
4215
4215
|
* @deprecated Use `external_type`. */
|
|
4216
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | '
|
|
4216
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4217
4217
|
/**
|
|
4218
4218
|
* @deprecated Use `external_type_display_name`. */
|
|
4219
4219
|
access_group_type_display_name: string;
|
|
4220
4220
|
display_name: string;
|
|
4221
4221
|
/** Brand-specific terminology for the access group type. */
|
|
4222
|
-
external_type: 'pti_unit' | 'pti_access_level' | '
|
|
4222
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4223
4223
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4224
4224
|
external_type_display_name: string;
|
|
4225
4225
|
/** Date and time at which the access group was created. */
|
|
@@ -4252,13 +4252,13 @@ export interface Routes {
|
|
|
4252
4252
|
name: string;
|
|
4253
4253
|
/**
|
|
4254
4254
|
* @deprecated Use `external_type`. */
|
|
4255
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | '
|
|
4255
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4256
4256
|
/**
|
|
4257
4257
|
* @deprecated Use `external_type_display_name`. */
|
|
4258
4258
|
access_group_type_display_name: string;
|
|
4259
4259
|
display_name: string;
|
|
4260
4260
|
/** Brand-specific terminology for the access group type. */
|
|
4261
|
-
external_type: 'pti_unit' | 'pti_access_level' | '
|
|
4261
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4262
4262
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4263
4263
|
external_type_display_name: string;
|
|
4264
4264
|
/** Date and time at which the access group was created. */
|
|
@@ -4467,13 +4467,13 @@ export interface Routes {
|
|
|
4467
4467
|
name: string;
|
|
4468
4468
|
/**
|
|
4469
4469
|
* @deprecated Use `external_type`. */
|
|
4470
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | '
|
|
4470
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4471
4471
|
/**
|
|
4472
4472
|
* @deprecated Use `external_type_display_name`. */
|
|
4473
4473
|
access_group_type_display_name: string;
|
|
4474
4474
|
display_name: string;
|
|
4475
4475
|
/** Brand-specific terminology for the access group type. */
|
|
4476
|
-
external_type: 'pti_unit' | 'pti_access_level' | '
|
|
4476
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4477
4477
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4478
4478
|
external_type_display_name: string;
|
|
4479
4479
|
/** Date and time at which the access group was created. */
|
|
@@ -4506,13 +4506,13 @@ export interface Routes {
|
|
|
4506
4506
|
name: string;
|
|
4507
4507
|
/**
|
|
4508
4508
|
* @deprecated Use `external_type`. */
|
|
4509
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | '
|
|
4509
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4510
4510
|
/**
|
|
4511
4511
|
* @deprecated Use `external_type_display_name`. */
|
|
4512
4512
|
access_group_type_display_name: string;
|
|
4513
4513
|
display_name: string;
|
|
4514
4514
|
/** Brand-specific terminology for the access group type. */
|
|
4515
|
-
external_type: 'pti_unit' | 'pti_access_level' | '
|
|
4515
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group';
|
|
4516
4516
|
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4517
4517
|
external_type_display_name: string;
|
|
4518
4518
|
/** Date and time at which the access group was created. */
|
|
@@ -7675,7 +7675,7 @@ export interface Routes {
|
|
|
7675
7675
|
/** ID of the `acs_system`. */
|
|
7676
7676
|
acs_system_id: string;
|
|
7677
7677
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
7678
|
-
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7678
|
+
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7679
7679
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
7680
7680
|
external_type_display_name?: string | undefined;
|
|
7681
7681
|
/** Indicates if the `acs_system` is a credential manager. */
|
|
@@ -7690,7 +7690,7 @@ export interface Routes {
|
|
|
7690
7690
|
} | undefined;
|
|
7691
7691
|
/**
|
|
7692
7692
|
* @deprecated Use `external_type`. */
|
|
7693
|
-
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7693
|
+
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7694
7694
|
/**
|
|
7695
7695
|
* @deprecated Use `external_type_display_name`. */
|
|
7696
7696
|
system_type_display_name?: string | undefined;
|
|
@@ -7762,6 +7762,13 @@ export interface Routes {
|
|
|
7762
7762
|
message: string;
|
|
7763
7763
|
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
7764
7764
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
7765
|
+
} | {
|
|
7766
|
+
/** Date and time at which Seam created the warning. */
|
|
7767
|
+
created_at: string;
|
|
7768
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7769
|
+
message: string;
|
|
7770
|
+
/** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
|
|
7771
|
+
warning_code: 'time_zone_does_not_match_location';
|
|
7765
7772
|
}>;
|
|
7766
7773
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
7767
7774
|
can_automate_enrollment?: boolean | undefined;
|
|
@@ -7791,7 +7798,7 @@ export interface Routes {
|
|
|
7791
7798
|
/** ID of the `acs_system`. */
|
|
7792
7799
|
acs_system_id: string;
|
|
7793
7800
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
7794
|
-
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7801
|
+
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7795
7802
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
7796
7803
|
external_type_display_name?: string | undefined;
|
|
7797
7804
|
/** Indicates if the `acs_system` is a credential manager. */
|
|
@@ -7806,7 +7813,7 @@ export interface Routes {
|
|
|
7806
7813
|
} | undefined;
|
|
7807
7814
|
/**
|
|
7808
7815
|
* @deprecated Use `external_type`. */
|
|
7809
|
-
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7816
|
+
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7810
7817
|
/**
|
|
7811
7818
|
* @deprecated Use `external_type_display_name`. */
|
|
7812
7819
|
system_type_display_name?: string | undefined;
|
|
@@ -7878,6 +7885,13 @@ export interface Routes {
|
|
|
7878
7885
|
message: string;
|
|
7879
7886
|
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
7880
7887
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
7888
|
+
} | {
|
|
7889
|
+
/** Date and time at which Seam created the warning. */
|
|
7890
|
+
created_at: string;
|
|
7891
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7892
|
+
message: string;
|
|
7893
|
+
/** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
|
|
7894
|
+
warning_code: 'time_zone_does_not_match_location';
|
|
7881
7895
|
}>;
|
|
7882
7896
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
7883
7897
|
can_automate_enrollment?: boolean | undefined;
|
|
@@ -7907,7 +7921,7 @@ export interface Routes {
|
|
|
7907
7921
|
/** ID of the `acs_system`. */
|
|
7908
7922
|
acs_system_id: string;
|
|
7909
7923
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
7910
|
-
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7924
|
+
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7911
7925
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
7912
7926
|
external_type_display_name?: string | undefined;
|
|
7913
7927
|
/** Indicates if the `acs_system` is a credential manager. */
|
|
@@ -7922,7 +7936,7 @@ export interface Routes {
|
|
|
7922
7936
|
} | undefined;
|
|
7923
7937
|
/**
|
|
7924
7938
|
* @deprecated Use `external_type`. */
|
|
7925
|
-
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7939
|
+
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
7926
7940
|
/**
|
|
7927
7941
|
* @deprecated Use `external_type_display_name`. */
|
|
7928
7942
|
system_type_display_name?: string | undefined;
|
|
@@ -7994,6 +8008,13 @@ export interface Routes {
|
|
|
7994
8008
|
message: string;
|
|
7995
8009
|
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
7996
8010
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
8011
|
+
} | {
|
|
8012
|
+
/** Date and time at which Seam created the warning. */
|
|
8013
|
+
created_at: string;
|
|
8014
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
8015
|
+
message: string;
|
|
8016
|
+
/** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
|
|
8017
|
+
warning_code: 'time_zone_does_not_match_location';
|
|
7997
8018
|
}>;
|
|
7998
8019
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
7999
8020
|
can_automate_enrollment?: boolean | undefined;
|
|
@@ -10478,6 +10499,7 @@ export interface Routes {
|
|
|
10478
10499
|
client_session_id: string;
|
|
10479
10500
|
workspace_id: string;
|
|
10480
10501
|
created_at: string;
|
|
10502
|
+
expires_at: string;
|
|
10481
10503
|
token: string;
|
|
10482
10504
|
user_identifier_key: string | null;
|
|
10483
10505
|
device_count: number;
|
|
@@ -10513,6 +10535,7 @@ export interface Routes {
|
|
|
10513
10535
|
client_session_id: string;
|
|
10514
10536
|
workspace_id: string;
|
|
10515
10537
|
created_at: string;
|
|
10538
|
+
expires_at: string;
|
|
10516
10539
|
token: string;
|
|
10517
10540
|
user_identifier_key: string | null;
|
|
10518
10541
|
device_count: number;
|
|
@@ -10540,6 +10563,7 @@ export interface Routes {
|
|
|
10540
10563
|
client_session_id: string;
|
|
10541
10564
|
workspace_id: string;
|
|
10542
10565
|
created_at: string;
|
|
10566
|
+
expires_at: string;
|
|
10543
10567
|
token: string;
|
|
10544
10568
|
user_identifier_key: string | null;
|
|
10545
10569
|
device_count: number;
|
|
@@ -10567,6 +10591,7 @@ export interface Routes {
|
|
|
10567
10591
|
client_session_id: string;
|
|
10568
10592
|
workspace_id: string;
|
|
10569
10593
|
created_at: string;
|
|
10594
|
+
expires_at: string;
|
|
10570
10595
|
token: string;
|
|
10571
10596
|
user_identifier_key: string | null;
|
|
10572
10597
|
device_count: number;
|
|
@@ -10594,6 +10619,7 @@ export interface Routes {
|
|
|
10594
10619
|
client_session_id: string;
|
|
10595
10620
|
workspace_id: string;
|
|
10596
10621
|
created_at: string;
|
|
10622
|
+
expires_at: string;
|
|
10597
10623
|
token: string;
|
|
10598
10624
|
user_identifier_key: string | null;
|
|
10599
10625
|
device_count: number;
|
|
@@ -10622,7 +10648,7 @@ export interface Routes {
|
|
|
10622
10648
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
10623
10649
|
custom_redirect_url?: string | undefined;
|
|
10624
10650
|
custom_redirect_failure_url?: string | undefined;
|
|
10625
|
-
accepted_providers?: Array<'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
10651
|
+
accepted_providers?: Array<'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
10626
10652
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
10627
10653
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
10628
10654
|
automatically_manage_new_devices?: boolean;
|
|
@@ -11212,8 +11238,7 @@ export interface Routes {
|
|
|
11212
11238
|
encoder_name: string;
|
|
11213
11239
|
} | undefined;
|
|
11214
11240
|
tado_metadata?: {
|
|
11215
|
-
|
|
11216
|
-
device_name: string;
|
|
11241
|
+
serial_no: string;
|
|
11217
11242
|
device_type: string;
|
|
11218
11243
|
} | undefined;
|
|
11219
11244
|
}) & ({
|
|
@@ -11767,8 +11792,7 @@ export interface Routes {
|
|
|
11767
11792
|
encoder_name: string;
|
|
11768
11793
|
} | undefined;
|
|
11769
11794
|
tado_metadata?: {
|
|
11770
|
-
|
|
11771
|
-
device_name: string;
|
|
11795
|
+
serial_no: string;
|
|
11772
11796
|
device_type: string;
|
|
11773
11797
|
} | undefined;
|
|
11774
11798
|
}) & ({
|
|
@@ -11982,7 +12006,7 @@ export interface Routes {
|
|
|
11982
12006
|
formData: {};
|
|
11983
12007
|
jsonResponse: {
|
|
11984
12008
|
device_providers: Array<{
|
|
11985
|
-
device_provider_name: 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado';
|
|
12009
|
+
device_provider_name: 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space';
|
|
11986
12010
|
display_name: string;
|
|
11987
12011
|
image_url: string;
|
|
11988
12012
|
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
|
|
@@ -12725,8 +12749,7 @@ export interface Routes {
|
|
|
12725
12749
|
encoder_name: string;
|
|
12726
12750
|
} | undefined;
|
|
12727
12751
|
tado_metadata?: {
|
|
12728
|
-
|
|
12729
|
-
device_name: string;
|
|
12752
|
+
serial_no: string;
|
|
12730
12753
|
device_type: string;
|
|
12731
12754
|
} | undefined;
|
|
12732
12755
|
}) & ({
|
|
@@ -13243,8 +13266,7 @@ export interface Routes {
|
|
|
13243
13266
|
encoder_name: string;
|
|
13244
13267
|
} | undefined;
|
|
13245
13268
|
tado_metadata?: {
|
|
13246
|
-
|
|
13247
|
-
device_name: string;
|
|
13269
|
+
serial_no: string;
|
|
13248
13270
|
device_type: string;
|
|
13249
13271
|
} | undefined;
|
|
13250
13272
|
}) & ({
|
|
@@ -13798,8 +13820,7 @@ export interface Routes {
|
|
|
13798
13820
|
encoder_name: string;
|
|
13799
13821
|
} | undefined;
|
|
13800
13822
|
tado_metadata?: {
|
|
13801
|
-
|
|
13802
|
-
device_name: string;
|
|
13823
|
+
serial_no: string;
|
|
13803
13824
|
device_type: string;
|
|
13804
13825
|
} | undefined;
|
|
13805
13826
|
}) & ({
|
|
@@ -14316,8 +14337,7 @@ export interface Routes {
|
|
|
14316
14337
|
encoder_name: string;
|
|
14317
14338
|
} | undefined;
|
|
14318
14339
|
tado_metadata?: {
|
|
14319
|
-
|
|
14320
|
-
device_name: string;
|
|
14340
|
+
serial_no: string;
|
|
14321
14341
|
device_type: string;
|
|
14322
14342
|
} | undefined;
|
|
14323
14343
|
}) & ({
|
|
@@ -16651,8 +16671,7 @@ export interface Routes {
|
|
|
16651
16671
|
encoder_name: string;
|
|
16652
16672
|
} | undefined;
|
|
16653
16673
|
tado_metadata?: {
|
|
16654
|
-
|
|
16655
|
-
device_name: string;
|
|
16674
|
+
serial_no: string;
|
|
16656
16675
|
device_type: string;
|
|
16657
16676
|
} | undefined;
|
|
16658
16677
|
}) & ({
|
|
@@ -17169,8 +17188,7 @@ export interface Routes {
|
|
|
17169
17188
|
encoder_name: string;
|
|
17170
17189
|
} | undefined;
|
|
17171
17190
|
tado_metadata?: {
|
|
17172
|
-
|
|
17173
|
-
device_name: string;
|
|
17191
|
+
serial_no: string;
|
|
17174
17192
|
device_type: string;
|
|
17175
17193
|
} | undefined;
|
|
17176
17194
|
}) & ({
|
|
@@ -22364,8 +22382,7 @@ export interface Routes {
|
|
|
22364
22382
|
encoder_name: string;
|
|
22365
22383
|
} | undefined;
|
|
22366
22384
|
tado_metadata?: {
|
|
22367
|
-
|
|
22368
|
-
device_name: string;
|
|
22385
|
+
serial_no: string;
|
|
22369
22386
|
device_type: string;
|
|
22370
22387
|
} | undefined;
|
|
22371
22388
|
}) & ({
|
|
@@ -24681,8 +24698,7 @@ export interface Routes {
|
|
|
24681
24698
|
encoder_name: string;
|
|
24682
24699
|
} | undefined;
|
|
24683
24700
|
tado_metadata?: {
|
|
24684
|
-
|
|
24685
|
-
device_name: string;
|
|
24701
|
+
serial_no: string;
|
|
24686
24702
|
device_type: string;
|
|
24687
24703
|
} | undefined;
|
|
24688
24704
|
}) & ({
|
|
@@ -25199,8 +25215,7 @@ export interface Routes {
|
|
|
25199
25215
|
encoder_name: string;
|
|
25200
25216
|
} | undefined;
|
|
25201
25217
|
tado_metadata?: {
|
|
25202
|
-
|
|
25203
|
-
device_name: string;
|
|
25218
|
+
serial_no: string;
|
|
25204
25219
|
device_type: string;
|
|
25205
25220
|
} | undefined;
|
|
25206
25221
|
}) & ({
|
|
@@ -28834,8 +28849,7 @@ export interface Routes {
|
|
|
28834
28849
|
encoder_name: string;
|
|
28835
28850
|
} | undefined;
|
|
28836
28851
|
tado_metadata?: {
|
|
28837
|
-
|
|
28838
|
-
device_name: string;
|
|
28852
|
+
serial_no: string;
|
|
28839
28853
|
device_type: string;
|
|
28840
28854
|
} | undefined;
|
|
28841
28855
|
}) & ({
|
|
@@ -29354,8 +29368,7 @@ export interface Routes {
|
|
|
29354
29368
|
encoder_name: string;
|
|
29355
29369
|
} | undefined;
|
|
29356
29370
|
tado_metadata?: {
|
|
29357
|
-
|
|
29358
|
-
device_name: string;
|
|
29371
|
+
serial_no: string;
|
|
29359
29372
|
device_type: string;
|
|
29360
29373
|
} | undefined;
|
|
29361
29374
|
}) & ({
|
|
@@ -29575,7 +29588,7 @@ export interface Routes {
|
|
|
29575
29588
|
/** ID of the `acs_system`. */
|
|
29576
29589
|
acs_system_id: string;
|
|
29577
29590
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
29578
|
-
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
29591
|
+
external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
29579
29592
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
29580
29593
|
external_type_display_name?: string | undefined;
|
|
29581
29594
|
/** Indicates if the `acs_system` is a credential manager. */
|
|
@@ -29590,7 +29603,7 @@ export interface Routes {
|
|
|
29590
29603
|
} | undefined;
|
|
29591
29604
|
/**
|
|
29592
29605
|
* @deprecated Use `external_type`. */
|
|
29593
|
-
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
29606
|
+
system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'salto_space_system' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building' | 'dormakaba_community' | 'legic_connect' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service') | undefined;
|
|
29594
29607
|
/**
|
|
29595
29608
|
* @deprecated Use `external_type_display_name`. */
|
|
29596
29609
|
system_type_display_name?: string | undefined;
|
|
@@ -29662,6 +29675,13 @@ export interface Routes {
|
|
|
29662
29675
|
message: string;
|
|
29663
29676
|
/** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
|
|
29664
29677
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
29678
|
+
} | {
|
|
29679
|
+
/** Date and time at which Seam created the warning. */
|
|
29680
|
+
created_at: string;
|
|
29681
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29682
|
+
message: string;
|
|
29683
|
+
/** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
|
|
29684
|
+
warning_code: 'time_zone_does_not_match_location';
|
|
29665
29685
|
}>;
|
|
29666
29686
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
29667
29687
|
can_automate_enrollment?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -39,6 +39,7 @@ export const acs_system_external_type = z.enum([
|
|
|
39
39
|
'pti_site',
|
|
40
40
|
'alta_org',
|
|
41
41
|
'salto_ks_site',
|
|
42
|
+
'salto_space_system',
|
|
42
43
|
'brivo_account',
|
|
43
44
|
'hid_credential_manager_organization',
|
|
44
45
|
'visionline_system',
|
|
@@ -171,11 +172,20 @@ const salto_ks_subscription_limit_almost_reached =
|
|
|
171
172
|
),
|
|
172
173
|
})
|
|
173
174
|
|
|
174
|
-
const
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
const time_zone_does_not_match_location = common_acs_system_warning.extend({
|
|
176
|
+
warning_code: z
|
|
177
|
+
.literal('time_zone_does_not_match_location')
|
|
178
|
+
.describe(
|
|
179
|
+
'Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances.',
|
|
180
|
+
),
|
|
181
|
+
})
|
|
182
|
+
|
|
183
|
+
const acs_system_warning = z
|
|
184
|
+
.union([
|
|
185
|
+
salto_ks_subscription_limit_almost_reached,
|
|
186
|
+
time_zone_does_not_match_location,
|
|
187
|
+
])
|
|
188
|
+
.describe('Warning associated with the `acs_system`.')
|
|
179
189
|
|
|
180
190
|
export const acs_system_warning_map = z.object({
|
|
181
191
|
salto_ks_subscription_limit_almost_reached:
|
|
@@ -4,6 +4,7 @@ export const client_session = z.object({
|
|
|
4
4
|
client_session_id: z.string().uuid(),
|
|
5
5
|
workspace_id: z.string().uuid(),
|
|
6
6
|
created_at: z.string().datetime(),
|
|
7
|
+
expires_at: z.string().datetime(),
|
|
7
8
|
token: z.string(),
|
|
8
9
|
user_identifier_key: z.string().nullable(),
|
|
9
10
|
device_count: z.number(),
|
|
@@ -47,6 +47,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
47
47
|
VOSTIO: 'assa_abloy_vostio',
|
|
48
48
|
ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: 'assa_abloy_vostio_credential_service',
|
|
49
49
|
TADO: 'tado',
|
|
50
|
+
SALTO_SPACE: 'salto_space',
|
|
50
51
|
} as const
|
|
51
52
|
|
|
52
53
|
export type DeviceProviderName =
|
|
@@ -113,6 +114,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
113
114
|
'salto_ks',
|
|
114
115
|
'assa_abloy_vostio',
|
|
115
116
|
'assa_abloy_vostio_credential_service',
|
|
117
|
+
'salto_space',
|
|
116
118
|
],
|
|
117
119
|
|
|
118
120
|
internal_beta: ALL_DEVICE_PROVIDERS,
|