@seamapi/types 1.254.0 → 1.255.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.
@@ -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
@@ -3537,9 +3665,523 @@ export interface Routes {
3537
3665
  card_id?: string | undefined
3538
3666
  credential_id?: string | undefined
3539
3667
  }
3540
- | undefined
3541
- is_managed: true
3542
- }
3668
+ | undefined
3669
+ is_managed: true
3670
+ }
3671
+ }
3672
+ }
3673
+ '/acs/encoders/encode_card': {
3674
+ route: '/acs/encoders/encode_card'
3675
+ method: 'POST'
3676
+ queryParams: {}
3677
+ jsonBody: {}
3678
+ commonParams:
3679
+ | {
3680
+ acs_system_id: string
3681
+ device_name: string
3682
+ }
3683
+ | {
3684
+ device_id: string
3685
+ }
3686
+ formData: {}
3687
+ jsonResponse: {
3688
+ action_attempt:
3689
+ | {
3690
+ /** The ID of the action attempt. */
3691
+ action_attempt_id: string
3692
+ status: 'pending'
3693
+ result: null
3694
+ error: null
3695
+ action_type: 'LOCK_DOOR'
3696
+ }
3697
+ | {
3698
+ /** The ID of the action attempt. */
3699
+ action_attempt_id: string
3700
+ status: 'success'
3701
+ error: null
3702
+ action_type: 'LOCK_DOOR'
3703
+ result: {}
3704
+ }
3705
+ | {
3706
+ /** The ID of the action attempt. */
3707
+ action_attempt_id: string
3708
+ status: 'error'
3709
+ result: null
3710
+ action_type: 'LOCK_DOOR'
3711
+ error: {
3712
+ type: string
3713
+ message: string
3714
+ }
3715
+ }
3716
+ | {
3717
+ /** The ID of the action attempt. */
3718
+ action_attempt_id: string
3719
+ status: 'pending'
3720
+ result: null
3721
+ error: null
3722
+ action_type: 'UNLOCK_DOOR'
3723
+ }
3724
+ | {
3725
+ /** The ID of the action attempt. */
3726
+ action_attempt_id: string
3727
+ status: 'success'
3728
+ error: null
3729
+ action_type: 'UNLOCK_DOOR'
3730
+ result: {}
3731
+ }
3732
+ | {
3733
+ /** The ID of the action attempt. */
3734
+ action_attempt_id: string
3735
+ status: 'error'
3736
+ result: null
3737
+ action_type: 'UNLOCK_DOOR'
3738
+ error: {
3739
+ type: string
3740
+ message: string
3741
+ }
3742
+ }
3743
+ | {
3744
+ /** The ID of the action attempt. */
3745
+ action_attempt_id: string
3746
+ status: 'pending'
3747
+ result: null
3748
+ error: null
3749
+ action_type: 'READ_CARD'
3750
+ }
3751
+ | {
3752
+ /** The ID of the action attempt. */
3753
+ action_attempt_id: string
3754
+ status: 'success'
3755
+ error: null
3756
+ action_type: 'READ_CARD'
3757
+ result: {
3758
+ /** Matching acs_credential currently encoded on this card. */
3759
+ acs_credential_id: string | null
3760
+ /** A number or sting that physically identifies this card. */
3761
+ card_number: string | null
3762
+ }
3763
+ }
3764
+ | {
3765
+ /** The ID of the action attempt. */
3766
+ action_attempt_id: string
3767
+ status: 'error'
3768
+ result: null
3769
+ action_type: 'READ_CARD'
3770
+ error: {
3771
+ type: string
3772
+ message: string
3773
+ }
3774
+ }
3775
+ | {
3776
+ /** The ID of the action attempt. */
3777
+ action_attempt_id: string
3778
+ status: 'pending'
3779
+ result: null
3780
+ error: null
3781
+ action_type: 'ENCODE_CARD'
3782
+ }
3783
+ | {
3784
+ /** The ID of the action attempt. */
3785
+ action_attempt_id: string
3786
+ status: 'success'
3787
+ error: null
3788
+ action_type: 'ENCODE_CARD'
3789
+ result: {
3790
+ /** Matching acs_credential currently encoded on this card. */
3791
+ acs_credential_id: string | null
3792
+ /** A number or sting that physically identifies this card. */
3793
+ card_number: string | null
3794
+ }
3795
+ }
3796
+ | {
3797
+ /** The ID of the action attempt. */
3798
+ action_attempt_id: string
3799
+ status: 'error'
3800
+ result: null
3801
+ action_type: 'ENCODE_CARD'
3802
+ error: {
3803
+ type: string
3804
+ message: string
3805
+ }
3806
+ }
3807
+ | {
3808
+ /** The ID of the action attempt. */
3809
+ action_attempt_id: string
3810
+ status: 'pending'
3811
+ result: null
3812
+ error: null
3813
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3814
+ }
3815
+ | {
3816
+ /** The ID of the action attempt. */
3817
+ action_attempt_id: string
3818
+ status: 'success'
3819
+ error: null
3820
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3821
+ result: {}
3822
+ }
3823
+ | {
3824
+ /** The ID of the action attempt. */
3825
+ action_attempt_id: string
3826
+ status: 'error'
3827
+ result: null
3828
+ action_type: 'RESET_SANDBOX_WORKSPACE'
3829
+ error: {
3830
+ type: string
3831
+ message: string
3832
+ }
3833
+ }
3834
+ | {
3835
+ /** The ID of the action attempt. */
3836
+ action_attempt_id: string
3837
+ status: 'pending'
3838
+ result: null
3839
+ error: null
3840
+ action_type: 'SET_COOL'
3841
+ }
3842
+ | {
3843
+ /** The ID of the action attempt. */
3844
+ action_attempt_id: string
3845
+ status: 'success'
3846
+ error: null
3847
+ action_type: 'SET_COOL'
3848
+ result: {}
3849
+ }
3850
+ | {
3851
+ /** The ID of the action attempt. */
3852
+ action_attempt_id: string
3853
+ status: 'error'
3854
+ result: null
3855
+ action_type: 'SET_COOL'
3856
+ error: {
3857
+ type: string
3858
+ message: string
3859
+ }
3860
+ }
3861
+ | {
3862
+ /** The ID of the action attempt. */
3863
+ action_attempt_id: string
3864
+ status: 'pending'
3865
+ result: null
3866
+ error: null
3867
+ action_type: 'SET_HEAT'
3868
+ }
3869
+ | {
3870
+ /** The ID of the action attempt. */
3871
+ action_attempt_id: string
3872
+ status: 'success'
3873
+ error: null
3874
+ action_type: 'SET_HEAT'
3875
+ result: {}
3876
+ }
3877
+ | {
3878
+ /** The ID of the action attempt. */
3879
+ action_attempt_id: string
3880
+ status: 'error'
3881
+ result: null
3882
+ action_type: 'SET_HEAT'
3883
+ error: {
3884
+ type: string
3885
+ message: string
3886
+ }
3887
+ }
3888
+ | {
3889
+ /** The ID of the action attempt. */
3890
+ action_attempt_id: string
3891
+ status: 'pending'
3892
+ result: null
3893
+ error: null
3894
+ action_type: 'SET_HEAT_COOL'
3895
+ }
3896
+ | {
3897
+ /** The ID of the action attempt. */
3898
+ action_attempt_id: string
3899
+ status: 'success'
3900
+ error: null
3901
+ action_type: 'SET_HEAT_COOL'
3902
+ result: {}
3903
+ }
3904
+ | {
3905
+ /** The ID of the action attempt. */
3906
+ action_attempt_id: string
3907
+ status: 'error'
3908
+ result: null
3909
+ action_type: 'SET_HEAT_COOL'
3910
+ error: {
3911
+ type: string
3912
+ message: string
3913
+ }
3914
+ }
3915
+ | {
3916
+ /** The ID of the action attempt. */
3917
+ action_attempt_id: string
3918
+ status: 'pending'
3919
+ result: null
3920
+ error: null
3921
+ action_type: 'SET_FAN_MODE'
3922
+ }
3923
+ | {
3924
+ /** The ID of the action attempt. */
3925
+ action_attempt_id: string
3926
+ status: 'success'
3927
+ error: null
3928
+ action_type: 'SET_FAN_MODE'
3929
+ result: {}
3930
+ }
3931
+ | {
3932
+ /** The ID of the action attempt. */
3933
+ action_attempt_id: string
3934
+ status: 'error'
3935
+ result: null
3936
+ action_type: 'SET_FAN_MODE'
3937
+ error: {
3938
+ type: string
3939
+ message: string
3940
+ }
3941
+ }
3942
+ | {
3943
+ /** The ID of the action attempt. */
3944
+ action_attempt_id: string
3945
+ status: 'pending'
3946
+ result: null
3947
+ error: null
3948
+ action_type: 'SET_THERMOSTAT_OFF'
3949
+ }
3950
+ | {
3951
+ /** The ID of the action attempt. */
3952
+ action_attempt_id: string
3953
+ status: 'success'
3954
+ error: null
3955
+ action_type: 'SET_THERMOSTAT_OFF'
3956
+ result: {}
3957
+ }
3958
+ | {
3959
+ /** The ID of the action attempt. */
3960
+ action_attempt_id: string
3961
+ status: 'error'
3962
+ result: null
3963
+ action_type: 'SET_THERMOSTAT_OFF'
3964
+ error: {
3965
+ type: string
3966
+ message: string
3967
+ }
3968
+ }
3969
+ | {
3970
+ /** The ID of the action attempt. */
3971
+ action_attempt_id: string
3972
+ status: 'pending'
3973
+ result: null
3974
+ error: null
3975
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3976
+ }
3977
+ | {
3978
+ /** The ID of the action attempt. */
3979
+ action_attempt_id: string
3980
+ status: 'success'
3981
+ error: null
3982
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3983
+ result: {}
3984
+ }
3985
+ | {
3986
+ /** The ID of the action attempt. */
3987
+ action_attempt_id: string
3988
+ status: 'error'
3989
+ result: null
3990
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
3991
+ error: {
3992
+ type: string
3993
+ message: string
3994
+ }
3995
+ }
3996
+ | {
3997
+ /** The ID of the action attempt. */
3998
+ action_attempt_id: string
3999
+ status: 'pending'
4000
+ result: null
4001
+ error: null
4002
+ action_type: 'SYNC_ACCESS_CODES'
4003
+ }
4004
+ | {
4005
+ /** The ID of the action attempt. */
4006
+ action_attempt_id: string
4007
+ status: 'success'
4008
+ error: null
4009
+ action_type: 'SYNC_ACCESS_CODES'
4010
+ result?: any
4011
+ }
4012
+ | {
4013
+ /** The ID of the action attempt. */
4014
+ action_attempt_id: string
4015
+ status: 'error'
4016
+ result: null
4017
+ action_type: 'SYNC_ACCESS_CODES'
4018
+ error: {
4019
+ type: string
4020
+ message: string
4021
+ }
4022
+ }
4023
+ | {
4024
+ /** The ID of the action attempt. */
4025
+ action_attempt_id: string
4026
+ status: 'pending'
4027
+ result: null
4028
+ error: null
4029
+ action_type: 'CREATE_ACCESS_CODE'
4030
+ }
4031
+ | {
4032
+ /** The ID of the action attempt. */
4033
+ action_attempt_id: string
4034
+ status: 'success'
4035
+ error: null
4036
+ action_type: 'CREATE_ACCESS_CODE'
4037
+ result?: any
4038
+ }
4039
+ | {
4040
+ /** The ID of the action attempt. */
4041
+ action_attempt_id: string
4042
+ status: 'error'
4043
+ result: null
4044
+ action_type: 'CREATE_ACCESS_CODE'
4045
+ error: {
4046
+ type: string
4047
+ message: string
4048
+ }
4049
+ }
4050
+ | {
4051
+ /** The ID of the action attempt. */
4052
+ action_attempt_id: string
4053
+ status: 'pending'
4054
+ result: null
4055
+ error: null
4056
+ action_type: 'DELETE_ACCESS_CODE'
4057
+ }
4058
+ | {
4059
+ /** The ID of the action attempt. */
4060
+ action_attempt_id: string
4061
+ status: 'success'
4062
+ error: null
4063
+ action_type: 'DELETE_ACCESS_CODE'
4064
+ result?: any
4065
+ }
4066
+ | {
4067
+ /** The ID of the action attempt. */
4068
+ action_attempt_id: string
4069
+ status: 'error'
4070
+ result: null
4071
+ action_type: 'DELETE_ACCESS_CODE'
4072
+ error: {
4073
+ type: string
4074
+ message: string
4075
+ }
4076
+ }
4077
+ | {
4078
+ /** The ID of the action attempt. */
4079
+ action_attempt_id: string
4080
+ status: 'pending'
4081
+ result: null
4082
+ error: null
4083
+ action_type: 'UPDATE_ACCESS_CODE'
4084
+ }
4085
+ | {
4086
+ /** The ID of the action attempt. */
4087
+ action_attempt_id: string
4088
+ status: 'success'
4089
+ error: null
4090
+ action_type: 'UPDATE_ACCESS_CODE'
4091
+ result?: any
4092
+ }
4093
+ | {
4094
+ /** The ID of the action attempt. */
4095
+ action_attempt_id: string
4096
+ status: 'error'
4097
+ result: null
4098
+ action_type: 'UPDATE_ACCESS_CODE'
4099
+ error: {
4100
+ type: string
4101
+ message: string
4102
+ }
4103
+ }
4104
+ | {
4105
+ /** The ID of the action attempt. */
4106
+ action_attempt_id: string
4107
+ status: 'pending'
4108
+ result: null
4109
+ error: null
4110
+ action_type: 'CREATE_NOISE_THRESHOLD'
4111
+ }
4112
+ | {
4113
+ /** The ID of the action attempt. */
4114
+ action_attempt_id: string
4115
+ status: 'success'
4116
+ error: null
4117
+ action_type: 'CREATE_NOISE_THRESHOLD'
4118
+ result?: any
4119
+ }
4120
+ | {
4121
+ /** The ID of the action attempt. */
4122
+ action_attempt_id: string
4123
+ status: 'error'
4124
+ result: null
4125
+ action_type: 'CREATE_NOISE_THRESHOLD'
4126
+ error: {
4127
+ type: string
4128
+ message: string
4129
+ }
4130
+ }
4131
+ | {
4132
+ /** The ID of the action attempt. */
4133
+ action_attempt_id: string
4134
+ status: 'pending'
4135
+ result: null
4136
+ error: null
4137
+ action_type: 'DELETE_NOISE_THRESHOLD'
4138
+ }
4139
+ | {
4140
+ /** The ID of the action attempt. */
4141
+ action_attempt_id: string
4142
+ status: 'success'
4143
+ error: null
4144
+ action_type: 'DELETE_NOISE_THRESHOLD'
4145
+ result?: any
4146
+ }
4147
+ | {
4148
+ /** The ID of the action attempt. */
4149
+ action_attempt_id: string
4150
+ status: 'error'
4151
+ result: null
4152
+ action_type: 'DELETE_NOISE_THRESHOLD'
4153
+ error: {
4154
+ type: string
4155
+ message: string
4156
+ }
4157
+ }
4158
+ | {
4159
+ /** The ID of the action attempt. */
4160
+ action_attempt_id: string
4161
+ status: 'pending'
4162
+ result: null
4163
+ error: null
4164
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4165
+ }
4166
+ | {
4167
+ /** The ID of the action attempt. */
4168
+ action_attempt_id: string
4169
+ status: 'success'
4170
+ error: null
4171
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4172
+ result?: any
4173
+ }
4174
+ | {
4175
+ /** The ID of the action attempt. */
4176
+ action_attempt_id: string
4177
+ status: 'error'
4178
+ result: null
4179
+ action_type: 'UPDATE_NOISE_THRESHOLD'
4180
+ error: {
4181
+ type: string
4182
+ message: string
4183
+ }
4184
+ }
3543
4185
  }
3544
4186
  }
3545
4187
  '/acs/encoders/read_card': {
@@ -3644,6 +4286,38 @@ export interface Routes {
3644
4286
  message: string
3645
4287
  }
3646
4288
  }
4289
+ | {
4290
+ /** The ID of the action attempt. */
4291
+ action_attempt_id: string
4292
+ status: 'pending'
4293
+ result: null
4294
+ error: null
4295
+ action_type: 'ENCODE_CARD'
4296
+ }
4297
+ | {
4298
+ /** The ID of the action attempt. */
4299
+ action_attempt_id: string
4300
+ status: 'success'
4301
+ error: null
4302
+ action_type: 'ENCODE_CARD'
4303
+ result: {
4304
+ /** Matching acs_credential currently encoded on this card. */
4305
+ acs_credential_id: string | null
4306
+ /** A number or sting that physically identifies this card. */
4307
+ card_number: string | null
4308
+ }
4309
+ }
4310
+ | {
4311
+ /** The ID of the action attempt. */
4312
+ action_attempt_id: string
4313
+ status: 'error'
4314
+ result: null
4315
+ action_type: 'ENCODE_CARD'
4316
+ error: {
4317
+ type: string
4318
+ message: string
4319
+ }
4320
+ }
3647
4321
  | {
3648
4322
  /** The ID of the action attempt. */
3649
4323
  action_attempt_id: string
@@ -5468,6 +6142,38 @@ export interface Routes {
5468
6142
  message: string
5469
6143
  }
5470
6144
  }
6145
+ | {
6146
+ /** The ID of the action attempt. */
6147
+ action_attempt_id: string
6148
+ status: 'pending'
6149
+ result: null
6150
+ error: null
6151
+ action_type: 'ENCODE_CARD'
6152
+ }
6153
+ | {
6154
+ /** The ID of the action attempt. */
6155
+ action_attempt_id: string
6156
+ status: 'success'
6157
+ error: null
6158
+ action_type: 'ENCODE_CARD'
6159
+ result: {
6160
+ /** Matching acs_credential currently encoded on this card. */
6161
+ acs_credential_id: string | null
6162
+ /** A number or sting that physically identifies this card. */
6163
+ card_number: string | null
6164
+ }
6165
+ }
6166
+ | {
6167
+ /** The ID of the action attempt. */
6168
+ action_attempt_id: string
6169
+ status: 'error'
6170
+ result: null
6171
+ action_type: 'ENCODE_CARD'
6172
+ error: {
6173
+ type: string
6174
+ message: string
6175
+ }
6176
+ }
5471
6177
  | {
5472
6178
  /** The ID of the action attempt. */
5473
6179
  action_attempt_id: string
@@ -5945,6 +6651,38 @@ export interface Routes {
5945
6651
  message: string
5946
6652
  }
5947
6653
  }
6654
+ | {
6655
+ /** The ID of the action attempt. */
6656
+ action_attempt_id: string
6657
+ status: 'pending'
6658
+ result: null
6659
+ error: null
6660
+ action_type: 'ENCODE_CARD'
6661
+ }
6662
+ | {
6663
+ /** The ID of the action attempt. */
6664
+ action_attempt_id: string
6665
+ status: 'success'
6666
+ error: null
6667
+ action_type: 'ENCODE_CARD'
6668
+ result: {
6669
+ /** Matching acs_credential currently encoded on this card. */
6670
+ acs_credential_id: string | null
6671
+ /** A number or sting that physically identifies this card. */
6672
+ card_number: string | null
6673
+ }
6674
+ }
6675
+ | {
6676
+ /** The ID of the action attempt. */
6677
+ action_attempt_id: string
6678
+ status: 'error'
6679
+ result: null
6680
+ action_type: 'ENCODE_CARD'
6681
+ error: {
6682
+ type: string
6683
+ message: string
6684
+ }
6685
+ }
5948
6686
  | {
5949
6687
  /** The ID of the action attempt. */
5950
6688
  action_attempt_id: string
@@ -11755,6 +12493,38 @@ export interface Routes {
11755
12493
  message: string
11756
12494
  }
11757
12495
  }
12496
+ | {
12497
+ /** The ID of the action attempt. */
12498
+ action_attempt_id: string
12499
+ status: 'pending'
12500
+ result: null
12501
+ error: null
12502
+ action_type: 'ENCODE_CARD'
12503
+ }
12504
+ | {
12505
+ /** The ID of the action attempt. */
12506
+ action_attempt_id: string
12507
+ status: 'success'
12508
+ error: null
12509
+ action_type: 'ENCODE_CARD'
12510
+ result: {
12511
+ /** Matching acs_credential currently encoded on this card. */
12512
+ acs_credential_id: string | null
12513
+ /** A number or sting that physically identifies this card. */
12514
+ card_number: string | null
12515
+ }
12516
+ }
12517
+ | {
12518
+ /** The ID of the action attempt. */
12519
+ action_attempt_id: string
12520
+ status: 'error'
12521
+ result: null
12522
+ action_type: 'ENCODE_CARD'
12523
+ error: {
12524
+ type: string
12525
+ message: string
12526
+ }
12527
+ }
11758
12528
  | {
11759
12529
  /** The ID of the action attempt. */
11760
12530
  action_attempt_id: string
@@ -12233,6 +13003,38 @@ export interface Routes {
12233
13003
  message: string
12234
13004
  }
12235
13005
  }
13006
+ | {
13007
+ /** The ID of the action attempt. */
13008
+ action_attempt_id: string
13009
+ status: 'pending'
13010
+ result: null
13011
+ error: null
13012
+ action_type: 'ENCODE_CARD'
13013
+ }
13014
+ | {
13015
+ /** The ID of the action attempt. */
13016
+ action_attempt_id: string
13017
+ status: 'success'
13018
+ error: null
13019
+ action_type: 'ENCODE_CARD'
13020
+ result: {
13021
+ /** Matching acs_credential currently encoded on this card. */
13022
+ acs_credential_id: string | null
13023
+ /** A number or sting that physically identifies this card. */
13024
+ card_number: string | null
13025
+ }
13026
+ }
13027
+ | {
13028
+ /** The ID of the action attempt. */
13029
+ action_attempt_id: string
13030
+ status: 'error'
13031
+ result: null
13032
+ action_type: 'ENCODE_CARD'
13033
+ error: {
13034
+ type: string
13035
+ message: string
13036
+ }
13037
+ }
12236
13038
  | {
12237
13039
  /** The ID of the action attempt. */
12238
13040
  action_attempt_id: string
@@ -14130,6 +14932,38 @@ export interface Routes {
14130
14932
  message: string
14131
14933
  }
14132
14934
  }
