@seamapi/types 1.462.0 → 1.464.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.
Files changed (73) hide show
  1. package/dist/connect.cjs +179 -146
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +354 -316
  4. package/dist/index.cjs +179 -146
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
  10. package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
  11. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  14. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  17. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  19. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  20. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  21. package/lib/seam/connect/models/acs/acs-system.d.ts +12 -11
  22. package/lib/seam/connect/models/acs/acs-system.js +3 -2
  23. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  24. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
  25. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
  26. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  27. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
  28. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
  29. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  30. package/lib/seam/connect/models/batch.d.ts +266 -243
  31. package/lib/seam/connect/models/batch.js +3 -0
  32. package/lib/seam/connect/models/batch.js.map +1 -1
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
  34. package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
  35. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  36. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  37. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  38. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  39. package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
  40. package/lib/seam/connect/models/customer/customer-portal.js +18 -0
  41. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  42. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  43. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  44. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  45. package/lib/seam/connect/models/devices/device.d.ts +4 -62
  46. package/lib/seam/connect/models/devices/device.js +2 -16
  47. package/lib/seam/connect/models/devices/device.js.map +1 -1
  48. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -21
  49. package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
  50. package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
  51. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  52. package/lib/seam/connect/openapi.d.ts +82 -2
  53. package/lib/seam/connect/openapi.js +84 -46
  54. package/lib/seam/connect/openapi.js.map +1 -1
  55. package/lib/seam/connect/route-types.d.ts +136 -179
  56. package/package.json +1 -1
  57. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
  58. package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
  59. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  60. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
  61. package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
  62. package/src/lib/seam/connect/models/acs/acs-system.ts +5 -4
  63. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
  64. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
  65. package/src/lib/seam/connect/models/batch.ts +3 -0
  66. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
  67. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  68. package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
  69. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  70. package/src/lib/seam/connect/models/devices/device.ts +4 -19
  71. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  72. package/src/lib/seam/connect/openapi.ts +88 -54
  73. package/src/lib/seam/connect/route-types.ts +148 -182
@@ -11205,7 +11205,7 @@ export interface Routes {
11205
11205
  /** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
11206
11206
  starts_at?: string | undefined
11207
11207
  /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
11208
- ends_at?: string | undefined
11208
+ ends_at?: (string | undefined) | null
11209
11209
  }
11210
11210
  formData: {}
11211
11211
  jsonResponse: {
@@ -11248,9 +11248,9 @@ export interface Routes {
11248
11248
  /** Date and time at which the Access Grant was created. */
11249
11249
  created_at: string
11250
11250
  /** Date and time at which the Access Grant starts. */
11251
- starts_at?: string | undefined
11251
+ starts_at: string
11252
11252
  /** Date and time at which the Access Grant ends. */
11253
- ends_at?: string | undefined
11253
+ ends_at: string | null
11254
11254
  }
11255
11255
  }
11256
11256
  }
@@ -11321,9 +11321,9 @@ export interface Routes {
11321
11321
  /** Date and time at which the Access Grant was created. */
11322
11322
  created_at: string
11323
11323
  /** Date and time at which the Access Grant starts. */
11324
- starts_at?: string | undefined
11324
+ starts_at: string
11325
11325
  /** Date and time at which the Access Grant ends. */
11326
- ends_at?: string | undefined
11326
+ ends_at: string | null
11327
11327
  }
11328
11328
  }
11329
11329
  }
@@ -12775,14 +12775,6 @@ export interface Routes {
12775
12775
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12776
12776
  warning_code: 'third_party_integration_detected'
12777
12777
  }
