@seamapi/types 1.254.0 → 1.256.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.
Files changed (26) hide show
  1. package/dist/connect.cjs +273 -63
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1314 -0
  4. package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
  5. package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  7. package/lib/seam/connect/models/acs/metadata/salto.d.ts +23 -2
  8. package/lib/seam/connect/models/acs/metadata/salto.js +8 -1
  9. package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
  11. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  12. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
  14. package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
  15. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
  16. package/lib/seam/connect/openapi.d.ts +114 -0
  17. package/lib/seam/connect/openapi.js +177 -0
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +1086 -27
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
  22. package/src/lib/seam/connect/models/acs/metadata/salto.ts +10 -3
  23. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  24. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
  25. package/src/lib/seam/connect/openapi.ts +179 -0
  26. package/src/lib/seam/connect/route-types.ts +1195 -13
@@ -112,6 +112,38 @@ export interface Routes {
112
112
  message: string
113
113
  }
114
114
  }
115
+ | {
116
+ /** The ID of the action attempt. */
117
+ action_attempt_id: string
118
+ status: 'pending'
119
+ result: null
120
+ error: null
121
+ action_type: 'ENCODE_CARD'
122
+ }
123
+ | {
124
+ /** The ID of the action attempt. */
125
+ action_attempt_id: string
126
+ status: 'success'
127
+ error: null
128
+ action_type: 'ENCODE_CARD'
129
+ result: {
130
+ /** Matching acs_credential currently encoded on this card. */
131
+ acs_credential_id: string | null
132
+ /** A number or sting that physically identifies this card. */
133
+ card_number: string | null
134
+ }
135
+ }
136
+ | {
137
+ /** The ID of the action attempt. */
138
+ action_attempt_id: string
139
+ status: 'error'
140
+ result: null
141
+ action_type: 'ENCODE_CARD'
142
+ error: {
143
+ type: string
144
+ message: string
145
+ }
146
+ }
115
147
  | {
116
148
  /** The ID of the action attempt. */
117
149
  action_attempt_id: string
@@ -748,6 +780,38 @@ export interface Routes {
748
780
  message: string
749
781
  }
750
782
  }
783
+ | {
784
+ /** The ID of the action attempt. */
785
+ action_attempt_id: string
786
+ status: 'pending'
787
+ result: null
788
+ error: null
789
+ action_type: 'ENCODE_CARD'
790
+ }
791
+ | {
792
+ /** The ID of the action attempt. */
793
+ action_attempt_id: string
794
+ status: 'success'
795
+ error: null
796
+ action_type: 'ENCODE_CARD'
797
+ result: {
798
+ /** Matching acs_credential currently encoded on this card. */
799
+ acs_credential_id: string | null
800
+ /** A number or sting that physically identifies this card. */
801
+ card_number: string | null
802
+ }
803
+ }
804
+ | {
805
+ /** The ID of the action attempt. */
806
+ action_attempt_id: string
807
+ status: 'error'
808
+ result: null
809
+ action_type: 'ENCODE_CARD'
810
+ error: {
811
+ type: string
812
+ message: string
813
+ }
814
+ }
751
815
  | {
752
816
  /** The ID of the action attempt. */
753
817
  action_attempt_id: string
@@ -1549,6 +1613,38 @@ export interface Routes {
1549
1613
  message: string
1550
1614
  }
1551
1615
  }
1616
+ | {
1617
+ /** The ID of the action attempt. */
1618
+ action_attempt_id: string
1619
+ status: 'pending'
1620
+ result: null
1621
+ error: null
1622
+ action_type: 'ENCODE_CARD'
1623
+ }
1624
+ | {
1625
+ /** The ID of the action attempt. */
1626
+ action_attempt_id: string
1627
+ status: 'success'
1628
+ error: null
1629
+ action_type: 'ENCODE_CARD'
1630
+ result: {
1631
+ /** Matching acs_credential currently encoded on this card. */
1632
+ acs_credential_id: string | null
1633
+ /** A number or sting that physically identifies this card. */
1634
+ card_number: string | null
1635
+ }
1636
+ }
1637
+ | {
1638
+ /** The ID of the action attempt. */
1639
+ action_attempt_id: string
1640
+ status: 'error'
1641
+ result: null
1642
+ action_type: 'ENCODE_CARD'
1643
+ error: {
1644
+ type: string
1645
+ message: string
1646
+ }
1647
+ }
1552
1648
  | {
1553
1649
  /** The ID of the action attempt. */
1554
1650
  action_attempt_id: string
@@ -2172,6 +2268,38 @@ export interface Routes {
2172
2268
  message: string
2173
2269
  }
2174
2270
  }
2271
+ | {
2272
+ /** The ID of the action attempt. */
2273
+ action_attempt_id: string
2274
+ status: 'pending'
2275
+ result: null
2276
+ error: null
2277
+ action_type: 'ENCODE_CARD'
2278
+ }
2279
+ | {
2280
+ /** The ID of the action attempt. */
2281
+ action_attempt_id: string
2282
+ status: 'success'
2283
+ error: null
2284
+ action_type: 'ENCODE_CARD'
2285
+ result: {
2286
+ /** Matching acs_credential currently encoded on this card. */
2287
+ acs_credential_id: string | null
2288
+ /** A number or sting that physically identifies this card. */
2289
+ card_number: string | null
2290
+ }
2291
+ }
2292
+ | {
2293
+ /** The ID of the action attempt. */
2294
+ action_attempt_id: string
2295
+ status: 'error'
2296
+ result: null
2297
+ action_type: 'ENCODE_CARD'
2298
+ error: {
2299
+ type: string
2300
+ message: string
2301
+ }
2302
+ }
2175
2303
  | {
2176
2304
  /** The ID of the action attempt. */
2177
2305
  action_attempt_id: string
@@ -2683,6 +2811,18 @@ export interface Routes {
2683
2811
  | undefined
2684
2812
  }
2685
2813
  | undefined
2814
+ salto_ks_metadata?:
2815
+ | {
2816
+ door_name: string
2817
+ locked_state: string
2818
+ lock_type: string
2819
+ online: boolean
2820
+ battery_level: string
2821
+ left_open_alarm: boolean
2822
+ intrusion_alarm: boolean
2823
+ privacy_mode: boolean
2824
+ }
2825
+ | undefined
2686
2826
  }>
2687
2827
  }
2688
2828
  }
@@ -3277,6 +3417,18 @@ export interface Routes {
3277
3417
  | undefined
3278
3418
  }
3279
3419
  | undefined
3420
+ salto_ks_metadata?:
3421
+ | {
3422
+ door_name: string
3423
+ locked_state: string
3424
+ lock_type: string
3425
+ online: boolean
3426
+ battery_level: string
3427
+ left_open_alarm: boolean
3428
+ intrusion_alarm: boolean
3429
+ privacy_mode: boolean
3430
+ }
3431
+ | undefined
3280
3432
  }>
3281
3433
  }
3282
3434
  }
@@ -3537,9 +3689,523 @@ export interface Routes {
3537
3689
  card_id?: string | undefined
3538
3690
  credential_id?: string | undefined
3539
3691
  }
3540
- | undefined
3541
- is_managed: true
3542
- }
3692
+ | undefined
3693
+ is_managed: true
3694
+ }
3695
+ }
3696
+ }
3697
+ '/acs/encoders/encode_card': {
3698
+ route: '/acs/encoders/encode_card'
3699
+ method: 'POST'
3700
+ queryParams: {}
3701
+ jsonBody: {}
3702
+ commonParams:
3703
+ | {
3704
+ acs_system_id: string
3705
+ device_name: string
3706
+ }
3707
+ | {
3708
+ device_id: string
3709
+ }
3710
+ formData: {}
3711
+ jsonResponse: {
3712
+ action_attempt:
3713
+ | {
3714
+ /** The ID of the action attempt. */
3715
+ action_attempt_id: string
3716
+ status: 'pending'
3717
+ result: null
3718
+ error: null
3719
+ action_type: 'LOCK_DOOR'
3720
+ }
3721
+ | {
3722
+ /** The ID of the action attempt. */
3723
+ action_attempt_id: string
3724
+ status: 'success'
3725
+ error: null
3726
+ action_type: 'LOCK_DOOR'
3727
+ result: {}
3728
+ }
3729
+ | {
3730
+ /** The ID of the action attempt. */
3731
+ action_attempt_id: string
3732
+ status: 'error'
3733
+ result: null
3734
+ action_type: 'LOCK_DOOR'
3735
+ error: {
3736
+ type: string
3737
+ message: string
3738
+ }
3739
+ }
3740
+ | {
3741
+ /** The ID of the action attempt. */
3742
+ action_attempt_id: string
3743
+ status: 'pending'
3744
+ result: null
3745
+ error: null
3746
+ action_type: 'UNLOCK_DOOR'
3747
+ }
3748
+ | {
3749
+ /** The ID of the action attempt. */
3750
+ action_attempt_id: string
3751
+ status: 'success'
3752
+ error: null
3753
+ action_type: 'UNLOCK_DOOR'
3754
+ result: {}
3755
+ }
3756
+ | {
3757
+ /** The ID of the action attempt. */
3758
+ action_attempt_id: string
3759
+ status: 'error'
3760
+ result: null
3761
+ action_type: 'UNLOCK_DOOR'
3762
+ error: {
3763
+ type: string
3764
+ message: string
3765
+ }
3766
+ }
3767
+ | {
3768
+ /** The ID of the action attempt. */
3769
+ action_attempt_id: string
3770
+ status: 'pending'
3771
+ result: null
3772
+ error: null
3773
+ action_type: 'READ_CARD'
3774
+ }
3775
+ | {
3776
+ /** The ID of the action attempt. */
3777
+ action_attempt_id: string
3778
+ status: 'success'
3779
+ error: null
3780
+ action_type: 'READ_CARD'
3781
+ result: {
3782
+ /** Matching acs_credential currently encoded on this card. */
3783
+ acs_credential_id: string | null
3784
+ /** A number or sting that physically identifies this card. */
3785
+ card_number: string | null
3786
+ }
3787
+ }
3788
+ | {
3789
+ /** The ID of the action attempt. */
3790
+ action_attempt_id: string
3791
+ status: 'error'
3792
+ result: null
3793
+ action_type: 'READ_CARD'
3794
+ error: {
3795
+ type: string
3796
+ message: string
3797
+ }
3798
+ }
3799
+ | {
3800
+ /** The ID of the action attempt. */
3801
+ action_attempt_id: string
3802
+ status: 'pending'
3803
+ result: null
3804
+ error: null
3805
+ action_type: 'ENCODE_CARD'
3806
+ }
3807
+ | {
3808
+ /** The ID of the action attempt. */
3809
+ action_attempt_id: string
3810
+ status: 'success'
3811
+ error: null
3812
+ action_type: 'ENCODE_CARD'
3813
+ result: {
3814
+ /** Matching acs_credential currently encoded on this card. */
3815
+ acs_credential_id: string | null
3816
+ /** A number or sting that physically identifies this card. */
3817
+ card_number: string | null
3818
+ }
3819
+ }
3820
+ | {
3821
+ /** The ID of the action attempt. */
3822
+ action_attempt_id: string
3823
+ status: 'error'
3824
+ result: null
3825
+ action_type: 'ENCODE_CARD'
3826
+ error: {
3827
+ type: string
3828
+ message: string
3829
+ }
3830
+ }
3831
+ | {
3832
+ /** The ID of the action attempt. */
3833
+ action_attempt_id: string
3834
+ status: 'pending'
3835
+ result: null
3836
+ error: null
3837
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3838
+ }
3839
+ | {
3840
+ /** The ID of the action attempt. */
3841
+ action_attempt_id: string
3842
+ status: 'success'
3843
+ error: null
3844
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3845
+ result: {}
3846
+ }
3847
+ | {
3848
+ /** The ID of the action attempt. */
3849
+ action_attempt_id: string
3850
+ status: 'error'
3851
+ result: null
3852
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3853
+ error: {
3854
+ type: string
3855
+ message: string
3856
+ }
3857
+ }
3858
+ | {
3859
+ /** The ID of the action attempt. */
3860
+ action_attempt_id: string
3861
+ status: 'pending'
3862
+ result: null
3863
+ error: null
3864
+ action_type: 'SET_COOL'
3865
+ }
3866
+ | {
3867
+ /** The ID of the action attempt. */
3868
+ action_attempt_id: string
3869
+ status: 'success'
3870
+ error: null
3871
+ action_type: 'SET_COOL'
3872
+ result: {}
3873
+ }
3874
+ | {
3875
+ /** The ID of the action attempt. */
3876
+ action_attempt_id: string
3877
+ status: 'error'
3878
+ result: null
3879
+ action_type: 'SET_COOL'
3880
+ error: {
3881
+ type: string
3882
+ message: string
3883
+ }
3884
+ }
3885
+ | {
3886
+ /** The ID of the action attempt. */
3887
+ action_attempt_id: string
3888
+ status: 'pending'
3889
+ result: null
3890
+ error: null
3891
+ action_type: 'SET_HEAT'
3892
+ }
3893
+ | {
3894
+ /** The ID of the action attempt. */
3895
+ action_attempt_id: string
3896
+ status: 'success'
3897
+ error: null
3898
+ action_type: 'SET_HEAT'
3899
+ result: {}
3900
+ }
3901
+ | {
3902
+ /** The ID of the action attempt. */
3903
+ action_attempt_id: string
3904
+ status: 'error'
3905
+ result: null
3906
+ action_type: 'SET_HEAT'
3907
+ error: {
3908
+ type: string
3909
+ message: string
3910
+ }
3911
+ }
3912
+ | {
3913
+ /** The ID of the action attempt. */
3914
+ action_attempt_id: string
3915
+ status: 'pending'
3916
+ result: null
3917
+ error: null
3918
+ action_type: 'SET_HEAT_COOL'
3919
+ }
3920
+ | {
3921
+ /** The ID of the action attempt. */
3922
+ action_attempt_id: string
3923
+ status: 'success'
3924
+ error: null
3925
+ action_type: 'SET_HEAT_COOL'
3926
+ result: {}
3927
+ }
3928
+ | {
3929
+ /** The ID of the action attempt. */
3930
+ action_attempt_id: string
3931
+ status: 'error'
3932
+ result: null
3933
+ action_type: 'SET_HEAT_COOL'
3934
+ error: {
3935
+ type: string
3936
+ message: string
3937
+ }
3938
+ }
3939
+ | {
3940
+ /** The ID of the action attempt. */
3941
+ action_attempt_id: string
3942
+ status: 'pending'
3943
+ result: null
3944
+ error: null
3945
+ action_type: 'SET_FAN_MODE'
3946
+ }
3947
+ | {
3948
+ /** The ID of the action attempt. */
3949
+ action_attempt_id: string
3950
+ status: 'success'
3951
+ error: null
3952
+ action_type: 'SET_FAN_MODE'
3953
+ result: {}
3954
+ }
3955
+ | {
3956
+ /** The ID of the action attempt. */
3957
+ action_attempt_id: string
3958
+ status: 'error'
3959
+ result: null
3960
+ action_type: 'SET_FAN_MODE'
3961
+ error: {
3962
+ type: string
3963
+ message: string
3964
+ }
3965
+ }
3966
+ | {
3967
+ /** The ID of the action attempt. */
3968
+ action_attempt_id: string
3969
+ status: 'pending'
3970
+ result: null
3971
+ error: null
3972
+ action_type: 'SET_THERMOSTAT_OFF'
3973
+ }
3974
+ | {
3975
+ /** The ID of the action attempt. */
3976
+ action_attempt_id: string
3977
+ status: 'success'
3978
+ error: null
3979
+ action_type: 'SET_THERMOSTAT_OFF'
3980
+ result: {}
3981
+ }
3982
+ | {
3983
+ /** The ID of the action attempt. */
3984
+ action_attempt_id: string
3985
+ status: 'error'
3986
+ result: null
3987
+ action_type: 'SET_THERMOSTAT_OFF'
3988
+ error: {
3989
+ type: string
3990
+ message: string
3991
+ }
3992
+ }
3993
+ | {
3994
+ /** The ID of the action attempt. */
3995
+ action_attempt_id: string
3996
+ status: 'pending'
3997
+ result: null
3998
+ error: null
3999
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
4000
+ }
4001
+ | {
4002
+ /** The ID of the action attempt. */
4003
+ action_attempt_id: string
4004
+ status: 'success'
4005
+ error: null
4006
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
4007
+ result: {}
4008
+ }
4009
+ | {
4010
+ /** The ID of the action attempt. */
4011
+ action_attempt_id: string
4012
+ status: 'error'
4013
+ result: null
4014
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
4015
+ error: {
4016
+ type: string
4017
+ message: string
4018
+ }
4019
+ }
4020
+ | {
4021
+ /** The ID of the action attempt. */
4022
+ action_attempt_id: string
4023
+ status: 'pending'
4024
+ result: null
4025
+ error: null
4026
+ action_type: 'SYNC_ACCESS_CODES'
4027
+ }
4028
+ | {
4029
+ /** The ID of the action attempt. */
4030
+ action_attempt_id: string
4031
+ status: 'success'
4032
+ error: null
4033
+ action_type: 'SYNC_ACCESS_CODES'
4034
+ result?: any
4035
+ }
4036
+ | {
4037
+ /** The ID of the action attempt. */
4038
+ action_attempt_id: string
4039
+ status: 'error'
4040
+ result: null
4041
+ action_type: 'SYNC_ACCESS_CODES'
4042
+ error: {
4043
+ type: string
4044
+ message: string
4045
+ }
4046
+ }
4047
+ | {
4048
+ /** The ID of the action attempt. */
4049
+ action_attempt_id: string
4050
+ status: 'pending'
4051
+ result: null
4052
+ error: null
4053
+ action_type: 'CREATE_ACCESS_CODE'
4054
+ }
4055
+ | {
4056
+ /** The ID of the action attempt. */
4057
+ action_attempt_id: string
4058
+ status: 'success'
4059
+ error: null
4060
+ action_type: 'CREATE_ACCESS_CODE'
4061
+ result?: any
4062
+ }
4063
+ | {
4064
+ /** The ID of the action attempt. */
4065
+ action_attempt_id: string
4066
+ status: 'error'
4067
+ result: null
4068
+ action_type: 'CREATE_ACCESS_CODE'
4069
+ error: {
4070
+ type: string
4071
+ message: string
4072
+ }
4073
+ }
4074
+ | {
4075
+ /** The ID of the action attempt. */
4076
+ action_attempt_id: string
4077
+ status: 'pending'
4078
+ result: null
4079
+ error: null
4080
+ action_type: 'DELETE_ACCESS_CODE'
4081
+ }
4082
+ | {
4083
+ /** The ID of the action attempt. */
4084
+ action_attempt_id: string
4085
+ status: 'success'
4086
+ error: null
4087
+ action_type: 'DELETE_ACCESS_CODE'
4088
+ result?: any
4089
+ }
4090
+ | {
4091
+ /** The ID of the action attempt. */
4092
+ action_attempt_id: string
4093
+ status: 'error'
4094
+ result: null
4095
+ action_type: 'DELETE_ACCESS_CODE'
4096
+ error: {
4097
+ type: string
4098
+ message: string
4099
+ }
4100
+ }
4101
+ | {
4102
+ /** The ID of the action attempt. */
4103
+ action_attempt_id: string
4104
+ status: 'pending'
4105
+ result: null
4106
+ error: null
4107
+ action_type: 'UPDATE_ACCESS_CODE'
4108
+ }
4109
+ | {
4110
+ /** The ID of the action attempt. */
4111
+ action_attempt_id: string
4112
+ status: 'success'
4113
+ error: null
4114
+ action_type: 'UPDATE_ACCESS_CODE'
4115
+ result?: any
4116
+ }
4117
+ | {
4118
+ /** The ID of the action attempt. */
4119
+ action_attempt_id: string
4120
+ status: 'error'
4121
+ result: null
4122
+ action_type: 'UPDATE_ACCESS_CODE'
4123
+ error: {
4124
+ type: string
4125
+ message: string
4126
+ }
4127
+ }
4128
+ | {
4129
+ /** The ID of the action attempt. */
4130
+ action_attempt_id: string
4131
+ status: 'pending'
4132
+ result: null
4133
+ error: null
4134
+ action_type: 'CREATE_NOISE_THRESHOLD'
4135
+ }
4136
+ | {
4137
+ /** The ID of the action attempt. */
4138
+ action_attempt_id: string
4139
+ status: 'success'
4140
+ error: null
4141
+ action_type: 'CREATE_NOISE_THRESHOLD'
4142
+ result?: any
4143
+ }
4144
+ | {
4145
+ /** The ID of the action attempt. */
4146
+ action_attempt_id: string
4147
+ status: 'error'
4148
+ result: null
4149
+ action_type: 'CREATE_NOISE_THRESHOLD'
4150
+ error: {
4151
+ type: string
4152
+ message: string
4153
+ }
4154
+ }
4155
+ | {
4156
+ /** The ID of the action attempt. */
4157
+ action_attempt_id: string
4158
+ status: 'pending'
4159
+ result: null
4160
+ error: null
4161
+ action_type: 'DELETE_NOISE_THRESHOLD'
4162
+ }
4163
+ | {
4164
+ /** The ID of the action attempt. */
4165
+ action_attempt_id: string
4166
+ status: 'success'
4167
+ error: null
4168
+ action_type: 'DELETE_NOISE_THRESHOLD'
4169
+ result?: any
4170
+ }
4171
+ | {
4172
+ /** The ID of the action attempt. */
4173
+ action_attempt_id: string
4174
+ status: 'error'
4175
+ result: null
4176
+ action_type: 'DELETE_NOISE_THRESHOLD'
4177
+ error: {
4178
+ type: string
4179
+ message: string
4180
+ }
4181
+ }
4182
+ | {
4183
+ /** The ID of the action attempt. */
4184
+ action_attempt_id: string
4185
+ status: 'pending'
4186
+ result: null
4187
+ error: null
4188
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4189
+ }
4190
+ | {
4191
+ /** The ID of the action attempt. */
4192
+ action_attempt_id: string
4193
+ status: 'success'
4194
+ error: null
4195
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4196
+ result?: any
4197
+ }
4198
+ | {
4199
+ /** The ID of the action attempt. */
4200
+ action_attempt_id: string
4201
+ status: 'error'
4202
+ result: null
4203
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4204
+ error: {
4205
+ type: string
4206
+ message: string
4207
+ }
4208
+ }
3543
4209
  }
3544
4210
  }
