increase 1.287.0 → 1.288.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: add9746713c3515567c0b92163981fd394436026e74cba3037dc6a8d82dcc251
4
- data.tar.gz: ec2597ef9b484e777eeced5b56c7a6580c534fb64a086ff919e68a38a596d8ed
3
+ metadata.gz: 011b538550ff07f3f3d4c6c24a53cfa3eea6f81dd5016fdc059e90179102e7f4
4
+ data.tar.gz: a34895560589a1593d61a89f6f0bb2854c007f7f2285b0c975b6219537519fda
5
5
  SHA512:
6
- metadata.gz: 454adf765a8312e4e6d55d3e8b9da725e4dd0ac5b558c09a6c07fc54e6b16b69f3c394b39c8eb4de8036281a05004b022242732b85cba0b25fd3e18abaa35ea2
7
- data.tar.gz: b7db0dca96c4a795d70fd2068d55bf163d7a3d4c737ef11e9954fb4dc941e55c18fa83957f67d79840b6b595d89a32425f68a5aadc2bef01c812f8220330b476
6
+ metadata.gz: 6ea5aa0f9294e6924d3d6b8944a7756bc8671641e2405f62d450c296f4f77b82bb5afe7446246605064ef6d90250ad5bc665567045af54b05d6a5a8c25c8f0cc
7
+ data.tar.gz: bf83b07e8cfc87913e977530cad16ca40bd140f94ac737d5616d8a2a35e33f78043d50759aa57defc54c8bf844fc368ab3a4ecd4d730af6c999c22cb9440e376
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.288.0 (2026-04-10)
4
+
5
+ Full Changelog: [v1.287.0...v1.288.0](https://github.com/Increase/increase-ruby/compare/v1.287.0...v1.288.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a692607](https://github.com/Increase/increase-ruby/commit/a692607264414218ff762dd1912e730c1c2b94d5))
10
+
3
11
  ## 1.287.0 (2026-04-10)
4
12
 
5
13
  Full Changelog: [v1.286.0...v1.287.0](https://github.com/Increase/increase-ruby/compare/v1.286.0...v1.287.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.287.0"
18
+ gem "increase", "~> 1.288.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -364,41 +364,27 @@ module Increase
364
364
  # @return [String, nil]
365
365
  required :bookkeeping_account_id, String, nil?: true
366
366
 
367
- # @!attribute created_at
368
- # Filter balances by their created date.
367
+ # @!attribute on_or_after_date
368
+ # Filter balances to those on or after this date.
369
+ #
370
+ # @return [Date, nil]
371
+ required :on_or_after_date, Date, nil?: true
372
+
373
+ # @!attribute on_or_before_date
374
+ # Filter balances to those on or before this date.
369
375
  #
370
- # @return [Increase::Models::Export::BookkeepingAccountBalanceCsv::CreatedAt, nil]
371
- required :created_at, -> { Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt }, nil?: true
376
+ # @return [Date, nil]
377
+ required :on_or_before_date, Date, nil?: true
372
378
 
373
- # @!method initialize(bookkeeping_account_id:, created_at:)
379
+ # @!method initialize(bookkeeping_account_id:, on_or_after_date:, on_or_before_date:)
374
380
  # Details of the bookkeeping account balance CSV export. This field will be
375
381
  # present when the `category` is equal to `bookkeeping_account_balance_csv`.
376
382
  #
377
383
  # @param bookkeeping_account_id [String, nil] Filter results by Bookkeeping Account.
378
384
  #
379
- # @param created_at [Increase::Models::Export::BookkeepingAccountBalanceCsv::CreatedAt, nil] Filter balances by their created date.
380
-
381
- # @see Increase::Models::Export::BookkeepingAccountBalanceCsv#created_at
382
- class CreatedAt < Increase::Internal::Type::BaseModel
383
- # @!attribute after
384
- # Filter balances created after this time.
385
- #
386
- # @return [Time, nil]
387
- required :after, Time, nil?: true
388
-
389
- # @!attribute before
390
- # Filter balances created before this time.
391
- #
392
- # @return [Time, nil]
393
- required :before, Time, nil?: true
394
-
395
- # @!method initialize(after:, before:)
396
- # Filter balances by their created date.
397
- #
398
- # @param after [Time, nil] Filter balances created after this time.
399
- #
400
- # @param before [Time, nil] Filter balances created before this time.
401
- end
385
+ # @param on_or_after_date [Date, nil] Filter balances to those on or after this date.
386
+ #
387
+ # @param on_or_before_date [Date, nil] Filter balances to those on or before this date.
402
388
  end
403
389
 
404
390
  # The category of the Export. We may add additional possible values for this enum
@@ -341,13 +341,19 @@ module Increase
341
341
  # @return [String, nil]
342
342
  optional :bookkeeping_account_id, String
343
343
 
344
- # @!attribute created_at
345
- # Filter results by time range on the `created_at` attribute.
344
+ # @!attribute on_or_after_date
345
+ # Filter exported Balances to those on or after this date.
346
346
  #
347
- # @return [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt, nil]
348
- optional :created_at, -> { Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt }
347
+ # @return [Date, nil]
348
+ optional :on_or_after_date, Date
349
349
 
350
- # @!method initialize(bookkeeping_account_id: nil, created_at: nil)
350
+ # @!attribute on_or_before_date
351
+ # Filter exported Balances to those on or before this date.
352
+ #
353
+ # @return [Date, nil]
354
+ optional :on_or_before_date, Date
355
+
356
+ # @!method initialize(bookkeeping_account_id: nil, on_or_after_date: nil, on_or_before_date: nil)
351
357
  # Some parameter documentations has been truncated, see
352
358
  # {Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv} for more
353
359
  # details.
@@ -357,53 +363,9 @@ module Increase
357
363
  #
358
364
  # @param bookkeeping_account_id [String] Filter exported Bookkeeping Account Balances to the specified Bookkeeping Accoun
359
365
  #
360
- # @param created_at [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt] Filter results by time range on the `created_at` attribute.
361
-
362
- # @see Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv#created_at
363
- class CreatedAt < Increase::Internal::Type::BaseModel
364
- # @!attribute after
365
- # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
366
- # timestamp.
367
- #
368
- # @return [Time, nil]
369
- optional :after, Time
370
-
371
- # @!attribute before
372
- # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
373
- # timestamp.
374
- #
375
- # @return [Time, nil]
376
- optional :before, Time
377
-
378
- # @!attribute on_or_after
379
- # Return results on or after this
380
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
381
- #
382
- # @return [Time, nil]
383
- optional :on_or_after, Time
384
-
385
- # @!attribute on_or_before
386
- # Return results on or before this
387
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
388
- #
389
- # @return [Time, nil]
390
- optional :on_or_before, Time
391
-
392
- # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
393
- # Some parameter documentations has been truncated, see
394
- # {Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt}
395
- # for more details.
396
- #
397
- # Filter results by time range on the `created_at` attribute.
398
- #
399
- # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim
400
- #
401
- # @param before [Time] Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ti
402
- #
403
- # @param on_or_after [Time] Return results on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_860
404
- #
405
- # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
406
- end
366
+ # @param on_or_after_date [Date] Filter exported Balances to those on or after this date.
367
+ #
368
+ # @param on_or_before_date [Date] Filter exported Balances to those on or before this date.
407
369
  end
408
370
 
409
371
  class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.287.0"
4
+ VERSION = "1.288.0"
5
5
  end
@@ -665,40 +665,30 @@ module Increase
665
665
  sig { returns(T.nilable(String)) }
666
666
  attr_accessor :bookkeeping_account_id
667
667
 
668
- # Filter balances by their created date.
669
- sig do
670
- returns(
671
- T.nilable(Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt)
672
- )
673
- end
674
- attr_reader :created_at
668
+ # Filter balances to those on or after this date.
669
+ sig { returns(T.nilable(Date)) }
670
+ attr_accessor :on_or_after_date
675
671
 
676
- sig do
677
- params(
678
- created_at:
679
- T.nilable(
680
- Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt::OrHash
681
- )
682
- ).void
683
- end
684
- attr_writer :created_at
672
+ # Filter balances to those on or before this date.
673
+ sig { returns(T.nilable(Date)) }
674
+ attr_accessor :on_or_before_date
685
675
 
686
676
  # Details of the bookkeeping account balance CSV export. This field will be
687
677
  # present when the `category` is equal to `bookkeeping_account_balance_csv`.
688
678
  sig do
689
679
  params(
690
680
  bookkeeping_account_id: T.nilable(String),
691
- created_at:
692
- T.nilable(
693
- Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt::OrHash
694
- )
681
+ on_or_after_date: T.nilable(Date),
682
+ on_or_before_date: T.nilable(Date)
695
683
  ).returns(T.attached_class)
696
684
  end
697
685
  def self.new(
698
686
  # Filter results by Bookkeeping Account.
699
687
  bookkeeping_account_id:,
700
- # Filter balances by their created date.
701
- created_at:
688
+ # Filter balances to those on or after this date.
689
+ on_or_after_date:,
690
+ # Filter balances to those on or before this date.
691
+ on_or_before_date:
702
692
  )
703
693
  end
704
694
 
@@ -706,55 +696,13 @@ module Increase
706
696
  override.returns(
707
697
  {
708
698
  bookkeeping_account_id: T.nilable(String),
709
- created_at:
710
- T.nilable(
711
- Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt
712
- )
699
+ on_or_after_date: T.nilable(Date),
700
+ on_or_before_date: T.nilable(Date)
713
701
  }
714
702
  )
715
703
  end
716
704
  def to_hash
717
705
  end
718
-
719
- class CreatedAt < Increase::Internal::Type::BaseModel
720
- OrHash =
721
- T.type_alias do
722
- T.any(
723
- Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt,
724
- Increase::Internal::AnyHash
725
- )
726
- end
727
-
728
- # Filter balances created after this time.
729
- sig { returns(T.nilable(Time)) }
730
- attr_accessor :after
731
-
732
- # Filter balances created before this time.
733
- sig { returns(T.nilable(Time)) }
734
- attr_accessor :before
735
-
736
- # Filter balances by their created date.
737
- sig do
738
- params(after: T.nilable(Time), before: T.nilable(Time)).returns(
739
- T.attached_class
740
- )
741
- end
742
- def self.new(
743
- # Filter balances created after this time.
744
- after:,
745
- # Filter balances created before this time.
746
- before:
747
- )
748
- end
749
-
750
- sig do
751
- override.returns(
752
- { after: T.nilable(Time), before: T.nilable(Time) }
753
- )
754
- end
755
- def to_hash
756
- end
757
- end
758
706
  end
759
707
 
760
708
  # The category of the Export. We may add additional possible values for this enum
@@ -715,39 +715,37 @@ module Increase
715
715
  sig { params(bookkeeping_account_id: String).void }
716
716
  attr_writer :bookkeeping_account_id
717
717
 
718
- # Filter results by time range on the `created_at` attribute.
719
- sig do
720
- returns(
721
- T.nilable(
722
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
723
- )
724
- )
725
- end
726
- attr_reader :created_at
718
+ # Filter exported Balances to those on or after this date.
719
+ sig { returns(T.nilable(Date)) }
720
+ attr_reader :on_or_after_date
727
721
 
728
- sig do
729
- params(
730
- created_at:
731
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt::OrHash
732
- ).void
733
- end
734
- attr_writer :created_at
722
+ sig { params(on_or_after_date: Date).void }
723
+ attr_writer :on_or_after_date
724
+
725
+ # Filter exported Balances to those on or before this date.
726
+ sig { returns(T.nilable(Date)) }
727
+ attr_reader :on_or_before_date
728
+
729
+ sig { params(on_or_before_date: Date).void }
730
+ attr_writer :on_or_before_date
735
731
 
736
732
  # Options for the created export. Required if `category` is equal to
737
733
  # `bookkeeping_account_balance_csv`.
738
734
  sig do
739
735
  params(
740
736
  bookkeeping_account_id: String,
741
- created_at:
742
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt::OrHash
737
+ on_or_after_date: Date,
738
+ on_or_before_date: Date
743
739
  ).returns(T.attached_class)
744
740
  end
745
741
  def self.new(
746
742
  # Filter exported Bookkeeping Account Balances to the specified Bookkeeping
747
743
  # Account.
748
744
  bookkeeping_account_id: nil,
749
- # Filter results by time range on the `created_at` attribute.
750
- created_at: nil
745
+ # Filter exported Balances to those on or after this date.
746
+ on_or_after_date: nil,
747
+ # Filter exported Balances to those on or before this date.
748
+ on_or_before_date: nil
751
749
  )
752
750
  end
753
751
 
@@ -755,93 +753,13 @@ module Increase
755
753
  override.returns(
756
754
  {
757
755
  bookkeeping_account_id: String,
758
- created_at:
759
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
756
+ on_or_after_date: Date,
757
+ on_or_before_date: Date
760
758
  }
761
759
  )
762
760
  end
763
761
  def to_hash
764
762
  end
765
-
766
- class CreatedAt < Increase::Internal::Type::BaseModel
767
- OrHash =
768
- T.type_alias do
769
- T.any(
770
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt,
771
- Increase::Internal::AnyHash
772
- )
773
- end
774
-
775
- # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
776
- # timestamp.
777
- sig { returns(T.nilable(Time)) }
778
- attr_reader :after
779
-
780
- sig { params(after: Time).void }
781
- attr_writer :after
782
-
783
- # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
784
- # timestamp.
785
- sig { returns(T.nilable(Time)) }
786
- attr_reader :before
787
-
788
- sig { params(before: Time).void }
789
- attr_writer :before
790
-
791
- # Return results on or after this
792
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
793
- sig { returns(T.nilable(Time)) }
794
- attr_reader :on_or_after
795
-
796
- sig { params(on_or_after: Time).void }
797
- attr_writer :on_or_after
798
-
799
- # Return results on or before this
800
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
801
- sig { returns(T.nilable(Time)) }
802
- attr_reader :on_or_before
803
-
804
- sig { params(on_or_before: Time).void }
805
- attr_writer :on_or_before
806
-
807
- # Filter results by time range on the `created_at` attribute.
808
- sig do
809
- params(
810
- after: Time,
811
- before: Time,
812
- on_or_after: Time,
813
- on_or_before: Time
814
- ).returns(T.attached_class)
815
- end
816
- def self.new(
817
- # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
818
- # timestamp.
819
- after: nil,
820
- # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
821
- # timestamp.
822
- before: nil,
823
- # Return results on or after this
824
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
825
- on_or_after: nil,
826
- # Return results on or before this
827
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
828
- on_or_before: nil
829
- )
830
- end
831
-
832
- sig do
833
- override.returns(
834
- {
835
- after: Time,
836
- before: Time,
837
- on_or_after: Time,
838
- on_or_before: Time
839
- }
840
- )
841
- end
842
- def to_hash
843
- end
844
- end
845
763
  end
846
764
 
847
765
  class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
@@ -228,35 +228,28 @@ module Increase
228
228
  type bookkeeping_account_balance_csv =
229
229
  {
230
230
  bookkeeping_account_id: String?,
231
- created_at: Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt?
231
+ on_or_after_date: Date?,
232
+ on_or_before_date: Date?
232
233
  }
233
234
 
234
235
  class BookkeepingAccountBalanceCsv < Increase::Internal::Type::BaseModel
235
236
  attr_accessor bookkeeping_account_id: String?
236
237
 
237
- attr_accessor created_at: Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt?
238
+ attr_accessor on_or_after_date: Date?
239
+
240
+ attr_accessor on_or_before_date: Date?
238
241
 
239
242
  def initialize: (
240
243
  bookkeeping_account_id: String?,
241
- created_at: Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt?
244
+ on_or_after_date: Date?,
245
+ on_or_before_date: Date?
242
246
  ) -> void
243
247
 
244
248
  def to_hash: -> {
245
249
  bookkeeping_account_id: String?,
246
- created_at: Increase::Export::BookkeepingAccountBalanceCsv::CreatedAt?
250
+ on_or_after_date: Date?,
251
+ on_or_before_date: Date?
247
252
  }
248
-
249
- type created_at = { after: Time?, before: Time? }
250
-
251
- class CreatedAt < Increase::Internal::Type::BaseModel
252
- attr_accessor after: Time?
253
-
254
- attr_accessor before: Time?
255
-
256
- def initialize: (after: Time?, before: Time?) -> void
257
-
258
- def to_hash: -> { after: Time?, before: Time? }
259
- end
260
253
  end
261
254
 
262
255
  type category =
@@ -325,7 +325,8 @@ module Increase
325
325
  type bookkeeping_account_balance_csv =
326
326
  {
327
327
  bookkeeping_account_id: String,
328
- created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
328
+ on_or_after_date: Date,
329
+ on_or_before_date: Date
329
330
  }
330
331
 
331
332
  class BookkeepingAccountBalanceCsv < Increase::Internal::Type::BaseModel
@@ -333,56 +334,25 @@ module Increase
333
334
 
334
335
  def bookkeeping_account_id=: (String) -> String
335
336
 
336
- attr_reader created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt?
337
+ attr_reader on_or_after_date: Date?
338
+
339
+ def on_or_after_date=: (Date) -> Date
337
340
 
338
- def created_at=: (
339
- Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
340
- ) -> Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
341
+ attr_reader on_or_before_date: Date?
342
+
343
+ def on_or_before_date=: (Date) -> Date
341
344
 
342
345
  def initialize: (
343
346
  ?bookkeeping_account_id: String,
344
- ?created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
347
+ ?on_or_after_date: Date,
348
+ ?on_or_before_date: Date
345
349
  ) -> void
346
350
 
347
351
  def to_hash: -> {
348
352
  bookkeeping_account_id: String,
349
- created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt
353
+ on_or_after_date: Date,
354
+ on_or_before_date: Date
350
355
  }
351
-
352
- type created_at =
353
- { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
354
-
355
- class CreatedAt < Increase::Internal::Type::BaseModel
356
- attr_reader after: Time?
357
-
358
- def after=: (Time) -> Time
359
-
360
- attr_reader before: Time?
361
-
362
- def before=: (Time) -> Time
363
-
364
- attr_reader on_or_after: Time?
365
-
366
- def on_or_after=: (Time) -> Time
367
-
368
- attr_reader on_or_before: Time?
369
-
370
- def on_or_before=: (Time) -> Time
371
-
372
- def initialize: (
373
- ?after: Time,
374
- ?before: Time,
375
- ?on_or_after: Time,
376
- ?on_or_before: Time
377
- ) -> void
378
-
379
- def to_hash: -> {
380
- after: Time,
381
- before: Time,
382
- on_or_after: Time,
383
- on_or_before: Time
384
- }
385
- end
386
356
  end
387
357
 
388
358
  type daily_account_balance_csv =
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.287.0
4
+ version: 1.288.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase