@seamapi/types 1.515.0 → 1.517.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/dist/connect.cjs +17 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +70 -184
- package/dist/index.cjs +17 -60
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +7 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/openapi.d.ts +46 -179
- package/lib/seam/connect/openapi.js +14 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +16 -60
- package/src/lib/seam/connect/route-types.ts +12 -5
|
@@ -1635,6 +1635,13 @@ export default {
|
|
|
1635
1635
|
description: 'Access methods that the user requested for the Access Grant.',
|
|
1636
1636
|
items: {
|
|
1637
1637
|
properties: {
|
|
1638
|
+
code: {
|
|
1639
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
1640
|
+
maxLength: 9,
|
|
1641
|
+
minLength: 4,
|
|
1642
|
+
pattern: '^\\d+$',
|
|
1643
|
+
type: 'string',
|
|
1644
|
+
},
|
|
1638
1645
|
created_access_method_ids: {
|
|
1639
1646
|
description: 'IDs of the access methods created for the requested access method.',
|
|
1640
1647
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -25119,6 +25126,13 @@ export default {
|
|
|
25119
25126
|
requested_access_methods: {
|
|
25120
25127
|
items: {
|
|
25121
25128
|
properties: {
|
|
25129
|
+
code: {
|
|
25130
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
25131
|
+
maxLength: 9,
|
|
25132
|
+
minLength: 4,
|
|
25133
|
+
pattern: '^\\d+$',
|
|
25134
|
+
type: 'string',
|
|
25135
|
+
},
|
|
25122
25136
|
mode: {
|
|
25123
25137
|
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
25124
25138
|
enum: ['code', 'card', 'mobile_key'],
|
|
@@ -36689,14 +36703,6 @@ export default {
|
|
|
36689
36703
|
description: 'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices).',
|
|
36690
36704
|
operationId: 'devicesListGet',
|
|
36691
36705
|
parameters: [
|
|
36692
|
-
{
|
|
36693
|
-
in: 'query',
|
|
36694
|
-
name: 'customer_ids',
|
|
36695
|
-
schema: {
|
|
36696
|
-
items: { format: 'uuid', type: 'string' },
|
|
36697
|
-
type: 'array',
|
|
36698
|
-
},
|
|
36699
|
-
},
|
|
36700
36706
|
{
|
|
36701
36707
|
in: 'query',
|
|
36702
36708
|
name: 'customer_key',
|
|
@@ -37142,10 +37148,6 @@ export default {
|
|
|
37142
37148
|
description: 'Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.',
|
|
37143
37149
|
type: 'object',
|
|
37144
37150
|
},
|
|
37145
|
-
customer_ids: {
|
|
37146
|
-
items: { format: 'uuid', type: 'string' },
|
|
37147
|
-
type: 'array',
|
|
37148
|
-
},
|
|
37149
37151
|
customer_key: {
|
|
37150
37152
|
description: 'Customer key for which you want to list devices.',
|
|
37151
37153
|
type: 'string',
|
|
@@ -37941,14 +37943,6 @@ export default {
|
|
|
37941
37943
|
description: 'Returns a list of all [unmanaged devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).\n\nAn unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).',
|
|
37942
37944
|
operationId: 'devicesUnmanagedListGet',
|
|
37943
37945
|
parameters: [
|
|
37944
|
-
{
|
|
37945
|
-
in: 'query',
|
|
37946
|
-
name: 'customer_ids',
|
|
37947
|
-
schema: {
|
|
37948
|
-
items: { format: 'uuid', type: 'string' },
|
|
37949
|
-
type: 'array',
|
|
37950
|
-
},
|
|
37951
|
-
},
|
|
37952
37946
|
{
|
|
37953
37947
|
in: 'query',
|
|
37954
37948
|
name: 'customer_key',
|
|
@@ -38391,10 +38385,6 @@ export default {
|
|
|
38391
38385
|
description: 'Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.',
|
|
38392
38386
|
type: 'object',
|
|
38393
38387
|
},
|
|
38394
|
-
customer_ids: {
|
|
38395
|
-
items: { format: 'uuid', type: 'string' },
|
|
38396
|
-
type: 'array',
|
|
38397
|
-
},
|
|
38398
38388
|
customer_key: {
|
|
38399
38389
|
description: 'Customer key for which you want to list devices.',
|
|
38400
38390
|
type: 'string',
|
|
@@ -40234,14 +40224,6 @@ export default {
|
|
|
40234
40224
|
description: 'Returns a list of all [locks](https://docs.seam.co/latest/capability-guides/smart-locks).',
|
|
40235
40225
|
operationId: 'locksListGet',
|
|
40236
40226
|
parameters: [
|
|
40237
|
-
{
|
|
40238
|
-
in: 'query',
|
|
40239
|
-
name: 'customer_ids',
|
|
40240
|
-
schema: {
|
|
40241
|
-
items: { format: 'uuid', type: 'string' },
|
|
40242
|
-
type: 'array',
|
|
40243
|
-
},
|
|
40244
|
-
},
|
|
40245
40227
|
{
|
|
40246
40228
|
in: 'query',
|
|
40247
40229
|
name: 'customer_key',
|
|
@@ -40624,10 +40606,6 @@ export default {
|
|
|
40624
40606
|
description: 'Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.',
|
|
40625
40607
|
type: 'object',
|
|
40626
40608
|
},
|
|
40627
|
-
customer_ids: {
|
|
40628
|
-
items: { format: 'uuid', type: 'string' },
|
|
40629
|
-
type: 'array',
|
|
40630
|
-
},
|
|
40631
40609
|
customer_key: {
|
|
40632
40610
|
description: 'Customer key for which you want to list devices.',
|
|
40633
40611
|
type: 'string',
|
|
@@ -41119,14 +41097,6 @@ export default {
|
|
|
41119
41097
|
description: 'Returns a list of all [noise sensors](https://docs.seam.co/latest/capability-guides/noise-sensors).',
|
|
41120
41098
|
operationId: 'noiseSensorsListGet',
|
|
41121
41099
|
parameters: [
|
|
41122
|
-
{
|
|
41123
|
-
in: 'query',
|
|
41124
|
-
name: 'customer_ids',
|
|
41125
|
-
schema: {
|
|
41126
|
-
items: { format: 'uuid', type: 'string' },
|
|
41127
|
-
type: 'array',
|
|
41128
|
-
},
|
|
41129
|
-
},
|
|
41130
41100
|
{
|
|
41131
41101
|
in: 'query',
|
|
41132
41102
|
name: 'customer_key',
|
|
@@ -41424,10 +41394,6 @@ export default {
|
|
|
41424
41394
|
description: 'Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.',
|
|
41425
41395
|
type: 'object',
|
|
41426
41396
|
},
|
|
41427
|
-
customer_ids: {
|
|
41428
|
-
items: { format: 'uuid', type: 'string' },
|
|
41429
|
-
type: 'array',
|
|
41430
|
-
},
|
|
41431
41397
|
customer_key: {
|
|
41432
41398
|
description: 'Customer key for which you want to list devices.',
|
|
41433
41399
|
type: 'string',
|
|
@@ -48118,14 +48084,6 @@ export default {
|
|
|
48118
48084
|
description: 'Returns a list of all [thermostats](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
48119
48085
|
operationId: 'thermostatsListGet',
|
|
48120
48086
|
parameters: [
|
|
48121
|
-
{
|
|
48122
|
-
in: 'query',
|
|
48123
|
-
name: 'customer_ids',
|
|
48124
|
-
schema: {
|
|
48125
|
-
items: { format: 'uuid', type: 'string' },
|
|
48126
|
-
type: 'array',
|
|
48127
|
-
},
|
|
48128
|
-
},
|
|
48129
48087
|
{
|
|
48130
48088
|
in: 'query',
|
|
48131
48089
|
name: 'customer_key',
|
|
@@ -48444,10 +48402,6 @@ export default {
|
|
|
48444
48402
|
description: 'Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.',
|
|
48445
48403
|
type: 'object',
|
|
48446
48404
|
},
|
|
48447
|
-
customer_ids: {
|
|
48448
|
-
items: { format: 'uuid', type: 'string' },
|
|
48449
|
-
type: 'array',
|
|
48450
|
-
},
|
|
48451
48405
|
customer_key: {
|
|
48452
48406
|
description: 'Customer key for which you want to list devices.',
|
|
48453
48407
|
type: 'string',
|