3545
4211
  '/acs/encoders/read_card': {
@@ -3644,6 +4310,38 @@ export interface Routes {
3644
4310
  message: string
3645
4311
  }
3646
4312
  }
4313
+ | {
4314
+ /** The ID of the action attempt. */
4315
+ action_attempt_id: string
4316
+ status: 'pending'
4317
+ result: null
4318
+ error: null
4319
+ action_type: 'ENCODE_CARD'
4320
+ }
4321
+ | {
4322
+ /** The ID of the action attempt. */
4323
+ action_attempt_id: string
4324
+ status: 'success'
4325
+ error: null
4326
+ action_type: 'ENCODE_CARD'
4327
+ result: {
4328
+ /** Matching acs_credential currently encoded on this card. */
4329
+ acs_credential_id: string | null
4330
+ /** A number or sting that physically identifies this card. */
4331
+ card_number: string | null
4332
+ }
4333
+ }
4334
+ | {
4335
+ /** The ID of the action attempt. */
4336
+ action_attempt_id: string
4337
+ status: 'error'
4338
+ result: null
4339
+ action_type: 'ENCODE_CARD'
4340
+ error: {
4341
+ type: string
4342
+ message: string
4343
+ }
4344
+ }
3647
4345
  | {
3648
4346
  /** The ID of the action attempt. */
3649
4347
  action_attempt_id: string
@@ -4068,6 +4766,18 @@ export interface Routes {
4068
4766
  | undefined
4069
4767
  }
4070
4768
  | undefined
4769
+ salto_ks_metadata?:
4770
+ | {
4771
+ door_name: string
4772
+ locked_state: string
4773
+ lock_type: string
4774
+ online: boolean
4775
+ battery_level: string
4776
+ left_open_alarm: boolean
4777
+ intrusion_alarm: boolean
4778
+ privacy_mode: boolean
4779
+ }
4780
+ | undefined
4071
4781
  }
