increase 1.187.0 → 1.189.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +9 -9
- data/lib/increase/models/account.rb +99 -1
- data/lib/increase/models/account_create_params.rb +96 -1
- data/lib/increase/models/account_statement.rb +43 -1
- data/lib/increase/models/account_update_params.rb +22 -1
- data/lib/increase/models/balance_lookup.rb +43 -1
- data/lib/increase/models/intrafi_exclusion.rb +3 -3
- data/lib/increase/models/intrafi_exclusion_create_params.rb +14 -8
- data/lib/increase/models/program.rb +23 -1
- data/lib/increase/models/simulations/program_create_params.rb +9 -1
- data/lib/increase/resources/accounts.rb +8 -2
- data/lib/increase/resources/intrafi_exclusions.rb +6 -3
- data/lib/increase/resources/simulations/programs.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account.rbi +146 -0
- data/rbi/increase/models/account_create_params.rbi +168 -0
- data/rbi/increase/models/account_statement.rbi +64 -0
- data/rbi/increase/models/account_update_params.rbi +41 -1
- data/rbi/increase/models/balance_lookup.rbi +64 -0
- data/rbi/increase/models/intrafi_exclusion.rbi +3 -3
- data/rbi/increase/models/intrafi_exclusion_create_params.rbi +14 -8
- data/rbi/increase/models/program.rbi +38 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +11 -0
- data/rbi/increase/resources/accounts.rbi +9 -0
- data/rbi/increase/resources/intrafi_exclusions.rbi +6 -3
- data/rbi/increase/resources/simulations/programs.rbi +3 -0
- data/sig/increase/models/account.rbs +75 -0
- data/sig/increase/models/account_create_params.rbs +85 -0
- data/sig/increase/models/account_statement.rbs +28 -0
- data/sig/increase/models/account_update_params.rbs +20 -1
- data/sig/increase/models/balance_lookup.rbs +28 -0
- data/sig/increase/models/intrafi_exclusion.rbs +4 -4
- data/sig/increase/models/intrafi_exclusion_create_params.rbs +5 -5
- data/sig/increase/models/program.rbs +15 -0
- data/sig/increase/models/simulations/program_create_params.rbs +7 -0
- data/sig/increase/resources/accounts.rbs +3 -0
- data/sig/increase/resources/intrafi_exclusions.rbs +1 -1
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +1 -1
|
@@ -1,25 +1,44 @@
|
|
|
1
1
|
module Increase
|
|
2
2
|
module Models
|
|
3
3
|
type account_update_params =
|
|
4
|
-
{ name: String }
|
|
4
|
+
{ loan: Increase::AccountUpdateParams::Loan, name: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class AccountUpdateParams < Increase::Internal::Type::BaseModel
|
|
7
8
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
9
|
include Increase::Internal::Type::RequestParameters
|
|
9
10
|
|
|
11
|
+
attr_reader loan: Increase::AccountUpdateParams::Loan?
|
|
12
|
+
|
|
13
|
+
def loan=: (
|
|
14
|
+
Increase::AccountUpdateParams::Loan
|
|
15
|
+
) -> Increase::AccountUpdateParams::Loan
|
|
16
|
+
|
|
10
17
|
attr_reader name: String?
|
|
11
18
|
|
|
12
19
|
def name=: (String) -> String
|
|
13
20
|
|
|
14
21
|
def initialize: (
|
|
22
|
+
?loan: Increase::AccountUpdateParams::Loan,
|
|
15
23
|
?name: String,
|
|
16
24
|
?request_options: Increase::request_opts
|
|
17
25
|
) -> void
|
|
18
26
|
|
|
19
27
|
def to_hash: -> {
|
|
28
|
+
loan: Increase::AccountUpdateParams::Loan,
|
|
20
29
|
name: String,
|
|
21
30
|
request_options: Increase::RequestOptions
|
|
22
31
|
}
|
|
32
|
+
|
|
33
|
+
type loan = { credit_limit: Integer }
|
|
34
|
+
|
|
35
|
+
class Loan < Increase::Internal::Type::BaseModel
|
|
36
|
+
attr_accessor credit_limit: Integer
|
|
37
|
+
|
|
38
|
+
def initialize: (credit_limit: Integer) -> void
|
|
39
|
+
|
|
40
|
+
def to_hash: -> { credit_limit: Integer }
|
|
41
|
+
end
|
|
23
42
|
end
|
|
24
43
|
end
|
|
25
44
|
end
|
|
@@ -5,6 +5,7 @@ module Increase
|
|
|
5
5
|
account_id: String,
|
|
6
6
|
available_balance: Integer,
|
|
7
7
|
current_balance: Integer,
|
|
8
|
+
loan: Increase::BalanceLookup::Loan?,
|
|
8
9
|
type: Increase::Models::BalanceLookup::type_
|
|
9
10
|
}
|
|
10
11
|
|
|
@@ -15,12 +16,15 @@ module Increase
|
|
|
15
16
|
|
|
16
17
|
attr_accessor current_balance: Integer
|
|
17
18
|
|
|
19
|
+
attr_accessor loan: Increase::BalanceLookup::Loan?
|
|
20
|
+
|
|
18
21
|
attr_accessor type: Increase::Models::BalanceLookup::type_
|
|
19
22
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
account_id: String,
|
|
22
25
|
available_balance: Integer,
|
|
23
26
|
current_balance: Integer,
|
|
27
|
+
loan: Increase::BalanceLookup::Loan?,
|
|
24
28
|
type: Increase::Models::BalanceLookup::type_
|
|
25
29
|
) -> void
|
|
26
30
|
|
|
@@ -28,9 +32,33 @@ module Increase
|
|
|
28
32
|
account_id: String,
|
|
29
33
|
available_balance: Integer,
|
|
30
34
|
current_balance: Integer,
|
|
35
|
+
loan: Increase::BalanceLookup::Loan?,
|
|
31
36
|
type: Increase::Models::BalanceLookup::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type loan =
|
|
40
|
+
{ due_at: Time?, due_balance: Integer, past_due_balance: Integer }
|
|
41
|
+
|
|
42
|
+
class Loan < Increase::Internal::Type::BaseModel
|
|
43
|
+
attr_accessor due_at: Time?
|
|
44
|
+
|
|
45
|
+
attr_accessor due_balance: Integer
|
|
46
|
+
|
|
47
|
+
attr_accessor past_due_balance: Integer
|
|
48
|
+
|
|
49
|
+
def initialize: (
|
|
50
|
+
due_at: Time?,
|
|
51
|
+
due_balance: Integer,
|
|
52
|
+
past_due_balance: Integer
|
|
53
|
+
) -> void
|
|
54
|
+
|
|
55
|
+
def to_hash: -> {
|
|
56
|
+
due_at: Time?,
|
|
57
|
+
due_balance: Integer,
|
|
58
|
+
past_due_balance: Integer
|
|
59
|
+
}
|
|
60
|
+
end
|
|
61
|
+
|
|
34
62
|
type type_ = :balance_lookup
|
|
35
63
|
|
|
36
64
|
module Type
|
|
@@ -3,7 +3,7 @@ module Increase
|
|
|
3
3
|
type intrafi_exclusion =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
|
-
bank_name: String
|
|
6
|
+
bank_name: String?,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
entity_id: String,
|
|
9
9
|
excluded_at: Time?,
|
|
@@ -17,7 +17,7 @@ module Increase
|
|
|
17
17
|
class IntrafiExclusion < Increase::Internal::Type::BaseModel
|
|
18
18
|
attr_accessor id: String
|
|
19
19
|
|
|
20
|
-
attr_accessor bank_name: String
|
|
20
|
+
attr_accessor bank_name: String?
|
|
21
21
|
|
|
22
22
|
attr_accessor created_at: Time
|
|
23
23
|
|
|
@@ -37,7 +37,7 @@ module Increase
|
|
|
37
37
|
|
|
38
38
|
def initialize: (
|
|
39
39
|
id: String,
|
|
40
|
-
bank_name: String
|
|
40
|
+
bank_name: String?,
|
|
41
41
|
created_at: Time,
|
|
42
42
|
entity_id: String,
|
|
43
43
|
excluded_at: Time?,
|
|
@@ -50,7 +50,7 @@ module Increase
|
|
|
50
50
|
|
|
51
51
|
def to_hash: -> {
|
|
52
52
|
id: String,
|
|
53
|
-
bank_name: String
|
|
53
|
+
bank_name: String?,
|
|
54
54
|
created_at: Time,
|
|
55
55
|
entity_id: String,
|
|
56
56
|
excluded_at: Time?,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
module Increase
|
|
2
2
|
module Models
|
|
3
3
|
type intrafi_exclusion_create_params =
|
|
4
|
-
{
|
|
4
|
+
{ entity_id: String, fdic_certificate_number: String }
|
|
5
5
|
& Increase::Internal::Type::request_parameters
|
|
6
6
|
|
|
7
7
|
class IntrafiExclusionCreateParams < Increase::Internal::Type::BaseModel
|
|
8
8
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Increase::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
attr_accessor bank_name: String
|
|
12
|
-
|
|
13
11
|
attr_accessor entity_id: String
|
|
14
12
|
|
|
13
|
+
attr_accessor fdic_certificate_number: String
|
|
14
|
+
|
|
15
15
|
def initialize: (
|
|
16
|
-
bank_name: String,
|
|
17
16
|
entity_id: String,
|
|
17
|
+
fdic_certificate_number: String,
|
|
18
18
|
?request_options: Increase::request_opts
|
|
19
19
|
) -> void
|
|
20
20
|
|
|
21
21
|
def to_hash: -> {
|
|
22
|
-
bank_name: String,
|
|
23
22
|
entity_id: String,
|
|
23
|
+
fdic_certificate_number: String,
|
|
24
24
|
request_options: Increase::RequestOptions
|
|
25
25
|
}
|
|
26
26
|
end
|
|
@@ -8,6 +8,7 @@ module Increase
|
|
|
8
8
|
created_at: Time,
|
|
9
9
|
default_digital_card_profile_id: String?,
|
|
10
10
|
interest_rate: String,
|
|
11
|
+
lending: Increase::Program::Lending?,
|
|
11
12
|
name: String,
|
|
12
13
|
type: Increase::Models::Program::type_,
|
|
13
14
|
updated_at: Time
|
|
@@ -26,6 +27,8 @@ module Increase
|
|
|
26
27
|
|
|
27
28
|
attr_accessor interest_rate: String
|
|
28
29
|
|
|
30
|
+
attr_accessor lending: Increase::Program::Lending?
|
|
31
|
+
|
|
29
32
|
attr_accessor name: String
|
|
30
33
|
|
|
31
34
|
attr_accessor type: Increase::Models::Program::type_
|
|
@@ -39,6 +42,7 @@ module Increase
|
|
|
39
42
|
created_at: Time,
|
|
40
43
|
default_digital_card_profile_id: String?,
|
|
41
44
|
interest_rate: String,
|
|
45
|
+
lending: Increase::Program::Lending?,
|
|
42
46
|
name: String,
|
|
43
47
|
type: Increase::Models::Program::type_,
|
|
44
48
|
updated_at: Time
|
|
@@ -51,6 +55,7 @@ module Increase
|
|
|
51
55
|
created_at: Time,
|
|
52
56
|
default_digital_card_profile_id: String?,
|
|
53
57
|
interest_rate: String,
|
|
58
|
+
lending: Increase::Program::Lending?,
|
|
54
59
|
name: String,
|
|
55
60
|
type: Increase::Models::Program::type_,
|
|
56
61
|
updated_at: Time
|
|
@@ -73,6 +78,16 @@ module Increase
|
|
|
73
78
|
def self?.values: -> ::Array[Increase::Models::Program::bank]
|
|
74
79
|
end
|
|
75
80
|
|
|
81
|
+
type lending = { maximum_extendable_credit: Integer }
|
|
82
|
+
|
|
83
|
+
class Lending < Increase::Internal::Type::BaseModel
|
|
84
|
+
attr_accessor maximum_extendable_credit: Integer
|
|
85
|
+
|
|
86
|
+
def initialize: (maximum_extendable_credit: Integer) -> void
|
|
87
|
+
|
|
88
|
+
def to_hash: -> { maximum_extendable_credit: Integer }
|
|
89
|
+
end
|
|
90
|
+
|
|
76
91
|
type type_ = :program
|
|
77
92
|
|
|
78
93
|
module Type
|
|
@@ -5,6 +5,7 @@ module Increase
|
|
|
5
5
|
{
|
|
6
6
|
name: String,
|
|
7
7
|
bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
|
8
|
+
lending_maximum_extendable_credit: Integer,
|
|
8
9
|
reserve_account_id: String
|
|
9
10
|
}
|
|
10
11
|
& Increase::Internal::Type::request_parameters
|
|
@@ -21,6 +22,10 @@ module Increase
|
|
|
21
22
|
Increase::Models::Simulations::ProgramCreateParams::bank
|
|
22
23
|
) -> Increase::Models::Simulations::ProgramCreateParams::bank
|
|
23
24
|
|
|
25
|
+
attr_reader lending_maximum_extendable_credit: Integer?
|
|
26
|
+
|
|
27
|
+
def lending_maximum_extendable_credit=: (Integer) -> Integer
|
|
28
|
+
|
|
24
29
|
attr_reader reserve_account_id: String?
|
|
25
30
|
|
|
26
31
|
def reserve_account_id=: (String) -> String
|
|
@@ -28,6 +33,7 @@ module Increase
|
|
|
28
33
|
def initialize: (
|
|
29
34
|
name: String,
|
|
30
35
|
?bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
|
36
|
+
?lending_maximum_extendable_credit: Integer,
|
|
31
37
|
?reserve_account_id: String,
|
|
32
38
|
?request_options: Increase::request_opts
|
|
33
39
|
) -> void
|
|
@@ -35,6 +41,7 @@ module Increase
|
|
|
35
41
|
def to_hash: -> {
|
|
36
42
|
name: String,
|
|
37
43
|
bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
|
44
|
+
lending_maximum_extendable_credit: Integer,
|
|
38
45
|
reserve_account_id: String,
|
|
39
46
|
request_options: Increase::RequestOptions
|
|
40
47
|
}
|
|
@@ -4,7 +4,9 @@ module Increase
|
|
|
4
4
|
def create: (
|
|
5
5
|
name: String,
|
|
6
6
|
?entity_id: String,
|
|
7
|
+
?funding: Increase::Models::AccountCreateParams::funding,
|
|
7
8
|
?informational_entity_id: String,
|
|
9
|
+
?loan: Increase::AccountCreateParams::Loan,
|
|
8
10
|
?program_id: String,
|
|
9
11
|
?request_options: Increase::request_opts
|
|
10
12
|
) -> Increase::Account
|
|
@@ -16,6 +18,7 @@ module Increase
|
|
|
16
18
|
|
|
17
19
|
def update: (
|
|
18
20
|
String account_id,
|
|
21
|
+
?loan: Increase::AccountUpdateParams::Loan,
|
|
19
22
|
?name: String,
|
|
20
23
|
?request_options: Increase::request_opts
|
|
21
24
|
) -> Increase::Account
|