increase 1.179.0 → 1.180.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: e5117a7d2432bb4dbc40a10e66b359f6cc91be13021f0e303a8a5028c8da3793
4
- data.tar.gz: 162cf0b431e9a4adf963ba9e7efebe914a225533134bcc90e1cc8cc2666257a5
3
+ metadata.gz: bf72dccddad3907342c579bcf976a440a5b8227f547c1d67dc1a57ae4e80b902
4
+ data.tar.gz: f2692764a29eedbeadcd5592b19ac26aa8833c548f0b54de40b4dae181f8a0ab
5
5
  SHA512:
6
- metadata.gz: e624d012b6a3a1fb284a55c6b8d17d84b751c37a10bef1e3c9030dd2ed2bd66417a4c9e200eb906c6052f9a61ab635c56d1ea7163deb981d79d20784ca1aa62b
7
- data.tar.gz: f83ba407a265cb5e23124cb0cc710c01b5d50150b174d763534e35421bb5346c57af841bfa89626f8ff0227660e9a2d2b3b7b100c9b53bd64bbeb642f1094245
6
+ metadata.gz: a9b56e1bcfd3bc49a5cbe63b94686542629ff959e987c771479352d3ef451d12e48fc144c8fd0fdcd2bf10744555165223360ef0720a23cb86343336ec7440a8
7
+ data.tar.gz: 420a97cb31318144ec98c67fa97085c821d4145dbb99d9dba41eb81558adc9fa4c05fd6dc40136397cad7001705bd9fbc77557b7a2659239bb6f0768f24f7ed1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.180.0 (2026-01-23)
4
+
5
+ Full Changelog: [v1.179.0...v1.180.0](https://github.com/Increase/increase-ruby/compare/v1.179.0...v1.180.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([d5d4377](https://github.com/Increase/increase-ruby/commit/d5d4377c1a31303f23e021568166f7cd03e88766))
10
+
3
11
  ## 1.179.0 (2026-01-22)
4
12
 
5
13
  Full Changelog: [v1.178.0...v1.179.0](https://github.com/Increase/increase-ruby/compare/v1.178.0...v1.179.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.179.0"
18
+ gem "increase", "~> 1.180.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -433,13 +433,6 @@ module Increase
433
433
 
434
434
  # @see Increase::Models::CheckTransfer#mailing
435
435
  class Mailing < Increase::Internal::Type::BaseModel
436
- # @!attribute image_id
437
- # The ID of the file corresponding to an image of the check that was mailed, if
438
- # available.
439
- #
440
- # @return [String, nil]
441
- required :image_id, String, nil?: true
442
-
443
436
  # @!attribute mailed_at
444
437
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
445
438
  # the check was mailed.
@@ -447,24 +440,14 @@ module Increase
447
440
  # @return [Time]
448
441
  required :mailed_at, Time
449
442
 
450
- # @!attribute tracking_number
451
- # The tracking number of the shipment, if available for the shipping method.
452
- #
453
- # @return [String, nil]
454
- required :tracking_number, String, nil?: true
455
-
456
- # @!method initialize(image_id:, mailed_at:, tracking_number:)
443
+ # @!method initialize(mailed_at:)
457
444
  # Some parameter documentations has been truncated, see
458
445
  # {Increase::Models::CheckTransfer::Mailing} for more details.
459
446
  #
460
447
  # If the check has been mailed by Increase, this will contain details of the
461
448
  # shipment.
462
449
  #
463
- # @param image_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
464
- #
465
450
  # @param mailed_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
466
- #
467
- # @param tracking_number [String, nil] The tracking number of the shipment, if available for the shipping method.
468
451
  end
469
452
 
470
453
  # @see Increase::Models::CheckTransfer#physical_check
@@ -913,6 +896,13 @@ module Increase
913
896
 
914
897
  # @see Increase::Models::CheckTransfer#submission
915
898
  class Submission < Increase::Internal::Type::BaseModel
899
+ # @!attribute preview_file_id
900
+ # The ID of the file corresponding to an image of the check that was mailed, if
901
+ # available.
902
+ #
903
+ # @return [String, nil]
904
+ required :preview_file_id, String, nil?: true
905
+
916
906
  # @!attribute submitted_address
917
907
  # The address we submitted to the printer. This is what is physically printed on
918
908
  # the check.
@@ -926,15 +916,25 @@ module Increase
926
916
  # @return [Time]
927
917
  required :submitted_at, Time
928
918
 
929
- # @!method initialize(submitted_address:, submitted_at:)
919
+ # @!attribute tracking_number
920
+ # The tracking number for the check shipment.
921
+ #
922
+ # @return [String, nil]
923
+ required :tracking_number, String, nil?: true
924
+
925
+ # @!method initialize(preview_file_id:, submitted_address:, submitted_at:, tracking_number:)
930
926
  # Some parameter documentations has been truncated, see
931
927
  # {Increase::Models::CheckTransfer::Submission} for more details.
932
928
  #
933
929
  # After the transfer is submitted, this will contain supplemental details.
934
930
  #
931
+ # @param preview_file_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
932
+ #
935
933
  # @param submitted_address [Increase::Models::CheckTransfer::Submission::SubmittedAddress] The address we submitted to the printer. This is what is physically printed on t
936
934
  #
937
935
  # @param submitted_at [Time] When this check was submitted to our check printer.
936
+ #
937
+ # @param tracking_number [String, nil] The tracking number for the check shipment.
938
938
 
939
939
  # @see Increase::Models::CheckTransfer::Submission#submitted_address
940
940
  class SubmittedAddress < Increase::Internal::Type::BaseModel
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.179.0"
4
+ VERSION = "1.180.0"
5
5
  end
@@ -725,50 +725,22 @@ module Increase
725
725
  T.any(Increase::CheckTransfer::Mailing, Increase::Internal::AnyHash)
726
726
  end
727
727
 
728
- # The ID of the file corresponding to an image of the check that was mailed, if
729
- # available.
730
- sig { returns(T.nilable(String)) }
731
- attr_accessor :image_id
732
-
733
728
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
734
729
  # the check was mailed.
735
730
  sig { returns(Time) }
736
731
  attr_accessor :mailed_at
737
732
 
738
- # The tracking number of the shipment, if available for the shipping method.
739
- sig { returns(T.nilable(String)) }
740
- attr_accessor :tracking_number
741
-
742
733
  # If the check has been mailed by Increase, this will contain details of the
743
734
  # shipment.
744
- sig do
745
- params(
746
- image_id: T.nilable(String),
747
- mailed_at: Time,
748
- tracking_number: T.nilable(String)
749
- ).returns(T.attached_class)
750
- end
735
+ sig { params(mailed_at: Time).returns(T.attached_class) }
751
736
  def self.new(
752
- # The ID of the file corresponding to an image of the check that was mailed, if
753
- # available.
754
- image_id:,
755
737
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
756
738
  # the check was mailed.
757
- mailed_at:,
758
- # The tracking number of the shipment, if available for the shipping method.
759
- tracking_number:
739
+ mailed_at:
760
740
  )
761
741
  end
762
742
 
763
- sig do
764
- override.returns(
765
- {
766
- image_id: T.nilable(String),
767
- mailed_at: Time,
768
- tracking_number: T.nilable(String)
769
- }
770
- )
771
- end
743
+ sig { override.returns({ mailed_at: Time }) }
772
744
  def to_hash
773
745
  end
774
746
  end
@@ -1529,6 +1501,11 @@ module Increase
1529
1501
  )
1530
1502
  end
1531
1503
 
1504
+ # The ID of the file corresponding to an image of the check that was mailed, if
1505
+ # available.
1506
+ sig { returns(T.nilable(String)) }
1507
+ attr_accessor :preview_file_id
1508
+
1532
1509
  # The address we submitted to the printer. This is what is physically printed on
1533
1510
  # the check.
1534
1511
  sig { returns(Increase::CheckTransfer::Submission::SubmittedAddress) }
@@ -1546,29 +1523,42 @@ module Increase
1546
1523
  sig { returns(Time) }
1547
1524
  attr_accessor :submitted_at
1548
1525
 
1526
+ # The tracking number for the check shipment.
1527
+ sig { returns(T.nilable(String)) }
1528
+ attr_accessor :tracking_number
1529
+
1549
1530
  # After the transfer is submitted, this will contain supplemental details.
1550
1531
  sig do
1551
1532
  params(
1533
+ preview_file_id: T.nilable(String),
1552
1534
  submitted_address:
1553
1535
  Increase::CheckTransfer::Submission::SubmittedAddress::OrHash,
1554
- submitted_at: Time
1536
+ submitted_at: Time,
1537
+ tracking_number: T.nilable(String)
1555
1538
  ).returns(T.attached_class)
1556
1539
  end
1557
1540
  def self.new(
1541
+ # The ID of the file corresponding to an image of the check that was mailed, if
1542
+ # available.
1543
+ preview_file_id:,
1558
1544
  # The address we submitted to the printer. This is what is physically printed on
1559
1545
  # the check.
1560
1546
  submitted_address:,
1561
1547
  # When this check was submitted to our check printer.
1562
- submitted_at:
1548
+ submitted_at:,
1549
+ # The tracking number for the check shipment.
1550
+ tracking_number:
1563
1551
  )
1564
1552
  end
1565
1553
 
1566
1554
  sig do
1567
1555
  override.returns(
1568
1556
  {
1557
+ preview_file_id: T.nilable(String),
1569
1558
  submitted_address:
1570
1559
  Increase::CheckTransfer::Submission::SubmittedAddress,
1571
- submitted_at: Time
1560
+ submitted_at: Time,
1561
+ tracking_number: T.nilable(String)
1572
1562
  }
1573
1563
  )
1574
1564
  end
@@ -278,27 +278,14 @@ module Increase
278
278
  def self?.values: -> ::Array[Increase::Models::CheckTransfer::fulfillment_method]
279
279
  end
280
280
 
281
- type mailing =
282
- { image_id: String?, mailed_at: Time, tracking_number: String? }
281
+ type mailing = { mailed_at: Time }
283
282
 
284
283
  class Mailing < Increase::Internal::Type::BaseModel
285
- attr_accessor image_id: String?
286
-
287
284
  attr_accessor mailed_at: Time
288
285
 
289
- attr_accessor tracking_number: String?
290
-
291
- def initialize: (
292
- image_id: String?,
293
- mailed_at: Time,
294
- tracking_number: String?
295
- ) -> void
286
+ def initialize: (mailed_at: Time) -> void
296
287
 
297
- def to_hash: -> {
298
- image_id: String?,
299
- mailed_at: Time,
300
- tracking_number: String?
301
- }
288
+ def to_hash: -> { mailed_at: Time }
302
289
  end
303
290
 
304
291
  type physical_check =
@@ -661,23 +648,33 @@ module Increase
661
648
 
662
649
  type submission =
663
650
  {
651
+ preview_file_id: String?,
664
652
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
665
- submitted_at: Time
653
+ submitted_at: Time,
654
+ tracking_number: String?
666
655
  }
667
656
 
668
657
  class Submission < Increase::Internal::Type::BaseModel
658
+ attr_accessor preview_file_id: String?
659
+
669
660
  attr_accessor submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress
670
661
 
671
662
  attr_accessor submitted_at: Time
672
663
 
664
+ attr_accessor tracking_number: String?
665
+
673
666
  def initialize: (
667
+ preview_file_id: String?,
674
668
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
675
- submitted_at: Time
669
+ submitted_at: Time,
670
+ tracking_number: String?
676
671
  ) -> void
677
672
 
678
673
  def to_hash: -> {
674
+ preview_file_id: String?,
679
675
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
680
- submitted_at: Time
676
+ submitted_at: Time,
677
+ tracking_number: String?
681
678
  }
682
679
 
683
680
  type submitted_address =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.179.0
4
+ version: 1.180.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-22 00:00:00.000000000 Z
11
+ date: 2026-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi