lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56

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 (229) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account_activity_list_response.rb +60 -148
  6. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
  7. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  8. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  9. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
  10. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
  11. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
  13. data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
  14. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
  15. data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
  16. data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
  17. data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
  18. data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
  19. data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
  20. data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
  21. data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
  22. data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
  23. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  24. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
  25. data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
  26. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  27. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  28. data/lib/lithic/models/book_transfer_response.rb +6 -5
  29. data/lib/lithic/models/category_details.rb +27 -0
  30. data/lib/lithic/models/dispute_v2.rb +555 -0
  31. data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
  32. data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
  33. data/lib/lithic/models/event.rb +213 -69
  34. data/lib/lithic/models/event_list_params.rb +112 -6
  35. data/lib/lithic/models/event_subscription.rb +112 -6
  36. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  37. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  38. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  39. data/lib/lithic/models/external_bank_account_address.rb +2 -2
  40. data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
  41. data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
  42. data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
  43. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
  44. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
  45. data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
  46. data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
  47. data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
  48. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
  49. data/lib/lithic/models/external_payment.rb +3 -2
  50. data/lib/lithic/models/external_payment_list_params.rb +1 -0
  51. data/lib/lithic/models/financial_account.rb +5 -68
  52. data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
  53. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  54. data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
  55. data/lib/lithic/models/financial_accounts/statement.rb +73 -211
  56. data/lib/lithic/models/financial_event.rb +148 -0
  57. data/lib/lithic/models/financial_transaction.rb +3 -146
  58. data/lib/lithic/models/management_operation_list_params.rb +1 -0
  59. data/lib/lithic/models/management_operation_transaction.rb +5 -4
  60. data/lib/lithic/models/merchant.rb +70 -0
  61. data/lib/lithic/models/payment.rb +16 -14
  62. data/lib/lithic/models/payment_return_params.rb +62 -0
  63. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  64. data/lib/lithic/models/statement_totals.rb +100 -0
  65. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
  66. data/lib/lithic/models/tokenization.rb +189 -23
  67. data/lib/lithic/models/transaction.rb +15 -185
  68. data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
  69. data/lib/lithic/models/transfer.rb +3 -146
  70. data/lib/lithic/models.rb +18 -0
  71. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  72. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  73. data/lib/lithic/resources/disputes_v2.rb +74 -0
  74. data/lib/lithic/resources/external_bank_accounts.rb +19 -0
  75. data/lib/lithic/resources/payments.rb +53 -1
  76. data/lib/lithic/version.rb +1 -1
  77. data/lib/lithic.rb +18 -3
  78. data/rbi/lithic/client.rbi +3 -0
  79. data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
  80. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
  81. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  82. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  83. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
  84. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
  85. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
  86. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
  87. data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
  88. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
  89. data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
  90. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
  91. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
  92. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
  93. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
  94. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
  95. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
  96. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
  97. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  98. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
  99. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
  100. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  101. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  102. data/rbi/lithic/models/book_transfer_response.rbi +16 -11
  103. data/rbi/lithic/models/category_details.rbi +43 -0
  104. data/rbi/lithic/models/dispute_v2.rbi +965 -0
  105. data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
  106. data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
  107. data/rbi/lithic/models/event.rbi +348 -111
  108. data/rbi/lithic/models/event_list_params.rbi +155 -25
  109. data/rbi/lithic/models/event_subscription.rbi +155 -25
  110. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  111. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  112. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  113. data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
  114. data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
  115. data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
  116. data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
  117. data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
  118. data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
  119. data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
  120. data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
  121. data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
  122. data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
  123. data/rbi/lithic/models/external_payment.rbi +5 -6
  124. data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
  125. data/rbi/lithic/models/financial_account.rbi +15 -136
  126. data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
  127. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  128. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
  129. data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
  130. data/rbi/lithic/models/financial_event.rbi +409 -0
  131. data/rbi/lithic/models/financial_transaction.rbi +3 -509
  132. data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
  133. data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
  134. data/rbi/lithic/models/merchant.rbi +89 -0
  135. data/rbi/lithic/models/payment.rbi +27 -21
  136. data/rbi/lithic/models/payment_return_params.rbi +85 -0
  137. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  138. data/rbi/lithic/models/statement_totals.rbi +128 -0
  139. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
  140. data/rbi/lithic/models/tokenization.rbi +429 -34
  141. data/rbi/lithic/models/transaction.rbi +26 -336
  142. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
  143. data/rbi/lithic/models/transfer.rbi +4 -436
  144. data/rbi/lithic/models.rbi +19 -0
  145. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  146. data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
  147. data/rbi/lithic/resources/disputes_v2.rbi +64 -0
  148. data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
  149. data/rbi/lithic/resources/payments.rbi +52 -0
  150. data/sig/lithic/client.rbs +2 -0
  151. data/sig/lithic/models/account_activity_list_response.rbs +67 -221
  152. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
  153. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  154. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  155. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
  156. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
  157. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
  158. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
  159. data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
  160. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
  161. data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
  162. data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
  163. data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
  164. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
  165. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
  166. data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
  167. data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
  168. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
  169. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  170. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
  171. data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
  172. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  173. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  174. data/sig/lithic/models/book_transfer_response.rbs +10 -8
  175. data/sig/lithic/models/category_details.rbs +26 -0
  176. data/sig/lithic/models/dispute_v2.rbs +438 -0
  177. data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
  178. data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
  179. data/sig/lithic/models/event.rbs +25 -13
  180. data/sig/lithic/models/event_list_params.rbs +25 -13
  181. data/sig/lithic/models/event_subscription.rbs +25 -13
  182. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  183. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  184. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  185. data/sig/lithic/models/external_bank_account_address.rbs +4 -6
  186. data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
  187. data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
  188. data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
  189. data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
  190. data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
  191. data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
  192. data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
  193. data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
  194. data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
  195. data/sig/lithic/models/external_payment.rbs +7 -7
  196. data/sig/lithic/models/external_payment_list_params.rbs +3 -1
  197. data/sig/lithic/models/financial_account.rbs +7 -49
  198. data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
  199. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  200. data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
  201. data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
  202. data/sig/lithic/models/financial_event.rbs +216 -0
  203. data/sig/lithic/models/financial_transaction.rbs +4 -217
  204. data/sig/lithic/models/management_operation_list_params.rbs +3 -1
  205. data/sig/lithic/models/management_operation_transaction.rbs +11 -13
  206. data/sig/lithic/models/merchant.rbs +50 -0
  207. data/sig/lithic/models/payment.rbs +17 -15
  208. data/sig/lithic/models/payment_return_params.rbs +46 -0
  209. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  210. data/sig/lithic/models/statement_totals.rbs +76 -0
  211. data/sig/lithic/models/tokenization.rbs +160 -13
  212. data/sig/lithic/models/transaction.rbs +17 -145
  213. data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
  214. data/sig/lithic/models/transfer.rbs +6 -219
  215. data/sig/lithic/models.rbs +18 -0
  216. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  217. data/sig/lithic/resources/disputes_v2.rbs +24 -0
  218. data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
  219. data/sig/lithic/resources/payments.rbs +12 -0
  220. metadata +56 -11
  221. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  222. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  223. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  224. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  225. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  226. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  227. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  228. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  229. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -97,49 +97,49 @@ module Lithic
