lithic 0.4.0 → 0.6.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 +59 -0
- data/README.md +10 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account_holder.rb +14 -5
- data/lib/lithic/models/account_holder_create_params.rb +10 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +14 -5
- data/lib/lithic/models/account_holder_update_params.rb +10 -1
- data/lib/lithic/models/account_holder_update_response.rb +14 -5
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +10 -1
- data/lib/lithic/models/account_holders/account_holder_entity.rb +183 -0
- data/lib/lithic/models/account_holders/entity_create_params.rb +159 -0
- data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
- data/lib/lithic/models/account_holders/entity_delete_params.rb +22 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -3
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +47 -21
- data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -2
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +70 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +740 -0
- data/lib/lithic/models/book_transfer_create_params.rb +9 -1
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +178 -25
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +9 -9
- 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/category_tier.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +50 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +16 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +40 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +44 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +16 -0
- data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
- data/lib/lithic/models/financial_accounts/statement.rb +1 -0
- data/lib/lithic/models/kyb.rb +10 -1
- data/lib/lithic/models/parsed_webhook_event.rb +10 -1
- data/lib/lithic/models/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
- data/lib/lithic/models.rb +4 -2
- data/lib/lithic/resources/account_holders/entities.rb +89 -0
- data/lib/lithic/resources/account_holders.rb +10 -2
- data/lib/lithic/resources/auth_rules/v2.rb +42 -0
- data/lib/lithic/resources/book_transfers.rb +3 -1
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +205 -0
- data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
- data/lib/lithic/resources/financial_accounts.rb +9 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +20 -1
- data/rbi/lithic/internal/util.rbi +1 -1
- data/rbi/lithic/models/account_holder.rbi +19 -6
- data/rbi/lithic/models/account_holder_create_params.rbi +13 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +19 -6
- data/rbi/lithic/models/account_holder_update_params.rbi +13 -0
- data/rbi/lithic/models/account_holder_update_response.rbi +19 -6
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +13 -0
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +296 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +242 -0
- data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +43 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +6 -3
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +1 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +69 -30
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +112 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +1826 -0
- data/rbi/lithic/models/book_transfer_create_params.rbi +11 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +337 -36
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +15 -17
- 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/category_tier.rbi +45 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +75 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +32 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +70 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +32 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +13 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +13 -0
- data/rbi/lithic/models/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
- data/rbi/lithic/models.rbi +4 -2
- data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +11 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +44 -1
- data/rbi/lithic/resources/book_transfers.rbi +3 -0
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
- data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
- data/rbi/lithic/resources/financial_accounts.rbi +10 -0
- data/sig/lithic/models/account_holder.rbs +7 -0
- data/sig/lithic/models/account_holder_create_params.rbs +7 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +2 -1
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +7 -0
- data/sig/lithic/models/account_holder_update_params.rbs +7 -0
- data/sig/lithic/models/account_holder_update_response.rbs +7 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +7 -0
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +137 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +118 -0
- data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +26 -0
- data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +65 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +752 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +7 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +96 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +5 -9
- 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/category_tier.rbs +21 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +41 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +17 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +38 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +17 -0
- data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +7 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +7 -0
- data/sig/lithic/models/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
- data/sig/lithic/models.rbs +4 -2
- data/sig/lithic/resources/account_holders/entities.rbs +28 -0
- data/sig/lithic/resources/account_holders.rbs +4 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +10 -0
- data/sig/lithic/resources/book_transfers.rbs +1 -0
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
- data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- metadata +62 -5
|
@@ -69,6 +69,7 @@ module Lithic
|
|
|
69
69
|
update_request: Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest,
|
|
70
70
|
event_type: Lithic::Models::ParsedWebhookEvent::KYBPayload::event_type,
|
|
71
71
|
external_id: String,
|
|
72
|
+
naics_code: String,
|
|
72
73
|
nature_of_business: String,
|
|
73
74
|
website_url: String
|
|
74
75
|
}
|
|
@@ -88,6 +89,10 @@ module Lithic
|
|
|
88
89
|
|
|
89
90
|
def external_id=: (String) -> String
|
|
90
91
|
|
|
92
|
+
attr_reader naics_code: String?
|
|
93
|
+
|
|
94
|
+
def naics_code=: (String) -> String
|
|
95
|
+
|
|
91
96
|
attr_reader nature_of_business: String?
|
|
92
97
|
|
|
93
98
|
def nature_of_business=: (String) -> String
|
|
@@ -101,6 +106,7 @@ module Lithic
|
|
|
101
106
|
update_request: Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest,
|
|
102
107
|
?event_type: Lithic::Models::ParsedWebhookEvent::KYBPayload::event_type,
|
|
103
108
|
?external_id: String,
|
|
109
|
+
?naics_code: String,
|
|
104
110
|
?nature_of_business: String,
|
|
105
111
|
?website_url: String
|
|
106
112
|
) -> void
|
|
@@ -110,6 +116,7 @@ module Lithic
|
|
|
110
116
|
update_request: Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest,
|
|
111
117
|
event_type: Lithic::Models::ParsedWebhookEvent::KYBPayload::event_type,
|
|
112
118
|
external_id: String,
|
|
119
|
+
naics_code: String,
|
|
113
120
|
nature_of_business: String,
|
|
114
121
|
website_url: String
|
|
115
122
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type token_metadata =
|
|
4
4
|
{
|
|
5
|
-
payment_account_info: Lithic::
|
|
5
|
+
payment_account_info: Lithic::TokenMetadata::PaymentAccountInfo,
|
|
6
6
|
status: String,
|
|
7
7
|
payment_app_instance_id: String?,
|
|
8
8
|
token_requestor_id: String,
|
|
9
|
-
token_requestor_name: Lithic::Models::
|
|
9
|
+
token_requestor_name: Lithic::Models::TokenMetadata::token_requestor_name
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
class
|
|
13
|
-
attr_accessor payment_account_info: Lithic::
|
|
12
|
+
class TokenMetadata < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor payment_account_info: Lithic::TokenMetadata::PaymentAccountInfo
|
|
14
14
|
|
|
15
15
|
attr_accessor status: String
|
|
16
16
|
|
|
@@ -20,38 +20,38 @@ module Lithic
|
|
|
20
20
|
|
|
21
21
|
def token_requestor_id=: (String) -> String
|
|
22
22
|
|
|
23
|
-
attr_reader token_requestor_name: Lithic::Models::
|
|
23
|
+
attr_reader token_requestor_name: Lithic::Models::TokenMetadata::token_requestor_name?
|
|
24
24
|
|
|
25
25
|
def token_requestor_name=: (
|
|
26
|
-
Lithic::Models::
|
|
27
|
-
) -> Lithic::Models::
|
|
26
|
+
Lithic::Models::TokenMetadata::token_requestor_name
|
|
27
|
+
) -> Lithic::Models::TokenMetadata::token_requestor_name
|
|
28
28
|
|
|
29
29
|
def initialize: (
|
|
30
|
-
payment_account_info: Lithic::
|
|
30
|
+
payment_account_info: Lithic::TokenMetadata::PaymentAccountInfo,
|
|
31
31
|
status: String,
|
|
32
32
|
?payment_app_instance_id: String?,
|
|
33
33
|
?token_requestor_id: String,
|
|
34
|
-
?token_requestor_name: Lithic::Models::
|
|
34
|
+
?token_requestor_name: Lithic::Models::TokenMetadata::token_requestor_name
|
|
35
35
|
) -> void
|
|
36
36
|
|
|
37
37
|
def to_hash: -> {
|
|
38
|
-
payment_account_info: Lithic::
|
|
38
|
+
payment_account_info: Lithic::TokenMetadata::PaymentAccountInfo,
|
|
39
39
|
status: String,
|
|
40
40
|
payment_app_instance_id: String?,
|
|
41
41
|
token_requestor_id: String,
|
|
42
|
-
token_requestor_name: Lithic::Models::
|
|
42
|
+
token_requestor_name: Lithic::Models::TokenMetadata::token_requestor_name
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
type payment_account_info =
|
|
46
46
|
{
|
|
47
|
-
account_holder_data: Lithic::
|
|
47
|
+
account_holder_data: Lithic::TokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
48
48
|
pan_unique_reference: String?,
|
|
49
49
|
payment_account_reference: String?,
|
|
50
50
|
token_unique_reference: String?
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class PaymentAccountInfo < Lithic::Internal::Type::BaseModel
|
|
54
|
-
attr_accessor account_holder_data: Lithic::
|
|
54
|
+
attr_accessor account_holder_data: Lithic::TokenMetadata::PaymentAccountInfo::AccountHolderData
|
|
55
55
|
|
|
56
56
|
attr_accessor pan_unique_reference: String?
|
|
57
57
|
|
|
@@ -60,14 +60,14 @@ module Lithic
|
|
|
60
60
|
attr_accessor token_unique_reference: String?
|
|
61
61
|
|
|
62
62
|
def initialize: (
|
|
63
|
-
account_holder_data: Lithic::
|
|
63
|
+
account_holder_data: Lithic::TokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
64
64
|
?pan_unique_reference: String?,
|
|
65
65
|
?payment_account_reference: String?,
|
|
66
66
|
?token_unique_reference: String?
|
|
67
67
|
) -> void
|
|
68
68
|
|
|
69
69
|
def to_hash: -> {
|
|
70
|
-
account_holder_data: Lithic::
|
|
70
|
+
account_holder_data: Lithic::TokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
71
71
|
pan_unique_reference: String?,
|
|
72
72
|
payment_account_reference: String?,
|
|
73
73
|
token_unique_reference: String?
|
|
@@ -91,6 +91,7 @@ module Lithic
|
|
|
91
91
|
| :FACEBOOK
|
|
92
92
|
| :FITBIT_PAY
|
|
93
93
|
| :GARMIN_PAY
|
|
94
|
+
| :GOOGLE_PAY
|
|
94
95
|
| :MICROSOFT_PAY
|
|
95
96
|
| :NETFLIX
|
|
96
97
|
| :SAMSUNG_PAY
|
|
@@ -106,13 +107,14 @@ module Lithic
|
|
|
106
107
|
FACEBOOK: :FACEBOOK
|
|
107
108
|
FITBIT_PAY: :FITBIT_PAY
|
|
108
109
|
GARMIN_PAY: :GARMIN_PAY
|
|
110
|
+
GOOGLE_PAY: :GOOGLE_PAY
|
|
109
111
|
MICROSOFT_PAY: :MICROSOFT_PAY
|
|
110
112
|
NETFLIX: :NETFLIX
|
|
111
113
|
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
112
114
|
UNKNOWN: :UNKNOWN
|
|
113
115
|
VISA_CHECKOUT: :VISA_CHECKOUT
|
|
114
116
|
|
|
115
|
-
def self?.values: -> ::Array[Lithic::Models::
|
|
117
|
+
def self?.values: -> ::Array[Lithic::Models::TokenMetadata::token_requestor_name]
|
|
116
118
|
end
|
|
117
119
|
end
|
|
118
120
|
end
|
|
@@ -8,11 +8,11 @@ module Lithic
|
|
|
8
8
|
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
9
9
|
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
10
10
|
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
11
|
+
token_metadata: Lithic::TokenMetadata,
|
|
11
12
|
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
12
13
|
tokenization_token: String,
|
|
13
14
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
14
15
|
device: Lithic::Device,
|
|
15
|
-
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
16
16
|
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
17
17
|
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
18
18
|
tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
@@ -32,6 +32,8 @@ module Lithic
|
|
|
32
32
|
|
|
33
33
|
attr_accessor issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision
|
|
34
34
|
|
|
35
|
+
attr_accessor token_metadata: Lithic::TokenMetadata
|
|
36
|
+
|
|
35
37
|
attr_accessor tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel
|
|
36
38
|
|
|
37
39
|
attr_accessor tokenization_token: String
|
|
@@ -42,12 +44,6 @@ module Lithic
|
|
|
42
44
|
|
|
43
45
|
def device=: (Lithic::Device) -> Lithic::Device
|
|
44
46
|
|
|
45
|
-
attr_reader digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata?
|
|
46
|
-
|
|
47
|
-
def digital_wallet_token_metadata=: (
|
|
48
|
-
Lithic::DigitalWalletTokenMetadata
|
|
49
|
-
) -> Lithic::DigitalWalletTokenMetadata
|
|
50
|
-
|
|
51
47
|
attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
|
|
52
48
|
|
|
53
49
|
def rule_results=: (
|
|
@@ -79,11 +75,11 @@ module Lithic
|
|
|
79
75
|
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
80
76
|
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
81
77
|
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
78
|
+
token_metadata: Lithic::TokenMetadata,
|
|
82
79
|
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
83
80
|
tokenization_token: String,
|
|
84
81
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
85
82
|
?device: Lithic::Device,
|
|
86
|
-
?digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
87
83
|
?rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
88
84
|
?tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
89
85
|
?tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
@@ -97,11 +93,11 @@ module Lithic
|
|
|
97
93
|
customer_tokenization_decision: Lithic::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
|
|
98
94
|
event_type: Lithic::Models::TokenizationApprovalRequestWebhookEvent::event_type,
|
|
99
95
|
issuer_decision: Lithic::Models::TokenizationApprovalRequestWebhookEvent::issuer_decision,
|
|
96
|
+
token_metadata: Lithic::TokenMetadata,
|
|
100
97
|
tokenization_channel: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_channel,
|
|
101
98
|
tokenization_token: String,
|
|
102
99
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
103
100
|
device: Lithic::Device,
|
|
104
|
-
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
105
101
|
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
106
102
|
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
107
103
|
tokenization_source: Lithic::Models::TokenizationApprovalRequestWebhookEvent::tokenization_source,
|
|
@@ -5,13 +5,13 @@ module Lithic
|
|
|
5
5
|
account_token: String,
|
|
6
6
|
card_token: String,
|
|
7
7
|
created: Time,
|
|
8
|
+
digital_wallet_token_metadata: Lithic::TokenMetadata,
|
|
8
9
|
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
9
10
|
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
10
11
|
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
11
12
|
tokenization_token: String,
|
|
12
13
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
13
14
|
device: Lithic::Device,
|
|
14
|
-
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
15
15
|
tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -22,6 +22,8 @@ module Lithic
|
|
|
22
22
|
|
|
23
23
|
attr_accessor created: Time
|
|
24
24
|
|
|
25
|
+
attr_accessor digital_wallet_token_metadata: Lithic::TokenMetadata
|
|
26
|
+
|
|
25
27
|
attr_accessor event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type
|
|
26
28
|
|
|
27
29
|
attr_accessor issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision
|
|
@@ -36,12 +38,6 @@ module Lithic
|
|
|
36
38
|
|
|
37
39
|
def device=: (Lithic::Device) -> Lithic::Device
|
|
38
40
|
|
|
39
|
-
attr_reader digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata?
|
|
40
|
-
|
|
41
|
-
def digital_wallet_token_metadata=: (
|
|
42
|
-
Lithic::DigitalWalletTokenMetadata
|
|
43
|
-
) -> Lithic::DigitalWalletTokenMetadata
|
|
44
|
-
|
|
45
41
|
attr_reader tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source?
|
|
46
42
|
|
|
47
43
|
def tokenization_source=: (
|
|
@@ -52,13 +48,13 @@ module Lithic
|
|
|
52
48
|
account_token: String,
|
|
53
49
|
card_token: String,
|
|
54
50
|
created: Time,
|
|
51
|
+
digital_wallet_token_metadata: Lithic::TokenMetadata,
|
|
55
52
|
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
56
53
|
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
57
54
|
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
58
55
|
tokenization_token: String,
|
|
59
56
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
60
57
|
?device: Lithic::Device,
|
|
61
|
-
?digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
62
58
|
?tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
63
59
|
) -> void
|
|
64
60
|
|
|
@@ -66,13 +62,13 @@ module Lithic
|
|
|
66
62
|
account_token: String,
|
|
67
63
|
card_token: String,
|
|
68
64
|
created: Time,
|
|
65
|
+
digital_wallet_token_metadata: Lithic::TokenMetadata,
|
|
69
66
|
event_type: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::event_type,
|
|
70
67
|
issuer_decision: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::issuer_decision,
|
|
71
68
|
tokenization_channel: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_channel,
|
|
72
69
|
tokenization_token: String,
|
|
73
70
|
wallet_decisioning_info: Lithic::WalletDecisioningInfo,
|
|
74
71
|
device: Lithic::Device,
|
|
75
|
-
digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
|
|
76
72
|
tokenization_source: Lithic::Models::TokenizationDecisioningRequestWebhookEvent::tokenization_source
|
|
77
73
|
}
|
|
78
74
|
|
data/sig/lithic/models.rbs
CHANGED
|
@@ -23,6 +23,8 @@ module Lithic
|
|
|
23
23
|
|
|
24
24
|
class AccountHolderRetrieveParams = Lithic::Models::AccountHolderRetrieveParams
|
|
25
25
|
|
|
26
|
+
module AccountHolders = Lithic::Models::AccountHolders
|
|
27
|
+
|
|
26
28
|
class AccountHolderSimulateEnrollmentDocumentReviewParams = Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams
|
|
27
29
|
|
|
28
30
|
class AccountHolderSimulateEnrollmentReviewParams = Lithic::Models::AccountHolderSimulateEnrollmentReviewParams
|
|
@@ -179,8 +181,6 @@ module Lithic
|
|
|
179
181
|
|
|
180
182
|
class DigitalWalletTokenizationUpdatedWebhookEvent = Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
181
183
|
|
|
182
|
-
class DigitalWalletTokenMetadata = Lithic::Models::DigitalWalletTokenMetadata
|
|
183
|
-
|
|
184
184
|
class Dispute = Lithic::Models::Dispute
|
|
185
185
|
|
|
186
186
|
class DisputeCreateParams = Lithic::Models::DisputeCreateParams
|
|
@@ -485,6 +485,8 @@ module Lithic
|
|
|
485
485
|
|
|
486
486
|
class TokenizationUpdatedWebhookEvent = Lithic::Models::TokenizationUpdatedWebhookEvent
|
|
487
487
|
|
|
488
|
+
class TokenMetadata = Lithic::Models::TokenMetadata
|
|
489
|
+
|
|
488
490
|
class Transaction = Lithic::Models::Transaction
|
|
489
491
|
|
|
490
492
|
class TransactionExpireAuthorizationParams = Lithic::Models::TransactionExpireAuthorizationParams
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Resources
|
|
3
|
+
class AccountHolders
|
|
4
|
+
class Entities
|
|
5
|
+
def create: (
|
|
6
|
+
String account_holder_token,
|
|
7
|
+
address: Lithic::AccountHolders::EntityCreateParams::Address,
|
|
8
|
+
dob: String,
|
|
9
|
+
email: String,
|
|
10
|
+
first_name: String,
|
|
11
|
+
government_id: String,
|
|
12
|
+
last_name: String,
|
|
13
|
+
phone_number: String,
|
|
14
|
+
type: Lithic::Models::AccountHolders::EntityCreateParams::type_,
|
|
15
|
+
?request_options: Lithic::request_opts
|
|
16
|
+
) -> Lithic::Models::AccountHolders::EntityCreateResponse
|
|
17
|
+
|
|
18
|
+
def delete: (
|
|
19
|
+
String entity_token,
|
|
20
|
+
account_holder_token: String,
|
|
21
|
+
?request_options: Lithic::request_opts
|
|
22
|
+
) -> Lithic::AccountHolders::AccountHolderEntity
|
|
23
|
+
|
|
24
|
+
def initialize: (client: Lithic::Client) -> void
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Resources
|
|
3
3
|
class AccountHolders
|
|
4
|
+
attr_reader entities: Lithic::Resources::AccountHolders::Entities
|
|
5
|
+
|
|
4
6
|
def create: (
|
|
5
7
|
business_entity: Lithic::AccountHolderCreateParams::BusinessEntity,
|
|
6
8
|
tos_timestamp: String,
|
|
@@ -18,6 +20,7 @@ module Lithic
|
|
|
18
20
|
?beneficial_owner_entities: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerEntity],
|
|
19
21
|
?external_id: String,
|
|
20
22
|
?kyb_passed_timestamp: String,
|
|
23
|
+
?naics_code: String,
|
|
21
24
|
?website_url: String,
|
|
22
25
|
?kyc_passed_timestamp: String,
|
|
23
26
|
?business_account_token: String,
|
|
@@ -36,6 +39,7 @@ module Lithic
|
|
|
36
39
|
?business_entity: Lithic::AccountHolderUpdateParams::BusinessEntity,
|
|
37
40
|
?control_person: Lithic::AccountHolderUpdateParams::ControlPerson,
|
|
38
41
|
?external_id: String,
|
|
42
|
+
?naics_code: String,
|
|
39
43
|
?nature_of_business: String,
|
|
40
44
|
?website_url: String,
|
|
41
45
|
?individual: Lithic::AccountHolderUpdateParams::Individual,
|
|
@@ -58,6 +58,16 @@ module Lithic
|
|
|
58
58
|
?request_options: Lithic::request_opts
|
|
59
59
|
) -> Lithic::AuthRules::AuthRule
|
|
60
60
|
|
|
61
|
+
def list_results: (
|
|
62
|
+
?auth_rule_token: String,
|
|
63
|
+
?ending_before: String,
|
|
64
|
+
?event_token: String,
|
|
65
|
+
?has_actions: bool,
|
|
66
|
+
?page_size: Integer,
|
|
67
|
+
?starting_after: String,
|
|
68
|
+
?request_options: Lithic::request_opts
|
|
69
|
+
) -> Lithic::Internal::CursorPage[Lithic::Models::AuthRules::v2_list_results_response]
|
|
70
|
+
|
|
61
71
|
def promote: (
|
|
62
72
|
String auth_rule_token,
|
|
63
73
|
?request_options: Lithic::request_opts
|
|
@@ -10,6 +10,7 @@ module Lithic
|
|
|
10
10
|
type: Lithic::Models::BookTransferCreateParams::type_,
|
|
11
11
|
?token: String,
|
|
12
12
|
?external_id: String,
|
|
13
|
+
?hold_token: String,
|
|
13
14
|
?memo: String,
|
|
14
15
|
?on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
|
|
15
16
|
?request_options: Lithic::request_opts
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Resources
|
|
3
|
+
class FinancialAccounts
|
|
4
|
+
class InterestTierSchedule
|
|
5
|
+
def create: (
|
|
6
|
+
String financial_account_token,
|
|
7
|
+
credit_product_token: String,
|
|
8
|
+
effective_date: Date,
|
|
9
|
+
?tier_name: String,
|
|
10
|
+
?tier_rates: top,
|
|
11
|
+
?request_options: Lithic::request_opts
|
|
12
|
+
) -> Lithic::FinancialAccounts::FinancialAccountsInterestTierSchedule
|
|
13
|
+
|
|
14
|
+
def retrieve: (
|
|
15
|
+
Date effective_date,
|
|
16
|
+
financial_account_token: String,
|
|
17
|
+
?request_options: Lithic::request_opts
|
|
18
|
+
) -> Lithic::FinancialAccounts::FinancialAccountsInterestTierSchedule
|
|
19
|
+
|
|
20
|
+
def update: (
|
|
21
|
+
Date effective_date,
|
|
22
|
+
financial_account_token: String,
|
|
23
|
+
?tier_name: String,
|
|
24
|
+
?tier_rates: top,
|
|
25
|
+
?request_options: Lithic::request_opts
|
|
26
|
+
) -> Lithic::FinancialAccounts::FinancialAccountsInterestTierSchedule
|
|
27
|
+
|
|
28
|
+
def list: (
|
|
29
|
+
String financial_account_token,
|
|
30
|
+
?after_date: Date,
|
|
31
|
+
?before_date: Date,
|
|
32
|
+
?for_date: Date,
|
|
33
|
+
?request_options: Lithic::request_opts
|
|
34
|
+
) -> Lithic::Internal::SinglePage[Lithic::FinancialAccounts::FinancialAccountsInterestTierSchedule]
|
|
35
|
+
|
|
36
|
+
def delete: (
|
|
37
|
+
Date effective_date,
|
|
38
|
+
financial_account_token: String,
|
|
39
|
+
?request_options: Lithic::request_opts
|
|
40
|
+
) -> nil
|
|
41
|
+
|
|
42
|
+
def initialize: (client: Lithic::Client) -> void
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Resources
|
|
3
|
+
class FinancialAccounts
|
|
4
|
+
class LoanTapeConfiguration
|
|
5
|
+
def retrieve: (
|
|
6
|
+
String financial_account_token,
|
|
7
|
+
?request_options: Lithic::request_opts
|
|
8
|
+
) -> Lithic::FinancialAccounts::FinancialAccountsLoanTapeConfiguration
|
|
9
|
+
|
|
10
|
+
def initialize: (client: Lithic::Client) -> void
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -11,6 +11,10 @@ module Lithic
|
|
|
11
11
|
|
|
12
12
|
attr_reader loan_tapes: Lithic::Resources::FinancialAccounts::LoanTapes
|
|
13
13
|
|
|
14
|
+
attr_reader loan_tape_configuration: Lithic::Resources::FinancialAccounts::LoanTapeConfiguration
|
|
15
|
+
|
|
16
|
+
attr_reader interest_tier_schedule: Lithic::Resources::FinancialAccounts::InterestTierSchedule
|
|
17
|
+
|
|
14
18
|
def create: (
|
|
15
19
|
nickname: String,
|
|
16
20
|
type: Lithic::Models::FinancialAccountCreateParams::type_,
|