12778
- | {
12779
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
12780
- message: string
12781
- /** Date and time at which Seam created the warning. */
12782
- created_at: string
12783
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12784
- warning_code: 'nest_thermostat_in_manual_eco_mode'
12785
- }
12786
12778
  | {
12787
12779
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
12788
12780
  message: string
@@ -13249,6 +13241,7 @@ export interface Routes {
13249
13241
  | 'assa_abloy_credential_service'
13250
13242
  | 'latch_building'
13251
13243
  | 'dormakaba_community_site'
13244
+ | 'dormakaba_ambiance_site'
13252
13245
  | 'legic_connect_credential_service'
13253
13246
  | 'assa_abloy_vostio'
13254
13247
  | 'assa_abloy_vostio_credential_service'
@@ -13282,6 +13275,7 @@ export interface Routes {
13282
13275
  | 'assa_abloy_credential_service'
13283
13276
  | 'latch_building'
13284
13277
  | 'dormakaba_community_site'
13278
+ | 'dormakaba_ambiance_site'
13285
13279
  | 'legic_connect_credential_service'
13286
13280
  | 'assa_abloy_vostio'
13287
13281
  | 'assa_abloy_vostio_credential_service'
@@ -13456,9 +13450,9 @@ export interface Routes {
13456
13450
  /** Date and time at which the Access Grant was created. */
13457
13451
  created_at: string
13458
13452
  /** Date and time at which the Access Grant starts. */
13459
- starts_at?: string | undefined
13453
+ starts_at: string
13460
13454
  /** Date and time at which the Access Grant ends. */
13461
- ends_at?: string | undefined
13455
+ ends_at: string | null
13462
13456
  }>
13463
13457
  }
13464
13458
  }
@@ -13473,7 +13467,7 @@ export interface Routes {
13473
13467
  /** ID of the Access Grant to update. */
13474
13468
  access_grant_id: string
13475
13469
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
13476
- starts_at?: (string | null) | undefined
13470
+ starts_at?: string | undefined
13477
13471
  /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
13478
13472
  ends_at?: (string | null) | undefined
13479
13473
  }
@@ -16483,14 +16477,6 @@ export interface Routes {
16483
16477
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16484
16478
  warning_code: 'third_party_integration_detected'
16485
16479
  }
16486
- | {
16487
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16488
- message: string
16489
- /** Date and time at which Seam created the warning. */
16490
- created_at: string
16491
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16492
- warning_code: 'nest_thermostat_in_manual_eco_mode'
16493
- }
16494
16480
  | {
16495
16481
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16496
16482
  message: string
@@ -16762,6 +16748,7 @@ export interface Routes {
16762
16748
  | 'assa_abloy_credential_service'
16763
16749
  | 'latch_building'
16764
16750
  | 'dormakaba_community_site'
16751
+ | 'dormakaba_ambiance_site'
16765
16752
  | 'legic_connect_credential_service'
16766
16753
  | 'assa_abloy_vostio'
16767
16754
  | 'assa_abloy_vostio_credential_service'
@@ -16795,6 +16782,7 @@ export interface Routes {
16795
16782
  | 'assa_abloy_credential_service'
16796
16783
  | 'latch_building'
16797
16784
  | 'dormakaba_community_site'
16785
+ | 'dormakaba_ambiance_site'
16798
16786
  | 'legic_connect_credential_service'
16799
16787
  | 'assa_abloy_vostio'
16800
16788
  | 'assa_abloy_vostio_credential_service'
@@ -19278,14 +19266,6 @@ export interface Routes {
19278
19266
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19279
19267
  warning_code: 'third_party_integration_detected'
19280
19268
  }
19281
- | {
19282
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19283
- message: string
19284
- /** Date and time at which Seam created the warning. */
19285
- created_at: string
19286
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19287
- warning_code: 'nest_thermostat_in_manual_eco_mode'
19288
- }
19289
19269
  | {
19290
19270
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
19291
19271
  message: string
@@ -19474,6 +19454,55 @@ export interface Routes {
19474
19454
  can_unlock_with_code?: boolean | undefined
19475
19455
  }>
19476
19456
  | undefined
19457
+ connect_webviews?:
19458
+ | Array<{
19459
+ /** ID of the Connect Webview. */
19460
+ connect_webview_id: string
19461
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview. */
19462
+ workspace_id: string
19463
+ /** Date and time at which the Connect Webview was created. */
19464
+ created_at: string
19465
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview. */
19466
+ connected_account_id: string | null
19467
+ /** URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user. */
19468
+ url: string
19469
+ device_selection_mode: 'none' | 'single' | 'multiple'
19470
+ /** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
19471
+ accepted_providers: string[]
19472
+ /** High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`. */
19473
+ accepted_capabilities: Array<
19474
+ 'lock' | 'thermostat' | 'noise_sensor' | 'access_control'
19475
+ >
19476
+ /**
19477
+ * @deprecated Unused. Will be removed. */
19478
+ accepted_devices: string[]
19479
+ /**
19480
+ * @deprecated Unused. Will be removed. */
19481
+ any_device_allowed: boolean
19482
+ /** Indicates whether any provider is allowed. */
19483
+ any_provider_allowed: boolean
19484
+ /** Indicates whether the user logged in successfully using the Connect Webview. */
19485
+ login_successful: boolean
19486
+ /** Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview. */
19487
+ status: 'pending' | 'failed' | 'authorized'
19488
+ /** URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs. */
19489
+ custom_redirect_url: string | null
19490
+ /** URL to which the Connect Webview should redirect when an unexpected error occurs. */
19491
+ custom_redirect_failure_url: string | null
19492
+ /** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
19493
+ custom_metadata: Record<string, string | boolean>
19494
+ /** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
19495
+ automatically_manage_new_devices: boolean
19496
+ /** Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview. */
19497
+ wait_for_device_creation: boolean
19498
+ /** Date and time at which the user authorized (through the Connect Webview) the management of their devices. */
19499
+ authorized_at: string | null
19500
+ /** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
19501
+ selected_provider: string | null
19502
+ /** The customer key associated with this webview, if any. */
19503
+ customer_key?: string | undefined
19504
+ }>
19505
+ | undefined
19477
19506
  }
19478
19507
  }
19479
19508
  }
@@ -25667,6 +25696,7 @@ export interface Routes {
25667
25696
  | 'assa_abloy_credential_service'
25668
25697
  | 'latch_building'
25669
25698
  | 'dormakaba_community_site'
25699
+ | 'dormakaba_ambiance_site'
25670
25700
  | 'legic_connect_credential_service'
25671
25701
  | 'assa_abloy_vostio'
25672
25702
  | 'assa_abloy_vostio_credential_service'
@@ -25700,6 +25730,7 @@ export interface Routes {
25700
25730
  | 'assa_abloy_credential_service'
25701
25731
  | 'latch_building'
25702
25732
  | 'dormakaba_community_site'
25733
+ | 'dormakaba_ambiance_site'
25703
25734
  | 'legic_connect_credential_service'
25704
25735
  | 'assa_abloy_vostio'
25705
25736
  | 'assa_abloy_vostio_credential_service'
@@ -25843,6 +25874,7 @@ export interface Routes {
25843
25874
  | 'assa_abloy_credential_service'
25844
25875
  | 'latch_building'
25845
25876
  | 'dormakaba_community_site'
25877
+ | 'dormakaba_ambiance_site'
25846
25878
  | 'legic_connect_credential_service'
25847
25879
  | 'assa_abloy_vostio'
25848
25880
  | 'assa_abloy_vostio_credential_service'
@@ -25876,6 +25908,7 @@ export interface Routes {
25876
25908
  | 'assa_abloy_credential_service'
25877
25909
  | 'latch_building'
25878
25910
  | 'dormakaba_community_site'
25911
+ | 'dormakaba_ambiance_site'
25879
25912
  | 'legic_connect_credential_service'
25880
25913
  | 'assa_abloy_vostio'
25881
25914
  | 'assa_abloy_vostio_credential_service'
@@ -26019,6 +26052,7 @@ export interface Routes {
26019
26052
  | 'assa_abloy_credential_service'
26020
26053
  | 'latch_building'
26021
26054
  | 'dormakaba_community_site'
26055
+ | 'dormakaba_ambiance_site'
26022
26056
  | 'legic_connect_credential_service'
26023
26057
  | 'assa_abloy_vostio'
26024
26058
  | 'assa_abloy_vostio_credential_service'
@@ -26052,6 +26086,7 @@ export interface Routes {
26052
26086
  | 'assa_abloy_credential_service'
26053
26087
  | 'latch_building'
26054
26088
  | 'dormakaba_community_site'
26089
+ | 'dormakaba_ambiance_site'
26055
26090
  | 'legic_connect_credential_service'
26056
26091
  | 'assa_abloy_vostio'
26057
26092
  | 'assa_abloy_vostio_credential_service'
@@ -31058,6 +31093,7 @@ export interface Routes {
31058
31093
  | 'sensi'
31059
31094
  | 'kwikset2'
31060
31095
  | 'keynest'
31096
+ | 'dormakaba_ambiance'
31061
31097
  | 'yale_access'
31062
31098
  | 'hid_cm'
31063
31099
  | 'google_nest'
@@ -31850,6 +31886,15 @@ export interface Routes {
31850
31886
  /** Whether to exclude this feature from the portal. */
31851
31887
  exclude?: boolean
31852
31888
  }
31889
+ /** Configuration for the configure feature. */
31890
+ configure?: {
31891
+ /** Whether to exclude this feature from the portal. */
31892
+ exclude?: boolean
31893
+ /** Indicates whether the customer can customize the access automation rules for their properties. */
31894
+ allow_access_automation_rule_customization?: boolean
31895
+ /** Indicates whether the customer can customize the Instant Key profile for their properties. */
31896
+ allow_instant_key_customization?: boolean
31897
+ }
31853
31898
  }
31854
31899
  /** Whether the portal is embedded in another application. */
31855
31900
  is_embedded?: boolean
@@ -33819,14 +33864,6 @@ export interface Routes {
33819
33864
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33820
33865
  warning_code: 'third_party_integration_detected'
33821
33866
  }
33822
- | {
33823
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33824
- message: string
33825
- /** Date and time at which Seam created the warning. */
33826
- created_at: string
33827
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33828
- warning_code: 'nest_thermostat_in_manual_eco_mode'
33829
- }
33830
33867
  | {
33831
33868
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33832
33869
  message: string
@@ -35522,14 +35559,6 @@ export interface Routes {
35522
35559
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35523
35560
  warning_code: 'third_party_integration_detected'
35524
35561
  }
35525
- | {
35526
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35527
- message: string
35528
- /** Date and time at which Seam created the warning. */
35529
- created_at: string
35530
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35531
- warning_code: 'nest_thermostat_in_manual_eco_mode'
35532
- }
35533
35562
  | {
35534
35563
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35535
35564
  message: string
@@ -35725,6 +35754,7 @@ export interface Routes {
35725
35754
  | 'sensi'
35726
35755
  | 'kwikset2'
35727
35756
  | 'keynest'
35757
+ | 'dormakaba_ambiance'
35728
35758
  display_name: string
35729
35759
  image_url: string
35730
35760
  provider_categories: Array<
@@ -36104,14 +36134,6 @@ export interface Routes {
36104
36134
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36105
36135
  warning_code: 'third_party_integration_detected'
36106
36136
  }
36107
- | {
36108
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36109
- message: string
36110
- /** Date and time at which Seam created the warning. */
36111
- created_at: string
36112
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36113
- warning_code: 'nest_thermostat_in_manual_eco_mode'
36114
- }
36115
36137
  | {
36116
36138
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36117
36139
  message: string
@@ -36786,14 +36808,6 @@ export interface Routes {
36786
36808
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36787
36809
  warning_code: 'third_party_integration_detected'
36788
36810
  }
36789
- | {
36790
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36791
- message: string
36792
- /** Date and time at which Seam created the warning. */
36793
- created_at: string
36794
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36795
- warning_code: 'nest_thermostat_in_manual_eco_mode'
36796
- }
36797
36811
  | {
36798
36812
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36799
36813
  message: string
@@ -42588,14 +42602,6 @@ export interface Routes {
42588
42602
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42589
42603
  warning_code: 'third_party_integration_detected'
42590
42604
  }
42591
- | {
42592
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42593
- message: string
42594
- /** Date and time at which Seam created the warning. */
42595
- created_at: string
42596
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42597
- warning_code: 'nest_thermostat_in_manual_eco_mode'
42598
- }
42599
42605
  | {
42600
42606
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42601
42607
  message: string
@@ -44086,14 +44092,6 @@ export interface Routes {
44086
44092
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44087
44093
  warning_code: 'third_party_integration_detected'
44088
44094
  }
44089
- | {
44090
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44091
- message: string
44092
- /** Date and time at which Seam created the warning. */
44093
- created_at: string
44094
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44095
- warning_code: 'nest_thermostat_in_manual_eco_mode'
44096
- }
44097
44095
  | {
44098
44096
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44099
44097
  message: string
@@ -45753,14 +45751,6 @@ export interface Routes {
45753
45751
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45754
45752
  warning_code: 'third_party_integration_detected'
45755
45753
  }
45756
- | {
45757
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45758
- message: string
45759
- /** Date and time at which Seam created the warning. */
45760
- created_at: string
45761
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45762
- warning_code: 'nest_thermostat_in_manual_eco_mode'
45763
- }
45764
45754
  | {
45765
45755
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45766
45756
  message: string
@@ -47250,14 +47240,6 @@ export interface Routes {
47250
47240
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47251
47241
  warning_code: 'third_party_integration_detected'
47252
47242
  }
47253
- | {
47254
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47255
- message: string
47256
- /** Date and time at which Seam created the warning. */
47257
- created_at: string
47258
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47259
- warning_code: 'nest_thermostat_in_manual_eco_mode'
47260
- }
47261
47243
  | {
47262
47244
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47263
47245
  message: string
@@ -54590,14 +54572,6 @@ export interface Routes {
54590
54572
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54591
54573
  warning_code: 'third_party_integration_detected'
54592
54574
  }
54593
- | {
54594
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54595
- message: string
54596
- /** Date and time at which Seam created the warning. */
54597
- created_at: string
54598
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54599
- warning_code: 'nest_thermostat_in_manual_eco_mode'
54600
- }
54601
54575
  | {
54602
54576
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54603
54577
  message: string
@@ -56087,14 +56061,6 @@ export interface Routes {
56087
56061
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56088
56062
  warning_code: 'third_party_integration_detected'
56089
56063
  }
56090
- | {
56091
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56092
- message: string
56093
- /** Date and time at which Seam created the warning. */
56094
- created_at: string
56095
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56096
- warning_code: 'nest_thermostat_in_manual_eco_mode'
56097
- }
56098
56064
  | {
56099
56065
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56100
56066
  message: string
@@ -61425,6 +61391,15 @@ export interface Routes {
61425
61391
  exclude?: boolean | undefined
61426
61392
  }
61427
61393
  | undefined
61394
+ configure?:
61395
+ | {
61396
+ exclude?: boolean | undefined
61397
+ allow_access_automation_rule_customization?:
61398
+ | boolean
61399
+ | undefined
61400
+ allow_instant_key_customization?: boolean | undefined
61401
+ }
61402
+ | undefined
61428
61403
  }
61429
61404
  | undefined
61430
61405
  is_embedded?: boolean | undefined
@@ -63646,14 +63621,6 @@ export interface Routes {
63646
63621
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63647
63622
  warning_code: 'third_party_integration_detected'
63648
63623
  }
63649
- | {
63650
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63651
- message: string
63652
- /** Date and time at which Seam created the warning. */
63653
- created_at: string
63654
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63655
- warning_code: 'nest_thermostat_in_manual_eco_mode'
63656
- }
63657
63624
  | {
63658
63625
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63659
63626
  message: string
@@ -64068,6 +64035,7 @@ export interface Routes {
64068
64035
  | 'assa_abloy_credential_service'
64069
64036
  | 'latch_building'
64070
64037
  | 'dormakaba_community_site'
64038
+ | 'dormakaba_ambiance_site'
64071
64039
  | 'legic_connect_credential_service'
64072
64040
  | 'assa_abloy_vostio'
64073
64041
  | 'assa_abloy_vostio_credential_service'
@@ -64101,6 +64069,7 @@ export interface Routes {
64101
64069
  | 'assa_abloy_credential_service'
64102
64070
  | 'latch_building'
64103
64071
  | 'dormakaba_community_site'
64072
+ | 'dormakaba_ambiance_site'
64104
64073
  | 'legic_connect_credential_service'
64105
64074
  | 'assa_abloy_vostio'
64106
64075
  | 'assa_abloy_vostio_credential_service'
@@ -70159,14 +70128,6 @@ export interface Routes {
70159
70128
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70160
70129
  warning_code: 'third_party_integration_detected'
70161
70130
  }
70162
- | {
70163
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70164
- message: string
70165
- /** Date and time at which Seam created the warning. */
70166
- created_at: string
70167
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70168
- warning_code: 'nest_thermostat_in_manual_eco_mode'
70169
- }
70170
70131
  | {
70171
70132
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70172
70133
  message: string
@@ -74656,14 +74617,6 @@ export interface Routes {
74656
74617
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74657
74618
  warning_code: 'third_party_integration_detected'
74658
74619
  }
74659
- | {
74660
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
74661
- message: string
74662
- /** Date and time at which Seam created the warning. */
74663
- created_at: string
74664
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74665
- warning_code: 'nest_thermostat_in_manual_eco_mode'
74666
- }
74667
74620
  | {
74668
74621
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
74669
74622
  message: string
@@ -76153,14 +76106,6 @@ export interface Routes {
76153
76106
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76154
76107
  warning_code: 'third_party_integration_detected'
76155
76108
  }
76156
- | {
76157
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76158
- message: string
76159
- /** Date and time at which Seam created the warning. */
76160
- created_at: string
76161
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76162
- warning_code: 'nest_thermostat_in_manual_eco_mode'
76163
- }
76164
76109
  | {
76165
76110
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76166
76111
  message: string
@@ -82518,9 +82463,9 @@ export interface Routes {
82518
82463
  /** Date and time at which the Access Grant was created. */
82519
82464
  created_at: string
82520
82465
  /** Date and time at which the Access Grant starts. */
82521
- starts_at?: string | undefined
82466
+ starts_at: string
82522
82467
  /** Date and time at which the Access Grant ends. */
82523
- ends_at?: string | undefined
82468
+ ends_at: string | null
82524
82469
  }
82525
82470
  }
82526
82471
  }
@@ -82586,9 +82531,9 @@ export interface Routes {
82586
82531
  /** Date and time at which the Access Grant was created. */
82587
82532
  created_at: string
82588
82533
  /** Date and time at which the Access Grant starts. */
82589
- starts_at?: string | undefined
82534
+ starts_at: string
82590
82535
  /** Date and time at which the Access Grant ends. */
82591
- ends_at?: string | undefined
82536
+ ends_at: string | null
82592
82537
  }
82593
82538
  }
82594
82539
  }
@@ -82650,9 +82595,9 @@ export interface Routes {
82650
82595
  /** Date and time at which the Access Grant was created. */
82651
82596
  created_at: string
82652
82597
  /** Date and time at which the Access Grant starts. */
82653
- starts_at?: string | undefined
82598
+ starts_at: string
82654
82599
  /** Date and time at which the Access Grant ends. */
82655
- ends_at?: string | undefined
82600
+ ends_at: string | null
82656
82601
  }>
82657
82602
  }
82658
82603
  }
@@ -84901,14 +84846,6 @@ export interface Routes {
84901
84846
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
84902
84847
  warning_code: 'third_party_integration_detected'
84903
84848
  }
84904
- | {
84905
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
84906
- message: string
84907
- /** Date and time at which Seam created the warning. */
84908
- created_at: string
84909
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
84910
- warning_code: 'nest_thermostat_in_manual_eco_mode'
84911
- }
84912
84849
  | {
84913
84850
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
84914
84851
  message: string
@@ -86400,14 +86337,6 @@ export interface Routes {
86400
86337
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
86401
86338
  warning_code: 'third_party_integration_detected'
86402
86339
  }
86403
- | {
86404
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
86405
- message: string
86406
- /** Date and time at which Seam created the warning. */
86407
- created_at: string
86408
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
86409
- warning_code: 'nest_thermostat_in_manual_eco_mode'
86410
- }
86411
86340
  | {
86412
86341
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
86413
86342
  message: string
@@ -86557,6 +86486,7 @@ export interface Routes {
86557
86486
  | 'assa_abloy_credential_service'
86558
86487
  | 'latch_building'
86559
86488
  | 'dormakaba_community_site'
86489
+ | 'dormakaba_ambiance_site'
86560
86490
  | 'legic_connect_credential_service'
86561
86491
  | 'assa_abloy_vostio'
86562
86492
  | 'assa_abloy_vostio_credential_service'
@@ -86590,6 +86520,7 @@ export interface Routes {
86590
86520
  | 'assa_abloy_credential_service'
86591
86521
  | 'latch_building'
86592
86522
  | 'dormakaba_community_site'
86523
+ | 'dormakaba_ambiance_site'
86593
86524
  | 'legic_connect_credential_service'
86594
86525
  | 'assa_abloy_vostio'
86595
86526
  | 'assa_abloy_vostio_credential_service'
@@ -88681,14 +88612,6 @@ export interface Routes {
88681
88612
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88682
88613
  warning_code: 'third_party_integration_detected'
88683
88614
  }
88684
- | {
88685
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88686
- message: string
88687
- /** Date and time at which Seam created the warning. */
88688
- created_at: string
88689
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88690
- warning_code: 'nest_thermostat_in_manual_eco_mode'
88691
- }
88692
88615
  | {
88693
88616
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88694
88617
  message: string
@@ -88960,6 +88883,7 @@ export interface Routes {
88960
88883
  | 'assa_abloy_credential_service'
88961
88884
  | 'latch_building'
88962
88885
  | 'dormakaba_community_site'
88886
+ | 'dormakaba_ambiance_site'
88963
88887
  | 'legic_connect_credential_service'
88964
88888
  | 'assa_abloy_vostio'
88965
88889
  | 'assa_abloy_vostio_credential_service'
@@ -88993,6 +88917,7 @@ export interface Routes {
88993
88917
  | 'assa_abloy_credential_service'
88994
88918
  | 'latch_building'
88995
88919
  | 'dormakaba_community_site'
88920
+ | 'dormakaba_ambiance_site'
88996
88921
  | 'legic_connect_credential_service'
88997
88922
  | 'assa_abloy_vostio'
88998
88923
  | 'assa_abloy_vostio_credential_service'
@@ -91476,14 +91401,6 @@ export interface Routes {
91476
91401
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
91477
91402
  warning_code: 'third_party_integration_detected'
91478
91403
  }
91479
- | {
91480
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
91481
- message: string
91482
- /** Date and time at which Seam created the warning. */
91483
- created_at: string
91484
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
91485
- warning_code: 'nest_thermostat_in_manual_eco_mode'
91486
- }
91487
91404
  | {
91488
91405
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
91489
91406
  message: string
@@ -91672,6 +91589,55 @@ export interface Routes {
91672
91589
  can_unlock_with_code?: boolean | undefined
91673
91590
  }>
91674
91591
  | undefined
91592
+ connect_webviews?:
91593
+ | Array<{
91594
+ /** ID of the Connect Webview. */
91595
+ connect_webview_id: string
91596
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview. */
91597
+ workspace_id: string
91598
+ /** Date and time at which the Connect Webview was created. */
91599
+ created_at: string
91600
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview. */
91601
+ connected_account_id: string | null
91602
+ /** URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user. */
91603
+ url: string
91604
+ device_selection_mode: 'none' | 'single' | 'multiple'
91605
+ /** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
91606
+ accepted_providers: string[]
91607
+ /** High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`. */
91608
+ accepted_capabilities: Array<
91609
+ 'lock' | 'thermostat' | 'noise_sensor' | 'access_control'
91610
+ >
91611
+ /**
91612
+ * @deprecated Unused. Will be removed. */
91613
+ accepted_devices: string[]
91614
+ /**
91615
+ * @deprecated Unused. Will be removed. */
91616
+ any_device_allowed: boolean
91617
+ /** Indicates whether any provider is allowed. */
91618
+ any_provider_allowed: boolean
91619
+ /** Indicates whether the user logged in successfully using the Connect Webview. */
91620
+ login_successful: boolean
91621
+ /** Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview. */
91622
+ status: 'pending' | 'failed' | 'authorized'
91623
+ /** URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs. */
91624
+ custom_redirect_url: string | null
91625
+ /** URL to which the Connect Webview should redirect when an unexpected error occurs. */
91626
+ custom_redirect_failure_url: string | null
91627
+ /** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
91628
+ custom_metadata: Record<string, string | boolean>
91629
+ /** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API. */
91630
+ automatically_manage_new_devices: boolean
91631
+ /** Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview. */
91632
+ wait_for_device_creation: boolean
91633
+ /** Date and time at which the user authorized (through the Connect Webview) the management of their devices. */
91634
+ authorized_at: string | null
91635
+ /** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
91636
+ selected_provider: string | null
91637
+ /** The customer key associated with this webview, if any. */
91638
+ customer_key?: string | undefined
91639
+ }>
91640
+ | undefined
91675
91641
  }
91676
91642
  }
91677
91643
  }