97
97
  # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
- optional :account_token, String
100
+ optional :account_token, String, nil?: true
101
101
 
102
102
  # @!attribute address
103
103
  # Address
104
104
  #
105
105
  # @return [Lithic::Models::ExternalBankAccountAddress, nil]
106
- optional :address, -> { Lithic::ExternalBankAccountAddress }
106
+ optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
107
107
 
108
108
  # @!attribute company_id
109
109
  # Optional field that helps identify bank accounts in receipts
110
110
  #
111
111
  # @return [String, nil]
112
- optional :company_id, String
112
+ optional :company_id, String, nil?: true
113
113
 
114
114
  # @!attribute dob
115
115
  # Date of Birth of the Individual that owns the external bank account
116
116
  #
117
117
  # @return [Date, nil]
118
- optional :dob, Date
118
+ optional :dob, Date, nil?: true
119
119
 
120
120
  # @!attribute doing_business_as
121
121
  # Doing Business As
122
122
  #
123
123
  # @return [String, nil]
124
- optional :doing_business_as, String
124
+ optional :doing_business_as, String, nil?: true
125
125
 
126
126
  # @!attribute financial_account_token
127
127
  # The financial account token of the operating account to fund the micro deposits
128
128
  #
129
129
  # @return [String, nil]
130
- optional :financial_account_token, String
130
+ optional :financial_account_token, String, nil?: true
131
131
 
