increase 1.61.0 → 1.62.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_transfer_create_params.rb +5 -1
- data/lib/increase/models/document_create_params.rb +13 -6
- data/lib/increase/models/entity_create_params.rb +7 -7
- data/lib/increase/resources/documents.rb +5 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_transfer_create_params.rbi +6 -0
- data/rbi/increase/models/document_create_params.rbi +12 -6
- data/rbi/increase/models/entity_create_params.rbi +9 -9
- data/rbi/increase/resources/documents.rbi +4 -2
- data/rbi/increase/resources/entities.rbi +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15b72439e813be126ada1f2b7beb01e41b0dcaca294c17b428d03b822b22a357
|
4
|
+
data.tar.gz: 8042dc70cb56867f1c738c33a99c922b3f51d914e9a96ed8b37b2c313c9bd957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d10f55ebe9343ad66de8f33ec8c6cd36cff42744a8bdef1b4eeb5055d881696bcb4b75b1f2603d1e124eb5b378de9e23348df21b57b1233e696f6cbfdc18ca54
|
7
|
+
data.tar.gz: 23023e9919b592b3d4b72b61b9b157ea81d0aa3b786054e96f577cca507cd27624307e4016f209786ef2416758743650369cf8ed16d66b48d2e39d47be838d5a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.62.0 (2025-08-29)
|
4
|
+
|
5
|
+
Full Changelog: [v1.61.0...v1.62.0](https://github.com/Increase/increase-ruby/compare/v1.61.0...v1.62.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([356b373](https://github.com/Increase/increase-ruby/commit/356b373ee000da480050236864e5a9bc4cdc113a))
|
10
|
+
|
3
11
|
## 1.61.0 (2025-08-29)
|
4
12
|
|
5
13
|
Full Changelog: [v1.60.0...v1.61.0](https://github.com/Increase/increase-ruby/compare/v1.60.0...v1.61.0)
|
data/README.md
CHANGED
@@ -195,6 +195,7 @@ module Increase
|
|
195
195
|
|
196
196
|
# @!attribute freeform
|
197
197
|
# Unstructured `payment_related_information` passed through with the transfer.
|
198
|
+
# Required if and only if `category` is `freeform`.
|
198
199
|
#
|
199
200
|
# @return [Increase::Models::ACHTransferCreateParams::Addenda::Freeform, nil]
|
200
201
|
optional :freeform, -> { Increase::ACHTransferCreateParams::Addenda::Freeform }
|
@@ -202,6 +203,7 @@ module Increase
|
|
202
203
|
# @!attribute payment_order_remittance_advice
|
203
204
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
204
205
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
206
|
+
# Required if and only if `category` is `payment_order_remittance_advice`.
|
205
207
|
#
|
206
208
|
# @return [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice, nil]
|
207
209
|
optional :payment_order_remittance_advice,
|
@@ -216,7 +218,7 @@ module Increase
|
|
216
218
|
#
|
217
219
|
# @param category [Symbol, Increase::Models::ACHTransferCreateParams::Addenda::Category] The type of addenda to pass with the transfer.
|
218
220
|
#
|
219
|
-
# @param freeform [Increase::Models::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer.
|
221
|
+
# @param freeform [Increase::Models::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer. Req
|
220
222
|
#
|
221
223
|
# @param payment_order_remittance_advice [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice] Structured ASC X12 820 remittance advice records. Please reach out to [support@i
|
222
224
|
|
@@ -254,6 +256,7 @@ module Increase
|
|
254
256
|
# {Increase::Models::ACHTransferCreateParams::Addenda::Freeform} for more details.
|
255
257
|
#
|
256
258
|
# Unstructured `payment_related_information` passed through with the transfer.
|
259
|
+
# Required if and only if `category` is `freeform`.
|
257
260
|
#
|
258
261
|
# @param entries [Array<Increase::Models::ACHTransferCreateParams::Addenda::Freeform::Entry>] Each entry represents an addendum sent with the transfer. In general, you should
|
259
262
|
|
@@ -281,6 +284,7 @@ module Increase
|
|
281
284
|
# @!method initialize(invoices:)
|
282
285
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
283
286
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
287
|
+
# Required if and only if `category` is `payment_order_remittance_advice`.
|
284
288
|
#
|
285
289
|
# @param invoices [Array<Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice>] ASC X12 RMR records for this specific transfer.
|
286
290
|
|
@@ -14,23 +14,28 @@ module Increase
|
|
14
14
|
required :category, enum: -> { Increase::DocumentCreateParams::Category }
|
15
15
|
|
16
16
|
# @!attribute account_verification_letter
|
17
|
-
# An account verification letter.
|
17
|
+
# An account verification letter. Required if and only if `category` is
|
18
|
+
# `account_verification_letter`.
|
18
19
|
#
|
19
20
|
# @return [Increase::Models::DocumentCreateParams::AccountVerificationLetter, nil]
|
20
21
|
optional :account_verification_letter, -> { Increase::DocumentCreateParams::AccountVerificationLetter }
|
21
22
|
|
22
23
|
# @!attribute funding_instructions
|
23
|
-
# Funding instructions.
|
24
|
+
# Funding instructions. Required if and only if `category` is
|
25
|
+
# `funding_instructions`.
|
24
26
|
#
|
25
27
|
# @return [Increase::Models::DocumentCreateParams::FundingInstructions, nil]
|
26
28
|
optional :funding_instructions, -> { Increase::DocumentCreateParams::FundingInstructions }
|
27
29
|
|
28
30
|
# @!method initialize(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
|
31
|
+
# Some parameter documentations has been truncated, see
|
32
|
+
# {Increase::Models::DocumentCreateParams} for more details.
|
33
|
+
#
|
29
34
|
# @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
|
30
35
|
#
|
31
|
-
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
|
36
|
+
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. Required if and only if `category` is `account_v
|
32
37
|
#
|
33
|
-
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
|
38
|
+
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. Required if and only if `category` is `funding_instruction
|
34
39
|
#
|
35
40
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
36
41
|
|
@@ -62,7 +67,8 @@ module Increase
|
|
62
67
|
optional :balance_date, Date
|
63
68
|
|
64
69
|
# @!method initialize(account_number_id:, balance_date: nil)
|
65
|
-
# An account verification letter.
|
70
|
+
# An account verification letter. Required if and only if `category` is
|
71
|
+
# `account_verification_letter`.
|
66
72
|
#
|
67
73
|
# @param account_number_id [String] The Account Number the bank letter should be generated for.
|
68
74
|
#
|
@@ -77,7 +83,8 @@ module Increase
|
|
77
83
|
required :account_number_id, String
|
78
84
|
|
79
85
|
# @!method initialize(account_number_id:)
|
80
|
-
# Funding instructions.
|
86
|
+
# Funding instructions. Required if and only if `category` is
|
87
|
+
# `funding_instructions`.
|
81
88
|
#
|
82
89
|
# @param account_number_id [String] The Account Number the funding instructions should be generated for.
|
83
90
|
end
|
@@ -28,7 +28,7 @@ module Increase
|
|
28
28
|
|
29
29
|
# @!attribute government_authority
|
30
30
|
# Details of the Government Authority entity to create. Required if `structure` is
|
31
|
-
# equal to `
|
31
|
+
# equal to `government_authority`.
|
32
32
|
#
|
33
33
|
# @return [Increase::Models::EntityCreateParams::GovernmentAuthority, nil]
|
34
34
|
optional :government_authority, -> { Increase::EntityCreateParams::GovernmentAuthority }
|
@@ -693,7 +693,7 @@ module Increase
|
|
693
693
|
# {Increase::Models::EntityCreateParams::GovernmentAuthority} for more details.
|
694
694
|
#
|
695
695
|
# Details of the Government Authority entity to create. Required if `structure` is
|
696
|
-
# equal to `
|
696
|
+
# equal to `government_authority`.
|
697
697
|
#
|
698
698
|
# @param address [Increase::Models::EntityCreateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
699
699
|
#
|
@@ -1642,8 +1642,8 @@ module Increase
|
|
1642
1642
|
required :structure, enum: -> { Increase::EntityCreateParams::Trust::Trustee::Structure }
|
1643
1643
|
|
1644
1644
|
# @!attribute individual
|
1645
|
-
# Details of the individual trustee.
|
1646
|
-
# equal to `individual`.
|
1645
|
+
# Details of the individual trustee. Within the trustee object, this is required
|
1646
|
+
# if `structure` is equal to `individual`.
|
1647
1647
|
#
|
1648
1648
|
# @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual, nil]
|
1649
1649
|
optional :individual, -> { Increase::EntityCreateParams::Trust::Trustee::Individual }
|
@@ -1654,7 +1654,7 @@ module Increase
|
|
1654
1654
|
#
|
1655
1655
|
# @param structure [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Structure] The structure of the trustee.
|
1656
1656
|
#
|
1657
|
-
# @param individual [Increase::Models::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee.
|
1657
|
+
# @param individual [Increase::Models::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee. Within the trustee object, this is required i
|
1658
1658
|
|
1659
1659
|
# The structure of the trustee.
|
1660
1660
|
#
|
@@ -1710,8 +1710,8 @@ module Increase
|
|
1710
1710
|
# {Increase::Models::EntityCreateParams::Trust::Trustee::Individual} for more
|
1711
1711
|
# details.
|
1712
1712
|
#
|
1713
|
-
# Details of the individual trustee.
|
1714
|
-
# equal to `individual`.
|
1713
|
+
# Details of the individual trustee. Within the trustee object, this is required
|
1714
|
+
# if `structure` is equal to `individual`.
|
1715
1715
|
#
|
1716
1716
|
# @param address [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
|
1717
1717
|
#
|
@@ -3,15 +3,18 @@
|
|
3
3
|
module Increase
|
4
4
|
module Resources
|
5
5
|
class Documents
|
6
|
+
# Some parameter documentations has been truncated, see
|
7
|
+
# {Increase::Models::DocumentCreateParams} for more details.
|
8
|
+
#
|
6
9
|
# Create a Document
|
7
10
|
#
|
8
11
|
# @overload create(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
|
9
12
|
#
|
10
13
|
# @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
|
11
14
|
#
|
12
|
-
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
|
15
|
+
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. Required if and only if `category` is `account_v
|
13
16
|
#
|
14
|
-
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
|
17
|
+
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. Required if and only if `category` is `funding_instruction
|
15
18
|
#
|
16
19
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
17
20
|
#
|
data/lib/increase/version.rb
CHANGED
@@ -345,6 +345,7 @@ module Increase
|
|
345
345
|
attr_accessor :category
|
346
346
|
|
347
347
|
# Unstructured `payment_related_information` passed through with the transfer.
|
348
|
+
# Required if and only if `category` is `freeform`.
|
348
349
|
sig do
|
349
350
|
returns(
|
350
351
|
T.nilable(Increase::ACHTransferCreateParams::Addenda::Freeform)
|
@@ -362,6 +363,7 @@ module Increase
|
|
362
363
|
|
363
364
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
364
365
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
366
|
+
# Required if and only if `category` is `payment_order_remittance_advice`.
|
365
367
|
sig do
|
366
368
|
returns(
|
367
369
|
T.nilable(
|
@@ -395,9 +397,11 @@ module Increase
|
|
395
397
|
# The type of addenda to pass with the transfer.
|
396
398
|
category:,
|
397
399
|
# Unstructured `payment_related_information` passed through with the transfer.
|
400
|
+
# Required if and only if `category` is `freeform`.
|
398
401
|
freeform: nil,
|
399
402
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
400
403
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
404
|
+
# Required if and only if `category` is `payment_order_remittance_advice`.
|
401
405
|
payment_order_remittance_advice: nil
|
402
406
|
)
|
403
407
|
end
|
@@ -478,6 +482,7 @@ module Increase
|
|
478
482
|
attr_accessor :entries
|
479
483
|
|
480
484
|
# Unstructured `payment_related_information` passed through with the transfer.
|
485
|
+
# Required if and only if `category` is `freeform`.
|
481
486
|
sig do
|
482
487
|
params(
|
483
488
|
entries:
|
@@ -560,6 +565,7 @@ module Increase
|
|
560
565
|
|
561
566
|
# Structured ASC X12 820 remittance advice records. Please reach out to
|
562
567
|
# [support@increase.com](mailto:support@increase.com) for more information.
|
568
|
+
# Required if and only if `category` is `payment_order_remittance_advice`.
|
563
569
|
sig do
|
564
570
|
params(
|
565
571
|
invoices:
|
@@ -15,7 +15,8 @@ module Increase
|
|
15
15
|
sig { returns(Increase::DocumentCreateParams::Category::OrSymbol) }
|
16
16
|
attr_accessor :category
|
17
17
|
|
18
|
-
# An account verification letter.
|
18
|
+
# An account verification letter. Required if and only if `category` is
|
19
|
+
# `account_verification_letter`.
|
19
20
|
sig do
|
20
21
|
returns(
|
21
22
|
T.nilable(Increase::DocumentCreateParams::AccountVerificationLetter)
|
@@ -31,7 +32,8 @@ module Increase
|
|
31
32
|
end
|
32
33
|
attr_writer :account_verification_letter
|
33
34
|
|
34
|
-
# Funding instructions.
|
35
|
+
# Funding instructions. Required if and only if `category` is
|
36
|
+
# `funding_instructions`.
|
35
37
|
sig do
|
36
38
|
returns(T.nilable(Increase::DocumentCreateParams::FundingInstructions))
|
37
39
|
end
|
@@ -58,9 +60,11 @@ module Increase
|
|
58
60
|
def self.new(
|
59
61
|
# The type of document to create.
|
60
62
|
category:,
|
61
|
-
# An account verification letter.
|
63
|
+
# An account verification letter. Required if and only if `category` is
|
64
|
+
# `account_verification_letter`.
|
62
65
|
account_verification_letter: nil,
|
63
|
-
# Funding instructions.
|
66
|
+
# Funding instructions. Required if and only if `category` is
|
67
|
+
# `funding_instructions`.
|
64
68
|
funding_instructions: nil,
|
65
69
|
request_options: {}
|
66
70
|
)
|
@@ -134,7 +138,8 @@ module Increase
|
|
134
138
|
sig { params(balance_date: Date).void }
|
135
139
|
attr_writer :balance_date
|
136
140
|
|
137
|
-
# An account verification letter.
|
141
|
+
# An account verification letter. Required if and only if `category` is
|
142
|
+
# `account_verification_letter`.
|
138
143
|
sig do
|
139
144
|
params(account_number_id: String, balance_date: Date).returns(
|
140
145
|
T.attached_class
|
@@ -168,7 +173,8 @@ module Increase
|
|
168
173
|
sig { returns(String) }
|
169
174
|
attr_accessor :account_number_id
|
170
175
|
|
171
|
-
# Funding instructions.
|
176
|
+
# Funding instructions. Required if and only if `category` is
|
177
|
+
# `funding_instructions`.
|
172
178
|
sig { params(account_number_id: String).returns(T.attached_class) }
|
173
179
|
def self.new(
|
174
180
|
# The Account Number the funding instructions should be generated for.
|
@@ -35,7 +35,7 @@ module Increase
|
|
35
35
|
attr_writer :description
|
36
36
|
|
37
37
|
# Details of the Government Authority entity to create. Required if `structure` is
|
38
|
-
# equal to `
|
38
|
+
# equal to `government_authority`.
|
39
39
|
sig do
|
40
40
|
returns(T.nilable(Increase::EntityCreateParams::GovernmentAuthority))
|
41
41
|
end
|
@@ -140,7 +140,7 @@ module Increase
|
|
140
140
|
# The description you choose to give the entity.
|
141
141
|
description: nil,
|
142
142
|
# Details of the Government Authority entity to create. Required if `structure` is
|
143
|
-
# equal to `
|
143
|
+
# equal to `government_authority`.
|
144
144
|
government_authority: nil,
|
145
145
|
# Details of the joint entity to create. Required if `structure` is equal to
|
146
146
|
# `joint`.
|
@@ -1263,7 +1263,7 @@ module Increase
|
|
1263
1263
|
attr_writer :website
|
1264
1264
|
|
1265
1265
|
# Details of the Government Authority entity to create. Required if `structure` is
|
1266
|
-
# equal to `
|
1266
|
+
# equal to `government_authority`.
|
1267
1267
|
sig do
|
1268
1268
|
params(
|
1269
1269
|
address:
|
@@ -3005,8 +3005,8 @@ module Increase
|
|
3005
3005
|
end
|
3006
3006
|
attr_accessor :structure
|
3007
3007
|
|
3008
|
-
# Details of the individual trustee.
|
3009
|
-
# equal to `individual`.
|
3008
|
+
# Details of the individual trustee. Within the trustee object, this is required
|
3009
|
+
# if `structure` is equal to `individual`.
|
3010
3010
|
sig do
|
3011
3011
|
returns(
|
3012
3012
|
T.nilable(
|
@@ -3035,8 +3035,8 @@ module Increase
|
|
3035
3035
|
def self.new(
|
3036
3036
|
# The structure of the trustee.
|
3037
3037
|
structure:,
|
3038
|
-
# Details of the individual trustee.
|
3039
|
-
# equal to `individual`.
|
3038
|
+
# Details of the individual trustee. Within the trustee object, this is required
|
3039
|
+
# if `structure` is equal to `individual`.
|
3040
3040
|
individual: nil
|
3041
3041
|
)
|
3042
3042
|
end
|
@@ -3145,8 +3145,8 @@ module Increase
|
|
3145
3145
|
sig { params(confirmed_no_us_tax_id: T::Boolean).void }
|
3146
3146
|
attr_writer :confirmed_no_us_tax_id
|
3147
3147
|
|
3148
|
-
# Details of the individual trustee.
|
3149
|
-
# equal to `individual`.
|
3148
|
+
# Details of the individual trustee. Within the trustee object, this is required
|
3149
|
+
# if `structure` is equal to `individual`.
|
3150
3150
|
sig do
|
3151
3151
|
params(
|
3152
3152
|
address:
|
@@ -17,9 +17,11 @@ module Increase
|
|
17
17
|
def create(
|
18
18
|
# The type of document to create.
|
19
19
|
category:,
|
20
|
-
# An account verification letter.
|
20
|
+
# An account verification letter. Required if and only if `category` is
|
21
|
+
# `account_verification_letter`.
|
21
22
|
account_verification_letter: nil,
|
22
|
-
# Funding instructions.
|
23
|
+
# Funding instructions. Required if and only if `category` is
|
24
|
+
# `funding_instructions`.
|
23
25
|
funding_instructions: nil,
|
24
26
|
request_options: {}
|
25
27
|
)
|
@@ -32,7 +32,7 @@ module Increase
|
|
32
32
|
# The description you choose to give the entity.
|
33
33
|
description: nil,
|
34
34
|
# Details of the Government Authority entity to create. Required if `structure` is
|
35
|
-
# equal to `
|
35
|
+
# equal to `government_authority`.
|
36
36
|
government_authority: nil,
|
37
37
|
# Details of the joint entity to create. Required if `structure` is equal to
|
38
38
|
# `joint`.
|