@seamapi/http 2.37.0 → 2.39.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/resources/access-grant.d.ts +17 -2
- package/lib/resources/access-method.d.ts +31 -1
- package/lib/resources/acs-entrance.d.ts +6 -2
- package/lib/resources/acs-system.d.ts +15 -0
- package/lib/resources/action-attempt.d.ts +396 -8
- package/lib/resources/connect-webview.d.ts +1 -1
- package/lib/resources/connected-account.d.ts +1 -1
- package/lib/resources/device-provider.d.ts +17 -1
- package/lib/resources/device.d.ts +112 -1
- package/lib/resources/phone.d.ts +702 -10
- package/lib/resources/unmanaged-access-grant.d.ts +17 -2
- package/lib/resources/unmanaged-access-method.d.ts +31 -1
- package/lib/resources/unmanaged-device.d.ts +17 -1
- package/lib/routes/connect-webviews/connect-webviews.d.ts +2 -2
- package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
- package/lib/routes/customers/customers.d.ts +13 -0
- package/lib/routes/customers/customers.js +1 -0
- package/lib/routes/customers/customers.js.map +1 -1
- package/lib/routes/devices/devices.d.ts +3 -3
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +3 -3
- package/lib/routes/seam-http-endpoints.d.ts +1 -0
- package/lib/routes/seam-http-endpoints.js +1 -0
- package/lib/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/resources/access-grant.ts +41 -23
- package/src/lib/resources/access-method.ts +53 -17
- package/src/lib/resources/acs-entrance.ts +17 -12
- package/src/lib/resources/acs-system.ts +18 -0
- package/src/lib/resources/action-attempt.ts +503 -25
- package/src/lib/resources/connect-webview.ts +6 -1
- package/src/lib/resources/connected-account.ts +6 -1
- package/src/lib/resources/device-provider.ts +17 -0
- package/src/lib/resources/device.ts +127 -0
- package/src/lib/resources/phone.ts +855 -22
- package/src/lib/resources/unmanaged-access-grant.ts +41 -23
- package/src/lib/resources/unmanaged-access-method.ts +53 -17
- package/src/lib/resources/unmanaged-device.ts +17 -0
- package/src/lib/routes/connect-webviews/connect-webviews.ts +7 -1
- package/src/lib/routes/connected-accounts/connected-accounts.ts +6 -1
- package/src/lib/routes/customers/customers.ts +13 -0
- package/src/lib/routes/devices/devices.ts +3 -0
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +3 -0
- package/src/lib/routes/seam-http-endpoints.ts +1 -0
- package/src/lib/version.ts +1 -1
|
@@ -46,6 +46,21 @@ export type UnmanagedAccessGrant = {
|
|
|
46
46
|
* IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.
|
|
47
47
|
*/
|
|
48
48
|
missing_device_ids?: Array<string> | undefined;
|
|
49
|
+
} /**
|
|
50
|
+
* Indicates that the access system rejected the access that Seam tried to set up for this access grant, so its credentials cannot open the affected entrances. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.
|
|
51
|
+
*/ | {
|
|
52
|
+
/**
|
|
53
|
+
* Date and time at which Seam created the error.
|
|
54
|
+
*/
|
|
55
|
+
created_at: string;
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
58
|
+
*/
|
|
59
|
+
error_code: 'access_not_provisioned';
|
|
60
|
+
/**
|
|
61
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
62
|
+
*/
|
|
63
|
+
message: string;
|
|
49
64
|
}>;
|
|
50
65
|
/**
|
|
51
66
|
* @deprecated Use `space_ids`.
|
|
@@ -239,9 +254,9 @@ export type UnmanagedAccessGrant = {
|
|
|
239
254
|
*/
|
|
240
255
|
device_id: string;
|
|
241
256
|
/**
|
|
242
|
-
* Reason the access code could not be revoked
|
|
257
|
+
* Reason the access code could not be revoked.
|
|
243
258
|
*/
|
|
244
|
-
error_code:
|
|
259
|
+
error_code: 'offline_access_code_not_revocable';
|
|
245
260
|
/**
|
|
246
261
|
* Human-readable description of why revocation failed.
|
|
247
262
|
*/
|
|
@@ -42,6 +42,21 @@ export type UnmanagedAccessMethod = {
|
|
|
42
42
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
43
43
|
*/
|
|
44
44
|
message: string;
|
|
45
|
+
} /**
|
|
46
|
+
* Indicates that the access system rejected the access that Seam tried to set up for this access method, so its credential cannot open the affected entrances, even after it is issued. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.
|
|
47
|
+
*/ | {
|
|
48
|
+
/**
|
|
49
|
+
* Date and time at which Seam created the error.
|
|
50
|
+
*/
|
|
51
|
+
created_at: string;
|
|
52
|
+
/**
|
|
53
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
54
|
+
*/
|
|
55
|
+
error_code: 'access_not_provisioned';
|
|
56
|
+
/**
|
|
57
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
58
|
+
*/
|
|
59
|
+
message: string;
|
|
45
60
|
}>;
|
|
46
61
|
/**
|
|
47
62
|
* Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.
|
|
@@ -60,7 +75,7 @@ export type UnmanagedAccessMethod = {
|
|
|
60
75
|
*/
|
|
61
76
|
is_ready_for_assignment?: boolean | undefined;
|
|
62
77
|
/**
|
|
63
|
-
* Indicates whether the access method is ready to be encoded. This is true when the
|
|
78
|
+
* Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.
|
|
64
79
|
*/
|
|
65
80
|
is_ready_for_encoding?: boolean | undefined;
|
|
66
81
|
/**
|
|
@@ -183,6 +198,21 @@ export type UnmanagedAccessMethod = {
|
|
|
183
198
|
*/
|
|
184
199
|
starts_at: string | null;
|
|
185
200
|
};
|
|
201
|
+
} /**
|
|
202
|
+
* The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.
|
|
203
|
+
*/ | {
|
|
204
|
+
/**
|
|
205
|
+
* Date and time at which the mutation was created.
|
|
206
|
+
*/
|
|
207
|
+
created_at: string;
|
|
208
|
+
/**
|
|
209
|
+
* Detailed description of the mutation.
|
|
210
|
+
*/
|
|
211
|
+
message: string;
|
|
212
|
+
/**
|
|
213
|
+
* Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.
|
|
214
|
+
*/
|
|
215
|
+
mutation_code: 'waiting_for_access_on_acs_system';
|
|
186
216
|
}>;
|
|
187
217
|
/**
|
|
188
218
|
* Warnings associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant).
|
|
@@ -22,6 +22,18 @@ export type UnmanagedDevice = {
|
|
|
22
22
|
* Indicates whether the thermostat supports simultaneous heating and cooling.
|
|
23
23
|
*/
|
|
24
24
|
can_hvac_heat_cool?: boolean | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates whether the speaker supports muting and unmuting.
|
|
27
|
+
*/
|
|
28
|
+
can_mute_speaker?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Indicates whether the speaker supports pausing and resuming playback.
|
|
31
|
+
*/
|
|
32
|
+
can_pause_speaker_playback?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether the speaker supports playing a chime.
|
|
35
|
+
*/
|
|
36
|
+
can_play_speaker_chime?: boolean | undefined;
|
|
25
37
|
/**
|
|
26
38
|
* Indicates whether the device supports programming offline access codes.
|
|
27
39
|
*/
|
|
@@ -54,6 +66,10 @@ export type UnmanagedDevice = {
|
|
|
54
66
|
* Indicates whether the thermostat supports running climate programs.
|
|
55
67
|
*/
|
|
56
68
|
can_run_thermostat_programs?: boolean | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Indicates whether the speaker supports setting its volume.
|
|
71
|
+
*/
|
|
72
|
+
can_set_speaker_volume?: boolean | undefined;
|
|
57
73
|
/**
|
|
58
74
|
* Indicates whether the device supports simulating connection in a sandbox.
|
|
59
75
|
*/
|
|
@@ -113,7 +129,7 @@ export type UnmanagedDevice = {
|
|
|
113
129
|
/**
|
|
114
130
|
* Type of the device.
|
|
115
131
|
*/
|
|
116
|
-
device_type: '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';
|
|
132
|
+
device_type: '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';
|
|
117
133
|
/**
|
|
118
134
|
* Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.
|
|
119
135
|
*/
|
|
@@ -46,11 +46,11 @@ export type ConnectWebviewsCreateParameters = {
|
|
|
46
46
|
/**
|
|
47
47
|
* List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers.
|
|
48
48
|
*/
|
|
49
|
-
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera'> | undefined;
|
|
49
|
+
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera' | 'speaker'> | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* 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.
|
|
52
52
|
*/
|
|
53
|
-
accepted_providers?: Array<'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;
|
|
53
|
+
accepted_providers?: Array<'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;
|
|
54
54
|
/**
|
|
55
55
|
* Indicates whether newly-added devices should appear as [managed devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices). See also: [Customize the Behavior Settings of Your Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews).
|
|
56
56
|
*/
|
|
@@ -131,7 +131,7 @@ export type ConnectedAccountsUpdateParameters = {
|
|
|
131
131
|
/**
|
|
132
132
|
* List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`.
|
|
133
133
|
*/
|
|
134
|
-
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera'> | undefined;
|
|
134
|
+
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera' | 'speaker'> | undefined;
|
|
135
135
|
/**
|
|
136
136
|
* Indicates whether newly-added devices should appear as [managed devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices).
|
|
137
137
|
*/
|
|
@@ -22,6 +22,7 @@ export declare class SeamHttpCustomers {
|
|
|
22
22
|
/**
|
|
23
23
|
* Deletes customer data including resources like spaces, properties, rooms, users, etc.
|
|
24
24
|
* This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
|
|
25
|
+
* Space keys also match spaces created directly with a `space_key` (for example, through `/spaces/create`).
|
|
25
26
|
*/
|
|
26
27
|
deleteData(parameters?: CustomersDeleteDataParameters, options?: CustomersDeleteDataOptions): CustomersDeleteDataRequest;
|
|
27
28
|
/**
|
|
@@ -270,6 +271,10 @@ export type CustomersCreatePortalParameters = {
|
|
|
270
271
|
*/
|
|
271
272
|
name?: string | undefined;
|
|
272
273
|
}> | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Overrides the workspace and device defaults. Pass `null` to remove the customer's override.
|
|
276
|
+
*/
|
|
277
|
+
low_battery_alert_threshold?: number | null | undefined;
|
|
273
278
|
/**
|
|
274
279
|
* List of short-term rental properties.
|
|
275
280
|
*/
|
|
@@ -679,6 +684,10 @@ export type CustomersCreatePortalParameters = {
|
|
|
679
684
|
* Indicates whether the customer can customize the Instant Key profile for their properties.
|
|
680
685
|
*/
|
|
681
686
|
allow_instant_key_customization?: boolean | undefined;
|
|
687
|
+
/**
|
|
688
|
+
* Indicates whether the customer can customize their notification settings, such as the low-battery alert threshold.
|
|
689
|
+
*/
|
|
690
|
+
allow_notification_customization?: boolean | undefined;
|
|
682
691
|
/**
|
|
683
692
|
* Whether to exclude this feature from the portal.
|
|
684
693
|
*/
|
|
@@ -1149,6 +1158,10 @@ export type CustomersPushDataParameters = {
|
|
|
1149
1158
|
*/
|
|
1150
1159
|
name?: string | undefined;
|
|
1151
1160
|
}> | undefined;
|
|
1161
|
+
/**
|
|
1162
|
+
* Battery level, from 0 to 1, at or below which `device.low_battery` events fire for this customer's devices. Overrides the workspace and device defaults. Pass `null` to remove the customer's override.
|
|
1163
|
+
*/
|
|
1164
|
+
low_battery_alert_threshold?: number | null | undefined;
|
|
1152
1165
|
/**
|
|
1153
1166
|
* List of short-term rental properties.
|
|
1154
1167
|
*/
|
|
@@ -101,6 +101,7 @@ export class SeamHttpCustomers {
|
|
|
101
101
|
/**
|
|
102
102
|
* Deletes customer data including resources like spaces, properties, rooms, users, etc.
|
|
103
103
|
* This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
|
|
104
|
+
* Space keys also match spaces created directly with a `space_key` (for example, through `/spaces/create`).
|
|
104
105
|
*/
|
|
105
106
|
deleteData(parameters, options = {}) {
|
|
106
107
|
return new SeamHttpRequest(this, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/lib/routes/customers/customers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAe,YAAY,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EACL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J,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,UAAuC,EACvC,UAAoC,EAAE;QAEtC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,sBAAsB;YAChC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,UAAU;YACV,qBAAqB,EAAE,IAAI;YAC3B,sBAAsB,EAAE,CAAC,cAAc,CAAC;YACxC,wBAAwB,EAAE,EAAE;YAC5B,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF"}
|
|
@@ -101,11 +101,11 @@ export type DevicesListParameters = {
|
|
|
101
101
|
/**
|
|
102
102
|
* Device type for which you want to list devices.
|
|
103
103
|
*/
|
|
104
|
-
device_type?: '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' | undefined;
|
|
104
|
+
device_type?: '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;
|
|
105
105
|
/**
|
|
106
106
|
* Array of device types for which you want to list devices.
|
|
107
107
|
*/
|
|
108
|
-
device_types?: Array<'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'> | undefined;
|
|
108
|
+
device_types?: Array<'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;
|
|
109
109
|
/**
|
|
110
110
|
* Numerical limit on the number of devices to return.
|
|
111
111
|
*/
|
|
@@ -113,7 +113,7 @@ export type DevicesListParameters = {
|
|
|
113
113
|
/**
|
|
114
114
|
* Manufacturer for which you want to list devices.
|
|
115
115
|
*/
|
|
116
|
-
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;
|
|
116
|
+
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;
|
|
117
117
|
/**
|
|
118
118
|
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
119
119
|
*/
|
|
@@ -84,11 +84,11 @@ export type DevicesUnmanagedListParameters = {
|
|
|
84
84
|
/**
|
|
85
85
|
* Device type for which you want to list devices.
|
|
86
86
|
*/
|
|
87
|
-
device_type?: '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' | undefined;
|
|
87
|
+
device_type?: '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;
|
|
88
88
|
/**
|
|
89
89
|
* Array of device types for which you want to list devices.
|
|
90
90
|
*/
|
|
91
|
-
device_types?: Array<'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'> | undefined;
|
|
91
|
+
device_types?: Array<'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;
|
|
92
92
|
/**
|
|
93
93
|
* Numerical limit on the number of devices to return.
|
|
94
94
|
*/
|
|
@@ -96,7 +96,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
96
96
|
/**
|
|
97
97
|
* Manufacturer for which you want to list devices.
|
|
98
98
|
*/
|
|
99
|
-
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;
|
|
99
|
+
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;
|
|
100
100
|
/**
|
|
101
101
|
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
102
102
|
*/
|
|
@@ -534,6 +534,7 @@ export declare class SeamHttpEndpoints {
|
|
|
534
534
|
/**
|
|
535
535
|
* Deletes customer data including resources like spaces, properties, rooms, users, etc.
|
|
536
536
|
* This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
|
|
537
|
+
* Space keys also match spaces created directly with a `space_key` (for example, through `/spaces/create`).
|
|
537
538
|
*/
|
|
538
539
|
get '/customers/delete_data'(): (parameters?: CustomersDeleteDataParameters, options?: CustomersDeleteDataOptions) => CustomersDeleteDataRequest;
|
|
539
540
|
/**
|
|
@@ -1212,6 +1212,7 @@ export class SeamHttpEndpoints {
|
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Deletes customer data including resources like spaces, properties, rooms, users, etc.
|
|
1214
1214
|
* This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
|
|
1215
|
+
* Space keys also match spaces created directly with a `space_key` (for example, through `/spaces/create`).
|
|
1215
1216
|
*/
|
|
1216
1217
|
get '/customers/delete_data'() {
|
|
1217
1218
|
const { client, defaults } = this;
|