@seamapi/types 1.370.1 → 1.370.3
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 +27 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +115 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +32 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +29 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +5 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
- package/lib/seam/connect/models/devices/device-metadata.js +1 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +9 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +7 -0
- package/lib/seam/connect/openapi.d.ts +33 -0
- package/lib/seam/connect/openapi.js +18 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +6 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +18 -0
- package/src/lib/seam/connect/route-types.ts +41 -0
package/dist/connect.cjs
CHANGED
|
@@ -724,7 +724,8 @@ var device_metadata = zod.z.object({
|
|
|
724
724
|
passcode_management: zod.z.boolean(),
|
|
725
725
|
unlock_via_gateway: zod.z.boolean(),
|
|
726
726
|
lock_command: zod.z.boolean(),
|
|
727
|
-
incomplete_keyboard_passcode: zod.z.boolean()
|
|
727
|
+
incomplete_keyboard_passcode: zod.z.boolean(),
|
|
728
|
+
wifi: zod.z.boolean()
|
|
728
729
|
}),
|
|
729
730
|
has_gateway: zod.z.boolean().optional(),
|
|
730
731
|
wireless_keypads: zod.z.array(
|
|
@@ -2357,6 +2358,9 @@ var schedule = start_end_schedule;
|
|
|
2357
2358
|
var common_pending_modification = zod.z.object({
|
|
2358
2359
|
created_at: zod.z.string().datetime()
|
|
2359
2360
|
});
|
|
2361
|
+
var lifecycle_create = common_pending_modification.extend({
|
|
2362
|
+
modification_code: zod.z.literal("create")
|
|
2363
|
+
});
|
|
2360
2364
|
var acs_user_profile = zod.z.object({
|
|
2361
2365
|
email_address: zod.z.string().email().nullable(),
|
|
2362
2366
|
full_name: zod.z.string().nullable(),
|
|
@@ -2391,6 +2395,7 @@ var acs_access_group_membership_pending_modification = common_pending_modificati
|
|
|
2391
2395
|
var acs_user_pending_modification = zod.z.discriminatedUnion(
|
|
2392
2396
|
"modification_code",
|
|
2393
2397
|
[
|
|
2398
|
+
lifecycle_create,
|
|
2394
2399
|
profile_pending_modification,
|
|
2395
2400
|
access_schedule_pending_modification,
|
|
2396
2401
|
suspension_state_pending_modification,
|
|
@@ -2398,6 +2403,7 @@ var acs_user_pending_modification = zod.z.discriminatedUnion(
|
|
|
2398
2403
|
]
|
|
2399
2404
|
);
|
|
2400
2405
|
zod.z.object({
|
|
2406
|
+
lifecycle_create: lifecycle_create.optional().nullable(),
|
|
2401
2407
|
"profile.full_name": common_pending_modification.extend({
|
|
2402
2408
|
modification_code: zod.z.literal("profile"),
|
|
2403
2409
|
modified_from: zod.z.object({
|
|
@@ -6354,6 +6360,14 @@ var openapi_default = {
|
|
|
6354
6360
|
items: {
|
|
6355
6361
|
discriminator: { propertyName: "modification_code" },
|
|
6356
6362
|
oneOf: [
|
|
6363
|
+
{
|
|
6364
|
+
properties: {
|
|
6365
|
+
created_at: { format: "date-time", type: "string" },
|
|
6366
|
+
modification_code: { enum: ["create"], type: "string" }
|
|
6367
|
+
},
|
|
6368
|
+
required: ["created_at", "modification_code"],
|
|
6369
|
+
type: "object"
|
|
6370
|
+
},
|
|
6357
6371
|
{
|
|
6358
6372
|
properties: {
|
|
6359
6373
|
created_at: { format: "date-time", type: "string" },
|
|
@@ -11001,14 +11015,16 @@ var openapi_default = {
|
|
|
11001
11015
|
lock_command: { type: "boolean" },
|
|
11002
11016
|
passcode: { type: "boolean" },
|
|
11003
11017
|
passcode_management: { type: "boolean" },
|
|
11004
|
-
unlock_via_gateway: { type: "boolean" }
|
|
11018
|
+
unlock_via_gateway: { type: "boolean" },
|
|
11019
|
+
wifi: { type: "boolean" }
|
|
11005
11020
|
},
|
|
11006
11021
|
required: [
|
|
11007
11022
|
"passcode",
|
|
11008
11023
|
"passcode_management",
|
|
11009
11024
|
"unlock_via_gateway",
|
|
11010
11025
|
"lock_command",
|
|
11011
|
-
"incomplete_keyboard_passcode"
|
|
11026
|
+
"incomplete_keyboard_passcode",
|
|
11027
|
+
"wifi"
|
|
11012
11028
|
],
|
|
11013
11029
|
type: "object"
|
|
11014
11030
|
},
|
|
@@ -17907,6 +17923,14 @@ var openapi_default = {
|
|
|
17907
17923
|
items: {
|
|
17908
17924
|
discriminator: { propertyName: "modification_code" },
|
|
17909
17925
|
oneOf: [
|
|
17926
|
+
{
|
|
17927
|
+
properties: {
|
|
17928
|
+
created_at: { format: "date-time", type: "string" },
|
|
17929
|
+
modification_code: { enum: ["create"], type: "string" }
|
|
17930
|
+
},
|
|
17931
|
+
required: ["created_at", "modification_code"],
|
|
17932
|
+
type: "object"
|
|
17933
|
+
},
|
|
17910
17934
|
{
|
|
17911
17935
|
properties: {
|
|
17912
17936
|
created_at: { format: "date-time", type: "string" },
|