increase 1.35.0 → 1.36.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: cf94005239176f72c08edb64f6e6d86580b6134b815faf7f7f78f7db5c77e08d
4
- data.tar.gz: 4fe85129785a34d2baae2a7cdfb52cf005e1959e306aa8da39a48ac9117bce22
3
+ metadata.gz: 9ad11debec90efb574bf0dc0114ed6e4870867f080654a481546c81743d657ee
4
+ data.tar.gz: dd66d3873b6156c80dd5261299e1d09679ed823b666c8c41b897d1c42e6a51a3
5
5
  SHA512:
6
- metadata.gz: 6bbbc7c0cdba68a22beb118547e2a9b2942c8764c468a51995a3c6119c093194857e21f850c05f6321a814938a849227e81a1452c5b360c3832d65ed520e9f2a
7
- data.tar.gz: 2dfe7a7ee8323bef0c617dca4111f0f89f9e79b29164fff0a480b9609e790c531ea23c84480c07a3f1c9180abf90217df619eca0fb553bc068e71acaf04234fe
6
+ metadata.gz: 2ac5609f826003cc729b8efa82762b39473b9b5330394eba79cd1cae24dc074c36efceea95091bdd5483d6e383266942e98c4981306bc7493adebdc8dbbcd02b
7
+ data.tar.gz: 8a9a41301b43f862cf891c4fbb6f5c8dbd22aa48e057d0b924fca8e977a284fcbab19c57c6a4a0cf30fd72ee093644a3fdce4b193d89e2cd74026ce74e668baa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.36.0 (2025-08-18)
4
+
5
+ Full Changelog: [v1.35.0...v1.36.0](https://github.com/Increase/increase-ruby/compare/v1.35.0...v1.36.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([f4a3611](https://github.com/Increase/increase-ruby/commit/f4a3611e6b295f9527cb3b0b0670e4e88c582a6e))
10
+
3
11
  ## 1.35.0 (2025-08-15)
4
12
 
5
13
  Full Changelog: [v1.34.0...v1.35.0](https://github.com/Increase/increase-ruby/compare/v1.34.0...v1.35.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.35.0"
18
+ gem "increase", "~> 1.36.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -31,12 +31,6 @@ module Increase
31
31
  # @return [String]
32
32
  required :creditor_name, String
33
33
 
34
- # @!attribute debtor_account_number
35
- # The debtor's account number.
36
- #
37
- # @return [String]
38
- required :debtor_account_number, String
39
-
40
34
  # @!attribute debtor_address
41
35
  # The debtor's address.
42
36
  #
@@ -49,19 +43,35 @@ module Increase
49
43
  # @return [String]
50
44
  required :debtor_name, String
51
45
 
52
- # @!attribute debtor_routing_number
53
- # The debtor's routing number.
54
- #
55
- # @return [String]
56
- required :debtor_routing_number, String
57
-
58
46
  # @!attribute unstructured_remittance_information
59
47
  # Remittance information the debtor will see as part of the request.
60
48
  #
61
49
  # @return [String]
62
50
  required :unstructured_remittance_information, String
63
51
 
64
- # @!method initialize(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_account_number:, debtor_address:, debtor_name:, debtor_routing_number:, unstructured_remittance_information:, request_options: {})
52
+ # @!attribute debtor_account_number
53
+ # The debtor's account number.
54
+ #
55
+ # @return [String, nil]
56
+ optional :debtor_account_number, String
57
+
58
+ # @!attribute debtor_external_account_id
59
+ # The ID of an External Account to initiate a transfer to. If this parameter is
60
+ # provided, `debtor_account_number` and `debtor_routing_number` must be absent.
61
+ #
62
+ # @return [String, nil]
63
+ optional :debtor_external_account_id, String
64
+
65
+ # @!attribute debtor_routing_number
66
+ # The debtor's routing number.
67
+ #
68
+ # @return [String, nil]
69
+ optional :debtor_routing_number, String
70
+
71
+ # @!method initialize(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, request_options: {})
72
+ # Some parameter documentations has been truncated, see
73
+ # {Increase::Models::WireDrawdownRequestCreateParams} for more details.
74
+ #
65
75
  # @param account_number_id [String] The Account Number to which the debtor should send funds.
66
76
  #
67
77
  # @param amount [Integer] The amount requested from the debtor, in USD cents.
@@ -70,16 +80,18 @@ module Increase
70
80
  #
71
81
  # @param creditor_name [String] The creditor's name.
72
82
  #
73
- # @param debtor_account_number [String] The debtor's account number.
74
- #
75
83
  # @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress] The debtor's address.
76
84
  #
77
85
  # @param debtor_name [String] The debtor's name.
78
86
  #
79
- # @param debtor_routing_number [String] The debtor's routing number.
80
- #
81
87
  # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
82
88
  #
89
+ # @param debtor_account_number [String] The debtor's account number.
90
+ #
91
+ # @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
92
+ #
93
+ # @param debtor_routing_number [String] The debtor's routing number.
94
+ #
83
95
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
84
96
 
85
97
  class CreditorAddress < Increase::Internal::Type::BaseModel
@@ -3,9 +3,12 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class WireDrawdownRequests
6
+ # Some parameter documentations has been truncated, see
7
+ # {Increase::Models::WireDrawdownRequestCreateParams} for more details.
8
+ #
6
9
  # Create a Wire Drawdown Request
7
10
  #
8
- # @overload create(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_account_number:, debtor_address:, debtor_name:, debtor_routing_number:, unstructured_remittance_information:, request_options: {})
11
+ # @overload create(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, request_options: {})
9
12
  #
10
13
  # @param account_number_id [String] The Account Number to which the debtor should send funds.
11
14
  #
@@ -15,16 +18,18 @@ module Increase
15
18
  #
16
19
  # @param creditor_name [String] The creditor's name.
17
20
  #
18
- # @param debtor_account_number [String] The debtor's account number.
19
- #
20
21
  # @param debtor_address [Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress] The debtor's address.
21
22
  #
22
23
  # @param debtor_name [String] The debtor's name.
23
24
  #
24
- # @param debtor_routing_number [String] The debtor's routing number.
25
- #
26
25
  # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
27
26
  #
27
+ # @param debtor_account_number [String] The debtor's account number.
28
+ #
29
+ # @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
30
+ #
31
+ # @param debtor_routing_number [String] The debtor's routing number.
32
+ #
28
33
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
29
34
  #
30
35
  # @return [Increase::Models::WireDrawdownRequest]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.35.0"
4
+ VERSION = "1.36.0"
5
5
  end
@@ -40,10 +40,6 @@ module Increase
40
40
  sig { returns(String) }
41
41
  attr_accessor :creditor_name
42
42
 
43
- # The debtor's account number.
44
- sig { returns(String) }
45
- attr_accessor :debtor_account_number
46
-
47
43
  # The debtor's address.
48
44
  sig { returns(Increase::WireDrawdownRequestCreateParams::DebtorAddress) }
49
45
  attr_reader :debtor_address
@@ -60,14 +56,32 @@ module Increase
60
56
  sig { returns(String) }
61
57
  attr_accessor :debtor_name
62
58
 
63
- # The debtor's routing number.
64
- sig { returns(String) }
65
- attr_accessor :debtor_routing_number
66
-
67
59
  # Remittance information the debtor will see as part of the request.
68
60
  sig { returns(String) }
69
61
  attr_accessor :unstructured_remittance_information
70
62
 
63
+ # The debtor's account number.
64
+ sig { returns(T.nilable(String)) }
65
+ attr_reader :debtor_account_number
66
+
67
+ sig { params(debtor_account_number: String).void }
68
+ attr_writer :debtor_account_number
69
+
70
+ # The ID of an External Account to initiate a transfer to. If this parameter is
71
+ # provided, `debtor_account_number` and `debtor_routing_number` must be absent.
72
+ sig { returns(T.nilable(String)) }
73
+ attr_reader :debtor_external_account_id
74
+
75
+ sig { params(debtor_external_account_id: String).void }
76
+ attr_writer :debtor_external_account_id
77
+
78
+ # The debtor's routing number.
79
+ sig { returns(T.nilable(String)) }
80
+ attr_reader :debtor_routing_number
81
+
82
+ sig { params(debtor_routing_number: String).void }
83
+ attr_writer :debtor_routing_number
84
+
71
85
  sig do
72
86
  params(
73
87
  account_number_id: String,
@@ -75,12 +89,13 @@ module Increase
75
89
  creditor_address:
76
90
  Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
77
91
  creditor_name: String,
78
- debtor_account_number: String,
79
92
  debtor_address:
80
93
  Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
81
94
  debtor_name: String,
82
- debtor_routing_number: String,
83
95
  unstructured_remittance_information: String,
96
+ debtor_account_number: String,
97
+ debtor_external_account_id: String,
98
+ debtor_routing_number: String,
84
99
  request_options: Increase::RequestOptions::OrHash
85
100
  ).returns(T.attached_class)
86
101
  end
@@ -93,16 +108,19 @@ module Increase
93
108
  creditor_address:,
94
109
  # The creditor's name.
95
110
  creditor_name:,
96
- # The debtor's account number.
97
- debtor_account_number:,
98
111
  # The debtor's address.
99
112
  debtor_address:,
100
113
  # The debtor's name.
101
114
  debtor_name:,
102
- # The debtor's routing number.
103
- debtor_routing_number:,
104
115
  # Remittance information the debtor will see as part of the request.
105
116
  unstructured_remittance_information:,
117
+ # The debtor's account number.
118
+ debtor_account_number: nil,
119
+ # The ID of an External Account to initiate a transfer to. If this parameter is
120
+ # provided, `debtor_account_number` and `debtor_routing_number` must be absent.
121
+ debtor_external_account_id: nil,
122
+ # The debtor's routing number.
123
+ debtor_routing_number: nil,
106
124
  request_options: {}
107
125
  )
108
126
  end
@@ -115,12 +133,13 @@ module Increase
115
133
  creditor_address:
116
134
  Increase::WireDrawdownRequestCreateParams::CreditorAddress,
117
135
  creditor_name: String,
118
- debtor_account_number: String,
119
136
  debtor_address:
120
137
  Increase::WireDrawdownRequestCreateParams::DebtorAddress,
121
138
  debtor_name: String,
122
- debtor_routing_number: String,
123
139
  unstructured_remittance_information: String,
140
+ debtor_account_number: String,
141
+ debtor_external_account_id: String,
142
+ debtor_routing_number: String,
124
143
  request_options: Increase::RequestOptions
125
144
  }
126
145
  )
@@ -11,12 +11,13 @@ module Increase
11
11
  creditor_address:
12
12
  Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
13
13
  creditor_name: String,
14
- debtor_account_number: String,
15
14
  debtor_address:
16
15
  Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
17
16
  debtor_name: String,
18
- debtor_routing_number: String,
19
17
  unstructured_remittance_information: String,
18
+ debtor_account_number: String,
19
+ debtor_external_account_id: String,
20
+ debtor_routing_number: String,
20
21
  request_options: Increase::RequestOptions::OrHash
21
22
  ).returns(Increase::WireDrawdownRequest)
22
23
  end
@@ -29,16 +30,19 @@ module Increase
29
30
  creditor_address:,
30
31
  # The creditor's name.
31
32
  creditor_name:,
32
- # The debtor's account number.
33
- debtor_account_number:,
34
33
  # The debtor's address.
35
34
  debtor_address:,
36
35
  # The debtor's name.
37
36
  debtor_name:,
38
- # The debtor's routing number.
39
- debtor_routing_number:,
40
37
  # Remittance information the debtor will see as part of the request.
41
38
  unstructured_remittance_information:,
39
+ # The debtor's account number.
40
+ debtor_account_number: nil,
41
+ # The ID of an External Account to initiate a transfer to. If this parameter is
42
+ # provided, `debtor_account_number` and `debtor_routing_number` must be absent.
43
+ debtor_external_account_id: nil,
44
+ # The debtor's routing number.
45
+ debtor_routing_number: nil,
42
46
  request_options: {}
