lithic 0.5.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.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holders/account_holder_entity.rb +183 -0
  5. data/lib/lithic/models/account_holders/entity_create_params.rb +159 -0
  6. data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
  7. data/lib/lithic/models/account_holders/entity_delete_params.rb +22 -0
  8. data/lib/lithic/models/auth_rules/auth_rule.rb +6 -2
  9. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -0
  10. data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -2
  11. data/lib/lithic/models/auth_rules/v2_draft_params.rb +1 -0
  12. data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +9 -9
  13. data/lib/lithic/models/financial_account.rb +1 -0
  14. data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
  15. data/lib/lithic/models/financial_accounts/category_tier.rb +28 -0
  16. data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +50 -0
  17. data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +16 -0
  18. data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +22 -0
  19. data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +40 -0
  20. data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +22 -0
  21. data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +44 -0
  22. data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
  23. data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
  24. data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +16 -0
  25. data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
  26. data/lib/lithic/models/financial_accounts/statement.rb +1 -0
  27. data/lib/lithic/models/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
  28. data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
  29. data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
  30. data/lib/lithic/models.rb +4 -2
  31. data/lib/lithic/resources/account_holders/entities.rb +89 -0
  32. data/lib/lithic/resources/account_holders.rb +4 -0
  33. data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +205 -0
  34. data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
  35. data/lib/lithic/resources/financial_accounts.rb +9 -0
  36. data/lib/lithic/version.rb +1 -1
  37. data/lib/lithic.rb +18 -1
  38. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +296 -0
  39. data/rbi/lithic/models/account_holders/entity_create_params.rbi +242 -0
  40. data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
  41. data/rbi/lithic/models/account_holders/entity_delete_params.rbi +43 -0
  42. data/rbi/lithic/models/auth_rules/auth_rule.rbi +6 -3
  43. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +1 -0
  44. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +6 -3
  45. data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +15 -17
  46. data/rbi/lithic/models/financial_account.rbi +5 -0
  47. data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
  48. data/rbi/lithic/models/financial_accounts/category_tier.rbi +45 -0
  49. data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +75 -0
  50. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +32 -0
  51. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +43 -0
  52. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +73 -0
  53. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +43 -0
  54. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +70 -0
  55. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
  56. data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
  57. data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +32 -0
  58. data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
  59. data/rbi/lithic/models/financial_accounts/statement.rbi +5 -0
  60. data/rbi/lithic/models/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
  61. data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
  62. data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
  63. data/rbi/lithic/models.rbi +4 -2
  64. data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
  65. data/rbi/lithic/resources/account_holders.rbi +3 -0
  66. data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
  67. data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
  68. data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
  69. data/rbi/lithic/resources/financial_accounts.rbi +10 -0
  70. data/sig/lithic/models/account_holders/account_holder_entity.rbs +137 -0
  71. data/sig/lithic/models/account_holders/entity_create_params.rbs +118 -0
  72. data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
  73. data/sig/lithic/models/account_holders/entity_delete_params.rbs +26 -0
  74. data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +5 -9
  75. data/sig/lithic/models/financial_account.rbs +2 -0
  76. data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
  77. data/sig/lithic/models/financial_accounts/category_tier.rbs +21 -0
  78. data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +41 -0
  79. data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +17 -0
  80. data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +26 -0
  81. data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +40 -0
  82. data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +26 -0
  83. data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +38 -0
  84. data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
  85. data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
  86. data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +17 -0
  87. data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
  88. data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
  89. data/sig/lithic/models/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
  90. data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
  91. data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
  92. data/sig/lithic/models.rbs +4 -2
  93. data/sig/lithic/resources/account_holders/entities.rbs +28 -0
  94. data/sig/lithic/resources/account_holders.rbs +2 -0
  95. data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
  96. data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
  97. data/sig/lithic/resources/financial_accounts.rbs +4 -0
  98. metadata +56 -5
