@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
package/dist/connect.cjs
CHANGED
|
@@ -35746,7 +35746,7 @@ var openapi_default = {
|
|
|
35746
35746
|
},
|
|
35747
35747
|
"/access_codes/list": {
|
|
35748
35748
|
get: {
|
|
35749
|
-
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 `
|
|
35749
|
+
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`.",
|
|
35750
35750
|
operationId: "accessCodesListGet",
|
|
35751
35751
|
parameters: [
|
|
35752
35752
|
{
|
|
@@ -35761,7 +35761,7 @@ var openapi_default = {
|
|
|
35761
35761
|
in: "query",
|
|
35762
35762
|
name: "device_id",
|
|
35763
35763
|
schema: {
|
|
35764
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35764
|
+
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`.",
|
|
35765
35765
|
format: "uuid",
|
|
35766
35766
|
type: "string"
|
|
35767
35767
|
}
|
|
@@ -35770,7 +35770,7 @@ var openapi_default = {
|
|
|
35770
35770
|
in: "query",
|
|
35771
35771
|
name: "access_code_ids",
|
|
35772
35772
|
schema: {
|
|
35773
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35773
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35774
35774
|
items: { format: "uuid", type: "string" },
|
|
35775
35775
|
type: "array"
|
|
35776
35776
|
}
|
|
@@ -35779,7 +35779,16 @@ var openapi_default = {
|
|
|
35779
35779
|
in: "query",
|
|
35780
35780
|
name: "access_method_id",
|
|
35781
35781
|
schema: {
|
|
35782
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35782
|
+
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`.",
|
|
35783
|
+
format: "uuid",
|
|
35784
|
+
type: "string"
|
|
35785
|
+
}
|
|
35786
|
+
},
|
|
35787
|
+
{
|
|
35788
|
+
in: "query",
|
|
35789
|
+
name: "access_grant_id",
|
|
35790
|
+
schema: {
|
|
35791
|
+
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`.",
|
|
35783
35792
|
format: "uuid",
|
|
35784
35793
|
type: "string"
|
|
35785
35794
|
}
|
|
@@ -35860,7 +35869,7 @@ var openapi_default = {
|
|
|
35860
35869
|
"x-title": "List Access Codes"
|
|
35861
35870
|
},
|
|
35862
35871
|
post: {
|
|
35863
|
-
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 `
|
|
35872
|
+
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`.",
|
|
35864
35873
|
operationId: "accessCodesListPost",
|
|
35865
35874
|
requestBody: {
|
|
35866
35875
|
content: {
|
|
@@ -35868,12 +35877,17 @@ var openapi_default = {
|
|
|
35868
35877
|
schema: {
|
|
35869
35878
|
properties: {
|
|
35870
35879
|
access_code_ids: {
|
|
35871
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35880
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35872
35881
|
items: { format: "uuid", type: "string" },
|
|
35873
35882
|
type: "array"
|
|
35874
35883
|
},
|
|
35884
|
+
access_grant_id: {
|
|
35885
|
+
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`.",
|
|
35886
|
+
format: "uuid",
|
|
35887
|
+
type: "string"
|
|
35888
|
+
},
|
|
35875
35889
|
access_method_id: {
|
|
35876
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35890
|
+
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`.",
|
|
35877
35891
|
format: "uuid",
|
|
35878
35892
|
type: "string"
|
|
35879
35893
|
},
|
|
@@ -35882,7 +35896,7 @@ var openapi_default = {
|
|
|
35882
35896
|
type: "string"
|
|
35883
35897
|
},
|
|
35884
35898
|
device_id: {
|
|
35885
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35899
|
+
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`.",
|
|
35886
35900
|
format: "uuid",
|
|
35887
35901
|
type: "string"
|
|
35888
35902
|
},
|
|
@@ -38172,6 +38186,15 @@ var openapi_default = {
|
|
|
38172
38186
|
type: "string"
|
|
38173
38187
|
}
|
|
38174
38188
|
},
|
|
38189
|
+
{
|
|
38190
|
+
in: "query",
|
|
38191
|
+
name: "access_code_id",
|
|
38192
|
+
schema: {
|
|
38193
|
+
description: "ID of the access code by which you want to filter the list of Access Grants.",
|
|
38194
|
+
format: "uuid",
|
|
38195
|
+
type: "string"
|
|
38196
|
+
}
|
|
38197
|
+
},
|
|
38175
38198
|
{
|
|
38176
38199
|
in: "query",
|
|
38177
38200
|
name: "access_grant_key",
|
|
@@ -38236,6 +38259,11 @@ var openapi_default = {
|
|
|
38236
38259
|
"application/json": {
|
|
38237
38260
|
schema: {
|
|
38238
38261
|
properties: {
|
|
38262
|
+
access_code_id: {
|
|
38263
|
+
description: "ID of the access code by which you want to filter the list of Access Grants.",
|
|
38264
|
+
format: "uuid",
|
|
38265
|
+
type: "string"
|
|
38266
|
+
},
|
|
38239
38267
|
access_grant_ids: {
|
|
38240
38268
|
description: "IDs of the access grants to retrieve.",
|
|
38241
38269
|
items: { format: "uuid", type: "string" },
|
|
@@ -41575,6 +41603,15 @@ var openapi_default = {
|
|
|
41575
41603
|
format: "uuid",
|
|
41576
41604
|
type: "string"
|
|
41577
41605
|
}
|
|
41606
|
+
},
|
|
41607
|
+
{
|
|
41608
|
+
in: "query",
|
|
41609
|
+
name: "access_code_id",
|
|
41610
|
+
schema: {
|
|
41611
|
+
description: "ID of the access code for which you want to retrieve all access methods.",
|
|
41612
|
+
format: "uuid",
|
|
41613
|
+
type: "string"
|
|
41614
|
+
}
|
|
41578
41615
|
}
|
|
41579
41616
|
],
|
|
41580
41617
|
responses: {
|
|
@@ -41622,6 +41659,11 @@ var openapi_default = {
|
|
|
41622
41659
|
"application/json": {
|
|
41623
41660
|
schema: {
|
|
41624
41661
|
properties: {
|
|
41662
|
+
access_code_id: {
|
|
41663
|
+
description: "ID of the access code for which you want to retrieve all access methods.",
|
|
41664
|
+
format: "uuid",
|
|
41665
|
+
type: "string"
|
|
41666
|
+
},
|
|
41625
41667
|
access_grant_id: {
|
|
41626
41668
|
description: "ID of Access Grant to list access methods for.",
|
|
41627
41669
|
format: "uuid",
|