14935
+ | {
14936
+ /** The ID of the action attempt. */
14937
+ action_attempt_id: string
14938
+ status: 'pending'
14939
+ result: null
14940
+ error: null
14941
+ action_type: 'ENCODE_CARD'
14942
+ }
14943
+ | {
14944
+ /** The ID of the action attempt. */
14945
+ action_attempt_id: string
14946
+ status: 'success'
14947
+ error: null
14948
+ action_type: 'ENCODE_CARD'
14949
+ result: {
14950
+ /** Matching acs_credential currently encoded on this card. */
14951
+ acs_credential_id: string | null
14952
+ /** A number or sting that physically identifies this card. */
14953
+ card_number: string | null
14954
+ }
14955
+ }
14956
+ | {
14957
+ /** The ID of the action attempt. */
14958
+ action_attempt_id: string
14959
+ status: 'error'
14960
+ result: null
14961
+ action_type: 'ENCODE_CARD'
14962
+ error: {
14963
+ type: string
14964
+ message: string
14965
+ }
14966
+ }
14133
14967
  | {
14134
14968
  /** The ID of the action attempt. */
14135
14969
  action_attempt_id: string
@@ -14538,14 +15372,41 @@ export interface Routes {
14538
15372
  status: 'pending'
14539
15373
  result: null
14540
15374
  error: null
14541
- action_type: 'LOCK_DOOR'
15375
+ action_type: 'LOCK_DOOR'
15376
+ }
15377
+ | {
15378
+ /** The ID of the action attempt. */
15379
+ action_attempt_id: string
15380
+ status: 'success'
15381
+ error: null
15382
+ action_type: 'LOCK_DOOR'
15383
+ result: {}
15384
+ }
15385
+ | {
15386
+ /** The ID of the action attempt. */
15387
+ action_attempt_id: string
15388
+ status: 'error'
15389
+ result: null
15390
+ action_type: 'LOCK_DOOR'
15391
+ error: {
15392
+ type: string
15393
+ message: string
15394
+ }
15395
+ }
15396
+ | {
15397
+ /** The ID of the action attempt. */
15398
+ action_attempt_id: string
15399
+ status: 'pending'
15400
+ result: null
15401
+ error: null
15402
+ action_type: 'UNLOCK_DOOR'
14542
15403
  }
14543
15404
  | {
14544
15405
  /** The ID of the action attempt. */
14545
15406
  action_attempt_id: string
14546
15407
  status: 'success'
14547
15408
  error: null
14548
- action_type: 'LOCK_DOOR'
15409
+ action_type: 'UNLOCK_DOOR'
14549
15410
  result: {}
14550
15411
  }
14551
15412
  | {
@@ -14553,7 +15414,7 @@ export interface Routes {
14553
15414
  action_attempt_id: string
14554
15415
  status: 'error'
14555
15416
  result: null
14556
- action_type: 'LOCK_DOOR'
15417
+ action_type: 'UNLOCK_DOOR'
14557
15418
  error: {
14558
15419
  type: string
14559
15420
  message: string
@@ -14565,22 +15426,27 @@ export interface Routes {
14565
15426
  status: 'pending'
14566
15427
  result: null
14567
15428
  error: null
14568
- action_type: 'UNLOCK_DOOR'
15429
+ action_type: 'READ_CARD'
14569
15430
  }
14570
15431
  | {
14571
15432
  /** The ID of the action attempt. */
14572
15433
  action_attempt_id: string
14573
15434
  status: 'success'
14574
15435
  error: null
14575
- action_type: 'UNLOCK_DOOR'
14576
- result: {}
15436
+ action_type: 'READ_CARD'
15437
+ result: {
15438
+ /** Matching acs_credential currently encoded on this card. */
15439
+ acs_credential_id: string | null
15440
+ /** A number or sting that physically identifies this card. */
15441
+ card_number: string | null
15442
+ }
14577
15443
  }
14578
15444
  | {
14579
15445
  /** The ID of the action attempt. */
14580
15446
  action_attempt_id: string
14581
15447
  status: 'error'
14582
15448
  result: null
14583
- action_type: 'UNLOCK_DOOR'
15449
+ action_type: 'READ_CARD'
14584
15450
  error: {
14585
15451
  type: string
14586
15452
  message: string
@@ -14592,14 +15458,14 @@ export interface Routes {
14592
15458
  status: 'pending'
14593
15459
  result: null
14594
15460
  error: null
14595
- action_type: 'READ_CARD'
15461
+ action_type: 'ENCODE_CARD'
14596
15462
  }
14597
15463
  | {
14598
15464
  /** The ID of the action attempt. */
14599
15465
  action_attempt_id: string
14600
15466
  status: 'success'
14601
15467
  error: null
14602
- action_type: 'READ_CARD'
15468
+ action_type: 'ENCODE_CARD'
14603
15469
  result: {
14604
15470
  /** Matching acs_credential currently encoded on this card. */
14605
15471
  acs_credential_id: string | null
@@ -14612,7 +15478,7 @@ export interface Routes {
14612
15478
  action_attempt_id: string
14613
15479
  status: 'error'
14614
15480
  result: null
14615
- action_type: 'READ_CARD'
15481
+ action_type: 'ENCODE_CARD'
14616
15482
  error: {
14617
15483
  type: string
14618
15484
  message: string
@@ -15145,6 +16011,38 @@ export interface Routes {
15145
16011
  message: string
15146
16012
  }
15147
16013
  }
16014
+ | {
16015
+ /** The ID of the action attempt. */
16016
+ action_attempt_id: string
16017
+ status: 'pending'
16018
+ result: null
16019
+ error: null
16020
+ action_type: 'ENCODE_CARD'
16021
+ }
16022
+ | {
16023
+ /** The ID of the action attempt. */
16024
+ action_attempt_id: string
16025
+ status: 'success'
16026
+ error: null
16027
+ action_type: 'ENCODE_CARD'
16028
+ result: {
16029
+ /** Matching acs_credential currently encoded on this card. */
16030
+ acs_credential_id: string | null
16031
+ /** A number or sting that physically identifies this card. */
16032
+ card_number: string | null
16033
+ }
16034
+ }
16035
+ | {
16036
+ /** The ID of the action attempt. */
16037
+ action_attempt_id: string
16038
+ status: 'error'
16039
+ result: null
16040
+ action_type: 'ENCODE_CARD'
16041
+ error: {
16042
+ type: string
16043
+ message: string
16044
+ }
16045
+ }
15148
16046
  | {
15149
16047
  /** The ID of the action attempt. */
15150
16048
  action_attempt_id: string
@@ -15829,6 +16727,38 @@ export interface Routes {
15829
16727
  message: string
15830
16728
  }
15831
16729
  }
16730
+ | {
16731
+ /** The ID of the action attempt. */
16732
+ action_attempt_id: string
16733
+ status: 'pending'
16734
+ result: null
16735
+ error: null
16736
+ action_type: 'ENCODE_CARD'
16737
+ }
16738
+ | {
16739
+ /** The ID of the action attempt. */
16740
+ action_attempt_id: string
16741
+ status: 'success'
16742
+ error: null
16743
+ action_type: 'ENCODE_CARD'
16744
+ result: {
16745
+ /** Matching acs_credential currently encoded on this card. */
16746
+ acs_credential_id: string | null
16747
+ /** A number or sting that physically identifies this card. */
16748
+ card_number: string | null
16749
+ }
16750
+ }
16751
+ | {
16752
+ /** The ID of the action attempt. */
16753
+ action_attempt_id: string
16754
+ status: 'error'
16755
+ result: null
16756
+ action_type: 'ENCODE_CARD'
16757
+ error: {
16758
+ type: string
16759
+ message: string
16760
+ }
16761
+ }
15832
16762
  | {
15833
16763
  /** The ID of the action attempt. */
15834
16764
  action_attempt_id: string
@@ -16309,6 +17239,38 @@ export interface Routes {
16309
17239
  message: string
16310
17240
  }
16311
17241
  }
17242
+ | {
17243
+ /** The ID of the action attempt. */
17244
+ action_attempt_id: string
17245
+ status: 'pending'
17246
+ result: null
17247
+ error: null
17248
+ action_type: 'ENCODE_CARD'
17249
+ }
17250
+ | {
17251
+ /** The ID of the action attempt. */
17252
+ action_attempt_id: string
17253
+ status: 'success'
17254
+ error: null
17255
+ action_type: 'ENCODE_CARD'
17256
+ result: {
17257
+ /** Matching acs_credential currently encoded on this card. */
17258
+ acs_credential_id: string | null
17259
+ /** A number or sting that physically identifies this card. */
17260
+ card_number: string | null
17261
+ }
17262
+ }
17263
+ | {
17264
+ /** The ID of the action attempt. */
17265
+ action_attempt_id: string
17266
+ status: 'error'
17267
+ result: null
17268
+ action_type: 'ENCODE_CARD'
17269
+ error: {
17270
+ type: string
17271
+ message: string
17272
+ }
17273
+ }
16312
17274
  | {
16313
17275
  /** The ID of the action attempt. */
16314
17276
  action_attempt_id: string
@@ -17455,6 +18417,38 @@ export interface Routes {
17455
18417
  message: string
17456
18418
  }
17457
18419
  }
18420
+ | {
18421
+ /** The ID of the action attempt. */
18422
+ action_attempt_id: string
18423
+ status: 'pending'
18424
+ result: null
18425
+ error: null
18426
+ action_type: 'ENCODE_CARD'
18427
+ }
18428
+ | {
18429
+ /** The ID of the action attempt. */
18430
+ action_attempt_id: string
18431
+ status: 'success'
18432
+ error: null
18433
+ action_type: 'ENCODE_CARD'
18434
+ result: {
18435
+ /** Matching acs_credential currently encoded on this card. */
18436
+ acs_credential_id: string | null
18437
+ /** A number or sting that physically identifies this card. */
18438
+ card_number: string | null
18439
+ }
18440
+ }
18441
+ | {
18442
+ /** The ID of the action attempt. */
18443
+ action_attempt_id: string
18444
+ status: 'error'
18445
+ result: null
18446
+ action_type: 'ENCODE_CARD'
18447
+ error: {
18448
+ type: string
18449
+ message: string
18450
+ }
18451
+ }
17458
18452
  | {
17459
18453
  /** The ID of the action attempt. */
17460
18454
  action_attempt_id: string
@@ -17937,6 +18931,38 @@ export interface Routes {
17937
18931
  message: string
17938
18932
  }
17939
18933
  }
18934
+ | {
18935
+ /** The ID of the action attempt. */
18936
+ action_attempt_id: string
18937
+ status: 'pending'
18938
+ result: null
18939
+ error: null
18940
+ action_type: 'ENCODE_CARD'
18941
+ }
18942
+ | {
18943
+ /** The ID of the action attempt. */
18944
+ action_attempt_id: string
18945
+ status: 'success'
18946
+ error: null
18947
+ action_type: 'ENCODE_CARD'
18948
+ result: {
18949
+ /** Matching acs_credential currently encoded on this card. */
18950
+ acs_credential_id: string | null
18951
+ /** A number or sting that physically identifies this card. */
18952
+ card_number: string | null
18953
+ }
18954
+ }
18955
+ | {
18956
+ /** The ID of the action attempt. */
18957
+ action_attempt_id: string
18958
+ status: 'error'
18959
+ result: null
18960
+ action_type: 'ENCODE_CARD'
18961
+ error: {
18962
+ type: string
18963
+ message: string
18964
+ }
18965
+ }
17940
18966
  | {
17941
18967
  /** The ID of the action attempt. */
17942
18968
  action_attempt_id: string
@@ -19189,6 +20215,38 @@ export interface Routes {
19189
20215
  message: string
19190
20216
  }
19191
20217
  }
20218
+ | {
20219
+ /** The ID of the action attempt. */
20220
+ action_attempt_id: string
20221
+ status: 'pending'
20222
+ result: null
20223
+ error: null
20224
+ action_type: 'ENCODE_CARD'
20225
+ }
20226
+ | {
20227
+ /** The ID of the action attempt. */
20228
+ action_attempt_id: string
20229
+ status: 'success'
20230
+ error: null
20231
+ action_type: 'ENCODE_CARD'
20232
+ result: {
20233
+ /** Matching acs_credential currently encoded on this card. */
20234
+ acs_credential_id: string | null
20235
+ /** A number or sting that physically identifies this card. */
20236
+ card_number: string | null
20237
+ }
20238
+ }
20239
+ | {
20240
+ /** The ID of the action attempt. */
20241
+ action_attempt_id: string
20242
+ status: 'error'
20243
+ result: null
20244
+ action_type: 'ENCODE_CARD'
20245
+ error: {
20246
+ type: string
20247
+ message: string
20248
+ }
20249
+ }
19192
20250
  | {
19193
20251
  /** The ID of the action attempt. */
19194
20252
  action_attempt_id: string
@@ -19788,6 +20846,38 @@ export interface Routes {
19788
20846
  message: string
19789
20847
  }
19790
20848
  }
20849
+ | {
20850
+ /** The ID of the action attempt. */
20851
+ action_attempt_id: string
20852
+ status: 'pending'
20853
+ result: null
20854
+ error: null
20855
+ action_type: 'ENCODE_CARD'
20856
+ }
20857
+ | {
20858
+ /** The ID of the action attempt. */
20859
+ action_attempt_id: string
20860
+ status: 'success'
20861
+ error: null
20862
+ action_type: 'ENCODE_CARD'
20863
+ result: {
20864
+ /** Matching acs_credential currently encoded on this card. */
20865
+ acs_credential_id: string | null
20866
+ /** A number or sting that physically identifies this card. */
20867
+ card_number: string | null
20868
+ }
20869
+ }
20870
+ | {
20871
+ /** The ID of the action attempt. */
20872
+ action_attempt_id: string
20873
+ status: 'error'
20874
+ result: null
20875
+ action_type: 'ENCODE_CARD'
20876
+ error: {
20877
+ type: string
20878
+ message: string
20879
+ }
20880
+ }
19791
20881
  | {
19792
20882
  /** The ID of the action attempt. */
19793
20883
  action_attempt_id: string
@@ -22120,6 +23210,38 @@ export interface Routes {
22120
23210
  message: string
22121
23211
  }
22122
23212
  }
23213
+ | {
23214
+ /** The ID of the action attempt. */
23215
+ action_attempt_id: string
23216
+ status: 'pending'
23217
+ result: null
23218
+ error: null
23219
+ action_type: 'ENCODE_CARD'
23220
+ }
23221
+ | {
23222
+ /** The ID of the action attempt. */
23223
+ action_attempt_id: string
23224
+ status: 'success'
23225
+ error: null
23226
+ action_type: 'ENCODE_CARD'
23227
+ result: {
23228
+ /** Matching acs_credential currently encoded on this card. */
23229
+ acs_credential_id: string | null
23230
+ /** A number or sting that physically identifies this card. */
23231
+ card_number: string | null
23232
+ }
23233
+ }
23234
+ | {
23235
+ /** The ID of the action attempt. */
23236
+ action_attempt_id: string
23237
+ status: 'error'
23238
+ result: null
23239
+ action_type: 'ENCODE_CARD'
23240
+ error: {
23241
+ type: string
23242
+ message: string
23243
+ }
23244
+ }
22123
23245
  | {
22124
23246
  /** The ID of the action attempt. */
22125
23247
  action_attempt_id: string