@seamapi/types 1.344.2 → 1.345.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.
@@ -1080,6 +1080,10 @@ export interface Routes {
1080
1080
  message: string;
1081
1081
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1082
1082
  warning_code: 'schlage_creation_outage';
1083
+ } | {
1084
+ message: string;
1085
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1086
+ warning_code: 'salto_office_mode';
1083
1087
  } | {
1084
1088
  message: string;
1085
1089
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -1358,6 +1362,10 @@ export interface Routes {
1358
1362
  message: string;
1359
1363
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1360
1364
  warning_code: 'schlage_creation_outage';
1365
+ } | {
1366
+ message: string;
1367
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1368
+ warning_code: 'salto_office_mode';
1361
1369
  } | {
1362
1370
  message: string;
1363
1371
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -2509,6 +2517,10 @@ export interface Routes {
2509
2517
  message: string;
2510
2518
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2511
2519
  warning_code: 'schlage_creation_outage';
2520
+ } | {
2521
+ message: string;
2522
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2523
+ warning_code: 'salto_office_mode';
2512
2524
  } | {
2513
2525
  message: string;
2514
2526
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -2774,6 +2786,10 @@ export interface Routes {
2774
2786
  message: string;
2775
2787
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2776
2788
  warning_code: 'schlage_creation_outage';
2789
+ } | {
2790
+ message: string;
2791
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2792
+ warning_code: 'salto_office_mode';
2777
2793
  } | {
2778
2794
  message: string;
2779
2795
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -3038,6 +3054,10 @@ export interface Routes {
3038
3054
  message: string;
3039
3055
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3040
3056
  warning_code: 'schlage_creation_outage';
3057
+ } | {
3058
+ message: string;
3059
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3060
+ warning_code: 'salto_office_mode';
3041
3061
  } | {
3042
3062
  message: string;
3043
3063
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -3290,6 +3310,10 @@ export interface Routes {
3290
3310
  message: string;
3291
3311
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3292
3312
  warning_code: 'schlage_creation_outage';
3313
+ } | {
3314
+ message: string;
3315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3316
+ warning_code: 'salto_office_mode';
3293
3317
  } | {
3294
3318
  message: string;
3295
3319
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -3550,6 +3574,10 @@ export interface Routes {
3550
3574
  message: string;
3551
3575
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3552
3576
  warning_code: 'schlage_creation_outage';
3577
+ } | {
3578
+ message: string;
3579
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3580
+ warning_code: 'salto_office_mode';
3553
3581
  } | {
3554
3582
  message: string;
3555
3583
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -4677,6 +4705,10 @@ export interface Routes {
4677
4705
  message: string;
4678
4706
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4679
4707
  warning_code: 'schlage_creation_outage';
4708
+ } | {
4709
+ message: string;
4710
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4711
+ warning_code: 'salto_office_mode';
4680
4712
  } | {
4681
4713
  message: string;
4682
4714
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -4919,6 +4951,10 @@ export interface Routes {
4919
4951
  message: string;
4920
4952
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4921
4953
  warning_code: 'schlage_creation_outage';
4954
+ } | {
4955
+ message: string;
4956
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4957
+ warning_code: 'salto_office_mode';
4922
4958
  } | {
4923
4959
  message: string;
4924
4960
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -13117,14 +13153,21 @@ export interface Routes {
13117
13153
  /** Array of noise threshold IDs that are currently triggering. */
13118
13154
  currently_triggering_noise_threshold_ids?: string[] | undefined;
13119
13155
  } & {
13156
+ /** ASSA ABLOY Credential Service metadata for the phone. */
13120
13157
  assa_abloy_credential_service_metadata?: ({
13158
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
13121
13159
  has_active_endpoint: boolean;
13160
+ /** Endpoints associated with the phone. */
13122
13161
  endpoints: Array<{
13162
+ /** ID of the associated endpoint. */
13123
13163
  endpoint_id: string;
13164
+ /** Indicated whether the endpoint is active. */
13124
13165
  is_active: boolean;
13125
13166
  }>;
13126
13167
  } | undefined) | undefined;
13168
+ /** Salto Space credential service metadata for the phone. */
13127
13169
  salto_space_credential_service_metadata?: ({
13170
+ /** Indicates whether the credential service has an active associated phone. */
13128
13171
  has_active_phone: boolean;
13129
13172
  } | undefined) | undefined;
13130
13173
  }) & {
@@ -13800,14 +13843,21 @@ export interface Routes {
13800
13843
  /** Array of noise threshold IDs that are currently triggering. */
13801
13844
  currently_triggering_noise_threshold_ids?: string[] | undefined;
13802
13845
  } & {
13846
+ /** ASSA ABLOY Credential Service metadata for the phone. */
13803
13847
  assa_abloy_credential_service_metadata?: ({
13848
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
13804
13849
  has_active_endpoint: boolean;
13850
+ /** Endpoints associated with the phone. */
13805
13851
  endpoints: Array<{
13852
+ /** ID of the associated endpoint. */
13806
13853
  endpoint_id: string;
13854
+ /** Indicated whether the endpoint is active. */
13807
13855
  is_active: boolean;
13808
13856
  }>;
13809
13857
  } | undefined) | undefined;
13858
+ /** Salto Space credential service metadata for the phone. */
13810
13859
  salto_space_credential_service_metadata?: ({
13860
+ /** Indicates whether the credential service has an active associated phone. */
13811
13861
  has_active_phone: boolean;
13812
13862
  } | undefined) | undefined;
13813
13863
  }) & {
@@ -17455,14 +17505,21 @@ export interface Routes {
17455
17505
  /** Array of noise threshold IDs that are currently triggering. */
17456
17506
  currently_triggering_noise_threshold_ids?: string[] | undefined;
17457
17507
  } & {
17508
+ /** ASSA ABLOY Credential Service metadata for the phone. */
17458
17509
  assa_abloy_credential_service_metadata?: ({
17510
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
17459
17511
  has_active_endpoint: boolean;
17512
+ /** Endpoints associated with the phone. */
17460
17513
  endpoints: Array<{
17514
+ /** ID of the associated endpoint. */
17461
17515
  endpoint_id: string;
17516
+ /** Indicated whether the endpoint is active. */
17462
17517
  is_active: boolean;
17463
17518
  }>;
17464
17519
  } | undefined) | undefined;
17520
+ /** Salto Space credential service metadata for the phone. */
17465
17521
  salto_space_credential_service_metadata?: ({
17522
+ /** Indicates whether the credential service has an active associated phone. */
17466
17523
  has_active_phone: boolean;
17467
17524
  } | undefined) | undefined;
17468
17525
  }) & {
@@ -18102,14 +18159,21 @@ export interface Routes {
18102
18159
  /** Array of noise threshold IDs that are currently triggering. */
18103
18160
  currently_triggering_noise_threshold_ids?: string[] | undefined;
18104
18161
  } & {
18162
+ /** ASSA ABLOY Credential Service metadata for the phone. */
18105
18163
  assa_abloy_credential_service_metadata?: ({
18164
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
18106
18165
  has_active_endpoint: boolean;
18166
+ /** Endpoints associated with the phone. */
18107
18167
  endpoints: Array<{
18168
+ /** ID of the associated endpoint. */
18108
18169
  endpoint_id: string;
18170
+ /** Indicated whether the endpoint is active. */
18109
18171
  is_active: boolean;
18110
18172
  }>;
18111
18173
  } | undefined) | undefined;
18174
+ /** Salto Space credential service metadata for the phone. */
18112
18175
  salto_space_credential_service_metadata?: ({
18176
+ /** Indicates whether the credential service has an active associated phone. */
18113
18177
  has_active_phone: boolean;
18114
18178
  } | undefined) | undefined;
18115
18179
  }) & {
@@ -18785,14 +18849,21 @@ export interface Routes {
18785
18849
  /** Array of noise threshold IDs that are currently triggering. */
18786
18850
  currently_triggering_noise_threshold_ids?: string[] | undefined;
18787
18851
  } & {
18852
+ /** ASSA ABLOY Credential Service metadata for the phone. */
18788
18853
  assa_abloy_credential_service_metadata?: ({
18854
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
18789
18855
  has_active_endpoint: boolean;
18856
+ /** Endpoints associated with the phone. */
18790
18857
  endpoints: Array<{
18858
+ /** ID of the associated endpoint. */
18791
18859
  endpoint_id: string;
18860
+ /** Indicated whether the endpoint is active. */
18792
18861
  is_active: boolean;
18793
18862
  }>;
18794
18863
  } | undefined) | undefined;
18864
+ /** Salto Space credential service metadata for the phone. */
18795
18865
  salto_space_credential_service_metadata?: ({
18866
+ /** Indicates whether the credential service has an active associated phone. */
18796
18867
  has_active_phone: boolean;
18797
18868
  } | undefined) | undefined;
18798
18869
  }) & {
@@ -19431,14 +19502,21 @@ export interface Routes {
19431
19502
  /** Array of noise threshold IDs that are currently triggering. */
19432
19503
  currently_triggering_noise_threshold_ids?: string[] | undefined;
19433
19504
  } & {
19505
+ /** ASSA ABLOY Credential Service metadata for the phone. */
19434
19506
  assa_abloy_credential_service_metadata?: ({
19507
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
19435
19508
  has_active_endpoint: boolean;
19509
+ /** Endpoints associated with the phone. */
19436
19510
  endpoints: Array<{
19511
+ /** ID of the associated endpoint. */
19437
19512
  endpoint_id: string;
19513
+ /** Indicated whether the endpoint is active. */
19438
19514
  is_active: boolean;
19439
19515
  }>;
19440
19516
  } | undefined) | undefined;
19517
+ /** Salto Space credential service metadata for the phone. */
19441
19518
  salto_space_credential_service_metadata?: ({
19519
+ /** Indicates whether the credential service has an active associated phone. */
19442
19520
  has_active_phone: boolean;
19443
19521
  } | undefined) | undefined;
19444
19522
  }) & {
@@ -21885,14 +21963,21 @@ export interface Routes {
21885
21963
  /** Array of noise threshold IDs that are currently triggering. */
21886
21964
  currently_triggering_noise_threshold_ids?: string[] | undefined;
21887
21965
  } & {
21966
+ /** ASSA ABLOY Credential Service metadata for the phone. */
21888
21967
  assa_abloy_credential_service_metadata?: ({
21968
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
21889
21969
  has_active_endpoint: boolean;
21970
+ /** Endpoints associated with the phone. */
21890
21971
  endpoints: Array<{
21972
+ /** ID of the associated endpoint. */
21891
21973
  endpoint_id: string;
21974
+ /** Indicated whether the endpoint is active. */
21892
21975
  is_active: boolean;
21893
21976
  }>;
21894
21977
  } | undefined) | undefined;
21978
+ /** Salto Space credential service metadata for the phone. */
21895
21979
  salto_space_credential_service_metadata?: ({
21980
+ /** Indicates whether the credential service has an active associated phone. */
21896
21981
  has_active_phone: boolean;
21897
21982
  } | undefined) | undefined;
21898
21983
  }) & {
@@ -22531,14 +22616,21 @@ export interface Routes {
22531
22616
  /** Array of noise threshold IDs that are currently triggering. */
22532
22617
  currently_triggering_noise_threshold_ids?: string[] | undefined;
22533
22618
  } & {
22619
+ /** ASSA ABLOY Credential Service metadata for the phone. */
22534
22620
  assa_abloy_credential_service_metadata?: ({
22621
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
22535
22622
  has_active_endpoint: boolean;
22623
+ /** Endpoints associated with the phone. */
22536
22624
  endpoints: Array<{
22625
+ /** ID of the associated endpoint. */
22537
22626
  endpoint_id: string;
22627
+ /** Indicated whether the endpoint is active. */
22538
22628
  is_active: boolean;
22539
22629
  }>;
22540
22630
  } | undefined) | undefined;
22631
+ /** Salto Space credential service metadata for the phone. */
22541
22632
  salto_space_credential_service_metadata?: ({
22633
+ /** Indicates whether the credential service has an active associated phone. */
22542
22634
  has_active_phone: boolean;
22543
22635
  } | undefined) | undefined;
22544
22636
  }) & {
@@ -25785,6 +25877,7 @@ export interface Routes {
25785
25877
  method: 'DELETE' | 'POST';
25786
25878
  queryParams: {};
25787
25879
  jsonBody: {
25880
+ /** Device ID of the desired phone. */
25788
25881
  device_id: string;
25789
25882
  };
25790
25883
  commonParams: {};
@@ -25797,7 +25890,9 @@ export interface Routes {
25797
25890
  queryParams: {};
25798
25891
  jsonBody: {};
25799
25892
  commonParams: {
25893
+ /** ID of the user identity that represents the owner by which to filter the list of returned phones. */
25800
25894
  owner_user_identity_id?: string | undefined;
25895
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) by which to filter the list of returned phones. */
25801
25896
  acs_credential_id?: string | undefined;
25802
25897
  };
25803
25898
  formData: {};
@@ -25805,6 +25900,7 @@ export interface Routes {
25805
25900
  phones: Array<{
25806
25901
  /** Unique identifier for the device. */
25807
25902
  device_id: string;
25903
+ /** Type of phone. */
25808
25904
  device_type: 'android_phone' | 'ios_phone';
25809
25905
  /** Optional nickname to describe the device, settable through Seam */
25810
25906
  nickname?: string | undefined;
@@ -25813,14 +25909,21 @@ export interface Routes {
25813
25909
  /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
25814
25910
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
25815
25911
  properties: {
25912
+ /** ASSA ABLOY Credential Service metadata for the phone. */
25816
25913
  assa_abloy_credential_service_metadata?: {
25914
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
25817
25915
  has_active_endpoint: boolean;
25916
+ /** Endpoints associated with the phone. */
25818
25917
  endpoints: Array<{
25918
+ /** ID of the associated endpoint. */
25819
25919
  endpoint_id: string;
25920
+ /** Indicated whether the endpoint is active. */
25820
25921
  is_active: boolean;
25821
25922
  }>;
25822
25923
  } | undefined;
25924
+ /** Salto Space credential service metadata for the phone. */
25823
25925
  salto_space_credential_service_metadata?: {
25926
+ /** Indicates whether the credential service has an active associated phone. */
25824
25927
  has_active_phone: boolean;
25825
25928
  } | undefined;
25826
25929
  };
@@ -25995,30 +26098,45 @@ export interface Routes {
25995
26098
  method: 'GET' | 'POST';
25996
26099
  queryParams: {};
25997
26100
  jsonBody: {
26101
+ /** ID of the custom SDK installation to use for the simulated phone. */
25998
26102
  custom_sdk_installation_id?: string | undefined;
26103
+ /** ID of the user identity to associate with the simulated phone. */
25999
26104
  user_identity_id: string;
26105
+ /** Metadata to associate with the simulated phone. */
26000
26106
  phone_metadata?: {
26107
+ /** Mobile operating system that you want to use for the simulated phone. */
26001
26108
  operating_system?: 'android' | 'ios';
26109
+ /** Mobile operating system version that you want to use for the simulated phone. */
26002
26110
  os_version?: string;
26111
+ /** Manufacturer that you want to use for the simulated phone. */
26003
26112
  device_manufacturer?: string;
26113
+ /** Device model that you want to use for the simulated phone. */
26004
26114
  device_model?: string;
26005
26115
  };
26116
+ /** ASSA ABLOY metadata to associate with the simulated phone. */
26006
26117
  assa_abloy_metadata?: {
26118
+ /** Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability. */
26007
26119
  ble_capability?: boolean;
26120
+ /** Indicates whether the simulated phone should have host card emulation (HCE) capability. */
26008
26121
  hce_capability?: boolean;
26122
+ /** Indicates whether the simulated phone should have near-field communication (NFC) capability. */
26009
26123
  nfc_capability?: boolean;
26124
+ /** Application version that you want to use for the simulated phone. */
26010
26125
  application_version?: string;
26126
+ /** SEOS applet version that you want to use for the simulated phone. */
26011
26127
  seos_applet_version?: string;
26128
+ /** ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone. */
26012
26129
  seos_tsm_endpoint_id?: number;
26013
26130
  };
26014
26131
  };
26015
26132
  commonParams: {};
26016
26133
  formData: {};
26017
26134
  jsonResponse: {
26018
- /** */
26135
+ /** Properties of the phone. */
26019
26136
  phone: {
26020
26137
  /** Unique identifier for the device. */
26021
26138
  device_id: string;
26139
+ /** Type of phone. */
26022
26140
  device_type: 'android_phone' | 'ios_phone';
26023
26141
  /** Optional nickname to describe the device, settable through Seam */
26024
26142
  nickname?: string | undefined;
@@ -26027,14 +26145,21 @@ export interface Routes {
26027
26145
  /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
26028
26146
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
26029
26147
  properties: {
26148
+ /** ASSA ABLOY Credential Service metadata for the phone. */
26030
26149
  assa_abloy_credential_service_metadata?: {
26150
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
26031
26151
  has_active_endpoint: boolean;
26152
+ /** Endpoints associated with the phone. */
26032
26153
  endpoints: Array<{
26154
+ /** ID of the associated endpoint. */
26033
26155
  endpoint_id: string;
26156
+ /** Indicated whether the endpoint is active. */
26034
26157
  is_active: boolean;
26035
26158
  }>;
26036
26159
  } | undefined;
26160
+ /** Salto Space credential service metadata for the phone. */
26037
26161
  salto_space_credential_service_metadata?: {
26162
+ /** Indicates whether the credential service has an active associated phone. */
26038
26163
  has_active_phone: boolean;
26039
26164
  } | undefined;
26040
26165
  };
@@ -28087,14 +28212,21 @@ export interface Routes {
28087
28212
  /** Array of noise threshold IDs that are currently triggering. */
28088
28213
  currently_triggering_noise_threshold_ids?: string[] | undefined;
28089
28214
  } & {
28215
+ /** ASSA ABLOY Credential Service metadata for the phone. */
28090
28216
  assa_abloy_credential_service_metadata?: ({
28217
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
28091
28218
  has_active_endpoint: boolean;
28219
+ /** Endpoints associated with the phone. */
28092
28220
  endpoints: Array<{
28221
+ /** ID of the associated endpoint. */
28093
28222
  endpoint_id: string;
28223
+ /** Indicated whether the endpoint is active. */
28094
28224
  is_active: boolean;
28095
28225
  }>;
28096
28226
  } | undefined) | undefined;
28227
+ /** Salto Space credential service metadata for the phone. */
28097
28228
  salto_space_credential_service_metadata?: ({
28229
+ /** Indicates whether the credential service has an active associated phone. */
28098
28230
  has_active_phone: boolean;
28099
28231
  } | undefined) | undefined;
28100
28232
  }) & {
@@ -30522,14 +30654,21 @@ export interface Routes {
30522
30654
  /** Array of noise threshold IDs that are currently triggering. */
30523
30655
  currently_triggering_noise_threshold_ids?: string[] | undefined;
30524
30656
  } & {
30657
+ /** ASSA ABLOY Credential Service metadata for the phone. */
30525
30658
  assa_abloy_credential_service_metadata?: ({
30659
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
30526
30660
  has_active_endpoint: boolean;
30661
+ /** Endpoints associated with the phone. */
30527
30662
  endpoints: Array<{
30663
+ /** ID of the associated endpoint. */
30528
30664
  endpoint_id: string;
30665
+ /** Indicated whether the endpoint is active. */
30529
30666
  is_active: boolean;
30530
30667
  }>;
30531
30668
  } | undefined) | undefined;
30669
+ /** Salto Space credential service metadata for the phone. */
30532
30670
  salto_space_credential_service_metadata?: ({
30671
+ /** Indicates whether the credential service has an active associated phone. */
30533
30672
  has_active_phone: boolean;
30534
30673
  } | undefined) | undefined;
30535
30674
  }) & {
@@ -31168,14 +31307,21 @@ export interface Routes {
31168
31307
  /** Array of noise threshold IDs that are currently triggering. */
31169
31308
  currently_triggering_noise_threshold_ids?: string[] | undefined;
31170
31309
  } & {
31310
+ /** ASSA ABLOY Credential Service metadata for the phone. */
31171
31311
  assa_abloy_credential_service_metadata?: ({
31312
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
31172
31313
  has_active_endpoint: boolean;
31314
+ /** Endpoints associated with the phone. */
31173
31315
  endpoints: Array<{
31316
+ /** ID of the associated endpoint. */
31174
31317
  endpoint_id: string;
31318
+ /** Indicated whether the endpoint is active. */
31175
31319
  is_active: boolean;
31176
31320
  }>;
31177
31321
  } | undefined) | undefined;
31322
+ /** Salto Space credential service metadata for the phone. */
31178
31323
  salto_space_credential_service_metadata?: ({
31324
+ /** Indicates whether the credential service has an active associated phone. */
31179
31325
  has_active_phone: boolean;
31180
31326
  } | undefined) | undefined;
31181
31327
  }) & {
@@ -34988,14 +35134,21 @@ export interface Routes {
34988
35134
  /** Array of noise threshold IDs that are currently triggering. */
34989
35135
  currently_triggering_noise_threshold_ids?: string[] | undefined;
34990
35136
  } & {
35137
+ /** ASSA ABLOY Credential Service metadata for the phone. */
34991
35138
  assa_abloy_credential_service_metadata?: ({
35139
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
34992
35140
  has_active_endpoint: boolean;
35141
+ /** Endpoints associated with the phone. */
34993
35142
  endpoints: Array<{
35143
+ /** ID of the associated endpoint. */
34994
35144
  endpoint_id: string;
35145
+ /** Indicated whether the endpoint is active. */
34995
35146
  is_active: boolean;
34996
35147
  }>;
34997
35148
  } | undefined) | undefined;
35149
+ /** Salto Space credential service metadata for the phone. */
34998
35150
  salto_space_credential_service_metadata?: ({
35151
+ /** Indicates whether the credential service has an active associated phone. */
34999
35152
  has_active_phone: boolean;
35000
35153
  } | undefined) | undefined;
35001
35154
  }) & {
@@ -35636,14 +35789,21 @@ export interface Routes {
35636
35789
  /** Array of noise threshold IDs that are currently triggering. */
35637
35790
  currently_triggering_noise_threshold_ids?: string[] | undefined;
35638
35791
  } & {
35792
+ /** ASSA ABLOY Credential Service metadata for the phone. */
35639
35793
  assa_abloy_credential_service_metadata?: ({
35794
+ /** Indicates whether the credential service has active endpoints associated with the phone. */
35640
35795
  has_active_endpoint: boolean;
35796
+ /** Endpoints associated with the phone. */
35641
35797
  endpoints: Array<{
35798
+ /** ID of the associated endpoint. */
35642
35799
  endpoint_id: string;
35800
+ /** Indicated whether the endpoint is active. */
35643
35801
  is_active: boolean;
35644
35802
  }>;
35645
35803
  } | undefined) | undefined;
35804
+ /** Salto Space credential service metadata for the phone. */
35646
35805
  salto_space_credential_service_metadata?: ({
35806
+ /** Indicates whether the credential service has an active associated phone. */
35647
35807
  has_active_phone: boolean;
35648
35808
  } | undefined) | undefined;
35649
35809
  }) & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.344.2",
3
+ "version": "1.345.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -242,6 +242,14 @@ const schlage_creation_outage = common_access_code_warning
242
242
  })
243
243
  .describe('Received an error when attempting to create this code.')
244
244
 
245
+ const salto_office_mode = common_access_code_warning
246
+ .extend({
247
+ warning_code: z
248
+ .literal('salto_office_mode')
249
+ .describe(warning_code_description),
250
+ })
251
+ .describe('Lock is in Office Mode. Access Codes will not unlock doors.')
252
+
245
253
  const delay_in_setting_on_device = common_access_code_warning
246
254
  .extend({
247
255
  warning_code: z
@@ -288,6 +296,7 @@ const access_code_warning = z.discriminatedUnion('warning_code', [
288
296
  smartthings_failed_to_set_access_code_warning,
289
297
  schlage_detected_duplicate,
290
298
  schlage_creation_outage,
299
+ salto_office_mode,
291
300
  code_modified_external_to_seam_warning,
292
301
  delay_in_setting_on_device,
293
302
  delay_in_removing_from_device,
@@ -3,19 +3,33 @@ import { z } from 'zod'
3
3
  export const phone_specific_properties = z.object({
4
4
  assa_abloy_credential_service_metadata: z
5
5
  .object({
6
- has_active_endpoint: z.boolean(),
7
- endpoints: z.array(
8
- z.object({
9
- endpoint_id: z.string(),
10
- is_active: z.boolean(),
11
- }),
12
- ),
6
+ has_active_endpoint: z
7
+ .boolean()
8
+ .describe(
9
+ 'Indicates whether the credential service has active endpoints associated with the phone.',
10
+ ),
11
+ endpoints: z
12
+ .array(
13
+ z.object({
14
+ endpoint_id: z.string().describe('ID of the associated endpoint.'),
15
+ is_active: z
16
+ .boolean()
17
+ .describe('Indicated whether the endpoint is active.'),
18
+ }),
19
+ )
20
+ .describe('Endpoints associated with the phone.'),
13
21
  })
14
- .optional(),
22
+ .optional()
23
+ .describe('ASSA ABLOY Credential Service metadata for the phone.'),
15
24
 
16
25
  salto_space_credential_service_metadata: z
17
26
  .object({
18
- has_active_phone: z.boolean(),
27
+ has_active_phone: z
28
+ .boolean()
29
+ .describe(
30
+ 'Indicates whether the credential service has an active associated phone.',
31
+ ),
19
32
  })
20
- .optional(),
33
+ .optional()
34
+ .describe('Salto Space credential service metadata for the phone.'),
21
35
  })
@@ -10,10 +10,13 @@ export const phone = device
10
10
  connected_account_id: true,
11
11
  })
12
12
  .extend({
13
- device_type: z.enum(['android_phone', 'ios_phone']),
13
+ device_type: z
14
+ .enum(['android_phone', 'ios_phone'])
15
+ .describe('Type of phone.'),
14
16
  })
15
17
  .merge(z.object({ properties: phone_specific_properties })).describe(`
16
18
  ---
17
19
  route_path: /phones
18
20
  ---
21
+ Properties of the phone.
19
22
  `)