4072
4782
  }
4073
4783
  }
@@ -4128,6 +4838,18 @@ export interface Routes {
4128
4838
  | undefined
4129
4839
  }
4130
4840
  | undefined
4841
+ salto_ks_metadata?:
4842
+ | {
4843
+ door_name: string
4844
+ locked_state: string
4845
+ lock_type: string
4846
+ online: boolean
4847
+ battery_level: string
4848
+ left_open_alarm: boolean
4849
+ intrusion_alarm: boolean
4850
+ privacy_mode: boolean
4851
+ }
4852
+ | undefined
4131
4853
  }>
4132
4854
  }
4133
4855
  }
@@ -5047,6 +5769,18 @@ export interface Routes {
5047
5769
  | undefined
5048
5770
  }
5049
5771
  | undefined
5772
+ salto_ks_metadata?:
5773
+ | {
5774
+ door_name: string
5775
+ locked_state: string
5776
+ lock_type: string
5777
+ online: boolean
5778
+ battery_level: string
5779
+ left_open_alarm: boolean
5780
+ intrusion_alarm: boolean
5781
+ privacy_mode: boolean
5782
+ }
5783
+ | undefined
5050
5784
  }>
5051
5785
  }
5052
5786
  }
@@ -5468,6 +6202,38 @@ export interface Routes {
5468
6202
  message: string
5469
6203
  }
