increase 1.206.0 → 1.208.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9036cb8f71c29f3232a17451bff12b0e1ab05144e2ceea6b06025163f53b3fc3
4
- data.tar.gz: ab2bb0f838ee95fd84188e1b6339836a3f0c8a3e6000654b7faff674bea16a8d
3
+ metadata.gz: d765d1aeb6574bcd88c3612a0c2679d3a15a9205d960b9624a4891367fd4bc6e
4
+ data.tar.gz: 46064eb2145fc4a7a0697b0543b279f74e6ad1f63a047d225e0483a3268384aa
5
5
  SHA512:
6
- metadata.gz: e45282a28bef6281c984ff5c8b20a47607468636101c78b7b89b3f774c8267a8b4b8c8bcaed5b192c3243497ebd4492f0313db040d1a5a0ac9b550bdf5e6ba25
7
- data.tar.gz: ffdf9797cda9dc4b9c95ccdf0b356323b55a1daa84d37d7fdd08c20c6f48a5829c1984054a99296b6df99877582c8c1e08455ba5642ae4c531f14679743bcf9f
6
+ metadata.gz: 5e7740cc256c2379d313596e07cc16c8f63b0258c1d306297b0e7448544ab02983ef8252474d92154630280a4eea634a93696da808a5b370a744fed882a25824
7
+ data.tar.gz: b8a53039228c6660494e8a5bd1052ba13c9ea86868678ec3d1351973df213933b1a8ee46a532bc0138334a07b37d3e7b4c2a4166a7b893118acf7a9bd4ff911b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.208.0 (2026-02-10)
4
+
5
+ Full Changelog: [v1.207.0...v1.208.0](https://github.com/Increase/increase-ruby/compare/v1.207.0...v1.208.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([1df52dd](https://github.com/Increase/increase-ruby/commit/1df52dd9ceb238bbe0e9c9e85052199cb21658ee))
10
+
11
+ ## 1.207.0 (2026-02-10)
12
+
13
+ Full Changelog: [v1.206.0...v1.207.0](https://github.com/Increase/increase-ruby/compare/v1.206.0...v1.207.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([85a2643](https://github.com/Increase/increase-ruby/commit/85a2643c9ae05bc8c9111e957ca524bed2ba07d0))
18
+
3
19
  ## 1.206.0 (2026-02-10)
4
20
 
5
21
  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
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.206.0"
18
+ gem "increase", "~> 1.208.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -74,6 +74,13 @@ module Increase
74
74
  # @return [Increase::Models::Export::EntityCsv, nil]
75
75
  required :entity_csv, -> { Increase::Export::EntityCsv }, nil?: true
76
76
 
77
+ # @!attribute fee_csv
78
+ # Details of the fee CSV export. This field will be present when the `category` is
79
+ # equal to `fee_csv`.
80
+ #
81
+ # @return [Increase::Models::Export::FeeCsv, nil]
82
+ required :fee_csv, -> { Increase::Export::FeeCsv }, nil?: true
83
+
77
84
  # @!attribute form_1099_int
78
85
  # Details of the Form 1099-INT export. This field will be present when the
79
86
  # `category` is equal to `form_1099_int`.
@@ -137,7 +144,14 @@ module Increase
137
144
  # @return [Increase::Models::Export::VendorCsv, nil]
138
145
  required :vendor_csv, -> { Increase::Export::VendorCsv }, nil?: true
139
146
 
140
- # @!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:)
147
+ # @!attribute voided_check
148
+ # Details of the voided check export. This field will be present when the
149
+ # `category` is equal to `voided_check`.
150
+ #
151
+ # @return [Increase::Models::Export::VoidedCheck, nil]
152
+ required :voided_check, -> { Increase::Export::VoidedCheck }, nil?: true
153
+
154
+ # @!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:, fee_csv:, form_1099_int:, form_1099_misc:, funding_instructions:, idempotency_key:, result:, status:, transaction_csv:, type:, vendor_csv:, voided_check:)
141
155
  # Some parameter documentations has been truncated, see {Increase::Models::Export}
142
156
  # for more details.
143
157
  #
@@ -167,6 +181,8 @@ module Increase
167
181
  #
168
182
  # @param entity_csv [Increase::Models::Export::EntityCsv, nil] Details of the entity CSV export. This field will be present when the `category`
169
183
  #
184
+ # @param fee_csv [Increase::Models::Export::FeeCsv, nil] Details of the fee CSV export. This field will be present when the `category` is
185
+ #
170
186
  # @param form_1099_int [Increase::Models::Export::Form1099Int, nil] Details of the Form 1099-INT export. This field will be present when the `catego
171
187
  #
172
188
  # @param form_1099_misc [Increase::Models::Export::Form1099Misc, nil] Details of the Form 1099-MISC export. This field will be present when the `categ
@@ -184,6 +200,8 @@ module Increase
184
200
  # @param type [Symbol, Increase::Models::Export::Type] A constant representing the object's type. For this resource it will always be `
185
201
  #
186
202
  # @param vendor_csv [Increase::Models::Export::VendorCsv, nil] Details of the vendor CSV export. This field will be present when the `category`
203
+ #
204
+ # @param voided_check [Increase::Models::Export::VoidedCheck, nil] Details of the voided check export. This field will be present when the `categor
187
205
 
188
206
  # @see Increase::Models::Export#account_statement_bai2
189
207
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
@@ -417,6 +435,12 @@ module Increase
417
435
  # A PDF of an Internal Revenue Service Form 1099-MISC.
418
436
  FORM_1099_MISC = :form_1099_misc
419
437
 
438
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
439
+ FEE_CSV = :fee_csv
440
+
441
+ # A PDF of a voided check.
442
+ VOIDED_CHECK = :voided_check
443
+
420
444
  # @!method self.values
421
445
  # @return [Array<Symbol>]
422
446
  end
@@ -435,6 +459,48 @@ module Increase
435
459
  # is equal to `entity_csv`.
436
460
  end
437
461
 
462
+ # @see Increase::Models::Export#fee_csv
463
+ class FeeCsv < Increase::Internal::Type::BaseModel
464
+ # @!attribute created_at
465
+ # Filter fees by their created date. The time range must not include any fees that
466
+ # are part of an open fee statement.
467
+ #
468
+ # @return [Increase::Models::Export::FeeCsv::CreatedAt, nil]
469
+ required :created_at, -> { Increase::Export::FeeCsv::CreatedAt }, nil?: true
470
+
471
+ # @!method initialize(created_at:)
472
+ # Some parameter documentations has been truncated, see
473
+ # {Increase::Models::Export::FeeCsv} for more details.
474
+ #
475
+ # Details of the fee CSV export. This field will be present when the `category` is
476
+ # equal to `fee_csv`.
477
+ #
478
+ # @param created_at [Increase::Models::Export::FeeCsv::CreatedAt, nil] Filter fees by their created date. The time range must not include any fees that
479
+
480
+ # @see Increase::Models::Export::FeeCsv#created_at
481
+ class CreatedAt < Increase::Internal::Type::BaseModel
482
+ # @!attribute after
483
+ # Filter fees created after this time.
484
+ #
485
+ # @return [Time, nil]
486
+ required :after, Time, nil?: true
487
+
488
+ # @!attribute before
489
+ # Filter fees created before this time.
490
+ #
491
+ # @return [Time, nil]
492
+ required :before, Time, nil?: true
493
+
494
+ # @!method initialize(after:, before:)
495
+ # Filter fees by their created date. The time range must not include any fees that
496
+ # are part of an open fee statement.
497
+ #
498
+ # @param after [Time, nil] Filter fees created after this time.
499
+ #
500
+ # @param before [Time, nil] Filter fees created before this time.
501
+ end
502
+ end
503
+
438
504
  # @see Increase::Models::Export#form_1099_int
439
505
  class Form1099Int < Increase::Internal::Type::BaseModel
440
506
  # @!attribute account_id
@@ -618,6 +684,40 @@ module Increase
618
684
  # Details of the vendor CSV export. This field will be present when the `category`
619
685
  # is equal to `vendor_csv`.
620
686
  end
687
+
688
+ # @see Increase::Models::Export#voided_check
689
+ class VoidedCheck < Increase::Internal::Type::BaseModel
690
+ # @!attribute account_number_id
691
+ # The Account Number for the voided check.
692
+ #
693
+ # @return [String]
694
+ required :account_number_id, String
695
+
696
+ # @!attribute payer
697
+ # The payer information printed on the check.
698
+ #
699
+ # @return [Array<Increase::Models::Export::VoidedCheck::Payer>]
700
+ required :payer, -> { Increase::Internal::Type::ArrayOf[Increase::Export::VoidedCheck::Payer] }
701
+
702
+ # @!method initialize(account_number_id:, payer:)
703
+ # Details of the voided check export. This field will be present when the
704
+ # `category` is equal to `voided_check`.
705
+ #
706
+ # @param account_number_id [String] The Account Number for the voided check.
707
+ #
708
+ # @param payer [Array<Increase::Models::Export::VoidedCheck::Payer>] The payer information printed on the check.
709
+
710
+ class Payer < Increase::Internal::Type::BaseModel
711
+ # @!attribute line
712
+ # The contents of the line.
713
+ #
714
+ # @return [String]
715
+ required :line, String
716
+
717
+ # @!method initialize(line:)
718
+ # @param line [String] The contents of the line.
719
+ end
720
+ end
621
721
  end
622
722
  end
623
723
  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
- # @!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, request_options: {})
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
@@ -117,6 +117,12 @@ module Increase
117
117
  # A PDF of an Internal Revenue Service Form 1099-MISC.
118
118
  FORM_1099_MISC = :form_1099_misc
119
119
 
120
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
121
+ FEE_CSV = :fee_csv
122
+
123
+ # A PDF of a voided check.
124
+ VOIDED_CHECK = :voided_check
125
+
120
126
  # @!method self.values
121
127
  # @return [Array<Symbol>]
122
128
  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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.206.0"
4
+ VERSION = "1.208.0"
5
5
  end
@@ -106,6 +106,14 @@ module Increase
106
106
  end
107
107
  attr_writer :entity_csv
108
108
 
109
+ # Details of the fee CSV export. This field will be present when the `category` is
110
+ # equal to `fee_csv`.
111
+ sig { returns(T.nilable(Increase::Export::FeeCsv)) }
112
+ attr_reader :fee_csv
113
+
114
+ sig { params(fee_csv: T.nilable(Increase::Export::FeeCsv::OrHash)).void }
115
+ attr_writer :fee_csv
116
+
109
117
  # Details of the Form 1099-INT export. This field will be present when the
110
118
  # `category` is equal to `form_1099_int`.
111
119
  sig { returns(T.nilable(Increase::Export::Form1099Int)) }
@@ -188,6 +196,18 @@ module Increase
188
196
  end
189
197
  attr_writer :vendor_csv
190
198
 
199
+ # Details of the voided check export. This field will be present when the
200
+ # `category` is equal to `voided_check`.
201
+ sig { returns(T.nilable(Increase::Export::VoidedCheck)) }
202
+ attr_reader :voided_check
203
+
204
+ sig do
205
+ params(
206
+ voided_check: T.nilable(Increase::Export::VoidedCheck::OrHash)
207
+ ).void
208
+ end
209
+ attr_writer :voided_check
210
+
191
211
  # Exports are generated files. Some exports can contain a lot of data, like a CSV
192
212
  # of your transactions. Others can be a single document, like a tax form. Since
193
213
  # they can take a while, they are generated asynchronously. We send a webhook when
@@ -210,6 +230,7 @@ module Increase
210
230
  dashboard_table_csv:
211
231
  T.nilable(Increase::Export::DashboardTableCsv::OrHash),
212
232
  entity_csv: T.nilable(Increase::Export::EntityCsv::OrHash),
233
+ fee_csv: T.nilable(Increase::Export::FeeCsv::OrHash),
213
234
  form_1099_int: T.nilable(Increase::Export::Form1099Int::OrHash),
214
235
  form_1099_misc: T.nilable(Increase::Export::Form1099Misc::OrHash),
215
236
  funding_instructions:
@@ -219,7 +240,8 @@ module Increase
219
240
  status: Increase::Export::Status::OrSymbol,
220
241
  transaction_csv: T.nilable(Increase::Export::TransactionCsv::OrHash),
221
242
  type: Increase::Export::Type::OrSymbol,
222
- vendor_csv: T.nilable(Increase::Export::VendorCsv::OrHash)
243
+ vendor_csv: T.nilable(Increase::Export::VendorCsv::OrHash),
244
+ voided_check: T.nilable(Increase::Export::VoidedCheck::OrHash)
223
245
  ).returns(T.attached_class)
224
246
  end
225
247
  def self.new(
@@ -251,6 +273,9 @@ module Increase
251
273
  # Details of the entity CSV export. This field will be present when the `category`
252
274
  # is equal to `entity_csv`.
253
275
  entity_csv:,
276
+ # Details of the fee CSV export. This field will be present when the `category` is
277
+ # equal to `fee_csv`.
278
+ fee_csv:,
254
279
  # Details of the Form 1099-INT export. This field will be present when the
255
280
  # `category` is equal to `form_1099_int`.
256
281
  form_1099_int:,
@@ -277,7 +302,10 @@ module Increase
277
302
  type:,
278
303
  # Details of the vendor CSV export. This field will be present when the `category`
279
304
  # is equal to `vendor_csv`.
280
- vendor_csv:
305
+ vendor_csv:,
306
+ # Details of the voided check export. This field will be present when the
307
+ # `category` is equal to `voided_check`.
308
+ voided_check:
281
309
  )
282
310
  end
283
311
 
@@ -298,6 +326,7 @@ module Increase
298
326
  created_at: Time,
299
327
  dashboard_table_csv: T.nilable(Increase::Export::DashboardTableCsv),
300
328
  entity_csv: T.nilable(Increase::Export::EntityCsv),
329
+ fee_csv: T.nilable(Increase::Export::FeeCsv),
301
330
  form_1099_int: T.nilable(Increase::Export::Form1099Int),
302
331
  form_1099_misc: T.nilable(Increase::Export::Form1099Misc),
303
332
  funding_instructions:
@@ -307,7 +336,8 @@ module Increase
307
336
  status: Increase::Export::Status::TaggedSymbol,
308
337
  transaction_csv: T.nilable(Increase::Export::TransactionCsv),
309
338
  type: Increase::Export::Type::TaggedSymbol,
310
- vendor_csv: T.nilable(Increase::Export::VendorCsv)
339
+ vendor_csv: T.nilable(Increase::Export::VendorCsv),
340
+ voided_check: T.nilable(Increase::Export::VoidedCheck)
311
341
  }