43
47
  )
44
48
  end
@@ -6,11 +6,12 @@ module Increase
6
6
  amount: Integer,
7
7
  creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
8
8
  creditor_name: String,
9
- debtor_account_number: String,
10
9
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
11
10
  debtor_name: String,
12
- debtor_routing_number: String,
13
- unstructured_remittance_information: String
11
+ unstructured_remittance_information: String,
12
+ debtor_account_number: String,
13
+ debtor_external_account_id: String,
14
+ debtor_routing_number: String
14
15
  }
15
16
  & Increase::Internal::Type::request_parameters
16
17
 
@@ -26,26 +27,35 @@ module Increase
26
27
 
27
28
  attr_accessor creditor_name: String
28
29
 
29
- attr_accessor debtor_account_number: String
30
-
31
30
  attr_accessor debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress
32
31
 
33
32
  attr_accessor debtor_name: String
34
33
 
35
- attr_accessor debtor_routing_number: String
36
-
37
34
  attr_accessor unstructured_remittance_information: String
38
35
 
36
+ attr_reader debtor_account_number: String?
37
+
38
+ def debtor_account_number=: (String) -> String
39
+
40
+ attr_reader debtor_external_account_id: String?
41
+
42
+ def debtor_external_account_id=: (String) -> String
43
+
44
+ attr_reader debtor_routing_number: String?
45
+
46
+ def debtor_routing_number=: (String) -> String
47
+
39
48
  def initialize: (
40
49
  account_number_id: String,
41
50
  amount: Integer,
42
51
  creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
43
52
  creditor_name: String,
44
- debtor_account_number: String,
45
53
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
46
54
  debtor_name: String,
47
- debtor_routing_number: String,
48
55
  unstructured_remittance_information: String,
56
+ ?debtor_account_number: String,
57
+ ?debtor_external_account_id: String,
58
+ ?debtor_routing_number: String,
49
59
  ?request_options: Increase::request_opts
50
60
  ) -> void
51
61
 
@@ -54,11 +64,12 @@ module Increase
54
64
  amount: Integer,
55
65
  creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
56
66
  creditor_name: String,
57
- debtor_account_number: String,
58
67
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
59
68
  debtor_name: String,
60
- debtor_routing_number: String,
61
69
  unstructured_remittance_information: String,
70
+ debtor_account_number: String,
71
+ debtor_external_account_id: String,
72
+ debtor_routing_number: String,
62
73
  request_options: Increase::RequestOptions
63
74
  }
64
75
 
@@ -6,11 +6,12 @@ module Increase
6
6
  amount: Integer,
7
7
  creditor_address: Increase::WireDrawdownRequestCreateParams::CreditorAddress,
8
8
  creditor_name: String,
9
- debtor_account_number: String,
10
9
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
11
10
  debtor_name: String,
12
- debtor_routing_number: String,
13
11
  unstructured_remittance_information: String,
12
+ ?debtor_account_number: String,
13
+ ?debtor_external_account_id: String,
14
+ ?debtor_routing_number: String,
14
15
  ?request_options: Increase::request_opts
15
16
  ) -> Increase::WireDrawdownRequest
16
17
 
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.35.0
4
+ version: 1.36.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-08-15 00:00:00.000000000 Z
11
+ date: 2025-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool