increase 1.206.0 → 1.207.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/export.rb +47 -1
- data/lib/increase/models/export_create_params.rb +47 -1
- data/lib/increase/models/export_list_params.rb +3 -0
- data/lib/increase/resources/exports.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/export.rbi +91 -3
- data/rbi/increase/models/export_create_params.rbi +109 -0
- data/rbi/increase/models/export_list_params.rbi +7 -0
- data/rbi/increase/resources/exports.rbi +4 -0
- data/sig/increase/models/export.rbs +44 -3
- data/sig/increase/models/export_create_params.rbs +50 -1
- data/sig/increase/models/export_list_params.rbs +4 -0
- data/sig/increase/resources/exports.rbs +1 -0
- 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: b951b7ee2c2c75389ce6e7dbf392bc147d3daca2f99e325847f638724edb7ad3
|
|
4
|
+
data.tar.gz: dcc9f59dd545fa079386828a02bec48386c54355f108a2625814b6a1c3970d6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46da01bdb9510ea93bb12e6b462fa40627c6266be3d59747de73780335b4527259a2d050e2e96d90bf9ecc9e6441bab5155be1ce4929c2a7a32e5208d892c903
|
|
7
|
+
data.tar.gz: 3b224dd77d94a53367d929a5fb8a87fda052a24abebf22c08e3281e84759534e35b7a138bf802cfb6fd1afc60406cb2c01f3e1bf6a5fd1eac8ef2fc60b120d3d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.207.0 (2026-02-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.206.0...v1.207.0](https://github.com/Increase/increase-ruby/compare/v1.206.0...v1.207.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([85a2643](https://github.com/Increase/increase-ruby/commit/85a2643c9ae05bc8c9111e957ca524bed2ba07d0))
|
|
10
|
+
|
|
3
11
|
## 1.206.0 (2026-02-10)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.205.0...v1.206.0](https://github.com/Increase/increase-ruby/compare/v1.205.0...v1.206.0)
|
data/README.md
CHANGED
|
@@ -137,7 +137,14 @@ module Increase
|
|
|
137
137
|
# @return [Increase::Models::Export::VendorCsv, nil]
|
|
138
138
|
required :vendor_csv, -> { Increase::Export::VendorCsv }, nil?: true
|
|
139
139
|
|
|
140
|
-
# @!
|
|
140
|
+
# @!attribute voided_check
|
|
141
|
+
# Details of the voided check export. This field will be present when the
|
|
142
|
+
# `category` is equal to `voided_check`.
|
|
143
|
+
#
|
|
144
|
+
# @return [Increase::Models::Export::VoidedCheck, nil]
|
|
145
|
+
required :voided_check, -> { Increase::Export::VoidedCheck }, nil?: true
|
|
146
|
+
|
|
147
|
+
# @!method initialize(id:, account_statement_bai2:, account_statement_ofx:, account_verification_letter:, balance_csv:, bookkeeping_account_balance_csv:, category:, created_at:, dashboard_table_csv:, entity_csv:, form_1099_int:, form_1099_misc:, funding_instructions:, idempotency_key:, result:, status:, transaction_csv:, type:, vendor_csv:, voided_check:)
|
|
141
148
|
# Some parameter documentations has been truncated, see {Increase::Models::Export}
|
|
142
149
|
# for more details.
|
|
143
150
|
#
|
|
@@ -184,6 +191,8 @@ module Increase
|
|
|
184
191
|
# @param type [Symbol, Increase::Models::Export::Type] A constant representing the object's type. For this resource it will always be `
|
|
185
192
|
#
|
|
186
193
|
# @param vendor_csv [Increase::Models::Export::VendorCsv, nil] Details of the vendor CSV export. This field will be present when the `category`
|
|
194
|
+
#
|
|
195
|
+
# @param voided_check [Increase::Models::Export::VoidedCheck, nil] Details of the voided check export. This field will be present when the `categor
|
|
187
196
|
|
|
188
197
|
# @see Increase::Models::Export#account_statement_bai2
|
|
189
198
|
class AccountStatementBai2 < Increase::Internal::Type::BaseModel
|
|
@@ -417,6 +426,9 @@ module Increase
|
|
|
417
426
|
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
418
427
|
FORM_1099_MISC = :form_1099_misc
|
|
419
428
|
|
|
429
|
+
# A PDF of a voided check.
|
|
430
|
+
VOIDED_CHECK = :voided_check
|
|
431
|
+
|
|
420
432
|
# @!method self.values
|
|
421
433
|
# @return [Array<Symbol>]
|
|
422
434
|
end
|
|
@@ -618,6 +630,40 @@ module Increase
|
|
|
618
630
|
# Details of the vendor CSV export. This field will be present when the `category`
|
|
619
631
|
# is equal to `vendor_csv`.
|
|
620
632
|
end
|
|
633
|
+
|
|
634
|
+
# @see Increase::Models::Export#voided_check
|
|
635
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
636
|
+
# @!attribute account_number_id
|
|
637
|
+
# The Account Number for the voided check.
|
|
638
|
+
#
|
|
639
|
+
# @return [String]
|
|
640
|
+
required :account_number_id, String
|
|
641
|
+
|
|
642
|
+
# @!attribute payer
|
|
643
|
+
# The payer information printed on the check.
|
|
644
|
+
#
|
|
645
|
+
# @return [Array<Increase::Models::Export::VoidedCheck::Payer>]
|
|
646
|
+
required :payer, -> { Increase::Internal::Type::ArrayOf[Increase::Export::VoidedCheck::Payer] }
|
|
647
|
+
|
|
648
|
+
# @!method initialize(account_number_id:, payer:)
|
|
649
|
+
# Details of the voided check export. This field will be present when the
|
|
650
|
+
# `category` is equal to `voided_check`.
|
|
651
|
+
#
|
|
652
|
+
# @param account_number_id [String] The Account Number for the voided check.
|
|
653
|
+
#
|
|
654
|
+
# @param payer [Array<Increase::Models::Export::VoidedCheck::Payer>] The payer information printed on the check.
|
|
655
|
+
|
|
656
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
657
|
+
# @!attribute line
|
|
658
|
+
# The contents of the line.
|
|
659
|
+
#
|
|
660
|
+
# @return [String]
|
|
661
|
+
required :line, String
|
|
662
|
+
|
|
663
|
+
# @!method initialize(line:)
|
|
664
|
+
# @param line [String] The contents of the line.
|
|
665
|
+
end
|
|
666
|
+
end
|
|
621
667
|
end
|
|
622
668
|
end
|
|
623
669
|
end
|
|
@@ -75,7 +75,14 @@ module Increase
|
|
|
75
75
|
# @return [Increase::Models::ExportCreateParams::VendorCsv, nil]
|
|
76
76
|
optional :vendor_csv, -> { Increase::ExportCreateParams::VendorCsv }
|
|
77
77
|
|
|
78
|
-
# @!
|
|
78
|
+
# @!attribute voided_check
|
|
79
|
+
# Options for the created export. Required if `category` is equal to
|
|
80
|
+
# `voided_check`.
|
|
81
|
+
#
|
|
82
|
+
# @return [Increase::Models::ExportCreateParams::VoidedCheck, nil]
|
|
83
|
+
optional :voided_check, -> { Increase::ExportCreateParams::VoidedCheck }
|
|
84
|
+
|
|
85
|
+
# @!method initialize(category:, account_statement_bai2: nil, account_statement_ofx: nil, account_verification_letter: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, funding_instructions: nil, transaction_csv: nil, vendor_csv: nil, voided_check: nil, request_options: {})
|
|
79
86
|
# Some parameter documentations has been truncated, see
|
|
80
87
|
# {Increase::Models::ExportCreateParams} for more details.
|
|
81
88
|
#
|
|
@@ -101,6 +108,8 @@ module Increase
|
|
|
101
108
|
#
|
|
102
109
|
# @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
|
|
103
110
|
#
|
|
111
|
+
# @param voided_check [Increase::Models::ExportCreateParams::VoidedCheck] Options for the created export. Required if `category` is equal to `voided_check
|
|
112
|
+
#
|
|
104
113
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
105
114
|
|
|
106
115
|
# The type of Export to create.
|
|
@@ -134,6 +143,9 @@ module Increase
|
|
|
134
143
|
# A PDF of funding instructions.
|
|
135
144
|
FUNDING_INSTRUCTIONS = :funding_instructions
|
|
136
145
|
|
|
146
|
+
# A PDF of a voided check.
|
|
147
|
+
VOIDED_CHECK = :voided_check
|
|
148
|
+
|
|
137
149
|
# @!method self.values
|
|
138
150
|
# @return [Array<Symbol>]
|
|
139
151
|
end
|
|
@@ -497,6 +509,40 @@ module Increase
|
|
|
497
509
|
# @!method initialize
|
|
498
510
|
# Options for the created export. Required if `category` is equal to `vendor_csv`.
|
|
499
511
|
end
|
|
512
|
+
|
|
513
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
514
|
+
# @!attribute account_number_id
|
|
515
|
+
# The Account Number for the voided check.
|
|
516
|
+
#
|
|
517
|
+
# @return [String]
|
|
518
|
+
required :account_number_id, String
|
|
519
|
+
|
|
520
|
+
# @!attribute payer
|
|
521
|
+
# The payer information to be printed on the check.
|
|
522
|
+
#
|
|
523
|
+
# @return [Array<Increase::Models::ExportCreateParams::VoidedCheck::Payer>, nil]
|
|
524
|
+
optional :payer,
|
|
525
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::ExportCreateParams::VoidedCheck::Payer] }
|
|
526
|
+
|
|
527
|
+
# @!method initialize(account_number_id:, payer: nil)
|
|
528
|
+
# Options for the created export. Required if `category` is equal to
|
|
529
|
+
# `voided_check`.
|
|
530
|
+
#
|
|
531
|
+
# @param account_number_id [String] The Account Number for the voided check.
|
|
532
|
+
#
|
|
533
|
+
# @param payer [Array<Increase::Models::ExportCreateParams::VoidedCheck::Payer>] The payer information to be printed on the check.
|
|
534
|
+
|
|
535
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
536
|
+
# @!attribute line
|
|
537
|
+
# The contents of the line.
|
|
538
|
+
#
|
|
539
|
+
# @return [String]
|
|
540
|
+
required :line, String
|
|
541
|
+
|
|
542
|
+
# @!method initialize(line:)
|
|
543
|
+
# @param line [String] The contents of the line.
|
|
544
|
+
end
|
|
545
|
+
end
|
|
500
546
|
end
|
|
501
547
|
end
|
|
502
548
|
end
|
|
@@ -8,7 +8,7 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create an Export
|
|
10
10
|
#
|
|
11
|
-
# @overload create(category:, account_statement_bai2: nil, account_statement_ofx: nil, account_verification_letter: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, funding_instructions: nil, transaction_csv: nil, vendor_csv: nil, request_options: {})
|
|
11
|
+
# @overload create(category:, account_statement_bai2: nil, account_statement_ofx: nil, account_verification_letter: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, funding_instructions: nil, transaction_csv: nil, vendor_csv: nil, voided_check: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param category [Symbol, Increase::Models::ExportCreateParams::Category] The type of Export to create.
|
|
14
14
|
#
|
|
@@ -32,6 +32,8 @@ module Increase
|
|
|
32
32
|
#
|
|
33
33
|
# @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
|
|
34
34
|
#
|
|
35
|
+
# @param voided_check [Increase::Models::ExportCreateParams::VoidedCheck] Options for the created export. Required if `category` is equal to `voided_check
|
|
36
|
+
#
|
|
35
37
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
36
38
|
#
|
|
37
39
|
# @return [Increase::Models::Export]
|
data/lib/increase/version.rb
CHANGED
|
@@ -188,6 +188,18 @@ module Increase
|
|
|
188
188
|
end
|
|
189
189
|
attr_writer :vendor_csv
|
|
190
190
|
|
|
191
|
+
# Details of the voided check export. This field will be present when the
|
|
192
|
+
# `category` is equal to `voided_check`.
|
|
193
|
+
sig { returns(T.nilable(Increase::Export::VoidedCheck)) }
|
|
194
|
+
attr_reader :voided_check
|
|
195
|
+
|
|
196
|
+
sig do
|
|
197
|
+
params(
|
|
198
|
+
voided_check: T.nilable(Increase::Export::VoidedCheck::OrHash)
|
|
199
|
+
).void
|
|
200
|
+
end
|
|
201
|
+
attr_writer :voided_check
|
|
202
|
+
|
|
191
203
|
# Exports are generated files. Some exports can contain a lot of data, like a CSV
|
|
192
204
|
# of your transactions. Others can be a single document, like a tax form. Since
|
|
193
205
|
# they can take a while, they are generated asynchronously. We send a webhook when
|
|
@@ -219,7 +231,8 @@ module Increase
|
|
|
219
231
|
status: Increase::Export::Status::OrSymbol,
|
|
220
232
|
transaction_csv: T.nilable(Increase::Export::TransactionCsv::OrHash),
|
|
221
233
|
type: Increase::Export::Type::OrSymbol,
|
|
222
|
-
vendor_csv: T.nilable(Increase::Export::VendorCsv::OrHash)
|
|
234
|
+
vendor_csv: T.nilable(Increase::Export::VendorCsv::OrHash),
|
|
235
|
+
voided_check: T.nilable(Increase::Export::VoidedCheck::OrHash)
|
|
223
236
|
).returns(T.attached_class)
|
|
224
237
|
end
|
|
225
238
|
def self.new(
|
|
@@ -277,7 +290,10 @@ module Increase
|
|
|
277
290
|
type:,
|
|
278
291
|
# Details of the vendor CSV export. This field will be present when the `category`
|
|
279
292
|
# is equal to `vendor_csv`.
|
|
280
|
-
vendor_csv
|
|
293
|
+
vendor_csv:,
|
|
294
|
+
# Details of the voided check export. This field will be present when the
|
|
295
|
+
# `category` is equal to `voided_check`.
|
|
296
|
+
voided_check:
|
|
281
297
|
)
|
|
282
298
|
end
|
|
283
299
|
|
|
@@ -307,7 +323,8 @@ module Increase
|
|
|
307
323
|
status: Increase::Export::Status::TaggedSymbol,
|
|
308
324
|
transaction_csv: T.nilable(Increase::Export::TransactionCsv),
|
|
309
325
|
type: Increase::Export::Type::TaggedSymbol,
|
|
310
|
-
vendor_csv: T.nilable(Increase::Export::VendorCsv)
|
|
326
|
+
vendor_csv: T.nilable(Increase::Export::VendorCsv),
|
|
327
|
+
voided_check: T.nilable(Increase::Export::VoidedCheck)
|
|
311
328
|
}
|
|
312
329
|
)
|
|
313
330
|
end
|
|
@@ -775,6 +792,10 @@ module Increase
|
|
|
775
792
|
FORM_1099_MISC =
|
|
776
793
|
T.let(:form_1099_misc, Increase::Export::Category::TaggedSymbol)
|
|
777
794
|
|
|
795
|
+
# A PDF of a voided check.
|
|
796
|
+
VOIDED_CHECK =
|
|
797
|
+
T.let(:voided_check, Increase::Export::Category::TaggedSymbol)
|
|
798
|
+
|
|
778
799
|
sig do
|
|
779
800
|
override.returns(T::Array[Increase::Export::Category::TaggedSymbol])
|
|
780
801
|
end
|
|
@@ -1119,6 +1140,73 @@ module Increase
|
|
|
1119
1140
|
def to_hash
|
|
1120
1141
|
end
|
|
1121
1142
|
end
|
|
1143
|
+
|
|
1144
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
1145
|
+
OrHash =
|
|
1146
|
+
T.type_alias do
|
|
1147
|
+
T.any(Increase::Export::VoidedCheck, Increase::Internal::AnyHash)
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1150
|
+
# The Account Number for the voided check.
|
|
1151
|
+
sig { returns(String) }
|
|
1152
|
+
attr_accessor :account_number_id
|
|
1153
|
+
|
|
1154
|
+
# The payer information printed on the check.
|
|
1155
|
+
sig { returns(T::Array[Increase::Export::VoidedCheck::Payer]) }
|
|
1156
|
+
attr_accessor :payer
|
|
1157
|
+
|
|
1158
|
+
# Details of the voided check export. This field will be present when the
|
|
1159
|
+
# `category` is equal to `voided_check`.
|
|
1160
|
+
sig do
|
|
1161
|
+
params(
|
|
1162
|
+
account_number_id: String,
|
|
1163
|
+
payer: T::Array[Increase::Export::VoidedCheck::Payer::OrHash]
|
|
1164
|
+
).returns(T.attached_class)
|
|
1165
|
+
end
|
|
1166
|
+
def self.new(
|
|
1167
|
+
# The Account Number for the voided check.
|
|
1168
|
+
account_number_id:,
|
|
1169
|
+
# The payer information printed on the check.
|
|
1170
|
+
payer:
|
|
1171
|
+
)
|
|
1172
|
+
end
|
|
1173
|
+
|
|
1174
|
+
sig do
|
|
1175
|
+
override.returns(
|
|
1176
|
+
{
|
|
1177
|
+
account_number_id: String,
|
|
1178
|
+
payer: T::Array[Increase::Export::VoidedCheck::Payer]
|
|
1179
|
+
}
|
|
1180
|
+
)
|
|
1181
|
+
end
|
|
1182
|
+
def to_hash
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
1186
|
+
OrHash =
|
|
1187
|
+
T.type_alias do
|
|
1188
|
+
T.any(
|
|
1189
|
+
Increase::Export::VoidedCheck::Payer,
|
|
1190
|
+
Increase::Internal::AnyHash
|
|
1191
|
+
)
|
|
1192
|
+
end
|
|
1193
|
+
|
|
1194
|
+
# The contents of the line.
|
|
1195
|
+
sig { returns(String) }
|
|
1196
|
+
attr_accessor :line
|
|
1197
|
+
|
|
1198
|
+
sig { params(line: String).returns(T.attached_class) }
|
|
1199
|
+
def self.new(
|
|
1200
|
+
# The contents of the line.
|
|
1201
|
+
line:
|
|
1202
|
+
)
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
sig { override.returns({ line: String }) }
|
|
1206
|
+
def to_hash
|
|
1207
|
+
end
|
|
1208
|
+
end
|
|
1209
|
+
end
|
|
1122
1210
|
end
|
|
1123
1211
|
end
|
|
1124
1212
|
end
|
|
@@ -136,6 +136,18 @@ module Increase
|
|
|
136
136
|
end
|
|
137
137
|
attr_writer :vendor_csv
|
|
138
138
|
|
|
139
|
+
# Options for the created export. Required if `category` is equal to
|
|
140
|
+
# `voided_check`.
|
|
141
|
+
sig { returns(T.nilable(Increase::ExportCreateParams::VoidedCheck)) }
|
|
142
|
+
attr_reader :voided_check
|
|
143
|
+
|
|
144
|
+
sig do
|
|
145
|
+
params(
|
|
146
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck::OrHash
|
|
147
|
+
).void
|
|
148
|
+
end
|
|
149
|
+
attr_writer :voided_check
|
|
150
|
+
|
|
139
151
|
sig do
|
|
140
152
|
params(
|
|
141
153
|
category: Increase::ExportCreateParams::Category::OrSymbol,
|
|
@@ -153,6 +165,7 @@ module Increase
|
|
|
153
165
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
154
166
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash,
|
|
155
167
|
vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash,
|
|
168
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck::OrHash,
|
|
156
169
|
request_options: Increase::RequestOptions::OrHash
|
|
157
170
|
).returns(T.attached_class)
|
|
158
171
|
end
|
|
@@ -184,6 +197,9 @@ module Increase
|
|
|
184
197
|
transaction_csv: nil,
|
|
185
198
|
# Options for the created export. Required if `category` is equal to `vendor_csv`.
|
|
186
199
|
vendor_csv: nil,
|
|
200
|
+
# Options for the created export. Required if `category` is equal to
|
|
201
|
+
# `voided_check`.
|
|
202
|
+
voided_check: nil,
|
|
187
203
|
request_options: {}
|
|
188
204
|
)
|
|
189
205
|
end
|
|
@@ -206,6 +222,7 @@ module Increase
|
|
|
206
222
|
Increase::ExportCreateParams::FundingInstructions,
|
|
207
223
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
208
224
|
vendor_csv: Increase::ExportCreateParams::VendorCsv,
|
|
225
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck,
|
|
209
226
|
request_options: Increase::RequestOptions
|
|
210
227
|
}
|
|
211
228
|
)
|
|
@@ -284,6 +301,13 @@ module Increase
|
|
|
284
301
|
Increase::ExportCreateParams::Category::TaggedSymbol
|
|
285
302
|
)
|
|
286
303
|
|
|
304
|
+
# A PDF of a voided check.
|
|
305
|
+
VOIDED_CHECK =
|
|
306
|
+
T.let(
|
|
307
|
+
:voided_check,
|
|
308
|
+
Increase::ExportCreateParams::Category::TaggedSymbol
|
|
309
|
+
)
|
|
310
|
+
|
|
287
311
|
sig do
|
|
288
312
|
override.returns(
|
|
289
313
|
T::Array[Increase::ExportCreateParams::Category::TaggedSymbol]
|
|
@@ -1037,6 +1061,91 @@ module Increase
|
|
|
1037
1061
|
def to_hash
|
|
1038
1062
|
end
|
|
1039
1063
|
end
|
|
1064
|
+
|
|
1065
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
1066
|
+
OrHash =
|
|
1067
|
+
T.type_alias do
|
|
1068
|
+
T.any(
|
|
1069
|
+
Increase::ExportCreateParams::VoidedCheck,
|
|
1070
|
+
Increase::Internal::AnyHash
|
|
1071
|
+
)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# The Account Number for the voided check.
|
|
1075
|
+
sig { returns(String) }
|
|
1076
|
+
attr_accessor :account_number_id
|
|
1077
|
+
|
|
1078
|
+
# The payer information to be printed on the check.
|
|
1079
|
+
sig do
|
|
1080
|
+
returns(
|
|
1081
|
+
T.nilable(
|
|
1082
|
+
T::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
1083
|
+
)
|
|
1084
|
+
)
|
|
1085
|
+
end
|
|
1086
|
+
attr_reader :payer
|
|
1087
|
+
|
|
1088
|
+
sig do
|
|
1089
|
+
params(
|
|
1090
|
+
payer:
|
|
1091
|
+
T::Array[Increase::ExportCreateParams::VoidedCheck::Payer::OrHash]
|
|
1092
|
+
).void
|
|
1093
|
+
end
|
|
1094
|
+
attr_writer :payer
|
|
1095
|
+
|
|
1096
|
+
# Options for the created export. Required if `category` is equal to
|
|
1097
|
+
# `voided_check`.
|
|
1098
|
+
sig do
|
|
1099
|
+
params(
|
|
1100
|
+
account_number_id: String,
|
|
1101
|
+
payer:
|
|
1102
|
+
T::Array[Increase::ExportCreateParams::VoidedCheck::Payer::OrHash]
|
|
1103
|
+
).returns(T.attached_class)
|
|
1104
|
+
end
|
|
1105
|
+
def self.new(
|
|
1106
|
+
# The Account Number for the voided check.
|
|
1107
|
+
account_number_id:,
|
|
1108
|
+
# The payer information to be printed on the check.
|
|
1109
|
+
payer: nil
|
|
1110
|
+
)
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1113
|
+
sig do
|
|
1114
|
+
override.returns(
|
|
1115
|
+
{
|
|
1116
|
+
account_number_id: String,
|
|
1117
|
+
payer: T::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
1118
|
+
}
|
|
1119
|
+
)
|
|
1120
|
+
end
|
|
1121
|
+
def to_hash
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
1125
|
+
OrHash =
|
|
1126
|
+
T.type_alias do
|
|
1127
|
+
T.any(
|
|
1128
|
+
Increase::ExportCreateParams::VoidedCheck::Payer,
|
|
1129
|
+
Increase::Internal::AnyHash
|
|
1130
|
+
)
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
# The contents of the line.
|
|
1134
|
+
sig { returns(String) }
|
|
1135
|
+
attr_accessor :line
|
|
1136
|
+
|
|
1137
|
+
sig { params(line: String).returns(T.attached_class) }
|
|
1138
|
+
def self.new(
|
|
1139
|
+
# The contents of the line.
|
|
1140
|
+
line:
|
|
1141
|
+
)
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
sig { override.returns({ line: String }) }
|
|
1145
|
+
def to_hash
|
|
1146
|
+
end
|
|
1147
|
+
end
|
|
1148
|
+
end
|
|
1040
1149
|
end
|
|
1041
1150
|
end
|
|
1042
1151
|
end
|
|
@@ -217,6 +217,13 @@ module Increase
|
|
|
217
217
|
Increase::ExportListParams::Category::TaggedSymbol
|
|
218
218
|
)
|
|
219
219
|
|
|
220
|
+
# A PDF of a voided check.
|
|
221
|
+
VOIDED_CHECK =
|
|
222
|
+
T.let(
|
|
223
|
+
:voided_check,
|
|
224
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
225
|
+
)
|
|
226
|
+
|
|
220
227
|
sig do
|
|
221
228
|
override.returns(
|
|
222
229
|
T::Array[Increase::ExportListParams::Category::TaggedSymbol]
|
|
@@ -21,6 +21,7 @@ module Increase
|
|
|
21
21
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
22
22
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash,
|
|
23
23
|
vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash,
|
|
24
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck::OrHash,
|
|
24
25
|
request_options: Increase::RequestOptions::OrHash
|
|
25
26
|
).returns(Increase::Export)
|
|
26
27
|
end
|
|
@@ -52,6 +53,9 @@ module Increase
|
|
|
52
53
|
transaction_csv: nil,
|
|
53
54
|
# Options for the created export. Required if `category` is equal to `vendor_csv`.
|
|
54
55
|
vendor_csv: nil,
|
|
56
|
+
# Options for the created export. Required if `category` is equal to
|
|
57
|
+
# `voided_check`.
|
|
58
|
+
voided_check: nil,
|
|
55
59
|
request_options: {}
|
|
56
60
|
)
|
|
57
61
|
end
|
|
@@ -20,7 +20,8 @@ module Increase
|
|
|
20
20
|
status: Increase::Models::Export::status,
|
|
21
21
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
22
22
|
type: Increase::Models::Export::type_,
|
|
23
|
-
vendor_csv: Increase::Export::VendorCsv
|
|
23
|
+
vendor_csv: Increase::Export::VendorCsv?,
|
|
24
|
+
voided_check: Increase::Export::VoidedCheck?
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
class Export < Increase::Internal::Type::BaseModel
|
|
@@ -62,6 +63,8 @@ module Increase
|
|
|
62
63
|
|
|
63
64
|
attr_accessor vendor_csv: Increase::Export::VendorCsv?
|
|
64
65
|
|
|
66
|
+
attr_accessor voided_check: Increase::Export::VoidedCheck?
|
|
67
|
+
|
|
65
68
|
def initialize: (
|
|
66
69
|
id: String,
|
|
67
70
|
account_statement_bai2: Increase::Export::AccountStatementBai2?,
|
|
@@ -81,7 +84,8 @@ module Increase
|
|
|
81
84
|
status: Increase::Models::Export::status,
|
|
82
85
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
83
86
|
type: Increase::Models::Export::type_,
|
|
84
|
-
vendor_csv: Increase::Export::VendorCsv
|
|
87
|
+
vendor_csv: Increase::Export::VendorCsv?,
|
|
88
|
+
voided_check: Increase::Export::VoidedCheck?
|
|
85
89
|
) -> void
|
|
86
90
|
|
|
87
91
|
def to_hash: -> {
|
|
@@ -103,7 +107,8 @@ module Increase
|
|
|
103
107
|
status: Increase::Models::Export::status,
|
|
104
108
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
105
109
|
type: Increase::Models::Export::type_,
|
|
106
|
-
vendor_csv: Increase::Export::VendorCsv
|
|
110
|
+
vendor_csv: Increase::Export::VendorCsv?,
|
|
111
|
+
voided_check: Increase::Export::VoidedCheck?
|
|
107
112
|
}
|
|
108
113
|
|
|
109
114
|
type account_statement_bai2 =
|
|
@@ -257,6 +262,7 @@ module Increase
|
|
|
257
262
|
| :funding_instructions
|
|
258
263
|
| :form_1099_int
|
|
259
264
|
| :form_1099_misc
|
|
265
|
+
| :voided_check
|
|
260
266
|
|
|
261
267
|
module Category
|
|
262
268
|
extend Increase::Internal::Type::Enum
|
|
@@ -297,6 +303,9 @@ module Increase
|
|
|
297
303
|
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
298
304
|
FORM_1099_MISC: :form_1099_misc
|
|
299
305
|
|
|
306
|
+
# A PDF of a voided check.
|
|
307
|
+
VOIDED_CHECK: :voided_check
|
|
308
|
+
|
|
300
309
|
def self?.values: -> ::Array[Increase::Models::Export::category]
|
|
301
310
|
end
|
|
302
311
|
|
|
@@ -455,6 +464,38 @@ module Increase
|
|
|
455
464
|
|
|
456
465
|
def to_hash: -> { }
|
|
457
466
|
end
|
|
467
|
+
|
|
468
|
+
type voided_check =
|
|
469
|
+
{
|
|
470
|
+
account_number_id: String,
|
|
471
|
+
payer: ::Array[Increase::Export::VoidedCheck::Payer]
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
475
|
+
attr_accessor account_number_id: String
|
|
476
|
+
|
|
477
|
+
attr_accessor payer: ::Array[Increase::Export::VoidedCheck::Payer]
|
|
478
|
+
|
|
479
|
+
def initialize: (
|
|
480
|
+
account_number_id: String,
|
|
481
|
+
payer: ::Array[Increase::Export::VoidedCheck::Payer]
|
|
482
|
+
) -> void
|
|
483
|
+
|
|
484
|
+
def to_hash: -> {
|
|
485
|
+
account_number_id: String,
|
|
486
|
+
payer: ::Array[Increase::Export::VoidedCheck::Payer]
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
type payer = { line: String }
|
|
490
|
+
|
|
491
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
492
|
+
attr_accessor line: String
|
|
493
|
+
|
|
494
|
+
def initialize: (line: String) -> void
|
|
495
|
+
|
|
496
|
+
def to_hash: -> { line: String }
|
|
497
|
+
end
|
|
498
|
+
end
|
|
458
499
|
end
|
|
459
500
|
end
|
|
460
501
|
end
|
|
@@ -11,7 +11,8 @@ module Increase
|
|
|
11
11
|
entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
12
12
|
funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
13
13
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
14
|
-
vendor_csv: Increase::ExportCreateParams::VendorCsv
|
|
14
|
+
vendor_csv: Increase::ExportCreateParams::VendorCsv,
|
|
15
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck
|
|
15
16
|
}
|
|
16
17
|
& Increase::Internal::Type::request_parameters
|
|
17
18
|
|
|
@@ -75,6 +76,12 @@ module Increase
|
|
|
75
76
|
Increase::ExportCreateParams::VendorCsv
|
|
76
77
|
) -> Increase::ExportCreateParams::VendorCsv
|
|
77
78
|
|
|
79
|
+
attr_reader voided_check: Increase::ExportCreateParams::VoidedCheck?
|
|
80
|
+
|
|
81
|
+
def voided_check=: (
|
|
82
|
+
Increase::ExportCreateParams::VoidedCheck
|
|
83
|
+
) -> Increase::ExportCreateParams::VoidedCheck
|
|
84
|
+
|
|
78
85
|
def initialize: (
|
|
79
86
|
category: Increase::Models::ExportCreateParams::category,
|
|
80
87
|
?account_statement_bai2: Increase::ExportCreateParams::AccountStatementBai2,
|
|
@@ -86,6 +93,7 @@ module Increase
|
|
|
86
93
|
?funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
87
94
|
?transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
88
95
|
?vendor_csv: Increase::ExportCreateParams::VendorCsv,
|
|
96
|
+
?voided_check: Increase::ExportCreateParams::VoidedCheck,
|
|
89
97
|
?request_options: Increase::request_opts
|
|
90
98
|
) -> void
|
|
91
99
|
|
|
@@ -100,6 +108,7 @@ module Increase
|
|
|
100
108
|
funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
101
109
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
102
110
|
vendor_csv: Increase::ExportCreateParams::VendorCsv,
|
|
111
|
+
voided_check: Increase::ExportCreateParams::VoidedCheck,
|
|
103
112
|
request_options: Increase::RequestOptions
|
|
104
113
|
}
|
|
105
114
|
|
|
@@ -113,6 +122,7 @@ module Increase
|
|
|
113
122
|
| :vendor_csv
|
|
114
123
|
| :account_verification_letter
|
|
115
124
|
| :funding_instructions
|
|
125
|
+
| :voided_check
|
|
116
126
|
|
|
117
127
|
module Category
|
|
118
128
|
extend Increase::Internal::Type::Enum
|
|
@@ -144,6 +154,9 @@ module Increase
|
|
|
144
154
|
# A PDF of funding instructions.
|
|
145
155
|
FUNDING_INSTRUCTIONS: :funding_instructions
|
|
146
156
|
|
|
157
|
+
# A PDF of a voided check.
|
|
158
|
+
VOIDED_CHECK: :voided_check
|
|
159
|
+
|
|
147
160
|
def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
|
|
148
161
|
end
|
|
149
162
|
|
|
@@ -466,6 +479,42 @@ module Increase
|
|
|
466
479
|
|
|
467
480
|
def to_hash: -> { }
|
|
468
481
|
end
|
|
482
|
+
|
|
483
|
+
type voided_check =
|
|
484
|
+
{
|
|
485
|
+
account_number_id: String,
|
|
486
|
+
payer: ::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
class VoidedCheck < Increase::Internal::Type::BaseModel
|
|
490
|
+
attr_accessor account_number_id: String
|
|
491
|
+
|
|
492
|
+
attr_reader payer: ::Array[Increase::ExportCreateParams::VoidedCheck::Payer]?
|
|
493
|
+
|
|
494
|
+
def payer=: (
|
|
495
|
+
::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
496
|
+
) -> ::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
497
|
+
|
|
498
|
+
def initialize: (
|
|
499
|
+
account_number_id: String,
|
|
500
|
+
?payer: ::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
501
|
+
) -> void
|
|
502
|
+
|
|
503
|
+
def to_hash: -> {
|
|
504
|
+
account_number_id: String,
|
|
505
|
+
payer: ::Array[Increase::ExportCreateParams::VoidedCheck::Payer]
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
type payer = { line: String }
|
|
509
|
+
|
|
510
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
511
|
+
attr_accessor line: String
|
|
512
|
+
|
|
513
|
+
def initialize: (line: String) -> void
|
|
514
|
+
|
|
515
|
+
def to_hash: -> { line: String }
|
|
516
|
+
end
|
|
517
|
+
end
|
|
469
518
|
end
|
|
470
519
|
end
|
|
471
520
|
end
|
|
@@ -96,6 +96,7 @@ module Increase
|
|
|
96
96
|
| :funding_instructions
|
|
97
97
|
| :form_1099_int
|
|
98
98
|
| :form_1099_misc
|
|
99
|
+
| :voided_check
|
|
99
100
|
|
|
100
101
|
module Category
|
|
101
102
|
extend Increase::Internal::Type::Enum
|
|
@@ -136,6 +137,9 @@ module Increase
|
|
|
136
137
|
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
137
138
|
FORM_1099_MISC: :form_1099_misc
|
|
138
139
|
|
|
140
|
+
# A PDF of a voided check.
|
|
141
|
+
VOIDED_CHECK: :voided_check
|
|
142
|
+
|
|
139
143
|
def self?.values: -> ::Array[Increase::Models::ExportListParams::category]
|
|
140
144
|
end
|
|
141
145
|
|
|
@@ -12,6 +12,7 @@ module Increase
|
|
|
12
12
|
?funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
13
13
|
?transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
14
14
|
?vendor_csv: Increase::ExportCreateParams::VendorCsv,
|
|
15
|
+
?voided_check: Increase::ExportCreateParams::VoidedCheck,
|
|
15
16
|
?request_options: Increase::request_opts
|
|
16
17
|
) -> Increase::Export
|
|
17
18
|
|