increase 1.8.0 → 1.10.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +3 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/physical_card.rb +36 -1
- data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
- data/lib/increase/models/wire_drawdown_request.rb +174 -88
- data/lib/increase/models/wire_drawdown_request_create_params.rb +156 -81
- data/lib/increase/resources/wire_drawdown_requests.rb +10 -21
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +7 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/physical_card.rbi +56 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +239 -95
- data/rbi/increase/models/wire_drawdown_request_create_params.rbi +249 -118
- data/rbi/increase/resources/wire_drawdown_requests.rbi +25 -43
- data/sig/increase/models/card_payment.rbs +4 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/physical_card.rbs +19 -0
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
- data/sig/increase/models/wire_drawdown_request.rbs +119 -55
- data/sig/increase/models/wire_drawdown_request_create_params.rbs +123 -61
- data/sig/increase/resources/wire_drawdown_requests.rbs +7 -11
- metadata +2 -2
@@ -6,23 +6,19 @@ module Increase
|
|
6
6
|
account_number_id: String,
|
7
7
|
amount: Integer,
|
8
8
|
created_at: Time,
|
9
|
+
creditor_address: Increase::WireDrawdownRequest::CreditorAddress,
|
10
|
+
creditor_name: String,
|
9
11
|
currency: String,
|
12
|
+
debtor_account_number: String,
|
13
|
+
debtor_address: Increase::WireDrawdownRequest::DebtorAddress,
|
14
|
+
debtor_name: String,
|
15
|
+
debtor_routing_number: String,
|
10
16
|
fulfillment_inbound_wire_transfer_id: String?,
|
11
17
|
idempotency_key: String?,
|
12
|
-
message_to_recipient: String,
|
13
|
-
:originator_address_line1 => String?,
|
14
|
-
:originator_address_line2 => String?,
|
15
|
-
:originator_address_line3 => String?,
|
16
|
-
originator_name: String?,
|
17
|
-
recipient_account_number: String,
|
18
|
-
:recipient_address_line1 => String?,
|
19
|
-
:recipient_address_line2 => String?,
|
20
|
-
:recipient_address_line3 => String?,
|
21
|
-
recipient_name: String?,
|
22
|
-
recipient_routing_number: String,
|
23
18
|
status: Increase::Models::WireDrawdownRequest::status,
|
24
19
|
submission: Increase::WireDrawdownRequest::Submission?,
|
25
|
-
type: Increase::Models::WireDrawdownRequest::type_
|
20
|
+
type: Increase::Models::WireDrawdownRequest::type_,
|
21
|
+
unstructured_remittance_information: String
|
26
22
|
}
|
27
23
|
|
28
24
|
class WireDrawdownRequest < Increase::Internal::Type::BaseModel
|
@@ -34,33 +30,23 @@ module Increase
|
|
34
30
|
|
35
31
|
attr_accessor created_at: Time
|
36
32
|
|
37
|
-
attr_accessor
|
38
|
-
|
39
|
-
attr_accessor fulfillment_inbound_wire_transfer_id: String?
|
40
|
-
|
41
|
-
attr_accessor idempotency_key: String?
|
42
|
-
|
43
|
-
attr_accessor message_to_recipient: String
|
44
|
-
|
45
|
-
attr_accessor originator_address_line1: String?
|
46
|
-
|
47
|
-
attr_accessor originator_address_line2: String?
|
33
|
+
attr_accessor creditor_address: Increase::WireDrawdownRequest::CreditorAddress
|
48
34
|
|
49
|
-
attr_accessor
|
35
|
+
attr_accessor creditor_name: String
|
50
36
|
|
51
|
-
attr_accessor
|
37
|
+
attr_accessor currency: String
|
52
38
|
|
53
|
-
attr_accessor
|
39
|
+
attr_accessor debtor_account_number: String
|
54
40
|
|
55
|
-
attr_accessor
|
41
|
+
attr_accessor debtor_address: Increase::WireDrawdownRequest::DebtorAddress
|
56
42
|
|
57
|
-
attr_accessor
|
43
|
+
attr_accessor debtor_name: String
|
58
44
|
|
59
|
-
attr_accessor
|
45
|
+
attr_accessor debtor_routing_number: String
|
60
46
|
|
61
|
-
attr_accessor
|
47
|
+
attr_accessor fulfillment_inbound_wire_transfer_id: String?
|
62
48
|
|
63
|
-
attr_accessor
|
49
|
+
attr_accessor idempotency_key: String?
|
64
50
|
|
65
51
|
attr_accessor status: Increase::Models::WireDrawdownRequest::status
|
66
52
|
|
@@ -68,28 +54,26 @@ module Increase
|
|
68
54
|
|
69
55
|
attr_accessor type: Increase::Models::WireDrawdownRequest::type_
|
70
56
|
|
57
|
+
attr_accessor unstructured_remittance_information: String
|
58
|
+
|
71
59
|
def initialize: (
|
72
60
|
id: String,
|
73
61
|
account_number_id: String,
|
74
62
|
amount: Integer,
|
75
63
|
created_at: Time,
|
64
|
+
creditor_address: Increase::WireDrawdownRequest::CreditorAddress,
|
65
|
+
creditor_name: String,
|
76
66
|
currency: String,
|
67
|
+
debtor_account_number: String,
|
68
|
+
debtor_address: Increase::WireDrawdownRequest::DebtorAddress,
|
69
|
+
debtor_name: String,
|
70
|
+
debtor_routing_number: String,
|
77
71
|
fulfillment_inbound_wire_transfer_id: String?,
|
78
72
|
idempotency_key: String?,
|
79
|
-
message_to_recipient: String,
|
80
|
-
originator_address_line1: String?,
|
81
|
-
originator_address_line2: String?,
|
82
|
-
originator_address_line3: String?,
|
83
|
-
originator_name: String?,
|
84
|
-
recipient_account_number: String,
|
85
|
-
recipient_address_line1: String?,
|
86
|
-
recipient_address_line2: String?,
|
87
|
-
recipient_address_line3: String?,
|
88
|
-
recipient_name: String?,
|
89
|
-
recipient_routing_number: String,
|
90
73
|
status: Increase::Models::WireDrawdownRequest::status,
|
91
74
|
submission: Increase::WireDrawdownRequest::Submission?,
|
92
|
-
type: Increase::Models::WireDrawdownRequest::type_
|
75
|
+
type: Increase::Models::WireDrawdownRequest::type_,
|
76
|
+
unstructured_remittance_information: String
|
93
77
|
) -> void
|
94
78
|
|
95
79
|
def to_hash: -> {
|
@@ -97,25 +81,105 @@ module Increase
|
|
97
81
|
account_number_id: String,
|
98
82
|
amount: Integer,
|
99
83
|
created_at: Time,
|
84
|
+
creditor_address: Increase::WireDrawdownRequest::CreditorAddress,
|
85
|
+
creditor_name: String,
|
100
86
|
currency: String,
|
87
|
+
debtor_account_number: String,
|
88
|
+
debtor_address: Increase::WireDrawdownRequest::DebtorAddress,
|
89
|
+
debtor_name: String,
|
90
|
+
debtor_routing_number: String,
|
101
91
|
fulfillment_inbound_wire_transfer_id: String?,
|
102
92
|
idempotency_key: String?,
|
103
|
-
message_to_recipient: String,
|
104
|
-
:originator_address_line1 => String?,
|
105
|
-
:originator_address_line2 => String?,
|
106
|
-
:originator_address_line3 => String?,
|
107
|
-
originator_name: String?,
|
108
|
-
recipient_account_number: String,
|
109
|
-
:recipient_address_line1 => String?,
|
110
|
-
:recipient_address_line2 => String?,
|
111
|
-
:recipient_address_line3 => String?,
|
112
|
-
recipient_name: String?,
|
113
|
-
recipient_routing_number: String,
|
114
93
|
status: Increase::Models::WireDrawdownRequest::status,
|
115
94
|
submission: Increase::WireDrawdownRequest::Submission?,
|
116
|
-
type: Increase::Models::WireDrawdownRequest::type_
|
95
|
+
type: Increase::Models::WireDrawdownRequest::type_,
|
96
|
+
unstructured_remittance_information: String
|
117
97
|
}
|
118
98
|
|
99
|
+
type creditor_address =
|
100
|
+
{
|
101
|
+
city: String,
|
102
|
+
country: String,
|
103
|
+
:line1 => String,
|
104
|
+
:line2 => String?,
|
105
|
+
postal_code: String?,
|
106
|
+
state: String?
|
107
|
+
}
|
108
|
+
|
109
|
+
class CreditorAddress < Increase::Internal::Type::BaseModel
|
110
|
+
attr_accessor city: String
|
111
|
+
|
112
|
+
attr_accessor country: String
|
113
|
+
|
114
|
+
attr_accessor line1: String
|
115
|
+
|
116
|
+
attr_accessor line2: String?
|
117
|
+
|
118
|
+
attr_accessor postal_code: String?
|
119
|
+
|
120
|
+
attr_accessor state: String?
|
121
|
+
|
122
|
+
def initialize: (
|
123
|
+
city: String,
|
124
|
+
country: String,
|
125
|
+
line1: String,
|
126
|
+
line2: String?,
|
127
|
+
postal_code: String?,
|
128
|
+
state: String?
|
129
|
+
) -> void
|
130
|
+
|
131
|
+
def to_hash: -> {
|
132
|
+
city: String,
|
133
|
+
country: String,
|
134
|
+
:line1 => String,
|
135
|
+
:line2 => String?,
|
136
|
+
postal_code: String?,
|
137
|
+
state: String?
|
138
|
+
}
|
139
|
+
end
|
140
|
+
|
141
|
+
type debtor_address =
|
142
|
+
{
|
143
|
+
city: String,
|
144
|
+
country: String,
|
145
|
+
:line1 => String,
|
146
|
+
:line2 => String?,
|
147
|
+
postal_code: String?,
|
148
|
+
state: String?
|
149
|
+
}
|
150
|
+
|
151
|
+
class DebtorAddress < Increase::Internal::Type::BaseModel
|
152
|
+
attr_accessor city: String
|
153
|
+
|
154
|
+
attr_accessor country: String
|
155
|
+
|
156
|
+
attr_accessor line1: String
|
157
|
+
|
158
|
+
attr_accessor line2: String?
|
159
|
+
|
160
|
+
attr_accessor postal_code: String?
|
161
|
+
|
162
|
+
attr_accessor state: String?
|
163
|
+
|
164
|
+
def initialize: (
|
165
|
+
city: String,
|
166
|
+
country: String,
|
167
|
+
line1: String,
|
168
|
+
line2: String?,
|
169
|
+
postal_code: String?,
|
170
|
+
state: String?
|
171
|
+
) -> void
|
172
|
+
|
173
|
+
def to_hash: -> {
|
174
|
+
city: String,
|
175
|
+
country: String,
|
176
|
+
:line1 => String,
|
177
|
+
:line2 => String?,
|
178
|
+
postal_code: String?,
|
179
|
+
state: String?
|
180
|
+
}
|
181
|
+
end
|
182
|
+
|
119
183
|
type status =
|
120
184
|
:pending_submission | :pending_response | :fulfilled | :refused
|
121
185
|
|
@@ -4,17 +4,13 @@ module Increase
|
|
4
4
|
{
|
5
5
|
account_number_id: String,
|
6
6
|
amount: Integer,
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
originator_name: String,
|
15
|
-
:recipient_address_line1 => String,
|
16
|
-
:recipient_address_line2 => String,
|
17
|
-
:recipient_address_line3 => String
|
7
|
+
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
8
|
+
creditor_name: String,
|
9
|
+
debtor_account_number: String,
|
10
|
+
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
11
|
+
debtor_name: String,
|
12
|
+
debtor_routing_number: String,
|
13
|
+
unstructured_remittance_information: String
|
18
14
|
}
|
19
15
|
& Increase::Internal::Type::request_parameters
|
20
16
|
|
@@ -26,75 +22,141 @@ module Increase
|
|
26
22
|
|
27
23
|
attr_accessor amount: Integer
|
28
24
|
|
29
|
-
attr_accessor
|
25
|
+
attr_accessor creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress
|
30
26
|
|
31
|
-
attr_accessor
|
27
|
+
attr_accessor creditor_name: String
|
32
28
|
|
33
|
-
attr_accessor
|
29
|
+
attr_accessor debtor_account_number: String
|
34
30
|
|
35
|
-
attr_accessor
|
31
|
+
attr_accessor debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress
|
36
32
|
|
37
|
-
|
33
|
+
attr_accessor debtor_name: String
|
38
34
|
|
39
|
-
|
35
|
+
attr_accessor debtor_routing_number: String
|
40
36
|
|
41
|
-
|
37
|
+
attr_accessor unstructured_remittance_information: String
|
42
38
|
|
43
|
-
def
|
39
|
+
def initialize: (
|
40
|
+
account_number_id: String,
|
41
|
+
amount: Integer,
|
42
|
+
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
43
|
+
creditor_name: String,
|
44
|
+
debtor_account_number: String,
|
45
|
+
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
46
|
+
debtor_name: String,
|
47
|
+
debtor_routing_number: String,
|
48
|
+
unstructured_remittance_information: String,
|
49
|
+
?request_options: Increase::request_opts
|
50
|
+
) -> void
|
44
51
|
|
45
|
-
|
52
|
+
def to_hash: -> {
|
53
|
+
account_number_id: String,
|
54
|
+
amount: Integer,
|
55
|
+
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
56
|
+
creditor_name: String,
|
57
|
+
debtor_account_number: String,
|
58
|
+
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
59
|
+
debtor_name: String,
|
60
|
+
debtor_routing_number: String,
|
61
|
+
unstructured_remittance_information: String,
|
62
|
+
request_options: Increase::RequestOptions
|
63
|
+
}
|
46
64
|
|
47
|
-
|
65
|
+
type creditor_address =
|
66
|
+
{
|
67
|
+
city: String,
|
68
|
+
country: String,
|
69
|
+
:line1 => String,
|
70
|
+
:line2 => String,
|
71
|
+
postal_code: String,
|
72
|
+
state: String
|
73
|
+
}
|
48
74
|
|
49
|
-
|
75
|
+
class CreditorAddress < Increase::Internal::Type::BaseModel
|
76
|
+
attr_accessor city: String
|
50
77
|
|
51
|
-
|
78
|
+
attr_accessor country: String
|
52
79
|
|
53
|
-
|
80
|
+
attr_accessor line1: String
|
54
81
|
|
55
|
-
|
82
|
+
attr_reader line2: String?
|
56
83
|
|
57
|
-
|
84
|
+
def line2=: (String) -> String
|
58
85
|
|
59
|
-
|
86
|
+
attr_reader postal_code: String?
|
60
87
|
|
61
|
-
|
88
|
+
def postal_code=: (String) -> String
|
62
89
|
|
63
|
-
|
90
|
+
attr_reader state: String?
|
64
91
|
|
65
|
-
|
66
|
-
account_number_id: String,
|
67
|
-
amount: Integer,
|
68
|
-
message_to_recipient: String,
|
69
|
-
recipient_account_number: String,
|
70
|
-
recipient_name: String,
|
71
|
-
recipient_routing_number: String,
|
72
|
-
?originator_address_line1: String,
|
73
|
-
?originator_address_line2: String,
|
74
|
-
?originator_address_line3: String,
|
75
|
-
?originator_name: String,
|
76
|
-
?recipient_address_line1: String,
|
77
|
-
?recipient_address_line2: String,
|
78
|
-
?recipient_address_line3: String,
|
79
|
-
?request_options: Increase::request_opts
|
80
|
-
) -> void
|
92
|
+
def state=: (String) -> String
|
81
93
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
:
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
94
|
+
def initialize: (
|
95
|
+
city: String,
|
96
|
+
country: String,
|
97
|
+
line1: String,
|
98
|
+
?line2: String,
|
99
|
+
?postal_code: String,
|
100
|
+
?state: String
|
101
|
+
) -> void
|
102
|
+
|
103
|
+
def to_hash: -> {
|
104
|
+
city: String,
|
105
|
+
country: String,
|
106
|
+
:line1 => String,
|
107
|
+
:line2 => String,
|
108
|
+
postal_code: String,
|
109
|
+
state: String
|
110
|
+
}
|
111
|
+
end
|
112
|
+
|
113
|
+
type debtor_address =
|
114
|
+
{
|
115
|
+
city: String,
|
116
|
+
country: String,
|
117
|
+
:line1 => String,
|
118
|
+
:line2 => String,
|
119
|
+
postal_code: String,
|
120
|
+
state: String
|
121
|
+
}
|
122
|
+
|
123
|
+
class DebtorAddress < Increase::Internal::Type::BaseModel
|
124
|
+
attr_accessor city: String
|
125
|
+
|
126
|
+
attr_accessor country: String
|
127
|
+
|
128
|
+
attr_accessor line1: String
|
129
|
+
|
130
|
+
attr_reader line2: String?
|
131
|
+
|
132
|
+
def line2=: (String) -> String
|
133
|
+
|
134
|
+
attr_reader postal_code: String?
|
135
|
+
|
136
|
+
def postal_code=: (String) -> String
|
137
|
+
|
138
|
+
attr_reader state: String?
|
139
|
+
|
140
|
+
def state=: (String) -> String
|
141
|
+
|
142
|
+
def initialize: (
|
143
|
+
city: String,
|
144
|
+
country: String,
|
145
|
+
line1: String,
|
146
|
+
?line2: String,
|
147
|
+
?postal_code: String,
|
148
|
+
?state: String
|
149
|
+
) -> void
|
150
|
+
|
151
|
+
def to_hash: -> {
|
152
|
+
city: String,
|
153
|
+
country: String,
|
154
|
+
:line1 => String,
|
155
|
+
:line2 => String,
|
156
|
+
postal_code: String,
|
157
|
+
state: String
|
158
|
+
}
|
159
|
+
end
|
98
160
|
end
|
99
161
|
end
|
100
162
|
end
|
@@ -4,17 +4,13 @@ module Increase
|
|
4
4
|
def create: (
|
5
5
|
account_number_id: String,
|
6
6
|
amount: Integer,
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
?originator_name: String,
|
15
|
-
?recipient_address_line1: String,
|
16
|
-
?recipient_address_line2: String,
|
17
|
-
?recipient_address_line3: String,
|
7
|
+
creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
8
|
+
creditor_name: String,
|
9
|
+
debtor_account_number: String,
|
10
|
+
debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
11
|
+
debtor_name: String,
|
12
|
+
debtor_routing_number: String,
|
13
|
+
unstructured_remittance_information: String,
|
18
14
|
?request_options: Increase::request_opts
|
19
15
|
) -> Increase::WireDrawdownRequest
|
20
16
|
|
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.10.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|