5470
6204
  }
6205
+ | {
6206
+ /** The ID of the action attempt. */
6207
+ action_attempt_id: string
6208
+ status: 'pending'
6209
+ result: null
6210
+ error: null
6211
+ action_type: 'ENCODE_CARD'
6212
+ }
6213
+ | {
6214
+ /** The ID of the action attempt. */
6215
+ action_attempt_id: string
6216
+ status: 'success'
6217
+ error: null
6218
+ action_type: 'ENCODE_CARD'
6219
+ result: {
6220
+ /** Matching acs_credential currently encoded on this card. */
6221
+ acs_credential_id: string | null
6222
+ /** A number or sting that physically identifies this card. */
6223
+ card_number: string | null
6224
+ }
6225
+ }
6226
+ | {
6227
+ /** The ID of the action attempt. */
6228
+ action_attempt_id: string
6229
+ status: 'error'
6230
+ result: null
6231
+ action_type: 'ENCODE_CARD'
6232
+ error: {
6233
+ type: string
6234
+ message: string
6235
+ }
6236
+ }
5471
6237
  | {
5472
6238
  /** The ID of the action attempt. */
5473
6239
  action_attempt_id: string
@@ -5945,6 +6711,38 @@ export interface Routes {
5945
6711
  message: string
5946
6712
  }
5947
6713
  }
6714
+ | {
6715
+ /** The ID of the action attempt. */
6716
+ action_attempt_id: string
6717
+ status: 'pending'
6718
+ result: null
6719
+ error: null
6720
+ action_type: 'ENCODE_CARD'
6721
+ }
6722
+ | {
6723
+ /** The ID of the action attempt. */
6724
+ action_attempt_id: string
6725
+ status: 'success'
6726
+ error: null
6727
+ action_type: 'ENCODE_CARD'
6728
+ result: {
6729
+ /** Matching acs_credential currently encoded on this card. */
6730
+ acs_credential_id: string | null
6731
+ /** A number or sting that physically identifies this card. */
6732
+ card_number: string | null
6733
+ }
6734
+ }
6735
+ | {
6736
+ /** The ID of the action attempt. */
6737
+ action_attempt_id: string
6738
+ status: 'error'
6739
+ result: null
6740
+ action_type: 'ENCODE_CARD'
6741
+ error: {
6742
+ type: string
6743
+ message: string
6744
+ }
6745
+ }
5948
6746
  | {
5949
6747
  /** The ID of the action attempt. */
5950
6748
  action_attempt_id: string
@@ -11755,6 +12553,38 @@ export interface Routes {
11755
12553
  message: string
11756
12554
  }
11757
12555
  }
