@seamapi/types 1.692.0 → 1.694.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 +21 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +126 -49
- package/dist/index.cjs +21 -11
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +24 -14
- package/lib/seam/connect/models/devices/device.d.ts +16 -16
- package/lib/seam/connect/models/devices/device.js +4 -4
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +8 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +45 -0
- package/lib/seam/connect/openapi.js +11 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -22
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +5 -5
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +13 -7
- package/src/lib/seam/connect/route-types.ts +38 -22
|
@@ -11495,7 +11495,7 @@ export type Routes = {
|
|
|
11495
11495
|
/** Date and time at which Seam created the warning. */
|
|
11496
11496
|
created_at: string;
|
|
11497
11497
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11498
|
-
warning_code: '
|
|
11498
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
11499
11499
|
} | {
|
|
11500
11500
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
11501
11501
|
message: string;
|
|
@@ -14905,7 +14905,7 @@ export type Routes = {
|
|
|
14905
14905
|
/** Date and time at which Seam created the warning. */
|
|
14906
14906
|
created_at: string;
|
|
14907
14907
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14908
|
-
warning_code: '
|
|
14908
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
14909
14909
|
} | {
|
|
14910
14910
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14911
14911
|
message: string;
|
|
@@ -28624,7 +28624,7 @@ export type Routes = {
|
|
|
28624
28624
|
/** Date and time at which Seam created the warning. */
|
|
28625
28625
|
created_at: string;
|
|
28626
28626
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
28627
|
-
warning_code: '
|
|
28627
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
28628
28628
|
} | {
|
|
28629
28629
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
28630
28630
|
message: string;
|
|
@@ -29917,7 +29917,7 @@ export type Routes = {
|
|
|
29917
29917
|
/** Date and time at which Seam created the warning. */
|
|
29918
29918
|
created_at: string;
|
|
29919
29919
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
29920
|
-
warning_code: '
|
|
29920
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
29921
29921
|
} | {
|
|
29922
29922
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29923
29923
|
message: string;
|
|
@@ -30416,7 +30416,7 @@ export type Routes = {
|
|
|
30416
30416
|
/** Date and time at which Seam created the warning. */
|
|
30417
30417
|
created_at: string;
|
|
30418
30418
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30419
|
-
warning_code: '
|
|
30419
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
30420
30420
|
} | {
|
|
30421
30421
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
30422
30422
|
message: string;
|
|
@@ -30871,7 +30871,7 @@ export type Routes = {
|
|
|
30871
30871
|
/** Date and time at which Seam created the warning. */
|
|
30872
30872
|
created_at: string;
|
|
30873
30873
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30874
|
-
warning_code: '
|
|
30874
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
30875
30875
|
} | {
|
|
30876
30876
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
30877
30877
|
message: string;
|
|
@@ -32661,6 +32661,8 @@ export type Routes = {
|
|
|
32661
32661
|
event_type: 'lock.locked';
|
|
32662
32662
|
/** ID of the access code that was used to lock the device. */
|
|
32663
32663
|
access_code_id?: string | undefined;
|
|
32664
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
32665
|
+
access_code_is_managed?: boolean | undefined;
|
|
32664
32666
|
/** ID of the action attempt associated with the lock action. */
|
|
32665
32667
|
action_attempt_id?: string | undefined;
|
|
32666
32668
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -32689,6 +32691,8 @@ export type Routes = {
|
|
|
32689
32691
|
event_type: 'lock.unlocked';
|
|
32690
32692
|
/** ID of the access code that was used to unlock the affected device. */
|
|
32691
32693
|
access_code_id?: string | undefined;
|
|
32694
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
32695
|
+
access_code_is_managed?: boolean | undefined;
|
|
32692
32696
|
/** ID of the action attempt associated with the unlock action. */
|
|
32693
32697
|
action_attempt_id?: string | undefined;
|
|
32694
32698
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -34655,6 +34659,8 @@ export type Routes = {
|
|
|
34655
34659
|
event_type: 'lock.locked';
|
|
34656
34660
|
/** ID of the access code that was used to lock the device. */
|
|
34657
34661
|
access_code_id?: string | undefined;
|
|
34662
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
34663
|
+
access_code_is_managed?: boolean | undefined;
|
|
34658
34664
|
/** ID of the action attempt associated with the lock action. */
|
|
34659
34665
|
action_attempt_id?: string | undefined;
|
|
34660
34666
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -34683,6 +34689,8 @@ export type Routes = {
|
|
|
34683
34689
|
event_type: 'lock.unlocked';
|
|
34684
34690
|
/** ID of the access code that was used to unlock the affected device. */
|
|
34685
34691
|
access_code_id?: string | undefined;
|
|
34692
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
34693
|
+
access_code_is_managed?: boolean | undefined;
|
|
34686
34694
|
/** ID of the action attempt associated with the unlock action. */
|
|
34687
34695
|
action_attempt_id?: string | undefined;
|
|
34688
34696
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -36310,7 +36318,7 @@ export type Routes = {
|
|
|
36310
36318
|
/** Date and time at which Seam created the warning. */
|
|
36311
36319
|
created_at: string;
|
|
36312
36320
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36313
|
-
warning_code: '
|
|
36321
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
36314
36322
|
} | {
|
|
36315
36323
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
36316
36324
|
message: string;
|
|
@@ -37553,7 +37561,7 @@ export type Routes = {
|
|
|
37553
37561
|
/** Date and time at which Seam created the warning. */
|
|
37554
37562
|
created_at: string;
|
|
37555
37563
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
37556
|
-
warning_code: '
|
|
37564
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
37557
37565
|
} | {
|
|
37558
37566
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
37559
37567
|
message: string;
|
|
@@ -38846,7 +38854,7 @@ export type Routes = {
|
|
|
38846
38854
|
/** Date and time at which Seam created the warning. */
|
|
38847
38855
|
created_at: string;
|
|
38848
38856
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
38849
|
-
warning_code: '
|
|
38857
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
38850
38858
|
} | {
|
|
38851
38859
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
38852
38860
|
message: string;
|
|
@@ -40088,7 +40096,7 @@ export type Routes = {
|
|
|
40088
40096
|
/** Date and time at which Seam created the warning. */
|
|
40089
40097
|
created_at: string;
|
|
40090
40098
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40091
|
-
warning_code: '
|
|
40099
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
40092
40100
|
} | {
|
|
40093
40101
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40094
40102
|
message: string;
|
|
@@ -46463,7 +46471,7 @@ export type Routes = {
|
|
|
46463
46471
|
/** Date and time at which Seam created the warning. */
|
|
46464
46472
|
created_at: string;
|
|
46465
46473
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
46466
|
-
warning_code: '
|
|
46474
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
46467
46475
|
} | {
|
|
46468
46476
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
46469
46477
|
message: string;
|
|
@@ -47705,7 +47713,7 @@ export type Routes = {
|
|
|
47705
47713
|
/** Date and time at which Seam created the warning. */
|
|
47706
47714
|
created_at: string;
|
|
47707
47715
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
47708
|
-
warning_code: '
|
|
47716
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
47709
47717
|
} | {
|
|
47710
47718
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
47711
47719
|
message: string;
|
|
@@ -52781,9 +52789,9 @@ export type Routes = {
|
|
|
52781
52789
|
/** Key of the customer to sync */
|
|
52782
52790
|
customer_key?: string | undefined;
|
|
52783
52791
|
/** ID of the connector customer to sync */
|
|
52784
|
-
connector_customer_id
|
|
52792
|
+
connector_customer_id?: (string | null) | undefined;
|
|
52785
52793
|
/** Unique provider resource key of the connector to sync */
|
|
52786
|
-
unique_provider_resource_key
|
|
52794
|
+
unique_provider_resource_key?: (string | null) | undefined;
|
|
52787
52795
|
};
|
|
52788
52796
|
formData: {};
|
|
52789
52797
|
jsonResponse: {
|
|
@@ -54508,6 +54516,8 @@ export type Routes = {
|
|
|
54508
54516
|
event_type: 'lock.locked';
|
|
54509
54517
|
/** ID of the access code that was used to lock the device. */
|
|
54510
54518
|
access_code_id?: string | undefined;
|
|
54519
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
54520
|
+
access_code_is_managed?: boolean | undefined;
|
|
54511
54521
|
/** ID of the action attempt associated with the lock action. */
|
|
54512
54522
|
action_attempt_id?: string | undefined;
|
|
54513
54523
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -54536,6 +54546,8 @@ export type Routes = {
|
|
|
54536
54546
|
event_type: 'lock.unlocked';
|
|
54537
54547
|
/** ID of the access code that was used to unlock the affected device. */
|
|
54538
54548
|
access_code_id?: string | undefined;
|
|
54549
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
54550
|
+
access_code_is_managed?: boolean | undefined;
|
|
54539
54551
|
/** ID of the action attempt associated with the unlock action. */
|
|
54540
54552
|
action_attempt_id?: string | undefined;
|
|
54541
54553
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -57322,7 +57334,7 @@ export type Routes = {
|
|
|
57322
57334
|
/** Date and time at which Seam created the warning. */
|
|
57323
57335
|
created_at: string;
|
|
57324
57336
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57325
|
-
warning_code: '
|
|
57337
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
57326
57338
|
} | {
|
|
57327
57339
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57328
57340
|
message: string;
|
|
@@ -63013,7 +63025,7 @@ export type Routes = {
|
|
|
63013
63025
|
/** Date and time at which Seam created the warning. */
|
|
63014
63026
|
created_at: string;
|
|
63015
63027
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63016
|
-
warning_code: '
|
|
63028
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
63017
63029
|
} | {
|
|
63018
63030
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63019
63031
|
message: string;
|
|
@@ -66860,7 +66872,7 @@ export type Routes = {
|
|
|
66860
66872
|
/** Date and time at which Seam created the warning. */
|
|
66861
66873
|
created_at: string;
|
|
66862
66874
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
66863
|
-
warning_code: '
|
|
66875
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
66864
66876
|
} | {
|
|
66865
66877
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
66866
66878
|
message: string;
|
|
@@ -68102,7 +68114,7 @@ export type Routes = {
|
|
|
68102
68114
|
/** Date and time at which Seam created the warning. */
|
|
68103
68115
|
created_at: string;
|
|
68104
68116
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68105
|
-
warning_code: '
|
|
68117
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
68106
68118
|
} | {
|
|
68107
68119
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68108
68120
|
message: string;
|
|
@@ -75364,7 +75376,7 @@ export type Routes = {
|
|
|
75364
75376
|
/** Date and time at which Seam created the warning. */
|
|
75365
75377
|
created_at: string;
|
|
75366
75378
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75367
|
-
warning_code: '
|
|
75379
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
75368
75380
|
} | {
|
|
75369
75381
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75370
75382
|
message: string;
|
|
@@ -76608,7 +76620,7 @@ export type Routes = {
|
|
|
76608
76620
|
/** Date and time at which Seam created the warning. */
|
|
76609
76621
|
created_at: string;
|
|
76610
76622
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
76611
|
-
warning_code: '
|
|
76623
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
76612
76624
|
} | {
|
|
76613
76625
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
76614
76626
|
message: string;
|
|
@@ -78817,7 +78829,7 @@ export type Routes = {
|
|
|
78817
78829
|
/** Date and time at which Seam created the warning. */
|
|
78818
78830
|
created_at: string;
|
|
78819
78831
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
78820
|
-
warning_code: '
|
|
78832
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
78821
78833
|
} | {
|
|
78822
78834
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
78823
78835
|
message: string;
|
|
@@ -81225,7 +81237,7 @@ export type Routes = {
|
|
|
81225
81237
|
/** Date and time at which Seam created the warning. */
|
|
81226
81238
|
created_at: string;
|
|
81227
81239
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
81228
|
-
warning_code: '
|
|
81240
|
+
warning_code: 'hub_required_for_additional_capabilities';
|
|
81229
81241
|
} | {
|
|
81230
81242
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
81231
81243
|
message: string;
|
|
@@ -83231,6 +83243,8 @@ export type Routes = {
|
|
|
83231
83243
|
event_type: 'lock.locked';
|
|
83232
83244
|
/** ID of the access code that was used to lock the device. */
|
|
83233
83245
|
access_code_id?: string | undefined;
|
|
83246
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
83247
|
+
access_code_is_managed?: boolean | undefined;
|
|
83234
83248
|
/** ID of the action attempt associated with the lock action. */
|
|
83235
83249
|
action_attempt_id?: string | undefined;
|
|
83236
83250
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -83259,6 +83273,8 @@ export type Routes = {
|
|
|
83259
83273
|
event_type: 'lock.unlocked';
|
|
83260
83274
|
/** ID of the access code that was used to unlock the affected device. */
|
|
83261
83275
|
access_code_id?: string | undefined;
|
|
83276
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
83277
|
+
access_code_is_managed?: boolean | undefined;
|
|
83262
83278
|
/** ID of the action attempt associated with the unlock action. */
|
|
83263
83279
|
action_attempt_id?: string | undefined;
|
|
83264
83280
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
package/package.json
CHANGED
|
@@ -420,9 +420,9 @@ export const unknown_issue_with_phone = common_device_warning.extend({
|
|
|
420
420
|
Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
|
|
421
421
|
`)
|
|
422
422
|
|
|
423
|
-
const
|
|
423
|
+
const hub_required_for_additional_capabilities = common_device_warning.extend({
|
|
424
424
|
warning_code: z
|
|
425
|
-
.literal('
|
|
425
|
+
.literal('hub_required_for_additional_capabilities')
|
|
426
426
|
.describe(warning_code_description),
|
|
427
427
|
}).describe(`
|
|
428
428
|
---
|
|
@@ -471,7 +471,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
471
471
|
unknown_issue_with_phone,
|
|
472
472
|
lockly_time_zone_not_configured,
|
|
473
473
|
ultraloq_time_zone_unknown,
|
|
474
|
-
|
|
474
|
+
hub_required_for_additional_capabilities,
|
|
475
475
|
keynest_unsupported_locker,
|
|
476
476
|
accessory_keypad_setup_required,
|
|
477
477
|
])
|
|
@@ -518,8 +518,8 @@ const _device_warning_map = z.object({
|
|
|
518
518
|
.optional()
|
|
519
519
|
.nullable(),
|
|
520
520
|
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
hub_required_for_additional_capabilities:
|
|
522
|
+
hub_required_for_additional_capabilities.optional().nullable(),
|
|
523
523
|
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
524
524
|
accessory_keypad_setup_required: accessory_keypad_setup_required
|
|
525
525
|
.optional()
|
|
@@ -377,6 +377,12 @@ export const lock_locked_event = device_event.extend({
|
|
|
377
377
|
.uuid()
|
|
378
378
|
.optional()
|
|
379
379
|
.describe('ID of the access code that was used to lock the device.'),
|
|
380
|
+
access_code_is_managed: z
|
|
381
|
+
.boolean()
|
|
382
|
+
.optional()
|
|
383
|
+
.describe(
|
|
384
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
385
|
+
),
|
|
380
386
|
action_attempt_id: z
|
|
381
387
|
.string()
|
|
382
388
|
.uuid()
|
|
@@ -403,6 +409,12 @@ export const lock_unlocked_event = device_event.extend({
|
|
|
403
409
|
.describe(
|
|
404
410
|
'ID of the access code that was used to unlock the affected device.',
|
|
405
411
|
),
|
|
412
|
+
access_code_is_managed: z
|
|
413
|
+
.boolean()
|
|
414
|
+
.optional()
|
|
415
|
+
.describe(
|
|
416
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
417
|
+
),
|
|
406
418
|
action_attempt_id: z
|
|
407
419
|
.string()
|
|
408
420
|
.uuid()
|
|
@@ -13426,7 +13426,7 @@ export default {
|
|
|
13426
13426
|
warning_code: {
|
|
13427
13427
|
description:
|
|
13428
13428
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13429
|
-
enum: ['
|
|
13429
|
+
enum: ['hub_required_for_additional_capabilities'],
|
|
13430
13430
|
type: 'string',
|
|
13431
13431
|
},
|
|
13432
13432
|
},
|
|
@@ -18809,6 +18809,11 @@ export default {
|
|
|
18809
18809
|
format: 'uuid',
|
|
18810
18810
|
type: 'string',
|
|
18811
18811
|
},
|
|
18812
|
+
access_code_is_managed: {
|
|
18813
|
+
description:
|
|
18814
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
18815
|
+
type: 'boolean',
|
|
18816
|
+
},
|
|
18812
18817
|
action_attempt_id: {
|
|
18813
18818
|
description:
|
|
18814
18819
|
'ID of the action attempt associated with the lock action.',
|
|
@@ -18894,6 +18899,11 @@ export default {
|
|
|
18894
18899
|
format: 'uuid',
|
|
18895
18900
|
type: 'string',
|
|
18896
18901
|
},
|
|
18902
|
+
access_code_is_managed: {
|
|
18903
|
+
description:
|
|
18904
|
+
'Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set.',
|
|
18905
|
+
type: 'boolean',
|
|
18906
|
+
},
|
|
18897
18907
|
acs_entrance_id: {
|
|
18898
18908
|
description:
|
|
18899
18909
|
'\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ',
|
|
@@ -26087,7 +26097,7 @@ export default {
|
|
|
26087
26097
|
warning_code: {
|
|
26088
26098
|
description:
|
|
26089
26099
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
26090
|
-
enum: ['
|
|
26100
|
+
enum: ['hub_required_for_additional_capabilities'],
|
|
26091
26101
|
type: 'string',
|
|
26092
26102
|
},
|
|
26093
26103
|
},
|
|
@@ -54571,11 +54581,7 @@ export default {
|
|
|
54571
54581
|
type: 'string',
|
|
54572
54582
|
},
|
|
54573
54583
|
},
|
|
54574
|
-
required: [
|
|
54575
|
-
'connector_id',
|
|
54576
|
-
'connector_customer_id',
|
|
54577
|
-
'unique_provider_resource_key',
|
|
54578
|
-
],
|
|
54584
|
+
required: ['connector_id'],
|
|
54579
54585
|
type: 'object',
|
|
54580
54586
|
},
|
|
54581
54587
|
},
|
|
@@ -13121,7 +13121,7 @@ export type Routes = {
|
|
|
13121
13121
|
/** Date and time at which Seam created the warning. */
|
|
13122
13122
|
created_at: string
|
|
13123
13123
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13124
|
-
warning_code: '
|
|
13124
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
13125
13125
|
}
|
|
13126
13126
|
| {
|
|
13127
13127
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -17212,7 +17212,7 @@ export type Routes = {
|
|
|
17212
17212
|
/** Date and time at which Seam created the warning. */
|
|
17213
17213
|
created_at: string
|
|
17214
17214
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17215
|
-
warning_code: '
|
|
17215
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
17216
17216
|
}
|
|
17217
17217
|
| {
|
|
17218
17218
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -33221,7 +33221,7 @@ export type Routes = {
|
|
|
33221
33221
|
/** Date and time at which Seam created the warning. */
|
|
33222
33222
|
created_at: string
|
|
33223
33223
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
33224
|
-
warning_code: '
|
|
33224
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
33225
33225
|
}
|
|
33226
33226
|
| {
|
|
33227
33227
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -35005,7 +35005,7 @@ export type Routes = {
|
|
|
35005
35005
|
/** Date and time at which Seam created the warning. */
|
|
35006
35006
|
created_at: string
|
|
35007
35007
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35008
|
-
warning_code: '
|
|
35008
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
35009
35009
|
}
|
|
35010
35010
|
| {
|
|
35011
35011
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -36088,7 +36088,7 @@ export type Routes = {
|
|
|
36088
36088
|
/** Date and time at which Seam created the warning. */
|
|
36089
36089
|
created_at: string
|
|
36090
36090
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36091
|
-
warning_code: '
|
|
36091
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
36092
36092
|
}
|
|
36093
36093
|
| {
|
|
36094
36094
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -36814,7 +36814,7 @@ export type Routes = {
|
|
|
36814
36814
|
/** Date and time at which Seam created the warning. */
|
|
36815
36815
|
created_at: string
|
|
36816
36816
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36817
|
-
warning_code: '
|
|
36817
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
36818
36818
|
}
|
|
36819
36819
|
| {
|
|
36820
36820
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -38895,6 +38895,8 @@ export type Routes = {
|
|
|
38895
38895
|
event_type: 'lock.locked'
|
|
38896
38896
|
/** ID of the access code that was used to lock the device. */
|
|
38897
38897
|
access_code_id?: string | undefined
|
|
38898
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
38899
|
+
access_code_is_managed?: boolean | undefined
|
|
38898
38900
|
/** ID of the action attempt associated with the lock action. */
|
|
38899
38901
|
action_attempt_id?: string | undefined
|
|
38900
38902
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -38933,6 +38935,8 @@ export type Routes = {
|
|
|
38933
38935
|
event_type: 'lock.unlocked'
|
|
38934
38936
|
/** ID of the access code that was used to unlock the affected device. */
|
|
38935
38937
|
access_code_id?: string | undefined
|
|
38938
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
38939
|
+
access_code_is_managed?: boolean | undefined
|
|
38936
38940
|
/** ID of the action attempt associated with the unlock action. */
|
|
38937
38941
|
action_attempt_id?: string | undefined
|
|
38938
38942
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -41423,6 +41427,8 @@ export type Routes = {
|
|
|
41423
41427
|
event_type: 'lock.locked'
|
|
41424
41428
|
/** ID of the access code that was used to lock the device. */
|
|
41425
41429
|
access_code_id?: string | undefined
|
|
41430
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
41431
|
+
access_code_is_managed?: boolean | undefined
|
|
41426
41432
|
/** ID of the action attempt associated with the lock action. */
|
|
41427
41433
|
action_attempt_id?: string | undefined
|
|
41428
41434
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -41456,6 +41462,8 @@ export type Routes = {
|
|
|
41456
41462
|
event_type: 'lock.unlocked'
|
|
41457
41463
|
/** ID of the access code that was used to unlock the affected device. */
|
|
41458
41464
|
access_code_id?: string | undefined
|
|
41465
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
41466
|
+
access_code_is_managed?: boolean | undefined
|
|
41459
41467
|
/** ID of the action attempt associated with the unlock action. */
|
|
41460
41468
|
action_attempt_id?: string | undefined
|
|
41461
41469
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -43445,7 +43453,7 @@ export type Routes = {
|
|
|
43445
43453
|
/** Date and time at which Seam created the warning. */
|
|
43446
43454
|
created_at: string
|
|
43447
43455
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
43448
|
-
warning_code: '
|
|
43456
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
43449
43457
|
}
|
|
43450
43458
|
| {
|
|
43451
43459
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -45001,7 +45009,7 @@ export type Routes = {
|
|
|
45001
45009
|
/** Date and time at which Seam created the warning. */
|
|
45002
45010
|
created_at: string
|
|
45003
45011
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
45004
|
-
warning_code: '
|
|
45012
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
45005
45013
|
}
|
|
45006
45014
|
| {
|
|
45007
45015
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -46747,7 +46755,7 @@ export type Routes = {
|
|
|
46747
46755
|
/** Date and time at which Seam created the warning. */
|
|
46748
46756
|
created_at: string
|
|
46749
46757
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
46750
|
-
warning_code: '
|
|
46758
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
46751
46759
|
}
|
|
46752
46760
|
| {
|
|
46753
46761
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -48302,7 +48310,7 @@ export type Routes = {
|
|
|
48302
48310
|
/** Date and time at which Seam created the warning. */
|
|
48303
48311
|
created_at: string
|
|
48304
48312
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48305
|
-
warning_code: '
|
|
48313
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
48306
48314
|
}
|
|
48307
48315
|
| {
|
|
48308
48316
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -55800,7 +55808,7 @@ export type Routes = {
|
|
|
55800
55808
|
/** Date and time at which Seam created the warning. */
|
|
55801
55809
|
created_at: string
|
|
55802
55810
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
55803
|
-
warning_code: '
|
|
55811
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
55804
55812
|
}
|
|
55805
55813
|
| {
|
|
55806
55814
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -57355,7 +57363,7 @@ export type Routes = {
|
|
|
57355
57363
|
/** Date and time at which Seam created the warning. */
|
|
57356
57364
|
created_at: string
|
|
57357
57365
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57358
|
-
warning_code: '
|
|
57366
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
57359
57367
|
}
|
|
57360
57368
|
| {
|
|
57361
57369
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -63120,9 +63128,9 @@ export type Routes = {
|
|
|
63120
63128
|
/** Key of the customer to sync */
|
|
63121
63129
|
customer_key?: string | undefined
|
|
63122
63130
|
/** ID of the connector customer to sync */
|
|
63123
|
-
connector_customer_id
|
|
63131
|
+
connector_customer_id?: (string | null) | undefined
|
|
63124
63132
|
/** Unique provider resource key of the connector to sync */
|
|
63125
|
-
unique_provider_resource_key
|
|
63133
|
+
unique_provider_resource_key?: (string | null) | undefined
|
|
63126
63134
|
}
|
|
63127
63135
|
formData: {}
|
|
63128
63136
|
jsonResponse: {
|
|
@@ -65319,6 +65327,8 @@ export type Routes = {
|
|
|
65319
65327
|
event_type: 'lock.locked'
|
|
65320
65328
|
/** ID of the access code that was used to lock the device. */
|
|
65321
65329
|
access_code_id?: string | undefined
|
|
65330
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
65331
|
+
access_code_is_managed?: boolean | undefined
|
|
65322
65332
|
/** ID of the action attempt associated with the lock action. */
|
|
65323
65333
|
action_attempt_id?: string | undefined
|
|
65324
65334
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -65352,6 +65362,8 @@ export type Routes = {
|
|
|
65352
65362
|
event_type: 'lock.unlocked'
|
|
65353
65363
|
/** ID of the access code that was used to unlock the affected device. */
|
|
65354
65364
|
access_code_id?: string | undefined
|
|
65365
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
65366
|
+
access_code_is_managed?: boolean | undefined
|
|
65355
65367
|
/** ID of the action attempt associated with the unlock action. */
|
|
65356
65368
|
action_attempt_id?: string | undefined
|
|
65357
65369
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -68676,7 +68688,7 @@ export type Routes = {
|
|
|
68676
68688
|
/** Date and time at which Seam created the warning. */
|
|
68677
68689
|
created_at: string
|
|
68678
68690
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68679
|
-
warning_code: '
|
|
68691
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
68680
68692
|
}
|
|
68681
68693
|
| {
|
|
68682
68694
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -75367,7 +75379,7 @@ export type Routes = {
|
|
|
75367
75379
|
/** Date and time at which Seam created the warning. */
|
|
75368
75380
|
created_at: string
|
|
75369
75381
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75370
|
-
warning_code: '
|
|
75382
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
75371
75383
|
}
|
|
75372
75384
|
| {
|
|
75373
75385
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -79982,7 +79994,7 @@ export type Routes = {
|
|
|
79982
79994
|
/** Date and time at which Seam created the warning. */
|
|
79983
79995
|
created_at: string
|
|
79984
79996
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
79985
|
-
warning_code: '
|
|
79997
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
79986
79998
|
}
|
|
79987
79999
|
| {
|
|
79988
80000
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -81537,7 +81549,7 @@ export type Routes = {
|
|
|
81537
81549
|
/** Date and time at which Seam created the warning. */
|
|
81538
81550
|
created_at: string
|
|
81539
81551
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
81540
|
-
warning_code: '
|
|
81552
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
81541
81553
|
}
|
|
81542
81554
|
| {
|
|
81543
81555
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -89912,7 +89924,7 @@ export type Routes = {
|
|
|
89912
89924
|
/** Date and time at which Seam created the warning. */
|
|
89913
89925
|
created_at: string
|
|
89914
89926
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89915
|
-
warning_code: '
|
|
89927
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
89916
89928
|
}
|
|
89917
89929
|
| {
|
|
89918
89930
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -91469,7 +91481,7 @@ export type Routes = {
|
|
|
91469
91481
|
/** Date and time at which Seam created the warning. */
|
|
91470
91482
|
created_at: string
|
|
91471
91483
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91472
|
-
warning_code: '
|
|
91484
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
91473
91485
|
}
|
|
91474
91486
|
| {
|
|
91475
91487
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -94125,7 +94137,7 @@ export type Routes = {
|
|
|
94125
94137
|
/** Date and time at which Seam created the warning. */
|
|
94126
94138
|
created_at: string
|
|
94127
94139
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
94128
|
-
warning_code: '
|
|
94140
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
94129
94141
|
}
|
|
94130
94142
|
| {
|
|
94131
94143
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -97051,7 +97063,7 @@ export type Routes = {
|
|
|
97051
97063
|
/** Date and time at which Seam created the warning. */
|
|
97052
97064
|
created_at: string
|
|
97053
97065
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97054
|
-
warning_code: '
|
|
97066
|
+
warning_code: 'hub_required_for_additional_capabilities'
|
|
97055
97067
|
}
|
|
97056
97068
|
| {
|
|
97057
97069
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -99378,6 +99390,8 @@ export type Routes = {
|
|
|
99378
99390
|
event_type: 'lock.locked'
|
|
99379
99391
|
/** ID of the access code that was used to lock the device. */
|
|
99380
99392
|
access_code_id?: string | undefined
|
|
99393
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
99394
|
+
access_code_is_managed?: boolean | undefined
|
|
99381
99395
|
/** ID of the action attempt associated with the lock action. */
|
|
99382
99396
|
action_attempt_id?: string | undefined
|
|
99383
99397
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -99416,6 +99430,8 @@ export type Routes = {
|
|
|
99416
99430
|
event_type: 'lock.unlocked'
|
|
99417
99431
|
/** ID of the access code that was used to unlock the affected device. */
|
|
99418
99432
|
access_code_id?: string | undefined
|
|
99433
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
99434
|
+
access_code_is_managed?: boolean | undefined
|
|
99419
99435
|
/** ID of the action attempt associated with the unlock action. */
|
|
99420
99436
|
action_attempt_id?: string | undefined
|
|
99421
99437
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|