@seamapi/types 1.510.0 → 1.512.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 +37 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +59 -3
- package/dist/index.cjs +37 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-method.js +5 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/openapi.d.ts +20 -2
- package/lib/seam/connect/openapi.js +29 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +7 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +32 -2
- package/src/lib/seam/connect/route-types.ts +23 -1
package/dist/connect.cjs
CHANGED
|
@@ -2296,7 +2296,10 @@ var access_grant = zod.z.object({
|
|
|
2296
2296
|
),
|
|
2297
2297
|
created_at: zod.z.string().datetime().describe("Date and time at which the Access Grant was created."),
|
|
2298
2298
|
starts_at: zod.z.string().datetime().describe("Date and time at which the Access Grant starts."),
|
|
2299
|
-
ends_at: zod.z.string().datetime().nullable().describe("Date and time at which the Access Grant ends.")
|
|
2299
|
+
ends_at: zod.z.string().datetime().nullable().describe("Date and time at which the Access Grant ends."),
|
|
2300
|
+
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2301
|
+
"ID of the customization profile associated with the Access Grant."
|
|
2302
|
+
)
|
|
2300
2303
|
}).describe(`
|
|
2301
2304
|
---
|
|
2302
2305
|
draft: Early access.
|
|
@@ -2319,7 +2322,10 @@ var access_method = zod.z.object({
|
|
|
2319
2322
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2320
2323
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2321
2324
|
),
|
|
2322
|
-
code: zod.z.string().optional().describe("The actual PIN code for code access methods.")
|
|
2325
|
+
code: zod.z.string().optional().describe("The actual PIN code for code access methods."),
|
|
2326
|
+
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2327
|
+
"ID of the customization profile associated with the access method."
|
|
2328
|
+
)
|
|
2323
2329
|
}).describe(`
|
|
2324
2330
|
---
|
|
2325
2331
|
draft: Early access.
|
|
@@ -7135,6 +7141,11 @@ var openapi_default = {
|
|
|
7135
7141
|
format: "date-time",
|
|
7136
7142
|
type: "string"
|
|
7137
7143
|
},
|
|
7144
|
+
customization_profile_id: {
|
|
7145
|
+
description: "ID of the customization profile associated with the Access Grant.",
|
|
7146
|
+
format: "uuid",
|
|
7147
|
+
type: "string"
|
|
7148
|
+
},
|
|
7138
7149
|
display_name: {
|
|
7139
7150
|
description: "Display name of the Access Grant.",
|
|
7140
7151
|
type: "string"
|
|
@@ -7255,6 +7266,11 @@ var openapi_default = {
|
|
|
7255
7266
|
format: "date-time",
|
|
7256
7267
|
type: "string"
|
|
7257
7268
|
},
|
|
7269
|
+
customization_profile_id: {
|
|
7270
|
+
description: "ID of the customization profile associated with the access method.",
|
|
7271
|
+
format: "uuid",
|
|
7272
|
+
type: "string"
|
|
7273
|
+
},
|
|
7258
7274
|
display_name: {
|
|
7259
7275
|
description: "Display name of the access method.",
|
|
7260
7276
|
type: "string"
|
|
@@ -30582,6 +30598,11 @@ var openapi_default = {
|
|
|
30582
30598
|
items: { format: "uuid", type: "string" },
|
|
30583
30599
|
type: "array"
|
|
30584
30600
|
},
|
|
30601
|
+
customization_profile_id: {
|
|
30602
|
+
description: "ID of the customization profile to apply to the Access Grant and its access methods.",
|
|
30603
|
+
format: "uuid",
|
|
30604
|
+
type: "string"
|
|
30605
|
+
},
|
|
30585
30606
|
device_ids: {
|
|
30586
30607
|
default: [],
|
|
30587
30608
|
description: "Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted.",
|
|
@@ -45413,12 +45434,20 @@ var openapi_default = {
|
|
|
45413
45434
|
{
|
|
45414
45435
|
in: "query",
|
|
45415
45436
|
name: "instant_key_id",
|
|
45416
|
-
required: true,
|
|
45417
45437
|
schema: {
|
|
45418
45438
|
description: "ID of the instant key to get.",
|
|
45419
45439
|
format: "uuid",
|
|
45420
45440
|
type: "string"
|
|
45421
45441
|
}
|
|
45442
|
+
},
|
|
45443
|
+
{
|
|
45444
|
+
in: "query",
|
|
45445
|
+
name: "instant_key_url",
|
|
45446
|
+
schema: {
|
|
45447
|
+
description: "URL of the instant key to get.",
|
|
45448
|
+
format: "uri",
|
|
45449
|
+
type: "string"
|
|
45450
|
+
}
|
|
45422
45451
|
}
|
|
45423
45452
|
],
|
|
45424
45453
|
responses: {
|
|
@@ -45465,9 +45494,13 @@ var openapi_default = {
|
|
|
45465
45494
|
description: "ID of the instant key to get.",
|
|
45466
45495
|
format: "uuid",
|
|
45467
45496
|
type: "string"
|
|
45497
|
+
},
|
|
45498
|
+
instant_key_url: {
|
|
45499
|
+
description: "URL of the instant key to get.",
|
|
45500
|
+
format: "uri",
|
|
45501
|
+
type: "string"
|
|
45468
45502
|
}
|
|
45469
45503
|
},
|
|
45470
|
-
required: ["instant_key_id"],
|
|
45471
45504
|
type: "object"
|
|
45472
45505
|
}
|
|
45473
45506
|
}
|