@seamapi/types 1.783.0 → 1.785.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 +50 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -3
- package/dist/index.cjs +50 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +50 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +56 -8
- package/src/lib/seam/connect/route-types.ts +9 -3
|
@@ -20694,6 +20694,11 @@ declare const _default: {
|
|
|
20694
20694
|
};
|
|
20695
20695
|
type: string;
|
|
20696
20696
|
};
|
|
20697
|
+
access_grant_id: {
|
|
20698
|
+
description: string;
|
|
20699
|
+
format: string;
|
|
20700
|
+
type: string;
|
|
20701
|
+
};
|
|
20697
20702
|
access_method_id: {
|
|
20698
20703
|
description: string;
|
|
20699
20704
|
format: string;
|
|
@@ -23706,6 +23711,11 @@ declare const _default: {
|
|
|
23706
23711
|
'application/json': {
|
|
23707
23712
|
schema: {
|
|
23708
23713
|
properties: {
|
|
23714
|
+
access_code_id: {
|
|
23715
|
+
description: string;
|
|
23716
|
+
format: string;
|
|
23717
|
+
type: string;
|
|
23718
|
+
};
|
|
23709
23719
|
access_grant_ids: {
|
|
23710
23720
|
description: string;
|
|
23711
23721
|
items: {
|
|
@@ -27059,6 +27069,11 @@ declare const _default: {
|
|
|
27059
27069
|
'application/json': {
|
|
27060
27070
|
schema: {
|
|
27061
27071
|
properties: {
|
|
27072
|
+
access_code_id: {
|
|
27073
|
+
description: string;
|
|
27074
|
+
format: string;
|
|
27075
|
+
type: string;
|
|
27076
|
+
};
|
|
27062
27077
|
access_grant_id: {
|
|
27063
27078
|
description: string;
|
|
27064
27079
|
format: string;
|
|
@@ -29050,7 +29050,7 @@ export default {
|
|
|
29050
29050
|
},
|
|
29051
29051
|
'/access_codes/list': {
|
|
29052
29052
|
get: {
|
|
29053
|
-
description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
29053
|
+
description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29054
29054
|
operationId: 'accessCodesListGet',
|
|
29055
29055
|
parameters: [
|
|
29056
29056
|
{
|
|
@@ -29065,7 +29065,7 @@ export default {
|
|
|
29065
29065
|
in: 'query',
|
|
29066
29066
|
name: 'device_id',
|
|
29067
29067
|
schema: {
|
|
29068
|
-
description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
29068
|
+
description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29069
29069
|
format: 'uuid',
|
|
29070
29070
|
type: 'string',
|
|
29071
29071
|
},
|
|
@@ -29074,7 +29074,7 @@ export default {
|
|
|
29074
29074
|
in: 'query',
|
|
29075
29075
|
name: 'access_code_ids',
|
|
29076
29076
|
schema: {
|
|
29077
|
-
description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
29077
|
+
description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29078
29078
|
items: { format: 'uuid', type: 'string' },
|
|
29079
29079
|
type: 'array',
|
|
29080
29080
|
},
|
|
@@ -29083,7 +29083,16 @@ export default {
|
|
|
29083
29083
|
in: 'query',
|
|
29084
29084
|
name: 'access_method_id',
|
|
29085
29085
|
schema: {
|
|
29086
|
-
description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
29086
|
+
description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29087
|
+
format: 'uuid',
|
|
29088
|
+
type: 'string',
|
|
29089
|
+
},
|
|
29090
|
+
},
|
|
29091
|
+
{
|
|
29092
|
+
in: 'query',
|
|
29093
|
+
name: 'access_grant_id',
|
|
29094
|
+
schema: {
|
|
29095
|
+
description: 'ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29087
29096
|
format: 'uuid',
|
|
29088
29097
|
type: 'string',
|
|
29089
29098
|
},
|
|
@@ -29164,7 +29173,7 @@ export default {
|
|
|
29164
29173
|
'x-title': 'List Access Codes',
|
|
29165
29174
|
},
|
|
29166
29175
|
post: {
|
|
29167
|
-
description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
29176
|
+
description: 'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29168
29177
|
operationId: 'accessCodesListPost',
|
|
29169
29178
|
requestBody: {
|
|
29170
29179
|
content: {
|
|
@@ -29172,12 +29181,17 @@ export default {
|
|
|
29172
29181
|
schema: {
|
|
29173
29182
|
properties: {
|
|
29174
29183
|
access_code_ids: {
|
|
29175
|
-
description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
29184
|
+
description: 'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29176
29185
|
items: { format: 'uuid', type: 'string' },
|
|
29177
29186
|
type: 'array',
|
|
29178
29187
|
},
|
|
29188
|
+
access_grant_id: {
|
|
29189
|
+
description: 'ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29190
|
+
format: 'uuid',
|
|
29191
|
+
type: 'string',
|
|
29192
|
+
},
|
|
29179
29193
|
access_method_id: {
|
|
29180
|
-
description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
29194
|
+
description: 'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29181
29195
|
format: 'uuid',
|
|
29182
29196
|
type: 'string',
|
|
29183
29197
|
},
|
|
@@ -29186,7 +29200,7 @@ export default {
|
|
|
29186
29200
|
type: 'string',
|
|
29187
29201
|
},
|
|
29188
29202
|
device_id: {
|
|
29189
|
-
description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
29203
|
+
description: 'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.',
|
|
29190
29204
|
format: 'uuid',
|
|
29191
29205
|
type: 'string',
|
|
29192
29206
|
},
|
|
@@ -31476,6 +31490,15 @@ export default {
|
|
|
31476
31490
|
type: 'string',
|
|
31477
31491
|
},
|
|
31478
31492
|
},
|
|
31493
|
+
{
|
|
31494
|
+
in: 'query',
|
|
31495
|
+
name: 'access_code_id',
|
|
31496
|
+
schema: {
|
|
31497
|
+
description: 'ID of the access code by which you want to filter the list of Access Grants.',
|
|
31498
|
+
format: 'uuid',
|
|
31499
|
+
type: 'string',
|
|
31500
|
+
},
|
|
31501
|
+
},
|
|
31479
31502
|
{
|
|
31480
31503
|
in: 'query',
|
|
31481
31504
|
name: 'access_grant_key',
|
|
@@ -31540,6 +31563,11 @@ export default {
|
|
|
31540
31563
|
'application/json': {
|
|
31541
31564
|
schema: {
|
|
31542
31565
|
properties: {
|
|
31566
|
+
access_code_id: {
|
|
31567
|
+
description: 'ID of the access code by which you want to filter the list of Access Grants.',
|
|
31568
|
+
format: 'uuid',
|
|
31569
|
+
type: 'string',
|
|
31570
|
+
},
|
|
31543
31571
|
access_grant_ids: {
|
|
31544
31572
|
description: 'IDs of the access grants to retrieve.',
|
|
31545
31573
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -34880,6 +34908,15 @@ export default {
|
|
|
34880
34908
|
type: 'string',
|
|
34881
34909
|
},
|
|
34882
34910
|
},
|
|
34911
|
+
{
|
|
34912
|
+
in: 'query',
|
|
34913
|
+
name: 'access_code_id',
|
|
34914
|
+
schema: {
|
|
34915
|
+
description: 'ID of the access code for which you want to retrieve all access methods.',
|
|
34916
|
+
format: 'uuid',
|
|
34917
|
+
type: 'string',
|
|
34918
|
+
},
|
|
34919
|
+
},
|
|
34883
34920
|
],
|
|
34884
34921
|
responses: {
|
|
34885
34922
|
200: {
|
|
@@ -34926,6 +34963,11 @@ export default {
|
|
|
34926
34963
|
'application/json': {
|
|
34927
34964
|
schema: {
|
|
34928
34965
|
properties: {
|
|
34966
|
+
access_code_id: {
|
|
34967
|
+
description: 'ID of the access code for which you want to retrieve all access methods.',
|
|
34968
|
+
format: 'uuid',
|
|
34969
|
+
type: 'string',
|
|
34970
|
+
},
|
|
34929
34971
|
access_grant_id: {
|
|
34930
34972
|
description: 'ID of Access Grant to list access methods for.',
|
|
34931
34973
|
format: 'uuid',
|