@seamapi/types 1.153.1 → 1.153.2
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 +2 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +22 -11
- package/lib/seam/connect/models/acs/user.d.ts +6 -6
- package/lib/seam/connect/models/acs/user.js +2 -2
- package/lib/seam/connect/models/acs/user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +2 -0
- package/lib/seam/connect/openapi.js +2 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/user.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +2 -2
- package/src/lib/seam/connect/route-types.ts +22 -11
|
@@ -730,8 +730,8 @@ export interface Routes {
|
|
|
730
730
|
ends_at: string;
|
|
731
731
|
} | undefined;
|
|
732
732
|
user_identity_id?: string | undefined;
|
|
733
|
-
user_identity_email_address?: string | undefined;
|
|
734
|
-
user_identity_phone_number?: string | undefined;
|
|
733
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
734
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
735
735
|
full_name?: string | undefined;
|
|
736
736
|
/**
|
|
737
737
|
---
|
|
@@ -1332,8 +1332,8 @@ export interface Routes {
|
|
|
1332
1332
|
ends_at: string;
|
|
1333
1333
|
} | undefined;
|
|
1334
1334
|
user_identity_id?: string | undefined;
|
|
1335
|
-
user_identity_email_address?: string | undefined;
|
|
1336
|
-
user_identity_phone_number?: string | undefined;
|
|
1335
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
1336
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
1337
1337
|
full_name?: string | undefined;
|
|
1338
1338
|
/**
|
|
1339
1339
|
---
|
|
@@ -1382,8 +1382,8 @@ export interface Routes {
|
|
|
1382
1382
|
ends_at: string;
|
|
1383
1383
|
} | undefined;
|
|
1384
1384
|
user_identity_id?: string | undefined;
|
|
1385
|
-
user_identity_email_address?: string | undefined;
|
|
1386
|
-
user_identity_phone_number?: string | undefined;
|
|
1385
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
1386
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
1387
1387
|
full_name?: string | undefined;
|
|
1388
1388
|
/**
|
|
1389
1389
|
---
|
|
@@ -1424,8 +1424,8 @@ export interface Routes {
|
|
|
1424
1424
|
ends_at: string;
|
|
1425
1425
|
} | undefined;
|
|
1426
1426
|
user_identity_id?: string | undefined;
|
|
1427
|
-
user_identity_email_address?: string | undefined;
|
|
1428
|
-
user_identity_phone_number?: string | undefined;
|
|
1427
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
1428
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
1429
1429
|
full_name?: string | undefined;
|
|
1430
1430
|
/**
|
|
1431
1431
|
---
|
|
@@ -7622,6 +7622,10 @@ export interface Routes {
|
|
|
7622
7622
|
accessory_keypad?: {
|
|
7623
7623
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
7624
7624
|
is_connected: boolean;
|
|
7625
|
+
/** Indicates if the keypad battery properties. */
|
|
7626
|
+
battery?: {
|
|
7627
|
+
level: number;
|
|
7628
|
+
} | undefined;
|
|
7625
7629
|
} | undefined;
|
|
7626
7630
|
appearance: {
|
|
7627
7631
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -7723,6 +7727,8 @@ export interface Routes {
|
|
|
7723
7727
|
device_id: string;
|
|
7724
7728
|
device_name: string;
|
|
7725
7729
|
keypad_battery_critical?: boolean | undefined;
|
|
7730
|
+
keypad_paired?: boolean | undefined;
|
|
7731
|
+
keypad_2_paired?: boolean | undefined;
|
|
7726
7732
|
} | undefined;
|
|
7727
7733
|
kwikset_metadata?: {
|
|
7728
7734
|
device_id: string;
|
|
@@ -7810,6 +7816,7 @@ export interface Routes {
|
|
|
7810
7816
|
device_name: string;
|
|
7811
7817
|
bridge_id?: string | undefined;
|
|
7812
7818
|
bridge_name?: string | undefined;
|
|
7819
|
+
keypad_id?: string | undefined;
|
|
7813
7820
|
} | undefined;
|
|
7814
7821
|
nest_metadata?: {
|
|
7815
7822
|
nest_device_id: string;
|
|
@@ -7856,6 +7863,8 @@ export interface Routes {
|
|
|
7856
7863
|
product_type: string;
|
|
7857
7864
|
product_model: string;
|
|
7858
7865
|
device_info_model: string;
|
|
7866
|
+
keypad_uuid?: string | undefined;
|
|
7867
|
+
locker_status_hardlock?: number | undefined;
|
|
7859
7868
|
} | undefined;
|
|
7860
7869
|
tedee_metadata?: {
|
|
7861
7870
|
device_id: number;
|
|
@@ -8090,7 +8099,7 @@ export interface Routes {
|
|
|
8090
8099
|
created_at: string;
|
|
8091
8100
|
/** Indicates whether Seam manages the device. */
|
|
8092
8101
|
is_managed: true;
|
|
8093
|
-
custom_metadata
|
|
8102
|
+
custom_metadata: Record<string, string | boolean>;
|
|
8094
8103
|
can_remotely_unlock?: boolean | undefined;
|
|
8095
8104
|
can_remotely_lock?: boolean | undefined;
|
|
8096
8105
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -8673,8 +8682,8 @@ export interface Routes {
|
|
|
8673
8682
|
ends_at: string;
|
|
8674
8683
|
} | undefined;
|
|
8675
8684
|
user_identity_id?: string | undefined;
|
|
8676
|
-
user_identity_email_address?: string | undefined;
|
|
8677
|
-
user_identity_phone_number?: string | undefined;
|
|
8685
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
8686
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
8678
8687
|
full_name?: string | undefined;
|
|
8679
8688
|
/**
|
|
8680
8689
|
---
|
package/package.json
CHANGED
|
@@ -37,8 +37,8 @@ export const acs_user = z
|
|
|
37
37
|
is_suspended: z.boolean(),
|
|
38
38
|
access_schedule: schedule.optional(),
|
|
39
39
|
user_identity_id: z.string().optional(),
|
|
40
|
-
user_identity_email_address: z.string().optional(),
|
|
41
|
-
user_identity_phone_number: z.string().optional(),
|
|
40
|
+
user_identity_email_address: z.string().nullable().optional(),
|
|
41
|
+
user_identity_phone_number: z.string().nullable().optional(),
|
|
42
42
|
})
|
|
43
43
|
.merge(user_fields)
|
|
44
44
|
|
|
@@ -460,9 +460,9 @@ export default {
|
|
|
460
460
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
461
461
|
is_suspended: { type: 'boolean' },
|
|
462
462
|
phone_number: { nullable: true, type: 'string' },
|
|
463
|
-
user_identity_email_address: { type: 'string' },
|
|
463
|
+
user_identity_email_address: { nullable: true, type: 'string' },
|
|
464
464
|
user_identity_id: { type: 'string' },
|
|
465
|
-
user_identity_phone_number: { type: 'string' },
|
|
465
|
+
user_identity_phone_number: { nullable: true, type: 'string' },
|
|
466
466
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
467
467
|
},
|
|
468
468
|
required: [
|
|
@@ -768,8 +768,8 @@ export interface Routes {
|
|
|
768
768
|
}
|
|
769
769
|
| undefined
|
|
770
770
|
user_identity_id?: string | undefined
|
|
771
|
-
user_identity_email_address?: string | undefined
|
|
772
|
-
user_identity_phone_number?: string | undefined
|
|
771
|
+
user_identity_email_address?: (string | null) | undefined
|
|
772
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
773
773
|
full_name?: string | undefined
|
|
774
774
|
/**
|
|
775
775
|
---
|
|
@@ -1512,8 +1512,8 @@ export interface Routes {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
| undefined
|
|
1514
1514
|
user_identity_id?: string | undefined
|
|
1515
|
-
user_identity_email_address?: string | undefined
|
|
1516
|
-
user_identity_phone_number?: string | undefined
|
|
1515
|
+
user_identity_email_address?: (string | null) | undefined
|
|
1516
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
1517
1517
|
full_name?: string | undefined
|
|
1518
1518
|
/**
|
|
1519
1519
|
---
|
|
@@ -1572,8 +1572,8 @@ export interface Routes {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
| undefined
|
|
1574
1574
|
user_identity_id?: string | undefined
|
|
1575
|
-
user_identity_email_address?: string | undefined
|
|
1576
|
-
user_identity_phone_number?: string | undefined
|
|
1575
|
+
user_identity_email_address?: (string | null) | undefined
|
|
1576
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
1577
1577
|
full_name?: string | undefined
|
|
1578
1578
|
/**
|
|
1579
1579
|
---
|
|
@@ -1624,8 +1624,8 @@ export interface Routes {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
| undefined
|
|
1626
1626
|
user_identity_id?: string | undefined
|
|
1627
|
-
user_identity_email_address?: string | undefined
|
|
1628
|
-
user_identity_phone_number?: string | undefined
|
|
1627
|
+
user_identity_email_address?: (string | null) | undefined
|
|
1628
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
1629
1629
|
full_name?: string | undefined
|
|
1630
1630
|
/**
|
|
1631
1631
|
---
|
|
@@ -10510,6 +10510,12 @@ export interface Routes {
|
|
|
10510
10510
|
| {
|
|
10511
10511
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
10512
10512
|
is_connected: boolean
|
|
10513
|
+
/** Indicates if the keypad battery properties. */
|
|
10514
|
+
battery?:
|
|
10515
|
+
| {
|
|
10516
|
+
level: number
|
|
10517
|
+
}
|
|
10518
|
+
| undefined
|
|
10513
10519
|
}
|
|
10514
10520
|
| undefined
|
|
10515
10521
|
appearance: {
|
|
@@ -10630,6 +10636,8 @@ export interface Routes {
|
|
|
10630
10636
|
device_id: string
|
|
10631
10637
|
device_name: string
|
|
10632
10638
|
keypad_battery_critical?: boolean | undefined
|
|
10639
|
+
keypad_paired?: boolean | undefined
|
|
10640
|
+
keypad_2_paired?: boolean | undefined
|
|
10633
10641
|
}
|
|
10634
10642
|
| undefined
|
|
10635
10643
|
kwikset_metadata?:
|
|
@@ -10743,6 +10751,7 @@ export interface Routes {
|
|
|
10743
10751
|
device_name: string
|
|
10744
10752
|
bridge_id?: string | undefined
|
|
10745
10753
|
bridge_name?: string | undefined
|
|
10754
|
+
keypad_id?: string | undefined
|
|
10746
10755
|
}
|
|
10747
10756
|
| undefined
|
|
10748
10757
|
nest_metadata?:
|
|
@@ -10803,6 +10812,8 @@ export interface Routes {
|
|
|
10803
10812
|
product_type: string
|
|
10804
10813
|
product_model: string
|
|
10805
10814
|
device_info_model: string
|
|
10815
|
+
keypad_uuid?: string | undefined
|
|
10816
|
+
locker_status_hardlock?: number | undefined
|
|
10806
10817
|
}
|
|
10807
10818
|
| undefined
|
|
10808
10819
|
tedee_metadata?:
|
|
@@ -11152,7 +11163,7 @@ export interface Routes {
|
|
|
11152
11163
|
created_at: string
|
|
11153
11164
|
/** Indicates whether Seam manages the device. */
|
|
11154
11165
|
is_managed: true
|
|
11155
|
-
custom_metadata
|
|
11166
|
+
custom_metadata: Record<string, string | boolean>
|
|
11156
11167
|
can_remotely_unlock?: boolean | undefined
|
|
11157
11168
|
can_remotely_lock?: boolean | undefined
|
|
11158
11169
|
can_program_online_access_codes?: boolean | undefined
|
|
@@ -11986,8 +11997,8 @@ export interface Routes {
|
|
|
11986
11997
|
}
|
|
11987
11998
|
| undefined
|
|
11988
11999
|
user_identity_id?: string | undefined
|
|
11989
|
-
user_identity_email_address?: string | undefined
|
|
11990
|
-
user_identity_phone_number?: string | undefined
|
|
12000
|
+
user_identity_email_address?: (string | null) | undefined
|
|
12001
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
11991
12002
|
full_name?: string | undefined
|
|
11992
12003
|
/**
|
|
11993
12004
|
---
|