@@ -0,0 +1,118 @@
1
+ module Lithic
2
+ module Models
3
+ module AccountHolders
4
+ type entity_create_params =
5
+ {
6
+ address: Lithic::AccountHolders::EntityCreateParams::Address,
7
+ dob: String,
8
+ email: String,
9
+ first_name: String,
10
+ government_id: String,
11
+ last_name: String,
12
+ phone_number: String,
13
+ type: Lithic::Models::AccountHolders::EntityCreateParams::type_
14
+ }
15
+ & Lithic::Internal::Type::request_parameters
16
+
17
+ class EntityCreateParams < Lithic::Internal::Type::BaseModel
18
+ extend Lithic::Internal::Type::RequestParameters::Converter
19
+ include Lithic::Internal::Type::RequestParameters
20
+
21
+ attr_accessor address: Lithic::AccountHolders::EntityCreateParams::Address
22
+
23
+ attr_accessor dob: String
24
+
25
+ attr_accessor email: String
26
+
27
+ attr_accessor first_name: String
28
+
29
+ attr_accessor government_id: String
30
+
31
+ attr_accessor last_name: String
32
+
33
+ attr_accessor phone_number: String
34
+
35
+ attr_accessor type: Lithic::Models::AccountHolders::EntityCreateParams::type_
36
+
37
+ def initialize: (
38
+ address: Lithic::AccountHolders::EntityCreateParams::Address,
39
+ dob: String,
40
+ email: String,
41
+ first_name: String,
42
+ government_id: String,
43
+ last_name: String,
44
+ phone_number: String,
45
+ type: Lithic::Models::AccountHolders::EntityCreateParams::type_,
46
+ ?request_options: Lithic::request_opts
47
+ ) -> void
48
+
49
+ def to_hash: -> {
50
+ address: Lithic::AccountHolders::EntityCreateParams::Address,
51
+ dob: String,
52
+ email: String,
53
+ first_name: String,
54
+ government_id: String,
55
+ last_name: String,
56
+ phone_number: String,
57
+ type: Lithic::Models::AccountHolders::EntityCreateParams::type_,
58
+ request_options: Lithic::RequestOptions
59
+ }
60
+
61
+ type address =
62
+ {
63
+ :address1 => String,
64
+ city: String,
65
+ country: String,
66
+ postal_code: String,
67
+ state: String,
68
+ :address2 => String
69
+ }
70
+
71
+ class Address < Lithic::Internal::Type::BaseModel
72
+ attr_accessor address1: String
73
+
74
+ attr_accessor city: String
75
+
76
+ attr_accessor country: String
77
+
78
+ attr_accessor postal_code: String
79
+
80
+ attr_accessor state: String
81
+
82
+ attr_reader address2: String?
83
+
84
+ def address2=: (String) -> String
85
+
86
+ def initialize: (
87
+ address1: String,
88
+ city: String,
89
+ country: String,
90
+ postal_code: String,
91
+ state: String,
92
+ ?address2: String
93
+ ) -> void
94
+
95
+ def to_hash: -> {
96
+ :address1 => String,
97
+ city: String,
98
+ country: String,
99
+ postal_code: String,
100
+ state: String,
101
+ :address2 => String
102
+ }
103
+ end
104
+
105
+ type type_ = :BENEFICIAL_OWNER_INDIVIDUAL | :CONTROL_PERSON
106
+
107
+ module Type
108
+ extend Lithic::Internal::Type::Enum
109
+
110
+ BENEFICIAL_OWNER_INDIVIDUAL: :BENEFICIAL_OWNER_INDIVIDUAL
111
+ CONTROL_PERSON: :CONTROL_PERSON
112
+
113
+ def self?.values: -> ::Array[Lithic::Models::AccountHolders::EntityCreateParams::type_]
114
+ end
115
+ end
116
+ end
117
+ end
118
+ end
@@ -0,0 +1,117 @@
1
+ module Lithic
2
+ module Models
3
+ module AccountHolders
4
+ type entity_create_response =
5
+ {
6
+ token: String,
7
+ account_holder_token: String,
8
+ created: Time,
9
+ required_documents: ::Array[Lithic::RequiredDocument],
10
+ status: Lithic::Models::AccountHolders::EntityCreateResponse::status,
11
+ status_reasons: ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status_reason]
12
+ }
13
+
14
+ class EntityCreateResponse < Lithic::Internal::Type::BaseModel
15
+ attr_accessor token: String
16
+
17
+ attr_accessor account_holder_token: String
18
+
19
+ attr_accessor created: Time
20
+
21
+ attr_accessor required_documents: ::Array[Lithic::RequiredDocument]
22
+
23
+ attr_accessor status: Lithic::Models::AccountHolders::EntityCreateResponse::status
24
+
25
+ attr_accessor status_reasons: ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status_reason]
26
+
27
+ def initialize: (
28
+ token: String,
29
+ account_holder_token: String,
30
+ created: Time,
31
+ required_documents: ::Array[Lithic::RequiredDocument],
32
+ status: Lithic::Models::AccountHolders::EntityCreateResponse::status,
33
+ status_reasons: ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status_reason]
34
+ ) -> void
35
+
36
+ def to_hash: -> {
37
+ token: String,
38
+ account_holder_token: String,
39
+ created: Time,
40
+ required_documents: ::Array[Lithic::RequiredDocument],
41
+ status: Lithic::Models::AccountHolders::EntityCreateResponse::status,
42
+ status_reasons: ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status_reason]
43
+ }
44
+
45
+ type status = :ACCEPTED | :INACTIVE | :PENDING_REVIEW | :REJECTED
46
+
47
+ module Status
48
+ extend Lithic::Internal::Type::Enum
49
+
50
+ ACCEPTED: :ACCEPTED
51
+ INACTIVE: :INACTIVE
52
+ PENDING_REVIEW: :PENDING_REVIEW
53
+ REJECTED: :REJECTED
54
+
55
+ def self?.values: -> ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status]
56
+ end
57
+
58
+ type status_reason =
59
+ :ADDRESS_VERIFICATION_FAILURE
60
+ | :AGE_THRESHOLD_FAILURE
61
+ | :COMPLETE_VERIFICATION_FAILURE
62
+ | :DOB_VERIFICATION_FAILURE
63
+ | :ID_VERIFICATION_FAILURE
64
+ | :MAX_DOCUMENT_ATTEMPTS
65
+ | :MAX_RESUBMISSION_ATTEMPTS
66
+ | :NAME_VERIFICATION_FAILURE
67
+ | :OTHER_VERIFICATION_FAILURE
68
+ | :RISK_THRESHOLD_FAILURE
69
+ | :WATCHLIST_ALERT_FAILURE
70
+ | :PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE
71
+ | :PRIMARY_BUSINESS_ENTITY_ADDRESS_VERIFICATION_FAILURE
72
+ | :PRIMARY_BUSINESS_ENTITY_NAME_VERIFICATION_FAILURE
73
+ | :PRIMARY_BUSINESS_ENTITY_BUSINESS_OFFICERS_NOT_MATCHED
74
+ | :PRIMARY_BUSINESS_ENTITY_SOS_FILING_INACTIVE
75
+ | :PRIMARY_BUSINESS_ENTITY_SOS_NOT_MATCHED
76
+ | :PRIMARY_BUSINESS_ENTITY_CMRA_FAILURE
77
+ | :PRIMARY_BUSINESS_ENTITY_WATCHLIST_FAILURE
78
+ | :PRIMARY_BUSINESS_ENTITY_REGISTERED_AGENT_FAILURE
79
+ | :CONTROL_PERSON_BLOCKLIST_ALERT_FAILURE
80
+ | :CONTROL_PERSON_ID_VERIFICATION_FAILURE
81
+ | :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
82
+ | :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
83
+
84
+ module StatusReason
85
+ extend Lithic::Internal::Type::Enum
86
+
87
+ ADDRESS_VERIFICATION_FAILURE: :ADDRESS_VERIFICATION_FAILURE
88
+ AGE_THRESHOLD_FAILURE: :AGE_THRESHOLD_FAILURE
89
+ COMPLETE_VERIFICATION_FAILURE: :COMPLETE_VERIFICATION_FAILURE
90
+ DOB_VERIFICATION_FAILURE: :DOB_VERIFICATION_FAILURE
91
+ ID_VERIFICATION_FAILURE: :ID_VERIFICATION_FAILURE
92
+ MAX_DOCUMENT_ATTEMPTS: :MAX_DOCUMENT_ATTEMPTS
93
+ MAX_RESUBMISSION_ATTEMPTS: :MAX_RESUBMISSION_ATTEMPTS
94
+ NAME_VERIFICATION_FAILURE: :NAME_VERIFICATION_FAILURE
95
+ OTHER_VERIFICATION_FAILURE: :OTHER_VERIFICATION_FAILURE
96
+ RISK_THRESHOLD_FAILURE: :RISK_THRESHOLD_FAILURE
97
+ WATCHLIST_ALERT_FAILURE: :WATCHLIST_ALERT_FAILURE
98
+ PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE: :PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE
99
+ PRIMARY_BUSINESS_ENTITY_ADDRESS_VERIFICATION_FAILURE: :PRIMARY_BUSINESS_ENTITY_ADDRESS_VERIFICATION_FAILURE
100
+ PRIMARY_BUSINESS_ENTITY_NAME_VERIFICATION_FAILURE: :PRIMARY_BUSINESS_ENTITY_NAME_VERIFICATION_FAILURE
101
+ PRIMARY_BUSINESS_ENTITY_BUSINESS_OFFICERS_NOT_MATCHED: :PRIMARY_BUSINESS_ENTITY_BUSINESS_OFFICERS_NOT_MATCHED
102
+ PRIMARY_BUSINESS_ENTITY_SOS_FILING_INACTIVE: :PRIMARY_BUSINESS_ENTITY_SOS_FILING_INACTIVE
103
+ PRIMARY_BUSINESS_ENTITY_SOS_NOT_MATCHED: :PRIMARY_BUSINESS_ENTITY_SOS_NOT_MATCHED
104
+ PRIMARY_BUSINESS_ENTITY_CMRA_FAILURE: :PRIMARY_BUSINESS_ENTITY_CMRA_FAILURE
105
+ PRIMARY_BUSINESS_ENTITY_WATCHLIST_FAILURE: :PRIMARY_BUSINESS_ENTITY_WATCHLIST_FAILURE
106
+ PRIMARY_BUSINESS_ENTITY_REGISTERED_AGENT_FAILURE: :PRIMARY_BUSINESS_ENTITY_REGISTERED_AGENT_FAILURE
107
+ CONTROL_PERSON_BLOCKLIST_ALERT_FAILURE: :CONTROL_PERSON_BLOCKLIST_ALERT_FAILURE
108
+ CONTROL_PERSON_ID_VERIFICATION_FAILURE: :CONTROL_PERSON_ID_VERIFICATION_FAILURE
109
+ CONTROL_PERSON_DOB_VERIFICATION_FAILURE: :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
110
+ CONTROL_PERSON_NAME_VERIFICATION_FAILURE: :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
111
+
112
+ def self?.values: -> ::Array[Lithic::Models::AccountHolders::EntityCreateResponse::status_reason]
113
+ end
114
+ end
115
+ end
116
+ end
117
+ end
@@ -0,0 +1,26 @@
1
+ module Lithic
2
+ module Models
3
+ module AccountHolders
4
+ type entity_delete_params =
5
+ { account_holder_token: String }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class EntityDeleteParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor account_holder_token: String
13
+
14
+ def initialize: (
15
+ account_holder_token: String,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ account_holder_token: String,
21
+ request_options: Lithic::RequestOptions
22
+ }
23
+ end
24
+ end
25
+ end
26
+ end
@@ -6,13 +6,13 @@ module Lithic
6
6
  card_token: String,
7
7
  created: Time,
8
8
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
9
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
9
10
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
10
11
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
11
12
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::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::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -28,6 +28,8 @@ module Lithic
28
28
 
29
29
  attr_accessor customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?
30
30
 
31
+ attr_accessor digital_wallet_token_metadata: Lithic::TokenMetadata
32
+
31
33
  attr_accessor event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type
32
34
 
33
35
  attr_accessor issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision
@@ -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=: (
@@ -77,13 +73,13 @@ module Lithic
77
73
  card_token: String,
78
74
  created: Time,
79
75
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
76
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
80
77
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
81
78
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
82
79
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::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::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -95,13 +91,13 @@ module Lithic
95
91
  card_token: String,
96
92
  created: Time,
97
93
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
94
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
98
95
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
99
96
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
100
97
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::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::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -142,6 +142,7 @@ module Lithic
142
142
  | :END_USER_REQUEST
143
143
  | :BANK_REQUEST
144
144
  | :DELINQUENT
145
+ | :INTEREST_AND_FEES_PAUSED
145
146
 
146
147
  module Substatus
147
148
  extend Lithic::Internal::Type::Enum
@@ -151,6 +152,7 @@ module Lithic
151
152
  END_USER_REQUEST: :END_USER_REQUEST
152
153
  BANK_REQUEST: :BANK_REQUEST
153
154
  DELINQUENT: :DELINQUENT
155
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
154
156
 
155
157
  def self?.values: -> ::Array[Lithic::Models::FinancialAccount::substatus]
156
158
  end
@@ -52,6 +52,7 @@ module Lithic
52
52
  | :END_USER_REQUEST
53
53
  | :BANK_REQUEST
54
54
  | :CHARGED_OFF_DELINQUENT
55
+ | :INTEREST_AND_FEES_PAUSED
55
56
 
56
57
  module Substatus
57
58
  extend Lithic::Internal::Type::Enum
@@ -60,6 +61,7 @@ module Lithic
60
61
  END_USER_REQUEST: :END_USER_REQUEST
61
62
  BANK_REQUEST: :BANK_REQUEST
62
63
  CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
64
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
63
65
 
64
66
  def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::substatus]
