@seamapi/http 2.25.0 → 2.27.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/README.md +25 -0
- package/lib/resolve-action-attempt.d.ts +4 -4
- package/lib/resources/access-code.d.ts +5 -0
- package/lib/resources/action-attempt.d.ts +871 -139
- package/lib/resources/device-provider.d.ts +1 -1
- package/lib/resources/device.d.ts +27 -0
- package/lib/resources/unmanaged-access-code.d.ts +5 -0
- package/lib/routes/connect-webviews/connect-webviews.d.ts +1 -1
- package/lib/routes/devices/devices.d.ts +1 -1
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +1 -1
- package/lib/routes/locks/locks.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/resolve-action-attempt.ts +8 -6
- package/src/lib/resources/access-code.ts +6 -0
- package/src/lib/resources/action-attempt.ts +1101 -201
- package/src/lib/resources/device-provider.ts +1 -0
- package/src/lib/resources/device.ts +35 -0
- package/src/lib/resources/unmanaged-access-code.ts +6 -0
- package/src/lib/routes/connect-webviews/connect-webviews.ts +1 -0
- package/src/lib/routes/devices/devices.ts +1 -0
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +1 -0
- package/src/lib/routes/locks/locks.ts +1 -0
- package/src/lib/version.ts +1 -1
|
@@ -962,6 +962,41 @@ export type Device = {
|
|
|
962
962
|
relay_name?: string | null | undefined
|
|
963
963
|
}
|
|
964
964
|
| undefined
|
|
965
|
+
/**
|
|
966
|
+
* Metadata for a dormakaba Oracode Homeowner's Portal device.
|
|
967
|
+
*/
|
|
968
|
+
dormakaba_oracode_iho_metadata?:
|
|
969
|
+
| {
|
|
970
|
+
/**
|
|
971
|
+
* Door ID for a dormakaba Oracode Homeowner's Portal device.
|
|
972
|
+
*/
|
|
973
|
+
door_id?: number | undefined
|
|
974
|
+
/**
|
|
975
|
+
* Name of the door for a dormakaba Oracode Homeowner's Portal device.
|
|
976
|
+
*/
|
|
977
|
+
door_name?: string | undefined
|
|
978
|
+
/**
|
|
979
|
+
* IANA time zone for a dormakaba Oracode Homeowner's Portal device.
|
|
980
|
+
*/
|
|
981
|
+
iana_timezone?: string | undefined
|
|
982
|
+
/**
|
|
983
|
+
* User levels for a dormakaba Oracode Homeowner's Portal device.
|
|
984
|
+
*/
|
|
985
|
+
user_levels?:
|
|
986
|
+
| Array<{
|
|
987
|
+
userLevel?: number | undefined
|
|
988
|
+
|
|
989
|
+
userLevelCheckInTime?: string | undefined
|
|
990
|
+
|
|
991
|
+
userLevelCheckOutTime?: string | undefined
|
|
992
|
+
|
|
993
|
+
userLevelName?: string | undefined
|
|
994
|
+
|
|
995
|
+
userLevelType?: string | undefined
|
|
996
|
+
}>
|
|
997
|
+
| undefined
|
|
998
|
+
}
|
|
999
|
+
| undefined
|
|
965
1000
|
/**
|
|
966
1001
|
* Metadata for a dormakaba Oracode device.
|
|
967
1002
|
*/
|
|
@@ -44,6 +44,11 @@ export type UnmanagedAccessCode = {
|
|
|
44
44
|
*/
|
|
45
45
|
device_id: string
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Human-readable label for the code's state: `Active` or `Not active`, based on whether the code is set on the device. For display only. The wording is not stable and is not an enumeration — never compare against or branch on it.
|
|
49
|
+
*/
|
|
50
|
+
display_status: string
|
|
51
|
+
|
|
47
52
|
/**
|
|
48
53
|
* Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices.
|
|
49
54
|
*/
|
|
@@ -731,6 +736,7 @@ export type UnmanagedAccessCode = {
|
|
|
731
736
|
starts_at?: string | null | undefined
|
|
732
737
|
/**
|
|
733
738
|
* Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.
|
|
739
|
+
* @deprecated Use `display_status` to show a person the code's state.
|
|
734
740
|
*/
|
|
735
741
|
status: 'set' | 'unset'
|
|
736
742
|
|
package/src/lib/version.ts
CHANGED