@seamapi/types 1.784.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 +22 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10 -3
- package/dist/index.cjs +22 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5 -0
- package/lib/seam/connect/openapi.js +22 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +24 -8
- package/src/lib/seam/connect/route-types.ts +5 -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;
|
|
@@ -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
|
},
|