@seamapi/types 1.406.7 → 1.406.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +442 -78
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +418 -21
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +5 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +3 -0
- package/lib/seam/connect/models/acs/acs-encoder.js +4 -0
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js +23 -7
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +3 -6
- package/lib/seam/connect/models/partner/magic-link.js +5 -2
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/models/partner/resources.d.ts +16 -0
- package/lib/seam/connect/models/partner/resources.js +11 -0
- package/lib/seam/connect/models/partner/resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +308 -13
- package/lib/seam/connect/openapi.js +411 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +101 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -1
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +6 -0
- package/src/lib/seam/connect/models/noise-sensors/noise-threshold.ts +29 -7
- package/src/lib/seam/connect/models/partner/magic-link.ts +5 -2
- package/src/lib/seam/connect/models/partner/resources.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +464 -60
- package/src/lib/seam/connect/route-types.ts +110 -11
|
@@ -4265,6 +4265,7 @@ export interface Routes {
|
|
|
4265
4265
|
queryParams: {}
|
|
4266
4266
|
jsonBody: {}
|
|
4267
4267
|
commonParams: {
|
|
4268
|
+
customer_ids?: string[] | undefined
|
|
4268
4269
|
/** ID of the device for which you want to list access codes. Specify either `device_id` or `access_code_ids`. */
|
|
4269
4270
|
device_id?: string | undefined
|
|
4270
4271
|
/** IDs of the access codes that you want to retrieve. Specify either `device_id` or `access_code_ids`. */
|
|
@@ -10147,6 +10148,8 @@ export interface Routes {
|
|
|
10147
10148
|
acs_system_id: string
|
|
10148
10149
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
10149
10150
|
workspace_id: string
|
|
10151
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
|
|
10152
|
+
connected_account_id: string
|
|
10150
10153
|
/** Name of the access group. */
|
|
10151
10154
|
name: string
|
|
10152
10155
|
/**
|
|
@@ -10209,6 +10212,8 @@ export interface Routes {
|
|
|
10209
10212
|
acs_system_id: string
|
|
10210
10213
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
10211
10214
|
workspace_id: string
|
|
10215
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
|
|
10216
|
+
connected_account_id: string
|
|
10212
10217
|
/** Name of the access group. */
|
|
10213
10218
|
name: string
|
|
10214
10219
|
/**
|
|
@@ -10614,6 +10619,8 @@ export interface Routes {
|
|
|
10614
10619
|
acs_system_id: string
|
|
10615
10620
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
10616
10621
|
workspace_id: string
|
|
10622
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
|
|
10623
|
+
connected_account_id: string
|
|
10617
10624
|
/** Name of the access group. */
|
|
10618
10625
|
name: string
|
|
10619
10626
|
/**
|
|
@@ -10674,6 +10681,8 @@ export interface Routes {
|
|
|
10674
10681
|
acs_system_id: string
|
|
10675
10682
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
10676
10683
|
workspace_id: string
|
|
10684
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
|
|
10685
|
+
connected_account_id: string
|
|
10677
10686
|
/** Name of the access group. */
|
|
10678
10687
|
name: string
|
|
10679
10688
|
/**
|
|
@@ -15031,6 +15040,8 @@ export interface Routes {
|
|
|
15031
15040
|
acs_encoder_id: string
|
|
15032
15041
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15033
15042
|
acs_system_id: string
|
|
15043
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15044
|
+
connected_account_id: string
|
|
15034
15045
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15035
15046
|
workspace_id: string
|
|
15036
15047
|
/** Errors associated with the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
@@ -15080,6 +15091,8 @@ export interface Routes {
|
|
|
15080
15091
|
acs_encoder_id: string
|
|
15081
15092
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15082
15093
|
acs_system_id: string
|
|
15094
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15095
|
+
connected_account_id: string
|
|
15083
15096
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
15084
15097
|
workspace_id: string
|
|
15085
15098
|
/** Errors associated with the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
@@ -41143,13 +41156,13 @@ export interface Routes {
|
|
|
41143
41156
|
connected_account_ids?: string[] | undefined
|
|
41144
41157
|
/** ID of the Connect Webview for which you want to list devices. */
|
|
41145
41158
|
connect_webview_id?: string | undefined
|
|
41146
|
-
/** Device type
|
|
41159
|
+
/** Device type of the noise sensors that you want to list. */
|
|
41147
41160
|
device_type?: ('noiseaware_activity_zone' | 'minut_sensor') | undefined
|
|
41148
|
-
/**
|
|
41161
|
+
/** Device types of the noise sensors that you want to list. */
|
|
41149
41162
|
device_types?:
|
|
41150
41163
|
| Array<'noiseaware_activity_zone' | 'minut_sensor'>
|
|
41151
41164
|
| undefined
|
|
41152
|
-
/**
|
|
41165
|
+
/** Manufacturers of the noise sensors that you want to list. */
|
|
41153
41166
|
manufacturer?: ('minut' | 'noiseaware') | undefined
|
|
41154
41167
|
/** Array of device IDs for which you want to list devices. */
|
|
41155
41168
|
device_ids?: string[] | undefined
|
|
@@ -44083,12 +44096,19 @@ export interface Routes {
|
|
|
44083
44096
|
method: 'POST'
|
|
44084
44097
|
queryParams: {}
|
|
44085
44098
|
jsonBody: {
|
|
44099
|
+
/** ID of the device for which you want to create a noise threshold. */
|
|
44086
44100
|
device_id: string
|
|
44101
|
+
/** */
|
|
44087
44102
|
sync?: boolean
|
|
44103
|
+
/** Name of the new noise threshold. */
|
|
44088
44104
|
name?: string | undefined
|
|
44105
|
+
/** Time at which the new noise threshold should become active daily. */
|
|
44089
44106
|
starts_daily_at: string
|
|
44107
|
+
/** Time at which the new noise threshold should become inactive daily. */
|
|
44090
44108
|
ends_daily_at: string
|
|
44109
|
+
/** Noise level in decibels for the new noise threshold. */
|
|
44091
44110
|
noise_threshold_decibels?: number | undefined
|
|
44111
|
+
/** Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
|
|
44092
44112
|
noise_threshold_nrs?: number | undefined
|
|
44093
44113
|
}
|
|
44094
44114
|
commonParams: {}
|
|
@@ -45386,14 +45406,21 @@ export interface Routes {
|
|
|
45386
45406
|
message: string
|
|
45387
45407
|
}
|
|
45388
45408
|
}
|
|
45389
|
-
/**
|
|
45409
|
+
/** Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them. */
|
|
45390
45410
|
noise_threshold: {
|
|
45411
|
+
/** Unique identifier for the noise threshold. */
|
|
45391
45412
|
noise_threshold_id: string
|
|
45413
|
+
/** Unique identifier for the device that contains the noise threshold. */
|
|
45392
45414
|
device_id: string
|
|
45415
|
+
/** Name of the noise threshold. */
|
|
45393
45416
|
name: string
|
|
45417
|
+
/** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
|
|
45394
45418
|
noise_threshold_nrs?: number | undefined
|
|
45419
|
+
/** Time at which the noise threshold should become active daily. */
|
|
45395
45420
|
starts_daily_at: string
|
|
45421
|
+
/** Time at which the noise threshold should become inactive daily. */
|
|
45396
45422
|
ends_daily_at: string
|
|
45423
|
+
/** Noise level in decibels for the noise threshold. */
|
|
45397
45424
|
noise_threshold_decibels: number
|
|
45398
45425
|
}
|
|
45399
45426
|
}
|
|
@@ -45403,8 +45430,11 @@ export interface Routes {
|
|
|
45403
45430
|
method: 'DELETE' | 'POST'
|
|
45404
45431
|
queryParams: {}
|
|
45405
45432
|
jsonBody: {
|
|
45433
|
+
/** ID of the noise threshold that you want to delete. */
|
|
45406
45434
|
noise_threshold_id: string
|
|
45435
|
+
/** ID of the device that contains the noise threshold that you want to delete. */
|
|
45407
45436
|
device_id: string
|
|
45437
|
+
/** */
|
|
45408
45438
|
sync?: boolean
|
|
45409
45439
|
}
|
|
45410
45440
|
commonParams: {}
|
|
@@ -46710,18 +46740,26 @@ export interface Routes {
|
|
|
46710
46740
|
queryParams: {}
|
|
46711
46741
|
jsonBody: {}
|
|
46712
46742
|
commonParams: {
|
|
46743
|
+
/** ID of the noise threshold that you want to get. */
|
|
46713
46744
|
noise_threshold_id: string
|
|
46714
46745
|
}
|
|
46715
46746
|
formData: {}
|
|
46716
46747
|
jsonResponse: {
|
|
46717
|
-
/**
|
|
46748
|
+
/** Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them. */
|
|
46718
46749
|
noise_threshold: {
|
|
46750
|
+
/** Unique identifier for the noise threshold. */
|
|
46719
46751
|
noise_threshold_id: string
|
|
46752
|
+
/** Unique identifier for the device that contains the noise threshold. */
|
|
46720
46753
|
device_id: string
|
|
46754
|
+
/** Name of the noise threshold. */
|
|
46721
46755
|
name: string
|
|
46756
|
+
/** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
|
|
46722
46757
|
noise_threshold_nrs?: number | undefined
|
|
46758
|
+
/** Time at which the noise threshold should become active daily. */
|
|
46723
46759
|
starts_daily_at: string
|
|
46760
|
+
/** Time at which the noise threshold should become inactive daily. */
|
|
46724
46761
|
ends_daily_at: string
|
|
46762
|
+
/** Noise level in decibels for the noise threshold. */
|
|
46725
46763
|
noise_threshold_decibels: number
|
|
46726
46764
|
}
|
|
46727
46765
|
}
|
|
@@ -46732,18 +46770,27 @@ export interface Routes {
|
|
|
46732
46770
|
queryParams: {}
|
|
46733
46771
|
jsonBody: {}
|
|
46734
46772
|
commonParams: {
|
|
46773
|
+
/** ID of the device for which you want to list noise thresholds. */
|
|
46735
46774
|
device_id: string
|
|
46775
|
+
/** Enables you to limit the returned noise thresholds by whether they are programmed on the noise sensor. To list only noise thresholds that are programmed on the noise sensor, set this parameter to `true`. To list only noise thresholds that are not programmed on the noise sensor, se this parameter to `false`. */
|
|
46736
46776
|
is_programmed?: boolean | undefined
|
|
46737
46777
|
}
|
|
46738
46778
|
formData: {}
|
|
46739
46779
|
jsonResponse: {
|
|
46740
46780
|
noise_thresholds: Array<{
|
|
46781
|
+
/** Unique identifier for the noise threshold. */
|
|
46741
46782
|
noise_threshold_id: string
|
|
46783
|
+
/** Unique identifier for the device that contains the noise threshold. */
|
|
46742
46784
|
device_id: string
|
|
46785
|
+
/** Name of the noise threshold. */
|
|
46743
46786
|
name: string
|
|
46787
|
+
/** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
|
|
46744
46788
|
noise_threshold_nrs?: number | undefined
|
|
46789
|
+
/** Time at which the noise threshold should become active daily. */
|
|
46745
46790
|
starts_daily_at: string
|
|
46791
|
+
/** Time at which the noise threshold should become inactive daily. */
|
|
46746
46792
|
ends_daily_at: string
|
|
46793
|
+
/** Noise level in decibels for the noise threshold. */
|
|
46747
46794
|
noise_threshold_decibels: number
|
|
46748
46795
|
}>
|
|
46749
46796
|
}
|
|
@@ -46753,13 +46800,21 @@ export interface Routes {
|
|
|
46753
46800
|
method: 'PATCH' | 'POST' | 'PUT'
|
|
46754
46801
|
queryParams: {}
|
|
46755
46802
|
jsonBody: {
|
|
46803
|
+
/** ID of the noise threshold that you want to update. */
|
|
46756
46804
|
noise_threshold_id: string
|
|
46805
|
+
/** ID of the device that contains the noise threshold that you want to update. */
|
|
46757
46806
|
device_id: string
|
|
46807
|
+
/** */
|
|
46758
46808
|
sync?: boolean
|
|
46809
|
+
/** Name of the noise threshold that you want to update. */
|
|
46759
46810
|
name?: string | undefined
|
|
46811
|
+
/** Time at which the noise threshold should become active daily. */
|
|
46760
46812
|
starts_daily_at?: string | undefined
|
|
46813
|
+
/** Time at which the noise threshold should become inactive daily. */
|
|
46761
46814
|
ends_daily_at?: string | undefined
|
|
46815
|
+
/** Noise level in decibels for the noise threshold. */
|
|
46762
46816
|
noise_threshold_decibels?: number | undefined
|
|
46817
|
+
/** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
|
|
46763
46818
|
noise_threshold_nrs?: number | undefined
|
|
46764
46819
|
}
|
|
46765
46820
|
commonParams: {}
|
|
@@ -48064,6 +48119,7 @@ export interface Routes {
|
|
|
48064
48119
|
method: 'POST'
|
|
48065
48120
|
queryParams: {}
|
|
48066
48121
|
jsonBody: {
|
|
48122
|
+
/** ID of the device for which you want to simulate the triggering of a noise threshold. */
|
|
48067
48123
|
device_id: string
|
|
48068
48124
|
}
|
|
48069
48125
|
commonParams: {}
|
|
@@ -49009,6 +49065,32 @@ export interface Routes {
|
|
|
49009
49065
|
}
|
|
49010
49066
|
}
|
|
49011
49067
|
}
|
|
49068
|
+
'/seam/partner/v1/building_blocks/spaces/auto_map': {
|
|
49069
|
+
route: '/seam/partner/v1/building_blocks/spaces/auto_map'
|
|
49070
|
+
method: 'GET' | 'POST'
|
|
49071
|
+
queryParams: {}
|
|
49072
|
+
jsonBody: {}
|
|
49073
|
+
commonParams: {
|
|
49074
|
+
collection_key: string
|
|
49075
|
+
}
|
|
49076
|
+
formData: {}
|
|
49077
|
+
jsonResponse: {
|
|
49078
|
+
spaces: Array<{
|
|
49079
|
+
name: string
|
|
49080
|
+
partner_resource_key: string
|
|
49081
|
+
devices: Array<{
|
|
49082
|
+
device_id: string
|
|
49083
|
+
device_type: 'lock' | 'thermostat' | 'sensor'
|
|
49084
|
+
name: string
|
|
49085
|
+
}>
|
|
49086
|
+
acs_entrances: Array<{
|
|
49087
|
+
acs_entrance_id: string
|
|
49088
|
+
name: string
|
|
49089
|
+
}>
|
|
49090
|
+
needs_review?: boolean | undefined
|
|
49091
|
+
}>
|
|
49092
|
+
}
|
|
49093
|
+
}
|
|
49012
49094
|
'/seam/partner/v1/resources/list': {
|
|
49013
49095
|
route: '/seam/partner/v1/resources/list'
|
|
49014
49096
|
method: 'GET' | 'POST'
|
|
@@ -66164,17 +66246,34 @@ export interface Routes {
|
|
|
66164
66246
|
method: 'POST' | 'GET'
|
|
66165
66247
|
queryParams: {}
|
|
66166
66248
|
jsonBody: {}
|
|
66167
|
-
commonParams:
|
|
66168
|
-
|
|
66169
|
-
|
|
66170
|
-
|
|
66249
|
+
commonParams:
|
|
66250
|
+
| {
|
|
66251
|
+
building_block_type: 'connect_account'
|
|
66252
|
+
customer_key: string
|
|
66253
|
+
}
|
|
66254
|
+
| {
|
|
66255
|
+
building_block_type: 'manage_devices'
|
|
66256
|
+
customer_key: string
|
|
66257
|
+
}
|
|
66258
|
+
| {
|
|
66259
|
+
building_block_type: 'organize_spaces'
|
|
66260
|
+
customer_key: string
|
|
66261
|
+
partner_resources: Array<{
|
|
66262
|
+
partner_resource_key: string
|
|
66263
|
+
name: string
|
|
66264
|
+
description?: string | undefined
|
|
66265
|
+
custom_metadata?: Record<string, string> | undefined
|
|
66266
|
+
}>
|
|
66267
|
+
}
|
|
66171
66268
|
formData: {}
|
|
66172
66269
|
jsonResponse: {
|
|
66173
66270
|
/** */
|
|
66174
66271
|
magic_link: {
|
|
66175
66272
|
url: string
|
|
66176
|
-
building_block_type:
|
|
66177
|
-
|
|
66273
|
+
building_block_type:
|
|
66274
|
+
| 'connect_account'
|
|
66275
|
+
| 'manage_devices'
|
|
66276
|
+
| 'organize_spaces'
|
|
66178
66277
|
customer_key: string
|
|
66179
66278
|
expires_at: string
|
|
66180
66279
|
workspace_id: string
|