312
342
  )
313
343
  end
@@ -775,6 +805,13 @@ module Increase
775
805
  FORM_1099_MISC =
776
806
  T.let(:form_1099_misc, Increase::Export::Category::TaggedSymbol)
777
807
 
808
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
809
+ FEE_CSV = T.let(:fee_csv, Increase::Export::Category::TaggedSymbol)
810
+
811
+ # A PDF of a voided check.
812
+ VOIDED_CHECK =
813
+ T.let(:voided_check, Increase::Export::Category::TaggedSymbol)
814
+
778
815
  sig do
779
816
  override.returns(T::Array[Increase::Export::Category::TaggedSymbol])
780
817
  end
@@ -819,6 +856,88 @@ module Increase
819
856
  end
820
857
  end
821
858
 
859
+ class FeeCsv < Increase::Internal::Type::BaseModel
860
+ OrHash =
861
+ T.type_alias do
862
+ T.any(Increase::Export::FeeCsv, Increase::Internal::AnyHash)
863
+ end
864
+
865
+ # Filter fees by their created date. The time range must not include any fees that
866
+ # are part of an open fee statement.
867
+ sig { returns(T.nilable(Increase::Export::FeeCsv::CreatedAt)) }
868
+ attr_reader :created_at
869
+
870
+ sig do
871
+ params(
872
+ created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt::OrHash)
873
+ ).void
874
+ end
875
+ attr_writer :created_at
876
+
877
+ # Details of the fee CSV export. This field will be present when the `category` is
878
+ # equal to `fee_csv`.
879
+ sig do
880
+ params(
881
+ created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt::OrHash)
882
+ ).returns(T.attached_class)
883
+ end
884
+ def self.new(
885
+ # Filter fees by their created date. The time range must not include any fees that
886
+ # are part of an open fee statement.
887
+ created_at:
888
+ )
889
+ end
890
+
891
+ sig do
892
+ override.returns(
893
+ { created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt) }
894
+ )
895
+ end
896
+ def to_hash
897
+ end
898
+
899
+ class CreatedAt < Increase::Internal::Type::BaseModel
900
+ OrHash =
901
+ T.type_alias do
902
+ T.any(
903
+ Increase::Export::FeeCsv::CreatedAt,
904
+ Increase::Internal::AnyHash
905
+ )
906
+ end
907
+
908
+ # Filter fees created after this time.
909
+ sig { returns(T.nilable(Time)) }
910
+ attr_accessor :after
911
+
912
+ # Filter fees created before this time.
913
+ sig { returns(T.nilable(Time)) }
914
+ attr_accessor :before
915
+
916
+ # Filter fees by their created date. The time range must not include any fees that
917
+ # are part of an open fee statement.
918
+ sig do
919
+ params(after: T.nilable(Time), before: T.nilable(Time)).returns(
920
+ T.attached_class
921
+ )
922
+ end
923
+ def self.new(
924
+ # Filter fees created after this time.
925
+ after:,
926
+ # Filter fees created before this time.
927
+ before:
928
+ )
929
+ end
930
+
931
+ sig do
932
+ override.returns(
933
+ { after: T.nilable(Time), before: T.nilable(Time) }
934
+ )
935
+ end
936
+ def to_hash
937
+ end
938
+ end
939
+ end
940
+
822
941
  class Form1099Int < Increase::Internal::Type::BaseModel
823
942
  OrHash =
824
943
  T.type_alias do
@@ -1119,6 +1238,73 @@ module Increase
1119
1238
  def to_hash
1120
1239
  end
1121
1240
  end
1241
+
1242
+ class VoidedCheck < Increase::Internal::Type::BaseModel
1243
+ OrHash =
1244
+ T.type_alias do
1245
+ T.any(Increase::Export::VoidedCheck, Increase::Internal::AnyHash)
1246
+ end
1247
+
1248
+ # The Account Number for the voided check.
1249
+ sig { returns(String) }
1250
+ attr_accessor :account_number_id
1251
+
1252
+ # The payer information printed on the check.
1253
+ sig { returns(T::Array[Increase::Export::VoidedCheck::Payer]) }
1254
+ attr_accessor :payer
1255
+
1256
+ # Details of the voided check export. This field will be present when the
1257
+ # `category` is equal to `voided_check`.
1258
+ sig do
1259
+ params(
1260
+ account_number_id: String,
1261
+ payer: T::Array[Increase::Export::VoidedCheck::Payer::OrHash]
1262
+ ).returns(T.attached_class)
1263
+ end
1264
+ def self.new(
1265
+ # The Account Number for the voided check.
1266
+ account_number_id:,
1267
+ # The payer information printed on the check.
1268
+ payer:
1269
+ )
1270
+ end
1271
+
1272
+ sig do
1273
+ override.returns(
1274
+ {
1275
+ account_number_id: String,
1276
+ payer: T::Array[Increase::Export::VoidedCheck::Payer]
1277
+ }
1278
+ )
1279
+ end
1280
+ def to_hash
1281
+ end
1282
+
1283
+ class Payer < Increase::Internal::Type::BaseModel
1284
+ OrHash =
1285
+ T.type_alias do
1286
+ T.any(
1287
+ Increase::Export::VoidedCheck::Payer,
1288
+ Increase::Internal::AnyHash
1289
+ )
1290
+ end
1291
+
1292
+ # The contents of the line.
1293
+ sig { returns(String) }
1294
+ attr_accessor :line
1295
+
1296
+ sig { params(line: String).returns(T.attached_class) }
1297
+ def self.new(
1298
+ # The contents of the line.
1299
+ line:
1300
+ )
1301
+ end
1302
+
1303
+ sig { override.returns({ line: String }) }
1304
+ def to_hash
1305
+ end
1306
+ end
1307
+ end
1122
1308
  end
1123
1309
  end
1124
1310
  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,17 @@ module Increase
217
217
  Increase::ExportListParams::Category::TaggedSymbol
218
218
  )
219
219
 
220
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
221
+ FEE_CSV =
222
+ T.let(:fee_csv, Increase::ExportListParams::Category::TaggedSymbol)
223
+
224
+ # A PDF of a voided check.
225
+ VOIDED_CHECK =
226
+ T.let(
227
+ :voided_check,
228
+ Increase::ExportListParams::Category::TaggedSymbol
229
+ )
230
+
220
231
  sig do
221
232
  override.returns(
222
233
  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
@@ -12,6 +12,7 @@ module Increase
12
12
  created_at: Time,
13
13
  dashboard_table_csv: Increase::Export::DashboardTableCsv?,
14
14
  entity_csv: Increase::Export::EntityCsv?,
15
+ fee_csv: Increase::Export::FeeCsv?,
15
16
  :form_1099_int => Increase::Export::Form1099Int?,
16
17
  :form_1099_misc => Increase::Export::Form1099Misc?,
17
18
  funding_instructions: Increase::Export::FundingInstructions?,
@@ -20,7 +21,8 @@ module Increase
20
21
  status: Increase::Models::Export::status,
21
22
  transaction_csv: Increase::Export::TransactionCsv?,
22
23
  type: Increase::Models::Export::type_,
23
- vendor_csv: Increase::Export::VendorCsv?
24
+ vendor_csv: Increase::Export::VendorCsv?,
25
+ voided_check: Increase::Export::VoidedCheck?
24
26
  }
