lithic 0.2.0 → 0.3.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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +5 -10
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
  6. data/lib/lithic/internal/util.rb +7 -2
  7. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
  8. data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
  9. data/lib/lithic/models/{asa_request_webhook_event.rb → card_authorization_approval_request_webhook_event.rb} +151 -129
  10. data/lib/lithic/models/external_payment_create_params.rb +15 -1
  11. data/lib/lithic/models/financial_account.rb +33 -25
  12. data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
  13. data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
  14. data/lib/lithic/models/management_operation_create_params.rb +6 -1
  15. data/lib/lithic/models/parsed_webhook_event.rb +3 -4
  16. data/lib/lithic/models/payment.rb +10 -1
  17. data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
  18. data/lib/lithic/models/transaction.rb +2 -0
  19. data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
  20. data/lib/lithic/models/transfer_limits_response.rb +274 -0
  21. data/lib/lithic/models.rb +12 -6
  22. data/lib/lithic/resources/book_transfers.rb +27 -0
  23. data/lib/lithic/resources/cards.rb +1 -5
  24. data/lib/lithic/resources/external_payments.rb +13 -1
  25. data/lib/lithic/resources/financial_accounts.rb +3 -1
  26. data/lib/lithic/resources/management_operations.rb +4 -1
  27. data/lib/lithic/resources/transfer_limits.rb +37 -0
  28. data/lib/lithic/resources/webhooks.rb +3 -2
  29. data/lib/lithic/version.rb +1 -1
  30. data/lib/lithic.rb +6 -7
  31. data/rbi/lithic/client.rbi +3 -3
  32. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
  33. data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
  34. data/rbi/lithic/models/{asa_request_webhook_event.rbi → card_authorization_approval_request_webhook_event.rbi} +394 -256
  35. data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
  36. data/rbi/lithic/models/financial_account.rbi +62 -54
  37. data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
  38. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
  39. data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
  40. data/rbi/lithic/models/parsed_webhook_event.rbi +2 -2
  41. data/rbi/lithic/models/payment.rbi +13 -3
  42. data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
  43. data/rbi/lithic/models/transaction.rbi +10 -0
  44. data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
  45. data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
  46. data/rbi/lithic/models.rbi +12 -6
  47. data/rbi/lithic/resources/book_transfers.rbi +18 -0
  48. data/rbi/lithic/resources/cards.rbi +1 -4
  49. data/rbi/lithic/resources/external_payments.rbi +2 -0
  50. data/rbi/lithic/resources/financial_accounts.rbi +3 -0
  51. data/rbi/lithic/resources/management_operations.rbi +2 -0
  52. data/rbi/lithic/resources/transfer_limits.rbi +28 -0
  53. data/rbi/lithic/resources/webhooks.rbi +2 -124
  54. data/sig/lithic/client.rbs +2 -2
  55. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
  56. data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
  57. data/sig/lithic/models/{asa_request_webhook_event.rbs → card_authorization_approval_request_webhook_event.rbs} +161 -156
  58. data/sig/lithic/models/financial_account.rbs +32 -27
  59. data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
  60. data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
  61. data/sig/lithic/models/parsed_webhook_event.rbs +2 -2
  62. data/sig/lithic/models/payment.rbs +10 -3
  63. data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
  64. data/sig/lithic/models/transaction.rbs +4 -0
  65. data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
  66. data/sig/lithic/models/transfer_limits_response.rbs +232 -0
  67. data/sig/lithic/models.rbs +10 -6
  68. data/sig/lithic/resources/book_transfers.rbs +6 -0
  69. data/sig/lithic/resources/cards.rbs +0 -2
  70. data/sig/lithic/resources/financial_accounts.rbs +1 -0
  71. data/sig/lithic/resources/transfer_limits.rbs +12 -0
  72. data/sig/lithic/resources/webhooks.rbs +2 -116
  73. metadata +20 -23
  74. data/lib/lithic/models/aggregate_balance.rb +0 -113
  75. data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
  76. data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
  77. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
  78. data/lib/lithic/resources/aggregate_balances.rb +0 -38
  79. data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
  80. data/rbi/lithic/models/aggregate_balance.rbi +0 -164
  81. data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
  82. data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
  83. data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
  84. data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
  85. data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
  86. data/sig/lithic/models/aggregate_balance.rbs +0 -78
  87. data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
  88. data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
  89. data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
  90. data/sig/lithic/resources/aggregate_balances.rbs +0 -12
  91. data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
@@ -1,38 +1,39 @@
1
1
  module Lithic
2
2
  module Models
3
- type asa_request_webhook_event =
3
+ type card_authorization_approval_request_webhook_event =
4
4
  {
5
5
  token: String,
6
6
  acquirer_fee: Integer,
7
7
  amount: Integer,
8
8
  authorization_amount: Integer,
9
- avs: Lithic::AsaRequestWebhookEvent::Avs,
10
- card: Lithic::AsaRequestWebhookEvent::Card,
9
+ avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
10
+ card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
11
11
  cardholder_currency: String,
12
12
  cash_amount: Integer,
13
13
  created: Time,
14
+ event_type: :"card_authorization.approval_request",
14
15
  merchant: Lithic::Merchant,
15
16
  merchant_amount: Integer,
16
17
  merchant_currency: String,
17
18
  settled_amount: Integer,
18
- status: Lithic::Models::AsaRequestWebhookEvent::status,
19
- transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
20
- account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
19
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::status,
20
+ transaction_initiator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::transaction_initiator,
21
+ account_type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type,
21
22
  cardholder_authentication: Lithic::CardholderAuthentication,
22
23
  cashback: Integer,
23
24
  conversion_rate: Float,
24
25
  event_token: String,
25
- fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
26
- latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
27
- network: Lithic::Models::AsaRequestWebhookEvent::network,
26
+ fleet_info: Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo?,
27
+ latest_challenge: Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge,
28
+ network: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network,
28
29
  network_risk_score: Integer?,
29
- network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
30
- pos: Lithic::AsaRequestWebhookEvent::Pos,
30
+ network_specific_data: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData?,
31
+ pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos,
31
32
  token_info: Lithic::TokenInfo?,
32
33
  ttl: Time
33
34
  }
34
35
 
35
- class AsaRequestWebhookEvent < Lithic::Internal::Type::BaseModel
36
+ class CardAuthorizationApprovalRequestWebhookEvent < Lithic::Internal::Type::BaseModel
36
37
  attr_accessor token: String
37
38
 
38
39
  attr_accessor acquirer_fee: Integer
@@ -41,9 +42,9 @@ module Lithic
41
42
 
42
43
  attr_accessor authorization_amount: Integer
43
44
 
44
- attr_accessor avs: Lithic::AsaRequestWebhookEvent::Avs
45
+ attr_accessor avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs
45
46
 
46
- attr_accessor card: Lithic::AsaRequestWebhookEvent::Card
47
+ attr_accessor card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card
47
48
 
48
49
  attr_accessor cardholder_currency: String
49
50
 
@@ -51,6 +52,8 @@ module Lithic
51
52
 
52
53
  attr_accessor created: Time
53
54
 
55
+ attr_accessor event_type: :"card_authorization.approval_request"
56
+
54
57
  attr_accessor merchant: Lithic::Merchant
55
58
 
56
59
  attr_accessor merchant_amount: Integer
@@ -59,15 +62,15 @@ module Lithic
59
62
 
60
63
  attr_accessor settled_amount: Integer
61
64
 
62
- attr_accessor status: Lithic::Models::AsaRequestWebhookEvent::status
65
+ attr_accessor status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::status
63
66
 
64
- attr_accessor transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator
67
+ attr_accessor transaction_initiator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::transaction_initiator
65
68
 
66
- attr_reader account_type: Lithic::Models::AsaRequestWebhookEvent::account_type?
69
+ attr_reader account_type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type?
67
70
 
68
71
  def account_type=: (
69
- Lithic::Models::AsaRequestWebhookEvent::account_type
70
- ) -> Lithic::Models::AsaRequestWebhookEvent::account_type
72
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type
73
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type
71
74
 
72
75
  attr_reader cardholder_authentication: Lithic::CardholderAuthentication?
73
76
 
@@ -87,29 +90,29 @@ module Lithic
87
90
 
88
91
  def event_token=: (String) -> String
89
92
 
90
- attr_accessor fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?
93
+ attr_accessor fleet_info: Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo?
91
94
 
92
- attr_reader latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge?
95
+ attr_reader latest_challenge: Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge?
93
96
 
94
97
  def latest_challenge=: (
95
- Lithic::AsaRequestWebhookEvent::LatestChallenge
96
- ) -> Lithic::AsaRequestWebhookEvent::LatestChallenge
98
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge
99
+ ) -> Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge
97
100
 
98
- attr_reader network: Lithic::Models::AsaRequestWebhookEvent::network?
101
+ attr_reader network: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network?
99
102
 
100
103
  def network=: (
101
- Lithic::Models::AsaRequestWebhookEvent::network
102
- ) -> Lithic::Models::AsaRequestWebhookEvent::network
104
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network
105
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network
103
106
 
104
107
  attr_accessor network_risk_score: Integer?
105
108
 
106
- attr_accessor network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?
109
+ attr_accessor network_specific_data: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData?
107
110
 
108
- attr_reader pos: Lithic::AsaRequestWebhookEvent::Pos?
111
+ attr_reader pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos?
109
112
 
110
113
  def pos=: (
111
- Lithic::AsaRequestWebhookEvent::Pos
112
- ) -> Lithic::AsaRequestWebhookEvent::Pos
114
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos
115
+ ) -> Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos
113
116
 
114
117
  attr_accessor token_info: Lithic::TokenInfo?
115
118
 
@@ -122,8 +125,8 @@ module Lithic
122
125
  acquirer_fee: Integer,
123
126
  amount: Integer,
124
127
  authorization_amount: Integer,
125
- avs: Lithic::AsaRequestWebhookEvent::Avs,
126
- card: Lithic::AsaRequestWebhookEvent::Card,
128
+ avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
129
+ card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
127
130
  cardholder_currency: String,
128
131
  cash_amount: Integer,
129
132
  created: Time,
@@ -131,21 +134,22 @@ module Lithic
131
134
  merchant_amount: Integer,
132
135
  merchant_currency: String,
133
136
  settled_amount: Integer,
134
- status: Lithic::Models::AsaRequestWebhookEvent::status,
135
- transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
136
- ?account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
137
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::status,
138
+ transaction_initiator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::transaction_initiator,
139
+ ?account_type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type,
137
140
  ?cardholder_authentication: Lithic::CardholderAuthentication,
138
141
  ?cashback: Integer,
139
142
  ?conversion_rate: Float,
140
143
  ?event_token: String,
141
- ?fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
142
- ?latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
143
- ?network: Lithic::Models::AsaRequestWebhookEvent::network,
144
+ ?fleet_info: Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo?,
145
+ ?latest_challenge: Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge,
146
+ ?network: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network,
144
147
  ?network_risk_score: Integer?,
145
- ?network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
146
- ?pos: Lithic::AsaRequestWebhookEvent::Pos,
148
+ ?network_specific_data: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData?,
149
+ ?pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos,
147
150
  ?token_info: Lithic::TokenInfo?,
148
- ?ttl: Time
151
+ ?ttl: Time,
152
+ ?event_type: :"card_authorization.approval_request"
149
153
  ) -> void
150
154
 
151
155
  def to_hash: -> {
@@ -153,28 +157,29 @@ module Lithic
153
157
  acquirer_fee: Integer,
154
158
  amount: Integer,
155
159
  authorization_amount: Integer,
156
- avs: Lithic::AsaRequestWebhookEvent::Avs,
157
- card: Lithic::AsaRequestWebhookEvent::Card,
160
+ avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
161
+ card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
158
162
  cardholder_currency: String,
159
163
  cash_amount: Integer,
160
164
  created: Time,
165
+ event_type: :"card_authorization.approval_request",
161
166
  merchant: Lithic::Merchant,
162
167
  merchant_amount: Integer,
163
168
  merchant_currency: String,
164
169
  settled_amount: Integer,
165
- status: Lithic::Models::AsaRequestWebhookEvent::status,
166
- transaction_initiator: Lithic::Models::AsaRequestWebhookEvent::transaction_initiator,
167
- account_type: Lithic::Models::AsaRequestWebhookEvent::account_type,
170
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::status,
171
+ transaction_initiator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::transaction_initiator,
172
+ account_type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type,
168
173
  cardholder_authentication: Lithic::CardholderAuthentication,
169
174
  cashback: Integer,
170
175
  conversion_rate: Float,
171
176
  event_token: String,
172
- fleet_info: Lithic::AsaRequestWebhookEvent::FleetInfo?,
173
- latest_challenge: Lithic::AsaRequestWebhookEvent::LatestChallenge,
174
- network: Lithic::Models::AsaRequestWebhookEvent::network,
177
+ fleet_info: Lithic::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo?,
178
+ latest_challenge: Lithic::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge,
179
+ network: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network,
175
180
  network_risk_score: Integer?,
176
- network_specific_data: Lithic::AsaRequestWebhookEvent::NetworkSpecificData?,
177
- pos: Lithic::AsaRequestWebhookEvent::Pos,
181
+ network_specific_data: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData?,
182
+ pos: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos,
178
183
  token_info: Lithic::TokenInfo?,
179
184
  ttl: Time
180
185
  }
@@ -182,26 +187,26 @@ module Lithic
182
187
  type avs =
183
188
  {
184
189
  address: String,
185
- address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
190
+ address_on_file_match: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Avs::address_on_file_match,
186
191
  zipcode: String
187
192
  }
188
193
 
189
194
  class Avs < Lithic::Internal::Type::BaseModel
190
195
  attr_accessor address: String
191
196
 
192
- attr_accessor address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match
197
+ attr_accessor address_on_file_match: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Avs::address_on_file_match
193
198
 
194
199
  attr_accessor zipcode: String
195
200
 
196
201
  def initialize: (
197
202
  address: String,
198
- address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
203
+ address_on_file_match: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Avs::address_on_file_match,
199
204
  zipcode: String
200
205
  ) -> void
201
206
 
202
207
  def to_hash: -> {
203
208
  address: String,
204
- address_on_file_match: Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match,
209
+ address_on_file_match: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Avs::address_on_file_match,
205
210
  zipcode: String
206
211
  }
207
212
 
@@ -221,7 +226,7 @@ module Lithic
221
226
  MISMATCH: :MISMATCH
222
227
  NOT_PRESENT: :NOT_PRESENT
223
228
 
224
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Avs::address_on_file_match]
229
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Avs::address_on_file_match]
225
230
  end
226
231
  end
227
232
 
@@ -232,9 +237,9 @@ module Lithic
232
237
  last_four: String,
233
238
  memo: String,
234
239
  spend_limit: Integer,
235
- spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
236
- state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
237
- type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
240
+ spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration,
241
+ state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state,
242
+ type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
238
243
  }
239
244
 
240
245
  class Card < Lithic::Internal::Type::BaseModel
@@ -258,23 +263,23 @@ module Lithic
258
263
 
259
264
  def spend_limit=: (Integer) -> Integer
260
265
 
261
- attr_reader spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration?
266
+ attr_reader spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration?
262
267
 
263
268
  def spend_limit_duration=: (
264
- Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration
265
- ) -> Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration
269
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration
270
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration
266
271
 
267
- attr_reader state: Lithic::Models::AsaRequestWebhookEvent::Card::state?
272
+ attr_reader state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state?
268
273
 
269
274
  def state=: (
270
- Lithic::Models::AsaRequestWebhookEvent::Card::state
271
- ) -> Lithic::Models::AsaRequestWebhookEvent::Card::state
275
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state
276
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state
272
277
 
273
- attr_reader type: Lithic::Models::AsaRequestWebhookEvent::Card::type_?
278
+ attr_reader type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_?
274
279
 
275
280
  def type=: (
276
- Lithic::Models::AsaRequestWebhookEvent::Card::type_
277
- ) -> Lithic::Models::AsaRequestWebhookEvent::Card::type_
281
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
282
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
278
283
 
279
284
  def initialize: (
280
285
  ?token: String,
@@ -282,9 +287,9 @@ module Lithic
282
287
  ?last_four: String,
283
288
  ?memo: String,
284
289
  ?spend_limit: Integer,
285
- ?spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
286
- ?state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
287
- ?type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
290
+ ?spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration,
291
+ ?state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state,
292
+ ?type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
288
293
  ) -> void
289
294
 
290
295
  def to_hash: -> {
@@ -293,9 +298,9 @@ module Lithic
293
298
  last_four: String,
294
299
  memo: String,
295
300
  spend_limit: Integer,
296
- spend_limit_duration: Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration,
297
- state: Lithic::Models::AsaRequestWebhookEvent::Card::state,
298
- type: Lithic::Models::AsaRequestWebhookEvent::Card::type_
301
+ spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration,
302
+ state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state,
303
+ type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
299
304
  }
300
305
 
301
306
  type spend_limit_duration =
@@ -309,7 +314,7 @@ module Lithic
309
314
  MONTHLY: :MONTHLY
310
315
  TRANSACTION: :TRANSACTION
311
316
 
312
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::spend_limit_duration]
317
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration]
313
318
  end
314
319
 
315
320
  type state =
@@ -324,7 +329,7 @@ module Lithic
324
329
  PENDING_ACTIVATION: :PENDING_ACTIVATION
325
330
  PENDING_FULFILLMENT: :PENDING_FULFILLMENT
326
331
 
327
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::state]
332
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state]
328
333
  end
329
334
 
330
335
  type type_ =
@@ -345,7 +350,7 @@ module Lithic
345
350
  DIGITAL_WALLET: :DIGITAL_WALLET
346
351
  VIRTUAL: :VIRTUAL
347
352
 
348
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Card::type_]
353
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_]
349
354
  end
350
355
  end
351
356
 
@@ -365,7 +370,7 @@ module Lithic
365
370
  FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
366
371
  BALANCE_INQUIRY: :BALANCE_INQUIRY
367
372
 
368
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::status]
373
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::status]
369
374
  end
370
375
 
371
376
  type transaction_initiator = :CARDHOLDER | :MERCHANT | :UNKNOWN
@@ -377,7 +382,7 @@ module Lithic
377
382
  MERCHANT: :MERCHANT
378
383
  UNKNOWN: :UNKNOWN
379
384
 
380
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::transaction_initiator]
385
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::transaction_initiator]
381
386
  end
382
387
 
383
388
  type account_type = :CHECKING | :SAVINGS
@@ -388,36 +393,36 @@ module Lithic
388
393
  CHECKING: :CHECKING
389
394
  SAVINGS: :SAVINGS
390
395
 
391
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::account_type]
396
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::account_type]
392
397
  end
393
398
 
394
399
  type fleet_info =
395
400
  {
396
- fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
397
- fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
401
+ fleet_prompt_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_prompt_code,
402
+ fleet_restriction_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_restriction_code,
398
403
  driver_number: String?,
399
404
  vehicle_number: String?
400
405
  }
401
406
 
402
407
  class FleetInfo < Lithic::Internal::Type::BaseModel
403
- attr_accessor fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code
408
+ attr_accessor fleet_prompt_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_prompt_code
404
409
 
405
- attr_accessor fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code
410
+ attr_accessor fleet_restriction_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_restriction_code
406
411
 
407
412
  attr_accessor driver_number: String?
408
413
 
409
414
  attr_accessor vehicle_number: String?
410
415
 
411
416
  def initialize: (
412
- fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
413
- fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
417
+ fleet_prompt_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_prompt_code,
418
+ fleet_restriction_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_restriction_code,
414
419
  ?driver_number: String?,
415
420
  ?vehicle_number: String?
416
421
  ) -> void
417
422
 
418
423
  def to_hash: -> {
419
- fleet_prompt_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code,
420
- fleet_restriction_code: Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code,
424
+ fleet_prompt_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_prompt_code,
425
+ fleet_restriction_code: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_restriction_code,
421
426
  driver_number: String?,
422
427
  vehicle_number: String?
423
428
  }
@@ -431,7 +436,7 @@ module Lithic
431
436
  VEHICLE_NUMBER: :VEHICLE_NUMBER
432
437
  DRIVER_NUMBER: :DRIVER_NUMBER
433
438
 
434
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_prompt_code]
439
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_prompt_code]
435
440
  end
436
441
 
437
442
  type fleet_restriction_code = :NO_RESTRICTIONS | :FUEL_ONLY
@@ -442,21 +447,21 @@ module Lithic
442
447
  NO_RESTRICTIONS: :NO_RESTRICTIONS
443
448
  FUEL_ONLY: :FUEL_ONLY
444
449
 
445
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::FleetInfo::fleet_restriction_code]
450
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::FleetInfo::fleet_restriction_code]
446
451
  end
447
452
  end
448
453
 
449
454
  type latest_challenge =
450
455
  {
451
456
  phone_number: String,
452
- status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
457
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::status,
453
458
  completed_at: Time
454
459
  }
455
460
 
456
461
  class LatestChallenge < Lithic::Internal::Type::BaseModel
457
462
  attr_accessor phone_number: String
458
463
 
459
- attr_accessor status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status
464
+ attr_accessor status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::status
460
465
 
461
466
  attr_reader completed_at: Time?
462
467
 
@@ -464,13 +469,13 @@ module Lithic
464
469
 
465
470
  def initialize: (
466
471
  phone_number: String,
467
- status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
472
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::status,
468
473
  ?completed_at: Time
469
474
  ) -> void
470
475
 
471
476
  def to_hash: -> {
472
477
  phone_number: String,
473
- status: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status,
478
+ status: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::status,
474
479
  completed_at: Time
475
480
  }
476
481
 
@@ -484,7 +489,7 @@ module Lithic
484
489
  EXPIRED: :EXPIRED
485
490
  ERROR: :ERROR
486
491
 
487
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::status]
492
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::LatestChallenge::status]
488
493
  end
489
494
  end
490
495
 
@@ -501,53 +506,53 @@ module Lithic
501
506
  UNKNOWN: :UNKNOWN
502
507
  VISA: :VISA
503
508
 
504
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::network]
509
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::network]
505
510
  end
506
511
 
507
512
  type network_specific_data =
508
513
  {
509
- mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
510
- visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
514
+ mastercard: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard?,
515
+ visa: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa?
511
516
  }
512
517
 
513
518
  class NetworkSpecificData < Lithic::Internal::Type::BaseModel
514
- attr_accessor mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?
519
+ attr_accessor mastercard: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard?
515
520
 
516
- attr_accessor visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
521
+ attr_accessor visa: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa?
517
522
 
518
523
  def initialize: (
519
- ?mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
520
- ?visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
524
+ ?mastercard: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard?,
525
+ ?visa: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa?
521
526
  ) -> void
522
527
 
523
528
  def to_hash: -> {
524
- mastercard: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard?,
525
- visa: Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Visa?
529
+ mastercard: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard?,
530
+ visa: Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Visa?
526
531
  }
527
532
 
528
533
  type mastercard =
529
534
  {
530
535
  ecommerce_security_level_indicator: String?,
531
- on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
536
+ on_behalf_service_result: ::Array[Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
532
537
  transaction_type_identifier: String?
533
538
  }
534
539
 
535
540
  class Mastercard < Lithic::Internal::Type::BaseModel
536
541
  attr_accessor ecommerce_security_level_indicator: String?
537
542
 
538
- attr_accessor on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?
543
+ attr_accessor on_behalf_service_result: ::Array[Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?
539
544
 
540
545
  attr_accessor transaction_type_identifier: String?
541
546
 
542
547
  def initialize: (
543
548
  ?ecommerce_security_level_indicator: String?,
544
- ?on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
549
+ ?on_behalf_service_result: ::Array[Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
545
550
  ?transaction_type_identifier: String?
546
551
  ) -> void
547
552
 
548
553
  def to_hash: -> {
549
554
  ecommerce_security_level_indicator: String?,
550
- on_behalf_service_result: ::Array[Lithic::AsaRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
555
+ on_behalf_service_result: ::Array[Lithic::CardAuthorizationApprovalRequestWebhookEvent::NetworkSpecificData::Mastercard::OnBehalfServiceResult]?,
551
556
  transaction_type_identifier: String?
552
557
  }
553
558
 
@@ -588,75 +593,75 @@ module Lithic
588
593
 
589
594
  type pos =
590
595
  {
591
- entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
592
- terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
596
+ entry_mode: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode,
597
+ terminal: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
593
598
  }
594
599
 
595
600
  class Pos < Lithic::Internal::Type::BaseModel
596
- attr_reader entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode?
601
+ attr_reader entry_mode: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode?
597
602
 
598
603
  def entry_mode=: (
599
- Lithic::AsaRequestWebhookEvent::Pos::EntryMode
600
- ) -> Lithic::AsaRequestWebhookEvent::Pos::EntryMode
604
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode
605
+ ) -> Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode
601
606
 
602
- attr_reader terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal?
607
+ attr_reader terminal: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal?
603
608
 
604
609
  def terminal=: (
605
- Lithic::AsaRequestWebhookEvent::Pos::Terminal
606
- ) -> Lithic::AsaRequestWebhookEvent::Pos::Terminal
610
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
611
+ ) -> Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
607
612
 
608
613
  def initialize: (
609
- ?entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
610
- ?terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
614
+ ?entry_mode: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode,
615
+ ?terminal: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
611
616
  ) -> void
612
617
 
613
618
  def to_hash: -> {
614
- entry_mode: Lithic::AsaRequestWebhookEvent::Pos::EntryMode,
615
- terminal: Lithic::AsaRequestWebhookEvent::Pos::Terminal
619
+ entry_mode: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode,
620
+ terminal: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal
616
621
  }
617
622
 
618
623
  type entry_mode =
619
624
  {
620
- card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
621
- cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
622
- pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
625
+ card: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card,
626
+ cardholder: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder,
627
+ pan: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan,
623
628
  pin_entered: bool
624
629
  }
625
630
 
626
631
  class EntryMode < Lithic::Internal::Type::BaseModel
627
- attr_reader card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card?
632
+ attr_reader card: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card?
628
633
 
629
634
  def card=: (
630
- Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card
631
- ) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card
635
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card
636
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card
632
637
 
633
- attr_reader cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder?
638
+ attr_reader cardholder: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder?
634
639
 
635
640
  def cardholder=: (
636
- Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder
637
- ) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder
641
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder
642
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder
638
643
 
639
- attr_reader pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan?
644
+ attr_reader pan: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan?
640
645
 
641
646
  def pan=: (
642
- Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan
643
- ) -> Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan
647
+ Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan
648
+ ) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan
644
649
 
645
650
  attr_reader pin_entered: bool?
646
651
 
647
652
  def pin_entered=: (bool) -> bool
648
653
 
649
654
  def initialize: (
650
- ?card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
651
- ?cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
652
- ?pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
655
+ ?card: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card,
656
+ ?cardholder: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder,
657
+ ?pan: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan,
653
658
  ?pin_entered: bool
654
659
  ) -> void
655
660
 
656
661
  def to_hash: -> {
657
- card: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card,
658
- cardholder: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder,
659
- pan: Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan,
662
+ card: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card,
663
+ cardholder: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder,
664
+ pan: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan,
660
665
  pin_entered: bool
661
666
  }
662
667
 
@@ -669,7 +674,7 @@ module Lithic
669
674
  NOT_PRESENT: :NOT_PRESENT
670
675
  UNKNOWN: :UNKNOWN
671
676
 
672
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::card]
677
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::card]
673
678
  end
