lithic 0.23.0 → 0.24.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 (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_activity_list_params.rb +3 -3
  5. data/lib/lithic/models/account_holder_list_params.rb +3 -3
  6. data/lib/lithic/models/account_list_params.rb +3 -3
  7. data/lib/lithic/models/account_update_params.rb +10 -7
  8. data/lib/lithic/models/auth_rules/auth_rule.rb +6 -10
  9. data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -5
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +91 -8
  11. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +9 -1
  12. data/lib/lithic/models/auth_rules/v2_create_params.rb +12 -20
  13. data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -5
  14. data/lib/lithic/models/auth_rules/v2_list_results_params.rb +3 -3
  15. data/lib/lithic/models/book_transfer_list_params.rb +3 -3
  16. data/lib/lithic/models/card_bulk_order_list_params.rb +3 -3
  17. data/lib/lithic/models/card_list_params.rb +3 -3
  18. data/lib/lithic/models/cards/financial_transaction_list_params.rb +3 -3
  19. data/lib/lithic/models/dispute_list_evidences_params.rb +3 -3
  20. data/lib/lithic/models/dispute_list_params.rb +3 -3
  21. data/lib/lithic/models/event_list_attempts_params.rb +3 -3
  22. data/lib/lithic/models/event_list_params.rb +3 -3
  23. data/lib/lithic/models/events/subscription_list_attempts_params.rb +3 -3
  24. data/lib/lithic/models/events/subscription_recover_params.rb +3 -3
  25. data/lib/lithic/models/events/subscription_replay_missing_params.rb +3 -3
  26. data/lib/lithic/models/external_payment_list_params.rb +3 -3
  27. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +3 -3
  28. data/lib/lithic/models/financial_accounts/installment_plan.rb +33 -3
  29. data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +95 -15
  30. data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +3 -3
  31. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +3 -3
  32. data/lib/lithic/models/financial_accounts/statement_list_params.rb +3 -3
  33. data/lib/lithic/models/funding_event_list_params.rb +3 -3
  34. data/lib/lithic/models/hold_list_params.rb +3 -3
  35. data/lib/lithic/models/kyb.rb +2 -0
  36. data/lib/lithic/models/management_operation_create_params.rb +7 -19
  37. data/lib/lithic/models/management_operation_list_params.rb +3 -3
  38. data/lib/lithic/models/network_program_list_params.rb +3 -3
  39. data/lib/lithic/models/payment_list_params.rb +3 -3
  40. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +3 -3
  41. data/lib/lithic/models/three_ds_authentication.rb +12 -1
  42. data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +13 -1
  43. data/lib/lithic/models/tokenization.rb +44 -1
  44. data/lib/lithic/models/tokenization_list_params.rb +3 -2
  45. data/lib/lithic/models/transaction_list_params.rb +3 -3
  46. data/lib/lithic/models/transaction_monitoring/case_list_params.rb +3 -3
  47. data/lib/lithic/resources/account_activity.rb +1 -1
  48. data/lib/lithic/resources/account_holders.rb +1 -1
  49. data/lib/lithic/resources/accounts.rb +1 -1
  50. data/lib/lithic/resources/auth_rules/v2.rb +2 -2
  51. data/lib/lithic/resources/book_transfers.rb +1 -1
  52. data/lib/lithic/resources/card_bulk_orders.rb +1 -1
  53. data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
  54. data/lib/lithic/resources/cards.rb +1 -1
  55. data/lib/lithic/resources/disputes.rb +2 -2
  56. data/lib/lithic/resources/events/subscriptions.rb +7 -7
  57. data/lib/lithic/resources/events.rb +2 -2
  58. data/lib/lithic/resources/external_payments.rb +1 -1
  59. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
  60. data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +1 -1
  61. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
  62. data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
  63. data/lib/lithic/resources/funding_events.rb +1 -1
  64. data/lib/lithic/resources/holds.rb +1 -1
  65. data/lib/lithic/resources/management_operations.rb +3 -3
  66. data/lib/lithic/resources/network_programs.rb +1 -1
  67. data/lib/lithic/resources/payments.rb +1 -1
  68. data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
  69. data/lib/lithic/resources/tokenizations.rb +1 -1
  70. data/lib/lithic/resources/transaction_monitoring/cases.rb +1 -1
  71. data/lib/lithic/resources/transactions.rb +1 -1
  72. data/lib/lithic/version.rb +1 -1
  73. data/lib/lithic.rb +0 -1
  74. data/rbi/lithic/models/account_activity_list_params.rbi +4 -4
  75. data/rbi/lithic/models/account_holder_list_params.rbi +4 -4
  76. data/rbi/lithic/models/account_list_params.rbi +4 -4
  77. data/rbi/lithic/models/account_update_params.rbi +20 -14
  78. data/rbi/lithic/models/auth_rules/auth_rule.rbi +4 -8
  79. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -4
  80. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +200 -20
  81. data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +8 -0
  82. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +16 -32
  83. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -8
  84. data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +4 -4
  85. data/rbi/lithic/models/book_transfer_list_params.rbi +4 -4
  86. data/rbi/lithic/models/card_bulk_order_list_params.rbi +4 -4
  87. data/rbi/lithic/models/card_list_params.rbi +4 -4
  88. data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +4 -4
  89. data/rbi/lithic/models/dispute_list_evidences_params.rbi +4 -4
  90. data/rbi/lithic/models/dispute_list_params.rbi +4 -4
  91. data/rbi/lithic/models/event_list_attempts_params.rbi +4 -4
  92. data/rbi/lithic/models/event_list_params.rbi +4 -4
  93. data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +4 -4
  94. data/rbi/lithic/models/events/subscription_recover_params.rbi +4 -4
  95. data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +4 -4
  96. data/rbi/lithic/models/external_payment_list_params.rbi +4 -4
  97. data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +4 -4
  98. data/rbi/lithic/models/financial_accounts/installment_plan.rbi +40 -6
  99. data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +160 -24
  100. data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +4 -4
  101. data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +4 -4
  102. data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +4 -4
  103. data/rbi/lithic/models/funding_event_list_params.rbi +4 -4
  104. data/rbi/lithic/models/hold_list_params.rbi +4 -4
  105. data/rbi/lithic/models/kyb.rbi +4 -0
  106. data/rbi/lithic/models/management_operation_create_params.rbi +8 -82
  107. data/rbi/lithic/models/management_operation_list_params.rbi +4 -4
  108. data/rbi/lithic/models/network_program_list_params.rbi +4 -4
  109. data/rbi/lithic/models/payment_list_params.rbi +4 -4
  110. data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +4 -4
  111. data/rbi/lithic/models/three_ds_authentication.rbi +14 -0
  112. data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +10 -0
  113. data/rbi/lithic/models/tokenization.rbi +91 -3
  114. data/rbi/lithic/models/tokenization_list_params.rbi +7 -2
  115. data/rbi/lithic/models/transaction_list_params.rbi +4 -4
  116. data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +4 -4
  117. data/rbi/lithic/resources/account_activity.rbi +2 -2
  118. data/rbi/lithic/resources/account_holders.rbi +2 -2
  119. data/rbi/lithic/resources/accounts.rbi +12 -9
  120. data/rbi/lithic/resources/auth_rules/v2.rbi +3 -4
  121. data/rbi/lithic/resources/book_transfers.rbi +2 -2
  122. data/rbi/lithic/resources/card_bulk_orders.rbi +2 -2
  123. data/rbi/lithic/resources/cards/financial_transactions.rbi +2 -2
  124. data/rbi/lithic/resources/cards.rbi +2 -2
  125. data/rbi/lithic/resources/disputes.rbi +4 -4
  126. data/rbi/lithic/resources/events/subscriptions.rbi +10 -10
  127. data/rbi/lithic/resources/events.rbi +4 -4
  128. data/rbi/lithic/resources/external_payments.rbi +2 -2
  129. data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +2 -2
  130. data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +2 -2
  131. data/rbi/lithic/resources/financial_accounts/loan_tapes.rbi +2 -2
  132. data/rbi/lithic/resources/financial_accounts/statements.rbi +2 -2
  133. data/rbi/lithic/resources/funding_events.rbi +2 -2
  134. data/rbi/lithic/resources/holds.rbi +2 -2
  135. data/rbi/lithic/resources/management_operations.rbi +5 -3
  136. data/rbi/lithic/resources/network_programs.rbi +2 -2
  137. data/rbi/lithic/resources/payments.rbi +2 -2
  138. data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -2
  139. data/rbi/lithic/resources/tokenizations.rbi +1 -1
  140. data/rbi/lithic/resources/transaction_monitoring/cases.rbi +2 -2
  141. data/rbi/lithic/resources/transactions.rbi +2 -2
  142. data/sig/lithic/models/auth_rules/auth_rule.rbs +0 -2
  143. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +0 -1
  144. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +64 -5
  145. data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +5 -0
  146. data/sig/lithic/models/auth_rules/v2_create_params.rbs +0 -4
  147. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +0 -1
  148. data/sig/lithic/models/financial_accounts/installment_plan.rbs +25 -6
  149. data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +80 -21
  150. data/sig/lithic/models/management_operation_create_params.rbs +1 -33
  151. data/sig/lithic/models/three_ds_authentication.rbs +5 -0
  152. data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +5 -0
  153. data/sig/lithic/models/tokenization.rbs +47 -4
  154. data/sig/lithic/models/tokenization_list_params.rbs +3 -1
  155. metadata +1 -4
  156. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +0 -538
  157. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +0 -1161
  158. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +0 -278
@@ -77,6 +77,8 @@ module Lithic
77
77
  # 6-digit North American Industry Classification System (NAICS) code for the
78
78
  # business.
79
79
  #
80
+ # This parameter is required if workflow type is `KYB_BASIC`
81
+ #
80
82
  # @return [String, nil]
81
83
  optional :naics_code, String
82
84
 
@@ -28,6 +28,8 @@ module Lithic
28
28
  required :effective_date, Date
29
29
 
30
30
  # @!attribute event_type
31
+ # Type of management operation to create. To reverse an existing management
32
+ # operation, use the reverse management operation endpoint
31
33
  #
32
34
  # @return [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType]
33
35
  required :event_type, enum: -> { Lithic::ManagementOperationCreateParams::EventType }
@@ -38,7 +40,7 @@ module Lithic
38
40
  required :financial_account_token, String
39
41
 
40
42
  # @!attribute token
41
- # Customer-provided token that will serve as an idempotency token. This token will
43
+ # Client-provided token that will serve as an idempotency token. This token will
42
44
  # become the transaction token.
43
45
  #
44
46
  # @return [String, nil]
@@ -77,11 +79,11 @@ module Lithic
77
79
  #
78
80
  # @param effective_date [Date]
79
81
  #
80
- # @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType]
82
+ # @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType] Type of management operation to create. To reverse an existing management operat
81
83
  #
82
84
  # @param financial_account_token [String]
83
85
  #
84
- # @param token [String] Customer-provided token that will serve as an idempotency token. This token will
86
+ # @param token [String] Client-provided token that will serve as an idempotency token. This token will b
85
87
  #
86
88
  # @param memo [String]
87
89
  #
@@ -116,38 +118,24 @@ module Lithic
116
118
  # @return [Array<Symbol>]
117
119
  end
118
120
 
121
+ # Type of management operation to create. To reverse an existing management
122
+ # operation, use the reverse management operation endpoint
119
123
  module EventType
120
124
  extend Lithic::Internal::Type::Enum
121
125
 
122
- LOSS_WRITE_OFF = :LOSS_WRITE_OFF
123
126
  CASH_BACK = :CASH_BACK
124
- CASH_BACK_REVERSAL = :CASH_BACK_REVERSAL
125
127
  CURRENCY_CONVERSION = :CURRENCY_CONVERSION
126
- CURRENCY_CONVERSION_REVERSAL = :CURRENCY_CONVERSION_REVERSAL
127
- INTEREST = :INTEREST
128
- INTEREST_REVERSAL = :INTEREST_REVERSAL
129
128
  INSTALLMENT_FEE = :INSTALLMENT_FEE
130
- INSTALLMENT_FEE_REVERSAL = :INSTALLMENT_FEE_REVERSAL
131
129
  LATE_PAYMENT = :LATE_PAYMENT
132
- LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
133
130
  BILLING_ERROR = :BILLING_ERROR
134
- BILLING_ERROR_REVERSAL = :BILLING_ERROR_REVERSAL
135
131
  PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
136
- PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
137
132
  RETURNED_PAYMENT = :RETURNED_PAYMENT
138
- RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
139
133
  DISPUTE_WON = :DISPUTE_WON
140
- DISPUTE_WON_REVERSAL = :DISPUTE_WON_REVERSAL
141
134
  DISBURSE = :DISBURSE
142
- DISBURSE_REVERSAL = :DISBURSE_REVERSAL
143
135
  ANNUAL = :ANNUAL
144
- ANNUAL_REVERSAL = :ANNUAL_REVERSAL
145
136
  QUARTERLY = :QUARTERLY
146
- QUARTERLY_REVERSAL = :QUARTERLY_REVERSAL
147
137
  MONTHLY = :MONTHLY
148
- MONTHLY_REVERSAL = :MONTHLY_REVERSAL
149
138
  FEE = :FEE
150
- FEE_REVERSAL = :FEE_REVERSAL
151
139
 
152
140
  # @!method self.values
153
141
  # @return [Array<Symbol>]
@@ -8,8 +8,8 @@ module Lithic
8
8
  include Lithic::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute begin_
11
- # Date string in RFC 3339 format. Only entries created after the specified time
12
- # will be included. UTC time zone.
11
+ # Date string in RFC 3339 format. Only entries created on or after the specified
12
+ # time will be included. UTC time zone.
13
13
  #
14
14
  # @return [Time, nil]
15
15
  optional :begin_, Time
@@ -69,7 +69,7 @@ module Lithic
69
69
  # Some parameter documentations has been truncated, see
70
70
  # {Lithic::Models::ManagementOperationListParams} for more details.
71
71
  #
72
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
72
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
73
73
  #
74
74
  # @param business_account_token [String]
75
75
  #
@@ -8,8 +8,8 @@ module Lithic
8
8
  include Lithic::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute begin_
11
- # Date string in RFC 3339 format. Only entries created after the specified time
12
- # will be included. UTC time zone.
11
+ # Date string in RFC 3339 format. Only entries created on or after the specified
12
+ # time will be included. UTC time zone.
13
13
  #
14
14
  # @return [Time, nil]
15
15
  optional :begin_, Time
@@ -31,7 +31,7 @@ module Lithic
31
31
  # Some parameter documentations has been truncated, see
32
32
  # {Lithic::Models::NetworkProgramListParams} for more details.
33
33
  #
34
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
34
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
35
35
  #
36
36
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
37
37
  #
@@ -13,8 +13,8 @@ module Lithic
13
13
  optional :account_token, String
14
14
 
15
15
  # @!attribute begin_
16
- # Date string in RFC 3339 format. Only entries created after the specified time
17
- # will be included. UTC time zone.
16
+ # Date string in RFC 3339 format. Only entries created on or after the specified
17
+ # time will be included. UTC time zone.
18
18
  #
19
19
  # @return [Time, nil]
20
20
  optional :begin_, Time
@@ -77,7 +77,7 @@ module Lithic
77
77
  #
78
78
  # @param account_token [String]
79
79
  #
80
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
80
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
81
81
  #
82
82
  # @param business_account_token [String]
83
83
  #
@@ -10,8 +10,8 @@ module Lithic
10
10
  include Lithic::Internal::Type::RequestParameters
11
11
 
12
12
  # @!attribute begin_
13
- # Datetime in RFC 3339 format. Only entries created after the specified time will
14
- # be included. UTC time zone.
13
+ # Datetime in RFC 3339 format. Only entries created on or after the specified time
14
+ # will be included. UTC time zone.
15
15
  #
16
16
  # @return [Time, nil]
17
17
  optional :begin_, Time
@@ -84,7 +84,7 @@ module Lithic
84
84
  # Some parameter documentations has been truncated, see
85
85
  # {Lithic::Models::Reports::Settlement::NetworkTotalListParams} for more details.
86
86
  #
87
- # @param begin_ [Time] Datetime in RFC 3339 format. Only entries created after the specified time will
87
+ # @param begin_ [Time] Datetime in RFC 3339 format. Only entries created on or after the specified time
88
88
  #
89
89
  # @param end_ [Time] Datetime in RFC 3339 format. Only entries created before the specified time will
90
90
  #
@@ -88,6 +88,15 @@ module Lithic
88
88
  required :three_ds_requestor_challenge_indicator,
89
89
  enum: -> { Lithic::ThreeDSAuthentication::ThreeDSRequestorChallengeIndicator }
90
90
 
91
+ # @!attribute updated
92
+ # Date and time when the authentication was last updated in Lithic's system. Equal
93
+ # to `created` until the authentication is updated (e.g. a challenge is
94
+ # completed). Permitted values: Date string in the ISO 8601 format
95
+ # yyyy-MM-dd'T'hh:mm:ssZ.
96
+ #
97
+ # @return [Time]
98
+ required :updated, Time
99
+
91
100
  # @!attribute additional_data
92
101
  # Object containing additional data about the 3DS request that is beyond the EMV
93
102
  # 3DS standard spec (e.g., specific fields that only certain card networks send
@@ -172,7 +181,7 @@ module Lithic
172
181
  # @return [Lithic::Models::ThreeDSAuthentication::Transaction, nil]
173
182
  optional :transaction, -> { Lithic::ThreeDSAuthentication::Transaction }, nil?: true
174
183
 
175
- # @!method initialize(token:, account_type:, authentication_result:, card_expiry_check:, card_token:, cardholder:, channel:, created:, merchant:, message_category:, three_ds_requestor_challenge_indicator:, additional_data: nil, app: nil, authentication_request_type: nil, browser: nil, challenge_metadata: nil, challenge_orchestrated_by: nil, decision_made_by: nil, psd2_context: nil, three_ri_request_type: nil, transaction: nil)
184
+ # @!method initialize(token:, account_type:, authentication_result:, card_expiry_check:, card_token:, cardholder:, channel:, created:, merchant:, message_category:, three_ds_requestor_challenge_indicator:, updated:, additional_data: nil, app: nil, authentication_request_type: nil, browser: nil, challenge_metadata: nil, challenge_orchestrated_by: nil, decision_made_by: nil, psd2_context: nil, three_ri_request_type: nil, transaction: nil)
176
185
  # Some parameter documentations has been truncated, see
177
186
  # {Lithic::Models::ThreeDSAuthentication} for more details.
178
187
  #
@@ -200,6 +209,8 @@ module Lithic
200
209
  #
201
210
  # @param three_ds_requestor_challenge_indicator [Symbol, Lithic::Models::ThreeDSAuthentication::ThreeDSRequestorChallengeIndicator] Indicates whether a challenge is requested for this transaction
202
211
  #
212
+ # @param updated [Time] Date and time when the authentication was last updated in Lithic's system. Equal
213
+ #
203
214
  # @param additional_data [Lithic::Models::ThreeDSAuthentication::AdditionalData, nil] Object containing additional data about the 3DS request that is beyond the EMV 3
204
215
  #
205
216
  # @param app [Lithic::Models::ThreeDSAuthentication::App, nil] Object containing data about the app used in the e-commerce transaction. Present
@@ -15,16 +15,28 @@ module Lithic
15
15
  # @return [Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge]
16
16
  required :challenge, -> { Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge }
17
17
 
18
+ # @!attribute created
19
+ # Date and time when the challenge event was emitted. Permitted values: Date
20
+ # string in the ISO 8601 format yyyy-MM-dd'T'hh:mm:ssZ.
21
+ #
22
+ # @return [Time]
23
+ required :created, Time
24
+
18
25
  # @!attribute event_type
19
26
  #
20
27
  # @return [Symbol, :"three_ds_authentication.challenge"]
21
28
  required :event_type, const: :"three_ds_authentication.challenge"
22
29
 
23
- # @!method initialize(authentication_object:, challenge:, event_type: :"three_ds_authentication.challenge")
30
+ # @!method initialize(authentication_object:, challenge:, created:, event_type: :"three_ds_authentication.challenge")
31
+ # Some parameter documentations has been truncated, see
32
+ # {Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent} for more details.
33
+ #
24
34
  # @param authentication_object [Lithic::Models::ThreeDSAuthentication] Represents a 3DS authentication
25
35
  #
26
36
  # @param challenge [Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge] Represents a challenge object for 3DS authentication
27
37
  #
38
+ # @param created [Time] Date and time when the challenge event was emitted. Permitted values: Date strin
39
+ #
28
40
  # @param event_type [Symbol, :"three_ds_authentication.challenge"]
29
41
 
30
42
  # @see Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent#challenge
@@ -93,7 +93,15 @@ module Lithic
93
93
  # @return [String, nil]
94
94
  optional :payment_account_reference_id, String, nil?: true
95
95
 
96
- # @!method initialize(token:, account_token:, card_token:, created_at:, dpan:, status:, token_requestor_name:, token_unique_reference:, tokenization_channel:, updated_at:, device_id: nil, digital_card_art_token: nil, events: nil, payment_account_reference_id: nil)
96
+ # @!attribute tfa_methods
97
+ # Available authentication methods for an agent tokenization pending two-factor
98
+ # authentication. Empty when no methods are available or authentication is no
99
+ # longer pending
100
+ #
101
+ # @return [Array<Lithic::Models::Tokenization::TfaMethod>, nil]
102
+ optional :tfa_methods, -> { Lithic::Internal::Type::ArrayOf[Lithic::Tokenization::TfaMethod] }
103
+
104
+ # @!method initialize(token:, account_token:, card_token:, created_at:, dpan:, status:, token_requestor_name:, token_unique_reference:, tokenization_channel:, updated_at:, device_id: nil, digital_card_art_token: nil, events: nil, payment_account_reference_id: nil, tfa_methods: nil)
97
105
  # Some parameter documentations has been truncated, see
98
106
  # {Lithic::Models::Tokenization} for more details.
99
107
  #
@@ -124,6 +132,8 @@ module Lithic
124
132
  # @param events [Array<Lithic::Models::Tokenization::Event>] A list of events related to the tokenization.
125
133
  #
126
134
  # @param payment_account_reference_id [String, nil] The network's unique reference for the card that is tokenized.
135
+ #
136
+ # @param tfa_methods [Array<Lithic::Models::Tokenization::TfaMethod>] Available authentication methods for an agent tokenization pending two-factor au
127
137
 
128
138
  # The status of the tokenization request
129
139
  #
@@ -211,6 +221,7 @@ module Lithic
211
221
 
212
222
  DIGITAL_WALLET = :DIGITAL_WALLET
213
223
  MERCHANT = :MERCHANT
224
+ AGENT_PAY = :AGENT_PAY
214
225
 
215
226
  # @!method self.values
216
227
  # @return [Array<Symbol>]
@@ -315,6 +326,38 @@ module Lithic
315
326
  # @return [Array<Symbol>]
316
327
  end
317
328
  end
329
+
330
+ class TfaMethod < Lithic::Internal::Type::BaseModel
331
+ # @!attribute destination
332
+ # Destination for the authentication code, as provided by the card network
333
+ #
334
+ # @return [String]
335
+ required :destination, String
336
+
337
+ # @!attribute method_
338
+ # Method used to deliver the one-time authentication code
339
+ #
340
+ # @return [Symbol, Lithic::Models::Tokenization::TfaMethod::Method]
341
+ required :method_, enum: -> { Lithic::Tokenization::TfaMethod::Method }, api_name: :method
342
+
343
+ # @!method initialize(destination:, method_:)
344
+ # @param destination [String] Destination for the authentication code, as provided by the card network
345
+ #
346
+ # @param method_ [Symbol, Lithic::Models::Tokenization::TfaMethod::Method] Method used to deliver the one-time authentication code
347
+
348
+ # Method used to deliver the one-time authentication code
349
+ #
350
+ # @see Lithic::Models::Tokenization::TfaMethod#method_
351
+ module Method
352
+ extend Lithic::Internal::Type::Enum
353
+
354
+ SMS = :SMS
355
+ EMAIL = :EMAIL
356
+
357
+ # @!method self.values
358
+ # @return [Array<Symbol>]
359
+ end
360
+ end
318
361
  end
319
362
  end
320
363
  end
@@ -14,7 +14,7 @@ module Lithic
14
14
  optional :account_token, String
15
15
 
16
16
  # @!attribute begin_
17
- # Filter for tokenizations created after this date.
17
+ # Filter for tokenizations created on or after this date.
18
18
  #
19
19
  # @return [Date, nil]
20
20
  optional :begin_, Date
@@ -64,7 +64,7 @@ module Lithic
64
64
  #
65
65
  # @param account_token [String] Filters for tokenizations associated with a specific account.
66
66
  #
67
- # @param begin_ [Date] Filter for tokenizations created after this date.
67
+ # @param begin_ [Date] Filter for tokenizations created on or after this date.
68
68
  #
69
69
  # @param card_token [String] Filters for tokenizations associated with a specific card.
70
70
  #
@@ -87,6 +87,7 @@ module Lithic
87
87
 
88
88
  DIGITAL_WALLET = :DIGITAL_WALLET
89
89
  MERCHANT = :MERCHANT
90
+ AGENT_PAY = :AGENT_PAY
90
91
  ALL = :ALL
91
92
 
92
93
  # @!method self.values
@@ -14,8 +14,8 @@ module Lithic
14
14
  optional :account_token, String
15
15
 
16
16
  # @!attribute begin_
17
- # Date string in RFC 3339 format. Only entries created after the specified time
18
- # will be included. UTC time zone.
17
+ # Date string in RFC 3339 format. Only entries created on or after the specified
18
+ # time will be included. UTC time zone.
19
19
  #
20
20
  # @return [Time, nil]
21
21
  optional :begin_, Time
@@ -72,7 +72,7 @@ module Lithic
72
72
  #
73
73
  # @param account_token [String] Filters for transactions associated with a specific account.
74
74
  #
75
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
75
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
76
76
  #
77
77
  # @param card_token [String] Filters for transactions associated with a specific card.
78
78
  #
@@ -22,8 +22,8 @@ module Lithic
22
22
  optional :assignee, String
23
23
 
24
24
  # @!attribute begin_
25
- # Date string in RFC 3339 format. Only entries created after the specified time
26
- # will be included. UTC time zone.
25
+ # Date string in RFC 3339 format. Only entries created on or after the specified
26
+ # time will be included. UTC time zone.
27
27
  #
28
28
  # @return [Time, nil]
29
29
  optional :begin_, Time
@@ -107,7 +107,7 @@ module Lithic
107
107
  #
108
108
  # @param assignee [String] Only return cases assigned to the provided value. Pass an empty string to return
109
109
  #
110
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
110
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
111
111
  #
112
112
  # @param card_token [String] Only return cases that include transactions on the provided card.
113
113
  #
@@ -12,7 +12,7 @@ module Lithic
12
12
  #
13
13
  # @param account_token [String] Filter by account token
14
14
  #
15
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
15
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
16
16
  #
17
17
  # @param business_account_token [String] Filter by business account token
18
18
  #
@@ -96,7 +96,7 @@ module Lithic
96
96
  #
97
97
  # @overload list(begin_: nil, email: nil, end_: nil, ending_before: nil, external_id: nil, first_name: nil, last_name: nil, legal_business_name: nil, limit: nil, phone_number: nil, starting_after: nil, request_options: {})
98
98
  #
99
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
99
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
100
100
  #
101
101
  # @param email [String] Email address of the account holder. The query must be an exact match, case inse
102
102
  #
@@ -71,7 +71,7 @@ module Lithic
71
71
  #
72
72
  # @overload list(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
73
73
  #
74
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
74
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
75
75
  #
76
76
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
77
77
  #
@@ -150,7 +150,7 @@ module Lithic
150
150
  #
151
151
  # @param auth_rule_token [String]
152
152
  #
153
- # @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil] Parameters for the Auth Rule
153
+ # @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, nil] Parameters for the Auth Rule
154
154
  #
155
155
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
156
156
  #
@@ -183,7 +183,7 @@ module Lithic
183
183
  #
184
184
  # @param auth_rule_token [String] Filter by Auth Rule token
185
185
  #
186
- # @param begin_ [Time] Date string in RFC 3339 format. Only events evaluated after the specified time w
186
+ # @param begin_ [Time] Date string in RFC 3339 format. Only events evaluated on or after the specified
187
187
  #
188
188
  # @param end_ [Time] Date string in RFC 3339 format. Only events evaluated before the specified time
189
189
  #
@@ -78,7 +78,7 @@ module Lithic
78
78
  #
79
79
  # @param account_token [String]
80
80
  #
81
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
81
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
82
82
  #
83
83
  # @param business_account_token [String]
84
84
  #
@@ -88,7 +88,7 @@ module Lithic
88
88
  #
89
89
  # @overload list(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
90
90
  #
91
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
91
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
92
92
  #
93
93
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
94
94
  #
@@ -40,7 +40,7 @@ module Lithic
40
40
  #
41
41
  # @param card_token [String]
42
42
  #
43
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
43
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
44
44
  #
45
45
  # @param category [Symbol, Lithic::Models::Cards::FinancialTransactionListParams::Category] Financial Transaction category to be returned.
46
46
  #
@@ -158,7 +158,7 @@ module Lithic
158
158
  #
159
159
  # @param account_token [String] Returns cards associated with the specified account.
160
160
  #
161
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
161
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
162
162
  #
163
163
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
164
164
  #
@@ -89,7 +89,7 @@ module Lithic
89
89
  #
90
90
  # @overload list(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, status: nil, transaction_tokens: nil, request_options: {})
91
91
  #
92
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
92
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
93
93
  #
94
94
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
95
95
  #
@@ -203,7 +203,7 @@ module Lithic
203
203
  #
204
204
  # @param dispute_token [String]
205
205
  #
206
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
206
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
207
207
  #
208
208
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
209
209
  #
@@ -146,7 +146,7 @@ module Lithic
146
146
  #
147
147
  # @param event_subscription_token [String]
148
148
  #
149
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
149
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
150
150
  #
151
151
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
152
152
  #
@@ -185,7 +185,7 @@ module Lithic
185
185
  #
186
186
  # @param event_subscription_token [String]
187
187
  #
188
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
188
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
189
189
  #
190
190
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
191
191
  #
@@ -209,17 +209,17 @@ module Lithic
209
209
  # Some parameter documentations has been truncated, see
210
210
  # {Lithic::Models::Events::SubscriptionReplayMissingParams} for more details.
211
211
  #
212
- # Replays messages to the endpoint. Only messages that were created after `begin`
213
- # will be sent. Messages that were previously sent to the endpoint are not resent.
214
- # Message will be retried if endpoint responds with a non-2xx status code. See
215
- # [Retry Schedule](https://docs.lithic.com/docs/events-api#retry-schedule) for
212
+ # Replays messages to the endpoint. Only messages that were created on or after
213
+ # `begin` will be sent. Messages that were previously sent to the endpoint are not
214
+ # resent. Message will be retried if endpoint responds with a non-2xx status code.
215
+ # See [Retry Schedule](https://docs.lithic.com/docs/events-api#retry-schedule) for
216
216
  # details.
217
217
  #
218
218
  # @overload replay_missing(event_subscription_token, begin_: nil, end_: nil, request_options: {})
219
219
  #
220
220
  # @param event_subscription_token [String]
221
221
  #
222
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
222
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
223
223
  #
224
224
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
225
225
  #
@@ -35,7 +35,7 @@ module Lithic
35
35
  #
36
36
  # @overload list(begin_: nil, end_: nil, ending_before: nil, event_types: nil, page_size: nil, starting_after: nil, with_content: nil, request_options: {})
37
37
  #
38
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
38
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
39
39
  #
40
40
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
41
41
  #
@@ -76,7 +76,7 @@ module Lithic
76
76
  #
77
77
  # @param event_token [String]
78
78
  #
79
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
79
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
80
80
  #
81
81
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
82
82
  #
@@ -71,7 +71,7 @@ module Lithic
71
71
  #
72
72
  # @overload list(begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
73
73
  #
74
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
74
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
75
75
  #
76
76
  # @param business_account_token [String]
77
77
  #
@@ -45,7 +45,7 @@ module Lithic
45
45
  #
46
46
  # @param financial_account_token [String] Globally unique identifier for financial account.
47
47
  #
48
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
48
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
49
49
  #
50
50
  # @param category [Symbol, Lithic::Models::FinancialAccounts::FinancialTransactionListParams::Category] Financial Transaction category to be returned.
51
51
  #
@@ -56,7 +56,7 @@ module Lithic
56
56
  #
57
57
  # @param financial_account_token [String] Path param: Globally unique identifier for financial account.
58
58
  #
59
- # @param begin_ [Date] Query param: Date string in RFC 3339 format. Only entries created after the spec
59
+ # @param begin_ [Date] Query param: Date string in RFC 3339 format. Only entries created on or after th
60
60
  #
61
61
  # @param end_ [Date] Query param: Date string in RFC 3339 format. Only entries created before the spe
62
62
  #
@@ -40,7 +40,7 @@ module Lithic
40
40
  #
41
41
  # @param financial_account_token [String] Globally unique identifier for financial account.
42
42
  #
43
- # @param begin_ [Date] Date string in RFC 3339 format. Only entries created after the specified date wi
43
+ # @param begin_ [Date] Date string in RFC 3339 format. Only entries created on or after the specified d
44
44
  #
45
45
  # @param end_ [Date] Date string in RFC 3339 format. Only entries created before the specified date w
46
46
  #
@@ -43,7 +43,7 @@ module Lithic
43
43
  #
44
44
  # @param financial_account_token [String] Globally unique identifier for financial account.
45
45
  #
46
- # @param begin_ [Date] Date string in RFC 3339 format. Only entries created after the specified date wi
46
+ # @param begin_ [Date] Date string in RFC 3339 format. Only entries created on or after the specified d
47
47
  #
48
48
  # @param end_ [Date] Date string in RFC 3339 format. Only entries created before the specified date w
49
49
  #
@@ -30,7 +30,7 @@ module Lithic
30
30
  #
31
31
  # @overload list(begin_: nil, end_: nil, ending_before: nil, network_settlement_date: nil, page_size: nil, starting_after: nil, request_options: {})
32
32
  #
33
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
33
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
34
34
  #
35
35
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
36
36
  #
@@ -66,7 +66,7 @@ module Lithic
66
66
  #
67
67
  # @param financial_account_token [String] Globally unique identifier for the financial account.
68
68
  #
69
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
69
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
70
70
  #
71
71
  # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
72
72
  #
@@ -18,11 +18,11 @@ module Lithic
18
18
  #
19
19
  # @param effective_date [Date]
20
20
  #
21
- # @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType]
21
+ # @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType] Type of management operation to create. To reverse an existing management operat
22
22
  #
23
23
  # @param financial_account_token [String]
24
24
  #
25
- # @param token [String] Customer-provided token that will serve as an idempotency token. This token will
25
+ # @param token [String] Client-provided token that will serve as an idempotency token. This token will b
26
26
  #
27
27
  # @param memo [String]
28
28
  #
@@ -75,7 +75,7 @@ module Lithic
75
75
  #
76
76
  # @overload list(begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
77
77
  #
78
- # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
78
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created on or after the specified t
79
79
  #
80
80
  # @param business_account_token [String]
81
81
  #