25
27
 
26
28
  class Export < Increase::Internal::Type::BaseModel
@@ -44,6 +46,8 @@ module Increase
44
46
 
45
47
  attr_accessor entity_csv: Increase::Export::EntityCsv?
46
48
 
49
+ attr_accessor fee_csv: Increase::Export::FeeCsv?
50
+
47
51
  attr_accessor form_1099_int: Increase::Export::Form1099Int?
48
52
 
49
53
  attr_accessor form_1099_misc: Increase::Export::Form1099Misc?
@@ -62,6 +66,8 @@ module Increase
62
66
 
63
67
  attr_accessor vendor_csv: Increase::Export::VendorCsv?
64
68
 
69
+ attr_accessor voided_check: Increase::Export::VoidedCheck?
70
+
65
71
  def initialize: (
66
72
  id: String,
67
73
  account_statement_bai2: Increase::Export::AccountStatementBai2?,
@@ -73,6 +79,7 @@ module Increase
73
79
  created_at: Time,
74
80
  dashboard_table_csv: Increase::Export::DashboardTableCsv?,
75
81
  entity_csv: Increase::Export::EntityCsv?,
82
+ fee_csv: Increase::Export::FeeCsv?,
76
83
  form_1099_int: Increase::Export::Form1099Int?,
77
84
  form_1099_misc: Increase::Export::Form1099Misc?,
78
85
  funding_instructions: Increase::Export::FundingInstructions?,
@@ -81,7 +88,8 @@ module Increase
81
88
  status: Increase::Models::Export::status,
82
89
  transaction_csv: Increase::Export::TransactionCsv?,
83
90
  type: Increase::Models::Export::type_,
84
- vendor_csv: Increase::Export::VendorCsv?
91
+ vendor_csv: Increase::Export::VendorCsv?,
92
+ voided_check: Increase::Export::VoidedCheck?
85
93
  ) -> void
86
94
 
87
95
  def to_hash: -> {
@@ -95,6 +103,7 @@ module Increase
95
103
  created_at: Time,
96
104
  dashboard_table_csv: Increase::Export::DashboardTableCsv?,
97
105
  entity_csv: Increase::Export::EntityCsv?,
106
+ fee_csv: Increase::Export::FeeCsv?,
98
107
  :form_1099_int => Increase::Export::Form1099Int?,
99
108
  :form_1099_misc => Increase::Export::Form1099Misc?,
100
109
  funding_instructions: Increase::Export::FundingInstructions?,
@@ -103,7 +112,8 @@ module Increase
103
112
  status: Increase::Models::Export::status,
104
113
  transaction_csv: Increase::Export::TransactionCsv?,
105
114
  type: Increase::Models::Export::type_,
106
- vendor_csv: Increase::Export::VendorCsv?
115
+ vendor_csv: Increase::Export::VendorCsv?,
116
+ voided_check: Increase::Export::VoidedCheck?
107
117
  }
108
118
 
109
119
  type account_statement_bai2 =
@@ -257,6 +267,8 @@ module Increase
257
267
  | :funding_instructions
258
268
  | :form_1099_int
259
269
  | :form_1099_misc
270
+ | :fee_csv
271
+ | :voided_check
260
272
 