132
132
  # @!attribute name
133
133
  # The nickname for this External Bank Account
134
134
  #
135
135
  # @return [String, nil]
136
- optional :name, String
136
+ optional :name, String, nil?: true
137
137
 
138
138
  # @!attribute user_defined_id
139
139
  # User Defined ID
140
140
  #
141
141
  # @return [String, nil]
142
- optional :user_defined_id, String
142
+ optional :user_defined_id, String, nil?: true
143
143
 
144
144
  # @!attribute verification_failed_reason
145
145
  # Optional free text description of the reason for the failed verification. For
@@ -147,7 +147,7 @@ module Lithic
147
147
  # by the ACH network
148
148
  #
149
149
  # @return [String, nil]
150
- optional :verification_failed_reason, String
150
+ optional :verification_failed_reason, String, nil?: true
151
151
 
152
152
  # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
153
153
  # Some parameter documentations has been truncated, see
@@ -179,23 +179,23 @@ module Lithic
179
179
  #
180
180
  # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::VerificationState] Verification State
181
181
  #
182
- # @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
182
+ # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
183
183
  #
184
- # @param address [Lithic::Models::ExternalBankAccountAddress] Address
184
+ # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
185
185
  #
186
- # @param company_id [String] Optional field that helps identify bank accounts in receipts
186
+ # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
187
187
  #
188
- # @param dob [Date] Date of Birth of the Individual that owns the external bank account
188
+ # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
189
189
  #
190
- # @param doing_business_as [String] Doing Business As
190
+ # @param doing_business_as [String, nil] Doing Business As
191
191
  #
192
- # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
192
+ # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
193
193
  #
194
- # @param name [String] The nickname for this External Bank Account
194
+ # @param name [String, nil] The nickname for this External Bank Account
195
195
  #
196
- # @param user_defined_id [String] User Defined ID
196
+ # @param user_defined_id [String, nil] User Defined ID
197
197
  #
198
- # @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
198
+ # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
199
199
 
200
200
  # Owner Type
201
201
  #
@@ -97,49 +97,49 @@ module Lithic
97
97
  # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
- optional :account_token, String
100
+ optional :account_token, String, nil?: true
101
101
 
102
102
  # @!attribute address
103
103
  # Address
104
104
  #
105
105
  # @return [Lithic::Models::ExternalBankAccountAddress, nil]
106
- optional :address, -> { Lithic::ExternalBankAccountAddress }
106
+ optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
107
107
 
108
108
  # @!attribute company_id
109
109
  # Optional field that helps identify bank accounts in receipts
110
110
  #
111
111
  # @return [String, nil]
112
- optional :company_id, String
112
+ optional :company_id, String, nil?: true
113
113
 
114
114
  # @!attribute dob
115
115
  # Date of Birth of the Individual that owns the external bank account
116
116
  #
117
117
  # @return [Date, nil]
118
- optional :dob, Date
118
+ optional :dob, Date, nil?: true
119
119
 
120
120
  # @!attribute doing_business_as
121
121
  # Doing Business As
122
122
  #
123
123
  # @return [String, nil]
124
- optional :doing_business_as, String
124
+ optional :doing_business_as, String, nil?: true
125
125
 
126
126
  # @!attribute financial_account_token
127
127
  # The financial account token of the operating account to fund the micro deposits
128
128
  #
129
129
  # @return [String, nil]
130
- optional :financial_account_token, String
130
+ optional :financial_account_token, String, nil?: true
131
131
 
132
132
  # @!attribute name
133
133
  # The nickname for this External Bank Account
134
134
  #
135
135
  # @return [String, nil]
136
- optional :name, String
136
+ optional :name, String, nil?: true
137
137
 
138
138
  # @!attribute user_defined_id
139
139
  # User Defined ID
140
140
  #
141
141
  # @return [String, nil]
142
- optional :user_defined_id, String
142
+ optional :user_defined_id, String, nil?: true
143
143
 
144
144
  # @!attribute verification_failed_reason
145
145
  # Optional free text description of the reason for the failed verification. For
@@ -147,7 +147,7 @@ module Lithic
147
147
  # by the ACH network
148
148
  #
149
149
  # @return [String, nil]
150
- optional :verification_failed_reason, String
150
+ optional :verification_failed_reason, String, nil?: true
151
151
 
152
152
  # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
153
153
  # Some parameter documentations has been truncated, see
@@ -179,23 +179,23 @@ module Lithic
179
179
  #
180
180
  # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountListResponse::VerificationState] Verification State
181
181
  #
182
- # @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
182
+ # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
183
183
  #
184
- # @param address [Lithic::Models::ExternalBankAccountAddress] Address
184
+ # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
185
185
  #
186
- # @param company_id [String] Optional field that helps identify bank accounts in receipts
186
+ # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
187
187
  #
188
- # @param dob [Date] Date of Birth of the Individual that owns the external bank account
188
+ # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
189
189
  #
190
- # @param doing_business_as [String] Doing Business As
190
+ # @param doing_business_as [String, nil] Doing Business As
191
191
  #
192
- # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
192
+ # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
193
193
  #
194
- # @param name [String] The nickname for this External Bank Account
194
+ # @param name [String, nil] The nickname for this External Bank Account
195
195
  #
196
- # @param user_defined_id [String] User Defined ID
196
+ # @param user_defined_id [String, nil] User Defined ID
197
197
  #
198
- # @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
198
+ # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
199
199
 
200
200
  # Owner Type
201
201
  #
@@ -97,49 +97,49 @@ module Lithic
97
97
  # returned will be null
98
98
  #
99
99
  # @return [String, nil]
100
- optional :account_token, String
100
+ optional :account_token, String, nil?: true
101
101
 
102
102
  # @!attribute address
103
103
  # Address
104
104
  #
105
105
  # @return [Lithic::Models::ExternalBankAccountAddress, nil]
106
- optional :address, -> { Lithic::ExternalBankAccountAddress }
106
+ optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
107
107
 
108
108
  # @!attribute company_id
109
109
  # Optional field that helps identify bank accounts in receipts
110
110
  #
111
111
  # @return [String, nil]
112
- optional :company_id, String
112
+ optional :company_id, String, nil?: true
113
113
 
114
114
  # @!attribute dob
115
115
  # Date of Birth of the Individual that owns the external bank account
116
116
  #
117
117
  # @return [Date, nil]
118
- optional :dob, Date
118
+ optional :dob, Date, nil?: true
119
119
 
120
120
  # @!attribute doing_business_as
121
121
  # Doing Business As
122
122
  #
123
123
  # @return [String, nil]
124
- optional :doing_business_as, String
124
+ optional :doing_business_as, String, nil?: true
125
125
 
126
126
  # @!attribute financial_account_token
127
127
  # The financial account token of the operating account to fund the micro deposits
128
128
  #
129
129
  # @return [String, nil]
130
- optional :financial_account_token, String
130
+ optional :financial_account_token, String, nil?: true
131
131
 
132
132
  # @!attribute name
133
133
  # The nickname for this External Bank Account
134
134
  #
135
135
  # @return [String, nil]
136
- optional :name, String
136
+ optional :name, String, nil?: true
137
137
 
138
138
  # @!attribute user_defined_id
139
139
  # User Defined ID
140
140
  #
141
141
  # @return [String, nil]
142
- optional :user_defined_id, String
142
+ optional :user_defined_id, String, nil?: true
143
143
 
144
144
  # @!attribute verification_failed_reason
145
145
  # Optional free text description of the reason for the failed verification. For
@@ -147,7 +147,7 @@ module Lithic
147
147
  # by the ACH network
148
148
  #
149
149
  # @return [String, nil]
150
- optional :verification_failed_reason, String
150
+ optional :verification_failed_reason, String, nil?: true
151
151
 
152
152
  # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
153
153
  # Some parameter documentations has been truncated, see
@@ -179,23 +179,23 @@ module Lithic
179
179
  #
180
180
  # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountRetrieveResponse::VerificationState] Verification State
181
181
  #
182
- # @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
182
+ # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
183
183
  #
184
- # @param address [Lithic::Models::ExternalBankAccountAddress] Address
184
+ # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
185
185
  #
186
- # @param company_id [String] Optional field that helps identify bank accounts in receipts
186
+ # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
187
187
  #
188
- # @param dob [Date] Date of Birth of the Individual that owns the external bank account
188
+ # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
189
189
  #
190
- # @param doing_business_as [String] Doing Business As
190
+ # @param doing_business_as [String, nil] Doing Business As
191
191
  #
192
- # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
192
+ # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
193
193
  #
194
- # @param name [String] The nickname for this External Bank Account
194
+ # @param name [String, nil] The nickname for this External Bank Account
195
195
  #
196
- # @param user_defined_id [String] User Defined ID
196
+ # @param user_defined_id [String, nil] User Defined ID
197
197
  #
198
- # @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
198
+ # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
199
199
 
200
200
  # Owner Type
201
201
  #
@@ -98,49 +98,49 @@ module Lithic
98
98
  # returned will be null
99
99
  #
100
100
  # @return [String, nil]
101
- optional :account_token, String
101
+ optional :account_token, String, nil?: true
102
102
 
103
103
  # @!attribute address
104
104
  # Address
105
105
  #
106
106
  # @return [Lithic::Models::ExternalBankAccountAddress, nil]
107
- optional :address, -> { Lithic::ExternalBankAccountAddress }
107
+ optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
108
108
 
109
109
  # @!attribute company_id
110
110
  # Optional field that helps identify bank accounts in receipts
111
111
  #
112
112
  # @return [String, nil]
113
- optional :company_id, String
113
+ optional :company_id, String, nil?: true
114
114
 
115
115
  # @!attribute dob
116
116
  # Date of Birth of the Individual that owns the external bank account
117
117
  #
118
118
  # @return [Date, nil]
119
- optional :dob, Date
119
+ optional :dob, Date, nil?: true
120
120
 
121
121
  # @!attribute doing_business_as
122
122
  # Doing Business As
123
123
  #
124
124
  # @return [String, nil]
125
- optional :doing_business_as, String
125
+ optional :doing_business_as, String, nil?: true
126
126
 
127
127
  # @!attribute financial_account_token
128
128
  # The financial account token of the operating account to fund the micro deposits
129
129
  #
130
130
  # @return [String, nil]
131
- optional :financial_account_token, String
131
+ optional :financial_account_token, String, nil?: true
132
132
 
133
133
  # @!attribute name
134
134
  # The nickname for this External Bank Account
135
135
  #
136
136
  # @return [String, nil]
137
- optional :name, String
137
+ optional :name, String, nil?: true
138
138
 
139
139
  # @!attribute user_defined_id
140
140
  # User Defined ID
141
141
  #
142
142
  # @return [String, nil]
143
- optional :user_defined_id, String
143
+ optional :user_defined_id, String, nil?: true
144
144
 
145
145
  # @!attribute verification_failed_reason
146
146
  # Optional free text description of the reason for the failed verification. For
@@ -148,7 +148,7 @@ module Lithic
148
148
  # by the ACH network
149
149
  #
150
150
  # @return [String, nil]
151
- optional :verification_failed_reason, String
151
+ optional :verification_failed_reason, String, nil?: true
152
152
 
153
153
  # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
154
154
  # Some parameter documentations has been truncated, see
@@ -181,23 +181,23 @@ module Lithic
181
181
  #
182
182
  # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse::VerificationState] Verification State
183
183
  #
184
- # @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
184
+ # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
185
185
  #
186
- # @param address [Lithic::Models::ExternalBankAccountAddress] Address
186
+ # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
187
187
  #
188
- # @param company_id [String] Optional field that helps identify bank accounts in receipts
188
+ # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
189
189
  #
190
- # @param dob [Date] Date of Birth of the Individual that owns the external bank account
190
+ # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
191
191
  #
192
- # @param doing_business_as [String] Doing Business As
192
+ # @param doing_business_as [String, nil] Doing Business As
193
193
  #
194
- # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
194
+ # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
195
195
  #
196
- # @param name [String] The nickname for this External Bank Account
196
+ # @param name [String, nil] The nickname for this External Bank Account
197
197
  #
198
- # @param user_defined_id [String] User Defined ID
198
+ # @param user_defined_id [String, nil] User Defined ID
199
199
  #
200
- # @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
200
+ # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
201
201
 
202
202
  # Owner Type
203
203
  #
@@ -96,49 +96,49 @@ module Lithic
96
96
  # returned will be null
97
97
  #
98
98
  # @return [String, nil]
99
- optional :account_token, String
99
+ optional :account_token, String, nil?: true
100
100
 
101
101
  # @!attribute address
102
102
  # Address
103
103
  #
104
104
  # @return [Lithic::Models::ExternalBankAccountAddress, nil]
105
- optional :address, -> { Lithic::ExternalBankAccountAddress }
105
+ optional :address, -> { Lithic::ExternalBankAccountAddress }, nil?: true
106
106
 
107
107
  # @!attribute company_id
108
108
  # Optional field that helps identify bank accounts in receipts
109
109
  #
110
110
  # @return [String, nil]
111
- optional :company_id, String
111
+ optional :company_id, String, nil?: true
112
112
 
113
113
  # @!attribute dob
114
114
  # Date of Birth of the Individual that owns the external bank account
115
115
  #
116
116
  # @return [Date, nil]
117
- optional :dob, Date
117
+ optional :dob, Date, nil?: true
118
118
 
119
119
  # @!attribute doing_business_as
120
120
  # Doing Business As
121
121
  #
122
122
  # @return [String, nil]
123
- optional :doing_business_as, String
123
+ optional :doing_business_as, String, nil?: true
124
124
 
125
125
  # @!attribute financial_account_token
126
126
  # The financial account token of the operating account to fund the micro deposits
127
127
  #
128
128
  # @return [String, nil]
129
- optional :financial_account_token, String
129
+ optional :financial_account_token, String, nil?: true
130
130
 
131
131
  # @!attribute name
132
132
  # The nickname for this External Bank Account
133
133
  #
134
134
  # @return [String, nil]
135
- optional :name, String
135
+ optional :name, String, nil?: true
136
136
 
137
137
  # @!attribute user_defined_id
138
138
  # User Defined ID
139
139
  #
140
140
  # @return [String, nil]
141
- optional :user_defined_id, String
141
+ optional :user_defined_id, String, nil?: true
142
142
 
143
143
  # @!attribute verification_failed_reason
144
144
  # Optional free text description of the reason for the failed verification. For
@@ -146,7 +146,7 @@ module Lithic
146
146
  # by the ACH network
147
147
  #
148
148
  # @return [String, nil]
149
- optional :verification_failed_reason, String
149
+ optional :verification_failed_reason, String, nil?: true
150
150
 
151
151
  # @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
152
152
  # Some parameter documentations has been truncated, see
@@ -178,23 +178,23 @@ module Lithic
178
178
  #
179
179
  # @param verification_state [Symbol, Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState] Verification State
180
180
  #
181
- # @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
181
+ # @param account_token [String, nil] Indicates which Lithic account the external account is associated with. For exte
182
182
  #
183
- # @param address [Lithic::Models::ExternalBankAccountAddress] Address
183
+ # @param address [Lithic::Models::ExternalBankAccountAddress, nil] Address
184
184
  #
185
- # @param company_id [String] Optional field that helps identify bank accounts in receipts
185
+ # @param company_id [String, nil] Optional field that helps identify bank accounts in receipts
186
186
  #
187
- # @param dob [Date] Date of Birth of the Individual that owns the external bank account
187
+ # @param dob [Date, nil] Date of Birth of the Individual that owns the external bank account
188
188
  #
189
- # @param doing_business_as [String] Doing Business As
189
+ # @param doing_business_as [String, nil] Doing Business As
190
190
  #
191
- # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
191
+ # @param financial_account_token [String, nil] The financial account token of the operating account to fund the micro deposits
192
192
  #
193
- # @param name [String] The nickname for this External Bank Account
193
+ # @param name [String, nil] The nickname for this External Bank Account
194
194
  #
195
- # @param user_defined_id [String] User Defined ID
195
+ # @param user_defined_id [String, nil] User Defined ID
196
196
  #
197
- # @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
197
+ # @param verification_failed_reason [String, nil] Optional free text description of the reason for the failed verification. For AC
198
198
 
199
199
  # Account State
200
200
  #
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::ExternalBankAccounts#unpause
6
+ class ExternalBankAccountUnpauseParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ # @!method initialize(request_options: {})
11
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
12
+ end
13
+ end
14
+ end