674
679
 
675
680
  type cardholder =
@@ -696,7 +701,7 @@ module Lithic
696
701
  TELEPHONE_ORDER: :TELEPHONE_ORDER
697
702
  UNKNOWN: :UNKNOWN
698
703
 
699
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::cardholder]
704
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::cardholder]
700
705
  end
701
706
 
702
707
  type pan =
@@ -735,7 +740,7 @@ module Lithic
735
740
  UNKNOWN: :UNKNOWN
736
741
  CREDENTIAL_ON_FILE: :CREDENTIAL_ON_FILE
737
742
 
738
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::EntryMode::pan]
743
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::EntryMode::pan]
739
744
  end
740
745
  end
741
746
 
@@ -744,10 +749,10 @@ module Lithic
744
749
  attended: bool,
745
750
  card_retention_capable: bool,
746
751
  on_premise: bool,
747
- operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
752
+ operator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::operator,
748
753
  partial_approval_capable: bool,
749
- pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
750
- type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
754
+ pin_capability: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::pin_capability,
755
+ type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::type_,
751
756
  acceptor_terminal_id: String?
752
757
  }
753
758
 
@@ -758,13 +763,13 @@ module Lithic
758
763
 
759
764
  attr_accessor on_premise: bool
760
765
 
761
- attr_accessor operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator
766
+ attr_accessor operator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::operator
762
767
 
763
768
  attr_accessor partial_approval_capable: bool
764
769
 
765
- attr_accessor pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability
770
+ attr_accessor pin_capability: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::pin_capability
766
771
 
767
- attr_accessor type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_
772
+ attr_accessor type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::type_
768
773
 
769
774
  attr_accessor acceptor_terminal_id: String?
770
775
 
@@ -772,10 +777,10 @@ module Lithic
772
777
  attended: bool,
773
778
  card_retention_capable: bool,
774
779
  on_premise: bool,
775
- operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
780
+ operator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::operator,
776
781
  partial_approval_capable: bool,
777
- pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
778
- type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
782
+ pin_capability: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::pin_capability,
783
+ type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::type_,
779
784
  ?acceptor_terminal_id: String?
780
785
  ) -> void
781
786
 
@@ -783,10 +788,10 @@ module Lithic
783
788
  attended: bool,
784
789
  card_retention_capable: bool,
785
790
  on_premise: bool,
786
- operator: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator,
791
+ operator: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::operator,
787
792
  partial_approval_capable: bool,
788
- pin_capability: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability,
789
- type: Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_,
793
+ pin_capability: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::pin_capability,
794
+ type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::type_,
790
795
  acceptor_terminal_id: String?
791
796
  }
792
797
 
@@ -801,7 +806,7 @@ module Lithic
801
806
  CARD_ACCEPTOR: :CARD_ACCEPTOR
802
807
  UNKNOWN: :UNKNOWN
803
808
 
804
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::operator]
809
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::operator]
805
810
  end
806
811
 
807
812
  type pin_capability =
@@ -815,7 +820,7 @@ module Lithic
815
820
  NOT_CAPABLE: :NOT_CAPABLE
816
821
  UNSPECIFIED: :UNSPECIFIED
817
822
 
818
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::pin_capability]
823
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::pin_capability]
819
824
  end
820
825
 
821
826
  type type_ =
@@ -872,7 +877,7 @@ module Lithic
872
877
  VOICE: :VOICE
873
878
  UNKNOWN: :UNKNOWN
874
879
 
875
- def self?.values: -> ::Array[Lithic::Models::AsaRequestWebhookEvent::Pos::Terminal::type_]
880
+ def self?.values: -> ::Array[Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Pos::Terminal::type_]
876
881
  end
877
882
  end
878
883
  end