increase 1.11.0 → 1.13.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 +1 -1
- data/lib/increase/models/card_details.rb +9 -1
- data/lib/increase/models/simulations/program_create_params.rb +32 -1
- data/lib/increase/resources/simulations/programs.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_details.rbi +8 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +77 -0
- data/rbi/increase/resources/simulations/programs.rbi +3 -0
- data/sig/increase/models/card_details.rbs +5 -0
- data/sig/increase/models/simulations/program_create_params.rbs +41 -1
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ece4d3cf918019593b1dfab5ba866efd85a926b92144139dd2806627ec58fe1b
|
4
|
+
data.tar.gz: e4d4d85a17024ecf5e3faf121ddc33f2cf105302bfdade8dd53cc53196e040f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50c59462a18edd24f059ef419022ceae3d502ca1bfd4cc3180bfbb23dc44c3d94ee40b948bc8a5912ba87578410230e479633c5ce69ccd3d1b480e18590f83bf
|
7
|
+
data.tar.gz: 3633c02bebc6bf90ba4a4e765a25b11cf82d449aa8a03bd4ad16afffe11717c58bf74537417e9bf72e6dc998354d96ee2af78fd2ccee1f47eb5606a4303c8447
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.13.0 (2025-07-11)
|
4
|
+
|
5
|
+
Full Changelog: [v1.12.0...v1.13.0](https://github.com/Increase/increase-ruby/compare/v1.12.0...v1.13.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([f7dd43e](https://github.com/Increase/increase-ruby/commit/f7dd43e2ddb588d2b2d837caee579ae1ba3c92a4))
|
10
|
+
|
11
|
+
## 1.12.0 (2025-07-10)
|
12
|
+
|
13
|
+
Full Changelog: [v1.11.0...v1.12.0](https://github.com/Increase/increase-ruby/compare/v1.11.0...v1.12.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([1765f74](https://github.com/Increase/increase-ruby/commit/1765f74c0125b1b3eab3faf9f03d3498a5daffa4))
|
18
|
+
|
3
19
|
## 1.11.0 (2025-07-09)
|
4
20
|
|
5
21
|
Full Changelog: [v1.10.0...v1.11.0](https://github.com/Increase/increase-ruby/compare/v1.10.0...v1.11.0)
|
data/README.md
CHANGED
@@ -22,6 +22,12 @@ module Increase
|
|
22
22
|
# @return [Integer]
|
23
23
|
required :expiration_year, Integer
|
24
24
|
|
25
|
+
# @!attribute pin
|
26
|
+
# The 4-digit PIN for the card, for use with ATMs.
|
27
|
+
#
|
28
|
+
# @return [String]
|
29
|
+
required :pin, String
|
30
|
+
|
25
31
|
# @!attribute primary_account_number
|
26
32
|
# The card number.
|
27
33
|
#
|
@@ -43,7 +49,7 @@ module Increase
|
|
43
49
|
# @return [String]
|
44
50
|
required :verification_code, String
|
45
51
|
|
46
|
-
# @!method initialize(card_id:, expiration_month:, expiration_year:, primary_account_number:, type:, verification_code:)
|
52
|
+
# @!method initialize(card_id:, expiration_month:, expiration_year:, pin:, primary_account_number:, type:, verification_code:)
|
47
53
|
# Some parameter documentations has been truncated, see
|
48
54
|
# {Increase::Models::CardDetails} for more details.
|
49
55
|
#
|
@@ -55,6 +61,8 @@ module Increase
|
|
55
61
|
#
|
56
62
|
# @param expiration_year [Integer] The year the card expires in YYYY format (e.g., 2025).
|
57
63
|
#
|
64
|
+
# @param pin [String] The 4-digit PIN for the card, for use with ATMs.
|
65
|
+
#
|
58
66
|
# @param primary_account_number [String] The card number.
|
59
67
|
#
|
60
68
|
# @param type [Symbol, Increase::Models::CardDetails::Type] A constant representing the object's type. For this resource it will always be `
|
@@ -14,18 +14,49 @@ module Increase
|
|
14
14
|
# @return [String]
|
15
15
|
required :name, String
|
16
16
|
|
17
|
+
# @!attribute bank
|
18
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
19
|
+
#
|
20
|
+
# @return [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank, nil]
|
21
|
+
optional :bank, enum: -> { Increase::Simulations::ProgramCreateParams::Bank }
|
22
|
+
|
17
23
|
# @!attribute reserve_account_id
|
18
24
|
# The identifier of the Account the Program should be added to is for.
|
19
25
|
#
|
20
26
|
# @return [String, nil]
|
21
27
|
optional :reserve_account_id, String
|
22
28
|
|
23
|
-
# @!method initialize(name:, reserve_account_id: nil, request_options: {})
|
29
|
+
# @!method initialize(name:, bank: nil, reserve_account_id: nil, request_options: {})
|
24
30
|
# @param name [String] The name of the program being added.
|
25
31
|
#
|
32
|
+
# @param bank [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank] The bank for the program's accounts, defaults to First Internet Bank.
|
33
|
+
#
|
26
34
|
# @param reserve_account_id [String] The identifier of the Account the Program should be added to is for.
|
27
35
|
#
|
28
36
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
37
|
+
|
38
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
39
|
+
module Bank
|
40
|
+
extend Increase::Internal::Type::Enum
|
41
|
+
|
42
|
+
# Blue Ridge Bank, N.A.
|
43
|
+
BLUE_RIDGE_BANK = :blue_ridge_bank
|
44
|
+
|
45
|
+
# Core Bank
|
46
|
+
CORE_BANK = :core_bank
|
47
|
+
|
48
|
+
# First Internet Bank of Indiana
|
49
|
+
FIRST_INTERNET_BANK = :first_internet_bank
|
50
|
+
|
51
|
+
# Global Innovations Bank
|
52
|
+
GLOBAL_INNOVATIONS_BANK = :global_innovations_bank
|
53
|
+
|
54
|
+
# Grasshopper Bank
|
55
|
+
GRASSHOPPER_BANK = :grasshopper_bank
|
56
|
+
|
57
|
+
# @!method self.values
|
58
|
+
# @return [Array<Symbol>]
|
59
|
+
end
|
29
60
|
end
|
30
61
|
end
|
31
62
|
end
|
@@ -9,10 +9,12 @@ module Increase
|
|
9
9
|
# operates more than one program, `program_id` is a required field when creating
|
10
10
|
# accounts.
|
11
11
|
#
|
12
|
-
# @overload create(name:, reserve_account_id: nil, request_options: {})
|
12
|
+
# @overload create(name:, bank: nil, reserve_account_id: nil, request_options: {})
|
13
13
|
#
|
14
14
|
# @param name [String] The name of the program being added.
|
15
15
|
#
|
16
|
+
# @param bank [Symbol, Increase::Models::Simulations::ProgramCreateParams::Bank] The bank for the program's accounts, defaults to First Internet Bank.
|
17
|
+
#
|
16
18
|
# @param reserve_account_id [String] The identifier of the Account the Program should be added to is for.
|
17
19
|
#
|
18
20
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
data/lib/increase/version.rb
CHANGED
@@ -20,6 +20,10 @@ module Increase
|
|
20
20
|
sig { returns(Integer) }
|
21
21
|
attr_accessor :expiration_year
|
22
22
|
|
23
|
+
# The 4-digit PIN for the card, for use with ATMs.
|
24
|
+
sig { returns(String) }
|
25
|
+
attr_accessor :pin
|
26
|
+
|
23
27
|
# The card number.
|
24
28
|
sig { returns(String) }
|
25
29
|
attr_accessor :primary_account_number
|
@@ -41,6 +45,7 @@ module Increase
|
|
41
45
|
card_id: String,
|
42
46
|
expiration_month: Integer,
|
43
47
|
expiration_year: Integer,
|
48
|
+
pin: String,
|
44
49
|
primary_account_number: String,
|
45
50
|
type: Increase::CardDetails::Type::OrSymbol,
|
46
51
|
verification_code: String
|
@@ -53,6 +58,8 @@ module Increase
|
|
53
58
|
expiration_month:,
|
54
59
|
# The year the card expires in YYYY format (e.g., 2025).
|
55
60
|
expiration_year:,
|
61
|
+
# The 4-digit PIN for the card, for use with ATMs.
|
62
|
+
pin:,
|
56
63
|
# The card number.
|
57
64
|
primary_account_number:,
|
58
65
|
# A constant representing the object's type. For this resource it will always be
|
@@ -71,6 +78,7 @@ module Increase
|
|
71
78
|
card_id: String,
|
72
79
|
expiration_month: Integer,
|
73
80
|
expiration_year: Integer,
|
81
|
+
pin: String,
|
74
82
|
primary_account_number: String,
|
75
83
|
type: Increase::CardDetails::Type::TaggedSymbol,
|
76
84
|
verification_code: String
|
@@ -19,6 +19,23 @@ module Increase
|
|
19
19
|
sig { returns(String) }
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
23
|
+
sig do
|
24
|
+
returns(
|
25
|
+
T.nilable(
|
26
|
+
Increase::Simulations::ProgramCreateParams::Bank::OrSymbol
|
27
|
+
)
|
28
|
+
)
|
29
|
+
end
|
30
|
+
attr_reader :bank
|
31
|
+
|
32
|
+
sig do
|
33
|
+
params(
|
34
|
+
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol
|
35
|
+
).void
|
36
|
+
end
|
37
|
+
attr_writer :bank
|
38
|
+
|
22
39
|
# The identifier of the Account the Program should be added to is for.
|
23
40
|
sig { returns(T.nilable(String)) }
|
24
41
|
attr_reader :reserve_account_id
|
@@ -29,6 +46,7 @@ module Increase
|
|
29
46
|
sig do
|
30
47
|
params(
|
31
48
|
name: String,
|
49
|
+
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol,
|
32
50
|
reserve_account_id: String,
|
33
51
|
request_options: Increase::RequestOptions::OrHash
|
34
52
|
).returns(T.attached_class)
|
@@ -36,6 +54,8 @@ module Increase
|
|
36
54
|
def self.new(
|
37
55
|
# The name of the program being added.
|
38
56
|
name:,
|
57
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
58
|
+
bank: nil,
|
39
59
|
# The identifier of the Account the Program should be added to is for.
|
40
60
|
reserve_account_id: nil,
|
41
61
|
request_options: {}
|
@@ -46,6 +66,7 @@ module Increase
|
|
46
66
|
override.returns(
|
47
67
|
{
|
48
68
|
name: String,
|
69
|
+
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol,
|
49
70
|
reserve_account_id: String,
|
50
71
|
request_options: Increase::RequestOptions
|
51
72
|
}
|
@@ -53,6 +74,62 @@ module Increase
|
|
53
74
|
end
|
54
75
|
def to_hash
|
55
76
|
end
|
77
|
+
|
78
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
79
|
+
module Bank
|
80
|
+
extend Increase::Internal::Type::Enum
|
81
|
+
|
82
|
+
TaggedSymbol =
|
83
|
+
T.type_alias do
|
84
|
+
T.all(Symbol, Increase::Simulations::ProgramCreateParams::Bank)
|
85
|
+
end
|
86
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
87
|
+
|
88
|
+
# Blue Ridge Bank, N.A.
|
89
|
+
BLUE_RIDGE_BANK =
|
90
|
+
T.let(
|
91
|
+
:blue_ridge_bank,
|
92
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
93
|
+
)
|
94
|
+
|
95
|
+
# Core Bank
|
96
|
+
CORE_BANK =
|
97
|
+
T.let(
|
98
|
+
:core_bank,
|
99
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
100
|
+
)
|
101
|
+
|
102
|
+
# First Internet Bank of Indiana
|
103
|
+
FIRST_INTERNET_BANK =
|
104
|
+
T.let(
|
105
|
+
:first_internet_bank,
|
106
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
107
|
+
)
|
108
|
+
|
109
|
+
# Global Innovations Bank
|
110
|
+
GLOBAL_INNOVATIONS_BANK =
|
111
|
+
T.let(
|
112
|
+
:global_innovations_bank,
|
113
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
114
|
+
)
|
115
|
+
|
116
|
+
# Grasshopper Bank
|
117
|
+
GRASSHOPPER_BANK =
|
118
|
+
T.let(
|
119
|
+
:grasshopper_bank,
|
120
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
121
|
+
)
|
122
|
+
|
123
|
+
sig do
|
124
|
+
override.returns(
|
125
|
+
T::Array[
|
126
|
+
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
127
|
+
]
|
128
|
+
)
|
129
|
+
end
|
130
|
+
def self.values
|
131
|
+
end
|
132
|
+
end
|
56
133
|
end
|
57
134
|
end
|
58
135
|
end
|
@@ -11,6 +11,7 @@ module Increase
|
|
11
11
|
sig do
|
12
12
|
params(
|
13
13
|
name: String,
|
14
|
+
bank: Increase::Simulations::ProgramCreateParams::Bank::OrSymbol,
|
14
15
|
reserve_account_id: String,
|
15
16
|
request_options: Increase::RequestOptions::OrHash
|
16
17
|
).returns(Increase::Program)
|
@@ -18,6 +19,8 @@ module Increase
|
|
18
19
|
def create(
|
19
20
|
# The name of the program being added.
|
20
21
|
name:,
|
22
|
+
# The bank for the program's accounts, defaults to First Internet Bank.
|
23
|
+
bank: nil,
|
21
24
|
# The identifier of the Account the Program should be added to is for.
|
22
25
|
reserve_account_id: nil,
|
23
26
|
request_options: {}
|
@@ -5,6 +5,7 @@ module Increase
|
|
5
5
|
card_id: String,
|
6
6
|
expiration_month: Integer,
|
7
7
|
expiration_year: Integer,
|
8
|
+
pin: String,
|
8
9
|
primary_account_number: String,
|
9
10
|
type: Increase::Models::CardDetails::type_,
|
10
11
|
verification_code: String
|
@@ -17,6 +18,8 @@ module Increase
|
|
17
18
|
|
18
19
|
attr_accessor expiration_year: Integer
|
19
20
|
|
21
|
+
attr_accessor pin: String
|
22
|
+
|
20
23
|
attr_accessor primary_account_number: String
|
21
24
|
|
22
25
|
attr_accessor type: Increase::Models::CardDetails::type_
|
@@ -27,6 +30,7 @@ module Increase
|
|
27
30
|
card_id: String,
|
28
31
|
expiration_month: Integer,
|
29
32
|
expiration_year: Integer,
|
33
|
+
pin: String,
|
30
34
|
primary_account_number: String,
|
31
35
|
type: Increase::Models::CardDetails::type_,
|
32
36
|
verification_code: String
|
@@ -36,6 +40,7 @@ module Increase
|
|
36
40
|
card_id: String,
|
37
41
|
expiration_month: Integer,
|
38
42
|
expiration_year: Integer,
|
43
|
+
pin: String,
|
39
44
|
primary_account_number: String,
|
40
45
|
type: Increase::Models::CardDetails::type_,
|
41
46
|
verification_code: String
|
@@ -2,7 +2,11 @@ module Increase
|
|
2
2
|
module Models
|
3
3
|
module Simulations
|
4
4
|
type program_create_params =
|
5
|
-
{
|
5
|
+
{
|
6
|
+
name: String,
|
7
|
+
bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
8
|
+
reserve_account_id: String
|
9
|
+
}
|
6
10
|
& Increase::Internal::Type::request_parameters
|
7
11
|
|
8
12
|
class ProgramCreateParams < Increase::Internal::Type::BaseModel
|
@@ -11,21 +15,57 @@ module Increase
|
|
11
15
|
|
12
16
|
attr_accessor name: String
|
13
17
|
|
18
|
+
attr_reader bank: Increase::Models::Simulations::ProgramCreateParams::bank?
|
19
|
+
|
20
|
+
def bank=: (
|
21
|
+
Increase::Models::Simulations::ProgramCreateParams::bank
|
22
|
+
) -> Increase::Models::Simulations::ProgramCreateParams::bank
|
23
|
+
|
14
24
|
attr_reader reserve_account_id: String?
|
15
25
|
|
16
26
|
def reserve_account_id=: (String) -> String
|
17
27
|
|
18
28
|
def initialize: (
|
19
29
|
name: String,
|
30
|
+
?bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
20
31
|
?reserve_account_id: String,
|
21
32
|
?request_options: Increase::request_opts
|
22
33
|
) -> void
|
23
34
|
|
24
35
|
def to_hash: -> {
|
25
36
|
name: String,
|
37
|
+
bank: Increase::Models::Simulations::ProgramCreateParams::bank,
|
26
38
|
reserve_account_id: String,
|
27
39
|
request_options: Increase::RequestOptions
|
28
40
|
}
|
41
|
+
|
42
|
+
type bank =
|
43
|
+
:blue_ridge_bank
|
44
|
+
| :core_bank
|
45
|
+
| :first_internet_bank
|
46
|
+
| :global_innovations_bank
|
47
|
+
| :grasshopper_bank
|
48
|
+
|
49
|
+
module Bank
|
50
|
+
extend Increase::Internal::Type::Enum
|
51
|
+
|
52
|
+
# Blue Ridge Bank, N.A.
|
53
|
+
BLUE_RIDGE_BANK: :blue_ridge_bank
|
54
|
+
|
55
|
+
# Core Bank
|
56
|
+
CORE_BANK: :core_bank
|
57
|
+
|
58
|
+
# First Internet Bank of Indiana
|
59
|
+
FIRST_INTERNET_BANK: :first_internet_bank
|
60
|
+
|
61
|
+
# Global Innovations Bank
|
62
|
+
GLOBAL_INNOVATIONS_BANK: :global_innovations_bank
|
63
|
+
|
64
|
+
# Grasshopper Bank
|
65
|
+
GRASSHOPPER_BANK: :grasshopper_bank
|
66
|
+
|
67
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::ProgramCreateParams::bank]
|
68
|
+
end
|
29
69
|
end
|
30
70
|
end
|
31
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|