261
273
  module Category
262
274
  extend Increase::Internal::Type::Enum
@@ -297,6 +309,12 @@ module Increase
297
309
  # A PDF of an Internal Revenue Service Form 1099-MISC.
298
310
  FORM_1099_MISC: :form_1099_misc
299
311
 
312
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
313
+ FEE_CSV: :fee_csv
314
+
315
+ # A PDF of a voided check.
316
+ VOIDED_CHECK: :voided_check
317
+
300
318
  def self?.values: -> ::Array[Increase::Models::Export::category]
301
319
  end
302
320
 
@@ -316,6 +334,30 @@ module Increase
316
334
  def to_hash: -> { }
317
335
  end
318
336
 
337
+ type fee_csv = { created_at: Increase::Export::FeeCsv::CreatedAt? }
338
+
339
+ class FeeCsv < Increase::Internal::Type::BaseModel
340
+ attr_accessor created_at: Increase::Export::FeeCsv::CreatedAt?
341
+
342
+ def initialize: (
343
+ created_at: Increase::Export::FeeCsv::CreatedAt?
344
+ ) -> void
345
+
346
+ def to_hash: -> { created_at: Increase::Export::FeeCsv::CreatedAt? }
347
+
348
+ type created_at = { after: Time?, before: Time? }
349
+
350
+ class CreatedAt < Increase::Internal::Type::BaseModel
351
+ attr_accessor after: Time?
352
+
353
+ attr_accessor before: Time?
354
+
355
+ def initialize: (after: Time?, before: Time?) -> void
356
+
357
+ def to_hash: -> { after: Time?, before: Time? }
358
+ end
359
+ end
360
+
319
361
  type form1099_int =
320
362
  {
321
363
  account_id: String,
@@ -455,6 +497,38 @@ module Increase
455
497
 
456
498
  def to_hash: -> { }
457
499
  end
500
+
501
+ type voided_check =
502
+ {
503
+ account_number_id: String,
504
+ payer: ::Array[Increase::Export::VoidedCheck::Payer]
505
+ }
506
+
507
+ class VoidedCheck < Increase::Internal::Type::BaseModel
508
+ attr_accessor account_number_id: String
509
+
510
+ attr_accessor payer: ::Array[Increase::Export::VoidedCheck::Payer]
511
+
512
+ def initialize: (
513
+ account_number_id: String,
514
+ payer: ::Array[Increase::Export::VoidedCheck::Payer]
515
+ ) -> void
516
+
517
+ def to_hash: -> {
518
+ account_number_id: String,
519
+ payer: ::Array[Increase::Export::VoidedCheck::Payer]
520
+ }
521
+
522
+ type payer = { line: String }
523
+
524
+ class Payer < Increase::Internal::Type::BaseModel
525
+ attr_accessor line: String
526
+
527
+ def initialize: (line: String) -> void
528
+
529
+ def to_hash: -> { line: String }
530
+ end
531
+ end
458
532
  end
459
533
  end
460
534
  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,8 @@ module Increase
96
96
  | :funding_instructions
97
97
  | :form_1099_int
98
98
  | :form_1099_misc
99
+ | :fee_csv
100
+ | :voided_check
99
101
 
100
102
  module Category
101
103
  extend Increase::Internal::Type::Enum
@@ -136,6 +138,12 @@ module Increase
136
138
  # A PDF of an Internal Revenue Service Form 1099-MISC.
137
139
  FORM_1099_MISC: :form_1099_misc
138
140
 
141
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
142
+ FEE_CSV: :fee_csv
143
+
144
+ # A PDF of a voided check.
145
+ VOIDED_CHECK: :voided_check
146
+
139
147
  def self?.values: -> ::Array[Increase::Models::ExportListParams::category]
140
148
  end
141
149
 
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.206.0
4
+ version: 1.208.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase