@seamapi/types 1.242.1 → 1.243.1
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 +106 -124
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +427 -273
- package/lib/seam/connect/models/acs/acs-user.d.ts +45 -100
- package/lib/seam/connect/models/acs/acs-user.js +4 -8
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +78 -0
- package/lib/seam/connect/models/devices/device-metadata.js +14 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +102 -0
- package/lib/seam/connect/models/devices/phone.d.ts +78 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +78 -0
- package/lib/seam/connect/openapi.d.ts +52 -138
- package/lib/seam/connect/openapi.js +86 -114
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +165 -63
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +4 -8
- package/src/lib/seam/connect/models/devices/device-metadata.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +86 -123
- package/src/lib/seam/connect/route-types.ts +189 -70
|
@@ -2341,12 +2341,6 @@ export interface Routes {
|
|
|
2341
2341
|
created_at: string;
|
|
2342
2342
|
message: string;
|
|
2343
2343
|
warning_code: 'being_deleted';
|
|
2344
|
-
} | {
|
|
2345
|
-
/** Date and time at which Seam created the error. */
|
|
2346
|
-
created_at: string;
|
|
2347
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2348
|
-
message: string;
|
|
2349
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
2350
2344
|
} | {
|
|
2351
2345
|
created_at: string;
|
|
2352
2346
|
message: string;
|
|
@@ -2369,19 +2363,19 @@ export interface Routes {
|
|
|
2369
2363
|
created_at: string;
|
|
2370
2364
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2371
2365
|
message: string;
|
|
2372
|
-
|
|
2366
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
2373
2367
|
} | {
|
|
2374
2368
|
/** Date and time at which Seam created the error. */
|
|
2375
2369
|
created_at: string;
|
|
2376
2370
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2377
2371
|
message: string;
|
|
2378
|
-
|
|
2372
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
2379
2373
|
} | {
|
|
2380
2374
|
/** Date and time at which Seam created the error. */
|
|
2381
2375
|
created_at: string;
|
|
2382
2376
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2383
2377
|
message: string;
|
|
2384
|
-
|
|
2378
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
2385
2379
|
}>;
|
|
2386
2380
|
full_name?: string | undefined;
|
|
2387
2381
|
/**
|
|
@@ -3474,12 +3468,6 @@ export interface Routes {
|
|
|
3474
3468
|
created_at: string;
|
|
3475
3469
|
message: string;
|
|
3476
3470
|
warning_code: 'being_deleted';
|
|
3477
|
-
} | {
|
|
3478
|
-
/** Date and time at which Seam created the error. */
|
|
3479
|
-
created_at: string;
|
|
3480
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3481
|
-
message: string;
|
|
3482
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3483
3471
|
} | {
|
|
3484
3472
|
created_at: string;
|
|
3485
3473
|
message: string;
|
|
@@ -3502,19 +3490,19 @@ export interface Routes {
|
|
|
3502
3490
|
created_at: string;
|
|
3503
3491
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3504
3492
|
message: string;
|
|
3505
|
-
|
|
3493
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3506
3494
|
} | {
|
|
3507
3495
|
/** Date and time at which Seam created the error. */
|
|
3508
3496
|
created_at: string;
|
|
3509
3497
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3510
3498
|
message: string;
|
|
3511
|
-
|
|
3499
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3512
3500
|
} | {
|
|
3513
3501
|
/** Date and time at which Seam created the error. */
|
|
3514
3502
|
created_at: string;
|
|
3515
3503
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3516
3504
|
message: string;
|
|
3517
|
-
|
|
3505
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3518
3506
|
}>;
|
|
3519
3507
|
full_name?: string | undefined;
|
|
3520
3508
|
/**
|
|
@@ -3571,12 +3559,6 @@ export interface Routes {
|
|
|
3571
3559
|
created_at: string;
|
|
3572
3560
|
message: string;
|
|
3573
3561
|
warning_code: 'being_deleted';
|
|
3574
|
-
} | {
|
|
3575
|
-
/** Date and time at which Seam created the error. */
|
|
3576
|
-
created_at: string;
|
|
3577
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3578
|
-
message: string;
|
|
3579
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3580
3562
|
} | {
|
|
3581
3563
|
created_at: string;
|
|
3582
3564
|
message: string;
|
|
@@ -3599,19 +3581,19 @@ export interface Routes {
|
|
|
3599
3581
|
created_at: string;
|
|
3600
3582
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3601
3583
|
message: string;
|
|
3602
|
-
|
|
3584
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3603
3585
|
} | {
|
|
3604
3586
|
/** Date and time at which Seam created the error. */
|
|
3605
3587
|
created_at: string;
|
|
3606
3588
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3607
3589
|
message: string;
|
|
3608
|
-
|
|
3590
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3609
3591
|
} | {
|
|
3610
3592
|
/** Date and time at which Seam created the error. */
|
|
3611
3593
|
created_at: string;
|
|
3612
3594
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3613
3595
|
message: string;
|
|
3614
|
-
|
|
3596
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3615
3597
|
}>;
|
|
3616
3598
|
full_name?: string | undefined;
|
|
3617
3599
|
/**
|
|
@@ -3662,12 +3644,6 @@ export interface Routes {
|
|
|
3662
3644
|
created_at: string;
|
|
3663
3645
|
message: string;
|
|
3664
3646
|
warning_code: 'being_deleted';
|
|
3665
|
-
} | {
|
|
3666
|
-
/** Date and time at which Seam created the error. */
|
|
3667
|
-
created_at: string;
|
|
3668
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3669
|
-
message: string;
|
|
3670
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3671
3647
|
} | {
|
|
3672
3648
|
created_at: string;
|
|
3673
3649
|
message: string;
|
|
@@ -3690,19 +3666,19 @@ export interface Routes {
|
|
|
3690
3666
|
created_at: string;
|
|
3691
3667
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3692
3668
|
message: string;
|
|
3693
|
-
|
|
3669
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3694
3670
|
} | {
|
|
3695
3671
|
/** Date and time at which Seam created the error. */
|
|
3696
3672
|
created_at: string;
|
|
3697
3673
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3698
3674
|
message: string;
|
|
3699
|
-
|
|
3675
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3700
3676
|
} | {
|
|
3701
3677
|
/** Date and time at which Seam created the error. */
|
|
3702
3678
|
created_at: string;
|
|
3703
3679
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3704
3680
|
message: string;
|
|
3705
|
-
|
|
3681
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3706
3682
|
}>;
|
|
3707
3683
|
full_name?: string | undefined;
|
|
3708
3684
|
/**
|
|
@@ -3818,12 +3794,6 @@ export interface Routes {
|
|
|
3818
3794
|
created_at: string;
|
|
3819
3795
|
message: string;
|
|
3820
3796
|
warning_code: 'being_deleted';
|
|
3821
|
-
} | {
|
|
3822
|
-
/** Date and time at which Seam created the error. */
|
|
3823
|
-
created_at: string;
|
|
3824
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3825
|
-
message: string;
|
|
3826
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3827
3797
|
} | {
|
|
3828
3798
|
created_at: string;
|
|
3829
3799
|
message: string;
|
|
@@ -3846,19 +3816,19 @@ export interface Routes {
|
|
|
3846
3816
|
created_at: string;
|
|
3847
3817
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3848
3818
|
message: string;
|
|
3849
|
-
|
|
3819
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3850
3820
|
} | {
|
|
3851
3821
|
/** Date and time at which Seam created the error. */
|
|
3852
3822
|
created_at: string;
|
|
3853
3823
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3854
3824
|
message: string;
|
|
3855
|
-
|
|
3825
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3856
3826
|
} | {
|
|
3857
3827
|
/** Date and time at which Seam created the error. */
|
|
3858
3828
|
created_at: string;
|
|
3859
3829
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3860
3830
|
message: string;
|
|
3861
|
-
|
|
3831
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3862
3832
|
}>;
|
|
3863
3833
|
full_name?: string | undefined;
|
|
3864
3834
|
/**
|
|
@@ -3908,12 +3878,6 @@ export interface Routes {
|
|
|
3908
3878
|
created_at: string;
|
|
3909
3879
|
message: string;
|
|
3910
3880
|
warning_code: 'being_deleted';
|
|
3911
|
-
} | {
|
|
3912
|
-
/** Date and time at which Seam created the error. */
|
|
3913
|
-
created_at: string;
|
|
3914
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3915
|
-
message: string;
|
|
3916
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3917
3881
|
} | {
|
|
3918
3882
|
created_at: string;
|
|
3919
3883
|
message: string;
|
|
@@ -3936,19 +3900,19 @@ export interface Routes {
|
|
|
3936
3900
|
created_at: string;
|
|
3937
3901
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3938
3902
|
message: string;
|
|
3939
|
-
|
|
3903
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3940
3904
|
} | {
|
|
3941
3905
|
/** Date and time at which Seam created the error. */
|
|
3942
3906
|
created_at: string;
|
|
3943
3907
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3944
3908
|
message: string;
|
|
3945
|
-
|
|
3909
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3946
3910
|
} | {
|
|
3947
3911
|
/** Date and time at which Seam created the error. */
|
|
3948
3912
|
created_at: string;
|
|
3949
3913
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3950
3914
|
message: string;
|
|
3951
|
-
|
|
3915
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3952
3916
|
}>;
|
|
3953
3917
|
full_name?: string | undefined;
|
|
3954
3918
|
/**
|
|
@@ -5429,6 +5393,18 @@ export interface Routes {
|
|
|
5429
5393
|
lock_id: number;
|
|
5430
5394
|
lock_alias: string;
|
|
5431
5395
|
feature_value: string;
|
|
5396
|
+
features: {
|
|
5397
|
+
passcode: boolean;
|
|
5398
|
+
passcode_management: boolean;
|
|
5399
|
+
unlock_via_gateway: boolean;
|
|
5400
|
+
lock_command: boolean;
|
|
5401
|
+
incomplete_keyboard_passcode: boolean;
|
|
5402
|
+
};
|
|
5403
|
+
has_gateway?: boolean | undefined;
|
|
5404
|
+
wireless_keypads?: Array<{
|
|
5405
|
+
wireless_keypad_id: number;
|
|
5406
|
+
wireless_keypad_name: string;
|
|
5407
|
+
}> | undefined;
|
|
5432
5408
|
} | undefined;
|
|
5433
5409
|
seam_bridge_metadata?: {
|
|
5434
5410
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -5873,6 +5849,18 @@ export interface Routes {
|
|
|
5873
5849
|
lock_id: number;
|
|
5874
5850
|
lock_alias: string;
|
|
5875
5851
|
feature_value: string;
|
|
5852
|
+
features: {
|
|
5853
|
+
passcode: boolean;
|
|
5854
|
+
passcode_management: boolean;
|
|
5855
|
+
unlock_via_gateway: boolean;
|
|
5856
|
+
lock_command: boolean;
|
|
5857
|
+
incomplete_keyboard_passcode: boolean;
|
|
5858
|
+
};
|
|
5859
|
+
has_gateway?: boolean | undefined;
|
|
5860
|
+
wireless_keypads?: Array<{
|
|
5861
|
+
wireless_keypad_id: number;
|
|
5862
|
+
wireless_keypad_name: string;
|
|
5863
|
+
}> | undefined;
|
|
5876
5864
|
} | undefined;
|
|
5877
5865
|
seam_bridge_metadata?: {
|
|
5878
5866
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -6697,6 +6685,18 @@ export interface Routes {
|
|
|
6697
6685
|
lock_id: number;
|
|
6698
6686
|
lock_alias: string;
|
|
6699
6687
|
feature_value: string;
|
|
6688
|
+
features: {
|
|
6689
|
+
passcode: boolean;
|
|
6690
|
+
passcode_management: boolean;
|
|
6691
|
+
unlock_via_gateway: boolean;
|
|
6692
|
+
lock_command: boolean;
|
|
6693
|
+
incomplete_keyboard_passcode: boolean;
|
|
6694
|
+
};
|
|
6695
|
+
has_gateway?: boolean | undefined;
|
|
6696
|
+
wireless_keypads?: Array<{
|
|
6697
|
+
wireless_keypad_id: number;
|
|
6698
|
+
wireless_keypad_name: string;
|
|
6699
|
+
}> | undefined;
|
|
6700
6700
|
} | undefined;
|
|
6701
6701
|
seam_bridge_metadata?: {
|
|
6702
6702
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -7116,6 +7116,18 @@ export interface Routes {
|
|
|
7116
7116
|
lock_id: number;
|
|
7117
7117
|
lock_alias: string;
|
|
7118
7118
|
feature_value: string;
|
|
7119
|
+
features: {
|
|
7120
|
+
passcode: boolean;
|
|
7121
|
+
passcode_management: boolean;
|
|
7122
|
+
unlock_via_gateway: boolean;
|
|
7123
|
+
lock_command: boolean;
|
|
7124
|
+
incomplete_keyboard_passcode: boolean;
|
|
7125
|
+
};
|
|
7126
|
+
has_gateway?: boolean | undefined;
|
|
7127
|
+
wireless_keypads?: Array<{
|
|
7128
|
+
wireless_keypad_id: number;
|
|
7129
|
+
wireless_keypad_name: string;
|
|
7130
|
+
}> | undefined;
|
|
7119
7131
|
} | undefined;
|
|
7120
7132
|
seam_bridge_metadata?: {
|
|
7121
7133
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -7560,6 +7572,18 @@ export interface Routes {
|
|
|
7560
7572
|
lock_id: number;
|
|
7561
7573
|
lock_alias: string;
|
|
7562
7574
|
feature_value: string;
|
|
7575
|
+
features: {
|
|
7576
|
+
passcode: boolean;
|
|
7577
|
+
passcode_management: boolean;
|
|
7578
|
+
unlock_via_gateway: boolean;
|
|
7579
|
+
lock_command: boolean;
|
|
7580
|
+
incomplete_keyboard_passcode: boolean;
|
|
7581
|
+
};
|
|
7582
|
+
has_gateway?: boolean | undefined;
|
|
7583
|
+
wireless_keypads?: Array<{
|
|
7584
|
+
wireless_keypad_id: number;
|
|
7585
|
+
wireless_keypad_name: string;
|
|
7586
|
+
}> | undefined;
|
|
7563
7587
|
} | undefined;
|
|
7564
7588
|
seam_bridge_metadata?: {
|
|
7565
7589
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -7979,6 +8003,18 @@ export interface Routes {
|
|
|
7979
8003
|
lock_id: number;
|
|
7980
8004
|
lock_alias: string;
|
|
7981
8005
|
feature_value: string;
|
|
8006
|
+
features: {
|
|
8007
|
+
passcode: boolean;
|
|
8008
|
+
passcode_management: boolean;
|
|
8009
|
+
unlock_via_gateway: boolean;
|
|
8010
|
+
lock_command: boolean;
|
|
8011
|
+
incomplete_keyboard_passcode: boolean;
|
|
8012
|
+
};
|
|
8013
|
+
has_gateway?: boolean | undefined;
|
|
8014
|
+
wireless_keypads?: Array<{
|
|
8015
|
+
wireless_keypad_id: number;
|
|
8016
|
+
wireless_keypad_name: string;
|
|
8017
|
+
}> | undefined;
|
|
7982
8018
|
} | undefined;
|
|
7983
8019
|
seam_bridge_metadata?: {
|
|
7984
8020
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -9253,6 +9289,18 @@ export interface Routes {
|
|
|
9253
9289
|
lock_id: number;
|
|
9254
9290
|
lock_alias: string;
|
|
9255
9291
|
feature_value: string;
|
|
9292
|
+
features: {
|
|
9293
|
+
passcode: boolean;
|
|
9294
|
+
passcode_management: boolean;
|
|
9295
|
+
unlock_via_gateway: boolean;
|
|
9296
|
+
lock_command: boolean;
|
|
9297
|
+
incomplete_keyboard_passcode: boolean;
|
|
9298
|
+
};
|
|
9299
|
+
has_gateway?: boolean | undefined;
|
|
9300
|
+
wireless_keypads?: Array<{
|
|
9301
|
+
wireless_keypad_id: number;
|
|
9302
|
+
wireless_keypad_name: string;
|
|
9303
|
+
}> | undefined;
|
|
9256
9304
|
} | undefined;
|
|
9257
9305
|
seam_bridge_metadata?: {
|
|
9258
9306
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -9672,6 +9720,18 @@ export interface Routes {
|
|
|
9672
9720
|
lock_id: number;
|
|
9673
9721
|
lock_alias: string;
|
|
9674
9722
|
feature_value: string;
|
|
9723
|
+
features: {
|
|
9724
|
+
passcode: boolean;
|
|
9725
|
+
passcode_management: boolean;
|
|
9726
|
+
unlock_via_gateway: boolean;
|
|
9727
|
+
lock_command: boolean;
|
|
9728
|
+
incomplete_keyboard_passcode: boolean;
|
|
9729
|
+
};
|
|
9730
|
+
has_gateway?: boolean | undefined;
|
|
9731
|
+
wireless_keypads?: Array<{
|
|
9732
|
+
wireless_keypad_id: number;
|
|
9733
|
+
wireless_keypad_name: string;
|
|
9734
|
+
}> | undefined;
|
|
9675
9735
|
} | undefined;
|
|
9676
9736
|
seam_bridge_metadata?: {
|
|
9677
9737
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -12389,6 +12449,18 @@ export interface Routes {
|
|
|
12389
12449
|
lock_id: number;
|
|
12390
12450
|
lock_alias: string;
|
|
12391
12451
|
feature_value: string;
|
|
12452
|
+
features: {
|
|
12453
|
+
passcode: boolean;
|
|
12454
|
+
passcode_management: boolean;
|
|
12455
|
+
unlock_via_gateway: boolean;
|
|
12456
|
+
lock_command: boolean;
|
|
12457
|
+
incomplete_keyboard_passcode: boolean;
|
|
12458
|
+
};
|
|
12459
|
+
has_gateway?: boolean | undefined;
|
|
12460
|
+
wireless_keypads?: Array<{
|
|
12461
|
+
wireless_keypad_id: number;
|
|
12462
|
+
wireless_keypad_name: string;
|
|
12463
|
+
}> | undefined;
|
|
12392
12464
|
} | undefined;
|
|
12393
12465
|
seam_bridge_metadata?: {
|
|
12394
12466
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -13635,6 +13707,18 @@ export interface Routes {
|
|
|
13635
13707
|
lock_id: number;
|
|
13636
13708
|
lock_alias: string;
|
|
13637
13709
|
feature_value: string;
|
|
13710
|
+
features: {
|
|
13711
|
+
passcode: boolean;
|
|
13712
|
+
passcode_management: boolean;
|
|
13713
|
+
unlock_via_gateway: boolean;
|
|
13714
|
+
lock_command: boolean;
|
|
13715
|
+
incomplete_keyboard_passcode: boolean;
|
|
13716
|
+
};
|
|
13717
|
+
has_gateway?: boolean | undefined;
|
|
13718
|
+
wireless_keypads?: Array<{
|
|
13719
|
+
wireless_keypad_id: number;
|
|
13720
|
+
wireless_keypad_name: string;
|
|
13721
|
+
}> | undefined;
|
|
13638
13722
|
} | undefined;
|
|
13639
13723
|
seam_bridge_metadata?: {
|
|
13640
13724
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -15210,6 +15294,18 @@ export interface Routes {
|
|
|
15210
15294
|
lock_id: number;
|
|
15211
15295
|
lock_alias: string;
|
|
15212
15296
|
feature_value: string;
|
|
15297
|
+
features: {
|
|
15298
|
+
passcode: boolean;
|
|
15299
|
+
passcode_management: boolean;
|
|
15300
|
+
unlock_via_gateway: boolean;
|
|
15301
|
+
lock_command: boolean;
|
|
15302
|
+
incomplete_keyboard_passcode: boolean;
|
|
15303
|
+
};
|
|
15304
|
+
has_gateway?: boolean | undefined;
|
|
15305
|
+
wireless_keypads?: Array<{
|
|
15306
|
+
wireless_keypad_id: number;
|
|
15307
|
+
wireless_keypad_name: string;
|
|
15308
|
+
}> | undefined;
|
|
15213
15309
|
} | undefined;
|
|
15214
15310
|
seam_bridge_metadata?: {
|
|
15215
15311
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -15631,6 +15727,18 @@ export interface Routes {
|
|
|
15631
15727
|
lock_id: number;
|
|
15632
15728
|
lock_alias: string;
|
|
15633
15729
|
feature_value: string;
|
|
15730
|
+
features: {
|
|
15731
|
+
passcode: boolean;
|
|
15732
|
+
passcode_management: boolean;
|
|
15733
|
+
unlock_via_gateway: boolean;
|
|
15734
|
+
lock_command: boolean;
|
|
15735
|
+
incomplete_keyboard_passcode: boolean;
|
|
15736
|
+
};
|
|
15737
|
+
has_gateway?: boolean | undefined;
|
|
15738
|
+
wireless_keypads?: Array<{
|
|
15739
|
+
wireless_keypad_id: number;
|
|
15740
|
+
wireless_keypad_name: string;
|
|
15741
|
+
}> | undefined;
|
|
15634
15742
|
} | undefined;
|
|
15635
15743
|
seam_bridge_metadata?: {
|
|
15636
15744
|
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
@@ -15977,12 +16085,6 @@ export interface Routes {
|
|
|
15977
16085
|
created_at: string;
|
|
15978
16086
|
message: string;
|
|
15979
16087
|
warning_code: 'being_deleted';
|
|
15980
|
-
} | {
|
|
15981
|
-
/** Date and time at which Seam created the error. */
|
|
15982
|
-
created_at: string;
|
|
15983
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
15984
|
-
message: string;
|
|
15985
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
15986
16088
|
} | {
|
|
15987
16089
|
created_at: string;
|
|
15988
16090
|
message: string;
|
|
@@ -16005,19 +16107,19 @@ export interface Routes {
|
|
|
16005
16107
|
created_at: string;
|
|
16006
16108
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16007
16109
|
message: string;
|
|
16008
|
-
|
|
16110
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
16009
16111
|
} | {
|
|
16010
16112
|
/** Date and time at which Seam created the error. */
|
|
16011
16113
|
created_at: string;
|
|
16012
16114
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16013
16115
|
message: string;
|
|
16014
|
-
|
|
16116
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
16015
16117
|
} | {
|
|
16016
16118
|
/** Date and time at which Seam created the error. */
|
|
16017
16119
|
created_at: string;
|
|
16018
16120
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16019
16121
|
message: string;
|
|
16020
|
-
|
|
16122
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
16021
16123
|
}>;
|
|
16022
16124
|
full_name?: string | undefined;
|
|
16023
16125
|
/**
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error
|
|
|
43
43
|
|
|
44
44
|
const acs_users_failed_to_create_on_acs_system = common_acs_user_error
|
|
45
45
|
.extend({
|
|
46
|
-
|
|
46
|
+
error_code: z.literal('failed_to_create_on_acs_system'),
|
|
47
47
|
})
|
|
48
48
|
.describe(
|
|
49
49
|
`Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -51,7 +51,7 @@ const acs_users_failed_to_create_on_acs_system = common_acs_user_error
|
|
|
51
51
|
|
|
52
52
|
const acs_users_failed_to_update_on_acs_system = common_acs_user_error
|
|
53
53
|
.extend({
|
|
54
|
-
|
|
54
|
+
error_code: z.literal('failed_to_update_on_acs_system'),
|
|
55
55
|
})
|
|
56
56
|
.describe(
|
|
57
57
|
`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -59,7 +59,7 @@ const acs_users_failed_to_update_on_acs_system = common_acs_user_error
|
|
|
59
59
|
|
|
60
60
|
const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
|
|
61
61
|
.extend({
|
|
62
|
-
|
|
62
|
+
error_code: z.literal('failed_to_delete_on_acs_system'),
|
|
63
63
|
})
|
|
64
64
|
.describe(
|
|
65
65
|
`Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -121,11 +121,7 @@ export const acs_users_warning_map = z.object({
|
|
|
121
121
|
})
|
|
122
122
|
|
|
123
123
|
export const acs_users_warnings = z
|
|
124
|
-
.union([
|
|
125
|
-
acs_users_being_deleted,
|
|
126
|
-
acs_users_failed_to_update_on_acs_system,
|
|
127
|
-
acs_users_salto_ks_user_not_subscribed,
|
|
128
|
-
])
|
|
124
|
+
.union([acs_users_being_deleted, acs_users_salto_ks_user_not_subscribed])
|
|
129
125
|
.describe('Warning associated with the `acs_user`.')
|
|
130
126
|
|
|
131
127
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>
|
|
@@ -152,6 +152,22 @@ export const device_metadata = z
|
|
|
152
152
|
lock_id: z.number(),
|
|
153
153
|
lock_alias: z.string(),
|
|
154
154
|
feature_value: z.string(),
|
|
155
|
+
features: z.object({
|
|
156
|
+
passcode: z.boolean(),
|
|
157
|
+
passcode_management: z.boolean(),
|
|
158
|
+
unlock_via_gateway: z.boolean(),
|
|
159
|
+
lock_command: z.boolean(),
|
|
160
|
+
incomplete_keyboard_passcode: z.boolean(),
|
|
161
|
+
}),
|
|
162
|
+
has_gateway: z.boolean().optional(),
|
|
163
|
+
wireless_keypads: z
|
|
164
|
+
.array(
|
|
165
|
+
z.object({
|
|
166
|
+
wireless_keypad_id: z.number(),
|
|
167
|
+
wireless_keypad_name: z.string(),
|
|
168
|
+
}),
|
|
169
|
+
)
|
|
170
|
+
.optional(),
|
|
155
171
|
}),
|
|
156
172
|
|
|
157
173
|
seam_bridge_metadata: z.object({
|