@seamapi/types 1.980.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 +60 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +19 -4
- package/dist/index.cjs +60 -12
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +58 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +63 -10
- package/src/lib/seam/connect/route-types.ts +19 -4
package/dist/connect.d.cts
CHANGED
|
@@ -50934,14 +50934,18 @@ type Routes = {
|
|
|
50934
50934
|
access_grant_id?: string | undefined;
|
|
50935
50935
|
/** Key of Access Grant to list access methods for. */
|
|
50936
50936
|
access_grant_key?: string | undefined;
|
|
50937
|
-
/** ID of the device
|
|
50937
|
+
/** 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`. */
|
|
50938
50938
|
device_id?: string | undefined;
|
|
50939
|
-
/** ID of the entrance for which you want to retrieve all access methods. */
|
|
50939
|
+
/** ID of the entrance for which you want to retrieve all access methods that grant access to it. */
|
|
50940
50940
|
acs_entrance_id?: string | undefined;
|
|
50941
|
-
/** ID of the space
|
|
50941
|
+
/** 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`. */
|
|
50942
50942
|
space_id?: string | undefined;
|
|
50943
|
-
/** ID of the access code
|
|
50943
|
+
/** 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`. */
|
|
50944
50944
|
access_code_id?: string | undefined;
|
|
50945
|
+
/** Maximum number of records to return per page. */
|
|
50946
|
+
limit?: number;
|
|
50947
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
50948
|
+
page_cursor?: (string | undefined) | null;
|
|
50945
50949
|
};
|
|
50946
50950
|
formData: {};
|
|
50947
50951
|
jsonResponse: {
|
|
@@ -51075,6 +51079,15 @@ type Routes = {
|
|
|
51075
51079
|
/** ID of the customization profile associated with the access method. */
|
|
51076
51080
|
customization_profile_id?: string | undefined;
|
|
51077
51081
|
}[];
|
|
51082
|
+
/** Information about the current page of results. */
|
|
51083
|
+
pagination: {
|
|
51084
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
51085
|
+
next_page_cursor: string | null;
|
|
51086
|
+
/** Indicates whether there is another page of results after this one. */
|
|
51087
|
+
has_next_page: boolean;
|
|
51088
|
+
/** URL to get the next page of results. */
|
|
51089
|
+
next_page_url: string | null;
|
|
51090
|
+
};
|
|
51078
51091
|
};
|
|
51079
51092
|
maxDuration: undefined;
|
|
51080
51093
|
};
|
|
@@ -61710,6 +61723,8 @@ type Routes = {
|
|
|
61710
61723
|
acs_system_id?: string | undefined;
|
|
61711
61724
|
/** ID of the credential for which you want to retrieve all entrances. */
|
|
61712
61725
|
acs_credential_id?: string | undefined;
|
|
61726
|
+
/** ID of the access method for which you want to retrieve all entrances to which it grants access. */
|
|
61727
|
+
access_method_id?: string | undefined;
|
|
61713
61728
|
/**
|
|
61714
61729
|
* @deprecated Use `space_id`.*/
|
|
61715
61730
|
location_id?: (string | null) | undefined;
|
package/dist/index.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
|
}
|
|
@@ -52020,6 +52054,15 @@ var openapi = {
|
|
|
52020
52054
|
type: "string"
|
|
52021
52055
|
}
|
|
52022
52056
|
},
|
|
52057
|
+
{
|
|
52058
|
+
in: "query",
|
|
52059
|
+
name: "access_method_id",
|
|
52060
|
+
schema: {
|
|
52061
|
+
description: "ID of the access method for which you want to retrieve all entrances to which it grants access.",
|
|
52062
|
+
format: "uuid",
|
|
52063
|
+
type: "string"
|
|
52064
|
+
}
|
|
52065
|
+
},
|
|
52023
52066
|
{
|
|
52024
52067
|
in: "query",
|
|
52025
52068
|
name: "location_id",
|
|
@@ -52136,6 +52179,11 @@ var openapi = {
|
|
|
52136
52179
|
"application/json": {
|
|
52137
52180
|
schema: {
|
|
52138
52181
|
properties: {
|
|
52182
|
+
access_method_id: {
|
|
52183
|
+
description: "ID of the access method for which you want to retrieve all entrances to which it grants access.",
|
|
52184
|
+
format: "uuid",
|
|
52185
|
+
type: "string"
|
|
52186
|
+
},
|
|
52139
52187
|
acs_credential_id: {
|
|
52140
52188
|
description: "ID of the credential for which you want to retrieve all entrances.",
|
|
52141
52189
|
format: "uuid",
|