@seamapi/types 1.756.0 → 1.758.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 +28 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +37 -2
- package/dist/index.cjs +28 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +29 -0
- package/lib/seam/connect/openapi.js +28 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +38 -6
- package/src/lib/seam/connect/route-types.ts +16 -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
|
},
|
|
@@ -62808,6 +62822,7 @@ var openapi_default = {
|
|
|
62808
62822
|
minItems: 1,
|
|
62809
62823
|
type: "array"
|
|
62810
62824
|
},
|
|
62825
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
62811
62826
|
card_count_on_reservation_create: {
|
|
62812
62827
|
minimum: 0,
|
|
62813
62828
|
type: "integer"
|
|
@@ -63107,6 +63122,7 @@ var openapi_default = {
|
|
|
63107
63122
|
minItems: 1,
|
|
63108
63123
|
type: "array"
|
|
63109
63124
|
},
|
|
63125
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63110
63126
|
card_count_on_reservation_create: {
|
|
63111
63127
|
minimum: 0,
|
|
63112
63128
|
type: "integer"
|
|
@@ -63393,6 +63409,7 @@ var openapi_default = {
|
|
|
63393
63409
|
minItems: 1,
|
|
63394
63410
|
type: "array"
|
|
63395
63411
|
},
|
|
63412
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63396
63413
|
card_count_on_reservation_create: {
|
|
63397
63414
|
minimum: 0,
|
|
63398
63415
|
type: "integer"
|
|
@@ -63679,6 +63696,7 @@ var openapi_default = {
|
|
|
63679
63696
|
minItems: 1,
|
|
63680
63697
|
type: "array"
|
|
63681
63698
|
},
|
|
63699
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63682
63700
|
card_count_on_reservation_create: {
|
|
63683
63701
|
minimum: 0,
|
|
63684
63702
|
type: "integer"
|
|
@@ -64924,6 +64942,7 @@ var openapi_default = {
|
|
|
64924
64942
|
minItems: 1,
|
|
64925
64943
|
type: "array"
|
|
64926
64944
|
},
|
|
64945
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
64927
64946
|
card_count_on_reservation_create: {
|
|
64928
64947
|
minimum: 0,
|
|
64929
64948
|
type: "integer"
|
|
@@ -65223,6 +65242,7 @@ var openapi_default = {
|
|
|
65223
65242
|
minItems: 1,
|
|
65224
65243
|
type: "array"
|
|
65225
65244
|
},
|
|
65245
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65226
65246
|
card_count_on_reservation_create: {
|
|
65227
65247
|
minimum: 0,
|
|
65228
65248
|
type: "integer"
|
|
@@ -65522,6 +65542,7 @@ var openapi_default = {
|
|
|
65522
65542
|
minItems: 1,
|
|
65523
65543
|
type: "array"
|
|
65524
65544
|
},
|
|
65545
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65525
65546
|
card_count_on_reservation_create: {
|
|
65526
65547
|
minimum: 0,
|
|
65527
65548
|
type: "integer"
|
|
@@ -65809,6 +65830,7 @@ var openapi_default = {
|
|
|
65809
65830
|
minItems: 1,
|
|
65810
65831
|
type: "array"
|
|
65811
65832
|
},
|
|
65833
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65812
65834
|
card_count_on_reservation_create: {
|
|
65813
65835
|
minimum: 0,
|
|
65814
65836
|
type: "integer"
|