lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55

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 (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/base_client.rb +7 -1
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  9. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  11. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  12. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  14. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  17. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  18. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  19. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  20. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  21. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  22. data/lib/lithic/models/book_transfer_response.rb +5 -5
  23. data/lib/lithic/models/dispute.rb +510 -242
  24. data/lib/lithic/models/dispute_create_response.rb +326 -0
  25. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  26. data/lib/lithic/models/dispute_list_response.rb +326 -0
  27. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  28. data/lib/lithic/models/dispute_update_response.rb +326 -0
  29. data/lib/lithic/models/event.rb +213 -69
  30. data/lib/lithic/models/event_list_params.rb +112 -6
  31. data/lib/lithic/models/event_subscription.rb +112 -6
  32. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  33. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  34. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  35. data/lib/lithic/models/financial_account.rb +1 -65
  36. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  37. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  38. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  39. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
  40. data/lib/lithic/models/financial_transaction.rb +1 -0
  41. data/lib/lithic/models/payment.rb +29 -18
  42. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  43. data/lib/lithic/models/tokenization.rb +189 -23
  44. data/lib/lithic/models/transaction.rb +12 -116
  45. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  46. data/lib/lithic/models/transfer.rb +1 -0
  47. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  48. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  49. data/lib/lithic/resources/disputes.rb +10 -10
  50. data/lib/lithic/resources/payments.rb +5 -1
  51. data/lib/lithic/version.rb +1 -1
  52. data/lib/lithic.rb +8 -3
  53. data/manifest.yaml +1 -0
  54. data/rbi/lithic/internal/transport/base_client.rbi +5 -0
  55. data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
  56. data/rbi/lithic/internal/type/base_model.rbi +8 -4
  57. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  58. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  59. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  60. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  61. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  62. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  63. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  64. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  65. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  66. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  67. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  68. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  69. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  70. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  71. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  72. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  73. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  74. data/rbi/lithic/models/dispute.rbi +942 -395
  75. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  76. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  77. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  78. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  79. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  80. data/rbi/lithic/models/event.rbi +348 -111
  81. data/rbi/lithic/models/event_list_params.rbi +155 -25
  82. data/rbi/lithic/models/event_subscription.rbi +155 -25
  83. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  84. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  85. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  86. data/rbi/lithic/models/financial_account.rbi +3 -132
  87. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  88. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  89. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  90. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
  91. data/rbi/lithic/models/financial_transaction.rbi +5 -0
  92. data/rbi/lithic/models/payment.rbi +52 -28
  93. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  94. data/rbi/lithic/models/tokenization.rbi +429 -34
  95. data/rbi/lithic/models/transaction.rbi +22 -246
  96. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  97. data/rbi/lithic/models/transfer.rbi +5 -0
  98. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  99. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  100. data/rbi/lithic/resources/disputes.rbi +7 -5
  101. data/rbi/lithic/resources/payments.rbi +6 -0
  102. data/sig/lithic/internal/transport/base_client.rbs +2 -0
  103. data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
  104. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  105. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  106. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  107. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  108. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  109. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  110. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  111. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  112. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  113. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  114. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  115. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  116. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  117. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  118. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  119. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  120. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  121. data/sig/lithic/models/dispute.rbs +417 -157
  122. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  123. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  124. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  125. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  126. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  127. data/sig/lithic/models/event.rbs +25 -13
  128. data/sig/lithic/models/event_list_params.rbs +25 -13
  129. data/sig/lithic/models/event_subscription.rbs +25 -13
  130. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  131. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  132. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  133. data/sig/lithic/models/financial_account.rbs +3 -45
  134. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  135. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  136. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  137. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  138. data/sig/lithic/models/financial_transaction.rbs +2 -0
  139. data/sig/lithic/models/payment.rbs +16 -12
  140. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  141. data/sig/lithic/models/tokenization.rbs +160 -13
  142. data/sig/lithic/models/transaction.rbs +13 -94
  143. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  144. data/sig/lithic/models/transfer.rbs +2 -0
  145. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  146. data/sig/lithic/resources/disputes.rbs +5 -5
  147. data/sig/lithic/resources/payments.rbs +2 -0
  148. metadata +23 -11
  149. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  150. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  151. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  152. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  153. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  154. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  155. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  156. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  157. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -1,509 +0,0 @@
1
- module Lithic
2
- module Models
3
- module AuthRules
4
- type v2_apply_response =
5
- {
6
- token: String,
7
- account_tokens: ::Array[String],
8
- business_account_tokens: ::Array[String],
9
- card_tokens: ::Array[String],
10
- current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
11
- draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
12
- event_stream: Lithic::Models::AuthRules::V2ApplyResponse::event_stream,
13
- lithic_managed: bool,
14
- name: String?,
15
- program_level: bool,
16
- state: Lithic::Models::AuthRules::V2ApplyResponse::state,
17
- type: Lithic::Models::AuthRules::V2ApplyResponse::type_,
18
- excluded_card_tokens: ::Array[String]
19
- }
20
-
21
- class V2ApplyResponse < Lithic::Internal::Type::BaseModel
22
- attr_accessor token: String
23
-
24
- attr_accessor account_tokens: ::Array[String]
25
-
26
- attr_accessor business_account_tokens: ::Array[String]
27
-
28
- attr_accessor card_tokens: ::Array[String]
29
-
30
- attr_accessor current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?
31
-
32
- attr_accessor draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?
33
-
34
- attr_accessor event_stream: Lithic::Models::AuthRules::V2ApplyResponse::event_stream
35
-
36
- attr_accessor lithic_managed: bool
37
-
38
- attr_accessor name: String?
39
-
40
- attr_accessor program_level: bool
41
-
42
- attr_accessor state: Lithic::Models::AuthRules::V2ApplyResponse::state
43
-
44
- attr_accessor type: Lithic::Models::AuthRules::V2ApplyResponse::type_
45
-
46
- attr_reader excluded_card_tokens: ::Array[String]?
47
-
48
- def excluded_card_tokens=: (::Array[String]) -> ::Array[String]
49
-
50
- def initialize: (
51
- token: String,
52
- account_tokens: ::Array[String],
53
- business_account_tokens: ::Array[String],
54
- card_tokens: ::Array[String],
55
- current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
56
- draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
57
- event_stream: Lithic::Models::AuthRules::V2ApplyResponse::event_stream,
58
- lithic_managed: bool,
59
- name: String?,
60
- program_level: bool,
61
- state: Lithic::Models::AuthRules::V2ApplyResponse::state,
62
- type: Lithic::Models::AuthRules::V2ApplyResponse::type_,
63
- ?excluded_card_tokens: ::Array[String]
64
- ) -> void
65
-
66
- def to_hash: -> {
67
- token: String,
68
- account_tokens: ::Array[String],
69
- business_account_tokens: ::Array[String],
70
- card_tokens: ::Array[String],
71
- current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
72
- draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
73
- event_stream: Lithic::Models::AuthRules::V2ApplyResponse::event_stream,
74
- lithic_managed: bool,
75
- name: String?,
76
- program_level: bool,
77
- state: Lithic::Models::AuthRules::V2ApplyResponse::state,
78
- type: Lithic::Models::AuthRules::V2ApplyResponse::type_,
79
- excluded_card_tokens: ::Array[String]
80
- }
81
-
82
- type current_version =
83
- {
84
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters,
85
- version: Integer
86
- }
87
-
88
- class CurrentVersion < Lithic::Internal::Type::BaseModel
89
- attr_accessor parameters: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters
90
-
91
- attr_accessor version: Integer
92
-
93
- def initialize: (
94
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters,
95
- version: Integer
96
- ) -> void
97
-
98
- def to_hash: -> {
99
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters,
100
- version: Integer
101
- }
102
-
103
- type parameters =
104
- Lithic::AuthRules::ConditionalBlockParameters
105
- | Lithic::AuthRules::VelocityLimitParams
106
- | Lithic::AuthRules::MerchantLockParameters
107
- | Lithic::AuthRules::Conditional3DSActionParameters
108
- | Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
109
-
110
- module Parameters
111
- extend Lithic::Internal::Type::Union
112
-
113
- type conditional_authorization_action_parameters =
114
- {
115
- action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
116
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
117
- }
118
-
119
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
120
- attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action
121
-
122
- attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
123
-
124
- def initialize: (
125
- action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
126
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
127
- ) -> void
128
-
129
- def to_hash: -> {
130
- action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
131
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
132
- }
133
-
134
- type action = :DECLINE | :CHALLENGE
135
-
136
- module Action
137
- extend Lithic::Internal::Type::Enum
138
-
139
- DECLINE: :DECLINE
140
- CHALLENGE: :CHALLENGE
141
-
142
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action]
143
- end
144
-
145
- type condition =
146
- {
147
- attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
148
- operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
149
- value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
150
- }
151
-
152
- class Condition < Lithic::Internal::Type::BaseModel
153
- attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
154
-
155
- def attribute=: (
156
- Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
157
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
158
-
159
- attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
160
-
161
- def operation=: (
162
- Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
163
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
164
-
165
- attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
166
-
167
- def value=: (
168
- Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
169
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
170
-
171
- def initialize: (
172
- ?attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
173
- ?operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
174
- ?value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
175
- ) -> void
176
-
177
- def to_hash: -> {
178
- attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
179
- operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
180
- value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
181
- }
182
-
183
- type attribute =
184
- :MCC
185
- | :COUNTRY
186
- | :CURRENCY
187
- | :MERCHANT_ID
188
- | :DESCRIPTOR
189
- | :LIABILITY_SHIFT
190
- | :PAN_ENTRY_MODE
191
- | :TRANSACTION_AMOUNT
192
- | :CASH_AMOUNT
193
- | :RISK_SCORE
194
- | :CARD_TRANSACTION_COUNT_15M
195
- | :CARD_TRANSACTION_COUNT_1H
196
- | :CARD_TRANSACTION_COUNT_24H
197
- | :CARD_STATE
198
- | :PIN_ENTERED
199
- | :PIN_STATUS
200
- | :WALLET_TYPE
201
- | :TRANSACTION_INITIATOR
202
- | :ADDRESS_MATCH
203
-
204
- module Attribute
205
- extend Lithic::Internal::Type::Enum
206
-
207
- MCC: :MCC
208
- COUNTRY: :COUNTRY
209
- CURRENCY: :CURRENCY
210
- MERCHANT_ID: :MERCHANT_ID
211
- DESCRIPTOR: :DESCRIPTOR
212
- LIABILITY_SHIFT: :LIABILITY_SHIFT
213
- PAN_ENTRY_MODE: :PAN_ENTRY_MODE
214
- TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
215
- CASH_AMOUNT: :CASH_AMOUNT
216
- RISK_SCORE: :RISK_SCORE
217
- CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
218
- CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
219
- CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
220
- CARD_STATE: :CARD_STATE
221
- PIN_ENTERED: :PIN_ENTERED
222
- PIN_STATUS: :PIN_STATUS
223
- WALLET_TYPE: :WALLET_TYPE
224
- TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
225
- ADDRESS_MATCH: :ADDRESS_MATCH
226
-
227
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
228
- end
229
-
230
- type operation =
231
- :IS_ONE_OF
232
- | :IS_NOT_ONE_OF
233
- | :MATCHES
234
- | :DOES_NOT_MATCH
235
- | :IS_EQUAL_TO
236
- | :IS_NOT_EQUAL_TO
237
- | :IS_GREATER_THAN
238
- | :IS_GREATER_THAN_OR_EQUAL_TO
239
- | :IS_LESS_THAN
240
- | :IS_LESS_THAN_OR_EQUAL_TO
241
-
242
- module Operation
243
- extend Lithic::Internal::Type::Enum
244
-
245
- IS_ONE_OF: :IS_ONE_OF
246
- IS_NOT_ONE_OF: :IS_NOT_ONE_OF
247
- MATCHES: :MATCHES
248
- DOES_NOT_MATCH: :DOES_NOT_MATCH
249
- IS_EQUAL_TO: :IS_EQUAL_TO
250
- IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
251
- IS_GREATER_THAN: :IS_GREATER_THAN
252
- IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
253
- IS_LESS_THAN: :IS_LESS_THAN
254
- IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
255
-
256
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
257
- end
258
-
259
- type value = String | Integer | ::Array[String]
260
-
261
- module Value
262
- extend Lithic::Internal::Type::Union
263
-
264
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
265
-
266
- StringArray: Lithic::Internal::Type::Converter
267
- end
268
- end
269
- end
270
-
271
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters]
272
- end
273
- end
274
-
275
- type draft_version =
276
- {
277
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters,
278
- version: Integer
279
- }
280
-
281
- class DraftVersion < Lithic::Internal::Type::BaseModel
282
- attr_accessor parameters: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters
283
-
284
- attr_accessor version: Integer
285
-
286
- def initialize: (
287
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters,
288
- version: Integer
289
- ) -> void
290
-
291
- def to_hash: -> {
292
- parameters: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters,
293
- version: Integer
294
- }
295
-
296
- type parameters =
297
- Lithic::AuthRules::ConditionalBlockParameters
298
- | Lithic::AuthRules::VelocityLimitParams
299
- | Lithic::AuthRules::MerchantLockParameters
300
- | Lithic::AuthRules::Conditional3DSActionParameters
301
- | Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
302
-
303
- module Parameters
304
- extend Lithic::Internal::Type::Union
305
-
306
- type conditional_authorization_action_parameters =
307
- {
308
- action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
309
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
310
- }
311
-
312
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
313
- attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action
314
-
315
- attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
316
-
317
- def initialize: (
318
- action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
319
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
320
- ) -> void
321
-
322
- def to_hash: -> {
323
- action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
324
- conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
325
- }
326
-
327
- type action = :DECLINE | :CHALLENGE
328
-
329
- module Action
330
- extend Lithic::Internal::Type::Enum
331
-
332
- DECLINE: :DECLINE
333
- CHALLENGE: :CHALLENGE
334
-
335
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action]
336
- end
337
-
338
- type condition =
339
- {
340
- attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
341
- operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
342
- value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
343
- }
344
-
345
- class Condition < Lithic::Internal::Type::BaseModel
346
- attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
347
-
348
- def attribute=: (
349
- Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
350
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
351
-
352
- attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
353
-
354
- def operation=: (
355
- Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
356
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
357
-
358
- attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
359
-
360
- def value=: (
361
- Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
362
- ) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
363
-
364
- def initialize: (
365
- ?attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
366
- ?operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
367
- ?value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
368
- ) -> void
369
-
370
- def to_hash: -> {
371
- attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
372
- operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
373
- value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
374
- }
375
-
376
- type attribute =
377
- :MCC
378
- | :COUNTRY
379
- | :CURRENCY
380
- | :MERCHANT_ID
381
- | :DESCRIPTOR
382
- | :LIABILITY_SHIFT
383
- | :PAN_ENTRY_MODE
384
- | :TRANSACTION_AMOUNT
385
- | :CASH_AMOUNT
386
- | :RISK_SCORE
387
- | :CARD_TRANSACTION_COUNT_15M
388
- | :CARD_TRANSACTION_COUNT_1H
389
- | :CARD_TRANSACTION_COUNT_24H
390
- | :CARD_STATE
391
- | :PIN_ENTERED
392
- | :PIN_STATUS
393
- | :WALLET_TYPE
394
- | :TRANSACTION_INITIATOR
395
- | :ADDRESS_MATCH
396
-
397
- module Attribute
398
- extend Lithic::Internal::Type::Enum
399
-
400
- MCC: :MCC
401
- COUNTRY: :COUNTRY
402
- CURRENCY: :CURRENCY
403
- MERCHANT_ID: :MERCHANT_ID
404
- DESCRIPTOR: :DESCRIPTOR
405
- LIABILITY_SHIFT: :LIABILITY_SHIFT
406
- PAN_ENTRY_MODE: :PAN_ENTRY_MODE
407
- TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
408
- CASH_AMOUNT: :CASH_AMOUNT
409
- RISK_SCORE: :RISK_SCORE
410
- CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
411
- CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
412
- CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
413
- CARD_STATE: :CARD_STATE
414
- PIN_ENTERED: :PIN_ENTERED
415
- PIN_STATUS: :PIN_STATUS
416
- WALLET_TYPE: :WALLET_TYPE
417
- TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
418
- ADDRESS_MATCH: :ADDRESS_MATCH
419
-
420
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
421
- end
422
-
423
- type operation =
424
- :IS_ONE_OF
425
- | :IS_NOT_ONE_OF
426
- | :MATCHES
427
- | :DOES_NOT_MATCH
428
- | :IS_EQUAL_TO
429
- | :IS_NOT_EQUAL_TO
430
- | :IS_GREATER_THAN
431
- | :IS_GREATER_THAN_OR_EQUAL_TO
432
- | :IS_LESS_THAN
433
- | :IS_LESS_THAN_OR_EQUAL_TO
434
-
435
- module Operation
436
- extend Lithic::Internal::Type::Enum
437
-
438
- IS_ONE_OF: :IS_ONE_OF
439
- IS_NOT_ONE_OF: :IS_NOT_ONE_OF
440
- MATCHES: :MATCHES
441
- DOES_NOT_MATCH: :DOES_NOT_MATCH
442
- IS_EQUAL_TO: :IS_EQUAL_TO
443
- IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
444
- IS_GREATER_THAN: :IS_GREATER_THAN
445
- IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
446
- IS_LESS_THAN: :IS_LESS_THAN
447
- IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
448
-
449
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
450
- end
451
-
452
- type value = String | Integer | ::Array[String]
453
-
454
- module Value
455
- extend Lithic::Internal::Type::Union
456
-
457
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
458
-
459
- StringArray: Lithic::Internal::Type::Converter
460
- end
461
- end
462
- end
463
-
464
- def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters]
465
- end
466
- end
467
-
468
- type event_stream = :AUTHORIZATION | :THREE_DS_AUTHENTICATION
469
-
470
- module EventStream
471
- extend Lithic::Internal::Type::Enum
472
-
473
- AUTHORIZATION: :AUTHORIZATION
474
- THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
475
-
476
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::event_stream]
477
- end
478
-
479
- type state = :ACTIVE | :INACTIVE
480
-
481
- module State
482
- extend Lithic::Internal::Type::Enum
483
-
484
- ACTIVE: :ACTIVE
485
- INACTIVE: :INACTIVE
486
-
487
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::state]
488
- end
489
-
490
- type type_ =
491
- :CONDITIONAL_BLOCK
492
- | :VELOCITY_LIMIT
493
- | :MERCHANT_LOCK
494
- | :CONDITIONAL_ACTION
495
-
496
- module Type
497
- extend Lithic::Internal::Type::Enum
498
-
499
- CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
500
- VELOCITY_LIMIT: :VELOCITY_LIMIT
501
- MERCHANT_LOCK: :MERCHANT_LOCK
502
- CONDITIONAL_ACTION: :CONDITIONAL_ACTION
503
-
504
- def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::type_]
505
- end
506
- end
507
- end
508
- end
509
- end