12556
+ | {
12557
+ /** The ID of the action attempt. */
12558
+ action_attempt_id: string
12559
+ status: 'pending'
12560
+ result: null
12561
+ error: null
12562
+ action_type: 'ENCODE_CARD'
12563
+ }
12564
+ | {
12565
+ /** The ID of the action attempt. */
12566
+ action_attempt_id: string
12567
+ status: 'success'
12568
+ error: null
12569
+ action_type: 'ENCODE_CARD'
12570
+ result: {
12571
+ /** Matching acs_credential currently encoded on this card. */
12572
+ acs_credential_id: string | null
12573
+ /** A number or sting that physically identifies this card. */
12574
+ card_number: string | null
12575
+ }
12576
+ }
12577
+ | {
12578
+ /** The ID of the action attempt. */
12579
+ action_attempt_id: string
12580
+ status: 'error'
12581
+ result: null
12582
+ action_type: 'ENCODE_CARD'
12583
+ error: {
12584
+ type: string
12585
+ message: string
12586
+ }
12587
+ }
11758
12588
  | {
11759
12589
  /** The ID of the action attempt. */
11760
12590
  action_attempt_id: string
@@ -12233,6 +13063,38 @@ export interface Routes {
12233
13063
  message: string
12234
13064
  }
12235
13065
  }
13066
+ | {
13067
+ /** The ID of the action attempt. */
13068
+ action_attempt_id: string
13069
+ status: 'pending'
13070
+ result: null
13071
+ error: null
13072
+ action_type: 'ENCODE_CARD'
13073
+ }
13074
+ | {
13075
+ /** The ID of the action attempt. */
13076
+ action_attempt_id: string
13077
+ status: 'success'
13078
+ error: null
13079
+ action_type: 'ENCODE_CARD'
13080
+ result: {
13081
+ /** Matching acs_credential currently encoded on this card. */
13082
+ acs_credential_id: string | null
13083
+ /** A number or sting that physically identifies this card. */
13084
+ card_number: string | null
13085
+ }
13086
+ }
13087
+ | {
13088
+ /** The ID of the action attempt. */
13089
+ action_attempt_id: string
13090
+ status: 'error'
13091
+ result: null
13092
+ action_type: 'ENCODE_CARD'
13093
+ error: {
13094
+ type: string
13095
+ message: string
13096
+ }
13097
+ }
12236
13098
  | {
12237
13099
  /** The ID of the action attempt. */
12238
13100
  action_attempt_id: string
@@ -14130,6 +14992,38 @@ export interface Routes {
14130
14992
  message: string
14131
14993
  }
14132
14994
  }
