@seamapi/types 1.756.0 → 1.757.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 +20 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +9 -2
- package/dist/index.cjs +20 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5 -0
- package/lib/seam/connect/openapi.js +20 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +22 -6
- package/src/lib/seam/connect/route-types.ts +4 -2
package/dist/connect.cjs
CHANGED
|
@@ -35236,7 +35236,7 @@ var openapi_default = {
|
|
|
35236
35236
|
},
|
|
35237
35237
|
"/access_codes/list": {
|
|
35238
35238
|
get: {
|
|
35239
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
35239
|
+
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 `access_method_id`.",
|
|
35240
35240
|
operationId: "accessCodesListGet",
|
|
35241
35241
|
parameters: [
|
|
35242
35242
|
{
|
|
@@ -35251,7 +35251,7 @@ var openapi_default = {
|
|
|
35251
35251
|
in: "query",
|
|
35252
35252
|
name: "device_id",
|
|
35253
35253
|
schema: {
|
|
35254
|
-
description: "ID of the device for which you want to list access codes. Specify
|
|
35254
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35255
35255
|
format: "uuid",
|
|
35256
35256
|
type: "string"
|
|
35257
35257
|
}
|
|
@@ -35260,11 +35260,20 @@ var openapi_default = {
|
|
|
35260
35260
|
in: "query",
|
|
35261
35261
|
name: "access_code_ids",
|
|
35262
35262
|
schema: {
|
|
35263
|
-
description: "IDs of the access codes that you want to retrieve. Specify
|
|
35263
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35264
35264
|
items: { format: "uuid", type: "string" },
|
|
35265
35265
|
type: "array"
|
|
35266
35266
|
}
|
|
35267
35267
|
},
|
|
35268
|
+
{
|
|
35269
|
+
in: "query",
|
|
35270
|
+
name: "access_method_id",
|
|
35271
|
+
schema: {
|
|
35272
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35273
|
+
format: "uuid",
|
|
35274
|
+
type: "string"
|
|
35275
|
+
}
|
|
35276
|
+
},
|
|
35268
35277
|
{
|
|
35269
35278
|
in: "query",
|
|
35270
35279
|
name: "user_identifier_key",
|
|
@@ -35341,7 +35350,7 @@ var openapi_default = {
|
|
|
35341
35350
|
"x-title": "List Access Codes"
|
|
35342
35351
|
},
|
|
35343
35352
|
post: {
|
|
35344
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
35353
|
+
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 `access_method_id`.",
|
|
35345
35354
|
operationId: "accessCodesListPost",
|
|
35346
35355
|
requestBody: {
|
|
35347
35356
|
content: {
|
|
@@ -35349,16 +35358,21 @@ var openapi_default = {
|
|
|
35349
35358
|
schema: {
|
|
35350
35359
|
properties: {
|
|
35351
35360
|
access_code_ids: {
|
|
35352
|
-
description: "IDs of the access codes that you want to retrieve. Specify
|
|
35361
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35353
35362
|
items: { format: "uuid", type: "string" },
|
|
35354
35363
|
type: "array"
|
|
35355
35364
|
},
|
|
35365
|
+
access_method_id: {
|
|
35366
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35367
|
+
format: "uuid",
|
|
35368
|
+
type: "string"
|
|
35369
|
+
},
|
|
35356
35370
|
customer_key: {
|
|
35357
35371
|
description: "Customer key for which you want to list access codes.",
|
|
35358
35372
|
type: "string"
|
|
35359
35373
|
},
|
|
35360
35374
|
device_id: {
|
|
35361
|
-
description: "ID of the device for which you want to list access codes. Specify
|
|
35375
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35362
35376
|
format: "uuid",
|
|
35363
35377
|
type: "string"
|
|
35364
35378
|
},
|