65
67
  end
@@ -0,0 +1,21 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type category_tier = { cap_rate: String, rate: String }
5
+
6
+ class CategoryTier < Lithic::Internal::Type::BaseModel
7
+ attr_reader cap_rate: String?
8
+
9
+ def cap_rate=: (String) -> String
10
+
11
+ attr_reader rate: String?
12
+
13
+ def rate=: (String) -> String
14
+
15
+ def initialize: (?cap_rate: String, ?rate: String) -> void
16
+
17
+ def to_hash: -> { cap_rate: String, rate: String }
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,41 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type financial_accounts_interest_tier_schedule =
5
+ {
6
+ credit_product_token: String,
7
+ effective_date: Date,
8
+ tier_name: String,
9
+ tier_rates: top
10
+ }
11
+
12
+ class FinancialAccountsInterestTierSchedule < Lithic::Internal::Type::BaseModel
13
+ attr_accessor credit_product_token: String
14
+
15
+ attr_accessor effective_date: Date
16
+
17
+ attr_reader tier_name: String?
18
+
19
+ def tier_name=: (String) -> String
20
+
21
+ attr_reader tier_rates: top?
22
+
23
+ def tier_rates=: (top) -> top
24
+
25
+ def initialize: (
26
+ credit_product_token: String,
27
+ effective_date: Date,
28
+ ?tier_name: String,
29
+ ?tier_rates: top
30
+ ) -> void
31
+
32
+ def to_hash: -> {
33
+ credit_product_token: String,
34
+ effective_date: Date,
35
+ tier_name: String,
36
+ tier_rates: top
37
+ }
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,17 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_create_params =
5
+ { } & Lithic::Internal::Type::request_parameters
6
+
7
+ class InterestTierScheduleCreateParams < Lithic::Models::FinancialAccounts::FinancialAccountsInterestTierSchedule
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ def initialize: (?request_options: Lithic::request_opts) -> void
12
+
13
+ def to_hash: -> { request_options: Lithic::RequestOptions }
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,26 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_delete_params =
5
+ { financial_account_token: String }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleDeleteParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ def initialize: (
15
+ financial_account_token: String,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ financial_account_token: String,
21
+ request_options: Lithic::RequestOptions
22
+ }
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,40 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_list_params =
5
+ { after_date: Date, before_date: Date, for_date: Date }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleListParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_reader after_date: Date?
13
+
14
+ def after_date=: (Date) -> Date
15
+
16
+ attr_reader before_date: Date?
17
+
18
+ def before_date=: (Date) -> Date
19
+
20
+ attr_reader for_date: Date?
21
+
22
+ def for_date=: (Date) -> Date
23
+
24
+ def initialize: (
25
+ ?after_date: Date,
26
+ ?before_date: Date,
27
+ ?for_date: Date,
28
+ ?request_options: Lithic::request_opts
29
+ ) -> void
30
+
31
+ def to_hash: -> {
32
+ after_date: Date,
33
+ before_date: Date,
34
+ for_date: Date,
35
+ request_options: Lithic::RequestOptions
36
+ }
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,26 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_retrieve_params =
5
+ { financial_account_token: String }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleRetrieveParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ def initialize: (
15
+ financial_account_token: String,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ financial_account_token: String,
21
+ request_options: Lithic::RequestOptions
22
+ }
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,38 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_update_params =
5
+ { financial_account_token: String, tier_name: String, tier_rates: top }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleUpdateParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ attr_reader tier_name: String?
15
+
16
+ def tier_name=: (String) -> String
17
+
18
+ attr_reader tier_rates: top?
19
+
20
+ def tier_rates=: (top) -> top
21
+
22
+ def initialize: (
23
+ financial_account_token: String,
24
+ ?tier_name: String,
25
+ ?tier_rates: top,
26
+ ?request_options: Lithic::request_opts
27
+ ) -> void
28
+
29
+ def to_hash: -> {
30
+ financial_account_token: String,
31
+ tier_name: String,
32
+ tier_rates: top,
33
+ request_options: Lithic::RequestOptions
34
+ }
35
+ end
36
+ end
37
+ end
38
+ end
@@ -213,6 +213,7 @@ module Lithic
213
213
  | :END_USER_REQUEST
214
214
  | :BANK_REQUEST
215
215
  | :DELINQUENT
216
+ | :INTEREST_AND_FEES_PAUSED
216
217
 
217
218
  module Substatus
218
219
  extend Lithic::Internal::Type::Enum
@@ -222,6 +223,7 @@ module Lithic
222
223
  END_USER_REQUEST: :END_USER_REQUEST
223
224
  BANK_REQUEST: :BANK_REQUEST
224
225
  DELINQUENT: :DELINQUENT
226
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
225
227
 
226
228
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus]
227
229
  end
@@ -0,0 +1,60 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type financial_accounts_loan_tape_configuration =
5
+ {
6
+ created_at: Time,
7
+ financial_account_token: String,
8
+ instance_token: String,
9
+ updated_at: Time,
10
+ credit_product_token: String,
11
+ loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
12
+ tier_schedule_changed_at: Time
13
+ }
14
+
15
+ class FinancialAccountsLoanTapeConfiguration < Lithic::Internal::Type::BaseModel
16
+ attr_accessor created_at: Time
17
+
18
+ attr_accessor financial_account_token: String
19
+
20
+ attr_accessor instance_token: String
21
+
22
+ attr_accessor updated_at: Time
23
+
24
+ attr_reader credit_product_token: String?
25
+
26
+ def credit_product_token=: (String) -> String
27
+
28
+ attr_reader loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration?
29
+
30
+ def loan_tape_rebuild_configuration=: (
31
+ Lithic::FinancialAccounts::LoanTapeRebuildConfiguration
32
+ ) -> Lithic::FinancialAccounts::LoanTapeRebuildConfiguration
33
+
34
+ attr_reader tier_schedule_changed_at: Time?
35
+
36
+ def tier_schedule_changed_at=: (Time) -> Time
37
+
38
+ def initialize: (
39
+ created_at: Time,
40
+ financial_account_token: String,
41
+ instance_token: String,
42
+ updated_at: Time,
43
+ ?credit_product_token: String,
44
+ ?loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
45
+ ?tier_schedule_changed_at: Time
46
+ ) -> void
47
+
48
+ def to_hash: -> {
49
+ created_at: Time,
50
+ financial_account_token: String,
51
+ instance_token: String,
52
+ updated_at: Time,
53
+ credit_product_token: String,
54
+ loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
55
+ tier_schedule_changed_at: Time
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,17 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type loan_tape_configuration_retrieve_params =
5
+ { } & Lithic::Internal::Type::request_parameters
6
+
7
+ class LoanTapeConfigurationRetrieveParams < Lithic::Internal::Type::BaseModel
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ def initialize: (?request_options: Lithic::request_opts) -> void
12
+
13
+ def to_hash: -> { request_options: Lithic::RequestOptions }
14
+ end
15
+ end
16
+ end
17
+ end