increase 1.349.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_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 +5 -5
- 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/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 +2 -2
- data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
- 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 +13 -13
- data/lib/increase/models/pending_transaction_list_params.rb +4 -6
- data/lib/increase/models/physical_card.rb +9 -1
- 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/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 +141 -17
- data/lib/increase/models/transaction_list_params.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/simulations/card_authentications.rb +1 -1
- data/lib/increase/resources/simulations/card_disputes.rb +2 -2
- 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_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 +5 -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/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 +2 -2
- data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -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 +13 -13
- data/rbi/increase/models/pending_transaction_list_params.rbi +4 -6
- data/rbi/increase/models/physical_card.rbi +8 -0
- 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/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 +260 -16
- data/rbi/increase/models/transaction_list_params.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/simulations/card_authentications.rbi +1 -1
- data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
- 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/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 +3 -3
- data/sig/increase/models/entity_create_params.rbs +232 -1
- data/sig/increase/models/entity_update_params.rbs +366 -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 +4 -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/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
- 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/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
|
@@ -8,6 +8,7 @@ module Increase
|
|
|
8
8
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
9
9
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
10
10
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
11
|
+
sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
|
|
11
12
|
terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
12
13
|
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
13
14
|
trust: Increase::EntityUpdateParams::Trust
|
|
@@ -48,6 +49,12 @@ module Increase
|
|
|
48
49
|
Increase::EntityUpdateParams::RiskRating
|
|
49
50
|
) -> Increase::EntityUpdateParams::RiskRating
|
|
50
51
|
|
|
52
|
+
attr_reader sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship?
|
|
53
|
+
|
|
54
|
+
def sole_proprietorship=: (
|
|
55
|
+
Increase::EntityUpdateParams::SoleProprietorship
|
|
56
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship
|
|
57
|
+
|
|
51
58
|
attr_reader terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement]?
|
|
52
59
|
|
|
53
60
|
def terms_agreements=: (
|
|
@@ -73,6 +80,7 @@ module Increase
|
|
|
73
80
|
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
74
81
|
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
75
82
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
83
|
+
?sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
|
|
76
84
|
?terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
77
85
|
?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
78
86
|
?trust: Increase::EntityUpdateParams::Trust,
|
|
@@ -86,6 +94,7 @@ module Increase
|
|
|
86
94
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
|
87
95
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
|
88
96
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
|
97
|
+
sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
|
|
89
98
|
terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
|
|
90
99
|
third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
|
|
91
100
|
trust: Increase::EntityUpdateParams::Trust,
|
|
@@ -618,6 +627,363 @@ module Increase
|
|
|
618
627
|
end
|
|
619
628
|
end
|
|
620
629
|
|
|
630
|
+
type sole_proprietorship =
|
|
631
|
+
{
|
|
632
|
+
address: Increase::EntityUpdateParams::SoleProprietorship::Address,
|
|
633
|
+
email: String,
|
|
634
|
+
industry_code: String,
|
|
635
|
+
sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
|
|
636
|
+
tax_identifier: String,
|
|
637
|
+
website: String
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
641
|
+
attr_reader address: Increase::EntityUpdateParams::SoleProprietorship::Address?
|
|
642
|
+
|
|
643
|
+
def address=: (
|
|
644
|
+
Increase::EntityUpdateParams::SoleProprietorship::Address
|
|
645
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::Address
|
|
646
|
+
|
|
647
|
+
attr_reader email: String?
|
|
648
|
+
|
|
649
|
+
def email=: (String) -> String
|
|
650
|
+
|
|
651
|
+
attr_reader industry_code: String?
|
|
652
|
+
|
|
653
|
+
def industry_code=: (String) -> String
|
|
654
|
+
|
|
655
|
+
attr_reader sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor?
|
|
656
|
+
|
|
657
|
+
def sole_proprietor=: (
|
|
658
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor
|
|
659
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor
|
|
660
|
+
|
|
661
|
+
attr_reader tax_identifier: String?
|
|
662
|
+
|
|
663
|
+
def tax_identifier=: (String) -> String
|
|
664
|
+
|
|
665
|
+
attr_reader website: String?
|
|
666
|
+
|
|
667
|
+
def website=: (String) -> String
|
|
668
|
+
|
|
669
|
+
def initialize: (
|
|
670
|
+
?address: Increase::EntityUpdateParams::SoleProprietorship::Address,
|
|
671
|
+
?email: String,
|
|
672
|
+
?industry_code: String,
|
|
673
|
+
?sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
|
|
674
|
+
?tax_identifier: String,
|
|
675
|
+
?website: String
|
|
676
|
+
) -> void
|
|
677
|
+
|
|
678
|
+
def to_hash: -> {
|
|
679
|
+
address: Increase::EntityUpdateParams::SoleProprietorship::Address,
|
|
680
|
+
email: String,
|
|
681
|
+
industry_code: String,
|
|
682
|
+
sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
|
|
683
|
+
tax_identifier: String,
|
|
684
|
+
website: String
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
type address =
|
|
688
|
+
{
|
|
689
|
+
city: String,
|
|
690
|
+
:line1 => String,
|
|
691
|
+
state: String,
|
|
692
|
+
zip: String,
|
|
693
|
+
:line2 => String
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
697
|
+
attr_accessor city: String
|
|
698
|
+
|
|
699
|
+
attr_accessor line1: String
|
|
700
|
+
|
|
701
|
+
attr_accessor state: String
|
|
702
|
+
|
|
703
|
+
attr_accessor zip: String
|
|
704
|
+
|
|
705
|
+
attr_reader line2: String?
|
|
706
|
+
|
|
707
|
+
def line2=: (String) -> String
|
|
708
|
+
|
|
709
|
+
def initialize: (
|
|
710
|
+
city: String,
|
|
711
|
+
line1: String,
|
|
712
|
+
state: String,
|
|
713
|
+
zip: String,
|
|
714
|
+
?line2: String
|
|
715
|
+
) -> void
|
|
716
|
+
|
|
717
|
+
def to_hash: -> {
|
|
718
|
+
city: String,
|
|
719
|
+
:line1 => String,
|
|
720
|
+
state: String,
|
|
721
|
+
zip: String,
|
|
722
|
+
:line2 => String
|
|
723
|
+
}
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
type sole_proprietor =
|
|
727
|
+
{
|
|
728
|
+
address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
|
|
729
|
+
identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
|
|
730
|
+
name: String
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
class SoleProprietor < Increase::Internal::Type::BaseModel
|
|
734
|
+
attr_reader address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address?
|
|
735
|
+
|
|
736
|
+
def address=: (
|
|
737
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address
|
|
738
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address
|
|
739
|
+
|
|
740
|
+
attr_reader identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification?
|
|
741
|
+
|
|
742
|
+
def identification=: (
|
|
743
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification
|
|
744
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification
|
|
745
|
+
|
|
746
|
+
attr_reader name: String?
|
|
747
|
+
|
|
748
|
+
def name=: (String) -> String
|
|
749
|
+
|
|
750
|
+
def initialize: (
|
|
751
|
+
?address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
|
|
752
|
+
?identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
|
|
753
|
+
?name: String
|
|
754
|
+
) -> void
|
|
755
|
+
|
|
756
|
+
def to_hash: -> {
|
|
757
|
+
address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
|
|
758
|
+
identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
|
|
759
|
+
name: String
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
type address =
|
|
763
|
+
{
|
|
764
|
+
city: String,
|
|
765
|
+
country: String,
|
|
766
|
+
:line1 => String,
|
|
767
|
+
:line2 => String,
|
|
768
|
+
state: String,
|
|
769
|
+
zip: String
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
773
|
+
attr_accessor city: String
|
|
774
|
+
|
|
775
|
+
attr_accessor country: String
|
|
776
|
+
|
|
777
|
+
attr_accessor line1: String
|
|
778
|
+
|
|
779
|
+
attr_reader line2: String?
|
|
780
|
+
|
|
781
|
+
def line2=: (String) -> String
|
|
782
|
+
|
|
783
|
+
attr_reader state: String?
|
|
784
|
+
|
|
785
|
+
def state=: (String) -> String
|
|
786
|
+
|
|
787
|
+
attr_reader zip: String?
|
|
788
|
+
|
|
789
|
+
def zip=: (String) -> String
|
|
790
|
+
|
|
791
|
+
def initialize: (
|
|
792
|
+
city: String,
|
|
793
|
+
country: String,
|
|
794
|
+
line1: String,
|
|
795
|
+
?line2: String,
|
|
796
|
+
?state: String,
|
|
797
|
+
?zip: String
|
|
798
|
+
) -> void
|
|
799
|
+
|
|
800
|
+
def to_hash: -> {
|
|
801
|
+
city: String,
|
|
802
|
+
country: String,
|
|
803
|
+
:line1 => String,
|
|
804
|
+
:line2 => String,
|
|
805
|
+
state: String,
|
|
806
|
+
zip: String
|
|
807
|
+
}
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
type identification =
|
|
811
|
+
{
|
|
812
|
+
method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
813
|
+
number: String,
|
|
814
|
+
drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
|
|
815
|
+
other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
|
|
816
|
+
passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
820
|
+
attr_accessor method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_
|
|
821
|
+
|
|
822
|
+
attr_accessor number: String
|
|
823
|
+
|
|
824
|
+
attr_reader drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense?
|
|
825
|
+
|
|
826
|
+
def drivers_license=: (
|
|
827
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense
|
|
828
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense
|
|
829
|
+
|
|
830
|
+
attr_reader other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other?
|
|
831
|
+
|
|
832
|
+
def other=: (
|
|
833
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other
|
|
834
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other
|
|
835
|
+
|
|
836
|
+
attr_reader passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport?
|
|
837
|
+
|
|
838
|
+
def passport=: (
|
|
839
|
+
Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
|
|
840
|
+
) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
|
|
841
|
+
|
|
842
|
+
def initialize: (
|
|
843
|
+
method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
844
|
+
number: String,
|
|
845
|
+
?drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
|
|
846
|
+
?other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
|
|
847
|
+
?passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
|
|
848
|
+
) -> void
|
|
849
|
+
|
|
850
|
+
def to_hash: -> {
|
|
851
|
+
method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
|
|
852
|
+
number: String,
|
|
853
|
+
drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
|
|
854
|
+
other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
|
|
855
|
+
passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
type method_ =
|
|
859
|
+
:social_security_number
|
|
860
|
+
| :individual_taxpayer_identification_number
|
|
861
|
+
| :passport
|
|
862
|
+
| :drivers_license
|
|
863
|
+
| :other
|
|
864
|
+
|
|
865
|
+
module Method
|
|
866
|
+
extend Increase::Internal::Type::Enum
|
|
867
|
+
|
|
868
|
+
# A social security number.
|
|
869
|
+
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
870
|
+
|
|
871
|
+
# An individual taxpayer identification number (ITIN).
|
|
872
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
873
|
+
|
|
874
|
+
# A passport number.
|
|
875
|
+
PASSPORT: :passport
|
|
876
|
+
|
|
877
|
+
# A driver's license number.
|
|
878
|
+
DRIVERS_LICENSE: :drivers_license
|
|
879
|
+
|
|
880
|
+
# Another identifying document.
|
|
881
|
+
OTHER: :other
|
|
882
|
+
|
|
883
|
+
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_]
|
|
884
|
+
end
|
|
885
|
+
|
|
886
|
+
type drivers_license =
|
|
887
|
+
{
|
|
888
|
+
expiration_date: Date,
|
|
889
|
+
file_id: String,
|
|
890
|
+
state: String,
|
|
891
|
+
back_file_id: String
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
895
|
+
attr_accessor expiration_date: Date
|
|
896
|
+
|
|
897
|
+
attr_accessor file_id: String
|
|
898
|
+
|
|
899
|
+
attr_accessor state: String
|
|
900
|
+
|
|
901
|
+
attr_reader back_file_id: String?
|
|
902
|
+
|
|
903
|
+
def back_file_id=: (String) -> String
|
|
904
|
+
|
|
905
|
+
def initialize: (
|
|
906
|
+
expiration_date: Date,
|
|
907
|
+
file_id: String,
|
|
908
|
+
state: String,
|
|
909
|
+
?back_file_id: String
|
|
910
|
+
) -> void
|
|
911
|
+
|
|
912
|
+
def to_hash: -> {
|
|
913
|
+
expiration_date: Date,
|
|
914
|
+
file_id: String,
|
|
915
|
+
state: String,
|
|
916
|
+
back_file_id: String
|
|
917
|
+
}
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
type other =
|
|
921
|
+
{
|
|
922
|
+
country: String,
|
|
923
|
+
description: String,
|
|
924
|
+
file_id: String,
|
|
925
|
+
back_file_id: String,
|
|
926
|
+
expiration_date: Date
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
930
|
+
attr_accessor country: String
|
|
931
|
+
|
|
932
|
+
attr_accessor description: String
|
|
933
|
+
|
|
934
|
+
attr_accessor file_id: String
|
|
935
|
+
|
|
936
|
+
attr_reader back_file_id: String?
|
|
937
|
+
|
|
938
|
+
def back_file_id=: (String) -> String
|
|
939
|
+
|
|
940
|
+
attr_reader expiration_date: Date?
|
|
941
|
+
|
|
942
|
+
def expiration_date=: (Date) -> Date
|
|
943
|
+
|
|
944
|
+
def initialize: (
|
|
945
|
+
country: String,
|
|
946
|
+
description: String,
|
|
947
|
+
file_id: String,
|
|
948
|
+
?back_file_id: String,
|
|
949
|
+
?expiration_date: Date
|
|
950
|
+
) -> void
|
|
951
|
+
|
|
952
|
+
def to_hash: -> {
|
|
953
|
+
country: String,
|
|
954
|
+
description: String,
|
|
955
|
+
file_id: String,
|
|
956
|
+
back_file_id: String,
|
|
957
|
+
expiration_date: Date
|
|
958
|
+
}
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
type passport =
|
|
962
|
+
{ country: String, expiration_date: Date, file_id: String }
|
|
963
|
+
|
|
964
|
+
class Passport < Increase::Internal::Type::BaseModel
|
|
965
|
+
attr_accessor country: String
|
|
966
|
+
|
|
967
|
+
attr_accessor expiration_date: Date
|
|
968
|
+
|
|
969
|
+
attr_accessor file_id: String
|
|
970
|
+
|
|
971
|
+
def initialize: (
|
|
972
|
+
country: String,
|
|
973
|
+
expiration_date: Date,
|
|
974
|
+
file_id: String
|
|
975
|
+
) -> void
|
|
976
|
+
|
|
977
|
+
def to_hash: -> {
|
|
978
|
+
country: String,
|
|
979
|
+
expiration_date: Date,
|
|
980
|
+
file_id: String
|
|
981
|
+
}
|
|
982
|
+
end
|
|
983
|
+
end
|
|
984
|
+
end
|
|
985
|
+
end
|
|
986
|
+
|
|
621
987
|
type terms_agreement =
|
|
622
988
|
{ agreed_at: Time, ip_address: String, terms_url: String }
|
|
623
989
|
|
|
@@ -18,6 +18,7 @@ module Increase
|
|
|
18
18
|
idempotency_key: String?,
|
|
19
19
|
pending_transaction_id: String?,
|
|
20
20
|
rejection: Increase::FednowTransfer::Rejection?,
|
|
21
|
+
returns: ::Array[Increase::FednowTransfer::Return],
|
|
21
22
|
routing_number: String,
|
|
22
23
|
source_account_number_id: String,
|
|
23
24
|
status: Increase::Models::FednowTransfer::status,
|
|
@@ -61,6 +62,8 @@ module Increase
|
|
|
61
62
|
|
|
62
63
|
attr_accessor rejection: Increase::FednowTransfer::Rejection?
|
|
63
64
|
|
|
65
|
+
attr_accessor returns: ::Array[Increase::FednowTransfer::Return]
|
|
66
|
+
|
|
64
67
|
attr_accessor routing_number: String
|
|
65
68
|
|
|
66
69
|
attr_accessor source_account_number_id: String
|
|
@@ -94,6 +97,7 @@ module Increase
|
|
|
94
97
|
idempotency_key: String?,
|
|
95
98
|
pending_transaction_id: String?,
|
|
96
99
|
rejection: Increase::FednowTransfer::Rejection?,
|
|
100
|
+
returns: ::Array[Increase::FednowTransfer::Return],
|
|
97
101
|
routing_number: String,
|
|
98
102
|
source_account_number_id: String,
|
|
99
103
|
status: Increase::Models::FednowTransfer::status,
|
|
@@ -121,6 +125,7 @@ module Increase
|
|
|
121
125
|
idempotency_key: String?,
|
|
122
126
|
pending_transaction_id: String?,
|
|
123
127
|
rejection: Increase::FednowTransfer::Rejection?,
|
|
128
|
+
returns: ::Array[Increase::FednowTransfer::Return],
|
|
124
129
|
routing_number: String,
|
|
125
130
|
source_account_number_id: String,
|
|
126
131
|
status: Increase::Models::FednowTransfer::status,
|
|
@@ -390,16 +395,120 @@ module Increase
|
|
|
390
395
|
end
|
|
391
396
|
end
|
|
392
397
|
|
|
398
|
+
type return_ =
|
|
399
|
+
{
|
|
400
|
+
amount: Integer,
|
|
401
|
+
return_reason_additional_information: String?,
|
|
402
|
+
return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
|
|
403
|
+
transfer_id: String
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
class Return < Increase::Internal::Type::BaseModel
|
|
407
|
+
attr_accessor amount: Integer
|
|
408
|
+
|
|
409
|
+
attr_accessor return_reason_additional_information: String?
|
|
410
|
+
|
|
411
|
+
attr_accessor return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code
|
|
412
|
+
|
|
413
|
+
attr_accessor transfer_id: String
|
|
414
|
+
|
|
415
|
+
def initialize: (
|
|
416
|
+
amount: Integer,
|
|
417
|
+
return_reason_additional_information: String?,
|
|
418
|
+
return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
|
|
419
|
+
transfer_id: String
|
|
420
|
+
) -> void
|
|
421
|
+
|
|
422
|
+
def to_hash: -> {
|
|
423
|
+
amount: Integer,
|
|
424
|
+
return_reason_additional_information: String?,
|
|
425
|
+
return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
|
|
426
|
+
transfer_id: String
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
type return_reason_code =
|
|
430
|
+
:account_closed
|
|
431
|
+
| :account_blocked
|
|
432
|
+
| :invalid_agent
|
|
433
|
+
| :invalid_creditor_account_number
|
|
434
|
+
| :incorrect_account_number
|
|
435
|
+
| :end_customer_deceased
|
|
436
|
+
| :transaction_forbidden
|
|
437
|
+
| :regulatory_reason
|
|
438
|
+
| :fraud
|
|
439
|
+
| :duplication
|
|
440
|
+
| :wrong_amount
|
|
441
|
+
| :requested_by_customer
|
|
442
|
+
| :unable_to_apply
|
|
443
|
+
| :not_specified
|
|
444
|
+
| :narrative
|
|
445
|
+
| :other
|
|
446
|
+
|
|
447
|
+
module ReturnReasonCode
|
|
448
|
+
extend Increase::Internal::Type::Enum
|
|
449
|
+
|
|
450
|
+
# The destination account is closed. Corresponds to the FedNow reason codes `AC04` and `AC07`.
|
|
451
|
+
ACCOUNT_CLOSED: :account_closed
|
|
452
|
+
|
|
453
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
|
|
454
|
+
ACCOUNT_BLOCKED: :account_blocked
|
|
455
|
+
|
|
456
|
+
# The recipient's bank was not a valid agent for this transfer. Corresponds to the FedNow reason codes `AC14` and `AGNT`.
|
|
457
|
+
INVALID_AGENT: :invalid_agent
|
|
458
|
+
|
|
459
|
+
# The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
|
|
460
|
+
INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
|
|
461
|
+
|
|
462
|
+
# The destination account number was incorrect. Corresponds to the FedNow reason code `AC01`.
|
|
463
|
+
INCORRECT_ACCOUNT_NUMBER: :incorrect_account_number
|
|
464
|
+
|
|
465
|
+
# The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
|
|
466
|
+
END_CUSTOMER_DECEASED: :end_customer_deceased
|
|
467
|
+
|
|
468
|
+
# The transfer was not permitted by the recipient's bank. Corresponds to the FedNow reason code `AG01`.
|
|
469
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
470
|
+
|
|
471
|
+
# The transfer was returned for a regulatory reason at the recipient's bank. Corresponds to the FedNow reason code `RR04`.
|
|
472
|
+
REGULATORY_REASON: :regulatory_reason
|
|
473
|
+
|
|
474
|
+
# The transfer was reported as fraudulent. Corresponds to the FedNow reason code `FR01`.
|
|
475
|
+
FRAUD: :fraud
|
|
476
|
+
|
|
477
|
+
# The transfer duplicated another transfer. Corresponds to the FedNow reason codes `AM05` and `DUPL`.
|
|
478
|
+
DUPLICATION: :duplication
|
|
479
|
+
|
|
480
|
+
# The transfer amount was incorrect. Corresponds to the FedNow reason code `AM09`.
|
|
481
|
+
WRONG_AMOUNT: :wrong_amount
|
|
482
|
+
|
|
483
|
+
# The transfer was returned at the request of the recipient's customer. Corresponds to the FedNow reason code `CUST`.
|
|
484
|
+
REQUESTED_BY_CUSTOMER: :requested_by_customer
|
|
485
|
+
|
|
486
|
+
# The recipient's bank could not apply the funds. Corresponds to the FedNow reason code `RUTA`.
|
|
487
|
+
UNABLE_TO_APPLY: :unable_to_apply
|
|
488
|
+
|
|
489
|
+
# The recipient's bank did not specify a reason. Corresponds to the FedNow reason codes `MS02` and `MS03`.
|
|
490
|
+
NOT_SPECIFIED: :not_specified
|
|
491
|
+
|
|
492
|
+
# The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
|
|
493
|
+
NARRATIVE: :narrative
|
|
494
|
+
|
|
495
|
+
# The transfer was returned for some other reason.
|
|
496
|
+
OTHER: :other
|
|
497
|
+
|
|
498
|
+
def self?.values: -> ::Array[Increase::Models::FednowTransfer::Return::return_reason_code]
|
|
499
|
+
end
|
|
500
|
+
end
|
|
501
|
+
|
|
393
502
|
type status =
|
|
394
503
|
:pending_submitting
|
|
395
504
|
| :pending_reviewing
|
|
396
505
|
| :canceled
|
|
397
|
-
| :reviewing_rejected
|
|
398
506
|
| :requires_attention
|
|
399
507
|
| :pending_approval
|
|
400
508
|
| :pending_response
|
|
401
509
|
| :complete
|
|
402
510
|
| :rejected
|
|
511
|
+
| :returned
|
|
403
512
|
|
|
404
513
|
module Status
|
|
405
514
|
extend Increase::Internal::Type::Enum
|
|
@@ -413,9 +522,6 @@ module Increase
|
|
|
413
522
|
# The transfer has been canceled.
|
|
414
523
|
CANCELED: :canceled
|
|
415
524
|
|
|
416
|
-
# The transfer has been rejected by Increase.
|
|
417
|
-
REVIEWING_REJECTED: :reviewing_rejected
|
|
418
|
-
|
|
419
525
|
# The transfer requires attention from an Increase operator.
|
|
420
526
|
REQUIRES_ATTENTION: :requires_attention
|
|
421
527
|
|
|
@@ -431,6 +537,9 @@ module Increase
|
|
|
431
537
|
# The transfer was rejected by the network or the recipient's bank.
|
|
432
538
|
REJECTED: :rejected
|
|
433
539
|
|
|
540
|
+
# The transfer was returned by the recipient's bank.
|
|
541
|
+
RETURNED: :returned
|
|
542
|
+
|
|
434
543
|
def self?.values: -> ::Array[Increase::Models::FednowTransfer::status]
|
|
435
544
|
end
|
|
436
545
|
|
|
@@ -129,12 +129,12 @@ module Increase
|
|
|
129
129
|
:pending_submitting
|
|
130
130
|
| :pending_reviewing
|
|
131
131
|
| :canceled
|
|
132
|
-
| :reviewing_rejected
|
|
133
132
|
| :requires_attention
|
|
134
133
|
| :pending_approval
|
|
135
134
|
| :pending_response
|
|
136
135
|
| :complete
|
|
137
136
|
| :rejected
|
|
137
|
+
| :returned
|
|
138
138
|
|
|
139
139
|
module In
|
|
140
140
|
extend Increase::Internal::Type::Enum
|
|
@@ -148,9 +148,6 @@ module Increase
|
|
|
148
148
|
# The transfer has been canceled.
|
|
149
149
|
CANCELED: :canceled
|
|
150
150
|
|
|
151
|
-
# The transfer has been rejected by Increase.
|
|
152
|
-
REVIEWING_REJECTED: :reviewing_rejected
|
|
153
|
-
|
|
154
151
|
# The transfer requires attention from an Increase operator.
|
|
155
152
|
REQUIRES_ATTENTION: :requires_attention
|
|
156
153
|
|
|
@@ -166,6 +163,9 @@ module Increase
|
|
|
166
163
|
# The transfer was rejected by the network or the recipient's bank.
|
|
167
164
|
REJECTED: :rejected
|
|
168
165
|
|
|
166
|
+
# The transfer was returned by the recipient's bank.
|
|
167
|
+
RETURNED: :returned
|
|
168
|
+
|
|
169
169
|
def self?.values: -> ::Array[Increase::Models::FednowTransferListParams::Status::in_]
|
|
170
170
|
end
|
|
171
171
|
end
|
|
@@ -155,6 +155,7 @@ module Increase
|
|
|
155
155
|
| :group_locked
|
|
156
156
|
| :entity_not_active
|
|
157
157
|
| :fednow_not_enabled
|
|
158
|
+
| :transaction_not_allowed
|
|
158
159
|
|
|
159
160
|
module Reason
|
|
160
161
|
extend Increase::Internal::Type::Enum
|
|
@@ -177,6 +178,9 @@ module Increase
|
|
|
177
178
|
# Your account is not enabled to receive FedNow transfers.
|
|
178
179
|
FEDNOW_NOT_ENABLED: :fednow_not_enabled
|
|
179
180
|
|
|
181
|
+
# The transaction is not allowed per Increase's terms.
|
|
182
|
+
TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
|
|
183
|
+
|
|
180
184
|
def self?.values: -> ::Array[Increase::Models::InboundFednowTransfer::Decline::reason]
|
|
181
185
|
end
|
|
182
186
|
end
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type inbound_mail_item =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
account_id: String?,
|
|
6
7
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
7
8
|
created_at: Time,
|
|
8
9
|
file_id: String,
|
|
@@ -17,6 +18,8 @@ module Increase
|
|
|
17
18
|
class InboundMailItem < Increase::Internal::Type::BaseModel
|
|
18
19
|
attr_accessor id: String
|
|
19
20
|
|
|
21
|
+
attr_accessor account_id: String?
|
|
22
|
+
|
|
20
23
|
attr_accessor checks: ::Array[Increase::InboundMailItem::Check]
|
|
21
24
|
|
|
22
25
|
attr_accessor created_at: Time
|
|
@@ -37,6 +40,7 @@ module Increase
|
|
|
37
40
|
|
|
38
41
|
def initialize: (
|
|
39
42
|
id: String,
|
|
43
|
+
account_id: String?,
|
|
40
44
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
41
45
|
created_at: Time,
|
|
42
46
|
file_id: String,
|
|
@@ -50,6 +54,7 @@ module Increase
|
|
|
50
54
|
|
|
51
55
|
def to_hash: -> {
|
|
52
56
|
id: String,
|
|
57
|
+
account_id: String?,
|
|
53
58
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
54
59
|
created_at: Time,
|
|
55
60
|
file_id: String,
|
|
@@ -3,6 +3,7 @@ module Increase
|
|
|
3
3
|
type inbound_wire_drawdown_request =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
+
account_id: String,
|
|
6
7
|
amount: Integer,
|
|
7
8
|
created_at: Time,
|
|
8
9
|
creditor_account_number: String,
|
|
@@ -28,6 +29,8 @@ module Increase
|
|
|
28
29
|
class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel
|
|
29
30
|
attr_accessor id: String
|
|
30
31
|
|
|
32
|
+
attr_accessor account_id: String
|
|
33
|
+
|
|
31
34
|
attr_accessor amount: Integer
|
|
32
35
|
|
|
33
36
|
attr_accessor created_at: Time
|
|
@@ -70,6 +73,7 @@ module Increase
|
|
|
70
73
|
|
|
71
74
|
def initialize: (
|
|
72
75
|
id: String,
|
|
76
|
+
account_id: String,
|
|
73
77
|
amount: Integer,
|
|
74
78
|
created_at: Time,
|
|
75
79
|
creditor_account_number: String,
|
|
@@ -94,6 +98,7 @@ module Increase
|
|
|
94
98
|
|
|
95
99
|
def to_hash: -> {
|
|
96
100
|
id: String,
|
|
101
|
+
account_id: String,
|
|
97
102
|
amount: Integer,
|
|
98
103
|
created_at: Time,
|
|
99
104
|
creditor_account_number: String,
|