increase 1.13.0 → 1.14.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: ece4d3cf918019593b1dfab5ba866efd85a926b92144139dd2806627ec58fe1b
4
- data.tar.gz: e4d4d85a17024ecf5e3faf121ddc33f2cf105302bfdade8dd53cc53196e040f2
3
+ metadata.gz: f595c8f946a264b3c24014db8f93d85500632300faf708c0d9ee661e9ba7a976
4
+ data.tar.gz: 32a2c539015a955802866d58b07fe4b736958e8f091f103bcc8ac21c7008b3d4
5
5
  SHA512:
6
- metadata.gz: 50c59462a18edd24f059ef419022ceae3d502ca1bfd4cc3180bfbb23dc44c3d94ee40b948bc8a5912ba87578410230e479633c5ce69ccd3d1b480e18590f83bf
7
- data.tar.gz: 3633c02bebc6bf90ba4a4e765a25b11cf82d449aa8a03bd4ad16afffe11717c58bf74537417e9bf72e6dc998354d96ee2af78fd2ccee1f47eb5606a4303c8447
6
+ metadata.gz: 9668ab5d9dc390abf56b875460f6774de06fa54ee7695cf595d99ac043ad16b77eb71797a14cca9ff2b182e600994181b2cb01bbc035f724cf7a31d8baf00e8b
7
+ data.tar.gz: a524e05fa057ce8cc3f4f3e3d9dd7d04ea89de26c7f3f4f41dcf20ecf2acfd398eda6152a93e189f8b0278613fc9905f9fa45c3bc5179589ce16562139dafb3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.14.0 (2025-07-18)
4
+
5
+ Full Changelog: [v1.13.0...v1.14.0](https://github.com/Increase/increase-ruby/compare/v1.13.0...v1.14.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([aff39de](https://github.com/Increase/increase-ruby/commit/aff39de155a064d2c7b2640a6d31fcb400caf63b))
10
+
3
11
  ## 1.13.0 (2025-07-11)
4
12
 
5
13
  Full Changelog: [v1.12.0...v1.13.0](https://github.com/Increase/increase-ruby/compare/v1.12.0...v1.13.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.13.0"
18
+ gem "increase", "~> 1.14.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -7,13 +7,25 @@ module Increase
7
7
  extend Increase::Internal::Type::RequestParameters::Converter
8
8
  include Increase::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute credit_limit
11
+ # The new credit limit of the Account, if and only if the Account is a loan
12
+ # account.
13
+ #
14
+ # @return [Integer, nil]
15
+ optional :credit_limit, Integer
16
+
10
17
  # @!attribute name
11
18
  # The new name of the Account.
12
19
  #
13
20
  # @return [String, nil]
14
21
  optional :name, String
15
22
 
16
- # @!method initialize(name: nil, request_options: {})
23
+ # @!method initialize(credit_limit: nil, name: nil, request_options: {})
24
+ # Some parameter documentations has been truncated, see
25
+ # {Increase::Models::AccountUpdateParams} for more details.
26
+ #
27
+ # @param credit_limit [Integer] The new credit limit of the Account, if and only if the Account is a loan accoun
28
+ #
17
29
  # @param name [String] The new name of the Account.
18
30
  #
19
31
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
@@ -54,12 +54,17 @@ module Increase
54
54
  )
55
55
  end
56
56
 
57
+ # Some parameter documentations has been truncated, see
58
+ # {Increase::Models::AccountUpdateParams} for more details.
59
+ #
57
60
  # Update an Account
58
61
  #
59
- # @overload update(account_id, name: nil, request_options: {})
62
+ # @overload update(account_id, credit_limit: nil, name: nil, request_options: {})
60
63
  #
61
64
  # @param account_id [String] The identifier of the Account to update.
62
65
  #
66
+ # @param credit_limit [Integer] The new credit limit of the Account, if and only if the Account is a loan accoun
67
+ #
63
68
  # @param name [String] The new name of the Account.
64
69
  #
65
70
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.13.0"
4
+ VERSION = "1.14.0"
5
5
  end
@@ -11,6 +11,14 @@ module Increase
11
11
  T.any(Increase::AccountUpdateParams, Increase::Internal::AnyHash)
12
12
  end
13
13
 
14
+ # The new credit limit of the Account, if and only if the Account is a loan
15
+ # account.
16
+ sig { returns(T.nilable(Integer)) }
17
+ attr_reader :credit_limit
18
+
19
+ sig { params(credit_limit: Integer).void }
20
+ attr_writer :credit_limit
21
+
14
22
  # The new name of the Account.
15
23
  sig { returns(T.nilable(String)) }
16
24
  attr_reader :name
@@ -20,11 +28,15 @@ module Increase
20
28
 
21
29
  sig do
22
30
  params(
31
+ credit_limit: Integer,
23
32
  name: String,
24
33
  request_options: Increase::RequestOptions::OrHash
25
34
  ).returns(T.attached_class)
26
35
  end
27
36
  def self.new(
37
+ # The new credit limit of the Account, if and only if the Account is a loan
38
+ # account.
39
+ credit_limit: nil,
28
40
  # The new name of the Account.
29
41
  name: nil,
30
42
  request_options: {}
@@ -33,7 +45,11 @@ module Increase
33
45
 
34
46
  sig do
35
47
  override.returns(
36
- { name: String, request_options: Increase::RequestOptions }
48
+ {
49
+ credit_limit: Integer,
50
+ name: String,
51
+ request_options: Increase::RequestOptions
52
+ }
37
53
  )
38
54
  end
39
55
  def to_hash
@@ -46,6 +46,7 @@ module Increase
46
46
  sig do
47
47
  params(
48
48
  account_id: String,
49
+ credit_limit: Integer,
49
50
  name: String,
50
51
  request_options: Increase::RequestOptions::OrHash
51
52
  ).returns(Increase::Account)
@@ -53,6 +54,9 @@ module Increase
53
54
  def update(
54
55
  # The identifier of the Account to update.
55
56
  account_id,
57
+ # The new credit limit of the Account, if and only if the Account is a loan
58
+ # account.
59
+ credit_limit: nil,
56
60
  # The new name of the Account.
57
61
  name: nil,
58
62
  request_options: {}
@@ -1,22 +1,29 @@
1
1
  module Increase
2
2
  module Models
3
3
  type account_update_params =
4
- { name: String } & Increase::Internal::Type::request_parameters
4
+ { credit_limit: Integer, name: String }
5
+ & Increase::Internal::Type::request_parameters
5
6
 
6
7
  class AccountUpdateParams < Increase::Internal::Type::BaseModel
7
8
  extend Increase::Internal::Type::RequestParameters::Converter
8
9
  include Increase::Internal::Type::RequestParameters
9
10
 
11
+ attr_reader credit_limit: Integer?
12
+
13
+ def credit_limit=: (Integer) -> Integer
14
+
10
15
  attr_reader name: String?
11
16
 
12
17
  def name=: (String) -> String
13
18
 
14
19
  def initialize: (
20
+ ?credit_limit: Integer,
15
21
  ?name: String,
16
22
  ?request_options: Increase::request_opts
17
23
  ) -> void
18
24
 
19
25
  def to_hash: -> {
26
+ credit_limit: Integer,
20
27
  name: String,
21
28
  request_options: Increase::RequestOptions
22
29
  }
@@ -16,6 +16,7 @@ module Increase
16
16
 
17
17
  def update: (
18
18
  String account_id,
19
+ ?credit_limit: Integer,
19
20
  ?name: String,
20
21
  ?request_options: Increase::request_opts
21
22
  ) -> Increase::Account
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.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-12 00:00:00.000000000 Z
11
+ date: 2025-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool