@seamapi/types 1.1054.0 → 1.1056.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +9 -3
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +9 -3
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -3
- package/lib/seam/connect/models/access-grants/access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-metadata.d.ts +14 -14
- package/lib/seam/connect/models/devices/device-metadata.js +2 -2
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +18 -18
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +14 -14
- package/lib/seam/connect/openapi.js +16 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +78 -45
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -3
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +9 -3
- package/src/lib/seam/connect/models/devices/device-metadata.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +20 -2
- package/src/lib/seam/connect/route-types.ts +112 -45
|
@@ -3182,20 +3182,20 @@ export declare const device: z.ZodObject<{
|
|
|
3182
3182
|
userLevel: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3183
3183
|
userLevelName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3184
3184
|
userLevelType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3185
|
-
|
|
3186
|
-
|
|
3185
|
+
userLevelCheckInTime: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3186
|
+
userLevelCheckOutTime: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3187
3187
|
}, "strip", z.ZodTypeAny, {
|
|
3188
3188
|
userLevel?: number | undefined;
|
|
3189
3189
|
userLevelName?: string | undefined;
|
|
3190
3190
|
userLevelType?: string | undefined;
|
|
3191
|
-
|
|
3192
|
-
|
|
3191
|
+
userLevelCheckInTime?: string | undefined;
|
|
3192
|
+
userLevelCheckOutTime?: string | undefined;
|
|
3193
3193
|
}, {
|
|
3194
3194
|
userLevel?: number | undefined;
|
|
3195
3195
|
userLevelName?: string | undefined;
|
|
3196
3196
|
userLevelType?: string | undefined;
|
|
3197
|
-
|
|
3198
|
-
|
|
3197
|
+
userLevelCheckInTime?: string | undefined;
|
|
3198
|
+
userLevelCheckOutTime?: string | undefined;
|
|
3199
3199
|
}>, "many">>>;
|
|
3200
3200
|
}, "strip", z.ZodTypeAny, {
|
|
3201
3201
|
door_name?: string | undefined;
|
|
@@ -3205,8 +3205,8 @@ export declare const device: z.ZodObject<{
|
|
|
3205
3205
|
userLevel?: number | undefined;
|
|
3206
3206
|
userLevelName?: string | undefined;
|
|
3207
3207
|
userLevelType?: string | undefined;
|
|
3208
|
-
|
|
3209
|
-
|
|
3208
|
+
userLevelCheckInTime?: string | undefined;
|
|
3209
|
+
userLevelCheckOutTime?: string | undefined;
|
|
3210
3210
|
}[] | undefined;
|
|
3211
3211
|
}, {
|
|
3212
3212
|
door_name?: string | undefined;
|
|
@@ -3216,8 +3216,8 @@ export declare const device: z.ZodObject<{
|
|
|
3216
3216
|
userLevel?: number | undefined;
|
|
3217
3217
|
userLevelName?: string | undefined;
|
|
3218
3218
|
userLevelType?: string | undefined;
|
|
3219
|
-
|
|
3220
|
-
|
|
3219
|
+
userLevelCheckInTime?: string | undefined;
|
|
3220
|
+
userLevelCheckOutTime?: string | undefined;
|
|
3221
3221
|
}[] | undefined;
|
|
3222
3222
|
}>>;
|
|
3223
3223
|
wyze_metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3738,8 +3738,8 @@ export declare const device: z.ZodObject<{
|
|
|
3738
3738
|
userLevel?: number | undefined;
|
|
3739
3739
|
userLevelName?: string | undefined;
|
|
3740
3740
|
userLevelType?: string | undefined;
|
|
3741
|
-
|
|
3742
|
-
|
|
3741
|
+
userLevelCheckInTime?: string | undefined;
|
|
3742
|
+
userLevelCheckOutTime?: string | undefined;
|
|
3743
3743
|
}[] | undefined;
|
|
3744
3744
|
} | undefined;
|
|
3745
3745
|
wyze_metadata?: {
|
|
@@ -4062,8 +4062,8 @@ export declare const device: z.ZodObject<{
|
|
|
4062
4062
|
userLevel?: number | undefined;
|
|
4063
4063
|
userLevelName?: string | undefined;
|
|
4064
4064
|
userLevelType?: string | undefined;
|
|
4065
|
-
|
|
4066
|
-
|
|
4065
|
+
userLevelCheckInTime?: string | undefined;
|
|
4066
|
+
userLevelCheckOutTime?: string | undefined;
|
|
4067
4067
|
}[] | undefined;
|
|
4068
4068
|
} | undefined;
|
|
4069
4069
|
wyze_metadata?: {
|
|
@@ -6321,8 +6321,8 @@ export declare const device: z.ZodObject<{
|
|
|
6321
6321
|
userLevel?: number | undefined;
|
|
6322
6322
|
userLevelName?: string | undefined;
|
|
6323
6323
|
userLevelType?: string | undefined;
|
|
6324
|
-
|
|
6325
|
-
|
|
6324
|
+
userLevelCheckInTime?: string | undefined;
|
|
6325
|
+
userLevelCheckOutTime?: string | undefined;
|
|
6326
6326
|
}[] | undefined;
|
|
6327
6327
|
} | undefined;
|
|
6328
6328
|
wyze_metadata?: {
|
|
@@ -7143,8 +7143,8 @@ export declare const device: z.ZodObject<{
|
|
|
7143
7143
|
userLevel?: number | undefined;
|
|
7144
7144
|
userLevelName?: string | undefined;
|
|
7145
7145
|
userLevelType?: string | undefined;
|
|
7146
|
-
|
|
7147
|
-
|
|
7146
|
+
userLevelCheckInTime?: string | undefined;
|
|
7147
|
+
userLevelCheckOutTime?: string | undefined;
|
|
7148
7148
|
}[] | undefined;
|
|
7149
7149
|
} | undefined;
|
|
7150
7150
|
wyze_metadata?: {
|
|
@@ -880,20 +880,20 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
880
880
|
userLevel: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
881
881
|
userLevelName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
882
882
|
userLevelType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
883
|
-
|
|
884
|
-
|
|
883
|
+
userLevelCheckInTime: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
884
|
+
userLevelCheckOutTime: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
886
|
userLevel?: number | undefined;
|
|
887
887
|
userLevelName?: string | undefined;
|
|
888
888
|
userLevelType?: string | undefined;
|
|
889
|
-
|
|
890
|
-
|
|
889
|
+
userLevelCheckInTime?: string | undefined;
|
|
890
|
+
userLevelCheckOutTime?: string | undefined;
|
|
891
891
|
}, {
|
|
892
892
|
userLevel?: number | undefined;
|
|
893
893
|
userLevelName?: string | undefined;
|
|
894
894
|
userLevelType?: string | undefined;
|
|
895
|
-
|
|
896
|
-
|
|
895
|
+
userLevelCheckInTime?: string | undefined;
|
|
896
|
+
userLevelCheckOutTime?: string | undefined;
|
|
897
897
|
}>, "many">>>;
|
|
898
898
|
}, "strip", z.ZodTypeAny, {
|
|
899
899
|
door_name?: string | undefined;
|
|
@@ -903,8 +903,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
903
903
|
userLevel?: number | undefined;
|
|
904
904
|
userLevelName?: string | undefined;
|
|
905
905
|
userLevelType?: string | undefined;
|
|
906
|
-
|
|
907
|
-
|
|
906
|
+
userLevelCheckInTime?: string | undefined;
|
|
907
|
+
userLevelCheckOutTime?: string | undefined;
|
|
908
908
|
}[] | undefined;
|
|
909
909
|
}, {
|
|
910
910
|
door_name?: string | undefined;
|
|
@@ -914,8 +914,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
914
914
|
userLevel?: number | undefined;
|
|
915
915
|
userLevelName?: string | undefined;
|
|
916
916
|
userLevelType?: string | undefined;
|
|
917
|
-
|
|
918
|
-
|
|
917
|
+
userLevelCheckInTime?: string | undefined;
|
|
918
|
+
userLevelCheckOutTime?: string | undefined;
|
|
919
919
|
}[] | undefined;
|
|
920
920
|
}>>;
|
|
921
921
|
wyze_metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -1436,8 +1436,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1436
1436
|
userLevel?: number | undefined;
|
|
1437
1437
|
userLevelName?: string | undefined;
|
|
1438
1438
|
userLevelType?: string | undefined;
|
|
1439
|
-
|
|
1440
|
-
|
|
1439
|
+
userLevelCheckInTime?: string | undefined;
|
|
1440
|
+
userLevelCheckOutTime?: string | undefined;
|
|
1441
1441
|
}[] | undefined;
|
|
1442
1442
|
} | undefined;
|
|
1443
1443
|
wyze_metadata?: {
|
|
@@ -1760,8 +1760,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1760
1760
|
userLevel?: number | undefined;
|
|
1761
1761
|
userLevelName?: string | undefined;
|
|
1762
1762
|
userLevelType?: string | undefined;
|
|
1763
|
-
|
|
1764
|
-
|
|
1763
|
+
userLevelCheckInTime?: string | undefined;
|
|
1764
|
+
userLevelCheckOutTime?: string | undefined;
|
|
1765
1765
|
}[] | undefined;
|
|
1766
1766
|
} | undefined;
|
|
1767
1767
|
wyze_metadata?: {
|
|
@@ -29,6 +29,10 @@ const openapi = {
|
|
|
29
29
|
format: 'uuid',
|
|
30
30
|
type: 'string',
|
|
31
31
|
},
|
|
32
|
+
display_status: {
|
|
33
|
+
description: 'Human-readable label for where this access code sits in its lifecycle, for example `Active`, `Issuing`, or `Expired`. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `pending_mutations`, `errors`, `warnings`, `starts_at`, and `ends_at`.',
|
|
34
|
+
type: 'string',
|
|
35
|
+
},
|
|
32
36
|
dormakaba_oracode_metadata: {
|
|
33
37
|
description: 'Metadata for a dormakaba Oracode managed access code. Only present for access codes from dormakaba Oracode devices.',
|
|
34
38
|
nullable: true,
|
|
@@ -1210,9 +1214,11 @@ const openapi = {
|
|
|
1210
1214
|
type: 'string',
|
|
1211
1215
|
},
|
|
1212
1216
|
status: {
|
|
1217
|
+
deprecated: true,
|
|
1213
1218
|
description: 'Current status of the access code within the operational lifecycle. Values are `setting`, a transitional phase that indicates that the code is being configured or activated; `set`, which indicates that the code is active and operational; `unset`, which indicates a deactivated or unused state, either before activation or after deliberate deactivation; `removing`, which indicates a transitional period in which the code is being deleted or made inactive; and `unknown`, which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting. See also [Lifecycle of Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/lifecycle-of-access-codes).',
|
|
1214
1219
|
enum: ['setting', 'set', 'unset', 'removing', 'unknown'],
|
|
1215
1220
|
type: 'string',
|
|
1221
|
+
'x-deprecated': "Use `display_status` to show a person the code's state. To make decisions, read `pending_mutations`, `errors`, `warnings`, `starts_at`, and `ends_at`.",
|
|
1216
1222
|
},
|
|
1217
1223
|
type: {
|
|
1218
1224
|
description: 'Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration.',
|
|
@@ -1541,6 +1547,7 @@ const openapi = {
|
|
|
1541
1547
|
'warnings',
|
|
1542
1548
|
'is_managed',
|
|
1543
1549
|
'status',
|
|
1550
|
+
'display_status',
|
|
1544
1551
|
'is_backup_access_code_available',
|
|
1545
1552
|
'is_external_modification_allowed',
|
|
1546
1553
|
'is_one_time_use',
|
|
@@ -13047,9 +13054,9 @@ const openapi = {
|
|
|
13047
13054
|
description: "User levels for a dormakaba Oracode Homeowner's Portal device.",
|
|
13048
13055
|
items: {
|
|
13049
13056
|
properties: {
|
|
13050
|
-
checkInTime: { type: 'string' },
|
|
13051
|
-
checkOutTime: { type: 'string' },
|
|
13052
13057
|
userLevel: { format: 'float', type: 'number' },
|
|
13058
|
+
userLevelCheckInTime: { type: 'string' },
|
|
13059
|
+
userLevelCheckOutTime: { type: 'string' },
|
|
13053
13060
|
userLevelName: { type: 'string' },
|
|
13054
13061
|
userLevelType: { type: 'string' },
|
|
13055
13062
|
},
|
|
@@ -28185,6 +28192,10 @@ const openapi = {
|
|
|
28185
28192
|
format: 'uuid',
|
|
28186
28193
|
type: 'string',
|
|
28187
28194
|
},
|
|
28195
|
+
display_status: {
|
|
28196
|
+
description: "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.",
|
|
28197
|
+
type: 'string',
|
|
28198
|
+
},
|
|
28188
28199
|
dormakaba_oracode_metadata: {
|
|
28189
28200
|
description: 'Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices.',
|
|
28190
28201
|
nullable: true,
|
|
@@ -29083,9 +29094,11 @@ const openapi = {
|
|
|
29083
29094
|
type: 'string',
|
|
29084
29095
|
},
|
|
29085
29096
|
status: {
|
|
29097
|
+
deprecated: true,
|
|
29086
29098
|
description: '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.',
|
|
29087
29099
|
enum: ['set', 'unset'],
|
|
29088
29100
|
type: 'string',
|
|
29101
|
+
'x-deprecated': "Use `display_status` to show a person the code's state.",
|
|
29089
29102
|
},
|
|
29090
29103
|
type: {
|
|
29091
29104
|
description: 'Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration.',
|
|
@@ -29413,6 +29426,7 @@ const openapi = {
|
|
|
29413
29426
|
'warnings',
|
|
29414
29427
|
'is_managed',
|
|
29415
29428
|
'status',
|
|
29429
|
+
'display_status',
|
|
29416
29430
|
],
|
|
29417
29431
|
type: 'object',
|
|
29418
29432
|
'x-route-path': '/access_codes/unmanaged',
|