@seamapi/types 1.532.0 → 1.534.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 +10 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +31 -12
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +3 -3
- package/lib/seam/connect/models/access-grants/access-method.js +1 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -10
- package/lib/seam/connect/models/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.d.ts +1 -0
- package/lib/seam/connect/openapi.js +5 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +14 -4
package/dist/connect.cjs
CHANGED
|
@@ -2334,7 +2334,7 @@ var access_method = zod.z.object({
|
|
|
2334
2334
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2335
2335
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2336
2336
|
),
|
|
2337
|
-
code: zod.z.string().optional().describe("The actual PIN code for code access methods."),
|
|
2337
|
+
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2338
2338
|
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2339
2339
|
"ID of the customization profile associated with the access method."
|
|
2340
2340
|
)
|
|
@@ -4331,7 +4331,10 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4331
4331
|
An access method was deleted.
|
|
4332
4332
|
`);
|
|
4333
4333
|
var access_method_reissued_event = access_method_event.extend({
|
|
4334
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4334
|
+
event_type: zod.z.literal("access_method.reissued"),
|
|
4335
|
+
code: zod.z.string().optional().describe(
|
|
4336
|
+
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4337
|
+
)
|
|
4335
4338
|
}).describe(`
|
|
4336
4339
|
---
|
|
4337
4340
|
route_path: /access_methods
|
|
@@ -7292,6 +7295,7 @@ var openapi_default = {
|
|
|
7292
7295
|
},
|
|
7293
7296
|
code: {
|
|
7294
7297
|
description: "The actual PIN code for code access methods.",
|
|
7298
|
+
nullable: true,
|
|
7295
7299
|
type: "string"
|
|
7296
7300
|
},
|
|
7297
7301
|
created_at: {
|
|
@@ -18807,6 +18811,10 @@ var openapi_default = {
|
|
|
18807
18811
|
format: "uuid",
|
|
18808
18812
|
type: "string"
|
|
18809
18813
|
},
|
|
18814
|
+
code: {
|
|
18815
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
18816
|
+
type: "string"
|
|
18817
|
+
},
|
|
18810
18818
|
created_at: {
|
|
18811
18819
|
description: "Date and time at which the event was created.",
|
|
18812
18820
|
format: "date-time",
|