@seamapi/types 1.1108.0 → 1.1110.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/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.js +458 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +204 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +459 -0
- package/src/lib/seam/connect/route-types.ts +272 -0
|
@@ -14220,6 +14220,8 @@ export type Routes = {
|
|
|
14220
14220
|
household_id?: (string | undefined) | undefined;
|
|
14221
14221
|
/** ID of the Sonos player for the speaker. */
|
|
14222
14222
|
player_id?: (string | undefined) | undefined;
|
|
14223
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
14224
|
+
player_name?: (string | undefined) | undefined;
|
|
14223
14225
|
/** Model name of the speaker, as reported by Sonos. */
|
|
14224
14226
|
model_display_name?: (string | undefined) | undefined;
|
|
14225
14227
|
/** Software version running on the speaker. */
|
|
@@ -22041,6 +22043,8 @@ export type Routes = {
|
|
|
22041
22043
|
household_id?: (string | undefined) | undefined;
|
|
22042
22044
|
/** ID of the Sonos player for the speaker. */
|
|
22043
22045
|
player_id?: (string | undefined) | undefined;
|
|
22046
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
22047
|
+
player_name?: (string | undefined) | undefined;
|
|
22044
22048
|
/** Model name of the speaker, as reported by Sonos. */
|
|
22045
22049
|
model_display_name?: (string | undefined) | undefined;
|
|
22046
22050
|
/** Software version running on the speaker. */
|
|
@@ -45576,7 +45580,7 @@ export type Routes = {
|
|
|
45576
45580
|
/** Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error. */
|
|
45577
45581
|
customer_key?: string | undefined;
|
|
45578
45582
|
/** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://www.seam.co/docs/api/devices/list_device_providers) with no filters. */
|
|
45579
|
-
accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'yacan' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'aqara' | 'yale_access' | 'hid_cm' | 'google_nest' | 'slack')[] | undefined;
|
|
45583
|
+
accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'yacan' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'aqara' | 'sonos' | 'yale_access' | 'hid_cm' | 'google_nest' | 'slack')[] | undefined;
|
|
45580
45584
|
/** Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://www.seam.co/docs/api/devices/list_device_providers) with the desired `provider_category` filter. */
|
|
45581
45585
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
45582
45586
|
/** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs, with key names up to 40 characters long that cannot contain a period (.). [Adding custom metadata to a Connect Webview](https://www.seam.co/docs/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://www.seam.co/docs/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://www.seam.co/docs/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://www.seam.co/docs/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Set a key to `null` or to an empty string to remove that key from the custom metadata. */
|
|
@@ -48164,6 +48168,8 @@ export type Routes = {
|
|
|
48164
48168
|
household_id?: (string | undefined) | undefined;
|
|
48165
48169
|
/** ID of the Sonos player for the speaker. */
|
|
48166
48170
|
player_id?: (string | undefined) | undefined;
|
|
48171
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
48172
|
+
player_name?: (string | undefined) | undefined;
|
|
48167
48173
|
/** Model name of the speaker, as reported by Sonos. */
|
|
48168
48174
|
model_display_name?: (string | undefined) | undefined;
|
|
48169
48175
|
/** Software version running on the speaker. */
|
|
@@ -49032,7 +49038,7 @@ export type Routes = {
|
|
|
49032
49038
|
/** Array of device types for which you want to list devices. */
|
|
49033
49039
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | ('ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera') | 'sonos_speaker')[] | undefined;
|
|
49034
49040
|
/** Manufacturer for which you want to list devices. */
|
|
49035
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
49041
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan' | 'sonos') | undefined;
|
|
49036
49042
|
/** Array of device IDs for which you want to list devices. */
|
|
49037
49043
|
device_ids?: string[] | undefined;
|
|
49038
49044
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -49811,6 +49817,8 @@ export type Routes = {
|
|
|
49811
49817
|
household_id?: (string | undefined) | undefined;
|
|
49812
49818
|
/** ID of the Sonos player for the speaker. */
|
|
49813
49819
|
player_id?: (string | undefined) | undefined;
|
|
49820
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
49821
|
+
player_name?: (string | undefined) | undefined;
|
|
49814
49822
|
/** Model name of the speaker, as reported by Sonos. */
|
|
49815
49823
|
model_display_name?: (string | undefined) | undefined;
|
|
49816
49824
|
/** Software version running on the speaker. */
|
|
@@ -50682,7 +50690,7 @@ export type Routes = {
|
|
|
50682
50690
|
jsonResponse: {
|
|
50683
50691
|
device_providers: {
|
|
50684
50692
|
/** Name of the device provider. */
|
|
50685
|
-
device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'yacan' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'aqara';
|
|
50693
|
+
device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'yacan' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'aqara' | 'sonos';
|
|
50686
50694
|
/** Display name for the device provider. */
|
|
50687
50695
|
display_name: string;
|
|
50688
50696
|
/** Image URL for the device provider. */
|
|
@@ -51391,7 +51399,7 @@ export type Routes = {
|
|
|
51391
51399
|
/** Array of device types for which you want to list devices. */
|
|
51392
51400
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | ('ring_camera' | 'tapo_camera' | 'arlo_camera' | 'reolink_camera') | 'sonos_speaker')[] | undefined;
|
|
51393
51401
|
/** Manufacturer for which you want to list devices. */
|
|
51394
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
51402
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'arlo' | 'reolink' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan' | 'sonos') | undefined;
|
|
51395
51403
|
/** Array of device IDs for which you want to list devices. */
|
|
51396
51404
|
device_ids?: string[] | undefined;
|
|
51397
51405
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -62133,6 +62141,8 @@ export type Routes = {
|
|
|
62133
62141
|
household_id?: (string | undefined) | undefined;
|
|
62134
62142
|
/** ID of the Sonos player for the speaker. */
|
|
62135
62143
|
player_id?: (string | undefined) | undefined;
|
|
62144
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
62145
|
+
player_name?: (string | undefined) | undefined;
|
|
62136
62146
|
/** Model name of the speaker, as reported by Sonos. */
|
|
62137
62147
|
model_display_name?: (string | undefined) | undefined;
|
|
62138
62148
|
/** Software version running on the speaker. */
|
|
@@ -63730,6 +63740,8 @@ export type Routes = {
|
|
|
63730
63740
|
household_id?: (string | undefined) | undefined;
|
|
63731
63741
|
/** ID of the Sonos player for the speaker. */
|
|
63732
63742
|
player_id?: (string | undefined) | undefined;
|
|
63743
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
63744
|
+
player_name?: (string | undefined) | undefined;
|
|
63733
63745
|
/** Model name of the speaker, as reported by Sonos. */
|
|
63734
63746
|
model_display_name?: (string | undefined) | undefined;
|
|
63735
63747
|
/** Software version running on the speaker. */
|
|
@@ -65350,6 +65362,8 @@ export type Routes = {
|
|
|
65350
65362
|
household_id?: (string | undefined) | undefined;
|
|
65351
65363
|
/** ID of the Sonos player for the speaker. */
|
|
65352
65364
|
player_id?: (string | undefined) | undefined;
|
|
65365
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
65366
|
+
player_name?: (string | undefined) | undefined;
|
|
65353
65367
|
/** Model name of the speaker, as reported by Sonos. */
|
|
65354
65368
|
model_display_name?: (string | undefined) | undefined;
|
|
65355
65369
|
/** Software version running on the speaker. */
|
|
@@ -66946,6 +66960,8 @@ export type Routes = {
|
|
|
66946
66960
|
household_id?: (string | undefined) | undefined;
|
|
66947
66961
|
/** ID of the Sonos player for the speaker. */
|
|
66948
66962
|
player_id?: (string | undefined) | undefined;
|
|
66963
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
66964
|
+
player_name?: (string | undefined) | undefined;
|
|
66949
66965
|
/** Model name of the speaker, as reported by Sonos. */
|
|
66950
66966
|
model_display_name?: (string | undefined) | undefined;
|
|
66951
66967
|
/** Software version running on the speaker. */
|
|
@@ -76913,6 +76929,8 @@ export type Routes = {
|
|
|
76913
76929
|
household_id?: (string | undefined) | undefined;
|
|
76914
76930
|
/** ID of the Sonos player for the speaker. */
|
|
76915
76931
|
player_id?: (string | undefined) | undefined;
|
|
76932
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
76933
|
+
player_name?: (string | undefined) | undefined;
|
|
76916
76934
|
/** Model name of the speaker, as reported by Sonos. */
|
|
76917
76935
|
model_display_name?: (string | undefined) | undefined;
|
|
76918
76936
|
/** Software version running on the speaker. */
|
|
@@ -78509,6 +78527,8 @@ export type Routes = {
|
|
|
78509
78527
|
household_id?: (string | undefined) | undefined;
|
|
78510
78528
|
/** ID of the Sonos player for the speaker. */
|
|
78511
78529
|
player_id?: (string | undefined) | undefined;
|
|
78530
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
78531
|
+
player_name?: (string | undefined) | undefined;
|
|
78512
78532
|
/** Model name of the speaker, as reported by Sonos. */
|
|
78513
78533
|
model_display_name?: (string | undefined) | undefined;
|
|
78514
78534
|
/** Software version running on the speaker. */
|
|
@@ -90813,6 +90833,47 @@ export type Routes = {
|
|
|
90813
90833
|
reservation_deleted?: {} | undefined;
|
|
90814
90834
|
};
|
|
90815
90835
|
} | undefined;
|
|
90836
|
+
sound_rules?: {
|
|
90837
|
+
rules: {
|
|
90838
|
+
reservation_created?: {
|
|
90839
|
+
on_check_in?: {
|
|
90840
|
+
minutes_before_check_in?: number | undefined;
|
|
90841
|
+
speakers?: {
|
|
90842
|
+
set_volume_to?: number | undefined;
|
|
90843
|
+
unmute?: boolean | undefined;
|
|
90844
|
+
play_chime?: boolean | undefined;
|
|
90845
|
+
} | undefined;
|
|
90846
|
+
noise_sensors?: {
|
|
90847
|
+
noise_thresholds: {
|
|
90848
|
+
name?: string | undefined;
|
|
90849
|
+
starts_daily_at: string;
|
|
90850
|
+
ends_daily_at: string;
|
|
90851
|
+
noise_threshold_decibels: number;
|
|
90852
|
+
}[];
|
|
90853
|
+
} | undefined;
|
|
90854
|
+
} | undefined;
|
|
90855
|
+
on_check_out?: {
|
|
90856
|
+
minutes_after_check_out?: number | undefined;
|
|
90857
|
+
speakers?: {
|
|
90858
|
+
pause_playback?: boolean | undefined;
|
|
90859
|
+
unmute?: boolean | undefined;
|
|
90860
|
+
reset_volume_to?: number | undefined;
|
|
90861
|
+
} | undefined;
|
|
90862
|
+
noise_sensors?: {
|
|
90863
|
+
noise_thresholds: {
|
|
90864
|
+
name?: string | undefined;
|
|
90865
|
+
starts_daily_at: string;
|
|
90866
|
+
ends_daily_at: string;
|
|
90867
|
+
noise_threshold_decibels: number;
|
|
90868
|
+
}[];
|
|
90869
|
+
} | undefined;
|
|
90870
|
+
} | undefined;
|
|
90871
|
+
} | undefined;
|
|
90872
|
+
reservation_time_updated?: {} | undefined;
|
|
90873
|
+
reservation_spaces_updated?: {} | undefined;
|
|
90874
|
+
reservation_deleted?: {} | undefined;
|
|
90875
|
+
};
|
|
90876
|
+
} | undefined;
|
|
90816
90877
|
};
|
|
90817
90878
|
maxDuration: undefined;
|
|
90818
90879
|
};
|
|
@@ -90899,6 +90960,48 @@ export type Routes = {
|
|
|
90899
90960
|
reservation_deleted?: ({} | null) | undefined;
|
|
90900
90961
|
} | undefined;
|
|
90901
90962
|
} | undefined;
|
|
90963
|
+
/** Sound automation rules configuration. */
|
|
90964
|
+
sound_rules?: {
|
|
90965
|
+
rules?: {
|
|
90966
|
+
reservation_created?: ({
|
|
90967
|
+
on_check_in?: {
|
|
90968
|
+
minutes_before_check_in?: number | undefined;
|
|
90969
|
+
speakers?: {
|
|
90970
|
+
set_volume_to?: number | undefined;
|
|
90971
|
+
unmute?: boolean | undefined;
|
|
90972
|
+
play_chime?: boolean | undefined;
|
|
90973
|
+
} | undefined;
|
|
90974
|
+
noise_sensors?: {
|
|
90975
|
+
noise_thresholds: {
|
|
90976
|
+
name?: string | undefined;
|
|
90977
|
+
starts_daily_at: string;
|
|
90978
|
+
ends_daily_at: string;
|
|
90979
|
+
noise_threshold_decibels: number;
|
|
90980
|
+
}[];
|
|
90981
|
+
} | undefined;
|
|
90982
|
+
} | undefined;
|
|
90983
|
+
on_check_out?: {
|
|
90984
|
+
minutes_after_check_out?: number | undefined;
|
|
90985
|
+
speakers?: {
|
|
90986
|
+
pause_playback?: boolean | undefined;
|
|
90987
|
+
unmute?: boolean | undefined;
|
|
90988
|
+
reset_volume_to?: number | undefined;
|
|
90989
|
+
} | undefined;
|
|
90990
|
+
noise_sensors?: {
|
|
90991
|
+
noise_thresholds: {
|
|
90992
|
+
name?: string | undefined;
|
|
90993
|
+
starts_daily_at: string;
|
|
90994
|
+
ends_daily_at: string;
|
|
90995
|
+
noise_threshold_decibels: number;
|
|
90996
|
+
}[];
|
|
90997
|
+
} | undefined;
|
|
90998
|
+
} | undefined;
|
|
90999
|
+
} | null) | undefined;
|
|
91000
|
+
reservation_time_updated?: ({} | null) | undefined;
|
|
91001
|
+
reservation_spaces_updated?: ({} | null) | undefined;
|
|
91002
|
+
reservation_deleted?: ({} | null) | undefined;
|
|
91003
|
+
} | undefined;
|
|
91004
|
+
} | undefined;
|
|
90902
91005
|
};
|
|
90903
91006
|
commonParams: {};
|
|
90904
91007
|
formData: {};
|
|
@@ -91310,6 +91413,47 @@ export type Routes = {
|
|
|
91310
91413
|
reservation_deleted?: {} | undefined;
|
|
91311
91414
|
};
|
|
91312
91415
|
} | undefined;
|
|
91416
|
+
sound_rules?: {
|
|
91417
|
+
rules: {
|
|
91418
|
+
reservation_created?: {
|
|
91419
|
+
on_check_in?: {
|
|
91420
|
+
minutes_before_check_in?: number | undefined;
|
|
91421
|
+
speakers?: {
|
|
91422
|
+
set_volume_to?: number | undefined;
|
|
91423
|
+
unmute?: boolean | undefined;
|
|
91424
|
+
play_chime?: boolean | undefined;
|
|
91425
|
+
} | undefined;
|
|
91426
|
+
noise_sensors?: {
|
|
91427
|
+
noise_thresholds: {
|
|
91428
|
+
name?: string | undefined;
|
|
91429
|
+
starts_daily_at: string;
|
|
91430
|
+
ends_daily_at: string;
|
|
91431
|
+
noise_threshold_decibels: number;
|
|
91432
|
+
}[];
|
|
91433
|
+
} | undefined;
|
|
91434
|
+
} | undefined;
|
|
91435
|
+
on_check_out?: {
|
|
91436
|
+
minutes_after_check_out?: number | undefined;
|
|
91437
|
+
speakers?: {
|
|
91438
|
+
pause_playback?: boolean | undefined;
|
|
91439
|
+
unmute?: boolean | undefined;
|
|
91440
|
+
reset_volume_to?: number | undefined;
|
|
91441
|
+
} | undefined;
|
|
91442
|
+
noise_sensors?: {
|
|
91443
|
+
noise_thresholds: {
|
|
91444
|
+
name?: string | undefined;
|
|
91445
|
+
starts_daily_at: string;
|
|
91446
|
+
ends_daily_at: string;
|
|
91447
|
+
noise_threshold_decibels: number;
|
|
91448
|
+
}[];
|
|
91449
|
+
} | undefined;
|
|
91450
|
+
} | undefined;
|
|
91451
|
+
} | undefined;
|
|
91452
|
+
reservation_time_updated?: {} | undefined;
|
|
91453
|
+
reservation_spaces_updated?: {} | undefined;
|
|
91454
|
+
reservation_deleted?: {} | undefined;
|
|
91455
|
+
};
|
|
91456
|
+
} | undefined;
|
|
91313
91457
|
};
|
|
91314
91458
|
};
|
|
91315
91459
|
maxDuration: undefined;
|
|
@@ -91395,6 +91539,48 @@ export type Routes = {
|
|
|
91395
91539
|
reservation_deleted?: ({} | null) | undefined;
|
|
91396
91540
|
} | undefined;
|
|
91397
91541
|
} | undefined;
|
|
91542
|
+
/** Sound automation rules configuration. */
|
|
91543
|
+
sound_rules?: {
|
|
91544
|
+
rules?: {
|
|
91545
|
+
reservation_created?: ({
|
|
91546
|
+
on_check_in?: {
|
|
91547
|
+
minutes_before_check_in?: number | undefined;
|
|
91548
|
+
speakers?: {
|
|
91549
|
+
set_volume_to?: number | undefined;
|
|
91550
|
+
unmute?: boolean | undefined;
|
|
91551
|
+
play_chime?: boolean | undefined;
|
|
91552
|
+
} | undefined;
|
|
91553
|
+
noise_sensors?: {
|
|
91554
|
+
noise_thresholds: {
|
|
91555
|
+
name?: string | undefined;
|
|
91556
|
+
starts_daily_at: string;
|
|
91557
|
+
ends_daily_at: string;
|
|
91558
|
+
noise_threshold_decibels: number;
|
|
91559
|
+
}[];
|
|
91560
|
+
} | undefined;
|
|
91561
|
+
} | undefined;
|
|
91562
|
+
on_check_out?: {
|
|
91563
|
+
minutes_after_check_out?: number | undefined;
|
|
91564
|
+
speakers?: {
|
|
91565
|
+
pause_playback?: boolean | undefined;
|
|
91566
|
+
unmute?: boolean | undefined;
|
|
91567
|
+
reset_volume_to?: number | undefined;
|
|
91568
|
+
} | undefined;
|
|
91569
|
+
noise_sensors?: {
|
|
91570
|
+
noise_thresholds: {
|
|
91571
|
+
name?: string | undefined;
|
|
91572
|
+
starts_daily_at: string;
|
|
91573
|
+
ends_daily_at: string;
|
|
91574
|
+
noise_threshold_decibels: number;
|
|
91575
|
+
}[];
|
|
91576
|
+
} | undefined;
|
|
91577
|
+
} | undefined;
|
|
91578
|
+
} | null) | undefined;
|
|
91579
|
+
reservation_time_updated?: ({} | null) | undefined;
|
|
91580
|
+
reservation_spaces_updated?: ({} | null) | undefined;
|
|
91581
|
+
reservation_deleted?: ({} | null) | undefined;
|
|
91582
|
+
} | undefined;
|
|
91583
|
+
} | undefined;
|
|
91398
91584
|
};
|
|
91399
91585
|
commonParams: {};
|
|
91400
91586
|
formData: {};
|
|
@@ -101912,6 +102098,8 @@ export type Routes = {
|
|
|
101912
102098
|
household_id?: (string | undefined) | undefined;
|
|
101913
102099
|
/** ID of the Sonos player for the speaker. */
|
|
101914
102100
|
player_id?: (string | undefined) | undefined;
|
|
102101
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
102102
|
+
player_name?: (string | undefined) | undefined;
|
|
101915
102103
|
/** Model name of the speaker, as reported by Sonos. */
|
|
101916
102104
|
model_display_name?: (string | undefined) | undefined;
|
|
101917
102105
|
/** Software version running on the speaker. */
|
|
@@ -125335,6 +125523,8 @@ export type Routes = {
|
|
|
125335
125523
|
household_id?: (string | undefined) | undefined;
|
|
125336
125524
|
/** ID of the Sonos player for the speaker. */
|
|
125337
125525
|
player_id?: (string | undefined) | undefined;
|
|
125526
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
125527
|
+
player_name?: (string | undefined) | undefined;
|
|
125338
125528
|
/** Model name of the speaker, as reported by Sonos. */
|
|
125339
125529
|
model_display_name?: (string | undefined) | undefined;
|
|
125340
125530
|
/** Software version running on the speaker. */
|
|
@@ -131121,6 +131311,8 @@ export type Routes = {
|
|
|
131121
131311
|
household_id?: (string | undefined) | undefined;
|
|
131122
131312
|
/** ID of the Sonos player for the speaker. */
|
|
131123
131313
|
player_id?: (string | undefined) | undefined;
|
|
131314
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
131315
|
+
player_name?: (string | undefined) | undefined;
|
|
131124
131316
|
/** Model name of the speaker, as reported by Sonos. */
|
|
131125
131317
|
model_display_name?: (string | undefined) | undefined;
|
|
131126
131318
|
/** Software version running on the speaker. */
|
|
@@ -132717,6 +132909,8 @@ export type Routes = {
|
|
|
132717
132909
|
household_id?: (string | undefined) | undefined;
|
|
132718
132910
|
/** ID of the Sonos player for the speaker. */
|
|
132719
132911
|
player_id?: (string | undefined) | undefined;
|
|
132912
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
132913
|
+
player_name?: (string | undefined) | undefined;
|
|
132720
132914
|
/** Model name of the speaker, as reported by Sonos. */
|
|
132721
132915
|
model_display_name?: (string | undefined) | undefined;
|
|
132722
132916
|
/** Software version running on the speaker. */
|
|
@@ -143627,6 +143821,8 @@ export type Routes = {
|
|
|
143627
143821
|
household_id?: (string | undefined) | undefined;
|
|
143628
143822
|
/** ID of the Sonos player for the speaker. */
|
|
143629
143823
|
player_id?: (string | undefined) | undefined;
|
|
143824
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
143825
|
+
player_name?: (string | undefined) | undefined;
|
|
143630
143826
|
/** Model name of the speaker, as reported by Sonos. */
|
|
143631
143827
|
model_display_name?: (string | undefined) | undefined;
|
|
143632
143828
|
/** Software version running on the speaker. */
|
|
@@ -145225,6 +145421,8 @@ export type Routes = {
|
|
|
145225
145421
|
household_id?: (string | undefined) | undefined;
|
|
145226
145422
|
/** ID of the Sonos player for the speaker. */
|
|
145227
145423
|
player_id?: (string | undefined) | undefined;
|
|
145424
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
145425
|
+
player_name?: (string | undefined) | undefined;
|
|
145228
145426
|
/** Model name of the speaker, as reported by Sonos. */
|
|
145229
145427
|
model_display_name?: (string | undefined) | undefined;
|
|
145230
145428
|
/** Software version running on the speaker. */
|
|
@@ -148166,6 +148364,8 @@ export type Routes = {
|
|
|
148166
148364
|
household_id?: (string | undefined) | undefined;
|
|
148167
148365
|
/** ID of the Sonos player for the speaker. */
|
|
148168
148366
|
player_id?: (string | undefined) | undefined;
|
|
148367
|
+
/** Name of the speaker, as set in the Sonos app. */
|
|
148368
|
+
player_name?: (string | undefined) | undefined;
|
|
148169
148369
|
/** Model name of the speaker, as reported by Sonos. */
|
|
148170
148370
|
model_display_name?: (string | undefined) | undefined;
|
|
148171
148371
|
/** Software version running on the speaker. */
|
package/package.json
CHANGED
|
@@ -1334,6 +1334,10 @@ export const device_metadata = z
|
|
|
1334
1334
|
.string()
|
|
1335
1335
|
.optional()
|
|
1336
1336
|
.describe('ID of the Sonos player for the speaker.'),
|
|
1337
|
+
player_name: z
|
|
1338
|
+
.string()
|
|
1339
|
+
.optional()
|
|
1340
|
+
.describe('Name of the speaker, as set in the Sonos app.'),
|
|
1337
1341
|
model_display_name: z
|
|
1338
1342
|
.string()
|
|
1339
1343
|
.optional()
|