@seamapi/types 1.981.0 → 1.982.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 +46 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +17 -4
- package/dist/index.cjs +46 -12
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +44 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +47 -10
- package/src/lib/seam/connect/route-types.ts +17 -4
package/dist/connect.cjs
CHANGED
|
@@ -46260,7 +46260,7 @@ var openapi = {
|
|
|
46260
46260
|
in: "query",
|
|
46261
46261
|
name: "device_id",
|
|
46262
46262
|
schema: {
|
|
46263
|
-
description: "ID of the device
|
|
46263
|
+
description: "ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46264
46264
|
format: "uuid",
|
|
46265
46265
|
type: "string"
|
|
46266
46266
|
}
|
|
@@ -46269,7 +46269,7 @@ var openapi = {
|
|
|
46269
46269
|
in: "query",
|
|
46270
46270
|
name: "acs_entrance_id",
|
|
46271
46271
|
schema: {
|
|
46272
|
-
description: "ID of the entrance for which you want to retrieve all access methods.",
|
|
46272
|
+
description: "ID of the entrance for which you want to retrieve all access methods that grant access to it.",
|
|
46273
46273
|
format: "uuid",
|
|
46274
46274
|
type: "string"
|
|
46275
46275
|
}
|
|
@@ -46278,7 +46278,7 @@ var openapi = {
|
|
|
46278
46278
|
in: "query",
|
|
46279
46279
|
name: "space_id",
|
|
46280
46280
|
schema: {
|
|
46281
|
-
description: "ID of the space
|
|
46281
|
+
description: "ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46282
46282
|
format: "uuid",
|
|
46283
46283
|
type: "string"
|
|
46284
46284
|
}
|
|
@@ -46287,10 +46287,30 @@ var openapi = {
|
|
|
46287
46287
|
in: "query",
|
|
46288
46288
|
name: "access_code_id",
|
|
46289
46289
|
schema: {
|
|
46290
|
-
description: "ID of the access code
|
|
46290
|
+
description: "ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46291
46291
|
format: "uuid",
|
|
46292
46292
|
type: "string"
|
|
46293
46293
|
}
|
|
46294
|
+
},
|
|
46295
|
+
{
|
|
46296
|
+
in: "query",
|
|
46297
|
+
name: "limit",
|
|
46298
|
+
schema: {
|
|
46299
|
+
default: 500,
|
|
46300
|
+
description: "Maximum number of records to return per page.",
|
|
46301
|
+
exclusiveMinimum: true,
|
|
46302
|
+
minimum: 0,
|
|
46303
|
+
type: "integer"
|
|
46304
|
+
}
|
|
46305
|
+
},
|
|
46306
|
+
{
|
|
46307
|
+
in: "query",
|
|
46308
|
+
name: "page_cursor",
|
|
46309
|
+
schema: {
|
|
46310
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
46311
|
+
nullable: true,
|
|
46312
|
+
type: "string"
|
|
46313
|
+
}
|
|
46294
46314
|
}
|
|
46295
46315
|
],
|
|
46296
46316
|
responses: {
|
|
@@ -46303,9 +46323,10 @@ var openapi = {
|
|
|
46303
46323
|
items: { $ref: "#/components/schemas/access_method" },
|
|
46304
46324
|
type: "array"
|
|
46305
46325
|
},
|
|
46306
|
-
ok: { type: "boolean" }
|
|
46326
|
+
ok: { type: "boolean" },
|
|
46327
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
46307
46328
|
},
|
|
46308
|
-
required: ["access_methods", "ok"],
|
|
46329
|
+
required: ["access_methods", "pagination", "ok"],
|
|
46309
46330
|
type: "object"
|
|
46310
46331
|
}
|
|
46311
46332
|
}
|
|
@@ -46340,7 +46361,7 @@ var openapi = {
|
|
|
46340
46361
|
schema: {
|
|
46341
46362
|
properties: {
|
|
46342
46363
|
access_code_id: {
|
|
46343
|
-
description: "ID of the access code
|
|
46364
|
+
description: "ID of the access code by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46344
46365
|
format: "uuid",
|
|
46345
46366
|
type: "string"
|
|
46346
46367
|
},
|
|
@@ -46355,17 +46376,29 @@ var openapi = {
|
|
|
46355
46376
|
type: "string"
|
|
46356
46377
|
},
|
|
46357
46378
|
acs_entrance_id: {
|
|
46358
|
-
description: "ID of the entrance for which you want to retrieve all access methods.",
|
|
46379
|
+
description: "ID of the entrance for which you want to retrieve all access methods that grant access to it.",
|
|
46359
46380
|
format: "uuid",
|
|
46360
46381
|
type: "string"
|
|
46361
46382
|
},
|
|
46362
46383
|
device_id: {
|
|
46363
|
-
description: "ID of the device
|
|
46384
|
+
description: "ID of the device by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46364
46385
|
format: "uuid",
|
|
46365
46386
|
type: "string"
|
|
46366
46387
|
},
|
|
46388
|
+
limit: {
|
|
46389
|
+
default: 500,
|
|
46390
|
+
description: "Maximum number of records to return per page.",
|
|
46391
|
+
exclusiveMinimum: true,
|
|
46392
|
+
minimum: 0,
|
|
46393
|
+
type: "integer"
|
|
46394
|
+
},
|
|
46395
|
+
page_cursor: {
|
|
46396
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
46397
|
+
nullable: true,
|
|
46398
|
+
type: "string"
|
|
46399
|
+
},
|
|
46367
46400
|
space_id: {
|
|
46368
|
-
description: "ID of the space
|
|
46401
|
+
description: "ID of the space by which to filter the returned access methods. Must be combined with `access_grant_id`, `access_grant_key`, or `acs_entrance_id`.",
|
|
46369
46402
|
format: "uuid",
|
|
46370
46403
|
type: "string"
|
|
46371
46404
|
}
|
|
@@ -46385,9 +46418,10 @@ var openapi = {
|
|
|
46385
46418
|
items: { $ref: "#/components/schemas/access_method" },
|
|
46386
46419
|
type: "array"
|
|
46387
46420
|
},
|
|
46388
|
-
ok: { type: "boolean" }
|
|
46421
|
+
ok: { type: "boolean" },
|
|
46422
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
46389
46423
|
},
|
|
46390
|
-
required: ["access_methods", "ok"],
|
|
46424
|
+
required: ["access_methods", "pagination", "ok"],
|
|
46391
46425
|
type: "object"
|
|
46392
46426
|
}
|
|
46393
46427
|
}
|