increase 1.34.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: 130b76fbbec9eefd020e92b4f4c6033c758f0a32f1112c70c868860ce078b108
4
- data.tar.gz: bd42b4539ef04e00b2c5eab779fa6c935cfa3c844ebba7a45d475da98621916f
3
+ metadata.gz: 9ad11debec90efb574bf0dc0114ed6e4870867f080654a481546c81743d657ee
4
+ data.tar.gz: dd66d3873b6156c80dd5261299e1d09679ed823b666c8c41b897d1c42e6a51a3
5
5
  SHA512:
6
- metadata.gz: c4d05e54dd28c76ead352dc0b668fa4302b9fd84a3e5a533f09129ee893dcc8d776e013ae24dace894856e1cee3f53ecf578c886bc407d176e9fe6778071eb2e
7
- data.tar.gz: 7a4b460abdc14620bdfd4c1c1daac08a25451e9b2863ec8c148dac204cc7605ad2cb98c74f48ab6cebe8c166427ecb8ae2190167978be0c05b4546861efaeb47
6
+ metadata.gz: 2ac5609f826003cc729b8efa82762b39473b9b5330394eba79cd1cae24dc074c36efceea95091bdd5483d6e383266942e98c4981306bc7493adebdc8dbbcd02b
7
+ data.tar.gz: 8a9a41301b43f862cf891c4fbb6f5c8dbd22aa48e057d0b924fca8e977a284fcbab19c57c6a4a0cf30fd72ee093644a3fdce4b193d89e2cd74026ce74e668baa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
11
+ ## 1.35.0 (2025-08-15)
12
+
13
+ Full Changelog: [v1.34.0...v1.35.0](https://github.com/Increase/increase-ruby/compare/v1.34.0...v1.35.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([ca8b776](https://github.com/Increase/increase-ruby/commit/ca8b7769f961fc457087f239a1790390caae245a))
18
+
3
19
  ## 1.34.0 (2025-08-14)
4
20
 
5
21
  Full Changelog: [v1.33.0...v1.34.0](https://github.com/Increase/increase-ruby/compare/v1.33.0...v1.34.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.34.0"
18
+ gem "increase", "~> 1.36.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -126,6 +126,9 @@ module Increase
126
126
  # A savings account.
127
127
  SAVINGS = :savings
128
128
 
129
+ # A general ledger account.
130
+ GENERAL_LEDGER = :general_ledger
131
+
129
132
  # A different type of account.
130
133
  OTHER = :other
131
134
 
@@ -81,6 +81,9 @@ module Increase
81
81
  # A savings account.
82
82
  SAVINGS = :savings
83
83
 
84
+ # A general ledger account.
85
+ GENERAL_LEDGER = :general_ledger
86
+
84
87
  # A different type of account.
85
88
  OTHER = :other
86
89
 
@@ -66,6 +66,9 @@ module Increase
66
66
  # A savings account.
67
67
  SAVINGS = :savings
68
68
 
69
+ # A general ledger account.
70
+ GENERAL_LEDGER = :general_ledger
71
+
69
72
  # A different type of account.
70
73
  OTHER = :other
71
74
 
@@ -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.34.0"
4
+ VERSION = "1.36.0"
5
5
  end
@@ -172,6 +172,13 @@ module Increase
172
172
  SAVINGS =
173
173
  T.let(:savings, Increase::ExternalAccount::Funding::TaggedSymbol)
174
174
 
175
+ # A general ledger account.
176
+ GENERAL_LEDGER =
177
+ T.let(
178
+ :general_ledger,
179
+ Increase::ExternalAccount::Funding::TaggedSymbol
180
+ )
181
+
175
182
  # A different type of account.
176
183
  OTHER = T.let(:other, Increase::ExternalAccount::Funding::TaggedSymbol)
177
184
 
@@ -169,6 +169,13 @@ module Increase
169
169
  Increase::ExternalAccountCreateParams::Funding::TaggedSymbol
170
170
  )
171
171
 
172
+ # A general ledger account.
173
+ GENERAL_LEDGER =
174
+ T.let(
175
+ :general_ledger,
176
+ Increase::ExternalAccountCreateParams::Funding::TaggedSymbol
177
+ )
178
+
172
179
  # A different type of account.
173
180
  OTHER =
174
181
  T.let(
@@ -166,6 +166,13 @@ module Increase
166
166
  Increase::ExternalAccountUpdateParams::Funding::TaggedSymbol
167
167
  )
168
168
 
169
+ # A general ledger account.
170
+ GENERAL_LEDGER =
171
+ T.let(
172
+ :general_ledger,
173
+ Increase::ExternalAccountUpdateParams::Funding::TaggedSymbol
174
+ )
175
+
169
176
  # A different type of account.
170
177
  OTHER =
171
178
  T.let(
@@ -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
@@ -78,7 +78,7 @@ module Increase
78
78
  def self?.values: -> ::Array[Increase::Models::ExternalAccount::account_holder]
79
79
  end
80
80
 
81
- type funding = :checking | :savings | :other
81
+ type funding = :checking | :savings | :general_ledger | :other
82
82
 
83
83
  module Funding
84
84
  extend Increase::Internal::Type::Enum
@@ -89,6 +89,9 @@ module Increase
89
89
  # A savings account.
90
90
  SAVINGS: :savings
91
91
 
92
+ # A general ledger account.
93
+ GENERAL_LEDGER: :general_ledger
94
+
92
95
  # A different type of account.
93
96
  OTHER: :other
94
97
 
@@ -67,7 +67,7 @@ module Increase
67
67
  def self?.values: -> ::Array[Increase::Models::ExternalAccountCreateParams::account_holder]
68
68
  end
69
69
 
70
- type funding = :checking | :savings | :other
70
+ type funding = :checking | :savings | :general_ledger | :other
71
71
 
72
72
  module Funding
73
73
  extend Increase::Internal::Type::Enum
@@ -78,6 +78,9 @@ module Increase
78
78
  # A savings account.
79
79
  SAVINGS: :savings
80
80
 
81
+ # A general ledger account.
82
+ GENERAL_LEDGER: :general_ledger
83
+
81
84
  # A different type of account.
82
85
  OTHER: :other
83
86
 
@@ -65,7 +65,7 @@ module Increase
65
65
  def self?.values: -> ::Array[Increase::Models::ExternalAccountUpdateParams::account_holder]
66
66
  end
67
67
 
68
- type funding = :checking | :savings | :other
68
+ type funding = :checking | :savings | :general_ledger | :other
69
69
 
70
70
  module Funding
71
71
  extend Increase::Internal::Type::Enum
@@ -76,6 +76,9 @@ module Increase
76
76
  # A savings account.
77
77
  SAVINGS: :savings
78
78
 
79
+ # A general ledger account.
80
+ GENERAL_LEDGER: :general_ledger
81
+
79
82
  # A different type of account.
80
83
  OTHER: :other
81
84
 
@@ -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.34.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-14 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