increase 1.6.0 → 1.8.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/inbound_ach_transfer_transfer_return_params.rb +0 -3
- data/lib/increase/models/physical_card_create_params.rb +36 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/inbound_ach_transfer_transfer_return_params.rbi +0 -7
- data/rbi/increase/models/physical_card_create_params.rbi +77 -3
- data/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs +0 -4
- data/sig/increase/models/physical_card_create_params.rbs +26 -3
- 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: 8402affa722e800d63ec6765b9a04d5d9b1c701b519e1f45fa8fbfe2b3eb3528
|
4
|
+
data.tar.gz: 4b4d23e1745c8c77e1af6b84e2cdccf943c42a6ec6f9b1f47eac14f97b4d24c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f8c9f0dc20b4a44d14662bda63ec7aca57b594a1ae8c19a4387647a7fd2941ec0a2a78f4d8014928f6d8f8d42ca178652c5beb4ff3b063bc897f15cafca6f99
|
7
|
+
data.tar.gz: 276505c700b9f31e9e01ea282ba61b9e5bf1f8217dd0ba126c00649feb745bcac001559f1478ae0607ca6f3c23ac008bd60c40e2694bfda7758d040133170e5b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.8.0 (2025-07-04)
|
4
|
+
|
5
|
+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/Increase/increase-ruby/compare/v1.7.0...v1.8.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([ac9c398](https://github.com/Increase/increase-ruby/commit/ac9c3980decb85870a47773a347507176d40981e))
|
10
|
+
|
11
|
+
## 1.7.0 (2025-07-02)
|
12
|
+
|
13
|
+
Full Changelog: [v1.6.0...v1.7.0](https://github.com/Increase/increase-ruby/compare/v1.6.0...v1.7.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([c7a416e](https://github.com/Increase/increase-ruby/commit/c7a416e30dc10a9245015f3e5da55142831d0112))
|
18
|
+
|
3
19
|
## 1.6.0 (2025-07-01)
|
4
20
|
|
5
21
|
Full Changelog: [v1.5.3...v1.6.0](https://github.com/Increase/increase-ruby/compare/v1.5.3...v1.6.0)
|
data/README.md
CHANGED
@@ -30,9 +30,6 @@ module Increase
|
|
30
30
|
# The customer's account has insufficient funds. This reason is only allowed for debits. The Nacha return code is R01.
|
31
31
|
INSUFFICIENT_FUNDS = :insufficient_funds
|
32
32
|
|
33
|
-
# The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request. The Nacha return code is R06.
|
34
|
-
RETURNED_PER_ODFI_REQUEST = :returned_per_odfi_request
|
35
|
-
|
36
33
|
# The customer no longer authorizes this transaction. The Nacha return code is R07.
|
37
34
|
AUTHORIZATION_REVOKED_BY_CUSTOMER = :authorization_revoked_by_customer
|
38
35
|
|
@@ -84,12 +84,27 @@ module Increase
|
|
84
84
|
},
|
85
85
|
api_name: :method
|
86
86
|
|
87
|
-
# @!
|
87
|
+
# @!attribute schedule
|
88
|
+
# When this physical card should be produced by the card printer. The default
|
89
|
+
# timeline is the day after the card printer receives the order, except for
|
90
|
+
# `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster
|
91
|
+
# production methods, please reach out to
|
92
|
+
# [support@increase.com](mailto:support@increase.com).
|
93
|
+
#
|
94
|
+
# @return [Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Schedule, nil]
|
95
|
+
optional :schedule, enum: -> { Increase::PhysicalCardCreateParams::Shipment::Schedule }
|
96
|
+
|
97
|
+
# @!method initialize(address:, method_:, schedule: nil)
|
98
|
+
# Some parameter documentations has been truncated, see
|
99
|
+
# {Increase::Models::PhysicalCardCreateParams::Shipment} for more details.
|
100
|
+
#
|
88
101
|
# The details used to ship this physical card.
|
89
102
|
#
|
90
103
|
# @param address [Increase::Models::PhysicalCardCreateParams::Shipment::Address] The address to where the card should be shipped.
|
91
104
|
#
|
92
105
|
# @param method_ [Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Method] The shipping method to use.
|
106
|
+
#
|
107
|
+
# @param schedule [Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Schedule] When this physical card should be produced by the card printer. The default time
|
93
108
|
|
94
109
|
# @see Increase::Models::PhysicalCardCreateParams::Shipment#address
|
95
110
|
class Address < Increase::Internal::Type::BaseModel
|
@@ -179,6 +194,26 @@ module Increase
|
|
179
194
|
# @!method self.values
|
180
195
|
# @return [Array<Symbol>]
|
181
196
|
end
|
197
|
+
|
198
|
+
# When this physical card should be produced by the card printer. The default
|
199
|
+
# timeline is the day after the card printer receives the order, except for
|
200
|
+
# `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster
|
201
|
+
# production methods, please reach out to
|
202
|
+
# [support@increase.com](mailto:support@increase.com).
|
203
|
+
#
|
204
|
+
# @see Increase::Models::PhysicalCardCreateParams::Shipment#schedule
|
205
|
+
module Schedule
|
206
|
+
extend Increase::Internal::Type::Enum
|
207
|
+
|
208
|
+
# The physical card will be shipped one business day after the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Wednesday.
|
209
|
+
NEXT_DAY = :next_day
|
210
|
+
|
211
|
+
# The physical card will be shipped on the same business day that the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Tuesday.
|
212
|
+
SAME_DAY = :same_day
|
213
|
+
|
214
|
+
# @!method self.values
|
215
|
+
# @return [Array<Symbol>]
|
216
|
+
end
|
182
217
|
end
|
183
218
|
end
|
184
219
|
end
|
data/lib/increase/version.rb
CHANGED
@@ -71,13 +71,6 @@ module Increase
|
|
71
71
|
Increase::InboundACHTransferTransferReturnParams::Reason::TaggedSymbol
|
72
72
|
)
|
73
73
|
|
74
|
-
# The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request. The Nacha return code is R06.
|
75
|
-
RETURNED_PER_ODFI_REQUEST =
|
76
|
-
T.let(
|
77
|
-
:returned_per_odfi_request,
|
78
|
-
Increase::InboundACHTransferTransferReturnParams::Reason::TaggedSymbol
|
79
|
-
)
|
80
|
-
|
81
74
|
# The customer no longer authorizes this transaction. The Nacha return code is R07.
|
82
75
|
AUTHORIZATION_REVOKED_BY_CUSTOMER =
|
83
76
|
T.let(
|
@@ -147,20 +147,50 @@ module Increase
|
|
147
147
|
end
|
148
148
|
attr_accessor :method_
|
149
149
|
|
150
|
+
# When this physical card should be produced by the card printer. The default
|
151
|
+
# timeline is the day after the card printer receives the order, except for
|
152
|
+
# `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster
|
153
|
+
# production methods, please reach out to
|
154
|
+
# [support@increase.com](mailto:support@increase.com).
|
155
|
+
sig do
|
156
|
+
returns(
|
157
|
+
T.nilable(
|
158
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::OrSymbol
|
159
|
+
)
|
160
|
+
)
|
161
|
+
end
|
162
|
+
attr_reader :schedule
|
163
|
+
|
164
|
+
sig do
|
165
|
+
params(
|
166
|
+
schedule:
|
167
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::OrSymbol
|
168
|
+
).void
|
169
|
+
end
|
170
|
+
attr_writer :schedule
|
171
|
+
|
150
172
|
# The details used to ship this physical card.
|
151
173
|
sig do
|
152
174
|
params(
|
153
175
|
address:
|
154
176
|
Increase::PhysicalCardCreateParams::Shipment::Address::OrHash,
|
155
177
|
method_:
|
156
|
-
Increase::PhysicalCardCreateParams::Shipment::Method::OrSymbol
|
178
|
+
Increase::PhysicalCardCreateParams::Shipment::Method::OrSymbol,
|
179
|
+
schedule:
|
180
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::OrSymbol
|
157
181
|
).returns(T.attached_class)
|
158
182
|
end
|
159
183
|
def self.new(
|
160
184
|
# The address to where the card should be shipped.
|
161
185
|
address:,
|
162
186
|
# The shipping method to use.
|
163
|
-
method_
|
187
|
+
method_:,
|
188
|
+
# When this physical card should be produced by the card printer. The default
|
189
|
+
# timeline is the day after the card printer receives the order, except for
|
190
|
+
# `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster
|
191
|
+
# production methods, please reach out to
|
192
|
+
# [support@increase.com](mailto:support@increase.com).
|
193
|
+
schedule: nil
|
164
194
|
)
|
165
195
|
end
|
166
196
|
|
@@ -169,7 +199,9 @@ module Increase
|
|
169
199
|
{
|
170
200
|
address: Increase::PhysicalCardCreateParams::Shipment::Address,
|
171
201
|
method_:
|
172
|
-
Increase::PhysicalCardCreateParams::Shipment::Method::OrSymbol
|
202
|
+
Increase::PhysicalCardCreateParams::Shipment::Method::OrSymbol,
|
203
|
+
schedule:
|
204
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::OrSymbol
|
173
205
|
}
|
174
206
|
)
|
175
207
|
end
|
@@ -321,6 +353,48 @@ module Increase
|
|
321
353
|
def self.values
|
322
354
|
end
|
323
355
|
end
|
356
|
+
|
357
|
+
# When this physical card should be produced by the card printer. The default
|
358
|
+
# timeline is the day after the card printer receives the order, except for
|
359
|
+
# `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use faster
|
360
|
+
# production methods, please reach out to
|
361
|
+
# [support@increase.com](mailto:support@increase.com).
|
362
|
+
module Schedule
|
363
|
+
extend Increase::Internal::Type::Enum
|
364
|
+
|
365
|
+
TaggedSymbol =
|
366
|
+
T.type_alias do
|
367
|
+
T.all(
|
368
|
+
Symbol,
|
369
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule
|
370
|
+
)
|
371
|
+
end
|
372
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
373
|
+
|
374
|
+
# The physical card will be shipped one business day after the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Wednesday.
|
375
|
+
NEXT_DAY =
|
376
|
+
T.let(
|
377
|
+
:next_day,
|
378
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::TaggedSymbol
|
379
|
+
)
|
380
|
+
|
381
|
+
# The physical card will be shipped on the same business day that the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Tuesday.
|
382
|
+
SAME_DAY =
|
383
|
+
T.let(
|
384
|
+
:same_day,
|
385
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::TaggedSymbol
|
386
|
+
)
|
387
|
+
|
388
|
+
sig do
|
389
|
+
override.returns(
|
390
|
+
T::Array[
|
391
|
+
Increase::PhysicalCardCreateParams::Shipment::Schedule::TaggedSymbol
|
392
|
+
]
|
393
|
+
)
|
394
|
+
end
|
395
|
+
def self.values
|
396
|
+
end
|
397
|
+
end
|
324
398
|
end
|
325
399
|
end
|
326
400
|
end
|
@@ -24,7 +24,6 @@ module Increase
|
|
24
24
|
|
25
25
|
type reason =
|
26
26
|
:insufficient_funds
|
27
|
-
| :returned_per_odfi_request
|
28
27
|
| :authorization_revoked_by_customer
|
29
28
|
| :payment_stopped
|
30
29
|
| :customer_advised_unauthorized_improper_ineligible_or_incomplete
|
@@ -40,9 +39,6 @@ module Increase
|
|
40
39
|
# The customer's account has insufficient funds. This reason is only allowed for debits. The Nacha return code is R01.
|
41
40
|
INSUFFICIENT_FUNDS: :insufficient_funds
|
42
41
|
|
43
|
-
# The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request. The Nacha return code is R06.
|
44
|
-
RETURNED_PER_ODFI_REQUEST: :returned_per_odfi_request
|
45
|
-
|
46
42
|
# The customer no longer authorizes this transaction. The Nacha return code is R07.
|
47
43
|
AUTHORIZATION_REVOKED_BY_CUSTOMER: :authorization_revoked_by_customer
|
48
44
|
|
@@ -54,7 +54,8 @@ module Increase
|
|
54
54
|
type shipment =
|
55
55
|
{
|
56
56
|
address: Increase::PhysicalCardCreateParams::Shipment::Address,
|
57
|
-
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_
|
57
|
+
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_,
|
58
|
+
schedule: Increase::Models::PhysicalCardCreateParams::Shipment::schedule
|
58
59
|
}
|
59
60
|
|
60
61
|
class Shipment < Increase::Internal::Type::BaseModel
|
@@ -62,14 +63,22 @@ module Increase
|
|
62
63
|
|
63
64
|
attr_accessor method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_
|
64
65
|
|
66
|
+
attr_reader schedule: Increase::Models::PhysicalCardCreateParams::Shipment::schedule?
|
67
|
+
|
68
|
+
def schedule=: (
|
69
|
+
Increase::Models::PhysicalCardCreateParams::Shipment::schedule
|
70
|
+
) -> Increase::Models::PhysicalCardCreateParams::Shipment::schedule
|
71
|
+
|
65
72
|
def initialize: (
|
66
73
|
address: Increase::PhysicalCardCreateParams::Shipment::Address,
|
67
|
-
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_
|
74
|
+
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_,
|
75
|
+
?schedule: Increase::Models::PhysicalCardCreateParams::Shipment::schedule
|
68
76
|
) -> void
|
69
77
|
|
70
78
|
def to_hash: -> {
|
71
79
|
address: Increase::PhysicalCardCreateParams::Shipment::Address,
|
72
|
-
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_
|
80
|
+
method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_,
|
81
|
+
schedule: Increase::Models::PhysicalCardCreateParams::Shipment::schedule
|
73
82
|
}
|
74
83
|
|
75
84
|
type address =
|
@@ -146,6 +155,20 @@ module Increase
|
|
146
155
|
|
147
156
|
def self?.values: -> ::Array[Increase::Models::PhysicalCardCreateParams::Shipment::method_]
|
148
157
|
end
|
158
|
+
|
159
|
+
type schedule = :next_day | :same_day
|
160
|
+
|
161
|
+
module Schedule
|
162
|
+
extend Increase::Internal::Type::Enum
|
163
|
+
|
164
|
+
# The physical card will be shipped one business day after the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Wednesday.
|
165
|
+
NEXT_DAY: :next_day
|
166
|
+
|
167
|
+
# The physical card will be shipped on the same business day that the order is received by the card printer. A card that is submitted to Increase on a Monday evening (Pacific Time) will ship out on Tuesday.
|
168
|
+
SAME_DAY: :same_day
|
169
|
+
|
170
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCardCreateParams::Shipment::schedule]
|
171
|
+
end
|
149
172
|
end
|
150
173
|
end
|
151
174
|
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.8.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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|