14995
+ | {
14996
+ /** The ID of the action attempt. */
14997
+ action_attempt_id: string
14998
+ status: 'pending'
14999
+ result: null
15000
+ error: null
15001
+ action_type: 'ENCODE_CARD'
15002
+ }
15003
+ | {
15004
+ /** The ID of the action attempt. */
15005
+ action_attempt_id: string
15006
+ status: 'success'
15007
+ error: null
15008
+ action_type: 'ENCODE_CARD'
15009
+ result: {
15010
+ /** Matching acs_credential currently encoded on this card. */
15011
+ acs_credential_id: string | null
15012
+ /** A number or sting that physically identifies this card. */
15013
+ card_number: string | null
15014
+ }
15015
+ }
15016
+ | {
15017
+ /** The ID of the action attempt. */
15018
+ action_attempt_id: string
15019
+ status: 'error'
15020
+ result: null
15021
+ action_type: 'ENCODE_CARD'
15022
+ error: {
15023
+ type: string
15024
+ message: string
15025
+ }
15026
+ }
14133
15027
  | {
14134
15028
  /** The ID of the action attempt. */
14135
15029
  action_attempt_id: string
@@ -14538,14 +15432,41 @@ export interface Routes {
14538
15432
  status: 'pending'
14539
15433
  result: null
14540
15434
  error: null
14541
- action_type: 'LOCK_DOOR'
15435
+ action_type: 'LOCK_DOOR'
15436
+ }
15437
+ | {
15438
+ /** The ID of the action attempt. */
15439
+ action_attempt_id: string
15440
+ status: 'success'
15441
+ error: null
15442
+ action_type: 'LOCK_DOOR'
15443
+ result: {}
15444
+ }
15445
+ | {
15446
+ /** The ID of the action attempt. */
15447
+ action_attempt_id: string
15448
+ status: 'error'
15449
+ result: null
15450
+ action_type: 'LOCK_DOOR'
15451
+ error: {
15452
+ type: string
15453
+ message: string
15454
+ }
15455
+ }
15456
+ | {
15457
+ /** The ID of the action attempt. */
15458
+ action_attempt_id: string
15459
+ status: 'pending'
15460
+ result: null
15461
+ error: null
15462
+ action_type: 'UNLOCK_DOOR'
14542
15463
  }
14543
15464
  | {
14544
15465
  /** The ID of the action attempt. */
14545
15466
  action_attempt_id: string
14546
15467
  status: 'success'
14547
15468
  error: null
14548
- action_type: 'LOCK_DOOR'
15469
+ action_type: 'UNLOCK_DOOR'
14549
15470
  result: {}
14550
15471
  }
14551
15472
  | {
@@ -14553,7 +15474,7 @@ export interface Routes {
14553
15474
  action_attempt_id: string
14554
15475
  status: 'error'
14555
15476
  result: null
14556
- action_type: 'LOCK_DOOR'
15477
+ action_type: 'UNLOCK_DOOR'
14557
15478
  error: {
14558
15479
  type: string
14559
15480
  message: string
@@ -14565,22 +15486,27 @@ export interface Routes {
14565
15486
  status: 'pending'
14566
15487
  result: null
14567
15488
  error: null
14568
- action_type: 'UNLOCK_DOOR'
15489
+ action_type: 'READ_CARD'
14569
15490
  }
14570
15491
  | {
14571
15492
  /** The ID of the action attempt. */
14572
15493
  action_attempt_id: string
14573
15494
  status: 'success'
14574
15495
  error: null
14575
- action_type: 'UNLOCK_DOOR'
14576
- result: {}
15496
+ action_type: 'READ_CARD'
15497
+ result: {
15498
+ /** Matching acs_credential currently encoded on this card. */
15499
+ acs_credential_id: string | null
15500
+ /** A number or sting that physically identifies this card. */
15501
+ card_number: string | null
15502
+ }
14577
15503
  }
14578
15504
  | {
14579
15505
  /** The ID of the action attempt. */
14580
15506
  action_attempt_id: string
14581
15507
  status: 'error'
14582
15508
  result: null
14583
- action_type: 'UNLOCK_DOOR'
15509
+ action_type: 'READ_CARD'
14584
15510
  error: {
14585
15511
  type: string
14586
15512
  message: string
@@ -14592,14 +15518,14 @@ export interface Routes {
14592
15518
  status: 'pending'
14593
15519
  result: null
14594
15520
  error: null
14595
- action_type: 'READ_CARD'
15521
+ action_type: 'ENCODE_CARD'
14596
15522
  }
14597
15523
  | {
14598
15524
  /** The ID of the action attempt. */
14599
15525
  action_attempt_id: string
14600
15526
  status: 'success'
14601
15527
  error: null
14602
- action_type: 'READ_CARD'
15528
+ action_type: 'ENCODE_CARD'
14603
15529
  result: {
14604
15530
  /** Matching acs_credential currently encoded on this card. */
14605
15531
  acs_credential_id: string | null
@@ -14612,7 +15538,7 @@ export interface Routes {
14612
15538
  action_attempt_id: string
14613
15539
  status: 'error'
14614
15540
  result: null
14615
- action_type: 'READ_CARD'
15541
+ action_type: 'ENCODE_CARD'
14616
15542
  error: {
14617
15543
  type: string
14618
15544
  message: string
@@ -15145,6 +16071,38 @@ export interface Routes {
15145
16071
  message: string
15146
16072
  }
15147
16073
  }
16074
+ | {
16075
+ /** The ID of the action attempt. */
16076
+ action_attempt_id: string
16077
+ status: 'pending'
16078
+ result: null
16079
+ error: null
16080
+ action_type: 'ENCODE_CARD'
16081
+ }
16082
+ | {
16083
+ /** The ID of the action attempt. */
16084
+ action_attempt_id: string
16085
+ status: 'success'
16086
+ error: null
16087
+ action_type: 'ENCODE_CARD'
16088
+ result: {
16089
+ /** Matching acs_credential currently encoded on this card. */
16090
+ acs_credential_id: string | null
16091
+ /** A number or sting that physically identifies this card. */
16092
+ card_number: string | null
16093
+ }
16094
+ }
16095
+ | {
16096
+ /** The ID of the action attempt. */
16097
+ action_attempt_id: string
16098
+ status: 'error'
16099
+ result: null
16100
+ action_type: 'ENCODE_CARD'
16101
+ error: {
16102
+ type: string
16103
+ message: string
16104
+ }
16105
+ }
15148
16106
  | {
15149
16107
  /** The ID of the action attempt. */
15150
16108
  action_attempt_id: string
@@ -15829,6 +16787,38 @@ export interface Routes {
15829
16787
  message: string
15830
16788
  }
15831
16789
  }
16790
+ | {
16791
+ /** The ID of the action attempt. */
16792
+ action_attempt_id: string
16793
+ status: 'pending'
16794
+ result: null
16795
+ error: null
16796
+ action_type: 'ENCODE_CARD'
16797
+ }
16798
+ | {
16799
+ /** The ID of the action attempt. */
16800
+ action_attempt_id: string
16801
+ status: 'success'
16802
+ error: null
16803
+ action_type: 'ENCODE_CARD'
16804
+ result: {
16805
+ /** Matching acs_credential currently encoded on this card. */
16806
+ acs_credential_id: string | null
16807
+ /** A number or sting that physically identifies this card. */
16808
+ card_number: string | null
16809
+ }
16810
+ }
16811
+ | {
16812
+ /** The ID of the action attempt. */
16813
+ action_attempt_id: string
16814
+ status: 'error'
16815
+ result: null
16816
+ action_type: 'ENCODE_CARD'
16817
+ error: {
16818
+ type: string
16819
+ message: string
16820
+ }
16821
+ }
15832
16822
  | {
15833
16823
  /** The ID of the action attempt. */
15834
16824
  action_attempt_id: string
@@ -16309,6 +17299,38 @@ export interface Routes {
16309
17299
  message: string
16310
17300
  }
16311
17301
  }
17302
+ | {
17303
+ /** The ID of the action attempt. */
17304
+ action_attempt_id: string
17305
+ status: 'pending'
17306
+ result: null
17307
+ error: null
17308
+ action_type: 'ENCODE_CARD'
17309
+ }
17310
+ | {
17311
+ /** The ID of the action attempt. */
17312
+ action_attempt_id: string
17313
+ status: 'success'
17314
+ error: null
17315
+ action_type: 'ENCODE_CARD'
17316
+ result: {
17317
+ /** Matching acs_credential currently encoded on this card. */
17318
+ acs_credential_id: string | null
17319
+ /** A number or sting that physically identifies this card. */
17320
+ card_number: string | null
17321
+ }
17322
+ }
17323
+ | {
17324
+ /** The ID of the action attempt. */
17325
+ action_attempt_id: string
17326
+ status: 'error'
17327
+ result: null
17328
+ action_type: 'ENCODE_CARD'
17329
+ error: {
17330
+ type: string
17331
+ message: string
17332
+ }
17333
+ }
16312
17334
  | {
16313
17335
  /** The ID of the action attempt. */
16314
17336
  action_attempt_id: string
@@ -17455,6 +18477,38 @@ export interface Routes {
17455
18477
  message: string
17456
18478
  }
17457
18479
  }
18480
+ | {
18481
+ /** The ID of the action attempt. */
18482
+ action_attempt_id: string
18483
+ status: 'pending'
18484
+ result: null
18485
+ error: null
18486
+ action_type: 'ENCODE_CARD'
18487
+ }
18488
+ | {
18489
+ /** The ID of the action attempt. */
18490
+ action_attempt_id: string
18491
+ status: 'success'
18492
+ error: null
18493
+ action_type: 'ENCODE_CARD'
18494
+ result: {
18495
+ /** Matching acs_credential currently encoded on this card. */
18496
+ acs_credential_id: string | null
18497
+ /** A number or sting that physically identifies this card. */
18498
+ card_number: string | null
18499
+ }
18500
+ }
18501
+ | {
18502
+ /** The ID of the action attempt. */
18503
+ action_attempt_id: string
18504
+ status: 'error'
18505
+ result: null
18506
+ action_type: 'ENCODE_CARD'
18507
+ error: {
18508
+ type: string
18509
+ message: string
18510
+ }
18511
+ }
17458
18512
  | {
17459
18513
  /** The ID of the action attempt. */
17460
18514
  action_attempt_id: string
@@ -17937,6 +18991,38 @@ export interface Routes {
17937
18991
  message: string
17938
18992
  }
17939
18993
  }
18994
+ | {
18995
+ /** The ID of the action attempt. */
18996
+ action_attempt_id: string
18997
+ status: 'pending'
18998
+ result: null
18999
+ error: null
19000
+ action_type: 'ENCODE_CARD'
19001
+ }
19002
+ | {
19003
+ /** The ID of the action attempt. */
19004
+ action_attempt_id: string
19005
+ status: 'success'
19006
+ error: null
19007
+ action_type: 'ENCODE_CARD'
19008
+ result: {
19009
+ /** Matching acs_credential currently encoded on this card. */
19010
+ acs_credential_id: string | null
19011
+ /** A number or sting that physically identifies this card. */
19012
+ card_number: string | null
19013
+ }
19014
+ }
19015
+ | {
19016
+ /** The ID of the action attempt. */
19017
+ action_attempt_id: string
19018
+ status: 'error'
19019
+ result: null
19020
+ action_type: 'ENCODE_CARD'
19021
+ error: {
19022
+ type: string
19023
+ message: string
19024
+ }
19025
+ }
17940
19026
  | {
17941
19027
  /** The ID of the action attempt. */
17942
19028
  action_attempt_id: string
@@ -19189,6 +20275,38 @@ export interface Routes {
19189
20275
  message: string
19190
20276
  }
19191
20277
  }
20278
+ | {
20279
+ /** The ID of the action attempt. */
20280
+ action_attempt_id: string
20281
+ status: 'pending'
20282
+ result: null
20283
+ error: null
20284
+ action_type: 'ENCODE_CARD'
20285
+ }
20286
+ | {
20287
+ /** The ID of the action attempt. */
20288
+ action_attempt_id: string
20289
+ status: 'success'
20290
+ error: null
20291
+ action_type: 'ENCODE_CARD'
20292
+ result: {
20293
+ /** Matching acs_credential currently encoded on this card. */
20294
+ acs_credential_id: string | null
20295
+ /** A number or sting that physically identifies this card. */
20296
+ card_number: string | null
20297
+ }
20298
+ }
20299
+ | {
20300
+ /** The ID of the action attempt. */
20301
+ action_attempt_id: string
20302
+ status: 'error'
20303
+ result: null
20304
+ action_type: 'ENCODE_CARD'
20305
+ error: {
20306
+ type: string
20307
+ message: string
20308
+ }
20309
+ }
19192
20310
  | {
19193
20311
  /** The ID of the action attempt. */
19194
20312
  action_attempt_id: string
@@ -19788,6 +20906,38 @@ export interface Routes {
19788
20906
  message: string
19789
20907
  }
19790
20908
  }
20909
+ | {
20910
+ /** The ID of the action attempt. */
20911
+ action_attempt_id: string
20912
+ status: 'pending'
20913
+ result: null
20914
+ error: null
20915
+ action_type: 'ENCODE_CARD'
20916
+ }
20917
+ | {
20918
+ /** The ID of the action attempt. */
20919
+ action_attempt_id: string
20920
+ status: 'success'
20921
+ error: null
20922
+ action_type: 'ENCODE_CARD'
20923
+ result: {
20924
+ /** Matching acs_credential currently encoded on this card. */
20925
+ acs_credential_id: string | null
20926
+ /** A number or sting that physically identifies this card. */
20927
+ card_number: string | null
20928
+ }
20929
+ }
20930
+ | {
20931
+ /** The ID of the action attempt. */
20932
+ action_attempt_id: string
20933
+ status: 'error'
20934
+ result: null
20935
+ action_type: 'ENCODE_CARD'
20936
+ error: {
20937
+ type: string
20938
+ message: string
20939
+ }
20940
+ }
19791
20941
  | {
19792
20942
  /** The ID of the action attempt. */
19793
20943
  action_attempt_id: string
@@ -22120,6 +23270,38 @@ export interface Routes {
22120
23270
  message: string
22121
23271
  }
22122
23272
  }
23273
+ | {
23274
+ /** The ID of the action attempt. */
23275
+ action_attempt_id: string
23276
+ status: 'pending'
23277
+ result: null
23278
+ error: null
23279
+ action_type: 'ENCODE_CARD'
23280
+ }
23281
+ | {
23282
+ /** The ID of the action attempt. */
23283
+ action_attempt_id: string
23284
+ status: 'success'
23285
+ error: null
23286
+ action_type: 'ENCODE_CARD'
23287
+ result: {
23288
+ /** Matching acs_credential currently encoded on this card. */
23289
+ acs_credential_id: string | null
23290
+ /** A number or sting that physically identifies this card. */
23291
+ card_number: string | null
23292
+ }
23293
+ }
23294
+ | {
23295
+ /** The ID of the action attempt. */
23296
+ action_attempt_id: string
23297
+ status: 'error'
23298
+ result: null
23299
+ action_type: 'ENCODE_CARD'
23300
+ error: {
23301
+ type: string
23302
+ message: string
23303
+ }
23304
+ }
22123
23305
  | {
22124
23306
  /** The ID of the action attempt. */
22125
23307
  action_attempt_id: string