increase 1.348.0 → 1.350.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/README.md +1 -1
- data/lib/increase/models/account_create_params.rb +15 -15
- data/lib/increase/models/account_number.rb +3 -3
- data/lib/increase/models/ach_transfer.rb +12 -12
- data/lib/increase/models/balance_lookup.rb +1 -1
- data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
- data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
- data/lib/increase/models/card_dispute.rb +9 -1
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
- data/lib/increase/models/card_payment.rb +58 -58
- data/lib/increase/models/card_purchase_supplement.rb +9 -1
- data/lib/increase/models/card_token_capabilities.rb +2 -2
- data/lib/increase/models/check_deposit.rb +9 -9
- data/lib/increase/models/check_transfer.rb +2 -2
- data/lib/increase/models/check_transfer_create_params.rb +9 -4
- data/lib/increase/models/declined_transaction.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +9 -1
- data/lib/increase/models/entity.rb +298 -6
- data/lib/increase/models/entity_create_params.rb +332 -29
- data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
- data/lib/increase/models/entity_update_params.rb +472 -15
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +3 -0
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/fednow_transfer.rb +115 -4
- data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
- data/lib/increase/models/inbound_ach_transfer.rb +2 -2
- data/lib/increase/models/inbound_check_deposit.rb +7 -4
- data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
- data/lib/increase/models/inbound_mail_item.rb +14 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
- data/lib/increase/models/inbound_wire_transfer.rb +4 -4
- data/lib/increase/models/intrafi_exclusion.rb +4 -4
- data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
- data/lib/increase/models/pending_transaction.rb +20 -20
- data/lib/increase/models/pending_transaction_list_params.rb +5 -7
- data/lib/increase/models/physical_card.rb +9 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -18
- data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
- data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
- data/lib/increase/models/simulations/program_create_params.rb +14 -3
- data/lib/increase/models/transaction.rb +146 -19
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/models/wire_drawdown_request.rb +12 -1
- data/lib/increase/models/wire_transfer_create_params.rb +2 -2
- data/lib/increase/resources/cards.rb +2 -2
- data/lib/increase/resources/check_transfers.rb +1 -1
- data/lib/increase/resources/entities.rb +10 -2
- data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
- data/lib/increase/resources/lockbox_recipients.rb +1 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/simulations/card_authentications.rb +1 -1
- data/lib/increase/resources/simulations/card_disputes.rb +2 -2
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/resources/simulations/interest_payments.rb +1 -1
- data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
- data/lib/increase/resources/simulations/physical_cards.rb +2 -2
- data/lib/increase/resources/simulations/programs.rb +6 -2
- data/lib/increase/resources/wire_transfers.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/account_number.rbi +3 -3
- data/rbi/increase/models/ach_transfer.rbi +12 -12
- data/rbi/increase/models/balance_lookup.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
- data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
- data/rbi/increase/models/card_dispute.rbi +8 -0
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
- data/rbi/increase/models/card_payment.rbi +58 -58
- data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
- data/rbi/increase/models/card_token_capabilities.rbi +2 -2
- data/rbi/increase/models/check_deposit.rbi +9 -9
- data/rbi/increase/models/check_transfer.rbi +2 -2
- data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
- data/rbi/increase/models/declined_transaction.rbi +16 -9
- data/rbi/increase/models/digital_wallet_token.rbi +8 -0
- data/rbi/increase/models/entity.rbi +496 -5
- data/rbi/increase/models/entity_create_params.rbi +547 -28
- data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
- data/rbi/increase/models/entity_update_params.rbi +814 -14
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +7 -0
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/fednow_transfer.rbi +213 -7
- data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
- data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
- data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
- data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
- data/rbi/increase/models/inbound_mail_item.rbi +12 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
- data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
- data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
- data/rbi/increase/models/pending_transaction.rbi +20 -20
- data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
- data/rbi/increase/models/physical_card.rbi +8 -0
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +18 -18
- data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
- data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
- data/rbi/increase/models/transaction.rbi +264 -18
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
- data/rbi/increase/resources/cards.rbi +2 -2
- data/rbi/increase/resources/check_transfers.rbi +1 -1
- data/rbi/increase/resources/entities.rbi +10 -0
- data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
- data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
- data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
- data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
- data/rbi/increase/resources/simulations/programs.rbi +5 -1
- data/rbi/increase/resources/wire_transfers.rbi +1 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/card_dispute.rbs +5 -0
- data/sig/increase/models/card_purchase_supplement.rbs +5 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +5 -0
- data/sig/increase/models/entity.rbs +230 -4
- data/sig/increase/models/entity_create_params.rbs +232 -1
- data/sig/increase/models/entity_update_params.rbs +366 -0
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/fednow_transfer.rbs +113 -4
- data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
- data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
- data/sig/increase/models/inbound_mail_item.rbs +5 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +1 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/program_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +113 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/models/wire_drawdown_request.rbs +5 -0
- data/sig/increase/resources/entities.rbs +2 -0
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +2 -2
|
@@ -46,7 +46,7 @@ module Increase
|
|
|
46
46
|
# The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
|
47
47
|
# destination account.
|
|
48
48
|
routing_number: nil,
|
|
49
|
-
# The ID of an Account Number that will be passed to the wire's recipient
|
|
49
|
+
# The ID of an Account Number that will be passed to the wire's recipient.
|
|
50
50
|
source_account_number_id: nil,
|
|
51
51
|
request_options: {}
|
|
52
52
|
)
|
|
@@ -79,38 +79,46 @@ module Increase
|
|
|
79
79
|
{
|
|
80
80
|
credit_limit: Integer,
|
|
81
81
|
grace_period_days: Integer,
|
|
82
|
+
maturity_date: Date,
|
|
82
83
|
statement_day_of_month: Integer,
|
|
83
|
-
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
84
|
-
maturity_date: Date
|
|
84
|
+
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
class Loan < Increase::Internal::Type::BaseModel
|
|
88
88
|
attr_accessor credit_limit: Integer
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
attr_reader grace_period_days: Integer?
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
attr_accessor statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
92
|
+
def grace_period_days=: (Integer) -> Integer
|
|
95
93
|
|
|
96
94
|
attr_reader maturity_date: Date?
|
|
97
95
|
|
|
98
96
|
def maturity_date=: (Date) -> Date
|
|
99
97
|
|
|
98
|
+
attr_reader statement_day_of_month: Integer?
|
|
99
|
+
|
|
100
|
+
def statement_day_of_month=: (Integer) -> Integer
|
|
101
|
+
|
|
102
|
+
attr_reader statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type?
|
|
103
|
+
|
|
104
|
+
def statement_payment_type=: (
|
|
105
|
+
Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
106
|
+
) -> Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
107
|
+
|
|
100
108
|
def initialize: (
|
|
101
109
|
credit_limit: Integer,
|
|
102
|
-
grace_period_days: Integer,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
?
|
|
110
|
+
?grace_period_days: Integer,
|
|
111
|
+
?maturity_date: Date,
|
|
112
|
+
?statement_day_of_month: Integer,
|
|
113
|
+
?statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
106
114
|
) -> void
|
|
107
115
|
|
|
108
116
|
def to_hash: -> {
|
|
109
117
|
credit_limit: Integer,
|
|
110
118
|
grace_period_days: Integer,
|
|
119
|
+
maturity_date: Date,
|
|
111
120
|
statement_day_of_month: Integer,
|
|
112
|
-
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
113
|
-
maturity_date: Date
|
|
121
|
+
statement_payment_type: Increase::Models::AccountCreateParams::Loan::statement_payment_type
|
|
114
122
|
}
|
|
115
123
|
|
|
116
124
|
type statement_payment_type = :balance | :interest_until_maturity
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type card_dispute =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
account_id: String,
|
|
6
7
|
amount: Integer,
|
|
7
8
|
card_id: String,
|
|
8
9
|
created_at: Time,
|
|
@@ -22,6 +23,8 @@ module Increase
|
|
|
22
23
|
class CardDispute < Increase::Internal::Type::BaseModel
|
|
23
24
|
attr_accessor id: String
|
|
24
25
|
|
|
26
|
+
attr_accessor account_id: String
|
|
27
|
+
|
|
25
28
|
attr_accessor amount: Integer
|
|
26
29
|
|
|
27
30
|
attr_accessor card_id: String
|
|
@@ -52,6 +55,7 @@ module Increase
|
|
|
52
55
|
|
|
53
56
|
def initialize: (
|
|
54
57
|
id: String,
|
|
58
|
+
account_id: String,
|
|
55
59
|
amount: Integer,
|
|
56
60
|
card_id: String,
|
|
57
61
|
created_at: Time,
|
|
@@ -70,6 +74,7 @@ module Increase
|
|
|
70
74
|
|
|
71
75
|
def to_hash: -> {
|
|
72
76
|
id: String,
|
|
77
|
+
account_id: String,
|
|
73
78
|
amount: Integer,
|
|
74
79
|
card_id: String,
|
|
75
80
|
created_at: Time,
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type card_purchase_supplement =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
account_id: String,
|
|
6
7
|
card_payment_id: String?,
|
|
7
8
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
8
9
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
@@ -14,6 +15,8 @@ module Increase
|
|
|
14
15
|
class CardPurchaseSupplement < Increase::Internal::Type::BaseModel
|
|
15
16
|
attr_accessor id: String
|
|
16
17
|
|
|
18
|
+
attr_accessor account_id: String
|
|
19
|
+
|
|
17
20
|
attr_accessor card_payment_id: String?
|
|
18
21
|
|
|
19
22
|
attr_accessor invoice: Increase::CardPurchaseSupplement::Invoice?
|
|
@@ -28,6 +31,7 @@ module Increase
|
|
|
28
31
|
|
|
29
32
|
def initialize: (
|
|
30
33
|
id: String,
|
|
34
|
+
account_id: String,
|
|
31
35
|
card_payment_id: String?,
|
|
32
36
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
33
37
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
@@ -38,6 +42,7 @@ module Increase
|
|
|
38
42
|
|
|
39
43
|
def to_hash: -> {
|
|
40
44
|
id: String,
|
|
45
|
+
account_id: String,
|
|
41
46
|
card_payment_id: String?,
|
|
42
47
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
43
48
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
@@ -1784,6 +1784,7 @@ module Increase
|
|
|
1784
1784
|
| :group_locked
|
|
1785
1785
|
| :entity_not_active
|
|
1786
1786
|
| :fednow_not_enabled
|
|
1787
|
+
| :transaction_not_allowed
|
|
1787
1788
|
|
|
1788
1789
|
module Reason
|
|
1789
1790
|
extend Increase::Internal::Type::Enum
|
|
@@ -1806,6 +1807,9 @@ module Increase
|
|
|
1806
1807
|
# Your account is not enabled to receive FedNow transfers.
|
|
1807
1808
|
FEDNOW_NOT_ENABLED: :fednow_not_enabled
|
|
1808
1809
|
|
|
1810
|
+
# The transaction is not allowed per Increase's terms.
|
|
1811
|
+
TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
|
|
1812
|
+
|
|
1809
1813
|
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason]
|
|
1810
1814
|
end
|
|
1811
1815
|
end
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type digital_wallet_token =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
account_id: String,
|
|
6
7
|
card_id: String,
|
|
7
8
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
8
9
|
created_at: Time,
|
|
@@ -18,6 +19,8 @@ module Increase
|
|
|
18
19
|
class DigitalWalletToken < Increase::Internal::Type::BaseModel
|
|
19
20
|
attr_accessor id: String
|
|
20
21
|
|
|
22
|
+
attr_accessor account_id: String
|
|
23
|
+
|
|
21
24
|
attr_accessor card_id: String
|
|
22
25
|
|
|
23
26
|
attr_accessor cardholder: Increase::DigitalWalletToken::Cardholder
|
|
@@ -40,6 +43,7 @@ module Increase
|
|
|
40
43
|
|
|
41
44
|
def initialize: (
|
|
42
45
|
id: String,
|
|
46
|
+
account_id: String,
|
|
43
47
|
card_id: String,
|
|
44
48
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
45
49
|
created_at: Time,
|
|
@@ -54,6 +58,7 @@ module Increase
|
|
|
54
58
|
|
|
55
59
|
def to_hash: -> {
|
|
56
60
|
id: String,
|
|
61
|
+
account_id: String,
|
|
57
62
|
card_id: String,
|
|
58
63
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
59
64
|
created_at: Time,
|
|
@@ -13,6 +13,7 @@ module Increase
|
|
|
13
13
|
joint: Increase::Entity::Joint?,
|
|
14
14
|
natural_person: Increase::Entity::NaturalPerson?,
|
|
15
15
|
risk_rating: Increase::Entity::RiskRating?,
|
|
16
|
+
sole_proprietorship: Increase::Entity::SoleProprietorship?,
|
|
16
17
|
status: Increase::Models::Entity::status,
|
|
17
18
|
structure: Increase::Models::Entity::structure,
|
|
18
19
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
@@ -46,6 +47,8 @@ module Increase
|
|
|
46
47
|
|
|
47
48
|
attr_accessor risk_rating: Increase::Entity::RiskRating?
|
|
48
49
|
|
|
50
|
+
attr_accessor sole_proprietorship: Increase::Entity::SoleProprietorship?
|
|
51
|
+
|
|
49
52
|
attr_accessor status: Increase::Models::Entity::status
|
|
50
53
|
|
|
51
54
|
attr_accessor structure: Increase::Models::Entity::structure
|
|
@@ -74,6 +77,7 @@ module Increase
|
|
|
74
77
|
joint: Increase::Entity::Joint?,
|
|
75
78
|
natural_person: Increase::Entity::NaturalPerson?,
|
|
76
79
|
risk_rating: Increase::Entity::RiskRating?,
|
|
80
|
+
sole_proprietorship: Increase::Entity::SoleProprietorship?,
|
|
77
81
|
status: Increase::Models::Entity::status,
|
|
78
82
|
structure: Increase::Models::Entity::structure,
|
|
79
83
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
@@ -96,6 +100,7 @@ module Increase
|
|
|
96
100
|
joint: Increase::Entity::Joint?,
|
|
97
101
|
natural_person: Increase::Entity::NaturalPerson?,
|
|
98
102
|
risk_rating: Increase::Entity::RiskRating?,
|
|
103
|
+
sole_proprietorship: Increase::Entity::SoleProprietorship?,
|
|
99
104
|
status: Increase::Models::Entity::status,
|
|
100
105
|
structure: Increase::Models::Entity::structure,
|
|
101
106
|
supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
|
|
@@ -858,6 +863,219 @@ module Increase
|
|
|
858
863
|
end
|
|
859
864
|
end
|
|
860
865
|
|
|
866
|
+
type sole_proprietorship =
|
|
867
|
+
{
|
|
868
|
+
address: Increase::Entity::SoleProprietorship::Address,
|
|
869
|
+
doing_business_as_name: String?,
|
|
870
|
+
email: String?,
|
|
871
|
+
industry_code: String?,
|
|
872
|
+
sole_proprietor: Increase::Entity::SoleProprietorship::SoleProprietor,
|
|
873
|
+
tax_identifier: String?,
|
|
874
|
+
website: String?
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
878
|
+
attr_accessor address: Increase::Entity::SoleProprietorship::Address
|
|
879
|
+
|
|
880
|
+
attr_accessor doing_business_as_name: String?
|
|
881
|
+
|
|
882
|
+
attr_accessor email: String?
|
|
883
|
+
|
|
884
|
+
attr_accessor industry_code: String?
|
|
885
|
+
|
|
886
|
+
attr_accessor sole_proprietor: Increase::Entity::SoleProprietorship::SoleProprietor
|
|
887
|
+
|
|
888
|
+
attr_accessor tax_identifier: String?
|
|
889
|
+
|
|
890
|
+
attr_accessor website: String?
|
|
891
|
+
|
|
892
|
+
def initialize: (
|
|
893
|
+
address: Increase::Entity::SoleProprietorship::Address,
|
|
894
|
+
doing_business_as_name: String?,
|
|
895
|
+
email: String?,
|
|
896
|
+
industry_code: String?,
|
|
897
|
+
sole_proprietor: Increase::Entity::SoleProprietorship::SoleProprietor,
|
|
898
|
+
tax_identifier: String?,
|
|
899
|
+
website: String?
|
|
900
|
+
) -> void
|
|
901
|
+
|
|
902
|
+
def to_hash: -> {
|
|
903
|
+
address: Increase::Entity::SoleProprietorship::Address,
|
|
904
|
+
doing_business_as_name: String?,
|
|
905
|
+
email: String?,
|
|
906
|
+
industry_code: String?,
|
|
907
|
+
sole_proprietor: Increase::Entity::SoleProprietorship::SoleProprietor,
|
|
908
|
+
tax_identifier: String?,
|
|
909
|
+
website: String?
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
type address =
|
|
913
|
+
{
|
|
914
|
+
city: String?,
|
|
915
|
+
country: String,
|
|
916
|
+
:line1 => String,
|
|
917
|
+
:line2 => String?,
|
|
918
|
+
state: String?,
|
|
919
|
+
zip: String?
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
923
|
+
attr_accessor city: String?
|
|
924
|
+
|
|
925
|
+
attr_accessor country: String
|
|
926
|
+
|
|
927
|
+
attr_accessor line1: String
|
|
928
|
+
|
|
929
|
+
attr_accessor line2: String?
|
|
930
|
+
|
|
931
|
+
attr_accessor state: String?
|
|
932
|
+
|
|
933
|
+
attr_accessor zip: String?
|
|
934
|
+
|
|
935
|
+
def initialize: (
|
|
936
|
+
city: String?,
|
|
937
|
+
country: String,
|
|
938
|
+
line1: String,
|
|
939
|
+
line2: String?,
|
|
940
|
+
state: String?,
|
|
941
|
+
zip: String?
|
|
942
|
+
) -> void
|
|
943
|
+
|
|
944
|
+
def to_hash: -> {
|
|
945
|
+
city: String?,
|
|
946
|
+
country: String,
|
|
947
|
+
:line1 => String,
|
|
948
|
+
:line2 => String?,
|
|
949
|
+
state: String?,
|
|
950
|
+
zip: String?
|
|
951
|
+
}
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
type sole_proprietor =
|
|
955
|
+
{
|
|
956
|
+
address: Increase::Entity::SoleProprietorship::SoleProprietor::Address,
|
|
957
|
+
date_of_birth: Date,
|
|
958
|
+
identification: Increase::Entity::SoleProprietorship::SoleProprietor::Identification?,
|
|
959
|
+
name: String
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
class SoleProprietor < Increase::Internal::Type::BaseModel
|
|
963
|
+
attr_accessor address: Increase::Entity::SoleProprietorship::SoleProprietor::Address
|
|
964
|
+
|
|
965
|
+
attr_accessor date_of_birth: Date
|
|
966
|
+
|
|
967
|
+
attr_accessor identification: Increase::Entity::SoleProprietorship::SoleProprietor::Identification?
|
|
968
|
+
|
|
969
|
+
attr_accessor name: String
|
|
970
|
+
|
|
971
|
+
def initialize: (
|
|
972
|
+
address: Increase::Entity::SoleProprietorship::SoleProprietor::Address,
|
|
973
|
+
date_of_birth: Date,
|
|
974
|
+
identification: Increase::Entity::SoleProprietorship::SoleProprietor::Identification?,
|
|
975
|
+
name: String
|
|
976
|
+
) -> void
|
|
977
|
+
|
|
978
|
+
def to_hash: -> {
|
|
979
|
+
address: Increase::Entity::SoleProprietorship::SoleProprietor::Address,
|
|
980
|
+
date_of_birth: Date,
|
|
981
|
+
identification: Increase::Entity::SoleProprietorship::SoleProprietor::Identification?,
|
|
982
|
+
name: String
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
type address =
|
|
986
|
+
{
|
|
987
|
+
city: String?,
|
|
988
|
+
country: String,
|
|
989
|
+
:line1 => String,
|
|
990
|
+
:line2 => String?,
|
|
991
|
+
state: String?,
|
|
992
|
+
zip: String?
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
996
|
+
attr_accessor city: String?
|
|
997
|
+
|
|
998
|
+
attr_accessor country: String
|
|
999
|
+
|
|
1000
|
+
attr_accessor line1: String
|
|
1001
|
+
|
|
1002
|
+
attr_accessor line2: String?
|
|
1003
|
+
|
|
1004
|
+
attr_accessor state: String?
|
|
1005
|
+
|
|
1006
|
+
attr_accessor zip: String?
|
|
1007
|
+
|
|
1008
|
+
def initialize: (
|
|
1009
|
+
city: String?,
|
|
1010
|
+
country: String,
|
|
1011
|
+
line1: String,
|
|
1012
|
+
line2: String?,
|
|
1013
|
+
state: String?,
|
|
1014
|
+
zip: String?
|
|
1015
|
+
) -> void
|
|
1016
|
+
|
|
1017
|
+
def to_hash: -> {
|
|
1018
|
+
city: String?,
|
|
1019
|
+
country: String,
|
|
1020
|
+
:line1 => String,
|
|
1021
|
+
:line2 => String?,
|
|
1022
|
+
state: String?,
|
|
1023
|
+
zip: String?
|
|
1024
|
+
}
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
type identification =
|
|
1028
|
+
{
|
|
1029
|
+
method_: Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
1030
|
+
:number_last4 => String
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
1034
|
+
attr_accessor method_: Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::method_
|
|
1035
|
+
|
|
1036
|
+
attr_accessor number_last4: String
|
|
1037
|
+
|
|
1038
|
+
def initialize: (
|
|
1039
|
+
method_: Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
1040
|
+
number_last4: String
|
|
1041
|
+
) -> void
|
|
1042
|
+
|
|
1043
|
+
def to_hash: -> {
|
|
1044
|
+
method_: Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
1045
|
+
:number_last4 => String
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
type method_ =
|
|
1049
|
+
:social_security_number
|
|
1050
|
+
| :individual_taxpayer_identification_number
|
|
1051
|
+
| :passport
|
|
1052
|
+
| :drivers_license
|
|
1053
|
+
| :other
|
|
1054
|
+
|
|
1055
|
+
module Method
|
|
1056
|
+
extend Increase::Internal::Type::Enum
|
|
1057
|
+
|
|
1058
|
+
# A social security number.
|
|
1059
|
+
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
1060
|
+
|
|
1061
|
+
# An individual taxpayer identification number (ITIN).
|
|
1062
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
1063
|
+
|
|
1064
|
+
# A passport number.
|
|
1065
|
+
PASSPORT: :passport
|
|
1066
|
+
|
|
1067
|
+
# A driver's license number.
|
|
1068
|
+
DRIVERS_LICENSE: :drivers_license
|
|
1069
|
+
|
|
1070
|
+
# Another identifying document.
|
|
1071
|
+
OTHER: :other
|
|
1072
|
+
|
|
1073
|
+
def self?.values: -> ::Array[Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::method_]
|
|
1074
|
+
end
|
|
1075
|
+
end
|
|
1076
|
+
end
|
|
1077
|
+
end
|
|
1078
|
+
|
|
861
1079
|
type status = :active | :archived | :disabled
|
|
862
1080
|
|
|
863
1081
|
module Status
|
|
@@ -876,7 +1094,12 @@ module Increase
|
|
|
876
1094
|
end
|
|
877
1095
|
|
|
878
1096
|
type structure =
|
|
879
|
-
:corporation
|
|
1097
|
+
:corporation
|
|
1098
|
+
| :natural_person
|
|
1099
|
+
| :joint
|
|
1100
|
+
| :trust
|
|
1101
|
+
| :government_authority
|
|
1102
|
+
| :sole_proprietorship
|
|
880
1103
|
|
|
881
1104
|
module Structure
|
|
882
1105
|
extend Increase::Internal::Type::Enum
|
|
@@ -896,6 +1119,9 @@ module Increase
|
|
|
896
1119
|
# A government authority.
|
|
897
1120
|
GOVERNMENT_AUTHORITY: :government_authority
|
|
898
1121
|
|
|
1122
|
+
# A sole proprietorship.
|
|
1123
|
+
SOLE_PROPRIETORSHIP: :sole_proprietorship
|
|
1124
|
+
|
|
899
1125
|
def self?.values: -> ::Array[Increase::Models::Entity::structure]
|
|
900
1126
|
end
|
|
901
1127
|
|
|
@@ -1481,13 +1707,13 @@ module Increase
|
|
|
1481
1707
|
module Category
|
|
1482
1708
|
extend Increase::Internal::Type::Enum
|
|
1483
1709
|
|
|
1484
|
-
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
1710
|
+
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1485
1711
|
ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
|
|
1486
1712
|
|
|
1487
|
-
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
1713
|
+
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1488
1714
|
ENTITY_ADDRESS: :entity_address
|
|
1489
1715
|
|
|
1490
|
-
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
1716
|
+
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1491
1717
|
ENTITY_IDENTITY: :entity_identity
|
|
1492
1718
|
|
|
1493
1719
|
# A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|