lithic 0.10.0 → 0.12.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +49 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +22 -7
- data/lib/lithic/models/auth_rules/backtest_stats.rb +9 -1
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +158 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +46 -81
- data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +36 -4
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +4 -531
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +17 -26
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
- data/lib/lithic/models/card_bulk_order.rb +8 -3
- data/lib/lithic/models/card_bulk_order_create_params.rb +8 -3
- data/lib/lithic/models/card_convert_physical_params.rb +5 -3
- data/lib/lithic/models/card_create_params.rb +5 -3
- data/lib/lithic/models/card_reissue_params.rb +5 -3
- data/lib/lithic/models/card_renew_params.rb +5 -3
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statement.rb +11 -4
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment_create_params.rb +13 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/card_bulk_orders.rb +10 -11
- data/lib/lithic/resources/external_bank_accounts.rb +31 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/internal/util.rbi +8 -0
- data/rbi/lithic/models/auth_rules/backtest_stats.rbi +11 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +370 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +73 -177
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +38 -6
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +3 -1721
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +23 -78
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
- data/rbi/lithic/models/card_bulk_order.rbi +21 -3
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +21 -3
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -5
- data/rbi/lithic/models/card_create_params.rbi +8 -8
- data/rbi/lithic/models/card_reissue_params.rbi +8 -8
- data/rbi/lithic/models/card_renew_params.rbi +8 -8
- data/rbi/lithic/models/event.rbi +11 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +15 -6
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment_create_params.rbi +13 -3
- data/rbi/lithic/models.rbi +6 -0
- data/rbi/lithic/resources/card_bulk_orders.rbi +11 -11
- data/rbi/lithic/resources/cards.rbi +8 -4
- data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/internal/util.rbs +4 -0
- data/sig/lithic/models/auth_rules/backtest_stats.rbs +8 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +93 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +34 -70
- data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +29 -9
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +4 -667
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +14 -41
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
- data/sig/lithic/models/card_bulk_order.rbs +5 -1
- data/sig/lithic/models/card_bulk_order_create_params.rbs +5 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_create_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_set_verification_method_params.rbs +51 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +16 -7
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment_create_params.rbs +8 -3
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +8 -2
|
@@ -334,7 +334,6 @@ module Lithic
|
|
|
334
334
|
type card =
|
|
335
335
|
{
|
|
336
336
|
token: String,
|
|
337
|
-
hostname: String,
|
|
338
337
|
last_four: String,
|
|
339
338
|
memo: String,
|
|
340
339
|
spend_limit: Integer,
|
|
@@ -344,58 +343,32 @@ module Lithic
|
|
|
344
343
|
}
|
|
345
344
|
|
|
346
345
|
class Card < Lithic::Internal::Type::BaseModel
|
|
347
|
-
|
|
346
|
+
attr_accessor token: String
|
|
348
347
|
|
|
349
|
-
|
|
348
|
+
attr_accessor last_four: String
|
|
350
349
|
|
|
351
|
-
|
|
350
|
+
attr_accessor memo: String
|
|
352
351
|
|
|
353
|
-
|
|
352
|
+
attr_accessor spend_limit: Integer
|
|
354
353
|
|
|
355
|
-
|
|
354
|
+
attr_accessor spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration
|
|
356
355
|
|
|
357
|
-
|
|
356
|
+
attr_accessor state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state
|
|
358
357
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
def memo=: (String) -> String
|
|
362
|
-
|
|
363
|
-
attr_reader spend_limit: Integer?
|
|
364
|
-
|
|
365
|
-
def spend_limit=: (Integer) -> Integer
|
|
366
|
-
|
|
367
|
-
attr_reader spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration?
|
|
368
|
-
|
|
369
|
-
def spend_limit_duration=: (
|
|
370
|
-
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration
|
|
371
|
-
) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration
|
|
372
|
-
|
|
373
|
-
attr_reader state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state?
|
|
374
|
-
|
|
375
|
-
def state=: (
|
|
376
|
-
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state
|
|
377
|
-
) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state
|
|
378
|
-
|
|
379
|
-
attr_reader type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_?
|
|
380
|
-
|
|
381
|
-
def type=: (
|
|
382
|
-
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
|
|
383
|
-
) -> Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
|
|
358
|
+
attr_accessor type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
|
|
384
359
|
|
|
385
360
|
def initialize: (
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
?type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
|
|
361
|
+
token: String,
|
|
362
|
+
last_four: String,
|
|
363
|
+
memo: String,
|
|
364
|
+
spend_limit: Integer,
|
|
365
|
+
spend_limit_duration: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::spend_limit_duration,
|
|
366
|
+
state: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::state,
|
|
367
|
+
type: Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent::Card::type_
|
|
394
368
|
) -> void
|
|
395
369
|
|
|
396
370
|
def to_hash: -> {
|
|
397
371
|
token: String,
|
|
398
|
-
hostname: String,
|
|
399
372
|
last_four: String,
|
|
400
373
|
memo: String,
|
|
401
374
|
spend_limit: Integer,
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_authorization_challenge_response_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
card_token: String?,
|
|
6
|
+
challenge_method: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method,
|
|
7
|
+
completed: Time?,
|
|
8
|
+
created: Time,
|
|
9
|
+
event_token: String,
|
|
10
|
+
event_type: :"card_authorization.challenge_response",
|
|
11
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::response,
|
|
12
|
+
transaction_token: String?
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class CardAuthorizationChallengeResponseWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor card_token: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor challenge_method: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method
|
|
19
|
+
|
|
20
|
+
attr_accessor completed: Time?
|
|
21
|
+
|
|
22
|
+
attr_accessor created: Time
|
|
23
|
+
|
|
24
|
+
attr_accessor event_token: String
|
|
25
|
+
|
|
26
|
+
attr_accessor event_type: :"card_authorization.challenge_response"
|
|
27
|
+
|
|
28
|
+
attr_accessor response: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::response
|
|
29
|
+
|
|
30
|
+
attr_accessor transaction_token: String?
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
card_token: String?,
|
|
34
|
+
challenge_method: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method,
|
|
35
|
+
completed: Time?,
|
|
36
|
+
created: Time,
|
|
37
|
+
event_token: String,
|
|
38
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::response,
|
|
39
|
+
transaction_token: String?,
|
|
40
|
+
?event_type: :"card_authorization.challenge_response"
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
card_token: String?,
|
|
45
|
+
challenge_method: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method,
|
|
46
|
+
completed: Time?,
|
|
47
|
+
created: Time,
|
|
48
|
+
event_token: String,
|
|
49
|
+
event_type: :"card_authorization.challenge_response",
|
|
50
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::response,
|
|
51
|
+
transaction_token: String?
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type challenge_method = :SMS
|
|
55
|
+
|
|
56
|
+
module ChallengeMethod
|
|
57
|
+
extend Lithic::Internal::Type::Enum
|
|
58
|
+
|
|
59
|
+
SMS: :SMS
|
|
60
|
+
|
|
61
|
+
def self?.values: -> ::Array[Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
type response = :APPROVE | :DECLINE
|
|
65
|
+
|
|
66
|
+
module Response
|
|
67
|
+
extend Lithic::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
APPROVE: :APPROVE
|
|
70
|
+
DECLINE: :DECLINE
|
|
71
|
+
|
|
72
|
+
def self?.values: -> ::Array[Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::response]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -51,12 +51,16 @@ module Lithic
|
|
|
51
51
|
updated: Time
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
type shipping_method =
|
|
54
|
+
type shipping_method =
|
|
55
|
+
:BULK_EXPEDITED | :BULK_PRIORITY | :BULK_2_DAY | :BULK_EXPRESS
|
|
55
56
|
|
|
56
57
|
module ShippingMethod
|
|
57
58
|
extend Lithic::Internal::Type::Enum
|
|
58
59
|
|
|
59
60
|
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
61
|
+
BULK_PRIORITY: :BULK_PRIORITY
|
|
62
|
+
BULK_2_DAY: :BULK_2_DAY
|
|
63
|
+
BULK_EXPRESS: :BULK_EXPRESS
|
|
60
64
|
|
|
61
65
|
def self?.values: -> ::Array[Lithic::Models::CardBulkOrder::shipping_method]
|
|
62
66
|
end
|
|
@@ -32,12 +32,16 @@ module Lithic
|
|
|
32
32
|
request_options: Lithic::RequestOptions
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
type shipping_method =
|
|
35
|
+
type shipping_method =
|
|
36
|
+
:BULK_EXPEDITED | :BULK_PRIORITY | :BULK_2_DAY | :BULK_EXPRESS
|
|
36
37
|
|
|
37
38
|
module ShippingMethod
|
|
38
39
|
extend Lithic::Internal::Type::Enum
|
|
39
40
|
|
|
40
41
|
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
42
|
+
BULK_PRIORITY: :BULK_PRIORITY
|
|
43
|
+
BULK_2_DAY: :BULK_2_DAY
|
|
44
|
+
BULK_EXPRESS: :BULK_EXPRESS
|
|
41
45
|
|
|
42
46
|
def self?.values: -> ::Array[Lithic::Models::CardBulkOrderCreateParams::shipping_method]
|
|
43
47
|
end
|
|
@@ -52,7 +52,7 @@ module Lithic
|
|
|
52
52
|
|
|
53
53
|
type shipping_method =
|
|
54
54
|
:"2_DAY"
|
|
55
|
-
| :
|
|
55
|
+
| :BULK
|
|
56
56
|
| :EXPEDITED
|
|
57
57
|
| :EXPRESS
|
|
58
58
|
| :PRIORITY
|
|
@@ -63,7 +63,7 @@ module Lithic
|
|
|
63
63
|
extend Lithic::Internal::Type::Enum
|
|
64
64
|
|
|
65
65
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
66
|
-
|
|
66
|
+
BULK: :BULK
|
|
67
67
|
EXPEDITED: :EXPEDITED
|
|
68
68
|
EXPRESS: :EXPRESS
|
|
69
69
|
PRIORITY: :PRIORITY
|
|
@@ -226,7 +226,7 @@ module Lithic
|
|
|
226
226
|
|
|
227
227
|
type shipping_method =
|
|
228
228
|
:"2_DAY"
|
|
229
|
-
| :
|
|
229
|
+
| :BULK
|
|
230
230
|
| :EXPEDITED
|
|
231
231
|
| :EXPRESS
|
|
232
232
|
| :PRIORITY
|
|
@@ -237,7 +237,7 @@ module Lithic
|
|
|
237
237
|
extend Lithic::Internal::Type::Enum
|
|
238
238
|
|
|
239
239
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
240
|
-
|
|
240
|
+
BULK: :BULK
|
|
241
241
|
EXPEDITED: :EXPEDITED
|
|
242
242
|
EXPRESS: :EXPRESS
|
|
243
243
|
PRIORITY: :PRIORITY
|
|
@@ -56,7 +56,7 @@ module Lithic
|
|
|
56
56
|
|
|
57
57
|
type shipping_method =
|
|
58
58
|
:"2_DAY"
|
|
59
|
-
| :
|
|
59
|
+
| :BULK
|
|
60
60
|
| :EXPEDITED
|
|
61
61
|
| :EXPRESS
|
|
62
62
|
| :PRIORITY
|
|
@@ -67,7 +67,7 @@ module Lithic
|
|
|
67
67
|
extend Lithic::Internal::Type::Enum
|
|
68
68
|
|
|
69
69
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
70
|
-
|
|
70
|
+
BULK: :BULK
|
|
71
71
|
EXPEDITED: :EXPEDITED
|
|
72
72
|
EXPRESS: :EXPRESS
|
|
73
73
|
PRIORITY: :PRIORITY
|
|
@@ -66,7 +66,7 @@ module Lithic
|
|
|
66
66
|
|
|
67
67
|
type shipping_method =
|
|
68
68
|
:"2_DAY"
|
|
69
|
-
| :
|
|
69
|
+
| :BULK
|
|
70
70
|
| :EXPEDITED
|
|
71
71
|
| :EXPRESS
|
|
72
72
|
| :PRIORITY
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
extend Lithic::Internal::Type::Enum
|
|
78
78
|
|
|
79
79
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
80
|
-
|
|
80
|
+
BULK: :BULK
|
|
81
81
|
EXPEDITED: :EXPEDITED
|
|
82
82
|
EXPRESS: :EXPRESS
|
|
83
83
|
PRIORITY: :PRIORITY
|
data/sig/lithic/models/event.rbs
CHANGED
|
@@ -40,6 +40,7 @@ module Lithic
|
|
|
40
40
|
| :"balance.updated"
|
|
41
41
|
| :"book_transfer_transaction.created"
|
|
42
42
|
| :"book_transfer_transaction.updated"
|
|
43
|
+
| :"card_authorization.challenge_response"
|
|
43
44
|
| :"card_transaction.enhanced_data.created"
|
|
44
45
|
| :"card_transaction.enhanced_data.updated"
|
|
45
46
|
| :"card_transaction.updated"
|
|
@@ -96,6 +97,7 @@ module Lithic
|
|
|
96
97
|
BALANCE_UPDATED: :"balance.updated"
|
|
97
98
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
98
99
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
100
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
99
101
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
100
102
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
101
103
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -77,6 +77,7 @@ module Lithic
|
|
|
77
77
|
| :"balance.updated"
|
|
78
78
|
| :"book_transfer_transaction.created"
|
|
79
79
|
| :"book_transfer_transaction.updated"
|
|
80
|
+
| :"card_authorization.challenge_response"
|
|
80
81
|
| :"card_transaction.enhanced_data.created"
|
|
81
82
|
| :"card_transaction.enhanced_data.updated"
|
|
82
83
|
| :"card_transaction.updated"
|
|
@@ -133,6 +134,7 @@ module Lithic
|
|
|
133
134
|
BALANCE_UPDATED: :"balance.updated"
|
|
134
135
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
135
136
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
137
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
136
138
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
137
139
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
138
140
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -45,6 +45,7 @@ module Lithic
|
|
|
45
45
|
| :"balance.updated"
|
|
46
46
|
| :"book_transfer_transaction.created"
|
|
47
47
|
| :"book_transfer_transaction.updated"
|
|
48
|
+
| :"card_authorization.challenge_response"
|
|
48
49
|
| :"card_transaction.enhanced_data.created"
|
|
49
50
|
| :"card_transaction.enhanced_data.updated"
|
|
50
51
|
| :"card_transaction.updated"
|
|
@@ -101,6 +102,7 @@ module Lithic
|
|
|
101
102
|
BALANCE_UPDATED: :"balance.updated"
|
|
102
103
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
103
104
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
105
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
104
106
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
105
107
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
106
108
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -55,6 +55,7 @@ module Lithic
|
|
|
55
55
|
| :"balance.updated"
|
|
56
56
|
| :"book_transfer_transaction.created"
|
|
57
57
|
| :"book_transfer_transaction.updated"
|
|
58
|
+
| :"card_authorization.challenge_response"
|
|
58
59
|
| :"card_transaction.enhanced_data.created"
|
|
59
60
|
| :"card_transaction.enhanced_data.updated"
|
|
60
61
|
| :"card_transaction.updated"
|
|
@@ -111,6 +112,7 @@ module Lithic
|
|
|
111
112
|
BALANCE_UPDATED: :"balance.updated"
|
|
112
113
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
113
114
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
115
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
114
116
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
115
117
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
116
118
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -41,6 +41,7 @@ module Lithic
|
|
|
41
41
|
| :"balance.updated"
|
|
42
42
|
| :"book_transfer_transaction.created"
|
|
43
43
|
| :"book_transfer_transaction.updated"
|
|
44
|
+
| :"card_authorization.challenge_response"
|
|
44
45
|
| :"card_transaction.enhanced_data.created"
|
|
45
46
|
| :"card_transaction.enhanced_data.updated"
|
|
46
47
|
| :"card_transaction.updated"
|
|
@@ -97,6 +98,7 @@ module Lithic
|
|
|
97
98
|
BALANCE_UPDATED: :"balance.updated"
|
|
98
99
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
99
100
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
101
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
100
102
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
101
103
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
102
104
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -60,6 +60,7 @@ module Lithic
|
|
|
60
60
|
| :"balance.updated"
|
|
61
61
|
| :"book_transfer_transaction.created"
|
|
62
62
|
| :"book_transfer_transaction.updated"
|
|
63
|
+
| :"card_authorization.challenge_response"
|
|
63
64
|
| :"card_transaction.enhanced_data.created"
|
|
64
65
|
| :"card_transaction.enhanced_data.updated"
|
|
65
66
|
| :"card_transaction.updated"
|
|
@@ -116,6 +117,7 @@ module Lithic
|
|
|
116
117
|
BALANCE_UPDATED: :"balance.updated"
|
|
117
118
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
118
119
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
120
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
119
121
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
120
122
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
121
123
|
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account_set_verification_method_params =
|
|
4
|
+
{
|
|
5
|
+
external_bank_account_token: String,
|
|
6
|
+
verification_method: Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method,
|
|
7
|
+
financial_account_token: String
|
|
8
|
+
}
|
|
9
|
+
& Lithic::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class ExternalBankAccountSetVerificationMethodParams < Lithic::Internal::Type::BaseModel
|
|
12
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Lithic::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor external_bank_account_token: String
|
|
16
|
+
|
|
17
|
+
attr_accessor verification_method: Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method
|
|
18
|
+
|
|
19
|
+
attr_reader financial_account_token: String?
|
|
20
|
+
|
|
21
|
+
def financial_account_token=: (String) -> String
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
external_bank_account_token: String,
|
|
25
|
+
verification_method: Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method,
|
|
26
|
+
?financial_account_token: String,
|
|
27
|
+
?request_options: Lithic::request_opts
|
|
28
|
+
) -> void
|
|
29
|
+
|
|
30
|
+
def to_hash: -> {
|
|
31
|
+
external_bank_account_token: String,
|
|
32
|
+
verification_method: Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method,
|
|
33
|
+
financial_account_token: String,
|
|
34
|
+
request_options: Lithic::RequestOptions
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type verification_method =
|
|
38
|
+
:MICRO_DEPOSIT | :PRENOTE | :EXTERNALLY_VERIFIED
|
|
39
|
+
|
|
40
|
+
module VerificationMethod
|
|
41
|
+
extend Lithic::Internal::Type::Enum
|
|
42
|
+
|
|
43
|
+
MICRO_DEPOSIT: :MICRO_DEPOSIT
|
|
44
|
+
PRENOTE: :PRENOTE
|
|
45
|
+
EXTERNALLY_VERIFIED: :EXTERNALLY_VERIFIED
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method]
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -169,6 +169,7 @@ module Lithic
|
|
|
169
169
|
| :COLLECTION
|
|
170
170
|
| :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
171
171
|
| :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
172
|
+
| :PROVISIONAL_CREDIT_ACCOUNT
|
|
172
173
|
|
|
173
174
|
module Type
|
|
174
175
|
extend Lithic::Internal::Type::Enum
|
|
@@ -184,6 +185,7 @@ module Lithic
|
|
|
184
185
|
COLLECTION: :COLLECTION
|
|
185
186
|
PROGRAM_BANK_ACCOUNTS_PAYABLE: :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
186
187
|
EARLY_DIRECT_DEPOSIT_FLOAT: :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
188
|
+
PROVISIONAL_CREDIT_ACCOUNT: :PROVISIONAL_CREDIT_ACCOUNT
|
|
187
189
|
|
|
188
190
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::type_]
|
|
189
191
|
end
|
|
@@ -58,6 +58,7 @@ module Lithic
|
|
|
58
58
|
| :BANK_REQUEST
|
|
59
59
|
| :CHARGED_OFF_DELINQUENT
|
|
60
60
|
| :INTEREST_AND_FEES_PAUSED
|
|
61
|
+
| :DELINQUENT
|
|
61
62
|
|
|
62
63
|
module Substatus
|
|
63
64
|
extend Lithic::Internal::Type::Enum
|
|
@@ -67,6 +68,7 @@ module Lithic
|
|
|
67
68
|
BANK_REQUEST: :BANK_REQUEST
|
|
68
69
|
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
|
69
70
|
INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
|
|
71
|
+
DELINQUENT: :DELINQUENT
|
|
70
72
|
|
|
71
73
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::substatus]
|
|
72
74
|
end
|
|
@@ -9,7 +9,7 @@ module Lithic
|
|
|
9
9
|
available_credit: Integer,
|
|
10
10
|
created: Time,
|
|
11
11
|
credit_limit: Integer,
|
|
12
|
-
credit_product_token: String
|
|
12
|
+
credit_product_token: String?,
|
|
13
13
|
days_in_billing_cycle: Integer,
|
|
14
14
|
ending_balance: Integer,
|
|
15
15
|
financial_account_token: String,
|
|
@@ -24,7 +24,8 @@ module Lithic
|
|
|
24
24
|
interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
25
25
|
next_payment_due_date: Date,
|
|
26
26
|
next_statement_end_date: Date,
|
|
27
|
-
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails
|
|
27
|
+
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
28
|
+
statement_totals: Lithic::StatementTotals
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
class Statement < Lithic::Internal::Type::BaseModel
|
|
@@ -40,7 +41,7 @@ module Lithic
|
|
|
40
41
|
|
|
41
42
|
attr_accessor credit_limit: Integer
|
|
42
43
|
|
|
43
|
-
attr_accessor credit_product_token: String
|
|
44
|
+
attr_accessor credit_product_token: String?
|
|
44
45
|
|
|
45
46
|
attr_accessor days_in_billing_cycle: Integer
|
|
46
47
|
|
|
@@ -76,6 +77,12 @@ module Lithic
|
|
|
76
77
|
|
|
77
78
|
attr_accessor payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?
|
|
78
79
|
|
|
80
|
+
attr_reader statement_totals: Lithic::StatementTotals?
|
|
81
|
+
|
|
82
|
+
def statement_totals=: (
|
|
83
|
+
Lithic::StatementTotals
|
|
84
|
+
) -> Lithic::StatementTotals
|
|
85
|
+
|
|
79
86
|
def initialize: (
|
|
80
87
|
token: String,
|
|
81
88
|
account_standing: Lithic::FinancialAccounts::Statement::AccountStanding,
|
|
@@ -83,7 +90,7 @@ module Lithic
|
|
|
83
90
|
available_credit: Integer,
|
|
84
91
|
created: Time,
|
|
85
92
|
credit_limit: Integer,
|
|
86
|
-
credit_product_token: String
|
|
93
|
+
credit_product_token: String?,
|
|
87
94
|
days_in_billing_cycle: Integer,
|
|
88
95
|
ending_balance: Integer,
|
|
89
96
|
financial_account_token: String,
|
|
@@ -98,7 +105,8 @@ module Lithic
|
|
|
98
105
|
?interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
99
106
|
?next_payment_due_date: Date,
|
|
100
107
|
?next_statement_end_date: Date,
|
|
101
|
-
?payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails
|
|
108
|
+
?payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
109
|
+
?statement_totals: Lithic::StatementTotals
|
|
102
110
|
) -> void
|
|
103
111
|
|
|
104
112
|
def to_hash: -> {
|
|
@@ -108,7 +116,7 @@ module Lithic
|
|
|
108
116
|
available_credit: Integer,
|
|
109
117
|
created: Time,
|
|
110
118
|
credit_limit: Integer,
|
|
111
|
-
credit_product_token: String
|
|
119
|
+
credit_product_token: String?,
|
|
112
120
|
days_in_billing_cycle: Integer,
|
|
113
121
|
ending_balance: Integer,
|
|
114
122
|
financial_account_token: String,
|
|
@@ -123,7 +131,8 @@ module Lithic
|
|
|
123
131
|
interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
124
132
|
next_payment_due_date: Date,
|
|
125
133
|
next_statement_end_date: Date,
|
|
126
|
-
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails
|
|
134
|
+
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
135
|
+
statement_totals: Lithic::StatementTotals
|
|
127
136
|
}
|
|
128
137
|
|
|
129
138
|
type account_standing =
|
|
@@ -12,6 +12,7 @@ module Lithic
|
|
|
12
12
|
| :COLLECTION
|
|
13
13
|
| :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
14
14
|
| :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
15
|
+
| :PROVISIONAL_CREDIT_ACCOUNT
|
|
15
16
|
|
|
16
17
|
module InstanceFinancialAccountType
|
|
17
18
|
extend Lithic::Internal::Type::Enum
|
|
@@ -27,6 +28,7 @@ module Lithic
|
|
|
27
28
|
COLLECTION: :COLLECTION
|
|
28
29
|
PROGRAM_BANK_ACCOUNTS_PAYABLE: :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
29
30
|
EARLY_DIRECT_DEPOSIT_FLOAT: :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
31
|
+
PROVISIONAL_CREDIT_ACCOUNT: :PROVISIONAL_CREDIT_ACCOUNT
|
|
30
32
|
|
|
31
33
|
def self?.values: -> ::Array[Lithic::Models::instance_financial_account_type]
|
|
32
34
|
end
|
|
@@ -8,6 +8,7 @@ module Lithic
|
|
|
8
8
|
| Lithic::AccountHolderVerificationWebhookEvent
|
|
9
9
|
| Lithic::AccountHolderDocumentUpdatedWebhookEvent
|
|
10
10
|
| Lithic::CardAuthorizationApprovalRequestWebhookEvent
|
|
11
|
+
| Lithic::CardAuthorizationChallengeResponseWebhookEvent
|
|
11
12
|
| Lithic::AuthRulesBacktestReportCreatedWebhookEvent
|
|
12
13
|
| Lithic::BalanceUpdatedWebhookEvent
|
|
13
14
|
| Lithic::BookTransferTransactionCreatedWebhookEvent
|
|
@@ -92,7 +92,8 @@ module Lithic
|
|
|
92
92
|
{
|
|
93
93
|
sec_code: Lithic::Models::PaymentCreateParams::MethodAttributes::sec_code,
|
|
94
94
|
ach_hold_period: Integer,
|
|
95
|
-
addenda: String
|
|
95
|
+
addenda: String?,
|
|
96
|
+
override_company_name: String?
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
class MethodAttributes < Lithic::Internal::Type::BaseModel
|
|
@@ -104,16 +105,20 @@ module Lithic
|
|
|
104
105
|
|
|
105
106
|
attr_accessor addenda: String?
|
|
106
107
|
|
|
108
|
+
attr_accessor override_company_name: String?
|
|
109
|
+
|
|
107
110
|
def initialize: (
|
|
108
111
|
sec_code: Lithic::Models::PaymentCreateParams::MethodAttributes::sec_code,
|
|
109
112
|
?ach_hold_period: Integer,
|
|
110
|
-
?addenda: String
|
|
113
|
+
?addenda: String?,
|
|
114
|
+
?override_company_name: String?
|
|
111
115
|
) -> void
|
|
112
116
|
|
|
113
117
|
def to_hash: -> {
|
|
114
118
|
sec_code: Lithic::Models::PaymentCreateParams::MethodAttributes::sec_code,
|
|
115
119
|
ach_hold_period: Integer,
|
|
116
|
-
addenda: String
|
|
120
|
+
addenda: String?,
|
|
121
|
+
override_company_name: String?
|
|
117
122
|
}
|
|
118
123
|
|
|
119
124
|
type sec_code = :CCD | :PPD | :WEB
|
data/sig/lithic/models.rbs
CHANGED
|
@@ -89,6 +89,8 @@ module Lithic
|
|
|
89
89
|
|
|
90
90
|
class CardAuthorizationApprovalRequestWebhookEvent = Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
|
|
91
91
|
|
|
92
|
+
class CardAuthorizationChallengeResponseWebhookEvent = Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent
|
|
93
|
+
|
|
92
94
|
class CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
93
95
|
|
|
94
96
|
class CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
|
|
@@ -249,6 +251,8 @@ module Lithic
|
|
|
249
251
|
|
|
250
252
|
module ExternalBankAccounts = Lithic::Models::ExternalBankAccounts
|
|
251
253
|
|
|
254
|
+
class ExternalBankAccountSetVerificationMethodParams = Lithic::Models::ExternalBankAccountSetVerificationMethodParams
|
|
255
|
+
|
|
252
256
|
class ExternalBankAccountUnpauseParams = Lithic::Models::ExternalBankAccountUnpauseParams
|
|
253
257
|
|
|
254
258
|
class ExternalBankAccountUpdatedWebhookEvent = Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
|
|
@@ -52,6 +52,13 @@ module Lithic
|
|
|
52
52
|
?request_options: Lithic::request_opts
|
|
53
53
|
) -> Lithic::ExternalBankAccount
|
|
54
54
|
|
|
55
|
+
def set_verification_method: (
|
|
56
|
+
String external_bank_account_token,
|
|
57
|
+
verification_method: Lithic::Models::ExternalBankAccountSetVerificationMethodParams::verification_method,
|
|
58
|
+
?financial_account_token: String,
|
|
59
|
+
?request_options: Lithic::request_opts
|
|
60
|
+
) -> Lithic::ExternalBankAccount
|
|
61
|
+
|
|
55
62
|
def unpause: (
|
|
56
63
|
String external_bank_account_token,
|
|
57
64
|
?request_options: Lithic::request_opts
|
|
@@ -12,6 +12,7 @@ module Lithic
|
|
|
12
12
|
| Lithic::AccountHolderVerificationWebhookEvent
|
|
13
13
|
| Lithic::AccountHolderDocumentUpdatedWebhookEvent
|
|
14
14
|
| Lithic::CardAuthorizationApprovalRequestWebhookEvent
|
|
15
|
+
| Lithic::CardAuthorizationChallengeResponseWebhookEvent
|
|
15
16
|
| Lithic::AuthRulesBacktestReportCreatedWebhookEvent
|
|
16
17
|
| Lithic::BalanceUpdatedWebhookEvent
|
|
17
18
|
| Lithic::BookTransferTransactionCreatedWebhookEvent
|